diff --git a/index.html b/index.html index 4de61ee525..38b3cfacbb 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Add__index.6b57b3a4.async.js b/p__Classrooms__Lists__Exercise__Add__index.2900db19.async.js similarity index 52% rename from p__Classrooms__Lists__Exercise__Add__index.6b57b3a4.async.js rename to p__Classrooms__Lists__Exercise__Add__index.2900db19.async.js index e771789570..ad8f1389bd 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.6b57b3a4.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.2900db19.async.js @@ -1,6 +1,6 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ye}});var y=ae(54476),pe=ae(59301),Be={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"},Te=Be,ke=ae(7657),We=function(we,Me){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Me,icon:Te}))},xe=pe.forwardRef(We),Ye=xe},12893:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ye}});var y=ae(54476),pe=ae(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Te=Be,ke=ae(7657),We=function(we,Me){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Me,icon:Te}))},xe=pe.forwardRef(We),Ye=xe},32134:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ye}});var y=ae(54476),pe=ae(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Te=Be,ke=ae(7657),We=function(we,Me){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Me,icon:Te}))},xe=pe.forwardRef(We),Ye=xe},96408:function(ut,Gt){"use strict";Gt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},58e3:function(ut,Gt){"use strict";Gt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},9809:function(ut,Gt){"use strict";Gt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},78455:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,We=(Ne,we,Me)=>we in Ne?pe(Ne,we,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ne[we]=Me,xe=(Ne,we)=>{for(var Me in we||(we={}))Te.call(we,Me)&&We(Ne,Me,we[Me]);if(Be)for(var Me of Be(we))ke.call(we,Me)&&We(Ne,Me,we[Me]);return Ne};const Ye=Ne=>React.createElement("svg",xe({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Ne),React.createElement("title",null,"\u6D4B\u8BD5AI\u8BC4\u5206"),React.createElement("path",{d:"M5.19 1.488a2.133 2.133 0 0 1 3.62 0l.96 1.54a.25.25 0 0 0 .152.11l1.76.437a2.133 2.133 0 0 1 1.12 3.443l-1.234 1.465.136 1.912a2.133 2.133 0 0 1-1.823 2.263l-.152.016a2.133 2.133 0 0 1-.954-.15l-1.681-.683a.25.25 0 0 0-.188 0l-1.681.682a2.133 2.133 0 0 1-2.93-2.128l.13-1.81a.25.25 0 0 0-.058-.178L1.198 7.018a2.133 2.133 0 0 1 1.12-3.443l1.76-.436a.25.25 0 0 0 .152-.11Zm2.053.543a.633.633 0 0 0-.78.25l-.96 1.54a1.75 1.75 0 0 1-1.064.774l-1.761.436a.633.633 0 0 0-.332 1.022L3.514 7.44c.294.348.44.797.407 1.251l-.13 1.81a.633.633 0 0 0 .87.631l1.681-.682a1.75 1.75 0 0 1 1.316 0l1.681.682a.633.633 0 0 0 .87-.631l-.18-2.518 1.625-1.931a.633.633 0 0 0-.332-1.022l-1.761-.436a1.75 1.75 0 0 1-1.065-.774l-.959-1.54a.633.633 0 0 0-.203-.203Zm1.544 5.23a.75.75 0 0 1 .102 1.493l-.102.007H5.362a.75.75 0 0 1-.102-1.494l.102-.006h3.425Z",fill:"#3061D0",fillRule:"nonzero"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuM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IGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},96435:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,We=(Ne,we,Me)=>we in Ne?pe(Ne,we,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ne[we]=Me,xe=(Ne,we)=>{for(var Me in we||(we={}))Te.call(we,Me)&&We(Ne,Me,we[Me]);if(Be)for(var Me of Be(we))ke.call(we,Me)&&We(Ne,Me,we[Me]);return Ne};const Ye=Ne=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ne),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},64303:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,We=(Ne,we,Me)=>we in Ne?pe(Ne,we,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ne[we]=Me,xe=(Ne,we)=>{for(var Me in we||(we={}))Te.call(we,Me)&&We(Ne,Me,we[Me]);if(Be)for(var Me of Be(we))ke.call(we,Me)&&We(Ne,Me,we[Me]);return Ne};const Ye=Ne=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ne),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},25863:function(){"use strict";function ut(ie,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ie,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(ut.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(ut.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(ut.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(ut.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,E){var a=go.Shape._FigureParameters[ie];return a?a[E]:null},go.Shape.setFigureParameter=function(ie,E,a){if(!(a instanceof ut))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 x=go.Shape._FigureParameters[ie];x||(x=[],go.Shape._FigureParameters[ie]=x),x[E]=a};var Gt=[];function ae(ie,E){var a=Gt.pop();return a===void 0?new go.Point(ie,E):(a.x=ie,a.y=E,a)}function y(){var ie=Gt.pop();return ie===void 0?new go.Point:ie}function pe(ie){Gt.push(ie)}function Be(ie,E,a,x,b,z,te,oe,ue){ue||(ue=new go.Point);var le=ie-a,Ee=b-te,Ce=NaN,Qe=NaN;if(le===0)if(Ee===0)ie===a&&(Ce=ie,Qe=E);else{var De=(z-oe)/Ee,st=z-De*b;Ce=ie,Qe=De*Ce+st}else if(Ee===0){var Re=(E-x)/le,Ke=E-Re*ie;Ce=b,Qe=Re*Ce+Ke}else{var Re=(E-x)/le,De=(z-oe)/Ee,Ke=E-Re*ie,st=z-De*b;Ce=(st-Ke)/(Re-De),Qe=Re*Ce+Ke}return ue.x=Ce,ue.y=Qe,ue}function Te(ie,E,a,x,b,z,te,oe,ue,le,Ee,Ce,Qe,De){var st=1-ue,Re=ue,Ke=ie*st+a*Re,ze=E*st+x*Re,qe=a*st+b*Re,Ae=x*st+z*Re,gt=b*st+te*Re,mt=z*st+oe*Re,xt=Ke*st+qe*Re,Et=ze*st+Ae*Re,fn=qe*st+gt*Re,dn=Ae*st+mt*Re,Qt=xt*st+fn*Re,rt=Et*st+dn*Re;le.x=Ke,le.y=ze,Ee.x=xt,Ee.y=Et,Ce.x=Qt,Ce.y=rt,Qe.x=fn,Qe.y=dn,De.x=gt,De.y=mt}var ke=new go.Spot(.156,.156),We=new go.Spot(.844,.844),xe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ut("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*xe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,E,a){var x=E/2,b=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=ke,b.spot2=We,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,xe*E,0,E,(1-xe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,xe*a,(1-xe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,xe*a,xe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-xe)*E,0,0,(1-xe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ut("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(x=.5);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+oe,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,oe,oe).close())),z.spot1=ke,z.spot2=We,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ut("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ut("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,E,a){var x=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,oe=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,z,te,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,E,a){var x=xe/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*E,z*a,E,(1-x)*a,(b+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ut("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ut("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,E,a){var x=ie?ie.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var z=E/2,te=a/2,oe=Math.atan2(a,E),ue=x-Math.min(Math.cos(oe)*x/2,z),le=x-Math.min(Math.sin(oe)*x/2,te),b=new go.Geometry,Ee=new go.PathFigure(ue,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,a-le)),Ee.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,ue,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ut("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ut("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,xe*E,0,E,(.5-xe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+xe/2)*a,xe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.4*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,oe=0,ue=z*xe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+oe)*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te)*E,(.5-ue+oe)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te+.05)*E,(.5-ue+oe-.02)*a)),z=.2,te=0,oe=-.3,ue=z*xe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+oe)*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te)*E,(.5-ue+oe)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+oe)*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te)*E,(.5-ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),z=.2,te=-.3,oe=0,ue=z*xe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te-.05)*E,(.5-ue+oe-.02)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+oe)*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te)*E,(.5-ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,oe=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,oe*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*oe,z*E,z*E).close()),b=new go.PathFigure(E*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),oe=.75,b=new go.PathFigure((te+z)*E,oe*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*oe,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ie,E,a){var x=.8535533905932737,b=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=.5,oe=.5,ue=new go.PathFigure(te*E,(oe-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),z=.4,b=xe*.4;var le=y(),Ee=y(),Ce=y(),Qe=y();Te(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.42,le,Ee,Ce,Qe,Qe);var De=y(),st=y(),Re=y();Te(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.58,Qe,Qe,Re,De,st);var Ke=y(),ze=y(),qe=y();Te(te,oe+z,te-b,oe+z,te-z,oe+b,te-z,oe,.42,Ke,ze,qe,Qe,Qe);var Ae=y(),gt=y(),mt=y();return Te(te,oe+z,te-b,oe+z,te-z,oe+b,te-z,oe,.58,Qe,Qe,mt,Ae,gt),ue.add(new go.PathSegment(go.PathSegment.Move,mt.x*E,mt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,Ae.x*E,Ae.y*a,gt.x*E,gt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*E,Ce.y*a,le.x*E,le.y*a,Ee.x*E,Ee.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,qe.x*E,qe.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,Re.x*E,Re.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,De.x*E,De.y*a,st.x*E,st.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,qe.x*E,qe.y*a,Ke.x*E,Ke.y*a,ze.x*E,ze.y*a).close()),pe(le),pe(Ee),pe(Ce),pe(Qe),pe(De),pe(st),pe(Re),pe(Ke),pe(ze),pe(qe),pe(Ae),pe(gt),pe(mt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ut("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var b=(E-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,E,a){var x=new go.Geometry,b=xe*.4,z=.4,te=.5,oe=.5,ue=y(),le=y(),Ee=y(),Ce=y(),Qe=new go.PathFigure((te-z)*E,oe*a,!1);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),Te(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.44,Ee,Ce,le,ue,ue),Qe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ee.x*E,Ee.y*a,Ce.x*E,Ce.y*a));var De=ae(le.x,le.y);Te(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.56,ue,ue,le,Ee,Ce);var st=ae(le.x,le.y);Qe.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*E,De.y*.1*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,.85*E,De.y*.1*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Qe.add(new go.PathSegment(go.PathSegment.Line,E,0)),Qe.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(st.x*.1+.9)*E,.15*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(st.x*.1+.9)*E,(st.y*.1+.05*.9)*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,st.x*E,st.y*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,Ee.x*E,Ee.y*a,Ce.x*E,Ce.y*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),z=.35,b=xe*.35;var Re=new go.PathFigure(te*E,(oe-z)*a,!1);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a));var Ke=new go.PathFigure((te-z)*E,oe*a,!1);return x.add(Ke),pe(ue),pe(le),pe(Ee),pe(Ce),pe(De),pe(st),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,E,a){var x=new go.Geometry,b=.375,z=0,te=-.125,oe=b*xe,ue=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+oe+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-oe+te)*a,(.5+oe+z)*E,(.5-b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+oe+te)*a,(.5-oe+z)*E,(.5+b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),b=.325,z=0,te=-.125,oe=b*xe;var ue=new go.PathFigure((1-.5+b+z)*E,(.5+te)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+oe+te)*a,(.5+oe+z)*E,(.5+b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a,(.5-oe+z)*E,(.5-b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+oe+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-oe+te)*a));var ue=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);return x.add(ue),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,E,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,E,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ut("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ut("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*E,te=(.5-b/2)*a,oe=(.5+b/2)*a,ue=new go.Geometry,le=new go.PathFigure(0,te,!0);ue.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,te)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,oe)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ue.spot1=new go.Spot(0,te/a);var Ee=Be(0,oe/a,1,oe/a,z/E,1,1,.5,y());return ue.spot2=new go.Spot(Ee.x,Ee.y),pe(Ee),ue}),go.Shape.setFigureParameter("Arrow2",0,new ut("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ut("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var z=E-x,te=(a-b)/2,oe=te+b,ue=new go.Geometry,le=new go.PathFigure(0,te,!0);ue.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,te)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,oe)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ue.spot1=new go.Spot(0,te/a);var Ee=Be(0,oe/a,1,oe/a,z/E,1,1,.5,y());return ue.spot2=new go.Spot(Ee.x,Ee.y),pe(Ee),ue}),go.Shape.defineFigureGenerator("Chevron",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ut("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Be(0,.5,.3,0,0,b/a,.1,b/a,y());return te.spot1=new go.Spot(ue.x,ue.y),ue=Be(.7,1,1,.5,0,z/a,1,z/a,ue),te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ut("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ut("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,oe=(a-b)/2,ue=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,oe=0,ue=a):(z=0,te=a,oe=0,ue=a));var le=new go.Geometry,Ee=new go.PathFigure(E,.5*a,!0);le.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe).close());var Ce=Be(0,.5,.3,oe/a,0,z/a,1,z/a,y());return le.spot1=new go.Spot(Ce.x,Ce.y),Ce=Be(.7,ue/a,1,.5,0,te/a,1,te/a,Ce),le.spot2=new go.Spot(Ce.x,Ce.y),pe(Ce),le}),go.Shape.setFigureParameter("IBeamArrow",0,new ut("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,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*E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,b/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new ut("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ut("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,oe=(a-b)/2,ue=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,oe=0,ue=a):(z=0,te=a,oe=0,ue=a));var le=new go.Geometry,Ee=new go.PathFigure(E,.5*a,!0);le.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe).close()),le.spot1=new go.Spot(0,z/a);var Ce=Be(.7,ue/a,1,.5,0,te/a,1,te/a,y());return le.spot2=new go.Spot(Ce.x,Ce.y),pe(Ce),le}),go.Shape.setFigureParameter("Pointer",0,new ut("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=Be(.2,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ut("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b.spot1=new go.Spot(x,.35);var te=Be(0,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ut("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ut("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,z=b+x;x>a&&(b=0,z=a);var te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,b/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("SquareArrow",0,new ut("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-xe*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var oe=new go.PathFigure(E,x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-xe*x,(.5+z)*E,2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-xe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,a-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-xe*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-xe*x));var oe=new go.PathFigure(0,a-x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-xe*x,(.5-z)*E,a-2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-xe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0));var oe=new go.PathFigure(x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+xe*x,0,2*x,(.5-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+xe*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(E-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var oe=new go.PathFigure(E-x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-xe*x,0,E-2*x,(.5-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-xe*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ie,E,a){var x=new go.Geometry,b=.2,z=.1,te=xe*b,oe=xe*z,ue=.5,le=.1,Ee=new go.PathFigure(ue*E,(le+z)*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-b)*E,le*a,(ue-te)*E,(le+z)*a,(ue-b)*E,(le+oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-z)*a,(ue-b)*E,(le-oe)*a,(ue-te)*E,(le-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+b)*E,le*a,(ue+te)*E,(le-z)*a,(ue+b)*E,(le-oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+z)*a,(ue+b)*E,(le+oe)*a,(ue+te)*E,(le+z)*a));var Ce=.05,Qe=xe*Ce;ue=.05,le=.25;var De=new go.PathFigure(.5*E,.2*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,le=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(ue+Ce)*E,le*a,(ue+Qe)*E,(le-Ce)*a,(ue+Ce)*E,(le-Qe)*a)),De.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),Ce=.025,Qe=xe*Ce,ue=.825,le=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-Ce)*a,(ue+Ce)*E,(le-Qe)*a,(ue+Qe)*E,(le-Ce)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-Ce)*E,le*a,(ue-Qe)*E,(le-Ce)*a,(ue-Ce)*E,(le-Qe)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),Ce=.05,Qe=xe*Ce,ue=.5,le=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-Ce)*a,(ue+Ce)*E,(le-Qe)*a,(ue+Qe)*E,(le-Ce)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-Ce)*E,le*a,(ue-Qe)*E,(le-Ce)*a,(ue-Ce)*E,(le-Qe)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),Ce=.025,Qe=xe*Ce,ue=.175,le=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-Ce)*a,(ue+Ce)*E,(le-Qe)*a,(ue+Qe)*E,(le-Ce)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-Ce)*E,le*a,(ue-Qe)*E,(le-Ce)*a,(ue-Ce)*E,(le-Qe)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ce=.05,Qe=xe*Ce,ue=.05,le=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-Ce)*a,(ue-Ce)*E,(le-Qe)*a,(ue-Qe)*E,(le-Ce)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ut("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var oe=new go.PathFigure(E,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+b)*E,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var oe=new go.PathFigure(E,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=xe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(b*E,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),oe.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ie,E,a){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=xe*.5,oe=.5,ue=new go.PathFigure(E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,a,E,(oe+te)*a,(oe+te)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-te)*E,a,0,(oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,0,0,(oe-te)*a,(oe-te)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,oe*a,(oe+te)*E,0,E,(oe-te)*a));var le=new go.PathFigure((z+b)*E,(z+b)*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),le.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+b)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(z+b)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+b)*a,(z+b)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var oe=new go.PathFigure(.5*b*E,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*E,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var oe=new go.PathFigure(E,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+b)*E,0,E,(.5-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+b)*a,(.5+b)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var oe=new go.PathFigure(E,z*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ie,E,a){var x=new go.Geometry,b=xe*.1,z=.1,te=.9,oe=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var le=new go.PathFigure((te+z)*E,oe*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe-z)*a,(te+z)*E,(oe-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.4,te=xe*.1,oe=.1,ue=.9,le=.5,Ee=new go.PathFigure(.8*E,.5*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+b)*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+b)*E,0,.8*E,(.5-z)*a));var Ce=new go.PathFigure((ue+oe)*E,le*a,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+oe)*a,(ue+oe)*E,(le+te)*a,(ue+te)*E,(le+oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E,le*a,(ue-te)*E,(le+oe)*a,(ue-oe)*E,(le+te)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-oe)*a,(ue-oe)*E,(le-te)*a,(ue-te)*E,(le-oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E,le*a,(ue+te)*E,(le-oe)*a,(ue+oe)*E,(le-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=0,oe=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(oe-b)*a,.7*E,(oe-z)*a)),b=.1,z=xe*.1,te=.9,oe=.5;var le=new go.PathFigure((te-b)*E,oe*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=0,oe=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(oe-b)*a,.8*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(oe+z)*a,(te+z+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=.2,oe=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.8*E,.5*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(oe-b)*a,.7*E,(oe-z)*a)),b=.1,z=xe*.1,te=.9,oe=.5;var Ee=new go.PathFigure((te-b)*E,oe*a,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=.2,oe=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.2*E,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(oe-b)*a,.9*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ie,E,a){var x=new go.Geometry,b=xe*.1,z=.1,te=.1,oe=.5,ue=new go.PathFigure((te-b*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*E,a,(te+z)*E,0,(te+b)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=.5,oe=.5,ue=new go.PathFigure((te-z)*E,oe*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe-z)*a,(te+z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,oe*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,oe*a,te*E,(oe-z)*a,te*E,(oe+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ie,E,a){var x=new go.Geometry,b=E,z=a;E=E*.38,a=a*.6;var te=xe*.8,oe=.8,ue=0,le=.5,Ee=(b-E)/2,Ce=(z-a)/2,Qe=new go.PathFigure(ue*E+Ee,(le+oe)*a+Ce,!0);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+Ce,(ue-te)*E+Ee,(le+oe)*a+Ce,(ue-oe)*E+Ee,(le+te)*a+Ce)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+Ce,(ue-oe)*E+Ee,(le-te)*a+Ce,(ue-te)*E+Ee,(le-oe)*a+Ce)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe+te*.5)*E+Ee,le*a+Ce,ue*E+Ee,(le-oe)*a+Ce,(ue-oe+te*.5)*E+Ee,(le-te)*a+Ce)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+Ce,(ue-oe+te*.5)*E+Ee,(le+te)*a+Ce,ue*E+Ee,(le+oe)*a+Ce).close()),te=xe*.4,oe=.4,ue=.2,le=.5;var De=new go.PathFigure(ue*E+Ee,(le+oe)*a+Ce,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+Ce,(ue-te)*E+Ee,(le+oe)*a+Ce,(ue-oe)*E+Ee,(le+te)*a+Ce)),De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+Ce,(ue-oe)*E+Ee,(le-te)*a+Ce,(ue-te)*E+Ee,(le-oe)*a+Ce)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe+te*.5)*E+Ee,le*a+Ce,ue*E+Ee,(le-oe)*a+Ce,(ue-oe+te*.5)*E+Ee,(le-te)*a+Ce)),De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+Ce,(ue-oe+te*.5)*E+Ee,(le+te)*a+Ce,ue*E+Ee,(le+oe)*a+Ce).close()),te=xe*.2,oe=.2,ue=.5,le=.5;var st=new go.PathFigure((ue-oe)*E+Ee,le*a+Ce,!0);x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+Ce,(ue-oe)*E+Ee,(le-te)*a+Ce,(ue-te)*E+Ee,(le-oe)*a+Ce)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+Ce,(ue+te)*E+Ee,(le-oe)*a+Ce,(ue+oe)*E+Ee,(le-te)*a+Ce)),st.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+Ce,(ue+oe)*E+Ee,(le+te)*a+Ce,(ue+te)*E+Ee,(le+oe)*a+Ce)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+Ce,(ue-te)*E+Ee,(le+oe)*a+Ce,(ue-oe)*E+Ee,(le+te)*a+Ce)),te=xe*.4,oe=.4,ue=.8,le=.5;var Re=new go.PathFigure(ue*E+Ee,(le-oe)*a+Ce,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+Ce,(ue+te)*E+Ee,(le-oe)*a+Ce,(ue+oe)*E+Ee,(le-te)*a+Ce)),Re.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+Ce,(ue+oe)*E+Ee,(le+te)*a+Ce,(ue+te)*E+Ee,(le+oe)*a+Ce)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe-te*.5)*E+Ee,le*a+Ce,ue*E+Ee,(le+oe)*a+Ce,(ue+oe-te*.5)*E+Ee,(le+te)*a+Ce)),Re.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+Ce,(ue+oe-te*.5)*E+Ee,(le-te)*a+Ce,ue*E+Ee,(le-oe)*a+Ce).close()),te=xe*.8,oe=.8,ue=1,le=.5;var Ke=new go.PathFigure(ue*E+Ee,(le-oe)*a+Ce,!0);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+Ce,(ue+te)*E+Ee,(le-oe)*a+Ce,(ue+oe)*E+Ee,(le-te)*a+Ce)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+Ce,(ue+oe)*E+Ee,(le+te)*a+Ce,(ue+te)*E+Ee,(le+oe)*a+Ce)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe-te*.5)*E+Ee,le*a+Ce,ue*E+Ee,(le+oe)*a+Ce,(ue+oe-te*.5)*E+Ee,(le+te)*a+Ce)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+Ce,(ue+oe-te*.5)*E+Ee,(le-te)*a+Ce,ue*E+Ee,(le-oe)*a+Ce).close()),x}),go.Shape.defineFigureGenerator("Email",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.35*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var oe=new go.PathFigure(0,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ie,E,a){var x=new go.Geometry,b=xe*.4,z=.4,te=.5,oe=.5,ue=y(),le=y(),Ee=y(),Ce=y();Te(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.5,ue,ue,le,Ee,Ce);var Qe=ae(le.x,le.y),De=new go.PathFigure(le.x*E,le.y*a,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,Ee.x*E,Ee.y*a,Ce.x*E,Ce.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),Te(te-z,oe,te-z,oe-b,te-b,oe-z,te,oe-z,.5,Ee,Ce,le,ue,ue),De.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ee.x*E,Ee.y*a,Ce.x*E,Ce.y*a)),b=xe*.3,z=.3,Te(te-z,oe,te-z,oe-b,te-b,oe-z,te,oe-z,.5,Ee,Ce,le,ue,ue),De.add(new go.PathSegment(go.PathSegment.Line,le.x*E,le.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,Ce.x*E,Ce.y*a,Ee.x*E,Ee.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Te(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.5,ue,ue,le,Ee,Ce),De.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ce.x*E,Ce.y*a,Ee.x*E,Ee.y*a).close());var De=new go.PathFigure(.45*E,0,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),pe(ue),pe(le),pe(Ee),pe(Ce),pe(Qe),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,oe,ue){te.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*E,(.8+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*E,(.5+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*E,(.5+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*E,(.8+ue)*a).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.37*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,E,a){var x=new go.Geometry,b=.5,z=0,te=0,oe=b*xe,ue=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,Ee=1,Ce=.5,Qe=.5,De=0,st=new go.PathFigure(ue*E,(1-le)*a,!1);return x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,Ce*a,Ee*E,.7*a,Ee*E,Ce*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Qe+z)*E,(De+z)*a,(.5+b+z)*E,(.5-oe+z)*a,(.5+oe+z)*E,(.5-b+z)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-b+z)*E,(.5+oe+te)*a,(.5-oe+z)*E,.9*a)),st.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),st.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),st.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.7*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,oe=.5,ue=te,le=Math.PI/4,Ee=4*(1-Math.cos(le))/(3*Math.sin(le)),Ce=Ee*.5,Qe=te,De=te,st=Ee*Qe,Re=Ee*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Qe)*E,ue*a,(oe-(st+Qe)/2)*E,(ue+(De+Re)/2)*a,(oe-Qe)*E,(ue+Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(ue-De)*a,(oe-Qe)*E,(ue-Re)*a,(oe-st)*E,(ue-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Qe)*E,ue*a,(oe+st)*E,(ue-De)*a,(oe+Qe)*E,(ue-Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(oe+Qe)*E,(ue+Re)*a,(oe+(st+Qe)/2)*E,(ue+(De+Re)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Ke=new go.PathFigure(.2*E,a,!1);x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var ze=new go.PathFigure(.8*E,a,!1);return x.add(ze),ze.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.05*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.45*E,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=new go.PathFigure(E,b*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+z)*a,(b+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-z)*E,a,0,(b+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-z)*a,(b-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+z)*E,0,E,(b-z)*a));var oe=new go.PathFigure(b*E,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.15*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,oe=xe*.1,ue=.2,le=.9,Ee=new go.PathFigure((ue-te)*E,le*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-te)*a,(ue-te)*E,(le-oe)*a,(ue-oe)*E,(le-te)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,le*a,(ue+oe)*E,(le-te)*a,(ue+te)*E,(le-oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+te)*a,(ue+te)*E,(le+oe)*a,(ue+oe)*E,(le+te)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,le*a,(ue-oe)*E,(le+te)*a,(ue-te)*E,(le+oe)*a).close()),te=.1,oe=xe*.1,ue=.8,le=.9;var Ce=new go.PathFigure((ue-te)*E,le*a,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-te)*a,(ue-te)*E,(le-oe)*a,(ue-oe)*E,(le-te)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,le*a,(ue+oe)*E,(le-te)*a,(ue+te)*E,(le-oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+te)*a,(ue+te)*E,(le+oe)*a,(ue+oe)*E,(le+te)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,le*a,(ue-oe)*E,(le+te)*a,(ue-te)*E,(le+oe)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var oe=new go.PathFigure(.5*E,.7*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,le=xe*.1,Ee=.1,Ce=.9,Qe=new go.PathFigure((Ee-ue)*E,Ce*a,!0);x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(Ce-ue)*a,(Ee-ue)*E,(Ce-le)*a,(Ee-le)*E,(Ce-ue)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ue)*E,Ce*a,(Ee+le)*E,(Ce-ue)*a,(Ee+ue)*E,(Ce-le)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(Ce+ue)*a,(Ee+ue)*E,(Ce+le)*a,(Ee+le)*E,(Ce+ue)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ue)*E,Ce*a,(Ee-le)*E,(Ce+ue)*a,(Ee-ue)*E,(Ce+le)*a)),ue=.1,le=xe*.1,Ee=.4,Ce=.9;var De=new go.PathFigure((Ee-ue)*E,Ce*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(Ce-ue)*a,(Ee-ue)*E,(Ce-le)*a,(Ee-le)*E,(Ce-ue)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ue)*E,Ce*a,(Ee+le)*E,(Ce-ue)*a,(Ee+ue)*E,(Ce-le)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(Ce+ue)*a,(Ee+ue)*E,(Ce+le)*a,(Ee+le)*E,(Ce+ue)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ue)*E,Ce*a,(Ee-le)*E,(Ce+ue)*a,(Ee-ue)*E,(Ce+le)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var Ee=.05,Ce=xe*.05,Qe=.175,De=.95,oe=new go.PathFigure((Qe-Ee)*E,De*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De-Ee)*a,(Qe-Ee)*E,(De-Ce)*a,(Qe-Ce)*E,(De-Ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Qe+Ee)*E,De*a,(Qe+Ce)*E,(De-Ee)*a,(Qe+Ee)*E,(De-Ce)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De+Ee)*a,(Qe+Ee)*E,(De+Ce)*a,(Qe+Ce)*E,(De+Ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Qe-Ee)*E,De*a,(Qe-Ce)*E,(De+Ee)*a,(Qe-Ee)*E,(De+Ce)*a));var Ee=.05,Ce=xe*.05,Qe=.375,De=.95,ue=new go.PathFigure((Qe-Ee)*E,De*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De-Ee)*a,(Qe-Ee)*E,(De-Ce)*a,(Qe-Ce)*E,(De-Ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Qe+Ee)*E,De*a,(Qe+Ce)*E,(De-Ee)*a,(Qe+Ee)*E,(De-Ce)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De+Ee)*a,(Qe+Ee)*E,(De+Ce)*a,(Qe+Ce)*E,(De+Ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Qe-Ee)*E,De*a,(Qe-Ce)*E,(De+Ee)*a,(Qe-Ee)*E,(De+Ce)*a));var Ee=.05,Ce=xe*.05,Qe=.625,De=.95,le=new go.PathFigure((Qe-Ee)*E,De*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De-Ee)*a,(Qe-Ee)*E,(De-Ce)*a,(Qe-Ce)*E,(De-Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Qe+Ee)*E,De*a,(Qe+Ce)*E,(De-Ee)*a,(Qe+Ee)*E,(De-Ce)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De+Ee)*a,(Qe+Ee)*E,(De+Ce)*a,(Qe+Ce)*E,(De+Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Qe-Ee)*E,De*a,(Qe-Ce)*E,(De+Ee)*a,(Qe-Ee)*E,(De+Ce)*a));var Ee=.05,Ce=xe*.05,Qe=.825,De=.95,st=new go.PathFigure((Qe-Ee)*E,De*a,!0);x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De-Ee)*a,(Qe-Ee)*E,(De-Ce)*a,(Qe-Ce)*E,(De-Ee)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Qe+Ee)*E,De*a,(Qe+Ce)*E,(De-Ee)*a,(Qe+Ee)*E,(De-Ce)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,Qe*E,(De+Ee)*a,(Qe+Ee)*E,(De+Ce)*a,(Qe+Ce)*E,(De+Ee)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Qe-Ee)*E,De*a,(Qe-Ce)*E,(De+Ee)*a,(Qe-Ee)*E,(De+Ce)*a).close());var Re=new go.PathFigure(0,a,!1);return x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var oe=.05,ue=xe*.05,le=.35,Ee=.775,Ce=new go.PathFigure((le-oe)*E,Ee*a,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(Ee-oe)*a,(le-oe)*E,(Ee-ue)*a,(le-ue)*E,(Ee-oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*E,Ee*a,(le+ue)*E,(Ee-oe)*a,(le+oe)*E,(Ee-ue)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(Ee+oe)*a,(le+oe)*E,(Ee+ue)*a,(le+ue)*E,(Ee+oe)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*E,Ee*a,(le-ue)*E,(Ee+oe)*a,(le-oe)*E,(Ee+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ie,E,a){var x=new go.Geometry,b=.3,z=xe*.3,te=.5,oe=.7,ue=new go.PathFigure((te-b)*E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a));var le=new go.PathFigure(0,.7*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=.5,oe=.5,ue=new go.PathFigure((te-b)*E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a));var le=new go.PathFigure(.15*E,.5*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=.5,oe=.5,ue=new go.PathFigure((te-b)*E,oe*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a).close()),b=.05,z=xe*.05,te=.5,oe=.8;var le=new go.PathFigure((te-b)*E,oe*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var oe=new go.PathFigure(.678*E,.85*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var oe=new go.PathFigure(E*.612,a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var oe=new go.PathFigure(E*.055,.18*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.55*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var oe=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,E,a){var x=new go.Geometry,b=8,z=b*xe,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var oe=new go.PathFigure(E*.83,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var le=new go.PathFigure(E*.78,a*.05,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*xe,z=a*.8,te=new go.Geometry,oe=new go.PathFigure(x,0,!0);return te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-b,E-b,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),oe.add(new go.PathSegment(go.PathSegment.Line,0,x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ie,E,a){var x=new go.Geometry,b=15,z=b*xe,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ut={},Gt="5.0",ae={},y=null,pe=!1,Be=!1,Te=null,ke=!1,We=null,xe=null,Ye=0;Ye4?parseFloat(Ie):5};ut.setHTML5Codebase=function(Ie,at){xe=Ie,dn(Ie,at)},ut.setJavaCodebase=ut.setJavaCodebaseVersion=ut.isCompiledInstalled=ut.setPreCompiledScriptPath=ut.setPreCompiledResourcePath=function(){},ut.setHTML5CodebaseVersion=function(Ie,at){var Tt=parseFloat(Ie);if(Tt!==NaN&&Tt<5){console.log("The GeoGebra HTML5 codebase version "+Tt+" is deprecated. Using version latest instead.");return}We=Ie,fn(Ie,at)},ut.getHTML5CodebaseVersion=function(){return ie},ut.getParameters=function(){return ae},ut.setFontsCSSURL=function(Ie){te=Ie},ut.setGiacJSURL=function(Ie){},ut.setJNLPFile=function(Ie){we=Ie},ut.setJNLPBaseDir=function(Ie){},ut.inject=function(){function Ie(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",Tt=ae.id,Sn,Ve=!1,Ut=0;Ut=5)return!0;var Ie=ut.getAppletObject();return Ie&&typeof Ie.recalculateEnvironments=="function"?(Ie.recalculateEnvironments(),!0):!1},ut.startAnimation=function(){var Ie=ut.getAppletObject();return Ie&&typeof Ie.startAnimation=="function"?(Ie.startAnimation(),!0):!1},ut.stopAnimation=function(){var Ie=ut.getAppletObject();return Ie&&typeof Ie.stopAnimation=="function"?(Ie.stopAnimation(),!0):!1},ut.getAppletObject=function(){var Ie=ae.id!==void 0?ae.id:"ggbApplet";return window[Ie]},ut.resize=function(){};var st=function(Ie,at,Tt){var Sn=document.createElement("param");Sn.setAttribute("name",at),Sn.setAttribute("value",Tt),Ie.appendChild(Sn)},Re=function(Ie){return Ie&&Ie!=="false"},Ke=function(Ie,at,Tt){ue(ie)<=4.2&&(Tt=!0);var Sn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Sn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ve=document.createElement("div");Ve.classList.add("appletParameters","notranslate");var Ut=at.width,be=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(ue(ie)<=4.4)Re(at.showToolBar)&&(at.height-=7),Re(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Re(at.showToolBar)&&(at.width=605,Ut=605);else{var tt=100;(Re(at.showToolBar)||Re(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),tt=Re(at.showMenuBar)?245:155),Ut=5?(at.appletOnLoad=function(sn){var Hn=Ie.querySelector(".ggb_preview");Hn&&Hn.parentNode.removeChild(Hn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(vt),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(sn)},Nn||vt.appendChild(bt)):Ve.appendChild(bt),vt.appendChild(Ve),Nn||Ie.appendChild(vt),setTimeout(function(){ut.resize()},1)}else{var St=document.createElement("div");St.className="applet_scaler",St.style.position="relative",St.style.display="block",St.appendChild(Ve),Ie.appendChild(St),at.appletOnLoad=function(sn){ut.resize(),nt(sn)}}function Ft(sn,Hn){Hn&&typeof Hn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(sn,Hn.appletOnLoad):renderGGBElement(sn),Qt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Hn)}function it(sn,Hn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:sn,params:Hn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Aa){Ft(Aa.article,Aa.params)}),html5AppletsToProcess=null)},ue(ie)<5&&(sn.className+=" geogebraweb")):Ft(sn,Hn)}if(Sn){scriptLoadStarted=!0;for(var In=0;In0?(Jt.remove(),vt.attr("id","fullscreencontent").show(),jQuery(nt).append(vt),window.dispatchEvent(new Event("resize"))):Ke(Jt,at,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Je=Sn,Ke(Ie,at,!1);if(!window.GGBT_wsf_view)for(be=0;beIe/4*3&&(Jt=Ie/4*3),nt=Jt/5.8,tt.setAttribute("src",b),tt.setAttribute("width",Jt),tt.setAttribute("height",nt);var vt=(Ie-Jt)/2,Nn=(at-nt)/2;tt.style.left=vt+"px",tt.style.top=Nn+"px",Ve.appendChild(tt)}}return Ve.appendChild(be),Ve},xt=function(Ie){return Ie=Ie.toLowerCase(),Ie==="html5"||Ie==="screenshot"?Ie:"html5"},Et=["web","webSimple","web3d","tablet","tablet3d","phone"],fn=function(Ie,at){if(ie=Ie,at){dn(ie,!0);return}var Tt=!pe;if(Tt){var Sn=ue(ie);!isNaN(Sn)&&Sn<4.4&&(Tt=!1)}var Ve,Ut;window.location.protocol.substr(0,4)==="http"?Ve=window.location.protocol:Ve="http:";var be=ie.indexOf("//");be>0?Ut=ie:be===0?Ut=Ve+ie:Ut="https://www.geogebra.org/apps/5.2.814.0/";for(var tt in Et)if(ie.slice(Et[tt].length*-1)===Et[tt]||ie.slice((Et[tt].length+1)*-1)===Et[tt]+"/"){dn(Ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Tt&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!Re(ae.showToolBar)&&!Re(ae.showMenuBar)&&!Re(ae.showAlgebraInput)&&!Re(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?Ut+="webSimple/":Ut+="web3d/",dn(Ut,!1)},dn=function(Ie,at){if(Ie.requirejs){Me=Ie;return}Ie.slice(-1)!=="/"&&(Ie+="/"),Me=Ie,at===null&&(at=Ie.indexOf("http")===-1),Ge=at,E="web.nocache.js",a=!1;var Tt=Me.split("/");Tt.length>1&&(!at&&Tt[Tt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):Et.indexOf(Tt[Tt.length-2])>=0&&(E=Tt[Tt.length-2]+".nocache.js")),Tt=Ie.split("/"),ie=Tt[Tt.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 Sn=parseFloat(ie);Sn!==NaN&&Sn<5&&Ie.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Sn+" is deprecated. Using version latest instead."),fn("5.0",at))},Qt=function(Ie,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(Ie)};ae.material_id!==void 0?Ce(rt):rt();function rt(){var Ie=Gt;We!==null?Ie=We:parseFloat(Ie)<5&&(Ie="5.0"),fn(Ie,!1),xe!==null&&dn(xe,Ge),ke=!0}return ut},GGBAppletUtils=function(){"use strict";function ut(){return window.GGBT_wsf_edit!==void 0}function Gt(ke,We){We!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+We+","+We+")",ke.style.webkitTransform="scale("+We+","+We+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function ae(ke,We,xe,Ye,Ne,we){var Me=null;if(we!=null&&we!="")for(var Ge=ke.parentNode;Ge!=null;)if((" "+Ge.className+" ").indexOf(" "+we+" ")>-1){Me=Ge;break}else Ge=Ge.parentNode;var Je=0,ie=0,E=0,a=0,x=0,b=0,z=0;if(Me)Je=Me.offsetWidth,ie=Math.max(Ye?Me.offsetWidth:0,Me.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Je=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Je):(Je=window.innerWidth,ie=window.innerHeight,E=window.innerWidth),ke){var te=ke.getBoundingClientRect();te.left>0&&te.left<=Je&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(x=Je-te.width-te.left,b=E<=480?10:30):(b=te.left,x=E<=480?10:30),a=b+x)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return ke&&((xe===void 0||!xe)&&We>0&&We+a1&&(we=!0)),We&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Ne=y(ke,We,we,xe,ke.scaleContainerClass);else return Ye;return we&&(!ke.hasOwnProperty("scale")||Ye===1)?Ne:Math.min(Ye,Ne)}function Be(ke){var We=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Ye=ke.getBoundingClientRect(),Ne=(We-Ye.width)/2,we=(xe-Ye.height)/2;we<0&&(we=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?ke.style.left="40px":ke.style.left=Ne+"px",ke.style.top=we+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we<40?ke.style.top="40px":ke.style.top=we+"px",ke.style.left=Ne+"px")}function Te(ke,We){var xe=ke.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(We.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var Ye=pe(We,ke);ut()&&xe.setAttribute("data-param-scale",Ye);for(var Ne=null,we=0;we=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(ut){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ut){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ut){var Gt=c[ut];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function ut(ke){var We=ke.lastIndexOf(rb);We==-1&&(We=ke.length);var xe=ke.indexOf(sb);xe==-1&&(xe=ke.length);var Ye=ke.lastIndexOf(tb,Math.min(xe,We));return Ye>=O?ke.substring(O,Ye+P):W}function Gt(ke){if(!ke.match(/^\w+:\/\//)){var We=o.createElement(ub);We.src=ke+vb,ke=ut(We.src)}return ke}function ae(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function y(){for(var ke=o.getElementsByTagName(_),We=O;WeO?ke[ke.length-P].href:W}function Be(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Te=ae();return Te==W&&(Te=y()),Te==W&&(Te=pe()),Te==W&&Be()&&(Te=ut(o.location.href)),Te=Gt(Te),Te}function C(ut){return ut.match(/^\//)||ut.match(/^[a-zA-Z]+:\/\//)?ut:webModule.__moduleBase+ut}function D(){var ut=[],Gt=O,ae=[],y=[];function pe(ke){var We=y[ke](),xe=ae[ke];if(We in xe)return We;var Ye=[];for(var Ne in xe)Ye[xe[Ne]]=Ne;throw r&&r(ke,Ye,We),null}if(__gwt_isKnownPropertyValue=function(ke,We){return We in ae[ke]},webModule.__getPropMap=function(){var ke={};for(var We in ae)ae.hasOwnProperty(We)&&(ke[We]=pe(We));return ke},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Te=Be.indexOf(Db);Te!=-1&&(Gt=parseInt(Be.substring(Te+P),$),Be=Be.substring(O,Te))}catch(ke){}return webModule.__softPermutationId=Gt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(ut,Gt,ae){"use strict";ae.d(Gt,{Ax:function(){return Te},Ds:function(){return ke},KI:function(){return xe},SI:function(){return Be},f1:function(){return pe}});var y=ae(74128);function pe(Ye){let Ne=!0;if(Ye.length>0){for(let we=0;wea in E?Be(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,we=(E,a)=>{for(var x in a||(a={}))xe.call(a,x)&&Ne(E,x,a[x]);if(We)for(var x of We(a))Ye.call(a,x)&&Ne(E,x,a[x]);return E},Me=(E,a)=>Te(E,ke(a)),Ge=(E,a)=>{var x={};for(var b in E)xe.call(E,b)&&a.indexOf(b)<0&&(x[b]=E[b]);if(E!=null&&We)for(var b of We(E))a.indexOf(b)<0&&Ye.call(E,b)&&(x[b]=E[b]);return x},Je=(E,a,x)=>new Promise((b,z)=>{var te=le=>{try{ue(x.next(le))}catch(Ee){z(Ee)}},oe=le=>{try{ue(x.throw(le))}catch(Ee){z(Ee)}},ue=le=>le.done?b(le.value):Promise.resolve(le.value).then(te,oe);ue((x=x.apply(E,a)).next())});const ie=E=>{var a=E,{children:x}=a,b=Ge(a,["children"]);const[z,te]=(0,pe.useState)(!1);return pe.createElement(y.ZP,Me(we({},b),{loading:z,onClick:oe=>Je(void 0,null,function*(){try{te(!0),yield b.onClick(oe),te(!1)}catch(ue){console.error(ue),te(!1)}})}),x)}},48530:function(ut,Gt,ae){"use strict";var y=ae(86204),pe=ae.n(y),Be=Object.defineProperty,Te=(Ye,Ne,we)=>Ne in Ye?Be(Ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:we}):Ye[Ne]=we,ke=(Ye,Ne,we)=>Te(Ye,typeof Ne!="symbol"?Ne+"":Ne,we),We=(Ye,Ne,we)=>new Promise((Me,Ge)=>{var Je=a=>{try{E(we.next(a))}catch(x){Ge(x)}},ie=a=>{try{E(we.throw(a))}catch(x){Ge(x)}},E=a=>a.done?Me(a.value):Promise.resolve(a.value).then(Je,ie);E((we=we.apply(Ye,Ne)).next())});class xe extends y.EventEmitter{constructor(Ne,we){super(),ke(this,"url"),ke(this,"body"),ke(this,"fullContent",""),ke(this,"controller",null),ke(this,"buffer",""),this.url=Ne,this.body=we}startStream(){return We(this,null,function*(){this.controller=new AbortController;const{signal:Ne}=this.controller;try{const we=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ne});if(!we.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${we.status}`);const Me=we.headers.get("content-type");if(!Me)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Me.includes("application/json")){const ie=yield we.json();this.emit("error",ie);return}if(!Me.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ge=we.body.getReader(),Je=new TextDecoder("utf-8");for(;;){const{done:ie,value:E}=yield Ge.read();if(ie)break;const a=Je.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` +(self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(54476),pe=ae(59301),Fe={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"},Me=Fe,ke=ae(7657),Ue=function(we,Re){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Re,icon:Me}))},xe=pe.forwardRef(Ue),Qe=xe},12893:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(54476),pe=ae(59301),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Me=Fe,ke=ae(7657),Ue=function(we,Re){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Re,icon:Me}))},xe=pe.forwardRef(Ue),Qe=xe},32134:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(54476),pe=ae(59301),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Me=Fe,ke=ae(7657),Ue=function(we,Re){return pe.createElement(ke.Z,(0,y.Z)({},we,{ref:Re,icon:Me}))},xe=pe.forwardRef(Ue),Qe=xe},96408:function(it,Tt){"use strict";Tt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},58e3:function(it,Tt){"use strict";Tt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},9809:function(it,Tt){"use strict";Tt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},78455:function(it,Tt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(Ie,we,Re)=>we in Ie?pe(Ie,we,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[we]=Re,xe=(Ie,we)=>{for(var Re in we||(we={}))Me.call(we,Re)&&Ue(Ie,Re,we[Re]);if(Fe)for(var Re of Fe(we))ke.call(we,Re)&&Ue(Ie,Re,we[Re]);return Ie};const Qe=Ie=>React.createElement("svg",xe({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Ie),React.createElement("title",null,"\u6D4B\u8BD5AI\u8BC4\u5206"),React.createElement("path",{d:"M5.19 1.488a2.133 2.133 0 0 1 3.62 0l.96 1.54a.25.25 0 0 0 .152.11l1.76.437a2.133 2.133 0 0 1 1.12 3.443l-1.234 1.465.136 1.912a2.133 2.133 0 0 1-1.823 2.263l-.152.016a2.133 2.133 0 0 1-.954-.15l-1.681-.683a.25.25 0 0 0-.188 0l-1.681.682a2.133 2.133 0 0 1-2.93-2.128l.13-1.81a.25.25 0 0 0-.058-.178L1.198 7.018a2.133 2.133 0 0 1 1.12-3.443l1.76-.436a.25.25 0 0 0 .152-.11Zm2.053.543a.633.633 0 0 0-.78.25l-.96 1.54a1.75 1.75 0 0 1-1.064.774l-1.761.436a.633.633 0 0 0-.332 1.022L3.514 7.44c.294.348.44.797.407 1.251l-.13 1.81a.633.633 0 0 0 .87.631l1.681-.682a1.75 1.75 0 0 1 1.316 0l1.681.682a.633.633 0 0 0 .87-.631l-.18-2.518 1.625-1.931a.633.633 0 0 0-.332-1.022l-1.761-.436a1.75 1.75 0 0 1-1.065-.774l-.959-1.54a.633.633 0 0 0-.203-.203Zm1.544 5.23a.75.75 0 0 1 .102 1.493l-.102.007H5.362a.75.75 0 0 1-.102-1.494l.102-.006h3.425Z",fill:"#3061D0",fillRule:"nonzero"}));Tt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIuMTMzIDIuMTMzIDAgMCAxIDEuMTIgMy40NDNsLTEuMjM0IDEuNDY1LjEzNiAxLjkxMmEyLjEzMyAyLjEzMyAwIDAgMS0xLjgyMyAyLjI2M2wtLjE1Mi4wMTZhMi4xMzMgMi4xMzMgMCAwIDEtLjk1NC0uMTVsLTEuNjgxLS42ODNhLjI1LjI1IDAgMCAwLS4xODggMGwtMS42ODEuNjgyYTIuMTMzIDIuMTMzIDAgMCAxLTIuOTMtMi4xMjhsLjEzLTEuODFhLjI1LjI1IDAgMCAwLS4wNTgtLjE3OEwxLjE5OCA3LjAxOGEyLjEzMyAyLjEzMyAwIDAgMSAxLjEyLTMuNDQzbDEuNzYtLjQzNmEuMjUuMjUgMCAwIDAgLjE1Mi0uMTFabTIuMDUzLjU0M2EuNjMzLjYzMyAwIDAgMC0uNzguMjVsLS45NiAxLjU0YTEuNzUgMS43NSAwIDAgMS0xLjA2NC43NzRsLTEuNzYxLjQzNmEuNjMzLjYzMyAwIDAgMC0uMzMyIDEuMDIyTDMuNTE0IDcuNDRjLjI5NC4zNDguNDQuNzk3LjQwNyAxLjI1MWwtLjEzIDEuODFhLjYzMy42MzMgMCAwIDAgLjg3LjYzMWwxLjY4MS0uNjgyYTEuNzUgMS43NSAwIDAgMSAxLjMxNiAwbDEuNjgxLjY4MmEuNjMzLjYzMyAwIDAgMCAuODctLjYzMWwtLjE4LTIuNTE4IDEuNjI1LTEuOTMxYS42MzMuNjMzIDAgMCAwLS4zMzItMS4wMjJsLTEuNzYxLS40MzZhMS43NSAxLjc1IDAgMCAxLTEuMDY1LS43NzRsLS45NTktMS41NGEuNjMzLjYzMyAwIDAgMC0uMjAzLS4yMDNabTEuNTQ0IDUuMjNhLjc1Ljc1IDAgMCAxIC4xMDIgMS40OTNsLS4xMDIuMDA3SDUuMzYyYS43NS43NSAwIDAgMS0uMTAyLTEuNDk0bC4xMDItLjAwNmgzLjQyNVoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},96435:function(it,Tt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(Ie,we,Re)=>we in Ie?pe(Ie,we,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[we]=Re,xe=(Ie,we)=>{for(var Re in we||(we={}))Me.call(we,Re)&&Ue(Ie,Re,we[Re]);if(Fe)for(var Re of Fe(we))ke.call(we,Re)&&Ue(Ie,Re,we[Re]);return Ie};const Qe=Ie=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ie),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Tt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},64303:function(it,Tt,ae){"use strict";var y=ae(59301),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(Ie,we,Re)=>we in Ie?pe(Ie,we,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[we]=Re,xe=(Ie,we)=>{for(var Re in we||(we={}))Me.call(we,Re)&&Ue(Ie,Re,we[Re]);if(Fe)for(var Re of Fe(we))ke.call(we,Re)&&Ue(Ie,Re,we[Re]);return Ie};const Qe=Ie=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ie),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Tt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},25863:function(){"use strict";function it(ie,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ie,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(it.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(it.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(it.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(it.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,E){var a=go.Shape._FigureParameters[ie];return a?a[E]:null},go.Shape.setFigureParameter=function(ie,E,a){if(!(a instanceof it))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 x=go.Shape._FigureParameters[ie];x||(x=[],go.Shape._FigureParameters[ie]=x),x[E]=a};var Tt=[];function ae(ie,E){var a=Tt.pop();return a===void 0?new go.Point(ie,E):(a.x=ie,a.y=E,a)}function y(){var ie=Tt.pop();return ie===void 0?new go.Point:ie}function pe(ie){Tt.push(ie)}function Fe(ie,E,a,x,b,z,te,oe,ue){ue||(ue=new go.Point);var le=ie-a,Ee=b-te,be=NaN,We=NaN;if(le===0)if(Ee===0)ie===a&&(be=ie,We=E);else{var De=(z-oe)/Ee,st=z-De*b;be=ie,We=De*be+st}else if(Ee===0){var Oe=(E-x)/le,Ke=E-Oe*ie;be=b,We=Oe*be+Ke}else{var Oe=(E-x)/le,De=(z-oe)/Ee,Ke=E-Oe*ie,st=z-De*b;be=(st-Ke)/(Oe-De),We=Oe*be+Ke}return ue.x=be,ue.y=We,ue}function Me(ie,E,a,x,b,z,te,oe,ue,le,Ee,be,We,De){var st=1-ue,Oe=ue,Ke=ie*st+a*Oe,ze=E*st+x*Oe,Xe=a*st+b*Oe,Ce=x*st+z*Oe,ct=b*st+te*Oe,mt=z*st+oe*Oe,Ct=Ke*st+Xe*Oe,Et=ze*st+Ce*Oe,fn=Xe*st+ct*Oe,un=Ce*st+mt*Oe,Vt=Ct*st+fn*Oe,ht=Et*st+un*Oe;le.x=Ke,le.y=ze,Ee.x=Ct,Ee.y=Et,be.x=Vt,be.y=ht,We.x=fn,We.y=un,De.x=ct,De.y=mt}var ke=new go.Spot(.156,.156),Ue=new go.Spot(.844,.844),xe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new it("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*xe,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,E,a){var x=E/2,b=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=ke,b.spot2=Ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ie,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,xe*E,0,E,(1-xe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,xe*a,(1-xe)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,xe*a,xe*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-xe)*E,0,0,(1-xe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new it("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(x=.5);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+oe,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,oe,oe).close())),z.spot1=ke,z.spot2=Ue,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new it("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new it("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,E,a){var x=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,oe=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,z,te,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,E,a){var x=xe/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*E,z*a,E,(1-x)*a,(b+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new it("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new it("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new it("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,E,a){var x=ie?ie.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var z=E/2,te=a/2,oe=Math.atan2(a,E),ue=x-Math.min(Math.cos(oe)*x/2,z),le=x-Math.min(Math.sin(oe)*x/2,te),b=new go.Geometry,Ee=new go.PathFigure(ue,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,E,a-le)),Ee.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,ue,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new it("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new it("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new it("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,xe*E,0,E,(.5-xe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+xe/2)*a,xe*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.4*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,oe=0,ue=z*xe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+oe)*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te)*E,(.5-ue+oe)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te+.05)*E,(.5-ue+oe-.02)*a)),z=.2,te=0,oe=-.3,ue=z*xe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+oe)*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te)*E,(.5-ue+oe)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+oe)*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te)*E,(.5-ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),z=.2,te=-.3,oe=0,ue=z*xe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+oe)*a,(1-.5+z+te-.05)*E,(.5-ue+oe-.02)*a,(.5+ue+te)*E,(.5-z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+oe)*a,(.5-ue+te)*E,(.5-z+oe)*a,(.5-z+te)*E,(.5-ue+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+oe)*a,(.5-z+te)*E,(.5+ue+oe)*a,(.5-ue+te)*E,(.5+z+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+te)*E,(.5+z+oe)*a,(.5+z+te)*E,(.5+ue+oe)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,oe=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,oe*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*oe,z*E,z*E).close()),b=new go.PathFigure(E*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),oe=.75,b=new go.PathFigure((te+z)*E,oe*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*oe,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ie,E,a){var x=.8535533905932737,b=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=.5,oe=.5,ue=new go.PathFigure(te*E,(oe-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),z=.4,b=xe*.4;var le=y(),Ee=y(),be=y(),We=y();Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.42,le,Ee,be,We,We);var De=y(),st=y(),Oe=y();Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.58,We,We,Oe,De,st);var Ke=y(),ze=y(),Xe=y();Me(te,oe+z,te-b,oe+z,te-z,oe+b,te-z,oe,.42,Ke,ze,Xe,We,We);var Ce=y(),ct=y(),mt=y();return Me(te,oe+z,te-b,oe+z,te-z,oe+b,te-z,oe,.58,We,We,mt,Ce,ct),ue.add(new go.PathSegment(go.PathSegment.Move,mt.x*E,mt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,Ce.x*E,Ce.y*a,ct.x*E,ct.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,le.x*E,le.y*a,Ee.x*E,Ee.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,Xe.x*E,Xe.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,Oe.x*E,Oe.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,De.x*E,De.y*a,st.x*E,st.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Xe.x*E,Xe.y*a,Ke.x*E,Ke.y*a,ze.x*E,ze.y*a).close()),pe(le),pe(Ee),pe(be),pe(We),pe(De),pe(st),pe(Oe),pe(Ke),pe(ze),pe(Xe),pe(Ce),pe(ct),pe(mt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new it("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var b=(E-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,E,a){var x=new go.Geometry,b=xe*.4,z=.4,te=.5,oe=.5,ue=y(),le=y(),Ee=y(),be=y(),We=new go.PathFigure((te-z)*E,oe*a,!1);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.44,Ee,be,le,ue,ue),We.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a));var De=ae(le.x,le.y);Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.56,ue,ue,le,Ee,be);var st=ae(le.x,le.y);We.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*E,De.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,De.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(st.x*.1+.9)*E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(st.x*.1+.9)*E,(st.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,st.x*E,st.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),z=.35,b=xe*.35;var Oe=new go.PathFigure(te*E,(oe-z)*a,!1);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a));var Ke=new go.PathFigure((te-z)*E,oe*a,!1);return x.add(Ke),pe(ue),pe(le),pe(Ee),pe(be),pe(De),pe(st),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,E,a){var x=new go.Geometry,b=.375,z=0,te=-.125,oe=b*xe,ue=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+oe+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-oe+te)*a,(.5+oe+z)*E,(.5-b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+oe+te)*a,(.5-oe+z)*E,(.5+b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),b=.325,z=0,te=-.125,oe=b*xe;var ue=new go.PathFigure((1-.5+b+z)*E,(.5+te)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+oe+te)*a,(.5+oe+z)*E,(.5+b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a,(.5-oe+z)*E,(.5-b+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+oe+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-oe+te)*a));var ue=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);return x.add(ue),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,E,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,E,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new it("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new it("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*E,te=(.5-b/2)*a,oe=(.5+b/2)*a,ue=new go.Geometry,le=new go.PathFigure(0,te,!0);ue.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,te)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,oe)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ue.spot1=new go.Spot(0,te/a);var Ee=Fe(0,oe/a,1,oe/a,z/E,1,1,.5,y());return ue.spot2=new go.Spot(Ee.x,Ee.y),pe(Ee),ue}),go.Shape.setFigureParameter("Arrow2",0,new it("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new it("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var z=E-x,te=(a-b)/2,oe=te+b,ue=new go.Geometry,le=new go.PathFigure(0,te,!0);ue.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,te)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,z,a)),le.add(new go.PathSegment(go.PathSegment.Line,z,oe)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ue.spot1=new go.Spot(0,te/a);var Ee=Fe(0,oe/a,1,oe/a,z/E,1,1,.5,y());return ue.spot2=new go.Spot(Ee.x,Ee.y),pe(Ee),ue}),go.Shape.defineFigureGenerator("Chevron",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new it("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Fe(0,.5,.3,0,0,b/a,.1,b/a,y());return te.spot1=new go.Spot(ue.x,ue.y),ue=Fe(.7,1,1,.5,0,z/a,1,z/a,ue),te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new it("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new it("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,oe=(a-b)/2,ue=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,oe=0,ue=a):(z=0,te=a,oe=0,ue=a));var le=new go.Geometry,Ee=new go.PathFigure(E,.5*a,!0);le.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe).close());var be=Fe(0,.5,.3,oe/a,0,z/a,1,z/a,y());return le.spot1=new go.Spot(be.x,be.y),be=Fe(.7,ue/a,1,.5,0,te/a,1,te/a,be),le.spot2=new go.Spot(be.x,be.y),pe(be),le}),go.Shape.setFigureParameter("IBeamArrow",0,new it("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,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*E,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,b/a);var ue=Fe(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new it("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new it("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,oe=(a-b)/2,ue=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,oe=0,ue=a):(z=0,te=a,oe=0,ue=a));var le=new go.Geometry,Ee=new go.PathFigure(E,.5*a,!0);le.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,oe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,oe).close()),le.spot1=new go.Spot(0,z/a);var be=Fe(.7,ue/a,1,.5,0,te/a,1,te/a,y());return le.spot2=new go.Spot(be.x,be.y),pe(be),le}),go.Shape.setFigureParameter("Pointer",0,new it("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=Fe(.2,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new it("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b.spot1=new go.Spot(x,.35);var te=Fe(0,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new it("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var ue=Fe(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new it("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,z=b+x;x>a&&(b=0,z=a);var te=new go.Geometry,oe=new go.PathFigure(E,.5*a,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,b/a);var ue=Fe(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ue.x,ue.y),pe(ue),te}),go.Shape.setFigureParameter("SquareArrow",0,new it("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-xe*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var oe=new go.PathFigure(E,x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-xe*x,(.5+z)*E,2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-xe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(0,a-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,xe*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,xe*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-xe*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-xe*x));var oe=new go.PathFigure(0,a-x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-xe*x,(.5-z)*E,a-2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-xe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0));var oe=new go.PathFigure(x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+xe*x,0,2*x,(.5-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+xe*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=xe*.5,te=new go.PathFigure(E-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-xe*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-xe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,xe*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,xe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var oe=new go.PathFigure(E-x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-xe*x,0,E-2*x,(.5-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-xe*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ie,E,a){var x=new go.Geometry,b=.2,z=.1,te=xe*b,oe=xe*z,ue=.5,le=.1,Ee=new go.PathFigure(ue*E,(le+z)*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-b)*E,le*a,(ue-te)*E,(le+z)*a,(ue-b)*E,(le+oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-z)*a,(ue-b)*E,(le-oe)*a,(ue-te)*E,(le-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+b)*E,le*a,(ue+te)*E,(le-z)*a,(ue+b)*E,(le-oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+z)*a,(ue+b)*E,(le+oe)*a,(ue+te)*E,(le+z)*a));var be=.05,We=xe*be;ue=.05,le=.25;var De=new go.PathFigure(.5*E,.2*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,le=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*E,le*a,(ue+We)*E,(le-be)*a,(ue+be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,We=xe*be,ue=.825,le=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue+be)*E,(le-We)*a,(ue+We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,le*a,(ue-We)*E,(le-be)*a,(ue-be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,We=xe*be,ue=.5,le=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue+be)*E,(le-We)*a,(ue+We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,le*a,(ue-We)*E,(le-be)*a,(ue-be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,We=xe*be,ue=.175,le=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue+be)*E,(le-We)*a,(ue+We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,le*a,(ue-We)*E,(le-be)*a,(ue-be)*E,(le-We)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,We=xe*be,ue=.05,le=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-be)*a,(ue-be)*E,(le-We)*a,(ue-We)*E,(le-be)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new it("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,E,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var oe=new go.PathFigure(E,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+b)*E,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var oe=new go.PathFigure(E,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=xe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(b*E,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),oe.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ie,E,a){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=xe*.5,oe=.5,ue=new go.PathFigure(E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,a,E,(oe+te)*a,(oe+te)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-te)*E,a,0,(oe+te)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,0,0,(oe-te)*a,(oe-te)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,oe*a,(oe+te)*E,0,E,(oe-te)*a));var le=new go.PathFigure((z+b)*E,(z+b)*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),le.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+b)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(z+b)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+b)*a,(z+b)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var oe=new go.PathFigure(.5*b*E,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*E,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var oe=new go.PathFigure(E,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ie,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,z=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,E,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+b)*E,0,E,(.5-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+b)*a,(.5+b)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var oe=new go.PathFigure(E,z*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ie,E,a){var x=new go.Geometry,b=xe*.1,z=.1,te=.9,oe=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var le=new go.PathFigure((te+z)*E,oe*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe-z)*a,(te+z)*E,(oe-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=xe*.4,te=xe*.1,oe=.1,ue=.9,le=.5,Ee=new go.PathFigure(.8*E,.5*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+b)*E,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+b)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((ue+oe)*E,le*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+oe)*a,(ue+oe)*E,(le+te)*a,(ue+te)*E,(le+oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E,le*a,(ue-te)*E,(le+oe)*a,(ue-oe)*E,(le+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-oe)*a,(ue-oe)*E,(le-te)*a,(ue-te)*E,(le-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E,le*a,(ue+te)*E,(le-oe)*a,(ue+oe)*E,(le-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=0,oe=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(oe-b)*a,.7*E,(oe-z)*a)),b=.1,z=xe*.1,te=.9,oe=.5;var le=new go.PathFigure((te-b)*E,oe*a,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=0,oe=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(oe-b)*a,.8*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(oe+z)*a,(te+z+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=.2,oe=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.8*E,.5*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(oe-b)*a,.7*E,(oe-z)*a)),b=.1,z=xe*.1,te=.9,oe=.5;var Ee=new go.PathFigure((te-b)*E,oe*a,!0);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*b,te=.2,oe=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var le=new go.PathFigure(.2*E,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(oe-b)*a,.9*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ie,E,a){var x=new go.Geometry,b=xe*.1,z=.1,te=.1,oe=.5,ue=new go.PathFigure((te-b*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*E,a,(te+z)*E,0,(te+b)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,E,a){var x=new go.Geometry,b=xe*.5,z=.5,te=.5,oe=.5,ue=new go.PathFigure((te-z)*E,oe*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-z)*a,(te-z)*E,(oe-b)*a,(te-b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe-z)*a,(te+z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,oe*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,oe*a,te*E,(oe-z)*a,te*E,(oe+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ie,E,a){var x=new go.Geometry,b=E,z=a;E=E*.38,a=a*.6;var te=xe*.8,oe=.8,ue=0,le=.5,Ee=(b-E)/2,be=(z-a)/2,We=new go.PathFigure(ue*E+Ee,(le+oe)*a+be,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+be,(ue-te)*E+Ee,(le+oe)*a+be,(ue-oe)*E+Ee,(le+te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue-oe)*E+Ee,(le-te)*a+be,(ue-te)*E+Ee,(le-oe)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe+te*.5)*E+Ee,le*a+be,ue*E+Ee,(le-oe)*a+be,(ue-oe+te*.5)*E+Ee,(le-te)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue-oe+te*.5)*E+Ee,(le+te)*a+be,ue*E+Ee,(le+oe)*a+be).close()),te=xe*.4,oe=.4,ue=.2,le=.5;var De=new go.PathFigure(ue*E+Ee,(le+oe)*a+be,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+be,(ue-te)*E+Ee,(le+oe)*a+be,(ue-oe)*E+Ee,(le+te)*a+be)),De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue-oe)*E+Ee,(le-te)*a+be,(ue-te)*E+Ee,(le-oe)*a+be)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe+te*.5)*E+Ee,le*a+be,ue*E+Ee,(le-oe)*a+be,(ue-oe+te*.5)*E+Ee,(le-te)*a+be)),De.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue-oe+te*.5)*E+Ee,(le+te)*a+be,ue*E+Ee,(le+oe)*a+be).close()),te=xe*.2,oe=.2,ue=.5,le=.5;var st=new go.PathFigure((ue-oe)*E+Ee,le*a+be,!0);x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue-oe)*E+Ee,(le-te)*a+be,(ue-te)*E+Ee,(le-oe)*a+be)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+be,(ue+te)*E+Ee,(le-oe)*a+be,(ue+oe)*E+Ee,(le-te)*a+be)),st.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue+oe)*E+Ee,(le+te)*a+be,(ue+te)*E+Ee,(le+oe)*a+be)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*E+Ee,le*a+be,(ue-te)*E+Ee,(le+oe)*a+be,(ue-oe)*E+Ee,(le+te)*a+be)),te=xe*.4,oe=.4,ue=.8,le=.5;var Oe=new go.PathFigure(ue*E+Ee,(le-oe)*a+be,!0);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+be,(ue+te)*E+Ee,(le-oe)*a+be,(ue+oe)*E+Ee,(le-te)*a+be)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue+oe)*E+Ee,(le+te)*a+be,(ue+te)*E+Ee,(le+oe)*a+be)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe-te*.5)*E+Ee,le*a+be,ue*E+Ee,(le+oe)*a+be,(ue+oe-te*.5)*E+Ee,(le+te)*a+be)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue+oe-te*.5)*E+Ee,(le-te)*a+be,ue*E+Ee,(le-oe)*a+be).close()),te=xe*.8,oe=.8,ue=1,le=.5;var Ke=new go.PathFigure(ue*E+Ee,(le-oe)*a+be,!0);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*E+Ee,le*a+be,(ue+te)*E+Ee,(le-oe)*a+be,(ue+oe)*E+Ee,(le-te)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le+oe)*a+be,(ue+oe)*E+Ee,(le+te)*a+be,(ue+te)*E+Ee,(le+oe)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe-te*.5)*E+Ee,le*a+be,ue*E+Ee,(le+oe)*a+be,(ue+oe-te*.5)*E+Ee,(le+te)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+Ee,(le-oe)*a+be,(ue+oe-te*.5)*E+Ee,(le-te)*a+be,ue*E+Ee,(le-oe)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.35*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var oe=new go.PathFigure(0,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ie,E,a){var x=new go.Geometry,b=xe*.4,z=.4,te=.5,oe=.5,ue=y(),le=y(),Ee=y(),be=y();Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.5,ue,ue,le,Ee,be);var We=ae(le.x,le.y),De=new go.PathFigure(le.x*E,le.y*a,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te+z)*E,(oe+b)*a,(te+b)*E,(oe+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,(te-b)*E,(oe+z)*a,(te-z)*E,(oe+b)*a)),Me(te-z,oe,te-z,oe-b,te-b,oe-z,te,oe-z,.5,Ee,be,le,ue,ue),De.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,Ee.x*E,Ee.y*a,be.x*E,be.y*a)),b=xe*.3,z=.3,Me(te-z,oe,te-z,oe-b,te-b,oe-z,te,oe-z,.5,Ee,be,le,ue,ue),De.add(new go.PathSegment(go.PathSegment.Line,le.x*E,le.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,oe*a,be.x*E,be.y*a,Ee.x*E,Ee.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+z)*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,oe*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),Me(te,oe-z,te+b,oe-z,te+z,oe-b,te+z,oe,.5,ue,ue,le,Ee,be),De.add(new go.PathSegment(go.PathSegment.Bezier,le.x*E,le.y*a,be.x*E,be.y*a,Ee.x*E,Ee.y*a).close());var De=new go.PathFigure(.45*E,0,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),pe(ue),pe(le),pe(Ee),pe(be),pe(We),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,oe,ue){te.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*E,(.8+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*E,(.5+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*E,(.5+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*E,(.8+ue)*a).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.37*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,E,a){var x=new go.Geometry,b=.5,z=0,te=0,oe=b*xe,ue=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,Ee=1,be=.5,We=.5,De=0,st=new go.PathFigure(ue*E,(1-le)*a,!1);return x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,be*a,Ee*E,.7*a,Ee*E,be*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We+z)*E,(De+z)*a,(.5+b+z)*E,(.5-oe+z)*a,(.5+oe+z)*E,(.5-b+z)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-oe+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-oe+te)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-b+z)*E,(.5+oe+te)*a,(.5-oe+z)*E,.9*a)),st.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),st.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),st.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.7*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,oe=.5,ue=te,le=Math.PI/4,Ee=4*(1-Math.cos(le))/(3*Math.sin(le)),be=Ee*.5,We=te,De=te,st=Ee*We,Oe=Ee*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(oe-We)*E,ue*a,(oe-(st+We)/2)*E,(ue+(De+Oe)/2)*a,(oe-We)*E,(ue+Oe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(ue-De)*a,(oe-We)*E,(ue-Oe)*a,(oe-st)*E,(ue-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(oe+We)*E,ue*a,(oe+st)*E,(ue-De)*a,(oe+We)*E,(ue-Oe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(oe+We)*E,(ue+Oe)*a,(oe+(st+We)/2)*E,(ue+(De+Oe)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Ke=new go.PathFigure(.2*E,a,!1);x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var ze=new go.PathFigure(.8*E,a,!1);return x.add(ze),ze.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.05*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.45*E,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=new go.PathFigure(E,b*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+z)*a,(b+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-z)*E,a,0,(b+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-z)*a,(b-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+z)*E,0,E,(b-z)*a));var oe=new go.PathFigure(b*E,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,a)),oe.add(new go.PathSegment(go.PathSegment.Line,b*E,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.15*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,oe=xe*.1,ue=.2,le=.9,Ee=new go.PathFigure((ue-te)*E,le*a,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-te)*a,(ue-te)*E,(le-oe)*a,(ue-oe)*E,(le-te)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,le*a,(ue+oe)*E,(le-te)*a,(ue+te)*E,(le-oe)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+te)*a,(ue+te)*E,(le+oe)*a,(ue+oe)*E,(le+te)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,le*a,(ue-oe)*E,(le+te)*a,(ue-te)*E,(le+oe)*a).close()),te=.1,oe=xe*.1,ue=.8,le=.9;var be=new go.PathFigure((ue-te)*E,le*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le-te)*a,(ue-te)*E,(le-oe)*a,(ue-oe)*E,(le-te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+te)*E,le*a,(ue+oe)*E,(le-te)*a,(ue+te)*E,(le-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(le+te)*a,(ue+te)*E,(le+oe)*a,(ue+oe)*E,(le+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-te)*E,le*a,(ue-oe)*E,(le+te)*a,(ue-te)*E,(le+oe)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var oe=new go.PathFigure(.5*E,.7*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,le=xe*.1,Ee=.1,be=.9,We=new go.PathFigure((Ee-ue)*E,be*a,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be-ue)*a,(Ee-ue)*E,(be-le)*a,(Ee-le)*E,(be-ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ue)*E,be*a,(Ee+le)*E,(be-ue)*a,(Ee+ue)*E,(be-le)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be+ue)*a,(Ee+ue)*E,(be+le)*a,(Ee+le)*E,(be+ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ue)*E,be*a,(Ee-le)*E,(be+ue)*a,(Ee-ue)*E,(be+le)*a)),ue=.1,le=xe*.1,Ee=.4,be=.9;var De=new go.PathFigure((Ee-ue)*E,be*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be-ue)*a,(Ee-ue)*E,(be-le)*a,(Ee-le)*E,(be-ue)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ue)*E,be*a,(Ee+le)*E,(be-ue)*a,(Ee+ue)*E,(be-le)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,Ee*E,(be+ue)*a,(Ee+ue)*E,(be+le)*a,(Ee+le)*E,(be+ue)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ue)*E,be*a,(Ee-le)*E,(be+ue)*a,(Ee-ue)*E,(be+le)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var Ee=.05,be=xe*.05,We=.175,De=.95,oe=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a));var Ee=.05,be=xe*.05,We=.375,De=.95,ue=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a));var Ee=.05,be=xe*.05,We=.625,De=.95,le=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a));var Ee=.05,be=xe*.05,We=.825,De=.95,st=new go.PathFigure((We-Ee)*E,De*a,!0);x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De-Ee)*a,(We-Ee)*E,(De-be)*a,(We-be)*E,(De-Ee)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*E,De*a,(We+be)*E,(De-Ee)*a,(We+Ee)*E,(De-be)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(De+Ee)*a,(We+Ee)*E,(De+be)*a,(We+be)*E,(De+Ee)*a)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*E,De*a,(We-be)*E,(De+Ee)*a,(We-Ee)*E,(De+be)*a).close());var Oe=new go.PathFigure(0,a,!1);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var oe=.05,ue=xe*.05,le=.35,Ee=.775,be=new go.PathFigure((le-oe)*E,Ee*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(Ee-oe)*a,(le-oe)*E,(Ee-ue)*a,(le-ue)*E,(Ee-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(le+oe)*E,Ee*a,(le+ue)*E,(Ee-oe)*a,(le+oe)*E,(Ee-ue)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,le*E,(Ee+oe)*a,(le+oe)*E,(Ee+ue)*a,(le+ue)*E,(Ee+oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(le-oe)*E,Ee*a,(le-ue)*E,(Ee+oe)*a,(le-oe)*E,(Ee+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ie,E,a){var x=new go.Geometry,b=.3,z=xe*.3,te=.5,oe=.7,ue=new go.PathFigure((te-b)*E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a));var le=new go.PathFigure(0,.7*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=.5,oe=.5,ue=new go.PathFigure((te-b)*E,oe*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a));var le=new go.PathFigure(.15*E,.5*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ie,E,a){var x=new go.Geometry,b=.5,z=xe*.5,te=.5,oe=.5,ue=new go.PathFigure((te-b)*E,oe*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a).close()),b=.05,z=xe*.05,te=.5,oe=.8;var le=new go.PathFigure((te-b)*E,oe*a,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe-b)*a,(te-b)*E,(oe-z)*a,(te-z)*E,(oe-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,oe*a,(te+z)*E,(oe-b)*a,(te+b)*E,(oe-z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(oe+b)*a,(te+b)*E,(oe+z)*a,(te+z)*E,(oe+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,oe*a,(te-z)*E,(oe+b)*a,(te-b)*E,(oe+z)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var oe=new go.PathFigure(.678*E,.85*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var oe=new go.PathFigure(E*.612,a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var oe=new go.PathFigure(E*.055,.18*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(.55*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var oe=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,E,a){var x=new go.Geometry,b=8,z=b*xe,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var oe=new go.PathFigure(E*.83,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var le=new go.PathFigure(E*.78,a*.05,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,E,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*xe,z=a*.8,te=new go.Geometry,oe=new go.PathFigure(x,0,!0);return te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)),oe.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-b,E-b,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),oe.add(new go.PathSegment(go.PathSegment.Line,0,x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ie,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ie,E,a){var x=new go.Geometry,b=15,z=b*xe,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ie,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var it={},Tt="5.0",ae={},y=null,pe=!1,Fe=!1,Me=null,ke=!1,Ue=null,xe=null,Qe=0;Qe4?parseFloat(Te):5};it.setHTML5Codebase=function(Te,rt){xe=Te,un(Te,rt)},it.setJavaCodebase=it.setJavaCodebaseVersion=it.isCompiledInstalled=it.setPreCompiledScriptPath=it.setPreCompiledResourcePath=function(){},it.setHTML5CodebaseVersion=function(Te,rt){var It=parseFloat(Te);if(It!==NaN&&It<5){console.log("The GeoGebra HTML5 codebase version "+It+" is deprecated. Using version latest instead.");return}Ue=Te,fn(Te,rt)},it.getHTML5CodebaseVersion=function(){return ie},it.getParameters=function(){return ae},it.setFontsCSSURL=function(Te){te=Te},it.setGiacJSURL=function(Te){},it.setJNLPFile=function(Te){we=Te},it.setJNLPBaseDir=function(Te){},it.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var rt="auto",It=ae.id,hn,Pt=!1,sn=0;sn=5)return!0;var Te=it.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},it.startAnimation=function(){var Te=it.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},it.stopAnimation=function(){var Te=it.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},it.getAppletObject=function(){var Te=ae.id!==void 0?ae.id:"ggbApplet";return window[Te]},it.resize=function(){};var st=function(Te,rt,It){var hn=document.createElement("param");hn.setAttribute("name",rt),hn.setAttribute("value",It),Te.appendChild(hn)},Oe=function(Te){return Te&&Te!=="false"},Ke=function(Te,rt,It){ue(ie)<=4.2&&(It=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Pt=document.createElement("div");Pt.classList.add("appletParameters","notranslate");var sn=rt.width,Be=rt.height;if(rt.disableAutoScale=rt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():rt.disableAutoScale,rt.width!==void 0)if(ue(ie)<=4.4)Oe(rt.showToolBar)&&(rt.height-=7),Oe(rt.showAlgebraInput)&&(rt.height-=37),rt.width<605&&Oe(rt.showToolBar)&&(rt.width=605,sn=605);else{var qe=100;(Oe(rt.showToolBar)||Oe(rt.showMenuBar))&&(rt.hasOwnProperty("customToolBar")&&(rt.customToolbar=rt.customToolBar),qe=Oe(rt.showMenuBar)?245:155),sn=5?(rt.appletOnLoad=function(On){var ya=Te.querySelector(".ggb_preview");ya&&ya.parentNode.removeChild(ya),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(pt),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(On)},_n||pt.appendChild(Zt)):Pt.appendChild(Zt),pt.appendChild(Pt),_n||Te.appendChild(pt),setTimeout(function(){it.resize()},1)}else{var At=document.createElement("div");At.className="applet_scaler",At.style.position="relative",At.style.display="block",At.appendChild(Pt),Te.appendChild(At),rt.appletOnLoad=function(On){it.resize(),nt(On)}}function yt(On,ya){ya&&typeof ya.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(On,ya.appletOnLoad):renderGGBElement(On),Vt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ya)}function Gn(On,ya){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:On,params:ya}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Za){yt(Za.article,Za.params)}),html5AppletsToProcess=null)},ue(ie)<5&&(On.className+=" geogebraweb")):yt(On,ya)}if(hn){scriptLoadStarted=!0;for(var Qn=0;Qn0?(qt.remove(),pt.attr("id","fullscreencontent").show(),jQuery(nt).append(pt),window.dispatchEvent(new Event("resize"))):Ke(qt,rt,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Ye=hn,Ke(Te,rt,!1);if(!window.GGBT_wsf_view)for(Be=0;BeTe/4*3&&(qt=Te/4*3),nt=qt/5.8,qe.setAttribute("src",b),qe.setAttribute("width",qt),qe.setAttribute("height",nt);var pt=(Te-qt)/2,_n=(rt-nt)/2;qe.style.left=pt+"px",qe.style.top=_n+"px",Pt.appendChild(qe)}}return Pt.appendChild(Be),Pt},Ct=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},Et=["web","webSimple","web3d","tablet","tablet3d","phone"],fn=function(Te,rt){if(ie=Te,rt){un(ie,!0);return}var It=!pe;if(It){var hn=ue(ie);!isNaN(hn)&&hn<4.4&&(It=!1)}var Pt,sn;window.location.protocol.substr(0,4)==="http"?Pt=window.location.protocol:Pt="http:";var Be=ie.indexOf("//");Be>0?sn=ie:Be===0?sn=Pt+ie:sn="https://www.geogebra.org/apps/5.2.814.0/";for(var qe in Et)if(ie.slice(Et[qe].length*-1)===Et[qe]||ie.slice((Et[qe].length+1)*-1)===Et[qe]+"/"){un(sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&It&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!Oe(ae.showToolBar)&&!Oe(ae.showMenuBar)&&!Oe(ae.showAlgebraInput)&&!Oe(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?sn+="webSimple/":sn+="web3d/",un(sn,!1)},un=function(Te,rt){if(Te.requirejs){Re=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),Re=Te,rt===null&&(rt=Te.indexOf("http")===-1),Ze=rt,E="web.nocache.js",a=!1;var It=Re.split("/");It.length>1&&(!rt&&It[It.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):Et.indexOf(It[It.length-2])>=0&&(E=It[It.length-2]+".nocache.js")),It=Te.split("/"),ie=It[It.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&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),fn("5.0",rt))},Vt=function(Te,rt){window.console&&window.console.log&&(!rt||typeof rt.showLogging=="undefined"||rt.showLogging&&rt.showLogging!=="false")&&console.log(Te)};ae.material_id!==void 0?be(ht):ht();function ht(){var Te=Tt;Ue!==null?Te=Ue:parseFloat(Te)<5&&(Te="5.0"),fn(Te,!1),xe!==null&&un(xe,Ze),ke=!0}return it},GGBAppletUtils=function(){"use strict";function it(){return window.GGBT_wsf_edit!==void 0}function Tt(ke,Ue){Ue!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+Ue+","+Ue+")",ke.style.webkitTransform="scale("+Ue+","+Ue+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function ae(ke,Ue,xe,Qe,Ie,we){var Re=null;if(we!=null&&we!="")for(var Ze=ke.parentNode;Ze!=null;)if((" "+Ze.className+" ").indexOf(" "+we+" ")>-1){Re=Ze;break}else Ze=Ze.parentNode;var Ye=0,ie=0,E=0,a=0,x=0,b=0,z=0;if(Re)Ye=Re.offsetWidth,ie=Math.max(Qe?Re.offsetWidth:0,Re.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,ie=window.innerHeight,E=window.innerWidth),ke){var te=ke.getBoundingClientRect();te.left>0&&te.left<=Ye&&(Ie===void 0||!Ie)&&(document.dir==="rtl"?(x=Ye-te.width-te.left,b=E<=480?10:30):(b=te.left,x=E<=480?10:30),a=b+x)}if(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return ke&&((xe===void 0||!xe)&&Ue>0&&Ue+a1&&(we=!0)),Ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we=!0),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Ie=y(ke,Ue,we,xe,ke.scaleContainerClass);else return Qe;return we&&(!ke.hasOwnProperty("scale")||Qe===1)?Ie:Math.min(Qe,Ie)}function Fe(ke){var Ue=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Qe=ke.getBoundingClientRect(),Ie=(Ue-Qe.width)/2,we=(xe-Qe.height)/2;we<0&&(we=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ie<40?ke.style.left="40px":ke.style.left=Ie+"px",ke.style.top=we+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we<40?ke.style.top="40px":ke.style.top=we+"px",ke.style.left=Ie+"px")}function Me(ke,Ue){var xe=ke.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ke)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var Qe=pe(Ue,ke);it()&&xe.setAttribute("data-param-scale",Qe);for(var Ie=null,we=0;we=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(it){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(it){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(it){var Tt=c[it];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function it(ke){var Ue=ke.lastIndexOf(rb);Ue==-1&&(Ue=ke.length);var xe=ke.indexOf(sb);xe==-1&&(xe=ke.length);var Qe=ke.lastIndexOf(tb,Math.min(xe,Ue));return Qe>=O?ke.substring(O,Qe+P):W}function Tt(ke){if(!ke.match(/^\w+:\/\//)){var Ue=o.createElement(ub);Ue.src=ke+vb,ke=it(Ue.src)}return ke}function ae(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function y(){for(var ke=o.getElementsByTagName(_),Ue=O;UeO?ke[ke.length-P].href:W}function Fe(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Me=ae();return Me==W&&(Me=y()),Me==W&&(Me=pe()),Me==W&&Fe()&&(Me=it(o.location.href)),Me=Tt(Me),Me}function C(it){return it.match(/^\//)||it.match(/^[a-zA-Z]+:\/\//)?it:webModule.__moduleBase+it}function D(){var it=[],Tt=O,ae=[],y=[];function pe(ke){var Ue=y[ke](),xe=ae[ke];if(Ue in xe)return Ue;var Qe=[];for(var Ie in xe)Qe[xe[Ie]]=Ie;throw r&&r(ke,Qe,Ue),null}if(__gwt_isKnownPropertyValue=function(ke,Ue){return Ue in ae[ke]},webModule.__getPropMap=function(){var ke={};for(var Ue in ae)ae.hasOwnProperty(Ue)&&(ke[Ue]=pe(Ue));return ke},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Fe;try{Fe=Cb;var Me=Fe.indexOf(Db);Me!=-1&&(Tt=parseInt(Fe.substring(Me+P),$),Fe=Fe.substring(O,Me))}catch(ke){}return webModule.__softPermutationId=Tt,C(Fe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(it,Tt,ae){"use strict";ae.d(Tt,{Ax:function(){return Me},Ds:function(){return ke},KI:function(){return xe},SI:function(){return Fe},f1:function(){return pe}});var y=ae(74128);function pe(Qe){let Ie=!0;if(Qe.length>0){for(let we=0;wea in E?Fe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,we=(E,a)=>{for(var x in a||(a={}))xe.call(a,x)&&Ie(E,x,a[x]);if(Ue)for(var x of Ue(a))Qe.call(a,x)&&Ie(E,x,a[x]);return E},Re=(E,a)=>Me(E,ke(a)),Ze=(E,a)=>{var x={};for(var b in E)xe.call(E,b)&&a.indexOf(b)<0&&(x[b]=E[b]);if(E!=null&&Ue)for(var b of Ue(E))a.indexOf(b)<0&&Qe.call(E,b)&&(x[b]=E[b]);return x},Ye=(E,a,x)=>new Promise((b,z)=>{var te=le=>{try{ue(x.next(le))}catch(Ee){z(Ee)}},oe=le=>{try{ue(x.throw(le))}catch(Ee){z(Ee)}},ue=le=>le.done?b(le.value):Promise.resolve(le.value).then(te,oe);ue((x=x.apply(E,a)).next())});const ie=E=>{var a=E,{children:x}=a,b=Ze(a,["children"]);const[z,te]=(0,pe.useState)(!1);return pe.createElement(y.ZP,Re(we({},b),{loading:z,onClick:oe=>Ye(void 0,null,function*(){try{te(!0),yield b.onClick(oe),te(!1)}catch(ue){console.error(ue),te(!1)}})}),x)}},48530:function(it,Tt,ae){"use strict";var y=ae(86204),pe=ae.n(y),Fe=Object.defineProperty,Me=(Qe,Ie,we)=>Ie in Qe?Fe(Qe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:we}):Qe[Ie]=we,ke=(Qe,Ie,we)=>Me(Qe,typeof Ie!="symbol"?Ie+"":Ie,we),Ue=(Qe,Ie,we)=>new Promise((Re,Ze)=>{var Ye=a=>{try{E(we.next(a))}catch(x){Ze(x)}},ie=a=>{try{E(we.throw(a))}catch(x){Ze(x)}},E=a=>a.done?Re(a.value):Promise.resolve(a.value).then(Ye,ie);E((we=we.apply(Qe,Ie)).next())});class xe extends y.EventEmitter{constructor(Ie,we){super(),ke(this,"url"),ke(this,"body"),ke(this,"fullContent",""),ke(this,"controller",null),ke(this,"buffer",""),this.url=Ie,this.body=we}startStream(){return Ue(this,null,function*(){this.controller=new AbortController;const{signal:Ie}=this.controller;try{const we=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ie});if(!we.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${we.status}`);const Re=we.headers.get("content-type");if(!Re)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Re.includes("application/json")){const ie=yield we.json();this.emit("error",ie);return}if(!Re.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ze=we.body.getReader(),Ye=new TextDecoder("utf-8");for(;;){const{done:ie,value:E}=yield Ze.read();if(ie)break;const a=Ye.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(` `);this.buffer=x.pop()||"";for(const b of x)if(b.startsWith("data:")){const z=b.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=b+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(we){we.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",we.message)}})}handleData(Ne){Ne.content&&(this.fullContent+=Ne.content,this.emit("data",{chunk:Ne,full:this.fullContent}))}cancelRequest(){var Ne;(Ne=this.controller)==null||Ne.abort()}}Gt.Z=xe},36299:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Et}});var y=ae(59301),pe=ae(97831),Be=ae(66328),Te=ae(3977),ke=ae(18369),We=ae(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Ye=ae(8591),Ne=ae(11611),we=ae(26779),Me=ae(30084),Ge=ae(10787),Je=ae(48850),ie=ae(43428),E=ae(95237),a=ae(43604),x={smartWrp:"smartWrp___NjRcB"},b=ae(50258),z=ae(3918),te=ae(96935),oe=ae(59301),ue=(fn,dn,Qt)=>new Promise((rt,Ie)=>{var at=Ve=>{try{Sn(Qt.next(Ve))}catch(Ut){Ie(Ut)}},Tt=Ve=>{try{Sn(Qt.throw(Ve))}catch(Ut){Ie(Ut)}},Sn=Ve=>Ve.done?rt(Ve.value):Promise.resolve(Ve.value).then(at,Tt);Sn((Qt=Qt.apply(fn,dn)).next())});const le=` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(we){we.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",we.message)}})}handleData(Ie){Ie.content&&(this.fullContent+=Ie.content,this.emit("data",{chunk:Ie,full:this.fullContent}))}cancelRequest(){var Ie;(Ie=this.controller)==null||Ie.abort()}}Tt.Z=xe},36299:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Et}});var y=ae(59301),pe=ae(97831),Fe=ae(66328),Me=ae(3977),ke=ae(18369),Ue=ae(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Qe=ae(8591),Ie=ae(11611),we=ae(26779),Re=ae(30084),Ze=ae(10787),Ye=ae(48850),ie=ae(43428),E=ae(95237),a=ae(43604),x={smartWrp:"smartWrp___NjRcB"},b=ae(50258),z=ae(3918),te=ae(96935),oe=ae(59301),ue=(fn,un,Vt)=>new Promise((ht,Te)=>{var rt=Pt=>{try{hn(Vt.next(Pt))}catch(sn){Te(sn)}},It=Pt=>{try{hn(Vt.throw(Pt))}catch(sn){Te(sn)}},hn=Pt=>Pt.done?ht(Pt.value):Promise.resolve(Pt.value).then(rt,It);hn((Vt=Vt.apply(fn,un)).next())});const le=` @@ -136,35 +136,35 @@ initArrayDisplay(); <\/script> -`;function Ee({open:fn=!0,onChange:dn,defaultValue:Qt,placement:rt,width:Ie,height:at,extra:Tt,onDynamic:Sn,showExtra:Ve=!0}){const Ut=(0,y.useRef)(null),be=(0,y.useRef)(null),[tt,Jt]=(0,y.useState)(Qt||""),[nt,vt]=(0,y.useState)(Qt||""),[Nn,bt]=(0,y.useState)(!!fn),[St,Ft]=(0,y.useState)(1),it={selectOnLineNumbers:!0};(0,y.useEffect)(()=>{fn&&(Jt(Qt),vt(Qt),bt(!0))},[fn,Qt]),(0,y.useEffect)(()=>{tt!==""&&(clearTimeout(be.current),be.current=setTimeout(()=>{const Yt=document.createElement("iframe");if(Yt.style.width="100%",Yt.style.height="100%",Yt.style.border="0",Ut.current){Ut.current.innerHTML="",Ut.current.appendChild(Yt);const _n=Yt.contentDocument||Yt.contentWindow.document;_n.open(),_n.write(tt),_n.close()}},1e3))},[fn,tt]);const In=Yt=>{Jt(Yt),dn==null||dn(Yt,nt)};return oe.createElement(ie.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:Nn,width:Ve?700:"100%",height:at||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>bt(!1),extra:Ve&&oe.createElement("div",null,oe.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:St,onChange:Yt=>Ft(Yt)}),oe.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>ue(this,null,function*(){yield Sn(tt,()=>{bt(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},oe.createElement(E.Z,{className:"h100"},oe.createElement(a.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:St===1?"block":"none"}},oe.createElement("div",{className:"h100",ref:Ut})),oe.createElement(a.Z,{flex:"1",style:{display:St===2?"block":"none"}},oe.createElement(b.ZP,{height:"90vh",value:Qt,language:"html",theme:"vs",showMiniMap:!1,options:it,onChange:In}))))}var Ce=Ee,Qe=Object.defineProperty,De=Object.defineProperties,st=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,qe=(fn,dn,Qt)=>dn in fn?Qe(fn,dn,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):fn[dn]=Qt,Ae=(fn,dn)=>{for(var Qt in dn||(dn={}))Ke.call(dn,Qt)&&qe(fn,Qt,dn[Qt]);if(Re)for(var Qt of Re(dn))ze.call(dn,Qt)&&qe(fn,Qt,dn[Qt]);return fn},gt=(fn,dn)=>De(fn,st(dn)),mt=(fn,dn)=>{var Qt={};for(var rt in fn)Ke.call(fn,rt)&&dn.indexOf(rt)<0&&(Qt[rt]=fn[rt]);if(fn!=null&&Re)for(var rt of Re(fn))dn.indexOf(rt)<0&&ze.call(fn,rt)&&(Qt[rt]=fn[rt]);return Qt},Et=({onFinish:fn,value:dn,streamingStatus:Qt,cancelIndex:rt,loadImage:Ie,onDynamic:at})=>{const[Tt,Sn]=(0,y.useState)(""),[Ve,Ut]=(0,y.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[be,tt]=(0,y.useState)(0),[Jt,nt]=(0,y.useState)(!1),vt=St=>St.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Ft,it)=>`$$${it.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),Nn=()=>{nt(!0),fn==null||fn()};(0,y.useEffect)(()=>{const St=Ie?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +`;function Ee({open:fn=!0,onChange:un,defaultValue:Vt,placement:ht,width:Te,height:rt,extra:It,onDynamic:hn,showExtra:Pt=!0}){const sn=(0,y.useRef)(null),Be=(0,y.useRef)(null),[qe,qt]=(0,y.useState)(Vt||""),[nt,pt]=(0,y.useState)(Vt||""),[_n,Zt]=(0,y.useState)(!!fn),[At,yt]=(0,y.useState)(1),Gn={selectOnLineNumbers:!0};(0,y.useEffect)(()=>{fn&&(qt(Vt),pt(Vt),Zt(!0))},[fn,Vt]),(0,y.useEffect)(()=>{qe!==""&&(clearTimeout(Be.current),Be.current=setTimeout(()=>{const Kt=document.createElement("iframe");if(Kt.style.width="100%",Kt.style.height="100%",Kt.style.border="0",sn.current){sn.current.innerHTML="",sn.current.appendChild(Kt);const ta=Kt.contentDocument||Kt.contentWindow.document;ta.open(),ta.write(qe),ta.close()}},1e3))},[fn,qe]);const Qn=Kt=>{qt(Kt),un==null||un(Kt,nt)};return oe.createElement(ie.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:_n,width:Pt?700:"100%",height:rt||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>Zt(!1),extra:Pt&&oe.createElement("div",null,oe.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:At,onChange:Kt=>yt(Kt)}),oe.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>ue(this,null,function*(){yield hn(qe,()=>{Zt(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},oe.createElement(E.Z,{className:"h100"},oe.createElement(a.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:At===1?"block":"none"}},oe.createElement("div",{className:"h100",ref:sn})),oe.createElement(a.Z,{flex:"1",style:{display:At===2?"block":"none"}},oe.createElement(b.ZP,{height:"90vh",value:Vt,language:"html",theme:"vs",showMiniMap:!1,options:Gn,onChange:Qn}))))}var be=Ee,We=Object.defineProperty,De=Object.defineProperties,st=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Xe=(fn,un,Vt)=>un in fn?We(fn,un,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):fn[un]=Vt,Ce=(fn,un)=>{for(var Vt in un||(un={}))Ke.call(un,Vt)&&Xe(fn,Vt,un[Vt]);if(Oe)for(var Vt of Oe(un))ze.call(un,Vt)&&Xe(fn,Vt,un[Vt]);return fn},ct=(fn,un)=>De(fn,st(un)),mt=(fn,un)=>{var Vt={};for(var ht in fn)Ke.call(fn,ht)&&un.indexOf(ht)<0&&(Vt[ht]=fn[ht]);if(fn!=null&&Oe)for(var ht of Oe(fn))un.indexOf(ht)<0&&ze.call(fn,ht)&&(Vt[ht]=fn[ht]);return Vt},Et=({onFinish:fn,value:un,streamingStatus:Vt,cancelIndex:ht,loadImage:Te,onDynamic:rt})=>{const[It,hn]=(0,y.useState)(""),[Pt,sn]=(0,y.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Be,qe]=(0,y.useState)(0),[qt,nt]=(0,y.useState)(!1),pt=At=>At.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(yt,Gn)=>`$$${Gn.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),_n=()=>{nt(!0),fn==null||fn()};(0,y.useEffect)(()=>{const At=Te?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A -${dn}`:dn,Ft=vt(St);if(!Jt)if(Ie||!Qt||rt>0){Sn(Ft),tt(Ft.length),(!Qt||rt>0)&&!Ie&&Nn();return}else if((Ft==null?void 0:Ft.length)<4)Sn(Ft),tt(Ft.length);else if(be{Sn(Ft.slice(0,be+2)),tt(Yt=>Yt+2)},it>10?Math.max(500/(it/2),20):50);return()=>clearInterval(In)}else Qt||Nn()},[dn,Qt,rt,Ie,be]);const bt=(0,y.useMemo)(()=>y.createElement("section",{className:`${xe.answer} fadeIn animated edu_md`},y.createElement(pe.UG,{remarkPlugins:[Me.Z,Ge.Z],rehypePlugins:[we.Z,Te.Z],components:{code(St){var Ft=St,{node:it,inline:In,className:Yt,children:_n}=Ft,Ea=mt(Ft,["node","inline","className","children"]);const Wn=/language-(\w+)/.exec(Yt||""),sn=String(_n).trim();return In||!Wn?y.createElement("code",Ae({className:Yt},Ea),_n):y.createElement("code",{className:xe.codeCopy,"data-text":`\`\`\`${Wn?Wn[1]:""} -${_n} -\`\`\``},y.createElement(We.CopyToClipboard,{text:sn,onCopy:()=>Ye.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},y.createElement("button",null,"\u590D\u5236")),Wn[1]==="html"&&Jt&&y.createElement("button",{className:xe.runCode,onClick:()=>{Ut(Ae({},gt(Ae({},Ve),{open:++Ve.open,defaultValue:sn,language:Wn[1]})))}},"\u8FD0\u884CHTML"),y.createElement(Be.Z,Ae({wrapLongLines:!0,style:ke.Z,language:Wn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Ea),sn))},img({node:St}){var Ft;const it=(Ft=St.properties)==null?void 0:Ft.src;return y.createElement(Ne.Z,{src:it,width:320,"data-text":it,onLoad:()=>Ie&&setTimeout(()=>Nn(),500)})}}},Jt?Tt:`${Tt}__`)),[Tt]);return y.createElement(y.Fragment,null,y.createElement(Ce,{defaultValue:Ve.defaultValue,open:Ve.open,language:Ve.language,height:Ve.height,onChange:(St,Ft)=>{Sn(Tt.replaceAll(Ft,St))},onDynamic:at}),bt)}},32609:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ce}});var y=ae(59301),pe=ae(8591),Be=ae(43428),Te=ae(95237),ke=ae(43418),We=ae(92832),xe=ae(54580),Ye=ae(6848),Ne=ae(43604),we=ae(5871),Me={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Ge=ae(3918),Je=ae(74128),ie=ae(41348),E=ae(38147),a=ae(67365),x=ae(65862),b=ae(22975),z=ae(98092),te=ae(11915),oe=ae(49713),ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1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Os05Z339vNfttvsTxpp46e+x8GRBMfTwlHWPtX+jZ+fgeS+/PJzY3VUkLNm4YS1JK8n69q1sH2inoEaotmvJZOAT71/FGw47ADuVonVuPWvu3c0TT3ejogAVCFI1VTy6fZjISuM1TWfPygOwizAr20fwzIOkkvW8fcUcLGesFAbhz+y0/OYFV13w7/8XgH1X76avXbJ0167iN/r6/Hf6JdyUrMMVHuvaNpPN7SFfHKMQSWa1VnH+h9/I3FlNuOkUtfU1bHsiYvczKbbn2ri340nePH8l20ZGsL0QT3ceSz4zptUyNDrK4oXzeGGTHxxbt/jujuoXv/nd+/9rYqPZX7Lmn3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",le=(Qe,De,st)=>new Promise((Re,Ke)=>{var ze=gt=>{try{Ae(st.next(gt))}catch(mt){Ke(mt)}},qe=gt=>{try{Ae(st.throw(gt))}catch(mt){Ke(mt)}},Ae=gt=>gt.done?Re(gt.value):Promise.resolve(gt.value).then(ze,qe);Ae((st=st.apply(Qe,De)).next())}),Ce=(0,y.forwardRef)(({onUpdateNum:Qe,onSave:De},st)=>{var Re;const Ke=`\u8BF7\u8F93\u5165\u51FA\u9898\u8981\u6C42\uFF0C\u60A8\u4E5F\u53EF\u4EE5\u5148\u4E0A\u4F20\u6750\u6599\u4E4B\u540E\u518D\u6839\u636E\u6750\u6599\u51FA\u9898 -\u4F8B\uFF1A\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u96BE\u5EA6\u4E3A\u201C\u56F0\u96BE\u201D\u7684\u8BD5\u9898\u536020%`,[ze,qe]=(0,y.useState)(!1),[Ae,gt]=(0,y.useState)([]),[mt,xt]=(0,y.useState)(null),[Et,fn]=(0,y.useState)([]),[dn,Qt]=(0,y.useState)(0),[rt,Ie]=(0,y.useState)(0),[at,Tt]=(0,y.useState)(!1),[Sn,Ve]=(0,y.useState)(""),[Ut,be]=(0,y.useState)(0),[tt,Jt]=(0,y.useState)(0),[nt,vt]=(0,y.useState)(0),[Nn,bt]=(0,y.useState)(0),[St,Ft]=(0,y.useState)(0),[it,In]=(0,y.useState)(0),[Yt,_n]=(0,y.useState)(0),[Ea,Wn]=(0,y.useState)(0),[sn,Hn]=(0,y.useState)(oe.Q),{contentRef:Aa,value:za,status:wa,open:Ka,close:Za}=sn,La=(0,z.Z)({contentRef:Aa,status:wa}),{openProgress:Ja,closeProgress:Sa,CreateProgressModal:hn,progressOpen:ga}=(0,b.Z)();(0,y.useEffect)(()=>{mt&&lr(),mt===!1&&(Za(),Qe==null||Qe(),gt([]),Ve(""),be(0),Jt(0),vt(0),bt(0),Ft(0),In(0),_n(0),Wn(0))},[mt]);const Mt=()=>{xt(!0)};(0,y.useImperativeHandle)(st,()=>({onClick:Mt}));const en=Oa=>{Tt(!0),Qt(Oa),Ie(0)},ya=Oa=>le(void 0,null,function*(){const Rr=Oa.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Rr)==-1?(pe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):Oa.size/1024/1024>10?(pe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),lr=()=>le(void 0,null,function*(){const Oa=yield(0,E.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});Oa.status===0&&(Qt(Oa.total_number),Ie(Oa.remaining_number))}),ir=Oa=>(Oa=Oa||"",Oa=String(Oa),Oa=Oa.replace(/\s+/g,""),Oa),nr=(Oa=!0)=>le(void 0,null,function*(){var Rr,It;const vn=[{name:"\u5355\u9009\u9898",num:Ut||0},{name:"\u591A\u9009\u9898",num:tt||0},{name:"\u5224\u65AD\u9898",num:nt||0},{name:"\u586B\u7A7A\u9898",num:Nn||0},{name:"\u7B80\u7B54\u9898",num:St||0},{name:"\u7EC4\u5408\u9898",num:Ea||0},{name:"\u7F16\u7A0B\u9898",num:it||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:Yt||0}];if(Oa){if(ir(Sn)){if(Sn.length>1e3){pe.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{pe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!ir(Sn)&&!(Ae!=null&&Ae.length)){pe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Ze=vn.reduce((kt,Nt)=>kt+Nt.num,0);if(Ze===0){pe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(Ze>30){pe.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(dn!==-1){Tt(!0);return}}Tt(!1);const Mn={scene_type:6,request_identifier:Math.random(),file_id:(It=(Rr=Ae[0])==null?void 0:Rr.response)==null?void 0:It.id,content:Sn,count_arr:vn.map(Ze=>Ze.num).join(",")};yield Ka(Mn),lr()}),Ga=()=>le(void 0,null,function*(){const Oa=La();if(De){xt(!1),De(Oa);return}Ja(),qe(!0),fn([]);const Rr=new FormData;Rr.append("html",Oa);const It=yield(0,E.ZP)("/api/intelligent_imports/import.json",{method:"post",body:Rr},!0);if((It==null?void 0:It.status)===0)if(It!=null&&It.data){Sa(100),fn(It==null?void 0:It.data);return}else pe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");qe(!1),Sa()}),yr=()=>le(void 0,null,function*(){const Oa=La();(0,x.RG)(Oa)}),ia=["uploading","error"].includes((Re=Ae==null?void 0:Ae[0])==null?void 0:Re.status);return y.createElement(y.Fragment,null,y.createElement(te.Z,{visible:at,totalCount:dn,usedCount:rt,onCancel:()=>Tt(!1),onOk:()=>nr(!1)}),y.createElement(Be.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:y.createElement("div",{className:Me.extraHeader},y.createElement(Te.Z,{align:"middle"},!wa&&!!za&&y.createElement(y.Fragment,null,y.createElement(Ge.op,{onClick:Ga,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),y.createElement(Ge.op,{onClick:yr,shape:"default",type:"text"},y.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),y.createElement("i",{onClick:()=>{const Oa=Rr=>{ke.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Rr,onOk:()=>{xt(!1)}})};if(wa){Oa("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else za?Oa("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):xt(!1)},className:"iconfont icon-guanbi11 current ml15"}))),placement:"bottom",height:"100%",headerStyle:{height:54,borderBottomColor:"#DCDCDC"},bodyStyle:{padding:0},closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:mt},y.createElement("div",{className:Me.wrap},y.createElement("div",{className:Me.left},y.createElement("div",{className:Me.tip},y.createElement("img",{src:ue}),y.createElement("span",null,"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01")),y.createElement("div",{className:"mb10 mt20 c-black"},y.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),y.createElement(We.default.TextArea,{style:{height:160},className:"mb20",value:Sn,placeholder:Ke,onChange:Oa=>{Ve(Oa.target.value)}}),y.createElement(xe.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${Je.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:Ae,withCredentials:!0,data:{upload_type:1},beforeUpload:ya,onChange:({file:Oa})=>{var Rr,It;Oa.status!=="removed"&&(Oa.status==="done"&&((Rr=Oa==null?void 0:Oa.response)==null?void 0:Rr.status)!==0&&(Oa.status="error",Oa.response=(It=Oa==null?void 0:Oa.response)==null?void 0:It.message),gt([Oa]))},onRemove:()=>gt([])},y.createElement(Ye.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},y.createElement(Ge.op,{style:{borderRadius:2}},y.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),y.createElement("div",{className:"c-black mt20"},y.createElement("div",{className:"mb10 c-black"},y.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),y.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u4FDD\u8BC1\u51FA\u9898\u4F53\u9A8C\uFF0C\u5355\u6B21\u51FA\u9898\u603B\u6570\u91CF\u4E0D\u80FD\u8D85\u8FC7",y.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"30"),"\u9053\uFF09")),y.createElement(Te.Z,{style:{gap:16}},y.createElement(Ne.Z,null,y.createElement("label",null,"\u5355\u9009\u9898"),y.createElement(we.Z,{min:0,max:10,value:Ut,onChange:be,style:{marginLeft:"8px"}})),y.createElement(Ne.Z,null,y.createElement("label",null,"\u591A\u9009\u9898"),y.createElement(we.Z,{min:0,max:10,value:tt,onChange:Jt,style:{marginLeft:"8px"}})),y.createElement(Ne.Z,null,y.createElement("label",null,"\u5224\u65AD\u9898"),y.createElement(we.Z,{min:0,max:10,value:nt,onChange:vt,style:{marginLeft:"8px"}})),y.createElement(Ne.Z,null,y.createElement("label",null,"\u586B\u7A7A\u9898"),y.createElement(we.Z,{min:0,max:10,value:Nn,onChange:bt,style:{marginLeft:"8px"}})),y.createElement(Ne.Z,null,y.createElement("label",null,"\u7B80\u7B54\u9898"),y.createElement(we.Z,{min:0,max:10,value:St,onChange:Ft,style:{marginLeft:"8px"}})))),wa?y.createElement("div",{onClick:Za,className:Me.bottomBtn},y.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):ia?y.createElement("div",{className:`${Me.bottomBtn} ${Me.disabled}`},y.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):y.createElement("div",{onClick:()=>{nr()},className:Me.bottomBtn},y.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),y.createElement(oe.Z,{onStatusChange:Hn,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!ga,noRestrictModal:en,stringTransformer:a.o,onError:Oa=>{Object.prototype.toString.call(Oa)==="[object Object]"&&Oa.status===-9&&en(Oa.data)}}))),y.createElement(Be.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:ze},y.createElement(Te.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},y.createElement("img",{src:ae(36413),alt:"\u667A\u80FD\u51FA\u9898"}),y.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),y.createElement(ie.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:Et,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>qe(!1),onSuccess:()=>{qe(!1),xt(!1)}}),y.createElement("div",{style:{height:70}})),hn("\u5904\u7406\u4E2D"))})},56438:function(ut,Gt,ae){"use strict";var y=ae(59301);const pe=({scrollBoxRef:Be,bottomInspectRef:Te,contentRef:ke,status:We,rootMargin:xe="70px",bottomOffset:Ye=110})=>{const[Ne,we]=(0,y.useState)(!0),Me=(0,y.useRef)(!1);return(0,y.useEffect)(()=>{if(!Be.current||!Te.current)return;const Ge=new IntersectionObserver(([Je])=>{var ie,E,a,x;if(!document.contains(Je.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((ie=Je.rootBounds)==null?void 0:ie.width)===0&&((E=Je.rootBounds)==null?void 0:E.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((a=Je.boundingClientRect)==null?void 0:a.width)===0&&((x=Je.boundingClientRect)==null?void 0:x.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}we(Je.isIntersecting)},{root:Be.current,rootMargin:xe,threshold:0});return Ge.observe(Te.current),()=>{Ge.disconnect()}},[Be.current,Te.current,xe]),(0,y.useEffect)(()=>{if(!We)return;const Ge=Be.current,Je=ke.current;Me.current=!1;let ie=Ge.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:b,clientHeight:z}=Ge;x>ie?x+z>=b-Ye&&(Ge.scrollTop=Ge.scrollHeight,Me.current=!1):x{Me.current||(Ge.scrollTop=Ge.scrollHeight)});return a.observe(Je),()=>{setTimeout(()=>{a.unobserve(Je)},250),Ge.removeEventListener("scroll",E)}},[We]),Ne};Gt.Z=pe},98092:function(ut,Gt,ae){"use strict";var y=ae(59301);const pe=({contentRef:Be,status:Te})=>((0,y.useEffect)(()=>{!Te&&(Be!=null&&Be.current)&&Be.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(xe=>{xe.tagName.toLowerCase()==="code"?xe.parentElement&&(xe.parentElement.contentEditable="false"):xe.tagName.toLowerCase()==="mathx"&&(xe.contentEditable="false")})},[Te]),(We=!1)=>{const xe=Me=>{const Ge={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return Me.replace(/&[^;]+;/g,Je=>Ge[Je]||Je)};if(!Be.current)return"";const Ye=Be.current.cloneNode(!0);Ye.querySelectorAll("code[data-text], mathx[data-text]").forEach(Me=>{let Ge=Me.getAttribute("data-text");Me.tagName.toLowerCase()==="code"?Ge=Ge.replace(/```.*\n|\n```/g,""):Me.tagName.toLowerCase()==="mathx"&&(Ge=`$$${Ge}$$`);const Je=document.createTextNode(Ge);Me.parentNode.replaceChild(Je,Me)}),We&&Ye.querySelectorAll('[data-select="disabled"]').forEach(Ge=>{var Je;const ie=Ge.textContent||"",E=document.createTextNode(ie+` -`);(Je=Ge.parentNode)==null||Je.replaceChild(E,Ge)});let we=Ye.innerHTML;return We||(we=we.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),we=we.replace(/

/g,""),we=we.replace(/<\/p>/g,` +${un}`:un,yt=pt(At);if(!qt)if(Te||!Vt||ht>0){hn(yt),qe(yt.length),(!Vt||ht>0)&&!Te&&_n();return}else if((yt==null?void 0:yt.length)<4)hn(yt),qe(yt.length);else if(Be{hn(yt.slice(0,Be+2)),qe(Kt=>Kt+2)},Gn>10?Math.max(500/(Gn/2),20):50);return()=>clearInterval(Qn)}else Vt||_n()},[un,Vt,ht,Te,Be]);const Zt=(0,y.useMemo)(()=>y.createElement("section",{className:`${xe.answer} fadeIn animated edu_md`},y.createElement(pe.UG,{remarkPlugins:[Re.Z,Ze.Z],rehypePlugins:[we.Z,Me.Z],components:{code(At){var yt=At,{node:Gn,inline:Qn,className:Kt,children:ta}=yt,Ba=mt(yt,["node","inline","className","children"]);const Un=/language-(\w+)/.exec(Kt||""),On=String(ta).trim();return Qn||!Un?y.createElement("code",Ce({className:Kt},Ba),ta):y.createElement("code",{className:xe.codeCopy,"data-text":`\`\`\`${Un?Un[1]:""} +${ta} +\`\`\``},y.createElement(Ue.CopyToClipboard,{text:On,onCopy:()=>Qe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},y.createElement("button",null,"\u590D\u5236")),Un[1]==="html"&&qt&&y.createElement("button",{className:xe.runCode,onClick:()=>{sn(Ce({},ct(Ce({},Pt),{open:++Pt.open,defaultValue:On,language:Un[1]})))}},"\u8FD0\u884CHTML"),y.createElement(Fe.Z,Ce({wrapLongLines:!0,style:ke.Z,language:Un[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Ba),On))},img({node:At}){var yt;const Gn=(yt=At.properties)==null?void 0:yt.src;return y.createElement(Ie.Z,{src:Gn,width:320,"data-text":Gn,onLoad:()=>Te&&setTimeout(()=>_n(),500)})}}},qt?It:`${It}__`)),[It]);return y.createElement(y.Fragment,null,y.createElement(be,{defaultValue:Pt.defaultValue,open:Pt.open,language:Pt.language,height:Pt.height,onChange:(At,yt)=>{hn(It.replaceAll(yt,At))},onDynamic:rt}),Zt)}},32609:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return be}});var y=ae(59301),pe=ae(8591),Fe=ae(43428),Me=ae(95237),ke=ae(43418),Ue=ae(92832),xe=ae(54580),Qe=ae(6848),Ie=ae(43604),we=ae(5871),Re={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Ze=ae(3918),Ye=ae(74128),ie=ae(41348),E=ae(38147),a=ae(67365),x=ae(65862),b=ae(22975),z=ae(98092),te=ae(11915),oe=ae(49713),ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GBEsdrIN8214WOfbCyLHnSks0SSGqFCCFlSOS/VLKNhXJbULKTVYgXwhKwWZevNX/d5ya+Ff+6OzZx9WGycRbhZs+JbKdYyPbmqZsR5Qsi7xrIS2LSAgQFuh7fdHIVQRSmZsVhsqSciARyifswL/LsuX9w8/fOfyvOs9/CeB5845bEuJ9WljidOm6tZHtEjkOkWPjuw4l2y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3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",le=(We,De,st)=>new Promise((Oe,Ke)=>{var ze=ct=>{try{Ce(st.next(ct))}catch(mt){Ke(mt)}},Xe=ct=>{try{Ce(st.throw(ct))}catch(mt){Ke(mt)}},Ce=ct=>ct.done?Oe(ct.value):Promise.resolve(ct.value).then(ze,Xe);Ce((st=st.apply(We,De)).next())}),be=(0,y.forwardRef)(({onUpdateNum:We,onSave:De},st)=>{var Oe;const Ke=`\u8BF7\u8F93\u5165\u51FA\u9898\u8981\u6C42\uFF0C\u60A8\u4E5F\u53EF\u4EE5\u5148\u4E0A\u4F20\u6750\u6599\u4E4B\u540E\u518D\u6839\u636E\u6750\u6599\u51FA\u9898 +\u4F8B\uFF1A\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u96BE\u5EA6\u4E3A\u201C\u56F0\u96BE\u201D\u7684\u8BD5\u9898\u536020%`,[ze,Xe]=(0,y.useState)(!1),[Ce,ct]=(0,y.useState)([]),[mt,Ct]=(0,y.useState)(null),[Et,fn]=(0,y.useState)([]),[un,Vt]=(0,y.useState)(0),[ht,Te]=(0,y.useState)(0),[rt,It]=(0,y.useState)(!1),[hn,Pt]=(0,y.useState)(""),[sn,Be]=(0,y.useState)(0),[qe,qt]=(0,y.useState)(0),[nt,pt]=(0,y.useState)(0),[_n,Zt]=(0,y.useState)(0),[At,yt]=(0,y.useState)(0),[Gn,Qn]=(0,y.useState)(0),[Kt,ta]=(0,y.useState)(0),[Ba,Un]=(0,y.useState)(0),[On,ya]=(0,y.useState)(oe.Q),{contentRef:Za,value:Ya,status:Ca,open:rr,close:qa}=On,Fa=(0,z.Z)({contentRef:Za,status:Ca}),{openProgress:Va,closeProgress:va,CreateProgressModal:En,progressOpen:Qa}=(0,b.Z)();(0,y.useEffect)(()=>{mt&&er(),mt===!1&&(qa(),We==null||We(),ct([]),Pt(""),Be(0),qt(0),pt(0),Zt(0),yt(0),Qn(0),ta(0),Un(0))},[mt]);const Ht=()=>{Ct(!0)};(0,y.useImperativeHandle)(st,()=>({onClick:Ht}));const dn=Na=>{It(!0),Vt(Na),Te(0)},Aa=Na=>le(void 0,null,function*(){const Wr=Na.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Wr)==-1?(pe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):Na.size/1024/1024>10?(pe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),er=()=>le(void 0,null,function*(){const Na=yield(0,E.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});Na.status===0&&(Vt(Na.total_number),Te(Na.remaining_number))}),tr=Na=>(Na=Na||"",Na=String(Na),Na=Na.replace(/\s+/g,""),Na),_a=(Na=!0)=>le(void 0,null,function*(){var Wr,Ot;const Fn=[{name:"\u5355\u9009\u9898",num:sn||0},{name:"\u591A\u9009\u9898",num:qe||0},{name:"\u5224\u65AD\u9898",num:nt||0},{name:"\u586B\u7A7A\u9898",num:_n||0},{name:"\u7B80\u7B54\u9898",num:At||0},{name:"\u7EC4\u5408\u9898",num:Ba||0},{name:"\u7F16\u7A0B\u9898",num:Gn||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:Kt||0}];if(Na){if(tr(hn)){if(hn.length>1e3){pe.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{pe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!tr(hn)&&!(Ce!=null&&Ce.length)){pe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const He=Fn.reduce((Yt,xt)=>Yt+xt.num,0);if(He===0){pe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(He>30){pe.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(un!==-1){It(!0);return}}It(!1);const jn={scene_type:6,request_identifier:Math.random(),file_id:(Ot=(Wr=Ce[0])==null?void 0:Wr.response)==null?void 0:Ot.id,content:hn,count_arr:Fn.map(He=>He.num).join(",")};yield rr(jn),er()}),ka=()=>le(void 0,null,function*(){const Na=Fa();if(De){Ct(!1),De(Na);return}Va(),Xe(!0),fn([]);const Wr=new FormData;Wr.append("html",Na);const Ot=yield(0,E.ZP)("/api/intelligent_imports/import.json",{method:"post",body:Wr},!0);if((Ot==null?void 0:Ot.status)===0)if(Ot!=null&&Ot.data){va(100),fn(Ot==null?void 0:Ot.data);return}else pe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Xe(!1),va()}),br=()=>le(void 0,null,function*(){const Na=Fa();(0,x.RG)(Na)}),la=["uploading","error"].includes((Oe=Ce==null?void 0:Ce[0])==null?void 0:Oe.status);return y.createElement(y.Fragment,null,y.createElement(te.Z,{visible:rt,totalCount:un,usedCount:ht,onCancel:()=>It(!1),onOk:()=>_a(!1)}),y.createElement(Fe.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:y.createElement("div",{className:Re.extraHeader},y.createElement(Me.Z,{align:"middle"},!Ca&&!!Ya&&y.createElement(y.Fragment,null,y.createElement(Ze.op,{onClick:ka,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),y.createElement(Ze.op,{onClick:br,shape:"default",type:"text"},y.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),y.createElement("i",{onClick:()=>{const Na=Wr=>{ke.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Wr,onOk:()=>{Ct(!1)}})};if(Ca){Na("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else Ya?Na("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):Ct(!1)},className:"iconfont icon-guanbi11 current ml15"}))),placement:"bottom",height:"100%",headerStyle:{height:54,borderBottomColor:"#DCDCDC"},bodyStyle:{padding:0},closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:mt},y.createElement("div",{className:Re.wrap},y.createElement("div",{className:Re.left},y.createElement("div",{className:Re.tip},y.createElement("img",{src:ue}),y.createElement("span",null,"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01")),y.createElement("div",{className:"mb10 mt20 c-black"},y.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),y.createElement(Ue.default.TextArea,{style:{height:160},className:"mb20",value:hn,placeholder:Ke,onChange:Na=>{Pt(Na.target.value)}}),y.createElement(xe.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${Ye.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:Ce,withCredentials:!0,data:{upload_type:1},beforeUpload:Aa,onChange:({file:Na})=>{var Wr,Ot;Na.status!=="removed"&&(Na.status==="done"&&((Wr=Na==null?void 0:Na.response)==null?void 0:Wr.status)!==0&&(Na.status="error",Na.response=(Ot=Na==null?void 0:Na.response)==null?void 0:Ot.message),ct([Na]))},onRemove:()=>ct([])},y.createElement(Qe.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},y.createElement(Ze.op,{style:{borderRadius:2}},y.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),y.createElement("div",{className:"c-black mt20"},y.createElement("div",{className:"mb10 c-black"},y.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),y.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u4FDD\u8BC1\u51FA\u9898\u4F53\u9A8C\uFF0C\u5355\u6B21\u51FA\u9898\u603B\u6570\u91CF\u4E0D\u80FD\u8D85\u8FC7",y.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"30"),"\u9053\uFF09")),y.createElement(Me.Z,{style:{gap:16}},y.createElement(Ie.Z,null,y.createElement("label",null,"\u5355\u9009\u9898"),y.createElement(we.Z,{min:0,max:10,value:sn,onChange:Be,style:{marginLeft:"8px"}})),y.createElement(Ie.Z,null,y.createElement("label",null,"\u591A\u9009\u9898"),y.createElement(we.Z,{min:0,max:10,value:qe,onChange:qt,style:{marginLeft:"8px"}})),y.createElement(Ie.Z,null,y.createElement("label",null,"\u5224\u65AD\u9898"),y.createElement(we.Z,{min:0,max:10,value:nt,onChange:pt,style:{marginLeft:"8px"}})),y.createElement(Ie.Z,null,y.createElement("label",null,"\u586B\u7A7A\u9898"),y.createElement(we.Z,{min:0,max:10,value:_n,onChange:Zt,style:{marginLeft:"8px"}})),y.createElement(Ie.Z,null,y.createElement("label",null,"\u7B80\u7B54\u9898"),y.createElement(we.Z,{min:0,max:10,value:At,onChange:yt,style:{marginLeft:"8px"}})))),Ca?y.createElement("div",{onClick:qa,className:Re.bottomBtn},y.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):la?y.createElement("div",{className:`${Re.bottomBtn} ${Re.disabled}`},y.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):y.createElement("div",{onClick:()=>{_a()},className:Re.bottomBtn},y.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),y.createElement(oe.Z,{onStatusChange:ya,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!Qa,noRestrictModal:dn,stringTransformer:a.o,onError:Na=>{Object.prototype.toString.call(Na)==="[object Object]"&&Na.status===-9&&dn(Na.data)}}))),y.createElement(Fe.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:ze},y.createElement(Me.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},y.createElement("img",{src:ae(36413),alt:"\u667A\u80FD\u51FA\u9898"}),y.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),y.createElement(ie.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:Et,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>Xe(!1),onSuccess:()=>{Xe(!1),Ct(!1)}}),y.createElement("div",{style:{height:70}})),En("\u5904\u7406\u4E2D"))})},56438:function(it,Tt,ae){"use strict";var y=ae(59301);const pe=({scrollBoxRef:Fe,bottomInspectRef:Me,contentRef:ke,status:Ue,rootMargin:xe="70px",bottomOffset:Qe=110})=>{const[Ie,we]=(0,y.useState)(!0),Re=(0,y.useRef)(!1);return(0,y.useEffect)(()=>{if(!Fe.current||!Me.current)return;const Ze=new IntersectionObserver(([Ye])=>{var ie,E,a,x;if(!document.contains(Ye.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((ie=Ye.rootBounds)==null?void 0:ie.width)===0&&((E=Ye.rootBounds)==null?void 0:E.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((a=Ye.boundingClientRect)==null?void 0:a.width)===0&&((x=Ye.boundingClientRect)==null?void 0:x.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}we(Ye.isIntersecting)},{root:Fe.current,rootMargin:xe,threshold:0});return Ze.observe(Me.current),()=>{Ze.disconnect()}},[Fe.current,Me.current,xe]),(0,y.useEffect)(()=>{if(!Ue)return;const Ze=Fe.current,Ye=ke.current;Re.current=!1;let ie=Ze.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:b,clientHeight:z}=Ze;x>ie?x+z>=b-Qe&&(Ze.scrollTop=Ze.scrollHeight,Re.current=!1):x{Re.current||(Ze.scrollTop=Ze.scrollHeight)});return a.observe(Ye),()=>{setTimeout(()=>{a.unobserve(Ye)},250),Ze.removeEventListener("scroll",E)}},[Ue]),Ie};Tt.Z=pe},98092:function(it,Tt,ae){"use strict";var y=ae(59301);const pe=({contentRef:Fe,status:Me})=>((0,y.useEffect)(()=>{!Me&&(Fe!=null&&Fe.current)&&Fe.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(xe=>{xe.tagName.toLowerCase()==="code"?xe.parentElement&&(xe.parentElement.contentEditable="false"):xe.tagName.toLowerCase()==="mathx"&&(xe.contentEditable="false")})},[Me]),(Ue=!1)=>{const xe=Re=>{const Ze={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return Re.replace(/&[^;]+;/g,Ye=>Ze[Ye]||Ye)};if(!Fe.current)return"";const Qe=Fe.current.cloneNode(!0);Qe.querySelectorAll("code[data-text], mathx[data-text]").forEach(Re=>{let Ze=Re.getAttribute("data-text");Re.tagName.toLowerCase()==="code"?Ze=Ze.replace(/```.*\n|\n```/g,""):Re.tagName.toLowerCase()==="mathx"&&(Ze=`$$${Ze}$$`);const Ye=document.createTextNode(Ze);Re.parentNode.replaceChild(Ye,Re)}),Ue&&Qe.querySelectorAll('[data-select="disabled"]').forEach(Ze=>{var Ye;const ie=Ze.textContent||"",E=document.createTextNode(ie+` +`);(Ye=Ze.parentNode)==null||Ye.replaceChild(E,Ze)});let we=Qe.innerHTML;return Ue||(we=we.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),we=we.replace(/

/g,""),we=we.replace(/<\/p>/g,` `),we=we.replace(/
/g,` `),we=we.replace(/\r\n/g,` -`),we=we.replace(/<[^>]*>/g,""),we=xe(we),we});Gt.Z=pe},22975:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ge}});var y=ae(59301),pe=ae(43418),Be=ae(95237),Te=ae(93948),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/fj0vZenBAf0MozFgNjAOe2XR1jy8qC7s/OPdT/12Gc/iNxyH4HYlVrctrb3b5bN7Wzj3X1agDXYOgQILgccFwgk+OoKOOY1uT89nPPmldiFnM/EtTdg4vcr0C8uC59xbIt5k3bu/Sgz2Twm4BuAJom78B1AdsG8haQywMOc5BLDPzsD5eXX7cH9/iR2HW/AMFnQXvwEwM/e7vN913b9iMQAPw+wPQBuscNnIBwPCDyQDZHnAEsXtPHzzo6fPG1p/vu/khQeDcvcr8A8cC8xKzV240fuW4AoSAQCAI+H+AzAdMEwADLliBYFmATR2SBZAbY0mWhsyuZvfRM48Tzj4i9vpv3+aHf7QMH4qXVqbPnr8ETqWxIi0SAUEgCURoFDD+QswDuANkswJkEIZ8HkmnA0QBfALj/2U6Mr4kt+u3nOo9vamryS+jEpiUBjQFaJp3WNRYSr1kQGstBtwCdMfm5ZeV1BqYxmMxmIGGoaTZ0x4TuOLZBmoox6K5jGw7t50BzvGMZfReD5gKa60JP5x3tyTULH511wgn2cBH/QIFoH+CVv7h/wUrEjqqNhhkIiEBIgtGXAFrapDgiXVFdDlSWcqQ5Q9YBfCEAHMhlgH8s6kWV5jhXnlPW43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yytGpxI7lb9LKcXLA2h3gcukwHrHxpW+hxW2LZOqc07MGSVHHOzFse2HcMTzird+6m2pffHzve5AjAPledkuC+HbLVvcXCyGlwehTKgiSp3ticY6C3ObLfUubD6PNBI/MTAIlFHk5pHKkQ9XMgqMtVa6tgAOH8vjx08OYCjjq4ePCCF2ijD8vc4vzX/h1QJwpuM3d4+0VCdrL4bAOsfBVaGPCy1L1pHxgkB+bFmjPWGroF8qEPEb+PzPsvND33m7EM5NRT+83CenqBJZzSmM68xttRUorEJSFa8xQOI+yUScYcAoFkM8sWkIL+3lo2YY+HFyUsp7EM69d/+XROG1BGGic508Kav7Ev5FCctp8+rx0Aox8cPNf2VAxAf9Z49k5yNw3g7bualQDK7wfemy7puFk2TplgYL89psNDZEoLCyKVoVY3gvLqpKCcBcrD+Uw2PPDCEzxpQ99TjXTX4Y/H7XXy14+fUG4NWe/6wAIj7oT/8gu8CXzo1SOjcXPf9yL5Au83IpvsjeLY22AqWpkeFtoatbuTBjArBMo8wF2LhpBK8cyGrrTDgjYeB/+pXt+/4aT14bdZ56taR6fY8/64CI3+5//mZuoXTstwewbvK94DI/IKdE1pctMavJxrzZDurrLGV5DY4E2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",Ye={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Ne=ae(59301);const we=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Ge=()=>{const[Je,ie]=(0,y.useState)(0),[E,a]=(0,y.useState)(!1),[x,b]=(0,y.useState)(!0),z=(0,y.useRef)(null);(0,y.useEffect)(()=>{if(x)return;const Ce=()=>{ie(Qe=>Qe>=99?(clearInterval(z.current),99):Qe+1)};return z.current=setInterval(Ce,5e4/99),()=>clearInterval(z.current)},[x]);const te=()=>{ie(0),a(!0),b(!1)},oe=(Ce=0)=>{b(!0),ie(Ce),a(!1)},ue=Ce=>{const Qe=Ce/1048576;let De;return Qe<=.3?De=3:Qe<=.5?De=5:Qe<=1?De=10:Qe<=2?De=20:Qe<=3?De=30:Qe<=10?De=Qe*10:De=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${De}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},le=()=>Ne.createElement("span",{className:Ye.dotLoading},Ne.createElement("span",null,"."),Ne.createElement("span",null,"."),Ne.createElement("span",null,"."));return{progress:Je,progressOpen:E,openProgress:te,closeProgress:oe,toggleLock:()=>b(Ce=>!Ce),CreateProgressModal:(Ce=we,Qe)=>(typeof Ce=="string"&&(Ce=[Ce,Ce,Ce]),Ne.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>ie(0)},Ne.createElement(Be.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Je<=30&&Ne.createElement(Ne.Fragment,null,Ne.createElement("img",{src:ke,alt:"Step 1"}),Ne.createElement("div",{className:"mt20 c-light-primary"},Ce[0],le())),Je>30&&Je<60&&Ne.createElement(Ne.Fragment,null,Ne.createElement("img",{src:We,alt:"Step 2"}),Ne.createElement("div",{className:"mt20 c-light-primary"},Ce[1],le())),Je>=60&&Ne.createElement(Ne.Fragment,null,Ne.createElement("img",{src:xe,alt:"Step 3"}),Ne.createElement("div",{className:"mt20 c-light-primary"},Ce[2],le())),Ne.createElement(Te.Z,{className:Ye.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Je}),!!Qe&&Ne.createElement("div",{className:"c-grey-999"},ue(Qe)))))}}},3716:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return dn}});var y=ae(59301),pe=ae(38854),Be=ae(8591),Te=ae(6848),ke=ae(92832),We=ae(3113),xe=ae(36299),Ye={wrap:"wrap___AasCO",chatContainer:"chatContainer___n6e3E",btnContainer:"btnContainer___yKyVB",btn:"btn___Y_09T",inputContainer:"inputContainer____bM3M",sendBtn:"sendBtn___UHHLj",sendBtnDisabled:"sendBtnDisabled___AoSRc",cancelBtn:"cancelBtn___yql4C",loadingWrp:"loadingWrp___gYLGT","dot-fade":"dot-fade___LruoO"},we=({position:Qt,children:rt})=>{const{left:Ie=0,top:at=0}=Qt||{},[Tt,Sn]=(0,y.useState)(Ie),[Ve,Ut]=(0,y.useState)(at),be=(0,y.useRef)(null),tt=()=>{if(be.current){const Jt=be.current.offsetWidth,nt=be.current.offsetHeight,vt=window.innerWidth,Nn=window.innerHeight;let bt=Ie,St=at;Ie+Jt>vt&&(bt=vt-Jt),bt<0&&(bt=0),at+nt>Nn&&(St=Nn-nt),St<0&&(St=0),Sn(bt),Ut(St)}};return(0,y.useEffect)(()=>{if(!be.current||!Qt)return;const Jt=new ResizeObserver(()=>{tt()});return Jt.observe(be.current),()=>{Jt.disconnect()}},[Ie,at,Qt]),(0,y.useEffect)(()=>{Qt&&tt()},[Ie,at,Qt]),Qt?y.createElement("div",{ref:be,style:{position:"fixed",left:`${Tt}px`,top:`${Ve}px`,zIndex:1050}},rt):null},Me=ae(74128),Ge=ae(56102),Je=ae(48530),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Qt,rt,Ie)=>rt in Qt?ie(Qt,rt,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Qt[rt]=Ie,oe=(Qt,rt)=>{for(var Ie in rt||(rt={}))b.call(rt,Ie)&&te(Qt,Ie,rt[Ie]);if(x)for(var Ie of x(rt))z.call(rt,Ie)&&te(Qt,Ie,rt[Ie]);return Qt},ue=(Qt,rt)=>E(Qt,a(rt)),le=(Qt,rt,Ie)=>new Promise((at,Tt)=>{var Sn=be=>{try{Ut(Ie.next(be))}catch(tt){Tt(tt)}},Ve=be=>{try{Ut(Ie.throw(be))}catch(tt){Tt(tt)}},Ut=be=>be.done?at(be.value):Promise.resolve(be.value).then(Sn,Ve);Ut((Ie=Ie.apply(Qt,rt)).next())}),Ce=({visible:Qt,position:rt,selectText:Ie,applyRefinedText:at,fetchUrl:Tt,noRestrictModal:Sn})=>{var Ve;const[Ut,be]=(0,y.useState)(!1),[tt,Jt]=(0,y.useState)([]),[nt,vt]=(0,y.useState)(""),[Nn,bt]=(0,y.useState)(1),[St,Ft]=(0,y.useState)(""),[it,In]=(0,y.useState)(!1),Yt=(0,y.useRef)(null),[_n,Ea]=(0,y.useState)(!1),[Wn,sn]=(0,y.useState)(0),Hn=(0,y.useRef)(!1),Aa=((Ve=tt==null?void 0:tt[(tt==null?void 0:tt.length)-1])==null?void 0:Ve.loading)===!0;(0,y.useEffect)(()=>{if(Qt){bt(1);return}Ea(!1),be(!1),za(),sn(0),Jt([]),bt(0)},[Qt]);const za=()=>{var nr,Ga;vt(""),Ft(""),(Ga=(nr=Yt.current)==null?void 0:nr.cancelRequest)==null||Ga.call(nr)},wa=(...nr)=>le(void 0,[...nr],function*(Ga="",yr=tt){const ia=Date.now(),Oa=[...yr,{text:Ga,key:ia,sender:"user",show:!0},{loading:!0,key:ia,sender:"AI",show:!0}];bt(2),Jt(Oa);const Rr=Za(yr),It={no_record_times:!0,prompt:Ga,history:Rr};Yt.current=new Je.Z(Me.Z.API_SERVER+Tt,It),yield new Promise(vn=>{Yt.current.on("data",ua=>{const{chunk:{msg:Mn},full:Ze}=ua,kt=Mn==="error";Ea(!0),Ft(ga(Ze)),Jt(Nt=>Nt.map((tn,nn)=>nn===Nt.length-1?ue(oe({},tn),{text:Ze,loading:!1,error:kt}):tn))}),Yt.current.on("done",()=>vn()),Yt.current.on("error",ua=>{const Mn="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(ua)==="[object Object]"&&ua.status===-9&&(bt(1),Sn(ua.data)),Jt(Ze=>Ze.map((kt,Nt)=>Nt===Ze.length-1?ue(oe({},kt),{text:Mn,loading:!1,error:!0}):kt)),vn()}),Yt.current.on("cancelled",()=>vn()),Yt.current.startStream()}),be(!1)}),Ka=nr=>{vt(nr.target.value)},Za=nr=>nr.reduce((yr,ia)=>{if(ia.sender==="user"){const Oa=nr.find(Rr=>Rr.key===ia.key&&Rr.sender==="AI");Oa&&(Oa!=null&&Oa.text)&&!(Oa!=null&&Oa.error)&&yr.push({question:ia.text,answer:Oa.text})}return yr},[]),La=()=>{if(ir)return;const nr=Mt("\u6539\u5199");za(),be(!0),wa(nr)},Ja=nr=>{if(nr.key==="Enter"&&!nr.shiftKey){if(nr.preventDefault(),Hn.current||lr)return;La()}},Sa=()=>{var nr,Ga;sn(yr=>yr+1),(Ga=(nr=Yt.current)==null?void 0:nr.cancelRequest)==null||Ga.call(nr),be(!1),Ea(!1)},hn=[{key:"1",label:y.createElement("span",null," ",y.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:y.createElement("span",null,y.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:y.createElement("span",null," ",y.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],ga=(nr="")=>{const Ga=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((yr,ia)=>{Ga.push(`\u7B54\u6848${ia+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${ia+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${ia+1})\u8F93\u51FA\uFF1A`)}),Ga.forEach(yr=>{const ia=new RegExp(yr,"g");nr=nr.replace(ia,`**${yr}** `)}),nr},Mt=nr=>nr==="\u6539\u5199"?`${nt}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${Ie}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`:`${Ie}\uFF0C${nr}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,en=nr=>{let Ga="";nr.key==="1"&&(Ga=Mt("\u6DA6\u8272")),nr.key==="2"&&(Ga=Mt("\u6269\u5199")),nr.key==="3"&&(Ga=Mt("\u7F29\u5199")),za(),be(!0),wa(Ga)},ya=()=>{const nr=tt.splice(tt.length-2),{text:Ga}=(nr==null?void 0:nr[0])||{};za(),be(!0),wa(Ga,tt)},lr=Ut||_n,ir=(nt==null?void 0:nt.trim())==="";return Qt?y.createElement(pe.Z,{open:ir&&!lr&&(it||!St),overlayStyle:{minWidth:200},menu:{items:hn,onClick:en}},y.createElement(we,{position:rt},y.createElement("div",{className:Ye.wrap},Nn===2&&y.createElement(y.Fragment,null,y.createElement("div",{className:Ye.chatContainer},Aa&&y.createElement("div",{className:Ye.loadingWrp},y.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),y.createElement("div",{className:"ai-loading"})),St&&y.createElement(xe.Z,{cancelIndex:Wn,streamingStatus:Ut,loadImage:!1,onFinish:()=>le(void 0,null,function*(){sn(0),setTimeout(()=>Ea(!1),0)}),value:St})),y.createElement("div",{className:Ye.btnContainer},y.createElement("div",{onClick:()=>at(!0,St),className:Ye.btn,style:{padding:"0 16px",width:"initial"}},y.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),y.createElement("div",{onClick:()=>at(!1,St),className:Ye.btn,style:{padding:"0 16px",width:"initial"}},y.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),y.createElement(Ge.CopyToClipboard,{text:St,onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},y.createElement(Te.Z,{title:"\u590D\u5236"},y.createElement("div",{className:Ye.btn,style:{marginLeft:"auto"}},y.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),y.createElement(Te.Z,{title:"\u91CD\u65B0\u751F\u6210"},y.createElement("div",{onClick:ya,className:Ye.btn},y.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),y.createElement(Te.Z,{title:"\u5220\u9664"},y.createElement("div",{onClick:()=>{bt(1),za(),Jt([])},className:Ye.btn},y.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),y.createElement("div",{className:Ye.inputContainer},y.createElement(ke.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>In(!0),onBlur:()=>setTimeout(()=>In(!1),300),onChange:Ka,onPressEnter:Ja,onCompositionStart:()=>Hn.current=!0,onCompositionEnd:()=>Hn.current=!1}),_n?y.createElement("div",{className:`iconfont icon-tingzhihuida ${Ye.cancelBtn}`,onClick:Sa}):y.createElement(We.ZP,{className:ir?Ye.sendBtnDisabled:Ye.sendBtn,icon:y.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:lr,onClick:La}))))):y.createElement(y.Fragment,null)},Qe={"hover-line-container":"hover-line-container___kkYQN","hover-line-content":"hover-line-content___ZkD9e","line-button-container":"line-button-container___A79j9",button:"button___X_Iu7"},De=Object.defineProperty,st=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,ze=(Qt,rt,Ie)=>rt in Qt?De(Qt,rt,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Qt[rt]=Ie,qe=(Qt,rt)=>{for(var Ie in rt||(rt={}))Re.call(rt,Ie)&&ze(Qt,Ie,rt[Ie]);if(st)for(var Ie of st(rt))Ke.call(rt,Ie)&&ze(Qt,Ie,rt[Ie]);return Qt};const Ae=Qt=>React.createElement("svg",qe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Qt),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var gt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",xt=(0,y.forwardRef)(({initialContent:Qt,onButtonClick:rt},Ie)=>{const[at,Tt]=(0,y.useState)(null),[Sn,Ve]=(0,y.useState)(null),[Ut,be]=(0,y.useState)(""),[tt,Jt]=(0,y.useState)(null),nt=Ie,vt=Yt=>{const _n=document.elementFromPoint(10,Yt),Ea=document.createRange();let Wn=null;const sn=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:La=>{const Ja=document.createRange();Ja.selectNodeContents(La);const Sa=Ja.getBoundingClientRect();return Sa.top<=Yt&&Sa.bottom>=Yt?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Hn="",Aa,za,wa=null,Ka=null,Za=null;for(;Aa=sn.nextNode();){Aa.parentNode.getAttribute("data-select")==="disabled"&&(za=!0),Hn+=Aa.textContent,Ka||(Ka=Aa),Za=Aa;const La=document.createRange();La.selectNodeContents(Aa);const Ja=La.getBoundingClientRect();wa===null&&(wa=Ja.top)}if(Ka&&Za&&!za){const La=document.createRange();La.setStart(Ka,0),La.setEnd(Za,Za.textContent.length),Jt(La)}else Jt(null);return Ve(wa-1),za?"":Hn.trim()};function Nn(Yt){for(;Yt.parentElement&&Yt.parentElement.tagName.toLowerCase()!=="section";){var _n=window.getComputedStyle(Yt.parentElement);if(_n.pointerEvents==="none")return!0;Yt=Yt.parentElement}return!1}const bt=Yt=>{var _n,Ea;if(Nn(Yt.target)){Ve(-1e6);return}if(((Ea=(_n=document.getSelection())==null?void 0:_n.toString)==null?void 0:Ea.call(_n))!==""){Ve(-1e6);return}const Wn=vt(Yt.clientY);if((Wn==null?void 0:Wn.trim())===""){Ve(-1e6);return}const sn=nt.current.getBoundingClientRect();Tt(sn.left-30),be(Wn)},St=()=>{},Ft=Yt=>{rt&&Ut&&rt(Ut,Yt.clientX,Yt.clientY,tt)},it=()=>{if(tt){const Yt=window.getSelection();Yt.removeAllRanges(),Yt.addRange(tt)}},In=()=>{window.getSelection().removeAllRanges()};return(0,y.useEffect)(()=>{const Yt=nt.current;return Yt.addEventListener("mousemove",bt),Yt.addEventListener("mouseleave",St),()=>{Yt.removeEventListener("mousemove",bt),Yt.removeEventListener("mouseleave",St),In()}},[Qt]),y.createElement("div",{className:Qe["hover-line-container2"]},Sn!==null&&y.createElement("div",{className:Qe["line-button-container"],style:{top:Sn,left:at},onMouseEnter:()=>{it()},onMouseLeave:()=>{In(),Ve(null),be(""),Jt(null)}},y.createElement("div",{className:Qe.button,onClick:Ft},y.createElement("img",{src:gt}),y.createElement("span",null,"AI\u6539\u5199"))))}),Et={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},dn=({nodeRef:Qt,noRestrictModal:rt})=>{const[Ie,at]=(0,y.useState)(null),[Tt,Sn]=(0,y.useState)(null),[Ve,Ut]=(0,y.useState)(!1),[be,tt]=(0,y.useState)(null),[Jt,nt]=(0,y.useState)(!1),[vt,Nn]=(0,y.useState)(!1),bt=Qt,St=(0,y.useRef)(null),Ft=(0,y.useRef)(null),[it,In]=(0,y.useState)("");(0,y.useEffect)(()=>{Ie!=null&&Ie.toString()&&In(Ie==null?void 0:Ie.toString())},[Ie==null?void 0:Ie.toString()]);const Yt=()=>{const sn=window.getSelection(),Hn=bt.current.scrollTop,Aa=bt.current.getBoundingClientRect();if(sn.rangeCount>0&&sn.toString().length>0){const za=sn.getRangeAt(0);at(za.cloneRange());const wa=za.getBoundingClientRect(),Ka=40;let Za=wa.top+Hn-5+Ka;Za{if(!sn||sn.rangeCount===0){nt(!1);return}const Aa=sn.getRangeAt(0).getBoundingClientRect(),za=window.getComputedStyle(bt.current),wa=parseInt(za.lineHeight),Ka=parseInt(za.paddingTop),Za=bt.current.scrollTop,La=bt.current.getBoundingClientRect(),Ja=Aa.top-La.top+Za,Sa=Math.floor((Ja-Ka)/wa),hn=Ka+Sa*wa-Za;tt(hn),nt(!0)},Ea=sn=>{bt.current&&!bt.current.contains(sn.target)&&Nn(!1)};(0,y.useEffect)(()=>{const sn=bt.current;return sn.addEventListener("scroll",Yt),sn.addEventListener("input",Yt),sn.addEventListener("click",Yt),sn.addEventListener("mouseup",Yt),sn.addEventListener("keyup",Yt),sn.addEventListener("click",Yt),document.addEventListener("mousedown",Ea),()=>{sn.removeEventListener("scroll",Yt),sn.removeEventListener("input",Yt),sn.removeEventListener("click",Yt),sn.removeEventListener("mouseup",Yt),sn.removeEventListener("keyup",Yt),sn.removeEventListener("click",Yt),document.removeEventListener("mousedown",Ea)}},[]);const Wn=(sn=!0,Hn)=>{if(!Ie)return;const Aa=Ft.current.querySelector("section.edu_md").innerHTML.replace(/]*>([\s\S]*?)<\/p>/g,"$1"),za=Ie.cloneRange(),wa=window.getSelection();if(wa.removeAllRanges(),wa.addRange(za),sn){za.deleteContents();const Ka=document.createElement("div");Ka.innerHTML=Aa;const Za=Array.from(Ka.childNodes);for(;Za.length>0;)za.insertNode(Za.pop())}else{za.collapse(!1);const Ka=document.createElement("div");Ka.innerHTML=" "+Aa;const Za=Array.from(Ka.childNodes);for(;Za.length>0;)za.insertNode(Za.pop())}wa.removeAllRanges(),at(null),Ut(!1),Sn(null)};return y.createElement("section",{ref:Ft},Tt&&y.createElement("div",{ref:St,className:Et.toolbar,style:{top:Tt==null?void 0:Tt.top,left:Tt==null?void 0:Tt.left}},y.createElement("div",{className:Et.button,onClick:()=>Ut(!0)},y.createElement("img",{src:gt}),y.createElement("span",null,"AI\u6539\u5199"))),y.createElement(Ce,{key:JSON.stringify(Tt),noRestrictModal:rt,visible:Ve,position:Tt,selectText:it,applyRefinedText:Wn,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),bt.current&&y.createElement(xt,{ref:bt,onButtonClick:(sn,Hn,Aa,za)=>{at(za),Ut(!0),In(sn),Sn({left:Hn,top:Aa+20})}}))}},11915:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return ke}});var y=ae(59301),pe=ae(43418),Be={num:"num___VQiqB"},ke=({visible:We,usedCount:xe,totalCount:Ye,onOk:Ne,onCancel:we})=>{const Me=()=>xe>0?y.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",Ye,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",y.createElement("span",{className:Be.num},xe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):y.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",Ye,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",y.createElement("span",{className:Be.num},xe),"\u6B21\uFF09\u3002");return y.createElement(pe.default,{centered:!0,open:We,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:we,onOk:Ne,footer:xe>0?void 0:null},Me())}},49713:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return a},Q:function(){return ie}});var y=ae(59301),pe={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},Be=ae(48530),Te=ae(74128),ke=ae(36299),We=ae(3716),xe=ae(56438),Ye=ae(52614),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMf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xEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",we=ae(92310),Me=ae.n(we),Ge=ae(8591),Je=(x,b,z)=>new Promise((te,oe)=>{var ue=Ce=>{try{Ee(z.next(Ce))}catch(Qe){oe(Qe)}},le=Ce=>{try{Ee(z.throw(Ce))}catch(Qe){oe(Qe)}},Ee=Ce=>Ce.done?te(Ce.value):Promise.resolve(Ce.value).then(ue,le);Ee((z=z.apply(x,b)).next())});const ie={contentRef:{current:null},value:null,status:!1,open:()=>Je(void 0,null,function*(){}),close:()=>{}};var a=({className:x,style:b,onChange:z,onSuccess:te,onCancel:oe,onError:ue,fetchUrl:le,noRestrictModal:Ee=()=>{},showEditableToolbar:Ce,bottomOffset:Qe=110,loadingText:De,showEmptyData:st=!0,onStatusChange:Re,stringTransformer:Ke,bottomContainerNode:ze})=>{const[qe,Ae]=(0,y.useState)(!1),[gt,mt]=(0,y.useState)(""),[xt,Et]=(0,y.useState)(0),[fn,dn]=(0,y.useState)(!1),Qt=(0,y.useRef)(null),rt=(0,y.useRef)(null),Ie=(0,y.useRef)(null),at=(0,y.useRef)(null),Tt=(0,xe.Z)({scrollBoxRef:at,bottomInspectRef:Ie,contentRef:rt,status:fn,bottomOffset:Qe}),Sn=qe||fn;(0,y.useEffect)(()=>{z==null||z(gt)},[gt]),(0,y.useEffect)(()=>{Re==null||Re({contentRef:rt,status:Sn,value:gt,open:Ve,close:Ut})},[Sn,gt]);const Ve=tt=>Je(void 0,null,function*(){Ae(!0),mt(""),Et(0);const Jt=le;tt!=null&&tt.fetchUrl&&delete tt.fetchUrl,Qt.current=new Be.Z(`${Te.Z.API_SERVER}${Jt}`,tt),yield new Promise((nt,vt)=>{Qt.current.on("data",Nn=>{let{chunk:{content:bt,type:St}}=Nn;dn(!0),St==="text"&&mt(Ft=>Ke?Ke(Ft+bt):Ft+bt)}),Qt.current.on("done",()=>{nt()}),Qt.current.on("error",Nn=>{Object.prototype.toString.call(Nn)==="[object Object]"&&Nn.status===-1&&Ge.ZP.warning((Nn==null?void 0:Nn.message)||""),nt(),ue==null||ue(Nn)}),Qt.current.on("cancelled",()=>{nt(),oe==null||oe()}),Qt.current.startStream()}),Ae(!1)}),Ut=()=>{var tt,Jt;Et(1),(Jt=(tt=Qt.current)==null?void 0:tt.cancelRequest)==null||Jt.call(tt),Ae(!1),dn(!1)},be=(0,y.useMemo)(()=>rt.current?y.createElement(We.Z,{noRestrictModal:Ee,nodeRef:rt}):y.createElement(y.Fragment,null),[rt.current]);return y.createElement(y.Fragment,null,y.createElement("div",{className:Me()(pe.container,x),style:b,ref:at},y.createElement("div",{ref:rt,className:pe.liWrap,contentEditable:!Sn},gt&&y.createElement(ke.Z,{cancelIndex:xt,streamingStatus:qe,loadImage:!1,onFinish:()=>Je(void 0,null,function*(){Et(0),setTimeout(()=>dn(!1),0),te==null||te(gt)}),value:gt})),!gt&&!Sn&&y.createElement("div",{className:pe.imgBox},y.createElement("img",{width:56,src:Ne}),y.createElement("span",null,"\u9884\u89C8\u533A")),st&&Sn&&y.createElement(Ye.Z,{text:De}),!Tt&&y.createElement("div",{className:pe.backBottom,onClick:()=>{at.current.scrollTop=at.current.scrollHeight}},y.createElement("i",{className:"iconfont icon-huidaodibu"})),y.createElement("div",{ref:Ie}),ze),!Sn&&Ce&&be)}},52614:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Te}});var y=ae(59301),pe={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Te=({text:ke})=>y.createElement("div",null,y.createElement("div",{className:pe.loading},y.createElement("div",{className:pe.dot}),y.createElement("div",{className:pe.dot}),y.createElement("div",{className:pe.dot})),!!ke&&y.createElement("div",{className:"mt5"},ke))},67365:function(ut,Gt,ae){"use strict";ae.d(Gt,{o:function(){return y}});const y=pe=>(pe=pe.replace(new RegExp("(?$1'),pe=pe.replace(new RegExp("(?]*>/g,""),we=xe(we),we});Tt.Z=pe},22975:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ze}});var y=ae(59301),pe=ae(43418),Fe=ae(95237),Me=ae(93948),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/fj0vZenBAf0MozFgNjAOe2XR1jy8qC7s/OPdT/12Gc/iNxyH4HYlVrctrb3b5bN7Wzj3X1agDXYOgQILgccFwgk+OoKOOY1uT89nPPmldiFnM/EtTdg4vcr0C8uC59xbIt5k3bu/Sgz2Twm4BuAJom78B1AdsG8haQywMOc5BLDPzsD5eXX7cH9/iR2HW/AMFnQ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2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",Qe={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Ie=ae(59301);const we=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Ze=()=>{const[Ye,ie]=(0,y.useState)(0),[E,a]=(0,y.useState)(!1),[x,b]=(0,y.useState)(!0),z=(0,y.useRef)(null);(0,y.useEffect)(()=>{if(x)return;const be=()=>{ie(We=>We>=99?(clearInterval(z.current),99):We+1)};return z.current=setInterval(be,5e4/99),()=>clearInterval(z.current)},[x]);const te=()=>{ie(0),a(!0),b(!1)},oe=(be=0)=>{b(!0),ie(be),a(!1)},ue=be=>{const We=be/1048576;let De;return We<=.3?De=3:We<=.5?De=5:We<=1?De=10:We<=2?De=20:We<=3?De=30:We<=10?De=We*10:De=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${De}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},le=()=>Ie.createElement("span",{className:Qe.dotLoading},Ie.createElement("span",null,"."),Ie.createElement("span",null,"."),Ie.createElement("span",null,"."));return{progress:Ye,progressOpen:E,openProgress:te,closeProgress:oe,toggleLock:()=>b(be=>!be),CreateProgressModal:(be=we,We)=>(typeof be=="string"&&(be=[be,be,be]),Ie.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>ie(0)},Ie.createElement(Fe.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Ye<=30&&Ie.createElement(Ie.Fragment,null,Ie.createElement("img",{src:ke,alt:"Step 1"}),Ie.createElement("div",{className:"mt20 c-light-primary"},be[0],le())),Ye>30&&Ye<60&&Ie.createElement(Ie.Fragment,null,Ie.createElement("img",{src:Ue,alt:"Step 2"}),Ie.createElement("div",{className:"mt20 c-light-primary"},be[1],le())),Ye>=60&&Ie.createElement(Ie.Fragment,null,Ie.createElement("img",{src:xe,alt:"Step 3"}),Ie.createElement("div",{className:"mt20 c-light-primary"},be[2],le())),Ie.createElement(Me.Z,{className:Qe.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Ye}),!!We&&Ie.createElement("div",{className:"c-grey-999"},ue(We)))))}}},3716:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return un}});var y=ae(59301),pe=ae(38854),Fe=ae(8591),Me=ae(6848),ke=ae(92832),Ue=ae(3113),xe=ae(36299),Qe={wrap:"wrap___AasCO",chatContainer:"chatContainer___n6e3E",btnContainer:"btnContainer___yKyVB",btn:"btn___Y_09T",inputContainer:"inputContainer____bM3M",sendBtn:"sendBtn___UHHLj",sendBtnDisabled:"sendBtnDisabled___AoSRc",cancelBtn:"cancelBtn___yql4C",loadingWrp:"loadingWrp___gYLGT","dot-fade":"dot-fade___LruoO"},we=({position:Vt,children:ht})=>{const{left:Te=0,top:rt=0}=Vt||{},[It,hn]=(0,y.useState)(Te),[Pt,sn]=(0,y.useState)(rt),Be=(0,y.useRef)(null),qe=()=>{if(Be.current){const qt=Be.current.offsetWidth,nt=Be.current.offsetHeight,pt=window.innerWidth,_n=window.innerHeight;let Zt=Te,At=rt;Te+qt>pt&&(Zt=pt-qt),Zt<0&&(Zt=0),rt+nt>_n&&(At=_n-nt),At<0&&(At=0),hn(Zt),sn(At)}};return(0,y.useEffect)(()=>{if(!Be.current||!Vt)return;const qt=new ResizeObserver(()=>{qe()});return qt.observe(Be.current),()=>{qt.disconnect()}},[Te,rt,Vt]),(0,y.useEffect)(()=>{Vt&&qe()},[Te,rt,Vt]),Vt?y.createElement("div",{ref:Be,style:{position:"fixed",left:`${It}px`,top:`${Pt}px`,zIndex:1050}},ht):null},Re=ae(74128),Ze=ae(56102),Ye=ae(48530),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Vt,ht,Te)=>ht in Vt?ie(Vt,ht,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Vt[ht]=Te,oe=(Vt,ht)=>{for(var Te in ht||(ht={}))b.call(ht,Te)&&te(Vt,Te,ht[Te]);if(x)for(var Te of x(ht))z.call(ht,Te)&&te(Vt,Te,ht[Te]);return Vt},ue=(Vt,ht)=>E(Vt,a(ht)),le=(Vt,ht,Te)=>new Promise((rt,It)=>{var hn=Be=>{try{sn(Te.next(Be))}catch(qe){It(qe)}},Pt=Be=>{try{sn(Te.throw(Be))}catch(qe){It(qe)}},sn=Be=>Be.done?rt(Be.value):Promise.resolve(Be.value).then(hn,Pt);sn((Te=Te.apply(Vt,ht)).next())}),be=({visible:Vt,position:ht,selectText:Te,applyRefinedText:rt,fetchUrl:It,noRestrictModal:hn})=>{var Pt;const[sn,Be]=(0,y.useState)(!1),[qe,qt]=(0,y.useState)([]),[nt,pt]=(0,y.useState)(""),[_n,Zt]=(0,y.useState)(1),[At,yt]=(0,y.useState)(""),[Gn,Qn]=(0,y.useState)(!1),Kt=(0,y.useRef)(null),[ta,Ba]=(0,y.useState)(!1),[Un,On]=(0,y.useState)(0),ya=(0,y.useRef)(!1),Za=((Pt=qe==null?void 0:qe[(qe==null?void 0:qe.length)-1])==null?void 0:Pt.loading)===!0;(0,y.useEffect)(()=>{if(Vt){Zt(1);return}Ba(!1),Be(!1),Ya(),On(0),qt([]),Zt(0)},[Vt]);const Ya=()=>{var _a,ka;pt(""),yt(""),(ka=(_a=Kt.current)==null?void 0:_a.cancelRequest)==null||ka.call(_a)},Ca=(..._a)=>le(void 0,[..._a],function*(ka="",br=qe){const la=Date.now(),Na=[...br,{text:ka,key:la,sender:"user",show:!0},{loading:!0,key:la,sender:"AI",show:!0}];Zt(2),qt(Na);const Wr=qa(br),Ot={no_record_times:!0,prompt:ka,history:Wr};Kt.current=new Ye.Z(Re.Z.API_SERVER+It,Ot),yield new Promise(Fn=>{Kt.current.on("data",ia=>{const{chunk:{msg:jn},full:He}=ia,Yt=jn==="error";Ba(!0),yt(Qa(He)),qt(xt=>xt.map((rn,tn)=>tn===xt.length-1?ue(oe({},rn),{text:He,loading:!1,error:Yt}):rn))}),Kt.current.on("done",()=>Fn()),Kt.current.on("error",ia=>{const jn="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(ia)==="[object Object]"&&ia.status===-9&&(Zt(1),hn(ia.data)),qt(He=>He.map((Yt,xt)=>xt===He.length-1?ue(oe({},Yt),{text:jn,loading:!1,error:!0}):Yt)),Fn()}),Kt.current.on("cancelled",()=>Fn()),Kt.current.startStream()}),Be(!1)}),rr=_a=>{pt(_a.target.value)},qa=_a=>_a.reduce((br,la)=>{if(la.sender==="user"){const Na=_a.find(Wr=>Wr.key===la.key&&Wr.sender==="AI");Na&&(Na!=null&&Na.text)&&!(Na!=null&&Na.error)&&br.push({question:la.text,answer:Na.text})}return br},[]),Fa=()=>{if(tr)return;const _a=Ht("\u6539\u5199");Ya(),Be(!0),Ca(_a)},Va=_a=>{if(_a.key==="Enter"&&!_a.shiftKey){if(_a.preventDefault(),ya.current||er)return;Fa()}},va=()=>{var _a,ka;On(br=>br+1),(ka=(_a=Kt.current)==null?void 0:_a.cancelRequest)==null||ka.call(_a),Be(!1),Ba(!1)},En=[{key:"1",label:y.createElement("span",null," ",y.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:y.createElement("span",null,y.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:y.createElement("span",null," ",y.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],Qa=(_a="")=>{const ka=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((br,la)=>{ka.push(`\u7B54\u6848${la+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${la+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${la+1})\u8F93\u51FA\uFF1A`)}),ka.forEach(br=>{const la=new RegExp(br,"g");_a=_a.replace(la,`**${br}** `)}),_a},Ht=_a=>_a==="\u6539\u5199"?`${nt}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${Te}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`:`${Te}\uFF0C${_a}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,dn=_a=>{let ka="";_a.key==="1"&&(ka=Ht("\u6DA6\u8272")),_a.key==="2"&&(ka=Ht("\u6269\u5199")),_a.key==="3"&&(ka=Ht("\u7F29\u5199")),Ya(),Be(!0),Ca(ka)},Aa=()=>{const _a=qe.splice(qe.length-2),{text:ka}=(_a==null?void 0:_a[0])||{};Ya(),Be(!0),Ca(ka,qe)},er=sn||ta,tr=(nt==null?void 0:nt.trim())==="";return Vt?y.createElement(pe.Z,{open:tr&&!er&&(Gn||!At),overlayStyle:{minWidth:200},menu:{items:En,onClick:dn}},y.createElement(we,{position:ht},y.createElement("div",{className:Qe.wrap},_n===2&&y.createElement(y.Fragment,null,y.createElement("div",{className:Qe.chatContainer},Za&&y.createElement("div",{className:Qe.loadingWrp},y.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),y.createElement("div",{className:"ai-loading"})),At&&y.createElement(xe.Z,{cancelIndex:Un,streamingStatus:sn,loadImage:!1,onFinish:()=>le(void 0,null,function*(){On(0),setTimeout(()=>Ba(!1),0)}),value:At})),y.createElement("div",{className:Qe.btnContainer},y.createElement("div",{onClick:()=>rt(!0,At),className:Qe.btn,style:{padding:"0 16px",width:"initial"}},y.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),y.createElement("div",{onClick:()=>rt(!1,At),className:Qe.btn,style:{padding:"0 16px",width:"initial"}},y.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),y.createElement(Ze.CopyToClipboard,{text:At,onCopy:()=>Fe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},y.createElement(Me.Z,{title:"\u590D\u5236"},y.createElement("div",{className:Qe.btn,style:{marginLeft:"auto"}},y.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),y.createElement(Me.Z,{title:"\u91CD\u65B0\u751F\u6210"},y.createElement("div",{onClick:Aa,className:Qe.btn},y.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),y.createElement(Me.Z,{title:"\u5220\u9664"},y.createElement("div",{onClick:()=>{Zt(1),Ya(),qt([])},className:Qe.btn},y.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),y.createElement("div",{className:Qe.inputContainer},y.createElement(ke.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>Qn(!0),onBlur:()=>setTimeout(()=>Qn(!1),300),onChange:rr,onPressEnter:Va,onCompositionStart:()=>ya.current=!0,onCompositionEnd:()=>ya.current=!1}),ta?y.createElement("div",{className:`iconfont icon-tingzhihuida ${Qe.cancelBtn}`,onClick:va}):y.createElement(Ue.ZP,{className:tr?Qe.sendBtnDisabled:Qe.sendBtn,icon:y.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:er,onClick:Fa}))))):y.createElement(y.Fragment,null)},We={"hover-line-container":"hover-line-container___kkYQN","hover-line-content":"hover-line-content___ZkD9e","line-button-container":"line-button-container___A79j9",button:"button___X_Iu7"},De=Object.defineProperty,st=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,ze=(Vt,ht,Te)=>ht in Vt?De(Vt,ht,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Vt[ht]=Te,Xe=(Vt,ht)=>{for(var Te in ht||(ht={}))Oe.call(ht,Te)&&ze(Vt,Te,ht[Te]);if(st)for(var Te of st(ht))Ke.call(ht,Te)&&ze(Vt,Te,ht[Te]);return Vt};const Ce=Vt=>React.createElement("svg",Xe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Vt),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var ct="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Ct=(0,y.forwardRef)(({initialContent:Vt,onButtonClick:ht},Te)=>{const[rt,It]=(0,y.useState)(null),[hn,Pt]=(0,y.useState)(null),[sn,Be]=(0,y.useState)(""),[qe,qt]=(0,y.useState)(null),nt=Te,pt=Kt=>{const ta=document.elementFromPoint(10,Kt),Ba=document.createRange();let Un=null;const On=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:Fa=>{const Va=document.createRange();Va.selectNodeContents(Fa);const va=Va.getBoundingClientRect();return va.top<=Kt&&va.bottom>=Kt?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let ya="",Za,Ya,Ca=null,rr=null,qa=null;for(;Za=On.nextNode();){Za.parentNode.getAttribute("data-select")==="disabled"&&(Ya=!0),ya+=Za.textContent,rr||(rr=Za),qa=Za;const Fa=document.createRange();Fa.selectNodeContents(Za);const Va=Fa.getBoundingClientRect();Ca===null&&(Ca=Va.top)}if(rr&&qa&&!Ya){const Fa=document.createRange();Fa.setStart(rr,0),Fa.setEnd(qa,qa.textContent.length),qt(Fa)}else qt(null);return Pt(Ca-1),Ya?"":ya.trim()};function _n(Kt){for(;Kt.parentElement&&Kt.parentElement.tagName.toLowerCase()!=="section";){var ta=window.getComputedStyle(Kt.parentElement);if(ta.pointerEvents==="none")return!0;Kt=Kt.parentElement}return!1}const Zt=Kt=>{var ta,Ba;if(_n(Kt.target)){Pt(-1e6);return}if(((Ba=(ta=document.getSelection())==null?void 0:ta.toString)==null?void 0:Ba.call(ta))!==""){Pt(-1e6);return}const Un=pt(Kt.clientY);if((Un==null?void 0:Un.trim())===""){Pt(-1e6);return}const On=nt.current.getBoundingClientRect();It(On.left-30),Be(Un)},At=()=>{},yt=Kt=>{ht&&sn&&ht(sn,Kt.clientX,Kt.clientY,qe)},Gn=()=>{if(qe){const Kt=window.getSelection();Kt.removeAllRanges(),Kt.addRange(qe)}},Qn=()=>{window.getSelection().removeAllRanges()};return(0,y.useEffect)(()=>{const Kt=nt.current;return Kt.addEventListener("mousemove",Zt),Kt.addEventListener("mouseleave",At),()=>{Kt.removeEventListener("mousemove",Zt),Kt.removeEventListener("mouseleave",At),Qn()}},[Vt]),y.createElement("div",{className:We["hover-line-container2"]},hn!==null&&y.createElement("div",{className:We["line-button-container"],style:{top:hn,left:rt},onMouseEnter:()=>{Gn()},onMouseLeave:()=>{Qn(),Pt(null),Be(""),qt(null)}},y.createElement("div",{className:We.button,onClick:yt},y.createElement("img",{src:ct}),y.createElement("span",null,"AI\u6539\u5199"))))}),Et={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},un=({nodeRef:Vt,noRestrictModal:ht})=>{const[Te,rt]=(0,y.useState)(null),[It,hn]=(0,y.useState)(null),[Pt,sn]=(0,y.useState)(!1),[Be,qe]=(0,y.useState)(null),[qt,nt]=(0,y.useState)(!1),[pt,_n]=(0,y.useState)(!1),Zt=Vt,At=(0,y.useRef)(null),yt=(0,y.useRef)(null),[Gn,Qn]=(0,y.useState)("");(0,y.useEffect)(()=>{Te!=null&&Te.toString()&&Qn(Te==null?void 0:Te.toString())},[Te==null?void 0:Te.toString()]);const Kt=()=>{const On=window.getSelection(),ya=Zt.current.scrollTop,Za=Zt.current.getBoundingClientRect();if(On.rangeCount>0&&On.toString().length>0){const Ya=On.getRangeAt(0);rt(Ya.cloneRange());const Ca=Ya.getBoundingClientRect(),rr=40;let qa=Ca.top+ya-5+rr;qa{if(!On||On.rangeCount===0){nt(!1);return}const Za=On.getRangeAt(0).getBoundingClientRect(),Ya=window.getComputedStyle(Zt.current),Ca=parseInt(Ya.lineHeight),rr=parseInt(Ya.paddingTop),qa=Zt.current.scrollTop,Fa=Zt.current.getBoundingClientRect(),Va=Za.top-Fa.top+qa,va=Math.floor((Va-rr)/Ca),En=rr+va*Ca-qa;qe(En),nt(!0)},Ba=On=>{Zt.current&&!Zt.current.contains(On.target)&&_n(!1)};(0,y.useEffect)(()=>{const On=Zt.current;return On.addEventListener("scroll",Kt),On.addEventListener("input",Kt),On.addEventListener("click",Kt),On.addEventListener("mouseup",Kt),On.addEventListener("keyup",Kt),On.addEventListener("click",Kt),document.addEventListener("mousedown",Ba),()=>{On.removeEventListener("scroll",Kt),On.removeEventListener("input",Kt),On.removeEventListener("click",Kt),On.removeEventListener("mouseup",Kt),On.removeEventListener("keyup",Kt),On.removeEventListener("click",Kt),document.removeEventListener("mousedown",Ba)}},[]);const Un=(On=!0,ya)=>{if(!Te)return;const Za=yt.current.querySelector("section.edu_md").innerHTML.replace(/]*>([\s\S]*?)<\/p>/g,"$1"),Ya=Te.cloneRange(),Ca=window.getSelection();if(Ca.removeAllRanges(),Ca.addRange(Ya),On){Ya.deleteContents();const rr=document.createElement("div");rr.innerHTML=Za;const qa=Array.from(rr.childNodes);for(;qa.length>0;)Ya.insertNode(qa.pop())}else{Ya.collapse(!1);const rr=document.createElement("div");rr.innerHTML=" "+Za;const qa=Array.from(rr.childNodes);for(;qa.length>0;)Ya.insertNode(qa.pop())}Ca.removeAllRanges(),rt(null),sn(!1),hn(null)};return y.createElement("section",{ref:yt},It&&y.createElement("div",{ref:At,className:Et.toolbar,style:{top:It==null?void 0:It.top,left:It==null?void 0:It.left}},y.createElement("div",{className:Et.button,onClick:()=>sn(!0)},y.createElement("img",{src:ct}),y.createElement("span",null,"AI\u6539\u5199"))),y.createElement(be,{key:JSON.stringify(It),noRestrictModal:ht,visible:Pt,position:It,selectText:Gn,applyRefinedText:Un,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),Zt.current&&y.createElement(Ct,{ref:Zt,onButtonClick:(On,ya,Za,Ya)=>{rt(Ya),sn(!0),Qn(On),hn({left:ya,top:Za+20})}}))}},11915:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ke}});var y=ae(59301),pe=ae(43418),Fe={num:"num___VQiqB"},ke=({visible:Ue,usedCount:xe,totalCount:Qe,onOk:Ie,onCancel:we})=>{const Re=()=>xe>0?y.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",Qe,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",y.createElement("span",{className:Fe.num},xe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):y.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",Qe,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",y.createElement("span",{className:Fe.num},xe),"\u6B21\uFF09\u3002");return y.createElement(pe.default,{centered:!0,open:Ue,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:we,onOk:Ie,footer:xe>0?void 0:null},Re())}},49713:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return a},Q:function(){return ie}});var y=ae(59301),pe={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},Fe=ae(48530),Me=ae(74128),ke=ae(36299),Ue=ae(3716),xe=ae(56438),Qe=ae(52614),Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleW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W7DYzI1srrKdpsB4hskH9OyJw+9wJ19lU5aOmHGAqrjo9Pne/NLApGMLVS2wJDeY68dlP/+C6o8eHXpvI05CjQzvUCVWsLEF4rqis6mQq0zqyFiATsLF1aFdI051hhBQM9ELPG65rZrSKSCLx3RxP3FfXFACbDAM9ne4bei8GXrusBsjEuPeB6oJECMYdVDqvTm/gEe9gG5VnRv1bQgrZipAUWyq7x0eKIWY9wEh6nzewbcmcbMlNCsYlO75WLDlv65kvsuWxEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",we=ae(92310),Re=ae.n(we),Ze=ae(8591),Ye=(x,b,z)=>new Promise((te,oe)=>{var ue=be=>{try{Ee(z.next(be))}catch(We){oe(We)}},le=be=>{try{Ee(z.throw(be))}catch(We){oe(We)}},Ee=be=>be.done?te(be.value):Promise.resolve(be.value).then(ue,le);Ee((z=z.apply(x,b)).next())});const ie={contentRef:{current:null},value:null,status:!1,open:()=>Ye(void 0,null,function*(){}),close:()=>{}};var a=({className:x,style:b,onChange:z,onSuccess:te,onCancel:oe,onError:ue,fetchUrl:le,noRestrictModal:Ee=()=>{},showEditableToolbar:be,bottomOffset:We=110,loadingText:De,showEmptyData:st=!0,onStatusChange:Oe,stringTransformer:Ke,bottomContainerNode:ze})=>{const[Xe,Ce]=(0,y.useState)(!1),[ct,mt]=(0,y.useState)(""),[Ct,Et]=(0,y.useState)(0),[fn,un]=(0,y.useState)(!1),Vt=(0,y.useRef)(null),ht=(0,y.useRef)(null),Te=(0,y.useRef)(null),rt=(0,y.useRef)(null),It=(0,xe.Z)({scrollBoxRef:rt,bottomInspectRef:Te,contentRef:ht,status:fn,bottomOffset:We}),hn=Xe||fn;(0,y.useEffect)(()=>{z==null||z(ct)},[ct]),(0,y.useEffect)(()=>{Oe==null||Oe({contentRef:ht,status:hn,value:ct,open:Pt,close:sn})},[hn,ct]);const Pt=qe=>Ye(void 0,null,function*(){Ce(!0),mt(""),Et(0);const qt=le;qe!=null&&qe.fetchUrl&&delete qe.fetchUrl,Vt.current=new Fe.Z(`${Me.Z.API_SERVER}${qt}`,qe),yield new Promise((nt,pt)=>{Vt.current.on("data",_n=>{let{chunk:{content:Zt,type:At}}=_n;un(!0),At==="text"&&mt(yt=>Ke?Ke(yt+Zt):yt+Zt)}),Vt.current.on("done",()=>{nt()}),Vt.current.on("error",_n=>{Object.prototype.toString.call(_n)==="[object Object]"&&_n.status===-1&&Ze.ZP.warning((_n==null?void 0:_n.message)||""),nt(),ue==null||ue(_n)}),Vt.current.on("cancelled",()=>{nt(),oe==null||oe()}),Vt.current.startStream()}),Ce(!1)}),sn=()=>{var qe,qt;Et(1),(qt=(qe=Vt.current)==null?void 0:qe.cancelRequest)==null||qt.call(qe),Ce(!1),un(!1)},Be=(0,y.useMemo)(()=>ht.current?y.createElement(Ue.Z,{noRestrictModal:Ee,nodeRef:ht}):y.createElement(y.Fragment,null),[ht.current]);return y.createElement(y.Fragment,null,y.createElement("div",{className:Re()(pe.container,x),style:b,ref:rt},y.createElement("div",{ref:ht,className:pe.liWrap,contentEditable:!hn},ct&&y.createElement(ke.Z,{cancelIndex:Ct,streamingStatus:Xe,loadImage:!1,onFinish:()=>Ye(void 0,null,function*(){Et(0),setTimeout(()=>un(!1),0),te==null||te(ct)}),value:ct})),!ct&&!hn&&y.createElement("div",{className:pe.imgBox},y.createElement("img",{width:56,src:Ie}),y.createElement("span",null,"\u9884\u89C8\u533A")),st&&hn&&y.createElement(Qe.Z,{text:De}),!It&&y.createElement("div",{className:pe.backBottom,onClick:()=>{rt.current.scrollTop=rt.current.scrollHeight}},y.createElement("i",{className:"iconfont icon-huidaodibu"})),y.createElement("div",{ref:Te}),ze),!hn&&be&&Be)}},52614:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Me}});var y=ae(59301),pe={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Me=({text:ke})=>y.createElement("div",null,y.createElement("div",{className:pe.loading},y.createElement("div",{className:pe.dot}),y.createElement("div",{className:pe.dot}),y.createElement("div",{className:pe.dot})),!!ke&&y.createElement("div",{className:"mt5"},ke))},67365:function(it,Tt,ae){"use strict";ae.d(Tt,{o:function(){return y}});const y=pe=>(pe=pe.replace(new RegExp("(?$1'),pe=pe.replace(new RegExp("(?$1 -`),pe)},51686:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return x}});var y=ae(59301),pe=ae(17574),Be=ae(11517),Te={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},ke=Object.defineProperty,We=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Me=(b,z,te)=>z in b?ke(b,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):b[z]=te,Ge=(b,z)=>{for(var te in z||(z={}))Ne.call(z,te)&&Me(b,te,z[te]);if(Ye)for(var te of Ye(z))we.call(z,te)&&Me(b,te,z[te]);return b},Je=(b,z)=>We(b,xe(z)),ie=(b,z)=>{var te={};for(var oe in b)Ne.call(b,oe)&&z.indexOf(oe)<0&&(te[oe]=b[oe]);if(b!=null&&Ye)for(var oe of Ye(b))z.indexOf(oe)<0&&we.call(b,oe)&&(te[oe]=b[oe]);return te},E=(b,z,te)=>new Promise((oe,ue)=>{var le=Qe=>{try{Ce(te.next(Qe))}catch(De){ue(De)}},Ee=Qe=>{try{Ce(te.throw(Qe))}catch(De){ue(De)}},Ce=Qe=>Qe.done?oe(Qe.value):Promise.resolve(Qe.value).then(le,Ee);Ce((te=te.apply(b,z)).next())}),x=b=>{var z=b,{value:te,onChange:oe,defaultValue:ue,disabled:le}=z,Ee=ie(z,["value","onChange","defaultValue","disabled"]);const[Ce,Qe]=(0,y.useState)([]),[De,st]=(0,y.useState)("1");(0,y.useEffect)(()=>{Re()},[]);const Re=()=>E(void 0,null,function*(){const qe=yield(0,Be.NZ)({});if(qe!=null&&qe.data){const Ae=[{title:y.createElement("div",{title:"\u6839\u76EE\u5F55",className:Te.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:y.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Ke(qe.data||[])}];Qe(Ae),st("2")}}),Ke=qe=>{function Ae(gt){const mt=gt.children,xt=Array.isArray(mt)&&mt.length>0,Et=gt==null?void 0:gt.group_id;return{title:y.createElement("div",{title:gt==null?void 0:gt.name,className:Te.name},gt==null?void 0:gt.name),value:Et,key:Et,icon:y.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:xt?mt==null?void 0:mt.map(fn=>Ae(fn)):[]}}return qe==null?void 0:qe.map(gt=>Ae(gt))},ze=ue?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return y.createElement("div",{className:Te.customTree},y.createElement(pe.default,Ge(Je(Ge({key:De},ze),{showIcon:!0,treeData:Ce,onSelect:oe,disabled:le}),Ee)))}},99462:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Te}});var y=ae(59301),pe={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Te=({number:ke,active:We,className:xe})=>y.createElement("div",{className:`${pe.digitalLabel} ${We?pe.active:""} ${xe}`},ke)},45917:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return b}});var y=ae(59301),pe=ae(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Te=ae(73631),ke=ae(5623),We=ae(11517),xe=Object.defineProperty,Ye=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Je=(z,te,oe)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:oe}):z[te]=oe,ie=(z,te)=>{for(var oe in te||(te={}))Me.call(te,oe)&&Je(z,oe,te[oe]);if(we)for(var oe of we(te))Ge.call(te,oe)&&Je(z,oe,te[oe]);return z},E=(z,te)=>Ye(z,Ne(te)),a=(z,te,oe)=>new Promise((ue,le)=>{var Ee=De=>{try{Qe(oe.next(De))}catch(st){le(st)}},Ce=De=>{try{Qe(oe.throw(De))}catch(st){le(st)}},Qe=De=>De.done?ue(De.value):Promise.resolve(De.value).then(Ee,Ce);Qe((oe=oe.apply(z,te)).next())}),b=({value:z,onChange:te,scrollId:oe})=>{const[ue,le]=(0,y.useState)([]);(0,y.useEffect)(()=>{Ee()},[]);const Ee=()=>a(void 0,null,function*(){const Ke=yield(0,We.NZ)({});if(Ke!=null&&Ke.data){const ze=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:y.createElement("img",{src:Te,className:Be.folderIcon}),isLeaf:!1,children:Ce(Ke.data||[])}];le(ze)}}),Ce=Ke=>Ke.map(ze=>({title:ze.name,key:ze.group_id,icon:y.createElement("img",{src:Te,className:Be.folderIcon}),isLeaf:ze.children.length===0,children:Ce(ze.children)})),Qe=(Ke,ze,qe)=>Ke.map(Ae=>Ae.key===ze?ie(ie({},Ae),qe):Ae.children?E(ie({},Ae),{children:Qe(Ae.children,ze,qe)}):Ae),De=(Ke,ze,qe)=>Ke.map(Ae=>{if(Ae.key===ze)return E(ie({},Ae),{icon:qe?y.createElement("img",{src:ke,className:Be.folderIcon}):y.createElement("img",{src:Te,className:Be.folderIcon})});if(Ae.children)return E(ie({},Ae),{children:De(Ae.children,ze,qe)})}),st=(Ke,ze)=>{le(qe=>De(qe,ze.node.key,ze.expanded))},Re=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ue.length>0&&y.createElement("div",{id:oe||""},y.createElement(pe.default,ie({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ue,className:Be.folderWrapper,onSelect:te,onExpand:st},Re)))}},90463:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return We}});var y=ae(60324),pe={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=ae(32637),Te=ae(59301),We=({type:xe,style:Ye})=>{const Ne=Te.createElement("div",{className:pe.wrap,onClick:we=>{we.preventDefault(),we.stopPropagation()}},Te.createElement("p",null,xe==="shixun"||xe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Te.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",xe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Te.createElement("div",{className:pe.contact},Te.createElement("div",{className:pe.img},Te.createElement("img",{src:Be,width:"124px",height:"124px"})),Te.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Te.createElement(y.Z,{content:Ne},Te.createElement("span",{className:pe.text,style:Ye},"\u9AD8\u6D88\u8017"))}},16750:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Me}});var y=ae(59301),pe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=ae(92310),Te=ae.n(Be),ke=ae(71418),We=ae(2859),xe=ae(38147),Ye=ae(65862),Ne=(Ge,Je,ie)=>new Promise((E,a)=>{var x=te=>{try{z(ie.next(te))}catch(oe){a(oe)}},b=te=>{try{z(ie.throw(te))}catch(oe){a(oe)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,b);z((ie=ie.apply(Ge,Je)).next())}),Me=({data:Ge,className:Je,fullWidth:ie,style:E={},onClose:a,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,y.useRef)(null),oe=(0,y.useRef)(null),ue=(0,y.useRef)(null),le=(0,y.useRef)(null),[Ee,Ce]=(0,y.useState)(!1),[Qe,De]=(0,y.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,y.useEffect)(()=>{ue.current||(ue.current=document.createElement("style"),document.head.appendChild(ue.current)),Ge!=null&&Ge.visible?(document.body.setAttribute("data-custom","y-hidden"),ue.current.innerHTML=" html { overflow-y: hidden; }",Ge!=null&&Ge.src&&st()):(document.body.removeAttribute("data-custom"),ue.current&&(document.head.removeChild(ue.current),ue.current=null))},[Ge==null?void 0:Ge.visible]);const st=()=>Ne(void 0,null,function*(){Ce(!0),De("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ae=yield(0,Ye.ZJ)(Ge==null?void 0:Ge.src);te.current.src="",te.current.src=Ae,te.current.onload=function(){qe()},Ce(!1),De("")}),Re=()=>{document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",a()},Ke=Ae=>Ne(void 0,null,function*(){Ce(!0),De("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gt=yield(0,xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ge.title,file:Ae.dataUrl}});gt!=null&>.id&&!z?(yield(0,xe.ZP)(`/api/attachments/${Ge.id}/add_subitem.json`,{method:"post",body:{subitem_id:gt==null?void 0:gt.id,settings:JSON.stringify(Ae.state)}})).status===0&&x():gt!=null&>.id&&x(gt),document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",Ce(!1),De("")}),ze=()=>{const Ae=document.querySelector('a[href="https://markerjs.com/"]');Ae&&Ae.parentNode&&(Ae.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(mt=>{const xt=document.querySelector(mt.name);xt&&xt.setAttribute("title",mt.title)})},qe=()=>{oe.current=new We.hP(te.current),oe.current.targetRoot=le.current,oe.current.addEventListener("render",Ke),oe.current.addEventListener("beforeclose",Re),b&&(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(),Ge!=null&&Ge.snapshotData&&oe.current.restoreState(Ge.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ze()},300)};return y.createElement(y.Fragment,null,(Ge==null?void 0:Ge.visible)&&y.createElement(ke.Z,{spinning:Ee,tip:Qe,style:{position:"absolute"}},y.createElement("div",{ref:le,className:Te()(pe.imageDimensions,Je,ie?pe.fullWidth:""),style:E},y.createElement("img",{className:pe.img,ref:te}))))}},41348:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Nn},$:function(){return vt}});var y=ae(59301),pe={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Be=ae(92310),Te=ae.n(Be),ke=ae(78241),We=ae(8591),xe=ae(43418),Ye=ae(5871),Ne=ae(95237),we=ae(24905),Me=ae(38854),Ge=ae(54580),Je=ae(3113),ie=ae(93948),E=ae(19842),a=ae(92832),x=ae(3918),b=ae(74128),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5DUWdo+c1yUtX6SfkrNZVOXNpP1I2Cg+qApV1KN6wc+WQ31nTh+63/K05sHc+JLeEjKW3BnT+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPWMHVKmmeceLoOR9exnpFC2nHs2F/LDxqwi5PBIdJTA6ASClbE4XOHsIhjsR3DIByhboCPVYZg2qvAHST21tlA8oA9pnQYuemqwOff5TcPMqpK2Ae5ra9Wd/hvU9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myW47YsD3hDH5YfnvilMqWGQCklJG5lbJUgjd0nMGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",le=ae(38147),Ee=ae(45917),Ce=ae(5623),Qe=ae(48850),De=ae(27687),st=ae(45053),Re=ae(15342),Ke=ae.n(Re),ze=(bt,St,Ft)=>new Promise((it,In)=>{var Yt=Wn=>{try{Ea(Ft.next(Wn))}catch(sn){In(sn)}},_n=Wn=>{try{Ea(Ft.throw(Wn))}catch(sn){In(sn)}},Ea=Wn=>Wn.done?it(Wn.value):Promise.resolve(Wn.value).then(Yt,_n);Ea((Ft=Ft.apply(bt,St)).next())}),Ae=y.memo(({tagName:bt="div",value:St="",className:Ft,style:it={},onBlur:In,id:Yt})=>{const _n=(0,y.useRef)(null);(0,y.useEffect)(()=>{if(!_n.current)return;ze(void 0,null,function*(){const sn=_n.current;sn.innerHTML="";const Hn=St==null?void 0:St.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Aa of Hn)if(Aa.startsWith("$$")&&Aa.endsWith("$$")||Aa.startsWith("`$$")&&Aa.endsWith("$$`")){const za=Aa.startsWith("`$$")?Aa.slice(3,-3):Aa.slice(2,-2),wa=document.createElement("span");wa.setAttribute("contentEditable","false"),wa.setAttribute("title",Aa),wa.className="edu_latex",sn.appendChild(wa),Ke().render(za,wa,{throwOnError:!1})}else{const za=Aa==null?void 0:Aa.replace(/<[^>]*>/g,wa=>wa.startsWith("{var Wn,sn;if(In&&_n.current){const Aa=_n.current.cloneNode(!0),za=Aa.querySelectorAll("span.edu_latex");for(let wa of za){const Ka=wa.getAttribute("title"),Za=document.createTextNode(Ka||""),La=wa;(sn=(Wn=La.parentNode)==null?void 0:Wn.replaceChild)==null||sn.call(Wn,Za,La)}In(Aa.innerHTML)}};return y.createElement(y.Fragment,null,y.createElement(bt,{ref:_n,contentEditable:!0,className:Ft,style:it,onBlur:Ea}))}),gt=ae(41867),mt=ae(77254),xt=ae(32609),Et=Object.defineProperty,fn=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,at=(bt,St,Ft)=>St in bt?Et(bt,St,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):bt[St]=Ft,Tt=(bt,St)=>{for(var Ft in St||(St={}))rt.call(St,Ft)&&at(bt,Ft,St[Ft]);if(Qt)for(var Ft of Qt(St))Ie.call(St,Ft)&&at(bt,Ft,St[Ft]);return bt},Sn=(bt,St)=>fn(bt,dn(St)),Ve=(bt,St,Ft)=>new Promise((it,In)=>{var Yt=Wn=>{try{Ea(Ft.next(Wn))}catch(sn){In(sn)}},_n=Wn=>{try{Ea(Ft.throw(Wn))}catch(sn){In(sn)}},Ea=Wn=>Wn.done?it(Wn.value):Promise.resolve(Wn.value).then(Yt,_n);Ea((Ft=Ft.apply(bt,St)).next())});const Ut=bt=>{bt.preventDefault();let Ft=(bt.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Ft)},be=bt=>{bt.key==="Enter"&&bt.preventDefault()},tt=({children:bt,style:St})=>y.createElement("div",{className:pe.leftBox,style:St,onPaste:Ut},bt),Jt=({children:bt,style:St,className:Ft})=>y.createElement("div",{className:Te()(pe.rightBox,Ft),style:St,onPaste:Ut},bt),nt=({className:bt,style:St={},width:Ft=1200,onCancel:it=()=>{},onSuccess:In=()=>{},gather:Yt={},mode:_n=1,stickyTop:Ea=0,subDisciplineId:Wn=[],hideWordFeatures:sn,dataSource:Hn=[],customLeftHeadNode:Aa,customRightHeadNode:za,customLeftContent:wa,hideRecognition:Ka=!1,onExchange:Za,isSingleSelection:La=!1,underpinBackgroundStyle:Ja={},headExtraNode:Sa,isRefreshItemBank:hn=!1,okText:ga="\u786E\u5B9A\u5BFC\u5165",onSave:Mt})=>{var en;const[ya,lr]=(0,y.useState)(1),[ir,nr]=(0,y.useState)(0),[Ga,yr]=(0,y.useState)(""),[ia,Oa]=(0,y.useState)(!1),[Rr,It]=(0,y.useState)([]),[vn,ua]=(0,y.useState)([]),[Mn,Ze]=(0,y.useState)(!1),[kt,Nt]=(0,y.useState)(!1),[tn,nn]=(0,y.useState)(!1),[Kn,Ln]=(0,y.useState)(!1),[$e,ot]=(0,y.useState)([]),[_e,En]=(0,y.useState)(1),[yn,Zn]=(0,y.useState)(!1),[Ta,Fa]=(0,y.useState)(!0),[sa,Ia]=(0,y.useState)(0),[ma,Vt]=(0,y.useState)(!1),[_a]=ke.default.useForm(),[vr]=ke.default.useForm(),Yr=(0,y.useRef)(null),jt=(0,y.useRef)(null),gr=(0,y.useRef)(),At=(0,y.useRef)(null),Bt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],fa=["C","C++","Java","Python","JavaScript","Ruby"];(0,y.useEffect)(()=>{Hn!=null&&Hn.length&&Qo(Hn)},[Hn]),(0,y.useEffect)(()=>{ya===2&&Yr.current.focus()},[ya]),(0,y.useEffect)(()=>{tn&&Pa()},[tn]);const Qn=()=>{if(ya===1){We.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>Ve(void 0,null,function*(){lr(1)})})},Pa=()=>Ve(void 0,null,function*(){const he=yield(0,le.ZP)("/api/disciplines.json",{method:"get",params:{source:_n===1?"new_question":"subject"}});ot(he.disciplines||[])}),qa=he=>{const Dt=[],$t=(pn,Ct)=>{pn.length>=2&&Dt.push(pn.join(""));for(let qn=Ct;qn(he=he||"",he=String(he),he=he.replace(/\s+/g,""),he),Ca=he=>(he=he||"",he=String(he),he=he.replace(/

/g,""),he=he.replace(/
/g,` +`),pe)},51686:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return x}});var y=ae(59301),pe=ae(17574),Fe=ae(11517),Me={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},ke=Object.defineProperty,Ue=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Re=(b,z,te)=>z in b?ke(b,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):b[z]=te,Ze=(b,z)=>{for(var te in z||(z={}))Ie.call(z,te)&&Re(b,te,z[te]);if(Qe)for(var te of Qe(z))we.call(z,te)&&Re(b,te,z[te]);return b},Ye=(b,z)=>Ue(b,xe(z)),ie=(b,z)=>{var te={};for(var oe in b)Ie.call(b,oe)&&z.indexOf(oe)<0&&(te[oe]=b[oe]);if(b!=null&&Qe)for(var oe of Qe(b))z.indexOf(oe)<0&&we.call(b,oe)&&(te[oe]=b[oe]);return te},E=(b,z,te)=>new Promise((oe,ue)=>{var le=We=>{try{be(te.next(We))}catch(De){ue(De)}},Ee=We=>{try{be(te.throw(We))}catch(De){ue(De)}},be=We=>We.done?oe(We.value):Promise.resolve(We.value).then(le,Ee);be((te=te.apply(b,z)).next())}),x=b=>{var z=b,{value:te,onChange:oe,defaultValue:ue,disabled:le}=z,Ee=ie(z,["value","onChange","defaultValue","disabled"]);const[be,We]=(0,y.useState)([]),[De,st]=(0,y.useState)("1");(0,y.useEffect)(()=>{Oe()},[]);const Oe=()=>E(void 0,null,function*(){const Xe=yield(0,Fe.NZ)({});if(Xe!=null&&Xe.data){const Ce=[{title:y.createElement("div",{title:"\u6839\u76EE\u5F55",className:Me.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:y.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Ke(Xe.data||[])}];We(Ce),st("2")}}),Ke=Xe=>{function Ce(ct){const mt=ct.children,Ct=Array.isArray(mt)&&mt.length>0,Et=ct==null?void 0:ct.group_id;return{title:y.createElement("div",{title:ct==null?void 0:ct.name,className:Me.name},ct==null?void 0:ct.name),value:Et,key:Et,icon:y.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Ct?mt==null?void 0:mt.map(fn=>Ce(fn)):[]}}return Xe==null?void 0:Xe.map(ct=>Ce(ct))},ze=ue?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return y.createElement("div",{className:Me.customTree},y.createElement(pe.default,Ze(Ye(Ze({key:De},ze),{showIcon:!0,treeData:be,onSelect:oe,disabled:le}),Ee)))}},99462:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Me}});var y=ae(59301),pe={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Me=({number:ke,active:Ue,className:xe})=>y.createElement("div",{className:`${pe.digitalLabel} ${Ue?pe.active:""} ${xe}`},ke)},45917:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return b}});var y=ae(59301),pe=ae(17574),Fe={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Me=ae(73631),ke=ae(5623),Ue=ae(11517),xe=Object.defineProperty,Qe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Ye=(z,te,oe)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:oe}):z[te]=oe,ie=(z,te)=>{for(var oe in te||(te={}))Re.call(te,oe)&&Ye(z,oe,te[oe]);if(we)for(var oe of we(te))Ze.call(te,oe)&&Ye(z,oe,te[oe]);return z},E=(z,te)=>Qe(z,Ie(te)),a=(z,te,oe)=>new Promise((ue,le)=>{var Ee=De=>{try{We(oe.next(De))}catch(st){le(st)}},be=De=>{try{We(oe.throw(De))}catch(st){le(st)}},We=De=>De.done?ue(De.value):Promise.resolve(De.value).then(Ee,be);We((oe=oe.apply(z,te)).next())}),b=({value:z,onChange:te,scrollId:oe})=>{const[ue,le]=(0,y.useState)([]);(0,y.useEffect)(()=>{Ee()},[]);const Ee=()=>a(void 0,null,function*(){const Ke=yield(0,Ue.NZ)({});if(Ke!=null&&Ke.data){const ze=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:y.createElement("img",{src:Me,className:Fe.folderIcon}),isLeaf:!1,children:be(Ke.data||[])}];le(ze)}}),be=Ke=>Ke.map(ze=>({title:ze.name,key:ze.group_id,icon:y.createElement("img",{src:Me,className:Fe.folderIcon}),isLeaf:ze.children.length===0,children:be(ze.children)})),We=(Ke,ze,Xe)=>Ke.map(Ce=>Ce.key===ze?ie(ie({},Ce),Xe):Ce.children?E(ie({},Ce),{children:We(Ce.children,ze,Xe)}):Ce),De=(Ke,ze,Xe)=>Ke.map(Ce=>{if(Ce.key===ze)return E(ie({},Ce),{icon:Xe?y.createElement("img",{src:ke,className:Fe.folderIcon}):y.createElement("img",{src:Me,className:Fe.folderIcon})});if(Ce.children)return E(ie({},Ce),{children:De(Ce.children,ze,Xe)})}),st=(Ke,ze)=>{le(Xe=>De(Xe,ze.node.key,ze.expanded))},Oe=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ue.length>0&&y.createElement("div",{id:oe||""},y.createElement(pe.default,ie({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ue,className:Fe.folderWrapper,onSelect:te,onExpand:st},Oe)))}},90463:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ue}});var y=ae(60324),pe={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Fe=ae(32637),Me=ae(59301),Ue=({type:xe,style:Qe})=>{const Ie=Me.createElement("div",{className:pe.wrap,onClick:we=>{we.preventDefault(),we.stopPropagation()}},Me.createElement("p",null,xe==="shixun"||xe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Me.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",xe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Me.createElement("div",{className:pe.contact},Me.createElement("div",{className:pe.img},Me.createElement("img",{src:Fe,width:"124px",height:"124px"})),Me.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Me.createElement(y.Z,{content:Ie},Me.createElement("span",{className:pe.text,style:Qe},"\u9AD8\u6D88\u8017"))}},16750:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Re}});var y=ae(59301),pe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Fe=ae(92310),Me=ae.n(Fe),ke=ae(71418),Ue=ae(2859),xe=ae(38147),Qe=ae(65862),Ie=(Ze,Ye,ie)=>new Promise((E,a)=>{var x=te=>{try{z(ie.next(te))}catch(oe){a(oe)}},b=te=>{try{z(ie.throw(te))}catch(oe){a(oe)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,b);z((ie=ie.apply(Ze,Ye)).next())}),Re=({data:Ze,className:Ye,fullWidth:ie,style:E={},onClose:a,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,y.useRef)(null),oe=(0,y.useRef)(null),ue=(0,y.useRef)(null),le=(0,y.useRef)(null),[Ee,be]=(0,y.useState)(!1),[We,De]=(0,y.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,y.useEffect)(()=>{ue.current||(ue.current=document.createElement("style"),document.head.appendChild(ue.current)),Ze!=null&&Ze.visible?(document.body.setAttribute("data-custom","y-hidden"),ue.current.innerHTML=" html { overflow-y: hidden; }",Ze!=null&&Ze.src&&st()):(document.body.removeAttribute("data-custom"),ue.current&&(document.head.removeChild(ue.current),ue.current=null))},[Ze==null?void 0:Ze.visible]);const st=()=>Ie(void 0,null,function*(){be(!0),De("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ce=yield(0,Qe.ZJ)(Ze==null?void 0:Ze.src);te.current.src="",te.current.src=Ce,te.current.onload=function(){Xe()},be(!1),De("")}),Oe=()=>{document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",a()},Ke=Ce=>Ie(void 0,null,function*(){be(!0),De("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ct=yield(0,xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ze.title,file:Ce.dataUrl}});ct!=null&&ct.id&&!z?(yield(0,xe.ZP)(`/api/attachments/${Ze.id}/add_subitem.json`,{method:"post",body:{subitem_id:ct==null?void 0:ct.id,settings:JSON.stringify(Ce.state)}})).status===0&&x():ct!=null&&ct.id&&x(ct),document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",be(!1),De("")}),ze=()=>{const Ce=document.querySelector('a[href="https://markerjs.com/"]');Ce&&Ce.parentNode&&(Ce.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(mt=>{const Ct=document.querySelector(mt.name);Ct&&Ct.setAttribute("title",mt.title)})},Xe=()=>{oe.current=new Ue.hP(te.current),oe.current.targetRoot=le.current,oe.current.addEventListener("render",Ke),oe.current.addEventListener("beforeclose",Oe),b&&(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(),Ze!=null&&Ze.snapshotData&&oe.current.restoreState(Ze.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ze()},300)};return y.createElement(y.Fragment,null,(Ze==null?void 0:Ze.visible)&&y.createElement(ke.Z,{spinning:Ee,tip:We,style:{position:"absolute"}},y.createElement("div",{ref:le,className:Me()(pe.imageDimensions,Ye,ie?pe.fullWidth:""),style:E},y.createElement("img",{className:pe.img,ref:te}))))}},41348:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return _n},$:function(){return pt}});var y=ae(59301),pe={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Fe=ae(92310),Me=ae.n(Fe),ke=ae(78241),Ue=ae(8591),xe=ae(43418),Qe=ae(5871),Ie=ae(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Cbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",le=ae(38147),Ee=ae(45917),be=ae(5623),We=ae(48850),De=ae(27687),st=ae(45053),Oe=ae(15342),Ke=ae.n(Oe),ze=(Zt,At,yt)=>new Promise((Gn,Qn)=>{var Kt=Un=>{try{Ba(yt.next(Un))}catch(On){Qn(On)}},ta=Un=>{try{Ba(yt.throw(Un))}catch(On){Qn(On)}},Ba=Un=>Un.done?Gn(Un.value):Promise.resolve(Un.value).then(Kt,ta);Ba((yt=yt.apply(Zt,At)).next())}),Ce=y.memo(({tagName:Zt="div",value:At="",className:yt,style:Gn={},onBlur:Qn,id:Kt})=>{const ta=(0,y.useRef)(null);(0,y.useEffect)(()=>{if(!ta.current)return;ze(void 0,null,function*(){const On=ta.current;On.innerHTML="";const ya=At==null?void 0:At.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Za of ya)if(Za.startsWith("$$")&&Za.endsWith("$$")||Za.startsWith("`$$")&&Za.endsWith("$$`")){const Ya=Za.startsWith("`$$")?Za.slice(3,-3):Za.slice(2,-2),Ca=document.createElement("span");Ca.setAttribute("contentEditable","false"),Ca.setAttribute("title",Za),Ca.className="edu_latex",On.appendChild(Ca),Ke().render(Ya,Ca,{throwOnError:!1})}else{const Ya=Za==null?void 0:Za.replace(/<[^>]*>/g,Ca=>Ca.startsWith("{var Un,On;if(Qn&&ta.current){const Za=ta.current.cloneNode(!0),Ya=Za.querySelectorAll("span.edu_latex");for(let Ca of Ya){const rr=Ca.getAttribute("title"),qa=document.createTextNode(rr||""),Fa=Ca;(On=(Un=Fa.parentNode)==null?void 0:Un.replaceChild)==null||On.call(Un,qa,Fa)}Qn(Za.innerHTML)}};return y.createElement(y.Fragment,null,y.createElement(Zt,{ref:ta,contentEditable:!0,className:yt,style:Gn,onBlur:Ba}))}),ct=ae(41867),mt=ae(77254),Ct=ae(32609),Et=Object.defineProperty,fn=Object.defineProperties,un=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,rt=(Zt,At,yt)=>At in Zt?Et(Zt,At,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Zt[At]=yt,It=(Zt,At)=>{for(var yt in At||(At={}))ht.call(At,yt)&&rt(Zt,yt,At[yt]);if(Vt)for(var yt of Vt(At))Te.call(At,yt)&&rt(Zt,yt,At[yt]);return Zt},hn=(Zt,At)=>fn(Zt,un(At)),Pt=(Zt,At,yt)=>new Promise((Gn,Qn)=>{var Kt=Un=>{try{Ba(yt.next(Un))}catch(On){Qn(On)}},ta=Un=>{try{Ba(yt.throw(Un))}catch(On){Qn(On)}},Ba=Un=>Un.done?Gn(Un.value):Promise.resolve(Un.value).then(Kt,ta);Ba((yt=yt.apply(Zt,At)).next())});const sn=Zt=>{Zt.preventDefault();let yt=(Zt.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,yt)},Be=Zt=>{Zt.key==="Enter"&&Zt.preventDefault()},qe=({children:Zt,style:At})=>y.createElement("div",{className:pe.leftBox,style:At,onPaste:sn},Zt),qt=({children:Zt,style:At,className:yt})=>y.createElement("div",{className:Me()(pe.rightBox,yt),style:At,onPaste:sn},Zt),nt=({className:Zt,style:At={},width:yt=1200,onCancel:Gn=()=>{},onSuccess:Qn=()=>{},gather:Kt={},mode:ta=1,stickyTop:Ba=0,subDisciplineId:Un=[],hideWordFeatures:On,dataSource:ya=[],customLeftHeadNode:Za,customRightHeadNode:Ya,customLeftContent:Ca,hideRecognition:rr=!1,onExchange:qa,isSingleSelection:Fa=!1,underpinBackgroundStyle:Va={},headExtraNode:va,isRefreshItemBank:En=!1,okText:Qa="\u786E\u5B9A\u5BFC\u5165",onSave:Ht})=>{var dn;const[Aa,er]=(0,y.useState)(1),[tr,_a]=(0,y.useState)(0),[ka,br]=(0,y.useState)(""),[la,Na]=(0,y.useState)(!1),[Wr,Ot]=(0,y.useState)([]),[Fn,ia]=(0,y.useState)([]),[jn,He]=(0,y.useState)(!1),[Yt,xt]=(0,y.useState)(!1),[rn,tn]=(0,y.useState)(!1),[Vn,Ln]=(0,y.useState)(!1),[tt,ot]=(0,y.useState)([]),[Je,Pn]=(0,y.useState)(1),[Cn,Zn]=(0,y.useState)(!1),[Ia,Ea]=(0,y.useState)(!0),[ua,ba]=(0,y.useState)(0),[da,Gt]=(0,y.useState)(!1),[or]=ke.default.useForm(),[fr]=ke.default.useForm(),so=(0,y.useRef)(null),Mt=(0,y.useRef)(null),lr=(0,y.useRef)(),Qr=(0,y.useRef)(null),Oa=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],wr=["C","C++","Java","Python","JavaScript","Ruby"];(0,y.useEffect)(()=>{ya!=null&&ya.length&&ol(ya)},[ya]),(0,y.useEffect)(()=>{Aa===2&&so.current.focus()},[Aa]),(0,y.useEffect)(()=>{rn&&Dr()},[rn]);const vr=()=>{if(Aa===1){Ue.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>Pt(void 0,null,function*(){er(1)})})},Dr=()=>Pt(void 0,null,function*(){const he=yield(0,le.ZP)("/api/disciplines.json",{method:"get",params:{source:ta===1?"new_question":"subject"}});ot(he.disciplines||[])}),Hr=he=>{const Bt=[],Jt=(vn,bt)=>{vn.length>=2&&Bt.push(vn.join(""));for(let Kn=bt;Kn(he=he||"",he=String(he),he=he.replace(/\s+/g,""),he),yr=he=>(he=he||"",he=String(he),he=he.replace(/
/g,""),he=he.replace(/
/g,` `),he=he.replace(/<\/div>/g,` -`),he=wt(he),he),na=he=>he.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),wt=he=>he.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),pr=he=>{var Dt;const $t=he.clipboardData;if($t){const pn=$t.types.toString(),Ct=$t.items;if(pn==="Files"||$t.types.indexOf("Files")>-1){he.preventDefault();try{let qn=Ct[1];((Dt=Ct[0])==null?void 0:Dt.kind)==="file"&&(qn=Ct[0]);const aa=qn.getAsFile();(0,st.I)(aa,Pn=>{var Tn;if(Pn.id){if(((Tn=aa==null?void 0:aa.type)==null?void 0:Tn.indexOf("image"))>-1){const ar=``;document.execCommand("insertText",!1,ar)}}else(Pn==null?void 0:Pn.status)===401&&(document.location.href="/user/login")})}catch(qn){We.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Zr(he,Dt){return Ve(this,null,function*(){if(typeof he=="string")return yield Dt(he);if(typeof he!="object"||he===null)return he;if(Array.isArray(he))return yield Promise.all(he.map(Ct=>Ve(this,null,function*(){return yield Zr(Ct,Dt)})));const $t={};for(const pn in he)if(Object.prototype.hasOwnProperty.call(he,pn)){const Ct=he[pn];typeof Ct=="string"?$t[pn]=yield Dt(Ct):typeof Ct=="object"?$t[pn]=yield Zr(Ct,Dt):$t[pn]=Ct}return $t})}const Gr=()=>Ve(void 0,null,function*(){var he;Oa(!0),yr("\u5904\u7406\u4E2D"),yield new Promise(pn=>setTimeout(pn,1e3));let Dt=(he=jt.current)==null?void 0:he.querySelectorAll('[data-text="edit"]'),$t="";try{Dt.forEach(function(pn){var Ct,qn,aa,Pn;const Tn=pn.cloneNode(!0),ar=Tn.querySelectorAll("span.edu_latex");for(let on of ar){const _t=on.getAttribute("title"),wn=document.createTextNode(_t),Va=on;(qn=(Ct=Va.parentNode)==null?void 0:Ct.replaceChild)==null||qn.call(Ct,wn,Va)}const Jn=Tn.querySelectorAll("span[style]");for(let on of Jn)if(on.style.fontFamily){const _t=on.innerHTML,wn=document.createTextNode(_t),Va=on;(Pn=(aa=Va.parentNode)==null?void 0:aa.replaceChild)==null||Pn.call(aa,wn,Va)}Tn==null||Tn.childNodes.forEach(function(on){on.nodeType===Node.ELEMENT_NODE&&on.localName!=="h5"&&on.localName!=="h4"?$t+=`

${on.innerHTML}

`:on.nodeType===Node.TEXT_NODE&&($t+=`

${on.textContent}

`)})}),Vo("/api/intelligent_imports/import.json",{html:wt($t)})}catch(pn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",pn)}}),hr=he=>{let Dt=he.filter($t=>!!($t!=null&&$t.type));return Dt=Dt.map($t=>{var pn;const Ct=(pn=Vr.find(aa=>aa.id===($t==null?void 0:$t.type)))==null?void 0:pn.deal,qn=Sn(Tt({},$t),{id:String(Math.random()).slice(-6),knowledgePoint:ka($t==null?void 0:$t.knowledgePoint)});return Ct?Ct(qn):qn}),Dt},On=()=>{if(ya===1){We.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:Gr})},ha=()=>y.createElement("div",{className:pe.row},y.createElement("div",{className:pe.leftLayout},y.createElement(tt,{style:{height:675}},ya===1&&y.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>lr(2)},y.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",y.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",y.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",y.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",y.createElement("br",null)),y.createElement("div",{className:pe.imgBox,style:{marginTop:75}},y.createElement("img",{width:56,src:te}),y.createElement("span",null,"\u7F16\u8F91\u533A"))),ya===2&&y.createElement("div",{"data-text":"edit",onBlur:()=>{Yr.current.innerHTML||lr(1)},ref:Yr,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),y.createElement("div",{className:pe.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},y.createElement("div",{className:pe.imgBox,style:{marginTop:240}},y.createElement("img",{width:56,src:oe}),y.createElement("span",null,"\u9884\u89C8\u533A")))),la=(he,Dt,$t,pn)=>{var Ct;console.log(he,Dt,$t,pn,"onDataChange\u4FEE\u6539\u6570\u503C");const qn=JSON.parse(JSON.stringify(vn));pn===void 0?qn[Dt][he]=$t:qn[Dt].questions[pn][he]=$t;const aa=Tt({},qn[Dt]),Pn=(Ct=Vr.find(Tn=>Tn.id===(aa==null?void 0:aa.type)))==null?void 0:Ct.deal;qn[Dt]=Pn(aa),ua(qn)},Xn=(he,Dt,$t)=>{var pn;const Ct=$t!==void 0,qn=(pn=Vr.find(Tn=>Tn.id===(he==null?void 0:he.type)))==null?void 0:pn.type,aa=`${Dt+1}.${$t===void 0?"":$t+1+"."}`,Pn=`${(he==null?void 0:he.type)==="7"?"{{":""}${aa}\u3010${qn}\u3011${(he==null?void 0:he.question)||""}`;return y.createElement(y.Fragment,null,Ct&&y.createElement("h4",{contentEditable:!0}),y.createElement(Ae,{id:he==null?void 0:he.id,tagName:"div",value:Pn}))},Sr=(he,Dt)=>Ve(void 0,null,function*(){var $t;const pn=yield Za(he,Dt),Ct=($t=pn==null?void 0:pn.data)==null?void 0:$t.content;if(Ct!=null&&Ct.length){const qn=hr(Ct)[0];Rr.splice(Dt,1,qn),vn.splice(Dt,1,qn),It([...Rr]),ua([...vn])}}),xr=(he,Dt,$t)=>{var pn;const Ct=$t!==void 0,qn=(pn=Vr.find(Pn=>Pn.id===(he==null?void 0:he.type)))==null?void 0:pn.type,aa=`${Dt+1}.${$t===void 0?"":$t+1+"."}`;return Ct?y.createElement("div",{style:{padding:"10px 18px"}},`${aa}\u3010${qn}\u3011`,y.createElement(Ae,{id:he==null?void 0:he.id,tagName:"span",className:pe.edit,onBlur:Pn=>la("question",Dt,Pn,$t),value:(he==null?void 0:he.question)||""})):y.createElement(y.Fragment,null,y.createElement("div",{className:pe.actionHead},y.createElement("div",{className:"c-light-primary"},`${aa}\u3010${qn}\u3011`),_n!==1&&y.createElement(Ye.Z,{disabled:(he==null?void 0:he.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Pn=>la("score",Dt,Pn,$t),value:he==null?void 0:he.score}),y.createElement(Ne.Z,{align:"middle",style:{marginLeft:"auto"}},!!Za&&y.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Sr(he,Dt)},y.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),y.createElement(we.default,{onChange:Pn=>la("checked",Dt,Pn.target.checked,$t),checked:!!(he!=null&&he.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),y.createElement(Ae,{id:he==null?void 0:he.id,tagName:"div",style:{padding:"10px 18px"},className:pe.edit,onBlur:Pn=>la("question",Dt,Pn,$t),value:he==null?void 0:he.question}))},Mr=(he,Dt,$t)=>y.createElement(y.Fragment,null,["0","1","2","4"].includes(he==null?void 0:he.type)&&y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u7B54\u6848\uFF1A${Dt||""}`,tagName:"p"}),!$t&&y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u96BE\u5EA6\uFF1A${(he==null?void 0:he.difficulty)||""}`,tagName:"p"}),(he==null?void 0:he.type)!=="7"&&y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u89E3\u6790\uFF1A${(he==null?void 0:he.analyze)||""}`,tagName:"p"}),!$t&&y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(he==null?void 0:he.knowledgePoint)||""}`,tagName:"p"})),Br=(he,Dt,$t,pn)=>{const Ct=pn!==void 0,qn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],aa=Ct&&!he.last&&!he.errorMsg?{marginBottom:10}:{},Pn=qn.map(Tn=>({key:Tn,label:Tn,onClick:()=>la("difficulty",$t,Tn,pn)}));return y.createElement("div",{className:pe.liWrap,style:aa},["4"].includes(he==null?void 0:he.type)&&y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),y.createElement(Ae,{id:he==null?void 0:he.id,tagName:"div",className:`${pe.edit} c-black`,onBlur:Tn=>la("answer",$t,[Tn],pn),value:Dt})),!Ct&&y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),y.createElement("div",{className:"c-black"},y.createElement(Me.Z,{menu:{items:Pn}},y.createElement("span",{className:"c-light-primary"},he==null?void 0:he.difficulty,y.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(he==null?void 0:he.type)!=="7"&&y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),y.createElement(Ae,{id:he==null?void 0:he.id,tagName:"div",className:`${pe.edit} c-grey-333`,onBlur:Tn=>la("analyze",$t,Tn,pn),value:he==null?void 0:he.analyze})),!Ct&&y.createElement("div",{onKeyDown:be,className:pe.li},y.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),y.createElement(Ae,{id:he==null?void 0:he.id,tagName:"div",value:(he==null?void 0:he.knowledgePoint)||"",className:`${pe.edit} c-grey-333`,onBlur:Tn=>la("knowledgePoint",$t,ka(Ca(Tn)),pn)})))},dr=he=>y.createElement(y.Fragment,null,typeof(he==null?void 0:he.errorMsg)=="string"&&!!(he!=null&&he.errorMsg)&&y.createElement("h5",{contentEditable:!1},y.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),y.createElement("div",null,he==null?void 0:he.errorMsg))),Eo=he=>y.createElement(y.Fragment,null,typeof(he==null?void 0:he.errorMsg)=="string"&&!!(he!=null&&he.errorMsg)&&y.createElement("h5",null,y.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),y.createElement("div",null,he==null?void 0:he.errorMsg))),po=(he,Dt,$t,pn)=>{let Ct="flex";return(La&&sa!==pn||Mn&&!($t!=null&&$t.errorMsg))&&(Ct="none"),y.createElement("div",{className:pe.row,style:{display:Ct}},y.createElement("div",{className:pe.leftLayout},wa||y.createElement(tt,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},he))),y.createElement("div",{className:pe.rightLayout},y.createElement(Jt,{className:$t!=null&&$t.errorMsg?pe.error:""},Dt)))},Vr=[{id:"0",type:"\u5355\u9009\u9898",element:(he,Dt,$t)=>{var pn,Ct;const qn=$t!==void 0;let aa=(pn=he==null?void 0:he.answer)==null?void 0:pn[0];const Pn=y.createElement(y.Fragment,null,Xn(he,Dt,$t),(Ct=he==null?void 0:he.options)==null?void 0:Ct.map((on,_t)=>y.createElement(Ae,{id:he==null?void 0:he.id,key:_t,value:`${Bt[_t]}.${on}`,tagName:"p"})),Mr(he,aa,qn),dr(he));let Tn=qn?he:vn[Dt];const ar=Tn==null?void 0:Tn.options,Jn=y.createElement(y.Fragment,null,xr(Tn,Dt,$t),ar==null?void 0:ar.map((on,_t)=>{var wn;return y.createElement("div",{key:_t,className:pe.option},y.createElement("aside",{className:((wn=Tn==null?void 0:Tn.answer)==null?void 0:wn[0])===Bt[_t]?pe.active:"",onClick:()=>la("answer",Dt,[Bt[_t]],$t)},Bt[_t]),y.createElement(Ae,{id:Tn==null?void 0:Tn.id,tagName:"div",className:`${pe.text}`,onBlur:Va=>{ar[_t]=Va,la("options",Dt,ar,$t)},value:on}))}),Br(Tn,"",Dt,$t),Eo(Tn));return qn?[Pn,Jn]:po(Pn,Jn,Tn,Dt)},deal:he=>{var Dt,$t,pn;he.score=he.score===void 0?2:he.score;let Ct=ka((Dt=he==null?void 0:he.answer)==null?void 0:Dt[0]).toUpperCase();he.answer=Ct?[Ct]:[];let qn=[];if(!(he!=null&&he.options))qn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{he.options=($t=he.options)==null?void 0:$t.slice(0,8);const aa=he.options.map(Tn=>Tn==null?void 0:Tn.trim().replace(/^\s+|\s+$/g,""));new Set(aa).size!==aa.length&&qn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Ct||qn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Ct&&(Bt.slice(0,((pn=he==null?void 0:he.options)==null?void 0:pn.length)||8).includes(Ct)||qn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),ka(he==null?void 0:he.question)||qn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=qn.join(` -`),he}},{id:"1",type:"\u591A\u9009\u9898",element:(he,Dt,$t)=>{var pn,Ct;const qn=$t!==void 0;let aa=(pn=he==null?void 0:he.answer)==null?void 0:pn[0];const Pn=y.createElement(y.Fragment,null,Xn(he,Dt,$t),(Ct=he==null?void 0:he.options)==null?void 0:Ct.map((on,_t)=>y.createElement(Ae,{id:he==null?void 0:he.id,key:_t,value:`${Bt[_t]}.${on}`,tagName:"p"})),Mr(he,aa,qn),dr(he));let Tn=qn?he:vn[Dt];const ar=Tn==null?void 0:Tn.options,Jn=y.createElement(y.Fragment,null,xr(Tn,Dt,$t),ar==null?void 0:ar.map((on,_t)=>{var wn,Va;return y.createElement("div",{key:_t,className:pe.option},y.createElement("aside",{className:(Va=(wn=Tn==null?void 0:Tn.answer)==null?void 0:wn[0])!=null&&Va.includes(Bt[_t])?pe.active:"",onClick:()=>{var wr;let no=((wr=Tn==null?void 0:Tn.answer)==null?void 0:wr[0])||"";const ho=Bt[_t];no.includes(ho)?no=no.replace(new RegExp(ho,"g"),""):no+=ho,no=no.split("").sort().join(""),la("answer",Dt,[no],$t)}},Bt[_t]),y.createElement(Ae,{id:Tn==null?void 0:Tn.id,tagName:"div",className:`${pe.text}`,onBlur:wr=>{ar[_t]=wr,la("options",Dt,ar,$t)},value:on}))}),Br(Tn,"",Dt,$t),Eo(Tn));return qn?[Pn,Jn]:po(Pn,Jn,Tn,Dt)},deal:he=>{var Dt,$t,pn;he.score=he.score===void 0?2:he.score;let Ct=ka((Dt=he==null?void 0:he.answer)==null?void 0:Dt[0]).toUpperCase().split("").sort().join("");he.answer=Ct?[Ct]:[];let qn=[];if(!(he!=null&&he.options))qn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{he.options=($t=he.options)==null?void 0:$t.slice(0,8);const aa=he.options.map(Tn=>Tn==null?void 0:Tn.trim().replace(/^\s+|\s+$/g,""));new Set(aa).size!==aa.length&&qn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Ct||qn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Ct){const aa=Bt.slice(0,((pn=he==null?void 0:he.options)==null?void 0:pn.length)||8);qa(aa).includes(Ct)||qn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return ka(he==null?void 0:he.question)||qn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=qn.join(` -`),he}},{id:"2",type:"\u5224\u65AD\u9898",element:(he,Dt,$t)=>{var pn,Ct;const qn=$t!==void 0;let aa=(pn=he==null?void 0:he.answer)==null?void 0:pn[0];const Pn=y.createElement(y.Fragment,null,Xn(he,Dt,$t),Mr(he,aa,qn),dr(he));let Tn=qn?he:vn[Dt];const ar=["\u6B63\u786E","\u9519\u8BEF"];let Jn=((Ct=Tn==null?void 0:Tn.answer)==null?void 0:Ct[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Jn)?Jn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Jn)&&(Jn="\u9519\u8BEF");const on=y.createElement(y.Fragment,null,xr(Tn,Dt,$t),ar==null?void 0:ar.map((_t,wn)=>y.createElement("div",{key:wn,className:pe.option},y.createElement("aside",{style:{borderRadius:2},className:Jn===_t?pe.active:"",onClick:()=>la("answer",Dt,[_t],$t)},_t==="\u6B63\u786E"?"T":"F"),y.createElement("div",{style:{pointerEvents:"none"},className:`${pe.text}`},_t))),Br(Tn,"",Dt,$t),Eo(Tn));return qn?[Pn,on]:po(Pn,on,Tn,Dt)},deal:he=>{var Dt;he.score=he.score===void 0?2:he.score;let $t=ka((Dt=he==null?void 0:he.answer)==null?void 0:Dt[0]);he.answer=$t?[$t]:[];let pn=[];return $t||pn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),$t&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes($t)&&pn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),ka(he==null?void 0:he.question)||pn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=pn.join(` -`),he}},{id:"3",type:"\u586B\u7A7A\u9898",element:(he,Dt,$t)=>{var pn,Ct;const qn=$t!==void 0,aa=y.createElement(y.Fragment,null,Xn(he,Dt,$t),(pn=he==null?void 0:he.answer)==null?void 0:pn.map((ar,Jn)=>y.createElement(Ae,{id:he==null?void 0:he.id,key:Jn,tagName:"p",value:`\u7B54\u6848${Jn+1}\uFF1A${ar.text||""}`})),Mr(he,"",qn),dr(he));let Pn=qn?he:vn[Dt];const Tn=y.createElement(y.Fragment,null,xr(Pn,Dt,$t),(Ct=Pn==null?void 0:Pn.answer)==null?void 0:Ct.map((ar,Jn)=>y.createElement("div",{key:Jn,className:pe.option},y.createElement("aside",{className:pe.fill},"\u586B\u7A7A\u9879",Jn+1),ar.model===1&&y.createElement(Ae,{id:Pn==null?void 0:Pn.id,tagName:"div",onBlur:on=>{Pn.answer[Jn].latex=Ca(on),la("answer",Dt,Pn.answer,$t)},className:`${pe.text}`,value:ar.latex}),ar.model===2&&y.createElement(De.Z,{value:ar.latex,onChange:on=>{Pn.answer[Jn].latex=on,la("answer",Dt,Pn.answer,$t)}}))),Br(Pn,"",Dt,$t),Eo(Pn));return qn?[aa,Tn]:po(aa,Tn,Pn,Dt)},deal:he=>{var Dt,$t,pn,Ct;he.score=he.score===void 0?2:he.score,he.question=(Dt=he.question)==null?void 0:Dt.replaceAll("\u2581","_");const qn=($t=he.answer)==null?void 0:$t.map(Pn=>{if(Object.prototype.toString.call(Pn)==="[object Object]")return Pn;Pn=Pn==null?void 0:Pn.trim();const Tn={model:1,text:Pn,latex:Pn};return Pn.startsWith("$$")&&Pn.endsWith("$$")||Pn.startsWith("`$$")&&Pn.endsWith("$$`")?(Tn.model=2,Tn.latex=Pn.slice(2,-2)):Tn.latex=Ca(Pn),Tn});he.answer=qn;let aa=[];return qn||aa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),ka(he==null?void 0:he.question)?he!=null&&he.question.includes("_")?(pn=he==null?void 0:he.answer)!=null&&pn.length&&((he==null?void 0:he.question.match(/_+/g))||[]).length!==((Ct=he==null?void 0:he.answer)==null?void 0:Ct.length)&&aa.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):aa.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):aa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=aa.join(` -`),he}},{id:"4",type:"\u7B80\u7B54\u9898",element:(he,Dt,$t)=>{var pn,Ct;const qn=$t!==void 0;let aa=(pn=he==null?void 0:he.answer)==null?void 0:pn[0];const Pn=y.createElement(y.Fragment,null,Xn(he,Dt,$t),Mr(he,aa,qn),dr(he));let Tn=qn?he:vn[Dt];const ar=y.createElement(y.Fragment,null,xr(Tn,Dt,$t),Br(Tn,(Ct=Tn==null?void 0:Tn.answer)==null?void 0:Ct[0],Dt,$t),Eo(Tn));return qn?[Pn,ar]:po(Pn,ar,Tn,Dt)},deal:he=>{he.score=he.score===void 0?5:he.score;let Dt=[];return ka(he==null?void 0:he.question)||Dt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=Dt.join(` -`),he}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(he,Dt)=>{var $t,pn;const Ct=vn[Dt],qn=fa.slice(0,4).map(aa=>({key:aa,label:aa,onClick:()=>la("platform",Dt,aa)}));return y.createElement("div",{className:pe.row,style:{display:Mn?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},y.createElement("div",{className:pe.leftLayout},y.createElement(tt,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Xn(he,Dt),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(he==null?void 0:he.description)||""}`,tagName:"p"}),Mr(he),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${he==null?void 0:he.timeLimit}`,tagName:"p"}),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(he==null?void 0:he.platform)||""}`,tagName:"p"}),y.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),y.createElement("h4",null),y.createElement(Ae,{id:he==null?void 0:he.id,value:(he==null?void 0:he.code)||"",tagName:"div"}),($t=he==null?void 0:he.inputs)==null?void 0:$t.map((aa,Pn)=>{var Tn;return y.createElement(y.Fragment,{key:Pn},y.createElement("h4",null),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Pn+1})\u8F93\u5165\uFF1A${aa||""}`,tagName:"div"}),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Pn+1})\u8F93\u51FA\uFF1A${((Tn=he==null?void 0:he.outputs)==null?void 0:Tn[Pn])||""}`,tagName:"div"}))}),dr(he)))),y.createElement("div",{className:pe.rightLayout},y.createElement(Jt,{className:Ct!=null&&Ct.errorMsg?pe.error:""},xr(Ct,Dt),y.createElement("div",{className:pe.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.description,tagName:"div",onBlur:aa=>la("description",Dt,aa)}))),Br(Ct,"",Dt),y.createElement("div",{className:pe.liWrap},y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.timeLimit,tagName:"div",onBlur:aa=>la("timeLimit",Dt,Ca(aa))})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),y.createElement("div",{className:"c-black"},y.createElement(Me.Z,{menu:{items:qn}},y.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.platform,y.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),y.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},y.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.code)||"",onBlur:aa=>la("code",Dt,Ca(aa)),tagName:"div"}))),(pn=Ct==null?void 0:Ct.inputs)==null?void 0:pn.map((aa,Pn)=>{var Tn;return y.createElement("div",{className:pe.liWrap,key:Pn},y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Pn+1,")\u8F93\u5165\uFF1A"),y.createElement(Ae,{id:Ct==null?void 0:Ct.id,value:aa||"",className:pe.edit,onBlur:ar=>{const Jn=[...(Ct==null?void 0:Ct.inputs)||[]];Jn[Pn]=Ca(ar),la("inputs",Dt,Jn)},tagName:"div"})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Pn+1,")\u8F93\u51FA\uFF1A"),y.createElement(Ae,{id:Ct==null?void 0:Ct.id,value:((Tn=Ct==null?void 0:Ct.outputs)==null?void 0:Tn[Pn])||"",className:pe.edit,onBlur:ar=>{const Jn=[...(Ct==null?void 0:Ct.outputs)||[]];Jn[Pn]=Ca(ar),la("outputs",Dt,Jn)},tagName:"div"})))}),Eo(Ct))))},deal:he=>{var Dt,$t,pn;he.score=he.score===void 0?10:he.score,he.code=(Dt=he.code)==null?void 0:Dt.trim();let Ct=[];ka(he==null?void 0:he.question)?(($t=he==null?void 0:he.question)==null?void 0:$t.length)>60&&Ct.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Ct.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ka(he==null?void 0:he.description)||Ct.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const qn=ka(String((he==null?void 0:he.timeLimit)||""));if(he.timeLimit=qn,(!qn||qn&&!["3","4","5","6","7","8","9","10"].includes(qn))&&Ct.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),he.platform=ka(he==null?void 0:he.platform),he!=null&&he.platform){const aa=["c","c++","java","python"],Pn=(pn=he==null?void 0:he.platform)==null?void 0:pn.toLowerCase(),Tn=aa.findIndex(ar=>ar===Pn);Tn>-1?he.platform=fa[Tn]:Ct.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Ct.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(he!=null&&he.inputs)||!(he!=null&&he.outputs))he.inputs=[],he.outputs=[],Ct.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const aa=Math.min(he.inputs.length,he.outputs.length);he.inputs=he.inputs.slice(0,aa),he.outputs=he.outputs.slice(0,aa),he.outputs.some(Pn=>!ka(Pn))&&Ct.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return he.errorMsg=Ct.join(` -`),he}},{id:"7",type:"\u7EC4\u5408\u9898",element:(he,Dt)=>{var $t,pn;const Ct=vn[Dt];return y.createElement("div",{className:pe.row,style:{display:Mn?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},y.createElement("div",{className:pe.leftLayout},y.createElement(tt,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Xn(he,Dt),Mr(he),($t=he==null?void 0:he.questions)==null?void 0:$t.map((qn,aa)=>{var Pn;const Tn=(Pn=Vr.find(ar=>ar.id===(qn==null?void 0:qn.type)))==null?void 0:Pn.element;return y.createElement(y.Fragment,{key:`left-${he.id}-${aa}`},Tn(qn,Dt,aa)[0])}),dr(he),y.createElement("p",{contentEditable:!0},"}}")))),y.createElement("div",{className:pe.rightLayout},y.createElement(Jt,{className:Ct!=null&&Ct.errorMsg?pe.error:""},xr(Ct,Dt),Br(Ct,"",Dt),(pn=Ct==null?void 0:Ct.questions)==null?void 0:pn.map((qn,aa)=>{var Pn;const Tn=(Pn=Vr.find(ar=>ar.id===(qn==null?void 0:qn.type)))==null?void 0:Pn.element;return y.createElement(y.Fragment,{key:`right-${Ct.id}-${aa}`},Tn(qn,Dt,aa)[1])}),Eo(Ct))))},deal:he=>{var Dt,$t,pn,Ct,qn;const aa=hr,Pn=[...Vr],Tn=Pn.findIndex(_t=>_t.id==="0"),ar=Pn.findIndex(_t=>_t.id==="1");if(Tn!==-1){const _t=Pn[Tn].deal;Pn[Tn].deal=wn=>{const Va=_t(wn);return Va.errorMsg&&(Va.errorMsg=Va.errorMsg.split(` -`).filter(wr=>wr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` -`)),Va}}if(ar!==-1){const _t=Pn[ar].deal;Pn[ar].deal=wn=>{const Va=_t(wn);return Va.errorMsg&&(Va.errorMsg=Va.errorMsg.split(` -`).filter(wr=>wr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` -`)),Va}}he.questions=(Dt=he.questions)!=null&&Dt.length?hr(he.questions.slice(0,20)):[],he.questions=($t=he.questions)==null?void 0:$t.map((_t,wn)=>{var Va;if(_t.type==="0"||_t.type==="1"){const wr=(Va=_t.options)==null?void 0:Va.map(no=>no==null?void 0:no.trim().replace(/^\s+|\s+$/g,""));wr&&new Set(wr).size!==wr.length&&(_t.errorMsg=(_t.errorMsg?_t.errorMsg+` -`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Sn(Tt({},_t),{last:wn===he.questions.length-1})});const Jn=(pn=he.questions)==null?void 0:pn.reduce((_t,wn)=>{const Va=parseFloat(wn.score);return isNaN(Va)?_t:_t+Va},0);he.score=Jn;let on=[];return(Ct=he.questions)!=null&&Ct.length?he.errorMsg=((qn=he.questions)==null?void 0:qn.findIndex(_t=>!!_t.errorMsg))>-1:on.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),ka(he==null?void 0:he.question)||on.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),on.length&&(he.errorMsg=on.join(` -`)),he}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(he,Dt)=>{var $t,pn;const Ct=vn[Dt],qn=fa.map(aa=>({key:aa,label:aa,onClick:()=>la("platform",Dt,aa)}));return y.createElement("div",{className:pe.row,style:{display:Mn?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},y.createElement("div",{className:pe.leftLayout},y.createElement(tt,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Xn(he,Dt),Mr(he),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${he==null?void 0:he.timeLimit}`,tagName:"p"}),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(he==null?void 0:he.platform)||""}`,tagName:"p"}),y.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),y.createElement("h4",null),y.createElement(Ae,{id:he==null?void 0:he.id,value:(he==null?void 0:he.code)||"",tagName:"div"}),y.createElement("h4",null),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(he==null?void 0:he.input)||""}`,tagName:"p"}),y.createElement(Ae,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(he==null?void 0:he.output)||""}`,tagName:"p"}),($t=he==null?void 0:he.answer)==null?void 0:$t.map((aa,Pn)=>y.createElement(Ae,{key:Pn,id:he==null?void 0:he.id,value:`\u7B54\u6848${Pn+1}\uFF1A${aa||""}`,tagName:"p"})),dr(he)))),y.createElement("div",{className:pe.rightLayout},y.createElement(Jt,{className:Ct!=null&&Ct.errorMsg?pe.error:""},xr(Ct,Dt),Br(Ct,"",Dt),y.createElement("div",{className:pe.liWrap},y.createElement("div",{className:pe.li,onKeyDown:be},y.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.timeLimit,tagName:"div",onBlur:aa=>la("timeLimit",Dt,Ca(aa))})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),y.createElement("div",{className:"c-black"},y.createElement(Me.Z,{menu:{items:qn}},y.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.platform,y.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),y.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},y.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.code)||"",onBlur:aa=>la("code",Dt,Ca(aa)),tagName:"div"})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.input)||"",onBlur:aa=>la("input",Dt,Ca(aa)),tagName:"div"})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),y.createElement(Ae,{className:pe.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.output)||"",onBlur:aa=>la("output",Dt,Ca(aa)),tagName:"div"}))),y.createElement("div",{className:pe.liWrap},(pn=Ct==null?void 0:Ct.answer)==null?void 0:pn.map((aa,Pn)=>y.createElement("div",{className:pe.li,key:Pn},y.createElement("aside",null,"\u7B54\u6848",Pn+1,"\uFF1A"),y.createElement(Ae,{id:Ct==null?void 0:Ct.id,value:aa||"",className:pe.edit,onBlur:Tn=>{const ar=[...(Ct==null?void 0:Ct.answer)||[]];ar[Pn]=Ca(Tn),la("output",Dt,ar)},tagName:"div"})))),Eo(Ct))))},deal:he=>{var Dt,$t,pn,Ct,qn,aa,Pn,Tn;he.score=he.score===void 0?10:he.score,he.code=(pn=($t=(Dt=he.code)==null?void 0:Dt.trim())==null?void 0:$t.replace(/@_@/g,"@\u2581@"))==null?void 0:pn.replace(/@__@/g,"@\u2581\u2581@");let ar=[];if(ka(he==null?void 0:he.question)||ar.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ka(he==null?void 0:he.code)?/@▁@|@▁▁@/.test(he==null?void 0:he.code)?(Ct=he==null?void 0:he.answer)!=null&&Ct.length&&((qn=he==null?void 0:he.code.match(/@▁@|@▁▁@/g))==null?void 0:qn.length)!==((aa=he==null?void 0:he.answer)==null?void 0:aa.length)&&ar.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):ar.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):ar.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),he!=null&&he.answer?(Pn=he.answer)!=null&&Pn.some(on=>!ka(on))&&ar.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):ar.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),he.platform=ka(he==null?void 0:he.platform),he!=null&&he.platform){const on=["c","c++","java","python","javascript","ruby"],_t=(Tn=he==null?void 0:he.platform)==null?void 0:Tn.toLowerCase(),wn=on.findIndex(Va=>Va===_t);wn>-1?he.platform=fa[wn]:ar.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else ar.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");ka(he==null?void 0:he.output)||ar.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Jn=ka(String((he==null?void 0:he.timeLimit)||""));return he.timeLimit=Jn,(!Jn||Jn&&!["3","4","5","6","7","8","9","10"].includes(Jn))&&ar.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),he.errorMsg=ar.join(` -`),he}}],Mo=()=>y.createElement(y.Fragment,null,Rr.filter(he=>{var Dt;return!!((Dt=Vr.find(pn=>pn.id===(he==null?void 0:he.type)))==null?void 0:Dt.element)}).map((he,Dt)=>{var $t;const pn=($t=Vr.find(Ct=>Ct.id===(he==null?void 0:he.type)))==null?void 0:$t.element;return y.createElement(y.Fragment,{key:he.id},pn(he,Dt))})),Do=()=>Ve(void 0,null,function*(){const he=vn.filter(Dt=>!Dt.checked);if(ya!==3||!he.length){We.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(Mt){Vt(!0),yield Mt(vn),Vt(!1);return}_a.setFieldsValue({sub_discipline_id:Wn}),nn(!0)}),ur=(he,Dt=[])=>{if(typeof he=="string")return he.trim();if(Array.isArray(he))return he.map($t=>ur($t,Dt));if(typeof he=="object"&&he!==null){const $t={};for(const pn in he)he.hasOwnProperty(pn)&&(Dt.includes(pn)?$t[pn]=he[pn]:$t[pn]=ur(he[pn],Dt));return $t}return he},Qo=he=>Ve(void 0,null,function*(){const Dt=hr(ur(he));It(Dt),ua(JSON.parse(JSON.stringify(Dt))),lr(3),Oa(!1),Ze(!1)});(0,y.useEffect)(()=>{if(Ta)return;const he=()=>{nr(Dt=>Dt>=90?(clearInterval(gr.current),90):Dt+1)};return gr.current=setInterval(he,5e4/90),()=>clearInterval(gr.current)},[Ta]);const Vo=(he,Dt)=>{Fa(!1);const $t=new FormData;Object.keys(Dt).forEach(Ct=>{$t.append(Ct,Dt[Ct])});const pn=new window.XMLHttpRequest;pn.withCredentials=!0,pn.addEventListener("load",function(Ct){return Ve(this,null,function*(){var qn,aa;try{const Pn=JSON.parse((qn=Ct==null?void 0:Ct.target)==null?void 0:qn.response);if(Fa(!0),nr(100),yield new Promise(Tn=>setTimeout(()=>Tn(),780)),Pn.status===0){if(!((aa=Pn==null?void 0:Pn.data)!=null&&aa.length)){We.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Oa(!1);return}Qo((Pn==null?void 0:Pn.data)||[])}else Oa(!1),We.ZP.warning(Pn==null?void 0:Pn.message)}catch(Pn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Pn)}})}),pn.addEventListener("error",()=>{Oa(!1)}),pn.open("POST",`${b.Z.API_SERVER}${he}`),pn.send($t)},Ko=he=>Ve(void 0,null,function*(){const Dt=he.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(Dt)==-1?(We.ZP.error(`${he.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(Oa(!0),yr("\u5904\u7406\u4E2D"),Vo("/api/intelligent_imports/import.json",{file:he}),Promise.reject())});let Wr=[{key:1,label:y.createElement(Ge.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Ko},y.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,gt.Ny)()||(0,gt.$O)())&&Wr.push({key:2,label:y.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{At.current.onClick()}});const Zo=[vn.length,(en=vn.filter(he=>!!(he!=null&&he.errorMsg)))==null?void 0:en.length];return y.createElement("div",{className:Te()(pe.intelligentBox,"intelligent-body-curb",bt),style:Sn(Tt({},St),{width:Ft}),ref:jt},y.createElement("div",{className:pe.underpin},y.createElement("b",{style:Ja}),y.createElement("b",{style:Ja})),y.createElement("div",{className:pe.head,style:{top:Ea}},y.createElement("div",{className:pe.leftLayout},Aa||y.createElement(y.Fragment,null,y.createElement(Ne.Z,{align:"middle"},y.createElement("div",{className:pe.title},"\u8BD5\u9898\u7F16\u8F91"),!sn&&y.createElement(x.op,{href:`${b.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",y.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),y.createElement(x.op,{onClick:Qn,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!sn&&y.createElement(Me.Z,{overlayClassName:pe.menu,menu:{items:Wr}},y.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Sa&&Sa),y.createElement("div",{className:pe.tip},y.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),y.createElement(Ne.Z,{className:pe.rightLayout,style:{alignItems:"start"}},za||y.createElement(y.Fragment,null,y.createElement("div",{className:pe.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(ya)&&y.createElement(we.default,{className:"ml20",checked:Mn,onChange:he=>Ze(he.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(ya)&&y.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",y.createElement("span",{className:"ml5 mr5 c-light-primary"},Zo[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",y.createElement("span",{className:"ml5 mr5 c-red-e53"},Zo[1]),"\u9898")),La&&y.createElement("div",{className:pe.tabs},Rr==null?void 0:Rr.map((he,Dt)=>y.createElement("div",{onClick:()=>{Ia(Dt)},className:sa===Dt&&pe.active,key:Dt},"\u65B0\u9898",Dt+1)))),y.createElement("div",{className:pe.centerBox},y.createElement("img",{className:"mb10",src:ue,width:56}),!Ka&&y.createElement(x.op,{onClick:On},"\u8BC6\u522B"))),[1,2].includes(ya)&&ha(),[3].includes(ya)&&Mo(),y.createElement("div",{className:"pb10"}),y.createElement("div",{className:pe.buttonFixed},y.createElement("div",{className:pe.buttonWrap},y.createElement(Je.ZP,{size:"middle",className:`${pe.button} mr20`,onClick:it},"\u53D6\u6D88"),y.createElement(Je.ZP,{size:"middle",type:"primary",loading:ma,className:`${pe.button}`,onClick:Do},ga))),y.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:ia,title:null,footer:null,width:320,afterClose:()=>nr(0)},y.createElement(Ne.Z,{align:"middle",style:{flexDirection:"column"}},y.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Ga,y.createElement("span",{className:pe.dotLoading},y.createElement("span",null,"."),y.createElement("span",null,"."),y.createElement("span",null,"."))),y.createElement(ie.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:ir}),y.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",y.createElement("span",{className:"ml5 c-light-primary"},ir,"%")))),y.createElement(xe.default,{centered:!0,open:tn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:kt,width:480,onCancel:()=>nn(!1),onOk:()=>_a.submit(),afterClose:()=>{_a.resetFields()}},y.createElement(ke.default,{style:{maxHeight:550},form:_a,layout:"horizontal",colon:!1,size:"large",onFinish:he=>Ve(void 0,null,function*(){var Dt,$t,pn,Ct,qn;const aa=vn.filter(ar=>!ar.checked&&!ar.errorMsg);Nt(!0);const Pn=()=>Ve(void 0,null,function*(){var ar,Jn;const on=yield(0,le.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Sn(Tt(Tt({},Yt),he),{list:aa,mode:_n})});on.status===0&&(hn&&((ar=on==null?void 0:on.data)!=null&&ar.success)&&window.location.pathname==="/problemset"&&(mt.Z.publish("refresh-item-bank",he.group_id),yield new Promise(_t=>setTimeout(()=>_t(),1500))),_n===1&&We.ZP.success(`\u6210\u529F\u5BFC\u5165${(Jn=on==null?void 0:on.data)==null?void 0:Jn.success}\u9053\u8BD5\u9898`,3),In(on),nn(!1)),Nt(!1)});if(_n!==1){yield Pn();return}const Tn=yield(0,le.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:vn,mode:_n}});if(Tn.status===0){if(!((Dt=Tn==null?void 0:Tn.data)!=null&&Dt.error_size)){yield Pn();return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Nt(!1)},title:"\u63D0\u793A",content:y.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",y.createElement("span",{className:"c-light-primary ml5 mr5"},($t=Tn==null?void 0:Tn.data)==null?void 0:$t.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",y.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(pn=Tn==null?void 0:Tn.data)==null?void 0:pn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",y.createElement("span",{className:"ml5 mr5"},(qn=(Ct=Tn==null?void 0:Tn.data)==null?void 0:Ct.index)==null?void 0:qn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:Pn})}})},y.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),y.createElement(ke.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},y.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:$e})),_n===1&&y.createElement(ke.default.Item,{label:y.createElement(Ne.Z,{align:"middle",style:{justifyContent:"space-between"}},y.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),y.createElement("div",{onClick:()=>Ln(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},y.createElement("img",{className:"mr5 primary-hover",src:Ce}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},y.createElement(Ee.Z,{key:_e})))),y.createElement(xe.default,{centered:!0,open:Kn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:yn,onCancel:()=>Ln(!1),onOk:()=>vr.submit(),afterClose:()=>{vr.resetFields()}},y.createElement(ke.default,{style:{maxHeight:550},form:vr,layout:"horizontal",colon:!1,size:"large",onFinish:he=>Ve(void 0,null,function*(){var Dt;Zn(!0),(yield(0,le.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:he.name,parent_id:(Dt=he==null?void 0:he.parent_id)==null?void 0:Dt[0]}})).status===0?(En(_e+1),setTimeout(()=>{We.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ln(!1),Zn(!1)},1e3)):Zn(!1)})},y.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},y.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),y.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},y.createElement(Ee.Z,null)))),y.createElement(xt.Z,{onSave:he=>{Oa(!0),yr("\u5904\u7406\u4E2D"),Vo("/api/intelligent_imports/import.json",{html:he})},ref:At}))},vt=z;var Nn=nt},27687:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=ae(96408),Be=ae(48136),Te=ae(99298),ke=ae(43418),We=ae(59301);const xe=(0,y.forwardRef)(({callback:Ye,width:Ne,onChange:we,disabled:Me,readOnly:Ge,type:Je="",value:ie="",style:E={}},a)=>{const x=(0,y.useRef)(),b=(0,y.useRef)(),[z,te]=(0,y.useState)(0),[oe,ue]=(0,y.useState)(0),[le,Ee]=(0,y.useState)(!1),Ce=()=>{var Re=document.createElement("div");Re.innerHTML=x.current.getValue();var Ke=Re.innerText;return Ye&&Ye(Ke),Ke};(0,y.useImperativeHandle)(a,()=>({getData:Ce}));const Qe=Re=>{Re.preventDefault();const Ke=Re.clientX-z,ze=Re.clientY-oe;document.body.onmousemove=qe=>{let Ae=qe.clientX-Ke,gt=qe.clientY-ze;const mt=document.getElementsByClassName("markdown-popup-form")[0],xt=window.innerWidth-mt.offsetWidth,Et=window.innerHeight-mt.offsetHeight;Ae=Math.max(0,Math.min(Ae,xt)),gt=Math.max(0,Math.min(gt,Et)),De(qe.clientX,qe.clientY,Ke,ze)&&(te(Ae),ue(gt))},document.body.onmouseup=function(){document.body.onmousemove=null}},De=(Re,Ke,ze,qe)=>{const Ae=document.body.clientHeight,gt=document.body.clientWidth;return Re<20&&ze>Re||Re>gt-20&&zeKe||Ke>Ae-20&&qe{le&&setTimeout(()=>{const Re=document.getElementsByClassName("markdown-popup-form")[0],Ke=window.innerWidth/2-Re.offsetWidth/2,ze=window.innerHeight/2-Re.offsetHeight/2;te(Ke),ue(ze)},0)},[le]);const st=()=>{Me||Ge||Ee(!0)};return We.createElement("div",{style:E},We.createElement("div",{style:{width:Ne||"100%",position:"relative"},className:`${pe.Z.mathFillWrap} ${Me||Ge?"cursorDefault":""}`,onClick:()=>st()},We.createElement("math-field",{disabled:Me,locale:"zh_cn",class:`${pe.Z.mathField} ${Je}`,readOnly:Ge,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:ie?18:14},value:ie||""})),We.createElement(ke.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:oe},title:We.createElement("div",{style:{cursor:"move"},onMouseDown:Qe},"\u8F93\u5165\u516C\u5F0F"),open:le,onOk:()=>{const Re=b.current.getData();x.current.setValue(Re),we(Re),Ee(!1)},onCancel:()=>{Ee(!1)},destroyOnClose:!0,className:"markdown-popup-form"},We.createElement(Te.Z,{value:ie,ref:b,onChange:we,showSaveButton:!1})))});Gt.Z=xe},99298:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=ae(95237),Be=ae(43604),Te=ae(99313),ke=ae(3113),We=ae(6339),xe=ae(96408),Ye=ae(48136),Ne=ae(59301);const we=(0,y.forwardRef)(({callback:Me,showSaveButton:Ge,value:Je=""},ie)=>{const E=(0,y.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 "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +`),he=Qt(he),he),ga=he=>he.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),Qt=he=>he.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),hr=he=>{var Bt;const Jt=he.clipboardData;if(Jt){const vn=Jt.types.toString(),bt=Jt.items;if(vn==="Files"||Jt.types.indexOf("Files")>-1){he.preventDefault();try{let Kn=bt[1];((Bt=bt[0])==null?void 0:Bt.kind)==="file"&&(Kn=bt[0]);const qn=Kn.getAsFile();(0,st.I)(qn,An=>{var Mn;if(An.id){if(((Mn=qn==null?void 0:qn.type)==null?void 0:Mn.indexOf("image"))>-1){const Ua=``;document.execCommand("insertText",!1,Ua)}}else(An==null?void 0:An.status)===401&&(document.location.href="/user/login")})}catch(Kn){Ue.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Ur(he,Bt){return Pt(this,null,function*(){if(typeof he=="string")return yield Bt(he);if(typeof he!="object"||he===null)return he;if(Array.isArray(he))return yield Promise.all(he.map(bt=>Pt(this,null,function*(){return yield Ur(bt,Bt)})));const Jt={};for(const vn in he)if(Object.prototype.hasOwnProperty.call(he,vn)){const bt=he[vn];typeof bt=="string"?Jt[vn]=yield Bt(bt):typeof bt=="object"?Jt[vn]=yield Ur(bt,Bt):Jt[vn]=bt}return Jt})}const Yr=()=>Pt(void 0,null,function*(){var he;Na(!0),br("\u5904\u7406\u4E2D"),yield new Promise(vn=>setTimeout(vn,1e3));let Bt=(he=Mt.current)==null?void 0:he.querySelectorAll('[data-text="edit"]'),Jt="";try{Bt.forEach(function(vn){var bt,Kn,qn,An;const Mn=vn.cloneNode(!0),Ua=Mn.querySelectorAll("span.edu_latex");for(let nn of Ua){const Ut=nn.getAttribute("title"),xn=document.createTextNode(Ut),Ma=nn;(Kn=(bt=Ma.parentNode)==null?void 0:bt.replaceChild)==null||Kn.call(bt,xn,Ma)}const Hn=Mn.querySelectorAll("span[style]");for(let nn of Hn)if(nn.style.fontFamily){const Ut=nn.innerHTML,xn=document.createTextNode(Ut),Ma=nn;(An=(qn=Ma.parentNode)==null?void 0:qn.replaceChild)==null||An.call(qn,xn,Ma)}Mn==null||Mn.childNodes.forEach(function(nn){nn.nodeType===Node.ELEMENT_NODE&&nn.localName!=="h5"&&nn.localName!=="h4"?Jt+=`

${nn.innerHTML}

`:nn.nodeType===Node.TEXT_NODE&&(Jt+=`

${nn.textContent}

`)})}),el("/api/intelligent_imports/import.json",{html:Qt(Jt)})}catch(vn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",vn)}}),sr=he=>{let Bt=he.filter(Jt=>!!(Jt!=null&&Jt.type));return Bt=Bt.map(Jt=>{var vn;const bt=(vn=$r.find(qn=>qn.id===(Jt==null?void 0:Jt.type)))==null?void 0:vn.deal,Kn=hn(It({},Jt),{id:String(Math.random()).slice(-6),knowledgePoint:pr(Jt==null?void 0:Jt.knowledgePoint)});return bt?bt(Kn):Kn}),Bt},Dn=()=>{if(Aa===1){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:Yr})},ma=()=>y.createElement("div",{className:pe.row},y.createElement("div",{className:pe.leftLayout},y.createElement(qe,{style:{height:675}},Aa===1&&y.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>er(2)},y.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",y.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",y.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",y.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",y.createElement("br",null)),y.createElement("div",{className:pe.imgBox,style:{marginTop:75}},y.createElement("img",{width:56,src:te}),y.createElement("span",null,"\u7F16\u8F91\u533A"))),Aa===2&&y.createElement("div",{"data-text":"edit",onBlur:()=>{so.current.innerHTML||er(1)},ref:so,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),y.createElement("div",{className:pe.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},y.createElement("div",{className:pe.imgBox,style:{marginTop:240}},y.createElement("img",{width:56,src:oe}),y.createElement("span",null,"\u9884\u89C8\u533A")))),na=(he,Bt,Jt,vn)=>{var bt;console.log(he,Bt,Jt,vn,"onDataChange\u4FEE\u6539\u6570\u503C");const Kn=JSON.parse(JSON.stringify(Fn));vn===void 0?Kn[Bt][he]=Jt:Kn[Bt].questions[vn][he]=Jt;const qn=It({},Kn[Bt]),An=(bt=$r.find(Mn=>Mn.id===(qn==null?void 0:qn.type)))==null?void 0:bt.deal;Kn[Bt]=An(qn),ia(Kn)},Yn=(he,Bt,Jt)=>{var vn;const bt=Jt!==void 0,Kn=(vn=$r.find(Mn=>Mn.id===(he==null?void 0:he.type)))==null?void 0:vn.type,qn=`${Bt+1}.${Jt===void 0?"":Jt+1+"."}`,An=`${(he==null?void 0:he.type)==="7"?"{{":""}${qn}\u3010${Kn}\u3011${(he==null?void 0:he.question)||""}`;return y.createElement(y.Fragment,null,bt&&y.createElement("h4",{contentEditable:!0}),y.createElement(Ce,{id:he==null?void 0:he.id,tagName:"div",value:An}))},dr=(he,Bt)=>Pt(void 0,null,function*(){var Jt;const vn=yield qa(he,Bt),bt=(Jt=vn==null?void 0:vn.data)==null?void 0:Jt.content;if(bt!=null&&bt.length){const Kn=sr(bt)[0];Wr.splice(Bt,1,Kn),Fn.splice(Bt,1,Kn),Ot([...Wr]),ia([...Fn])}}),Lr=(he,Bt,Jt)=>{var vn;const bt=Jt!==void 0,Kn=(vn=$r.find(An=>An.id===(he==null?void 0:he.type)))==null?void 0:vn.type,qn=`${Bt+1}.${Jt===void 0?"":Jt+1+"."}`;return bt?y.createElement("div",{style:{padding:"10px 18px"}},`${qn}\u3010${Kn}\u3011`,y.createElement(Ce,{id:he==null?void 0:he.id,tagName:"span",className:pe.edit,onBlur:An=>na("question",Bt,An,Jt),value:(he==null?void 0:he.question)||""})):y.createElement(y.Fragment,null,y.createElement("div",{className:pe.actionHead},y.createElement("div",{className:"c-light-primary"},`${qn}\u3010${Kn}\u3011`),ta!==1&&y.createElement(Qe.Z,{disabled:(he==null?void 0:he.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:An=>na("score",Bt,An,Jt),value:he==null?void 0:he.score}),y.createElement(Ie.Z,{align:"middle",style:{marginLeft:"auto"}},!!qa&&y.createElement("span",{className:"current c-light-primary mr30",onClick:()=>dr(he,Bt)},y.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),y.createElement(we.default,{onChange:An=>na("checked",Bt,An.target.checked,Jt),checked:!!(he!=null&&he.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),y.createElement(Ce,{id:he==null?void 0:he.id,tagName:"div",style:{padding:"10px 18px"},className:pe.edit,onBlur:An=>na("question",Bt,An,Jt),value:he==null?void 0:he.question}))},jr=(he,Bt,Jt)=>y.createElement(y.Fragment,null,["0","1","2","4"].includes(he==null?void 0:he.type)&&y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u7B54\u6848\uFF1A${Bt||""}`,tagName:"p"}),!Jt&&y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u96BE\u5EA6\uFF1A${(he==null?void 0:he.difficulty)||""}`,tagName:"p"}),(he==null?void 0:he.type)!=="7"&&y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u89E3\u6790\uFF1A${(he==null?void 0:he.analyze)||""}`,tagName:"p"}),!Jt&&y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(he==null?void 0:he.knowledgePoint)||""}`,tagName:"p"})),Br=(he,Bt,Jt,vn)=>{const bt=vn!==void 0,Kn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],qn=bt&&!he.last&&!he.errorMsg?{marginBottom:10}:{},An=Kn.map(Mn=>({key:Mn,label:Mn,onClick:()=>na("difficulty",Jt,Mn,vn)}));return y.createElement("div",{className:pe.liWrap,style:qn},["4"].includes(he==null?void 0:he.type)&&y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),y.createElement(Ce,{id:he==null?void 0:he.id,tagName:"div",className:`${pe.edit} c-black`,onBlur:Mn=>na("answer",Jt,[Mn],vn),value:Bt})),!bt&&y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),y.createElement("div",{className:"c-black"},y.createElement(Re.Z,{menu:{items:An}},y.createElement("span",{className:"c-light-primary"},he==null?void 0:he.difficulty,y.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(he==null?void 0:he.type)!=="7"&&y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),y.createElement(Ce,{id:he==null?void 0:he.id,tagName:"div",className:`${pe.edit} c-grey-333`,onBlur:Mn=>na("analyze",Jt,Mn,vn),value:he==null?void 0:he.analyze})),!bt&&y.createElement("div",{onKeyDown:Be,className:pe.li},y.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),y.createElement(Ce,{id:he==null?void 0:he.id,tagName:"div",value:(he==null?void 0:he.knowledgePoint)||"",className:`${pe.edit} c-grey-333`,onBlur:Mn=>na("knowledgePoint",Jt,pr(yr(Mn)),vn)})))},nr=he=>y.createElement(y.Fragment,null,typeof(he==null?void 0:he.errorMsg)=="string"&&!!(he!=null&&he.errorMsg)&&y.createElement("h5",{contentEditable:!1},y.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),y.createElement("div",null,he==null?void 0:he.errorMsg))),wo=he=>y.createElement(y.Fragment,null,typeof(he==null?void 0:he.errorMsg)=="string"&&!!(he!=null&&he.errorMsg)&&y.createElement("h5",null,y.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),y.createElement("div",null,he==null?void 0:he.errorMsg))),Co=(he,Bt,Jt,vn)=>{let bt="flex";return(Fa&&ua!==vn||jn&&!(Jt!=null&&Jt.errorMsg))&&(bt="none"),y.createElement("div",{className:pe.row,style:{display:bt}},y.createElement("div",{className:pe.leftLayout},Ca||y.createElement(qe,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},he))),y.createElement("div",{className:pe.rightLayout},y.createElement(qt,{className:Jt!=null&&Jt.errorMsg?pe.error:""},Bt)))},$r=[{id:"0",type:"\u5355\u9009\u9898",element:(he,Bt,Jt)=>{var vn,bt;const Kn=Jt!==void 0;let qn=(vn=he==null?void 0:he.answer)==null?void 0:vn[0];const An=y.createElement(y.Fragment,null,Yn(he,Bt,Jt),(bt=he==null?void 0:he.options)==null?void 0:bt.map((nn,Ut)=>y.createElement(Ce,{id:he==null?void 0:he.id,key:Ut,value:`${Oa[Ut]}.${nn}`,tagName:"p"})),jr(he,qn,Kn),nr(he));let Mn=Kn?he:Fn[Bt];const Ua=Mn==null?void 0:Mn.options,Hn=y.createElement(y.Fragment,null,Lr(Mn,Bt,Jt),Ua==null?void 0:Ua.map((nn,Ut)=>{var xn;return y.createElement("div",{key:Ut,className:pe.option},y.createElement("aside",{className:((xn=Mn==null?void 0:Mn.answer)==null?void 0:xn[0])===Oa[Ut]?pe.active:"",onClick:()=>na("answer",Bt,[Oa[Ut]],Jt)},Oa[Ut]),y.createElement(Ce,{id:Mn==null?void 0:Mn.id,tagName:"div",className:`${pe.text}`,onBlur:Ma=>{Ua[Ut]=Ma,na("options",Bt,Ua,Jt)},value:nn}))}),Br(Mn,"",Bt,Jt),wo(Mn));return Kn?[An,Hn]:Co(An,Hn,Mn,Bt)},deal:he=>{var Bt,Jt,vn;he.score=he.score===void 0?2:he.score;let bt=pr((Bt=he==null?void 0:he.answer)==null?void 0:Bt[0]).toUpperCase();he.answer=bt?[bt]:[];let Kn=[];if(!(he!=null&&he.options))Kn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{he.options=(Jt=he.options)==null?void 0:Jt.slice(0,8);const qn=he.options.map(Mn=>Mn==null?void 0:Mn.trim().replace(/^\s+|\s+$/g,""));new Set(qn).size!==qn.length&&Kn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return bt||Kn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),bt&&(Oa.slice(0,((vn=he==null?void 0:he.options)==null?void 0:vn.length)||8).includes(bt)||Kn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),pr(he==null?void 0:he.question)||Kn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=Kn.join(` +`),he}},{id:"1",type:"\u591A\u9009\u9898",element:(he,Bt,Jt)=>{var vn,bt;const Kn=Jt!==void 0;let qn=(vn=he==null?void 0:he.answer)==null?void 0:vn[0];const An=y.createElement(y.Fragment,null,Yn(he,Bt,Jt),(bt=he==null?void 0:he.options)==null?void 0:bt.map((nn,Ut)=>y.createElement(Ce,{id:he==null?void 0:he.id,key:Ut,value:`${Oa[Ut]}.${nn}`,tagName:"p"})),jr(he,qn,Kn),nr(he));let Mn=Kn?he:Fn[Bt];const Ua=Mn==null?void 0:Mn.options,Hn=y.createElement(y.Fragment,null,Lr(Mn,Bt,Jt),Ua==null?void 0:Ua.map((nn,Ut)=>{var xn,Ma;return y.createElement("div",{key:Ut,className:pe.option},y.createElement("aside",{className:(Ma=(xn=Mn==null?void 0:Mn.answer)==null?void 0:xn[0])!=null&&Ma.includes(Oa[Ut])?pe.active:"",onClick:()=>{var Nr;let mo=((Nr=Mn==null?void 0:Mn.answer)==null?void 0:Nr[0])||"";const xo=Oa[Ut];mo.includes(xo)?mo=mo.replace(new RegExp(xo,"g"),""):mo+=xo,mo=mo.split("").sort().join(""),na("answer",Bt,[mo],Jt)}},Oa[Ut]),y.createElement(Ce,{id:Mn==null?void 0:Mn.id,tagName:"div",className:`${pe.text}`,onBlur:Nr=>{Ua[Ut]=Nr,na("options",Bt,Ua,Jt)},value:nn}))}),Br(Mn,"",Bt,Jt),wo(Mn));return Kn?[An,Hn]:Co(An,Hn,Mn,Bt)},deal:he=>{var Bt,Jt,vn;he.score=he.score===void 0?2:he.score;let bt=pr((Bt=he==null?void 0:he.answer)==null?void 0:Bt[0]).toUpperCase().split("").sort().join("");he.answer=bt?[bt]:[];let Kn=[];if(!(he!=null&&he.options))Kn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{he.options=(Jt=he.options)==null?void 0:Jt.slice(0,8);const qn=he.options.map(Mn=>Mn==null?void 0:Mn.trim().replace(/^\s+|\s+$/g,""));new Set(qn).size!==qn.length&&Kn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(bt||Kn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),bt){const qn=Oa.slice(0,((vn=he==null?void 0:he.options)==null?void 0:vn.length)||8);Hr(qn).includes(bt)||Kn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return pr(he==null?void 0:he.question)||Kn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=Kn.join(` +`),he}},{id:"2",type:"\u5224\u65AD\u9898",element:(he,Bt,Jt)=>{var vn,bt;const Kn=Jt!==void 0;let qn=(vn=he==null?void 0:he.answer)==null?void 0:vn[0];const An=y.createElement(y.Fragment,null,Yn(he,Bt,Jt),jr(he,qn,Kn),nr(he));let Mn=Kn?he:Fn[Bt];const Ua=["\u6B63\u786E","\u9519\u8BEF"];let Hn=((bt=Mn==null?void 0:Mn.answer)==null?void 0:bt[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Hn)?Hn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Hn)&&(Hn="\u9519\u8BEF");const nn=y.createElement(y.Fragment,null,Lr(Mn,Bt,Jt),Ua==null?void 0:Ua.map((Ut,xn)=>y.createElement("div",{key:xn,className:pe.option},y.createElement("aside",{style:{borderRadius:2},className:Hn===Ut?pe.active:"",onClick:()=>na("answer",Bt,[Ut],Jt)},Ut==="\u6B63\u786E"?"T":"F"),y.createElement("div",{style:{pointerEvents:"none"},className:`${pe.text}`},Ut))),Br(Mn,"",Bt,Jt),wo(Mn));return Kn?[An,nn]:Co(An,nn,Mn,Bt)},deal:he=>{var Bt;he.score=he.score===void 0?2:he.score;let Jt=pr((Bt=he==null?void 0:he.answer)==null?void 0:Bt[0]);he.answer=Jt?[Jt]:[];let vn=[];return Jt||vn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Jt&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Jt)&&vn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),pr(he==null?void 0:he.question)||vn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=vn.join(` +`),he}},{id:"3",type:"\u586B\u7A7A\u9898",element:(he,Bt,Jt)=>{var vn,bt;const Kn=Jt!==void 0,qn=y.createElement(y.Fragment,null,Yn(he,Bt,Jt),(vn=he==null?void 0:he.answer)==null?void 0:vn.map((Ua,Hn)=>y.createElement(Ce,{id:he==null?void 0:he.id,key:Hn,tagName:"p",value:`\u7B54\u6848${Hn+1}\uFF1A${Ua.text||""}`})),jr(he,"",Kn),nr(he));let An=Kn?he:Fn[Bt];const Mn=y.createElement(y.Fragment,null,Lr(An,Bt,Jt),(bt=An==null?void 0:An.answer)==null?void 0:bt.map((Ua,Hn)=>y.createElement("div",{key:Hn,className:pe.option},y.createElement("aside",{className:pe.fill},"\u586B\u7A7A\u9879",Hn+1),Ua.model===1&&y.createElement(Ce,{id:An==null?void 0:An.id,tagName:"div",onBlur:nn=>{An.answer[Hn].latex=yr(nn),na("answer",Bt,An.answer,Jt)},className:`${pe.text}`,value:Ua.latex}),Ua.model===2&&y.createElement(De.Z,{value:Ua.latex,onChange:nn=>{An.answer[Hn].latex=nn,na("answer",Bt,An.answer,Jt)}}))),Br(An,"",Bt,Jt),wo(An));return Kn?[qn,Mn]:Co(qn,Mn,An,Bt)},deal:he=>{var Bt,Jt,vn,bt;he.score=he.score===void 0?2:he.score,he.question=(Bt=he.question)==null?void 0:Bt.replaceAll("\u2581","_");const Kn=(Jt=he.answer)==null?void 0:Jt.map(An=>{if(Object.prototype.toString.call(An)==="[object Object]")return An;An=An==null?void 0:An.trim();const Mn={model:1,text:An,latex:An};return An.startsWith("$$")&&An.endsWith("$$")||An.startsWith("`$$")&&An.endsWith("$$`")?(Mn.model=2,Mn.latex=An.slice(2,-2)):Mn.latex=yr(An),Mn});he.answer=Kn;let qn=[];return Kn||qn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),pr(he==null?void 0:he.question)?he!=null&&he.question.includes("_")?(vn=he==null?void 0:he.answer)!=null&&vn.length&&((he==null?void 0:he.question.match(/_+/g))||[]).length!==((bt=he==null?void 0:he.answer)==null?void 0:bt.length)&&qn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):qn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):qn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=qn.join(` +`),he}},{id:"4",type:"\u7B80\u7B54\u9898",element:(he,Bt,Jt)=>{var vn,bt;const Kn=Jt!==void 0;let qn=(vn=he==null?void 0:he.answer)==null?void 0:vn[0];const An=y.createElement(y.Fragment,null,Yn(he,Bt,Jt),jr(he,qn,Kn),nr(he));let Mn=Kn?he:Fn[Bt];const Ua=y.createElement(y.Fragment,null,Lr(Mn,Bt,Jt),Br(Mn,(bt=Mn==null?void 0:Mn.answer)==null?void 0:bt[0],Bt,Jt),wo(Mn));return Kn?[An,Ua]:Co(An,Ua,Mn,Bt)},deal:he=>{he.score=he.score===void 0?5:he.score;let Bt=[];return pr(he==null?void 0:he.question)||Bt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),he.errorMsg=Bt.join(` +`),he}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(he,Bt)=>{var Jt,vn;const bt=Fn[Bt],Kn=wr.slice(0,4).map(qn=>({key:qn,label:qn,onClick:()=>na("platform",Bt,qn)}));return y.createElement("div",{className:pe.row,style:{display:jn?bt!=null&&bt.errorMsg?"flex":"none":"flex"}},y.createElement("div",{className:pe.leftLayout},y.createElement(qe,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Yn(he,Bt),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(he==null?void 0:he.description)||""}`,tagName:"p"}),jr(he),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${he==null?void 0:he.timeLimit}`,tagName:"p"}),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(he==null?void 0:he.platform)||""}`,tagName:"p"}),y.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),y.createElement("h4",null),y.createElement(Ce,{id:he==null?void 0:he.id,value:(he==null?void 0:he.code)||"",tagName:"div"}),(Jt=he==null?void 0:he.inputs)==null?void 0:Jt.map((qn,An)=>{var Mn;return y.createElement(y.Fragment,{key:An},y.createElement("h4",null),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${An+1})\u8F93\u5165\uFF1A${qn||""}`,tagName:"div"}),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${An+1})\u8F93\u51FA\uFF1A${((Mn=he==null?void 0:he.outputs)==null?void 0:Mn[An])||""}`,tagName:"div"}))}),nr(he)))),y.createElement("div",{className:pe.rightLayout},y.createElement(qt,{className:bt!=null&&bt.errorMsg?pe.error:""},Lr(bt,Bt),y.createElement("div",{className:pe.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:bt==null?void 0:bt.description,tagName:"div",onBlur:qn=>na("description",Bt,qn)}))),Br(bt,"",Bt),y.createElement("div",{className:pe.liWrap},y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:bt==null?void 0:bt.timeLimit,tagName:"div",onBlur:qn=>na("timeLimit",Bt,yr(qn))})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),y.createElement("div",{className:"c-black"},y.createElement(Re.Z,{menu:{items:Kn}},y.createElement("span",{className:"c-light-primary"},bt==null?void 0:bt.platform,y.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),y.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},y.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:(bt==null?void 0:bt.code)||"",onBlur:qn=>na("code",Bt,yr(qn)),tagName:"div"}))),(vn=bt==null?void 0:bt.inputs)==null?void 0:vn.map((qn,An)=>{var Mn;return y.createElement("div",{className:pe.liWrap,key:An},y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",An+1,")\u8F93\u5165\uFF1A"),y.createElement(Ce,{id:bt==null?void 0:bt.id,value:qn||"",className:pe.edit,onBlur:Ua=>{const Hn=[...(bt==null?void 0:bt.inputs)||[]];Hn[An]=yr(Ua),na("inputs",Bt,Hn)},tagName:"div"})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",An+1,")\u8F93\u51FA\uFF1A"),y.createElement(Ce,{id:bt==null?void 0:bt.id,value:((Mn=bt==null?void 0:bt.outputs)==null?void 0:Mn[An])||"",className:pe.edit,onBlur:Ua=>{const Hn=[...(bt==null?void 0:bt.outputs)||[]];Hn[An]=yr(Ua),na("outputs",Bt,Hn)},tagName:"div"})))}),wo(bt))))},deal:he=>{var Bt,Jt,vn;he.score=he.score===void 0?10:he.score,he.code=(Bt=he.code)==null?void 0:Bt.trim();let bt=[];pr(he==null?void 0:he.question)?((Jt=he==null?void 0:he.question)==null?void 0:Jt.length)>60&&bt.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):bt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pr(he==null?void 0:he.description)||bt.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Kn=pr(String((he==null?void 0:he.timeLimit)||""));if(he.timeLimit=Kn,(!Kn||Kn&&!["3","4","5","6","7","8","9","10"].includes(Kn))&&bt.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),he.platform=pr(he==null?void 0:he.platform),he!=null&&he.platform){const qn=["c","c++","java","python"],An=(vn=he==null?void 0:he.platform)==null?void 0:vn.toLowerCase(),Mn=qn.findIndex(Ua=>Ua===An);Mn>-1?he.platform=wr[Mn]:bt.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else bt.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(he!=null&&he.inputs)||!(he!=null&&he.outputs))he.inputs=[],he.outputs=[],bt.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const qn=Math.min(he.inputs.length,he.outputs.length);he.inputs=he.inputs.slice(0,qn),he.outputs=he.outputs.slice(0,qn),he.outputs.some(An=>!pr(An))&&bt.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return he.errorMsg=bt.join(` +`),he}},{id:"7",type:"\u7EC4\u5408\u9898",element:(he,Bt)=>{var Jt,vn;const bt=Fn[Bt];return y.createElement("div",{className:pe.row,style:{display:jn?bt!=null&&bt.errorMsg?"flex":"none":"flex"}},y.createElement("div",{className:pe.leftLayout},y.createElement(qe,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Yn(he,Bt),jr(he),(Jt=he==null?void 0:he.questions)==null?void 0:Jt.map((Kn,qn)=>{var An;const Mn=(An=$r.find(Ua=>Ua.id===(Kn==null?void 0:Kn.type)))==null?void 0:An.element;return y.createElement(y.Fragment,{key:`left-${he.id}-${qn}`},Mn(Kn,Bt,qn)[0])}),nr(he),y.createElement("p",{contentEditable:!0},"}}")))),y.createElement("div",{className:pe.rightLayout},y.createElement(qt,{className:bt!=null&&bt.errorMsg?pe.error:""},Lr(bt,Bt),Br(bt,"",Bt),(vn=bt==null?void 0:bt.questions)==null?void 0:vn.map((Kn,qn)=>{var An;const Mn=(An=$r.find(Ua=>Ua.id===(Kn==null?void 0:Kn.type)))==null?void 0:An.element;return y.createElement(y.Fragment,{key:`right-${bt.id}-${qn}`},Mn(Kn,Bt,qn)[1])}),wo(bt))))},deal:he=>{var Bt,Jt,vn,bt,Kn;const qn=sr,An=[...$r],Mn=An.findIndex(Ut=>Ut.id==="0"),Ua=An.findIndex(Ut=>Ut.id==="1");if(Mn!==-1){const Ut=An[Mn].deal;An[Mn].deal=xn=>{const Ma=Ut(xn);return Ma.errorMsg&&(Ma.errorMsg=Ma.errorMsg.split(` +`).filter(Nr=>Nr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` +`)),Ma}}if(Ua!==-1){const Ut=An[Ua].deal;An[Ua].deal=xn=>{const Ma=Ut(xn);return Ma.errorMsg&&(Ma.errorMsg=Ma.errorMsg.split(` +`).filter(Nr=>Nr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` +`)),Ma}}he.questions=(Bt=he.questions)!=null&&Bt.length?sr(he.questions.slice(0,20)):[],he.questions=(Jt=he.questions)==null?void 0:Jt.map((Ut,xn)=>{var Ma;if(Ut.type==="0"||Ut.type==="1"){const Nr=(Ma=Ut.options)==null?void 0:Ma.map(mo=>mo==null?void 0:mo.trim().replace(/^\s+|\s+$/g,""));Nr&&new Set(Nr).size!==Nr.length&&(Ut.errorMsg=(Ut.errorMsg?Ut.errorMsg+` +`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return hn(It({},Ut),{last:xn===he.questions.length-1})});const Hn=(vn=he.questions)==null?void 0:vn.reduce((Ut,xn)=>{const Ma=parseFloat(xn.score);return isNaN(Ma)?Ut:Ut+Ma},0);he.score=Hn;let nn=[];return(bt=he.questions)!=null&&bt.length?he.errorMsg=((Kn=he.questions)==null?void 0:Kn.findIndex(Ut=>!!Ut.errorMsg))>-1:nn.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),pr(he==null?void 0:he.question)||nn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),nn.length&&(he.errorMsg=nn.join(` +`)),he}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(he,Bt)=>{var Jt,vn;const bt=Fn[Bt],Kn=wr.map(qn=>({key:qn,label:qn,onClick:()=>na("platform",Bt,qn)}));return y.createElement("div",{className:pe.row,style:{display:jn?bt!=null&&bt.errorMsg?"flex":"none":"flex"}},y.createElement("div",{className:pe.leftLayout},y.createElement(qe,null,y.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Yn(he,Bt),jr(he),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${he==null?void 0:he.timeLimit}`,tagName:"p"}),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(he==null?void 0:he.platform)||""}`,tagName:"p"}),y.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),y.createElement("h4",null),y.createElement(Ce,{id:he==null?void 0:he.id,value:(he==null?void 0:he.code)||"",tagName:"div"}),y.createElement("h4",null),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(he==null?void 0:he.input)||""}`,tagName:"p"}),y.createElement(Ce,{id:he==null?void 0:he.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(he==null?void 0:he.output)||""}`,tagName:"p"}),(Jt=he==null?void 0:he.answer)==null?void 0:Jt.map((qn,An)=>y.createElement(Ce,{key:An,id:he==null?void 0:he.id,value:`\u7B54\u6848${An+1}\uFF1A${qn||""}`,tagName:"p"})),nr(he)))),y.createElement("div",{className:pe.rightLayout},y.createElement(qt,{className:bt!=null&&bt.errorMsg?pe.error:""},Lr(bt,Bt),Br(bt,"",Bt),y.createElement("div",{className:pe.liWrap},y.createElement("div",{className:pe.li,onKeyDown:Be},y.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:bt==null?void 0:bt.timeLimit,tagName:"div",onBlur:qn=>na("timeLimit",Bt,yr(qn))})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),y.createElement("div",{className:"c-black"},y.createElement(Re.Z,{menu:{items:Kn}},y.createElement("span",{className:"c-light-primary"},bt==null?void 0:bt.platform,y.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),y.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},y.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:(bt==null?void 0:bt.code)||"",onBlur:qn=>na("code",Bt,yr(qn)),tagName:"div"})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:(bt==null?void 0:bt.input)||"",onBlur:qn=>na("input",Bt,yr(qn)),tagName:"div"})),y.createElement("div",{className:pe.li},y.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),y.createElement(Ce,{className:pe.edit,id:bt==null?void 0:bt.id,value:(bt==null?void 0:bt.output)||"",onBlur:qn=>na("output",Bt,yr(qn)),tagName:"div"}))),y.createElement("div",{className:pe.liWrap},(vn=bt==null?void 0:bt.answer)==null?void 0:vn.map((qn,An)=>y.createElement("div",{className:pe.li,key:An},y.createElement("aside",null,"\u7B54\u6848",An+1,"\uFF1A"),y.createElement(Ce,{id:bt==null?void 0:bt.id,value:qn||"",className:pe.edit,onBlur:Mn=>{const Ua=[...(bt==null?void 0:bt.answer)||[]];Ua[An]=yr(Mn),na("output",Bt,Ua)},tagName:"div"})))),wo(bt))))},deal:he=>{var Bt,Jt,vn,bt,Kn,qn,An,Mn;he.score=he.score===void 0?10:he.score,he.code=(vn=(Jt=(Bt=he.code)==null?void 0:Bt.trim())==null?void 0:Jt.replace(/@_@/g,"@\u2581@"))==null?void 0:vn.replace(/@__@/g,"@\u2581\u2581@");let Ua=[];if(pr(he==null?void 0:he.question)||Ua.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pr(he==null?void 0:he.code)?/@▁@|@▁▁@/.test(he==null?void 0:he.code)?(bt=he==null?void 0:he.answer)!=null&&bt.length&&((Kn=he==null?void 0:he.code.match(/@▁@|@▁▁@/g))==null?void 0:Kn.length)!==((qn=he==null?void 0:he.answer)==null?void 0:qn.length)&&Ua.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Ua.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):Ua.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),he!=null&&he.answer?(An=he.answer)!=null&&An.some(nn=>!pr(nn))&&Ua.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Ua.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),he.platform=pr(he==null?void 0:he.platform),he!=null&&he.platform){const nn=["c","c++","java","python","javascript","ruby"],Ut=(Mn=he==null?void 0:he.platform)==null?void 0:Mn.toLowerCase(),xn=nn.findIndex(Ma=>Ma===Ut);xn>-1?he.platform=wr[xn]:Ua.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Ua.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");pr(he==null?void 0:he.output)||Ua.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Hn=pr(String((he==null?void 0:he.timeLimit)||""));return he.timeLimit=Hn,(!Hn||Hn&&!["3","4","5","6","7","8","9","10"].includes(Hn))&&Ua.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),he.errorMsg=Ua.join(` +`),he}}],Qo=()=>y.createElement(y.Fragment,null,Wr.filter(he=>{var Bt;return!!((Bt=$r.find(vn=>vn.id===(he==null?void 0:he.type)))==null?void 0:Bt.element)}).map((he,Bt)=>{var Jt;const vn=(Jt=$r.find(bt=>bt.id===(he==null?void 0:he.type)))==null?void 0:Jt.element;return y.createElement(y.Fragment,{key:he.id},vn(he,Bt))})),ko=()=>Pt(void 0,null,function*(){const he=Fn.filter(Bt=>!Bt.checked);if(Aa!==3||!he.length){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(Ht){Gt(!0),yield Ht(Fn),Gt(!1);return}or.setFieldsValue({sub_discipline_id:Un}),tn(!0)}),Ja=(he,Bt=[])=>{if(typeof he=="string")return he.trim();if(Array.isArray(he))return he.map(Jt=>Ja(Jt,Bt));if(typeof he=="object"&&he!==null){const Jt={};for(const vn in he)he.hasOwnProperty(vn)&&(Bt.includes(vn)?Jt[vn]=he[vn]:Jt[vn]=Ja(he[vn],Bt));return Jt}return he},ol=he=>Pt(void 0,null,function*(){const Bt=sr(Ja(he));Ot(Bt),ia(JSON.parse(JSON.stringify(Bt))),er(3),Na(!1),He(!1)});(0,y.useEffect)(()=>{if(Ia)return;const he=()=>{_a(Bt=>Bt>=90?(clearInterval(lr.current),90):Bt+1)};return lr.current=setInterval(he,5e4/90),()=>clearInterval(lr.current)},[Ia]);const el=(he,Bt)=>{Ea(!1);const Jt=new FormData;Object.keys(Bt).forEach(bt=>{Jt.append(bt,Bt[bt])});const vn=new window.XMLHttpRequest;vn.withCredentials=!0,vn.addEventListener("load",function(bt){return Pt(this,null,function*(){var Kn,qn;try{const An=JSON.parse((Kn=bt==null?void 0:bt.target)==null?void 0:Kn.response);if(Ea(!0),_a(100),yield new Promise(Mn=>setTimeout(()=>Mn(),780)),An.status===0){if(!((qn=An==null?void 0:An.data)!=null&&qn.length)){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Na(!1);return}ol((An==null?void 0:An.data)||[])}else Na(!1),Ue.ZP.warning(An==null?void 0:An.message)}catch(An){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",An)}})}),vn.addEventListener("error",()=>{Na(!1)}),vn.open("POST",`${b.Z.API_SERVER}${he}`),vn.send(Jt)},cl=he=>Pt(void 0,null,function*(){const Bt=he.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(Bt)==-1?(Ue.ZP.error(`${he.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(Na(!0),br("\u5904\u7406\u4E2D"),el("/api/intelligent_imports/import.json",{file:he}),Promise.reject())});let eo=[{key:1,label:y.createElement(Ze.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:cl},y.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,ct.Ny)()||(0,ct.$O)())&&eo.push({key:2,label:y.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{Qr.current.onClick()}});const Ko=[Fn.length,(dn=Fn.filter(he=>!!(he!=null&&he.errorMsg)))==null?void 0:dn.length];return y.createElement("div",{className:Me()(pe.intelligentBox,"intelligent-body-curb",Zt),style:hn(It({},At),{width:yt}),ref:Mt},y.createElement("div",{className:pe.underpin},y.createElement("b",{style:Va}),y.createElement("b",{style:Va})),y.createElement("div",{className:pe.head,style:{top:Ba}},y.createElement("div",{className:pe.leftLayout},Za||y.createElement(y.Fragment,null,y.createElement(Ie.Z,{align:"middle"},y.createElement("div",{className:pe.title},"\u8BD5\u9898\u7F16\u8F91"),!On&&y.createElement(x.op,{href:`${b.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",y.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),y.createElement(x.op,{onClick:vr,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!On&&y.createElement(Re.Z,{overlayClassName:pe.menu,menu:{items:eo}},y.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!va&&va),y.createElement("div",{className:pe.tip},y.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),y.createElement(Ie.Z,{className:pe.rightLayout,style:{alignItems:"start"}},Ya||y.createElement(y.Fragment,null,y.createElement("div",{className:pe.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Aa)&&y.createElement(we.default,{className:"ml20",checked:jn,onChange:he=>He(he.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Aa)&&y.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",y.createElement("span",{className:"ml5 mr5 c-light-primary"},Ko[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",y.createElement("span",{className:"ml5 mr5 c-red-e53"},Ko[1]),"\u9898")),Fa&&y.createElement("div",{className:pe.tabs},Wr==null?void 0:Wr.map((he,Bt)=>y.createElement("div",{onClick:()=>{ba(Bt)},className:ua===Bt&&pe.active,key:Bt},"\u65B0\u9898",Bt+1)))),y.createElement("div",{className:pe.centerBox},y.createElement("img",{className:"mb10",src:ue,width:56}),!rr&&y.createElement(x.op,{onClick:Dn},"\u8BC6\u522B"))),[1,2].includes(Aa)&&ma(),[3].includes(Aa)&&Qo(),y.createElement("div",{className:"pb10"}),y.createElement("div",{className:pe.buttonFixed},y.createElement("div",{className:pe.buttonWrap},y.createElement(Ye.ZP,{size:"middle",className:`${pe.button} mr20`,onClick:Gn},"\u53D6\u6D88"),y.createElement(Ye.ZP,{size:"middle",type:"primary",loading:da,className:`${pe.button}`,onClick:ko},Qa))),y.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:la,title:null,footer:null,width:320,afterClose:()=>_a(0)},y.createElement(Ie.Z,{align:"middle",style:{flexDirection:"column"}},y.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},ka,y.createElement("span",{className:pe.dotLoading},y.createElement("span",null,"."),y.createElement("span",null,"."),y.createElement("span",null,"."))),y.createElement(ie.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:tr}),y.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",y.createElement("span",{className:"ml5 c-light-primary"},tr,"%")))),y.createElement(xe.default,{centered:!0,open:rn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Yt,width:480,onCancel:()=>tn(!1),onOk:()=>or.submit(),afterClose:()=>{or.resetFields()}},y.createElement(ke.default,{style:{maxHeight:550},form:or,layout:"horizontal",colon:!1,size:"large",onFinish:he=>Pt(void 0,null,function*(){var Bt,Jt,vn,bt,Kn;const qn=Fn.filter(Ua=>!Ua.checked&&!Ua.errorMsg);xt(!0);const An=()=>Pt(void 0,null,function*(){var Ua,Hn;const nn=yield(0,le.ZP)("/api/intelligent_imports/save.json",{method:"post",body:hn(It(It({},Kt),he),{list:qn,mode:ta})});nn.status===0&&(En&&((Ua=nn==null?void 0:nn.data)!=null&&Ua.success)&&window.location.pathname==="/problemset"&&(mt.Z.publish("refresh-item-bank",he.group_id),yield new Promise(Ut=>setTimeout(()=>Ut(),1500))),ta===1&&Ue.ZP.success(`\u6210\u529F\u5BFC\u5165${(Hn=nn==null?void 0:nn.data)==null?void 0:Hn.success}\u9053\u8BD5\u9898`,3),Qn(nn),tn(!1)),xt(!1)});if(ta!==1){yield An();return}const Mn=yield(0,le.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Fn,mode:ta}});if(Mn.status===0){if(!((Bt=Mn==null?void 0:Mn.data)!=null&&Bt.error_size)){yield An();return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{xt(!1)},title:"\u63D0\u793A",content:y.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",y.createElement("span",{className:"c-light-primary ml5 mr5"},(Jt=Mn==null?void 0:Mn.data)==null?void 0:Jt.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",y.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(vn=Mn==null?void 0:Mn.data)==null?void 0:vn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",y.createElement("span",{className:"ml5 mr5"},(Kn=(bt=Mn==null?void 0:Mn.data)==null?void 0:bt.index)==null?void 0:Kn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:An})}})},y.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),y.createElement(ke.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},y.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:tt})),ta===1&&y.createElement(ke.default.Item,{label:y.createElement(Ie.Z,{align:"middle",style:{justifyContent:"space-between"}},y.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),y.createElement("div",{onClick:()=>Ln(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},y.createElement("img",{className:"mr5 primary-hover",src:be}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},y.createElement(Ee.Z,{key:Je})))),y.createElement(xe.default,{centered:!0,open:Vn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:Cn,onCancel:()=>Ln(!1),onOk:()=>fr.submit(),afterClose:()=>{fr.resetFields()}},y.createElement(ke.default,{style:{maxHeight:550},form:fr,layout:"horizontal",colon:!1,size:"large",onFinish:he=>Pt(void 0,null,function*(){var Bt;Zn(!0),(yield(0,le.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:he.name,parent_id:(Bt=he==null?void 0:he.parent_id)==null?void 0:Bt[0]}})).status===0?(Pn(Je+1),setTimeout(()=>{Ue.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ln(!1),Zn(!1)},1e3)):Zn(!1)})},y.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},y.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),y.createElement(ke.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},y.createElement(Ee.Z,null)))),y.createElement(Ct.Z,{onSave:he=>{Na(!0),br("\u5904\u7406\u4E2D"),el("/api/intelligent_imports/import.json",{html:he})},ref:Qr}))},pt=z;var _n=nt},27687:function(it,Tt,ae){"use strict";var y=ae(59301),pe=ae(96408),Fe=ae(48136),Me=ae(99298),ke=ae(43418),Ue=ae(59301);const xe=(0,y.forwardRef)(({callback:Qe,width:Ie,onChange:we,disabled:Re,readOnly:Ze,type:Ye="",value:ie="",style:E={}},a)=>{const x=(0,y.useRef)(),b=(0,y.useRef)(),[z,te]=(0,y.useState)(0),[oe,ue]=(0,y.useState)(0),[le,Ee]=(0,y.useState)(!1),be=()=>{var Oe=document.createElement("div");Oe.innerHTML=x.current.getValue();var Ke=Oe.innerText;return Qe&&Qe(Ke),Ke};(0,y.useImperativeHandle)(a,()=>({getData:be}));const We=Oe=>{Oe.preventDefault();const Ke=Oe.clientX-z,ze=Oe.clientY-oe;document.body.onmousemove=Xe=>{let Ce=Xe.clientX-Ke,ct=Xe.clientY-ze;const mt=document.getElementsByClassName("markdown-popup-form")[0],Ct=window.innerWidth-mt.offsetWidth,Et=window.innerHeight-mt.offsetHeight;Ce=Math.max(0,Math.min(Ce,Ct)),ct=Math.max(0,Math.min(ct,Et)),De(Xe.clientX,Xe.clientY,Ke,ze)&&(te(Ce),ue(ct))},document.body.onmouseup=function(){document.body.onmousemove=null}},De=(Oe,Ke,ze,Xe)=>{const Ce=document.body.clientHeight,ct=document.body.clientWidth;return Oe<20&&ze>Oe||Oe>ct-20&&zeKe||Ke>Ce-20&&Xe{le&&setTimeout(()=>{const Oe=document.getElementsByClassName("markdown-popup-form")[0],Ke=window.innerWidth/2-Oe.offsetWidth/2,ze=window.innerHeight/2-Oe.offsetHeight/2;te(Ke),ue(ze)},0)},[le]);const st=()=>{Re||Ze||Ee(!0)};return Ue.createElement("div",{style:E},Ue.createElement("div",{style:{width:Ie||"100%",position:"relative"},className:`${pe.Z.mathFillWrap} ${Re||Ze?"cursorDefault":""}`,onClick:()=>st()},Ue.createElement("math-field",{disabled:Re,locale:"zh_cn",class:`${pe.Z.mathField} ${Ye}`,readOnly:Ze,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:ie?18:14},value:ie||""})),Ue.createElement(ke.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:oe},title:Ue.createElement("div",{style:{cursor:"move"},onMouseDown:We},"\u8F93\u5165\u516C\u5F0F"),open:le,onOk:()=>{const Oe=b.current.getData();x.current.setValue(Oe),we(Oe),Ee(!1)},onCancel:()=>{Ee(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Ue.createElement(Me.Z,{value:ie,ref:b,onChange:we,showSaveButton:!1})))});Tt.Z=xe},99298:function(it,Tt,ae){"use strict";var y=ae(59301),pe=ae(95237),Fe=ae(43604),Me=ae(99313),ke=ae(3113),Ue=ae(6339),xe=ae(96408),Qe=ae(48136),Ie=ae(59301);const we=(0,y.forwardRef)(({callback:Re,showSaveButton:Ze,value:Ye=""},ie)=>{const E=(0,y.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 "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -232,7 +232,7 @@ ${_n} \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=oe=>{E.current.setValue(E.current.getValue()+" "+oe.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ne.createElement(pe.Z,{className:xe.Z.lists,gutter:[10,10]},a.map((oe,ue)=>Ne.createElement(Be.Z,{flex:"110px",className:xe.Z.item},Ne.createElement("div",null,Ne.createElement(We.Z,{value:`$$${oe.value}$$`}),oe.name),Ne.createElement("div",{className:xe.Z.children},oe.children.map((le,Ee)=>Ne.createElement("div",{key:Ee},Ne.createElement("h1",null,le.name),Ne.createElement(pe.Z,{gutter:[10,10]},le.data.map((Ce,Qe)=>Ne.createElement(Be.Z,{key:Qe,onClick:()=>b(Ce),className:xe.Z.diamond},Ne.createElement(We.Z,{value:"`$$"+Ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(pe.Z,{className:xe.Z.lists,gutter:[10,10]},x.map((oe,ue)=>Ne.createElement(Be.Z,{flex:"110px",className:xe.Z.item},Ne.createElement("div",null,Ne.createElement(We.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),Ne.createElement("div",{className:xe.Z.children},oe.children.map((le,Ee)=>Ne.createElement("div",{key:Ee},le.name&&Ne.createElement("h1",null,le.name),Ne.createElement(pe.Z,{gutter:[10,10]},le.data.map((Ce,Qe)=>Ne.createElement(Be.Z,{key:Qe,onClick:()=>b(Ce),className:xe.Z.diamond},Ne.createElement(We.Z,{value:"`$$"+Ce.value+"$$`"}))))))))))}],te=()=>{var oe=document.createElement("div");oe.innerHTML=E.current.getValue();var ue=oe.innerText;return Me&&Me(ue),ue};return(0,y.useImperativeHandle)(ie,()=>({getData:te})),Ne.createElement("div",{className:xe.Z.mathWrap},Ne.createElement(Te.default,{defaultActiveKey:"1",items:z}),Ne.createElement("math-field",{locale:"zh_cn",className:xe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Je||""),Ge&&Ne.createElement("div",{className:xe.Z.button},Ne.createElement(ke.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Gt.Z=we},23340:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ge}});var y=ae(59301),pe=ae(78241),Be=ae(43418),Te=ae(92832),ke=ae(87169),We=ae(38147),xe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},Ye=ae(24100),Ne=ae(59301),we=(Je,ie,E)=>new Promise((a,x)=>{var b=oe=>{try{te(E.next(oe))}catch(ue){x(ue)}},z=oe=>{try{te(E.throw(oe))}catch(ue){x(ue)}},te=oe=>oe.done?a(oe.value):Promise.resolve(oe.value).then(b,z);te((E=E.apply(Je,ie)).next())}),Ge=({type:Je="subject",open:ie,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[b]=pe.default.useForm(),[z,te]=(0,y.useState)([]),[oe,ue]=(0,y.useState)(!1);(0,y.useEffect)(()=>{},[]);const le=()=>we(void 0,null,function*(){if(Je){const Ee=yield(0,We.ZP)("/api/disciplines.json",{method:"get",params:{source:Je}});te(Ee.disciplines||[])}});return Ne.createElement(Be.default,{title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:ie,width:558,centered:!0,className:xe.publicQuest,onCancel:()=>{E(),b.resetFields()},onOk:()=>{b.validateFields().then(Ee=>we(void 0,null,function*(){const Ce=yield(0,We.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Ee==null?void 0:Ee.name,sub_discipline_id:x}});(Ce==null?void 0:Ce.status)===0&&a({name:Ee==null?void 0:Ee.name,id:Ce==null?void 0:Ce.tag_discipline_id,public:!1,type:"personal"}),b.resetFields(),E()}))}},Ne.createElement("div",{className:xe.publicQuestContent},Ne.createElement("div",{className:xe.public_tips},Ne.createElement(ke.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Ne.createElement(pe.default,{labelAlign:"left",form:b,colon:!1},Ne.createElement(pe.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Ne.createElement(Te.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Ne.createElement(Ye.Z,{open:oe,onCancel:()=>{ue(!1)}})))}},38821:function(ut,Gt,ae){"use strict";ae.d(Gt,{Q:function(){return Ne},Z:function(){return Me}});var y=ae(59301),pe={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},Be=ae(92310),Te=ae.n(Be),ke=ae(43418),We=ae(8591),xe=ae(24905),Ye=(Ge,Je,ie)=>new Promise((E,a)=>{var x=te=>{try{z(ie.next(te))}catch(oe){a(oe)}},b=te=>{try{z(ie.throw(te))}catch(oe){a(oe)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,b);z((ie=ie.apply(Ge,Je)).next())});const Ne=({title:Ge="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Je=[],visible:ie,setVisible:E,tip:a,onOk:x})=>{const[b,z]=(0,y.useState)([]),[te,oe]=(0,y.useState)(!1);return(0,y.useEffect)(()=>{ie&&z(Je)},[ie]),y.createElement(ke.default,{centered:!0,open:ie,title:Ge,confirmLoading:te,width:564,onOk:()=>Ye(void 0,null,function*(){if(!b.length){We.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}oe(!0),yield x(b),oe(!1)}),onCancel:()=>E(!1)},!!a&&y.createElement("div",{className:"c-grey-666 font16 mb10"},a),y.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},y.createElement(xe.default.Group,{value:b,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:ue=>{z(ue)}})))};var Me=({title:Ge="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Je,style:ie={},onEdit:E,dataSource:a=[]})=>{const x={C:y.createElement("div",{className:pe.c},"C"),"C++":y.createElement("div",{className:pe.cpp},"C++"),Java:y.createElement("div",{className:pe.java},"Java"),Python:y.createElement("div",{className:pe.python},"Python")};return y.createElement("div",{className:Te()(pe.tags,Je),style:ie},!!Ge&&y.createElement("div",{className:pe.text},Ge),y.createElement("div",{className:pe.tagWrap},a==null?void 0:a.map(b=>y.createElement(y.Fragment,{key:b},x[b]))),!!E&&y.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${pe.edit}`}))}},92716:function(ut,Gt,ae){"use strict";ae.d(Gt,{t:function(){return Nn}});var y=ae(59301),pe=ae(92832),Be=ae(78241),Te=ae(43418),ke=ae(95237),We=ae(43604),xe=ae(5871),Ye=ae(57809),Ne=ae(5112),we=ae(3969),Me=ae(65582),Ge=ae(58e3),Je=ae(8591),ie=ae(3113),E=ae(71418),a=ae(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},b=ae(38147),z=ae(67172),te=ae(96565),oe=ae(56102),ue=ae(10129),le=ae(59301),Ee=Object.defineProperty,Ce=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Ke=(bt,St,Ft)=>St in bt?Ee(bt,St,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):bt[St]=Ft,ze=(bt,St)=>{for(var Ft in St||(St={}))st.call(St,Ft)&&Ke(bt,Ft,St[Ft]);if(De)for(var Ft of De(St))Re.call(St,Ft)&&Ke(bt,Ft,St[Ft]);return bt},qe=(bt,St)=>Ce(bt,Qe(St)),Ae=(bt,St,Ft)=>new Promise((it,In)=>{var Yt=Wn=>{try{Ea(Ft.next(Wn))}catch(sn){In(sn)}},_n=Wn=>{try{Ea(Ft.throw(Wn))}catch(sn){In(sn)}},Ea=Wn=>Wn.done?it(Wn.value):Promise.resolve(Wn.value).then(Yt,_n);Ea((Ft=Ft.apply(bt,St)).next())}),mt=({buttonProps:bt,buttonText:St,form:Ft,hackIdentifier:it="",answerKey:In,data:Yt})=>{const[_n,Ea]=(0,y.useState)(!1),[Wn,sn]=(0,y.useState)(!1),[Hn,Aa]=(0,y.useState)(!1),[za,wa]=(0,y.useState)({}),[Ka,Za]=(0,y.useState)(""),[La,Ja]=(0,y.useState)(""),Sa=(0,y.useRef)(it),hn=(0,y.useRef)(""),ga=(0,y.useRef)(!1);(0,y.useEffect)(()=>{Hn&&lr()},[Hn]),(0,y.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Mt=()=>new Date().getTime(),en=Yt==null?void 0:Yt.code,ya=()=>{var Ga,yr;let ia=en?Yt==null?void 0:Yt.code:(Ga=Ft.getFieldValue("hack_codes"))==null?void 0:Ga.code,Oa=en?Yt==null?void 0:Yt.answer_content:Ft.getFieldValue(In),Rr=en?Yt==null?void 0:Yt.input:(yr=Ft.getFieldValue("hack_sets"))==null?void 0:yr.input;Oa==null||Oa.forEach(It=>{const vn=It.value||It.answer_text||"";ia=ia.replace(/(@▁@|@▁▁@)/,vn)}),Ja(Rr),Za(ia),wa({}),Aa(!0)},lr=()=>Ae(void 0,null,function*(){var Ga,yr,ia,Oa;const Rr=Mt(),It=en?Yt==null?void 0:Yt.time_limit:(Ga=Ft.getFieldsValue())==null?void 0:Ga.hack.time_limit,vn=en?(yr=Yt==null?void 0:Yt.answer_content)==null?void 0:yr.length:(Oa=(ia=Ft.getFieldsValue())==null?void 0:ia.standard_answers)==null?void 0:Oa.length;Ea(!0),yield(0,z.bM)(hn.current,{test_hack_code:Ka,test_input:La});function ua(){return Ae(this,null,function*(){const{status:Mn,data:Ze}=yield(0,z.rX)(hn.current,"submit"),Nt=Mt()-Rr>(It+3)*1e3*vn;if(ga.current){if(Nt){Je.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Ea(!1);return}if(Mn===0){Ea(!1),wa(qe(ze({},Ze),{showText:!0}));return}setTimeout(ua,1e3)}})}ua()}),ir=()=>Ae(void 0,null,function*(){var Ga,yr,ia,Oa,Rr,It,vn;if(!Yt){try{yield Ft.validateFields()}catch(kt){(ia=(yr=(Ga=kt==null?void 0:kt.errorFields)==null?void 0:Ga[0])==null?void 0:yr.name)!=null&&ia.includes("standard_answers")?Je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Je.ZP.error(kt.errorFields[0].errors[0]),Ft.scrollToField(kt.errorFields[0].name,{behavior:"smooth",block:"center"});return}sn(!0);let Mn="";const Ze=Ft.getFieldsValue();Sa.current?Mn=yield(0,b.ZP)(`/api/problems/${Sa.current}.json`,{method:"put",body:qe(ze({},Ze),{hack:qe(ze({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(vn=(It=Ze==null?void 0:Ze.hack)==null?void 0:It.sub_discipline_id)==null?void 0:vn[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:qe(ze({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),update_hack_sets:[ze({},Ze.hack_sets)],is_blank:!0})}):(Mn=yield(0,b.ZP)("/api/problems.json",{method:"post",body:qe(ze({},Ze),{hack:qe(ze({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(Rr=(Oa=Ze==null?void 0:Ze.hack)==null?void 0:Oa.sub_discipline_id)==null?void 0:Rr[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:qe(ze({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),hack_sets:[ze({},Ze.hack_sets)],is_blank:!0})}),Sa.current=Mn==null?void 0:Mn.identifier,sessionStorage.projectFill=Mn==null?void 0:Mn.identifier)}const ua=yield(0,b.ZP)(`/api/problems/${Sa.current}/start.json`,{method:"get"});if((ua==null?void 0:ua.status)===0){hn.current=ua==null?void 0:ua.identifier,ga.current=!0,sn(!1),ya();return}sn(!1)}),nr=Ga=>{const{status:yr,error_msg:ia,execute_time:Oa,output:Rr,input:It,expected_output:vn}=Ga;let ua=null;switch(yr){case ue.h.OK:ua=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Oa/1e3,"\u79D2"),le.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ue.h.NOMATCH:ua=le.createElement(le.Fragment,null,le.createElement("div",null,"\u8F93\u5165\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},It),le.createElement("div",null,"\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Rr&&a.Base64.decode(Rr)),le.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},vn&&a.Base64.decode(vn)));break;case ue.h.EXECUTEFAILURE:ua=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,It)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(ia)));break;case ue.h.COMPILEFAILURE:ua=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,It)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(ia)));break;case ue.h.PODFAILURE:ua=le.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ua=le.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return le.createElement(le.Fragment,null," ",ua," ")};return le.createElement("div",null,le.createElement(ie.ZP,qe(ze({loading:Wn},bt),{onClick:ir}),St),le.createElement(Te.default,{open:Hn,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:_n,cancelButtonProps:{style:{display:"none"}},onOk:()=>lr(),onCancel:()=>{ga.current=!1,Aa(!1)}},le.createElement("div",{className:x.result},le.createElement("div",{className:x.left},le.createElement("div",{className:"mb20"},le.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Yt&&le.createElement(oe.CopyToClipboard,{text:Ka,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("span",{style:{float:"right"},className:"current c-light-primary"},le.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),le.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Ka,onChange:Ga=>Za(Ga)})),le.createElement("div",{className:x.right},le.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),le.createElement("div",{className:x.box},le.createElement("div",{className:x.li},le.createElement(pe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:La,onChange:Ga=>Ja(Ga.target.value),bordered:!1,style:{height:180}}))),le.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),le.createElement("div",{className:x.box},le.createElement(E.Z,{spinning:_n,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},le.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},nr(za))))))))},xt=ae(87169),Et=ae(59301),fn=Object.defineProperty,dn=Object.defineProperties,Qt=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,Tt=(bt,St,Ft)=>St in bt?fn(bt,St,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):bt[St]=Ft,Sn=(bt,St)=>{for(var Ft in St||(St={}))Ie.call(St,Ft)&&Tt(bt,Ft,St[Ft]);if(rt)for(var Ft of rt(St))at.call(St,Ft)&&Tt(bt,Ft,St[Ft]);return bt},Ve=(bt,St)=>dn(bt,Qt(St)),Ut=(bt,St)=>{var Ft={};for(var it in bt)Ie.call(bt,it)&&St.indexOf(it)<0&&(Ft[it]=bt[it]);if(bt!=null&&rt)for(var it of rt(bt))St.indexOf(it)<0&&at.call(bt,it)&&(Ft[it]=bt[it]);return Ft};const{TextArea:be}=pe.default,tt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Jt=({value:bt,onChange:St})=>Et.createElement(Switch,{checked:bt,onChange:Ft=>{St(Ft)}}),nt="@\u2581@",vt="@\u2581\u2581@",Nn=({questionTitlePlaceholder:bt,form:St,scoreByBlank:Ft=!1,hackidentifier:it,answerKey:In})=>{const[Yt,_n]=(0,y.useState)(!1),[Ea,Wn]=(0,y.useState)(!1),Hn=(0,Me.useParams)().type==="edit",Aa=(hn,ga)=>{const Mt=ga.line;let en=0;for(let lr=0;lr{const ya=hn.getRange(ga.from,ga.to);let lr=0;if(ga.text.forEach(ir=>{lr+=ir.split(nt).length-1}),ga.text.forEach(ir=>{lr+=ir.split(vt).length-1}),ga.origin!=="setValue"){if(ya&&(ya.indexOf(nt)!==-1||ya.indexOf(vt)!==-1)){const ir=ya.split(nt).length-1+ya.split(vt).length-1,nr=Aa(hn,ga.from);if(console.log(`\u5220\u9664${ir}\u4E2A\uFF0C \u524D\u9762\u6709${nr}\u4E2A\uFF0C\u65B0\u589E${lr}\u4E2A`),ir>1){const Ga=Array.from({length:ir},(yr,ia)=>nr+ia);en(Ga)}else en(nr)}else if(lr>0){const ir=Aa(hn,ga.from);console.log(`\u65B0\u589E${lr}\u4E2A\uFF0C\u4E4B\u524D\u6709${ir}\u4E2A`),Mt(lr,ir)}}},wa=()=>{const hn=St.getFieldValue(In);St.setFieldsValue({[In]:hn==null?void 0:hn.map((ga,Mt)=>Ve(Sn({},ga),{position:Mt+1}))})},Ka=(0,y.useRef)(),Za=(hn,ga)=>{for(let Mt=0;Mt{La.current(hn),wa()},Sa=Be.default.useWatch(In,St);return Et.createElement("div",{className:Ge.Z.wrap},Et.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},Et.createElement(we.h,{scrollId:"name",watch:!0,height:140})),Et.createElement("div",{className:Ge.Z.questionTitleEditorWrap},Et.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},Et.createElement(we.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(hn,ga)=>{const Mt=St.getFieldValue(In);console.log("--preAnswerData",Mt,ga),St.setFieldsValue({[In]:Mt==null?void 0:Mt.map((en,ya)=>{var lr;return Ve(Sn({},en),{position:ya+1,multi_line:(lr=ga==null?void 0:ga[ya])==null?void 0:lr.multiLine})})})},placeholder:bt,onCMBeforeChange:(hn,ga)=>{za(hn,ga,Za,Ja)}}))),Et.createElement(Be.default.List,{name:In,rules:[{validator(hn,ga){if(!(ga!=null&&ga.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Mt of ga){const{answer_text:en}=Mt||{};if((en==null?void 0:en.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(hn,{add:ga,remove:Mt},{errors:en})=>(Ka.current=ga,La.current=Mt,Et.createElement(Et.Fragment,null,Et.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Et.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),Et.createElement("div",{onClick:()=>{Te.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:Et.createElement("div",null,Et.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",Et.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),Et.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},Et.createElement(xt.Z,{style:{marginRight:3,color:"#3061D0"}}),Et.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),hn.map((ya,lr)=>{var ir=ya,{key:nr,name:Ga}=ir,yr=Ut(ir,["key","name"]),ia,Oa;return Et.createElement(ke.Z,{className:"mb20",key:nr,align:"middle",wrap:!1},Et.createElement(We.Z,{flex:"0 0 auto",className:`${Ge.Z.blankIndex}`},"\u586B\u7A7A\u9879",lr+1),Et.createElement(We.Z,{flex:1},Et.createElement(ke.Z,{align:"top",justify:"space-between",wrap:!1},Et.createElement(We.Z,null,Et.createElement(Be.default.Item,Ve(Sn({},yr),{name:[Ga,"answer_text"],noStyle:!0}),(ia=Sa==null?void 0:Sa[Ga])!=null&&ia.multi_line||(Oa=Sa==null?void 0:Sa[Ga])!=null&&Oa.multiLine?Et.createElement(be,{spellCheck:!1,style:{marginLeft:10,width:550}}):Et.createElement(pe.default,{style:{marginLeft:10,width:550},className:Ge.Z.blankInput,size:"large",maxLength:1e3,onBlur:Rr=>{}}))),Ft&&Et.createElement(We.Z,{flex:"224px"},Et.createElement(Be.default.Item,Ve(Sn({},yr),{name:[Ga,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Et.createElement(xe.Z,{size:"large",className:Ge.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Et.createElement("div",{onClick:()=>_n(!0)},Et.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Et.createElement(we.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Yt}))),Et.createElement(Be.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},Et.createElement(Ye.default,{size:"large"},tt.map(hn=>Et.createElement(Ye.default.Option,{key:hn.title,value:hn.key}," ",hn.title)))),Et.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Et.createElement(Be.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},Et.createElement(xe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),Et.createElement("span",{className:"ml10 font14"},"\u79D2")),Et.createElement(Be.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},Et.createElement(Ne.ZP.Group,{style:{marginTop:-10}},Et.createElement(Ne.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Et.createElement(Ne.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Et.createElement(Ne.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),Et.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Et.createElement("div",{style:{background:"#F6F7F9",padding:15}},Et.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Et.createElement(be,{rows:4})),Et.createElement(Be.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},Et.createElement(be,{rows:4}))),Et.createElement(mt,{form:St,answerKey:In,hackIdentifier:it,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:Et.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},85500:function(ut,Gt,ae){"use strict";ae.d(Gt,{u:function(){return le}});var y=ae(59301),pe=ae(95237),Be=ae(43604),Te=ae(6848),ke=ae(78241),We=ae(58e3),xe=ae(32134),Ye=ae(12893),Ne=ae(3969),we=ae(59301),Me=Object.defineProperty,Ge=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(Ee,Ce,Qe)=>Ce in Ee?Me(Ee,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Ee[Ce]=Qe,b=(Ee,Ce)=>{for(var Qe in Ce||(Ce={}))E.call(Ce,Qe)&&x(Ee,Qe,Ce[Qe]);if(ie)for(var Qe of ie(Ce))a.call(Ce,Qe)&&x(Ee,Qe,Ce[Qe]);return Ee},z=(Ee,Ce)=>Ge(Ee,Je(Ce)),te=(Ee,Ce)=>{var Qe={};for(var De in Ee)E.call(Ee,De)&&Ce.indexOf(De)<0&&(Qe[De]=Ee[De]);if(Ee!=null&&ie)for(var De of ie(Ee))Ce.indexOf(De)<0&&a.call(Ee,De)&&(Qe[De]=Ee[De]);return Qe};const oe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ue=({value:Ee,onChange:Ce,choiceTextKey:Qe,answerKey:De,index:st,isEdit:Re,setInputActive:Ke,form:ze,choiceOptionsPath:qe,allowChangeMode:Ae,showAddIcon:gt,addItem:mt,deleteItem:xt})=>{console.log(Ee,"value");const Et=(Ee==null?void 0:Ee[De])===1,fn=()=>{const Qt=ze.getFieldValue(qe);ze.setFieldValue(qe,Qt.map(rt=>z(b({},rt),{[De]:0})))},dn=()=>{Et?Ce(z(b({},Ee),{[De]:0})):(Ae||fn(),Ce(z(b({},Ee),{[De]:1})))};return we.createElement(pe.Z,{className:We.Z.choiceWrap,align:"middle",wrap:!1},we.createElement(Be.Z,{onClick:dn,className:`${We.Z.choiceIndex} ${Et?We.Z.activeAnswer:""}`},oe[st]),we.createElement(Be.Z,{flex:1,className:`${We.Z.editorWrap} ml15`,onClick:Ke},we.createElement(Ne.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Re,value:Ee==null?void 0:Ee[Qe],onChange:Qt=>{Ce(z(b({},Ee),{[Qe]:Qt}))}})),we.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},we.createElement("div",{onClick:dn,className:`${We.Z.setAnswerBtn} ${Et?We.Z.activeAnswer:""}`},Et?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),we.createElement(Be.Z,{className:We.Z.actionWrapper},we.createElement(Te.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},we.createElement(xe.Z,{className:We.Z.addIcon,onClick:mt,style:{visibility:gt?"visible":"hidden"}})),we.createElement(Te.Z,{title:"\u5220\u9664"},we.createElement(Ye.Z,{className:We.Z.deleteIcon,onClick:xt,style:{visibility:st>1?"visible":"hidden"}}))))},le=({questionTitlePlaceholder:Ee,titleKey:Ce,choiceKey:Qe,analysisKey:De,choiceTextKey:st,answerKey:Re,choiceOptionsPath:Ke,allowChangeMode:ze=!0,form:qe,showAnalysis:Ae=!0})=>{const[gt,mt]=(0,y.useState)(),[xt,Et]=(0,y.useState)(!1);return we.createElement("div",{className:We.Z.wrap},we.createElement("div",{className:We.Z.questionTitleEditorWrap},we.createElement(ke.default.Item,{label:"\u9898\u5E72",name:Ce,labelCol:{span:24},rules:[{required:!0}]},we.createElement(Ne.h,{scrollId:Array.isArray(Ce)?Ce.join("_"):`${Ce}`,watch:!0,height:140,placeholder:Ee}))),we.createElement(ke.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),we.createElement(ke.default.List,{name:Qe,rules:[{validator(fn,dn){const Qt=dn.some(Ie=>Ie[Re]===1),rt=dn.findIndex(Ie=>{var at;return((at=Ie[st])==null?void 0:at.length)<=0});return rt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${oe[rt]}\u9009\u9879\u7684\u5185\u5BB9`)):Qt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(fn,{add:dn,remove:Qt})=>we.createElement("div",{id:Array.isArray(Ke)?Ke.join("_"):`${Ke}`},fn.map((rt,Ie)=>{var at=rt,{key:Tt,name:Sn}=at,Ve=te(at,["key","name"]);const Ut=gt===Tt,be=()=>{mt(Tt)},tt=Ie<7&&Ie===fn.length-1,Jt=()=>dn({[st]:"",[Re]:0}),nt=()=>Qt(Sn);return we.createElement(ke.default.Item,z(b({},Ve),{key:Tt,name:Sn,className:We.Z.choiceListWrap,rules:[{validator(vt,Nn){return Nn!=null&&Nn.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${oe[Ie]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),we.createElement(ue,{choiceTextKey:st,answerKey:Re,index:Ie,isEdit:Ut,setInputActive:be,form:qe,choiceOptionsPath:Ke,allowChangeMode:ze,showAddIcon:tt,addItem:Jt,deleteItem:nt}))}),fn.length<8&&we.createElement("div",{className:`${We.Z.addBtn} mb30`,onClick:()=>dn({[st]:"",[Re]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ae&&we.createElement("div",{onClick:()=>Et(!0)},we.createElement(ke.default.Item,{name:De,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},we.createElement(Ne.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xt}))))}},78909:function(ut,Gt,ae){"use strict";ae.d(Gt,{u:function(){return ze}});var y=ae(59301),pe=ae(43418),Be=ae(95237),Te=ae(43604),ke=ae(92832),We=ae(6848),xe=ae(78673),Ye=ae(78241),Ne=ae(5112),we=ae(5871),Me=ae(3969),Ge=ae(12893),Je=ae(61485),ie=ae(58e3),E=ae(27687),a=ae(59301),x=Object.defineProperty,b=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,le=(qe,Ae,gt)=>Ae in qe?x(qe,Ae,{enumerable:!0,configurable:!0,writable:!0,value:gt}):qe[Ae]=gt,Ee=(qe,Ae)=>{for(var gt in Ae||(Ae={}))oe.call(Ae,gt)&&le(qe,gt,Ae[gt]);if(te)for(var gt of te(Ae))ue.call(Ae,gt)&&le(qe,gt,Ae[gt]);return qe},Ce=(qe,Ae)=>b(qe,z(Ae)),Qe=(qe,Ae)=>{var gt={};for(var mt in qe)oe.call(qe,mt)&&Ae.indexOf(mt)<0&&(gt[mt]=qe[mt]);if(qe!=null&&te)for(var mt of te(qe))Ae.indexOf(mt)<0&&ue.call(qe,mt)&&(gt[mt]=qe[mt]);return gt};const De=({value:qe,onChange:Ae})=>{const gt=xt=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ie.Z.modal,onOk:()=>{const Et=[...qe];Et.splice(xt,1),Ae(Et)}})},mt=()=>{const xt=[...qe];xt.push(""),Ae(xt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Te.Z,{flex:1},qe==null?void 0:qe.map((xt,Et)=>a.createElement(Be.Z,{key:`${xt}_${Et}`,className:"mb20"},a.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:xt,autoSize:{maxRows:3},maxLength:1e3,onBlur:fn=>{const dn=[...qe],Qt=fn.target.value.trim();dn[Et]=Qt,Ae(dn)}}),a.createElement(We.Z,{title:"\u5220\u9664"},a.createElement(Ge.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:Et>0?"visible":"hidden"},onClick:()=>gt(Et)}))))),a.createElement(Te.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},st=({value:qe,onChange:Ae})=>{const gt=xt=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ie.Z.modal,onOk:()=>{const Et=[...qe];Et.splice(xt,1),Ae(Et)}})},mt=()=>{const xt=[...qe];xt.push(""),Ae(xt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Te.Z,{flex:1},qe==null?void 0:qe.map((xt,Et)=>a.createElement(Be.Z,{key:`${xt}_${Et}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:xt,style:{flex:1},onChange:fn=>{const dn=[...qe];dn[Et]=fn,Ae(dn)}}),a.createElement(We.Z,{title:"\u5220\u9664"},a.createElement(Ge.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:Et>0?"visible":"hidden"},onClick:()=>gt(Et)}))))),a.createElement(Te.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},Re=({value:qe=!0,onChange:Ae})=>a.createElement(xe.Z,{checked:!qe,onChange:gt=>{Ae(!gt)}}),Ke="\u2581",ze=({questionTitlePlaceholder:qe,form:Ae,scoreByBlank:gt=!1,answerKey:mt})=>{const[xt,Et]=(0,y.useState)(!1),fn=(Ve,Ut)=>{const be=Ut.line;let tt=0;for(let nt=0;nt{const Jt=Ve.getRange(Ut.from,Ut.to);let nt=0;if(Ut.text.forEach(vt=>{nt+=vt.split(Ke).length-1}),Ut.origin!=="setValue"){if(Jt&&Jt.indexOf(Ke)!==-1){const vt=Jt.split(Ke).length-1,Nn=fn(Ve,Ut.from);if(console.log(`\u5220\u9664${vt}\u4E2A\uFF0C \u524D\u9762\u6709${Nn}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),vt>1){const bt=Array.from({length:vt},(St,Ft)=>Nn+Ft);tt(bt)}else tt(Nn)}else if(nt>0){const vt=fn(Ve,Ut.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${vt}\u4E2A`),be(nt,vt)}}},Qt=()=>{const Ve=Ae.getFieldValue(mt);Ae.setFieldsValue({[mt]:Ve.map((Ut,be)=>Ce(Ee({},Ut),{position:be+1}))})},rt=(0,y.useRef)(),Ie=(Ve,Ut)=>{for(let be=0;be{at.current(Ve),Qt()},Sn=Ye.default.useWatch(mt,Ae);return a.createElement("div",{className:ie.Z.wrap},a.createElement("div",{className:ie.Z.questionTitleEditorWrap},a.createElement(Ye.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Me.h,{scrollId:"name",watch:!0,height:140,placeholder:qe,showNullButton:!0,onCMBeforeChange:(Ve,Ut)=>{dn(Ve,Ut,Ie,Tt)}}))),a.createElement(Ye.default.List,{name:mt,rules:[{validator(Ve,Ut){if(!(Ut!=null&&Ut.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const be of Ut){const{answer_text:tt}=be||{};if(tt!=null&&tt.some(Jt=>(Jt==null?void 0:Jt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Ve,{add:Ut,remove:be},{errors:tt})=>(rt.current=Ut,at.current=be,a.createElement(a.Fragment,null,a.createElement(Ye.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Ve!=null&&Ve.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Ve.map((Jt,nt)=>{var vt=Jt,{key:Nn,name:bt}=vt,St=Qe(vt,["key","name"]),Ft,it;return a.createElement("div",{style:{marginBottom:10},key:Nn},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Te.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ie.Z.blankIndex}`},"\u586B\u7A7A\u9879",nt+1),a.createElement(Ye.default.Item,Ce(Ee({},St),{name:[bt,"model"],noStyle:!0}),a.createElement(Ne.ZP.Group,{onChange:()=>{const In=Ae.getFieldValue(mt);Ae.setFieldsValue({[mt]:In.map((Yt,_n)=>Ce(Ee({},Yt),{answer_text:bt===_n?[""]:Yt.answer_text}))})}},a.createElement(Ne.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(We.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Je.Z,null))),a.createElement(Ne.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(We.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Je.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Te.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Te.Z,{flex:1},a.createElement(Ye.default.Item,Ce(Ee({},St),{name:[bt,"answer_text"],noStyle:!0}),((it=(Ft=Ae.getFieldValue(mt))==null?void 0:Ft[bt])==null?void 0:it.model)===1?a.createElement(De,null):a.createElement(st,null))),gt&&a.createElement(Te.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Ye.default.Item,Ce(Ee({},St),{name:[bt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ie.Z.blankInputNumberWrapper}),a.createElement(we.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Ye.default.Item,Ce(Ee({},St),{name:[bt,"position"],noStyle:!0}),a.createElement(ke.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(Ye.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Te.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Be.Z,{align:"middle"},a.createElement(Ye.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Te.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Sn==null?void 0:Sn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Sn==null?void 0:Sn.length)>1?"mb30":`${ie.Z.hide}`},a.createElement(Ye.default.Item,{name:"is_ordered"},a.createElement(Re,null)),a.createElement(Te.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>Et(!0)},a.createElement(Ye.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Me.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xt}))))}},27277:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return te}});var y=ae(59301),pe=ae(95237),Be=ae(43604),Te=ae(78241),ke=ae(58e3),We=ae(3969),xe=ae(59301),Ye=Object.defineProperty,Ne=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,ie=(oe,ue,le)=>ue in oe?Ye(oe,ue,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ue]=le,E=(oe,ue)=>{for(var le in ue||(ue={}))Ge.call(ue,le)&&ie(oe,le,ue[le]);if(Me)for(var le of Me(ue))Je.call(ue,le)&&ie(oe,le,ue[le]);return oe},a=(oe,ue)=>Ne(oe,we(ue)),x=(oe,ue)=>{var le={};for(var Ee in oe)Ge.call(oe,Ee)&&ue.indexOf(Ee)<0&&(le[Ee]=oe[Ee]);if(oe!=null&&Me)for(var Ee of Me(oe))ue.indexOf(Ee)<0&&Je.call(oe,Ee)&&(le[Ee]=oe[Ee]);return le};const b={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:oe,onChange:ue,form:le})=>{const Ee=(oe==null?void 0:oe.is_answer)===1,Ce=oe==null?void 0:oe.choice_text,Qe=()=>{const De=le.getFieldsValue().choices.map(st=>({choice_text:st.choice_text,is_answer:0}));le.setFieldsValue({choices:De}),ue(a(E({},oe),{is_answer:1}))};return xe.createElement(pe.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},xe.createElement(Be.Z,{onClick:Qe,className:`${ke.Z.choiceIndex} ${ke.Z.judgementIndex} ${Ee?ke.Z.activeAnswer:""}`},b[Ce]),xe.createElement(Be.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`},xe.createElement("div",{className:`${ke.Z.inputBorder} ${ke.Z.placeholder} ${Ee?ke.Z.activeJudgementAnswer:""}`},Ce)),xe.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},xe.createElement("div",{onClick:Qe,className:`${ke.Z.setAnswerBtn} ${Ee?ke.Z.activeAnswer:""}`},Ee?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:oe,choiceKey:ue,form:le})=>{const[Ee,Ce]=(0,y.useState)(!1);return xe.createElement("div",{className:ke.Z.wrap},xe.createElement("div",{className:ke.Z.questionTitleEditorWrap},xe.createElement(Te.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},xe.createElement(We.h,{scrollId:"name",watch:!0,height:140,placeholder:oe}))),xe.createElement(Te.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},xe.createElement(Te.default.List,{name:"choices",rules:[{validator(Qe,De){return De.some(Re=>(Re==null?void 0:Re.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Qe=>xe.createElement("div",{id:"choices"},Qe.map(De=>{var st=De,{key:Re,name:Ke}=st,ze=x(st,["key","name"]);return xe.createElement(Te.default.Item,a(E({},ze),{key:Re,name:Ke,noStyle:!0}),xe.createElement(z,{form:le}))})))),xe.createElement("div",{onClick:()=>Ce(!0)},xe.createElement(Te.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},xe.createElement(We.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ee}))))}},3969:function(ut,Gt,ae){"use strict";ae.d(Gt,{h:function(){return E},x:function(){return a}});var y=ae(96565),pe=ae(58e3),Be=ae(6339),Te=ae(59301),ke=Object.defineProperty,We=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Me=(x,b,z)=>b in x?ke(x,b,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[b]=z,Ge=(x,b)=>{for(var z in b||(b={}))Ne.call(b,z)&&Me(x,z,b[z]);if(Ye)for(var z of Ye(b))we.call(b,z)&&Me(x,z,b[z]);return x},Je=(x,b)=>We(x,xe(b)),ie=(x,b)=>{var z={};for(var te in x)Ne.call(x,te)&&b.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&Ye)for(var te of Ye(x))b.indexOf(te)<0&&we.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var b=x,{value:z,onChange:te,scrollId:oe}=b,ue=ie(b,["value","onChange","scrollId"]);return Te.createElement("div",{id:oe||""},Te.createElement(y.Z,Je(Ge({},ue),{defaultValue:z,onChange:(le,Ee)=>{Ee!=null&&Ee.length?te(le,Ee):te(le)}})))},a=({value:x,onChange:b,placeholder:z,height:te=140,isEdit:oe,miniToolbar:ue,watch:le=!0})=>oe?Te.createElement(y.Z,{watch:le,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:b,miniToolbar:ue}):Te.createElement("div",{style:{cursor:"pointer"}},x?Te.createElement(Be.Z,{className:pe.Z.inputBorder,value:x}):Te.createElement("div",{className:`${pe.Z.inputBorder} ${pe.Z.placeholder} inputBorderError`},z))},54190:function(ut,Gt,ae){"use strict";ae.d(Gt,{W:function(){return st}});var y=ae(59301),pe=ae(8591),Be=ae(12563),Te=ae(78241),ke=ae(78673),We=ae(95237),xe=ae(43604),Ye=ae(6848),Ne=ae(92832),we=ae(5871),Me=ae(58e3),Ge=ae(3969),Je=ae(96565),ie=ae(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,oe=(Re,Ke,ze)=>Ke in Re?E(Re,Ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Re[Ke]=ze,ue=(Re,Ke)=>{for(var ze in Ke||(Ke={}))z.call(Ke,ze)&&oe(Re,ze,Ke[ze]);if(b)for(var ze of b(Ke))te.call(Ke,ze)&&oe(Re,ze,Ke[ze]);return Re},le=(Re,Ke)=>a(Re,x(Ke)),Ee=(Re,Ke)=>{var ze={};for(var qe in Re)z.call(Re,qe)&&Ke.indexOf(qe)<0&&(ze[qe]=Re[qe]);if(Re!=null&&b)for(var qe of b(Re))Ke.indexOf(qe)<0&&te.call(Re,qe)&&(ze[qe]=Re[qe]);return ze};const Ce=Re=>{var Ke=Re,{value:ze,onChange:qe}=Ke,Ae=Ee(Ke,["value","onChange"]);const gt=mt=>{qe([mt])};return y.createElement(Je.Z,le(ue({},Ae),{defaultValue:ze==null?void 0:ze[0],onChange:gt}))},Qe=Re=>{if(!Re)return!1;if(/^s*$/.test(Re)||Re.trim()===""){pe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ke=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Re==="|"?(pe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},De=({value:Re=[],onClose:Ke})=>y.createElement(Be.Z,{closable:!0,onClose:Ke,className:Me.Z.keywordTag},y.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Re.join(" \u6216 "))),st=({questionTitlePlaceholder:Re,form:Ke,showKeywords:ze,isMustKeyWords:qe=ze})=>{const[Ae,gt]=(0,y.useState)(!1),[mt,xt]=(0,y.useState)(""),Et=Te.default.useWatch("use_keywords",Ke),fn=Te.default.useWatch("question_score",Ke);return y.createElement("div",{className:Me.Z.wrap},y.createElement("div",{className:Me.Z.questionTitleEditorWrap},y.createElement(Te.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},y.createElement(Ge.h,{scrollId:"name",watch:!0,height:140,placeholder:Re}))),y.createElement(Te.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},y.createElement(Ce,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),ze&&!qe&&y.createElement(Te.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},y.createElement(ke.Z,{defaultChecked:!0})),ze&&qe&&y.createElement(We.Z,{align:"middle",className:"mb30"},y.createElement(Te.default.Item,{name:"use_keywords",valuePropName:"checked"},y.createElement(ke.Z,null)),y.createElement(xe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(xe.Z,null,y.createElement(Ye.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(ie.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Et||!qe)&&y.createElement(Te.default.List,{name:"keywords",rules:[{validator(dn,Qt){return qe?Qt!=null&&Qt.length?(Qt==null?void 0:Qt.reduce((Ie,at)=>Ie+at.score,0))>parseFloat(fn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(dn,{add:Qt,remove:rt})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${Me.Z.title} mb10`},qe?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(We.Z,{align:"middle",className:"font14 mb30"},y.createElement(xe.Z,{flex:1},y.createElement(Ne.default,{value:mt,onChange:Ie=>{xt(Ie.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ie=>{var at,Tt,Sn,Ve;const Ut=`${(at=Ie.target)==null?void 0:at.value}`,be=(Sn=(Tt=Ut==null?void 0:Ut.split("|"))==null?void 0:Tt.filter(nt=>!!nt))==null?void 0:Sn.map(nt=>nt==null?void 0:nt.trim()),tt=Ke.getFieldValue("keywords"),Jt=((Ve=tt==null?void 0:tt.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:Ve.flat())||[];for(const nt of be)if(Jt.includes(nt)){pe.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Qe(Ut)&&(Qt({keyword:be,score:1}),xt(""))},className:Me.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(xe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),dn.map(Ie=>{var at=Ie,{key:Tt,name:Sn}=at,Ve=Ee(at,["key","name"]);return y.createElement(We.Z,{key:Tt,className:"mb20",style:{marginRight:148}},y.createElement(xe.Z,{flex:1},y.createElement(We.Z,{align:"middle",justify:"space-between"},y.createElement(Te.default.Item,le(ue({},Ve),{name:[Sn,"keyword"]}),y.createElement(De,{onClose:()=>rt(Sn)})),qe&&y.createElement(Te.default.Item,le(ue({},Ve),{name:[Sn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Me.Z.blankInputNumberWrapper}),y.createElement(we.Z,{className:Me.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>gt(!0)},y.createElement(Te.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ae}))))}},94637:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return ke}});var y={text:"text___bQulM",sup:"sup___rX_Y3"},pe=ae(78241),Be=ae(59301),ke=({text:We,name:xe="question_score"})=>{const Ye=({value:Ne})=>Be.createElement("div",{className:y.text},Be.createElement("span",{className:y.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,Ne||"--"),Be.createElement("span",{className:"c-grey-999"},We));return Be.createElement(pe.default.Item,{noStyle:!0,name:xe},Be.createElement(Ye,null))}},35479:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Qe},P:function(){return le}});var y=ae(59301),pe=ae(78241),Be=ae(43418),Te=ae(5112),ke=ae(92832),We=ae(1710),xe={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},Ye=ae(60979),Ne=Object.defineProperty,we=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,E=(De,st,Re)=>st in De?Ne(De,st,{enumerable:!0,configurable:!0,writable:!0,value:Re}):De[st]=Re,a=(De,st)=>{for(var Re in st||(st={}))Je.call(st,Re)&&E(De,Re,st[Re]);if(Ge)for(var Re of Ge(st))ie.call(st,Re)&&E(De,Re,st[Re]);return De},x=(De,st)=>we(De,Me(st)),b=(De,st)=>{var Re={};for(var Ke in De)Je.call(De,Ke)&&st.indexOf(Ke)<0&&(Re[Ke]=De[Ke]);if(De!=null&&Ge)for(var Ke of Ge(De))st.indexOf(Ke)<0&&ie.call(De,Ke)&&(Re[Ke]=De[Ke]);return Re},z=(De,st,Re)=>new Promise((Ke,ze)=>{var qe=mt=>{try{gt(Re.next(mt))}catch(xt){ze(xt)}},Ae=mt=>{try{gt(Re.throw(mt))}catch(xt){ze(xt)}},gt=mt=>mt.done?Ke(mt.value):Promise.resolve(mt.value).then(qe,Ae);gt((Re=Re.apply(De,st)).next())});const te=({studentNames:De,total:st})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return st>3?y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},De==null?void 0:De.join("\u3001")),"\u7B49",y.createElement("span",{className:xe.orangeColor},st),"\u540D\u5B66\u751F"):y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},De==null?void 0:De.join("\u3001")),Re[st],"\u540D\u5B66\u751F")},oe=({used:De,copy:st,canNotCopy:Re,studentNames:Ke,studentCount:ze,inPaper:qe,is_random:Ae=!1,position:gt=""})=>{const mt=()=>{if(st>0&&Re>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:xe.orangeColor},st),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",y.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(st>0&&Re===0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:xe.orangeColor},st),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(st===0&&Re>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:xe.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},xt=gt||(qe?"\u8BD5\u5377":"\u8BFE\u7A0B");return y.createElement("span",null,y.createElement(te,{studentNames:Ke,total:ze}),"\u5B66\u4E60\u8FC7",xt,"\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},De),"\u4E2A\u9879\u76EE\uFF0C",mt(),"\u3002\u8BF7\u9009\u62E9",Ae?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},ue=({onCancel:De,onOk:st,visible:Re,inPaper:Ke,renderData:ze,type:qe,isMultipleCourse:Ae=!1})=>{const[gt]=pe.default.useForm(),[mt,xt]=(0,y.useState)(1),[Et,fn]=(0,y.useState)(!1),dn=(0,y.useMemo)(()=>(ze==null?void 0:ze.total_num)===1&&(ze==null?void 0:ze.can_copy_num)===1,[ze]),Qt=(0,y.useMemo)(()=>{var rt;return(rt=ze==null?void 0:ze.course_data_list)==null?void 0:rt.filter(Ie=>Ie.is_show)},[ze]);return y.createElement(y.Fragment,null,dn?y.createElement(Be.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:xe.antdModal,width:682,confirmLoading:Et,onCancel:De,onOk:()=>z(void 0,null,function*(){var rt;fn(!0);let Ie=mt;if(Ae){const at=a({},gt.getFieldsValue());Ie=(rt=ze==null?void 0:ze.course_data_list)==null?void 0:rt.map(Tt=>at[Tt.id]!==void 0?x(a({},Tt),{is_copy:at[Tt.id]}):Tt)}yield st(Ie),fn(!1)})},y.createElement("div",{className:xe.content,style:{marginBottom:20}},Ae?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":y.createElement(y.Fragment,null,y.createElement(te,{studentNames:ze==null?void 0:ze.student_names,total:ze==null?void 0:ze.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Ae?y.createElement(pe.default,{form:gt,preserve:!1},Qt==null?void 0:Qt.map(rt=>y.createElement(y.Fragment,{key:rt.id},y.createElement("h3",{className:"ml15 mb5"},rt.name),y.createElement(pe.default.Item,{name:rt.id,initialValue:1},y.createElement(Te.ZP.Group,{className:xe.content},y.createElement(Te.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),y.createElement(Te.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):y.createElement(Te.ZP.Group,{value:mt,onChange:rt=>xt(rt.target.value),className:xe.content,style:{marginBottom:30}},y.createElement(Te.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),y.createElement(Te.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),y.createElement("div",null,y.createElement("div",{className:xe.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),y.createElement("div",{className:xe.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:`${xe.content} ${xe.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):y.createElement(Be.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:Et,title:"\u63D0\u793A",width:682,onCancel:De,onOk:()=>z(void 0,null,function*(){var rt;fn(!0);let Ie=0;if(Ae){const at=a({},gt.getFieldsValue());Ie=(rt=ze==null?void 0:ze.course_data_list)==null?void 0:rt.map(Tt=>at[Tt.id]!==void 0?x(a({},Tt),{is_use:at[Tt.id]}):Tt)}yield st(Ie),fn(!1)})},y.createElement("div",{className:xe.content},y.createElement(te,{studentNames:ze==null?void 0:ze.student_names,total:ze==null?void 0:ze.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Ae?y.createElement(pe.default,{form:gt,preserve:!1},y.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Qt==null?void 0:Qt.map(rt=>y.createElement(y.Fragment,{key:rt.id},y.createElement("h3",{className:"ml15 mb5"},rt.name),y.createElement(pe.default.Item,{name:rt.id,initialValue:1},y.createElement(Te.ZP.Group,{className:xe.content},y.createElement(Te.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),y.createElement(Te.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):y.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",y.createElement("span",{className:xe.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},le=function(){const[De,st]=(0,y.useState)(!1),[Re,Ke]=(0,y.useState)();return[De,()=>st(!1),Re,Ae=>z(this,null,function*(){var gt;const mt=Ae,{isImportMultipleCourse:xt=!1}=mt,Et=b(mt,["isImportMultipleCourse"]);console.log(Ae);const fn=(Ae==null?void 0:Ae.result)||(yield(0,Ye.Tr)(Et));return"status"in fn?!1:xt?((gt=fn==null?void 0:fn.course_data_list)==null?void 0:gt.some(Qt=>Qt.is_show))?(Ke(fn),st(!0),!0):fn.course_data_list||[]:fn.student_count===0?!1:(Ke(fn),st(!0),!0)})]},Ee=De=>{const[st]=pe.default.useForm(),[Re,Ke]=(0,y.useState)(!1),{onCancel:ze,onOk:qe,visible:Ae,inPaper:gt=!1,renderData:mt,type:xt,isMultipleCourse:Et=!1,position:fn}=De;let dn=(0,y.useMemo)(()=>gt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Ie,at){return y.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ie)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Ie,at)=>y.createElement(y.Fragment,null,y.createElement(pe.default.Item,{name:[`${xt==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],initialValue:1},y.createElement(Te.ZP.Group,null,y.createElement(Te.ZP,{value:1},"\u662F"),y.createElement(Te.ZP,{value:0},"\u5426"))),y.createElement(pe.default.Item,{name:[`${xt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Ie,at){return y.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ie)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Ie,at)=>y.createElement(pe.default.Item,{name:[`${xt==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],initialValue:1},y.createElement(Te.ZP.Group,null,y.createElement(Te.ZP,{value:1},"\u662F"),y.createElement(Te.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Ie,at)=>y.createElement(pe.default.Item,{name:[`${xt==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],initialValue:1},y.createElement(Te.ZP.Group,null,y.createElement(Te.ZP,{value:1},"\u662F"),y.createElement(Te.ZP,{value:0},"\u5426")))}],[gt]),Qt=(0,y.useMemo)(()=>gt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,align:"center",ellipsis:!0,render:(Ie,at)=>y.createElement(y.Fragment,null,y.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ie),y.createElement(pe.default.Item,{name:[`${xt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(ke.default,{type:"hidden"})),y.createElement(pe.default.Item,{name:[`${xt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,ellipsis:!0,align:"center",render:(Ie,at)=>y.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ie)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Ie,at)=>y.createElement(y.Fragment,null,y.createElement(pe.default.Item,{name:[`${xt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],initialValue:0},y.createElement(Te.ZP.Group,null,y.createElement(Te.ZP,{value:1},"\u662F"),y.createElement(Te.ZP,{value:0},"\u5426"))),y.createElement(pe.default.Item,{name:[`${xt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(ke.default,{type:"hidden"})))}],[gt]);if(Et){const Ie={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:xe.tableCell,render:(at,Tt)=>y.createElement("a",{href:`/classrooms/${Tt.course_id}`},at)};dn=[Ie,...dn],Qt=[Ie,...Qt]}const rt=(0,y.useMemo)(()=>oe({used:mt==null?void 0:mt.repeat_shixun_num,copy:mt==null?void 0:mt.can_copy_num,canNotCopy:mt==null?void 0:mt.no_copy_num,studentNames:mt==null?void 0:mt.student_names,studentCount:mt==null?void 0:mt.student_count,is_random:mt==null?void 0:mt.is_random,inPaper:gt,position:fn}),[mt,gt,fn]);return y.createElement(Be.default,{title:"\u63D0\u793A",centered:!0,open:Ae,confirmLoading:Re,onOk:()=>z(void 0,null,function*(){Ke(!0);const Ie=st.getFieldsValue(),at=Object.keys(Ie).map(Tt=>({id:parseInt(Tt.split("_")[0]),course_id:parseInt(Tt.split("_")[1]),is_use:Ie[Tt].is_use,is_copy:Ie[Tt].is_copy}));yield qe(at),Ke(!1)}),onCancel:ze,width:880,okText:"\u786E\u8BA4",className:xe.antdModal,destroyOnClose:!0},y.createElement(pe.default,{form:st,preserve:!1},y.createElement("div",{className:xe.brief},rt),y.createElement("div",{style:{marginBottom:30}},y.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),y.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:xe.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(mt==null?void 0:mt.can_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:xe.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(We.default,{columns:dn,className:xe.antdTable,dataSource:mt==null?void 0:mt.can_copy_list,rowKey:xt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(mt==null?void 0:mt.no_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:xe.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(We.default,{columns:Qt,className:xe.antdTable,dataSource:mt==null?void 0:mt.no_copy_list,rowKey:xt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(mt==null?void 0:mt.no_use_list.length)>0&&(mt==null?void 0:mt.no_use_list.map(Ie=>y.createElement("div",{key:xt==="subject"?Ie.stage_shixun_id:Ie.shixun_course_id||Ie.id},y.createElement(pe.default.Item,{name:[`${xt==="subject"?Ie==null?void 0:Ie.stage_shixun_id:Ie.shixun_course_id||Ie.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(ke.default,{type:"hidden"})),y.createElement(pe.default.Item,{name:[`${xt==="subject"?Ie==null?void 0:Ie.stage_shixun_id:Ie.shixun_course_id||Ie.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(ke.default,{type:"hidden"})))))))};var Qe=De=>{const{modalType:st}=De;return st==="multiple"?y.createElement(Ee,a({},De)):y.createElement(ue,a({},De))}},83028:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ye}});var y=ae(59301),pe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Be=ae(43418),Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",We=(Ne,we,Me)=>new Promise((Ge,Je)=>{var ie=x=>{try{a(Me.next(x))}catch(b){Je(b)}},E=x=>{try{a(Me.throw(x))}catch(b){Je(b)}},a=x=>x.done?Ge(x.value):Promise.resolve(x.value).then(ie,E);a((Me=Me.apply(Ne,we)).next())}),Ye=({type:Ne,resdata:we,onok:Me,oktext:Ge,okloading:Je})=>{const[ie,E]=(0,y.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:b,course_data_list:z,no_copy_list:te,no_copy_num:oe,no_use_list:ue,no_use_num:le,repeat_shixun_num:Ee,student_count:Ce,total_num:Qe,use_num:De}=we;let st=x>0||Ne==="exercise";(0,y.useEffect)(()=>{(we==null?void 0:we.student_count)>0&&E(!0)},[we]),console.log("---11",Je),(0,y.useEffect)(()=>{Je||E(!1)},[Je]);const Re=()=>{if(Ne==="exercise"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Ne==="exercise"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="shixun"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="shixun"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="subject"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="subject"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:pe.orangeColor},Ce)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:pe.orangeColor},De)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Ne==="shixunpush"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ne==="shixunpush"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},Ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ke=()=>{if(Ne==="exercise"||Ne==="subject"||Ne==="exercisepush"||Ne==="shixunpush")return y.createElement("div",{style:{marginTop:20}},oe>0&&y.createElement("div",null,y.createElement("span",{className:pe.flex},y.createElement("img",{src:ke,style:{width:14}}),y.createElement("span",{className:pe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:pe.statusbody},Ne==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Ne==="subject"||Ne==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",st&&y.createElement("span",{className:pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ne==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",st&&y.createElement("span",{className:pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),y.createElement("div",null,te==null?void 0:te.map((ze,qe)=>y.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",qe+1!==oe&&"\u3001"))))),x>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:pe.flex},y.createElement("img",{src:Te,style:{width:14}}),y.createElement("span",{className:pe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:pe.statusbody},Ne==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Ne==="subject"||Ne==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ne==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),y.createElement("div",null,a==null?void 0:a.map((ze,qe)=>y.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",qe+1!==x&&"\u3001"))))));if(Ne==="shixun")return y.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return y.createElement(Be.default,{open:ie,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!st&&"none"}},zIndex:1003,confirmLoading:Je,okText:st?Ge:"\u6211\u77E5\u9053\u4E86",onOk:()=>We(void 0,null,function*(){st?yield Me([...a,...ue]):E(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Ke()))}},85533:function(ut,Gt,ae){"use strict";ae.d(Gt,{h:function(){return oe}});var y=ae(59301),pe=ae(57809),Be=ae(78241),Te=ae(3113),ke=ae(89780),We=ae.n(ke),xe=ae(45559),Ye=ae(42313),Ne=Object.defineProperty,we=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,E=(ue,le,Ee)=>le in ue?Ne(ue,le,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ue[le]=Ee,a=(ue,le)=>{for(var Ee in le||(le={}))Je.call(le,Ee)&&E(ue,Ee,le[Ee]);if(Ge)for(var Ee of Ge(le))ie.call(le,Ee)&&E(ue,Ee,le[Ee]);return ue},x=(ue,le)=>we(ue,Me(le));const b=pe.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Gt.Z=({callback:ue,onCancel:le})=>{const[Ee,Ce]=(0,y.useState)("python");function Qe(st){Ce(te[st][1])}function De(st){ue(st)}return y.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,style:{width:500}}),y.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(pe.default,{getPopupContainer:st=>st.parentNode,onChange:Qe},Object.keys(te).map(st=>y.createElement(b,{key:st,value:st},te[st][0])))),y.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(oe,{mode:Ee})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Te.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function oe({value:ue,onChange:le,mode:Ee,options:Ce={}}){const Qe=(0,y.useRef)(),[De,st]=(0,y.useState)();return(0,y.useEffect)(()=>{if(De){let Re=function(Ke){const ze=Ke.getValue();le&&le(ze)};return De.on("change",Re),()=>{De.off("change",Re)}}},[De,le]),(0,y.useEffect)(()=>{De&&De.setOption("mode",Ee)},[De,Ee]),(0,y.useEffect)(()=>{De&&(ue!==De.getValue()||ue==="")&&setTimeout(()=>{De.setValue(ue||"")},300)},[De,ue]),(0,y.useEffect)(()=>{if(Qe.current&&!De){const Re=We().fromTextArea(Qe.current,a({mode:Ee,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ce));st(Re)}},[Qe.current,De]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:Qe}))}},96565:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ln}});var y=ae(59301),pe=ae(89780),Be=ae.n(pe),Te=ae(76374),ke=ae(45559),We=ae(6313),xe=ae(25717),Ye=ae(99498),Ne=ae(25419),we=ae(67549),Me=ae(6339),Ge=({value:$e="",className:ot,showTextOnly:_e,showLines:En,style:yn={}})=>{const Zn=(0,y.useMemo)(()=>"",[$e]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:Zn}}))},Je=ae(59301),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=($e,ot,_e)=>ot in $e?ie($e,ot,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$e[ot]=_e,oe=($e,ot)=>{for(var _e in ot||(ot={}))b.call(ot,_e)&&te($e,_e,ot[_e]);if(x)for(var _e of x(ot))z.call(ot,_e)&&te($e,_e,ot[_e]);return $e},ue=($e,ot)=>E($e,a(ot));let le=[{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 Ee({onActionCallback:$e,title:ot,icon:_e,actionName:En,className:yn="",children:Zn}){function Ta(){$e(En)}return Je.createElement("a",{title:ot,className:yn,onClick:Ta},Je.createElement("i",{className:`${_e}`}),Zn)}var Ce=({watch:$e,showNullButton:ot,showNullProgramButton:_e,onActionCallback:En,fullScreen:yn,insertTemp:Zn,hidetoolBar:Ta,extraUse:Fa})=>{const sa=[...le,{title:`${$e?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${$e?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Je.createElement("ul",{className:"markdown-toolbar-container"},!Ta&&sa.map((Ia,ma)=>Je.createElement("li",{key:ma},Ia.actionName?Je.createElement(Ee,ue(oe({},Ia),{onActionCallback:En})):Je.createElement("span",{className:"v-line"}))),ot?Je.createElement("li",null,Je.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:En},Je.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,_e?Je.createElement(Je.Fragment,null,Je.createElement("li",null,Je.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:En},Je.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Je.createElement("li",null,Je.createElement(Ee,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:En},Je.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Zn&&Je.createElement("li",null,Je.createElement(Ee,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Zn}`,onActionCallback:En},Je.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Fa&&Je.createElement("li",null,Fa),Je.createElement("li",{className:"btn-full-screen"},Je.createElement(Ee,{icon:`${yn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:yn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:En})))},Qe=ae(57261),De=ae(78241),st=ae(92832),Re=ae(3113),Ke=Object.defineProperty,ze=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,xt=($e,ot,_e)=>ot in $e?Ke($e,ot,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$e[ot]=_e,Et=($e,ot)=>{for(var _e in ot||(ot={}))gt.call(ot,_e)&&xt($e,_e,ot[_e]);if(Ae)for(var _e of Ae(ot))mt.call(ot,_e)&&xt($e,_e,ot[_e]);return $e},fn=($e,ot)=>ze($e,qe(ot));const dn={labelCol:{span:4},wrapperCol:{span:20}};var Qt=({callback:$e,onCancel:ot})=>{function _e(En){$e(En)}return y.createElement(De.default,fn(Et({},dn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:_e,style:{width:500}}),y.createElement(De.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(st.default,null)),y.createElement(De.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(st.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Re.ZP,{type:"ghost",onClick:ot},"\u53D6\u6D88")))},rt=ae(85533),Ie=ae(45053),at=ae(43418),Tt=ae(95237),Sn=ae(16750),Ve=ae(59301),Ut=({callback:$e,onCancel:ot})=>{const _e=document.createElement("canvas"),En=_e.getContext("2d");_e.width=1e3,_e.height=800,En.fillStyle="#ffffff",En.fillRect(0,0,_e.width,_e.height);const yn=_e.toDataURL("image/png");return Ve.createElement(at.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ve.createElement(Tt.Z,{style:{height:"100vh"}},Ve.createElement(Sn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:yn,visible:!0,title:String(Date.now())},onOk:Zn=>{$e({src:Zn.url})},onClose:ot})))},be=ae(12378);function tt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(tt,go.CommandHandler),tt.prototype.canAlignSelection=function(){var $e=this.diagram;return!($e===null||$e.isReadOnly||$e.isModelReadOnly||$e.selection.count<2)},tt.prototype.alignLeft=function(){var $e=this.diagram;$e.startTransaction("aligning left");var ot=1/0;$e.selection.each(function(_e){_e instanceof go.Link||(ot=Math.min(_e.position.x,ot))}),$e.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(ot,_e.position.y))}),$e.commitTransaction("aligning left")},tt.prototype.alignRight=function(){var $e=this.diagram;$e.startTransaction("aligning right");var ot=-1/0;$e.selection.each(function(_e){if(!(_e instanceof go.Link)){var En=_e.actualBounds.x+_e.actualBounds.width;ot=Math.max(En,ot)}}),$e.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(ot-_e.actualBounds.width,_e.position.y))}),$e.commitTransaction("aligning right")},tt.prototype.alignTop=function(){var $e=this.diagram;$e.startTransaction("alignTop");var ot=1/0;$e.selection.each(function(_e){_e instanceof go.Link||(ot=Math.min(_e.position.y,ot))}),$e.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(_e.position.x,ot))}),$e.commitTransaction("alignTop")},tt.prototype.alignBottom=function(){var $e=this.diagram;$e.startTransaction("aligning bottom");var ot=-1/0;$e.selection.each(function(_e){if(!(_e instanceof go.Link)){var En=_e.actualBounds.y+_e.actualBounds.height;ot=Math.max(En,ot)}}),$e.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(_e.actualBounds.x,ot-_e.actualBounds.height))}),$e.commitTransaction("aligning bottom")},tt.prototype.alignCenterX=function(){var $e=this.diagram,ot=$e.selection.first();if(ot){$e.startTransaction("aligning Center X");var _e=ot.actualBounds.x+ot.actualBounds.width/2;$e.selection.each(function(En){En instanceof go.Link||En.move(new go.Point(_e-En.actualBounds.width/2,En.actualBounds.y))}),$e.commitTransaction("aligning Center X")}},tt.prototype.alignCenterY=function(){var $e=this.diagram,ot=$e.selection.first();if(ot){$e.startTransaction("aligning Center Y");var _e=ot.actualBounds.y+ot.actualBounds.height/2;$e.selection.each(function(En){En instanceof go.Link||En.move(new go.Point(En.actualBounds.x,_e-En.actualBounds.height/2))}),$e.commitTransaction("aligning Center Y")}},tt.prototype.alignColumn=function($e){var ot=this.diagram;ot.startTransaction("align Column"),$e===void 0&&($e=0),$e=parseFloat($e);var _e=new Array;ot.selection.each(function(Fa){Fa instanceof go.Link||_e.push(Fa)});for(var En=0;En<_e.length-1;En++){var yn=_e[En],Zn=yn.actualBounds.y+yn.actualBounds.height+$e,Ta=_e[En+1];Ta.move(new go.Point(yn.actualBounds.x,Zn))}ot.commitTransaction("align Column")},tt.prototype.alignRow=function($e){$e===void 0&&($e=0),$e=parseFloat($e);var ot=this.diagram;ot.startTransaction("align Row");var _e=new Array;ot.selection.each(function(Fa){Fa instanceof go.Link||_e.push(Fa)});for(var En=0;En<_e.length-1;En++){var yn=_e[En],Zn=yn.actualBounds.x+yn.actualBounds.width+$e,Ta=_e[En+1];Ta.move(new go.Point(Zn,yn.actualBounds.y))}ot.commitTransaction("align Row")},tt.prototype.canRotate=function($e){var ot=this.diagram;return!(ot===null||ot.isReadOnly||ot.isModelReadOnly||ot.selection.count<1)},tt.prototype.rotate=function($e){$e===void 0&&($e=90);var ot=this.diagram;ot.startTransaction("rotate "+$e.toString());var ot=this.diagram;ot.selection.each(function(_e){_e instanceof go.Link||_e instanceof go.Group||(_e.angle+=$e)}),ot.commitTransaction("rotate "+$e.toString())},tt.prototype.pullToFront=function(){var $e=this.diagram;$e.startTransaction("pullToFront");var ot=new go.Map;$e.selection.each(function(_e){ot.set(_e.layer,0)}),ot.iteratorKeys.each(function(_e){var En=0;_e.parts.each(function(yn){if(!yn.isSelected){var Zn=yn.zOrder;isNaN(Zn)?yn.zOrder=0:En=Math.max(En,Zn)}}),ot.set(_e,En)}),$e.selection.each(function(_e){tt._assignZOrder(_e,ot.get(_e.layer)+1)}),$e.commitTransaction("pullToFront")},tt.prototype.pushToBack=function(){var $e=this.diagram;$e.startTransaction("pushToBack");var ot=new go.Map;$e.selection.each(function(_e){ot.set(_e.layer,0)}),ot.iteratorKeys.each(function(_e){var En=0;_e.parts.each(function(yn){if(!yn.isSelected){var Zn=yn.zOrder;isNaN(Zn)?yn.zOrder=0:En=Math.min(En,Zn)}}),ot.set(_e,En)}),$e.selection.each(function(_e){tt._assignZOrder(_e,ot.get(_e.layer)-1-tt._findGroupDepth(_e))}),$e.commitTransaction("pushToBack")},tt._assignZOrder=function($e,ot,_e){_e===void 0&&(_e=$e),$e.layer===_e.layer&&($e.zOrder=ot),$e instanceof go.Group&&$e.memberParts.each(function(En){tt._assignZOrder(En,ot+1,_e)})},tt._findGroupDepth=function($e){if($e instanceof go.Group){var ot=0;return $e.memberParts.each(function(_e){ot=Math.max(ot,tt._findGroupDepth(_e))}),ot+1}else return 0},tt.prototype.doKeyDown=function(){var $e=this.diagram;if($e!==null){var ot=$e.lastInput;if(ot.key==="Up"||ot.key==="Down"||ot.key==="Left"||ot.key==="Right"){var _e=this.arrowKeyBehavior;if(_e==="none")return;if(_e==="select"){this._arrowKeySelect();return}else if(_e==="move"){this._arrowKeyMove();return}else if(_e==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},tt.prototype._getAllParts=function(){var $e=new Array;return this.diagram.nodes.each(function(ot){$e.push(ot)}),this.diagram.parts.each(function(ot){$e.push(ot)}),$e},tt.prototype._arrowKeyMove=function(){var $e=this.diagram,ot=$e.lastInput,_e=0,En=0;if(ot.control||ot.meta)_e=1,En=1;else if($e.grid!==null){var yn=$e.grid.gridCellSize;En=yn.width,_e=yn.height}$e.startTransaction("arrowKeyMove"),$e.selection.each(function(Zn){ot.key==="Up"?Zn.move(new go.Point(Zn.actualBounds.x,Zn.actualBounds.y-_e)):ot.key==="Down"?Zn.move(new go.Point(Zn.actualBounds.x,Zn.actualBounds.y+_e)):ot.key==="Left"?Zn.move(new go.Point(Zn.actualBounds.x-En,Zn.actualBounds.y)):ot.key==="Right"&&Zn.move(new go.Point(Zn.actualBounds.x+En,Zn.actualBounds.y))}),$e.commitTransaction("arrowKeyMove")},tt.prototype._arrowKeySelect=function(){var $e=this.diagram,ot=$e.lastInput,_e=null;ot.key==="Up"?_e=this._findNearestPartTowards(270):ot.key==="Down"?_e=this._findNearestPartTowards(90):ot.key==="Left"?_e=this._findNearestPartTowards(180):ot.key==="Right"&&(_e=this._findNearestPartTowards(0)),_e!==null&&(ot.shift?_e.isSelected=!0:ot.control||ot.meta?_e.isSelected=!_e.isSelected:$e.select(_e))},tt.prototype._findNearestPartTowards=function($e){var ot=this.diagram.selection.first();if(ot===null)return null;for(var _e=ot.actualBounds.center,En=this._getAllParts(),yn=1/0,Zn=ot,Ta=0;Ta0){for(var Fa=Zn.elt(Ta-1);Fa!==null&&Fa.isTreeExpanded&&!Fa.isTreeLeaf;){var sa=this._sortTreeChildrenByY(Fa);Fa=sa.last()}Fa!==null&&$e.select(Fa)}else $e.select(yn)}}else if(_e.key==="Down")if(ot.isTreeExpanded&&!ot.isTreeLeaf){var En=this._sortTreeChildrenByY(ot).first();En!==null&&$e.select(En)}else for(;ot!==null;){var yn=ot.findTreeParentNode();if(yn===null)break;var Zn=this._sortTreeChildrenByY(yn),Ta=Zn.indexOf(ot);if(TaZn.y?1:yn.xZn.x?1:0}),ot},tt.prototype.copyToClipboard=function($e){go.CommandHandler.prototype.copyToClipboard.call(this,$e),this._lastPasteOffset.set(this.pasteOffset)},tt.prototype.pasteFromClipboard=function(){var $e=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts($e,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),$e},Object.defineProperty(tt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function($e){if($e!=="move"&&$e!=="select"&&$e!=="scroll"&&$e!=="tree"&&$e!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+$e);this._arrowKeyBehavior=$e}}),Object.defineProperty(tt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function($e){if(!($e instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+$e);this._pasteOffset.set($e)}});var Jt=tt,nt=ae(25863),vt=ae(43604),Nn=ae(38147),bt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},St=ae(59301),Ft=($e,ot,_e)=>new Promise((En,yn)=>{var Zn=sa=>{try{Fa(_e.next(sa))}catch(Ia){yn(Ia)}},Ta=sa=>{try{Fa(_e.throw(sa))}catch(Ia){yn(Ia)}},Fa=sa=>sa.done?En(sa.value):Promise.resolve(sa.value).then(Zn,Ta);Fa((_e=_e.apply($e,ot)).next())});function it({onCancel:$e,callback:ot}){let _e=(0,y.useRef)(),En=(0,y.useRef)(),yn=(0,y.useRef)(),Zn=(0,y.useRef)(!1);const Ta=(0,y.useRef)(!1),[Fa,sa]=(0,y.useState)(0);function Ia(){const Vt=be.bx.make,_a={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"};_e.current=new be.S0(En.current,{padding:20,grid:Vt(be.s_,"Grid",Vt(be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Vt(be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:On=>{var ha=On.diagram.commandHandler.addTopLevelParts(On.diagram.selection,!0);ha||On.diagram.currentTool.doCancel()},commandHandler:Vt(Jt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:On=>{var ha=On.subject;ha.location=ha.location.copy().snapToGridPoint(On.diagram.grid.gridOrigin,On.diagram.grid.gridCellSize),setTimeout(()=>{On.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:On=>{var ha=On.subject;setTimeout(()=>{On.diagram.commandHandler.editTextBlock()})},LinkRelinked:On=>{var ha=On.parameter.part;ha.invalidateConnectedLinks();var la=On.subject;On.diagram.toolManager.linkingTool.isForwards?la.toNode.invalidateConnectedLinks():la.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),_e.current.nodeTemplate=Vt(be.NB,"Auto",{locationSpot:be.z6.Center,locationObjectName:"SHAPE",desiredSize:new be.$u(120,60),minSize:new be.$u(40,40),resizable:!0,resizeCellSize:new be.$u(10,10),rotatable:!0},new be.KX("location","loc",be.E9.parse).makeTwoWay(be.E9.stringify),new be.KX("desiredSize","size",be.$u.parse).makeTwoWay(be.$u.stringify),Vt(be.bn,{name:"SHAPE",fill:_a.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:be.z6.AllSides,toSpot:be.z6.AllSides},new be.KX("figure"),new be.KX("fill"),new be.KX("stroke","borderColor"),new be.KX("strokeWidth","thickness"),new be.KX("strokeDashArray","dash")),Vt(be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Vt(be.al,{margin:1,textAlign:"center",overflow:be.al.OverflowEllipsis,editable:!0},new be.KX("text").makeTwoWay(),new be.KX("stroke","color"))),_e.current.nodeTemplate.toolTip=Vt("ToolTip",Vt(be.s_,"Vertical",{maxSize:new be.$u(200,NaN)},Vt(be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new be.KX("text")),Vt(be.al,{font:"10pt sans-serif",textAlign:"center"},new be.KX("text","details"))));function vr(On,ha){var la=(Xn,Sr)=>{Xn.handled=!0,Xn.diagram.model.commit(xr=>{var Mr=Sr.part.adornedPart,Br=new be.E9().setRectSpot(Mr.actualBounds,On);Br.subtract(Mr.location),Br.scale(2,2),Br.x+=Math.sign(Br.x)*130,Br.y+=Math.sign(Br.y)*130,Br.add(Mr.location),Br.snapToGridPoint(Xn.diagram.grid.gridOrigin,Xn.diagram.grid.gridCellSize);var dr=xr.copyNodeData(Mr.data);xr.setGroupKeyForNodeData(dr,xr.getGroupKeyForNodeData(Mr.data)),xr.addNodeData(dr);var Eo={from:Mr.key,to:xr.getKeyForNodeData(dr)};xr.addLinkData(Eo);var po=Xn.diagram.findNodeForData(dr);po.location=Br,Xn.diagram.select(po),setTimeout(()=>{Xn.diagram.commandHandler.editTextBlock()},20)})};return Vt(be.bn,{figure:ha,alignment:On,alignmentFocus:On.opposite(),width:On.equals(be.z6.Top)||On.equals(be.z6.Bottom)?25:18,height:On.equals(be.z6.Top)||On.equals(be.z6.Bottom)?18:25,fill:"orange",stroke:_a.white,strokeWidth:4,mouseEnter:(Xn,Sr)=>Sr.fill="dodgerblue",mouseLeave:(Xn,Sr)=>Sr.fill="orange",isActionable:!0,click:la,contextClick:la})}function Yr(On){return Vt(be.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:(ha,la)=>la.fill="dodgerblue",mouseLeave:(ha,la)=>la.fill="orange",click:(ha,la)=>{ha.diagram.commandHandler.showContextMenu(la.part.adornedPart)}},On||{})}_e.current.nodeTemplate.selectionAdornmentTemplate=Vt(be.uz,"Spot",Vt(be.Vm,{padding:10}),vr(be.z6.Top,"TriangleUp"),vr(be.z6.Left,"TriangleLeft"),vr(be.z6.Right,"TriangleRight"),vr(be.z6.Bottom,"TriangleDown"),Yr({alignment:new be.z6(.75,0)}));function jt(On,ha){return(la,Xn)=>{la.handled=!0,la.diagram.model.commit(Sr=>{Sr.set(Xn.part.adornedPart.data,On,ha)})}}function gr(On,ha){return ha||(ha="color"),Vt(be.bn,{width:16,height:16,stroke:"lightgray",fill:On,margin:1,background:"transparent",mouseEnter:(la,Xn)=>Xn.stroke="dodgerblue",mouseLeave:(la,Xn)=>Xn.stroke="lightgray",click:jt(ha,On),contextClick:jt(ha,On)})}function At(){return[Vt("ContextMenuButton",Vt(be.s_,"Horizontal",gr(_a.white,"fill"),gr(_a.beige,"fill"),gr(_a.extralightblue,"fill"),gr(_a.extralightred,"fill"))),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",gr(_a.lightgray,"fill"),gr(_a.lightgreen,"fill"),gr(_a.lightblue,"fill"),gr(_a.lightred,"fill")))]}function Bt(){return[Vt("ContextMenuButton",Vt(be.s_,"Horizontal",gr(_a.black),gr(_a.green),gr(_a.blue),gr(_a.red))),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",gr(_a.white),gr(_a.magenta),gr(_a.purple),gr(_a.orange)))]}function fa(On,ha){return ha||(ha="thickness"),Vt(be.bn,"LineH",{width:16,height:16,strokeWidth:On,margin:1,background:"transparent",mouseEnter:(la,Xn)=>Xn.background="dodgerblue",mouseLeave:(la,Xn)=>Xn.background="transparent",click:jt(ha,On),contextClick:jt(ha,On)})}function Qn(On,ha){return ha||(ha="dash"),Vt(be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:On,margin:1,background:"transparent",mouseEnter:(la,Xn)=>Xn.background="dodgerblue",mouseLeave:(la,Xn)=>Xn.background="transparent",click:jt(ha,On),contextClick:jt(ha,On)})}function Pa(){return[Vt("ContextMenuButton",Vt(be.s_,"Horizontal",fa(1),fa(2),fa(3),fa(4))),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",Qn(null),Qn([2,4]),Qn([4,4])))]}function qa(On,ha){return ha||(ha="figure"),Vt(be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:On,margin:1,background:"transparent",mouseEnter:(la,Xn)=>Xn.fill="dodgerblue",mouseLeave:(la,Xn)=>Xn.fill="lightgray",click:jt(ha,On),contextClick:jt(ha,On)})}_e.current.nodeTemplate.contextMenu=Vt("ContextMenu",Vt("ContextMenuButton",Vt(be.s_,"Horizontal",qa("Rectangle"),qa("RoundedRectangle"),qa("Ellipse"),qa("Diamond"))),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",qa("Parallelogram2"),qa("ManualOperation"),qa("Procedure"),qa("Cylinder1"))),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",qa("Terminator"),qa("CreateRequest"),qa("Document"),qa("TriangleDown"))),At(),Bt(),Pa()),_e.current.groupTemplate=Vt(be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(On,ha)=>{var la=ha.addMembers(ha.diagram.selection,!0);la||ha.diagram.currentTool.doCancel()},avoidable:!1},new be.KX("location","loc",be.E9.parse).makeTwoWay(be.E9.stringify),Vt(be.s_,"Auto",{name:"BODY"},Vt(be.bn,{parameter1:10,fill:_a.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:be.z6.AllSides,toSpot:be.z6.AllSides},new be.KX("fill"),new be.KX("stroke","color"),new be.KX("strokeWidth","thickness"),new be.KX("strokeDashArray","dash")),Vt(be.Vm,{background:"transparent",margin:20})),Vt(be.al,{alignment:be.z6.Top,alignmentFocus:be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new be.KX("text"),new be.KX("stroke","color"))),_e.current.groupTemplate.selectionAdornmentTemplate=Vt(be.uz,"Spot",Vt(be.s_,"Auto",Vt(be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Vt(be.Vm,{margin:1.5})),Yr({alignment:be.z6.TopRight,alignmentFocus:be.z6.BottomRight})),_e.current.groupTemplate.contextMenu=Vt("ContextMenu",At(),Bt(),Pa()),_e.current.linkTemplate=Vt(be.rU,{layerName:"Foreground",routing:be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new be.KX("fromSpot","fromSpot",be.z6.parse),new be.KX("toSpot","toSpot",be.z6.parse),new be.KX("fromShortLength","dir",On=>On>=1?10:0),new be.KX("toShortLength","dir",On=>On>=1?10:0),new be.KX("points").makeTwoWay(),Vt(be.bn,{strokeWidth:2},new be.KX("stroke","color"),new be.KX("strokeWidth","thickness"),new be.KX("strokeDashArray","dash")),Vt(be.bn,{segmentIndex:0,segmentOffset:new be.E9(15,0),segmentOrientation:be.rU.OrientAlong,alignmentFocus:be.z6.Right,figure:"circle",width:10,strokeWidth:0},new be.KX("fill","color"),new be.KX("visible","dir",On=>On===1)),Vt(be.bn,{segmentIndex:-1,segmentOffset:new be.E9(-10,6),segmentOrientation:be.rU.OrientPlus90,alignmentFocus:be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new be.KX("fill","color"),new be.KX("visible","dir",On=>On>=1),new be.KX("width","thickness",On=>7+3*On),new be.KX("height","thickness",On=>7+3*On),new be.KX("segmentOffset","thickness",On=>new be.E9(-15,4+1.5*On))),Vt(be.bn,{segmentIndex:0,segmentOffset:new be.E9(15,-6),segmentOrientation:be.rU.OrientMinus90,alignmentFocus:be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new be.KX("fill","color"),new be.KX("visible","dir",On=>On===2),new be.KX("width","thickness",On=>7+3*On),new be.KX("height","thickness",On=>7+3*On),new be.KX("segmentOffset","thickness",On=>new be.E9(-15,4+1.5*On))),Vt(be.al,{alignmentFocus:new be.z6(0,1,-4,0),editable:!0},new be.KX("text").makeTwoWay(),new be.KX("stroke","color"))),_e.current.linkTemplate.selectionAdornmentTemplate=Vt(be.uz,Vt(be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ka(2)},new be.KX("pathPattern","thickness",ka)),Yr({alignmentFocus:new be.z6(0,0,-6,-4)}));function ka(On){return Vt(be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(On+4).toString()+" H3"})}function Ca(On){var ha="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return On===0?ha="M0 0 M16 16 M0 8 L16 8":On===2&&(ha="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Vt(be.bn,{geometryString:ha,margin:2,background:"transparent",mouseEnter:(la,Xn)=>Xn.background="dodgerblue",mouseLeave:(la,Xn)=>Xn.background="transparent",click:jt("dir",On),contextClick:jt("dir",On)})}function na(On){var ha=(la,Xn)=>{la.handled=!0,la.diagram.model.commit(Sr=>{var xr=Xn.part.adornedPart;Sr.set(xr.data,On?"toSpot":"fromSpot",be.z6.stringify(be.z6.AllSides)),(On?xr.toNode:xr.fromNode).invalidateConnectedLinks()})};return Vt(be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(la,Xn)=>Xn.background="dodgerblue",mouseLeave:(la,Xn)=>Xn.background="transparent",click:ha,contextClick:ha})}function wt(On,ha){var la=0,Xn=be.z6.RightSide;On.equals(be.z6.Top)?(la=270,Xn=be.z6.TopSide):On.equals(be.z6.Left)?(la=180,Xn=be.z6.LeftSide):On.equals(be.z6.Bottom)&&(la=90,Xn=be.z6.BottomSide),ha||(la-=180);var Sr=(xr,Mr)=>{xr.handled=!0,xr.diagram.model.commit(Br=>{var dr=Mr.part.adornedPart;Br.set(dr.data,ha?"toSpot":"fromSpot",be.z6.stringify(Xn)),(ha?dr.toNode:dr.fromNode).invalidateConnectedLinks()})};return Vt(be.bn,{alignment:On,alignmentFocus:On.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:la,background:"transparent",mouseEnter:(xr,Mr)=>Mr.background="dodgerblue",mouseLeave:(xr,Mr)=>Mr.background="transparent",click:Sr,contextClick:Sr})}_e.current.linkTemplate.contextMenu=Vt("ContextMenu",Bt(),Pa(),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",Ca(0),Ca(1),Ca(2))),Vt("ContextMenuButton",Vt(be.s_,"Horizontal",Vt(be.s_,"Spot",na(!1),wt(be.z6.Top,!1),wt(be.z6.Left,!1),wt(be.z6.Right,!1),wt(be.z6.Bottom,!1)),Vt(be.s_,"Spot",{margin:new be.Zt(0,0,0,2)},na(!0),wt(be.z6.Top,!0),wt(be.z6.Left,!0),wt(be.z6.Right,!0),wt(be.z6.Bottom,!0)))));const pr=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=oe=>{E.current.setValue(E.current.getValue()+" "+oe.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ie.createElement(pe.Z,{className:xe.Z.lists,gutter:[10,10]},a.map((oe,ue)=>Ie.createElement(Fe.Z,{flex:"110px",className:xe.Z.item},Ie.createElement("div",null,Ie.createElement(Ue.Z,{value:`$$${oe.value}$$`}),oe.name),Ie.createElement("div",{className:xe.Z.children},oe.children.map((le,Ee)=>Ie.createElement("div",{key:Ee},Ie.createElement("h1",null,le.name),Ie.createElement(pe.Z,{gutter:[10,10]},le.data.map((be,We)=>Ie.createElement(Fe.Z,{key:We,onClick:()=>b(be),className:xe.Z.diamond},Ie.createElement(Ue.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ie.createElement(pe.Z,{className:xe.Z.lists,gutter:[10,10]},x.map((oe,ue)=>Ie.createElement(Fe.Z,{flex:"110px",className:xe.Z.item},Ie.createElement("div",null,Ie.createElement(Ue.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),Ie.createElement("div",{className:xe.Z.children},oe.children.map((le,Ee)=>Ie.createElement("div",{key:Ee},le.name&&Ie.createElement("h1",null,le.name),Ie.createElement(pe.Z,{gutter:[10,10]},le.data.map((be,We)=>Ie.createElement(Fe.Z,{key:We,onClick:()=>b(be),className:xe.Z.diamond},Ie.createElement(Ue.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],te=()=>{var oe=document.createElement("div");oe.innerHTML=E.current.getValue();var ue=oe.innerText;return Re&&Re(ue),ue};return(0,y.useImperativeHandle)(ie,()=>({getData:te})),Ie.createElement("div",{className:xe.Z.mathWrap},Ie.createElement(Me.default,{defaultActiveKey:"1",items:z}),Ie.createElement("math-field",{locale:"zh_cn",className:xe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ye||""),Ze&&Ie.createElement("div",{className:xe.Z.button},Ie.createElement(ke.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=we},23340:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ze}});var y=ae(59301),pe=ae(78241),Fe=ae(43418),Me=ae(92832),ke=ae(87169),Ue=ae(38147),xe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},Qe=ae(24100),Ie=ae(59301),we=(Ye,ie,E)=>new Promise((a,x)=>{var b=oe=>{try{te(E.next(oe))}catch(ue){x(ue)}},z=oe=>{try{te(E.throw(oe))}catch(ue){x(ue)}},te=oe=>oe.done?a(oe.value):Promise.resolve(oe.value).then(b,z);te((E=E.apply(Ye,ie)).next())}),Ze=({type:Ye="subject",open:ie,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[b]=pe.default.useForm(),[z,te]=(0,y.useState)([]),[oe,ue]=(0,y.useState)(!1);(0,y.useEffect)(()=>{},[]);const le=()=>we(void 0,null,function*(){if(Ye){const Ee=yield(0,Ue.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye}});te(Ee.disciplines||[])}});return Ie.createElement(Fe.default,{title:Ie.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:ie,width:558,centered:!0,className:xe.publicQuest,onCancel:()=>{E(),b.resetFields()},onOk:()=>{b.validateFields().then(Ee=>we(void 0,null,function*(){const be=yield(0,Ue.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Ee==null?void 0:Ee.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:Ee==null?void 0:Ee.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),b.resetFields(),E()}))}},Ie.createElement("div",{className:xe.publicQuestContent},Ie.createElement("div",{className:xe.public_tips},Ie.createElement(ke.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Ie.createElement(pe.default,{labelAlign:"left",form:b,colon:!1},Ie.createElement(pe.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Ie.createElement(Me.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Ie.createElement(Qe.Z,{open:oe,onCancel:()=>{ue(!1)}})))}},38821:function(it,Tt,ae){"use strict";ae.d(Tt,{Q:function(){return Ie},Z:function(){return Re}});var y=ae(59301),pe={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},Fe=ae(92310),Me=ae.n(Fe),ke=ae(43418),Ue=ae(8591),xe=ae(24905),Qe=(Ze,Ye,ie)=>new Promise((E,a)=>{var x=te=>{try{z(ie.next(te))}catch(oe){a(oe)}},b=te=>{try{z(ie.throw(te))}catch(oe){a(oe)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,b);z((ie=ie.apply(Ze,Ye)).next())});const Ie=({title:Ze="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ye=[],visible:ie,setVisible:E,tip:a,onOk:x})=>{const[b,z]=(0,y.useState)([]),[te,oe]=(0,y.useState)(!1);return(0,y.useEffect)(()=>{ie&&z(Ye)},[ie]),y.createElement(ke.default,{centered:!0,open:ie,title:Ze,confirmLoading:te,width:564,onOk:()=>Qe(void 0,null,function*(){if(!b.length){Ue.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}oe(!0),yield x(b),oe(!1)}),onCancel:()=>E(!1)},!!a&&y.createElement("div",{className:"c-grey-666 font16 mb10"},a),y.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},y.createElement(xe.default.Group,{value:b,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:ue=>{z(ue)}})))};var Re=({title:Ze="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ye,style:ie={},onEdit:E,dataSource:a=[]})=>{const x={C:y.createElement("div",{className:pe.c},"C"),"C++":y.createElement("div",{className:pe.cpp},"C++"),Java:y.createElement("div",{className:pe.java},"Java"),Python:y.createElement("div",{className:pe.python},"Python")};return y.createElement("div",{className:Me()(pe.tags,Ye),style:ie},!!Ze&&y.createElement("div",{className:pe.text},Ze),y.createElement("div",{className:pe.tagWrap},a==null?void 0:a.map(b=>y.createElement(y.Fragment,{key:b},x[b]))),!!E&&y.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${pe.edit}`}))}},92716:function(it,Tt,ae){"use strict";ae.d(Tt,{t:function(){return _n}});var y=ae(59301),pe=ae(92832),Fe=ae(78241),Me=ae(43418),ke=ae(95237),Ue=ae(43604),xe=ae(5871),Qe=ae(57809),Ie=ae(5112),we=ae(3969),Re=ae(65582),Ze=ae(58e3),Ye=ae(8591),ie=ae(3113),E=ae(71418),a=ae(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},b=ae(38147),z=ae(67172),te=ae(96565),oe=ae(56102),ue=ae(10129),le=ae(59301),Ee=Object.defineProperty,be=Object.defineProperties,We=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ke=(Zt,At,yt)=>At in Zt?Ee(Zt,At,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Zt[At]=yt,ze=(Zt,At)=>{for(var yt in At||(At={}))st.call(At,yt)&&Ke(Zt,yt,At[yt]);if(De)for(var yt of De(At))Oe.call(At,yt)&&Ke(Zt,yt,At[yt]);return Zt},Xe=(Zt,At)=>be(Zt,We(At)),Ce=(Zt,At,yt)=>new Promise((Gn,Qn)=>{var Kt=Un=>{try{Ba(yt.next(Un))}catch(On){Qn(On)}},ta=Un=>{try{Ba(yt.throw(Un))}catch(On){Qn(On)}},Ba=Un=>Un.done?Gn(Un.value):Promise.resolve(Un.value).then(Kt,ta);Ba((yt=yt.apply(Zt,At)).next())}),mt=({buttonProps:Zt,buttonText:At,form:yt,hackIdentifier:Gn="",answerKey:Qn,data:Kt})=>{const[ta,Ba]=(0,y.useState)(!1),[Un,On]=(0,y.useState)(!1),[ya,Za]=(0,y.useState)(!1),[Ya,Ca]=(0,y.useState)({}),[rr,qa]=(0,y.useState)(""),[Fa,Va]=(0,y.useState)(""),va=(0,y.useRef)(Gn),En=(0,y.useRef)(""),Qa=(0,y.useRef)(!1);(0,y.useEffect)(()=>{ya&&er()},[ya]),(0,y.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Ht=()=>new Date().getTime(),dn=Kt==null?void 0:Kt.code,Aa=()=>{var ka,br;let la=dn?Kt==null?void 0:Kt.code:(ka=yt.getFieldValue("hack_codes"))==null?void 0:ka.code,Na=dn?Kt==null?void 0:Kt.answer_content:yt.getFieldValue(Qn),Wr=dn?Kt==null?void 0:Kt.input:(br=yt.getFieldValue("hack_sets"))==null?void 0:br.input;Na==null||Na.forEach(Ot=>{const Fn=Ot.value||Ot.answer_text||"";la=la.replace(/(@▁@|@▁▁@)/,Fn)}),Va(Wr),qa(la),Ca({}),Za(!0)},er=()=>Ce(void 0,null,function*(){var ka,br,la,Na;const Wr=Ht(),Ot=dn?Kt==null?void 0:Kt.time_limit:(ka=yt.getFieldsValue())==null?void 0:ka.hack.time_limit,Fn=dn?(br=Kt==null?void 0:Kt.answer_content)==null?void 0:br.length:(Na=(la=yt.getFieldsValue())==null?void 0:la.standard_answers)==null?void 0:Na.length;Ba(!0),yield(0,z.bM)(En.current,{test_hack_code:rr,test_input:Fa});function ia(){return Ce(this,null,function*(){const{status:jn,data:He}=yield(0,z.rX)(En.current,"submit"),xt=Ht()-Wr>(Ot+3)*1e3*Fn;if(Qa.current){if(xt){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Ba(!1);return}if(jn===0){Ba(!1),Ca(Xe(ze({},He),{showText:!0}));return}setTimeout(ia,1e3)}})}ia()}),tr=()=>Ce(void 0,null,function*(){var ka,br,la,Na,Wr,Ot,Fn;if(!Kt){try{yield yt.validateFields()}catch(Yt){(la=(br=(ka=Yt==null?void 0:Yt.errorFields)==null?void 0:ka[0])==null?void 0:br.name)!=null&&la.includes("standard_answers")?Ye.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ye.ZP.error(Yt.errorFields[0].errors[0]),yt.scrollToField(Yt.errorFields[0].name,{behavior:"smooth",block:"center"});return}On(!0);let jn="";const He=yt.getFieldsValue();va.current?jn=yield(0,b.ZP)(`/api/problems/${va.current}.json`,{method:"put",body:Xe(ze({},He),{hack:Xe(ze({},He==null?void 0:He.hack),{sub_discipline_id:(Fn=(Ot=He==null?void 0:He.hack)==null?void 0:Ot.sub_discipline_id)==null?void 0:Fn[1],difficult:He.difficulty,item_banks_group_id:He.item_banks_group_id}),hack_codes:Xe(ze({},He.hack_codes),{code:a.Base64.encode(He.hack_codes.code)}),update_hack_sets:[ze({},He.hack_sets)],is_blank:!0})}):(jn=yield(0,b.ZP)("/api/problems.json",{method:"post",body:Xe(ze({},He),{hack:Xe(ze({},He==null?void 0:He.hack),{sub_discipline_id:(Wr=(Na=He==null?void 0:He.hack)==null?void 0:Na.sub_discipline_id)==null?void 0:Wr[1],difficult:He.difficulty,item_banks_group_id:He.item_banks_group_id}),hack_codes:Xe(ze({},He.hack_codes),{code:a.Base64.encode(He.hack_codes.code)}),hack_sets:[ze({},He.hack_sets)],is_blank:!0})}),va.current=jn==null?void 0:jn.identifier,sessionStorage.projectFill=jn==null?void 0:jn.identifier)}const ia=yield(0,b.ZP)(`/api/problems/${va.current}/start.json`,{method:"get"});if((ia==null?void 0:ia.status)===0){En.current=ia==null?void 0:ia.identifier,Qa.current=!0,On(!1),Aa();return}On(!1)}),_a=ka=>{const{status:br,error_msg:la,execute_time:Na,output:Wr,input:Ot,expected_output:Fn}=ka;let ia=null;switch(br){case ue.h.OK:ia=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Na/1e3,"\u79D2"),le.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ue.h.NOMATCH:ia=le.createElement(le.Fragment,null,le.createElement("div",null,"\u8F93\u5165\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Ot),le.createElement("div",null,"\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Wr&&a.Base64.decode(Wr)),le.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Fn&&a.Base64.decode(Fn)));break;case ue.h.EXECUTEFAILURE:ia=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,Ot)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(la)));break;case ue.h.COMPILEFAILURE:ia=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,Ot)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(la)));break;case ue.h.PODFAILURE:ia=le.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ia=le.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return le.createElement(le.Fragment,null," ",ia," ")};return le.createElement("div",null,le.createElement(ie.ZP,Xe(ze({loading:Un},Zt),{onClick:tr}),At),le.createElement(Me.default,{open:ya,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ta,cancelButtonProps:{style:{display:"none"}},onOk:()=>er(),onCancel:()=>{Qa.current=!1,Za(!1)}},le.createElement("div",{className:x.result},le.createElement("div",{className:x.left},le.createElement("div",{className:"mb20"},le.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Kt&&le.createElement(oe.CopyToClipboard,{text:rr,onCopy:()=>Ye.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("span",{style:{float:"right"},className:"current c-light-primary"},le.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),le.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:rr,onChange:ka=>qa(ka)})),le.createElement("div",{className:x.right},le.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),le.createElement("div",{className:x.box},le.createElement("div",{className:x.li},le.createElement(pe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Fa,onChange:ka=>Va(ka.target.value),bordered:!1,style:{height:180}}))),le.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),le.createElement("div",{className:x.box},le.createElement(E.Z,{spinning:ta,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},le.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},_a(Ya))))))))},Ct=ae(87169),Et=ae(59301),fn=Object.defineProperty,un=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,ht=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,It=(Zt,At,yt)=>At in Zt?fn(Zt,At,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Zt[At]=yt,hn=(Zt,At)=>{for(var yt in At||(At={}))Te.call(At,yt)&&It(Zt,yt,At[yt]);if(ht)for(var yt of ht(At))rt.call(At,yt)&&It(Zt,yt,At[yt]);return Zt},Pt=(Zt,At)=>un(Zt,Vt(At)),sn=(Zt,At)=>{var yt={};for(var Gn in Zt)Te.call(Zt,Gn)&&At.indexOf(Gn)<0&&(yt[Gn]=Zt[Gn]);if(Zt!=null&&ht)for(var Gn of ht(Zt))At.indexOf(Gn)<0&&rt.call(Zt,Gn)&&(yt[Gn]=Zt[Gn]);return yt};const{TextArea:Be}=pe.default,qe=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],qt=({value:Zt,onChange:At})=>Et.createElement(Switch,{checked:Zt,onChange:yt=>{At(yt)}}),nt="@\u2581@",pt="@\u2581\u2581@",_n=({questionTitlePlaceholder:Zt,form:At,scoreByBlank:yt=!1,hackidentifier:Gn,answerKey:Qn})=>{const[Kt,ta]=(0,y.useState)(!1),[Ba,Un]=(0,y.useState)(!1),ya=(0,Re.useParams)().type==="edit",Za=(En,Qa)=>{const Ht=Qa.line;let dn=0;for(let er=0;er{const Aa=En.getRange(Qa.from,Qa.to);let er=0;if(Qa.text.forEach(tr=>{er+=tr.split(nt).length-1}),Qa.text.forEach(tr=>{er+=tr.split(pt).length-1}),Qa.origin!=="setValue"){if(Aa&&(Aa.indexOf(nt)!==-1||Aa.indexOf(pt)!==-1)){const tr=Aa.split(nt).length-1+Aa.split(pt).length-1,_a=Za(En,Qa.from);if(console.log(`\u5220\u9664${tr}\u4E2A\uFF0C \u524D\u9762\u6709${_a}\u4E2A\uFF0C\u65B0\u589E${er}\u4E2A`),tr>1){const ka=Array.from({length:tr},(br,la)=>_a+la);dn(ka)}else dn(_a)}else if(er>0){const tr=Za(En,Qa.from);console.log(`\u65B0\u589E${er}\u4E2A\uFF0C\u4E4B\u524D\u6709${tr}\u4E2A`),Ht(er,tr)}}},Ca=()=>{const En=At.getFieldValue(Qn);At.setFieldsValue({[Qn]:En==null?void 0:En.map((Qa,Ht)=>Pt(hn({},Qa),{position:Ht+1}))})},rr=(0,y.useRef)(),qa=(En,Qa)=>{for(let Ht=0;Ht{Fa.current(En),Ca()},va=Fe.default.useWatch(Qn,At);return Et.createElement("div",{className:Ze.Z.wrap},Et.createElement(Fe.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},Et.createElement(we.h,{scrollId:"name",watch:!0,height:140})),Et.createElement("div",{className:Ze.Z.questionTitleEditorWrap},Et.createElement(Fe.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},Et.createElement(we.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(En,Qa)=>{const Ht=At.getFieldValue(Qn);console.log("--preAnswerData",Ht,Qa),At.setFieldsValue({[Qn]:Ht==null?void 0:Ht.map((dn,Aa)=>{var er;return Pt(hn({},dn),{position:Aa+1,multi_line:(er=Qa==null?void 0:Qa[Aa])==null?void 0:er.multiLine})})})},placeholder:Zt,onCMBeforeChange:(En,Qa)=>{Ya(En,Qa,qa,Va)}}))),Et.createElement(Fe.default.List,{name:Qn,rules:[{validator(En,Qa){if(!(Qa!=null&&Qa.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Ht of Qa){const{answer_text:dn}=Ht||{};if((dn==null?void 0:dn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(En,{add:Qa,remove:Ht},{errors:dn})=>(rr.current=Qa,Fa.current=Ht,Et.createElement(Et.Fragment,null,Et.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Et.createElement(Fe.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),Et.createElement("div",{onClick:()=>{Me.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:Et.createElement("div",null,Et.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",Et.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),Et.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},Et.createElement(Ct.Z,{style:{marginRight:3,color:"#3061D0"}}),Et.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),En.map((Aa,er)=>{var tr=Aa,{key:_a,name:ka}=tr,br=sn(tr,["key","name"]),la,Na;return Et.createElement(ke.Z,{className:"mb20",key:_a,align:"middle",wrap:!1},Et.createElement(Ue.Z,{flex:"0 0 auto",className:`${Ze.Z.blankIndex}`},"\u586B\u7A7A\u9879",er+1),Et.createElement(Ue.Z,{flex:1},Et.createElement(ke.Z,{align:"top",justify:"space-between",wrap:!1},Et.createElement(Ue.Z,null,Et.createElement(Fe.default.Item,Pt(hn({},br),{name:[ka,"answer_text"],noStyle:!0}),(la=va==null?void 0:va[ka])!=null&&la.multi_line||(Na=va==null?void 0:va[ka])!=null&&Na.multiLine?Et.createElement(Be,{spellCheck:!1,style:{marginLeft:10,width:550}}):Et.createElement(pe.default,{style:{marginLeft:10,width:550},className:Ze.Z.blankInput,size:"large",maxLength:1e3,onBlur:Wr=>{}}))),yt&&Et.createElement(Ue.Z,{flex:"224px"},Et.createElement(Fe.default.Item,Pt(hn({},br),{name:[ka,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Et.createElement(xe.Z,{size:"large",className:Ze.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Et.createElement("div",{onClick:()=>ta(!0)},Et.createElement(Fe.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Et.createElement(we.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Kt}))),Et.createElement(Fe.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},Et.createElement(Qe.default,{size:"large"},qe.map(En=>Et.createElement(Qe.default.Option,{key:En.title,value:En.key}," ",En.title)))),Et.createElement(Fe.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Et.createElement(Fe.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},Et.createElement(xe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),Et.createElement("span",{className:"ml10 font14"},"\u79D2")),Et.createElement(Fe.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},Et.createElement(Ie.ZP.Group,{style:{marginTop:-10}},Et.createElement(Ie.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Et.createElement(Ie.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Et.createElement(Ie.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),Et.createElement(Fe.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Et.createElement("div",{style:{background:"#F6F7F9",padding:15}},Et.createElement(Fe.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Et.createElement(Be,{rows:4})),Et.createElement(Fe.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},Et.createElement(Be,{rows:4}))),Et.createElement(mt,{form:At,answerKey:Qn,hackIdentifier:Gn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:Et.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},85500:function(it,Tt,ae){"use strict";ae.d(Tt,{u:function(){return le}});var y=ae(59301),pe=ae(95237),Fe=ae(43604),Me=ae(6848),ke=ae(78241),Ue=ae(58e3),xe=ae(32134),Qe=ae(12893),Ie=ae(3969),we=ae(59301),Re=Object.defineProperty,Ze=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(Ee,be,We)=>be in Ee?Re(Ee,be,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ee[be]=We,b=(Ee,be)=>{for(var We in be||(be={}))E.call(be,We)&&x(Ee,We,be[We]);if(ie)for(var We of ie(be))a.call(be,We)&&x(Ee,We,be[We]);return Ee},z=(Ee,be)=>Ze(Ee,Ye(be)),te=(Ee,be)=>{var We={};for(var De in Ee)E.call(Ee,De)&&be.indexOf(De)<0&&(We[De]=Ee[De]);if(Ee!=null&&ie)for(var De of ie(Ee))be.indexOf(De)<0&&a.call(Ee,De)&&(We[De]=Ee[De]);return We};const oe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ue=({value:Ee,onChange:be,choiceTextKey:We,answerKey:De,index:st,isEdit:Oe,setInputActive:Ke,form:ze,choiceOptionsPath:Xe,allowChangeMode:Ce,showAddIcon:ct,addItem:mt,deleteItem:Ct})=>{console.log(Ee,"value");const Et=(Ee==null?void 0:Ee[De])===1,fn=()=>{const Vt=ze.getFieldValue(Xe);ze.setFieldValue(Xe,Vt.map(ht=>z(b({},ht),{[De]:0})))},un=()=>{Et?be(z(b({},Ee),{[De]:0})):(Ce||fn(),be(z(b({},Ee),{[De]:1})))};return we.createElement(pe.Z,{className:Ue.Z.choiceWrap,align:"middle",wrap:!1},we.createElement(Fe.Z,{onClick:un,className:`${Ue.Z.choiceIndex} ${Et?Ue.Z.activeAnswer:""}`},oe[st]),we.createElement(Fe.Z,{flex:1,className:`${Ue.Z.editorWrap} ml15`,onClick:Ke},we.createElement(Ie.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Oe,value:Ee==null?void 0:Ee[We],onChange:Vt=>{be(z(b({},Ee),{[We]:Vt}))}})),we.createElement(Fe.Z,{flex:"0 0 auto",className:"ml15"},we.createElement("div",{onClick:un,className:`${Ue.Z.setAnswerBtn} ${Et?Ue.Z.activeAnswer:""}`},Et?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),we.createElement(Fe.Z,{className:Ue.Z.actionWrapper},we.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},we.createElement(xe.Z,{className:Ue.Z.addIcon,onClick:mt,style:{visibility:ct?"visible":"hidden"}})),we.createElement(Me.Z,{title:"\u5220\u9664"},we.createElement(Qe.Z,{className:Ue.Z.deleteIcon,onClick:Ct,style:{visibility:st>1?"visible":"hidden"}}))))},le=({questionTitlePlaceholder:Ee,titleKey:be,choiceKey:We,analysisKey:De,choiceTextKey:st,answerKey:Oe,choiceOptionsPath:Ke,allowChangeMode:ze=!0,form:Xe,showAnalysis:Ce=!0})=>{const[ct,mt]=(0,y.useState)(),[Ct,Et]=(0,y.useState)(!1);return we.createElement("div",{className:Ue.Z.wrap},we.createElement("div",{className:Ue.Z.questionTitleEditorWrap},we.createElement(ke.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},we.createElement(Ie.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:Ee}))),we.createElement(ke.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),we.createElement(ke.default.List,{name:We,rules:[{validator(fn,un){const Vt=un.some(Te=>Te[Oe]===1),ht=un.findIndex(Te=>{var rt;return((rt=Te[st])==null?void 0:rt.length)<=0});return ht!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${oe[ht]}\u9009\u9879\u7684\u5185\u5BB9`)):Vt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(fn,{add:un,remove:Vt})=>we.createElement("div",{id:Array.isArray(Ke)?Ke.join("_"):`${Ke}`},fn.map((ht,Te)=>{var rt=ht,{key:It,name:hn}=rt,Pt=te(rt,["key","name"]);const sn=ct===It,Be=()=>{mt(It)},qe=Te<7&&Te===fn.length-1,qt=()=>un({[st]:"",[Oe]:0}),nt=()=>Vt(hn);return we.createElement(ke.default.Item,z(b({},Pt),{key:It,name:hn,className:Ue.Z.choiceListWrap,rules:[{validator(pt,_n){return _n!=null&&_n.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${oe[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),we.createElement(ue,{choiceTextKey:st,answerKey:Oe,index:Te,isEdit:sn,setInputActive:Be,form:Xe,choiceOptionsPath:Ke,allowChangeMode:ze,showAddIcon:qe,addItem:qt,deleteItem:nt}))}),fn.length<8&&we.createElement("div",{className:`${Ue.Z.addBtn} mb30`,onClick:()=>un({[st]:"",[Oe]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ce&&we.createElement("div",{onClick:()=>Et(!0)},we.createElement(ke.default.Item,{name:De,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},we.createElement(Ie.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))}},78909:function(it,Tt,ae){"use strict";ae.d(Tt,{u:function(){return ze}});var y=ae(59301),pe=ae(43418),Fe=ae(95237),Me=ae(43604),ke=ae(92832),Ue=ae(6848),xe=ae(78673),Qe=ae(78241),Ie=ae(5112),we=ae(5871),Re=ae(3969),Ze=ae(12893),Ye=ae(61485),ie=ae(58e3),E=ae(27687),a=ae(59301),x=Object.defineProperty,b=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,le=(Xe,Ce,ct)=>Ce in Xe?x(Xe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Xe[Ce]=ct,Ee=(Xe,Ce)=>{for(var ct in Ce||(Ce={}))oe.call(Ce,ct)&&le(Xe,ct,Ce[ct]);if(te)for(var ct of te(Ce))ue.call(Ce,ct)&&le(Xe,ct,Ce[ct]);return Xe},be=(Xe,Ce)=>b(Xe,z(Ce)),We=(Xe,Ce)=>{var ct={};for(var mt in Xe)oe.call(Xe,mt)&&Ce.indexOf(mt)<0&&(ct[mt]=Xe[mt]);if(Xe!=null&&te)for(var mt of te(Xe))Ce.indexOf(mt)<0&&ue.call(Xe,mt)&&(ct[mt]=Xe[mt]);return ct};const De=({value:Xe,onChange:Ce})=>{const ct=Ct=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ie.Z.modal,onOk:()=>{const Et=[...Xe];Et.splice(Ct,1),Ce(Et)}})},mt=()=>{const Ct=[...Xe];Ct.push(""),Ce(Ct)};return a.createElement(Fe.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},Xe==null?void 0:Xe.map((Ct,Et)=>a.createElement(Fe.Z,{key:`${Ct}_${Et}`,className:"mb20"},a.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Ct,autoSize:{maxRows:3},maxLength:1e3,onBlur:fn=>{const un=[...Xe],Vt=fn.target.value.trim();un[Et]=Vt,Ce(un)}}),a.createElement(Ue.Z,{title:"\u5220\u9664"},a.createElement(Ze.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:Et>0?"visible":"hidden"},onClick:()=>ct(Et)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},st=({value:Xe,onChange:Ce})=>{const ct=Ct=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ie.Z.modal,onOk:()=>{const Et=[...Xe];Et.splice(Ct,1),Ce(Et)}})},mt=()=>{const Ct=[...Xe];Ct.push(""),Ce(Ct)};return a.createElement(Fe.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},Xe==null?void 0:Xe.map((Ct,Et)=>a.createElement(Fe.Z,{key:`${Ct}_${Et}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Ct,style:{flex:1},onChange:fn=>{const un=[...Xe];un[Et]=fn,Ce(un)}}),a.createElement(Ue.Z,{title:"\u5220\u9664"},a.createElement(Ze.Z,{className:ie.Z.deleteIcon,style:{marginLeft:15,visibility:Et>0?"visible":"hidden"},onClick:()=>ct(Et)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${ie.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},Oe=({value:Xe=!0,onChange:Ce})=>a.createElement(xe.Z,{checked:!Xe,onChange:ct=>{Ce(!ct)}}),Ke="\u2581",ze=({questionTitlePlaceholder:Xe,form:Ce,scoreByBlank:ct=!1,answerKey:mt})=>{const[Ct,Et]=(0,y.useState)(!1),fn=(Pt,sn)=>{const Be=sn.line;let qe=0;for(let nt=0;nt{const qt=Pt.getRange(sn.from,sn.to);let nt=0;if(sn.text.forEach(pt=>{nt+=pt.split(Ke).length-1}),sn.origin!=="setValue"){if(qt&&qt.indexOf(Ke)!==-1){const pt=qt.split(Ke).length-1,_n=fn(Pt,sn.from);if(console.log(`\u5220\u9664${pt}\u4E2A\uFF0C \u524D\u9762\u6709${_n}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),pt>1){const Zt=Array.from({length:pt},(At,yt)=>_n+yt);qe(Zt)}else qe(_n)}else if(nt>0){const pt=fn(Pt,sn.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${pt}\u4E2A`),Be(nt,pt)}}},Vt=()=>{const Pt=Ce.getFieldValue(mt);Ce.setFieldsValue({[mt]:Pt.map((sn,Be)=>be(Ee({},sn),{position:Be+1}))})},ht=(0,y.useRef)(),Te=(Pt,sn)=>{for(let Be=0;Be{rt.current(Pt),Vt()},hn=Qe.default.useWatch(mt,Ce);return a.createElement("div",{className:ie.Z.wrap},a.createElement("div",{className:ie.Z.questionTitleEditorWrap},a.createElement(Qe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Re.h,{scrollId:"name",watch:!0,height:140,placeholder:Xe,showNullButton:!0,onCMBeforeChange:(Pt,sn)=>{un(Pt,sn,Te,It)}}))),a.createElement(Qe.default.List,{name:mt,rules:[{validator(Pt,sn){if(!(sn!=null&&sn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Be of sn){const{answer_text:qe}=Be||{};if(qe!=null&&qe.some(qt=>(qt==null?void 0:qt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pt,{add:sn,remove:Be},{errors:qe})=>(ht.current=sn,rt.current=Be,a.createElement(a.Fragment,null,a.createElement(Qe.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Pt!=null&&Pt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Pt.map((qt,nt)=>{var pt=qt,{key:_n,name:Zt}=pt,At=We(pt,["key","name"]),yt,Gn;return a.createElement("div",{style:{marginBottom:10},key:_n},a.createElement(Fe.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Me.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ie.Z.blankIndex}`},"\u586B\u7A7A\u9879",nt+1),a.createElement(Qe.default.Item,be(Ee({},At),{name:[Zt,"model"],noStyle:!0}),a.createElement(Ie.ZP.Group,{onChange:()=>{const Qn=Ce.getFieldValue(mt);Ce.setFieldsValue({[mt]:Qn.map((Kt,ta)=>be(Ee({},Kt),{answer_text:Zt===ta?[""]:Kt.answer_text}))})}},a.createElement(Ie.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Ue.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ye.Z,null))),a.createElement(Ie.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Ue.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ye.Z,null)))))),a.createElement(Fe.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(Fe.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(Qe.default.Item,be(Ee({},At),{name:[Zt,"answer_text"],noStyle:!0}),((Gn=(yt=Ce.getFieldValue(mt))==null?void 0:yt[Zt])==null?void 0:Gn.model)===1?a.createElement(De,null):a.createElement(st,null))),ct&&a.createElement(Me.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Qe.default.Item,be(Ee({},At),{name:[Zt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ie.Z.blankInputNumberWrapper}),a.createElement(we.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Qe.default.Item,be(Ee({},At),{name:[Zt,"position"],noStyle:!0}),a.createElement(ke.default,{type:"hidden"})))))})))),a.createElement(Fe.Z,{align:"middle"},a.createElement(Qe.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Me.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Fe.Z,{align:"middle"},a.createElement(Qe.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(xe.Z,null)),a.createElement(Me.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(hn==null?void 0:hn.length)>1&&a.createElement(Fe.Z,{align:"middle",className:(hn==null?void 0:hn.length)>1?"mb30":`${ie.Z.hide}`},a.createElement(Qe.default.Item,{name:"is_ordered"},a.createElement(Oe,null)),a.createElement(Me.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>Et(!0)},a.createElement(Qe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Re.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))}},27277:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return te}});var y=ae(59301),pe=ae(95237),Fe=ae(43604),Me=ae(78241),ke=ae(58e3),Ue=ae(3969),xe=ae(59301),Qe=Object.defineProperty,Ie=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ie=(oe,ue,le)=>ue in oe?Qe(oe,ue,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ue]=le,E=(oe,ue)=>{for(var le in ue||(ue={}))Ze.call(ue,le)&&ie(oe,le,ue[le]);if(Re)for(var le of Re(ue))Ye.call(ue,le)&&ie(oe,le,ue[le]);return oe},a=(oe,ue)=>Ie(oe,we(ue)),x=(oe,ue)=>{var le={};for(var Ee in oe)Ze.call(oe,Ee)&&ue.indexOf(Ee)<0&&(le[Ee]=oe[Ee]);if(oe!=null&&Re)for(var Ee of Re(oe))ue.indexOf(Ee)<0&&Ye.call(oe,Ee)&&(le[Ee]=oe[Ee]);return le};const b={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:oe,onChange:ue,form:le})=>{const Ee=(oe==null?void 0:oe.is_answer)===1,be=oe==null?void 0:oe.choice_text,We=()=>{const De=le.getFieldsValue().choices.map(st=>({choice_text:st.choice_text,is_answer:0}));le.setFieldsValue({choices:De}),ue(a(E({},oe),{is_answer:1}))};return xe.createElement(pe.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},xe.createElement(Fe.Z,{onClick:We,className:`${ke.Z.choiceIndex} ${ke.Z.judgementIndex} ${Ee?ke.Z.activeAnswer:""}`},b[be]),xe.createElement(Fe.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`},xe.createElement("div",{className:`${ke.Z.inputBorder} ${ke.Z.placeholder} ${Ee?ke.Z.activeJudgementAnswer:""}`},be)),xe.createElement(Fe.Z,{flex:"0 0 auto",className:"ml15"},xe.createElement("div",{onClick:We,className:`${ke.Z.setAnswerBtn} ${Ee?ke.Z.activeAnswer:""}`},Ee?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:oe,choiceKey:ue,form:le})=>{const[Ee,be]=(0,y.useState)(!1);return xe.createElement("div",{className:ke.Z.wrap},xe.createElement("div",{className:ke.Z.questionTitleEditorWrap},xe.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},xe.createElement(Ue.h,{scrollId:"name",watch:!0,height:140,placeholder:oe}))),xe.createElement(Me.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},xe.createElement(Me.default.List,{name:"choices",rules:[{validator(We,De){return De.some(Oe=>(Oe==null?void 0:Oe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},We=>xe.createElement("div",{id:"choices"},We.map(De=>{var st=De,{key:Oe,name:Ke}=st,ze=x(st,["key","name"]);return xe.createElement(Me.default.Item,a(E({},ze),{key:Oe,name:Ke,noStyle:!0}),xe.createElement(z,{form:le}))})))),xe.createElement("div",{onClick:()=>be(!0)},xe.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},xe.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ee}))))}},3969:function(it,Tt,ae){"use strict";ae.d(Tt,{h:function(){return E},x:function(){return a}});var y=ae(96565),pe=ae(58e3),Fe=ae(6339),Me=ae(59301),ke=Object.defineProperty,Ue=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Re=(x,b,z)=>b in x?ke(x,b,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[b]=z,Ze=(x,b)=>{for(var z in b||(b={}))Ie.call(b,z)&&Re(x,z,b[z]);if(Qe)for(var z of Qe(b))we.call(b,z)&&Re(x,z,b[z]);return x},Ye=(x,b)=>Ue(x,xe(b)),ie=(x,b)=>{var z={};for(var te in x)Ie.call(x,te)&&b.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&Qe)for(var te of Qe(x))b.indexOf(te)<0&&we.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var b=x,{value:z,onChange:te,scrollId:oe}=b,ue=ie(b,["value","onChange","scrollId"]);return Me.createElement("div",{id:oe||""},Me.createElement(y.Z,Ye(Ze({},ue),{defaultValue:z,onChange:(le,Ee)=>{Ee!=null&&Ee.length?te(le,Ee):te(le)}})))},a=({value:x,onChange:b,placeholder:z,height:te=140,isEdit:oe,miniToolbar:ue,watch:le=!0})=>oe?Me.createElement(y.Z,{watch:le,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:b,miniToolbar:ue}):Me.createElement("div",{style:{cursor:"pointer"}},x?Me.createElement(Fe.Z,{className:pe.Z.inputBorder,value:x}):Me.createElement("div",{className:`${pe.Z.inputBorder} ${pe.Z.placeholder} inputBorderError`},z))},54190:function(it,Tt,ae){"use strict";ae.d(Tt,{W:function(){return st}});var y=ae(59301),pe=ae(8591),Fe=ae(12563),Me=ae(78241),ke=ae(78673),Ue=ae(95237),xe=ae(43604),Qe=ae(6848),Ie=ae(92832),we=ae(5871),Re=ae(58e3),Ze=ae(3969),Ye=ae(96565),ie=ae(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,oe=(Oe,Ke,ze)=>Ke in Oe?E(Oe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Oe[Ke]=ze,ue=(Oe,Ke)=>{for(var ze in Ke||(Ke={}))z.call(Ke,ze)&&oe(Oe,ze,Ke[ze]);if(b)for(var ze of b(Ke))te.call(Ke,ze)&&oe(Oe,ze,Ke[ze]);return Oe},le=(Oe,Ke)=>a(Oe,x(Ke)),Ee=(Oe,Ke)=>{var ze={};for(var Xe in Oe)z.call(Oe,Xe)&&Ke.indexOf(Xe)<0&&(ze[Xe]=Oe[Xe]);if(Oe!=null&&b)for(var Xe of b(Oe))Ke.indexOf(Xe)<0&&te.call(Oe,Xe)&&(ze[Xe]=Oe[Xe]);return ze};const be=Oe=>{var Ke=Oe,{value:ze,onChange:Xe}=Ke,Ce=Ee(Ke,["value","onChange"]);const ct=mt=>{Xe([mt])};return y.createElement(Ye.Z,le(ue({},Ce),{defaultValue:ze==null?void 0:ze[0],onChange:ct}))},We=Oe=>{if(!Oe)return!1;if(/^s*$/.test(Oe)||Oe.trim()===""){pe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ke=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Oe==="|"?(pe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},De=({value:Oe=[],onClose:Ke})=>y.createElement(Fe.Z,{closable:!0,onClose:Ke,className:Re.Z.keywordTag},y.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Oe.join(" \u6216 "))),st=({questionTitlePlaceholder:Oe,form:Ke,showKeywords:ze,isMustKeyWords:Xe=ze})=>{const[Ce,ct]=(0,y.useState)(!1),[mt,Ct]=(0,y.useState)(""),Et=Me.default.useWatch("use_keywords",Ke),fn=Me.default.useWatch("question_score",Ke);return y.createElement("div",{className:Re.Z.wrap},y.createElement("div",{className:Re.Z.questionTitleEditorWrap},y.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},y.createElement(Ze.h,{scrollId:"name",watch:!0,height:140,placeholder:Oe}))),y.createElement(Me.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},y.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),ze&&!Xe&&y.createElement(Me.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},y.createElement(ke.Z,{defaultChecked:!0})),ze&&Xe&&y.createElement(Ue.Z,{align:"middle",className:"mb30"},y.createElement(Me.default.Item,{name:"use_keywords",valuePropName:"checked"},y.createElement(ke.Z,null)),y.createElement(xe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(xe.Z,null,y.createElement(Qe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(ie.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Et||!Xe)&&y.createElement(Me.default.List,{name:"keywords",rules:[{validator(un,Vt){return Xe?Vt!=null&&Vt.length?(Vt==null?void 0:Vt.reduce((Te,rt)=>Te+rt.score,0))>parseFloat(fn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(un,{add:Vt,remove:ht})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${Re.Z.title} mb10`},Xe?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(Ue.Z,{align:"middle",className:"font14 mb30"},y.createElement(xe.Z,{flex:1},y.createElement(Ie.default,{value:mt,onChange:Te=>{Ct(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var rt,It,hn,Pt;const sn=`${(rt=Te.target)==null?void 0:rt.value}`,Be=(hn=(It=sn==null?void 0:sn.split("|"))==null?void 0:It.filter(nt=>!!nt))==null?void 0:hn.map(nt=>nt==null?void 0:nt.trim()),qe=Ke.getFieldValue("keywords"),qt=((Pt=qe==null?void 0:qe.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:Pt.flat())||[];for(const nt of Be)if(qt.includes(nt)){pe.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}We(sn)&&(Vt({keyword:Be,score:1}),Ct(""))},className:Re.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(xe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),un.map(Te=>{var rt=Te,{key:It,name:hn}=rt,Pt=Ee(rt,["key","name"]);return y.createElement(Ue.Z,{key:It,className:"mb20",style:{marginRight:148}},y.createElement(xe.Z,{flex:1},y.createElement(Ue.Z,{align:"middle",justify:"space-between"},y.createElement(Me.default.Item,le(ue({},Pt),{name:[hn,"keyword"]}),y.createElement(De,{onClose:()=>ht(hn)})),Xe&&y.createElement(Me.default.Item,le(ue({},Pt),{name:[hn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Re.Z.blankInputNumberWrapper}),y.createElement(we.Z,{className:Re.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>ct(!0)},y.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ce}))))}},94637:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ke}});var y={text:"text___bQulM",sup:"sup___rX_Y3"},pe=ae(78241),Fe=ae(59301),ke=({text:Ue,name:xe="question_score"})=>{const Qe=({value:Ie})=>Fe.createElement("div",{className:y.text},Fe.createElement("span",{className:y.sup},"*"),Fe.createElement("span",{className:"mr10"},"\u5206\u503C"),Fe.createElement("span",null,Ie||"--"),Fe.createElement("span",{className:"c-grey-999"},Ue));return Fe.createElement(pe.default.Item,{noStyle:!0,name:xe},Fe.createElement(Qe,null))}},35479:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return We},P:function(){return le}});var y=ae(59301),pe=ae(78241),Fe=ae(43418),Me=ae(5112),ke=ae(92832),Ue=ae(1710),xe={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},Qe=ae(60979),Ie=Object.defineProperty,we=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,E=(De,st,Oe)=>st in De?Ie(De,st,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):De[st]=Oe,a=(De,st)=>{for(var Oe in st||(st={}))Ye.call(st,Oe)&&E(De,Oe,st[Oe]);if(Ze)for(var Oe of Ze(st))ie.call(st,Oe)&&E(De,Oe,st[Oe]);return De},x=(De,st)=>we(De,Re(st)),b=(De,st)=>{var Oe={};for(var Ke in De)Ye.call(De,Ke)&&st.indexOf(Ke)<0&&(Oe[Ke]=De[Ke]);if(De!=null&&Ze)for(var Ke of Ze(De))st.indexOf(Ke)<0&&ie.call(De,Ke)&&(Oe[Ke]=De[Ke]);return Oe},z=(De,st,Oe)=>new Promise((Ke,ze)=>{var Xe=mt=>{try{ct(Oe.next(mt))}catch(Ct){ze(Ct)}},Ce=mt=>{try{ct(Oe.throw(mt))}catch(Ct){ze(Ct)}},ct=mt=>mt.done?Ke(mt.value):Promise.resolve(mt.value).then(Xe,Ce);ct((Oe=Oe.apply(De,st)).next())});const te=({studentNames:De,total:st})=>{const Oe=["","\u4E00","\u4E24","\u4E09"];return st>3?y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},De==null?void 0:De.join("\u3001")),"\u7B49",y.createElement("span",{className:xe.orangeColor},st),"\u540D\u5B66\u751F"):y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},De==null?void 0:De.join("\u3001")),Oe[st],"\u540D\u5B66\u751F")},oe=({used:De,copy:st,canNotCopy:Oe,studentNames:Ke,studentCount:ze,inPaper:Xe,is_random:Ce=!1,position:ct=""})=>{const mt=()=>{if(st>0&&Oe>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:xe.orangeColor},st),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",y.createElement("span",{className:xe.orangeColor},Oe),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(st>0&&Oe===0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:xe.orangeColor},st),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(st===0&&Oe>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:xe.orangeColor},Oe),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Ct=ct||(Xe?"\u8BD5\u5377":"\u8BFE\u7A0B");return y.createElement("span",null,y.createElement(te,{studentNames:Ke,total:ze}),"\u5B66\u4E60\u8FC7",Ct,"\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},De),"\u4E2A\u9879\u76EE\uFF0C",mt(),"\u3002\u8BF7\u9009\u62E9",Ce?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},ue=({onCancel:De,onOk:st,visible:Oe,inPaper:Ke,renderData:ze,type:Xe,isMultipleCourse:Ce=!1})=>{const[ct]=pe.default.useForm(),[mt,Ct]=(0,y.useState)(1),[Et,fn]=(0,y.useState)(!1),un=(0,y.useMemo)(()=>(ze==null?void 0:ze.total_num)===1&&(ze==null?void 0:ze.can_copy_num)===1,[ze]),Vt=(0,y.useMemo)(()=>{var ht;return(ht=ze==null?void 0:ze.course_data_list)==null?void 0:ht.filter(Te=>Te.is_show)},[ze]);return y.createElement(y.Fragment,null,un?y.createElement(Fe.default,{centered:!0,closable:!0,open:Oe,destroyOnClose:!0,title:"\u63D0\u793A",className:xe.antdModal,width:682,confirmLoading:Et,onCancel:De,onOk:()=>z(void 0,null,function*(){var ht;fn(!0);let Te=mt;if(Ce){const rt=a({},ct.getFieldsValue());Te=(ht=ze==null?void 0:ze.course_data_list)==null?void 0:ht.map(It=>rt[It.id]!==void 0?x(a({},It),{is_copy:rt[It.id]}):It)}yield st(Te),fn(!1)})},y.createElement("div",{className:xe.content,style:{marginBottom:20}},Ce?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":y.createElement(y.Fragment,null,y.createElement(te,{studentNames:ze==null?void 0:ze.student_names,total:ze==null?void 0:ze.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Ce?y.createElement(pe.default,{form:ct,preserve:!1},Vt==null?void 0:Vt.map(ht=>y.createElement(y.Fragment,{key:ht.id},y.createElement("h3",{className:"ml15 mb5"},ht.name),y.createElement(pe.default.Item,{name:ht.id,initialValue:1},y.createElement(Me.ZP.Group,{className:xe.content},y.createElement(Me.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),y.createElement(Me.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):y.createElement(Me.ZP.Group,{value:mt,onChange:ht=>Ct(ht.target.value),className:xe.content,style:{marginBottom:30}},y.createElement(Me.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),y.createElement(Me.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),y.createElement("div",null,y.createElement("div",{className:xe.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),y.createElement("div",{className:xe.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:`${xe.content} ${xe.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):y.createElement(Fe.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Oe,confirmLoading:Et,title:"\u63D0\u793A",width:682,onCancel:De,onOk:()=>z(void 0,null,function*(){var ht;fn(!0);let Te=0;if(Ce){const rt=a({},ct.getFieldsValue());Te=(ht=ze==null?void 0:ze.course_data_list)==null?void 0:ht.map(It=>rt[It.id]!==void 0?x(a({},It),{is_use:rt[It.id]}):It)}yield st(Te),fn(!1)})},y.createElement("div",{className:xe.content},y.createElement(te,{studentNames:ze==null?void 0:ze.student_names,total:ze==null?void 0:ze.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Ce?y.createElement(pe.default,{form:ct,preserve:!1},y.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Vt==null?void 0:Vt.map(ht=>y.createElement(y.Fragment,{key:ht.id},y.createElement("h3",{className:"ml15 mb5"},ht.name),y.createElement(pe.default.Item,{name:ht.id,initialValue:1},y.createElement(Me.ZP.Group,{className:xe.content},y.createElement(Me.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),y.createElement(Me.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):y.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",y.createElement("span",{className:xe.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},le=function(){const[De,st]=(0,y.useState)(!1),[Oe,Ke]=(0,y.useState)();return[De,()=>st(!1),Oe,Ce=>z(this,null,function*(){var ct;const mt=Ce,{isImportMultipleCourse:Ct=!1}=mt,Et=b(mt,["isImportMultipleCourse"]);console.log(Ce);const fn=(Ce==null?void 0:Ce.result)||(yield(0,Qe.Tr)(Et));return"status"in fn?!1:Ct?((ct=fn==null?void 0:fn.course_data_list)==null?void 0:ct.some(Vt=>Vt.is_show))?(Ke(fn),st(!0),!0):fn.course_data_list||[]:fn.student_count===0?!1:(Ke(fn),st(!0),!0)})]},Ee=De=>{const[st]=pe.default.useForm(),[Oe,Ke]=(0,y.useState)(!1),{onCancel:ze,onOk:Xe,visible:Ce,inPaper:ct=!1,renderData:mt,type:Ct,isMultipleCourse:Et=!1,position:fn}=De;let un=(0,y.useMemo)(()=>ct?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,rt){return y.createElement("a",{href:`/shixuns/${rt.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,rt)=>y.createElement(y.Fragment,null,y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_copy"],initialValue:1},y.createElement(Me.ZP.Group,null,y.createElement(Me.ZP,{value:1},"\u662F"),y.createElement(Me.ZP,{value:0},"\u5426"))),y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt==null?void 0:rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:xe.tableCell,render(Te,rt){return y.createElement("a",{href:`/shixuns/${rt.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,rt)=>y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_use"],initialValue:1},y.createElement(Me.ZP.Group,null,y.createElement(Me.ZP,{value:1},"\u662F"),y.createElement(Me.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,rt)=>y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_copy"],initialValue:1},y.createElement(Me.ZP.Group,null,y.createElement(Me.ZP,{value:1},"\u662F"),y.createElement(Me.ZP,{value:0},"\u5426")))}],[ct]),Vt=(0,y.useMemo)(()=>ct?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,align:"center",ellipsis:!0,render:(Te,rt)=>y.createElement(y.Fragment,null,y.createElement("a",{href:`/shixuns/${rt.identifier}/challenges`,target:"_blank"},Te),y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt==null?void 0:rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(ke.default,{type:"hidden"})),y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt==null?void 0:rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(ke.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:xe.tableCell,ellipsis:!0,align:"center",render:(Te,rt)=>y.createElement("a",{href:`/shixuns/${rt.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,rt)=>y.createElement(y.Fragment,null,y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt==null?void 0:rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_use"],initialValue:0},y.createElement(Me.ZP.Group,null,y.createElement(Me.ZP,{value:1},"\u662F"),y.createElement(Me.ZP,{value:0},"\u5426"))),y.createElement(pe.default.Item,{name:[`${Ct==="subject"?rt==null?void 0:rt.stage_shixun_id:rt.shixun_course_id||rt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(ke.default,{type:"hidden"})))}],[ct]);if(Et){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:xe.tableCell,render:(rt,It)=>y.createElement("a",{href:`/classrooms/${It.course_id}`},rt)};un=[Te,...un],Vt=[Te,...Vt]}const ht=(0,y.useMemo)(()=>oe({used:mt==null?void 0:mt.repeat_shixun_num,copy:mt==null?void 0:mt.can_copy_num,canNotCopy:mt==null?void 0:mt.no_copy_num,studentNames:mt==null?void 0:mt.student_names,studentCount:mt==null?void 0:mt.student_count,is_random:mt==null?void 0:mt.is_random,inPaper:ct,position:fn}),[mt,ct,fn]);return y.createElement(Fe.default,{title:"\u63D0\u793A",centered:!0,open:Ce,confirmLoading:Oe,onOk:()=>z(void 0,null,function*(){Ke(!0);const Te=st.getFieldsValue(),rt=Object.keys(Te).map(It=>({id:parseInt(It.split("_")[0]),course_id:parseInt(It.split("_")[1]),is_use:Te[It].is_use,is_copy:Te[It].is_copy}));yield Xe(rt),Ke(!1)}),onCancel:ze,width:880,okText:"\u786E\u8BA4",className:xe.antdModal,destroyOnClose:!0},y.createElement(pe.default,{form:st,preserve:!1},y.createElement("div",{className:xe.brief},ht),y.createElement("div",{style:{marginBottom:30}},y.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),y.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:xe.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(mt==null?void 0:mt.can_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:xe.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Ue.default,{columns:un,className:xe.antdTable,dataSource:mt==null?void 0:mt.can_copy_list,rowKey:Ct==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(mt==null?void 0:mt.no_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:xe.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Ue.default,{columns:Vt,className:xe.antdTable,dataSource:mt==null?void 0:mt.no_copy_list,rowKey:Ct==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(mt==null?void 0:mt.no_use_list.length)>0&&(mt==null?void 0:mt.no_use_list.map(Te=>y.createElement("div",{key:Ct==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},y.createElement(pe.default.Item,{name:[`${Ct==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(ke.default,{type:"hidden"})),y.createElement(pe.default.Item,{name:[`${Ct==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(ke.default,{type:"hidden"})))))))};var We=De=>{const{modalType:st}=De;return st==="multiple"?y.createElement(Ee,a({},De)):y.createElement(ue,a({},De))}},83028:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var y=ae(59301),pe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Fe=ae(43418),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ue=(Ie,we,Re)=>new Promise((Ze,Ye)=>{var ie=x=>{try{a(Re.next(x))}catch(b){Ye(b)}},E=x=>{try{a(Re.throw(x))}catch(b){Ye(b)}},a=x=>x.done?Ze(x.value):Promise.resolve(x.value).then(ie,E);a((Re=Re.apply(Ie,we)).next())}),Qe=({type:Ie,resdata:we,onok:Re,oktext:Ze,okloading:Ye})=>{const[ie,E]=(0,y.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:b,course_data_list:z,no_copy_list:te,no_copy_num:oe,no_use_list:ue,no_use_num:le,repeat_shixun_num:Ee,student_count:be,total_num:We,use_num:De}=we;let st=x>0||Ie==="exercise";(0,y.useEffect)(()=>{(we==null?void 0:we.student_count)>0&&E(!0)},[we]),console.log("---11",Ye),(0,y.useEffect)(()=>{Ye||E(!1)},[Ye]);const Oe=()=>{if(Ie==="exercise"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Ie==="exercise"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="shixun"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="shixun"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="subject"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="subject"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:pe.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:pe.orangeColor},De)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Ie==="shixunpush"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ie==="shixunpush"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:pe.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ke=()=>{if(Ie==="exercise"||Ie==="subject"||Ie==="exercisepush"||Ie==="shixunpush")return y.createElement("div",{style:{marginTop:20}},oe>0&&y.createElement("div",null,y.createElement("span",{className:pe.flex},y.createElement("img",{src:ke,style:{width:14}}),y.createElement("span",{className:pe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:pe.statusbody},Ie==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:pe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Ie==="subject"||Ie==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",st&&y.createElement("span",{className:pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ie==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",st&&y.createElement("span",{className:pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),y.createElement("div",null,te==null?void 0:te.map((ze,Xe)=>y.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",Xe+1!==oe&&"\u3001"))))),x>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:pe.flex},y.createElement("img",{src:Me,style:{width:14}}),y.createElement("span",{className:pe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:pe.statusbody},Ie==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Ie==="subject"||Ie==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ie==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),y.createElement("div",null,a==null?void 0:a.map((ze,Xe)=>y.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",Xe+1!==x&&"\u3001"))))));if(Ie==="shixun")return y.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return y.createElement(Fe.default,{open:ie,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!st&&"none"}},zIndex:1003,confirmLoading:Ye,okText:st?Ze:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ue(void 0,null,function*(){st?yield Re([...a,...ue]):E(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Oe(),Ke()))}},85533:function(it,Tt,ae){"use strict";ae.d(Tt,{h:function(){return oe}});var y=ae(59301),pe=ae(57809),Fe=ae(78241),Me=ae(3113),ke=ae(89780),Ue=ae.n(ke),xe=ae(45559),Qe=ae(42313),Ie=Object.defineProperty,we=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,E=(ue,le,Ee)=>le in ue?Ie(ue,le,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ue[le]=Ee,a=(ue,le)=>{for(var Ee in le||(le={}))Ye.call(le,Ee)&&E(ue,Ee,le[Ee]);if(Ze)for(var Ee of Ze(le))ie.call(le,Ee)&&E(ue,Ee,le[Ee]);return ue},x=(ue,le)=>we(ue,Re(le));const b=pe.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Tt.Z=({callback:ue,onCancel:le})=>{const[Ee,be]=(0,y.useState)("python");function We(st){be(te[st][1])}function De(st){ue(st)}return y.createElement(Fe.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,style:{width:500}}),y.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(pe.default,{getPopupContainer:st=>st.parentNode,onChange:We},Object.keys(te).map(st=>y.createElement(b,{key:st,value:st},te[st][0])))),y.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(oe,{mode:Ee})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Me.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function oe({value:ue,onChange:le,mode:Ee,options:be={}}){const We=(0,y.useRef)(),[De,st]=(0,y.useState)();return(0,y.useEffect)(()=>{if(De){let Oe=function(Ke){const ze=Ke.getValue();le&&le(ze)};return De.on("change",Oe),()=>{De.off("change",Oe)}}},[De,le]),(0,y.useEffect)(()=>{De&&De.setOption("mode",Ee)},[De,Ee]),(0,y.useEffect)(()=>{De&&(ue!==De.getValue()||ue==="")&&setTimeout(()=>{De.setValue(ue||"")},300)},[De,ue]),(0,y.useEffect)(()=>{if(We.current&&!De){const Oe=Ue().fromTextArea(We.current,a({mode:Ee,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));st(Oe)}},[We.current,De]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:We}))}},96565:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ln}});var y=ae(59301),pe=ae(89780),Fe=ae.n(pe),Me=ae(76374),ke=ae(45559),Ue=ae(6313),xe=ae(25717),Qe=ae(99498),Ie=ae(25419),we=ae(67549),Re=ae(6339),Ze=({value:tt="",className:ot,showTextOnly:Je,showLines:Pn,style:Cn={}})=>{const Zn=(0,y.useMemo)(()=>"",[tt]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:Zn}}))},Ye=ae(59301),ie=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(tt,ot,Je)=>ot in tt?ie(tt,ot,{enumerable:!0,configurable:!0,writable:!0,value:Je}):tt[ot]=Je,oe=(tt,ot)=>{for(var Je in ot||(ot={}))b.call(ot,Je)&&te(tt,Je,ot[Je]);if(x)for(var Je of x(ot))z.call(ot,Je)&&te(tt,Je,ot[Je]);return tt},ue=(tt,ot)=>E(tt,a(ot));let le=[{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 Ee({onActionCallback:tt,title:ot,icon:Je,actionName:Pn,className:Cn="",children:Zn}){function Ia(){tt(Pn)}return Ye.createElement("a",{title:ot,className:Cn,onClick:Ia},Ye.createElement("i",{className:`${Je}`}),Zn)}var be=({watch:tt,showNullButton:ot,showNullProgramButton:Je,onActionCallback:Pn,fullScreen:Cn,insertTemp:Zn,hidetoolBar:Ia,extraUse:Ea})=>{const ua=[...le,{title:`${tt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${tt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ye.createElement("ul",{className:"markdown-toolbar-container"},!Ia&&ua.map((ba,da)=>Ye.createElement("li",{key:da},ba.actionName?Ye.createElement(Ee,ue(oe({},ba),{onActionCallback:Pn})):Ye.createElement("span",{className:"v-line"}))),ot?Ye.createElement("li",null,Ye.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Pn},Ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Je?Ye.createElement(Ye.Fragment,null,Ye.createElement("li",null,Ye.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Pn},Ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ye.createElement("li",null,Ye.createElement(Ee,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Pn},Ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Zn&&Ye.createElement("li",null,Ye.createElement(Ee,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Zn}`,onActionCallback:Pn},Ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ea&&Ye.createElement("li",null,Ea),Ye.createElement("li",{className:"btn-full-screen"},Ye.createElement(Ee,{icon:`${Cn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Cn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Pn})))},We=ae(57261),De=ae(78241),st=ae(92832),Oe=ae(3113),Ke=Object.defineProperty,ze=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Ct=(tt,ot,Je)=>ot in tt?Ke(tt,ot,{enumerable:!0,configurable:!0,writable:!0,value:Je}):tt[ot]=Je,Et=(tt,ot)=>{for(var Je in ot||(ot={}))ct.call(ot,Je)&&Ct(tt,Je,ot[Je]);if(Ce)for(var Je of Ce(ot))mt.call(ot,Je)&&Ct(tt,Je,ot[Je]);return tt},fn=(tt,ot)=>ze(tt,Xe(ot));const un={labelCol:{span:4},wrapperCol:{span:20}};var Vt=({callback:tt,onCancel:ot})=>{function Je(Pn){tt(Pn)}return y.createElement(De.default,fn(Et({},un),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Je,style:{width:500}}),y.createElement(De.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(st.default,null)),y.createElement(De.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(st.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Oe.ZP,{type:"ghost",onClick:ot},"\u53D6\u6D88")))},ht=ae(85533),Te=ae(45053),rt=ae(43418),It=ae(95237),hn=ae(16750),Pt=ae(59301),sn=({callback:tt,onCancel:ot})=>{const Je=document.createElement("canvas"),Pn=Je.getContext("2d");Je.width=1e3,Je.height=800,Pn.fillStyle="#ffffff",Pn.fillRect(0,0,Je.width,Je.height);const Cn=Je.toDataURL("image/png");return Pt.createElement(rt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Pt.createElement(It.Z,{style:{height:"100vh"}},Pt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Cn,visible:!0,title:String(Date.now())},onOk:Zn=>{tt({src:Zn.url})},onClose:ot})))},Be=ae(12378);function qe(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(qe,go.CommandHandler),qe.prototype.canAlignSelection=function(){var tt=this.diagram;return!(tt===null||tt.isReadOnly||tt.isModelReadOnly||tt.selection.count<2)},qe.prototype.alignLeft=function(){var tt=this.diagram;tt.startTransaction("aligning left");var ot=1/0;tt.selection.each(function(Je){Je instanceof go.Link||(ot=Math.min(Je.position.x,ot))}),tt.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(ot,Je.position.y))}),tt.commitTransaction("aligning left")},qe.prototype.alignRight=function(){var tt=this.diagram;tt.startTransaction("aligning right");var ot=-1/0;tt.selection.each(function(Je){if(!(Je instanceof go.Link)){var Pn=Je.actualBounds.x+Je.actualBounds.width;ot=Math.max(Pn,ot)}}),tt.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(ot-Je.actualBounds.width,Je.position.y))}),tt.commitTransaction("aligning right")},qe.prototype.alignTop=function(){var tt=this.diagram;tt.startTransaction("alignTop");var ot=1/0;tt.selection.each(function(Je){Je instanceof go.Link||(ot=Math.min(Je.position.y,ot))}),tt.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(Je.position.x,ot))}),tt.commitTransaction("alignTop")},qe.prototype.alignBottom=function(){var tt=this.diagram;tt.startTransaction("aligning bottom");var ot=-1/0;tt.selection.each(function(Je){if(!(Je instanceof go.Link)){var Pn=Je.actualBounds.y+Je.actualBounds.height;ot=Math.max(Pn,ot)}}),tt.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(Je.actualBounds.x,ot-Je.actualBounds.height))}),tt.commitTransaction("aligning bottom")},qe.prototype.alignCenterX=function(){var tt=this.diagram,ot=tt.selection.first();if(ot){tt.startTransaction("aligning Center X");var Je=ot.actualBounds.x+ot.actualBounds.width/2;tt.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Je-Pn.actualBounds.width/2,Pn.actualBounds.y))}),tt.commitTransaction("aligning Center X")}},qe.prototype.alignCenterY=function(){var tt=this.diagram,ot=tt.selection.first();if(ot){tt.startTransaction("aligning Center Y");var Je=ot.actualBounds.y+ot.actualBounds.height/2;tt.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Pn.actualBounds.x,Je-Pn.actualBounds.height/2))}),tt.commitTransaction("aligning Center Y")}},qe.prototype.alignColumn=function(tt){var ot=this.diagram;ot.startTransaction("align Column"),tt===void 0&&(tt=0),tt=parseFloat(tt);var Je=new Array;ot.selection.each(function(Ea){Ea instanceof go.Link||Je.push(Ea)});for(var Pn=0;Pn0){for(var Ea=Zn.elt(Ia-1);Ea!==null&&Ea.isTreeExpanded&&!Ea.isTreeLeaf;){var ua=this._sortTreeChildrenByY(Ea);Ea=ua.last()}Ea!==null&&tt.select(Ea)}else tt.select(Cn)}}else if(Je.key==="Down")if(ot.isTreeExpanded&&!ot.isTreeLeaf){var Pn=this._sortTreeChildrenByY(ot).first();Pn!==null&&tt.select(Pn)}else for(;ot!==null;){var Cn=ot.findTreeParentNode();if(Cn===null)break;var Zn=this._sortTreeChildrenByY(Cn),Ia=Zn.indexOf(ot);if(IaZn.y?1:Cn.xZn.x?1:0}),ot},qe.prototype.copyToClipboard=function(tt){go.CommandHandler.prototype.copyToClipboard.call(this,tt),this._lastPasteOffset.set(this.pasteOffset)},qe.prototype.pasteFromClipboard=function(){var tt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(tt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),tt},Object.defineProperty(qe.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(tt){if(tt!=="move"&&tt!=="select"&&tt!=="scroll"&&tt!=="tree"&&tt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+tt);this._arrowKeyBehavior=tt}}),Object.defineProperty(qe.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(tt){if(!(tt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+tt);this._pasteOffset.set(tt)}});var qt=qe,nt=ae(25863),pt=ae(43604),_n=ae(38147),Zt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},At=ae(59301),yt=(tt,ot,Je)=>new Promise((Pn,Cn)=>{var Zn=ua=>{try{Ea(Je.next(ua))}catch(ba){Cn(ba)}},Ia=ua=>{try{Ea(Je.throw(ua))}catch(ba){Cn(ba)}},Ea=ua=>ua.done?Pn(ua.value):Promise.resolve(ua.value).then(Zn,Ia);Ea((Je=Je.apply(tt,ot)).next())});function Gn({onCancel:tt,callback:ot}){let Je=(0,y.useRef)(),Pn=(0,y.useRef)(),Cn=(0,y.useRef)(),Zn=(0,y.useRef)(!1);const Ia=(0,y.useRef)(!1),[Ea,ua]=(0,y.useState)(0);function ba(){const Gt=Be.bx.make,or={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"};Je.current=new Be.S0(Pn.current,{padding:20,grid:Gt(Be.s_,"Grid",Gt(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Gt(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Dn=>{var ma=Dn.diagram.commandHandler.addTopLevelParts(Dn.diagram.selection,!0);ma||Dn.diagram.currentTool.doCancel()},commandHandler:Gt(qt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Dn=>{var ma=Dn.subject;ma.location=ma.location.copy().snapToGridPoint(Dn.diagram.grid.gridOrigin,Dn.diagram.grid.gridCellSize),setTimeout(()=>{Dn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Dn=>{var ma=Dn.subject;setTimeout(()=>{Dn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Dn=>{var ma=Dn.parameter.part;ma.invalidateConnectedLinks();var na=Dn.subject;Dn.diagram.toolManager.linkingTool.isForwards?na.toNode.invalidateConnectedLinks():na.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Je.current.nodeTemplate=Gt(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),Gt(Be.bn,{name:"SHAPE",fill:or.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Gt(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Gt(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),Je.current.nodeTemplate.toolTip=Gt("ToolTip",Gt(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},Gt(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),Gt(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function fr(Dn,ma){var na=(Yn,dr)=>{Yn.handled=!0,Yn.diagram.model.commit(Lr=>{var jr=dr.part.adornedPart,Br=new Be.E9().setRectSpot(jr.actualBounds,Dn);Br.subtract(jr.location),Br.scale(2,2),Br.x+=Math.sign(Br.x)*130,Br.y+=Math.sign(Br.y)*130,Br.add(jr.location),Br.snapToGridPoint(Yn.diagram.grid.gridOrigin,Yn.diagram.grid.gridCellSize);var nr=Lr.copyNodeData(jr.data);Lr.setGroupKeyForNodeData(nr,Lr.getGroupKeyForNodeData(jr.data)),Lr.addNodeData(nr);var wo={from:jr.key,to:Lr.getKeyForNodeData(nr)};Lr.addLinkData(wo);var Co=Yn.diagram.findNodeForData(nr);Co.location=Br,Yn.diagram.select(Co),setTimeout(()=>{Yn.diagram.commandHandler.editTextBlock()},20)})};return Gt(Be.bn,{figure:ma,alignment:Dn,alignmentFocus:Dn.opposite(),width:Dn.equals(Be.z6.Top)||Dn.equals(Be.z6.Bottom)?25:18,height:Dn.equals(Be.z6.Top)||Dn.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:or.white,strokeWidth:4,mouseEnter:(Yn,dr)=>dr.fill="dodgerblue",mouseLeave:(Yn,dr)=>dr.fill="orange",isActionable:!0,click:na,contextClick:na})}function so(Dn){return Gt(Be.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:(ma,na)=>na.fill="dodgerblue",mouseLeave:(ma,na)=>na.fill="orange",click:(ma,na)=>{ma.diagram.commandHandler.showContextMenu(na.part.adornedPart)}},Dn||{})}Je.current.nodeTemplate.selectionAdornmentTemplate=Gt(Be.uz,"Spot",Gt(Be.Vm,{padding:10}),fr(Be.z6.Top,"TriangleUp"),fr(Be.z6.Left,"TriangleLeft"),fr(Be.z6.Right,"TriangleRight"),fr(Be.z6.Bottom,"TriangleDown"),so({alignment:new Be.z6(.75,0)}));function Mt(Dn,ma){return(na,Yn)=>{na.handled=!0,na.diagram.model.commit(dr=>{dr.set(Yn.part.adornedPart.data,Dn,ma)})}}function lr(Dn,ma){return ma||(ma="color"),Gt(Be.bn,{width:16,height:16,stroke:"lightgray",fill:Dn,margin:1,background:"transparent",mouseEnter:(na,Yn)=>Yn.stroke="dodgerblue",mouseLeave:(na,Yn)=>Yn.stroke="lightgray",click:Mt(ma,Dn),contextClick:Mt(ma,Dn)})}function Qr(){return[Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",lr(or.white,"fill"),lr(or.beige,"fill"),lr(or.extralightblue,"fill"),lr(or.extralightred,"fill"))),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",lr(or.lightgray,"fill"),lr(or.lightgreen,"fill"),lr(or.lightblue,"fill"),lr(or.lightred,"fill")))]}function Oa(){return[Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",lr(or.black),lr(or.green),lr(or.blue),lr(or.red))),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",lr(or.white),lr(or.magenta),lr(or.purple),lr(or.orange)))]}function wr(Dn,ma){return ma||(ma="thickness"),Gt(Be.bn,"LineH",{width:16,height:16,strokeWidth:Dn,margin:1,background:"transparent",mouseEnter:(na,Yn)=>Yn.background="dodgerblue",mouseLeave:(na,Yn)=>Yn.background="transparent",click:Mt(ma,Dn),contextClick:Mt(ma,Dn)})}function vr(Dn,ma){return ma||(ma="dash"),Gt(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Dn,margin:1,background:"transparent",mouseEnter:(na,Yn)=>Yn.background="dodgerblue",mouseLeave:(na,Yn)=>Yn.background="transparent",click:Mt(ma,Dn),contextClick:Mt(ma,Dn)})}function Dr(){return[Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",wr(1),wr(2),wr(3),wr(4))),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",vr(null),vr([2,4]),vr([4,4])))]}function Hr(Dn,ma){return ma||(ma="figure"),Gt(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Dn,margin:1,background:"transparent",mouseEnter:(na,Yn)=>Yn.fill="dodgerblue",mouseLeave:(na,Yn)=>Yn.fill="lightgray",click:Mt(ma,Dn),contextClick:Mt(ma,Dn)})}Je.current.nodeTemplate.contextMenu=Gt("ContextMenu",Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",Hr("Rectangle"),Hr("RoundedRectangle"),Hr("Ellipse"),Hr("Diamond"))),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",Hr("Parallelogram2"),Hr("ManualOperation"),Hr("Procedure"),Hr("Cylinder1"))),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",Hr("Terminator"),Hr("CreateRequest"),Hr("Document"),Hr("TriangleDown"))),Qr(),Oa(),Dr()),Je.current.groupTemplate=Gt(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Dn,ma)=>{var na=ma.addMembers(ma.diagram.selection,!0);na||ma.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),Gt(Be.s_,"Auto",{name:"BODY"},Gt(Be.bn,{parameter1:10,fill:or.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Gt(Be.Vm,{background:"transparent",margin:20})),Gt(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),Je.current.groupTemplate.selectionAdornmentTemplate=Gt(Be.uz,"Spot",Gt(Be.s_,"Auto",Gt(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Gt(Be.Vm,{margin:1.5})),so({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),Je.current.groupTemplate.contextMenu=Gt("ContextMenu",Qr(),Oa(),Dr()),Je.current.linkTemplate=Gt(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",Dn=>Dn>=1?10:0),new Be.KX("toShortLength","dir",Dn=>Dn>=1?10:0),new Be.KX("points").makeTwoWay(),Gt(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Gt(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Dn=>Dn===1)),Gt(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Dn=>Dn>=1),new Be.KX("width","thickness",Dn=>7+3*Dn),new Be.KX("height","thickness",Dn=>7+3*Dn),new Be.KX("segmentOffset","thickness",Dn=>new Be.E9(-15,4+1.5*Dn))),Gt(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Dn=>Dn===2),new Be.KX("width","thickness",Dn=>7+3*Dn),new Be.KX("height","thickness",Dn=>7+3*Dn),new Be.KX("segmentOffset","thickness",Dn=>new Be.E9(-15,4+1.5*Dn))),Gt(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),Je.current.linkTemplate.selectionAdornmentTemplate=Gt(Be.uz,Gt(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:pr(2)},new Be.KX("pathPattern","thickness",pr)),so({alignmentFocus:new Be.z6(0,0,-6,-4)}));function pr(Dn){return Gt(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Dn+4).toString()+" H3"})}function yr(Dn){var ma="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Dn===0?ma="M0 0 M16 16 M0 8 L16 8":Dn===2&&(ma="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Gt(Be.bn,{geometryString:ma,margin:2,background:"transparent",mouseEnter:(na,Yn)=>Yn.background="dodgerblue",mouseLeave:(na,Yn)=>Yn.background="transparent",click:Mt("dir",Dn),contextClick:Mt("dir",Dn)})}function ga(Dn){var ma=(na,Yn)=>{na.handled=!0,na.diagram.model.commit(dr=>{var Lr=Yn.part.adornedPart;dr.set(Lr.data,Dn?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),(Dn?Lr.toNode:Lr.fromNode).invalidateConnectedLinks()})};return Gt(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(na,Yn)=>Yn.background="dodgerblue",mouseLeave:(na,Yn)=>Yn.background="transparent",click:ma,contextClick:ma})}function Qt(Dn,ma){var na=0,Yn=Be.z6.RightSide;Dn.equals(Be.z6.Top)?(na=270,Yn=Be.z6.TopSide):Dn.equals(Be.z6.Left)?(na=180,Yn=Be.z6.LeftSide):Dn.equals(Be.z6.Bottom)&&(na=90,Yn=Be.z6.BottomSide),ma||(na-=180);var dr=(Lr,jr)=>{Lr.handled=!0,Lr.diagram.model.commit(Br=>{var nr=jr.part.adornedPart;Br.set(nr.data,ma?"toSpot":"fromSpot",Be.z6.stringify(Yn)),(ma?nr.toNode:nr.fromNode).invalidateConnectedLinks()})};return Gt(Be.bn,{alignment:Dn,alignmentFocus:Dn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:na,background:"transparent",mouseEnter:(Lr,jr)=>jr.background="dodgerblue",mouseLeave:(Lr,jr)=>jr.background="transparent",click:dr,contextClick:dr})}Je.current.linkTemplate.contextMenu=Gt("ContextMenu",Oa(),Dr(),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",yr(0),yr(1),yr(2))),Gt("ContextMenuButton",Gt(Be.s_,"Horizontal",Gt(Be.s_,"Spot",ga(!1),Qt(Be.z6.Top,!1),Qt(Be.z6.Left,!1),Qt(Be.z6.Right,!1),Qt(Be.z6.Bottom,!1)),Gt(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},ga(!0),Qt(Be.z6.Top,!0),Qt(Be.z6.Left,!0),Qt(Be.z6.Right,!0),Qt(Be.z6.Bottom,!0)))));const hr=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, @@ -252,39 +252,39 @@ ${_n} {"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 Zr=["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 Gr(On){return console.log("shapeName:",On),Zr.indexOf(On)>=0}var hr=new be.YI(yn.current,{maxSelectionCount:1,linkTemplate:Vt(be.rU,{locationSpot:be.z6.Center,selectionAdornmentTemplate:Vt(be.uz,"Link",{locationSpot:be.z6.Center},Vt(be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Vt(be.bn,{toArrow:"Standard",stroke:null}))},{routing:be.rU.AvoidsNodes,curve:be.rU.JumpOver,corner:5,toShortLength:4},new be.KX("points"),Vt(be.bn,{isPanelMain:!0,strokeWidth:2}),Vt(be.bn,{toArrow:"Standard",stroke:null})),model:new be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...be.bn.getFigureGenerators().toArray().map(On=>({text:"\u672A\u547D\u540D",size:"100 100",figure:On.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return _e.current.addDiagramListener("TextEdited",function(On){var ha;const la=On.subject.part;var Xn=(ha=document.activeElement)==null?void 0:ha.value;typeof Xn=="string"&&Xn.trim()===""&&_e.current.model.commit(function(Sr){Sr.set(la.data,"text","\u672A\u547D\u540D"),_e.current.commandHandler.stopCommand()},"increment")}),hr.nodeTemplate=Vt(be.NB,"Auto",{locationSpot:be.z6.Center},new be.KX("location","location",be.E9.parse).makeTwoWay(be.E9.stringify),Vt(be.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 be.KX("stroke").makeTwoWay(),new be.KX("fill").makeTwoWay(),new be.KX("figure")),Vt(be.al,{margin:new be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new be.$u(16,16),maxSize:new be.$u(10,NaN),textAlign:"center",editable:!0},new be.KX("key").makeTwoWay())),setTimeout(()=>{_e.current.grid=Vt(be.s_,"Grid",Vt(be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Vt(be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),_e.current.grid.visible=!0,_e.current.grid.gridCellStroke="darkgray",_e.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=_e.current,_e.current}const ma=()=>Ft(this,null,function*(){var Vt=_e.current.makeImage();const _a=yield(0,Nn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Vt.src}});ot({src:_a.url})});return(0,y.useEffect)(()=>(setTimeout(()=>{Ia()},500),sa(Fa+1),()=>{_e.current=null}),[]),St.createElement("div",{ref:Ta,className:Zn.current?`${bt.maxH60} body-overflow-initial`:"body-overflow-initial"},St.createElement(at.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Fa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:St.createElement(Tt.Z,null,St.createElement(vt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),St.createElement(vt.Z,{onClick:()=>{var Vt,_a,vr=_e.current.selection.first();if(Zn.current=!Zn.current,document.activeElement&&vr){let Yr=(_a=(Vt=document.activeElement)==null?void 0:Vt.value)==null?void 0:_a.trim();typeof Yr=="string"&&_e.current.model.commit(function(jt){jt.set(vr.data,"text",Yr||"\u672A\u547D\u540D"),_e.current.commandHandler.stopCommand()},"increment")}sa(Fa+1)}},St.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:$e},St.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:bt.flowChartWrp},St.createElement("div",{style:{display:"flex",height:"100%"}},St.createElement("div",{style:{width:"300px",height:"100%"}},St.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),St.createElement("div",{style:{height:"calc(100% - 50px)"},className:bt.myPaletteDiv,ref:yn})),St.createElement("div",{style:{flex:1,position:"relative"}},St.createElement("div",{ref:En,style:{height:"80vh"}}))),St.createElement("div",{className:"tr"},St.createElement(Re.ZP,{size:"large",onClick:ma,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var In=it,Yt=ae(5112),_n=ae(5871);const Ea=Yt.ZP.Group,Wn={margin:"0 8px"};var sn=({callback:$e,onCancel:ot})=>{function _e(En){$e(En)}return y.createElement(De.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:_e},y.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},y.createElement("span",{style:Wn},"\u5355\u5143\u683C\u6570\uFF1A"),y.createElement("span",{style:Wn},"\u884C\u6570"),y.createElement(De.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},y.createElement(_n.Z,null)),y.createElement("span",{style:Wn},"\u5217\u6570"),y.createElement(De.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},y.createElement(_n.Z,null))),y.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},y.createElement("span",{style:Wn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),y.createElement(De.default.Item,{name:"align"},y.createElement(Ea,null,y.createElement(Yt.ZP,{value:"default"},y.createElement("i",{className:"fa fa-align-justify"})),y.createElement(Yt.ZP,{value:"left"},y.createElement("i",{className:"fa fa-align-left"})),y.createElement(Yt.ZP,{value:"center"},y.createElement("i",{className:"fa fa-align-center"})),y.createElement(Yt.ZP,{value:"right"},y.createElement("i",{className:"fa fa-align-right"}))))),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Re.ZP,{type:"ghost",onClick:ot},"\u53D6\u6D88")))},Hn=ae(78673),Aa=ae(93510),za=ae.n(Aa),Ka=(0,y.forwardRef)(({use3d:$e,width:ot,height:_e,callback:En,showSaveButton:yn},Zn)=>{const Ta=(0,y.useRef)(),Fa=(0,y.useRef)(),[sa,Ia]=(0,y.useState)(!1),ma=(0,y.useRef)({id:Ta,appName:"graphing",width:ot||1e3,height:_e||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,y.useEffect)(()=>{Fa.current=new(za())(ma.current,!0),window.onload=function(){Fa.current.inject("applet_container")}},[]);const Vt=()=>{var _a=window.ggbApplet.getPNGBase64(1,!0,72);return En&&En(_a),_a};return(0,y.useEffect)(()=>{ma.current.appName=sa?"3D":"graphing",Fa.current.inject("applet_container")},[sa]),(0,y.useEffect)(()=>{Ia($e)},[$e]),(0,y.useImperativeHandle)(Zn,()=>({getImgData:Vt})),y.createElement(y.Fragment,null,y.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ta}),y.createElement(Tt.Z,{align:"middle"},y.createElement(vt.Z,{flex:1},y.createElement(Hn.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:sa,onChange:_a=>Ia(_a)})),y.createElement(vt.Z,null,y.createElement(Re.ZP,{size:"large",onClick:Vt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Za=ae(99298),La=ae(1012),Ja=ae(8591);const Sa="link",hn="upload-image",ga="add-flowchart",Mt="draw-image",en="add-flowchart",ya="code-block",lr="add-table",ir="------------",nr={default:ir,left:`:${ir}`,center:`:${ir}:`,right:`${ir}:`};var Ga=ae(31103),yr=($e,ot,_e)=>new Promise((En,yn)=>{var Zn=sa=>{try{Fa(_e.next(sa))}catch(Ia){yn(Ia)}},Ta=sa=>{try{Fa(_e.throw(sa))}catch(Ia){yn(Ia)}},Fa=sa=>sa.done?En(sa.value):Promise.resolve(sa.value).then(Zn,Ta);Fa((_e=_e.apply($e,ot)).next())});function ia(){}let Oa=0;const Rr=1e4,It="\u2581",vn="@\u2581\u2581@",ua="@\u2581@",Mn=` +]}`;var Ur=["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 Yr(Dn){return console.log("shapeName:",Dn),Ur.indexOf(Dn)>=0}var sr=new Be.YI(Cn.current,{maxSelectionCount:1,linkTemplate:Gt(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:Gt(Be.uz,"Link",{locationSpot:Be.z6.Center},Gt(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Gt(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),Gt(Be.bn,{isPanelMain:!0,strokeWidth:2}),Gt(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map(Dn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Dn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Je.current.addDiagramListener("TextEdited",function(Dn){var ma;const na=Dn.subject.part;var Yn=(ma=document.activeElement)==null?void 0:ma.value;typeof Yn=="string"&&Yn.trim()===""&&Je.current.model.commit(function(dr){dr.set(na.data,"text","\u672A\u547D\u540D"),Je.current.commandHandler.stopCommand()},"increment")}),sr.nodeTemplate=Gt(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),Gt(Be.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 Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),Gt(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{Je.current.grid=Gt(Be.s_,"Grid",Gt(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Gt(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Je.current.grid.visible=!0,Je.current.grid.gridCellStroke="darkgray",Je.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Je.current,Je.current}const da=()=>yt(this,null,function*(){var Gt=Je.current.makeImage();const or=yield(0,_n.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Gt.src}});ot({src:or.url})});return(0,y.useEffect)(()=>(setTimeout(()=>{ba()},500),ua(Ea+1),()=>{Je.current=null}),[]),At.createElement("div",{ref:Ia,className:Zn.current?`${Zt.maxH60} body-overflow-initial`:"body-overflow-initial"},At.createElement(rt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ea,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:At.createElement(It.Z,null,At.createElement(pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),At.createElement(pt.Z,{onClick:()=>{var Gt,or,fr=Je.current.selection.first();if(Zn.current=!Zn.current,document.activeElement&&fr){let so=(or=(Gt=document.activeElement)==null?void 0:Gt.value)==null?void 0:or.trim();typeof so=="string"&&Je.current.model.commit(function(Mt){Mt.set(fr.data,"text",so||"\u672A\u547D\u540D"),Je.current.commandHandler.stopCommand()},"increment")}ua(Ea+1)}},At.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:tt},At.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Zt.flowChartWrp},At.createElement("div",{style:{display:"flex",height:"100%"}},At.createElement("div",{style:{width:"300px",height:"100%"}},At.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),At.createElement("div",{style:{height:"calc(100% - 50px)"},className:Zt.myPaletteDiv,ref:Cn})),At.createElement("div",{style:{flex:1,position:"relative"}},At.createElement("div",{ref:Pn,style:{height:"80vh"}}))),At.createElement("div",{className:"tr"},At.createElement(Oe.ZP,{size:"large",onClick:da,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Qn=Gn,Kt=ae(5112),ta=ae(5871);const Ba=Kt.ZP.Group,Un={margin:"0 8px"};var On=({callback:tt,onCancel:ot})=>{function Je(Pn){tt(Pn)}return y.createElement(De.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Je},y.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},y.createElement("span",{style:Un},"\u5355\u5143\u683C\u6570\uFF1A"),y.createElement("span",{style:Un},"\u884C\u6570"),y.createElement(De.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},y.createElement(ta.Z,null)),y.createElement("span",{style:Un},"\u5217\u6570"),y.createElement(De.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},y.createElement(ta.Z,null))),y.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},y.createElement("span",{style:Un},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),y.createElement(De.default.Item,{name:"align"},y.createElement(Ba,null,y.createElement(Kt.ZP,{value:"default"},y.createElement("i",{className:"fa fa-align-justify"})),y.createElement(Kt.ZP,{value:"left"},y.createElement("i",{className:"fa fa-align-left"})),y.createElement(Kt.ZP,{value:"center"},y.createElement("i",{className:"fa fa-align-center"})),y.createElement(Kt.ZP,{value:"right"},y.createElement("i",{className:"fa fa-align-right"}))))),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Oe.ZP,{type:"ghost",onClick:ot},"\u53D6\u6D88")))},ya=ae(78673),Za=ae(93510),Ya=ae.n(Za),rr=(0,y.forwardRef)(({use3d:tt,width:ot,height:Je,callback:Pn,showSaveButton:Cn},Zn)=>{const Ia=(0,y.useRef)(),Ea=(0,y.useRef)(),[ua,ba]=(0,y.useState)(!1),da=(0,y.useRef)({id:Ia,appName:"graphing",width:ot||1e3,height:Je||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,y.useEffect)(()=>{Ea.current=new(Ya())(da.current,!0),window.onload=function(){Ea.current.inject("applet_container")}},[]);const Gt=()=>{var or=window.ggbApplet.getPNGBase64(1,!0,72);return Pn&&Pn(or),or};return(0,y.useEffect)(()=>{da.current.appName=ua?"3D":"graphing",Ea.current.inject("applet_container")},[ua]),(0,y.useEffect)(()=>{ba(tt)},[tt]),(0,y.useImperativeHandle)(Zn,()=>({getImgData:Gt})),y.createElement(y.Fragment,null,y.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ia}),y.createElement(It.Z,{align:"middle"},y.createElement(pt.Z,{flex:1},y.createElement(ya.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ua,onChange:or=>ba(or)})),y.createElement(pt.Z,null,y.createElement(Oe.ZP,{size:"large",onClick:Gt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),qa=ae(99298),Fa=ae(1012),Va=ae(8591);const va="link",En="upload-image",Qa="add-flowchart",Ht="draw-image",dn="add-flowchart",Aa="code-block",er="add-table",tr="------------",_a={default:tr,left:`:${tr}`,center:`:${tr}:`,right:`${tr}:`};var ka=ae(31103),br=(tt,ot,Je)=>new Promise((Pn,Cn)=>{var Zn=ua=>{try{Ea(Je.next(ua))}catch(ba){Cn(ba)}},Ia=ua=>{try{Ea(Je.throw(ua))}catch(ba){Cn(ba)}},Ea=ua=>ua.done?Pn(ua.value):Promise.resolve(ua.value).then(Zn,Ia);Ea((Je=Je.apply(tt,ot)).next())});function la(){}let Na=0;const Wr=1e4,Ot="\u2581",Fn="@\u2581\u2581@",ia="@\u2581@",jn=` **\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`,Ze=["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 kt($e){return/^\d+$/.test($e)?`${$e}px`:$e}const tn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",nn={[tn+"-B"]:"bold",[tn+"-I"]:"italic"},Kn={[Sa]:"\u6DFB\u52A0\u94FE\u63A5",[ya]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[hn]:"\u6DFB\u52A0\u56FE\u7247",[Mt]:"\u6DFB\u52A0\u753B\u56FE",[ga]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[lr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ln=({defaultValue:$e="",onChange:ot,width:_e="100%",height:En=400,miniToolbar:yn=!1,isFocus:Zn=!1,watch:Ta,insertTemp:Fa,mode:sa="markdown",id:Ia="markdown-editor-id",showResizeBar:ma=!1,noStorage:Vt=!1,showNullButton:_a=!1,showNullProgramButton:vr=!1,hidetoolBar:Yr=!1,fullScreen:jt=!1,onBlur:gr,onCMBeforeChange:At,onFullScreen:Bt,className:fa="",disablePaste:Qn=!1,disabled:Pa=!1,disabledFill:qa=!1,placeholder:ka="",values:Ca="",extraUse:na})=>{const[wt,pr]=(0,y.useState)(null),[Zr,Gr]=(0,y.useState)($e),[hr,On]=(0,y.useState)(Ta),[ha,la]=(0,y.useState)(jt),[Xn,Sr]=(0,y.useState)(""),[xr,Mr]=(0,y.useState)(0),[Br,dr]=(0,y.useState)(En),[Eo,po]=(0,y.useState)(!1),tl=(0,y.useRef)((0,La.Z)()),Hr=(0,y.useRef)(!1),Nr=(0,y.useRef)(),[uo,to]=(0,y.useState)(0),[Kr,So]=(0,y.useState)(0),Cr=(0,y.useRef)(),Vr=(0,y.useRef)(),Mo=(0,y.useRef)(),Do=(0,y.useRef)(),ur=()=>yr(void 0,null,function*(){var Jn;const on=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:tl.current}});(Jn=on==null?void 0:on.attachments)!=null&&Jn.length&&(console.log("cm:",wt,Cr),on.attachments.map(_t=>{_t.content_type.indexOf("image")>-1?wt.replaceSelection(`![,](/api/attachments/${_t.id}?type=${_t.content_type})`):_t.content_type.indexOf("video")>-1?wt.replaceSelection(``):_t.content_type.indexOf("pdf")>-1?wt.replaceSelection(`${_t.name}`):wt.replaceSelection(`[${_t.name}](${ENV.API_SERVER}/api/attachments/${_t.id}?type=${_t.content_type})`)}))});(0,y.useEffect)(()=>{const Jn=window.scrollY||window.pageYOffset;Gr(Ca),wt==null||wt.setValue(Ca),window.scrollTo(0,Jn)},[Ca]),(0,y.useEffect)(()=>{Bt==null||Bt(ha)},[ha]),(0,y.useEffect)(()=>{if(Cr.current){let Jn=function(_t,wn){var Va;if(Qn){wn.preventDefault();return}const wr=wn.clipboardData;if(wr){const no=wr.types.toString(),ho=wr.items;if(no==="Files"||wr.types.indexOf("Files")>-1){if(wn.preventDefault(),sa=="stex")return;try{let Go=ho[1];((Va=ho[0])==null?void 0:Va.kind)==="file"&&(Go=ho[0]);const Ho=Go.getAsFile(),fl=Ho.name.split(".").pop();(0,Ie.I)(Ho,Jo=>{var vl,hl,ti;Jo.id?((vl=Ho==null?void 0:Ho.type)==null?void 0:vl.indexOf("image"))>-1?on.replaceSelection(``):((hl=Ho==null?void 0:Ho.type)==null?void 0:hl.indexOf("video"))>-1?on.replaceSelection(``):((ti=Ho==null?void 0:Ho.type)==null?void 0:ti.indexOf("pdf"))>-1?on.replaceSelection(`${Ho.name}`):Ze.includes(fl)?on.replaceSelection(`${Ho.name}`):on.replaceSelection(`[${Ho.name}](/api/attachments/${Jo.id}?type=${Jo.content_type})`):(Jo==null?void 0:Jo.status)===401&&(Ja.ZP.warning((Jo==null?void 0:Jo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Go){Ja.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const on=Be().fromTextArea(Cr.current,{mode:sa,lineNumbers:!yn,lineWrapping:!0,value:$e,autoCloseTags:!vr,autoCloseBrackets:!0});return on.on("keyup",function(_t,wn){wn.keyCode===8&&(_t.getValue()==""?on.setOption("placeholder",ka):on.setOption("placeholder",null))}),on.on("keydown",function(_t,wn){if(wn.keyCode===8){var Va=Vo(_t);Va&&wn.preventDefault()}}),Zn&&on.focus(),on.on("paste",Jn),on.on("dragleave",function(_t,wn){Vr.current.classList.remove("mouse-hover-md")}),Pa&&on.on("beforeChange",function(_t,wn){(wn.origin==="paste"||wn.origin==="+input")&&wn.cancel()}),pr(on),()=>{on.off("paste",Jn)}}},[]);const Qo=(0,y.useCallback)(()=>{if(Vr.current)try{}catch(Jn){console.log(Jn,"---- to set md editor body height")}},[Br,Vr,ha]);(0,y.useEffect)(()=>{function Jn(){let on=new Te.Z(_t=>{for(let wn of _t)(wn.target.offsetHeight>0||wn.target.offsetWidth>0)&&(Qo(),wt.setSize("100%","100%"),wt.refresh())});return on.observe(Cr.current.parentElement),on}if(wt){const on=Jn();return()=>{var _t,wn;(_t=Cr.current)!=null&&_t.parentElement&&on.unobserve((wn=Cr.current)==null?void 0:wn.parentElement)}}},[wt,Qo]),(0,y.useEffect)(()=>{if(wt){let Jn=[];for(const[on,_t]of Object.entries(nn)){let wn={[on]:()=>{Ko(_t)}};Jn.push(wn),wt.addKeyMap(wn)}return Nr.current=setInterval(()=>{Hr.current&&ur()},4e3),()=>{clearInterval(Nr.current);for(let on of Jn)wt.removeKeyMap(on)}}},[wt]),(0,y.useEffect)(()=>{jt!==ha&&la(jt)},[jt]),(0,Ga.Z)(()=>{if(!Vt&&xr>0){let Jn=new Date().getTime(),on=window.sessionStorage.getItem(Ia);Jn>=xr+Rr&&(!on||on!==Zr)&&(window.sessionStorage.setItem(Ia,Zr),po(!0))}},Rr),(0,y.useEffect)(()=>{On(Ta)},[wt,Ta]),(0,y.useEffect)(()=>{wt&&Zn&&wt.focus()},[wt,Zn]),(0,y.useEffect)(()=>{if(hr&&wt){let Jn=function(_t){let wn=_t.target;if(Do.current){let Va=wn.scrollTop/wn.scrollHeight;Do.current.scrollTop=Do.current.scrollHeight*Va}};const on=wt.getScrollerElement();return on.addEventListener("scroll",Jn),()=>{on.removeEventListener("scroll",Jn)}}},[wt,hr]),(0,y.useEffect)(()=>{if(wt&&At){let Jn=function(on,_t){At(on,_t)};return wt.on("beforeChange",Jn),()=>{wt.off("beforeChange",Jn)}}},[wt,At]),(0,y.useEffect)(()=>{if(wt&&gr){let Jn=function(){gr(wt.getValue())};return wt.on("blur",Jn),()=>{wt.off("blur",Jn)}}},[wt,gr]);function Vo(Jn,on){var _t=Jn.getDoc(),wn=_t.getCursor(),Va=_t.getLine(wn.line),wr=Va.charAt(wn.ch-1),no=Va.lastIndexOf("@\u2581@",wn.ch),ho=Va.lastIndexOf("@\u2581\u2581@",wn.ch),Go=no>ho?no:ho,Ho=no>ho?3:4;if(vn.indexOf(wr)===-1)return null;if(console.log("change1:",on,Jn,Va,wn,Go,no,ho,wr),Go>=0&&wn.ch-Go<5){var fl=Go+Ho;return _t.replaceRange("",{line:wn.line,ch:Go},{line:wn.line,ch:fl}),{line:wn.line,ch:fl}}return null}(0,y.useEffect)(()=>{if(wt){let Jn=function(on,_t){const wn=on.getValue();Gr(wn),Mr(new Date().getTime()),on.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ot&&(vr?ot(wn,qn(wn)):ot(wn))};return wt.on("change",Jn),()=>{wt.off("change",Jn)}}},[wt,ot]),(0,y.useEffect)(()=>{if(wt)if($e==null)wt.setValue(""),Gr("");else{const Jn=window.scrollY||window.pageYOffset;$e!==wt.getValue()&&(wt.setValue($e),Gr($e),wt.setCursor(Pa?1:wt.lineCount(),0),window.scrollTo(0,Jn))}},[wt,$e]);const Ko=(0,y.useCallback)(Jn=>{const on=wt.getCursor(),_t=wt.getSelection();let wn=_t.split(` -`);switch(Jn){case"bold":return wt.replaceSelection("**"+_t+"**"),_t===""&&wt.setCursor(on.line,on.ch+2),wt.focus();case"italic":return wt.replaceSelection("*"+_t+"*"),_t===""&&wt.setCursor(on.line,on.ch+1),wt.focus();case"code":return wt.replaceSelection("`"+_t+"`"),_t===""&&wt.setCursor(on.line,on.ch+1),wt.focus();case"inline-latex":return Sr("inline-latex"),wt.focus();case"latex":return wt.replaceSelection("```latex\n"+_t+"\n```"),wt.setCursor(on.line+1,_t.length+1),wt.focus();case"line-break":return wt.replaceSelection(`
-`),wt.focus();case"list-ul":return _t===""?wt.replaceSelection("- "+_t):wt.replaceSelection(wn.map(Va=>Va===""?"":`- ${Va}`).join(` -`)),wt.focus();case"list-ol":return _t===""?wt.replaceSelection("1. "+_t):wt.replaceSelection(wn.map((Va,wr)=>Va===""?"":`${wr+1}. ${Va}`).join(` -`)),wt.focus();case"add-null-ch":return _t===""&&wt.setCursor(on.line,on.ch),wt.replaceSelection(It),wt.focus();case"add-signal":return _t===""&&wt.setCursor(on.line,on.ch),wt.replaceSelection(ua),wt.focus();case"add-multiple":return _t===""&&wt.setCursor(on.line,on.ch),wt.replaceSelection(vn),wt.focus();case"inster-template-1":return _t===""&&wt.setCursor(on.line,on.ch),wt.replaceSelection(Mn),wt.focus();case"eraser":return wt.setValue(""),wt.focus();case"trigger-watch":return On(!hr),wt.focus();case"trigger-full-screen":return la(!ha),wt.focus();case Sa:Sr(Sa);return;case ya:Sr(ya);return;case hn:Sr(hn);return;case Mt:Sr(Mt);return;case"maths-latex":Sr("maths-latex");return;case ga:Sr(ga);return;case lr:Sr(lr);return;default:throw new Error}},[wt,hr,ha]),Wr=(0,y.useCallback)((Jn,on)=>{var _t,wn,Va,wr,no,ho;switch(Sr(""),Xn){case Sa:const{title:vl,link:hl}=Jn;return wt.replaceSelection(`[${vl}](${hl})`),wt.focus();case ya:const{language:ti,content:so}=Jn;return wt.replaceSelection(["```"+ti,so,"```"].join(` -`)),wt.focus();case"maths-latex":for(var Go=atob(Jn),Ho=new Uint8Array(Go.length),fl=0;fl{Ra.id?wt.replaceSelection(`![,](/api/attachments/${Ra.id}?type=${Ra.content_type})`):(Ra==null?void 0:Ra.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":wt.replaceSelection("`$$"+Jn+"$$`");break;case hn:case Mt:case en:const{src:cr,alt:Pt}=Jn,dt=on,Ot=(Va=(wn=(_t=dt==null?void 0:dt.name)==null?void 0:_t.split("."))==null?void 0:wn.pop)==null?void 0:Va.call(wn);return((wr=dt==null?void 0:dt.type)==null?void 0:wr.indexOf("image"))>-1||!(dt!=null&&dt.type)?dt.align||dt.width?wt.replaceSelection(`

${Pt||

`):wt.replaceSelection(`${Pt||`):((no=dt==null?void 0:dt.type)==null?void 0:no.indexOf("video"))>-1?wt.replaceSelection(``):((ho=dt==null?void 0:dt.type)==null?void 0:ho.indexOf("pdf"))>-1?wt.replaceSelection(`${dt.name}`):Ze.includes(Ot)?wt.replaceSelection(`${dt.name}`):wt.replaceSelection(`[${dt.name}](${cr})`),wt.focus();case lr:const{row:Fn,col:pa,align:Ma}=Jn;let un=` -`;for(let Ra=0;Ra{switch(Xn){case Sa:return y.createElement(Qt,{callback:Wr,onCancel:he});case ya:return y.createElement(rt.Z,{callback:Wr,onCancel:he});case hn:return y.createElement(Ie.Z,{callback:Wr,onCancel:he});case ga:return y.createElement(In,{callback:Wr,onCancel:he});case lr:return y.createElement(sn,{callback:Wr,onCancel:he});case"maths-latex":return y.createElement(Ka,{showSaveButton:!0,callback:Wr});case"inline-latex":return y.createElement(Za.Z,{showSaveButton:!0,callback:Wr});default:return null}},[Xn]);function he(){Sr("")}(0,y.useEffect)(()=>{if(Mo.current){let Jn=function(no){Va=!0,wr=no.pageY},on=function(){Va=!1},_t=function(no){if(Va){let ho=no.pageY-wr;ho<0&&(ho=0),ho>300&&(ho=300);let Go=En+ho+"px";dr(Go)}},wn=Mo.current,Va=!1,wr=0;return wn.addEventListener("mousedown",Jn),document.addEventListener("mousemove",_t),document.addEventListener("mouseup",on),()=>{wn.removeEventListener("mousedown",Jn),document.removeEventListener("mousemove",_t),document.removeEventListener("mouseup",on)}}},[wt,Mo]),(0,y.useEffect)(()=>{dr(En)},[En]);const Dt=kt(_e),$t=kt(Br),pn={width:Dt,height:$t},Ct=(0,y.useMemo)(()=>{if(xr){let Jn=new Date(xr),on=Jn.getHours(),_t=Jn.getMinutes(),wn=Jn.getSeconds();return on=on<10?"0"+on:on,_t=_t<10?"0"+_t:_t,wn=wn<10?"0"+wn:wn,`${on}:${_t}:${wn}`}return 0},[xr]),qn=Jn=>{const on=[];if(vr){let _t=-1;Jn=Jn.replace(/(@▁▁@|@▁@)/g,function(wn,Va,wr){on.push({multiLine:wn!==ua})})}return on};function aa(){window.sessionStorage.removeItem(Ia),po(!1),Mr(0)}function Pn(){po(!1),Mr(0),wt.setValue(window.sessionStorage.getItem(Ia))}(0,y.useEffect)(()=>{Kn[Xn]&&Xn!==Mt&&Xn!==ga&&setTimeout(()=>{const Jn=document.getElementsByClassName("markdown-popup-form")[0],on=window.innerWidth/2-Jn.offsetWidth/2,_t=window.innerHeight/2-Jn.offsetHeight/2;to(on),So(_t)},0)},[Xn]);const Tn=Jn=>{Jn.preventDefault();const on=Jn.clientX-uo,_t=Jn.clientY-Kr;document.body.onmousemove=wn=>{let Va=wn.clientX-on,wr=wn.clientY-_t;const no=document.getElementsByClassName("markdown-popup-form")[0],ho=window.innerWidth-no.offsetWidth,Go=window.innerHeight-no.offsetHeight;Va=Math.max(0,Math.min(Va,ho)),wr=Math.max(0,Math.min(wr,Go)),ar(wn.clientX,wn.clientY,on,_t)&&(to(Va),So(wr))},document.body.onmouseup=function(){document.body.onmousemove=null}},ar=(Jn,on,_t,wn)=>{const Va=document.body.clientHeight,wr=document.body.clientWidth;return Jn<20&&_t>Jn||Jn>wr-20&&_ton||on>Va-20&&wnst in De?Ge(De,st,{enumerable:!0,configurable:!0,writable:!0,value:Re}):De[st]=Re,z=(De,st)=>{for(var Re in st||(st={}))a.call(st,Re)&&b(De,Re,st[Re]);if(E)for(var Re of E(st))x.call(st,Re)&&b(De,Re,st[Re]);return De},te=(De,st)=>Je(De,ie(st));const{useForm:oe}=y.default,ue={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var Ee=({callback:De,onCancel:st})=>{const[Re]=oe();let Ke=(0,Ne.useRef)();function ze(gt){Ke.current.width=Re.getFieldValue("width"),Ke.current.align=Re.getFieldValue("align"),De(gt,Ke.current)}function qe(gt,mt){if(gt.status===-1){pe.ZP.error(gt.message);return}Re.setFieldsValue({src:`/api/attachments/${gt.id}`,type:mt.type})}function Ae(gt){let mt=gt.target.files[0];Ke.current=mt,Qe(mt,qe)}return Me.createElement(y.default,te(z({form:Re},le),{className:"upload-image-panel",onFinish:ze,style:{width:470,overflow:"hidden"}}),Me.createElement(y.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Me.createElement("div",{className:"flex-container"},Me.createElement(y.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Me.createElement(Be.default,{style:ue})),Me.createElement(Ce,{onFileChange:Ae}))),Me.createElement(y.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Me.createElement(Be.default,{style:{width:264}})),Me.createElement(y.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Me.createElement(Te.Z,null,Me.createElement(y.default.Item,{name:"width",style:{margin:0}},Me.createElement(ke.Z,{style:{width:264}})),Me.createElement("span",{className:"ml8"},"%"))),Me.createElement(y.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Me.createElement(We.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"}]})),Me.createElement("aside",null,Me.createElement(y.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Me.createElement(xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Me.createElement(xe.ZP,{type:"default",onClick:st},"\u53D6\u6D88"))))};function Ce({onFileChange:De}){return Me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Me.createElement("input",{type:"file",onChange:De}))}function Qe(De,st){if(!De)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,we.bg)())throw pe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Re=new FormData;Re.append("editormd-image-file",De),Re.append("file_param_name","editormd-image-file"),Re.append("byxhr","true");var Ke=new window.XMLHttpRequest;Ke.withCredentials=!0,Ke.addEventListener("load",function(ze){st(JSON.parse(ze.target.responseText),De)},!1),Ke.addEventListener("error",function(ze){console.error(ze)},!1),Ke.open("POST",`${Ye.KI}/api/attachments.json`),Ke.send(Re)}},57261:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Be}});var y=ae(59301),pe=ae(4676);class Be extends y.Component{constructor(ke){super(ke);const We=window.document;this.node=We.createElement("div"),We.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,pe.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(ut,Gt,ae){"use strict";ae.d(Gt,{i:function(){return le},Z:function(){return Ce}});var y={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},pe=ae(71418),Be=ae(6848),Te=ae(93948),ke=ae(92310),We=ae.n(ke),xe=ae(65862),Ye=ae(2524),Ne=ae(41867),we=ae(79005),Me=ae(20345),Ge=ae(77882),Je=ae(31081),ie=ae(75309),E=ae(71979),a=ae(47558),x=ae(42922),b=ae(66832),z=ae(96593),te=ae(19664),oe=ae(91833),ue=ae(59301);const le=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:we,swimg:Me},{name:"101\u8BA1\u5212",ptimg:Ge,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ie,swimg:E},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:oe}];var Ce=({className:Qe,dataSource:De=[],col:st=4,right:Re,bottom:Ke=23,precision:ze=0,wrapWidth:qe=1200,trackEventItems:Ae,loading:gt,onRemove:mt=()=>{},isCurrent:xt=!0,showAlias:Et=!1,showProgress:fn=!1})=>{const dn=Math.floor((qe-(st-1)*Re)/st),Qt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(rt=>(window.ENV==="build"&&(rt.ptimg=`/react/build${rt.ptimg}`,rt.swimg=`/react/build${rt.swimg}`),rt));return ue.createElement(pe.Z,{spinning:gt},ue.createElement("div",{className:We()(y.list,Qe)},!!(De!=null&&De.length)&&(De==null?void 0:De.map((rt,Ie)=>{var at,Tt,Sn,Ve,Ut,be;const{name:tt,id:Jt,identifier:nt,featured:vt,school_name:Nn,image_url:bt,excellent:St,is_plan:Ft}=rt;return ue.createElement("div",{key:Jt,className:xt&&fn?y.wrapisCurrent:y.wrap,style:{width:dn,marginRight:(1+Ie)%st===0?0:Re+ze,marginBottom:Ke}},ue.createElement("a",{className:y.li,onClick:it=>{it.preventDefault(),it.stopPropagation(),Ae&&(0,xe.L9)([Ae]),(0,xe.xg)(`/paths/${nt}`)}},ue.createElement("div",{className:y.img},ue.createElement("img",{className:y.cover,src:`${bt}`}),xt&&(0,Ne.bg)()&&(rt==null?void 0:rt.studying)&&ue.createElement("div",{className:`${y.movebq} user-path-items`,onClick:it=>{it.stopPropagation(),mt(rt)}},ue.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ue.createElement("span",{className:"c-red"},"\u79FB\u9664")),(at=rt==null?void 0:rt.subject_tags)==null?void 0:at.map((it,In)=>{var Yt,_n;if(In===0){const Wn=(Yt=Qt.find(sn=>sn.name==it))==null?void 0:Yt.swimg;return ue.createElement("img",{className:y.sign,src:Wn,style:{left:"-4px"}})}const Ea=(_n=Qt.find(Wn=>Wn.name==it))==null?void 0:_n.ptimg;return ue.createElement("img",{className:y.sign,src:Ea,style:{left:`${48+52*(In-1)+2*In}px`}})}),ue.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(rt==null?void 0:rt.excellent)&&ue.createElement("div",{className:y.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:y.name},ue.createElement(Be.Z,{title:Et&&(rt!=null&&rt.excellent_alias_name)?ue.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${tt}`,ue.createElement("br",null),ue.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${rt==null?void 0:rt.excellent_alias_name}`)):tt},ue.createElement("span",{className:y.e},Et&&(rt==null?void 0:rt.excellent_alias_name)||tt))),xt&&fn&&((Tt=rt==null?void 0:rt.progress)==null?void 0:Tt.all_score)!=0&&ue.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ue.createElement(Te.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Sn=rt==null?void 0:rt.progress)==null?void 0:Sn.my_score)/((Ve=rt==null?void 0:rt.progress)==null?void 0:Ve.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ut=rt==null?void 0:rt.progress)==null?void 0:Ut.my_score,"/",(be=rt==null?void 0:rt.progress)==null?void 0:be.all_score),(!xt||!fn)&&ue.createElement("div",{className:y.tags},ue.createElement("div",null,ue.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ue.createElement("span",null,rt.stages_count))),ue.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ue.createElement("span",null,rt.members_count)))))))})),!De.length&&ue.createElement(Ye.Z,null)))}},3918:function(ut,Gt,ae){"use strict";ae.d(Gt,{jL:function(){return ke},w9:function(){return kt},vv:function(){return _e},dN:function(){return Kn},QD:function(){return Hr},cQ:function(){return In.Z},vg:function(){return It},Oz:function(){return nr},op:function(){return Mr},O5:function(){return Ct},_b:function(){return Cr},t7:function(){return Ke},tT:function(){return Ae},Gi:function(){return Yr},YG:function(){return Ta},Ed:function(){return _a},kT:function(){return Ia},qp:function(){return x},Um:function(){return le},K3:function(){return te},vr:function(){return to},qE:function(){return Eo},Je:function(){return xt},wb:function(){return be},rC:function(){return it},lB:function(){return nt},cq:function(){return Qn},kO:function(){return Ca},tp:function(){return Qe},Si:function(){return Pn},k8:function(){return cr},Du:function(){return wr}});var y=ae(59301),pe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1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x9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ke=({dataSource:Pt=[],img:dt,imgWidth:Ot=346,title:Fn,sunTitle:pa,bannerExtraContent:Ma})=>y.createElement("div",{className:pe.banner},y.createElement("div",{className:pe.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,Fn),y.createElement("span",null,pa)),Pt.length>0&&y.createElement("div",{className:pe.btns},Pt.map((un,Ra)=>y.createElement("div",{key:Ra,onClick:un.click},un.name,un.sign?y.createElement("img",{src:Be,width:39}):null))),Ma),dt&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:dt,width:Ot}))),We={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},xe=ae(92310),Ye=ae.n(xe),Ne=ae(89392),we=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,ie=(Pt,dt,Ot)=>dt in Pt?we(Pt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Pt[dt]=Ot,E=(Pt,dt)=>{for(var Ot in dt||(dt={}))Ge.call(dt,Ot)&&ie(Pt,Ot,dt[Ot]);if(Me)for(var Ot of Me(dt))Je.call(dt,Ot)&&ie(Pt,Ot,dt[Ot]);return Pt},x=({dataSource:Pt=[],value:dt,onChange:Ot,onTitleChange:Fn,className:pa,title:Ma,titleWidth:un=41,style:Ra={},fontColor:sr="#6A7283",showCount:br,classNameActive:$a,styleItem:ra={}})=>{const[Dr,Tr]=(0,y.useState)(0),[Po,Fr]=(0,y.useState)(!1),$n=(0,y.useRef)(null),xo=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var Ao;Pt.length!==0&&(((Ao=$n==null?void 0:$n.current)==null?void 0:Ao.clientHeight)>97?Tr(1):Tr(0)),Pt.length===0&&Tr(0),Fr(!1)},[Pt]),y.createElement("div",{className:Ye()(We.row,pa),style:Ra},y.createElement("div",{onClick:(0,Ne.throttle)(()=>Fn==null?void 0:Fn(),2e3),style:{width:un,marginTop:Po?12:4},className:`${We.title} ${Fn?"current":""}`},Ma),y.createElement("div",{className:Po?`${We.tagsWrap} ${We.tagsBorderWrap}`:We.tagsWrap},y.createElement("div",{className:We.bar,ref:xo,style:Dr>0?{height:Dr===1?97:"auto",overflow:Dr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:We.tag,ref:$n},Pt==null?void 0:Pt.map(Ao=>y.createElement("span",{onClick:()=>Ot(Ao.id),key:Ao.id,style:E(E({color:sr},ra),(Ao==null?void 0:Ao.style)||{}),className:dt===Ao.id?Ye()($a||We.active,Ao.classNameActive):""},y.createElement("span",{title:Ao.name,className:We.name},Ao.name),!!br&&y.createElement("span",{className:We.num},Ao.count))))),!!Dr&&y.createElement(y.Fragment,null,Dr===1?y.createElement("div",{onClick:()=>{var Ao;Tr(2),((Ao=$n==null?void 0:$n.current)==null?void 0:Ao.clientHeight)>245?Fr(!0):Fr(!1)},className:We.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{xo.current.scrollTop=0,Tr(1),Fr(!1)},className:We.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Pt=[],value:dt,onChange:Ot,onTitleChange:Fn,className:pa,title:Ma,titleWidth:un=41,style:Ra={},fontColor:sr="#6A7283",showCount:br,expand:$a=!0})=>{const[ra,Dr]=(0,y.useState)(0),[Tr,Po]=(0,y.useState)(!1),Fr=(0,y.useRef)(null),$n=(0,y.useRef)(null),[xo,Ao]=(0,y.useState)($a);return y.createElement("div",{className:Ye()(b.row,pa),style:Ra},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ne.throttle)(()=>Fn==null?void 0:Fn(),2e3),style:{width:un,marginTop:Tr?12:4},className:`${b.title} ${Fn?"current":""}`},Ma),y.createElement("i",{className:`iconfont ${xo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:xo?8:10},onClick:()=>Ao(!xo)})),xo&&y.createElement("div",{className:Tr?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},y.createElement("div",{className:b.fenge}),y.createElement("div",{className:b.bar,ref:$n},y.createElement("div",{className:b.tag,ref:Fr},Pt==null?void 0:Pt.map(mo=>y.createElement("span",{onClick:()=>Ot(mo.id),key:mo.id,style:{color:sr},className:dt===mo.id?b.active:""},y.createElement("span",{title:mo.name,className:b.name},mo.name),!!br&&y.createElement("span",{className:b.num},mo.count)))))))},oe={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},le=({dataSource:Pt=[],value:dt,onChange:Ot,onTitleChange:Fn,className:pa,title:Ma,titleWidth:un=41,style:Ra={},fontColor:sr="#fff",showCount:br,expand:$a=!0})=>{const[ra,Dr]=(0,y.useState)(0),[Tr,Po]=(0,y.useState)(!1),Fr=(0,y.useRef)(null),$n=(0,y.useRef)(null),[xo,Ao]=(0,y.useState)($a);return y.createElement("div",{className:Ye()(oe.row,pa),style:Ra},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ne.throttle)(()=>Fn==null?void 0:Fn(),2e3),style:{width:un},className:`${oe.title} ${Fn?"current":""}`},Ma),y.createElement("i",{className:`iconfont ${xo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:xo?"#00DDC7":"#037F74",fontSize:xo?10:12},onClick:()=>Ao(!xo)})),xo&&y.createElement("div",{className:Tr?`${oe.tagsWrap} ${oe.tagsBorderWrap}`:oe.tagsWrap},y.createElement("div",{className:oe.bar,ref:$n},y.createElement("div",{className:oe.tag,ref:Fr},Pt==null?void 0:Pt.map(mo=>y.createElement("span",{onClick:()=>Ot(mo.id),key:mo.id,style:{color:sr},className:dt===mo.id?oe.active:""},y.createElement("span",{title:mo.name,className:oe.name},mo.name),!!br&&y.createElement("span",{className:oe.num},mo.count)))))))},Ee={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Qe=({dataSource:Pt=[],value:dt,onChange:Ot,className:Fn,style:pa={}})=>y.createElement("div",{style:pa,className:Ye()(Ee.tabs,Fn)},Pt.map(Ma=>y.createElement("span",{onClick:()=>Ot(Ma.id),className:dt===Ma.id?Ee.active:"",key:Ma.id},Ma.name))),De={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},st=ae(92832),Ke=({dataSource:Pt=[],value:dt="",onChange:Ot,onInputChange:Fn=()=>{},className:pa,style:Ma={},placeholder:un,allowClear:Ra=!1})=>{var sr;const[br,$a]=(0,y.useState)(""),[ra,Dr]=(0,y.useState)("");(0,y.useEffect)(()=>{var Fr;let $n=dt;(Fr=JSON.stringify(dt))!=null&&Fr.includes("{")&&($a(dt.id),$n=dt.value||"");try{Dr(decodeURIComponent($n||""))}catch(xo){Dr(decodeURIComponent($n||""))}},[dt]);const Tr=()=>{Ot(encodeURIComponent(ra),br||null)},Po=Fr=>{Fr!==br&&($a(Fr),Ot(encodeURIComponent(ra),Fr))};return y.createElement("div",{className:Ye()(De.input,pa),style:Ma},!!Pt.length&&y.createElement("div",{className:De.dropdown},y.createElement("div",{className:De.text},(sr=Pt.find(Fr=>Fr.id===br))==null?void 0:sr.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:De.b1}),y.createElement("b",{className:De.b2})),y.createElement("div",{className:De.menu},Pt.map((Fr,$n)=>y.createElement("div",{key:$n,onClick:()=>Po(Fr.id)},Fr.name)))),y.createElement(st.default,{onPressEnter:Tr,value:ra,onChange:Fr=>{Dr(Fr.target.value),Fn(encodeURIComponent(Fr.target.value),br||null)},bordered:!1,placeholder:un}),y.createElement("i",{onClick:Tr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ze={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Ae=({dataSource:Pt=[],value:dt="",onChange:Ot,onInputChange:Fn=()=>{},className:pa,style:Ma={},placeholder:un,allowClear:Ra=!1})=>{var sr;const[br,$a]=(0,y.useState)(""),[ra,Dr]=(0,y.useState)("");(0,y.useEffect)(()=>{var Fr;let $n=dt;(Fr=JSON.stringify(dt))!=null&&Fr.includes("{")&&($a(dt.id),$n=dt.value||"");try{Dr(decodeURIComponent($n||""))}catch(xo){Dr(decodeURIComponent($n||""))}},[dt]);const Tr=()=>{Ot(encodeURIComponent(ra),br||null)},Po=Fr=>{Fr!==br&&($a(Fr),Ot(encodeURIComponent(ra),Fr))};return y.createElement("div",{className:Ye()(ze.input,pa),style:Ma},!!Pt.length&&y.createElement("div",{className:ze.dropdown},y.createElement("div",{className:ze.text},(sr=Pt.find(Fr=>Fr.id===br))==null?void 0:sr.name,y.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),y.createElement("div",{className:ze.menu},Pt.map((Fr,$n)=>y.createElement("div",{key:$n,onClick:()=>Po(Fr.id)},Fr.name)))),y.createElement(st.default,{onPressEnter:Tr,value:ra,onChange:Fr=>{Dr(Fr.target.value),Fn(encodeURIComponent(Fr.target.value),br||null)},bordered:!1,placeholder:un}),y.createElement("i",{onClick:Tr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},gt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},xt=({value:Pt,onChange:dt,className:Ot,total:Fn,pageSize:pa,style:Ma={}})=>{const un=Pt<2,Ra=Pt>=Math.ceil(Fn/pa);return Fn<=pa?y.createElement(y.Fragment,null):y.createElement("div",{className:Ye()(gt.quickPager,Ot),style:Ma},y.createElement("div",{onClick:()=>{un||dt(Pt-1,"prev")},className:un?gt.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{Ra||dt(Pt+1,"next")},className:Ra?gt.disabled:""},"\u4E0B\u4E00\u9875"))},Et={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},fn=ae(71418),dn=ae(6848),Qt=ae(13570),rt=ae(74128),Ie=ae(65862),at=ae(96908),Tt=ae(57177),Sn=ae(81378),Ve=ae(2524),be=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,trackEventItems:Ra,loading:sr})=>{const br=Math.floor((un-(Ot-1)*Fn)/Ot);return y.createElement(fn.Z,{spinning:sr},y.createElement("div",{className:Ye()(Et.list,Pt)},!!dt.length&&dt.map(($a,ra)=>{const{name:Dr,id:Tr,identifier:Po,power:Fr,cover_image_id:$n,pic:xo}=$a;return y.createElement("div",{className:Et.wrap,key:Tr,style:{width:br,marginRight:(1+ra)%Ot===0?0:Fn+Ma,marginBottom:pa}},y.createElement("a",{target:"_blank",href:`/shixuns/${Po}/challenges`,className:Et.li,onClick:Ao=>{Ao.preventDefault(),Ra&&(0,Ie.L9)([Ra]),Fr&&(0,Ie.xg)(`/shixuns/${Po}/challenges`)}},y.createElement("div",{className:Et.img},y.createElement("img",{className:Et.cover,src:`${xo}`}),$a.is_jupyter&&y.createElement("img",{className:Et.sign,src:at}),$a.is_jupyter_lab&&y.createElement("img",{className:Et.sign,src:Tt}),$a.is_unity_3d&&y.createElement("img",{className:Et.sign,src:Sn})),y.createElement("div",{className:Et.name},y.createElement(dn.Z,{title:Dr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:Et.e},Dr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:Et.tags},y.createElement(dn.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,$a.challenges_count))),!!$a.myshixuns_count&&y.createElement(dn.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,$a.myshixuns_count))),y.createElement(dn.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,$a.level))),y.createElement("div",{className:Et.rate},y.createElement(Qt.Z,{allowHalf:!0,disabled:!0,defaultValue:$a.score_info}),y.createElement("span",null,"\xA0",$a.score_info?`${$a.score_info}\u5206`:"5\u5206")))),!Fr&&y.createElement("div",{className:Et.lockWrap},y.createElement("img",{src:`${rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!dt.length&&y.createElement(Ve.Z,null)))},tt={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},nt=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,wrapClassName:Ra,trackEventItems:sr,loading:br})=>{const $a=Math.floor((un-(Ot-1)*Fn)/Ot);return y.createElement(fn.Z,{spinning:br},y.createElement("div",{className:Ye()(tt.list,Pt)},!!dt.length&&dt.map((ra,Dr)=>{const{name:Tr,id:Po,identifier:Fr,power:$n,cover_image_id:xo,pic:Ao}=ra;return y.createElement("div",{className:Ye()(tt.wrap,Ra),key:Po,style:{width:$a,marginRight:(1+Dr)%Ot===0?0:Fn+Ma,marginBottom:pa}},y.createElement("a",{target:"_blank",href:`/shixuns/${Fr}/challenges`,className:tt.li,onClick:mo=>{mo.preventDefault(),sr&&(0,Ie.L9)([sr]),$n&&(0,Ie.xg)(`/shixuns/${Fr}/challenges`)}},y.createElement("img",{src:ae(47621),className:tt.titleBg}),y.createElement("div",{className:tt.name},y.createElement(dn.Z,{title:Tr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:tt.e},Tr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:tt.img},y.createElement("img",{className:tt.cover,src:xo?`${rt.Z.API_SERVER}/api/attachments/${xo}`:`${rt.Z.IMG_SERVER+Ao}`}),ra.is_jupyter&&y.createElement("div",{className:tt.bq},"Jupyter"),ra.is_jupyter_lab&&y.createElement("div",{className:tt.bq},"JupyterLab"),ra.is_unity_3d&&y.createElement("div",{className:tt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),y.createElement("div",{className:"mt20 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:tt.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:tt.value},ra.myshixuns_count)),y.createElement("div",null,y.createElement("span",{className:tt.text},"\u56F0\u96BE\u7B49\u7EA7"),y.createElement("span",{className:tt.value},ra.level))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:tt.text},"\u5173\u5361\u6570"),y.createElement("span",{className:tt.value},ra.challenges_count)),y.createElement("div",{className:tt.rate},y.createElement(Qt.Z,{allowHalf:!0,disabled:!0,defaultValue:ra.score_info}),y.createElement("span",{className:tt.value,style:{color:"#FF9C00"}},"\xA0",ra.score_info?`${ra.score_info}\u5206`:"5\u5206"))))),!$n&&y.createElement("div",{className:tt.lockWrap},y.createElement("img",{src:`${rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!dt.length&&y.createElement(Ve.Z,null)))},vt={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Nn="data:image/png;base64,i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8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",it=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,trackEventItems:Ra,loading:sr,wrapClassName:br,imgClassName:$a})=>{const ra=Math.floor((un-(Ot-1)*Fn)/Ot);return y.createElement(fn.Z,{spinning:sr},y.createElement("div",{className:Ye()(vt.list,Pt)},!!dt.length&&dt.map((Dr,Tr)=>{const{name:Po,id:Fr,identifier:$n,power:xo,cover_image_id:Ao,pic:mo}=Dr;return y.createElement("div",{className:Ye()(vt.wrap,br),key:Fr,style:{width:ra,marginRight:(1+Tr)%Ot===0?0:Fn+Ma,marginBottom:pa}},y.createElement("a",{target:"_blank",href:`/shixuns/${$n}/challenges`,className:vt.li,onClick:wl=>{wl.preventDefault(),Ra&&(0,Ie.L9)([Ra]),xo&&(0,Ie.xg)(`/shixuns/${$n}/challenges`)}},y.createElement("div",{className:Ye()(vt.img,$a)},y.createElement("img",{className:vt.cover,src:Ao?`${rt.Z.API_SERVER}/api/attachments/${Ao}`:`${rt.Z.IMG_SERVER+mo}`}),Dr.is_jupyter&&y.createElement("img",{className:vt.sign,src:Nn}),Dr.is_jupyter_lab&&y.createElement("img",{className:vt.sign,src:bt}),Dr.is_unity_3d&&y.createElement("img",{className:vt.sign,src:St})),y.createElement("div",{className:vt.name},y.createElement(dn.Z,{title:Po||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:vt.e},Po||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:vt.tags},y.createElement(dn.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,Dr.challenges_count))),!!Dr.myshixuns_count&&y.createElement(dn.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,Dr.myshixuns_count))),y.createElement(dn.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,Dr.level))),y.createElement("div",{className:vt.rate},y.createElement(Qt.Z,{allowHalf:!0,disabled:!0,defaultValue:Dr.score_info}),y.createElement("span",null,"\xA0",Dr.score_info?`${Dr.score_info}\u5206`:"5\u5206")))),!xo&&y.createElement("div",{className:vt.lockWrap},y.createElement("img",{src:`${rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!dt.length&&y.createElement(Ve.Z,null)))},In=ae(61584),Yt={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},_n=ae(79005),Ea=ae(20345),Wn=ae(77882),sn=ae(31081),Hn=ae(75309),Aa=ae(71979),za=ae(47558),wa=ae(42922),Ka=ae(66832),Za=ae(96593),La=ae(19664),Ja=ae(91833),Sa=Object.defineProperty,hn=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,en=(Pt,dt,Ot)=>dt in Pt?Sa(Pt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Pt[dt]=Ot,ya=(Pt,dt)=>{for(var Ot in dt||(dt={}))ga.call(dt,Ot)&&en(Pt,Ot,dt[Ot]);if(hn)for(var Ot of hn(dt))Mt.call(dt,Ot)&&en(Pt,Ot,dt[Ot]);return Pt};const lr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:_n,swimg:Ea},{name:"101\u8BA1\u5212",ptimg:Wn,swimg:sn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Hn,swimg:Aa},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:za,swimg:wa},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ka,swimg:Za},{name:"\u519B\u961F\u4E00\u6D41",ptimg:La,swimg:Ja}];var nr=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,trackEventItems:Ra,loading:sr,wrapClassName:br,imgClassName:$a,isArrow:ra=!1,imgStyle:Dr={}})=>{const Tr=Math.floor((un-(Ot-1)*Fn)/Ot),[Po,Fr]=(0,y.useState)(),[$n,xo]=(0,y.useState)(),Ao=wl=>Fr(wl),mo=()=>Fr(-1);return y.createElement(fn.Z,{spinning:sr},y.createElement("div",{className:Ye()(Yt.list,Pt)},!!(dt!=null&&dt.length)&&(dt==null?void 0:dt.map((wl,Ei)=>{var zi;const{name:Si,id:ii,identifier:ji,featured:eu,school_name:ni,image_url:Li,excellent:cl,is_plan:Vi}=wl;return y.createElement("div",{key:ii,className:Ye()(Yt.wrap,br),style:{width:Tr,marginRight:(1+Ei)%Ot===0?0:Fn+Ma,marginBottom:pa}},y.createElement("a",{target:"_blank",href:`/paths/${ji}`,className:Yt.li,onClick:sl=>{sl.preventDefault(),Ra&&(0,Ie.L9)([Ra]),(0,Ie.xg)(`/paths/${ji}`)}},y.createElement("img",{src:ae(39057),className:Yt.titleBg}),y.createElement("div",{className:Yt.name},y.createElement(dn.Z,{title:Si},y.createElement("span",{className:Yt.e,style:{color:ra&&Po===Ei?"#145DFF":"#000000"},onMouseEnter:()=>{Ao(Ei)},onMouseLeave:mo},Si))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:Ye()(Yt.img,$a)},y.createElement("img",{className:Yt.cover,style:ya({},Dr),src:`${rt.Z.IMG_SERVER+Li}`}),(zi=wl==null?void 0:wl.subject_tags)==null?void 0:zi.map((sl,Zl)=>{var Pi,mi;if(Zl===0){const ui=(Pi=lr.find(Jl=>Jl.name==sl))==null?void 0:Pi.swimg;return y.createElement("img",{className:Yt.sign,src:ui,style:{left:"-4px"}})}const lu=(mi=lr.find(ui=>ui.name==sl))==null?void 0:mi.ptimg;return y.createElement("img",{className:Yt.sign,src:lu,style:{left:`${48+52*(Zl-1)+2*Zl}px`}})}),y.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(wl==null?void 0:wl.excellent)&&y.createElement("div",{className:Yt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:Yt.text},"\u7AE0\u8282\u6570"),y.createElement("span",{className:Yt.value},wl.stages_count)),y.createElement("div",null,y.createElement("span",{className:Yt.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:Yt.value},wl.members_count))))))})),!dt.length&&y.createElement(Ve.Z,null)))},Ga={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},yr=ae(41867),ia=ae(59301);const Oa=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:_n,swimg:Ea},{name:"101\u8BA1\u5212",ptimg:Wn,swimg:sn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Hn,swimg:Aa},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:za,swimg:wa},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ka,swimg:Za},{name:"\u519B\u961F\u4E00\u6D41",ptimg:La,swimg:Ja}];var It=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,trackEventItems:Ra,loading:sr,onRemove:br=()=>{},isCurrent:$a=!0,showAlias:ra=!1,wrapClassName:Dr,imgClassName:Tr})=>{const Po=Math.floor((un-(Ot-1)*Fn)/Ot),Fr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map($n=>(window.ENV==="build"&&($n.ptimg=`/react/build${$n.ptimg}`,$n.swimg=`/react/build${$n.swimg}`),$n));return ia.createElement(fn.Z,{spinning:sr},ia.createElement("div",{className:Ye()(Ga.list,Pt)},!!(dt!=null&&dt.length)&&(dt==null?void 0:dt.map(($n,xo)=>{var Ao;const{name:mo,id:wl,identifier:Ei,featured:zi,school_name:Si,image_url:ii,excellent:ji,is_plan:eu}=$n;return ia.createElement("div",{key:wl,className:Ye()(Ga.wrap,Dr),style:{width:Po,marginRight:(1+xo)%Ot===0?0:Fn+Ma,marginBottom:pa}},ia.createElement("a",{className:Ga.li,onClick:ni=>{ni.preventDefault(),ni.stopPropagation(),Ra&&(0,Ie.L9)([Ra]),(0,Ie.xg)(`/paths/${Ei}`)}},ia.createElement("div",{className:Ye()(Ga.img,Tr)},ia.createElement("img",{className:Ga.cover,src:`${rt.Z.IMG_SERVER+ii}`}),$a&&(0,yr.bg)()&&($n==null?void 0:$n.studying)&&ia.createElement("div",{className:`${Ga.movebq} user-path-items`,onClick:ni=>{ni.stopPropagation(),br($n)}},ia.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ia.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ao=$n==null?void 0:$n.subject_tags)==null?void 0:Ao.map((ni,Li)=>{var cl,Vi;if(Li===0){const Zl=(cl=Fr.find(Pi=>Pi.name==ni))==null?void 0:cl.swimg;return ia.createElement("img",{className:Ga.sign,src:Zl,style:{left:"-4px"}})}const sl=(Vi=Fr.find(Zl=>Zl.name==ni))==null?void 0:Vi.ptimg;return ia.createElement("img",{className:Ga.sign,src:sl,style:{left:`${48+52*(Li-1)+2*Li}px`}})}),ia.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},($n==null?void 0:$n.excellent)&&ia.createElement("div",{className:Ga.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ia.createElement("div",{className:Ga.name},ia.createElement(dn.Z,{title:ra&&($n!=null&&$n.excellent_alias_name)?ia.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${mo}`,ia.createElement("br",null),ia.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${$n==null?void 0:$n.excellent_alias_name}`)):mo},ia.createElement("span",{className:Ga.e},ra&&($n==null?void 0:$n.excellent_alias_name)||mo))),ia.createElement("div",{className:Ga.tags},ia.createElement("div",null,ia.createElement(dn.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ia.createElement("span",null,ia.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ia.createElement("span",null,$n.stages_count))),ia.createElement(dn.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ia.createElement("span",null,ia.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ia.createElement("span",null,$n.members_count)))))))})),!dt.length&&ia.createElement(Ve.Z,null)))},vn={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ua="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+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p1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Mn=ae(59301),kt=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,trackEventItems:Ra,loading:sr})=>{const br=Math.floor((un-(Ot-1)*Fn)/Ot);return Mn.createElement(fn.Z,{spinning:sr},Mn.createElement("div",{className:Ye()(vn.list,Pt)},!!dt.length&&dt.map(($a,ra)=>{const{subject_identifier:Dr,id:Tr,identifier:Po,power:Fr}=$a,$n=$a.is_public!=0&&$a.is_public;return Mn.createElement("div",{className:vn.wrap,key:Tr,style:{width:br,marginRight:(1+ra)%Ot===0?0:Fn+Ma,marginBottom:pa}},Mn.createElement("a",{className:vn.li,onClick:xo=>{xo.preventDefault(),Ra&&(0,Ie.L9)([Ra]),(0,Ie.xg)($a.first_category_url)}},Mn.createElement("div",{className:vn.top},Mn.createElement(dn.Z,{title:$a.name},Mn.createElement("div",{className:vn.name},$a.name)),Mn.createElement("img",{className:vn.img,src:rt.Z.IMG_SERVER+"/images/"+$a.avatar_url}),Mn.createElement("div",{className:vn.text,title:$a.creator},$a.creator),Dr&&Mn.createElement("div",{className:vn.btns},Mn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Mn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),$n&&Mn.createElement("div",{className:vn.sign},"\u516C\u5F00")),Mn.createElement("div",{className:vn.bottom},$a.visits>0&&Mn.createElement(dn.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Mn.createElement("span",null,Mn.createElement("i",{className:"iconfont icon-liulanyan"}),Mn.createElement("span",null,$a.visits))),$a.course_members_count>0&&Mn.createElement(dn.Z,{title:"\u6210\u5458",placement:"bottom"},Mn.createElement("span",null,Mn.createElement("i",{className:"iconfont icon-chengyuan"}),$a.course_members_count)),$a.tasks_count>0&&Mn.createElement(dn.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Mn.createElement("span",null,Mn.createElement("i",{className:"iconfont icon-zuoye"}),$a.tasks_count)),$a.is_end?Mn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Mn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!$a.is_accessible&&Mn.createElement("div",{className:vn.lockWrap},Mn.createElement("img",{src:`${rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Mn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!dt.length&&Mn.createElement(Ve.Z,null)))},Nt={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},tn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7o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fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Kn=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,wrapClassName:Ra,trackEventItems:sr,loading:br})=>{const $a=Math.floor((un-(Ot-1)*Fn)/Ot);return y.createElement(fn.Z,{spinning:br},y.createElement("div",{className:Ye()(Nt.list,Pt)},!!dt.length&&dt.map((ra,Dr)=>{const{subject_identifier:Tr,id:Po,identifier:Fr,power:$n}=ra,xo=ra.is_public!=0&&ra.is_public;return y.createElement("div",{className:Ye()(`${Nt.wrap} ${ra.is_accessible?"":Nt.warpStyle}`,Ra),key:Po,style:{width:$a,marginRight:(1+Dr)%Ot===0?0:Fn+Ma,marginBottom:pa}},y.createElement("a",{className:Nt.li,onClick:Ao=>{Ao.preventDefault(),sr&&(0,Ie.L9)([sr]),(0,Ie.xg)(ra.first_category_url)}},y.createElement("div",{className:Nt.creator},y.createElement("img",{className:Nt.img,src:rt.Z.IMG_SERVER+"/images/"+ra.avatar_url}),y.createElement("div",{className:Nt.text,title:ra.creator},ra.creator)),y.createElement("div",{className:Nt.top},y.createElement(dn.Z,{title:ra.name},y.createElement("div",{className:Nt.name},ra.name)),xo&&y.createElement("div",{className:Nt.sign},"\u516C\u5F00")),y.createElement("div",{className:Nt.middle},y.createElement("div",{className:Nt.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:Nt.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:Nt.value},(ra==null?void 0:ra.visits)||0)),y.createElement("div",null,y.createElement("span",{className:Nt.text},"\u6210\u5458"),y.createElement("span",{className:Nt.value},(ra==null?void 0:ra.course_members_count)||0))),y.createElement("div",{className:Nt.row},y.createElement("div",null,y.createElement("span",{className:Nt.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:Nt.value},(ra==null?void 0:ra.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:Nt.text},"\u72B6\u6001"),ra.is_end?y.createElement("span",{className:Nt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:Nt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Tr&&y.createElement("div",{className:Nt.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ra.is_accessible&&y.createElement("div",{className:Nt.lockWrap},y.createElement("img",{src:`${rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!dt.length&&y.createElement(Ve.Z,null)))},Ln={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tEx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wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",_e=({className:Pt,dataSource:dt=[],col:Ot=4,right:Fn,bottom:pa=23,precision:Ma=0,wrapWidth:un=1200,wrapClassName:Ra,trackEventItems:sr,loading:br})=>{const $a=Math.floor((un-(Ot-1)*Fn)/Ot);return y.createElement(fn.Z,{spinning:br},y.createElement("div",{className:Ye()(Ln.list,Pt)},!!dt.length&&dt.map((ra,Dr)=>{const{subject_identifier:Tr,id:Po,identifier:Fr,power:$n}=ra,xo=ra.is_public!=0&&ra.is_public;return y.createElement("div",{className:Ye()(`${Ln.wrap} ${ra.is_accessible?"":Ln.warpStyle}`,Ra),key:Po,style:{width:$a,marginRight:(1+Dr)%Ot===0?0:Fn+Ma,marginBottom:pa}},y.createElement("a",{className:Ln.li,onClick:Ao=>{Ao.preventDefault(),sr&&(0,Ie.L9)([sr]),(0,Ie.xg)(ra.first_category_url)}},y.createElement("div",{className:Ln.creator},y.createElement("img",{className:Ln.img,src:rt.Z.IMG_SERVER+"/images/"+ra.avatar_url}),y.createElement("div",{className:Ln.text,title:ra.creator},ra.creator)),y.createElement("div",{className:Ln.top},y.createElement(dn.Z,{title:ra.name},y.createElement("div",{className:Ln.name},ra.name)),xo&&y.createElement("div",{className:Ln.sign})),y.createElement("div",{className:Ln.middle},y.createElement("div",{className:Ln.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:Ln.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:Ln.value},(ra==null?void 0:ra.visits)||0)),y.createElement("div",null,y.createElement("span",{className:Ln.text},"\u6210\u5458"),y.createElement("span",{className:Ln.value},(ra==null?void 0:ra.course_members_count)||0))),y.createElement("div",{className:Ln.row},y.createElement("div",null,y.createElement("span",{className:Ln.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:Ln.value},(ra==null?void 0:ra.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:Ln.text},"\u72B6\u6001"),ra.is_end?y.createElement("span",{className:Ln.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:Ln.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Tr&&y.createElement("div",{className:Ln.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ra.is_accessible&&y.createElement("div",{className:Ln.lockWrap},y.createElement("img",{src:`${rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!dt.length&&y.createElement(Ve.Z,null)))},En={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},yn=ae(65582),Ta=({dataSource:Pt=[],value:dt,onChange:Ot,className:Fn,style:pa={},tabBarExtraContent:Ma})=>y.createElement("div",{className:Ye()(En.tabs,Fn),style:pa},y.createElement("div",{className:En.tabsWrap},Pt.map((un,Ra)=>y.createElement("aside",{className:En.tab,onClick:()=>{Ot(un.id),un.link&&yn.history.push(un.link)},key:Ra},y.createElement("div",{className:dt===un.id?En.active:""},un.name),(un==null?void 0:un.resetCount)==null&&(un==null?void 0:un.total)!==void 0&&y.createElement("span",null,"\uFF08",un==null?void 0:un.total,"\uFF09"),(un==null?void 0:un.resetCount)!==void 0&&(un==null?void 0:un.total)!==void 0&&y.createElement(dn.Z,{title:(un==null?void 0:un.tip)!=null?un==null?void 0:un.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},un==null?void 0:un.resetCount),"/",y.createElement("span",null,un==null?void 0:un.total),"\uFF09"))))),y.createElement("div",{className:En.tabBar},Ma)),Fa={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Ia=({dataSource:Pt=[],value:dt,onChange:Ot,className:Fn,style:pa={},tabBarExtraContent:Ma})=>y.createElement("div",{className:Ye()(Fa.tabs,Fn),style:pa},y.createElement("div",{className:Fa.tabsWrap},Pt.map((un,Ra)=>y.createElement("aside",{className:Fa.tab,onClick:()=>{Ot(un.id),un.link&&yn.history.push(un.link)},key:Ra},y.createElement("div",{className:dt===un.id?Fa.active:""},un.name),(un==null?void 0:un.resetCount)==null&&(un==null?void 0:un.total)!==void 0&&y.createElement("span",null,"\uFF08",un==null?void 0:un.total,"\uFF09"),(un==null?void 0:un.resetCount)!==void 0&&(un==null?void 0:un.total)!==void 0&&y.createElement(dn.Z,{title:(un==null?void 0:un.tip)!=null?un==null?void 0:un.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},un==null?void 0:un.resetCount),"/",y.createElement("span",null,un==null?void 0:un.total),"\uFF09"))))),y.createElement("div",{className:Fa.tabBar},Ma)),ma={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},_a=({dataSource:Pt=[],value:dt,onChange:Ot,className:Fn,style:pa={},tabBarExtraContent:Ma})=>y.createElement("div",{className:Ye()(ma.tabs,Fn),style:pa},y.createElement("div",{className:ma.tabsWrap},Pt.map((un,Ra)=>y.createElement("aside",{className:`${ma.tab} ${dt===un.id?ma.active:""}`,onClick:()=>{Ot(un.id),un.link&&yn.history.push(un.link)},key:Ra},y.createElement("div",null,un.name),(un==null?void 0:un.resetCount)==null&&(un==null?void 0:un.total)!==void 0&&y.createElement("span",null,"\uFF08",un==null?void 0:un.total,"\uFF09"),(un==null?void 0:un.resetCount)!==void 0&&(un==null?void 0:un.total)!==void 0&&y.createElement(dn.Z,{title:(un==null?void 0:un.tip)!=null?un==null?void 0:un.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},un==null?void 0:un.resetCount),"/",y.createElement("span",null,un==null?void 0:un.total),"\uFF09"))))),y.createElement("div",{className:ma.tabBar},Ma)),Yr=({className:Pt,style:dt={},children:Ot})=>y.createElement("div",{className:Ye()(Pt),style:dt},Ot),jt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},gr=ae(38854),At=ae(20834);const Bt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Qn=({sortValue:Pt,dropValue:dt,className:Ot,onSort:Fn,onDrop:pa,dataSource:Ma=Bt})=>{var un;return y.createElement("div",{className:Ye()(jt.orderWrap,Ot)},y.createElement(gr.Z,{dropdownRender:()=>y.createElement(At.default,null,Ma.map((Ra,sr)=>y.createElement(At.default.Item,{key:sr,onClick:()=>pa(Ra.id)},Ra.name)))},y.createElement("span",{className:jt.orderTextWrap},(un=Ma.find(Ra=>dt===Ra.id))==null?void 0:un.name)),y.createElement("span",{className:jt.orderIconWrap},y.createElement("span",{className:jt.orderAsc},y.createElement("i",{className:Pt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer}`,onClick:()=>Fn(Pt==="asc"?"desc":"asc")})),y.createElement("span",{className:jt.orderDesc},y.createElement("i",{className:Pt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer}`,onClick:()=>Fn(Pt==="asc"?"desc":"asc")}))))},Pa={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const qa=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ca=({sortValue:Pt,dropValue:dt,className:Ot,onSort:Fn,onDrop:pa,dataSource:Ma=qa})=>{var un;return y.createElement("div",{className:Ye()(Pa.orderWrap,Ot)},y.createElement(gr.Z,{dropdownRender:()=>y.createElement(At.default,null,Ma.map((Ra,sr)=>y.createElement(At.default.Item,{key:sr,onClick:()=>pa(Ra.id)},Ra.name)))},y.createElement("span",{className:Pa.orderTextWrap},(un=Ma.find(Ra=>dt===Ra.id))==null?void 0:un.name)),y.createElement("span",{className:Pa.orderIconWrap},y.createElement("span",{className:Pa.orderAsc},y.createElement("i",{className:Pt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Pa.cursorPointer} ${Pa.active}`:`iconfont icon-sanjiaoxing-up font12 ${Pa.cursorPointer}`,onClick:()=>Fn(Pt==="asc"?"desc":"asc")})),y.createElement("span",{className:Pa.orderDesc},y.createElement("i",{className:Pt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Pa.cursorPointer} ${Pa.active}`:`iconfont icon-sanjiaoxing-down font12 ${Pa.cursorPointer}`,onClick:()=>Fn(Pt==="asc"?"desc":"asc")}))))},na={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},wt=ae(3113),pr=ae(2337),Zr=Object.defineProperty,Gr=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,ha=(Pt,dt,Ot)=>dt in Pt?Zr(Pt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Pt[dt]=Ot,la=(Pt,dt)=>{for(var Ot in dt||(dt={}))hr.call(dt,Ot)&&ha(Pt,Ot,dt[Ot]);if(Gr)for(var Ot of Gr(dt))On.call(dt,Ot)&&ha(Pt,Ot,dt[Ot]);return Pt},Xn=(Pt,dt)=>{var Ot={};for(var Fn in Pt)hr.call(Pt,Fn)&&dt.indexOf(Fn)<0&&(Ot[Fn]=Pt[Fn]);if(Pt!=null&&Gr)for(var Fn of Gr(Pt))dt.indexOf(Fn)<0&&On.call(Pt,Fn)&&(Ot[Fn]=Pt[Fn]);return Ot},Sr=(Pt,dt,Ot)=>new Promise((Fn,pa)=>{var Ma=sr=>{try{Ra(Ot.next(sr))}catch(br){pa(br)}},un=sr=>{try{Ra(Ot.throw(sr))}catch(br){pa(br)}},Ra=sr=>sr.done?Fn(sr.value):Promise.resolve(sr.value).then(Ma,un);Ra((Ot=Ot.apply(Pt,dt)).next())}),Mr=Pt=>{var dt=Pt,{className:Ot,style:Fn,children:pa,loading:Ma=!1,openLoading:un,onClick:Ra=()=>{},size:sr="middle",shape:br="round",theme:$a}=dt,ra=Xn(dt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Dr,Tr]=(0,y.useState)(!1),Po=(0,y.useMemo)(()=>{switch($a){case pr.Fy.THEMEONE:return na.ThemeOne;case pr.Fy.DEFAULT:default:return na.btn}},[$a]);return y.createElement(wt.ZP,la({onClick:(0,Ne.throttle)(Fr=>Sr(void 0,null,function*(){un&&Tr(!0);try{yield Ra(Fr)}catch($n){console.log("error",$n)}un&&Tr(!1)}),2e3,{leading:!0,trailing:!1}),className:Ye()(Po,na[`${sr}-${br}`],Ot),style:Fn,size:sr,shape:br,loading:Dr||Ma},ra),pa)},Br={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Eo=({className:Pt,style:dt,children:Ot=null,onClick:Fn,title:pa})=>y.createElement("div",{className:Ye()(Br.head,Pt),style:dt},y.createElement("span",{className:"primary-hover",onClick:Fn},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:pa},pa),y.createElement("div",{className:Br.node},Ot)),po={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Hr=({confirmShow:Pt=!0,confirmTitle:dt,confirmClick:Ot,cancelShow:Fn=!0,cancelTitle:pa,cancelClick:Ma,className:un,style:Ra,confirmLoading:sr=!1})=>y.createElement("div",{className:Ye()(po.btns,un),style:Ra},Pt&&y.createElement(wt.ZP,{loading:sr,onClick:Ot,type:"primary",className:po.confirm},dt),Fn&&y.createElement(wt.ZP,{onClick:Ma,className:po.cancel},pa)),Nr={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},to=({className:Pt,style:dt={},LeftContent:Ot,children:Fn,RightContent:pa})=>y.createElement("div",{className:Ye()(Nr.fixedBottom,Pt),style:dt},y.createElement("div",{className:Nr.wrap},y.createElement("div",{className:Nr.left},Ot),y.createElement("div",{className:Nr.center},Fn),y.createElement("div",{className:Nr.right},pa))),Kr={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Cr=({className:Pt,style:dt={},dataSource:Ot=[]})=>y.createElement("div",{className:Ye()(Kr.crumbs,Pt),style:dt},Ot.map((Fn,pa)=>payn.history.push(Fn.path)},Fn.name):y.createElement("span",null,Fn.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:pa,style:{color:"#5F6368"}},Fn.name))),Vr=ae(31797),Mo=Object.defineProperty,Do=Object.defineProperties,ur=Object.getOwnPropertyDescriptors,Qo=Object.getOwnPropertySymbols,Vo=Object.prototype.hasOwnProperty,Ko=Object.prototype.propertyIsEnumerable,Wr=(Pt,dt,Ot)=>dt in Pt?Mo(Pt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Pt[dt]=Ot,Zo=(Pt,dt)=>{for(var Ot in dt||(dt={}))Vo.call(dt,Ot)&&Wr(Pt,Ot,dt[Ot]);if(Qo)for(var Ot of Qo(dt))Ko.call(dt,Ot)&&Wr(Pt,Ot,dt[Ot]);return Pt},he=(Pt,dt)=>Do(Pt,ur(dt)),Dt=(Pt,dt)=>{var Ot={};for(var Fn in Pt)Vo.call(Pt,Fn)&&dt.indexOf(Fn)<0&&(Ot[Fn]=Pt[Fn]);if(Pt!=null&&Qo)for(var Fn of Qo(Pt))dt.indexOf(Fn)<0&&Ko.call(Pt,Fn)&&(Ot[Fn]=Pt[Fn]);return Ot};const{Countdown:$t}=Vr.default;var Ct=Pt=>{var dt=Pt,{onChange:Ot}=dt,Fn=Dt(dt,["onChange"]);const[pa,Ma]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof pa=="number"&&pa>=0&&Ot(pa)},[pa]);const un=Ra=>{const sr=Math.floor(Ra/1e3);Ma(sr)};return y.createElement($t,he(Zo({},Fn),{onChange:un}))},qn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Pn=({DataProps:Pt,className:dt,style:Ot={}})=>{var Fn;return y.createElement("div",{className:Ye()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",qn.ClassRoomItem,dt),style:Ot,onClick:()=>{(0,Ie.xg)(Pt==null?void 0:Pt.first_category_url)}},y.createElement("div",{className:"flex flex-col item-center"},y.createElement("img",{src:`${(Fn=rt.Z)==null?void 0:Fn.IMG_SERVER}/images/${Pt==null?void 0:Pt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Pt==null?void 0:Pt.subject_identifier)&&y.createElement("div",{className:"mt-40px"},y.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),y.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},y.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Pt!=null&&Pt.is_public)&&y.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),y.createElement("span",{className:Ye()("text-16px font-medium",qn.TitleDom)},Pt==null?void 0:Pt.name)),y.createElement("div",{className:"c-grey-333 font-medium"},Pt==null?void 0:Pt.creator),y.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Pt==null?void 0:Pt.course_members_count),y.createElement("div",{className:"c-grey-333 flex item-center justify-between"},y.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Pt==null?void 0:Pt.tasks_count),Pt!=null&&Pt.is_end?y.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):y.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Tn=Object.defineProperty,ar=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,_t=(Pt,dt,Ot)=>dt in Pt?Tn(Pt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Pt[dt]=Ot,wn=(Pt,dt)=>{for(var Ot in dt||(dt={}))Jn.call(dt,Ot)&&_t(Pt,Ot,dt[Ot]);if(ar)for(var Ot of ar(dt))on.call(dt,Ot)&&_t(Pt,Ot,dt[Ot]);return Pt},wr=({DataProps:Pt=[],selectValue:dt,onChange:Ot,className:Fn,style:pa={},extra:Ma,classNameItem:un,styleItem:Ra={},barHidden:sr})=>{const[br,$a]=(0,y.useState)();return(0,y.useEffect)(()=>{$a(Array.isArray(dt)?dt:[dt])},[dt]),y.createElement("div",{className:Ye()("flex px-20px py-10px gap-40px",Fn),style:wn({borderBottom:"1px solid #D3F0FF"},pa)},Pt==null?void 0:Pt.map(ra=>y.createElement("div",{key:ra==null?void 0:ra.id,className:Ye()("flex item-center justify-center current c-grey-333 text-16 relative",un,ra==null?void 0:ra.className),style:wn(wn({color:br!=null&&br.includes(ra==null?void 0:ra.id)?"#1890FF":"",minWidth:88},Ra),(ra==null?void 0:ra.style)||{}),onClick:Dr=>{Ot==null||Ot({domEvent:Dr,item:ra}),ra!=null&&ra.link&&yn.history.push(ra==null?void 0:ra.link)}},ra==null?void 0:ra.name,!sr&&(br==null?void 0:br.includes(ra==null?void 0:ra.id))&&y.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),y.createElement("div",{className:"ml-auto"},Ma))},no=Object.defineProperty,ho=Object.defineProperties,Go=Object.getOwnPropertyDescriptors,Ho=Object.getOwnPropertySymbols,fl=Object.prototype.hasOwnProperty,Jo=Object.prototype.propertyIsEnumerable,vl=(Pt,dt,Ot)=>dt in Pt?no(Pt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Pt[dt]=Ot,hl=(Pt,dt)=>{for(var Ot in dt||(dt={}))fl.call(dt,Ot)&&vl(Pt,Ot,dt[Ot]);if(Ho)for(var Ot of Ho(dt))Jo.call(dt,Ot)&&vl(Pt,Ot,dt[Ot]);return Pt},ti=(Pt,dt)=>ho(Pt,Go(dt)),cr=({value:Pt,onChange:dt,onInputChange:Ot,className:Fn,style:pa={},InputProps:Ma})=>{const[un,Ra]=(0,y.useState)(Pt);return y.createElement("div",{className:Ye()("flex item-center rounded-full px-10px py-2px",Fn),style:hl({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},pa)},y.createElement(st.default,ti(hl({bordered:!1},Ma),{onChange:sr=>{Ra(sr.target.value),Ot==null||Ot(encodeURIComponent(sr.target.value))},onPressEnter:sr=>{dt==null||dt({domEvent:sr,item:{value:un}})}})),y.createElement("img",{className:"h-22px current",src:ae(25365),height:22,onClick:sr=>{dt==null||dt({domEvent:sr,item:{value:un}})}}))}},31103:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return pe}});var y=ae(59301);function pe(Be,Te){const ke=(0,y.useRef)();(0,y.useEffect)(()=>{ke.current=Be}),(0,y.useEffect)(()=>{function We(){ke.current()}if(Te!==null){let xe=setInterval(We,Te);return()=>clearInterval(xe)}},[Te])}},70868:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Sn}});var y=ae(59301),pe=ae(78241),Be=ae(8591),Te=ae(43418),ke=ae(99313),We=ae(57809),xe=ae(19842),Ye=ae(98228),Ne=ae(92832),we=ae(1710),Me=ae(6848),Ge=ae(58421),Je=ae(3113),ie=ae(38147),E={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},a=ae(3033),x={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"},b=ae(6339),z=ae(65862),te=ae(24334);const oe=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var le=({qitem:Ve})=>{var Ut,be,tt,Jt,nt,vt,Nn,bt,St,Ft;return y.createElement("div",{className:x.warp},y.createElement("div",{className:x.mainPart},y.createElement("div",{className:x.qcount},(Ve==null?void 0:Ve.question_type)===8&&y.createElement(b.Z,{className:x.content,showProgramFill:!0,value:(Ut=Ve==null?void 0:Ve.program_attr)==null?void 0:Ut.description}),(Ve==null?void 0:Ve.question_type)!=8&&y.createElement(b.Z,{className:x.qtitle,value:(Ve==null?void 0:Ve.name)||(Ve==null?void 0:Ve.title)})),((Ve==null?void 0:Ve.question_type)===0||(Ve==null?void 0:Ve.question_type)===2)&&y.createElement("div",null,(be=Ve==null?void 0:Ve.choices)==null?void 0:be.map((it,In)=>y.createElement("div",{className:x.redio},!(it!=null&&it.is_answer)&&y.createElement("span",{className:x.redioitem}),(it==null?void 0:it.is_answer)&&y.createElement("i",{className:`${x.redioitemyes} icon-duigou1`}),y.createElement(b.Z,{className:it!=null&&it.is_answer?x.titleyes:x.title,value:oe[In]+(it==null?void 0:it.choice_text)}),(it==null?void 0:it.is_answer)&&y.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ve==null?void 0:Ve.question_type)===1&&y.createElement("div",null,(tt=Ve==null?void 0:Ve.choices)==null?void 0:tt.map((it,In)=>y.createElement("div",{className:x.checkbox},!(it!=null&&it.is_answer)&&y.createElement("span",{className:x.checkboxitem}),(it==null?void 0:it.is_answer)&&y.createElement("i",{className:`${x.checkboxitemyes} icon-duigou1`}),y.createElement(b.Z,{className:it!=null&&it.is_answer?x.titleyes:x.title,value:oe[In]+(it==null?void 0:it.choice_text)}),(it==null?void 0:it.is_answer)&&y.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ve==null?void 0:Ve.question_type)===3&&y.createElement("div",{className:x.completion},(Jt=Ve==null?void 0:Ve.standard_answer)==null?void 0:Jt.map((it,In)=>{var Yt;return y.createElement("div",{style:{display:"flex"}},y.createElement("span",{className:x.title},"\u586B\u7A7A\u9879",In+1),y.createElement("div",{className:x.content},(Yt=it==null?void 0:it.answer_text)==null?void 0:Yt.map((_n,Ea)=>y.createElement("div",{className:x.items},_n))))})),(Ve==null?void 0:Ve.question_type)===4&&y.createElement("div",{className:x.simple},y.createElement("div",{className:x.title},"\u53C2\u8003\u7B54\u6848"),y.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(nt=Ve==null?void 0:Ve.answer_texts)!=null&&nt[0]?y.createElement(b.Z,{className:x.content,value:(vt=Ve==null?void 0:Ve.answer_texts)==null?void 0:vt[0]}):y.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(Ve==null?void 0:Ve.question_type)===5&&((Nn=Ve==null?void 0:Ve.challenge_names)==null?void 0:Nn.map((it,In)=>y.createElement("div",{className:x.shixun},y.createElement("span",{className:x.qtitle},y.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(In+1),"\u9898"),it)))),(Ve==null?void 0:Ve.question_type)===6&&y.createElement("div",{className:x.simple},y.createElement(b.Z,{className:x.content,value:((bt=Ve==null?void 0:Ve.program_attr)==null?void 0:bt.description)||"- -"})),(Ve==null?void 0:Ve.question_type)===7&&((St=Ve==null?void 0:Ve.sub_item_banks)==null?void 0:St.map((it,In)=>{var Yt,_n,Ea,Wn,sn;return y.createElement("div",null,y.createElement("div",{className:x.combination},y.createElement("span",{className:x.qtitle},it==null?void 0:it.name)),y.createElement("div",{className:x.warp,style:{padding:"0px",paddingTop:20}},y.createElement("div",null,((it==null?void 0:it.item_type)=="SINGLE"||(it==null?void 0:it.item_type)=="JUDGMENT")&&((Yt=it==null?void 0:it.choices)==null?void 0:Yt.map((Hn,Aa)=>y.createElement("div",{className:x.redio},!(Hn!=null&&Hn.is_answer)&&y.createElement("span",{className:x.redioitem}),(Hn==null?void 0:Hn.is_answer)&&y.createElement("i",{className:`${x.redioitemyes} icon-duigou1`}),y.createElement(b.Z,{className:Hn!=null&&Hn.is_answer?x.titleyes:x.title,value:oe[Aa]+(Hn==null?void 0:Hn.choice_text)}),(Hn==null?void 0:Hn.is_answer)&&y.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(it==null?void 0:it.item_type)=="MULTIPLE"&&((_n=it==null?void 0:it.choices)==null?void 0:_n.map((Hn,Aa)=>y.createElement("div",{className:x.checkbox},!(Hn!=null&&Hn.is_answer)&&y.createElement("span",{className:x.checkboxitem}),(Hn==null?void 0:Hn.is_answer)&&y.createElement("i",{className:`${x.checkboxitemyes} icon-duigou1`}),y.createElement(b.Z,{className:Hn!=null&&Hn.is_answer?x.titleyes:x.title,value:oe[Aa]+(Hn==null?void 0:Hn.choice_text)}),(Hn==null?void 0:Hn.is_answer)&&y.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(it==null?void 0:it.item_type)=="COMPLETION"&&y.createElement("div",{className:x.completion},(Ea=it==null?void 0:it.standard_answer)==null?void 0:Ea.map((Hn,Aa)=>{var za;return y.createElement("div",{style:{display:"flex"}},y.createElement("span",{className:x.title},"\u586B\u7A7A\u9879",Aa+1),y.createElement("div",{className:x.content},(za=Hn==null?void 0:Hn.answer_text)==null?void 0:za.map((wa,Ka)=>y.createElement("div",{className:x.items},wa))))})),(it==null?void 0:it.item_type)=="SUBJECTIVE"&&y.createElement("div",{className:x.simple},y.createElement("div",{className:x.title},"\u53C2\u8003\u7B54\u6848"),y.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Wn=it==null?void 0:it.answer_texts)!=null&&Wn[0]?y.createElement(b.Z,{className:x.content,value:(sn=it==null?void 0:it.answer_texts)==null?void 0:sn[0]}):y.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(Ve==null?void 0:Ve.question_type)===8&&y.createElement("div",null,y.createElement(b.Z,{disabledFill:!0,className:x.content,showProgramFill:!0,value:te.Base64.decode(((Ft=Ve==null?void 0:Ve.program_attr)==null?void 0:Ft.code)||"")})),(Ve==null?void 0:Ve.question_type)===5&&y.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},y.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},y.createElement("div",{style:{marginRight:30}},y.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),y.createElement("span",{style:{color:"#000000"}},(Ve==null?void 0:Ve.author_name)||"- -")),y.createElement("div",{style:{marginRight:30}},y.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{style:{color:"#000000"}},(Ve==null?void 0:Ve.author_school_name)||"- -")),y.createElement("div",{style:{marginRight:30}},y.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{style:{color:"#000000"}},(Ve==null?void 0:Ve.study_count)||"0"))),y.createElement("a",{className:x.shixunbutton,href:`/shixuns/${Ve==null?void 0:Ve.identifier}/challenges?exercise=true`,target:"_blank"},y.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((Ve==null?void 0:Ve.question_type)<=4||[6,8].includes(Ve==null?void 0:Ve.question_type))&&y.createElement("div",{className:x.bottom},y.createElement("div",{className:x.bottomitem},y.createElement("span",{className:x.left},"\u89E3\u6790"),y.createElement("span",{className:x.right},Ve!=null&&Ve.analysis?y.createElement(b.Z,{value:Ve==null?void 0:Ve.analysis}):y.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),y.createElement("div",{className:x.bottomitem},y.createElement("span",{className:x.left},"\u96BE\u5EA6"),y.createElement("span",{className:x.right},(Ve==null?void 0:Ve.difficulty)===1?"\u7B80\u5355":(Ve==null?void 0:Ve.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),y.createElement("div",{className:x.bottomitem},y.createElement("span",{className:x.left},"\u77E5\u8BC6\u70B9"),y.createElement("span",{className:x.right},Ve!=null&&Ve.tag_discipline?Ve==null?void 0:Ve.tag_discipline:y.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Ee=ae(64303),Ce=ae(96435),Qe=ae(35479),De=ae(65582),st=ae(61485),Re=ae(90463),Ke=ae(11517),ze=ae(83028),qe=ae(60979),Ae=ae(59301),gt=Object.defineProperty,mt=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,Qt=(Ve,Ut,be)=>Ut in Ve?gt(Ve,Ut,{enumerable:!0,configurable:!0,writable:!0,value:be}):Ve[Ut]=be,rt=(Ve,Ut)=>{for(var be in Ut||(Ut={}))fn.call(Ut,be)&&Qt(Ve,be,Ut[be]);if(Et)for(var be of Et(Ut))dn.call(Ut,be)&&Qt(Ve,be,Ut[be]);return Ve},Ie=(Ve,Ut)=>mt(Ve,xt(Ut)),at=(Ve,Ut,be)=>new Promise((tt,Jt)=>{var nt=bt=>{try{Nn(be.next(bt))}catch(St){Jt(St)}},vt=bt=>{try{Nn(be.throw(bt))}catch(St){Jt(St)}},Nn=bt=>bt.done?tt(bt.value):Promise.resolve(bt.value).then(nt,vt);Nn((be=be.apply(Ve,Ut)).next())});const Tt=({setScoreShow:Ve,ScoreShow:Ut,onOk:be,isshixuns:tt,isloadings:Jt,dispatch:nt,shixunsDetail:vt,exercise:Nn})=>{var bt,St,Ft;let[it,In]=(0,y.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[Yt,_n]=(0,y.useState)([]),[Ea,Wn]=(0,y.useState)([]),[sn,Hn]=(0,y.useState)([]),[Aa,za]=(0,y.useState)([]);const[wa,Ka]=(0,y.useState)(!1),[Za]=pe.default.useForm(),[La,Ja]=(0,y.useState)(),[Sa,hn]=(0,y.useState)(!1);let[ga,Mt]=(0,y.useState)(tt);const[en,ya]=(0,y.useState)([]),[lr,ir]=(0,y.useState)(!0),[nr,Ga]=(0,y.useState)([]),[yr,ia]=(0,y.useState)(0),[Oa,Rr]=(0,y.useState)([]),It=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[vn,ua]=(0,y.useState)({});(0,y.useEffect)(()=>{var At,Bt,fa,Qn,Pa,qa,ka,Ca,na,wt;(((fa=(Bt=(At=Nn==null?void 0:Nn.editData)==null?void 0:At.exercise)==null?void 0:Bt.exist_item_bank_ids)==null?void 0:fa.length)>0||((qa=(Pa=(Qn=Nn==null?void 0:Nn.editData)==null?void 0:Qn.exercise)==null?void 0:Pa.exist_item_bank_shixun_ids)==null?void 0:qa.length)>0)&&Rr([...(Ca=(ka=Nn==null?void 0:Nn.editData)==null?void 0:ka.exercise)==null?void 0:Ca.exist_item_bank_ids,...(wt=(na=Nn==null?void 0:Nn.editData)==null?void 0:na.exercise)==null?void 0:wt.exist_item_bank_shixun_ids])},[(St=(bt=Nn==null?void 0:Nn.editData)==null?void 0:bt.exercise)==null?void 0:St.exist_item_bank_ids]);const Mn=(0,y.useRef)(new Set),Ze=(0,y.useRef)(new Set);let[kt,Nt]=(0,y.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const tn=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],nn=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Kn=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Ln,$e]=(0,y.useState)(!1),ot=()=>{Za.resetFields(),ga=!1,Mt(!1),$e(!1),Za.submit()};(0,y.useEffect)(()=>{yr>0&&setTimeout(()=>{ia(0)},2e3)},[yr]),(0,y.useEffect)(()=>{Ut&&(Za.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),lr&&ga&&(Za.setFieldsValue({item_type:"SHIXUN"}),it.item_type="SHIXUN",In(rt({},it)),ir(!1)),_e(it),yn(),En({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ut]);function _e(At){return at(this,null,function*(){var Bt,fa,Qn;if(Ka(!0),In(At),(sn==null?void 0:sn.length)<=0&&At.type==="5"){za([]),Ka(!1);return}let Pa=At.type==="5"?sn==null?void 0:sn.filter(Ca=>!en.includes(Ca)):null,qa=At.type==="5"?sn==null?void 0:sn.filter(Ca=>en.includes(Ca)):null,ka=yield(0,ie.ZP)("/api/item_banks.json",{method:"get",params:Ie(rt({},At),{discipline_id:((Bt=At==null?void 0:At.courseid)==null?void 0:Bt[0])||null,sub_discipline_id:((fa=At==null?void 0:At.courseid)==null?void 0:fa[1])||null,ids:Pa,shixun_ids:qa,group_id:((Qn=At.group_id)==null?void 0:Qn.map(Ca=>Ca==null?void 0:Ca.value))||null,keyword:At.keyword?encodeURIComponent(At.keyword):At.keyword,include_shixuns:!0,type:At.type==="5"?null:At.type,clazz:At.type==="3"?"ItemBanksGroup":null})});za(ka),Ka(!1)})}function En(At){return at(this,null,function*(){var Bt;let fa=yield(0,ie.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:At}),Qn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Bt=fa==null?void 0:fa.data)==null?void 0:Bt.map(Pa=>({title:Pa.name,id:Pa.id,pid:Pa.id,value:Pa.id,key:Pa.id,isLeaf:!Pa.have_child}))}];Ga(Qn)})}function yn(){return at(this,null,function*(){let At=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:it.type==="5"?null:it.type,clazz:"ItemBanksGroup"}});_n((0,a.L)(At==null?void 0:At.disciplines))})}function Zn(At){return at(this,null,function*(){var Bt,fa,Qn,Pa;Ka(!0);let qa=(Bt=At.list)==null?void 0:Bt.filter(na=>!en.includes(na)),ka=(fa=At.list)==null?void 0:fa.filter(na=>en.includes(na));if(qa.length===0&&ka.length===0){Ka(!1),za([]);return}let Ca=yield(0,ie.ZP)("/api/item_banks.json",{method:"get",params:Ie(rt({},At),{discipline_id:((Qn=At==null?void 0:At.courseid)==null?void 0:Qn[0])||null,sub_discipline_id:((Pa=At==null?void 0:At.courseid)==null?void 0:Pa[1])||null,ids:qa,shixun_ids:ka,type:At.type==="5"?null:At.type,clazz:At.type==="3"?"ItemBanksGroup":null})});Ka(!1),za(Ca)})}const Ta=(0,De.useParams)(),[Fa,sa,Ia,ma]=(0,Qe.P)(),Vt=At=>at(void 0,null,function*(){const Bt=yield nt({type:"shixunsDetail/release",payload:{id:At}});let fa=Bt==null?void 0:Bt.tag_position,Qn=(Bt==null?void 0:Bt.evaluation_set_position)||[],Pa=Bt.status;return Pa===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),_e(it),!0):(Pa===2?Be.ZP.error(`\u7B2C${Qn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Pa===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${fa.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Be.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),_a=At=>(At==null?void 0:At.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",vr=(At,Bt,fa)=>At.map(Qn=>Qn.key===Bt?rt(rt({},Qn),fa):Qn.children?Ie(rt({},Qn),{children:vr(Qn.children,Bt,fa)}):Qn),Yr=At=>at(void 0,null,function*(){const{key:Bt}=At;let fa=it.type;const Qn=yield(0,Ke.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Bt),type:fa}),{data:Pa,total_count:qa}=Qn||{};qa>0&&Ga(ka=>vr(ka,Bt,{children:Pa.map(Ca=>({title:Ca.name,id:Ca.id,pid:Ca.id,value:Ca.id,key:Ca.id,isLeaf:!Ca.have_child}))}))});function jt(At){console.log("----",it),At==="1"&&(kt.gg=rt({},it)),At==="2"&&(kt.scj=rt({},it)),At==="3"&&(kt.ttgx=rt({},it)),At==="0"&&(kt.wcjd=rt({},it)),At==="5"&&(kt.yx=rt({},it)),Nt(rt({},kt))}function gr(){it.type==="1"&&(it=kt.gg),it.type==="2"&&(it=kt.scj),it.type==="3"&&(it=kt.ttgx),it.type==="0"&&(it=kt.wcjd),it.type==="5"&&(it=kt.yx),(it==null?void 0:it.item_type)==="SHIXUN"?(ga=!0,Mt(!0)):(ga=!1,Mt(!1)),Za.setFieldsValue(rt({},it)),In(rt({},it)),_e(rt({},it))}return Ae.createElement("div",null,Ae.createElement(Te.default,{title:!1,footer:!1,open:Ut,width:1200,centered:!0,className:E.scoremodal,onCancel:()=>{Ve(!1)}},Ae.createElement("div",{style:{display:"flex",alignItems:"center"}},Ae.createElement("div",{className:E.title},"\u9898\u5E93\u9009\u9898")),Ae.createElement(ke.default,{className:E.tabWrap,activeKey:it.type,onChange:At=>{At==="3"?(it.show_all_share=!0,En({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):it.show_all_share=null,At==="0"&&En({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),jt(it.type),it.type=At,(it==null?void 0:it.item_type)==="SHIXUN"&&it.type!=="5"&&(ga=!0,Mt(!0)),$e(!1),it.type==="5"&&(ga=!1,Mt(!1)),gr(),yn()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Ae.createElement("div",null,"\u5DF2\u9009",sn.length>0&&Ae.createElement("span",{className:E.titlecount},sn.length),yr>0&&Ae.createElement("span",{className:E.add},"+",yr)),key:"5"}]}),Ae.createElement(pe.default,{layout:"inline",form:Za,onValuesChange:(At,Bt)=>{var fa,Qn;const Pa=Object.values(Bt).some(ka=>ka!==null&&ka!==""&&ka!==void 0),qa=Bt.keyword==="";if($e(Pa||!qa),it.page=1,it.keyword=(Qn=(fa=it.keyword)==null?void 0:fa.replace)==null?void 0:Qn.call(fa,/^\s+|\s+$/g,""),(Bt==null?void 0:Bt.item_type)==="SHIXUN"){if(it.type==="5"?Mt(!1):Mt(!0),At.keyword||At.keyword==="")return;Za.submit()}else{if(At!=null&&At.courseid&&Za.setFieldsValue({tag_discipline_id:""}),Mt(!1),At.keyword||At.keyword==="")return;Za.submit()}},onFinish:At=>{var Bt;it.type==="3"&&(!At.group_id||((Bt=At==null?void 0:At.group_id)==null?void 0:Bt.length)===0)?it.show_all_share=!0:it.show_all_share=null,In(rt(rt({},it),At)),_e(rt(rt({},it),At))}},Ae.createElement(pe.default.Item,{name:"item_type"},Ae.createElement(We.default,{className:E.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},It.map(At=>Ae.createElement(We.default.Option,{key:At.value},At.name)))),Ae.createElement(pe.default.Item,{name:"courseid"},Ae.createElement(xe.Z,{className:E.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Yt})),!ga&&Ae.createElement(pe.default.Item,{name:"tag_discipline_id"},Ae.createElement(We.default,{className:E.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Ft=Aa==null?void 0:Aa.tag_disciplines)==null?void 0:Ft.map(At=>Ae.createElement(We.default.Option,{key:At.id},At.name)))),Ae.createElement(pe.default.Item,{name:ga?"diff":"difficulty"},Ae.createElement(We.default,{className:E.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!ga&&tn.map(At=>Ae.createElement(We.default.Option,{key:At.value},At.name)),ga&&nn.map(At=>Ae.createElement(We.default.Option,{key:At.value},At.name)))),ga&&Ae.createElement(pe.default.Item,{name:"shixun_publish_status"},Ae.createElement(We.default,{className:E.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Kn.map(At=>Ae.createElement(We.default.Option,{key:At.value},At.name)))),(it.type==="3"||it.type==="0")&&!ga&&Ae.createElement(pe.default.Item,{name:"group_id"},Ae.createElement(Ye.default,{treeDataSimpleMode:!0,style:{width:118},className:E.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(At,Bt)=>Bt.title.toUpperCase().indexOf(At.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Yr,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:nr})),Ln&&Ae.createElement("span",{className:E.allqingchu,onClick:ot},Ae.createElement("i",{className:"iconfont icon-guanbi4"}),Ae.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ae.createElement(pe.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ae.createElement(Ne.default.Search,{className:E.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ae.createElement("i",{className:`iconfont icon-sousuo9 font14 ${E.searchIcon}`,onClick:()=>Za.submit()}),onSearch:At=>{Za.submit()}}))),Ae.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ae.createElement("div",{onClick:()=>{it.updated_at==="asc"?it.updated_at="desc":it.updated_at="asc",In(Ie(rt({},it),{page:1})),_e(Ie(rt({},it),{page:1}))}}," ",it.updated_at?Ae.createElement("img",{src:it.updated_at==="asc"?Ee.Z:Ce.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ae.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ae.createElement("div",{onClick:()=>{it.quotes==="asc"?it.quotes="desc":it.quotes="asc",In(Ie(rt({},it),{page:1})),_e(Ie(rt({},it),{page:1}))},style:{marginLeft:20}}," ",it.quotes?Ae.createElement("img",{src:it.quotes==="asc"?Ee.Z:Ce.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ae.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ae.createElement(we.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Aa==null?void 0:Aa.items)||(Aa==null?void 0:Aa.shixun_list),pagination:!1,loading:wa,rowKey:At=>At.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Ea,...Oa],getCheckboxProps:At=>({disabled:At.shixun_tag_num===1||(Oa==null?void 0:Oa.find(Bt=>At.id===Bt))}),onSelect(At,Bt,fa){if(console.log("---",fa,Bt,At),Bt)(ga||At!=null&&At.challenge_names)&&ya([...en,At.id]),Wn([...Ea,At.id]),At.identifier?Mn.current.add(At.id):Ze.current.add(At.id),ia(1),Hn([...sn,At.id]);else{At.identifier?Mn.current.delete(At.id):Ze.current.delete(At.id);let Qn=sn.filter(Pa=>Pa!==At.id);if(Wn(Qn),Hn(Qn),ga||At!=null&&At.challenge_names){let Pa=en.filter(qa=>qa!==At.id);ya([...Pa])}if(it.type==="5"){Zn(Ie(rt({},it),{list:[...Qn]}));return}}},onSelectAll(At,Bt,fa){var Qn,Pa;if(console.log("----",fa),At){const qa=fa.map(Ca=>Ca.id),ka=(Pa=fa==null?void 0:fa.filter(Ca=>Ca==null?void 0:Ca.challenge_names))==null?void 0:Pa.map(Ca=>Ca.id);ya([...en,...ka]),Wn([...Ea,...qa]),Hn([...sn,...qa]);for(const Ca of fa)Ca.identifier?Mn.current.add(Ca.id):Ze.current.add(Ca.id)}else{const qa=fa.map(wt=>wt.id),ka=Ea.filter(wt=>!qa.some(pr=>pr===wt)),Ca=(Qn=fa==null?void 0:fa.filter(wt=>wt==null?void 0:wt.challenge_names))==null?void 0:Qn.map(wt=>wt.id);Wn([...ka]),Hn([...ka]);let na=en.filter(wt=>!Ca.some(pr=>pr===wt.id));ya([...na]),it.type==="5"&&Zn(Ie(rt({},it),{list:[...ka]}));for(const wt of qa)wt.identifier?Mn.current.delete(wt):Ze.current.delete(wt)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(At,Bt,fa)=>{var Qn,Pa;return Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("div",null,ga||Bt!=null&&Bt.challenge_names?"\u5B9E\u8BAD\u9898":(Pa=(Qn=It==null?void 0:It.filter(qa=>qa.value===At))==null?void 0:Qn[0])==null?void 0:Pa.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:ga?"30%":"60%",key:"name",render:(At,Bt,fa)=>{var Qn;return Ae.createElement("div",{style:{display:"flex",alignItems:"center"}},Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("span",null,Ae.createElement(b.Z,{key:1,showLines:1,showTextOnly:!0,value:ga||Bt!=null&&Bt.challenge_names?Bt!=null&&Bt.title||At===null?"--":At:(Bt==null?void 0:Bt.item_type)=="BPROGRAM"?(Qn=Bt==null?void 0:Bt.program_attr)==null?void 0:Qn.description:At}))),(Bt==null?void 0:Bt.high_resources_consume)&&Ae.createElement(Re.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!ga,render:(At,Bt,fa)=>{var Qn;return Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("span",null,At?(Qn=At==null?void 0:At.split("\u3001"))==null?void 0:Qn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!ga,render:(At,Bt,fa)=>Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("span",null,At||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(At,Bt,fa)=>{var Qn,Pa,qa,ka;return Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("div",null,ga||Bt!=null&&Bt.challenge_names?(Bt==null?void 0:Bt.level)||((Pa=(Qn=tn==null?void 0:tn.filter(Ca=>Ca.value===At))==null?void 0:Qn[0])==null?void 0:Pa.name):(ka=(qa=tn==null?void 0:tn.filter(Ca=>Ca.value===At))==null?void 0:qa[0])==null?void 0:ka.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!ga,render:(At,Bt,fa)=>Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("div",null,At||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(At,Bt,fa)=>Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("div",null,ga||Bt!=null&&Bt.challenge_names?(Bt==null?void 0:Bt.study_count)||(Bt==null?void 0:Bt.stu_num):At))},{title:Ae.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ae.createElement(Me.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ae.createElement(st.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!ga,render:(At,Bt,fa)=>Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("div",null,At||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(At,Bt,fa)=>Ae.createElement(Me.Z,{title:_a(Bt)},Ae.createElement("div",{style:{flex:1,textAlign:"start"}},Ae.createElement("a",{onClick:()=>{var Qn,Pa;Ja(Ie(rt({},Bt),{question_type:ga||Bt!=null&&Bt.challenge_names?5:(Pa=(Qn=It==null?void 0:It.filter(qa=>qa.value===(Bt==null?void 0:Bt.item_type)))==null?void 0:Qn[0])==null?void 0:Pa.question_type})),hn(!0)}},"\u67E5\u770B"),(Bt==null?void 0:Bt.shixun_tag_num)===1&&Ae.createElement("a",{style:{marginLeft:10},onClick:()=>{Te.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ae.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ae.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Bt==null?void 0:Bt.identifier}/challenges`)}},(Bt==null?void 0:Bt.shixun_name)||"--"),"\uFF1F"),onOk:()=>at(void 0,null,function*(){if(!Vt(Bt==null?void 0:Bt.identifier))return new Promise((Qn,Pa)=>{Pa()})})})}},"\u53D1\u5E03")))}].filter(At=>!At.hidden)}),Ae.createElement(Ge.Z,{current:it.page,total:(Aa==null?void 0:Aa.items_count)||(Aa==null?void 0:Aa.shixuns_count),style:{marginBottom:20},defaultPageSize:it.per_page,showTotal:At=>Ae.createElement("span",null,"\u5171\xA0",Ae.createElement("span",{style:{color:"#165DFF"}},At),"\xA0\u6761\u6570\u636E"),pageSize:it.per_page,onChange:(At,Bt)=>{it.page=At,it.per_page=Bt,In(rt({},it)),_e(rt({},it))}}),Ae.createElement("div",{className:E.bottom},Ae.createElement(Je.ZP,{className:E.no,onClick:()=>{Ve(!1)}},"\u53D6\u6D88"),Ae.createElement(Je.ZP,{loading:Jt,style:{width:Jt&&75},className:E.yes,onClick:()=>at(void 0,null,function*(){if((sn==null?void 0:sn.length)<=0){Be.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let At=yield(0,qe.Tr)({id:[...sn==null?void 0:sn.filter(Bt=>en.includes(Bt))],course_id:Ta.coursesId,type:"shixun"});(At==null?void 0:At.student_count)===0?be([...Ze.current],[...sn==null?void 0:sn.filter(Bt=>en.includes(Bt))],!0,sn==null?void 0:sn.length):ua(At)})},"\u786E\u8BA4"))),Ae.createElement(Te.default,{open:Sa,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:E.previewModal,width:1e3,centered:!0,onCancel:()=>{hn(!1)},onOk:()=>{hn(!1)}},Ae.createElement(le,{qitem:La})),Ae.createElement(ze.Z,{resdata:vn,type:"exercise",okloading:Jt,oktext:(vn==null?void 0:vn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:At=>at(void 0,null,function*(){const Bt=[],fa=[];for(const Qn of vn==null?void 0:vn.can_copy_list)Bt.push(Qn.id);sa(),yield be([...Ze.current],[...Mn.current].filter(Qn=>!fa.includes(Qn)),!0,sn==null?void 0:sn.length,Bt)})}))};var Sn=(0,De.connect)(({shixunsDetail:Ve,exercise:Ut})=>({shixunsDetail:Ve,exercise:Ut}))(Tt)},44805:function(ut,Gt,ae){"use strict";ae.r(Gt),ae.d(Gt,{default:function(){return Ul}});var y=ae(59301),pe=ae(65582),Be=ae(78241),Te=ae(8591),ke=ae(66104),We=ae(92832),xe=ae(19842),Ye=ae(24905),Ne=ae(5112),we=ae(5871),Me=ae(3113),Ge={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Je=ae(43418),ie=ae(5083),E=ae(56656),a=ae.n(E),x=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())});const b=({user:ce,dispatch:Pe,classroomList:ye,onModalOk:pt,setsubloading:Zt})=>{const Yn=(0,pe.useParams)(),[Cn,qt]=(0,y.useState)(),[ht,rn]=(0,y.useState)(!1);function An(mn){return mn&&mn{rn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:ye.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(ht){Te.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}Zt(!1),Pe({type:"classroomList/setActionTabs",payload:{}})}},y.createElement("div",null,y.createElement("span",null,"\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),y.createElement("br",null),y.createElement(ie.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:An,format:"YYYY-MM-DD HH:mm:ss",onChange:(mn,Lt)=>{qt(Lt)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),y.createElement("br",null),y.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),y.createElement("br",null),y.createElement("div",{style:{textAlign:"end"}},y.createElement(Me.ZP,{loading:ht,type:"primary",onClick:()=>x(void 0,null,function*(){rn(!0),pt(Cn,()=>{Pe({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,pe.connect)(({user:ce,classroomList:Pe})=>({user:ce,classroomList:Pe}))(b),te=ae(38147),oe=ae(32134),ue=ae(12893),le={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},Ee=ae(57809),Ce=Object.defineProperty,Qe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Re=(ce,Pe,ye)=>Pe in ce?Ce(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Ke=(ce,Pe)=>{for(var ye in Pe||(Pe={}))De.call(Pe,ye)&&Re(ce,ye,Pe[ye]);if(Qe)for(var ye of Qe(Pe))st.call(Pe,ye)&&Re(ce,ye,Pe[ye]);return ce},ze=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),Ae=({setitem:ce,item:Pe,rz:ye})=>{var pt,Zt,Yn,Cn,qt,ht,rn,An;let[mn,Lt]=(0,y.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[Xt]=Be.default.useForm(),[Dn,bn]=(0,y.useState)(!1);(0,y.useEffect)(()=>{ye&&!Dn&&(mn.zydatas=ye,Lt(Ke({},mn)),bn(!0),Pe!=null&&Pe.ec_course_id&&Vn())},[Pe,ye,Dn]),console.log(mn,"params");function Vn(){return ze(this,null,function*(){yield xn(Pe==null?void 0:Pe.ec_major_school_id),yield Gn(Pe==null?void 0:Pe.ec_year_id),yield rr(Pe==null?void 0:Pe.ec_course_id),Xt.setFieldsValue({ec_course_id:Pe==null?void 0:Pe.ec_course_id,ec_major_school_id:Pe==null?void 0:Pe.ec_major_school_id,ec_point_ids:Pe==null?void 0:Pe.ec_point_ids,ec_year_id:Pe==null?void 0:Pe.ec_year_id})})}function xn(Bn){return ze(this,null,function*(){const Rt=yield(0,te.ZP)(`/api/ec_major_schools/${Bn}/ec_years/get_year_list.json`,{method:"get"});mn.jbdatas=Rt==null?void 0:Rt.data,Lt(Ke({},mn)),Xt.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function Gn(Bn){return ze(this,null,function*(){const Rt=yield(0,te.ZP)(`/api/ec_years/${Bn}/ec_courses/get_courses.json`,{method:"get"});mn.kcdatas=Rt==null?void 0:Rt.data,Lt(Ke({},mn)),Xt.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const rr=Bn=>ze(void 0,null,function*(){const Rt=yield(0,te.ZP)(`/api/ec_courses/${Bn}/ec_points.json`,{method:"get",params:{ec_course_id:Bn}});mn.zsdatas=Rt==null?void 0:Rt.data,Lt(Ke({},mn))});return y.createElement("div",{className:le.from},y.createElement(Be.default,{form:Xt,layout:"inline",onValuesChange:Bn=>{console.log("----",Bn),Bn.ec_major_school_id&&(mn.jbdatas=[],mn.kcdatas=[],mn.zsdatas=[],Lt(Ke({},mn)),xn(Bn.ec_major_school_id)),Bn.ec_year_id&&(mn.kcdatas=[],mn.zsdatas=[],Lt(Ke({},mn)),Gn(Bn.ec_year_id)),Bn.ec_course_id&&(mn.zsdatas=[],Lt(Ke({},mn)),rr(Bn.ec_course_id))},onFinish:Bn=>ze(void 0,null,function*(){ce(Bn)})},y.createElement(Be.default.Item,{name:"ec_major_school_id"},y.createElement(Ee.default,{style:{width:160},disabled:((pt=mn.zydatas)==null?void 0:pt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(Zt=mn==null?void 0:mn.zydatas)==null?void 0:Zt.map((Bn,Rt)=>y.createElement(Ee.default.Option,{key:Rt,value:Bn==null?void 0:Bn.ec_major_school_id},Bn==null?void 0:Bn.name)))),y.createElement(Be.default.Item,{name:"ec_year_id"},y.createElement(Ee.default,{style:{width:160},disabled:((Yn=mn.jbdatas)==null?void 0:Yn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(Cn=mn==null?void 0:mn.jbdatas)==null?void 0:Cn.map((Bn,Rt)=>y.createElement(Ee.default.Option,{key:Rt,value:Bn==null?void 0:Bn.ec_year_id},Bn==null?void 0:Bn.year)))),y.createElement(Be.default.Item,{name:"ec_course_id"},y.createElement(Ee.default,{style:{width:208},disabled:((qt=mn.kcdatas)==null?void 0:qt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(ht=mn==null?void 0:mn.kcdatas)==null?void 0:ht.map((Bn,Rt)=>y.createElement(Ee.default.Option,{key:Rt,value:Bn==null?void 0:Bn.id},Bn==null?void 0:Bn.name)))),y.createElement(Be.default.Item,{name:"ec_point_ids"},y.createElement(Ee.default,{onChange:()=>{Xt.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((rn=mn.zsdatas)==null?void 0:rn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(An=mn==null?void 0:mn.zsdatas)==null?void 0:An.map((Bn,Rt)=>y.createElement(Ee.default.Option,{key:Rt,value:Bn==null?void 0:Bn.id},Bn==null?void 0:Bn.name))))))},gt=Object.defineProperty,mt=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,Qt=(ce,Pe,ye)=>Pe in ce?gt(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,rt=(ce,Pe)=>{for(var ye in Pe||(Pe={}))fn.call(Pe,ye)&&Qt(ce,ye,Pe[ye]);if(Et)for(var ye of Et(Pe))dn.call(Pe,ye)&&Qt(ce,ye,Pe[ye]);return ce},Ie=(ce,Pe)=>mt(ce,xt(Pe)),at=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())});const Tt=({user:ce,exercise_id:Pe=null,homework_common_id:ye=null,setitem:pt})=>{var Zt,Yn,Cn;let[qt,ht]=(0,y.useState)([{id:Math.random()}]),[rn,An]=(0,y.useState)(null);function mn(){return at(this,null,function*(){var Xt,Dn,bn,Vn;let xn=yield(0,te.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:Pe,homework_common_id:ye}});if(((Xt=xn==null?void 0:xn.data)==null?void 0:Xt.length)>0){let Gn=[];(Dn=xn==null?void 0:xn.data)==null||Dn.map(rr=>{var Bn;(Bn=rr==null?void 0:rr.ec_point_ids)==null||Bn.map(Rt=>{Gn.push(Rt)})}),pt(Ie(rt({},(bn=xn==null?void 0:xn.data)==null?void 0:bn[0]),{ec_point_ids:Gn})),ht((Vn=xn==null?void 0:xn.data)==null?void 0:Vn.map(rr=>Ie(rt({},rr),{id:Math.random()})))}})}(0,y.useEffect)(()=>{var Xt,Dn;(Dn=(Xt=ce==null?void 0:ce.userInfo)==null?void 0:Xt.course)!=null&&Dn.course_school_id&&Lt()},[(Yn=(Zt=ce==null?void 0:ce.userInfo)==null?void 0:Zt.course)==null?void 0:Yn.course_school_id]);function Lt(){return at(this,null,function*(){var Xt,Dn;const bn=yield(0,te.ZP)(`/api/schools/${(Dn=(Xt=ce==null?void 0:ce.userInfo)==null?void 0:Xt.course)==null?void 0:Dn.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});An(bn==null?void 0:bn.data),(ye||Pe)&&mn()})}return console.log(qt,rn,"datas"),y.createElement("div",{style:{display:(Cn=ce.userInfo.course)!=null&&Cn.is_openengineering?"":"none"}},y.createElement("div",{className:le.wrap},y.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",y.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),y.createElement("div",{className:le.itemWarp},qt==null?void 0:qt.map((Xt,Dn)=>y.createElement("div",{key:Xt.id,style:{display:"flex",alignItems:"center",marginBottom:20}},y.createElement(Ae,{rz:rn,item:Xt,setitem:bn=>{bn=rt(rt({},qt==null?void 0:qt[Dn]),bn),qt.splice(Dn,1,bn),ht([...qt]);let Vn=[];qt==null||qt.map(xn=>{var Gn;(Gn=xn==null?void 0:xn.ec_point_ids)==null||Gn.map(rr=>{Vn.push(rr)})}),pt(Ie(rt({},bn),{ec_point_ids:Vn}))}}),y.createElement(oe.Z,{className:le.addIcon,onClick:()=>{qt.push({id:Math.random()}),ht([...qt])}}),Dn!=0&&y.createElement(ue.Z,{className:le.deleteIcon,onClick:()=>{qt.splice(Dn,1);let bn=[];qt==null||qt.map(Vn=>{var xn;(xn=Vn==null?void 0:Vn.ec_point_ids)==null||xn.map(Gn=>{bn.push(Gn)})}),pt(Ie(rt({},qt[Dn-1]),{ec_point_ids:bn})),ht([...qt])}}))))))};var Sn=(0,pe.connect)(({user:ce})=>({user:ce}))(Tt),Ve=ae(20834),Ut=ae(71418),be=ae(38854),tt=ae(6848),Jt=ae(43428),nt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},vt=ae(65862),Nn=ae(2524),bt=ae(38821),St=ae(22061),Ft=ae(6339),it=ae(59301),In=Object.defineProperty,Yt=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,Ea=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,Hn=(ce,Pe,ye)=>Pe in ce?In(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Aa=(ce,Pe)=>{for(var ye in Pe||(Pe={}))Wn.call(Pe,ye)&&Hn(ce,ye,Pe[ye]);if(Ea)for(var ye of Ea(Pe))sn.call(Pe,ye)&&Hn(ce,ye,Pe[ye]);return ce},za=(ce,Pe)=>Yt(ce,_n(Pe)),wa=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),Za=({Itemid:ce,setqitem:Pe,qitem:ye,data:pt,getdata:Zt,bigitem:Yn,setBigqitem:Cn,isedit:qt,handleEditing:ht})=>{const[rn,An]=(0,y.useState)([]),[mn,Lt]=(0,y.useState)(!1),Xt=(bn,Vn,xn)=>{const Gn=Array.from(bn),[rr]=Gn.splice(Vn,1);return Gn.splice(xn,0,rr),Gn};(0,y.useEffect)(()=>{pt.length>0&&An([...pt])},[pt]);const Dn=(bn,Vn)=>wa(void 0,null,function*(){if(!bn.destination)return;if(qt){ht();return}const xn=Xt(Vn,bn.source.index,bn.destination.index);Lt(!0);let Gn=yield(0,te.ZP)(`/api/exercises/${ce}/adjust_position.json`,{method:"post",body:{id:ce,question_ids:xn==null?void 0:xn.map(rr=>rr.question_id)}});Lt(!1),Gn.status===0&&Zt({id:Vn==null?void 0:Vn[bn.source.index].question_id})});return it.createElement("div",null,it.createElement(St.Z5,{onDragEnd:bn=>Dn(bn,rn)},it.createElement(St.bK,{droppableId:"droppable"},(bn,Vn)=>it.createElement("div",Aa({ref:bn.innerRef},bn.droppableProps),it.createElement(Ut.Z,{spinning:mn},rn.map((xn,Gn)=>it.createElement(St._l,{key:Gn,draggableId:Gn.toString(),index:Gn},(rr,Bn)=>{var Rt,Un;return it.createElement("aside",Aa(Aa({ref:rr.innerRef},rr.draggableProps),rr.dragHandleProps),it.createElement(tt.Z,{title:it.createElement(Ft.Z,{value:(xn==null?void 0:xn.question_type)===8?(Rt=xn==null?void 0:xn.program_attr)==null?void 0:Rt.description:xn.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},it.createElement("div",{onClick:()=>{if(qt){ht();return}Pe(za(Aa({},xn),{index:Gn+1})),Cn(Yn),(0,vt.Vf)("#question-scroll-id")},className:`${nt.qcount} ${xn.question_id===(ye==null?void 0:ye.question_id)?nt.qcountclick:""}`},it.createElement("span",{className:nt.score},xn==null?void 0:xn.question_score,"\u5206"),it.createElement("span",{className:nt.qtitle},Gn+1,"\u3001",it.createElement(Ft.Z,{value:(xn==null?void 0:xn.question_type)===8?(Un=xn==null?void 0:xn.program_attr)==null?void 0:Un.description:xn.question_title,showTextOnly:!0})))))}))),bn.placeholder))))},La=ae(95237),Ja=ae(85500),Sa=ae(78673),hn=ae(61485),ga=ae(23340),Mt=ae(59301),en=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),lr=({form:ce,TagDiscipline:Pe,exerciseitem:ye,qitem:pt,getTagData:Zt})=>{var Yn;const[Cn,qt]=(0,y.useState)(!0),[ht,rn]=(0,y.useState)(!1),[An,mn]=(0,y.useState)(""),[Lt,Xt]=(0,y.useState)([]),[Dn,bn]=(0,y.useState)([]),[Vn,xn]=(0,y.useState)(0);(0,y.useEffect)(()=>{rr()},[]);const Gn=Bn=>en(void 0,null,function*(){const Rt=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Bn==null?void 0:Bn.sub_discipline_id}});bn(Rt==null?void 0:Rt.tag_disciplines)}),rr=()=>en(void 0,null,function*(){const Bn=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Xt(Bn.disciplines||[]),pt!=null&&pt.sub_discipline_id&&Gn(pt),xn(pt!=null&&pt.sub_discipline_id?1:0),ce.setFieldsValue({difficulty:pt.difficulty||2,tag_discipline_ids:pt.tag_discipline_ids,repeat_answer:!pt.repeat_answer,sub_discipline_id:pt!=null&&pt.sub_discipline_id?[pt==null?void 0:pt.discipline_id,pt==null?void 0:pt.sub_discipline_id]:[]})});return Mt.createElement("div",null,Mt.createElement("div",{style:{marginTop:30,height:Cn?"100%":"0px",overflow:"hidden"}},Mt.createElement(Be.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Mt.createElement(Ne.ZP.Group,{className:nt.radiogroup},Mt.createElement(Ne.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),Mt.createElement(Ne.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),Mt.createElement(Ne.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),Mt.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},Mt.createElement(xe.Z,{className:nt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Lt,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Bn,Rt)=>{ce.setFieldsValue({sub_discipline_id:Bn,tag_discipline_ids:[]}),xn(Bn?Bn.length:0),(Bn==null?void 0:Bn.length)>0&&(Gn({sub_discipline_id:Bn[1]}),Bn[1]==(pt==null?void 0:pt.sub_discipline_id)&&ce.setFieldValue("tag_discipline_ids",pt.tag_discipline_ids))},onClear:()=>{bn([]),ce.setFieldValue("tag_discipline_ids",[]),xn(0)}})),Mt.createElement(Be.default.Item,{className:nt.formcenterselect},Mt.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Mt.createElement(Be.default.Item,{name:"tag_discipline_ids"},Mt.createElement(Ee.default,{className:nt.selectitems,disabled:Vn===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Bn,Rt)=>Rt.key.indexOf(Bn.toLowerCase())>=0},Dn==null?void 0:Dn.map(Bn=>Mt.createElement(Ee.default.Option,{key:Bn.name+Bn.id,value:Bn.id},Mt.createElement("div",{style:{display:"flex",alignItems:"center"}},Mt.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Bn.name),(Bn==null?void 0:Bn.type)==="personal"&&Mt.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),Vn>0&&Mt.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Mt.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Mt.createElement("a",{onClick:()=>{rn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Mt.createElement(Be.default.Item,{className:nt.formcenterselect},Mt.createElement("div",{style:{display:"flex",alignItems:"center"}},Mt.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},Mt.createElement(Sa.Z,null)),Mt.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Mt.createElement(tt.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},Mt.createElement(hn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Mt.createElement(ga.Z,{open:ht,subDisciplineId:(Yn=ce.getFieldValue("sub_discipline_id"))==null?void 0:Yn[1],onCancel:()=>{rn(!1)},onOkClick:Bn=>{bn(Rt=>[...Rt,Bn]),ce.setFieldValue("tag_discipline_ids",[...ce.getFieldValue("tag_discipline_ids"),Bn==null?void 0:Bn.id])}}))},ir=ae(59301),nr=Object.defineProperty,Ga=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,ia=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,It=(ce,Pe,ye)=>Pe in ce?nr(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,vn=(ce,Pe)=>{for(var ye in Pe||(Pe={}))Oa.call(Pe,ye)&&It(ce,ye,Pe[ye]);if(ia)for(var ye of ia(Pe))Rr.call(Pe,ye)&&It(ce,ye,Pe[ye]);return ce},ua=(ce,Pe)=>Ga(ce,yr(Pe)),Mn=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),kt=({qitem:ce,setisedit:Pe,TagDiscipline:ye,exerciseitem:pt,seveeditor:Zt,deleteitem:Yn,getTagData:Cn,init:qt,showTip:ht=!1})=>{var rn;const[An]=Be.default.useForm();(0,y.useEffect)(()=>{var Lt;An.setFieldsValue(ua(vn({},ce),{name:ce==null?void 0:ce.question_title,choices:(Lt=ce==null?void 0:ce.question_choices)==null?void 0:Lt.map(Xt=>ua(vn({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)}))},[ce]);const mn=Lt=>{if(!(Lt!=null&&Lt.length))return!1;const Xt=Lt.map(bn=>{var Vn;return(Vn=bn.choice_text)==null?void 0:Vn.trim().replace(/^\s+|\s+$/g,"")});return new Set(Xt).size!==Xt.length};return ir.createElement("div",null,ir.createElement(Be.default,{form:An,colon:!1,onFinish:Lt=>{var Xt,Dn,bn,Vn,xn;if(mn(Lt.choices)){Te.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let Gn=(Dn=(Xt=Lt==null?void 0:Lt.choices)==null?void 0:Xt.map)==null?void 0:Dn.call(Xt,(Bn,Rt)=>{if((Bn==null?void 0:Bn.standard_boolean)===1)return Rt+1}),rr=ua(vn({},Lt),{item_type:ce==null?void 0:ce.question_type,question_choices:(Vn=(bn=Lt==null?void 0:Lt.choices)==null?void 0:bn.map)==null?void 0:Vn.call(bn,Bn=>Bn.choice_text),standard_answers:Gn.filter(Bn=>Bn),choices:(xn=Lt==null?void 0:Lt.choices)==null?void 0:xn.map(Bn=>ua(vn({},Bn),{is_answer:Bn.standard_boolean}))});Zt(vn(vn({},ce),rr))},onFinishFailed:Lt=>Mn(void 0,null,function*(){var Xt,Dn;Te.ZP.error(Lt.errorFields[0].errors[0]),An.scrollToField((Dn=(Xt=Lt==null?void 0:Lt.errorFields)==null?void 0:Xt[0])==null?void 0:Dn.name,{behavior:"smooth",block:"center"})})},ir.createElement("div",{style:{display:"flex",alignItems:"center"}},ir.createElement("div",{style:{flex:1}},ir.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ir.createElement("span",null,(ce==null?void 0:ce.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((rn=pt==null?void 0:pt.exercise)==null?void 0:rn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&ir.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Yn()}},ir.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ir.createElement(Me.ZP,{onClick:()=>{var Lt;ce.isadd?(Pe(!1),qt()):(An.setFieldsValue(ua(vn({},ce),{name:ce==null?void 0:ce.question_title,choices:(Lt=ce==null?void 0:ce.question_choices)==null?void 0:Lt.map(Xt=>ua(vn({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),Pe(!1))}},"\u53D6\u6D88"),ir.createElement(tt.Z,{overlayClassName:nt.shake,open:ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ir.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ir.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},ir.createElement(Me.ZP,{type:"primary",className:"ml20",onClick:()=>Mn(void 0,null,function*(){An.submit()})},"\u4FDD\u5B58"))),ir.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ir.createElement(La.Z,{align:"middle"},ir.createElement(Be.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},ir.createElement(we.Z,{onBlur:Lt=>{Lt.target.value==="0"&&Te.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),ir.createElement(Ja.u,{form:An,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),ir.createElement(lr,{getTagData:Cn,qitem:ce,exerciseitem:pt,TagDiscipline:ye,form:An}))))},Nt=ae(78909),tn=ae(94637),nn=ae(59301),Kn=Object.defineProperty,Ln=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,yn=(ce,Pe,ye)=>Pe in ce?Kn(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Zn=(ce,Pe)=>{for(var ye in Pe||(Pe={}))_e.call(Pe,ye)&&yn(ce,ye,Pe[ye]);if(ot)for(var ye of ot(Pe))En.call(Pe,ye)&&yn(ce,ye,Pe[ye]);return ce},Ta=(ce,Pe)=>Ln(ce,$e(Pe)),Fa=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),Ia=({qitem:ce,TagDiscipline:Pe,exerciseitem:ye,setisedit:pt,seveeditor:Zt,deleteitem:Yn,getTagData:Cn,init:qt,showTip:ht=!1})=>{var rn;const[An]=Be.default.useForm(),mn=Be.default.useWatch("use_blank_score",An);return(0,y.useEffect)(()=>{An.setFieldsValue(Ta(Zn({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer}))},[ce]),nn.createElement("div",null,nn.createElement(Be.default,{form:An,colon:!1,onValuesChange:(Lt,Xt)=>{var Dn,bn,Vn,xn;if(Lt!=null&&Lt.standard_answers||Lt!=null&&Lt.use_blank_score){let Gn=((Dn=An.getFieldValue("standard_answers"))==null?void 0:Dn.length)>0&&((Vn=(bn=An.getFieldValue("standard_answers"))==null?void 0:bn.map(rr=>rr.score))==null?void 0:Vn.filter(rr=>rr));(Gn==null?void 0:Gn.length)>0&&An.setFieldsValue({question_score:(Gn==null?void 0:Gn.length)>0&&((xn=Gn.reduce((rr,Bn)=>rr+Bn))==null?void 0:xn.toFixed(1))})}},onFinish:Lt=>{Zt(Ta(Zn(Zn({},ce),Lt),{item_type:ce==null?void 0:ce.question_type,standard_answers:Lt.standard_answers,question_title:Lt.name}))},onFinishFailed:Lt=>Fa(void 0,null,function*(){var Xt,Dn;Lt.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,vt.pE)(),Te.ZP.error(Lt.errorFields[0].errors[0]),An.scrollToField((Dn=(Xt=Lt==null?void 0:Lt.errorFields)==null?void 0:Xt[0])==null?void 0:Dn.name,{behavior:"smooth",block:"center"})})},nn.createElement("div",{style:{display:"flex",alignItems:"center"}},nn.createElement("div",{style:{flex:1}},nn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),nn.createElement("span",null,"\u586B\u7A7A\u9898")),((rn=ye==null?void 0:ye.exercise)==null?void 0:rn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&nn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Yn()}},nn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),nn.createElement(Me.ZP,{onClick:()=>{ce.isadd?(pt(!1),qt()):(An.setFieldsValue(Ta(Zn({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer})),pt(!1))}},"\u53D6\u6D88"),nn.createElement(tt.Z,{overlayClassName:nt.shake,open:ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:nn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},nn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},nn.createElement(Me.ZP,{type:"primary",className:"ml20",onClick:()=>{An.submit()}},"\u4FDD\u5B58"))),nn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},nn.createElement(La.Z,{align:"middle"},mn?nn.createElement(tn.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):nn.createElement(Be.default.Item,{key:2,className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},nn.createElement(we.Z,{onBlur:Lt=>{Lt.target.value==="0"&&Te.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),nn.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},nn.createElement(Ne.ZP.Group,{className:nt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),nn.createElement(tt.Z,{overlayInnerStyle:{width:460},title:nn.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",nn.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},nn.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),nn.createElement(Nt.u,{form:An,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:mn,answerKey:"standard_answers"}),nn.createElement(lr,{getTagData:Cn,qitem:ce,exerciseitem:ye,TagDiscipline:Pe,form:An}))))},ma=ae(27277),Vt=ae(59301),_a=Object.defineProperty,vr=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Bt=(ce,Pe,ye)=>Pe in ce?_a(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,fa=(ce,Pe)=>{for(var ye in Pe||(Pe={}))gr.call(Pe,ye)&&Bt(ce,ye,Pe[ye]);if(jt)for(var ye of jt(Pe))At.call(Pe,ye)&&Bt(ce,ye,Pe[ye]);return ce},Qn=(ce,Pe)=>vr(ce,Yr(Pe)),Pa=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),ka=({qitem:ce,setisedit:Pe,TagDiscipline:ye,exerciseitem:pt,seveeditor:Zt,deleteitem:Yn,getTagData:Cn,init:qt,showTip:ht=!1})=>{var rn;const[An]=Be.default.useForm();return(0,y.useEffect)(()=>{var mn;An.setFieldsValue(Qn(fa({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(Lt=>Qn(fa({},Lt),{is_answer:Lt!=null&&Lt.standard_boolean?1:0}))}))},[ce]),Vt.createElement("div",null,Vt.createElement(Be.default,{form:An,colon:!1,onFinish:mn=>{var Lt,Xt,Dn,bn;let Vn=(Xt=(Lt=mn==null?void 0:mn.choices)==null?void 0:Lt.map)==null?void 0:Xt.call(Lt,(xn,Gn)=>{if((xn==null?void 0:xn.is_answer)===1)return Gn+1});Zt(Qn(fa(fa({},ce),mn),{question_title:mn.name,standard_answers:Vn.filter(xn=>xn),question_choices:(bn=(Dn=mn==null?void 0:mn.choices)==null?void 0:Dn.map)==null?void 0:bn.call(Dn,xn=>xn.choice_text)}))},onFinishFailed:mn=>Pa(void 0,null,function*(){var Lt,Xt;Te.ZP.error(mn.errorFields[0].errors[0]),An.scrollToField((Xt=(Lt=mn==null?void 0:mn.errorFields)==null?void 0:Lt[0])==null?void 0:Xt.name,{behavior:"smooth",block:"center"})})},Vt.createElement("div",{style:{display:"flex",alignItems:"center"}},Vt.createElement("div",{style:{flex:1}},Vt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Vt.createElement("span",null,"\u5224\u65AD\u9898")),((rn=pt==null?void 0:pt.exercise)==null?void 0:rn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Vt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Yn()}},Vt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Vt.createElement(Me.ZP,{onClick:()=>{var mn;ce.isadd?(Pe(!1),qt()):(An.setFieldsValue(Qn(fa({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(Lt=>Qn(fa({},Lt),{is_answer:Lt!=null&&Lt.standard_boolean?1:0}))})),Pe(!1))}},"\u53D6\u6D88"),Vt.createElement(tt.Z,{overlayClassName:nt.shake,open:ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Vt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Vt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Vt.createElement(Me.ZP,{type:"primary",className:"ml20",onClick:()=>{An.submit()}},"\u4FDD\u5B58"))),Vt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Vt.createElement(Be.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Vt.createElement(we.Z,{onBlur:mn=>{mn.target.value==="0"&&Te.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Vt.createElement(ma.Z,{form:An,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Vt.createElement(lr,{getTagData:Cn,qitem:ce,exerciseitem:pt,TagDiscipline:ye,form:An}))))},Ca=ae(36381),na={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},wt=ae(96565),pr=Object.defineProperty,Zr=Object.defineProperties,Gr=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,la=(ce,Pe,ye)=>Pe in ce?pr(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Xn=(ce,Pe)=>{for(var ye in Pe||(Pe={}))On.call(Pe,ye)&&la(ce,ye,Pe[ye]);if(hr)for(var ye of hr(Pe))ha.call(Pe,ye)&&la(ce,ye,Pe[ye]);return ce},Sr=(ce,Pe)=>Zr(ce,Gr(Pe)),xr=(ce,Pe)=>{var ye={};for(var pt in ce)On.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&hr)for(var pt of hr(ce))Pe.indexOf(pt)<0&&ha.call(ce,pt)&&(ye[pt]=ce[pt]);return ye};const Mr=ce=>{var Pe=ce,{value:ye,onChange:pt,scrollId:Zt}=Pe,Yn=xr(Pe,["value","onChange","scrollId"]);return y.createElement("div",{id:Zt||""},y.createElement(wt.Z,Sr(Xn({},Yn),{defaultValue:ye,onChange:(Cn,qt)=>{console.log("a:",Cn,qt),qt!=null&&qt.length?pt(Cn,qt):pt(Cn)}})))},Br=({value:ce,onChange:Pe,placeholder:ye,height:pt=140,isEdit:Zt})=>Zt?y.createElement(wt.Z,{watch:!0,isFocus:!0,height:pt,placeholder:ye,defaultValue:ce,onChange:Pe}):y.createElement("div",{style:{cursor:"pointer"}},ce?y.createElement(Ft.Z,{className:na.inputBorder,value:ce}):y.createElement("div",{className:`${na.inputBorder} ${na.placeholder}`},ye));var dr=ae(43604),Eo=Object.defineProperty,po=Object.defineProperties,tl=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,to=(ce,Pe,ye)=>Pe in ce?Eo(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Kr=(ce,Pe)=>{for(var ye in Pe||(Pe={}))Nr.call(Pe,ye)&&to(ce,ye,Pe[ye]);if(Hr)for(var ye of Hr(Pe))uo.call(Pe,ye)&&to(ce,ye,Pe[ye]);return ce},So=(ce,Pe)=>po(ce,tl(Pe)),Cr=(ce,Pe)=>{var ye={};for(var pt in ce)Nr.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&Hr)for(var pt of Hr(ce))Pe.indexOf(pt)<0&&uo.call(ce,pt)&&(ye[pt]=ce[pt]);return ye};const Vr=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Mo=({value:ce,onChange:Pe,choiceTextKey:ye,answerKey:pt,index:Zt,isEdit:Yn,setInputActive:Cn,form:qt,choiceOptionsPath:ht,allowChangeMode:rn,showAddIcon:An,addItem:mn,deleteItem:Lt})=>{const Xt=(ce==null?void 0:ce[pt])===1,Dn=()=>{const Vn=qt.getFieldValue(ht);qt.setFieldValue(ht,Vn.map(xn=>So(Kr({},xn),{[pt]:0})))},bn=()=>{Xt?Pe(So(Kr({},ce),{[pt]:0})):(rn||Dn(),Pe(So(Kr({},ce),{[pt]:1})))};return y.createElement(La.Z,{className:na.choiceWrap,align:"middle",wrap:!1},y.createElement(dr.Z,{onClick:bn,className:`${na.choiceIndex} ${Xt?na.activeAnswer:""}`},Vr[Zt]),y.createElement(dr.Z,{flex:1,className:`${na.editorWrap} ml15`,onClick:Cn},y.createElement(Br,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Yn,value:ce==null?void 0:ce[ye],onChange:Vn=>{Pe(So(Kr({},ce),{[ye]:Vn}))}})),y.createElement(dr.Z,{flex:"0 0 auto",className:"ml15"},y.createElement("div",{onClick:bn,className:`${na.setAnswerBtn} ${Xt?na.activeAnswer:""}`},Xt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),y.createElement(dr.Z,{className:na.actionWrapper},y.createElement(tt.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},y.createElement(oe.Z,{className:na.addIcon,onClick:mn,style:{visibility:An?"visible":"hidden"}})),y.createElement(tt.Z,{title:"\u5220\u9664"},y.createElement(ue.Z,{className:na.deleteIcon,onClick:Lt,style:{visibility:Zt>1?"visible":"hidden"}}))))},Do=({questionTitlePlaceholder:ce,titleKey:Pe,choiceKey:ye,analysisKey:pt,choiceTextKey:Zt,answerKey:Yn,choiceOptionsPath:Cn,allowChangeMode:qt=!0,form:ht,showAnalysis:rn=!0})=>{const[An,mn]=(0,y.useState)(),[Lt,Xt]=(0,y.useState)(!1);return y.createElement("div",{className:na.wrap},y.createElement("div",{className:na.questionTitleEditorWrap},y.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Pe,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Mr,{scrollId:Array.isArray(Pe)?Pe.join("_"):`${Pe}`,watch:!0,height:140,placeholder:ce}))),y.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),y.createElement(Be.default.List,{name:ye,rules:[{validator(Dn,bn){const Vn=bn.some(Gn=>Gn[Yn]===1),xn=bn.findIndex(Gn=>{var rr;return((rr=Gn[Zt])==null?void 0:rr.length)<=0});return xn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Vr[xn]}\u9009\u9879\u7684\u5185\u5BB9`)):Vn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Dn,{add:bn,remove:Vn})=>y.createElement("div",{id:Array.isArray(Cn)?Cn.join("_"):`${Cn}`},Dn.map((xn,Gn)=>{var rr=xn,{key:Bn,name:Rt}=rr,Un=Cr(rr,["key","name"]);const Ya=An===Bn,ja=()=>{mn(Bn)},ao=Gn<7&&Gn===Dn.length-1,va=()=>bn({[Zt]:"",[Yn]:0}),Ur=()=>Vn(Rt);return y.createElement(Be.default.Item,So(Kr({},Un),{key:Bn,name:Rt,noStyle:!0}),y.createElement(Mo,{choiceTextKey:Zt,answerKey:Yn,index:Gn,isEdit:Ya,setInputActive:ja,form:ht,choiceOptionsPath:Cn,allowChangeMode:qt,showAddIcon:ao,addItem:va,deleteItem:Ur}))}),Dn.length<8&&y.createElement("div",{className:`${na.addBtn} mb30`,onClick:()=>bn({[Zt]:"",[Yn]:0})},"\u6DFB\u52A0\u9009\u9879"))),rn&&y.createElement("div",{onClick:()=>Xt(!0)},y.createElement(Be.default.Item,{name:pt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Lt}))))};var ur=ae(59301),Qo=Object.defineProperty,Vo=Object.defineProperties,Ko=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,Zo=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Dt=(ce,Pe,ye)=>Pe in ce?Qo(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,$t=(ce,Pe)=>{for(var ye in Pe||(Pe={}))Zo.call(Pe,ye)&&Dt(ce,ye,Pe[ye]);if(Wr)for(var ye of Wr(Pe))he.call(Pe,ye)&&Dt(ce,ye,Pe[ye]);return ce},pn=(ce,Pe)=>Vo(ce,Ko(Pe)),Ct=(ce,Pe)=>{var ye={};for(var pt in ce)Zo.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&Wr)for(var pt of Wr(ce))Pe.indexOf(pt)<0&&he.call(ce,pt)&&(ye[pt]=ce[pt]);return ye};const qn=({value:ce,onChange:Pe})=>{const ye=Zt=>{Je.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:na.modal,onOk:()=>{const Yn=[...ce];Yn.splice(Zt,1),Pe(Yn)}})},pt=()=>{const Zt=[...ce];Zt.push(""),Pe(Zt)};return ur.createElement(La.Z,{className:"ml20"},ur.createElement(dr.Z,{flex:1},ce==null?void 0:ce.map((Zt,Yn)=>ur.createElement(La.Z,{key:`${Zt}_${Yn}`,align:"middle",className:"mb20"},ur.createElement(We.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Zt,autoSize:{maxRows:3},maxLength:1e3,onBlur:Cn=>{const qt=[...ce],ht=Cn.target.value.trim();qt[Yn]=ht,Pe(qt)}}),ur.createElement(tt.Z,{title:"\u5220\u9664"},ur.createElement(ue.Z,{className:na.deleteIcon,style:{marginLeft:15,visibility:Yn>0?"visible":"hidden"},onClick:()=>ye(Yn)}))))),ur.createElement(dr.Z,null,ur.createElement("div",{className:`${na.addBtn}`,onClick:()=>{pt()}},"\u65B0\u589E\u7B54\u6848")))},aa=({value:ce=!0,onChange:Pe})=>ur.createElement(Sa.Z,{checked:!ce,onChange:ye=>{Pe(!ye)}}),Pn="\u2581",Tn=({questionTitlePlaceholder:ce,form:Pe,name:ye,scoreByBlank:pt,answerKey:Zt,titleKey:Yn="name",analysisKey:Cn="analysis",isOrdered:qt="is_ordered"})=>{var ht,rn;const[An,mn]=(0,y.useState)(!1),Lt=(Bn,Rt)=>{const Un=Rt.line;let Ya=0;for(let ao=0;ao{const ja=Bn.getRange(Rt.from,Rt.to);let ao=0;if(Rt.text.forEach(va=>{ao+=va.split(Pn).length-1}),Rt.origin!=="setValue"){if(ja&&ja.indexOf(Pn)!==-1){const va=ja.split(Pn).length-1,Ur=Lt(Bn,Rt.from);if(console.log(`\u5220\u9664${va}\u4E2A\uFF0C \u524D\u9762\u6709${Ur}\u4E2A\uFF0C\u65B0\u589E${ao}\u4E2A`),va>1){const _r=Array.from({length:va},(Lo,oo)=>Ur+oo);Ya(_r)}else Ya(Ur)}else if(ao>0){const va=Lt(Bn,Rt.from);console.log(`\u65B0\u589E${ao}\u4E2A\uFF0C\u4E4B\u524D\u6709${va}\u4E2A`),Un(ao,va)}}},Dn=()=>{const Bn=Pe.getFieldValue(["sub_item_banks",...Zt]);Pe.setFieldValue(["sub_item_banks",...Zt],Bn==null?void 0:Bn.map((Rt,Un)=>pn($t({},Rt),{position:Un+1})))},bn=(0,y.useRef)(),Vn=(Bn,Rt)=>{for(let Un=0;Un{xn.current(Bn),Dn()},rr=(rn=(ht=Pe.getFieldValue("sub_item_banks"))==null?void 0:ht[Zt==null?void 0:Zt[0]])==null?void 0:rn[Zt==null?void 0:Zt[1]];return console.log(Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...pt])),ur.createElement("div",{className:na.wrap},ur.createElement("div",{className:na.questionTitleEditorWrap},ur.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Yn,labelCol:{span:24},rules:[{required:!0}]},ur.createElement(Mr,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(Bn,Rt)=>{Xt(Bn,Rt,Vn,Gn)}}))),ur.createElement(Be.default.List,{name:Zt,rules:[{validator(Bn,Rt){if((Rt==null?void 0:Rt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Un of Rt){const{answer_text:Ya}=Un||{};if(Ya!=null&&Ya.some(ja=>(ja==null?void 0:ja.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Bn,{add:Rt,remove:Un},{errors:Ya})=>(bn.current=Rt,xn.current=Un,ur.createElement(ur.Fragment,null,ur.createElement(Be.default.Item,{label:ur.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Bn!=null&&Bn.length)&&ur.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Bn.map((ja,ao)=>{var va=ja,{key:Ur,name:_r}=va,Lo=Ct(va,["key","name"]);return ur.createElement(La.Z,{className:"mb20",key:Ur,align:"top"},ur.createElement(dr.Z,{flex:"0 0 auto",className:`${na.blankIndex} pt5`},"\u586B\u7A7A\u9879",ao+1),ur.createElement(dr.Z,{flex:1},ur.createElement(La.Z,{align:"top",justify:"space-between"},ur.createElement(dr.Z,{flex:1},ur.createElement(Be.default.Item,pn($t({},Lo),{name:[_r,"answer_text"],noStyle:!0}),ur.createElement(qn,null))),(Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...pt]))&&ur.createElement(dr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},ur.createElement(Be.default.Item,pn($t({},Lo),{name:[_r,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:na.blankInputNumberWrapper}),ur.createElement(we.Z,{onChange:()=>{var oo,or;let _o=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Zt==null?void 0:Zt[0],"standard_answers"]),ba=0;for(let Or in _o)(oo=_o[Or])!=null&&oo.score&&(ba+=Number((or=_o[Or])==null?void 0:or.score));Pe==null||Pe.setFieldValue(["sub_item_banks",Zt==null?void 0:Zt[0],"question_score"],ba)},className:na.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),ur.createElement(Be.default.Item,pn($t({},Lo),{name:[_r,"position"],noStyle:!0}),ur.createElement(We.default,{type:"hidden"}))))})))),ur.createElement(La.Z,{align:"middle"},ur.createElement(Be.default.Item,{name:[ye,"downcase"],valuePropName:"checked"},ur.createElement(Sa.Z,null)),ur.createElement(dr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),ur.createElement(La.Z,{align:"middle"},ur.createElement(Be.default.Item,{name:[ye,"no_space"],valuePropName:"checked"},ur.createElement(Sa.Z,null)),ur.createElement(dr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(rr==null?void 0:rr.length)>1&&ur.createElement(La.Z,{align:"middle",className:(rr==null?void 0:rr.length)>1?"mb30":`${na.hide}`},ur.createElement(Be.default.Item,{name:qt},ur.createElement(aa,null)),ur.createElement(dr.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),ur.createElement("div",{onClick:()=>mn(!0)},ur.createElement(Be.default.Item,{name:Cn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ur.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:An}))))};var ar=Object.defineProperty,Jn=Object.defineProperties,on=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable,wr=(ce,Pe,ye)=>Pe in ce?ar(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,no=(ce,Pe)=>{for(var ye in Pe||(Pe={}))wn.call(Pe,ye)&&wr(ce,ye,Pe[ye]);if(_t)for(var ye of _t(Pe))Va.call(Pe,ye)&&wr(ce,ye,Pe[ye]);return ce},ho=(ce,Pe)=>Jn(ce,on(Pe)),Go=(ce,Pe)=>{var ye={};for(var pt in ce)wn.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&_t)for(var pt of _t(ce))Pe.indexOf(pt)<0&&Va.call(ce,pt)&&(ye[pt]=ce[pt]);return ye};const Ho={\u6B63\u786E:"T",\u9519\u8BEF:"F"},fl=({value:ce,onChange:Pe,form:ye,choiceKey:pt})=>{const Zt=(ce==null?void 0:ce.is_answer)===1,Yn=ce==null?void 0:ce.choice_text,Cn=()=>{var qt;const ht=(qt=ye==null?void 0:ye.getFieldValue(["sub_item_banks",...pt]))==null?void 0:qt.map(rn=>({choice_text:rn.choice_text,is_answer:0}));ye==null||ye.setFieldValue(["sub_item_banks",...pt],ht),Pe(ho(no({},ce),{is_answer:1}))};return y.createElement(La.Z,{className:na.choiceWrap,align:"middle",wrap:!1},y.createElement(dr.Z,{onClick:Cn,className:`${na.choiceIndex} ${na.judgementIndex} ${Zt?na.activeAnswer:""}`},Ho[Yn]),y.createElement(dr.Z,{flex:1,className:`${na.editorWrap} ml15`},y.createElement("div",{className:`${na.inputBorder} ${na.placeholder} ${Zt?na.activeJudgementAnswer:""}`},Yn)),y.createElement(dr.Z,{flex:"0 0 auto",className:"ml15"},y.createElement("div",{onClick:Cn,className:`${na.setAnswerBtn} ${Zt?na.activeAnswer:""}`},Zt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Jo=({questionTitlePlaceholder:ce,choiceKey:Pe="choices",form:ye,titleKey:pt="name",analysisKey:Zt="analysis"})=>{const[Yn,Cn]=(0,y.useState)(!1);return y.createElement("div",{className:na.wrap},y.createElement("div",{className:na.questionTitleEditorWrap},y.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pt,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Mr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),y.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},y.createElement(Be.default.List,{name:Pe,rules:[{validator(qt,ht){return ht.some(An=>(An==null?void 0:An.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},qt=>y.createElement("div",{id:"choices"},qt.map(ht=>{var rn=ht,{key:An,name:mn}=rn,Lt=Go(rn,["key","name"]);return y.createElement(Be.default.Item,ho(no({},Lt),{key:An,name:mn,noStyle:!0}),y.createElement(fl,{form:ye,choiceKey:Pe}))})))),y.createElement("div",{onClick:()=>Cn(!0)},y.createElement(Be.default.Item,{name:Zt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Yn}))))};var vl=ae(12563),hl={ai_config:"ai_config___cJ8LY",znpy:"znpy___RTAAN",pfbz_ts:"pfbz_ts___ux6Ec",btns_pfbz:"btns_pfbz___QFXM_",lable_name1:"lable_name1___c_vnV",h_lh_40:"h_lh_40___ptAW7"},ti=ae(78455),so=ae(36306),cr=ae(59301);const Pt=({qitem:ce,form:Pe,exercise:ye,loading:pt,dispatch:Zt,aiReviewSettings:Yn=null})=>cr.createElement("div",{className:hl.ai_config},cr.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),cr.createElement("div",{className:hl.pfbz_ts},cr.createElement("div",{style:{color:"#333"}},"\u63D0\u793A\uFF1A\u53C2\u8003\u7B54\u6848\u548C\u9898\u76EE\u89E3\u6790\u8D8A\u5B8C\u5584\uFF0CAI\u667A\u80FD\u8BC4\u9605\u5C31\u8D8A\u7CBE\u51C6~"),cr.createElement("div",{className:"flex"},cr.createElement("div",{className:hl.btns_pfbz,onClick:()=>{Zt({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:ce==null?void 0:ce.question_id,ai_review_settings:Pe.getFieldValue(Yn||"ai_review_settings")}})}},cr.createElement("img",{src:ti.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),cr.createElement("div",{style:{background:"#F6F7F9"}},cr.createElement(Be.default.List,{name:Yn||"ai_review_settings"},(Cn,{add:qt,remove:ht})=>Cn.map((rn,An)=>{var mn;return cr.createElement(La.Z,{key:rn.key,style:{padding:"5px 10px 5px 15px"}},cr.createElement(dr.Z,{className:hl.lable_name1},"\u8BC4\u5206\u9879\u76EE"),cr.createElement(dr.Z,null,cr.createElement(Be.default.Item,{className:"ml10",name:[rn.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},cr.createElement(We.default,{onChange:Lt=>{Pe.setFieldValue([rn.name,"content"],Lt.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),cr.createElement(dr.Z,{className:hl.lable_name1},"\u8BC4\u5206\u6807\u51C6"),cr.createElement(dr.Z,null,cr.createElement(Be.default.Item,{className:"ml10",name:[rn.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},cr.createElement(We.default,{onChange:Lt=>{Pe.setFieldValue([rn.name,"content"],Lt.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:Yn?232:318},className:"mr15",maxLength:500}))),cr.createElement(dr.Z,{className:hl.lable_name1},"\u6743\u91CD"),cr.createElement(dr.Z,null,cr.createElement(Be.default.Item,{className:"ml10",name:[rn.name,"weight"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u91CD"},{pattern:/^(?!0(\.0+)?$)(\d+(\.\d)?)$/,message:"\u6700\u591A\u4FDD\u7559\u4E00\u4F4D\u5C0F\u6570"}]},cr.createElement(we.Z,{value:Pe.getFieldValue([rn.name,"weight"]),onChange:Lt=>{Number.isInteger(Lt)||Pe.setFieldValue([rn.name,"weight"],parseFloat(Lt).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),cr.createElement(La.Z,{className:(mn=hl)==null?void 0:mn.h_lh_40},cr.createElement(dr.Z,null,cr.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(Cn.length>=10)return Te.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");qt()}})),An>0&&cr.createElement(dr.Z,null,cr.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{ht(rn.name)}}))))}))),cr.createElement(so.Z,null));var dt=(0,pe.connect)(({exercise:ce,loading:Pe})=>({exercise:ce,loading:Pe.effects}))(Pt),Ot=Object.defineProperty,Fn=Object.defineProperties,pa=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,Ra=Object.prototype.propertyIsEnumerable,sr=(ce,Pe,ye)=>Pe in ce?Ot(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,br=(ce,Pe)=>{for(var ye in Pe||(Pe={}))un.call(Pe,ye)&&sr(ce,ye,Pe[ye]);if(Ma)for(var ye of Ma(Pe))Ra.call(Pe,ye)&&sr(ce,ye,Pe[ye]);return ce},$a=(ce,Pe)=>Fn(ce,pa(Pe)),ra=(ce,Pe)=>{var ye={};for(var pt in ce)un.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&Ma)for(var pt of Ma(ce))Pe.indexOf(pt)<0&&Ra.call(ce,pt)&&(ye[pt]=ce[pt]);return ye};const Dr=ce=>{var Pe=ce,{value:ye,onChange:pt}=Pe,Zt=ra(Pe,["value","onChange"]);const Yn=Cn=>{pt([Cn])};return y.createElement(wt.Z,$a(br({},Zt),{defaultValue:ye==null?void 0:ye[0],onChange:Yn}))},Tr=ce=>{if(!ce)return!1;let Pe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ce==="|"?(Te.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Po=({value:ce=[],onClose:Pe})=>y.createElement(vl.Z,{closable:!0,onClose:Pe,className:na.keywordTag},y.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Fr=({questionTitlePlaceholder:ce,form:Pe,showKeywords:ye,isMustKeyWords:pt=ye,titleKey:Zt="name",analysisKey:Yn="analysis",answerTexts:Cn="answer_texts",keywords:qt="keywords",useKeywords:ht="use_keywords",indexs:rn,qitem:An,exerciseitem:mn,aiReviewSettings:Lt})=>{var Xt,Dn,bn,Vn,xn;const[Gn,rr]=(0,y.useState)(!1),[Bn,Rt]=(0,y.useState)(""),Un=(Dn=(Xt=Pe.getFieldValue("sub_item_banks"))==null?void 0:Xt[ht==null?void 0:ht[0]])==null?void 0:Dn[ht==null?void 0:ht[1]],Ya=(Vn=(bn=Pe.getFieldValue("sub_item_banks"))==null?void 0:bn[ht==null?void 0:ht[0]])==null?void 0:Vn.question_score;return y.createElement("div",{className:na.wrap},y.createElement("div",{className:na.questionTitleEditorWrap},y.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Zt,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Mr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),y.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Cn,labelCol:{span:24}},y.createElement(Dr,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),ye&&!pt&&y.createElement(Be.default.Item,{hidden:!0,name:ht,valuePropName:"checked"},y.createElement(Sa.Z,{defaultChecked:!0})),ye&&pt&&y.createElement(La.Z,{align:"middle",className:"mb30"},y.createElement(Be.default.Item,{name:ht,valuePropName:"checked"},y.createElement(Sa.Z,null)),y.createElement(dr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(dr.Z,null,y.createElement(tt.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(hn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Un||!pt)&&y.createElement(Be.default.List,{name:qt,rules:[{validator(ja,ao){return pt?ao!=null&&ao.length?(ao==null?void 0:ao.reduce((Ur,_r)=>Ur+_r.score,0))>parseFloat(Ya)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(ja,{add:ao,remove:va})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${na.title} mb10`},pt?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(La.Z,{align:"middle",className:"font14 mb30"},y.createElement(dr.Z,{flex:1},y.createElement(We.default,{value:Bn,onChange:Ur=>{Rt(Ur.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ur=>{var _r,Lo,oo,or;const _o=`${(_r=Ur.target)==null?void 0:_r.value}`,ba=(oo=(Lo=_o==null?void 0:_o.split("|"))==null?void 0:Lo.filter(Wo=>!!Wo))==null?void 0:oo.map(Wo=>Wo==null?void 0:Wo.trim()),Or=Pe.getFieldValue(["sub_item_banks",...qt]),ul=((or=Or==null?void 0:Or.map(Wo=>Wo==null?void 0:Wo.keyword))==null?void 0:or.flat())||[];for(const Wo of ba)if(ul.includes(Wo)){Te.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Tr(_o)&&(ao({keyword:ba,score:1}),Rt(""))},className:na.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(dr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ja.map(Ur=>{var _r=Ur,{key:Lo,name:oo}=_r,or=ra(_r,["key","name"]);return y.createElement(La.Z,{key:Lo,className:"mb20",style:{marginRight:148}},y.createElement(dr.Z,{flex:1},y.createElement(La.Z,{align:"middle",justify:"space-between"},y.createElement(Be.default.Item,$a(br({},or),{name:[oo,"keyword"]}),y.createElement(Po,{onClose:()=>va(oo)})),pt&&y.createElement(Be.default.Item,$a(br({},or),{name:[oo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:na.blankInputNumberWrapper}),y.createElement(we.Z,{className:na.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>rr(!0)},y.createElement(Be.default.Item,{name:Yn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Gn}))),((xn=mn==null?void 0:mn.exercise)==null?void 0:xn.is_open_ai_review)&&y.createElement(dt,{form:Pe,qitem:An,aiReviewSettings:Lt}))};var $n=ae(59301),xo=Object.defineProperty,Ao=Object.defineProperties,mo=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertySymbols,Ei=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,Si=(ce,Pe,ye)=>Pe in ce?xo(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,ii=(ce,Pe)=>{for(var ye in Pe||(Pe={}))Ei.call(Pe,ye)&&Si(ce,ye,Pe[ye]);if(wl)for(var ye of wl(Pe))zi.call(Pe,ye)&&Si(ce,ye,Pe[ye]);return ce},ji=(ce,Pe)=>Ao(ce,mo(Pe)),eu=(ce,Pe)=>{var ye={};for(var pt in ce)Ei.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&wl)for(var pt of wl(ce))Pe.indexOf(pt)<0&&zi.call(ce,pt)&&(ye[pt]=ce[pt]);return ye};const{Panel:ni}=Ca.default,Li=({questionTitlePlaceholder:ce,choiceKey:Pe,form:ye,withScore:pt,exerciseitem:Zt})=>{const Yn=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[Cn,qt]=(0,y.useState)(),[ht,rn]=(0,y.useState)([]),An=Lt=>{rn(Lt)},mn=({value:Lt})=>$n.createElement("div",{style:{width:150,paddingLeft:11}},Lt);return $n.createElement("div",{className:na.wrap},$n.createElement("div",{className:na.questionTitleEditorWrap},$n.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},$n.createElement(Mr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),$n.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),$n.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Lt,Xt){return Xt?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Lt,{add:Xt,remove:Dn,move:bn})=>{const Vn=ye.getFieldValue("sub_item_banks");return $n.createElement($n.Fragment,null,$n.createElement(Ca.default,{className:Lt.length>0?na.collapseWrapper:"",bordered:!1,activeKey:ht,onChange:An,expandIcon:({isActive:xn})=>$n.createElement("i",{className:`iconfont icon-weizhankai ${xn?na.open:na.close}`,style:{fontSize:14,transition:"all .2s"}})},Lt.map((xn,Gn)=>{var rr=xn,{key:Bn,name:Rt}=rr,Un=eu(rr,["key","name"]),Ya,ja,ao,va,Ur,_r,Lo,oo,or,_o,ba,Or,ul,Wo;return $n.createElement(ni,{className:na.panel,forceRender:!0,header:$n.createElement("div",{className:na.panelHeader},"\u7B2C",Gn+1,"\u5C0F\u9898",$n.createElement("span",null,"\uFF08",((Ya=Vn==null?void 0:Vn[Rt])==null?void 0:Ya.question_type)==0?"\u5355\u9009\u9898":((ja=Vn==null?void 0:Vn[Rt])==null?void 0:ja.question_type)==1?"\u591A\u9009\u9898":((ao=Vn==null?void 0:Vn[Rt])==null?void 0:ao.question_type)==3?"\u586B\u7A7A\u9898":((va=Vn==null?void 0:Vn[Rt])==null?void 0:va.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Rt,extra:$n.createElement(La.Z,{align:"middle",onClick:Rn=>Rn.stopPropagation()},((Ur=Vn==null?void 0:Vn[Rt])==null?void 0:Ur.question_type)==3&&$n.createElement($n.Fragment,null,$n.createElement(Ne.ZP.Group,{defaultValue:(_r=Vn==null?void 0:Vn[Rt])==null?void 0:_r.use_blank_score,className:nt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Rn=>{var ml,kl,Nl,Bl,yo;if(ye==null||ye.setFieldValue(["sub_item_banks",Rt,"use_blank_score"],(ml=Rn==null?void 0:Rn.target)==null?void 0:ml.value),(kl=Rn==null?void 0:Rn.target)!=null&&kl.value){let er=0;for(let Oo in(Nl=ye==null?void 0:ye.getFieldValue(["sub_item_banks",Rt]))==null?void 0:Nl.standard_answers)er+=Number((yo=(Bl=ye==null?void 0:ye.getFieldValue(["sub_item_banks",Rt]))==null?void 0:Bl.standard_answers[Oo])==null?void 0:yo.score);ye==null||ye.setFieldValue(["sub_item_banks",Rt,"question_score"],er||"")}qt(new Date)}}),$n.createElement(tt.Z,{overlayInnerStyle:{width:460},title:$n.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",$n.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},$n.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),pt&&$n.createElement(Be.default.Item,ji(ii({},Un),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Rt,"question_score"],className:na.blankInputNumberWrapper}),((Lo=Vn==null?void 0:Vn[Rt])==null?void 0:Lo.question_type)==3&&((oo=Vn==null?void 0:Vn[Rt])!=null&&oo.use_blank_score)?$n.createElement(mn,null):$n.createElement(we.Z,{className:na.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),$n.createElement(La.Z,{align:"middle",className:"pl40",style:{width:82}},Gn!==0&&$n.createElement("div",{onClick:()=>{var Rn;bn(Gn,Gn-1);const ml=(Rn=ye.getFieldValue("sub_item_banks"))==null?void 0:Rn.map((kl,Nl)=>(Lt.map((Bl,yo)=>{Nl===yo&&(kl.q_position=Number(Bl.name)+1)}),kl));ye.setFieldValue("sub_item_banks",ml)}},$n.createElement(tt.Z,{title:"\u4E0A\u79FB"},$n.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Gn{var Rn;bn(Gn,Gn+1);const ml=(Rn=ye.getFieldValue("sub_item_banks"))==null?void 0:Rn.map((kl,Nl)=>(Lt.map((Bl,yo)=>{Nl===yo&&(kl.q_position=Number(Bl.name)+1)}),kl));ye.setFieldValue("sub_item_banks",ml)},className:Gn===0?"":"ml10"},$n.createElement(tt.Z,{title:"\u4E0B\u79FB"},$n.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),$n.createElement(tt.Z,{title:"\u5220\u9664"},$n.createElement(ue.Z,{className:`${na.deleteIcon} ml40`,onClick:()=>Dn(Rt)})))},$n.createElement(Be.default.Item,ji(ii({},Un),{name:Rt}),(((or=Vn==null?void 0:Vn[Rt])==null?void 0:or.question_type)==0||((_o=Vn==null?void 0:Vn[Rt])==null?void 0:_o.question_type)==1)&&$n.createElement(Do,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((ba=Vn==null?void 0:Vn[Rt])==null?void 0:ba.question_type)==1,form:ye,choiceKey:[Rt,"choices"],titleKey:[Rt,"name"],analysisKey:[Rt,"analysis"],choiceOptionsPath:["sub_item_banks",Rt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Or=Vn==null?void 0:Vn[Rt])==null?void 0:Or.question_type)==3&&$n.createElement(Tn,{form:ye,name:Rt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Rt,"use_blank_score"],titleKey:[Rt,"name"],analysisKey:[Rt,"analysis"],isOrdered:[Rt,"is_ordered"],answerKey:[Rt,"standard_answers"],key:Cn}),((ul=Vn==null?void 0:Vn[Rt])==null?void 0:ul.question_type)==2&&$n.createElement(Jo,{form:ye,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Rt,"name"],analysisKey:[Rt,"analysis"],choiceKey:[Rt,"choices"]}),((Wo=Vn==null?void 0:Vn[Rt])==null?void 0:Wo.question_type)==4&&$n.createElement(Fr,{showKeywords:!0,isMustKeyWords:!0,form:ye,titleKey:[Rt,"name"],analysisKey:[Rt,"analysis"],answerTexts:[Rt,"answer_texts"],useKeywords:[Rt,"use_keywords"],keywords:[Rt,"keywords"],aiReviewSettings:[Rt,"ai_review_settings"],indexs:Rt,qitem:Vn==null?void 0:Vn[Rt],questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",exerciseitem:Zt})))})),Lt.length<20&&$n.createElement(be.Z,{menu:{items:[{label:$n.createElement("div",{onClick:()=>{Xt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),rn([Lt==null?void 0:Lt.length,...ht])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:$n.createElement("div",{onClick:()=>{Xt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),rn([Lt==null?void 0:Lt.length,...ht])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:$n.createElement("div",{onClick:()=>{Xt({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),rn([Lt==null?void 0:Lt.length,...ht])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:$n.createElement("div",{onClick:()=>{Xt({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),rn([Lt==null?void 0:Lt.length,...ht])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:$n.createElement("div",{onClick:()=>{Xt({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),rn([Lt==null?void 0:Lt.length,...ht])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(xn=>xn.show).map(xn=>({label:xn.label,key:xn.key}))}},$n.createElement("div",{className:`${na.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var cl=ae(59301),Vi=Object.defineProperty,sl=Object.defineProperties,Zl=Object.getOwnPropertyDescriptors,Pi=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,ui=(ce,Pe,ye)=>Pe in ce?Vi(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Jl=(ce,Pe)=>{for(var ye in Pe||(Pe={}))mi.call(Pe,ye)&&ui(ce,ye,Pe[ye]);if(Pi)for(var ye of Pi(Pe))lu.call(Pe,ye)&&ui(ce,ye,Pe[ye]);return ce},si=(ce,Pe)=>sl(ce,Zl(Pe)),Lu=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),Iu=({qitem:ce,setisedit:Pe,TagDiscipline:ye,exerciseitem:pt,seveeditor:Zt,deleteitem:Yn,getTagData:Cn,init:qt,showTip:ht=!1})=>{var rn;const[An]=Be.default.useForm(),{unified_ai_setting:mn,ai_review_settings:Lt}=pt==null?void 0:pt.exercise;(0,y.useEffect)(()=>{var Dn;An.setFieldsValue(si(Jl({},ce),{name:ce.question_title,sub_item_banks:(Dn=ce.sub_exercise_questions)==null?void 0:Dn.map(bn=>{var Vn,xn;if(bn.question_type==4){const Gn=mn?Lt:((Vn=bn==null?void 0:bn.ai_review_settings)==null?void 0:Vn.length)>0?bn.ai_review_settings:Lt;bn.ai_review_settings=Gn}return si(Jl({},bn),{name:bn.question_title,choices:(xn=bn==null?void 0:bn.question_choices)==null?void 0:xn.map(Gn=>si(Jl({},Gn),{is_answer:Gn!=null&&Gn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer}))},[ce]);const Xt=Dn=>{if(!(Dn!=null&&Dn.length))return!1;const bn=Dn.map(xn=>{var Gn;return(Gn=xn.choice_text)==null?void 0:Gn.trim().replace(/^\s+|\s+$/g,"")});return new Set(bn).size!==bn.length};return cl.createElement("div",null,cl.createElement(Be.default,{form:An,colon:!1,onValuesChange:(Dn,bn)=>{var Vn,xn,Gn,rr;if(Dn!=null&&Dn.sub_item_banks){let Bn=((Vn=An.getFieldValue("sub_item_banks"))==null?void 0:Vn.length)>0&&((Gn=(xn=An.getFieldValue("sub_item_banks"))==null?void 0:xn.map(Rt=>{var Un;if(Rt.question_type==3&&(Rt!=null&&Rt.use_blank_score)){let Ya=0;for(let ja in Rt==null?void 0:Rt.standard_answers)Ya+=Number((Un=Rt==null?void 0:Rt.standard_answers[ja])==null?void 0:Un.score);return Ya}else return Rt.question_score}))==null?void 0:Gn.filter(Rt=>Rt));(Bn==null?void 0:Bn.length)>0&&An.setFieldsValue({question_score:(rr=parseFloat(Bn.reduce((Rt,Un)=>parseFloat(Rt)+parseFloat(Un))))==null?void 0:rr.toFixed(1)})}},onFinish:Dn=>{var bn,Vn;if((bn=Dn.sub_item_banks)==null?void 0:bn.some(Gn=>Gn.question_type===0||Gn.question_type===1?Xt(Gn.choices):!1)){Te.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}Zt(si(Jl(Jl({},ce),Dn),{question_title:Dn.name,sub_questions:(Vn=Dn==null?void 0:Dn.sub_item_banks)==null?void 0:Vn.map(Gn=>{var rr,Bn,Rt,Un;return(Gn==null?void 0:Gn.question_type)==3?si(Jl({},Gn),{question_title:Gn.name,item_type:Gn==null?void 0:Gn.question_type}):si(Jl({},Gn),{question_title:Gn.name,question_choices:(Bn=(rr=Gn==null?void 0:Gn.choices)==null?void 0:rr.map)==null?void 0:Bn.call(rr,Ya=>Ya.choice_text),standard_answers:(Un=(Rt=Gn==null?void 0:Gn.choices)==null?void 0:Rt.map)==null?void 0:Un.call(Rt,(Ya,ja)=>(Ya==null?void 0:Ya.is_answer)===1&&ja+1).filter(Ya=>Ya),item_type:Gn==null?void 0:Gn.question_type})})}))},onFinishFailed:Dn=>Lu(void 0,null,function*(){var bn,Vn;Te.ZP.error(Dn.errorFields[0].errors[0]),An.scrollToField((Vn=(bn=Dn==null?void 0:Dn.errorFields)==null?void 0:bn[0])==null?void 0:Vn.name,{behavior:"smooth",block:"center"})})},cl.createElement("div",{style:{display:"flex",alignItems:"center"}},cl.createElement("div",{style:{flex:1}},cl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),cl.createElement("span",null,"\u7EC4\u5408\u9898")),((rn=pt==null?void 0:pt.exercise)==null?void 0:rn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&cl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Yn()}},cl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),cl.createElement(Me.ZP,{onClick:()=>{var Dn;ce.isadd?(Pe(!1),qt()):(An.setFieldsValue(si(Jl({},ce),{name:ce.question_title,sub_item_banks:(Dn=ce.sub_exercise_questions)==null?void 0:Dn.map(bn=>{var Vn;return si(Jl({},bn),{name:bn.question_title,choices:(Vn=bn==null?void 0:bn.question_choices)==null?void 0:Vn.map(xn=>si(Jl({},xn),{is_answer:xn!=null&&xn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer})),Pe(!1))}},"\u53D6\u6D88"),cl.createElement(tt.Z,{overlayClassName:nt.shake,open:ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:cl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},cl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},cl.createElement(Me.ZP,{className:"ml20",type:"primary",onClick:()=>{An.submit()}},"\u4FDD\u5B58"))),cl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},cl.createElement(tn.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),cl.createElement(Li,{form:An,withScore:!0,choiceKey:"",exerciseitem:pt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),cl.createElement(lr,{getTagData:Cn,qitem:ce,exerciseitem:pt,TagDiscipline:ye,form:An}))))},qo=ae(59301),Ku=Object.defineProperty,Ju=Object.defineProperties,_u=Object.getOwnPropertyDescriptors,Eu=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,Ou=(ce,Pe,ye)=>Pe in ce?Ku(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Dl=(ce,Pe)=>{for(var ye in Pe||(Pe={}))iu.call(Pe,ye)&&Ou(ce,ye,Pe[ye]);if(Eu)for(var ye of Eu(Pe))Xu.call(Pe,ye)&&Ou(ce,ye,Pe[ye]);return ce},Ai=(ce,Pe)=>Ju(ce,_u(Pe)),Wi=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),Ru=({qitem:ce,setqitem:Pe,setisedit:ye,TagDiscipline:pt,exerciseitem:Zt,seveeditor:Yn,deleteitem:Cn,showTip:qt})=>{var ht,rn;const[An]=Be.default.useForm();return(0,y.useEffect)(()=>{var mn,Lt;An.setFieldsValue(Ai(Dl({},ce),{name:ce==null?void 0:ce.question_title,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(Xt=>Ai(Dl({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(Lt=ce==null?void 0:ce.shixun)==null?void 0:Lt.map(Xt=>Ai(Dl({},Xt),{defaultscore:Xt.challenge_score}))},[]),qo.createElement("div",null,qo.createElement(Be.default,{form:An,colon:!1,onFinish:mn=>{var Lt,Xt;let Dn=Ai(Dl({},mn),{question_scores:(Lt=ce==null?void 0:ce.shixun)==null?void 0:Lt.map(bn=>bn.challenge_score),item_type:ce==null?void 0:ce.question_type,choices:(Xt=mn==null?void 0:mn.choices)==null?void 0:Xt.map(bn=>Ai(Dl({},bn),{is_answer:bn.standard_boolean}))});Yn(Dl(Dl({},ce),Dn))},onFinishFailed:mn=>Wi(void 0,null,function*(){var Lt,Xt;Te.ZP.error(mn.errorFields[0].errors[0]),An.scrollToField((Xt=(Lt=mn==null?void 0:mn.errorFields)==null?void 0:Lt[0])==null?void 0:Xt.name,{behavior:"smooth",block:"center"})})},qo.createElement("div",{style:{display:"flex",alignItems:"center"}},qo.createElement("div",{style:{flex:1}},qo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),qo.createElement("span",null,"\u5B9E\u8BAD\u9898")),((ht=Zt==null?void 0:Zt.exercise)==null?void 0:ht.exercise_status)==1&&!(ce!=null&&ce.isadd)&&qo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},qo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),qo.createElement(Me.ZP,{onClick:()=>{var mn,Lt;An.setFieldsValue(Ai(Dl({},ce),{name:ce==null?void 0:ce.question_title,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(Xt=>Ai(Dl({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(Lt=ce==null?void 0:ce.shixun)==null?void 0:Lt.map(Xt=>Ai(Dl({},Xt),{challenge_score:Xt.defaultscore})),Pe(Dl({},ce)),ye(!1)}},"\u53D6\u6D88"),qo.createElement(tt.Z,{overlayClassName:nt.shake,open:qt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:qo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},qo.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},qo.createElement(Me.ZP,{className:"ml20",type:"primary",onClick:()=>Wi(void 0,null,function*(){var mn,Lt,Xt;if(((Lt=(mn=ce==null?void 0:ce.shixun)==null?void 0:mn.map)==null?void 0:Lt.call(mn,Dn=>Dn.challenge_score).filter(Dn=>Dn).length)<((Xt=ce==null?void 0:ce.shixun)==null?void 0:Xt.length)){Te.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}An.submit()})},"\u4FDD\u5B58"))),qo.createElement(tn.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),qo.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},qo.createElement(wt.Z,{watch:!0,height:140,placeholder:"",defaultValue:ce.question_title}))),qo.createElement(La.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},qo.createElement("div",null,qo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),qo.createElement("a",{href:`/shixuns/${ce==null?void 0:ce.shixun_identifier}/challenges?exercise=true`,target:"_blank"},qo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(rn=ce==null?void 0:ce.shixun)==null?void 0:rn.map((mn,Lt)=>qo.createElement("div",{style:{display:"flex",marginBottom:20}},qo.createElement("div",{style:{flex:1}},Lt+1,"\u3001",mn.challenge_name),qo.createElement("div",null,qo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",qo.createElement(we.Z,{precision:1,value:mn==null?void 0:mn.challenge_score,onChange:Xt=>{const Dn=JSON.parse(JSON.stringify((ce==null?void 0:ce.shixun)||[]));Dn[Lt].challenge_score=Xt;const bn=Dn.every(xn=>!xn.challenge_score),Vn=parseFloat(Dn==null?void 0:Dn.map(xn=>xn.challenge_score).reduce((xn,Gn)=>parseFloat(xn||0)+parseFloat(Gn||0)));An.setFieldsValue({question_score:bn?"":Vn.toFixed(1)}),Pe(Ai(Dl({},ce),{shixun:Dn}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Wa={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},qu=ae(1710),Tu=ae(27687),Ni=ae(24334),oa=ae(59301);const uu=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],$u=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var es=({qitem:ce,exercise:Pe})=>{var ye,pt,Zt,Yn,Cn,qt,ht,rn,An,mn,Lt,Xt,Dn,bn,Vn,xn,Gn,rr,Bn,Rt,Un,Ya,ja,ao;return oa.createElement("div",{className:Wa.warp},((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&oa.createElement("div",{className:Wa.normalWrap},(ye=ce==null?void 0:ce.question_choices)==null?void 0:ye.map((va,Ur)=>oa.createElement("div",{className:Wa.redio},!(va!=null&&va.standard_boolean)&&oa.createElement("span",{className:Wa.redioitem}),(va==null?void 0:va.standard_boolean)&&oa.createElement("i",{className:`${Wa.redioitemyes} icon-duigou1`}),oa.createElement("span",{className:`${va!=null&&va.standard_boolean?Wa.titleyes:Wa.title} ${Wa.indexTag}`},(ce==null?void 0:ce.question_type)===0?uu[Ur]:""),oa.createElement(Ft.Z,{className:va!=null&&va.standard_boolean?Wa.titleyes:Wa.title,value:va==null?void 0:va.choice_text}),(va==null?void 0:va.standard_boolean)&&oa.createElement("div",{className:Wa.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&oa.createElement("div",{className:Wa.normalWrap},(pt=ce==null?void 0:ce.question_choices)==null?void 0:pt.map((va,Ur)=>oa.createElement("div",{className:Wa.checkbox},!(va!=null&&va.standard_boolean)&&oa.createElement("span",{className:Wa.checkboxitem}),(va==null?void 0:va.standard_boolean)&&oa.createElement("i",{className:`${Wa.checkboxitemyes} icon-duigou1`}),oa.createElement("span",{className:`${va!=null&&va.standard_boolean?Wa.titleyes:Wa.title} ${Wa.indexTag}`},uu[Ur]),oa.createElement(Ft.Z,{className:va!=null&&va.standard_boolean?Wa.titleyes:Wa.title,value:va==null?void 0:va.choice_text}),(va==null?void 0:va.standard_boolean)&&oa.createElement("div",{className:Wa.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&oa.createElement("div",{className:Wa.completion},(Zt=ce==null?void 0:ce.standard_answers)==null?void 0:Zt.map((va,Ur)=>{var _r;return oa.createElement(La.Z,{align:"top"},oa.createElement("span",{className:Wa.title},"\u586B\u7A7A\u9879",Ur+1),oa.createElement("div",{className:Wa.content},(_r=va.answer_text)==null?void 0:_r.map((Lo,oo)=>oa.createElement("div",{key:oo,className:Wa.items,style:(va==null?void 0:va.model)===2?{border:0,padding:0}:{}},(va==null?void 0:va.model)===1?oa.createElement("pre",{className:"mb0"},Lo):oa.createElement(Tu.Z,{value:Lo,disabled:!0})))))})),(ce==null?void 0:ce.question_type)===4&&oa.createElement("div",{className:Wa.simple},oa.createElement("div",{className:Wa.title},"\u53C2\u8003\u7B54\u6848"),oa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Yn=ce==null?void 0:ce.answer_texts)!=null&&Yn[0]?oa.createElement(Ft.Z,{className:Wa.content,value:(Cn=ce==null?void 0:ce.answer_texts)==null?void 0:Cn[0]}):oa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),oa.createElement("div",{className:"mt20 "},oa.createElement("span",{className:Wa.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),oa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ce!=null&&ce.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ce==null?void 0:ce.question_type)===5&&oa.createElement("div",{className:Wa.shixunWrapper},(qt=ce==null?void 0:ce.shixun)==null?void 0:qt.map((va,Ur)=>{var _r,Lo;return oa.createElement("div",null,oa.createElement("div",{key:Ur,className:`${Wa.shixun} mb30`},oa.createElement("span",{className:Wa.score},"\uFF08",va==null?void 0:va.challenge_score,"\u5206\uFF09"),oa.createElement("span",{className:Wa.qtitle},(ce==null?void 0:ce.index)+"."+(Ur+1),"\u3001",va==null?void 0:va.challenge_name)),((Lo=(_r=Pe==null?void 0:Pe.editData)==null?void 0:_r.exercise)==null?void 0:Lo.show_challenge_task_pass)&&oa.createElement(Ft.Z,{className:Wa.content,value:(va==null?void 0:va.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ce==null?void 0:ce.question_type)===6&&oa.createElement("div",{className:Wa.program,style:{border:!((rn=(ht=Pe==null?void 0:Pe.editData)==null?void 0:ht.exercise)!=null&&rn.show_hack_sets)&&!((mn=(An=Pe==null?void 0:Pe.editData)==null?void 0:An.exercise)!=null&&mn.show_hack_description)&&"none"}},((Xt=(Lt=Pe==null?void 0:Pe.editData)==null?void 0:Lt.exercise)==null?void 0:Xt.show_hack_sets)&&oa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},oa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},oa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),oa.createElement(qu.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(va,Ur,_r)=>_r+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(va,Ur,_r)=>oa.createElement(tt.Z,{title:oa.createElement("pre",null,va)},oa.createElement("div",{className:Wa.divname},va))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(va,Ur,_r)=>oa.createElement(tt.Z,{title:oa.createElement("pre",null,va)}," ",oa.createElement("div",{className:Wa.divname},va))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ce==null?void 0:ce.hack_sets})),((bn=(Dn=Pe==null?void 0:Pe.editData)==null?void 0:Dn.exercise)==null?void 0:bn.show_hack_description)&&oa.createElement("div",null,oa.createElement(Ft.Z,{className:Wa.content,value:(ce==null?void 0:ce.description)||"- -"}))),(ce==null?void 0:ce.question_type)===7&&((Vn=ce==null?void 0:ce.sub_exercise_questions)==null?void 0:Vn.map((va,Ur)=>{var _r,Lo,oo,or,_o,ba;return oa.createElement("div",{key:Ur},oa.createElement("div",{className:Wa.combination},oa.createElement("span",{className:Wa.score},va==null?void 0:va.question_score,"\u5206"),oa.createElement("span",{className:Wa.qtype},(_r=$u.find(Or=>Or.type==va.question_type))==null?void 0:_r.name),oa.createElement("span",{className:Wa.qtitle},Ur+1,"\u3001",va==null?void 0:va.question_title)),(va.question_type===0||va.question_type===2)&&oa.createElement("div",{className:Wa.warp,style:{padding:"30px 58px",paddingBottom:0}},oa.createElement("div",null,(Lo=va==null?void 0:va.question_choices)==null?void 0:Lo.map((Or,ul)=>oa.createElement("div",{className:Wa.redio,key:ul},!(Or!=null&&Or.standard_boolean)&&oa.createElement("span",{className:Wa.redioitem}),(Or==null?void 0:Or.standard_boolean)&&oa.createElement("i",{className:`${Wa.redioitemyes} icon-duigou1`}),va.question_type===2&&oa.createElement("span",{className:`${Or!=null&&Or.standard_boolean?Wa.titleyes:Wa.title} ${Wa.indexTag}`},uu[ul]),oa.createElement(Ft.Z,{className:Or!=null&&Or.standard_boolean?Wa.titleyes:Wa.title,value:Or==null?void 0:Or.choice_text}),(Or==null?void 0:Or.standard_boolean)&&oa.createElement("div",{className:Wa.yestag},"\u6B63\u786E\u7B54\u6848"))))),va.question_type===1&&oa.createElement("div",{className:Wa.normalWrap},(oo=va==null?void 0:va.question_choices)==null?void 0:oo.map((Or,ul)=>oa.createElement("div",{className:Wa.checkbox,key:ul},!(Or!=null&&Or.standard_boolean)&&oa.createElement("span",{className:Wa.checkboxitem}),(Or==null?void 0:Or.standard_boolean)&&oa.createElement("i",{className:`${Wa.checkboxitemyes} icon-duigou1`}),oa.createElement("span",{className:`${Or!=null&&Or.standard_boolean?Wa.titleyes:Wa.title} ${Wa.indexTag}`},uu[ul]),oa.createElement(Ft.Z,{className:Or!=null&&Or.standard_boolean?Wa.titleyes:Wa.title,value:Or==null?void 0:Or.choice_text}),(Or==null?void 0:Or.standard_boolean)&&oa.createElement("div",{className:Wa.yestag},"\u6B63\u786E\u7B54\u6848")))),va.question_type===3&&oa.createElement("div",{className:Wa.completion},(or=va==null?void 0:va.standard_answers)==null?void 0:or.map((Or,ul)=>{var Wo;return oa.createElement(La.Z,{align:"top"},oa.createElement("span",{className:Wa.title},"\u586B\u7A7A\u9879",ul+1),oa.createElement("div",{className:Wa.content},(Wo=Or.answer_text)==null?void 0:Wo.map((Rn,ml)=>oa.createElement("div",{key:ml,className:Wa.items},oa.createElement("pre",{className:"mb0"},Rn)))))})),va.question_type===4&&oa.createElement("div",{className:Wa.simple},oa.createElement("div",{className:Wa.title},"\u53C2\u8003\u7B54\u6848"),oa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(_o=va==null?void 0:va.answer_texts)!=null&&_o[0]?oa.createElement(Ft.Z,{className:Wa.content,value:(ba=va==null?void 0:va.answer_texts)==null?void 0:ba[0]}):oa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),oa.createElement("div",{className:"mt20 "},oa.createElement("span",{className:Wa.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),oa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},va!=null&&va.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ce==null?void 0:ce.question_type)===8&&oa.createElement("div",null,oa.createElement(Ft.Z,{disabledFill:!0,className:Wa.content,showProgramFill:!0,value:Ni.Base64.decode(((xn=ce==null?void 0:ce.program_attr)==null?void 0:xn.code)||"")})),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&oa.createElement("div",{className:Wa.bottom},oa.createElement("div",{className:`${Wa.bottomitem} mb30`},oa.createElement("span",{className:Wa.left},"\u89E3\u6790"),oa.createElement("span",{className:Wa.right},ce!=null&&ce.analysis?oa.createElement(Ft.Z,{value:ce==null?void 0:ce.analysis}):oa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),oa.createElement("div",{className:`${Wa.bottomitem} mb30`},oa.createElement("span",{className:Wa.left},"\u96BE\u5EA6"),oa.createElement("span",{className:Wa.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),oa.createElement("div",{className:Wa.bottomitem},oa.createElement("span",{className:Wa.left},"\u77E5\u8BC6\u70B9"),oa.createElement(tt.Z,{title:((Gn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Gn.length)<=0||((rr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:rr.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Rt=(Bn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Bn.join("\uFF1B"))==null?void 0:Rt.toString()},oa.createElement("span",{className:Wa.right},((Un=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Un.length)<=0?oa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Ya=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ya.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?oa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(ao=(ja=ce==null?void 0:ce.tag_discipline_names)==null?void 0:ja.join("\uFF1B"))==null?void 0:ao.toString())))))},su=ae(30440),Ii=ae(54190),gl=ae(59301),ku=Object.defineProperty,ts=Object.defineProperties,ns=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Le=(ce,Pe,ye)=>Pe in ce?ku(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,Oe=(ce,Pe)=>{for(var ye in Pe||(Pe={}))ge.call(Pe,ye)&&Le(ce,ye,Pe[ye]);if(de)for(var ye of de(Pe))me.call(Pe,ye)&&Le(ce,ye,Pe[ye]);return ce},ft=(ce,Pe)=>ts(ce,ns(Pe)),lt=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),zt=({qitem:ce,setisedit:Pe,TagDiscipline:ye,exerciseitem:pt,seveeditor:Zt,deleteitem:Yn,getTagData:Cn,init:qt,showTip:ht=!1})=>{var rn,An,mn,Lt;const[Xt]=Be.default.useForm(),{unified_ai_setting:Dn,ai_review_settings:bn}=pt==null?void 0:pt.exercise,Vn=Dn?bn:((rn=ce==null?void 0:ce.ai_review_settings)==null?void 0:rn.length)>0?ce.ai_review_settings:bn;return(0,y.useEffect)(()=>{Xt.setFieldsValue(ft(Oe({},ce),{name:ce.question_title,answer_texts:ce.answer_texts,repeat_answer:!ce.repeat_answer,ai_review_settings:Vn}))},[ce]),gl.createElement("div",null,gl.createElement(Be.default,{form:Xt,colon:!1,onFinish:xn=>{var Gn;(Gn=pt==null?void 0:pt.exercise)!=null&&Gn.is_open_ai_review&&!(0,vt.BR)(xn==null?void 0:xn.ai_review_settings)||Zt(ft(Oe(Oe({},ce),xn),{answer_texts:xn==null?void 0:xn.answer_texts,question_title:xn==null?void 0:xn.name}))},onFinishFailed:xn=>lt(void 0,null,function*(){var Gn,rr;Te.ZP.error(xn.errorFields[0].errors[0]),Xt.scrollToField((rr=(Gn=xn==null?void 0:xn.errorFields)==null?void 0:Gn[0])==null?void 0:rr.name,{behavior:"smooth",block:"center"})})},gl.createElement("div",{style:{display:"flex",alignItems:"center"}},gl.createElement("div",{style:{flex:1}},gl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),gl.createElement("span",null,"\u7B80\u7B54\u9898")),((An=pt==null?void 0:pt.exercise)==null?void 0:An.exercise_status)==1&&!(ce!=null&&ce.isadd)&&gl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Yn()}},gl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),gl.createElement(Me.ZP,{onClick:()=>{ce.isadd?(Pe(!1),qt()):(Xt.setFieldsValue(ft(Oe({},ce),{name:ce==null?void 0:ce.question_title,answer_texts:ce.answer_texts||[],repeat_answer:!(ce!=null&&ce.repeat_answer)})),Pe(!1))}},"\u53D6\u6D88"),gl.createElement(tt.Z,{overlayClassName:nt.shake,open:ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:gl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},gl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},gl.createElement(Me.ZP,{type:"primary",className:"ml20",onClick:()=>{Xt.submit()}},"\u4FDD\u5B58"))),gl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},gl.createElement(Be.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},gl.createElement(we.Z,{onBlur:xn=>{xn.target.value==="0"&&Te.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),gl.createElement(Ii.W,{form:Xt,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),((mn=pt==null?void 0:pt.exercise)==null?void 0:mn.is_open_ai_review)&&!((Lt=pt==null?void 0:pt.exercise)!=null&&Lt.unified_ai_setting)&&gl.createElement(dt,{form:Xt,qitem:ce}),gl.createElement(lr,{getTagData:Cn,qitem:ce,exerciseitem:pt,TagDiscipline:ye,form:Xt}))))},Wt=ae(59301),ea=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),gn=({setScoreShow:ce,ScoreShow:Pe,exerciseitem:ye,getdata:pt})=>{var Zt,Yn,Cn;const[qt,ht]=(0,y.useState)(!1);function rn(){return ea(this,null,function*(){var An,mn,Lt;let Xt=(mn=(An=ye==null?void 0:ye.exercise_question_types)==null?void 0:An.filter(bn=>bn.Singlequestion))==null?void 0:mn.map(bn=>({question_type:bn.question_type,score:bn.Singlequestion})),Dn=yield(0,te.ZP)(`/api/exercises/${(Lt=ye==null?void 0:ye.exercise)==null?void 0:Lt.id}/batch_set_score.json`,{method:"POST",body:{question_arr:Xt}});(Dn==null?void 0:Dn.status)===0&&pt()})}return Wt.createElement("div",null,Pe&&Wt.createElement(Je.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Pe,width:640,centered:!0,zIndex:10,className:nt.scoremodal,onCancel:()=>{ce(!1)},onOk:()=>{var An,mn,Lt;if(ye!=null&&ye.use_blank_score&&((Lt=(mn=(An=ye==null?void 0:ye.exercise_question_types)==null?void 0:An.filter(Xt=>Xt.name==="\u586B\u7A7A\u9898"))==null?void 0:mn[0])!=null&&Lt.Singlequestion)){ht(!0);return}rn(),ce(!1)}},Wt.createElement("div",{className:"c-black"},"\u603B\u5206",Wt.createElement("span",{className:"ml10 c-light-primary"},(ye==null?void 0:ye.exercise_question_types.length)>0&&((Zt=ye==null?void 0:ye.exercise_types)==null?void 0:Zt.q_scores))),Wt.createElement("div",{className:nt.content},Wt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),Wt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),Wt.createElement("span",null,"\u9898\u578B\u603B\u5206"),Wt.createElement("span",null,"\u64CD\u4F5C")),(Cn=(Yn=ye==null?void 0:ye.exercise_question_types)==null?void 0:Yn.filter(An=>An.name!=="\u5B9E\u8BAD\u9898"&&An.name!=="\u7EC4\u5408\u9898"))==null?void 0:Cn.map(An=>{var mn;return Wt.createElement("div",{className:nt.items},Wt.createElement("span",null,An==null?void 0:An.name),Wt.createElement("span",null,(mn=An==null?void 0:An.items)==null?void 0:mn.length),Wt.createElement("span",null,An==null?void 0:An.score),Wt.createElement("span",null,"\u6BCF\u9898",Wt.createElement(we.Z,{max:100,precision:1,min:.1,onChange:Lt=>{An.Singlequestion=Lt},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Wt.createElement(Je.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:qt,width:640,closable:!1,className:nt.scoremodal},Wt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",Wt.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),Wt.createElement("div",{className:nt.bottom},Wt.createElement(Me.ZP,{className:nt.no,onClick:()=>{ht(!1)}},"\u53D6\u6D88"),Wt.createElement(Me.ZP,{className:nt.yes,onClick:()=>{rn(),ht(!1),ce(!1)}},"\u786E\u8BA4"))))},jn=ae(70868),kn=ae(92716),yt=ae(59301),ln=Object.defineProperty,zn=Object.defineProperties,Ha=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,Qa=(ce,Pe,ye)=>Pe in ce?ln(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,ca=(ce,Pe)=>{for(var ye in Pe||(Pe={}))Ua.call(Pe,ye)&&Qa(ce,ye,Pe[ye]);if(xa)for(var ye of xa(Pe))Xa.call(Pe,ye)&&Qa(ce,ye,Pe[ye]);return ce},Lr=(ce,Pe)=>zn(ce,Ha(Pe)),Ar=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())}),Qr=({qitem:ce,TagDiscipline:Pe,exerciseitem:ye,setisedit:pt,seveeditor:Zt,deleteitem:Yn,getTagData:Cn,init:qt,showTip:ht=!1})=>{var rn;const[An]=Be.default.useForm(),mn=!0;return(0,y.useEffect)(()=>{var Lt,Xt,Dn;An.setFieldsValue(Lr(ca({},ce),{standard_answers:ce.standard_answer,difficulty:(ce==null?void 0:ce.difficult)||2,item_banks_group_id:ce.item_banks_group_id,hack:Lr(ca({},ce),{time_limit:(ce==null?void 0:ce.time_limit)||3}),hack_codes:{language:(Lt=ce==null?void 0:ce.program_attr)==null?void 0:Lt.language,code:Ni.Base64.decode(((Xt=ce==null?void 0:ce.program_attr)==null?void 0:Xt.code)||"")},hack_sets:ca({},(Dn=ce==null?void 0:ce.hack_sets)==null?void 0:Dn[0]),repeat_answer:!ce.repeat_answer}))},[ce]),yt.createElement("div",null,yt.createElement(Be.default,{form:An,colon:!1,onValuesChange:(Lt,Xt)=>{var Dn,bn,Vn,xn;if(Lt!=null&&Lt.standard_answers){let Gn=((Dn=An.getFieldValue("standard_answers"))==null?void 0:Dn.length)>0&&((Vn=(bn=An.getFieldValue("standard_answers"))==null?void 0:bn.map(rr=>rr.score))==null?void 0:Vn.filter(rr=>rr));(Gn==null?void 0:Gn.length)>0&&An.setFieldsValue({question_score:(Gn==null?void 0:Gn.length)>0&&((xn=Gn.reduce((rr,Bn)=>rr+Bn))==null?void 0:xn.toFixed(1))})}},onFinish:Lt=>{var Xt;Zt(Lr(ca(ca({},ce),Lt),{item_type:ce==null?void 0:ce.question_type,standard_answers:(Xt=Lt.standard_answers)==null?void 0:Xt.map((Dn,bn)=>Lr(ca({},Dn),{position:bn+1})),hack_codes:Lr(ca({},Lt.hack_codes),{code:Ni.Base64.encode(Lt.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:Lt=>Ar(void 0,null,function*(){var Xt,Dn;Te.ZP.error(Lt.errorFields[0].errors[0]),An.scrollToField((Dn=(Xt=Lt==null?void 0:Lt.errorFields)==null?void 0:Xt[0])==null?void 0:Dn.name,{behavior:"smooth",block:"center"})})},yt.createElement("div",{style:{display:"flex",alignItems:"center"}},yt.createElement("div",{style:{flex:1}},yt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),yt.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((rn=ye==null?void 0:ye.exercise)==null?void 0:rn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&yt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Yn()}},yt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),yt.createElement(Me.ZP,{onClick:()=>{var Lt,Xt,Dn,bn;ce.isadd?(pt(!1),qt()):(An.setFieldsValue(Lr(ca({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:Lr(ca({},ce),{sub_discipline_id:(Lt=ye==null?void 0:ye.exercise)==null?void 0:Lt.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(Xt=ce==null?void 0:ce.program_attr)==null?void 0:Xt.language,code:Ni.Base64.decode((Dn=ce==null?void 0:ce.program_attr)==null?void 0:Dn.code)},hack_sets:ca({},(bn=ce==null?void 0:ce.hack_sets)==null?void 0:bn[0]),repeat_answer:!ce.repeat_answer})),pt(!1))}},"\u53D6\u6D88"),yt.createElement(tt.Z,{overlayClassName:nt.shake,open:ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:yt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},yt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},yt.createElement(Me.ZP,{className:"ml20",type:"primary",onClick:()=>{An.submit()}},"\u4FDD\u5B58"))),yt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},yt.createElement(tn.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),yt.createElement(kn.t,{form:An,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:mn,hackidentifier:ce==null?void 0:ce.hack_identifier,answerKey:"standard_answers"}),yt.createElement(lr,{getTagData:Cn,qitem:ce,exerciseitem:ye,TagDiscipline:Pe,form:An}))))},bo=ae(74128),Ro=ae(55242),zo=ae(87513),Bo=ae(89392),ro=ae(51686),co=ae(41348),Io=ae(90463),an=ae(59301),Co=Object.defineProperty,Yo=Object.defineProperties,pl=Object.getOwnPropertyDescriptors,il=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Sl=(ce,Pe,ye)=>Pe in ce?Co(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,fo=(ce,Pe)=>{for(var ye in Pe||(Pe={}))El.call(Pe,ye)&&Sl(ce,ye,Pe[ye]);if(il)for(var ye of il(Pe))nl.call(Pe,ye)&&Sl(ce,ye,Pe[ye]);return ce},Uo=(ce,Pe)=>Yo(ce,pl(Pe)),Xr=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())});const{confirm:Ol}=Je.default,al=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],Gl=({user:ce,dispatch:Pe,itemid:ye,setisedits:pt,exercise:Zt,setitemid:Yn})=>{var Cn,qt,ht,rn,An,mn,Lt,Xt,Dn,bn,Vn,xn,Gn,rr,Bn,Rt,Un,Ya,ja,ao,va,Ur,_r,Lo,oo,or,_o;const[ba,Or]=(0,y.useState)(),[ul,Wo]=(0,y.useState)(!1),[Rn,ml]=(0,y.useState)(),[kl,Nl]=(0,y.useState)(),Bl=(0,y.useRef)(),yo=(0,y.useRef)(),[er,Oo]=(0,y.useState)(),[Al,Fi]=(0,y.useState)(!1),[ol,Ml]=(0,y.useState)(!1),[Hl,bi]=(0,y.useState)(),[qr,Xo]=(0,y.useState)(!1),[Il,ll]=(0,y.useState)(!1),[zl,Yl]=(0,y.useState)(!1),[Vl,ci]=(0,y.useState)(!1),[Xl,oi]=(0,y.useState)(!1),[yl,vi]=(0,y.useState)(!1),To=(0,pe.useParams)(),[tu,Qi]=(0,y.useState)(!1),[Ui]=Be.default.useForm(),[as,Yi]=(0,y.useState)(!1),[rs,Su]=(0,y.useState)(!1),[Pu,nu]=(0,y.useState)(!1),[ql,Gi]=(0,y.useState)(!1),au=(0,y.useRef)();(0,y.useEffect)(()=>{ye&&Rl()},[ye]),(0,y.useEffect)(()=>{pt(ol)},[ol]),(0,y.useEffect)(()=>{Rn!=null&&Rn.question_id&&(Nl(Rn==null?void 0:Rn.question_score),yo.current=Rn==null?void 0:Rn.question_id)},[Rn]);const li=ta=>Xr(void 0,null,function*(){let mr=yield Pe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:ta}});Pe({type:"globalSetting/footerToggle",payload:!1}),bi(mr)});function Rl(){return Xr(this,null,function*(){var ta,mr,kr,vo,lo,jr;Fi(!0),Wo(!0);const $r=yield Pe({type:"exercise/editExercise",payload:{categoryId:ye}});Fi(!1),Wo(!1),Or($r),oi(!1),(ta=$r==null?void 0:$r.exercise)!=null&&ta.sub_discipline_id&&li((mr=$r==null?void 0:$r.exercise)==null?void 0:mr.sub_discipline_id),ml(Uo(fo({},(lo=(vo=(kr=$r==null?void 0:$r.exercise_question_types)==null?void 0:kr[0])==null?void 0:vo.items)==null?void 0:lo[0]),{index:1})),Oo(Uo(fo({},(jr=$r==null?void 0:$r.exercise_question_types)==null?void 0:jr[0]),{indexs:1}))})}function Bi(ta,mr=!0){return Xr(this,null,function*(){var kr,vo,lo,jr;mr&&(Fi(!0),Wo(!0));const $r=yield Pe({type:"exercise/editExercise",payload:{categoryId:ye}});Or($r);let wo=[];(kr=$r==null?void 0:$r.exercise_question_types)==null||kr.map(Wl=>{var pi;(pi=Wl==null?void 0:Wl.items)==null||pi.map((mu,fu)=>{wo.push(Uo(fo({},mu),{index:fu+1}))})});let jl=(vo=wo.filter(Wl=>Wl.question_id===(ta==null?void 0:ta.id)))==null?void 0:vo[0],Ti=(jr=((lo=$r==null?void 0:$r.exercise_question_types)==null?void 0:lo.map((Wl,pi)=>{if((jl==null?void 0:jl.question_type)===(Wl==null?void 0:Wl.question_type))return Uo(fo({},Wl),{indexs:pi+1})})).filter(Wl=>Wl))==null?void 0:jr[0];Oo(fo({},Ti)),ml(fo({},jl)),Nl(jl==null?void 0:jl.question_score),Fi(!1),Wo(!1),oi(!1)})}function Ci(ta){return Xr(this,null,function*(){var mr;let kr=Uo(fo({},ta),{repeat_answer:!ta.repeat_answer,difficulty:(ta==null?void 0:ta.difficulty)||2,item_type:ta.question_type,sub_discipline_id:((mr=ta==null?void 0:ta.sub_discipline_id)==null?void 0:mr[1])||"",tag_discipline_ids:[],hack:Uo(fo({},ta==null?void 0:ta.hack),{difficult:(ta==null?void 0:ta.difficulty)||2}),hack_identifier:sessionStorage.projectFill});ta.tag_discipline_ids&&(kr.tag_discipline_ids=Array.isArray(ta.tag_discipline_ids)?ta.tag_discipline_ids:[ta.tag_discipline_ids]);let vo=Xl?`/api/exercises/${ye}/exercise_questions`:`/api/exercise_questions/${ta==null?void 0:ta.question_id}.json`;if((ta==null?void 0:ta.is_my)===1){const lo=Ol({title:"\u63D0\u793A",content:an.createElement("div",null,an.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),an.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{lo.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Xr(this,null,function*(){kr.is_cover=1;let jr=yield(0,te.ZP)(vo,{method:Xl?"post":"PUT",body:fo({},kr)});(jr==null?void 0:jr.status)===0&&(Ml(!1),Bi({id:(jr==null?void 0:jr.exercise_question_id)||(ta==null?void 0:ta.question_id)})),lo.destroy()}),onCancel:()=>Xr(this,null,function*(){let jr=yield(0,te.ZP)(vo,{method:Xl?"post":"PUT",body:fo({},kr)});(jr==null?void 0:jr.status)===0&&(Ml(!1),Bi({id:(jr==null?void 0:jr.exercise_question_id)||(ta==null?void 0:ta.question_id)})),lo.destroy()})})}else{let lo=yield(0,te.ZP)(vo,{method:Xl?"post":"PUT",body:fo({},kr)});(lo==null?void 0:lo.status)===0&&(Ml(!1),Bi({id:(lo==null?void 0:lo.exercise_question_id)||(ta==null?void 0:ta.question_id)}))}(0,vt.Vf)("#question-scroll-id")})}function du(ta){return Xr(this,null,function*(){var mr,kr;Wo(!0);let vo=yield(0,te.ZP)(`/api/exercises/${ye}/sort_question_type.json`,{method:"post",body:{question_type:ta}});if(Wo(!1),(vo==null?void 0:vo.status)===0){const lo=yield Pe({type:"exercise/editExercise",payload:{categoryId:ye}});Or(lo),oi(!1),(mr=lo==null?void 0:lo.exercise)!=null&&mr.sub_discipline_id&&li((kr=lo==null?void 0:lo.exercise)==null?void 0:kr.sub_discipline_id)}})}const cu=(ta,mr,kr)=>Xr(void 0,null,function*(){var vo;if(ta.length===0){Te.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),kr();return}const lo={id:To==null?void 0:To.exerciseId,file:(vo=ta[0])==null?void 0:vo.file,sub_discipline_id:mr};Au(lo,`${bo.Z.API_SERVER}/api/courses/${To==null?void 0:To.coursesId}/exercises/import_exercise.json`,jr=>{var $r;if((jr==null?void 0:jr.status)===0){const wo={};($r=jr==null?void 0:jr.fail)==null||$r.forEach(gi=>{var Ti;((Ti=Object.keys(wo))==null?void 0:Ti.includes(gi.message))?wo[gi.message]=wo[gi.message]+1:wo[gi.message]=1});let jl=`\u6210\u529F\u5BFC\u5165${jr==null?void 0:jr.success}\u6761`;Object.keys(wo).forEach(gi=>{jl=jl+`,${gi}${wo[gi]}\u6761`}),Te.ZP.success(jl),Xo(!1),Rl()}(jr==null?void 0:jr.status)===-1&&(Te.ZP.error(jr==null?void 0:jr.message),kr())})}),ju=(ta,mr)=>Xr(void 0,null,function*(){ba.exercise_types.q_scores=Number(ba.exercise_types.q_scores)+Number(ta)-Number(mr==null?void 0:mr.question_score);const kr=yield(0,zo.zR)({score:(0,Bo.round)(ta,1),question_id:mr==null?void 0:mr.question_id});if((kr==null?void 0:kr.status)===0){Te.ZP.success("\u4FEE\u6539\u6210\u529F"),Bi({id:yo.current},!1);return}(kr==null?void 0:kr.status)===-1&&Nl(mr==null?void 0:mr.question_score)}),Mi=()=>{Gi(!0)};(0,y.useEffect)(()=>{if(ql){const ta=setTimeout(()=>{Gi(!1)},2e3);return()=>clearTimeout(ta)}},[ql]);const Au=(ta,mr,kr,vo,lo)=>{const jr=new FormData;Object.keys(ta).forEach(wo=>{jr.append(wo,ta[wo])});const $r=new window.XMLHttpRequest;return $r.withCredentials=!0,$r.addEventListener("load",function(wo){var jl;kr(JSON.parse((jl=wo==null?void 0:wo.target)==null?void 0:jl.response))},!1),$r.addEventListener("error",function(wo){lo&&lo(wo)},!1),$r.upload.onprogress=wo=>{vo&&vo(wo)},$r.open("POST",mr),$r.send(jr),$r};function Ri(){return Xr(this,null,function*(){Je.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:nt.modalconfirm,onOk:()=>Xr(this,null,function*(){if(Rn.question_id){let ta=yield(0,te.ZP)(`/api/exercise_questions/${Rn.question_id}.json`,{method:"delete"});(ta==null?void 0:ta.status)===0&&(Rl(),Ml(!1))}else ml({}),Ml(!1),Rl()}),cancelText:"\u53D6\u6D88"})})}const os=ta=>Xr(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${ye}/select_questions.json`,{method:"post",body:fo({},ta)})}),{overflow:ls,handleMouseEnter:Zu,handleMouseLeave:is}=(0,Ro.I)(),gu=(ta,mr)=>an.createElement(Ve.default,null,an.createElement(Ve.default.Item,{key:"0",onClick:()=>Gu(ta==null?void 0:ta.question_type)},an.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),an.createElement(Ve.default.Item,{key:"1",disabled:mr===0,onClick:()=>Xr(void 0,null,function*(){if(mr===0)return;if(ol){Mi();return}let kr=(0,vt.rz)(ba==null?void 0:ba.exercise_question_types,mr,mr-1);yield du(kr.map(vo=>vo.name))})},an.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),an.createElement(Ve.default.Item,{key:"2",disabled:mr===(ba==null?void 0:ba.exercise_question_types.length)-1,onClick:()=>Xr(void 0,null,function*(){if(mr===(ba==null?void 0:ba.exercise_question_types.length)-1)return;if(ol){Mi();return}let kr=(0,vt.rz)(ba==null?void 0:ba.exercise_question_types,mr,mr+1);yield du(kr.map(vo=>vo.name))})},an.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),an.createElement(Ve.default.Item,{key:"3",onClick:()=>{var kr;Ui.setFieldsValue({name:ta.name,item_type_en:(kr=al.find(vo=>vo.id==ta.question_type))==null?void 0:kr.nameType}),Yi(!0)}},an.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Gu=ta=>{var mr,kr,vo,lo,jr,$r,wo,jl,gi,Ti,Wl,pi,mu,fu,Hu,zu,vu,Vu,Wu,ru,xi,Fu,Qu,bu;if(ol){Mi();return}if(oi(!0),ta===5){Yl(!0),ci(!0);return}if(ta===6){let Bu=(kr=(mr=Zt==null?void 0:Zt.editData)==null?void 0:mr.exercise)!=null&&kr.set_question_sub_discipline?`/problems/newcreate?express_id=${(vo=ba==null?void 0:ba.exercise)==null?void 0:vo.id}&callback_url=/classrooms/${To.coursesId}/exercise/add/${ye}?type=2&discipline_id=${(jr=(lo=Zt==null?void 0:Zt.editData)==null?void 0:lo.exercise)==null?void 0:jr.discipline_id}&sub_discipline_id=${(wo=($r=Zt==null?void 0:Zt.editData)==null?void 0:$r.exercise)==null?void 0:wo.sub_discipline_id}`:`/problems/newcreate?express_id=${(jl=ba==null?void 0:ba.exercise)==null?void 0:jl.id}&callback_url=/classrooms/${To.coursesId}/exercise/add/${ye}?type=2`;pe.history.push(Bu);return}Ml(!0),ml(ta===2?{question_type:ta,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",question_title:"",tag_discipline_ids:[],discipline_id:(Ti=(gi=Zt==null?void 0:Zt.editData)==null?void 0:gi.exercise)!=null&&Ti.set_question_sub_discipline?(pi=(Wl=Zt==null?void 0:Zt.editData)==null?void 0:Wl.exercise)==null?void 0:pi.discipline_id:0,sub_discipline_id:(fu=(mu=Zt==null?void 0:Zt.editData)==null?void 0:mu.exercise)!=null&&fu.set_question_sub_discipline?(zu=(Hu=Zt==null?void 0:Zt.editData)==null?void 0:Hu.exercise)==null?void 0:zu.sub_discipline_id:0,analysis:""}:{question_type:ta,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Vu=(vu=Zt==null?void 0:Zt.editData)==null?void 0:vu.exercise)!=null&&Vu.set_question_sub_discipline?(ru=(Wu=Zt==null?void 0:Zt.editData)==null?void 0:Wu.exercise)==null?void 0:ru.discipline_id:0,sub_discipline_id:(Fu=(xi=Zt==null?void 0:Zt.editData)==null?void 0:xi.exercise)!=null&&Fu.set_question_sub_discipline?(bu=(Qu=Zt==null?void 0:Zt.editData)==null?void 0:Qu.exercise)==null?void 0:bu.sub_discipline_id:0,downcase:!0,no_space:!0})},yu=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Xo(!0)}},{key:2,label:an.createElement("div",null,an.createElement("img",{width:26,style:{position:"absolute",top:-2},src:co.$}),an.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(ol){Mi();return}Su(!0)}}];return console.log(er==null?void 0:er.question_type,Rn==null?void 0:Rn.question_type),an.createElement("div",null,an.createElement(Ut.Z,{spinning:Al},an.createElement("div",{className:nt.bg},((Cn=ba==null?void 0:ba.exercise_types)==null?void 0:Cn.q_counts)===0&&!ol&&an.createElement(Nn.Z,{styles:{marginTop:180},customText:an.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",an.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((qt=ba==null?void 0:ba.exercise_types)==null?void 0:qt.q_counts)>0||ol)&&an.createElement("div",{style:{textAlign:"center"}},an.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},an.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},an.createElement("div",{className:nt.left},an.createElement("div",{className:nt.leftAction},((ht=ba==null?void 0:ba.exercise)==null?void 0:ht.exercise_status)===1&&an.createElement(Me.ZP,{onClick:()=>{if(ol){Mi();return}ll(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),an.createElement("div",{className:nt.scrollWrapper,style:{overflow:ls},onMouseEnter:Zu,onMouseLeave:is},(rn=ba==null?void 0:ba.exercise_question_types)==null?void 0:rn.map((ta,mr)=>an.createElement("div",{key:mr,className:"mb30"},an.createElement("div",{className:nt.title},an.createElement("div",{className:nt.titleleft},an.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,vt.EM)(mr+1),"\u3001\u3010",ta.name,"\u3011"),an.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",ta.count,"\u5C0F\u9898\uFF0C\u5171",ta.score,"\u5206\uFF09")),an.createElement(be.Z,{dropdownRender:()=>gu(ta,mr),placement:"bottomLeft"},an.createElement("div",{className:nt.more_style},an.createElement("i",{className:"iconfont icon-sandian font12"})))),an.createElement(Za,{handleEditing:Mi,isedit:ol,setBigqitem:Oo,bigitem:Uo(fo({},ta),{indexs:mr+1}),setqitem:kr=>Xr(void 0,null,function*(){var vo;(vo=Bl.current)==null||vo.blur(),ml(kr)}),qitem:Rn,Itemid:ye,getdata:Bi,data:ta.items})))))),an.createElement("div",{id:"question-scroll-id",style:{overflow:ol?"hidden":"auto"},className:nt.right},!(Rn!=null&&Rn.isadd)&&an.createElement("div",{className:nt.title},!ol&&an.createElement("div",{style:{flex:1}},an.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(er==null?void 0:er.indexs)&&(0,vt.EM)(er==null?void 0:er.indexs),"\u3001\u3010",er==null?void 0:er.name,"\u3011"),an.createElement(tt.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},an.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var ta;Ui.setFieldsValue({name:er.name,item_type_en:(ta=al.find(mr=>mr.id==er.question_type))==null?void 0:ta.nameType}),Yi(!0)}})),an.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",er==null?void 0:er.count,"\u5C0F\u9898\uFF0C\u5171",er==null?void 0:er.score,"\u5206\uFF09"),(Rn==null?void 0:Rn.question_type)===6&&an.createElement("span",{onClick:()=>{Je.default.destroyAll(),nu(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Rn==null?void 0:Rn.question_type)===5&&an.createElement(Ye.default,{defaultChecked:(mn=(An=Zt==null?void 0:Zt.editData)==null?void 0:An.exercise)==null?void 0:mn.show_challenge_task_pass,onChange:ta=>Xr(void 0,null,function*(){let mr=yield(0,te.ZP)(`/api/exercises/${ye}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:ta.target.checked}});(mr==null?void 0:mr.status)===0&&(Te.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Bi({id:yo.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Rn==null?void 0:Rn.question_type)===6&&an.createElement("span",{style:{marginLeft:20},onClick:()=>{var ta,mr,kr,vo;Je.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:an.createElement("div",null,(Rn==null?void 0:Rn.question_type)===6&&an.createElement(Ye.default,{defaultChecked:(mr=(ta=Zt==null?void 0:Zt.editData)==null?void 0:ta.exercise)==null?void 0:mr.show_hack_sets,onChange:lo=>Xr(void 0,null,function*(){let jr=yield(0,te.ZP)(`/api/exercises/${ye}/update_show_columns.json`,{method:"post",body:{show_hack_sets:lo.target.checked}});(jr==null?void 0:jr.status)===0&&(Te.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Je.default.destroyAll(),Bi({id:yo.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),an.createElement("br",null),(Rn==null?void 0:Rn.question_type)===6&&an.createElement(Ye.default,{defaultChecked:(vo=(kr=Zt==null?void 0:Zt.editData)==null?void 0:kr.exercise)==null?void 0:vo.show_hack_description,onChange:lo=>Xr(void 0,null,function*(){let jr=yield(0,te.ZP)(`/api/exercises/${ye}/update_show_columns.json`,{method:"post",body:{show_hack_description:lo.target.checked}});(jr==null?void 0:jr.status)===0&&(Te.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Je.default.destroyAll(),Bi({id:yo.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),an.createElement("div",{style:{display:"flex",alignItems:"center"}},(Rn==null?void 0:Rn.question_type)===5&&!ol&&an.createElement("a",{className:nt.shixun,href:`/shixuns/${Rn==null?void 0:Rn.shixun_identifier}/challenges?exercise=true`,target:"_blank"},an.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!ol&&((Lt=ba==null?void 0:ba.exercise)==null?void 0:Lt.exercise_status)==1&&[0,1,2,4,6].includes(Rn==null?void 0:Rn.question_type)&&an.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},an.createElement(we.Z,{precision:1,ref:Bl,onChange:ta=>Nl(ta),value:kl,onBlur:ta=>{ju(ta.target.value,Rn)}})),!ol&&((Xt=ba==null?void 0:ba.exercise)==null?void 0:Xt.exercise_status)==1&&an.createElement(tt.Z,{title:"\u5220\u9664"},an.createElement("i",{onClick:()=>{Ri()},style:{marginRight:20},className:`${nt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(Rn==null?void 0:Rn.question_type)!==5&&!ol&&an.createElement(an.Fragment,null,(Rn==null?void 0:Rn.is_my)==1&&an.createElement(tt.Z,{title:"\u67E5\u770B\u539F\u9898"},an.createElement("i",{className:`${nt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(Rn==null?void 0:Rn.question_type)==6?window.open(`/problems/newedit/${Rn==null?void 0:Rn.item_bank_hack_identifier}`):(Rn==null?void 0:Rn.question_type)==8?window.open(`/problemset/edit/${Rn==null?void 0:Rn.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${Rn==null?void 0:Rn.item_bank_id}`)}})),an.createElement(tt.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},an.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{au.current=[],Je.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:an.createElement("div",{className:`font14 ${nt.overflow}`,style:{maxHeight:500,overflow:"auto"}},an.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),an.createElement(Ut.Z,{spinning:!1},an.createElement(ro.Z,{defaultValue:!0,value:au.current,onChange:ta=>au.current=ta}))),onOk:()=>Xr(void 0,null,function*(){var ta;(0,zo.$l)({id:Rn==null?void 0:Rn.question_id,group_id:((ta=au==null?void 0:au.current)==null?void 0:ta[0])||""}).then(mr=>{(mr==null?void 0:mr.status)==0&&(Te.ZP.success("\u52A0\u5165\u6210\u529F"),Rl())})})})}}))),!ol&&(((Dn=ba==null?void 0:ba.exercise)==null?void 0:Dn.exercise_status)==1||((bn=ba==null?void 0:ba.exercise)==null?void 0:bn.exercise_status)==2&&((xn=(Vn=ce.userInfo)==null?void 0:Vn.course)==null?void 0:xn.course_role)!=15||((Gn=ba==null?void 0:ba.exercise)==null?void 0:Gn.exercise_status)==3&&((Bn=(rr=ce.userInfo)==null?void 0:rr.course)==null?void 0:Bn.course_role)!=15||((Rt=ba==null?void 0:ba.exercise)==null?void 0:Rt.exercise_status)==4&&((Ya=(Un=ce.userInfo)==null?void 0:Un.course)==null?void 0:Ya.course_role)!=15)&&an.createElement(tt.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},an.createElement("i",{onClick:()=>{(Rn==null?void 0:Rn.question_type)===6?pe.history.push(`/problems/newedit/${Rn==null?void 0:Rn.hack_identifier}?type=exercises&express_id=${To.exerciseId}&question_id=${Rn==null?void 0:Rn.question_id}&score=${Rn==null?void 0:Rn.question_score}&exercise=true&callback_url=/classrooms/${To.coursesId}/exercise/add/${ye}?type=2`):Ml(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!ol&&an.createElement("div",null,an.createElement("div",{className:nt.qcount},an.createElement("span",{className:nt.score},Rn==null?void 0:Rn.question_score,"\u5206"),an.createElement(Ft.Z,{className:nt.qtitle,value:(Rn==null?void 0:Rn.index)+`\u3001${(Rn==null?void 0:Rn.question_type)==8?(ja=Rn==null?void 0:Rn.program_attr)==null?void 0:ja.description:Rn==null?void 0:Rn.question_title}`}),(Rn==null?void 0:Rn.high_resources_consume)&&an.createElement(Io.Z,{type:"shixun",style:{marginLeft:10}})),(Rn==null?void 0:Rn.question_type)===6&&an.createElement(bt.Z,{onEdit:()=>nu(1),className:"mt10",dataSource:(Rn==null?void 0:Rn.languages)||[]}),an.createElement(es,{exercise:Zt,TagDiscipline:Hl,qitem:Rn})),ol&&an.createElement("div",null,(Rn==null?void 0:Rn.question_type)<=1&&an.createElement(kt,{deleteitem:Ri,getTagData:li,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,init:Rl,showTip:ql}),(Rn==null?void 0:Rn.question_type)===5&&an.createElement(Ru,{setqitem:ml,deleteitem:Ri,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,showTip:ql}),(Rn==null?void 0:Rn.question_type)===3&&an.createElement(Ia,{deleteitem:Ri,getTagData:li,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,init:Rl,showTip:ql}),(Rn==null?void 0:Rn.question_type)===2&&an.createElement(ka,{deleteitem:Ri,getTagData:li,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,init:Rl,showTip:ql}),(Rn==null?void 0:Rn.question_type)===4&&an.createElement(zt,{deleteitem:Ri,getTagData:li,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,init:Rl,showTip:ql}),(Rn==null?void 0:Rn.question_type)===7&&an.createElement(Iu,{deleteitem:Ri,getTagData:li,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,init:Rl,showTip:ql}),(Rn==null?void 0:Rn.question_type)===8&&an.createElement(Qr,{deleteitem:Ri,getTagData:li,seveeditor:Ci,exerciseitem:ba,TagDiscipline:Hl,setisedit:Ml,qitem:Rn,init:Rl,showTip:ql}))))))),an.createElement("div",{className:nt.bottomdiv},an.createElement("div",{className:nt.exercise_styles},((ao=ba==null?void 0:ba.exercise)==null?void 0:ao.exercise_status)==1&&an.createElement(an.Fragment,null,an.createElement("span",{className:nt.spanBtn,onClick:()=>{if(ol){Mi();return}Yl(!0),ci(!1)}},"\u9898\u5E93\u9009\u9898"),an.createElement(be.Z,{menu:{items:yu}},an.createElement("span",{className:nt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),an.createElement("span",{className:nt.spanBtn,onClick:()=>Xr(void 0,null,function*(){var ta;let mr=yield(0,te.ZP)(`/api/exercises/${To==null?void 0:To.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:To==null?void 0:To.coursesId,categoryId:To==null?void 0:To.exerciseId}});(mr==null?void 0:mr.status)!=-1&&window.open(`/classrooms/${To==null?void 0:To.coursesId}/exercise/${To==null?void 0:To.exerciseId}/${(ta=ce.userInfo)==null?void 0:ta.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),an.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${To==null?void 0:To.coursesId}/exercise/${To==null?void 0:To.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),al==null?void 0:al.map(ta=>an.createElement(Me.ZP,{className:nt.addQuestionBtn,key:ta.id,type:"primary",onClick:()=>{Gu(ta.id)}},ta.name))),((va=ba==null?void 0:ba.exercise)==null?void 0:va.exercise_status)!=1&&an.createElement(an.Fragment,null,an.createElement("span",{style:{width:"1022px"}})),an.createElement("span",{className:nt.saveBtn,onClick:()=>Xr(void 0,null,function*(){var ta,mr,kr;if(ol){Mi();return}const vo=Number(ba.exercise_types.q_scores);[100,120,150].includes(vo)||(yield new Promise(($r,wo)=>{Je.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:an.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",an.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},vo),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>Xr(void 0,null,function*(){$r("")}),onCancel:()=>{wo()}})}));let lo=(mr=(ta=ba==null?void 0:ba.exercise_question_types)==null?void 0:ta.filter($r=>$r.question_type===5)[0])==null?void 0:mr.items,jr=0;lo==null||lo.map($r=>{$r.high_resources_consume&&(jr=jr+1)}),console.log(jr),jr>0?Pe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:jr,fn:()=>{var $r;(($r=ba==null?void 0:ba.exercise)==null?void 0:$r.exercise_status)==1?(Te.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${To==null?void 0:To.coursesId}/exercise/${ye}/detail?random=false&tabs=3`),vi(!1)):pe.history.back()}}}):((kr=ba==null?void 0:ba.exercise)==null?void 0:kr.exercise_status)==1?(Te.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${To==null?void 0:To.coursesId}/exercise/${ye}/detail?random=false&tabs=3`),vi(!1)):pe.history.back()})},an.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),an.createElement(gn,{setScoreShow:ll,ScoreShow:Il,exerciseitem:ba,getdata:Rl}),zl&&an.createElement(jn.Z,{setScoreShow:Yl,isshixuns:Vl,isloadings:tu,ScoreShow:zl,onOk:(ta,mr,kr,vo,lo)=>Xr(void 0,null,function*(){Qi(!0);let $r=yield os({exam_id:ye,item_bank_ids:ta,shixun_ids:mr,shixun_copy_ids:lo});Qi(!1),($r==null?void 0:$r.status)===0&&Je.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{Rl()},onCancel:()=>{Yl(!1),Rl()}})})}),an.createElement(su.Z,{sub_discipline_id:(Ur=ba==null?void 0:ba.exercise)!=null&&Ur.sub_discipline_id?[(_r=ba==null?void 0:ba.exercise)==null?void 0:_r.discipline_id,(Lo=ba==null?void 0:ba.exercise)==null?void 0:Lo.sub_discipline_id]:[],visible:qr,onCancel:()=>Xo(!1),onOk:cu}),an.createElement(Je.default,{title:"\u63D0\u793A",open:yl,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:an.createElement("div",null,an.createElement(Me.ZP,{onClick:()=>{vi(!1),pe.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),an.createElement(Me.ZP,{type:"primary",onClick:()=>{pe.history.push(`/classrooms/${To==null?void 0:To.coursesId}/exercise/${ye}/detail?random=false&tabs=3`),vi(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{vi(!1)}},an.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),an.createElement(Je.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:as,width:500,onOk:()=>Ui.submit(),onCancel:()=>Yi(!1)},an.createElement(Be.default,{form:Ui,initialValues:{},onFinish:ta=>Xr(void 0,null,function*(){(yield(0,zo.RK)(fo({id:ye},ta))).status==0&&(Te.ZP.success("\u4FEE\u6539\u6210\u529F"),Rl(),Yi(!1))})},an.createElement(Be.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(ta,mr){var kr,vo,lo,jr;const $r=(kr=al==null?void 0:al.find(wo=>wo.nameType==Ui.getFieldValue("item_type_en")))==null?void 0:kr.id;return(jr=(lo=(vo=ba==null?void 0:ba.exercise_question_types)==null?void 0:vo.filter(wo=>wo.question_type!=$r))==null?void 0:lo.map(wo=>wo==null?void 0:wo.name))!=null&&jr.includes(mr)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},an.createElement(We.default,{size:"large",maxLength:10,showCount:!0})),an.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},an.createElement(We.default,{size:"large"})))),an.createElement(Jt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:rs},an.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),an.createElement(co.Z,{stickyTop:-24,subDisciplineId:(oo=ba==null?void 0:ba.exercise)!=null&&oo.sub_discipline_id?[(or=ba==null?void 0:ba.exercise)==null?void 0:or.discipline_id,(_o=ba==null?void 0:ba.exercise)==null?void 0:_o.sub_discipline_id]:[],onCancel:()=>Su(!1),mode:3,gather:{exercise_id:ye},onSuccess:()=>{Su(!1),Rl()}}),an.createElement("div",{style:{height:70}})),an.createElement(bt.Q,{visible:!!Pu,setVisible:nu,tip:Pu===2&&"\u8BBE\u7F6E\u5DF2\u6DFB\u52A0\u5728\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u6240\u5141\u8BB8\u4F7F\u7528\u7684\u7F16\u7A0B\u8BED\u8A00",dataSource:Pu===1?Rn==null?void 0:Rn.languages:[],onOk:ta=>Xr(void 0,null,function*(){const mr={languages:ta};Pu===1?mr.hack_id=Rn==null?void 0:Rn.hack_id:mr.exercise_id=ye,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:mr})).status===0&&(Te.ZP.success("\u4FEE\u6539\u6210\u529F"),Bi({id:yo.current}),nu(!1))})}))};var _l=(0,pe.connect)(({user:ce,exercise:Pe,dispatch:ye})=>({user:ce,exercise:Pe,dispatch:ye}))(Gl),zr=ae(99462),$o=ae(56355),el=ae(12586),Fl=ae(87169),Ll=ae(24100),Da=ae(59301),Pl=Object.defineProperty,di=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,bl=Object.getOwnPropertySymbols,yi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,Oi=(ce,Pe,ye)=>Pe in ce?Pl(ce,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ce[Pe]=ye,rl=(ce,Pe)=>{for(var ye in Pe||(Pe={}))yi.call(Pe,ye)&&Oi(ce,ye,Pe[ye]);if(bl)for(var ye of bl(Pe))Zi.call(Pe,ye)&&Oi(ce,ye,Pe[ye]);return ce},Tl=(ce,Pe)=>di(ce,ai(Pe)),Ql=(ce,Pe)=>{var ye={};for(var pt in ce)yi.call(ce,pt)&&Pe.indexOf(pt)<0&&(ye[pt]=ce[pt]);if(ce!=null&&bl)for(var pt of bl(ce))Pe.indexOf(pt)<0&&Zi.call(ce,pt)&&(ye[pt]=ce[pt]);return ye},ri=(ce,Pe,ye)=>new Promise((pt,Zt)=>{var Yn=ht=>{try{qt(ye.next(ht))}catch(rn){Zt(rn)}},Cn=ht=>{try{qt(ye.throw(ht))}catch(rn){Zt(rn)}},qt=ht=>ht.done?pt(ht.value):Promise.resolve(ht.value).then(Yn,Cn);qt((ye=ye.apply(ce,Pe)).next())});const fi=ce=>{var Pe=ce,{classroomList:ye,globalSetting:pt,problemset:Zt,loading:Yn,exercise:Cn,user:qt,dispatch:ht}=Pe,rn=Ql(Pe,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),An,mn,Lt,Xt,Dn,bn,Vn,xn,Gn,rr,Bn,Rt,Un,Ya;const ja=(0,pe.useParams)(),[ao,va]=(0,y.useState)(!1),{userInfo:Ur}=qt,[_r]=Be.default.useForm();let[Lo,oo]=(0,y.useState)({});const[or,_o]=(0,y.useState)(1),[ba,Or]=(0,y.useState)(""),[ul]=(0,pe.useSearchParams)(),[Wo,Rn]=(0,y.useState)(!1),[ml,kl]=(0,y.useState)(!1),[Nl,Bl]=(0,y.useState)(!1),[yo,er]=(0,y.useState)(""),[Oo,Al]=(0,y.useState)(!1),[Fi,ol]=(0,y.useState)(!1);(0,y.useEffect)(()=>{ht({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:ja==null?void 0:ja.coursesId}}),ht({type:"globalSetting/footerToggle",payload:!1}),_r.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,y.useEffect)(()=>{ja.exerciseId&&ri(void 0,null,function*(){var qr,Xo,Il;const ll=yield ht({type:"exercise/editExercise",payload:{categoryId:ja.exerciseId}});(ll==null?void 0:ll.status)!==-1&&(((qr=ll==null?void 0:ll.exercise)==null?void 0:qr.exercise_status)===2||((Xo=ll==null?void 0:ll.exercise)==null?void 0:Xo.exercise_status)===3||((Il=ll==null?void 0:ll.exercise)==null?void 0:Il.exercise_status)===4?Bl(!0):Bl(!1))})},[ja]),(0,y.useEffect)(()=>{if(ja.exerciseId){let qr=Cn.editData.exercise;ol(qr==null?void 0:qr.set_question_sub_discipline),_r.setFieldsValue(Tl(rl({},qr),{courseid:qr!=null&&qr.sub_discipline_id?[qr==null?void 0:qr.discipline_id,qr==null?void 0:qr.sub_discipline_id]:[]}))}},[Cn]),(0,y.useEffect)(()=>{ul.get("type")==="2"&&(Or(ja.exerciseId),_o(2))},[ul.get("type")]),(0,y.useEffect)(()=>{var qr;let Xo=(qr=Zt==null?void 0:Zt.disciplinesData)==null?void 0:qr.checked;Xo!=null&&Xo.sub_discipline_id&&_r.setFieldsValue({courseid:[Xo==null?void 0:Xo.discipline_id,Xo==null?void 0:Xo.sub_discipline_id]})},[(An=Zt==null?void 0:Zt.disciplinesData)==null?void 0:An.checked]);function Ml(qr,Xo){return ri(this,null,function*(){var Il,ll,zl,Yl;yield _r.validateFields();const Vl=_r.getFieldsValue(),{courseid:ci}=Vl,[Xl,oi]=ci;Vl.sub_discipline_id=oi,Vl.is_md=!0,Vl.time=parseInt(Vl.time)>9999?9999:Vl.time;const yl=yield ht({type:"exercise/addExercise",payload:rl(rl({},Vl),ja)});yl.status===0?(yield(0,te.ZP)(`/api/courses/${ja==null?void 0:ja.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:ja==null?void 0:ja.coursesId,id:(Il=yl==null?void 0:yl.data)==null?void 0:Il.exercise_id,time:qr}}),bi((ll=yl.data)==null?void 0:ll.exercise_id),Or((zl=yl==null?void 0:yl.data)==null?void 0:zl.exercise_id),_o(2),Rn(!1),pe.history.replace(`/classrooms/${ja.coursesId}/exercise/add/${(Yl=yl.data)==null?void 0:Yl.exercise_id}?type=2`)):Te.ZP.error(yl.message),Xo()})}function Hl(qr){oo(rl({},qr))}function bi(qr){return ri(this,null,function*(){if(!(Lo!=null&&Lo.ec_point_ids))return;const Xo=rl({},Lo);delete Xo.id;let Il=yield(0,te.ZP)(`/api/ec_courses/${Lo==null?void 0:Lo.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:rl({exercise_id:qr},Xo)})})}return Da.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Da.createElement("section",{className:"edu-container"},Da.createElement("section",{className:"animated fadeIn"},Da.createElement("aside",{className:"mt10"},Ur&&Da.createElement(ke.Z,{separator:">"},Da.createElement(ke.Z.Item,null,Da.createElement(pe.Link,{to:`/classrooms/${ja.coursesId}/exercise`},(mn=Ur==null?void 0:Ur.course)==null?void 0:mn.course_name)),Da.createElement(ke.Z.Item,null,Da.createElement(pe.Link,{to:`/classrooms/${ja.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),Da.createElement(ke.Z.Item,null,ja.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),ja.exerciseId&&Da.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Da.createElement(Fl.Z,{style:{marginRight:5,color:"#E99237"}}),Da.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Da.createElement("span",{className:Ge.addQuestionBtn,onClick:()=>{ht({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ja.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Da.createElement(el.Z,{haveInit:!0,init:()=>{er(new Date)}}),Da.createElement("div",{className:"bg-white"},Da.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Da.createElement("div",{onClick:()=>{if(ml){Te.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}_o(1)},className:or===1?Ge.selectdiv:Ge.divitem},Da.createElement(zr.Z,{number:1,active:or===1,className:"mr10"}),Da.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Da.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Da.createElement("div",{onClick:()=>{if(!ja.exerciseId&&!ba){Te.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}_o(2),!ba&&Or(ja.exerciseId)},className:or!==1?Ge.selectdiv:Ge.divitem},Da.createElement(zr.Z,{number:2,active:or!==1,className:"mr10"}),Da.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),or===2&&Da.createElement("div",{className:"tc"},Da.createElement($o.Z,{defaultValue:(Xt=(Lt=Cn==null?void 0:Cn.editData)==null?void 0:Lt.exercise)==null?void 0:Xt.exercise_name,onFinish:qr=>ri(void 0,null,function*(){var Xo,Il,ll,zl,Yl,Vl,ci,Xl,oi,yl,vi,To;return qr.trim()===((Il=(Xo=Cn==null?void 0:Cn.editData)==null?void 0:Xo.exercise)==null?void 0:Il.exercise_name)?!0:(yield(0,zo.wy)({exercise_name:qr,exercise_description:(zl=(ll=Cn==null?void 0:Cn.editData)==null?void 0:ll.exercise)==null?void 0:zl.exercise_description,sub_discipline_id:(Vl=(Yl=Cn==null?void 0:Cn.editData)==null?void 0:Yl.exercise)==null?void 0:Vl.sub_discipline_id,time:(Xl=(ci=Cn==null?void 0:Cn.editData)==null?void 0:ci.exercise)==null?void 0:Xl.time,exerciseId:(yl=(oi=Cn.editData)==null?void 0:oi.exercise)==null?void 0:yl.id,difficulty:(To=(vi=Cn.editData)==null?void 0:vi.exercise)==null?void 0:To.difficulty})).status===0?(_r.setFieldValue("exercise_name",qr),!0):!1})}),Da.createElement("div",{style:{fontSize:14}},Da.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Da.createElement("span",{style:{color:"#000000",marginLeft:8}},((bn=(Dn=Cn==null?void 0:Cn.editData)==null?void 0:Dn.exercise)==null?void 0:bn.time)||"\u4E0D\u9650")),Da.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Da.createElement("span",{style:{color:"#000000",marginLeft:8}},((xn=(Vn=Cn==null?void 0:Cn.editData)==null?void 0:Vn.exercise)==null?void 0:xn.difficulty)===1?"\u7B80\u5355":((rr=(Gn=Cn==null?void 0:Cn.editData)==null?void 0:Gn.exercise)==null?void 0:rr.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Da.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Da.createElement("span",{style:{color:"#000000",marginLeft:8}},((Rt=(Bn=Cn==null?void 0:Cn.editData)==null?void 0:Bn.exercise_types)==null?void 0:Rt.q_counts)||0)),Da.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Da.createElement("span",{style:{color:"#000000",marginLeft:8}},(Ya=(Un=Cn==null?void 0:Cn.editData)==null?void 0:Un.exercise_types)==null?void 0:Ya.q_scores))))),or===1&&Da.createElement("div",null,Da.createElement("section",{className:[Ge.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Da.createElement(Be.default,{form:_r,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:qr=>ri(void 0,null,function*(){var Xo,Il,ll,zl,Yl;if(va(!0),Rn(!0),ja.exerciseId){qr.exerciseId=(Il=(Xo=Cn.editData)==null?void 0:Xo.exercise)==null?void 0:Il.id,qr.sub_discipline_id=qr.courseid[qr.courseid.length-1],yield(0,zo.wy)(Tl(rl({},qr),{set_question_sub_discipline:Fi})),_o(2),bi(ja==null?void 0:ja.exerciseId),Or(ja.exerciseId),va(!1),Rn(!1);return}const Vl=yield(0,te.ZP)(`/api/courses/${ja==null?void 0:ja.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:ja==null?void 0:ja.coursesId}});if(Vl!=null&&Vl.alert)ht({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:ci}=qr,[Xl,oi]=ci;qr.sub_discipline_id=oi,qr.is_md=!0,qr.time=parseInt(qr.time)>9999?9999:qr.time,qr.set_question_sub_discipline=Fi;const yl=yield ht({type:"exercise/addExercise",payload:Tl(rl(rl({},qr),ja),{category_id:ul.get("catalogue")||null})});yl.status===0&&(bi((ll=yl.data)==null?void 0:ll.exercise_id),pe.history.replace(`/classrooms/${ja.coursesId}/exercise/add/${(zl=yl.data)==null?void 0:zl.exercise_id}?type=2`),Or((Yl=yl==null?void 0:yl.data)==null?void 0:Yl.exercise_id),_o(2)),Rn(!1)}va(!1)}),className:Ge.formWrap},Da.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Ge.baseLineHeight,rules:[{required:!0,validator:(qr,Xo)=>{var Il;return((Il=Xo==null?void 0:Xo.replaceAll(" ",""))==null?void 0:Il.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Da.createElement(We.default,{maxLength:60,className:Ge.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Da.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Ge.baseLineHeight},Da.createElement(xe.Z,{disabled:Nl,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Zt.courseOptions,className:Ge.baseFormItem,size:"large",popupClassName:Ge.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),Da.createElement("div",{className:Ge.concat},Da.createElement("div",null,Da.createElement(Ye.default,{checked:Fi,onChange:qr=>{ol(qr.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),Da.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Da.createElement("a",{onClick:()=>Al(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Da.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Ge.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Da.createElement(Ne.ZP.Group,{className:Ge.radiogroup,disabled:Nl},Da.createElement(Ne.ZP.Button,{className:Ge.easy,value:1},"\u7B80\u5355"),Da.createElement(Ne.ZP.Button,{className:Ge.medium,value:2},"\u9002\u4E2D"),Da.createElement(Ne.ZP.Button,{className:Ge.hard,value:3},"\u56F0\u96BE"))),Da.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Ge.baseLineHeight},Da.createElement("div",{style:{display:"flex",width:"100%"}},Da.createElement(Be.default.Item,{name:"time",noStyle:!0},Da.createElement(we.Z,{disabled:Nl,min:1,max:9999,className:Ge.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Da.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Da.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Da.createElement(We.default.TextArea,{disabled:Nl,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),Da.createElement(Sn,{exercise_id:ja==null?void 0:ja.exerciseId,setitem:Hl})),Da.createElement("div",{className:Ge.bottmodiv},Da.createElement(Me.ZP,{className:`${Ge.cancelBtn}`,type:"primary",onClick:()=>{pe.history.back()}},"\u53D6\u6D88"),Da.createElement(Me.ZP,{loading:Wo,onClick:()=>{_r.validateFields(),_r.submit()},type:"primary",className:`${Ge.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),Da.createElement(z,{setsubloading:Rn,onModalOk:Ml})),or===2&&Da.createElement("div",null,Da.createElement(_l,{key:yo,setisedits:kl,setitemid:Or,itemid:ba}))),Da.createElement(Ll.Z,{open:Oo,onCancel:()=>{Al(!1)}}))};var Ul=(0,pe.connect)(({classroomList:ce,loading:Pe,user:ye,problemset:pt,globalSetting:Zt,exercise:Yn})=>({classroomList:ce,globalSetting:Zt,problemset:pt,user:ye,exercise:Yn,loading:Pe.effects}))(fi)},36306:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Ke}});var y=ae(78241),pe=ae(8591),Be=ae(43418),Te=ae(71418),ke=ae(6848),We=ae(57809),xe=ae(5112),Ye=ae(92832),Ne=ae(1710),we=ae(59301),Me=ae(65582),Ge=ae(38147),Je=ae(65862),ie={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=ae(41867),a=ae(96565),x=ae(6339),b=ae(59301),z=Object.defineProperty,te=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Ce=(ze,qe,Ae)=>qe in ze?z(ze,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):ze[qe]=Ae,Qe=(ze,qe)=>{for(var Ae in qe||(qe={}))le.call(qe,Ae)&&Ce(ze,Ae,qe[Ae]);if(ue)for(var Ae of ue(qe))Ee.call(qe,Ae)&&Ce(ze,Ae,qe[Ae]);return ze},De=(ze,qe)=>te(ze,oe(qe)),st=(ze,qe,Ae)=>new Promise((gt,mt)=>{var xt=dn=>{try{fn(Ae.next(dn))}catch(Qt){mt(Qt)}},Et=dn=>{try{fn(Ae.throw(dn))}catch(Qt){mt(Qt)}},fn=dn=>dn.done?gt(dn.value):Promise.resolve(dn.value).then(xt,Et);fn((Ae=Ae.apply(ze,qe)).next())});const Re=({shixunHomeworks:ze,exercise:qe,loading:Ae,dispatch:gt})=>{var mt,xt,Et;const{commonHeader:fn}=qe,[dn,Qt]=(0,we.useState)([]),[rt,Ie]=(0,we.useState)(De(Qe({},(0,Me.useParams)()),{page:1,limit:10})),[at,Tt]=(0,we.useState)([]),[Sn,Ve]=(0,we.useState)(""),[Ut,be]=(0,we.useState)(1),[tt]=y.default.useForm(),[Jt,nt]=(0,we.useState)({}),[vt,Nn]=(0,we.useState)(null),[bt,St]=(0,we.useState)(!1),[Ft,it]=(0,we.useState)([]),[In,Yt]=(0,we.useState)(null),[_n,Ea]=(0,we.useState)(0),[Wn,sn]=(0,we.useState)(0),[Hn,Aa]=(0,we.useState)(!1),za=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Mt,en,ya)=>(rt.page-1)*rt.limit+ya+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Mt=>Mt||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Mt,en)=>b.createElement("div",{className:ie.banding,title:Mt||"--"},Mt||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Mt,en)=>Mt===0?b.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Mt===1?b.createElement("span",{style:{color:"#DF3042"}},!en.is_make_up&&"\u8003\u8BD5\u4E2D",en.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Mt===2?b.createElement("span",{style:{color:"#5AB891"}},!en.is_make_up&&!en.is_force_commit&&"\u5DF2\u4EA4\u5377",en.is_make_up&&!en.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",en.is_make_up&&en.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!en.is_make_up&&en.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):b.createElement("span",{style:{color:"#5AB891"}},!en.is_make_up&&!en.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",en.is_make_up&&!en.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",en.is_make_up&&en.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!en.is_make_up&&en.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(fn==null?void 0:fn.exercise_type)==2&&!(0,E.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Mt,en)=>en.commit_status===0||en.commit_status===1?"--":!en.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Mt=typeof Mt=="number"?Number(Mt):Mt,console.log(typeof Mt),Mt||(Mt=0),Mt===100?b.createElement("span",{className:"c-green"},Mt):Mt>60?b.createElement("span",{className:"c-orange"},Mt):Mt==Wn*.6?b.createElement("span",{className:"c-red"},Mt):b.createElement("span",null,Mt))}].filter(Mt=>!!Mt);(0,we.useEffect)(()=>{var Mt;((Mt=qe.actionTabs)==null?void 0:Mt.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(it([]),Yt(null),wa(),Za(rt))},[(mt=qe.actionTabs)==null?void 0:mt.key]);const wa=()=>st(void 0,null,function*(){var Mt;if(!((Mt=qe.actionTabs)!=null&&Mt.showSelectQuestion))return;const en=yield(0,Ge.ZP)(`/api/exercises/${rt==null?void 0:rt.categoryId}/all_subj_questions.json`,{method:"get"});en.status==0&&it(en.data)}),Ka=(Mt,en)=>{rt.page=Mt,rt.limit=en,Ie(Qe({},rt)),Za(rt)},Za=Mt=>st(void 0,null,function*(){Aa(!0);const en=yield(0,Ge.ZP)(`/api/exercises/${rt.categoryId||(rt==null?void 0:rt.exerciseId)}/exercise_users.json`,{method:"get",params:Mt});en.status==0&&(Ea(en.data.total_count),Ie(De(Qe({},rt),{total:en.data.total_count})),Qt(en.data.exercise_users),sn(en.data.total_score)),Aa(!1)}),La=Mt=>{rt.search=Mt,rt.page=1,tt.resetFields(),nt({}),Tt([]),Nn(null),Ie(Qe({},rt)),Za(rt)},Ja=Mt=>st(void 0,null,function*(){var en,ya;const lr=Qe({},Jt);if(!((en=Mt==null?void 0:Mt.content)!=null&&en.trim())){pe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}lr.content=Mt==null?void 0:Mt.content,lr.attachment_ids=(ya=Mt==null?void 0:Mt.attachment_ids)==null?void 0:ya.map(ir=>ir.response.id),Sa(lr)}),Sa=Mt=>st(void 0,null,function*(){var en;St(!0);const{showSelectQuestion:ya,ai_review_settings:lr}=qe.actionTabs,ir=yield(0,Ge.ZP)(`/api/exercises/${(rt==null?void 0:rt.categoryId)||(rt==null?void 0:rt.exerciseId)}/test_ai_review.json`,{method:"post",body:De(Qe({},Mt),{exercise_question_id:ya?In:(en=qe.actionTabs)==null?void 0:en.questionId,ai_review_settings:lr})});if([0,-3].includes(ir.status)){ir.status==0&&pe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),Nn(ir);const nr=document.querySelector(".modal-ai-pfcs");if(nr){const Ga=nr.querySelector(".ant-modal-body");Ga&&(Ga.scrollTop=Ga.scrollHeight)}}St(!1)}),hn=()=>{gt({type:"exercise/setActionTabs",payload:{key:""}}),be(1),ga()},ga=()=>{tt.resetFields(),nt({}),Tt([]),Ve(""),Nn(null)};return b.createElement(Be.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:bt,open:((xt=qe.actionTabs)==null?void 0:xt.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>hn(),okText:vt?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Mt;if((Mt=qe.actionTabs)!=null&&Mt.showSelectQuestion&&!In)return pe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(Ut==1){if(at.length==0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");Sa({exercise_user_id:at[0]})}else Ut==2&&tt.submit()}},b.createElement(Te.Z,{spinning:bt,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((Et=qe.actionTabs)==null?void 0:Et.showSelectQuestion)&&b.createElement("div",{className:"flex item-center justify-between mb10"},b.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},b.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",b.createElement(ke.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},b.createElement("i",{className:`iconfont icon-tishixiaowenhao ${ie.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),b.createElement(We.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:In,onChange:Mt=>Yt(Mt)},Ft==null?void 0:Ft.map(Mt=>b.createElement(We.default.Option,{key:Mt==null?void 0:Mt.id,value:Mt==null?void 0:Mt.id},Mt==null?void 0:Mt.question_title)))),b.createElement("div",{className:ie.radio_con},b.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),b.createElement(xe.ZP.Group,{onChange:Mt=>{Mt.target.value==1&&Ka(1,10),be(Mt.target.value),ga()},value:Ut,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),Ut==1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"flex justify-between item-center mb10"},b.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),b.createElement(Ye.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:Sn,onChange:Mt=>Ve(Mt.target.value),onSearch:La})),b.createElement(Ne.default,{rowSelection:{type:"radio",selectedRowKeys:at,onChange:(Mt,en)=>{Tt(Mt)},getCheckboxProps:Mt=>({disabled:[0,1].includes(Mt==null?void 0:Mt.commit_status)})},loading:Hn,rowKey:"exercise_user_id",dataSource:dn||[],columns:za,pagination:{current:rt.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:rt.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:_n,size:"default",showTotal:Je.rU,onChange:Ka},onChange:(Mt,en,ya)=>{rt.page=1,ya.order===void 0?(rt.order_type=null,rt.order=null):(rt.order_type=ya.order==="descend"?"desc":"asc",rt.order=ya.field),Ie(Qe({},rt)),Za(rt)}})),Ut==2&&b.createElement("div",{style:{marginTop:20}},b.createElement(y.default,{form:tt,className:ie.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(Qe({},tt.getFieldsValue()))},onFinish:Ja},b.createElement(y.default.Item,{name:"content",label:"",style:{marginBottom:0}},b.createElement(a.Z,{watch:!0})))),vt&&b.createElement("div",{className:ie.result_con},b.createElement("div",{className:ie.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(vt==null?void 0:vt.status)==0&&b.createElement("div",{className:"p20"},b.createElement("div",{className:"mb5"},b.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),vt==null?void 0:vt.score),b.createElement("div",{className:"flex"},b.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),b.createElement(x.Z,{value:vt==null?void 0:vt.content,style:{fontSize:"14px"}}))),(vt==null?void 0:vt.status)==-3&&b.createElement("div",{className:"p20"},b.createElement(x.Z,{value:vt==null?void 0:vt.message,style:{fontSize:"14px"}})))))};var Ke=(0,Me.connect)(({shixunHomeworks:ze,exercise:qe,loading:Ae,user:gt})=>({shixunHomeworks:ze,exercise:qe,loading:Ae.effects,user:gt}))(Re)},30440:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return E}});var y=ae(59301),pe=ae(8591),Be=ae(43418),Te=ae(19842),ke=ae(54580),We=ae(3113),xe=ae(74128),Ye=ae(65862),Ne=ae(38147),we=ae(65582),Me={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},Ge=ae(59301),Je=(a,x,b)=>new Promise((z,te)=>{var oe=Ee=>{try{le(b.next(Ee))}catch(Ce){te(Ce)}},ue=Ee=>{try{le(b.throw(Ee))}catch(Ce){te(Ce)}},le=Ee=>Ee.done?z(Ee.value):Promise.resolve(Ee.value).then(oe,ue);le((b=b.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:b,sub_discipline_id:z=[]})=>{const[te,oe]=(0,y.useState)([]),[ue,le]=(0,y.useState)(!1),Ee=(0,we.useParams)(),[Ce,Qe]=(0,y.useState)([]),[De,st]=(0,y.useState)([]);(0,y.useEffect)(()=>{a?Re():(st([]),oe([]),le(!1))},[a]);const Re=()=>Je(void 0,null,function*(){const mt=yield(0,Ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Qe(mt.disciplines||[]),st((z==null?void 0:z.length)>0?z:[])}),Ke=()=>{if((De==null?void 0:De.length)===0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",De),le(!0),x(te,De[1],()=>{le(!1)})},ze=()=>{b()},qe=()=>{const mt=`${xe.Z.API_SERVER}/api/courses/${Ee.coursesId}/exercises/down_template`;(0,Ye.Nd)(null,mt)},Ae=mt=>{const xt={name:mt.name,uid:mt.uid,file:mt};return oe([xt]),!1},gt=()=>{oe([])};return Ge.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Ke,centered:!0,wrapClassName:Me.customModal,onCancel:ze,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Me.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ue},Ge.createElement("div",{className:Me.content},Ge.createElement("aside",null,Ge.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Ge.createElement("ul",null,Ge.createElement("li",null,Ge.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Ge.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:qe},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Ge.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:qe,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Ge.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Ge.createElement("li",{className:Me.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Ge.createElement("li",{className:Me.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Ge.createElement("li",{className:Me.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Ge.createElement("li",{className:Me.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Ge.createElement("aside",{style:{marginTop:22}},Ge.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Ge.createElement("ul",{style:{flex:1}},Ge.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&Ge.createElement(Ge.Fragment,null,Ge.createElement(Te.Z,{value:De,className:Me.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ce,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(mt,xt)=>{st(mt||[])}}),Ge.createElement("br",null),Ge.createElement(ke.default,{action:`${xe.Z.API_SERVER}/api/attachments.json`,beforeUpload:Ae,onRemove:gt,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},Ge.createElement(We.ZP,{className:Me.upload,type:"primary",icon:Ge.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((mt,xt)=>Ge.createElement("div",{key:xt,className:Me.fileList},Ge.createElement("span",{className:Me.fileName},mt==null?void 0:mt.name),Ge.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:gt})))))))}},12586:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=ae(43418),Be=ae(38147),Te=ae(65582),ke=ae(59301),We=(Ye,Ne,we)=>new Promise((Me,Ge)=>{var Je=a=>{try{E(we.next(a))}catch(x){Ge(x)}},ie=a=>{try{E(we.throw(a))}catch(x){Ge(x)}},E=a=>a.done?Me(a.value):Promise.resolve(a.value).then(Je,ie);E((we=we.apply(Ye,Ne)).next())});const xe=({exercise:Ye,dispatch:Ne,init:we,haveInit:Me=!1})=>{const Ge=(0,Te.useParams)(),[Je,ie]=(0,y.useState)(!1);let[E,a]=(0,y.useState)();const[x,b]=(0,y.useState)(!1),[z,te]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Ye.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&oe()},[Ye.actionTabs]);function oe(){return We(this,null,function*(){var ue,le;let Ee=yield(0,Be.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:Ye.actionTabs.selectArrs}});if(((ue=Ee==null?void 0:Ee.cover_exercises)==null?void 0:ue.length)>0)ie(!0),a((le=Ee==null?void 0:Ee.cover_exercises)==null?void 0:le[0]);else{let Ce=yield(0,Be.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Ye.actionTabs.selectArrs}});Ne({type:"exercise/setActionTabs",payload:{key:""}}),(Ce==null?void 0:Ce.status)===0&&(Me&&we(),pe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Te.history.push("/paperlibrary")}}))}})}return ke.createElement("div",null,ke.createElement(pe.default,{open:Je,centered:!0,onCancel:ue=>We(void 0,null,function*(){if(ue.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){b(!0);let le=yield(0,Be.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Ye.actionTabs.selectArrs,update:1}});Ne({type:"exercise/setActionTabs",payload:{key:""}}),b(!1),(le==null?void 0:le.status)===0&&(Me&&we(),ie(!1),pe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Te.history.push("/paperlibrary")}}))}else ie(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>We(void 0,null,function*(){te(!0);let ue=yield(0,Be.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Ye.actionTabs.selectArrs}});te(!1),(ue==null?void 0:ue.status)===0&&(Me&&we(),Ne({type:"exercise/setActionTabs",payload:{key:""}}),ie(!1),pe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Te.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ke.createElement("div",null,ke.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ke.createElement("div",null,ke.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),ke.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ke.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};Gt.Z=(0,Te.connect)(({exercise:Ye})=>({exercise:Ye}))(xe)},10129:function(ut,Gt,ae){"use strict";ae.d(Gt,{h:function(){return y}});var y=(pe=>(pe[pe.NOMATCH=-1]="NOMATCH",pe[pe.OK=0]="OK",pe[pe.TIMEOUT=2]="TIMEOUT",pe[pe.PODFAILURE=3]="PODFAILURE",pe[pe.COMPILEFAILURE=4]="COMPILEFAILURE",pe[pe.EXECUTEFAILURE=5]="EXECUTEFAILURE",pe[pe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",pe))(y||{})},67172:function(ut,Gt,ae){"use strict";ae.d(Gt,{H7:function(){return E},MK:function(){return ie},MU:function(){return we},X6:function(){return Ge},bM:function(){return Ne},fi:function(){return a},fu:function(){return Ye},n4:function(){return x},rX:function(){return Je},vl:function(){return b},zO:function(){return Me}});var y=ae(38147),pe=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,We=(z,te,oe)=>te in z?pe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:oe}):z[te]=oe,xe=(z,te)=>{for(var oe in te||(te={}))Te.call(te,oe)&&We(z,oe,te[oe]);if(Be)for(var oe of Be(te))ke.call(te,oe)&&We(z,oe,te[oe]);return z};function Ye(z,te){return(0,y.U2)(`myproblems/${z}.json`,xe({hidePopLogin:!0},te||{}))}function Ne(z,te){return(0,y.v_)(`myproblems/${z}/code_submit.json`,te)}function we(z,te){return(0,y.v_)(`myproblems/${z}/code_debug.json`,te)}function Me(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,y.U2)(`myproblems/${z}/submit_records.json`,te)}function Ge(z){return(0,y.U2)("myproblems/record_detail.json",{id:z})}function Je(z,te){return(0,y.U2)(`myproblems/${z}/result.json`,{mode:te})}function ie(z,te){return(0,y.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,y.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,y.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,y.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,y.v_)(`discusses/${z}/plus.json`,te)}},56355:function(ut,Gt,ae){"use strict";var y=ae(59301),pe=ae(6848),Be=ae(92832),Te=ae(8591),ke=ae(9809),We=ae(59301),xe=(Ne,we,Me)=>new Promise((Ge,Je)=>{var ie=x=>{try{a(Me.next(x))}catch(b){Je(b)}},E=x=>{try{a(Me.throw(x))}catch(b){Je(b)}},a=x=>x.done?Ge(x.value):Promise.resolve(x.value).then(ie,E);a((Me=Me.apply(Ne,we)).next())});const Ye=({defaultValue:Ne,onFinish:we})=>{const[Me,Ge]=(0,y.useState)(!1),[Je,ie]=(0,y.useState)(Ne);return(0,y.useEffect)(()=>{ie(Ne)},[Ne]),We.createElement("div",null,Me?We.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Je,onChange:E=>{ie(E.target.value)},onBlur:()=>xe(void 0,null,function*(){var E;if(((E=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:E.length)<=0){Te.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield we(Je))&&Ge(!1)}),onPressEnter:()=>xe(void 0,null,function*(){var E;if(((E=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:E.length)<=0){Te.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield we(Je))&&Ge(!1)})}):We.createElement("div",{className:ke.Z.title},Je,We.createElement(pe.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},We.createElement("i",{className:`${ke.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Ge(!0)}))))};Gt.Z=Ye},24100:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return we}});var y=ae(43418),pe={ul:"ul___TdfYY"},Be=ae(32637),Te=ae(59301),ke=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Ye=(Me,Ge)=>{var Je={};for(var ie in Me)We.call(Me,ie)&&Ge.indexOf(ie)<0&&(Je[ie]=Me[ie]);if(Me!=null&&ke)for(var ie of ke(Me))Ge.indexOf(ie)<0&&xe.call(Me,ie)&&(Je[ie]=Me[ie]);return Je},we=Me=>{var Ge=Me,{open:Je,onCancel:ie}=Ge,E=Ye(Ge,["open","onCancel"]);return Te.createElement(y.default,{centered:!0,open:Je,title:Te.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:ie,footer:null},Te.createElement("div",null,Te.createElement("div",{className:"tc"},Te.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Te.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Te.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Te.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Te.createElement("ul",{className:pe.ul},Te.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Te.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Te.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},55242:function(ut,Gt,ae){"use strict";ae.d(Gt,{I:function(){return pe}});var y=ae(59301);const pe=()=>{const[Be,Te]=(0,y.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Te("auto"),handleMouseLeave:()=>Te("hidden")}}},77578:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return y}});const y=pe=>pe?typeof pe=="function"?pe():pe:null},66104:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return qe}});var y=ae(92310),pe=ae.n(y),Be=ae(11592),Te=ae(26112),ke=ae(59301),We=ae(92343),xe=ae(36355),Ye=ae(84105),Ne=ae(91857);const we=Ae=>{let{children:gt}=Ae;const{getPrefixCls:mt}=ke.useContext(xe.E_),xt=mt("breadcrumb");return ke.createElement("li",{className:`${xt}-separator`,"aria-hidden":"true"},gt===""?gt:gt||"/")};we.__ANT_BREADCRUMB_SEPARATOR=!0;var Me=we,Ge=function(Ae,gt){var mt={};for(var xt in Ae)Object.prototype.hasOwnProperty.call(Ae,xt)&>.indexOf(xt)<0&&(mt[xt]=Ae[xt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,xt=Object.getOwnPropertySymbols(Ae);Etgt[Et]||xt)}function ie(Ae,gt,mt,xt){if(mt==null)return null;const{className:Et,onClick:fn}=gt,dn=Ge(gt,["className","onClick"]),Qt=Object.assign(Object.assign({},(0,Te.Z)(dn,{data:!0,aria:!0})),{onClick:fn});return xt!==void 0?ke.createElement("a",Object.assign({},Qt,{className:pe()(`${Ae}-link`,Et),href:xt}),mt):ke.createElement("span",Object.assign({},Qt,{className:pe()(`${Ae}-link`,Et)}),mt)}function E(Ae,gt){return(xt,Et,fn,dn,Qt)=>{if(gt)return gt(xt,Et,fn,dn);const rt=Je(xt,Et);return ie(Ae,xt,rt,Qt)}}var a=function(Ae,gt){var mt={};for(var xt in Ae)Object.prototype.hasOwnProperty.call(Ae,xt)&>.indexOf(xt)<0&&(mt[xt]=Ae[xt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,xt=Object.getOwnPropertySymbols(Ae);Et{const{prefixCls:gt,separator:mt="/",children:xt,menu:Et,overlay:fn,dropdownProps:dn,href:Qt}=Ae,Ie=(at=>{if(Et||fn){const Tt=Object.assign({},dn);if(Et){const Sn=Et||{},{items:Ve}=Sn,Ut=a(Sn,["items"]);Tt.menu=Object.assign(Object.assign({},Ut),{items:Ve==null?void 0:Ve.map((be,tt)=>{var{key:Jt,title:nt,label:vt,path:Nn}=be,bt=a(be,["key","title","label","path"]);let St=vt!=null?vt:nt;return Nn&&(St=ke.createElement("a",{href:`${Qt}${Nn}`},St)),Object.assign(Object.assign({},bt),{key:Jt!=null?Jt:tt,label:St})})})}else fn&&(Tt.overlay=fn);return ke.createElement(Ne.Z,Object.assign({placement:"bottom"},Tt),ke.createElement("span",{className:`${gt}-overlay-link`},at,ke.createElement(Ye.Z,null)))}return at})(xt);return Ie!=null?ke.createElement(ke.Fragment,null,ke.createElement("li",null,Ie),mt&&ke.createElement(Me,null,mt)):null},b=Ae=>{const{prefixCls:gt,children:mt,href:xt}=Ae,Et=a(Ae,["prefixCls","children","href"]),{getPrefixCls:fn}=ke.useContext(xe.E_),dn=fn("breadcrumb",gt);return ke.createElement(x,Object.assign({},Et,{prefixCls:dn}),ie(dn,Et,mt,xt))};b.__ANT_BREADCRUMB_ITEM=!0;var z=b,te=ae(17313),oe=ae(83116),ue=ae(37613);const le=Ae=>{const{componentCls:gt,iconCls:mt}=Ae;return{[gt]:Object.assign(Object.assign({},(0,te.Wf)(Ae)),{color:Ae.itemColor,fontSize:Ae.fontSize,[mt]:{fontSize:Ae.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ae.linkColor,transition:`color ${Ae.motionDurationMid}`,padding:`0 ${Ae.paddingXXS}px`,borderRadius:Ae.borderRadiusSM,height:Ae.lineHeight*Ae.fontSize,display:"inline-block",marginInline:-Ae.marginXXS,"&:hover":{color:Ae.linkHoverColor,backgroundColor:Ae.colorBgTextHover}},(0,te.Qy)(Ae)),"li:last-child":{color:Ae.lastItemColor},[`${gt}-separator`]:{marginInline:Ae.separatorMargin,color:Ae.separatorColor},[`${gt}-link`]:{[` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,He=["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 Yt(tt){return/^\d+$/.test(tt)?`${tt}px`:tt}const rn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",tn={[rn+"-B"]:"bold",[rn+"-I"]:"italic"},Vn={[va]:"\u6DFB\u52A0\u94FE\u63A5",[Aa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[En]:"\u6DFB\u52A0\u56FE\u7247",[Ht]:"\u6DFB\u52A0\u753B\u56FE",[Qa]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[er]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ln=({defaultValue:tt="",onChange:ot,width:Je="100%",height:Pn=400,miniToolbar:Cn=!1,isFocus:Zn=!1,watch:Ia,insertTemp:Ea,mode:ua="markdown",id:ba="markdown-editor-id",showResizeBar:da=!1,noStorage:Gt=!1,showNullButton:or=!1,showNullProgramButton:fr=!1,hidetoolBar:so=!1,fullScreen:Mt=!1,onBlur:lr,onCMBeforeChange:Qr,onFullScreen:Oa,className:wr="",disablePaste:vr=!1,disabled:Dr=!1,disabledFill:Hr=!1,placeholder:pr="",values:yr="",extraUse:ga})=>{const[Qt,hr]=(0,y.useState)(null),[Ur,Yr]=(0,y.useState)(tt),[sr,Dn]=(0,y.useState)(Ia),[ma,na]=(0,y.useState)(Mt),[Yn,dr]=(0,y.useState)(""),[Lr,jr]=(0,y.useState)(0),[Br,nr]=(0,y.useState)(Pn),[wo,Co]=(0,y.useState)(!1),Sl=(0,y.useRef)((0,Fa.Z)()),Kr=(0,y.useRef)(!1),Mr=(0,y.useRef)(),[ho,co]=(0,y.useState)(0),[ro,Do]=(0,y.useState)(0),Cr=(0,y.useRef)(),$r=(0,y.useRef)(),Qo=(0,y.useRef)(),ko=(0,y.useRef)(),Ja=()=>br(void 0,null,function*(){var Hn;const nn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Sl.current}});(Hn=nn==null?void 0:nn.attachments)!=null&&Hn.length&&(console.log("cm:",Qt,Cr),nn.attachments.map(Ut=>{Ut.content_type.indexOf("image")>-1?Qt.replaceSelection(`![,](/api/attachments/${Ut.id}?type=${Ut.content_type})`):Ut.content_type.indexOf("video")>-1?Qt.replaceSelection(``):Ut.content_type.indexOf("pdf")>-1?Qt.replaceSelection(`${Ut.name}`):Qt.replaceSelection(`[${Ut.name}](${ENV.API_SERVER}/api/attachments/${Ut.id}?type=${Ut.content_type})`)}))});(0,y.useEffect)(()=>{const Hn=window.scrollY||window.pageYOffset;Yr(yr),Qt==null||Qt.setValue(yr),window.scrollTo(0,Hn)},[yr]),(0,y.useEffect)(()=>{Oa==null||Oa(ma)},[ma]),(0,y.useEffect)(()=>{if(Cr.current){let Hn=function(Ut,xn){var Ma;if(vr){xn.preventDefault();return}const Nr=xn.clipboardData;if(Nr){const mo=Nr.types.toString(),xo=Nr.items;if(mo==="Files"||Nr.types.indexOf("Files")>-1){if(xn.preventDefault(),ua=="stex")return;try{let _o=xo[1];((Ma=xo[0])==null?void 0:Ma.kind)==="file"&&(_o=xo[0]);const Jo=_o.getAsFile(),Nl=Jo.name.split(".").pop();(0,Te.I)(Jo,gl=>{var Il,Tl,Li;gl.id?((Il=Jo==null?void 0:Jo.type)==null?void 0:Il.indexOf("image"))>-1?nn.replaceSelection(``):((Tl=Jo==null?void 0:Jo.type)==null?void 0:Tl.indexOf("video"))>-1?nn.replaceSelection(``):((Li=Jo==null?void 0:Jo.type)==null?void 0:Li.indexOf("pdf"))>-1?nn.replaceSelection(`${Jo.name}`):He.includes(Nl)?nn.replaceSelection(`${Jo.name}`):nn.replaceSelection(`[${Jo.name}](/api/attachments/${gl.id}?type=${gl.content_type})`):(gl==null?void 0:gl.status)===401&&(Va.ZP.warning((gl==null?void 0:gl.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(_o){Va.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const nn=Fe().fromTextArea(Cr.current,{mode:ua,lineNumbers:!Cn,lineWrapping:!0,value:tt,autoCloseTags:!fr,autoCloseBrackets:!0});return nn.on("keyup",function(Ut,xn){xn.keyCode===8&&(Ut.getValue()==""?nn.setOption("placeholder",pr):nn.setOption("placeholder",null))}),nn.on("keydown",function(Ut,xn){if(xn.keyCode===8){var Ma=el(Ut);Ma&&xn.preventDefault()}}),Zn&&nn.focus(),nn.on("paste",Hn),nn.on("dragleave",function(Ut,xn){$r.current.classList.remove("mouse-hover-md")}),Dr&&nn.on("beforeChange",function(Ut,xn){(xn.origin==="paste"||xn.origin==="+input")&&xn.cancel()}),hr(nn),()=>{nn.off("paste",Hn)}}},[]);const ol=(0,y.useCallback)(()=>{if($r.current)try{}catch(Hn){console.log(Hn,"---- to set md editor body height")}},[Br,$r,ma]);(0,y.useEffect)(()=>{function Hn(){let nn=new Me.Z(Ut=>{for(let xn of Ut)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&(ol(),Qt.setSize("100%","100%"),Qt.refresh())});return nn.observe(Cr.current.parentElement),nn}if(Qt){const nn=Hn();return()=>{var Ut,xn;(Ut=Cr.current)!=null&&Ut.parentElement&&nn.unobserve((xn=Cr.current)==null?void 0:xn.parentElement)}}},[Qt,ol]),(0,y.useEffect)(()=>{if(Qt){let Hn=[];for(const[nn,Ut]of Object.entries(tn)){let xn={[nn]:()=>{cl(Ut)}};Hn.push(xn),Qt.addKeyMap(xn)}return Mr.current=setInterval(()=>{Kr.current&&Ja()},4e3),()=>{clearInterval(Mr.current);for(let nn of Hn)Qt.removeKeyMap(nn)}}},[Qt]),(0,y.useEffect)(()=>{Mt!==ma&&na(Mt)},[Mt]),(0,ka.Z)(()=>{if(!Gt&&Lr>0){let Hn=new Date().getTime(),nn=window.sessionStorage.getItem(ba);Hn>=Lr+Wr&&(!nn||nn!==Ur)&&(window.sessionStorage.setItem(ba,Ur),Co(!0))}},Wr),(0,y.useEffect)(()=>{Dn(Ia)},[Qt,Ia]),(0,y.useEffect)(()=>{Qt&&Zn&&Qt.focus()},[Qt,Zn]),(0,y.useEffect)(()=>{if(sr&&Qt){let Hn=function(Ut){let xn=Ut.target;if(ko.current){let Ma=xn.scrollTop/xn.scrollHeight;ko.current.scrollTop=ko.current.scrollHeight*Ma}};const nn=Qt.getScrollerElement();return nn.addEventListener("scroll",Hn),()=>{nn.removeEventListener("scroll",Hn)}}},[Qt,sr]),(0,y.useEffect)(()=>{if(Qt&&Qr){let Hn=function(nn,Ut){Qr(nn,Ut)};return Qt.on("beforeChange",Hn),()=>{Qt.off("beforeChange",Hn)}}},[Qt,Qr]),(0,y.useEffect)(()=>{if(Qt&&lr){let Hn=function(){lr(Qt.getValue())};return Qt.on("blur",Hn),()=>{Qt.off("blur",Hn)}}},[Qt,lr]);function el(Hn,nn){var Ut=Hn.getDoc(),xn=Ut.getCursor(),Ma=Ut.getLine(xn.line),Nr=Ma.charAt(xn.ch-1),mo=Ma.lastIndexOf("@\u2581@",xn.ch),xo=Ma.lastIndexOf("@\u2581\u2581@",xn.ch),_o=mo>xo?mo:xo,Jo=mo>xo?3:4;if(Fn.indexOf(Nr)===-1)return null;if(console.log("change1:",nn,Hn,Ma,xn,_o,mo,xo,Nr),_o>=0&&xn.ch-_o<5){var Nl=_o+Jo;return Ut.replaceRange("",{line:xn.line,ch:_o},{line:xn.line,ch:Nl}),{line:xn.line,ch:Nl}}return null}(0,y.useEffect)(()=>{if(Qt){let Hn=function(nn,Ut){const xn=nn.getValue();Yr(xn),jr(new Date().getTime()),nn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ot&&(fr?ot(xn,Kn(xn)):ot(xn))};return Qt.on("change",Hn),()=>{Qt.off("change",Hn)}}},[Qt,ot]),(0,y.useEffect)(()=>{if(Qt)if(tt==null)Qt.setValue(""),Yr("");else{const Hn=window.scrollY||window.pageYOffset;tt!==Qt.getValue()&&(Qt.setValue(tt),Yr(tt),Qt.setCursor(Dr?1:Qt.lineCount(),0),window.scrollTo(0,Hn))}},[Qt,tt]);const cl=(0,y.useCallback)(Hn=>{const nn=Qt.getCursor(),Ut=Qt.getSelection();let xn=Ut.split(` +`);switch(Hn){case"bold":return Qt.replaceSelection("**"+Ut+"**"),Ut===""&&Qt.setCursor(nn.line,nn.ch+2),Qt.focus();case"italic":return Qt.replaceSelection("*"+Ut+"*"),Ut===""&&Qt.setCursor(nn.line,nn.ch+1),Qt.focus();case"code":return Qt.replaceSelection("`"+Ut+"`"),Ut===""&&Qt.setCursor(nn.line,nn.ch+1),Qt.focus();case"inline-latex":return dr("inline-latex"),Qt.focus();case"latex":return Qt.replaceSelection("```latex\n"+Ut+"\n```"),Qt.setCursor(nn.line+1,Ut.length+1),Qt.focus();case"line-break":return Qt.replaceSelection(`
+`),Qt.focus();case"list-ul":return Ut===""?Qt.replaceSelection("- "+Ut):Qt.replaceSelection(xn.map(Ma=>Ma===""?"":`- ${Ma}`).join(` +`)),Qt.focus();case"list-ol":return Ut===""?Qt.replaceSelection("1. "+Ut):Qt.replaceSelection(xn.map((Ma,Nr)=>Ma===""?"":`${Nr+1}. ${Ma}`).join(` +`)),Qt.focus();case"add-null-ch":return Ut===""&&Qt.setCursor(nn.line,nn.ch),Qt.replaceSelection(Ot),Qt.focus();case"add-signal":return Ut===""&&Qt.setCursor(nn.line,nn.ch),Qt.replaceSelection(ia),Qt.focus();case"add-multiple":return Ut===""&&Qt.setCursor(nn.line,nn.ch),Qt.replaceSelection(Fn),Qt.focus();case"inster-template-1":return Ut===""&&Qt.setCursor(nn.line,nn.ch),Qt.replaceSelection(jn),Qt.focus();case"eraser":return Qt.setValue(""),Qt.focus();case"trigger-watch":return Dn(!sr),Qt.focus();case"trigger-full-screen":return na(!ma),Qt.focus();case va:dr(va);return;case Aa:dr(Aa);return;case En:dr(En);return;case Ht:dr(Ht);return;case"maths-latex":dr("maths-latex");return;case Qa:dr(Qa);return;case er:dr(er);return;default:throw new Error}},[Qt,sr,ma]),eo=(0,y.useCallback)((Hn,nn)=>{var Ut,xn,Ma,Nr,mo,xo;switch(dr(""),Yn){case va:const{title:Il,link:Tl}=Hn;return Qt.replaceSelection(`[${Il}](${Tl})`),Qt.focus();case Aa:const{language:Li,content:Eo}=Hn;return Qt.replaceSelection(["```"+Li,Eo,"```"].join(` +`)),Qt.focus();case"maths-latex":for(var _o=atob(Hn),Jo=new Uint8Array(_o.length),Nl=0;Nl<_o.length;Nl++)Jo[Nl]=_o.charCodeAt(Nl);var gl=new Blob([Jo],{type:"image/png"});(0,Te.I)(gl,Da=>{Da.id?Qt.replaceSelection(`![,](/api/attachments/${Da.id}?type=${Da.content_type})`):(Da==null?void 0:Da.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Qt.replaceSelection("`$$"+Hn+"$$`");break;case En:case Ht:case dn:const{src:ar,alt:St}=Hn,ut=nn,wt=(Ma=(xn=(Ut=ut==null?void 0:ut.name)==null?void 0:Ut.split("."))==null?void 0:xn.pop)==null?void 0:Ma.call(xn);return((Nr=ut==null?void 0:ut.type)==null?void 0:Nr.indexOf("image"))>-1||!(ut!=null&&ut.type)?ut.align||ut.width?Qt.replaceSelection(`

${St||

`):Qt.replaceSelection(`${St||`):((mo=ut==null?void 0:ut.type)==null?void 0:mo.indexOf("video"))>-1?Qt.replaceSelection(``):((xo=ut==null?void 0:ut.type)==null?void 0:xo.indexOf("pdf"))>-1?Qt.replaceSelection(`${ut.name}`):He.includes(wt)?Qt.replaceSelection(`${ut.name}`):Qt.replaceSelection(`[${ut.name}](${ar})`),Qt.focus();case er:const{row:bn,col:ca,align:wa}=Hn;let on=` +`;for(let Da=0;Da{switch(Yn){case va:return y.createElement(Vt,{callback:eo,onCancel:he});case Aa:return y.createElement(ht.Z,{callback:eo,onCancel:he});case En:return y.createElement(Te.Z,{callback:eo,onCancel:he});case Qa:return y.createElement(Qn,{callback:eo,onCancel:he});case er:return y.createElement(On,{callback:eo,onCancel:he});case"maths-latex":return y.createElement(rr,{showSaveButton:!0,callback:eo});case"inline-latex":return y.createElement(qa.Z,{showSaveButton:!0,callback:eo});default:return null}},[Yn]);function he(){dr("")}(0,y.useEffect)(()=>{if(Qo.current){let Hn=function(mo){Ma=!0,Nr=mo.pageY},nn=function(){Ma=!1},Ut=function(mo){if(Ma){let xo=mo.pageY-Nr;xo<0&&(xo=0),xo>300&&(xo=300);let _o=Pn+xo+"px";nr(_o)}},xn=Qo.current,Ma=!1,Nr=0;return xn.addEventListener("mousedown",Hn),document.addEventListener("mousemove",Ut),document.addEventListener("mouseup",nn),()=>{xn.removeEventListener("mousedown",Hn),document.removeEventListener("mousemove",Ut),document.removeEventListener("mouseup",nn)}}},[Qt,Qo]),(0,y.useEffect)(()=>{nr(Pn)},[Pn]);const Bt=Yt(Je),Jt=Yt(Br),vn={width:Bt,height:Jt},bt=(0,y.useMemo)(()=>{if(Lr){let Hn=new Date(Lr),nn=Hn.getHours(),Ut=Hn.getMinutes(),xn=Hn.getSeconds();return nn=nn<10?"0"+nn:nn,Ut=Ut<10?"0"+Ut:Ut,xn=xn<10?"0"+xn:xn,`${nn}:${Ut}:${xn}`}return 0},[Lr]),Kn=Hn=>{const nn=[];if(fr){let Ut=-1;Hn=Hn.replace(/(@▁▁@|@▁@)/g,function(xn,Ma,Nr){nn.push({multiLine:xn!==ia})})}return nn};function qn(){window.sessionStorage.removeItem(ba),Co(!1),jr(0)}function An(){Co(!1),jr(0),Qt.setValue(window.sessionStorage.getItem(ba))}(0,y.useEffect)(()=>{Vn[Yn]&&Yn!==Ht&&Yn!==Qa&&setTimeout(()=>{const Hn=document.getElementsByClassName("markdown-popup-form")[0],nn=window.innerWidth/2-Hn.offsetWidth/2,Ut=window.innerHeight/2-Hn.offsetHeight/2;co(nn),Do(Ut)},0)},[Yn]);const Mn=Hn=>{Hn.preventDefault();const nn=Hn.clientX-ho,Ut=Hn.clientY-ro;document.body.onmousemove=xn=>{let Ma=xn.clientX-nn,Nr=xn.clientY-Ut;const mo=document.getElementsByClassName("markdown-popup-form")[0],xo=window.innerWidth-mo.offsetWidth,_o=window.innerHeight-mo.offsetHeight;Ma=Math.max(0,Math.min(Ma,xo)),Nr=Math.max(0,Math.min(Nr,_o)),Ua(xn.clientX,xn.clientY,nn,Ut)&&(co(Ma),Do(Nr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ua=(Hn,nn,Ut,xn)=>{const Ma=document.body.clientHeight,Nr=document.body.clientWidth;return Hn<20&&Ut>Hn||Hn>Nr-20&&Utnn||nn>Ma-20&&xnst in De?Ze(De,st,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):De[st]=Oe,z=(De,st)=>{for(var Oe in st||(st={}))a.call(st,Oe)&&b(De,Oe,st[Oe]);if(E)for(var Oe of E(st))x.call(st,Oe)&&b(De,Oe,st[Oe]);return De},te=(De,st)=>Ye(De,ie(st));const{useForm:oe}=y.default,ue={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var Ee=({callback:De,onCancel:st})=>{const[Oe]=oe();let Ke=(0,Ie.useRef)();function ze(ct){Ke.current.width=Oe.getFieldValue("width"),Ke.current.align=Oe.getFieldValue("align"),De(ct,Ke.current)}function Xe(ct,mt){if(ct.status===-1){pe.ZP.error(ct.message);return}Oe.setFieldsValue({src:`/api/attachments/${ct.id}`,type:mt.type})}function Ce(ct){let mt=ct.target.files[0];Ke.current=mt,We(mt,Xe)}return Re.createElement(y.default,te(z({form:Oe},le),{className:"upload-image-panel",onFinish:ze,style:{width:470,overflow:"hidden"}}),Re.createElement(y.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Re.createElement("div",{className:"flex-container"},Re.createElement(y.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Re.createElement(Fe.default,{style:ue})),Re.createElement(be,{onFileChange:Ce}))),Re.createElement(y.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Re.createElement(Fe.default,{style:{width:264}})),Re.createElement(y.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Re.createElement(Me.Z,null,Re.createElement(y.default.Item,{name:"width",style:{margin:0}},Re.createElement(ke.Z,{style:{width:264}})),Re.createElement("span",{className:"ml8"},"%"))),Re.createElement(y.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Re.createElement(Ue.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"}]})),Re.createElement("aside",null,Re.createElement(y.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Re.createElement(xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Re.createElement(xe.ZP,{type:"default",onClick:st},"\u53D6\u6D88"))))};function be({onFileChange:De}){return Re.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Re.createElement("input",{type:"file",onChange:De}))}function We(De,st){if(!De)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,we.bg)())throw pe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Oe=new FormData;Oe.append("editormd-image-file",De),Oe.append("file_param_name","editormd-image-file"),Oe.append("byxhr","true");var Ke=new window.XMLHttpRequest;Ke.withCredentials=!0,Ke.addEventListener("load",function(ze){st(JSON.parse(ze.target.responseText),De)},!1),Ke.addEventListener("error",function(ze){console.error(ze)},!1),Ke.open("POST",`${Qe.KI}/api/attachments.json`),Ke.send(Oe)}},57261:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Fe}});var y=ae(59301),pe=ae(4676);class Fe extends y.Component{constructor(ke){super(ke);const Ue=window.document;this.node=Ue.createElement("div"),Ue.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,pe.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(it,Tt,ae){"use strict";ae.d(Tt,{i:function(){return le},Z:function(){return be}});var y={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},pe=ae(71418),Fe=ae(6848),Me=ae(93948),ke=ae(92310),Ue=ae.n(ke),xe=ae(65862),Qe=ae(2524),Ie=ae(41867),we=ae(79005),Re=ae(20345),Ze=ae(77882),Ye=ae(31081),ie=ae(75309),E=ae(71979),a=ae(47558),x=ae(42922),b=ae(66832),z=ae(96593),te=ae(19664),oe=ae(91833),ue=ae(59301);const le=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:we,swimg:Re},{name:"101\u8BA1\u5212",ptimg:Ze,swimg:Ye},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ie,swimg:E},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:oe}];var be=({className:We,dataSource:De=[],col:st=4,right:Oe,bottom:Ke=23,precision:ze=0,wrapWidth:Xe=1200,trackEventItems:Ce,loading:ct,onRemove:mt=()=>{},isCurrent:Ct=!0,showAlias:Et=!1,showProgress:fn=!1})=>{const un=Math.floor((Xe-(st-1)*Oe)/st),Vt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(ht=>(window.ENV==="build"&&(ht.ptimg=`/react/build${ht.ptimg}`,ht.swimg=`/react/build${ht.swimg}`),ht));return ue.createElement(pe.Z,{spinning:ct},ue.createElement("div",{className:Ue()(y.list,We)},!!(De!=null&&De.length)&&(De==null?void 0:De.map((ht,Te)=>{var rt,It,hn,Pt,sn,Be;const{name:qe,id:qt,identifier:nt,featured:pt,school_name:_n,image_url:Zt,excellent:At,is_plan:yt}=ht;return ue.createElement("div",{key:qt,className:Ct&&fn?y.wrapisCurrent:y.wrap,style:{width:un,marginRight:(1+Te)%st===0?0:Oe+ze,marginBottom:Ke}},ue.createElement("a",{className:y.li,onClick:Gn=>{Gn.preventDefault(),Gn.stopPropagation(),Ce&&(0,xe.L9)([Ce]),(0,xe.xg)(`/paths/${nt}`)}},ue.createElement("div",{className:y.img},ue.createElement("img",{className:y.cover,src:`${Zt}`}),Ct&&(0,Ie.bg)()&&(ht==null?void 0:ht.studying)&&ue.createElement("div",{className:`${y.movebq} user-path-items`,onClick:Gn=>{Gn.stopPropagation(),mt(ht)}},ue.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ue.createElement("span",{className:"c-red"},"\u79FB\u9664")),(rt=ht==null?void 0:ht.subject_tags)==null?void 0:rt.map((Gn,Qn)=>{var Kt,ta;if(Qn===0){const Un=(Kt=Vt.find(On=>On.name==Gn))==null?void 0:Kt.swimg;return ue.createElement("img",{className:y.sign,src:Un,style:{left:"-4px"}})}const Ba=(ta=Vt.find(Un=>Un.name==Gn))==null?void 0:ta.ptimg;return ue.createElement("img",{className:y.sign,src:Ba,style:{left:`${48+52*(Qn-1)+2*Qn}px`}})}),ue.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ht==null?void 0:ht.excellent)&&ue.createElement("div",{className:y.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:y.name},ue.createElement(Fe.Z,{title:Et&&(ht!=null&&ht.excellent_alias_name)?ue.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${qe}`,ue.createElement("br",null),ue.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ht==null?void 0:ht.excellent_alias_name}`)):qe},ue.createElement("span",{className:y.e},Et&&(ht==null?void 0:ht.excellent_alias_name)||qe))),Ct&&fn&&((It=ht==null?void 0:ht.progress)==null?void 0:It.all_score)!=0&&ue.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ue.createElement(Me.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((hn=ht==null?void 0:ht.progress)==null?void 0:hn.my_score)/((Pt=ht==null?void 0:ht.progress)==null?void 0:Pt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(sn=ht==null?void 0:ht.progress)==null?void 0:sn.my_score,"/",(Be=ht==null?void 0:ht.progress)==null?void 0:Be.all_score),(!Ct||!fn)&&ue.createElement("div",{className:y.tags},ue.createElement("div",null,ue.createElement(Fe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ue.createElement("span",null,ht.stages_count))),ue.createElement(Fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ue.createElement("span",null,ht.members_count)))))))})),!De.length&&ue.createElement(Qe.Z,null)))}},3918:function(it,Tt,ae){"use strict";ae.d(Tt,{jL:function(){return ke},w9:function(){return Yt},vv:function(){return Je},dN:function(){return Vn},QD:function(){return Kr},cQ:function(){return Qn.Z},vg:function(){return Ot},Oz:function(){return _a},op:function(){return jr},O5:function(){return bt},_b:function(){return Cr},t7:function(){return Ke},tT:function(){return Ce},Gi:function(){return so},YG:function(){return Ia},Ed:function(){return or},kT:function(){return ba},qp:function(){return x},Um:function(){return le},K3:function(){return te},vr:function(){return co},qE:function(){return wo},Je:function(){return Ct},wb:function(){return Be},rC:function(){return Gn},lB:function(){return nt},cq:function(){return vr},kO:function(){return yr},tp:function(){return We},Si:function(){return An},k8:function(){return ar},Du:function(){return Nr}});var y=ae(59301),pe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Fe="data:image/png;base64,i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Q+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ke=({dataSource:St=[],img:ut,imgWidth:wt=346,title:bn,sunTitle:ca,bannerExtraContent:wa})=>y.createElement("div",{className:pe.banner},y.createElement("div",{className:pe.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,bn),y.createElement("span",null,ca)),St.length>0&&y.createElement("div",{className:pe.btns},St.map((on,Da)=>y.createElement("div",{key:Da,onClick:on.click},on.name,on.sign?y.createElement("img",{src:Fe,width:39}):null))),wa),ut&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:ut,width:wt}))),Ue={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},xe=ae(92310),Qe=ae.n(xe),Ie=ae(89392),we=Object.defineProperty,Re=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ie=(St,ut,wt)=>ut in St?we(St,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):St[ut]=wt,E=(St,ut)=>{for(var wt in ut||(ut={}))Ze.call(ut,wt)&&ie(St,wt,ut[wt]);if(Re)for(var wt of Re(ut))Ye.call(ut,wt)&&ie(St,wt,ut[wt]);return St},x=({dataSource:St=[],value:ut,onChange:wt,onTitleChange:bn,className:ca,title:wa,titleWidth:on=41,style:Da={},fontColor:Xa="#6A7283",showCount:Fr,classNameActive:Ha,styleItem:$n={}})=>{const[Ir,zr]=(0,y.useState)(0),[Lo,Er]=(0,y.useState)(!1),Jn=(0,y.useRef)(null),To=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var No;St.length!==0&&(((No=Jn==null?void 0:Jn.current)==null?void 0:No.clientHeight)>97?zr(1):zr(0)),St.length===0&&zr(0),Er(!1)},[St]),y.createElement("div",{className:Qe()(Ue.row,ca),style:Da},y.createElement("div",{onClick:(0,Ie.throttle)(()=>bn==null?void 0:bn(),2e3),style:{width:on,marginTop:Lo?12:4},className:`${Ue.title} ${bn?"current":""}`},wa),y.createElement("div",{className:Lo?`${Ue.tagsWrap} ${Ue.tagsBorderWrap}`:Ue.tagsWrap},y.createElement("div",{className:Ue.bar,ref:To,style:Ir>0?{height:Ir===1?97:"auto",overflow:Ir===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:Ue.tag,ref:Jn},St==null?void 0:St.map(No=>y.createElement("span",{onClick:()=>wt(No.id),key:No.id,style:E(E({color:Xa},$n),(No==null?void 0:No.style)||{}),className:ut===No.id?Qe()(Ha||Ue.active,No.classNameActive):""},y.createElement("span",{title:No.name,className:Ue.name},No.name),!!Fr&&y.createElement("span",{className:Ue.num},No.count))))),!!Ir&&y.createElement(y.Fragment,null,Ir===1?y.createElement("div",{onClick:()=>{var No;zr(2),((No=Jn==null?void 0:Jn.current)==null?void 0:No.clientHeight)>245?Er(!0):Er(!1)},className:Ue.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{To.current.scrollTop=0,zr(1),Er(!1)},className:Ue.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:St=[],value:ut,onChange:wt,onTitleChange:bn,className:ca,title:wa,titleWidth:on=41,style:Da={},fontColor:Xa="#6A7283",showCount:Fr,expand:Ha=!0})=>{const[$n,Ir]=(0,y.useState)(0),[zr,Lo]=(0,y.useState)(!1),Er=(0,y.useRef)(null),Jn=(0,y.useRef)(null),[To,No]=(0,y.useState)(Ha);return y.createElement("div",{className:Qe()(b.row,ca),style:Da},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ie.throttle)(()=>bn==null?void 0:bn(),2e3),style:{width:on,marginTop:zr?12:4},className:`${b.title} ${bn?"current":""}`},wa),y.createElement("i",{className:`iconfont ${To?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:To?8:10},onClick:()=>No(!To)})),To&&y.createElement("div",{className:zr?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},y.createElement("div",{className:b.fenge}),y.createElement("div",{className:b.bar,ref:Jn},y.createElement("div",{className:b.tag,ref:Er},St==null?void 0:St.map(yo=>y.createElement("span",{onClick:()=>wt(yo.id),key:yo.id,style:{color:Xa},className:ut===yo.id?b.active:""},y.createElement("span",{title:yo.name,className:b.name},yo.name),!!Fr&&y.createElement("span",{className:b.num},yo.count)))))))},oe={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},le=({dataSource:St=[],value:ut,onChange:wt,onTitleChange:bn,className:ca,title:wa,titleWidth:on=41,style:Da={},fontColor:Xa="#fff",showCount:Fr,expand:Ha=!0})=>{const[$n,Ir]=(0,y.useState)(0),[zr,Lo]=(0,y.useState)(!1),Er=(0,y.useRef)(null),Jn=(0,y.useRef)(null),[To,No]=(0,y.useState)(Ha);return y.createElement("div",{className:Qe()(oe.row,ca),style:Da},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ie.throttle)(()=>bn==null?void 0:bn(),2e3),style:{width:on},className:`${oe.title} ${bn?"current":""}`},wa),y.createElement("i",{className:`iconfont ${To?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:To?"#00DDC7":"#037F74",fontSize:To?10:12},onClick:()=>No(!To)})),To&&y.createElement("div",{className:zr?`${oe.tagsWrap} ${oe.tagsBorderWrap}`:oe.tagsWrap},y.createElement("div",{className:oe.bar,ref:Jn},y.createElement("div",{className:oe.tag,ref:Er},St==null?void 0:St.map(yo=>y.createElement("span",{onClick:()=>wt(yo.id),key:yo.id,style:{color:Xa},className:ut===yo.id?oe.active:""},y.createElement("span",{title:yo.name,className:oe.name},yo.name),!!Fr&&y.createElement("span",{className:oe.num},yo.count)))))))},Ee={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},We=({dataSource:St=[],value:ut,onChange:wt,className:bn,style:ca={}})=>y.createElement("div",{style:ca,className:Qe()(Ee.tabs,bn)},St.map(wa=>y.createElement("span",{onClick:()=>wt(wa.id),className:ut===wa.id?Ee.active:"",key:wa.id},wa.name))),De={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},st=ae(92832),Ke=({dataSource:St=[],value:ut="",onChange:wt,onInputChange:bn=()=>{},className:ca,style:wa={},placeholder:on,allowClear:Da=!1})=>{var Xa;const[Fr,Ha]=(0,y.useState)(""),[$n,Ir]=(0,y.useState)("");(0,y.useEffect)(()=>{var Er;let Jn=ut;(Er=JSON.stringify(ut))!=null&&Er.includes("{")&&(Ha(ut.id),Jn=ut.value||"");try{Ir(decodeURIComponent(Jn||""))}catch(To){Ir(decodeURIComponent(Jn||""))}},[ut]);const zr=()=>{wt(encodeURIComponent($n),Fr||null)},Lo=Er=>{Er!==Fr&&(Ha(Er),wt(encodeURIComponent($n),Er))};return y.createElement("div",{className:Qe()(De.input,ca),style:wa},!!St.length&&y.createElement("div",{className:De.dropdown},y.createElement("div",{className:De.text},(Xa=St.find(Er=>Er.id===Fr))==null?void 0:Xa.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:De.b1}),y.createElement("b",{className:De.b2})),y.createElement("div",{className:De.menu},St.map((Er,Jn)=>y.createElement("div",{key:Jn,onClick:()=>Lo(Er.id)},Er.name)))),y.createElement(st.default,{onPressEnter:zr,value:$n,onChange:Er=>{Ir(Er.target.value),bn(encodeURIComponent(Er.target.value),Fr||null)},bordered:!1,placeholder:on}),y.createElement("i",{onClick:zr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ze={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Ce=({dataSource:St=[],value:ut="",onChange:wt,onInputChange:bn=()=>{},className:ca,style:wa={},placeholder:on,allowClear:Da=!1})=>{var Xa;const[Fr,Ha]=(0,y.useState)(""),[$n,Ir]=(0,y.useState)("");(0,y.useEffect)(()=>{var Er;let Jn=ut;(Er=JSON.stringify(ut))!=null&&Er.includes("{")&&(Ha(ut.id),Jn=ut.value||"");try{Ir(decodeURIComponent(Jn||""))}catch(To){Ir(decodeURIComponent(Jn||""))}},[ut]);const zr=()=>{wt(encodeURIComponent($n),Fr||null)},Lo=Er=>{Er!==Fr&&(Ha(Er),wt(encodeURIComponent($n),Er))};return y.createElement("div",{className:Qe()(ze.input,ca),style:wa},!!St.length&&y.createElement("div",{className:ze.dropdown},y.createElement("div",{className:ze.text},(Xa=St.find(Er=>Er.id===Fr))==null?void 0:Xa.name,y.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),y.createElement("div",{className:ze.menu},St.map((Er,Jn)=>y.createElement("div",{key:Jn,onClick:()=>Lo(Er.id)},Er.name)))),y.createElement(st.default,{onPressEnter:zr,value:$n,onChange:Er=>{Ir(Er.target.value),bn(encodeURIComponent(Er.target.value),Fr||null)},bordered:!1,placeholder:on}),y.createElement("i",{onClick:zr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ct={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ct=({value:St,onChange:ut,className:wt,total:bn,pageSize:ca,style:wa={}})=>{const on=St<2,Da=St>=Math.ceil(bn/ca);return bn<=ca?y.createElement(y.Fragment,null):y.createElement("div",{className:Qe()(ct.quickPager,wt),style:wa},y.createElement("div",{onClick:()=>{on||ut(St-1,"prev")},className:on?ct.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{Da||ut(St+1,"next")},className:Da?ct.disabled:""},"\u4E0B\u4E00\u9875"))},Et={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},fn=ae(71418),un=ae(6848),Vt=ae(13570),ht=ae(74128),Te=ae(65862),rt=ae(96908),It=ae(57177),hn=ae(81378),Pt=ae(2524),Be=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,trackEventItems:Da,loading:Xa})=>{const Fr=Math.floor((on-(wt-1)*bn)/wt);return y.createElement(fn.Z,{spinning:Xa},y.createElement("div",{className:Qe()(Et.list,St)},!!ut.length&&ut.map((Ha,$n)=>{const{name:Ir,id:zr,identifier:Lo,power:Er,cover_image_id:Jn,pic:To}=Ha;return y.createElement("div",{className:Et.wrap,key:zr,style:{width:Fr,marginRight:(1+$n)%wt===0?0:bn+wa,marginBottom:ca}},y.createElement("a",{target:"_blank",href:`/shixuns/${Lo}/challenges`,className:Et.li,onClick:No=>{No.preventDefault(),Da&&(0,Te.L9)([Da]),Er&&(0,Te.xg)(`/shixuns/${Lo}/challenges`)}},y.createElement("div",{className:Et.img},y.createElement("img",{className:Et.cover,src:`${To}`}),Ha.is_jupyter&&y.createElement("img",{className:Et.sign,src:rt}),Ha.is_jupyter_lab&&y.createElement("img",{className:Et.sign,src:It}),Ha.is_unity_3d&&y.createElement("img",{className:Et.sign,src:hn})),y.createElement("div",{className:Et.name},y.createElement(un.Z,{title:Ir||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:Et.e},Ir||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:Et.tags},y.createElement(un.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,Ha.challenges_count))),!!Ha.myshixuns_count&&y.createElement(un.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,Ha.myshixuns_count))),y.createElement(un.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,Ha.level))),y.createElement("div",{className:Et.rate},y.createElement(Vt.Z,{allowHalf:!0,disabled:!0,defaultValue:Ha.score_info}),y.createElement("span",null,"\xA0",Ha.score_info?`${Ha.score_info}\u5206`:"5\u5206")))),!Er&&y.createElement("div",{className:Et.lockWrap},y.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ut.length&&y.createElement(Pt.Z,null)))},qe={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},nt=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,wrapClassName:Da,trackEventItems:Xa,loading:Fr})=>{const Ha=Math.floor((on-(wt-1)*bn)/wt);return y.createElement(fn.Z,{spinning:Fr},y.createElement("div",{className:Qe()(qe.list,St)},!!ut.length&&ut.map(($n,Ir)=>{const{name:zr,id:Lo,identifier:Er,power:Jn,cover_image_id:To,pic:No}=$n;return y.createElement("div",{className:Qe()(qe.wrap,Da),key:Lo,style:{width:Ha,marginRight:(1+Ir)%wt===0?0:bn+wa,marginBottom:ca}},y.createElement("a",{target:"_blank",href:`/shixuns/${Er}/challenges`,className:qe.li,onClick:yo=>{yo.preventDefault(),Xa&&(0,Te.L9)([Xa]),Jn&&(0,Te.xg)(`/shixuns/${Er}/challenges`)}},y.createElement("img",{src:ae(47621),className:qe.titleBg}),y.createElement("div",{className:qe.name},y.createElement(un.Z,{title:zr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:qe.e},zr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:qe.img},y.createElement("img",{className:qe.cover,src:To?`${ht.Z.API_SERVER}/api/attachments/${To}`:`${ht.Z.IMG_SERVER+No}`}),$n.is_jupyter&&y.createElement("div",{className:qe.bq},"Jupyter"),$n.is_jupyter_lab&&y.createElement("div",{className:qe.bq},"JupyterLab"),$n.is_unity_3d&&y.createElement("div",{className:qe.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),y.createElement("div",{className:"mt20 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:qe.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:qe.value},$n.myshixuns_count)),y.createElement("div",null,y.createElement("span",{className:qe.text},"\u56F0\u96BE\u7B49\u7EA7"),y.createElement("span",{className:qe.value},$n.level))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:qe.text},"\u5173\u5361\u6570"),y.createElement("span",{className:qe.value},$n.challenges_count)),y.createElement("div",{className:qe.rate},y.createElement(Vt.Z,{allowHalf:!0,disabled:!0,defaultValue:$n.score_info}),y.createElement("span",{className:qe.value,style:{color:"#FF9C00"}},"\xA0",$n.score_info?`${$n.score_info}\u5206`:"5\u5206"))))),!Jn&&y.createElement("div",{className:qe.lockWrap},y.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ut.length&&y.createElement(Pt.Z,null)))},pt={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},_n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/f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HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Gn=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,trackEventItems:Da,loading:Xa,wrapClassName:Fr,imgClassName:Ha})=>{const $n=Math.floor((on-(wt-1)*bn)/wt);return y.createElement(fn.Z,{spinning:Xa},y.createElement("div",{className:Qe()(pt.list,St)},!!ut.length&&ut.map((Ir,zr)=>{const{name:Lo,id:Er,identifier:Jn,power:To,cover_image_id:No,pic:yo}=Ir;return y.createElement("div",{className:Qe()(pt.wrap,Fr),key:Er,style:{width:$n,marginRight:(1+zr)%wt===0?0:bn+wa,marginBottom:ca}},y.createElement("a",{target:"_blank",href:`/shixuns/${Jn}/challenges`,className:pt.li,onClick:Ul=>{Ul.preventDefault(),Da&&(0,Te.L9)([Da]),To&&(0,Te.xg)(`/shixuns/${Jn}/challenges`)}},y.createElement("div",{className:Qe()(pt.img,Ha)},y.createElement("img",{className:pt.cover,src:No?`${ht.Z.API_SERVER}/api/attachments/${No}`:`${ht.Z.IMG_SERVER+yo}`}),Ir.is_jupyter&&y.createElement("img",{className:pt.sign,src:_n}),Ir.is_jupyter_lab&&y.createElement("img",{className:pt.sign,src:Zt}),Ir.is_unity_3d&&y.createElement("img",{className:pt.sign,src:At})),y.createElement("div",{className:pt.name},y.createElement(un.Z,{title:Lo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:pt.e},Lo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:pt.tags},y.createElement(un.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,Ir.challenges_count))),!!Ir.myshixuns_count&&y.createElement(un.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,Ir.myshixuns_count))),y.createElement(un.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,Ir.level))),y.createElement("div",{className:pt.rate},y.createElement(Vt.Z,{allowHalf:!0,disabled:!0,defaultValue:Ir.score_info}),y.createElement("span",null,"\xA0",Ir.score_info?`${Ir.score_info}\u5206`:"5\u5206")))),!To&&y.createElement("div",{className:pt.lockWrap},y.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ut.length&&y.createElement(Pt.Z,null)))},Qn=ae(61584),Kt={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},ta=ae(79005),Ba=ae(20345),Un=ae(77882),On=ae(31081),ya=ae(75309),Za=ae(71979),Ya=ae(47558),Ca=ae(42922),rr=ae(66832),qa=ae(96593),Fa=ae(19664),Va=ae(91833),va=Object.defineProperty,En=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,dn=(St,ut,wt)=>ut in St?va(St,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):St[ut]=wt,Aa=(St,ut)=>{for(var wt in ut||(ut={}))Qa.call(ut,wt)&&dn(St,wt,ut[wt]);if(En)for(var wt of En(ut))Ht.call(ut,wt)&&dn(St,wt,ut[wt]);return St};const er=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ta,swimg:Ba},{name:"101\u8BA1\u5212",ptimg:Un,swimg:On},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ya,swimg:Za},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ya,swimg:Ca},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:rr,swimg:qa},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Fa,swimg:Va}];var _a=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,trackEventItems:Da,loading:Xa,wrapClassName:Fr,imgClassName:Ha,isArrow:$n=!1,imgStyle:Ir={}})=>{const zr=Math.floor((on-(wt-1)*bn)/wt),[Lo,Er]=(0,y.useState)(),[Jn,To]=(0,y.useState)(),No=Ul=>Er(Ul),yo=()=>Er(-1);return y.createElement(fn.Z,{spinning:Xa},y.createElement("div",{className:Qe()(Kt.list,St)},!!(ut!=null&&ut.length)&&(ut==null?void 0:ut.map((Ul,$i)=>{var Au;const{name:eu,id:Ti,identifier:vu,featured:Iu,school_name:Ni,image_url:uu,excellent:Cl,is_plan:yu}=Ul;return y.createElement("div",{key:Ti,className:Qe()(Kt.wrap,Fr),style:{width:zr,marginRight:(1+$i)%wt===0?0:bn+wa,marginBottom:ca}},y.createElement("a",{target:"_blank",href:`/paths/${vu}`,className:Kt.li,onClick:bl=>{bl.preventDefault(),Da&&(0,Te.L9)([Da]),(0,Te.xg)(`/paths/${vu}`)}},y.createElement("img",{src:ae(39057),className:Kt.titleBg}),y.createElement("div",{className:Kt.name},y.createElement(un.Z,{title:eu},y.createElement("span",{className:Kt.e,style:{color:$n&&Lo===$i?"#145DFF":"#000000"},onMouseEnter:()=>{No($i)},onMouseLeave:yo},eu))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:Qe()(Kt.img,Ha)},y.createElement("img",{className:Kt.cover,style:Aa({},Ir),src:`${ht.Z.IMG_SERVER+uu}`}),(Au=Ul==null?void 0:Ul.subject_tags)==null?void 0:Au.map((bl,gi)=>{var tu,Ki;if(gi===0){const ki=(tu=er.find(Fi=>Fi.name==bl))==null?void 0:tu.swimg;return y.createElement("img",{className:Kt.sign,src:ki,style:{left:"-4px"}})}const Mu=(Ki=er.find(ki=>ki.name==bl))==null?void 0:Ki.ptimg;return y.createElement("img",{className:Kt.sign,src:Mu,style:{left:`${48+52*(gi-1)+2*gi}px`}})}),y.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Ul==null?void 0:Ul.excellent)&&y.createElement("div",{className:Kt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:Kt.text},"\u7AE0\u8282\u6570"),y.createElement("span",{className:Kt.value},Ul.stages_count)),y.createElement("div",null,y.createElement("span",{className:Kt.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:Kt.value},Ul.members_count))))))})),!ut.length&&y.createElement(Pt.Z,null)))},ka={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},br=ae(41867),la=ae(59301);const Na=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ta,swimg:Ba},{name:"101\u8BA1\u5212",ptimg:Un,swimg:On},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ya,swimg:Za},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ya,swimg:Ca},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:rr,swimg:qa},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Fa,swimg:Va}];var Ot=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,trackEventItems:Da,loading:Xa,onRemove:Fr=()=>{},isCurrent:Ha=!0,showAlias:$n=!1,wrapClassName:Ir,imgClassName:zr})=>{const Lo=Math.floor((on-(wt-1)*bn)/wt),Er=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Jn=>(window.ENV==="build"&&(Jn.ptimg=`/react/build${Jn.ptimg}`,Jn.swimg=`/react/build${Jn.swimg}`),Jn));return la.createElement(fn.Z,{spinning:Xa},la.createElement("div",{className:Qe()(ka.list,St)},!!(ut!=null&&ut.length)&&(ut==null?void 0:ut.map((Jn,To)=>{var No;const{name:yo,id:Ul,identifier:$i,featured:Au,school_name:eu,image_url:Ti,excellent:vu,is_plan:Iu}=Jn;return la.createElement("div",{key:Ul,className:Qe()(ka.wrap,Ir),style:{width:Lo,marginRight:(1+To)%wt===0?0:bn+wa,marginBottom:ca}},la.createElement("a",{className:ka.li,onClick:Ni=>{Ni.preventDefault(),Ni.stopPropagation(),Da&&(0,Te.L9)([Da]),(0,Te.xg)(`/paths/${$i}`)}},la.createElement("div",{className:Qe()(ka.img,zr)},la.createElement("img",{className:ka.cover,src:`${ht.Z.IMG_SERVER+Ti}`}),Ha&&(0,br.bg)()&&(Jn==null?void 0:Jn.studying)&&la.createElement("div",{className:`${ka.movebq} user-path-items`,onClick:Ni=>{Ni.stopPropagation(),Fr(Jn)}},la.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),la.createElement("span",{className:"c-red"},"\u79FB\u9664")),(No=Jn==null?void 0:Jn.subject_tags)==null?void 0:No.map((Ni,uu)=>{var Cl,yu;if(uu===0){const gi=(Cl=Er.find(tu=>tu.name==Ni))==null?void 0:Cl.swimg;return la.createElement("img",{className:ka.sign,src:gi,style:{left:"-4px"}})}const bl=(yu=Er.find(gi=>gi.name==Ni))==null?void 0:yu.ptimg;return la.createElement("img",{className:ka.sign,src:bl,style:{left:`${48+52*(uu-1)+2*uu}px`}})}),la.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Jn==null?void 0:Jn.excellent)&&la.createElement("div",{className:ka.bq},"\u5F00\u653E\u8BFE\u7A0B"))),la.createElement("div",{className:ka.name},la.createElement(un.Z,{title:$n&&(Jn!=null&&Jn.excellent_alias_name)?la.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${yo}`,la.createElement("br",null),la.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Jn==null?void 0:Jn.excellent_alias_name}`)):yo},la.createElement("span",{className:ka.e},$n&&(Jn==null?void 0:Jn.excellent_alias_name)||yo))),la.createElement("div",{className:ka.tags},la.createElement("div",null,la.createElement(un.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},la.createElement("span",null,la.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),la.createElement("span",null,Jn.stages_count))),la.createElement(un.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},la.createElement("span",null,la.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),la.createElement("span",null,Jn.members_count)))))))})),!ut.length&&la.createElement(Pt.Z,null)))},Fn={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs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2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",jn=ae(59301),Yt=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,trackEventItems:Da,loading:Xa})=>{const Fr=Math.floor((on-(wt-1)*bn)/wt);return jn.createElement(fn.Z,{spinning:Xa},jn.createElement("div",{className:Qe()(Fn.list,St)},!!ut.length&&ut.map((Ha,$n)=>{const{subject_identifier:Ir,id:zr,identifier:Lo,power:Er}=Ha,Jn=Ha.is_public!=0&&Ha.is_public;return jn.createElement("div",{className:Fn.wrap,key:zr,style:{width:Fr,marginRight:(1+$n)%wt===0?0:bn+wa,marginBottom:ca}},jn.createElement("a",{className:Fn.li,onClick:To=>{To.preventDefault(),Da&&(0,Te.L9)([Da]),(0,Te.xg)(Ha.first_category_url)}},jn.createElement("div",{className:Fn.top},jn.createElement(un.Z,{title:Ha.name},jn.createElement("div",{className:Fn.name},Ha.name)),jn.createElement("img",{className:Fn.img,src:ht.Z.IMG_SERVER+"/images/"+Ha.avatar_url}),jn.createElement("div",{className:Fn.text,title:Ha.creator},Ha.creator),Ir&&jn.createElement("div",{className:Fn.btns},jn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),jn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Jn&&jn.createElement("div",{className:Fn.sign},"\u516C\u5F00")),jn.createElement("div",{className:Fn.bottom},Ha.visits>0&&jn.createElement(un.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},jn.createElement("span",null,jn.createElement("i",{className:"iconfont icon-liulanyan"}),jn.createElement("span",null,Ha.visits))),Ha.course_members_count>0&&jn.createElement(un.Z,{title:"\u6210\u5458",placement:"bottom"},jn.createElement("span",null,jn.createElement("i",{className:"iconfont icon-chengyuan"}),Ha.course_members_count)),Ha.tasks_count>0&&jn.createElement(un.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},jn.createElement("span",null,jn.createElement("i",{className:"iconfont icon-zuoye"}),Ha.tasks_count)),Ha.is_end?jn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):jn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ha.is_accessible&&jn.createElement("div",{className:Fn.lockWrap},jn.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),jn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ut.length&&jn.createElement(Pt.Z,null)))},xt={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},rn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCe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rapWidth:on=1200,wrapClassName:Da,trackEventItems:Xa,loading:Fr})=>{const Ha=Math.floor((on-(wt-1)*bn)/wt);return y.createElement(fn.Z,{spinning:Fr},y.createElement("div",{className:Qe()(xt.list,St)},!!ut.length&&ut.map(($n,Ir)=>{const{subject_identifier:zr,id:Lo,identifier:Er,power:Jn}=$n,To=$n.is_public!=0&&$n.is_public;return y.createElement("div",{className:Qe()(`${xt.wrap} ${$n.is_accessible?"":xt.warpStyle}`,Da),key:Lo,style:{width:Ha,marginRight:(1+Ir)%wt===0?0:bn+wa,marginBottom:ca}},y.createElement("a",{className:xt.li,onClick:No=>{No.preventDefault(),Xa&&(0,Te.L9)([Xa]),(0,Te.xg)($n.first_category_url)}},y.createElement("div",{className:xt.creator},y.createElement("img",{className:xt.img,src:ht.Z.IMG_SERVER+"/images/"+$n.avatar_url}),y.createElement("div",{className:xt.text,title:$n.creator},$n.creator)),y.createElement("div",{className:xt.top},y.createElement(un.Z,{title:$n.name},y.createElement("div",{className:xt.name},$n.name)),To&&y.createElement("div",{className:xt.sign},"\u516C\u5F00")),y.createElement("div",{className:xt.middle},y.createElement("div",{className:xt.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:xt.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:xt.value},($n==null?void 0:$n.visits)||0)),y.createElement("div",null,y.createElement("span",{className:xt.text},"\u6210\u5458"),y.createElement("span",{className:xt.value},($n==null?void 0:$n.course_members_count)||0))),y.createElement("div",{className:xt.row},y.createElement("div",null,y.createElement("span",{className:xt.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:xt.value},($n==null?void 0:$n.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:xt.text},"\u72B6\u6001"),$n.is_end?y.createElement("span",{className:xt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:xt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),zr&&y.createElement("div",{className:xt.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!$n.is_accessible&&y.createElement("div",{className:xt.lockWrap},y.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ut.length&&y.createElement(Pt.Z,null)))},Ln={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9M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yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Je=({className:St,dataSource:ut=[],col:wt=4,right:bn,bottom:ca=23,precision:wa=0,wrapWidth:on=1200,wrapClassName:Da,trackEventItems:Xa,loading:Fr})=>{const Ha=Math.floor((on-(wt-1)*bn)/wt);return y.createElement(fn.Z,{spinning:Fr},y.createElement("div",{className:Qe()(Ln.list,St)},!!ut.length&&ut.map(($n,Ir)=>{const{subject_identifier:zr,id:Lo,identifier:Er,power:Jn}=$n,To=$n.is_public!=0&&$n.is_public;return y.createElement("div",{className:Qe()(`${Ln.wrap} ${$n.is_accessible?"":Ln.warpStyle}`,Da),key:Lo,style:{width:Ha,marginRight:(1+Ir)%wt===0?0:bn+wa,marginBottom:ca}},y.createElement("a",{className:Ln.li,onClick:No=>{No.preventDefault(),Xa&&(0,Te.L9)([Xa]),(0,Te.xg)($n.first_category_url)}},y.createElement("div",{className:Ln.creator},y.createElement("img",{className:Ln.img,src:ht.Z.IMG_SERVER+"/images/"+$n.avatar_url}),y.createElement("div",{className:Ln.text,title:$n.creator},$n.creator)),y.createElement("div",{className:Ln.top},y.createElement(un.Z,{title:$n.name},y.createElement("div",{className:Ln.name},$n.name)),To&&y.createElement("div",{className:Ln.sign})),y.createElement("div",{className:Ln.middle},y.createElement("div",{className:Ln.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:Ln.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:Ln.value},($n==null?void 0:$n.visits)||0)),y.createElement("div",null,y.createElement("span",{className:Ln.text},"\u6210\u5458"),y.createElement("span",{className:Ln.value},($n==null?void 0:$n.course_members_count)||0))),y.createElement("div",{className:Ln.row},y.createElement("div",null,y.createElement("span",{className:Ln.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:Ln.value},($n==null?void 0:$n.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:Ln.text},"\u72B6\u6001"),$n.is_end?y.createElement("span",{className:Ln.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:Ln.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),zr&&y.createElement("div",{className:Ln.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!$n.is_accessible&&y.createElement("div",{className:Ln.lockWrap},y.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ut.length&&y.createElement(Pt.Z,null)))},Pn={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Cn=ae(65582),Ia=({dataSource:St=[],value:ut,onChange:wt,className:bn,style:ca={},tabBarExtraContent:wa})=>y.createElement("div",{className:Qe()(Pn.tabs,bn),style:ca},y.createElement("div",{className:Pn.tabsWrap},St.map((on,Da)=>y.createElement("aside",{className:Pn.tab,onClick:()=>{wt(on.id),on.link&&Cn.history.push(on.link)},key:Da},y.createElement("div",{className:ut===on.id?Pn.active:""},on.name),(on==null?void 0:on.resetCount)==null&&(on==null?void 0:on.total)!==void 0&&y.createElement("span",null,"\uFF08",on==null?void 0:on.total,"\uFF09"),(on==null?void 0:on.resetCount)!==void 0&&(on==null?void 0:on.total)!==void 0&&y.createElement(un.Z,{title:(on==null?void 0:on.tip)!=null?on==null?void 0:on.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},on==null?void 0:on.resetCount),"/",y.createElement("span",null,on==null?void 0:on.total),"\uFF09"))))),y.createElement("div",{className:Pn.tabBar},wa)),Ea={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},ba=({dataSource:St=[],value:ut,onChange:wt,className:bn,style:ca={},tabBarExtraContent:wa})=>y.createElement("div",{className:Qe()(Ea.tabs,bn),style:ca},y.createElement("div",{className:Ea.tabsWrap},St.map((on,Da)=>y.createElement("aside",{className:Ea.tab,onClick:()=>{wt(on.id),on.link&&Cn.history.push(on.link)},key:Da},y.createElement("div",{className:ut===on.id?Ea.active:""},on.name),(on==null?void 0:on.resetCount)==null&&(on==null?void 0:on.total)!==void 0&&y.createElement("span",null,"\uFF08",on==null?void 0:on.total,"\uFF09"),(on==null?void 0:on.resetCount)!==void 0&&(on==null?void 0:on.total)!==void 0&&y.createElement(un.Z,{title:(on==null?void 0:on.tip)!=null?on==null?void 0:on.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},on==null?void 0:on.resetCount),"/",y.createElement("span",null,on==null?void 0:on.total),"\uFF09"))))),y.createElement("div",{className:Ea.tabBar},wa)),da={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},or=({dataSource:St=[],value:ut,onChange:wt,className:bn,style:ca={},tabBarExtraContent:wa})=>y.createElement("div",{className:Qe()(da.tabs,bn),style:ca},y.createElement("div",{className:da.tabsWrap},St.map((on,Da)=>y.createElement("aside",{className:`${da.tab} ${ut===on.id?da.active:""}`,onClick:()=>{wt(on.id),on.link&&Cn.history.push(on.link)},key:Da},y.createElement("div",null,on.name),(on==null?void 0:on.resetCount)==null&&(on==null?void 0:on.total)!==void 0&&y.createElement("span",null,"\uFF08",on==null?void 0:on.total,"\uFF09"),(on==null?void 0:on.resetCount)!==void 0&&(on==null?void 0:on.total)!==void 0&&y.createElement(un.Z,{title:(on==null?void 0:on.tip)!=null?on==null?void 0:on.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},on==null?void 0:on.resetCount),"/",y.createElement("span",null,on==null?void 0:on.total),"\uFF09"))))),y.createElement("div",{className:da.tabBar},wa)),so=({className:St,style:ut={},children:wt})=>y.createElement("div",{className:Qe()(St),style:ut},wt),Mt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},lr=ae(38854),Qr=ae(20834);const Oa=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var vr=({sortValue:St,dropValue:ut,className:wt,onSort:bn,onDrop:ca,dataSource:wa=Oa})=>{var on;return y.createElement("div",{className:Qe()(Mt.orderWrap,wt)},y.createElement(lr.Z,{dropdownRender:()=>y.createElement(Qr.default,null,wa.map((Da,Xa)=>y.createElement(Qr.default.Item,{key:Xa,onClick:()=>ca(Da.id)},Da.name)))},y.createElement("span",{className:Mt.orderTextWrap},(on=wa.find(Da=>ut===Da.id))==null?void 0:on.name)),y.createElement("span",{className:Mt.orderIconWrap},y.createElement("span",{className:Mt.orderAsc},y.createElement("i",{className:St==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Mt.cursorPointer} ${Mt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Mt.cursorPointer}`,onClick:()=>bn(St==="asc"?"desc":"asc")})),y.createElement("span",{className:Mt.orderDesc},y.createElement("i",{className:St==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Mt.cursorPointer} ${Mt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Mt.cursorPointer}`,onClick:()=>bn(St==="asc"?"desc":"asc")}))))},Dr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Hr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var yr=({sortValue:St,dropValue:ut,className:wt,onSort:bn,onDrop:ca,dataSource:wa=Hr})=>{var on;return y.createElement("div",{className:Qe()(Dr.orderWrap,wt)},y.createElement(lr.Z,{dropdownRender:()=>y.createElement(Qr.default,null,wa.map((Da,Xa)=>y.createElement(Qr.default.Item,{key:Xa,onClick:()=>ca(Da.id)},Da.name)))},y.createElement("span",{className:Dr.orderTextWrap},(on=wa.find(Da=>ut===Da.id))==null?void 0:on.name)),y.createElement("span",{className:Dr.orderIconWrap},y.createElement("span",{className:Dr.orderAsc},y.createElement("i",{className:St==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Dr.cursorPointer} ${Dr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Dr.cursorPointer}`,onClick:()=>bn(St==="asc"?"desc":"asc")})),y.createElement("span",{className:Dr.orderDesc},y.createElement("i",{className:St==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Dr.cursorPointer} ${Dr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Dr.cursorPointer}`,onClick:()=>bn(St==="asc"?"desc":"asc")}))))},ga={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Qt=ae(3113),hr=ae(2337),Ur=Object.defineProperty,Yr=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,ma=(St,ut,wt)=>ut in St?Ur(St,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):St[ut]=wt,na=(St,ut)=>{for(var wt in ut||(ut={}))sr.call(ut,wt)&&ma(St,wt,ut[wt]);if(Yr)for(var wt of Yr(ut))Dn.call(ut,wt)&&ma(St,wt,ut[wt]);return St},Yn=(St,ut)=>{var wt={};for(var bn in St)sr.call(St,bn)&&ut.indexOf(bn)<0&&(wt[bn]=St[bn]);if(St!=null&&Yr)for(var bn of Yr(St))ut.indexOf(bn)<0&&Dn.call(St,bn)&&(wt[bn]=St[bn]);return wt},dr=(St,ut,wt)=>new Promise((bn,ca)=>{var wa=Xa=>{try{Da(wt.next(Xa))}catch(Fr){ca(Fr)}},on=Xa=>{try{Da(wt.throw(Xa))}catch(Fr){ca(Fr)}},Da=Xa=>Xa.done?bn(Xa.value):Promise.resolve(Xa.value).then(wa,on);Da((wt=wt.apply(St,ut)).next())}),jr=St=>{var ut=St,{className:wt,style:bn,children:ca,loading:wa=!1,openLoading:on,onClick:Da=()=>{},size:Xa="middle",shape:Fr="round",theme:Ha}=ut,$n=Yn(ut,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ir,zr]=(0,y.useState)(!1),Lo=(0,y.useMemo)(()=>{switch(Ha){case hr.Fy.THEMEONE:return ga.ThemeOne;case hr.Fy.DEFAULT:default:return ga.btn}},[Ha]);return y.createElement(Qt.ZP,na({onClick:(0,Ie.throttle)(Er=>dr(void 0,null,function*(){on&&zr(!0);try{yield Da(Er)}catch(Jn){console.log("error",Jn)}on&&zr(!1)}),2e3,{leading:!0,trailing:!1}),className:Qe()(Lo,ga[`${Xa}-${Fr}`],wt),style:bn,size:Xa,shape:Fr,loading:Ir||wa},$n),ca)},Br={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},wo=({className:St,style:ut,children:wt=null,onClick:bn,title:ca})=>y.createElement("div",{className:Qe()(Br.head,St),style:ut},y.createElement("span",{className:"primary-hover",onClick:bn},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:ca},ca),y.createElement("div",{className:Br.node},wt)),Co={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Kr=({confirmShow:St=!0,confirmTitle:ut,confirmClick:wt,cancelShow:bn=!0,cancelTitle:ca,cancelClick:wa,className:on,style:Da,confirmLoading:Xa=!1})=>y.createElement("div",{className:Qe()(Co.btns,on),style:Da},St&&y.createElement(Qt.ZP,{loading:Xa,onClick:wt,type:"primary",className:Co.confirm},ut),bn&&y.createElement(Qt.ZP,{onClick:wa,className:Co.cancel},ca)),Mr={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},co=({className:St,style:ut={},LeftContent:wt,children:bn,RightContent:ca})=>y.createElement("div",{className:Qe()(Mr.fixedBottom,St),style:ut},y.createElement("div",{className:Mr.wrap},y.createElement("div",{className:Mr.left},wt),y.createElement("div",{className:Mr.center},bn),y.createElement("div",{className:Mr.right},ca))),ro={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Cr=({className:St,style:ut={},dataSource:wt=[]})=>y.createElement("div",{className:Qe()(ro.crumbs,St),style:ut},wt.map((bn,ca)=>caCn.history.push(bn.path)},bn.name):y.createElement("span",null,bn.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:ca,style:{color:"#5F6368"}},bn.name))),$r=ae(31797),Qo=Object.defineProperty,ko=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertySymbols,el=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,eo=(St,ut,wt)=>ut in St?Qo(St,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):St[ut]=wt,Ko=(St,ut)=>{for(var wt in ut||(ut={}))el.call(ut,wt)&&eo(St,wt,ut[wt]);if(ol)for(var wt of ol(ut))cl.call(ut,wt)&&eo(St,wt,ut[wt]);return St},he=(St,ut)=>ko(St,Ja(ut)),Bt=(St,ut)=>{var wt={};for(var bn in St)el.call(St,bn)&&ut.indexOf(bn)<0&&(wt[bn]=St[bn]);if(St!=null&&ol)for(var bn of ol(St))ut.indexOf(bn)<0&&cl.call(St,bn)&&(wt[bn]=St[bn]);return wt};const{Countdown:Jt}=$r.default;var bt=St=>{var ut=St,{onChange:wt}=ut,bn=Bt(ut,["onChange"]);const[ca,wa]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof ca=="number"&&ca>=0&&wt(ca)},[ca]);const on=Da=>{const Xa=Math.floor(Da/1e3);wa(Xa)};return y.createElement(Jt,he(Ko({},bn),{onChange:on}))},Kn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},An=({DataProps:St,className:ut,style:wt={}})=>{var bn;return y.createElement("div",{className:Qe()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Kn.ClassRoomItem,ut),style:wt,onClick:()=>{(0,Te.xg)(St==null?void 0:St.first_category_url)}},y.createElement("div",{className:"flex flex-col item-center"},y.createElement("img",{src:`${(bn=ht.Z)==null?void 0:bn.IMG_SERVER}/images/${St==null?void 0:St.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(St==null?void 0:St.subject_identifier)&&y.createElement("div",{className:"mt-40px"},y.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),y.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},y.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(St!=null&&St.is_public)&&y.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),y.createElement("span",{className:Qe()("text-16px font-medium",Kn.TitleDom)},St==null?void 0:St.name)),y.createElement("div",{className:"c-grey-333 font-medium"},St==null?void 0:St.creator),y.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",St==null?void 0:St.course_members_count),y.createElement("div",{className:"c-grey-333 flex item-center justify-between"},y.createElement("div",null,"\u4F5C\u4E1A\uFF1A",St==null?void 0:St.tasks_count),St!=null&&St.is_end?y.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):y.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Mn=Object.defineProperty,Ua=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Ut=(St,ut,wt)=>ut in St?Mn(St,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):St[ut]=wt,xn=(St,ut)=>{for(var wt in ut||(ut={}))Hn.call(ut,wt)&&Ut(St,wt,ut[wt]);if(Ua)for(var wt of Ua(ut))nn.call(ut,wt)&&Ut(St,wt,ut[wt]);return St},Nr=({DataProps:St=[],selectValue:ut,onChange:wt,className:bn,style:ca={},extra:wa,classNameItem:on,styleItem:Da={},barHidden:Xa})=>{const[Fr,Ha]=(0,y.useState)();return(0,y.useEffect)(()=>{Ha(Array.isArray(ut)?ut:[ut])},[ut]),y.createElement("div",{className:Qe()("flex px-20px py-10px gap-40px",bn),style:xn({borderBottom:"1px solid #D3F0FF"},ca)},St==null?void 0:St.map($n=>y.createElement("div",{key:$n==null?void 0:$n.id,className:Qe()("flex item-center justify-center current c-grey-333 text-16 relative",on,$n==null?void 0:$n.className),style:xn(xn({color:Fr!=null&&Fr.includes($n==null?void 0:$n.id)?"#1890FF":"",minWidth:88},Da),($n==null?void 0:$n.style)||{}),onClick:Ir=>{wt==null||wt({domEvent:Ir,item:$n}),$n!=null&&$n.link&&Cn.history.push($n==null?void 0:$n.link)}},$n==null?void 0:$n.name,!Xa&&(Fr==null?void 0:Fr.includes($n==null?void 0:$n.id))&&y.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),y.createElement("div",{className:"ml-auto"},wa))},mo=Object.defineProperty,xo=Object.defineProperties,_o=Object.getOwnPropertyDescriptors,Jo=Object.getOwnPropertySymbols,Nl=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,Il=(St,ut,wt)=>ut in St?mo(St,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):St[ut]=wt,Tl=(St,ut)=>{for(var wt in ut||(ut={}))Nl.call(ut,wt)&&Il(St,wt,ut[wt]);if(Jo)for(var wt of Jo(ut))gl.call(ut,wt)&&Il(St,wt,ut[wt]);return St},Li=(St,ut)=>xo(St,_o(ut)),ar=({value:St,onChange:ut,onInputChange:wt,className:bn,style:ca={},InputProps:wa})=>{const[on,Da]=(0,y.useState)(St);return y.createElement("div",{className:Qe()("flex item-center rounded-full px-10px py-2px",bn),style:Tl({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ca)},y.createElement(st.default,Li(Tl({bordered:!1},wa),{onChange:Xa=>{Da(Xa.target.value),wt==null||wt(encodeURIComponent(Xa.target.value))},onPressEnter:Xa=>{ut==null||ut({domEvent:Xa,item:{value:on}})}})),y.createElement("img",{className:"h-22px current",src:ae(25365),height:22,onClick:Xa=>{ut==null||ut({domEvent:Xa,item:{value:on}})}}))}},31103:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return pe}});var y=ae(59301);function pe(Fe,Me){const ke=(0,y.useRef)();(0,y.useEffect)(()=>{ke.current=Fe}),(0,y.useEffect)(()=>{function Ue(){ke.current()}if(Me!==null){let xe=setInterval(Ue,Me);return()=>clearInterval(xe)}},[Me])}},16439:function(it,Tt,ae){"use strict";ae.r(Tt),ae.d(Tt,{default:function(){return ju}});var y=ae(59301),pe=ae(65582),Fe=ae(78241),Me=ae(8591),ke=ae(66104),Ue=ae(92832),xe=ae(19842),Qe=ae(24905),Ie=ae(5112),we=ae(5871),Re=ae(3113),Ze={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ye=ae(43418),ie=ae(5083),E=ae(56656),a=ae.n(E),x=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())});const b=({user:se,dispatch:Se,classroomList:Pe,onModalOk:lt,setsubloading:vt})=>{const zn=(0,pe.useParams)(),[pn,_t]=(0,y.useState)(),[ft,$t]=(0,y.useState)(!1);function In(et){return et&&et{$t(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(ft){Me.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}vt(!1),Se({type:"classroomList/setActionTabs",payload:{}})}},y.createElement("div",null,y.createElement("span",null,"\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),y.createElement("br",null),y.createElement(ie.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:In,format:"YYYY-MM-DD HH:mm:ss",onChange:(et,Ft)=>{_t(Ft)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),y.createElement("br",null),y.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),y.createElement("br",null),y.createElement("div",{style:{textAlign:"end"}},y.createElement(Re.ZP,{loading:ft,type:"primary",onClick:()=>x(void 0,null,function*(){$t(!0),lt(pn,()=>{Se({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,pe.connect)(({user:se,classroomList:Se})=>({user:se,classroomList:Se}))(b),te=ae(38147),oe=ae(32134),ue=ae(12893),le={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},Ee=ae(57809),be=Object.defineProperty,We=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Oe=(se,Se,Pe)=>Se in se?be(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Ke=(se,Se)=>{for(var Pe in Se||(Se={}))De.call(Se,Pe)&&Oe(se,Pe,Se[Pe]);if(We)for(var Pe of We(Se))st.call(Se,Pe)&&Oe(se,Pe,Se[Pe]);return se},ze=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),Ce=({setitem:se,item:Se,rz:Pe})=>{var lt,vt,zn,pn,_t,ft,$t,In;let[et,Ft]=(0,y.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[mn]=Fe.default.useForm(),[Bn,en]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Pe&&!Bn&&(et.zydatas=Pe,Ft(Ke({},et)),en(!0),Se!=null&&Se.ec_course_id&&jt())},[Se,Pe,Bn]),console.log(et,"params");function jt(){return ze(this,null,function*(){yield Rt(Se==null?void 0:Se.ec_major_school_id),yield Xt(Se==null?void 0:Se.ec_year_id),yield xa(Se==null?void 0:Se.ec_course_id),mn.setFieldsValue({ec_course_id:Se==null?void 0:Se.ec_course_id,ec_major_school_id:Se==null?void 0:Se.ec_major_school_id,ec_point_ids:Se==null?void 0:Se.ec_point_ids,ec_year_id:Se==null?void 0:Se.ec_year_id})})}function Rt(yn){return ze(this,null,function*(){const Sn=yield(0,te.ZP)(`/api/ec_major_schools/${yn}/ec_years/get_year_list.json`,{method:"get"});et.jbdatas=Sn==null?void 0:Sn.data,Ft(Ke({},et)),mn.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function Xt(yn){return ze(this,null,function*(){const Sn=yield(0,te.ZP)(`/api/ec_years/${yn}/ec_courses/get_courses.json`,{method:"get"});et.kcdatas=Sn==null?void 0:Sn.data,Ft(Ke({},et)),mn.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const xa=yn=>ze(void 0,null,function*(){const Sn=yield(0,te.ZP)(`/api/ec_courses/${yn}/ec_points.json`,{method:"get",params:{ec_course_id:yn}});et.zsdatas=Sn==null?void 0:Sn.data,Ft(Ke({},et))});return y.createElement("div",{className:le.from},y.createElement(Fe.default,{form:mn,layout:"inline",onValuesChange:yn=>{console.log("----",yn),yn.ec_major_school_id&&(et.jbdatas=[],et.kcdatas=[],et.zsdatas=[],Ft(Ke({},et)),Rt(yn.ec_major_school_id)),yn.ec_year_id&&(et.kcdatas=[],et.zsdatas=[],Ft(Ke({},et)),Xt(yn.ec_year_id)),yn.ec_course_id&&(et.zsdatas=[],Ft(Ke({},et)),xa(yn.ec_course_id))},onFinish:yn=>ze(void 0,null,function*(){se(yn)})},y.createElement(Fe.default.Item,{name:"ec_major_school_id"},y.createElement(Ee.default,{style:{width:160},disabled:((lt=et.zydatas)==null?void 0:lt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(vt=et==null?void 0:et.zydatas)==null?void 0:vt.map((yn,Sn)=>y.createElement(Ee.default.Option,{key:Sn,value:yn==null?void 0:yn.ec_major_school_id},yn==null?void 0:yn.name)))),y.createElement(Fe.default.Item,{name:"ec_year_id"},y.createElement(Ee.default,{style:{width:160},disabled:((zn=et.jbdatas)==null?void 0:zn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(pn=et==null?void 0:et.jbdatas)==null?void 0:pn.map((yn,Sn)=>y.createElement(Ee.default.Option,{key:Sn,value:yn==null?void 0:yn.ec_year_id},yn==null?void 0:yn.year)))),y.createElement(Fe.default.Item,{name:"ec_course_id"},y.createElement(Ee.default,{style:{width:208},disabled:((_t=et.kcdatas)==null?void 0:_t.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(ft=et==null?void 0:et.kcdatas)==null?void 0:ft.map((yn,Sn)=>y.createElement(Ee.default.Option,{key:Sn,value:yn==null?void 0:yn.id},yn==null?void 0:yn.name)))),y.createElement(Fe.default.Item,{name:"ec_point_ids"},y.createElement(Ee.default,{onChange:()=>{mn.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:(($t=et.zsdatas)==null?void 0:$t.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(In=et==null?void 0:et.zsdatas)==null?void 0:In.map((yn,Sn)=>y.createElement(Ee.default.Option,{key:Sn,value:yn==null?void 0:yn.id},yn==null?void 0:yn.name))))))},ct=Object.defineProperty,mt=Object.defineProperties,Ct=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Vt=(se,Se,Pe)=>Se in se?ct(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,ht=(se,Se)=>{for(var Pe in Se||(Se={}))fn.call(Se,Pe)&&Vt(se,Pe,Se[Pe]);if(Et)for(var Pe of Et(Se))un.call(Se,Pe)&&Vt(se,Pe,Se[Pe]);return se},Te=(se,Se)=>mt(se,Ct(Se)),rt=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())});const It=({user:se,exercise_id:Se=null,homework_common_id:Pe=null,setitem:lt})=>{var vt,zn,pn;let[_t,ft]=(0,y.useState)([{id:Math.random()}]),[$t,In]=(0,y.useState)(null);function et(){return rt(this,null,function*(){var mn,Bn,en,jt;let Rt=yield(0,te.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:Se,homework_common_id:Pe}});if(((mn=Rt==null?void 0:Rt.data)==null?void 0:mn.length)>0){let Xt=[];(Bn=Rt==null?void 0:Rt.data)==null||Bn.map(xa=>{var yn;(yn=xa==null?void 0:xa.ec_point_ids)==null||yn.map(Sn=>{Xt.push(Sn)})}),lt(Te(ht({},(en=Rt==null?void 0:Rt.data)==null?void 0:en[0]),{ec_point_ids:Xt})),ft((jt=Rt==null?void 0:Rt.data)==null?void 0:jt.map(xa=>Te(ht({},xa),{id:Math.random()})))}})}(0,y.useEffect)(()=>{var mn,Bn;(Bn=(mn=se==null?void 0:se.userInfo)==null?void 0:mn.course)!=null&&Bn.course_school_id&&Ft()},[(zn=(vt=se==null?void 0:se.userInfo)==null?void 0:vt.course)==null?void 0:zn.course_school_id]);function Ft(){return rt(this,null,function*(){var mn,Bn;const en=yield(0,te.ZP)(`/api/schools/${(Bn=(mn=se==null?void 0:se.userInfo)==null?void 0:mn.course)==null?void 0:Bn.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});In(en==null?void 0:en.data),(Pe||Se)&&et()})}return console.log(_t,$t,"datas"),y.createElement("div",{style:{display:(pn=se.userInfo.course)!=null&&pn.is_openengineering?"":"none"}},y.createElement("div",{className:le.wrap},y.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",y.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),y.createElement("div",{className:le.itemWarp},_t==null?void 0:_t.map((mn,Bn)=>y.createElement("div",{key:mn.id,style:{display:"flex",alignItems:"center",marginBottom:20}},y.createElement(Ce,{rz:$t,item:mn,setitem:en=>{en=ht(ht({},_t==null?void 0:_t[Bn]),en),_t.splice(Bn,1,en),ft([..._t]);let jt=[];_t==null||_t.map(Rt=>{var Xt;(Xt=Rt==null?void 0:Rt.ec_point_ids)==null||Xt.map(xa=>{jt.push(xa)})}),lt(Te(ht({},en),{ec_point_ids:jt}))}}),y.createElement(oe.Z,{className:le.addIcon,onClick:()=>{_t.push({id:Math.random()}),ft([..._t])}}),Bn!=0&&y.createElement(ue.Z,{className:le.deleteIcon,onClick:()=>{_t.splice(Bn,1);let en=[];_t==null||_t.map(jt=>{var Rt;(Rt=jt==null?void 0:jt.ec_point_ids)==null||Rt.map(Xt=>{en.push(Xt)})}),lt(Te(ht({},_t[Bn-1]),{ec_point_ids:en})),ft([..._t])}}))))))};var hn=(0,pe.connect)(({user:se})=>({user:se}))(It),Pt=ae(20834),sn=ae(71418),Be=ae(38854),qe=ae(6848),qt=ae(43428),nt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},pt=ae(65862),_n=ae(2524),Zt=ae(38821),At=ae(22061),yt=ae(6339),Gn=ae(59301),Qn=Object.defineProperty,Kt=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,ya=(se,Se,Pe)=>Se in se?Qn(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Za=(se,Se)=>{for(var Pe in Se||(Se={}))Un.call(Se,Pe)&&ya(se,Pe,Se[Pe]);if(Ba)for(var Pe of Ba(Se))On.call(Se,Pe)&&ya(se,Pe,Se[Pe]);return se},Ya=(se,Se)=>Kt(se,ta(Se)),Ca=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),qa=({Itemid:se,setqitem:Se,qitem:Pe,data:lt,getdata:vt,bigitem:zn,setBigqitem:pn,isedit:_t,handleEditing:ft})=>{const[$t,In]=(0,y.useState)([]),[et,Ft]=(0,y.useState)(!1),mn=(en,jt,Rt)=>{const Xt=Array.from(en),[xa]=Xt.splice(jt,1);return Xt.splice(Rt,0,xa),Xt};(0,y.useEffect)(()=>{lt.length>0&&In([...lt])},[lt]);const Bn=(en,jt)=>Ca(void 0,null,function*(){if(!en.destination)return;if(_t){ft();return}const Rt=mn(jt,en.source.index,en.destination.index);Ft(!0);let Xt=yield(0,te.ZP)(`/api/exercises/${se}/adjust_position.json`,{method:"post",body:{id:se,question_ids:Rt==null?void 0:Rt.map(xa=>xa.question_id)}});Ft(!1),Xt.status===0&&vt({id:jt==null?void 0:jt[en.source.index].question_id})});return Gn.createElement("div",null,Gn.createElement(At.Z5,{onDragEnd:en=>Bn(en,$t)},Gn.createElement(At.bK,{droppableId:"droppable"},(en,jt)=>Gn.createElement("div",Za({ref:en.innerRef},en.droppableProps),Gn.createElement(sn.Z,{spinning:et},$t.map((Rt,Xt)=>Gn.createElement(At._l,{key:Xt,draggableId:Xt.toString(),index:Xt},(xa,yn)=>{var Sn,Or;return Gn.createElement("aside",Za(Za({ref:xa.innerRef},xa.draggableProps),xa.dragHandleProps),Gn.createElement(qe.Z,{title:Gn.createElement(yt.Z,{value:(Rt==null?void 0:Rt.question_type)===8?(Sn=Rt==null?void 0:Rt.program_attr)==null?void 0:Sn.description:Rt.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},Gn.createElement("div",{onClick:()=>{if(_t){ft();return}Se(Ya(Za({},Rt),{index:Xt+1})),pn(zn),(0,pt.Vf)("#question-scroll-id")},className:`${nt.qcount} ${Rt.question_id===(Pe==null?void 0:Pe.question_id)?nt.qcountclick:""}`},Gn.createElement("span",{className:nt.score},Rt==null?void 0:Rt.question_score,"\u5206"),Gn.createElement("span",{className:nt.qtitle},Xt+1,"\u3001",Gn.createElement(yt.Z,{value:(Rt==null?void 0:Rt.question_type)===8?(Or=Rt==null?void 0:Rt.program_attr)==null?void 0:Or.description:Rt.question_title,showTextOnly:!0})))))}))),en.placeholder))))},Fa=ae(95237),Va=ae(85500),va=ae(78673),En=ae(61485),Qa=ae(23340),Ht=ae(59301),dn=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),er=({form:se,TagDiscipline:Se,exerciseitem:Pe,qitem:lt,getTagData:vt})=>{var zn;const[pn,_t]=(0,y.useState)(!0),[ft,$t]=(0,y.useState)(!1),[In,et]=(0,y.useState)(""),[Ft,mn]=(0,y.useState)([]),[Bn,en]=(0,y.useState)([]),[jt,Rt]=(0,y.useState)(0);(0,y.useEffect)(()=>{xa()},[]);const Xt=yn=>dn(void 0,null,function*(){const Sn=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:yn==null?void 0:yn.sub_discipline_id}});en(Sn==null?void 0:Sn.tag_disciplines)}),xa=()=>dn(void 0,null,function*(){const yn=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});mn(yn.disciplines||[]),lt!=null&<.sub_discipline_id&&Xt(lt),Rt(lt!=null&<.sub_discipline_id?1:0),se.setFieldsValue({difficulty:lt.difficulty||2,tag_discipline_ids:lt.tag_discipline_ids,repeat_answer:!lt.repeat_answer,sub_discipline_id:lt!=null&<.sub_discipline_id?[lt==null?void 0:lt.discipline_id,lt==null?void 0:lt.sub_discipline_id]:[]})});return Ht.createElement("div",null,Ht.createElement("div",{style:{marginTop:30,height:pn?"100%":"0px",overflow:"hidden"}},Ht.createElement(Fe.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Ht.createElement(Ie.ZP.Group,{className:nt.radiogroup},Ht.createElement(Ie.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),Ht.createElement(Ie.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),Ht.createElement(Ie.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),Ht.createElement(Fe.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},Ht.createElement(xe.Z,{className:nt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ft,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(yn,Sn)=>{se.setFieldsValue({sub_discipline_id:yn,tag_discipline_ids:[]}),Rt(yn?yn.length:0),(yn==null?void 0:yn.length)>0&&(Xt({sub_discipline_id:yn[1]}),yn[1]==(lt==null?void 0:lt.sub_discipline_id)&&se.setFieldValue("tag_discipline_ids",lt.tag_discipline_ids))},onClear:()=>{en([]),se.setFieldValue("tag_discipline_ids",[]),Rt(0)}})),Ht.createElement(Fe.default.Item,{className:nt.formcenterselect},Ht.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Ht.createElement(Fe.default.Item,{name:"tag_discipline_ids"},Ht.createElement(Ee.default,{className:nt.selectitems,disabled:jt===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(yn,Sn)=>Sn.key.indexOf(yn.toLowerCase())>=0},Bn==null?void 0:Bn.map(yn=>Ht.createElement(Ee.default.Option,{key:yn.name+yn.id,value:yn.id},Ht.createElement("div",{style:{display:"flex",alignItems:"center"}},Ht.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},yn.name),(yn==null?void 0:yn.type)==="personal"&&Ht.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),jt>0&&Ht.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Ht.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Ht.createElement("a",{onClick:()=>{$t(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Ht.createElement(Fe.default.Item,{className:nt.formcenterselect},Ht.createElement("div",{style:{display:"flex",alignItems:"center"}},Ht.createElement(Fe.default.Item,{name:"repeat_answer",valuePropName:"checked"},Ht.createElement(va.Z,null)),Ht.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Ht.createElement(qe.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},Ht.createElement(En.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Ht.createElement(Qa.Z,{open:ft,subDisciplineId:(zn=se.getFieldValue("sub_discipline_id"))==null?void 0:zn[1],onCancel:()=>{$t(!1)},onOkClick:yn=>{en(Sn=>[...Sn,yn]),se.setFieldValue("tag_discipline_ids",[...se.getFieldValue("tag_discipline_ids"),yn==null?void 0:yn.id])}}))},tr=ae(59301),_a=Object.defineProperty,ka=Object.defineProperties,br=Object.getOwnPropertyDescriptors,la=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,Ot=(se,Se,Pe)=>Se in se?_a(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Fn=(se,Se)=>{for(var Pe in Se||(Se={}))Na.call(Se,Pe)&&Ot(se,Pe,Se[Pe]);if(la)for(var Pe of la(Se))Wr.call(Se,Pe)&&Ot(se,Pe,Se[Pe]);return se},ia=(se,Se)=>ka(se,br(Se)),jn=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),Yt=({qitem:se,setisedit:Se,TagDiscipline:Pe,exerciseitem:lt,seveeditor:vt,deleteitem:zn,getTagData:pn,init:_t,showTip:ft=!1})=>{var $t;const[In]=Fe.default.useForm();(0,y.useEffect)(()=>{var Ft;In.setFieldsValue(ia(Fn({},se),{name:se==null?void 0:se.question_title,choices:(Ft=se==null?void 0:se.question_choices)==null?void 0:Ft.map(mn=>ia(Fn({},mn),{standard_boolean:mn!=null&&mn.standard_boolean?1:0})),repeat_answer:!(se!=null&&se.repeat_answer)}))},[se]);const et=Ft=>{if(!(Ft!=null&&Ft.length))return!1;const mn=Ft.map(en=>{var jt;return(jt=en.choice_text)==null?void 0:jt.trim().replace(/^\s+|\s+$/g,"")});return new Set(mn).size!==mn.length};return tr.createElement("div",null,tr.createElement(Fe.default,{form:In,colon:!1,onFinish:Ft=>{var mn,Bn,en,jt,Rt;if(et(Ft.choices)){Me.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let Xt=(Bn=(mn=Ft==null?void 0:Ft.choices)==null?void 0:mn.map)==null?void 0:Bn.call(mn,(yn,Sn)=>{if((yn==null?void 0:yn.standard_boolean)===1)return Sn+1}),xa=ia(Fn({},Ft),{item_type:se==null?void 0:se.question_type,question_choices:(jt=(en=Ft==null?void 0:Ft.choices)==null?void 0:en.map)==null?void 0:jt.call(en,yn=>yn.choice_text),standard_answers:Xt.filter(yn=>yn),choices:(Rt=Ft==null?void 0:Ft.choices)==null?void 0:Rt.map(yn=>ia(Fn({},yn),{is_answer:yn.standard_boolean}))});vt(Fn(Fn({},se),xa))},onFinishFailed:Ft=>jn(void 0,null,function*(){var mn,Bn;Me.ZP.error(Ft.errorFields[0].errors[0]),In.scrollToField((Bn=(mn=Ft==null?void 0:Ft.errorFields)==null?void 0:mn[0])==null?void 0:Bn.name,{behavior:"smooth",block:"center"})})},tr.createElement("div",{style:{display:"flex",alignItems:"center"}},tr.createElement("div",{style:{flex:1}},tr.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),tr.createElement("span",null,(se==null?void 0:se.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),(($t=lt==null?void 0:lt.exercise)==null?void 0:$t.exercise_status)==1&&!(se!=null&&se.isadd)&&tr.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{zn()}},tr.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),tr.createElement(Re.ZP,{onClick:()=>{var Ft;se.isadd?(Se(!1),_t()):(In.setFieldsValue(ia(Fn({},se),{name:se==null?void 0:se.question_title,choices:(Ft=se==null?void 0:se.question_choices)==null?void 0:Ft.map(mn=>ia(Fn({},mn),{standard_boolean:mn!=null&&mn.standard_boolean?1:0})),repeat_answer:!(se!=null&&se.repeat_answer)})),Se(!1))}},"\u53D6\u6D88"),tr.createElement(qe.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:tr.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},tr.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},tr.createElement(Re.ZP,{type:"primary",className:"ml20",onClick:()=>jn(void 0,null,function*(){In.submit()})},"\u4FDD\u5B58"))),tr.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},tr.createElement(Fa.Z,{align:"middle"},tr.createElement(Fe.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},tr.createElement(we.Z,{onBlur:Ft=>{Ft.target.value==="0"&&Me.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),tr.createElement(Va.u,{form:In,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),tr.createElement(er,{getTagData:pn,qitem:se,exerciseitem:lt,TagDiscipline:Pe,form:In}))))},xt=ae(78909),rn=ae(94637),tn=ae(59301),Vn=Object.defineProperty,Ln=Object.defineProperties,tt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Cn=(se,Se,Pe)=>Se in se?Vn(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Zn=(se,Se)=>{for(var Pe in Se||(Se={}))Je.call(Se,Pe)&&Cn(se,Pe,Se[Pe]);if(ot)for(var Pe of ot(Se))Pn.call(Se,Pe)&&Cn(se,Pe,Se[Pe]);return se},Ia=(se,Se)=>Ln(se,tt(Se)),Ea=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),ba=({qitem:se,TagDiscipline:Se,exerciseitem:Pe,setisedit:lt,seveeditor:vt,deleteitem:zn,getTagData:pn,init:_t,showTip:ft=!1})=>{var $t;const[In]=Fe.default.useForm(),et=Fe.default.useWatch("use_blank_score",In);return(0,y.useEffect)(()=>{In.setFieldsValue(Ia(Zn({},se),{standard_answers:se.standard_answers||[],name:se.question_title,repeat_answer:!se.repeat_answer}))},[se]),tn.createElement("div",null,tn.createElement(Fe.default,{form:In,colon:!1,onValuesChange:(Ft,mn)=>{var Bn,en,jt,Rt;if(Ft!=null&&Ft.standard_answers||Ft!=null&&Ft.use_blank_score){let Xt=((Bn=In.getFieldValue("standard_answers"))==null?void 0:Bn.length)>0&&((jt=(en=In.getFieldValue("standard_answers"))==null?void 0:en.map(xa=>xa.score))==null?void 0:jt.filter(xa=>xa));(Xt==null?void 0:Xt.length)>0&&In.setFieldsValue({question_score:(Xt==null?void 0:Xt.length)>0&&((Rt=Xt.reduce((xa,yn)=>xa+yn))==null?void 0:Rt.toFixed(1))})}},onFinish:Ft=>{vt(Ia(Zn(Zn({},se),Ft),{item_type:se==null?void 0:se.question_type,standard_answers:Ft.standard_answers,question_title:Ft.name}))},onFinishFailed:Ft=>Ea(void 0,null,function*(){var mn,Bn;Ft.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,pt.pE)(),Me.ZP.error(Ft.errorFields[0].errors[0]),In.scrollToField((Bn=(mn=Ft==null?void 0:Ft.errorFields)==null?void 0:mn[0])==null?void 0:Bn.name,{behavior:"smooth",block:"center"})})},tn.createElement("div",{style:{display:"flex",alignItems:"center"}},tn.createElement("div",{style:{flex:1}},tn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),tn.createElement("span",null,"\u586B\u7A7A\u9898")),(($t=Pe==null?void 0:Pe.exercise)==null?void 0:$t.exercise_status)==1&&!(se!=null&&se.isadd)&&tn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{zn()}},tn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),tn.createElement(Re.ZP,{onClick:()=>{se.isadd?(lt(!1),_t()):(In.setFieldsValue(Ia(Zn({},se),{standard_answers:se.standard_answers||[],name:se.question_title,repeat_answer:!se.repeat_answer})),lt(!1))}},"\u53D6\u6D88"),tn.createElement(qe.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:tn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},tn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},tn.createElement(Re.ZP,{type:"primary",className:"ml20",onClick:()=>{In.submit()}},"\u4FDD\u5B58"))),tn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},tn.createElement(Fa.Z,{align:"middle"},et?tn.createElement(rn.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):tn.createElement(Fe.default.Item,{key:2,className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},tn.createElement(we.Z,{onBlur:Ft=>{Ft.target.value==="0"&&Me.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),tn.createElement(Fe.default.Item,{name:"use_blank_score",noStyle:!0},tn.createElement(Ie.ZP.Group,{className:nt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),tn.createElement(qe.Z,{overlayInnerStyle:{width:460},title:tn.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",tn.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},tn.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),tn.createElement(xt.u,{form:In,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:et,answerKey:"standard_answers"}),tn.createElement(er,{getTagData:pn,qitem:se,exerciseitem:Pe,TagDiscipline:Se,form:In}))))},da=ae(27277),Gt=ae(59301),or=Object.defineProperty,fr=Object.defineProperties,so=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,Oa=(se,Se,Pe)=>Se in se?or(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,wr=(se,Se)=>{for(var Pe in Se||(Se={}))lr.call(Se,Pe)&&Oa(se,Pe,Se[Pe]);if(Mt)for(var Pe of Mt(Se))Qr.call(Se,Pe)&&Oa(se,Pe,Se[Pe]);return se},vr=(se,Se)=>fr(se,so(Se)),Dr=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),pr=({qitem:se,setisedit:Se,TagDiscipline:Pe,exerciseitem:lt,seveeditor:vt,deleteitem:zn,getTagData:pn,init:_t,showTip:ft=!1})=>{var $t;const[In]=Fe.default.useForm();return(0,y.useEffect)(()=>{var et;In.setFieldsValue(vr(wr({},se),{name:se.question_title,repeat_answer:!se.repeat_answer,choices:(et=se==null?void 0:se.question_choices)==null?void 0:et.map(Ft=>vr(wr({},Ft),{is_answer:Ft!=null&&Ft.standard_boolean?1:0}))}))},[se]),Gt.createElement("div",null,Gt.createElement(Fe.default,{form:In,colon:!1,onFinish:et=>{var Ft,mn,Bn,en;let jt=(mn=(Ft=et==null?void 0:et.choices)==null?void 0:Ft.map)==null?void 0:mn.call(Ft,(Rt,Xt)=>{if((Rt==null?void 0:Rt.is_answer)===1)return Xt+1});vt(vr(wr(wr({},se),et),{question_title:et.name,standard_answers:jt.filter(Rt=>Rt),question_choices:(en=(Bn=et==null?void 0:et.choices)==null?void 0:Bn.map)==null?void 0:en.call(Bn,Rt=>Rt.choice_text)}))},onFinishFailed:et=>Dr(void 0,null,function*(){var Ft,mn;Me.ZP.error(et.errorFields[0].errors[0]),In.scrollToField((mn=(Ft=et==null?void 0:et.errorFields)==null?void 0:Ft[0])==null?void 0:mn.name,{behavior:"smooth",block:"center"})})},Gt.createElement("div",{style:{display:"flex",alignItems:"center"}},Gt.createElement("div",{style:{flex:1}},Gt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Gt.createElement("span",null,"\u5224\u65AD\u9898")),(($t=lt==null?void 0:lt.exercise)==null?void 0:$t.exercise_status)==1&&!(se!=null&&se.isadd)&&Gt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{zn()}},Gt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Gt.createElement(Re.ZP,{onClick:()=>{var et;se.isadd?(Se(!1),_t()):(In.setFieldsValue(vr(wr({},se),{name:se.question_title,repeat_answer:!se.repeat_answer,choices:(et=se==null?void 0:se.question_choices)==null?void 0:et.map(Ft=>vr(wr({},Ft),{is_answer:Ft!=null&&Ft.standard_boolean?1:0}))})),Se(!1))}},"\u53D6\u6D88"),Gt.createElement(qe.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Gt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Gt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Gt.createElement(Re.ZP,{type:"primary",className:"ml20",onClick:()=>{In.submit()}},"\u4FDD\u5B58"))),Gt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Gt.createElement(Fe.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Gt.createElement(we.Z,{onBlur:et=>{et.target.value==="0"&&Me.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Gt.createElement(da.Z,{form:In,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Gt.createElement(er,{getTagData:pn,qitem:se,exerciseitem:lt,TagDiscipline:Pe,form:In}))))},yr=ae(36381),ga={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},Qt=ae(96565),hr=Object.defineProperty,Ur=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,Dn=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable,na=(se,Se,Pe)=>Se in se?hr(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Yn=(se,Se)=>{for(var Pe in Se||(Se={}))Dn.call(Se,Pe)&&na(se,Pe,Se[Pe]);if(sr)for(var Pe of sr(Se))ma.call(Se,Pe)&&na(se,Pe,Se[Pe]);return se},dr=(se,Se)=>Ur(se,Yr(Se)),Lr=(se,Se)=>{var Pe={};for(var lt in se)Dn.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&sr)for(var lt of sr(se))Se.indexOf(lt)<0&&ma.call(se,lt)&&(Pe[lt]=se[lt]);return Pe};const jr=se=>{var Se=se,{value:Pe,onChange:lt,scrollId:vt}=Se,zn=Lr(Se,["value","onChange","scrollId"]);return y.createElement("div",{id:vt||""},y.createElement(Qt.Z,dr(Yn({},zn),{defaultValue:Pe,onChange:(pn,_t)=>{console.log("a:",pn,_t),_t!=null&&_t.length?lt(pn,_t):lt(pn)}})))},Br=({value:se,onChange:Se,placeholder:Pe,height:lt=140,isEdit:vt})=>vt?y.createElement(Qt.Z,{watch:!0,isFocus:!0,height:lt,placeholder:Pe,defaultValue:se,onChange:Se}):y.createElement("div",{style:{cursor:"pointer"}},se?y.createElement(yt.Z,{className:ga.inputBorder,value:se}):y.createElement("div",{className:`${ga.inputBorder} ${ga.placeholder}`},Pe));var nr=ae(43604),wo=Object.defineProperty,Co=Object.defineProperties,Sl=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,co=(se,Se,Pe)=>Se in se?wo(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,ro=(se,Se)=>{for(var Pe in Se||(Se={}))Mr.call(Se,Pe)&&co(se,Pe,Se[Pe]);if(Kr)for(var Pe of Kr(Se))ho.call(Se,Pe)&&co(se,Pe,Se[Pe]);return se},Do=(se,Se)=>Co(se,Sl(Se)),Cr=(se,Se)=>{var Pe={};for(var lt in se)Mr.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&Kr)for(var lt of Kr(se))Se.indexOf(lt)<0&&ho.call(se,lt)&&(Pe[lt]=se[lt]);return Pe};const $r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Qo=({value:se,onChange:Se,choiceTextKey:Pe,answerKey:lt,index:vt,isEdit:zn,setInputActive:pn,form:_t,choiceOptionsPath:ft,allowChangeMode:$t,showAddIcon:In,addItem:et,deleteItem:Ft})=>{const mn=(se==null?void 0:se[lt])===1,Bn=()=>{const jt=_t.getFieldValue(ft);_t.setFieldValue(ft,jt.map(Rt=>Do(ro({},Rt),{[lt]:0})))},en=()=>{mn?Se(Do(ro({},se),{[lt]:0})):($t||Bn(),Se(Do(ro({},se),{[lt]:1})))};return y.createElement(Fa.Z,{className:ga.choiceWrap,align:"middle",wrap:!1},y.createElement(nr.Z,{onClick:en,className:`${ga.choiceIndex} ${mn?ga.activeAnswer:""}`},$r[vt]),y.createElement(nr.Z,{flex:1,className:`${ga.editorWrap} ml15`,onClick:pn},y.createElement(Br,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:zn,value:se==null?void 0:se[Pe],onChange:jt=>{Se(Do(ro({},se),{[Pe]:jt}))}})),y.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},y.createElement("div",{onClick:en,className:`${ga.setAnswerBtn} ${mn?ga.activeAnswer:""}`},mn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),y.createElement(nr.Z,{className:ga.actionWrapper},y.createElement(qe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},y.createElement(oe.Z,{className:ga.addIcon,onClick:et,style:{visibility:In?"visible":"hidden"}})),y.createElement(qe.Z,{title:"\u5220\u9664"},y.createElement(ue.Z,{className:ga.deleteIcon,onClick:Ft,style:{visibility:vt>1?"visible":"hidden"}}))))},ko=({questionTitlePlaceholder:se,titleKey:Se,choiceKey:Pe,analysisKey:lt,choiceTextKey:vt,answerKey:zn,choiceOptionsPath:pn,allowChangeMode:_t=!0,form:ft,showAnalysis:$t=!0})=>{const[In,et]=(0,y.useState)(),[Ft,mn]=(0,y.useState)(!1);return y.createElement("div",{className:ga.wrap},y.createElement("div",{className:ga.questionTitleEditorWrap},y.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:Se,labelCol:{span:24},rules:[{required:!0}]},y.createElement(jr,{scrollId:Array.isArray(Se)?Se.join("_"):`${Se}`,watch:!0,height:140,placeholder:se}))),y.createElement(Fe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),y.createElement(Fe.default.List,{name:Pe,rules:[{validator(Bn,en){const jt=en.some(Xt=>Xt[zn]===1),Rt=en.findIndex(Xt=>{var xa;return((xa=Xt[vt])==null?void 0:xa.length)<=0});return Rt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${$r[Rt]}\u9009\u9879\u7684\u5185\u5BB9`)):jt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Bn,{add:en,remove:jt})=>y.createElement("div",{id:Array.isArray(pn)?pn.join("_"):`${pn}`},Bn.map((Rt,Xt)=>{var xa=Rt,{key:yn,name:Sn}=xa,Or=Cr(xa,["key","name"]);const Tr=In===yn,gr=()=>{et(yn)},qo=Xt<7&&Xt===Bn.length-1,sa=()=>en({[vt]:"",[zn]:0}),Vr=()=>jt(Sn);return y.createElement(Fe.default.Item,Do(ro({},Or),{key:yn,name:Sn,noStyle:!0}),y.createElement(Qo,{choiceTextKey:vt,answerKey:zn,index:Xt,isEdit:Tr,setInputActive:gr,form:ft,choiceOptionsPath:pn,allowChangeMode:_t,showAddIcon:qo,addItem:sa,deleteItem:Vr}))}),Bn.length<8&&y.createElement("div",{className:`${ga.addBtn} mb30`,onClick:()=>en({[vt]:"",[zn]:0})},"\u6DFB\u52A0\u9009\u9879"))),$t&&y.createElement("div",{onClick:()=>mn(!0)},y.createElement(Fe.default.Item,{name:lt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ft}))))};var Ja=ae(59301),ol=Object.defineProperty,el=Object.defineProperties,cl=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,Ko=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Bt=(se,Se,Pe)=>Se in se?ol(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Jt=(se,Se)=>{for(var Pe in Se||(Se={}))Ko.call(Se,Pe)&&Bt(se,Pe,Se[Pe]);if(eo)for(var Pe of eo(Se))he.call(Se,Pe)&&Bt(se,Pe,Se[Pe]);return se},vn=(se,Se)=>el(se,cl(Se)),bt=(se,Se)=>{var Pe={};for(var lt in se)Ko.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&eo)for(var lt of eo(se))Se.indexOf(lt)<0&&he.call(se,lt)&&(Pe[lt]=se[lt]);return Pe};const Kn=({value:se,onChange:Se})=>{const Pe=vt=>{Ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ga.modal,onOk:()=>{const zn=[...se];zn.splice(vt,1),Se(zn)}})},lt=()=>{const vt=[...se];vt.push(""),Se(vt)};return Ja.createElement(Fa.Z,{className:"ml20"},Ja.createElement(nr.Z,{flex:1},se==null?void 0:se.map((vt,zn)=>Ja.createElement(Fa.Z,{key:`${vt}_${zn}`,align:"middle",className:"mb20"},Ja.createElement(Ue.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:vt,autoSize:{maxRows:3},maxLength:1e3,onBlur:pn=>{const _t=[...se],ft=pn.target.value.trim();_t[zn]=ft,Se(_t)}}),Ja.createElement(qe.Z,{title:"\u5220\u9664"},Ja.createElement(ue.Z,{className:ga.deleteIcon,style:{marginLeft:15,visibility:zn>0?"visible":"hidden"},onClick:()=>Pe(zn)}))))),Ja.createElement(nr.Z,null,Ja.createElement("div",{className:`${ga.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},qn=({value:se=!0,onChange:Se})=>Ja.createElement(va.Z,{checked:!se,onChange:Pe=>{Se(!Pe)}}),An="\u2581",Mn=({questionTitlePlaceholder:se,form:Se,name:Pe,scoreByBlank:lt,answerKey:vt,titleKey:zn="name",analysisKey:pn="analysis",isOrdered:_t="is_ordered"})=>{var ft,$t;const[In,et]=(0,y.useState)(!1),Ft=(yn,Sn)=>{const Or=Sn.line;let Tr=0;for(let qo=0;qo{const gr=yn.getRange(Sn.from,Sn.to);let qo=0;if(Sn.text.forEach(sa=>{qo+=sa.split(An).length-1}),Sn.origin!=="setValue"){if(gr&&gr.indexOf(An)!==-1){const sa=gr.split(An).length-1,Vr=Ft(yn,Sn.from);if(console.log(`\u5220\u9664${sa}\u4E2A\uFF0C \u524D\u9762\u6709${Vr}\u4E2A\uFF0C\u65B0\u589E${qo}\u4E2A`),sa>1){const $a=Array.from({length:sa},(Fo,Zo)=>Vr+Zo);Tr($a)}else Tr(Vr)}else if(qo>0){const sa=Ft(yn,Sn.from);console.log(`\u65B0\u589E${qo}\u4E2A\uFF0C\u4E4B\u524D\u6709${sa}\u4E2A`),Or(qo,sa)}}},Bn=()=>{const yn=Se.getFieldValue(["sub_item_banks",...vt]);Se.setFieldValue(["sub_item_banks",...vt],yn==null?void 0:yn.map((Sn,Or)=>vn(Jt({},Sn),{position:Or+1})))},en=(0,y.useRef)(),jt=(yn,Sn)=>{for(let Or=0;Or{Rt.current(yn),Bn()},xa=($t=(ft=Se.getFieldValue("sub_item_banks"))==null?void 0:ft[vt==null?void 0:vt[0]])==null?void 0:$t[vt==null?void 0:vt[1]];return console.log(Se==null?void 0:Se.getFieldValue(["sub_item_banks",...lt])),Ja.createElement("div",{className:ga.wrap},Ja.createElement("div",{className:ga.questionTitleEditorWrap},Ja.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:zn,labelCol:{span:24},rules:[{required:!0}]},Ja.createElement(jr,{scrollId:"name",watch:!0,height:140,placeholder:se,showNullButton:!0,onCMBeforeChange:(yn,Sn)=>{mn(yn,Sn,jt,Xt)}}))),Ja.createElement(Fe.default.List,{name:vt,rules:[{validator(yn,Sn){if((Sn==null?void 0:Sn.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Or of Sn){const{answer_text:Tr}=Or||{};if(Tr!=null&&Tr.some(gr=>(gr==null?void 0:gr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(yn,{add:Sn,remove:Or},{errors:Tr})=>(en.current=Sn,Rt.current=Or,Ja.createElement(Ja.Fragment,null,Ja.createElement(Fe.default.Item,{label:Ja.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(yn!=null&&yn.length)&&Ja.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),yn.map((gr,qo)=>{var sa=gr,{key:Vr,name:$a}=sa,Fo=bt(sa,["key","name"]);return Ja.createElement(Fa.Z,{className:"mb20",key:Vr,align:"top"},Ja.createElement(nr.Z,{flex:"0 0 auto",className:`${ga.blankIndex} pt5`},"\u586B\u7A7A\u9879",qo+1),Ja.createElement(nr.Z,{flex:1},Ja.createElement(Fa.Z,{align:"top",justify:"space-between"},Ja.createElement(nr.Z,{flex:1},Ja.createElement(Fe.default.Item,vn(Jt({},Fo),{name:[$a,"answer_text"],noStyle:!0}),Ja.createElement(Kn,null))),(Se==null?void 0:Se.getFieldValue(["sub_item_banks",...lt]))&&Ja.createElement(nr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Ja.createElement(Fe.default.Item,vn(Jt({},Fo),{name:[$a,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ga.blankInputNumberWrapper}),Ja.createElement(we.Z,{onChange:()=>{var Zo,$o;let ul=Se==null?void 0:Se.getFieldValue(["sub_item_banks",vt==null?void 0:vt[0],"standard_answers"]),La=0;for(let kr in ul)(Zo=ul[kr])!=null&&Zo.score&&(La+=Number(($o=ul[kr])==null?void 0:$o.score));Se==null||Se.setFieldValue(["sub_item_banks",vt==null?void 0:vt[0],"question_score"],La)},className:ga.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Ja.createElement(Fe.default.Item,vn(Jt({},Fo),{name:[$a,"position"],noStyle:!0}),Ja.createElement(Ue.default,{type:"hidden"}))))})))),Ja.createElement(Fa.Z,{align:"middle"},Ja.createElement(Fe.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},Ja.createElement(va.Z,null)),Ja.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ja.createElement(Fa.Z,{align:"middle"},Ja.createElement(Fe.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},Ja.createElement(va.Z,null)),Ja.createElement(nr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(xa==null?void 0:xa.length)>1&&Ja.createElement(Fa.Z,{align:"middle",className:(xa==null?void 0:xa.length)>1?"mb30":`${ga.hide}`},Ja.createElement(Fe.default.Item,{name:_t},Ja.createElement(qn,null)),Ja.createElement(nr.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),Ja.createElement("div",{onClick:()=>et(!0)},Ja.createElement(Fe.default.Item,{name:pn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ja.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:In}))))};var Ua=Object.defineProperty,Hn=Object.defineProperties,nn=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,Nr=(se,Se,Pe)=>Se in se?Ua(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,mo=(se,Se)=>{for(var Pe in Se||(Se={}))xn.call(Se,Pe)&&Nr(se,Pe,Se[Pe]);if(Ut)for(var Pe of Ut(Se))Ma.call(Se,Pe)&&Nr(se,Pe,Se[Pe]);return se},xo=(se,Se)=>Hn(se,nn(Se)),_o=(se,Se)=>{var Pe={};for(var lt in se)xn.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&Ut)for(var lt of Ut(se))Se.indexOf(lt)<0&&Ma.call(se,lt)&&(Pe[lt]=se[lt]);return Pe};const Jo={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Nl=({value:se,onChange:Se,form:Pe,choiceKey:lt})=>{const vt=(se==null?void 0:se.is_answer)===1,zn=se==null?void 0:se.choice_text,pn=()=>{var _t;const ft=(_t=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...lt]))==null?void 0:_t.map($t=>({choice_text:$t.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...lt],ft),Se(xo(mo({},se),{is_answer:1}))};return y.createElement(Fa.Z,{className:ga.choiceWrap,align:"middle",wrap:!1},y.createElement(nr.Z,{onClick:pn,className:`${ga.choiceIndex} ${ga.judgementIndex} ${vt?ga.activeAnswer:""}`},Jo[zn]),y.createElement(nr.Z,{flex:1,className:`${ga.editorWrap} ml15`},y.createElement("div",{className:`${ga.inputBorder} ${ga.placeholder} ${vt?ga.activeJudgementAnswer:""}`},zn)),y.createElement(nr.Z,{flex:"0 0 auto",className:"ml15"},y.createElement("div",{onClick:pn,className:`${ga.setAnswerBtn} ${vt?ga.activeAnswer:""}`},vt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},gl=({questionTitlePlaceholder:se,choiceKey:Se="choices",form:Pe,titleKey:lt="name",analysisKey:vt="analysis"})=>{const[zn,pn]=(0,y.useState)(!1);return y.createElement("div",{className:ga.wrap},y.createElement("div",{className:ga.questionTitleEditorWrap},y.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:lt,labelCol:{span:24},rules:[{required:!0}]},y.createElement(jr,{scrollId:"name",watch:!0,height:140,placeholder:se}))),y.createElement(Fe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},y.createElement(Fe.default.List,{name:Se,rules:[{validator(_t,ft){return ft.some(In=>(In==null?void 0:In.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},_t=>y.createElement("div",{id:"choices"},_t.map(ft=>{var $t=ft,{key:In,name:et}=$t,Ft=_o($t,["key","name"]);return y.createElement(Fe.default.Item,xo(mo({},Ft),{key:In,name:et,noStyle:!0}),y.createElement(Nl,{form:Pe,choiceKey:Se}))})))),y.createElement("div",{onClick:()=>pn(!0)},y.createElement(Fe.default.Item,{name:vt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:zn}))))};var Il=ae(12563),Tl={ai_config:"ai_config___cJ8LY",znpy:"znpy___RTAAN",pfbz_ts:"pfbz_ts___ux6Ec",btns_pfbz:"btns_pfbz___QFXM_",lable_name1:"lable_name1___c_vnV",h_lh_40:"h_lh_40___ptAW7"},Li=ae(78455),Eo=ae(36306),ar=ae(59301);const St=({qitem:se,form:Se,exercise:Pe,loading:lt,dispatch:vt,aiReviewSettings:zn=null})=>ar.createElement("div",{className:Tl.ai_config},ar.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),ar.createElement("div",{className:Tl.pfbz_ts},ar.createElement("div",{style:{color:"#333"}},"\u63D0\u793A\uFF1A\u53C2\u8003\u7B54\u6848\u548C\u9898\u76EE\u89E3\u6790\u8D8A\u5B8C\u5584\uFF0CAI\u667A\u80FD\u8BC4\u9605\u5C31\u8D8A\u7CBE\u51C6~"),ar.createElement("div",{className:"flex"},ar.createElement("div",{className:Tl.btns_pfbz,onClick:()=>{vt({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:se==null?void 0:se.question_id,ai_review_settings:Se.getFieldValue(zn||"ai_review_settings")}})}},ar.createElement("img",{src:Li.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),ar.createElement("div",{style:{background:"#F6F7F9"}},ar.createElement(Fe.default.List,{name:zn||"ai_review_settings"},(pn,{add:_t,remove:ft})=>pn.map(($t,In)=>{var et;return ar.createElement(Fa.Z,{key:$t.key,style:{padding:"5px 10px 5px 15px"}},ar.createElement(nr.Z,{className:Tl.lable_name1},"\u8BC4\u5206\u9879\u76EE"),ar.createElement(nr.Z,null,ar.createElement(Fe.default.Item,{className:"ml10",name:[$t.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},ar.createElement(Ue.default,{onChange:Ft=>{Se.setFieldValue([$t.name,"content"],Ft.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),ar.createElement(nr.Z,{className:Tl.lable_name1},"\u8BC4\u5206\u6807\u51C6"),ar.createElement(nr.Z,null,ar.createElement(Fe.default.Item,{className:"ml10",name:[$t.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},ar.createElement(Ue.default,{onChange:Ft=>{Se.setFieldValue([$t.name,"content"],Ft.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:zn?232:318},className:"mr15",maxLength:500}))),ar.createElement(nr.Z,{className:Tl.lable_name1},"\u6743\u91CD"),ar.createElement(nr.Z,null,ar.createElement(Fe.default.Item,{className:"ml10",name:[$t.name,"weight"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u91CD"},{pattern:/^(?!0(\.0+)?$)(\d+(\.\d)?)$/,message:"\u6700\u591A\u4FDD\u7559\u4E00\u4F4D\u5C0F\u6570"}]},ar.createElement(we.Z,{value:Se.getFieldValue([$t.name,"weight"]),onChange:Ft=>{Number.isInteger(Ft)||Se.setFieldValue([$t.name,"weight"],parseFloat(Ft).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),ar.createElement(Fa.Z,{className:(et=Tl)==null?void 0:et.h_lh_40},ar.createElement(nr.Z,null,ar.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(pn.length>=10)return Me.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");_t()}})),In>0&&ar.createElement(nr.Z,null,ar.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{ft($t.name)}}))))}))),ar.createElement(Eo.Z,null));var ut=(0,pe.connect)(({exercise:se,loading:Se})=>({exercise:se,loading:Se.effects}))(St),wt=Object.defineProperty,bn=Object.defineProperties,ca=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,Xa=(se,Se,Pe)=>Se in se?wt(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Fr=(se,Se)=>{for(var Pe in Se||(Se={}))on.call(Se,Pe)&&Xa(se,Pe,Se[Pe]);if(wa)for(var Pe of wa(Se))Da.call(Se,Pe)&&Xa(se,Pe,Se[Pe]);return se},Ha=(se,Se)=>bn(se,ca(Se)),$n=(se,Se)=>{var Pe={};for(var lt in se)on.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&wa)for(var lt of wa(se))Se.indexOf(lt)<0&&Da.call(se,lt)&&(Pe[lt]=se[lt]);return Pe};const Ir=se=>{var Se=se,{value:Pe,onChange:lt}=Se,vt=$n(Se,["value","onChange"]);const zn=pn=>{lt([pn])};return y.createElement(Qt.Z,Ha(Fr({},vt),{defaultValue:Pe==null?void 0:Pe[0],onChange:zn}))},zr=se=>{if(!se)return!1;let Se=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return se==="|"?(Me.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Lo=({value:se=[],onClose:Se})=>y.createElement(Il.Z,{closable:!0,onClose:Se,className:ga.keywordTag},y.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},se.join(" \u6216 "))),Er=({questionTitlePlaceholder:se,form:Se,showKeywords:Pe,isMustKeyWords:lt=Pe,titleKey:vt="name",analysisKey:zn="analysis",answerTexts:pn="answer_texts",keywords:_t="keywords",useKeywords:ft="use_keywords",indexs:$t,qitem:In,exerciseitem:et,aiReviewSettings:Ft})=>{var mn,Bn,en,jt,Rt;const[Xt,xa]=(0,y.useState)(!1),[yn,Sn]=(0,y.useState)(""),Or=(Bn=(mn=Se.getFieldValue("sub_item_banks"))==null?void 0:mn[ft==null?void 0:ft[0]])==null?void 0:Bn[ft==null?void 0:ft[1]],Tr=(jt=(en=Se.getFieldValue("sub_item_banks"))==null?void 0:en[ft==null?void 0:ft[0]])==null?void 0:jt.question_score;return y.createElement("div",{className:ga.wrap},y.createElement("div",{className:ga.questionTitleEditorWrap},y.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:vt,labelCol:{span:24},rules:[{required:!0}]},y.createElement(jr,{scrollId:"name",watch:!0,height:140,placeholder:se}))),y.createElement(Fe.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:pn,labelCol:{span:24}},y.createElement(Ir,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!lt&&y.createElement(Fe.default.Item,{hidden:!0,name:ft,valuePropName:"checked"},y.createElement(va.Z,{defaultChecked:!0})),Pe&<&&y.createElement(Fa.Z,{align:"middle",className:"mb30"},y.createElement(Fe.default.Item,{name:ft,valuePropName:"checked"},y.createElement(va.Z,null)),y.createElement(nr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(nr.Z,null,y.createElement(qe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(En.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Or||!lt)&&y.createElement(Fe.default.List,{name:_t,rules:[{validator(gr,qo){return lt?qo!=null&&qo.length?(qo==null?void 0:qo.reduce((Vr,$a)=>Vr+$a.score,0))>parseFloat(Tr)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(gr,{add:qo,remove:sa})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${ga.title} mb10`},lt?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(Fa.Z,{align:"middle",className:"font14 mb30"},y.createElement(nr.Z,{flex:1},y.createElement(Ue.default,{value:yn,onChange:Vr=>{Sn(Vr.target.value)},maxLength:50,allowClear:!0,onPressEnter:Vr=>{var $a,Fo,Zo,$o;const ul=`${($a=Vr.target)==null?void 0:$a.value}`,La=(Zo=(Fo=ul==null?void 0:ul.split("|"))==null?void 0:Fo.filter(al=>!!al))==null?void 0:Zo.map(al=>al==null?void 0:al.trim()),kr=Se.getFieldValue(["sub_item_banks",..._t]),Dl=(($o=kr==null?void 0:kr.map(al=>al==null?void 0:al.keyword))==null?void 0:$o.flat())||[];for(const al of La)if(Dl.includes(al)){Me.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}zr(ul)&&(qo({keyword:La,score:1}),Sn(""))},className:ga.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(nr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),gr.map(Vr=>{var $a=Vr,{key:Fo,name:Zo}=$a,$o=$n($a,["key","name"]);return y.createElement(Fa.Z,{key:Fo,className:"mb20",style:{marginRight:148}},y.createElement(nr.Z,{flex:1},y.createElement(Fa.Z,{align:"middle",justify:"space-between"},y.createElement(Fe.default.Item,Ha(Fr({},$o),{name:[Zo,"keyword"]}),y.createElement(Lo,{onClose:()=>sa(Zo)})),lt&&y.createElement(Fe.default.Item,Ha(Fr({},$o),{name:[Zo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ga.blankInputNumberWrapper}),y.createElement(we.Z,{className:ga.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>xa(!0)},y.createElement(Fe.default.Item,{name:zn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Br,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Xt}))),((Rt=et==null?void 0:et.exercise)==null?void 0:Rt.is_open_ai_review)&&y.createElement(ut,{form:Se,qitem:In,aiReviewSettings:Ft}))};var Jn=ae(59301),To=Object.defineProperty,No=Object.defineProperties,yo=Object.getOwnPropertyDescriptors,Ul=Object.getOwnPropertySymbols,$i=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,eu=(se,Se,Pe)=>Se in se?To(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Ti=(se,Se)=>{for(var Pe in Se||(Se={}))$i.call(Se,Pe)&&eu(se,Pe,Se[Pe]);if(Ul)for(var Pe of Ul(Se))Au.call(Se,Pe)&&eu(se,Pe,Se[Pe]);return se},vu=(se,Se)=>No(se,yo(Se)),Iu=(se,Se)=>{var Pe={};for(var lt in se)$i.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&Ul)for(var lt of Ul(se))Se.indexOf(lt)<0&&Au.call(se,lt)&&(Pe[lt]=se[lt]);return Pe};const{Panel:Ni}=yr.default,uu=({questionTitlePlaceholder:se,choiceKey:Se,form:Pe,withScore:lt,exerciseitem:vt})=>{const zn=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[pn,_t]=(0,y.useState)(),[ft,$t]=(0,y.useState)([]),In=Ft=>{$t(Ft)},et=({value:Ft})=>Jn.createElement("div",{style:{width:150,paddingLeft:11}},Ft);return Jn.createElement("div",{className:ga.wrap},Jn.createElement("div",{className:ga.questionTitleEditorWrap},Jn.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Jn.createElement(jr,{scrollId:"name",watch:!0,height:140,placeholder:se}))),Jn.createElement(Fe.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Jn.createElement(Fe.default.List,{name:"sub_item_banks",rules:[{validator(Ft,mn){return mn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ft,{add:mn,remove:Bn,move:en})=>{const jt=Pe.getFieldValue("sub_item_banks");return Jn.createElement(Jn.Fragment,null,Jn.createElement(yr.default,{className:Ft.length>0?ga.collapseWrapper:"",bordered:!1,activeKey:ft,onChange:In,expandIcon:({isActive:Rt})=>Jn.createElement("i",{className:`iconfont icon-weizhankai ${Rt?ga.open:ga.close}`,style:{fontSize:14,transition:"all .2s"}})},Ft.map((Rt,Xt)=>{var xa=Rt,{key:yn,name:Sn}=xa,Or=Iu(xa,["key","name"]),Tr,gr,qo,sa,Vr,$a,Fo,Zo,$o,ul,La,kr,Dl,al;return Jn.createElement(Ni,{className:ga.panel,forceRender:!0,header:Jn.createElement("div",{className:ga.panelHeader},"\u7B2C",Xt+1,"\u5C0F\u9898",Jn.createElement("span",null,"\uFF08",((Tr=jt==null?void 0:jt[Sn])==null?void 0:Tr.question_type)==0?"\u5355\u9009\u9898":((gr=jt==null?void 0:jt[Sn])==null?void 0:gr.question_type)==1?"\u591A\u9009\u9898":((qo=jt==null?void 0:jt[Sn])==null?void 0:qo.question_type)==3?"\u586B\u7A7A\u9898":((sa=jt==null?void 0:jt[Sn])==null?void 0:sa.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Sn,extra:Jn.createElement(Fa.Z,{align:"middle",onClick:Nn=>Nn.stopPropagation()},((Vr=jt==null?void 0:jt[Sn])==null?void 0:Vr.question_type)==3&&Jn.createElement(Jn.Fragment,null,Jn.createElement(Ie.ZP.Group,{defaultValue:($a=jt==null?void 0:jt[Sn])==null?void 0:$a.use_blank_score,className:nt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Nn=>{var pl,vi,Ll,Gl,ni;if(Pe==null||Pe.setFieldValue(["sub_item_banks",Sn,"use_blank_score"],(pl=Nn==null?void 0:Nn.target)==null?void 0:pl.value),(vi=Nn==null?void 0:Nn.target)!=null&&vi.value){let Fl=0;for(let Ci in(Ll=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Sn]))==null?void 0:Ll.standard_answers)Fl+=Number((ni=(Gl=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Sn]))==null?void 0:Gl.standard_answers[Ci])==null?void 0:ni.score);Pe==null||Pe.setFieldValue(["sub_item_banks",Sn,"question_score"],Fl||"")}_t(new Date)}}),Jn.createElement(qe.Z,{overlayInnerStyle:{width:460},title:Jn.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Jn.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Jn.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),lt&&Jn.createElement(Fe.default.Item,vu(Ti({},Or),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Sn,"question_score"],className:ga.blankInputNumberWrapper}),((Fo=jt==null?void 0:jt[Sn])==null?void 0:Fo.question_type)==3&&((Zo=jt==null?void 0:jt[Sn])!=null&&Zo.use_blank_score)?Jn.createElement(et,null):Jn.createElement(we.Z,{className:ga.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Jn.createElement(Fa.Z,{align:"middle",className:"pl40",style:{width:82}},Xt!==0&&Jn.createElement("div",{onClick:()=>{var Nn;en(Xt,Xt-1);const pl=(Nn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Nn.map((vi,Ll)=>(Ft.map((Gl,ni)=>{Ll===ni&&(vi.q_position=Number(Gl.name)+1)}),vi));Pe.setFieldValue("sub_item_banks",pl)}},Jn.createElement(qe.Z,{title:"\u4E0A\u79FB"},Jn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Xt{var Nn;en(Xt,Xt+1);const pl=(Nn=Pe.getFieldValue("sub_item_banks"))==null?void 0:Nn.map((vi,Ll)=>(Ft.map((Gl,ni)=>{Ll===ni&&(vi.q_position=Number(Gl.name)+1)}),vi));Pe.setFieldValue("sub_item_banks",pl)},className:Xt===0?"":"ml10"},Jn.createElement(qe.Z,{title:"\u4E0B\u79FB"},Jn.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Jn.createElement(qe.Z,{title:"\u5220\u9664"},Jn.createElement(ue.Z,{className:`${ga.deleteIcon} ml40`,onClick:()=>Bn(Sn)})))},Jn.createElement(Fe.default.Item,vu(Ti({},Or),{name:Sn}),((($o=jt==null?void 0:jt[Sn])==null?void 0:$o.question_type)==0||((ul=jt==null?void 0:jt[Sn])==null?void 0:ul.question_type)==1)&&Jn.createElement(ko,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((La=jt==null?void 0:jt[Sn])==null?void 0:La.question_type)==1,form:Pe,choiceKey:[Sn,"choices"],titleKey:[Sn,"name"],analysisKey:[Sn,"analysis"],choiceOptionsPath:["sub_item_banks",Sn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((kr=jt==null?void 0:jt[Sn])==null?void 0:kr.question_type)==3&&Jn.createElement(Mn,{form:Pe,name:Sn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Sn,"use_blank_score"],titleKey:[Sn,"name"],analysisKey:[Sn,"analysis"],isOrdered:[Sn,"is_ordered"],answerKey:[Sn,"standard_answers"],key:pn}),((Dl=jt==null?void 0:jt[Sn])==null?void 0:Dl.question_type)==2&&Jn.createElement(gl,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Sn,"name"],analysisKey:[Sn,"analysis"],choiceKey:[Sn,"choices"]}),((al=jt==null?void 0:jt[Sn])==null?void 0:al.question_type)==4&&Jn.createElement(Er,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[Sn,"name"],analysisKey:[Sn,"analysis"],answerTexts:[Sn,"answer_texts"],useKeywords:[Sn,"use_keywords"],keywords:[Sn,"keywords"],aiReviewSettings:[Sn,"ai_review_settings"],indexs:Sn,qitem:jt==null?void 0:jt[Sn],questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",exerciseitem:vt})))})),Ft.length<20&&Jn.createElement(Be.Z,{menu:{items:[{label:Jn.createElement("div",{onClick:()=>{mn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),$t([Ft==null?void 0:Ft.length,...ft])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Jn.createElement("div",{onClick:()=>{mn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),$t([Ft==null?void 0:Ft.length,...ft])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Jn.createElement("div",{onClick:()=>{mn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),$t([Ft==null?void 0:Ft.length,...ft])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Jn.createElement("div",{onClick:()=>{mn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),$t([Ft==null?void 0:Ft.length,...ft])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Jn.createElement("div",{onClick:()=>{mn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),$t([Ft==null?void 0:Ft.length,...ft])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Rt=>Rt.show).map(Rt=>({label:Rt.label,key:Rt.key}))}},Jn.createElement("div",{className:`${ga.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Cl=ae(59301),yu=Object.defineProperty,bl=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,tu=Object.getOwnPropertySymbols,Ki=Object.prototype.hasOwnProperty,Mu=Object.prototype.propertyIsEnumerable,ki=(se,Se,Pe)=>Se in se?yu(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Fi=(se,Se)=>{for(var Pe in Se||(Se={}))Ki.call(Se,Pe)&&ki(se,Pe,Se[Pe]);if(tu)for(var Pe of tu(Se))Mu.call(Se,Pe)&&ki(se,Pe,Se[Pe]);return se},ji=(se,Se)=>bl(se,gi(Se)),Yu=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),_u=({qitem:se,setisedit:Se,TagDiscipline:Pe,exerciseitem:lt,seveeditor:vt,deleteitem:zn,getTagData:pn,init:_t,showTip:ft=!1})=>{var $t;const[In]=Fe.default.useForm(),{unified_ai_setting:et,ai_review_settings:Ft}=lt==null?void 0:lt.exercise;(0,y.useEffect)(()=>{var Bn;In.setFieldsValue(ji(Fi({},se),{name:se.question_title,sub_item_banks:(Bn=se.sub_exercise_questions)==null?void 0:Bn.map(en=>{var jt,Rt;if(en.question_type==4){const Xt=et?Ft:((jt=en==null?void 0:en.ai_review_settings)==null?void 0:jt.length)>0?en.ai_review_settings:Ft;en.ai_review_settings=Xt}return ji(Fi({},en),{name:en.question_title,choices:(Rt=en==null?void 0:en.question_choices)==null?void 0:Rt.map(Xt=>ji(Fi({},Xt),{is_answer:Xt!=null&&Xt.standard_boolean?1:0}))})}),repeat_answer:!se.repeat_answer}))},[se]);const mn=Bn=>{if(!(Bn!=null&&Bn.length))return!1;const en=Bn.map(Rt=>{var Xt;return(Xt=Rt.choice_text)==null?void 0:Xt.trim().replace(/^\s+|\s+$/g,"")});return new Set(en).size!==en.length};return Cl.createElement("div",null,Cl.createElement(Fe.default,{form:In,colon:!1,onValuesChange:(Bn,en)=>{var jt,Rt,Xt,xa;if(Bn!=null&&Bn.sub_item_banks){let yn=((jt=In.getFieldValue("sub_item_banks"))==null?void 0:jt.length)>0&&((Xt=(Rt=In.getFieldValue("sub_item_banks"))==null?void 0:Rt.map(Sn=>{var Or;if(Sn.question_type==3&&(Sn!=null&&Sn.use_blank_score)){let Tr=0;for(let gr in Sn==null?void 0:Sn.standard_answers)Tr+=Number((Or=Sn==null?void 0:Sn.standard_answers[gr])==null?void 0:Or.score);return Tr}else return Sn.question_score}))==null?void 0:Xt.filter(Sn=>Sn));(yn==null?void 0:yn.length)>0&&In.setFieldsValue({question_score:(xa=parseFloat(yn.reduce((Sn,Or)=>parseFloat(Sn)+parseFloat(Or))))==null?void 0:xa.toFixed(1)})}},onFinish:Bn=>{var en,jt;if((en=Bn.sub_item_banks)==null?void 0:en.some(Xt=>Xt.question_type===0||Xt.question_type===1?mn(Xt.choices):!1)){Me.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}vt(ji(Fi(Fi({},se),Bn),{question_title:Bn.name,sub_questions:(jt=Bn==null?void 0:Bn.sub_item_banks)==null?void 0:jt.map(Xt=>{var xa,yn,Sn,Or;return(Xt==null?void 0:Xt.question_type)==3?ji(Fi({},Xt),{question_title:Xt.name,item_type:Xt==null?void 0:Xt.question_type}):ji(Fi({},Xt),{question_title:Xt.name,question_choices:(yn=(xa=Xt==null?void 0:Xt.choices)==null?void 0:xa.map)==null?void 0:yn.call(xa,Tr=>Tr.choice_text),standard_answers:(Or=(Sn=Xt==null?void 0:Xt.choices)==null?void 0:Sn.map)==null?void 0:Or.call(Sn,(Tr,gr)=>(Tr==null?void 0:Tr.is_answer)===1&&gr+1).filter(Tr=>Tr),item_type:Xt==null?void 0:Xt.question_type})})}))},onFinishFailed:Bn=>Yu(void 0,null,function*(){var en,jt;Me.ZP.error(Bn.errorFields[0].errors[0]),In.scrollToField((jt=(en=Bn==null?void 0:Bn.errorFields)==null?void 0:en[0])==null?void 0:jt.name,{behavior:"smooth",block:"center"})})},Cl.createElement("div",{style:{display:"flex",alignItems:"center"}},Cl.createElement("div",{style:{flex:1}},Cl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Cl.createElement("span",null,"\u7EC4\u5408\u9898")),(($t=lt==null?void 0:lt.exercise)==null?void 0:$t.exercise_status)==1&&!(se!=null&&se.isadd)&&Cl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{zn()}},Cl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Cl.createElement(Re.ZP,{onClick:()=>{var Bn;se.isadd?(Se(!1),_t()):(In.setFieldsValue(ji(Fi({},se),{name:se.question_title,sub_item_banks:(Bn=se.sub_exercise_questions)==null?void 0:Bn.map(en=>{var jt;return ji(Fi({},en),{name:en.question_title,choices:(jt=en==null?void 0:en.question_choices)==null?void 0:jt.map(Rt=>ji(Fi({},Rt),{is_answer:Rt!=null&&Rt.standard_boolean?1:0}))})}),repeat_answer:!se.repeat_answer})),Se(!1))}},"\u53D6\u6D88"),Cl.createElement(qe.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Cl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Cl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Cl.createElement(Re.ZP,{className:"ml20",type:"primary",onClick:()=>{In.submit()}},"\u4FDD\u5B58"))),Cl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Cl.createElement(rn.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Cl.createElement(uu,{form:In,withScore:!0,choiceKey:"",exerciseitem:lt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Cl.createElement(er,{getTagData:pn,qitem:se,exerciseitem:lt,TagDiscipline:Pe,form:In}))))},vl=ae(59301),ls=Object.defineProperty,is=Object.defineProperties,us=Object.getOwnPropertyDescriptors,Wu=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ss=Object.prototype.propertyIsEnumerable,Ju=(se,Se,Pe)=>Se in se?ls(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Yl=(se,Se)=>{for(var Pe in Se||(Se={}))Ru.call(Se,Pe)&&Ju(se,Pe,Se[Pe]);if(Wu)for(var Pe of Wu(Se))ss.call(Se,Pe)&&Ju(se,Pe,Se[Pe]);return se},nu=(se,Se)=>is(se,us(Se)),Fu=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),qu=({qitem:se,setqitem:Se,setisedit:Pe,TagDiscipline:lt,exerciseitem:vt,seveeditor:zn,deleteitem:pn,showTip:_t})=>{var ft,$t;const[In]=Fe.default.useForm();return(0,y.useEffect)(()=>{var et,Ft;In.setFieldsValue(nu(Yl({},se),{name:se==null?void 0:se.question_title,choices:(et=se==null?void 0:se.question_choices)==null?void 0:et.map(mn=>nu(Yl({},mn),{standard_boolean:mn!=null&&mn.standard_boolean?1:0})),repeat_answer:!(se!=null&&se.repeat_answer)})),se.shixun=(Ft=se==null?void 0:se.shixun)==null?void 0:Ft.map(mn=>nu(Yl({},mn),{defaultscore:mn.challenge_score}))},[]),vl.createElement("div",null,vl.createElement(Fe.default,{form:In,colon:!1,onFinish:et=>{var Ft,mn;let Bn=nu(Yl({},et),{question_scores:(Ft=se==null?void 0:se.shixun)==null?void 0:Ft.map(en=>en.challenge_score),item_type:se==null?void 0:se.question_type,choices:(mn=et==null?void 0:et.choices)==null?void 0:mn.map(en=>nu(Yl({},en),{is_answer:en.standard_boolean}))});zn(Yl(Yl({},se),Bn))},onFinishFailed:et=>Fu(void 0,null,function*(){var Ft,mn;Me.ZP.error(et.errorFields[0].errors[0]),In.scrollToField((mn=(Ft=et==null?void 0:et.errorFields)==null?void 0:Ft[0])==null?void 0:mn.name,{behavior:"smooth",block:"center"})})},vl.createElement("div",{style:{display:"flex",alignItems:"center"}},vl.createElement("div",{style:{flex:1}},vl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),vl.createElement("span",null,"\u5B9E\u8BAD\u9898")),((ft=vt==null?void 0:vt.exercise)==null?void 0:ft.exercise_status)==1&&!(se!=null&&se.isadd)&&vl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{pn()}},vl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),vl.createElement(Re.ZP,{onClick:()=>{var et,Ft;In.setFieldsValue(nu(Yl({},se),{name:se==null?void 0:se.question_title,choices:(et=se==null?void 0:se.question_choices)==null?void 0:et.map(mn=>nu(Yl({},mn),{standard_boolean:mn!=null&&mn.standard_boolean?1:0})),repeat_answer:!(se!=null&&se.repeat_answer)})),se.shixun=(Ft=se==null?void 0:se.shixun)==null?void 0:Ft.map(mn=>nu(Yl({},mn),{challenge_score:mn.defaultscore})),Se(Yl({},se)),Pe(!1)}},"\u53D6\u6D88"),vl.createElement(qe.Z,{overlayClassName:nt.shake,open:_t,placement:"bottom",color:"rgba(244,156,14,0.19)",title:vl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},vl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},vl.createElement(Re.ZP,{className:"ml20",type:"primary",onClick:()=>Fu(void 0,null,function*(){var et,Ft,mn;if(((Ft=(et=se==null?void 0:se.shixun)==null?void 0:et.map)==null?void 0:Ft.call(et,Bn=>Bn.challenge_score).filter(Bn=>Bn).length)<((mn=se==null?void 0:se.shixun)==null?void 0:mn.length)){Me.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}In.submit()})},"\u4FDD\u5B58"))),vl.createElement(rn.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),vl.createElement(Fe.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},vl.createElement(Qt.Z,{watch:!0,height:140,placeholder:"",defaultValue:se.question_title}))),vl.createElement(Fa.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},vl.createElement("div",null,vl.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),vl.createElement("a",{href:`/shixuns/${se==null?void 0:se.shixun_identifier}/challenges?exercise=true`,target:"_blank"},vl.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),($t=se==null?void 0:se.shixun)==null?void 0:$t.map((et,Ft)=>vl.createElement("div",{style:{display:"flex",marginBottom:20}},vl.createElement("div",{style:{flex:1}},Ft+1,"\u3001",et.challenge_name),vl.createElement("div",null,vl.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",vl.createElement(we.Z,{precision:1,value:et==null?void 0:et.challenge_score,onChange:mn=>{const Bn=JSON.parse(JSON.stringify((se==null?void 0:se.shixun)||[]));Bn[Ft].challenge_score=mn;const en=Bn.every(Rt=>!Rt.challenge_score),jt=parseFloat(Bn==null?void 0:Bn.map(Rt=>Rt.challenge_score).reduce((Rt,Xt)=>parseFloat(Rt||0)+parseFloat(Xt||0)));In.setFieldsValue({question_score:en?"":jt.toFixed(1)}),Se(nu(Yl({},se),{shixun:Bn}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ra={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},$u=ae(1710),es=ae(27687),au=ae(24334),ea=ae(59301);const Tu=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],ds=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var cs=({qitem:se,exercise:Se})=>{var Pe,lt,vt,zn,pn,_t,ft,$t,In,et,Ft,mn,Bn,en,jt,Rt,Xt,xa,yn,Sn,Or,Tr,gr,qo;return ea.createElement("div",{className:Ra.warp},((se==null?void 0:se.question_type)===0||(se==null?void 0:se.question_type)===2)&&ea.createElement("div",{className:Ra.normalWrap},(Pe=se==null?void 0:se.question_choices)==null?void 0:Pe.map((sa,Vr)=>ea.createElement("div",{className:Ra.redio},!(sa!=null&&sa.standard_boolean)&&ea.createElement("span",{className:Ra.redioitem}),(sa==null?void 0:sa.standard_boolean)&&ea.createElement("i",{className:`${Ra.redioitemyes} icon-duigou1`}),ea.createElement("span",{className:`${sa!=null&&sa.standard_boolean?Ra.titleyes:Ra.title} ${Ra.indexTag}`},(se==null?void 0:se.question_type)===0?Tu[Vr]:""),ea.createElement(yt.Z,{className:sa!=null&&sa.standard_boolean?Ra.titleyes:Ra.title,value:sa==null?void 0:sa.choice_text}),(sa==null?void 0:sa.standard_boolean)&&ea.createElement("div",{className:Ra.yestag},"\u6B63\u786E\u7B54\u6848")))),(se==null?void 0:se.question_type)===1&&ea.createElement("div",{className:Ra.normalWrap},(lt=se==null?void 0:se.question_choices)==null?void 0:lt.map((sa,Vr)=>ea.createElement("div",{className:Ra.checkbox},!(sa!=null&&sa.standard_boolean)&&ea.createElement("span",{className:Ra.checkboxitem}),(sa==null?void 0:sa.standard_boolean)&&ea.createElement("i",{className:`${Ra.checkboxitemyes} icon-duigou1`}),ea.createElement("span",{className:`${sa!=null&&sa.standard_boolean?Ra.titleyes:Ra.title} ${Ra.indexTag}`},Tu[Vr]),ea.createElement(yt.Z,{className:sa!=null&&sa.standard_boolean?Ra.titleyes:Ra.title,value:sa==null?void 0:sa.choice_text}),(sa==null?void 0:sa.standard_boolean)&&ea.createElement("div",{className:Ra.yestag},"\u6B63\u786E\u7B54\u6848")))),(se==null?void 0:se.question_type)===3&&ea.createElement("div",{className:Ra.completion},(vt=se==null?void 0:se.standard_answers)==null?void 0:vt.map((sa,Vr)=>{var $a;return ea.createElement(Fa.Z,{align:"top"},ea.createElement("span",{className:Ra.title},"\u586B\u7A7A\u9879",Vr+1),ea.createElement("div",{className:Ra.content},($a=sa.answer_text)==null?void 0:$a.map((Fo,Zo)=>ea.createElement("div",{key:Zo,className:Ra.items,style:(sa==null?void 0:sa.model)===2?{border:0,padding:0}:{}},(sa==null?void 0:sa.model)===1?ea.createElement("pre",{className:"mb0"},Fo):ea.createElement(es.Z,{value:Fo,disabled:!0})))))})),(se==null?void 0:se.question_type)===4&&ea.createElement("div",{className:Ra.simple},ea.createElement("div",{className:Ra.title},"\u53C2\u8003\u7B54\u6848"),ea.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(zn=se==null?void 0:se.answer_texts)!=null&&zn[0]?ea.createElement(yt.Z,{className:Ra.content,value:(pn=se==null?void 0:se.answer_texts)==null?void 0:pn[0]}):ea.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ea.createElement("div",{className:"mt20 "},ea.createElement("span",{className:Ra.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ea.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},se!=null&&se.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(se==null?void 0:se.question_type)===5&&ea.createElement("div",{className:Ra.shixunWrapper},(_t=se==null?void 0:se.shixun)==null?void 0:_t.map((sa,Vr)=>{var $a,Fo;return ea.createElement("div",null,ea.createElement("div",{key:Vr,className:`${Ra.shixun} mb30`},ea.createElement("span",{className:Ra.score},"\uFF08",sa==null?void 0:sa.challenge_score,"\u5206\uFF09"),ea.createElement("span",{className:Ra.qtitle},(se==null?void 0:se.index)+"."+(Vr+1),"\u3001",sa==null?void 0:sa.challenge_name)),((Fo=($a=Se==null?void 0:Se.editData)==null?void 0:$a.exercise)==null?void 0:Fo.show_challenge_task_pass)&&ea.createElement(yt.Z,{className:Ra.content,value:(sa==null?void 0:sa.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(se==null?void 0:se.question_type)===6&&ea.createElement("div",{className:Ra.program,style:{border:!(($t=(ft=Se==null?void 0:Se.editData)==null?void 0:ft.exercise)!=null&&$t.show_hack_sets)&&!((et=(In=Se==null?void 0:Se.editData)==null?void 0:In.exercise)!=null&&et.show_hack_description)&&"none"}},((mn=(Ft=Se==null?void 0:Se.editData)==null?void 0:Ft.exercise)==null?void 0:mn.show_hack_sets)&&ea.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},ea.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},ea.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),ea.createElement($u.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(sa,Vr,$a)=>$a+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(sa,Vr,$a)=>ea.createElement(qe.Z,{title:ea.createElement("pre",null,sa)},ea.createElement("div",{className:Ra.divname},sa))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(sa,Vr,$a)=>ea.createElement(qe.Z,{title:ea.createElement("pre",null,sa)}," ",ea.createElement("div",{className:Ra.divname},sa))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:se==null?void 0:se.hack_sets})),((en=(Bn=Se==null?void 0:Se.editData)==null?void 0:Bn.exercise)==null?void 0:en.show_hack_description)&&ea.createElement("div",null,ea.createElement(yt.Z,{className:Ra.content,value:(se==null?void 0:se.description)||"- -"}))),(se==null?void 0:se.question_type)===7&&((jt=se==null?void 0:se.sub_exercise_questions)==null?void 0:jt.map((sa,Vr)=>{var $a,Fo,Zo,$o,ul,La;return ea.createElement("div",{key:Vr},ea.createElement("div",{className:Ra.combination},ea.createElement("span",{className:Ra.score},sa==null?void 0:sa.question_score,"\u5206"),ea.createElement("span",{className:Ra.qtype},($a=ds.find(kr=>kr.type==sa.question_type))==null?void 0:$a.name),ea.createElement("span",{className:Ra.qtitle},Vr+1,"\u3001",sa==null?void 0:sa.question_title)),(sa.question_type===0||sa.question_type===2)&&ea.createElement("div",{className:Ra.warp,style:{padding:"30px 58px",paddingBottom:0}},ea.createElement("div",null,(Fo=sa==null?void 0:sa.question_choices)==null?void 0:Fo.map((kr,Dl)=>ea.createElement("div",{className:Ra.redio,key:Dl},!(kr!=null&&kr.standard_boolean)&&ea.createElement("span",{className:Ra.redioitem}),(kr==null?void 0:kr.standard_boolean)&&ea.createElement("i",{className:`${Ra.redioitemyes} icon-duigou1`}),sa.question_type===2&&ea.createElement("span",{className:`${kr!=null&&kr.standard_boolean?Ra.titleyes:Ra.title} ${Ra.indexTag}`},Tu[Dl]),ea.createElement(yt.Z,{className:kr!=null&&kr.standard_boolean?Ra.titleyes:Ra.title,value:kr==null?void 0:kr.choice_text}),(kr==null?void 0:kr.standard_boolean)&&ea.createElement("div",{className:Ra.yestag},"\u6B63\u786E\u7B54\u6848"))))),sa.question_type===1&&ea.createElement("div",{className:Ra.normalWrap},(Zo=sa==null?void 0:sa.question_choices)==null?void 0:Zo.map((kr,Dl)=>ea.createElement("div",{className:Ra.checkbox,key:Dl},!(kr!=null&&kr.standard_boolean)&&ea.createElement("span",{className:Ra.checkboxitem}),(kr==null?void 0:kr.standard_boolean)&&ea.createElement("i",{className:`${Ra.checkboxitemyes} icon-duigou1`}),ea.createElement("span",{className:`${kr!=null&&kr.standard_boolean?Ra.titleyes:Ra.title} ${Ra.indexTag}`},Tu[Dl]),ea.createElement(yt.Z,{className:kr!=null&&kr.standard_boolean?Ra.titleyes:Ra.title,value:kr==null?void 0:kr.choice_text}),(kr==null?void 0:kr.standard_boolean)&&ea.createElement("div",{className:Ra.yestag},"\u6B63\u786E\u7B54\u6848")))),sa.question_type===3&&ea.createElement("div",{className:Ra.completion},($o=sa==null?void 0:sa.standard_answers)==null?void 0:$o.map((kr,Dl)=>{var al;return ea.createElement(Fa.Z,{align:"top"},ea.createElement("span",{className:Ra.title},"\u586B\u7A7A\u9879",Dl+1),ea.createElement("div",{className:Ra.content},(al=kr.answer_text)==null?void 0:al.map((Nn,pl)=>ea.createElement("div",{key:pl,className:Ra.items},ea.createElement("pre",{className:"mb0"},Nn)))))})),sa.question_type===4&&ea.createElement("div",{className:Ra.simple},ea.createElement("div",{className:Ra.title},"\u53C2\u8003\u7B54\u6848"),ea.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ul=sa==null?void 0:sa.answer_texts)!=null&&ul[0]?ea.createElement(yt.Z,{className:Ra.content,value:(La=sa==null?void 0:sa.answer_texts)==null?void 0:La[0]}):ea.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ea.createElement("div",{className:"mt20 "},ea.createElement("span",{className:Ra.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ea.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},sa!=null&&sa.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(se==null?void 0:se.question_type)===8&&ea.createElement("div",null,ea.createElement(yt.Z,{disabledFill:!0,className:Ra.content,showProgramFill:!0,value:au.Base64.decode(((Rt=se==null?void 0:se.program_attr)==null?void 0:Rt.code)||"")})),((se==null?void 0:se.question_type)<=4||[6,8].includes(se==null?void 0:se.question_type))&&ea.createElement("div",{className:Ra.bottom},ea.createElement("div",{className:`${Ra.bottomitem} mb30`},ea.createElement("span",{className:Ra.left},"\u89E3\u6790"),ea.createElement("span",{className:Ra.right},se!=null&&se.analysis?ea.createElement(yt.Z,{value:se==null?void 0:se.analysis}):ea.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ea.createElement("div",{className:`${Ra.bottomitem} mb30`},ea.createElement("span",{className:Ra.left},"\u96BE\u5EA6"),ea.createElement("span",{className:Ra.right},(se==null?void 0:se.difficulty)===1?"\u7B80\u5355":(se==null?void 0:se.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ea.createElement("div",{className:Ra.bottomitem},ea.createElement("span",{className:Ra.left},"\u77E5\u8BC6\u70B9"),ea.createElement(qe.Z,{title:((Xt=se==null?void 0:se.tag_discipline_names)==null?void 0:Xt.length)<=0||((xa=se==null?void 0:se.tag_discipline_names)==null?void 0:xa.length)==1&&["-"].includes(se==null?void 0:se.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Sn=(yn=se==null?void 0:se.tag_discipline_names)==null?void 0:yn.join("\uFF1B"))==null?void 0:Sn.toString()},ea.createElement("span",{className:Ra.right},((Or=se==null?void 0:se.tag_discipline_names)==null?void 0:Or.length)<=0?ea.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Tr=se==null?void 0:se.tag_discipline_names)==null?void 0:Tr.length)==1&&["-"].includes(se==null?void 0:se.tag_discipline_names[0])?ea.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(qo=(gr=se==null?void 0:se.tag_discipline_names)==null?void 0:gr.join("\uFF1B"))==null?void 0:qo.toString())))))},ku=ae(30440),su=ae(54190),xl=ae(59301),ts=Object.defineProperty,gs=Object.defineProperties,ms=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Le=(se,Se,Pe)=>Se in se?ts(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Ne=(se,Se)=>{for(var Pe in Se||(Se={}))ge.call(Se,Pe)&&Le(se,Pe,Se[Pe]);if(ce)for(var Pe of ce(Se))me.call(Se,Pe)&&Le(se,Pe,Se[Pe]);return se},gt=(se,Se)=>gs(se,ms(Se)),at=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),Nt=({qitem:se,setisedit:Se,TagDiscipline:Pe,exerciseitem:lt,seveeditor:vt,deleteitem:zn,getTagData:pn,init:_t,showTip:ft=!1})=>{var $t,In,et,Ft;const[mn]=Fe.default.useForm(),{unified_ai_setting:Bn,ai_review_settings:en}=lt==null?void 0:lt.exercise,jt=Bn?en:(($t=se==null?void 0:se.ai_review_settings)==null?void 0:$t.length)>0?se.ai_review_settings:en;return(0,y.useEffect)(()=>{mn.setFieldsValue(gt(Ne({},se),{name:se.question_title,answer_texts:se.answer_texts,repeat_answer:!se.repeat_answer,ai_review_settings:jt}))},[se]),xl.createElement("div",null,xl.createElement(Fe.default,{form:mn,colon:!1,onFinish:Rt=>{var Xt;(Xt=lt==null?void 0:lt.exercise)!=null&&Xt.is_open_ai_review&&!(0,pt.BR)(Rt==null?void 0:Rt.ai_review_settings)||vt(gt(Ne(Ne({},se),Rt),{answer_texts:Rt==null?void 0:Rt.answer_texts,question_title:Rt==null?void 0:Rt.name}))},onFinishFailed:Rt=>at(void 0,null,function*(){var Xt,xa;Me.ZP.error(Rt.errorFields[0].errors[0]),mn.scrollToField((xa=(Xt=Rt==null?void 0:Rt.errorFields)==null?void 0:Xt[0])==null?void 0:xa.name,{behavior:"smooth",block:"center"})})},xl.createElement("div",{style:{display:"flex",alignItems:"center"}},xl.createElement("div",{style:{flex:1}},xl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),xl.createElement("span",null,"\u7B80\u7B54\u9898")),((In=lt==null?void 0:lt.exercise)==null?void 0:In.exercise_status)==1&&!(se!=null&&se.isadd)&&xl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{zn()}},xl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),xl.createElement(Re.ZP,{onClick:()=>{se.isadd?(Se(!1),_t()):(mn.setFieldsValue(gt(Ne({},se),{name:se==null?void 0:se.question_title,answer_texts:se.answer_texts||[],repeat_answer:!(se!=null&&se.repeat_answer)})),Se(!1))}},"\u53D6\u6D88"),xl.createElement(qe.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:xl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},xl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},xl.createElement(Re.ZP,{type:"primary",className:"ml20",onClick:()=>{mn.submit()}},"\u4FDD\u5B58"))),xl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},xl.createElement(Fe.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},xl.createElement(we.Z,{onBlur:Rt=>{Rt.target.value==="0"&&Me.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),xl.createElement(su.W,{form:mn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),((et=lt==null?void 0:lt.exercise)==null?void 0:et.is_open_ai_review)&&!((Ft=lt==null?void 0:lt.exercise)!=null&&Ft.unified_ai_setting)&&xl.createElement(ut,{form:mn,qitem:se}),xl.createElement(er,{getTagData:pn,qitem:se,exerciseitem:lt,TagDiscipline:Pe,form:mn}))))},kt=ae(59301),Xn=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),gn=({setScoreShow:se,ScoreShow:Se,exerciseitem:Pe,getdata:lt})=>{var vt,zn,pn;const[_t,ft]=(0,y.useState)(!1);function $t(){return Xn(this,null,function*(){var In,et,Ft;let mn=(et=(In=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:In.filter(en=>en.Singlequestion))==null?void 0:et.map(en=>({question_type:en.question_type,score:en.Singlequestion})),Bn=yield(0,te.ZP)(`/api/exercises/${(Ft=Pe==null?void 0:Pe.exercise)==null?void 0:Ft.id}/batch_set_score.json`,{method:"POST",body:{question_arr:mn}});(Bn==null?void 0:Bn.status)===0&<()})}return kt.createElement("div",null,Se&&kt.createElement(Ye.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Se,width:640,centered:!0,zIndex:10,className:nt.scoremodal,onCancel:()=>{se(!1)},onOk:()=>{var In,et,Ft;if(Pe!=null&&Pe.use_blank_score&&((Ft=(et=(In=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:In.filter(mn=>mn.name==="\u586B\u7A7A\u9898"))==null?void 0:et[0])!=null&&Ft.Singlequestion)){ft(!0);return}$t(),se(!1)}},kt.createElement("div",{className:"c-black"},"\u603B\u5206",kt.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((vt=Pe==null?void 0:Pe.exercise_types)==null?void 0:vt.q_scores))),kt.createElement("div",{className:nt.content},kt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),kt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),kt.createElement("span",null,"\u9898\u578B\u603B\u5206"),kt.createElement("span",null,"\u64CD\u4F5C")),(pn=(zn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:zn.filter(In=>In.name!=="\u5B9E\u8BAD\u9898"&&In.name!=="\u7EC4\u5408\u9898"))==null?void 0:pn.map(In=>{var et;return kt.createElement("div",{className:nt.items},kt.createElement("span",null,In==null?void 0:In.name),kt.createElement("span",null,(et=In==null?void 0:In.items)==null?void 0:et.length),kt.createElement("span",null,In==null?void 0:In.score),kt.createElement("span",null,"\u6BCF\u9898",kt.createElement(we.Z,{max:100,precision:1,min:.1,onChange:Ft=>{In.Singlequestion=Ft},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),kt.createElement(Ye.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:_t,width:640,closable:!1,className:nt.scoremodal},kt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",kt.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),kt.createElement("div",{className:nt.bottom},kt.createElement(Re.ZP,{className:nt.no,onClick:()=>{ft(!1)}},"\u53D6\u6D88"),kt.createElement(Re.ZP,{className:nt.yes,onClick:()=>{$t(),ft(!1),se(!1)}},"\u786E\u8BA4"))))},Tn=ae(99313),Rn=ae(98228),Dt=ae(58421),Wt={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},kn=ae(3033),cn={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const pa=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var Ga=({qitem:se})=>{var Se,Pe,lt,vt,zn,pn,_t,ft,$t,In;return y.createElement("div",{className:cn.warp},y.createElement("div",{className:cn.mainPart},y.createElement("div",{className:cn.qcount},(se==null?void 0:se.question_type)===8&&y.createElement(yt.Z,{className:cn.content,showProgramFill:!0,value:(Se=se==null?void 0:se.program_attr)==null?void 0:Se.description}),(se==null?void 0:se.question_type)!=8&&y.createElement(yt.Z,{className:cn.qtitle,value:(se==null?void 0:se.name)||(se==null?void 0:se.title)})),((se==null?void 0:se.question_type)===0||(se==null?void 0:se.question_type)===2)&&y.createElement("div",null,(Pe=se==null?void 0:se.choices)==null?void 0:Pe.map((et,Ft)=>y.createElement("div",{className:cn.redio},!(et!=null&&et.is_answer)&&y.createElement("span",{className:cn.redioitem}),(et==null?void 0:et.is_answer)&&y.createElement("i",{className:`${cn.redioitemyes} icon-duigou1`}),y.createElement(yt.Z,{className:et!=null&&et.is_answer?cn.titleyes:cn.title,value:pa[Ft]+(et==null?void 0:et.choice_text)}),(et==null?void 0:et.is_answer)&&y.createElement("div",{className:cn.yestag},"\u6B63\u786E\u7B54\u6848")))),(se==null?void 0:se.question_type)===1&&y.createElement("div",null,(lt=se==null?void 0:se.choices)==null?void 0:lt.map((et,Ft)=>y.createElement("div",{className:cn.checkbox},!(et!=null&&et.is_answer)&&y.createElement("span",{className:cn.checkboxitem}),(et==null?void 0:et.is_answer)&&y.createElement("i",{className:`${cn.checkboxitemyes} icon-duigou1`}),y.createElement(yt.Z,{className:et!=null&&et.is_answer?cn.titleyes:cn.title,value:pa[Ft]+(et==null?void 0:et.choice_text)}),(et==null?void 0:et.is_answer)&&y.createElement("div",{className:cn.yestag},"\u6B63\u786E\u7B54\u6848")))),(se==null?void 0:se.question_type)===3&&y.createElement("div",{className:cn.completion},(vt=se==null?void 0:se.standard_answer)==null?void 0:vt.map((et,Ft)=>{var mn;return y.createElement("div",{style:{display:"flex"}},y.createElement("span",{className:cn.title},"\u586B\u7A7A\u9879",Ft+1),y.createElement("div",{className:cn.content},(mn=et==null?void 0:et.answer_text)==null?void 0:mn.map((Bn,en)=>y.createElement("div",{className:cn.items},Bn))))})),(se==null?void 0:se.question_type)===4&&y.createElement("div",{className:cn.simple},y.createElement("div",{className:cn.title},"\u53C2\u8003\u7B54\u6848"),y.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(zn=se==null?void 0:se.answer_texts)!=null&&zn[0]?y.createElement(yt.Z,{className:cn.content,value:(pn=se==null?void 0:se.answer_texts)==null?void 0:pn[0]}):y.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(se==null?void 0:se.question_type)===5&&((_t=se==null?void 0:se.challenge_names)==null?void 0:_t.map((et,Ft)=>y.createElement("div",{className:cn.shixun},y.createElement("span",{className:cn.qtitle},y.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,pt.EM)(Ft+1),"\u9898"),et)))),(se==null?void 0:se.question_type)===6&&y.createElement("div",{className:cn.simple},y.createElement(yt.Z,{className:cn.content,value:((ft=se==null?void 0:se.program_attr)==null?void 0:ft.description)||"- -"})),(se==null?void 0:se.question_type)===7&&(($t=se==null?void 0:se.sub_item_banks)==null?void 0:$t.map((et,Ft)=>{var mn,Bn,en,jt,Rt;return y.createElement("div",null,y.createElement("div",{className:cn.combination},y.createElement("span",{className:cn.qtitle},et==null?void 0:et.name)),y.createElement("div",{className:cn.warp,style:{padding:"0px",paddingTop:20}},y.createElement("div",null,((et==null?void 0:et.item_type)=="SINGLE"||(et==null?void 0:et.item_type)=="JUDGMENT")&&((mn=et==null?void 0:et.choices)==null?void 0:mn.map((Xt,xa)=>y.createElement("div",{className:cn.redio},!(Xt!=null&&Xt.is_answer)&&y.createElement("span",{className:cn.redioitem}),(Xt==null?void 0:Xt.is_answer)&&y.createElement("i",{className:`${cn.redioitemyes} icon-duigou1`}),y.createElement(yt.Z,{className:Xt!=null&&Xt.is_answer?cn.titleyes:cn.title,value:pa[xa]+(Xt==null?void 0:Xt.choice_text)}),(Xt==null?void 0:Xt.is_answer)&&y.createElement("div",{className:cn.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.item_type)=="MULTIPLE"&&((Bn=et==null?void 0:et.choices)==null?void 0:Bn.map((Xt,xa)=>y.createElement("div",{className:cn.checkbox},!(Xt!=null&&Xt.is_answer)&&y.createElement("span",{className:cn.checkboxitem}),(Xt==null?void 0:Xt.is_answer)&&y.createElement("i",{className:`${cn.checkboxitemyes} icon-duigou1`}),y.createElement(yt.Z,{className:Xt!=null&&Xt.is_answer?cn.titleyes:cn.title,value:pa[xa]+(Xt==null?void 0:Xt.choice_text)}),(Xt==null?void 0:Xt.is_answer)&&y.createElement("div",{className:cn.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.item_type)=="COMPLETION"&&y.createElement("div",{className:cn.completion},(en=et==null?void 0:et.standard_answer)==null?void 0:en.map((Xt,xa)=>{var yn;return y.createElement("div",{style:{display:"flex"}},y.createElement("span",{className:cn.title},"\u586B\u7A7A\u9879",xa+1),y.createElement("div",{className:cn.content},(yn=Xt==null?void 0:Xt.answer_text)==null?void 0:yn.map((Sn,Or)=>y.createElement("div",{className:cn.items},Sn))))})),(et==null?void 0:et.item_type)=="SUBJECTIVE"&&y.createElement("div",{className:cn.simple},y.createElement("div",{className:cn.title},"\u53C2\u8003\u7B54\u6848"),y.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(jt=et==null?void 0:et.answer_texts)!=null&&jt[0]?y.createElement(yt.Z,{className:cn.content,value:(Rt=et==null?void 0:et.answer_texts)==null?void 0:Rt[0]}):y.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(se==null?void 0:se.question_type)===8&&y.createElement("div",null,y.createElement(yt.Z,{disabledFill:!0,className:cn.content,showProgramFill:!0,value:au.Base64.decode(((In=se==null?void 0:se.program_attr)==null?void 0:In.code)||"")})),(se==null?void 0:se.question_type)===5&&y.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},y.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},y.createElement("div",{style:{marginRight:30}},y.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),y.createElement("span",{style:{color:"#000000"}},(se==null?void 0:se.author_name)||"- -")),y.createElement("div",{style:{marginRight:30}},y.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{style:{color:"#000000"}},(se==null?void 0:se.author_school_name)||"- -")),y.createElement("div",{style:{marginRight:30}},y.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{style:{color:"#000000"}},(se==null?void 0:se.study_count)||"0"))),y.createElement("a",{className:cn.shixunbutton,href:`/shixuns/${se==null?void 0:se.identifier}/challenges?exercise=true`,target:"_blank"},y.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((se==null?void 0:se.question_type)<=4||[6,8].includes(se==null?void 0:se.question_type))&&y.createElement("div",{className:cn.bottom},y.createElement("div",{className:cn.bottomitem},y.createElement("span",{className:cn.left},"\u89E3\u6790"),y.createElement("span",{className:cn.right},se!=null&&se.analysis?y.createElement(yt.Z,{value:se==null?void 0:se.analysis}):y.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),y.createElement("div",{className:cn.bottomitem},y.createElement("span",{className:cn.left},"\u96BE\u5EA6"),y.createElement("span",{className:cn.right},(se==null?void 0:se.difficulty)===1?"\u7B80\u5355":(se==null?void 0:se.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),y.createElement("div",{className:cn.bottomitem},y.createElement("span",{className:cn.left},"\u77E5\u8BC6\u70B9"),y.createElement("span",{className:cn.right},se!=null&&se.tag_discipline?se==null?void 0:se.tag_discipline:y.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Ta=ae(64303),Sa=ae(96435),_r=ae(35479),cr=ae(90463),to=ae(11517),no=ae(83028),Mo=ae(60979),Wn=ae(59301),sl=Object.defineProperty,Ro=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,So=Object.getOwnPropertySymbols,Vo=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Io=(se,Se,Pe)=>Se in se?sl(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,xr=(se,Se)=>{for(var Pe in Se||(Se={}))Vo.call(Se,Pe)&&Io(se,Pe,Se[Pe]);if(So)for(var Pe of So(Se))tl.call(Se,Pe)&&Io(se,Pe,Se[Pe]);return se},ll=(se,Se)=>Ro(se,vo(Se)),nl=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())});const kl=({setScoreShow:se,ScoreShow:Se,onOk:Pe,isshixuns:lt,isloadings:vt,dispatch:zn,shixunsDetail:pn,exercise:_t})=>{var ft,$t,In;let[et,Ft]=(0,y.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[mn,Bn]=(0,y.useState)([]),[en,jt]=(0,y.useState)([]),[Rt,Xt]=(0,y.useState)([]),[xa,yn]=(0,y.useState)([]);const[Sn,Or]=(0,y.useState)(!1),[Tr]=Fe.default.useForm(),[gr,qo]=(0,y.useState)(),[sa,Vr]=(0,y.useState)(!1);let[$a,Fo]=(0,y.useState)(lt);const[Zo,$o]=(0,y.useState)([]),[ul,La]=(0,y.useState)(!0),[kr,Dl]=(0,y.useState)([]),[al,Nn]=(0,y.useState)(0),[pl,vi]=(0,y.useState)([]),Ll=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Gl,ni]=(0,y.useState)({});(0,y.useEffect)(()=>{var an,aa,Gr,Ar,ao,Po,hl,Ao,Jl,Ho;(((Gr=(aa=(an=_t==null?void 0:_t.editData)==null?void 0:an.exercise)==null?void 0:aa.exist_item_bank_ids)==null?void 0:Gr.length)>0||((Po=(ao=(Ar=_t==null?void 0:_t.editData)==null?void 0:Ar.exercise)==null?void 0:ao.exist_item_bank_shixun_ids)==null?void 0:Po.length)>0)&&vi([...(Ao=(hl=_t==null?void 0:_t.editData)==null?void 0:hl.exercise)==null?void 0:Ao.exist_item_bank_ids,...(Ho=(Jl=_t==null?void 0:_t.editData)==null?void 0:Jl.exercise)==null?void 0:Ho.exist_item_bank_shixun_ids])},[($t=(ft=_t==null?void 0:_t.editData)==null?void 0:ft.exercise)==null?void 0:$t.exist_item_bank_ids]);const Fl=(0,y.useRef)(new Set),Ci=(0,y.useRef)(new Set);let[ai,Ai]=(0,y.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Go=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],_l=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],si=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[cu,Xr]=(0,y.useState)(!1),rl=()=>{Tr.resetFields(),$a=!1,Fo(!1),Xr(!1),Tr.submit()};(0,y.useEffect)(()=>{al>0&&setTimeout(()=>{Nn(0)},2e3)},[al]),(0,y.useEffect)(()=>{Se&&(Tr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),ul&&$a&&(Tr.setFieldsValue({item_type:"SHIXUN"}),et.item_type="SHIXUN",Ft(xr({},et)),La(!1)),ml(et),pi(),fl({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Se]);function ml(an){return nl(this,null,function*(){var aa,Gr,Ar;if(Or(!0),Ft(an),(Rt==null?void 0:Rt.length)<=0&&an.type==="5"){yn([]),Or(!1);return}let ao=an.type==="5"?Rt==null?void 0:Rt.filter(Ao=>!Zo.includes(Ao)):null,Po=an.type==="5"?Rt==null?void 0:Rt.filter(Ao=>Zo.includes(Ao)):null,hl=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:ll(xr({},an),{discipline_id:((aa=an==null?void 0:an.courseid)==null?void 0:aa[0])||null,sub_discipline_id:((Gr=an==null?void 0:an.courseid)==null?void 0:Gr[1])||null,ids:ao,shixun_ids:Po,group_id:((Ar=an.group_id)==null?void 0:Ar.map(Ao=>Ao==null?void 0:Ao.value))||null,keyword:an.keyword?encodeURIComponent(an.keyword):an.keyword,include_shixuns:!0,type:an.type==="5"?null:an.type,clazz:an.type==="3"?"ItemBanksGroup":null})});yn(hl),Or(!1)})}function fl(an){return nl(this,null,function*(){var aa;let Gr=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:an}),Ar=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(aa=Gr==null?void 0:Gr.data)==null?void 0:aa.map(ao=>({title:ao.name,id:ao.id,pid:ao.id,value:ao.id,key:ao.id,isLeaf:!ao.have_child}))}];Dl(Ar)})}function pi(){return nl(this,null,function*(){let an=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:et.type==="5"?null:et.type,clazz:"ItemBanksGroup"}});Bn((0,kn.L)(an==null?void 0:an.disciplines))})}function di(an){return nl(this,null,function*(){var aa,Gr,Ar,ao;Or(!0);let Po=(aa=an.list)==null?void 0:aa.filter(Jl=>!Zo.includes(Jl)),hl=(Gr=an.list)==null?void 0:Gr.filter(Jl=>Zo.includes(Jl));if(Po.length===0&&hl.length===0){Or(!1),yn([]);return}let Ao=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:ll(xr({},an),{discipline_id:((Ar=an==null?void 0:an.courseid)==null?void 0:Ar[0])||null,sub_discipline_id:((ao=an==null?void 0:an.courseid)==null?void 0:ao[1])||null,ids:Po,shixun_ids:hl,type:an.type==="5"?null:an.type,clazz:an.type==="3"?"ItemBanksGroup":null})});Or(!1),yn(Ao)})}const Vl=(0,pe.useParams)(),[Ji,Wi,Mi,Rl]=(0,_r.P)(),Xi=an=>nl(void 0,null,function*(){const aa=yield zn({type:"shixunsDetail/release",payload:{id:an}});let Gr=aa==null?void 0:aa.tag_position,Ar=(aa==null?void 0:aa.evaluation_set_position)||[],ao=aa.status;return ao===0?(Me.ZP.success("\u53D1\u5E03\u6210\u529F"),ml(et),!0):(ao===2?Me.ZP.error(`\u7B2C${Ar.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):ao===3?Me.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Gr.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Me.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),io=an=>(an==null?void 0:an.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Ou=(an,aa,Gr)=>an.map(Ar=>Ar.key===aa?xr(xr({},Ar),Gr):Ar.children?ll(xr({},Ar),{children:Ou(Ar.children,aa,Gr)}):Ar),bu=an=>nl(void 0,null,function*(){const{key:aa}=an;let Gr=et.type;const Ar=yield(0,to.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(aa),type:Gr}),{data:ao,total_count:Po}=Ar||{};Po>0&&Dl(hl=>Ou(hl,aa,{children:ao.map(Ao=>({title:Ao.name,id:Ao.id,pid:Ao.id,value:Ao.id,key:Ao.id,isLeaf:!Ao.have_child}))}))});function Qi(an){console.log("----",et),an==="1"&&(ai.gg=xr({},et)),an==="2"&&(ai.scj=xr({},et)),an==="3"&&(ai.ttgx=xr({},et)),an==="0"&&(ai.wcjd=xr({},et)),an==="5"&&(ai.yx=xr({},et)),Ai(xr({},ai))}function Zu(){et.type==="1"&&(et=ai.gg),et.type==="2"&&(et=ai.scj),et.type==="3"&&(et=ai.ttgx),et.type==="0"&&(et=ai.wcjd),et.type==="5"&&(et=ai.yx),(et==null?void 0:et.item_type)==="SHIXUN"?($a=!0,Fo(!0)):($a=!1,Fo(!1)),Tr.setFieldsValue(xr({},et)),Ft(xr({},et)),ml(xr({},et))}return Wn.createElement("div",null,Wn.createElement(Ye.default,{title:!1,footer:!1,open:Se,width:1200,centered:!0,className:Wt.scoremodal,onCancel:()=>{se(!1)}},Wn.createElement("div",{style:{display:"flex",alignItems:"center"}},Wn.createElement("div",{className:Wt.title},"\u9898\u5E93\u9009\u9898")),Wn.createElement(Tn.default,{className:Wt.tabWrap,activeKey:et.type,onChange:an=>{an==="3"?(et.show_all_share=!0,fl({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):et.show_all_share=null,an==="0"&&fl({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Qi(et.type),et.type=an,(et==null?void 0:et.item_type)==="SHIXUN"&&et.type!=="5"&&($a=!0,Fo(!0)),Xr(!1),et.type==="5"&&($a=!1,Fo(!1)),Zu(),pi()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Wn.createElement("div",null,"\u5DF2\u9009",Rt.length>0&&Wn.createElement("span",{className:Wt.titlecount},Rt.length),al>0&&Wn.createElement("span",{className:Wt.add},"+",al)),key:"5"}]}),Wn.createElement(Fe.default,{layout:"inline",form:Tr,onValuesChange:(an,aa)=>{var Gr,Ar;const ao=Object.values(aa).some(hl=>hl!==null&&hl!==""&&hl!==void 0),Po=aa.keyword==="";if(Xr(ao||!Po),et.page=1,et.keyword=(Ar=(Gr=et.keyword)==null?void 0:Gr.replace)==null?void 0:Ar.call(Gr,/^\s+|\s+$/g,""),(aa==null?void 0:aa.item_type)==="SHIXUN"){if(et.type==="5"?Fo(!1):Fo(!0),an.keyword||an.keyword==="")return;Tr.submit()}else{if(an!=null&&an.courseid&&Tr.setFieldsValue({tag_discipline_id:""}),Fo(!1),an.keyword||an.keyword==="")return;Tr.submit()}},onFinish:an=>{var aa;et.type==="3"&&(!an.group_id||((aa=an==null?void 0:an.group_id)==null?void 0:aa.length)===0)?et.show_all_share=!0:et.show_all_share=null,Ft(xr(xr({},et),an)),ml(xr(xr({},et),an))}},Wn.createElement(Fe.default.Item,{name:"item_type"},Wn.createElement(Ee.default,{className:Wt.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},Ll.map(an=>Wn.createElement(Ee.default.Option,{key:an.value},an.name)))),Wn.createElement(Fe.default.Item,{name:"courseid"},Wn.createElement(xe.Z,{className:Wt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:mn})),!$a&&Wn.createElement(Fe.default.Item,{name:"tag_discipline_id"},Wn.createElement(Ee.default,{className:Wt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(In=xa==null?void 0:xa.tag_disciplines)==null?void 0:In.map(an=>Wn.createElement(Ee.default.Option,{key:an.id},an.name)))),Wn.createElement(Fe.default.Item,{name:$a?"diff":"difficulty"},Wn.createElement(Ee.default,{className:Wt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!$a&&Go.map(an=>Wn.createElement(Ee.default.Option,{key:an.value},an.name)),$a&&_l.map(an=>Wn.createElement(Ee.default.Option,{key:an.value},an.name)))),$a&&Wn.createElement(Fe.default.Item,{name:"shixun_publish_status"},Wn.createElement(Ee.default,{className:Wt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},si.map(an=>Wn.createElement(Ee.default.Option,{key:an.value},an.name)))),(et.type==="3"||et.type==="0")&&!$a&&Wn.createElement(Fe.default.Item,{name:"group_id"},Wn.createElement(Rn.default,{treeDataSimpleMode:!0,style:{width:118},className:Wt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(an,aa)=>aa.title.toUpperCase().indexOf(an.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:bu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:kr})),cu&&Wn.createElement("span",{className:Wt.allqingchu,onClick:rl},Wn.createElement("i",{className:"iconfont icon-guanbi4"}),Wn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Wn.createElement(Fe.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Wn.createElement(Ue.default.Search,{className:Wt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Wn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Wt.searchIcon}`,onClick:()=>Tr.submit()}),onSearch:an=>{Tr.submit()}}))),Wn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Wn.createElement("div",{onClick:()=>{et.updated_at==="asc"?et.updated_at="desc":et.updated_at="asc",Ft(ll(xr({},et),{page:1})),ml(ll(xr({},et),{page:1}))}}," ",et.updated_at?Wn.createElement("img",{src:et.updated_at==="asc"?Ta.Z:Sa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Wn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Wn.createElement("div",{onClick:()=>{et.quotes==="asc"?et.quotes="desc":et.quotes="asc",Ft(ll(xr({},et),{page:1})),ml(ll(xr({},et),{page:1}))},style:{marginLeft:20}}," ",et.quotes?Wn.createElement("img",{src:et.quotes==="asc"?Ta.Z:Sa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Wn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Wn.createElement($u.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(xa==null?void 0:xa.items)||(xa==null?void 0:xa.shixun_list),pagination:!1,loading:Sn,rowKey:an=>an.id,rowSelection:{type:"checkbox",selectedRowKeys:[...en,...pl],getCheckboxProps:an=>({disabled:an.shixun_tag_num===1||(pl==null?void 0:pl.find(aa=>an.id===aa))}),onSelect(an,aa,Gr){if(console.log("---",Gr,aa,an),aa)($a||an!=null&&an.challenge_names)&&$o([...Zo,an.id]),jt([...en,an.id]),an.identifier?Fl.current.add(an.id):Ci.current.add(an.id),Nn(1),Xt([...Rt,an.id]);else{an.identifier?Fl.current.delete(an.id):Ci.current.delete(an.id);let Ar=Rt.filter(ao=>ao!==an.id);if(jt(Ar),Xt(Ar),$a||an!=null&&an.challenge_names){let ao=Zo.filter(Po=>Po!==an.id);$o([...ao])}if(et.type==="5"){di(ll(xr({},et),{list:[...Ar]}));return}}},onSelectAll(an,aa,Gr){var Ar,ao;if(console.log("----",Gr),an){const Po=Gr.map(Ao=>Ao.id),hl=(ao=Gr==null?void 0:Gr.filter(Ao=>Ao==null?void 0:Ao.challenge_names))==null?void 0:ao.map(Ao=>Ao.id);$o([...Zo,...hl]),jt([...en,...Po]),Xt([...Rt,...Po]);for(const Ao of Gr)Ao.identifier?Fl.current.add(Ao.id):Ci.current.add(Ao.id)}else{const Po=Gr.map(Ho=>Ho.id),hl=en.filter(Ho=>!Po.some(ci=>ci===Ho)),Ao=(Ar=Gr==null?void 0:Gr.filter(Ho=>Ho==null?void 0:Ho.challenge_names))==null?void 0:Ar.map(Ho=>Ho.id);jt([...hl]),Xt([...hl]);let Jl=Zo.filter(Ho=>!Ao.some(ci=>ci===Ho.id));$o([...Jl]),et.type==="5"&&di(ll(xr({},et),{list:[...hl]}));for(const Ho of Po)Ho.identifier?Fl.current.delete(Ho):Ci.current.delete(Ho)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(an,aa,Gr)=>{var Ar,ao;return Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("div",null,$a||aa!=null&&aa.challenge_names?"\u5B9E\u8BAD\u9898":(ao=(Ar=Ll==null?void 0:Ll.filter(Po=>Po.value===an))==null?void 0:Ar[0])==null?void 0:ao.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:$a?"30%":"60%",key:"name",render:(an,aa,Gr)=>{var Ar;return Wn.createElement("div",{style:{display:"flex",alignItems:"center"}},Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("span",null,Wn.createElement(yt.Z,{key:1,showLines:1,showTextOnly:!0,value:$a||aa!=null&&aa.challenge_names?aa!=null&&aa.title||an===null?"--":an:(aa==null?void 0:aa.item_type)=="BPROGRAM"?(Ar=aa==null?void 0:aa.program_attr)==null?void 0:Ar.description:an}))),(aa==null?void 0:aa.high_resources_consume)&&Wn.createElement(cr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!$a,render:(an,aa,Gr)=>{var Ar;return Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("span",null,an?(Ar=an==null?void 0:an.split("\u3001"))==null?void 0:Ar[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!$a,render:(an,aa,Gr)=>Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("span",null,an||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(an,aa,Gr)=>{var Ar,ao,Po,hl;return Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("div",null,$a||aa!=null&&aa.challenge_names?(aa==null?void 0:aa.level)||((ao=(Ar=Go==null?void 0:Go.filter(Ao=>Ao.value===an))==null?void 0:Ar[0])==null?void 0:ao.name):(hl=(Po=Go==null?void 0:Go.filter(Ao=>Ao.value===an))==null?void 0:Po[0])==null?void 0:hl.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!$a,render:(an,aa,Gr)=>Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("div",null,an||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(an,aa,Gr)=>Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("div",null,$a||aa!=null&&aa.challenge_names?(aa==null?void 0:aa.study_count)||(aa==null?void 0:aa.stu_num):an))},{title:Wn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Wn.createElement(qe.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Wn.createElement(En.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!$a,render:(an,aa,Gr)=>Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("div",null,an||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(an,aa,Gr)=>Wn.createElement(qe.Z,{title:io(aa)},Wn.createElement("div",{style:{flex:1,textAlign:"start"}},Wn.createElement("a",{onClick:()=>{var Ar,ao;qo(ll(xr({},aa),{question_type:$a||aa!=null&&aa.challenge_names?5:(ao=(Ar=Ll==null?void 0:Ll.filter(Po=>Po.value===(aa==null?void 0:aa.item_type)))==null?void 0:Ar[0])==null?void 0:ao.question_type})),Vr(!0)}},"\u67E5\u770B"),(aa==null?void 0:aa.shixun_tag_num)===1&&Wn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Wn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Wn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${aa==null?void 0:aa.identifier}/challenges`)}},(aa==null?void 0:aa.shixun_name)||"--"),"\uFF1F"),onOk:()=>nl(void 0,null,function*(){if(!Xi(aa==null?void 0:aa.identifier))return new Promise((Ar,ao)=>{ao()})})})}},"\u53D1\u5E03")))}].filter(an=>!an.hidden)}),Wn.createElement(Dt.Z,{current:et.page,total:(xa==null?void 0:xa.items_count)||(xa==null?void 0:xa.shixuns_count),style:{marginBottom:20},defaultPageSize:et.per_page,showTotal:an=>Wn.createElement("span",null,"\u5171\xA0",Wn.createElement("span",{style:{color:"#165DFF"}},an),"\xA0\u6761\u6570\u636E"),pageSize:et.per_page,onChange:(an,aa)=>{et.page=an,et.per_page=aa,Ft(xr({},et)),ml(xr({},et))}}),Wn.createElement("div",{className:Wt.bottom},Wn.createElement(Re.ZP,{className:Wt.no,onClick:()=>{se(!1)}},"\u53D6\u6D88"),Wn.createElement(Re.ZP,{loading:vt,style:{width:vt&&75},className:Wt.yes,onClick:()=>nl(void 0,null,function*(){if((Rt==null?void 0:Rt.length)<=0){Me.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let an=yield(0,Mo.Tr)({id:[...Rt==null?void 0:Rt.filter(aa=>Zo.includes(aa))],course_id:Vl.coursesId,type:"shixun"});(an==null?void 0:an.student_count)===0?Pe([...Ci.current],[...Rt==null?void 0:Rt.filter(aa=>Zo.includes(aa))],!0,Rt==null?void 0:Rt.length):ni(an)})},"\u786E\u8BA4"))),Wn.createElement(Ye.default,{open:sa,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Wt.previewModal,width:1e3,centered:!0,onCancel:()=>{Vr(!1)},onOk:()=>{Vr(!1)}},Wn.createElement(Ga,{qitem:gr})),Wn.createElement(no.Z,{resdata:Gl,type:"exercise",okloading:vt,oktext:(Gl==null?void 0:Gl.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:an=>nl(void 0,null,function*(){const aa=[],Gr=[];for(const Ar of Gl==null?void 0:Gl.can_copy_list)aa.push(Ar.id);Wi(),yield Pe([...Ci.current],[...Fl.current].filter(Ar=>!Gr.includes(Ar)),!0,Rt==null?void 0:Rt.length,aa)})}))};var Pl=(0,pe.connect)(({shixunsDetail:se,exercise:Se})=>({shixunsDetail:se,exercise:Se}))(kl),Hl=ae(92716),fo=ae(59301),Bl=Object.defineProperty,jl=Object.defineProperties,Xl=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,Jr=(se,Se,Pe)=>Se in se?Bl(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,jo=(se,Se)=>{for(var Pe in Se||(Se={}))mi.call(Se,Pe)&&Jr(se,Pe,Se[Pe]);if(Ol)for(var Pe of Ol(Se))bi.call(Se,Pe)&&Jr(se,Pe,Se[Pe]);return se},Xo=(se,Se)=>jl(se,Xl(Se)),zl=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())}),Al=({qitem:se,TagDiscipline:Se,exerciseitem:Pe,setisedit:lt,seveeditor:vt,deleteitem:zn,getTagData:pn,init:_t,showTip:ft=!1})=>{var $t;const[In]=Fe.default.useForm(),et=!0;return(0,y.useEffect)(()=>{var Ft,mn,Bn;In.setFieldsValue(Xo(jo({},se),{standard_answers:se.standard_answer,difficulty:(se==null?void 0:se.difficult)||2,item_banks_group_id:se.item_banks_group_id,hack:Xo(jo({},se),{time_limit:(se==null?void 0:se.time_limit)||3}),hack_codes:{language:(Ft=se==null?void 0:se.program_attr)==null?void 0:Ft.language,code:au.Base64.decode(((mn=se==null?void 0:se.program_attr)==null?void 0:mn.code)||"")},hack_sets:jo({},(Bn=se==null?void 0:se.hack_sets)==null?void 0:Bn[0]),repeat_answer:!se.repeat_answer}))},[se]),fo.createElement("div",null,fo.createElement(Fe.default,{form:In,colon:!1,onValuesChange:(Ft,mn)=>{var Bn,en,jt,Rt;if(Ft!=null&&Ft.standard_answers){let Xt=((Bn=In.getFieldValue("standard_answers"))==null?void 0:Bn.length)>0&&((jt=(en=In.getFieldValue("standard_answers"))==null?void 0:en.map(xa=>xa.score))==null?void 0:jt.filter(xa=>xa));(Xt==null?void 0:Xt.length)>0&&In.setFieldsValue({question_score:(Xt==null?void 0:Xt.length)>0&&((Rt=Xt.reduce((xa,yn)=>xa+yn))==null?void 0:Rt.toFixed(1))})}},onFinish:Ft=>{var mn;vt(Xo(jo(jo({},se),Ft),{item_type:se==null?void 0:se.question_type,standard_answers:(mn=Ft.standard_answers)==null?void 0:mn.map((Bn,en)=>Xo(jo({},Bn),{position:en+1})),hack_codes:Xo(jo({},Ft.hack_codes),{code:au.Base64.encode(Ft.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:Ft=>zl(void 0,null,function*(){var mn,Bn;Me.ZP.error(Ft.errorFields[0].errors[0]),In.scrollToField((Bn=(mn=Ft==null?void 0:Ft.errorFields)==null?void 0:mn[0])==null?void 0:Bn.name,{behavior:"smooth",block:"center"})})},fo.createElement("div",{style:{display:"flex",alignItems:"center"}},fo.createElement("div",{style:{flex:1}},fo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),fo.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),(($t=Pe==null?void 0:Pe.exercise)==null?void 0:$t.exercise_status)==1&&!(se!=null&&se.isadd)&&fo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{zn()}},fo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),fo.createElement(Re.ZP,{onClick:()=>{var Ft,mn,Bn,en;se.isadd?(lt(!1),_t()):(In.setFieldsValue(Xo(jo({},se),{standard_answers:se.standard_answer,difficulty:se.difficult,item_banks_group_id:se.item_banks_group_id,hack:Xo(jo({},se),{sub_discipline_id:(Ft=Pe==null?void 0:Pe.exercise)==null?void 0:Ft.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(mn=se==null?void 0:se.program_attr)==null?void 0:mn.language,code:au.Base64.decode((Bn=se==null?void 0:se.program_attr)==null?void 0:Bn.code)},hack_sets:jo({},(en=se==null?void 0:se.hack_sets)==null?void 0:en[0]),repeat_answer:!se.repeat_answer})),lt(!1))}},"\u53D6\u6D88"),fo.createElement(qe.Z,{overlayClassName:nt.shake,open:ft,placement:"bottom",color:"rgba(244,156,14,0.19)",title:fo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},fo.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},fo.createElement(Re.ZP,{className:"ml20",type:"primary",onClick:()=>{In.submit()}},"\u4FDD\u5B58"))),fo.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},fo.createElement(rn.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),fo.createElement(Hl.t,{form:In,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:et,hackidentifier:se==null?void 0:se.hack_identifier,answerKey:"standard_answers"}),fo.createElement(er,{getTagData:pn,qitem:se,exerciseitem:Pe,TagDiscipline:Se,form:In}))))},Zl=ae(74128),Zi=ae(55242),oi=ae(87513),li=ae(89392),du=ae(51686),pu=ae(41348),wn=ae(59301),$l=Object.defineProperty,hi=Object.defineProperties,Ei=Object.getOwnPropertyDescriptors,ru=Object.getOwnPropertySymbols,_i=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable,yl=(se,Se,Pe)=>Se in se?$l(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,dl=(se,Se)=>{for(var Pe in Se||(Se={}))_i.call(Se,Pe)&&yl(se,Pe,Se[Pe]);if(ru)for(var Pe of ru(Se))Si.call(Se,Pe)&&yl(se,Pe,Se[Pe]);return se},ei=(se,Se)=>hi(se,Ei(Se)),Wo=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())});const{confirm:fi}=Ye.default,Kl=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],Gi=({user:se,dispatch:Se,itemid:Pe,setisedits:lt,exercise:vt,setitemid:zn})=>{var pn,_t,ft,$t,In,et,Ft,mn,Bn,en,jt,Rt,Xt,xa,yn,Sn,Or,Tr,gr,qo,sa,Vr,$a,Fo,Zo,$o,ul;const[La,kr]=(0,y.useState)(),[Dl,al]=(0,y.useState)(!1),[Nn,pl]=(0,y.useState)(),[vi,Ll]=(0,y.useState)(),Gl=(0,y.useRef)(),ni=(0,y.useRef)(),[Fl,Ci]=(0,y.useState)(),[ai,Ai]=(0,y.useState)(!1),[Go,_l]=(0,y.useState)(!1),[si,cu]=(0,y.useState)(),[Xr,rl]=(0,y.useState)(!1),[ml,fl]=(0,y.useState)(!1),[pi,di]=(0,y.useState)(!1),[Vl,Ji]=(0,y.useState)(!1),[Wi,Mi]=(0,y.useState)(!1),[Rl,Xi]=(0,y.useState)(!1),io=(0,pe.useParams)(),[Ou,bu]=(0,y.useState)(!1),[Qi]=Fe.default.useForm(),[Zu,an]=(0,y.useState)(!1),[aa,Gr]=(0,y.useState)(!1),[Ar,ao]=(0,y.useState)(!1),[Po,hl]=(0,y.useState)(!1),Ao=(0,y.useRef)();(0,y.useEffect)(()=>{Pe&&Ho()},[Pe]),(0,y.useEffect)(()=>{lt(Go)},[Go]),(0,y.useEffect)(()=>{Nn!=null&&Nn.question_id&&(Ll(Nn==null?void 0:Nn.question_score),ni.current=Nn==null?void 0:Nn.question_id)},[Nn]);const Jl=ra=>Wo(void 0,null,function*(){let ir=yield Se({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:ra}});Se({type:"globalSetting/footerToggle",payload:!1}),cu(ir)});function Ho(){return Wo(this,null,function*(){var ra,ir,qr,bo,Bo,Zr;Ai(!0),al(!0);const lo=yield Se({type:"exercise/editExercise",payload:{categoryId:Pe}});Ai(!1),al(!1),kr(lo),Mi(!1),(ra=lo==null?void 0:lo.exercise)!=null&&ra.sub_discipline_id&&Jl((ir=lo==null?void 0:lo.exercise)==null?void 0:ir.sub_discipline_id),pl(ei(dl({},(Bo=(bo=(qr=lo==null?void 0:lo.exercise_question_types)==null?void 0:qr[0])==null?void 0:bo.items)==null?void 0:Bo[0]),{index:1})),Ci(ei(dl({},(Zr=lo==null?void 0:lo.exercise_question_types)==null?void 0:Zr[0]),{indexs:1}))})}function ci(ra,ir=!0){return Wo(this,null,function*(){var qr,bo,Bo,Zr;ir&&(Ai(!0),al(!0));const lo=yield Se({type:"exercise/editExercise",payload:{categoryId:Pe}});kr(lo);let Uo=[];(qr=lo==null?void 0:lo.exercise_question_types)==null||qr.map(Rr=>{var Ka;(Ka=Rr==null?void 0:Rr.items)==null||Ka.map((Pr,Oo)=>{Uo.push(ei(dl({},Pr),{index:Oo+1}))})});let ri=(bo=Uo.filter(Rr=>Rr.question_id===(ra==null?void 0:ra.id)))==null?void 0:bo[0],Su=(Zr=((Bo=lo==null?void 0:lo.exercise_question_types)==null?void 0:Bo.map((Rr,Ka)=>{if((ri==null?void 0:ri.question_type)===(Rr==null?void 0:Rr.question_type))return ei(dl({},Rr),{indexs:Ka+1})})).filter(Rr=>Rr))==null?void 0:Zr[0];Ci(dl({},Su)),pl(dl({},ri)),Ll(ri==null?void 0:ri.question_score),Ai(!1),al(!1),Mi(!1)})}function Eu(ra){return Wo(this,null,function*(){var ir;let qr=ei(dl({},ra),{repeat_answer:!ra.repeat_answer,difficulty:(ra==null?void 0:ra.difficulty)||2,item_type:ra.question_type,sub_discipline_id:((ir=ra==null?void 0:ra.sub_discipline_id)==null?void 0:ir[1])||"",tag_discipline_ids:[],hack:ei(dl({},ra==null?void 0:ra.hack),{difficult:(ra==null?void 0:ra.difficulty)||2}),hack_identifier:sessionStorage.projectFill});ra.tag_discipline_ids&&(qr.tag_discipline_ids=Array.isArray(ra.tag_discipline_ids)?ra.tag_discipline_ids:[ra.tag_discipline_ids]);let bo=Wi?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${ra==null?void 0:ra.question_id}.json`;if((ra==null?void 0:ra.is_my)===1){const Bo=fi({title:"\u63D0\u793A",content:wn.createElement("div",null,wn.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),wn.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{Bo.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Wo(this,null,function*(){qr.is_cover=1;let Zr=yield(0,te.ZP)(bo,{method:Wi?"post":"PUT",body:dl({},qr)});(Zr==null?void 0:Zr.status)===0&&(_l(!1),ci({id:(Zr==null?void 0:Zr.exercise_question_id)||(ra==null?void 0:ra.question_id)})),Bo.destroy()}),onCancel:()=>Wo(this,null,function*(){let Zr=yield(0,te.ZP)(bo,{method:Wi?"post":"PUT",body:dl({},qr)});(Zr==null?void 0:Zr.status)===0&&(_l(!1),ci({id:(Zr==null?void 0:Zr.exercise_question_id)||(ra==null?void 0:ra.question_id)})),Bo.destroy()})})}else{let Bo=yield(0,te.ZP)(bo,{method:Wi?"post":"PUT",body:dl({},qr)});(Bo==null?void 0:Bo.status)===0&&(_l(!1),ci({id:(Bo==null?void 0:Bo.exercise_question_id)||(ra==null?void 0:ra.question_id)}))}(0,pt.Vf)("#question-scroll-id")})}function ns(ra){return Wo(this,null,function*(){var ir,qr;al(!0);let bo=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:ra}});if(al(!1),(bo==null?void 0:bo.status)===0){const Bo=yield Se({type:"exercise/editExercise",payload:{categoryId:Pe}});kr(Bo),Mi(!1),(ir=Bo==null?void 0:Bo.exercise)!=null&&ir.sub_discipline_id&&Jl((qr=Bo==null?void 0:Bo.exercise)==null?void 0:qr.sub_discipline_id)}})}const fs=(ra,ir,qr)=>Wo(void 0,null,function*(){var bo;if(ra.length===0){Me.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),qr();return}const Bo={id:io==null?void 0:io.exerciseId,file:(bo=ra[0])==null?void 0:bo.file,sub_discipline_id:ir};ps(Bo,`${Zl.Z.API_SERVER}/api/courses/${io==null?void 0:io.coursesId}/exercises/import_exercise.json`,Zr=>{var lo;if((Zr==null?void 0:Zr.status)===0){const Uo={};(lo=Zr==null?void 0:Zr.fail)==null||lo.forEach(Ui=>{var Su;((Su=Object.keys(Uo))==null?void 0:Su.includes(Ui.message))?Uo[Ui.message]=Uo[Ui.message]+1:Uo[Ui.message]=1});let ri=`\u6210\u529F\u5BFC\u5165${Zr==null?void 0:Zr.success}\u6761`;Object.keys(Uo).forEach(Ui=>{ri=ri+`,${Ui}${Uo[Ui]}\u6761`}),Me.ZP.success(ri),rl(!1),Ho()}(Zr==null?void 0:Zr.status)===-1&&(Me.ZP.error(Zr==null?void 0:Zr.message),qr())})}),vs=(ra,ir)=>Wo(void 0,null,function*(){La.exercise_types.q_scores=Number(La.exercise_types.q_scores)+Number(ra)-Number(ir==null?void 0:ir.question_score);const qr=yield(0,oi.zR)({score:(0,li.round)(ra,1),question_id:ir==null?void 0:ir.question_id});if((qr==null?void 0:qr.status)===0){Me.ZP.success("\u4FEE\u6539\u6210\u529F"),ci({id:ni.current},!1);return}(qr==null?void 0:qr.status)===-1&&Ll(ir==null?void 0:ir.question_score)}),qi=()=>{hl(!0)};(0,y.useEffect)(()=>{if(Po){const ra=setTimeout(()=>{hl(!1)},2e3);return()=>clearTimeout(ra)}},[Po]);const ps=(ra,ir,qr,bo,Bo)=>{const Zr=new FormData;Object.keys(ra).forEach(Uo=>{Zr.append(Uo,ra[Uo])});const lo=new window.XMLHttpRequest;return lo.withCredentials=!0,lo.addEventListener("load",function(Uo){var ri;qr(JSON.parse((ri=Uo==null?void 0:Uo.target)==null?void 0:ri.response))},!1),lo.addEventListener("error",function(Uo){Bo&&Bo(Uo)},!1),lo.upload.onprogress=Uo=>{bo&&bo(Uo)},lo.open("POST",ir),lo.send(Zr),lo};function gu(){return Wo(this,null,function*(){Ye.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:nt.modalconfirm,onOk:()=>Wo(this,null,function*(){if(Nn.question_id){let ra=yield(0,te.ZP)(`/api/exercise_questions/${Nn.question_id}.json`,{method:"delete"});(ra==null?void 0:ra.status)===0&&(Ho(),_l(!1))}else pl({}),_l(!1),Ho()}),cancelText:"\u53D6\u6D88"})})}const Gu=ra=>Wo(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:dl({},ra)})}),{overflow:mu,handleMouseEnter:as,handleMouseLeave:hs}=(0,Zi.I)(),rs=(ra,ir)=>wn.createElement(Pt.default,null,wn.createElement(Pt.default.Item,{key:"0",onClick:()=>Hu(ra==null?void 0:ra.question_type)},wn.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),wn.createElement(Pt.default.Item,{key:"1",disabled:ir===0,onClick:()=>Wo(void 0,null,function*(){if(ir===0)return;if(Go){qi();return}let qr=(0,pt.rz)(La==null?void 0:La.exercise_question_types,ir,ir-1);yield ns(qr.map(bo=>bo.name))})},wn.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),wn.createElement(Pt.default.Item,{key:"2",disabled:ir===(La==null?void 0:La.exercise_question_types.length)-1,onClick:()=>Wo(void 0,null,function*(){if(ir===(La==null?void 0:La.exercise_question_types.length)-1)return;if(Go){qi();return}let qr=(0,pt.rz)(La==null?void 0:La.exercise_question_types,ir,ir+1);yield ns(qr.map(bo=>bo.name))})},wn.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),wn.createElement(Pt.default.Item,{key:"3",onClick:()=>{var qr;Qi.setFieldsValue({name:ra.name,item_type_en:(qr=Kl.find(bo=>bo.id==ra.question_type))==null?void 0:qr.nameType}),an(!0)}},wn.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Hu=ra=>{var ir,qr,bo,Bo,Zr,lo,Uo,ri,Ui,Su,Rr,Ka,Pr,Oo,El,Bu,Ri,Yi,lu,Cu,fu,xi,Fs,Ss;if(Go){qi();return}if(Mi(!0),ra===5){di(!0),Ji(!0);return}if(ra===6){let Os=(qr=(ir=vt==null?void 0:vt.editData)==null?void 0:ir.exercise)!=null&&qr.set_question_sub_discipline?`/problems/newcreate?express_id=${(bo=La==null?void 0:La.exercise)==null?void 0:bo.id}&callback_url=/classrooms/${io.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(Zr=(Bo=vt==null?void 0:vt.editData)==null?void 0:Bo.exercise)==null?void 0:Zr.discipline_id}&sub_discipline_id=${(Uo=(lo=vt==null?void 0:vt.editData)==null?void 0:lo.exercise)==null?void 0:Uo.sub_discipline_id}`:`/problems/newcreate?express_id=${(ri=La==null?void 0:La.exercise)==null?void 0:ri.id}&callback_url=/classrooms/${io.coursesId}/exercise/add/${Pe}?type=2`;pe.history.push(Os);return}_l(!0),pl(ra===2?{question_type:ra,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",question_title:"",tag_discipline_ids:[],discipline_id:(Su=(Ui=vt==null?void 0:vt.editData)==null?void 0:Ui.exercise)!=null&&Su.set_question_sub_discipline?(Ka=(Rr=vt==null?void 0:vt.editData)==null?void 0:Rr.exercise)==null?void 0:Ka.discipline_id:0,sub_discipline_id:(Oo=(Pr=vt==null?void 0:vt.editData)==null?void 0:Pr.exercise)!=null&&Oo.set_question_sub_discipline?(Bu=(El=vt==null?void 0:vt.editData)==null?void 0:El.exercise)==null?void 0:Bu.sub_discipline_id:0,analysis:""}:{question_type:ra,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Yi=(Ri=vt==null?void 0:vt.editData)==null?void 0:Ri.exercise)!=null&&Yi.set_question_sub_discipline?(Cu=(lu=vt==null?void 0:vt.editData)==null?void 0:lu.exercise)==null?void 0:Cu.discipline_id:0,sub_discipline_id:(xi=(fu=vt==null?void 0:vt.editData)==null?void 0:fu.exercise)!=null&&xi.set_question_sub_discipline?(Ss=(Fs=vt==null?void 0:vt.editData)==null?void 0:Fs.exercise)==null?void 0:Ss.sub_discipline_id:0,downcase:!0,no_space:!0})},Es=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{rl(!0)}},{key:2,label:wn.createElement("div",null,wn.createElement("img",{width:26,style:{position:"absolute",top:-2},src:pu.$}),wn.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(Go){qi();return}Gr(!0)}}];return console.log(Fl==null?void 0:Fl.question_type,Nn==null?void 0:Nn.question_type),wn.createElement("div",null,wn.createElement(sn.Z,{spinning:ai},wn.createElement("div",{className:nt.bg},((pn=La==null?void 0:La.exercise_types)==null?void 0:pn.q_counts)===0&&!Go&&wn.createElement(_n.Z,{styles:{marginTop:180},customText:wn.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",wn.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((_t=La==null?void 0:La.exercise_types)==null?void 0:_t.q_counts)>0||Go)&&wn.createElement("div",{style:{textAlign:"center"}},wn.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},wn.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},wn.createElement("div",{className:nt.left},wn.createElement("div",{className:nt.leftAction},((ft=La==null?void 0:La.exercise)==null?void 0:ft.exercise_status)===1&&wn.createElement(Re.ZP,{onClick:()=>{if(Go){qi();return}fl(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),wn.createElement("div",{className:nt.scrollWrapper,style:{overflow:mu},onMouseEnter:as,onMouseLeave:hs},($t=La==null?void 0:La.exercise_question_types)==null?void 0:$t.map((ra,ir)=>wn.createElement("div",{key:ir,className:"mb30"},wn.createElement("div",{className:nt.title},wn.createElement("div",{className:nt.titleleft},wn.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,pt.EM)(ir+1),"\u3001\u3010",ra.name,"\u3011"),wn.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",ra.count,"\u5C0F\u9898\uFF0C\u5171",ra.score,"\u5206\uFF09")),wn.createElement(Be.Z,{dropdownRender:()=>rs(ra,ir),placement:"bottomLeft"},wn.createElement("div",{className:nt.more_style},wn.createElement("i",{className:"iconfont icon-sandian font12"})))),wn.createElement(qa,{handleEditing:qi,isedit:Go,setBigqitem:Ci,bigitem:ei(dl({},ra),{indexs:ir+1}),setqitem:qr=>Wo(void 0,null,function*(){var bo;(bo=Gl.current)==null||bo.blur(),pl(qr)}),qitem:Nn,Itemid:Pe,getdata:ci,data:ra.items})))))),wn.createElement("div",{id:"question-scroll-id",style:{overflow:Go?"hidden":"auto"},className:nt.right},!(Nn!=null&&Nn.isadd)&&wn.createElement("div",{className:nt.title},!Go&&wn.createElement("div",{style:{flex:1}},wn.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(Fl==null?void 0:Fl.indexs)&&(0,pt.EM)(Fl==null?void 0:Fl.indexs),"\u3001\u3010",Fl==null?void 0:Fl.name,"\u3011"),wn.createElement(qe.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},wn.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var ra;Qi.setFieldsValue({name:Fl.name,item_type_en:(ra=Kl.find(ir=>ir.id==Fl.question_type))==null?void 0:ra.nameType}),an(!0)}})),wn.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",Fl==null?void 0:Fl.count,"\u5C0F\u9898\uFF0C\u5171",Fl==null?void 0:Fl.score,"\u5206\uFF09"),(Nn==null?void 0:Nn.question_type)===6&&wn.createElement("span",{onClick:()=>{Ye.default.destroyAll(),ao(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Nn==null?void 0:Nn.question_type)===5&&wn.createElement(Qe.default,{defaultChecked:(et=(In=vt==null?void 0:vt.editData)==null?void 0:In.exercise)==null?void 0:et.show_challenge_task_pass,onChange:ra=>Wo(void 0,null,function*(){let ir=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:ra.target.checked}});(ir==null?void 0:ir.status)===0&&(Me.ZP.info("\u8BBE\u7F6E\u6210\u529F"),ci({id:ni.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Nn==null?void 0:Nn.question_type)===6&&wn.createElement("span",{style:{marginLeft:20},onClick:()=>{var ra,ir,qr,bo;Ye.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:wn.createElement("div",null,(Nn==null?void 0:Nn.question_type)===6&&wn.createElement(Qe.default,{defaultChecked:(ir=(ra=vt==null?void 0:vt.editData)==null?void 0:ra.exercise)==null?void 0:ir.show_hack_sets,onChange:Bo=>Wo(void 0,null,function*(){let Zr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Bo.target.checked}});(Zr==null?void 0:Zr.status)===0&&(Me.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),ci({id:ni.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),wn.createElement("br",null),(Nn==null?void 0:Nn.question_type)===6&&wn.createElement(Qe.default,{defaultChecked:(bo=(qr=vt==null?void 0:vt.editData)==null?void 0:qr.exercise)==null?void 0:bo.show_hack_description,onChange:Bo=>Wo(void 0,null,function*(){let Zr=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:Bo.target.checked}});(Zr==null?void 0:Zr.status)===0&&(Me.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),ci({id:ni.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),wn.createElement("div",{style:{display:"flex",alignItems:"center"}},(Nn==null?void 0:Nn.question_type)===5&&!Go&&wn.createElement("a",{className:nt.shixun,href:`/shixuns/${Nn==null?void 0:Nn.shixun_identifier}/challenges?exercise=true`,target:"_blank"},wn.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Go&&((Ft=La==null?void 0:La.exercise)==null?void 0:Ft.exercise_status)==1&&[0,1,2,4,6].includes(Nn==null?void 0:Nn.question_type)&&wn.createElement(Fe.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},wn.createElement(we.Z,{precision:1,ref:Gl,onChange:ra=>Ll(ra),value:vi,onBlur:ra=>{vs(ra.target.value,Nn)}})),!Go&&((mn=La==null?void 0:La.exercise)==null?void 0:mn.exercise_status)==1&&wn.createElement(qe.Z,{title:"\u5220\u9664"},wn.createElement("i",{onClick:()=>{gu()},style:{marginRight:20},className:`${nt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(Nn==null?void 0:Nn.question_type)!==5&&!Go&&wn.createElement(wn.Fragment,null,(Nn==null?void 0:Nn.is_my)==1&&wn.createElement(qe.Z,{title:"\u67E5\u770B\u539F\u9898"},wn.createElement("i",{className:`${nt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(Nn==null?void 0:Nn.question_type)==6?window.open(`/problems/newedit/${Nn==null?void 0:Nn.item_bank_hack_identifier}`):(Nn==null?void 0:Nn.question_type)==8?window.open(`/problemset/edit/${Nn==null?void 0:Nn.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${Nn==null?void 0:Nn.item_bank_id}`)}})),wn.createElement(qe.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},wn.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Ao.current=[],Ye.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:wn.createElement("div",{className:`font14 ${nt.overflow}`,style:{maxHeight:500,overflow:"auto"}},wn.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),wn.createElement(sn.Z,{spinning:!1},wn.createElement(du.Z,{defaultValue:!0,value:Ao.current,onChange:ra=>Ao.current=ra}))),onOk:()=>Wo(void 0,null,function*(){var ra;(0,oi.$l)({id:Nn==null?void 0:Nn.question_id,group_id:((ra=Ao==null?void 0:Ao.current)==null?void 0:ra[0])||""}).then(ir=>{(ir==null?void 0:ir.status)==0&&(Me.ZP.success("\u52A0\u5165\u6210\u529F"),Ho())})})})}}))),!Go&&(((Bn=La==null?void 0:La.exercise)==null?void 0:Bn.exercise_status)==1||((en=La==null?void 0:La.exercise)==null?void 0:en.exercise_status)==2&&((Rt=(jt=se.userInfo)==null?void 0:jt.course)==null?void 0:Rt.course_role)!=15||((Xt=La==null?void 0:La.exercise)==null?void 0:Xt.exercise_status)==3&&((yn=(xa=se.userInfo)==null?void 0:xa.course)==null?void 0:yn.course_role)!=15||((Sn=La==null?void 0:La.exercise)==null?void 0:Sn.exercise_status)==4&&((Tr=(Or=se.userInfo)==null?void 0:Or.course)==null?void 0:Tr.course_role)!=15)&&wn.createElement(qe.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},wn.createElement("i",{onClick:()=>{(Nn==null?void 0:Nn.question_type)===6?pe.history.push(`/problems/newedit/${Nn==null?void 0:Nn.hack_identifier}?type=exercises&express_id=${io.exerciseId}&question_id=${Nn==null?void 0:Nn.question_id}&score=${Nn==null?void 0:Nn.question_score}&exercise=true&callback_url=/classrooms/${io.coursesId}/exercise/add/${Pe}?type=2`):_l(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!Go&&wn.createElement("div",null,wn.createElement("div",{className:nt.qcount},wn.createElement("span",{className:nt.score},Nn==null?void 0:Nn.question_score,"\u5206"),wn.createElement(yt.Z,{className:nt.qtitle,value:(Nn==null?void 0:Nn.index)+`\u3001${(Nn==null?void 0:Nn.question_type)==8?(gr=Nn==null?void 0:Nn.program_attr)==null?void 0:gr.description:Nn==null?void 0:Nn.question_title}`}),(Nn==null?void 0:Nn.high_resources_consume)&&wn.createElement(cr.Z,{type:"shixun",style:{marginLeft:10}})),(Nn==null?void 0:Nn.question_type)===6&&wn.createElement(Zt.Z,{onEdit:()=>ao(1),className:"mt10",dataSource:(Nn==null?void 0:Nn.languages)||[]}),wn.createElement(cs,{exercise:vt,TagDiscipline:si,qitem:Nn})),Go&&wn.createElement("div",null,(Nn==null?void 0:Nn.question_type)<=1&&wn.createElement(Yt,{deleteitem:gu,getTagData:Jl,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,init:Ho,showTip:Po}),(Nn==null?void 0:Nn.question_type)===5&&wn.createElement(qu,{setqitem:pl,deleteitem:gu,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,showTip:Po}),(Nn==null?void 0:Nn.question_type)===3&&wn.createElement(ba,{deleteitem:gu,getTagData:Jl,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,init:Ho,showTip:Po}),(Nn==null?void 0:Nn.question_type)===2&&wn.createElement(pr,{deleteitem:gu,getTagData:Jl,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,init:Ho,showTip:Po}),(Nn==null?void 0:Nn.question_type)===4&&wn.createElement(Nt,{deleteitem:gu,getTagData:Jl,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,init:Ho,showTip:Po}),(Nn==null?void 0:Nn.question_type)===7&&wn.createElement(_u,{deleteitem:gu,getTagData:Jl,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,init:Ho,showTip:Po}),(Nn==null?void 0:Nn.question_type)===8&&wn.createElement(Al,{deleteitem:gu,getTagData:Jl,seveeditor:Eu,exerciseitem:La,TagDiscipline:si,setisedit:_l,qitem:Nn,init:Ho,showTip:Po}))))))),wn.createElement("div",{className:nt.bottomdiv},wn.createElement("div",{className:nt.exercise_styles},((qo=La==null?void 0:La.exercise)==null?void 0:qo.exercise_status)==1&&wn.createElement(wn.Fragment,null,wn.createElement("span",{className:nt.spanBtn,onClick:()=>{if(Go){qi();return}di(!0),Ji(!1)}},"\u9898\u5E93\u9009\u9898"),wn.createElement(Be.Z,{menu:{items:Es}},wn.createElement("span",{className:nt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),wn.createElement("span",{className:nt.spanBtn,onClick:()=>Wo(void 0,null,function*(){var ra;let ir=yield(0,te.ZP)(`/api/exercises/${io==null?void 0:io.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:io==null?void 0:io.coursesId,categoryId:io==null?void 0:io.exerciseId}});(ir==null?void 0:ir.status)!=-1&&window.open(`/classrooms/${io==null?void 0:io.coursesId}/exercise/${io==null?void 0:io.exerciseId}/${(ra=se.userInfo)==null?void 0:ra.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),wn.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${io==null?void 0:io.coursesId}/exercise/${io==null?void 0:io.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Kl==null?void 0:Kl.map(ra=>wn.createElement(Re.ZP,{className:nt.addQuestionBtn,key:ra.id,type:"primary",onClick:()=>{Hu(ra.id)}},ra.name))),((sa=La==null?void 0:La.exercise)==null?void 0:sa.exercise_status)!=1&&wn.createElement(wn.Fragment,null,wn.createElement("span",{style:{width:"1022px"}})),wn.createElement("span",{className:nt.saveBtn,onClick:()=>Wo(void 0,null,function*(){var ra,ir,qr;if(Go){qi();return}const bo=Number(La.exercise_types.q_scores);[100,120,150].includes(bo)||(yield new Promise((lo,Uo)=>{Ye.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:wn.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",wn.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},bo),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>Wo(void 0,null,function*(){lo("")}),onCancel:()=>{Uo()}})}));let Bo=(ir=(ra=La==null?void 0:La.exercise_question_types)==null?void 0:ra.filter(lo=>lo.question_type===5)[0])==null?void 0:ir.items,Zr=0;Bo==null||Bo.map(lo=>{lo.high_resources_consume&&(Zr=Zr+1)}),console.log(Zr),Zr>0?Se({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Zr,fn:()=>{var lo;((lo=La==null?void 0:La.exercise)==null?void 0:lo.exercise_status)==1?(Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${io==null?void 0:io.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Xi(!1)):pe.history.back()}}}):((qr=La==null?void 0:La.exercise)==null?void 0:qr.exercise_status)==1?(Me.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${io==null?void 0:io.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Xi(!1)):pe.history.back()})},wn.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),wn.createElement(gn,{setScoreShow:fl,ScoreShow:ml,exerciseitem:La,getdata:Ho}),pi&&wn.createElement(Pl,{setScoreShow:di,isshixuns:Vl,isloadings:Ou,ScoreShow:pi,onOk:(ra,ir,qr,bo,Bo)=>Wo(void 0,null,function*(){bu(!0);let lo=yield Gu({exam_id:Pe,item_bank_ids:ra,shixun_ids:ir,shixun_copy_ids:Bo});bu(!1),(lo==null?void 0:lo.status)===0&&Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{Ho()},onCancel:()=>{di(!1),Ho()}})})}),wn.createElement(ku.Z,{sub_discipline_id:(Vr=La==null?void 0:La.exercise)!=null&&Vr.sub_discipline_id?[($a=La==null?void 0:La.exercise)==null?void 0:$a.discipline_id,(Fo=La==null?void 0:La.exercise)==null?void 0:Fo.sub_discipline_id]:[],visible:Xr,onCancel:()=>rl(!1),onOk:fs}),wn.createElement(Ye.default,{title:"\u63D0\u793A",open:Rl,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:wn.createElement("div",null,wn.createElement(Re.ZP,{onClick:()=>{Xi(!1),pe.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),wn.createElement(Re.ZP,{type:"primary",onClick:()=>{pe.history.push(`/classrooms/${io==null?void 0:io.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Xi(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Xi(!1)}},wn.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),wn.createElement(Ye.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:Zu,width:500,onOk:()=>Qi.submit(),onCancel:()=>an(!1)},wn.createElement(Fe.default,{form:Qi,initialValues:{},onFinish:ra=>Wo(void 0,null,function*(){(yield(0,oi.RK)(dl({id:Pe},ra))).status==0&&(Me.ZP.success("\u4FEE\u6539\u6210\u529F"),Ho(),an(!1))})},wn.createElement(Fe.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(ra,ir){var qr,bo,Bo,Zr;const lo=(qr=Kl==null?void 0:Kl.find(Uo=>Uo.nameType==Qi.getFieldValue("item_type_en")))==null?void 0:qr.id;return(Zr=(Bo=(bo=La==null?void 0:La.exercise_question_types)==null?void 0:bo.filter(Uo=>Uo.question_type!=lo))==null?void 0:Bo.map(Uo=>Uo==null?void 0:Uo.name))!=null&&Zr.includes(ir)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},wn.createElement(Ue.default,{size:"large",maxLength:10,showCount:!0})),wn.createElement(Fe.default.Item,{hidden:!0,name:"item_type_en"},wn.createElement(Ue.default,{size:"large"})))),wn.createElement(qt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:aa},wn.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),wn.createElement(pu.Z,{stickyTop:-24,subDisciplineId:(Zo=La==null?void 0:La.exercise)!=null&&Zo.sub_discipline_id?[($o=La==null?void 0:La.exercise)==null?void 0:$o.discipline_id,(ul=La==null?void 0:La.exercise)==null?void 0:ul.sub_discipline_id]:[],onCancel:()=>Gr(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Gr(!1),Ho()}}),wn.createElement("div",{style:{height:70}})),wn.createElement(Zt.Q,{visible:!!Ar,setVisible:ao,tip:Ar===2&&"\u8BBE\u7F6E\u5DF2\u6DFB\u52A0\u5728\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u6240\u5141\u8BB8\u4F7F\u7528\u7684\u7F16\u7A0B\u8BED\u8A00",dataSource:Ar===1?Nn==null?void 0:Nn.languages:[],onOk:ra=>Wo(void 0,null,function*(){const ir={languages:ra};Ar===1?ir.hack_id=Nn==null?void 0:Nn.hack_id:ir.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:ir})).status===0&&(Me.ZP.success("\u4FEE\u6539\u6210\u529F"),ci({id:ni.current}),ao(!1))})}))};var Ml=(0,pe.connect)(({user:se,exercise:Se,dispatch:Pe})=>({user:se,exercise:Se,dispatch:Pe}))(Gi),ti=ae(99462),ii=ae(56355),wl=ae(12586),ui=ae(87169),Ii=ae(24100),fa=ae(59301),Hi=Object.defineProperty,Bi=Object.defineProperties,Oi=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,hu=Object.prototype.propertyIsEnumerable,ou=(se,Se,Pe)=>Se in se?Hi(se,Se,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Se]=Pe,Sr=(se,Se)=>{for(var Pe in Se||(Se={}))Vi.call(Se,Pe)&&ou(se,Pe,Se[Pe]);if(zi)for(var Pe of zi(Se))hu.call(Se,Pe)&&ou(se,Pe,Se[Pe]);return se},za=(se,Se)=>Bi(se,Oi(Se)),oo=(se,Se)=>{var Pe={};for(var lt in se)Vi.call(se,lt)&&Se.indexOf(lt)<0&&(Pe[lt]=se[lt]);if(se!=null&&zi)for(var lt of zi(se))Se.indexOf(lt)<0&&hu.call(se,lt)&&(Pe[lt]=se[lt]);return Pe},il=(se,Se,Pe)=>new Promise((lt,vt)=>{var zn=ft=>{try{_t(Pe.next(ft))}catch($t){vt($t)}},pn=ft=>{try{_t(Pe.throw(ft))}catch($t){vt($t)}},_t=ft=>ft.done?lt(ft.value):Promise.resolve(ft.value).then(zn,pn);_t((Pe=Pe.apply(se,Se)).next())});const Pi=se=>{var Se=se,{classroomList:Pe,globalSetting:lt,problemset:vt,loading:zn,exercise:pn,user:_t,dispatch:ft}=Se,$t=oo(Se,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),In,et,Ft,mn,Bn,en,jt,Rt,Xt,xa,yn,Sn,Or,Tr;const gr=(0,pe.useParams)(),[qo,sa]=(0,y.useState)(!1),{userInfo:Vr}=_t,[$a]=Fe.default.useForm();let[Fo,Zo]=(0,y.useState)({});const[$o,ul]=(0,y.useState)(1),[La,kr]=(0,y.useState)(""),[Dl]=(0,pe.useSearchParams)(),[al,Nn]=(0,y.useState)(!1),[pl,vi]=(0,y.useState)(!1),[Ll,Gl]=(0,y.useState)(!1),[ni,Fl]=(0,y.useState)(""),[Ci,ai]=(0,y.useState)(!1),[Ai,Go]=(0,y.useState)(!1);(0,y.useEffect)(()=>{ft({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:gr==null?void 0:gr.coursesId}}),ft({type:"globalSetting/footerToggle",payload:!1}),$a.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,y.useEffect)(()=>{gr.exerciseId&&il(void 0,null,function*(){var Xr,rl,ml;const fl=yield ft({type:"exercise/editExercise",payload:{categoryId:gr.exerciseId}});(fl==null?void 0:fl.status)!==-1&&(((Xr=fl==null?void 0:fl.exercise)==null?void 0:Xr.exercise_status)===2||((rl=fl==null?void 0:fl.exercise)==null?void 0:rl.exercise_status)===3||((ml=fl==null?void 0:fl.exercise)==null?void 0:ml.exercise_status)===4?Gl(!0):Gl(!1))})},[gr]),(0,y.useEffect)(()=>{if(gr.exerciseId){let Xr=pn.editData.exercise;Go(Xr==null?void 0:Xr.set_question_sub_discipline),$a.setFieldsValue(za(Sr({},Xr),{courseid:Xr!=null&&Xr.sub_discipline_id?[Xr==null?void 0:Xr.discipline_id,Xr==null?void 0:Xr.sub_discipline_id]:[]}))}},[pn]),(0,y.useEffect)(()=>{Dl.get("type")==="2"&&(kr(gr.exerciseId),ul(2))},[Dl.get("type")]),(0,y.useEffect)(()=>{var Xr;let rl=(Xr=vt==null?void 0:vt.disciplinesData)==null?void 0:Xr.checked;rl!=null&&rl.sub_discipline_id&&$a.setFieldsValue({courseid:[rl==null?void 0:rl.discipline_id,rl==null?void 0:rl.sub_discipline_id]})},[(In=vt==null?void 0:vt.disciplinesData)==null?void 0:In.checked]);function _l(Xr,rl){return il(this,null,function*(){var ml,fl,pi,di;yield $a.validateFields();const Vl=$a.getFieldsValue(),{courseid:Ji}=Vl,[Wi,Mi]=Ji;Vl.sub_discipline_id=Mi,Vl.is_md=!0,Vl.time=parseInt(Vl.time)>9999?9999:Vl.time;const Rl=yield ft({type:"exercise/addExercise",payload:Sr(Sr({},Vl),gr)});Rl.status===0?(yield(0,te.ZP)(`/api/courses/${gr==null?void 0:gr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:gr==null?void 0:gr.coursesId,id:(ml=Rl==null?void 0:Rl.data)==null?void 0:ml.exercise_id,time:Xr}}),cu((fl=Rl.data)==null?void 0:fl.exercise_id),kr((pi=Rl==null?void 0:Rl.data)==null?void 0:pi.exercise_id),ul(2),Nn(!1),pe.history.replace(`/classrooms/${gr.coursesId}/exercise/add/${(di=Rl.data)==null?void 0:di.exercise_id}?type=2`)):Me.ZP.error(Rl.message),rl()})}function si(Xr){Zo(Sr({},Xr))}function cu(Xr){return il(this,null,function*(){if(!(Fo!=null&&Fo.ec_point_ids))return;const rl=Sr({},Fo);delete rl.id;let ml=yield(0,te.ZP)(`/api/ec_courses/${Fo==null?void 0:Fo.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:Sr({exercise_id:Xr},rl)})})}return fa.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},fa.createElement("section",{className:"edu-container"},fa.createElement("section",{className:"animated fadeIn"},fa.createElement("aside",{className:"mt10"},Vr&&fa.createElement(ke.Z,{separator:">"},fa.createElement(ke.Z.Item,null,fa.createElement(pe.Link,{to:`/classrooms/${gr.coursesId}/exercise`},(et=Vr==null?void 0:Vr.course)==null?void 0:et.course_name)),fa.createElement(ke.Z.Item,null,fa.createElement(pe.Link,{to:`/classrooms/${gr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),fa.createElement(ke.Z.Item,null,gr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),gr.exerciseId&&fa.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},fa.createElement(ui.Z,{style:{marginRight:5,color:"#E99237"}}),fa.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),fa.createElement("span",{className:Ze.addQuestionBtn,onClick:()=>{ft({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[gr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),fa.createElement(wl.Z,{haveInit:!0,init:()=>{Fl(new Date)}}),fa.createElement("div",{className:"bg-white"},fa.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},fa.createElement("div",{onClick:()=>{if(pl){Me.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}ul(1)},className:$o===1?Ze.selectdiv:Ze.divitem},fa.createElement(ti.Z,{number:1,active:$o===1,className:"mr10"}),fa.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),fa.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),fa.createElement("div",{onClick:()=>{if(!gr.exerciseId&&!La){Me.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}ul(2),!La&&kr(gr.exerciseId)},className:$o!==1?Ze.selectdiv:Ze.divitem},fa.createElement(ti.Z,{number:2,active:$o!==1,className:"mr10"}),fa.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),$o===2&&fa.createElement("div",{className:"tc"},fa.createElement(ii.Z,{defaultValue:(mn=(Ft=pn==null?void 0:pn.editData)==null?void 0:Ft.exercise)==null?void 0:mn.exercise_name,onFinish:Xr=>il(void 0,null,function*(){var rl,ml,fl,pi,di,Vl,Ji,Wi,Mi,Rl,Xi,io;return Xr.trim()===((ml=(rl=pn==null?void 0:pn.editData)==null?void 0:rl.exercise)==null?void 0:ml.exercise_name)?!0:(yield(0,oi.wy)({exercise_name:Xr,exercise_description:(pi=(fl=pn==null?void 0:pn.editData)==null?void 0:fl.exercise)==null?void 0:pi.exercise_description,sub_discipline_id:(Vl=(di=pn==null?void 0:pn.editData)==null?void 0:di.exercise)==null?void 0:Vl.sub_discipline_id,time:(Wi=(Ji=pn==null?void 0:pn.editData)==null?void 0:Ji.exercise)==null?void 0:Wi.time,exerciseId:(Rl=(Mi=pn.editData)==null?void 0:Mi.exercise)==null?void 0:Rl.id,difficulty:(io=(Xi=pn.editData)==null?void 0:Xi.exercise)==null?void 0:io.difficulty})).status===0?($a.setFieldValue("exercise_name",Xr),!0):!1})}),fa.createElement("div",{style:{fontSize:14}},fa.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",fa.createElement("span",{style:{color:"#000000",marginLeft:8}},((en=(Bn=pn==null?void 0:pn.editData)==null?void 0:Bn.exercise)==null?void 0:en.time)||"\u4E0D\u9650")),fa.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",fa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Rt=(jt=pn==null?void 0:pn.editData)==null?void 0:jt.exercise)==null?void 0:Rt.difficulty)===1?"\u7B80\u5355":((xa=(Xt=pn==null?void 0:pn.editData)==null?void 0:Xt.exercise)==null?void 0:xa.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),fa.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",fa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Sn=(yn=pn==null?void 0:pn.editData)==null?void 0:yn.exercise_types)==null?void 0:Sn.q_counts)||0)),fa.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",fa.createElement("span",{style:{color:"#000000",marginLeft:8}},(Tr=(Or=pn==null?void 0:pn.editData)==null?void 0:Or.exercise_types)==null?void 0:Tr.q_scores))))),$o===1&&fa.createElement("div",null,fa.createElement("section",{className:[Ze.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},fa.createElement(Fe.default,{form:$a,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Xr=>il(void 0,null,function*(){var rl,ml,fl,pi,di;if(sa(!0),Nn(!0),gr.exerciseId){Xr.exerciseId=(ml=(rl=pn.editData)==null?void 0:rl.exercise)==null?void 0:ml.id,Xr.sub_discipline_id=Xr.courseid[Xr.courseid.length-1],yield(0,oi.wy)(za(Sr({},Xr),{set_question_sub_discipline:Ai})),ul(2),cu(gr==null?void 0:gr.exerciseId),kr(gr.exerciseId),sa(!1),Nn(!1);return}const Vl=yield(0,te.ZP)(`/api/courses/${gr==null?void 0:gr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:gr==null?void 0:gr.coursesId}});if(Vl!=null&&Vl.alert)ft({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Ji}=Xr,[Wi,Mi]=Ji;Xr.sub_discipline_id=Mi,Xr.is_md=!0,Xr.time=parseInt(Xr.time)>9999?9999:Xr.time,Xr.set_question_sub_discipline=Ai;const Rl=yield ft({type:"exercise/addExercise",payload:za(Sr(Sr({},Xr),gr),{category_id:Dl.get("catalogue")||null})});Rl.status===0&&(cu((fl=Rl.data)==null?void 0:fl.exercise_id),pe.history.replace(`/classrooms/${gr.coursesId}/exercise/add/${(pi=Rl.data)==null?void 0:pi.exercise_id}?type=2`),kr((di=Rl==null?void 0:Rl.data)==null?void 0:di.exercise_id),ul(2)),Nn(!1)}sa(!1)}),className:Ze.formWrap},fa.createElement(Fe.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Ze.baseLineHeight,rules:[{required:!0,validator:(Xr,rl)=>{var ml;return((ml=rl==null?void 0:rl.replaceAll(" ",""))==null?void 0:ml.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},fa.createElement(Ue.default,{maxLength:60,className:Ze.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),fa.createElement(Fe.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Ze.baseLineHeight},fa.createElement(xe.Z,{disabled:Ll,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:vt.courseOptions,className:Ze.baseFormItem,size:"large",popupClassName:Ze.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),fa.createElement("div",{className:Ze.concat},fa.createElement("div",null,fa.createElement(Qe.default,{checked:Ai,onChange:Xr=>{Go(Xr.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),fa.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",fa.createElement("a",{onClick:()=>ai(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),fa.createElement(Fe.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Ze.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},fa.createElement(Ie.ZP.Group,{className:Ze.radiogroup,disabled:Ll},fa.createElement(Ie.ZP.Button,{className:Ze.easy,value:1},"\u7B80\u5355"),fa.createElement(Ie.ZP.Button,{className:Ze.medium,value:2},"\u9002\u4E2D"),fa.createElement(Ie.ZP.Button,{className:Ze.hard,value:3},"\u56F0\u96BE"))),fa.createElement(Fe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Ze.baseLineHeight},fa.createElement("div",{style:{display:"flex",width:"100%"}},fa.createElement(Fe.default.Item,{name:"time",noStyle:!0},fa.createElement(we.Z,{disabled:Ll,min:1,max:9999,className:Ze.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),fa.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),fa.createElement(Fe.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},fa.createElement(Ue.default.TextArea,{disabled:Ll,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),fa.createElement(hn,{exercise_id:gr==null?void 0:gr.exerciseId,setitem:si})),fa.createElement("div",{className:Ze.bottmodiv},fa.createElement(Re.ZP,{className:`${Ze.cancelBtn}`,type:"primary",onClick:()=>{pe.history.back()}},"\u53D6\u6D88"),fa.createElement(Re.ZP,{loading:al,onClick:()=>{$a.validateFields(),$a.submit()},type:"primary",className:`${Ze.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),fa.createElement(z,{setsubloading:Nn,onModalOk:_l})),$o===2&&fa.createElement("div",null,fa.createElement(Ml,{key:ni,setisedits:vi,setitemid:kr,itemid:La}))),fa.createElement(Ii.Z,{open:Ci,onCancel:()=>{ai(!1)}}))};var ju=(0,pe.connect)(({classroomList:se,loading:Se,user:Pe,problemset:lt,globalSetting:vt,exercise:zn})=>({classroomList:se,globalSetting:vt,problemset:lt,user:Pe,exercise:zn,loading:Se.effects}))(Pi)},36306:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ke}});var y=ae(78241),pe=ae(8591),Fe=ae(43418),Me=ae(71418),ke=ae(6848),Ue=ae(57809),xe=ae(5112),Qe=ae(92832),Ie=ae(1710),we=ae(59301),Re=ae(65582),Ze=ae(38147),Ye=ae(65862),ie={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=ae(41867),a=ae(96565),x=ae(6339),b=ae(59301),z=Object.defineProperty,te=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,be=(ze,Xe,Ce)=>Xe in ze?z(ze,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):ze[Xe]=Ce,We=(ze,Xe)=>{for(var Ce in Xe||(Xe={}))le.call(Xe,Ce)&&be(ze,Ce,Xe[Ce]);if(ue)for(var Ce of ue(Xe))Ee.call(Xe,Ce)&&be(ze,Ce,Xe[Ce]);return ze},De=(ze,Xe)=>te(ze,oe(Xe)),st=(ze,Xe,Ce)=>new Promise((ct,mt)=>{var Ct=un=>{try{fn(Ce.next(un))}catch(Vt){mt(Vt)}},Et=un=>{try{fn(Ce.throw(un))}catch(Vt){mt(Vt)}},fn=un=>un.done?ct(un.value):Promise.resolve(un.value).then(Ct,Et);fn((Ce=Ce.apply(ze,Xe)).next())});const Oe=({shixunHomeworks:ze,exercise:Xe,loading:Ce,dispatch:ct})=>{var mt,Ct,Et;const{commonHeader:fn}=Xe,[un,Vt]=(0,we.useState)([]),[ht,Te]=(0,we.useState)(De(We({},(0,Re.useParams)()),{page:1,limit:10})),[rt,It]=(0,we.useState)([]),[hn,Pt]=(0,we.useState)(""),[sn,Be]=(0,we.useState)(1),[qe]=y.default.useForm(),[qt,nt]=(0,we.useState)({}),[pt,_n]=(0,we.useState)(null),[Zt,At]=(0,we.useState)(!1),[yt,Gn]=(0,we.useState)([]),[Qn,Kt]=(0,we.useState)(null),[ta,Ba]=(0,we.useState)(0),[Un,On]=(0,we.useState)(0),[ya,Za]=(0,we.useState)(!1),Ya=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Ht,dn,Aa)=>(ht.page-1)*ht.limit+Aa+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Ht=>Ht||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Ht,dn)=>b.createElement("div",{className:ie.banding,title:Ht||"--"},Ht||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Ht,dn)=>Ht===0?b.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Ht===1?b.createElement("span",{style:{color:"#DF3042"}},!dn.is_make_up&&"\u8003\u8BD5\u4E2D",dn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Ht===2?b.createElement("span",{style:{color:"#5AB891"}},!dn.is_make_up&&!dn.is_force_commit&&"\u5DF2\u4EA4\u5377",dn.is_make_up&&!dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",dn.is_make_up&&dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!dn.is_make_up&&dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):b.createElement("span",{style:{color:"#5AB891"}},!dn.is_make_up&&!dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",dn.is_make_up&&!dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",dn.is_make_up&&dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!dn.is_make_up&&dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(fn==null?void 0:fn.exercise_type)==2&&!(0,E.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Ht,dn)=>dn.commit_status===0||dn.commit_status===1?"--":!dn.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Ht=typeof Ht=="number"?Number(Ht):Ht,console.log(typeof Ht),Ht||(Ht=0),Ht===100?b.createElement("span",{className:"c-green"},Ht):Ht>60?b.createElement("span",{className:"c-orange"},Ht):Ht==Un*.6?b.createElement("span",{className:"c-red"},Ht):b.createElement("span",null,Ht))}].filter(Ht=>!!Ht);(0,we.useEffect)(()=>{var Ht;((Ht=Xe.actionTabs)==null?void 0:Ht.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Gn([]),Kt(null),Ca(),qa(ht))},[(mt=Xe.actionTabs)==null?void 0:mt.key]);const Ca=()=>st(void 0,null,function*(){var Ht;if(!((Ht=Xe.actionTabs)!=null&&Ht.showSelectQuestion))return;const dn=yield(0,Ze.ZP)(`/api/exercises/${ht==null?void 0:ht.categoryId}/all_subj_questions.json`,{method:"get"});dn.status==0&&Gn(dn.data)}),rr=(Ht,dn)=>{ht.page=Ht,ht.limit=dn,Te(We({},ht)),qa(ht)},qa=Ht=>st(void 0,null,function*(){Za(!0);const dn=yield(0,Ze.ZP)(`/api/exercises/${ht.categoryId||(ht==null?void 0:ht.exerciseId)}/exercise_users.json`,{method:"get",params:Ht});dn.status==0&&(Ba(dn.data.total_count),Te(De(We({},ht),{total:dn.data.total_count})),Vt(dn.data.exercise_users),On(dn.data.total_score)),Za(!1)}),Fa=Ht=>{ht.search=Ht,ht.page=1,qe.resetFields(),nt({}),It([]),_n(null),Te(We({},ht)),qa(ht)},Va=Ht=>st(void 0,null,function*(){var dn,Aa;const er=We({},qt);if(!((dn=Ht==null?void 0:Ht.content)!=null&&dn.trim())){pe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}er.content=Ht==null?void 0:Ht.content,er.attachment_ids=(Aa=Ht==null?void 0:Ht.attachment_ids)==null?void 0:Aa.map(tr=>tr.response.id),va(er)}),va=Ht=>st(void 0,null,function*(){var dn;At(!0);const{showSelectQuestion:Aa,ai_review_settings:er}=Xe.actionTabs,tr=yield(0,Ze.ZP)(`/api/exercises/${(ht==null?void 0:ht.categoryId)||(ht==null?void 0:ht.exerciseId)}/test_ai_review.json`,{method:"post",body:De(We({},Ht),{exercise_question_id:Aa?Qn:(dn=Xe.actionTabs)==null?void 0:dn.questionId,ai_review_settings:er})});if([0,-3].includes(tr.status)){tr.status==0&&pe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),_n(tr);const _a=document.querySelector(".modal-ai-pfcs");if(_a){const ka=_a.querySelector(".ant-modal-body");ka&&(ka.scrollTop=ka.scrollHeight)}}At(!1)}),En=()=>{ct({type:"exercise/setActionTabs",payload:{key:""}}),Be(1),Qa()},Qa=()=>{qe.resetFields(),nt({}),It([]),Pt(""),_n(null)};return b.createElement(Fe.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:Zt,open:((Ct=Xe.actionTabs)==null?void 0:Ct.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>En(),okText:pt?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Ht;if((Ht=Xe.actionTabs)!=null&&Ht.showSelectQuestion&&!Qn)return pe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(sn==1){if(rt.length==0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");va({exercise_user_id:rt[0]})}else sn==2&&qe.submit()}},b.createElement(Me.Z,{spinning:Zt,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((Et=Xe.actionTabs)==null?void 0:Et.showSelectQuestion)&&b.createElement("div",{className:"flex item-center justify-between mb10"},b.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},b.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",b.createElement(ke.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},b.createElement("i",{className:`iconfont icon-tishixiaowenhao ${ie.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),b.createElement(Ue.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:Qn,onChange:Ht=>Kt(Ht)},yt==null?void 0:yt.map(Ht=>b.createElement(Ue.default.Option,{key:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.id},Ht==null?void 0:Ht.question_title)))),b.createElement("div",{className:ie.radio_con},b.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),b.createElement(xe.ZP.Group,{onChange:Ht=>{Ht.target.value==1&&rr(1,10),Be(Ht.target.value),Qa()},value:sn,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),sn==1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"flex justify-between item-center mb10"},b.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),b.createElement(Qe.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:hn,onChange:Ht=>Pt(Ht.target.value),onSearch:Fa})),b.createElement(Ie.default,{rowSelection:{type:"radio",selectedRowKeys:rt,onChange:(Ht,dn)=>{It(Ht)},getCheckboxProps:Ht=>({disabled:[0,1].includes(Ht==null?void 0:Ht.commit_status)})},loading:ya,rowKey:"exercise_user_id",dataSource:un||[],columns:Ya,pagination:{current:ht.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:ht.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:ta,size:"default",showTotal:Ye.rU,onChange:rr},onChange:(Ht,dn,Aa)=>{ht.page=1,Aa.order===void 0?(ht.order_type=null,ht.order=null):(ht.order_type=Aa.order==="descend"?"desc":"asc",ht.order=Aa.field),Te(We({},ht)),qa(ht)}})),sn==2&&b.createElement("div",{style:{marginTop:20}},b.createElement(y.default,{form:qe,className:ie.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(We({},qe.getFieldsValue()))},onFinish:Va},b.createElement(y.default.Item,{name:"content",label:"",style:{marginBottom:0}},b.createElement(a.Z,{watch:!0})))),pt&&b.createElement("div",{className:ie.result_con},b.createElement("div",{className:ie.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(pt==null?void 0:pt.status)==0&&b.createElement("div",{className:"p20"},b.createElement("div",{className:"mb5"},b.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),pt==null?void 0:pt.score),b.createElement("div",{className:"flex"},b.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),b.createElement(x.Z,{value:pt==null?void 0:pt.content,style:{fontSize:"14px"}}))),(pt==null?void 0:pt.status)==-3&&b.createElement("div",{className:"p20"},b.createElement(x.Z,{value:pt==null?void 0:pt.message,style:{fontSize:"14px"}})))))};var Ke=(0,Re.connect)(({shixunHomeworks:ze,exercise:Xe,loading:Ce,user:ct})=>({shixunHomeworks:ze,exercise:Xe,loading:Ce.effects,user:ct}))(Oe)},30440:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return E}});var y=ae(59301),pe=ae(8591),Fe=ae(43418),Me=ae(19842),ke=ae(54580),Ue=ae(3113),xe=ae(74128),Qe=ae(65862),Ie=ae(38147),we=ae(65582),Re={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},Ze=ae(59301),Ye=(a,x,b)=>new Promise((z,te)=>{var oe=Ee=>{try{le(b.next(Ee))}catch(be){te(be)}},ue=Ee=>{try{le(b.throw(Ee))}catch(be){te(be)}},le=Ee=>Ee.done?z(Ee.value):Promise.resolve(Ee.value).then(oe,ue);le((b=b.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:b,sub_discipline_id:z=[]})=>{const[te,oe]=(0,y.useState)([]),[ue,le]=(0,y.useState)(!1),Ee=(0,we.useParams)(),[be,We]=(0,y.useState)([]),[De,st]=(0,y.useState)([]);(0,y.useEffect)(()=>{a?Oe():(st([]),oe([]),le(!1))},[a]);const Oe=()=>Ye(void 0,null,function*(){const mt=yield(0,Ie.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});We(mt.disciplines||[]),st((z==null?void 0:z.length)>0?z:[])}),Ke=()=>{if((De==null?void 0:De.length)===0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",De),le(!0),x(te,De[1],()=>{le(!1)})},ze=()=>{b()},Xe=()=>{const mt=`${xe.Z.API_SERVER}/api/courses/${Ee.coursesId}/exercises/down_template`;(0,Qe.Nd)(null,mt)},Ce=mt=>{const Ct={name:mt.name,uid:mt.uid,file:mt};return oe([Ct]),!1},ct=()=>{oe([])};return Ze.createElement(Fe.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Ke,centered:!0,wrapClassName:Re.customModal,onCancel:ze,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Re.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ue},Ze.createElement("div",{className:Re.content},Ze.createElement("aside",null,Ze.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Ze.createElement("ul",null,Ze.createElement("li",null,Ze.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Ze.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:Xe},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Ze.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:Xe,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Ze.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Ze.createElement("li",{className:Re.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Ze.createElement("li",{className:Re.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Ze.createElement("li",{className:Re.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Ze.createElement("li",{className:Re.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Ze.createElement("aside",{style:{marginTop:22}},Ze.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Ze.createElement("ul",{style:{flex:1}},Ze.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&Ze.createElement(Ze.Fragment,null,Ze.createElement(Me.Z,{value:De,className:Re.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(mt,Ct)=>{st(mt||[])}}),Ze.createElement("br",null),Ze.createElement(ke.default,{action:`${xe.Z.API_SERVER}/api/attachments.json`,beforeUpload:Ce,onRemove:ct,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},Ze.createElement(Ue.ZP,{className:Re.upload,type:"primary",icon:Ze.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((mt,Ct)=>Ze.createElement("div",{key:Ct,className:Re.fileList},Ze.createElement("span",{className:Re.fileName},mt==null?void 0:mt.name),Ze.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ct})))))))}},12586:function(it,Tt,ae){"use strict";var y=ae(59301),pe=ae(43418),Fe=ae(38147),Me=ae(65582),ke=ae(59301),Ue=(Qe,Ie,we)=>new Promise((Re,Ze)=>{var Ye=a=>{try{E(we.next(a))}catch(x){Ze(x)}},ie=a=>{try{E(we.throw(a))}catch(x){Ze(x)}},E=a=>a.done?Re(a.value):Promise.resolve(a.value).then(Ye,ie);E((we=we.apply(Qe,Ie)).next())});const xe=({exercise:Qe,dispatch:Ie,init:we,haveInit:Re=!1})=>{const Ze=(0,Me.useParams)(),[Ye,ie]=(0,y.useState)(!1);let[E,a]=(0,y.useState)();const[x,b]=(0,y.useState)(!1),[z,te]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Qe.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&oe()},[Qe.actionTabs]);function oe(){return Ue(this,null,function*(){var ue,le;let Ee=yield(0,Fe.ZP)(`/api/courses/${Ze==null?void 0:Ze.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:Qe.actionTabs.selectArrs}});if(((ue=Ee==null?void 0:Ee.cover_exercises)==null?void 0:ue.length)>0)ie(!0),a((le=Ee==null?void 0:Ee.cover_exercises)==null?void 0:le[0]);else{let be=yield(0,Fe.ZP)(`/api/courses/${Ze==null?void 0:Ze.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Qe.actionTabs.selectArrs}});Ie({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(Re&&we(),pe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Me.history.push("/paperlibrary")}}))}})}return ke.createElement("div",null,ke.createElement(pe.default,{open:Ye,centered:!0,onCancel:ue=>Ue(void 0,null,function*(){if(ue.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){b(!0);let le=yield(0,Fe.ZP)(`/api/courses/${Ze==null?void 0:Ze.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Qe.actionTabs.selectArrs,update:1}});Ie({type:"exercise/setActionTabs",payload:{key:""}}),b(!1),(le==null?void 0:le.status)===0&&(Re&&we(),ie(!1),pe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Me.history.push("/paperlibrary")}}))}else ie(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>Ue(void 0,null,function*(){te(!0);let ue=yield(0,Fe.ZP)(`/api/courses/${Ze==null?void 0:Ze.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Qe.actionTabs.selectArrs}});te(!1),(ue==null?void 0:ue.status)===0&&(Re&&we(),Ie({type:"exercise/setActionTabs",payload:{key:""}}),ie(!1),pe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Me.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ke.createElement("div",null,ke.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ke.createElement("div",null,ke.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),ke.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ke.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};Tt.Z=(0,Me.connect)(({exercise:Qe})=>({exercise:Qe}))(xe)},10129:function(it,Tt,ae){"use strict";ae.d(Tt,{h:function(){return y}});var y=(pe=>(pe[pe.NOMATCH=-1]="NOMATCH",pe[pe.OK=0]="OK",pe[pe.TIMEOUT=2]="TIMEOUT",pe[pe.PODFAILURE=3]="PODFAILURE",pe[pe.COMPILEFAILURE=4]="COMPILEFAILURE",pe[pe.EXECUTEFAILURE=5]="EXECUTEFAILURE",pe[pe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",pe))(y||{})},67172:function(it,Tt,ae){"use strict";ae.d(Tt,{H7:function(){return E},MK:function(){return ie},MU:function(){return we},X6:function(){return Ze},bM:function(){return Ie},fi:function(){return a},fu:function(){return Qe},n4:function(){return x},rX:function(){return Ye},vl:function(){return b},zO:function(){return Re}});var y=ae(38147),pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(z,te,oe)=>te in z?pe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:oe}):z[te]=oe,xe=(z,te)=>{for(var oe in te||(te={}))Me.call(te,oe)&&Ue(z,oe,te[oe]);if(Fe)for(var oe of Fe(te))ke.call(te,oe)&&Ue(z,oe,te[oe]);return z};function Qe(z,te){return(0,y.U2)(`myproblems/${z}.json`,xe({hidePopLogin:!0},te||{}))}function Ie(z,te){return(0,y.v_)(`myproblems/${z}/code_submit.json`,te)}function we(z,te){return(0,y.v_)(`myproblems/${z}/code_debug.json`,te)}function Re(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,y.U2)(`myproblems/${z}/submit_records.json`,te)}function Ze(z){return(0,y.U2)("myproblems/record_detail.json",{id:z})}function Ye(z,te){return(0,y.U2)(`myproblems/${z}/result.json`,{mode:te})}function ie(z,te){return(0,y.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,y.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,y.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,y.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,y.v_)(`discusses/${z}/plus.json`,te)}},56355:function(it,Tt,ae){"use strict";var y=ae(59301),pe=ae(6848),Fe=ae(92832),Me=ae(8591),ke=ae(9809),Ue=ae(59301),xe=(Ie,we,Re)=>new Promise((Ze,Ye)=>{var ie=x=>{try{a(Re.next(x))}catch(b){Ye(b)}},E=x=>{try{a(Re.throw(x))}catch(b){Ye(b)}},a=x=>x.done?Ze(x.value):Promise.resolve(x.value).then(ie,E);a((Re=Re.apply(Ie,we)).next())});const Qe=({defaultValue:Ie,onFinish:we})=>{const[Re,Ze]=(0,y.useState)(!1),[Ye,ie]=(0,y.useState)(Ie);return(0,y.useEffect)(()=>{ie(Ie)},[Ie]),Ue.createElement("div",null,Re?Ue.createElement(Fe.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ye,onChange:E=>{ie(E.target.value)},onBlur:()=>xe(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield we(Ye))&&Ze(!1)}),onPressEnter:()=>xe(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield we(Ye))&&Ze(!1)})}):Ue.createElement("div",{className:ke.Z.title},Ye,Ue.createElement(pe.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Ue.createElement("i",{className:`${ke.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Ze(!0)}))))};Tt.Z=Qe},24100:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return we}});var y=ae(43418),pe={ul:"ul___TdfYY"},Fe=ae(32637),Me=ae(59301),ke=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Qe=(Re,Ze)=>{var Ye={};for(var ie in Re)Ue.call(Re,ie)&&Ze.indexOf(ie)<0&&(Ye[ie]=Re[ie]);if(Re!=null&&ke)for(var ie of ke(Re))Ze.indexOf(ie)<0&&xe.call(Re,ie)&&(Ye[ie]=Re[ie]);return Ye},we=Re=>{var Ze=Re,{open:Ye,onCancel:ie}=Ze,E=Qe(Ze,["open","onCancel"]);return Me.createElement(y.default,{centered:!0,open:Ye,title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:ie,footer:null},Me.createElement("div",null,Me.createElement("div",{className:"tc"},Me.createElement("img",{className:"mt10",src:Fe,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Me.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Me.createElement("ul",{className:pe.ul},Me.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Me.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Me.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},55242:function(it,Tt,ae){"use strict";ae.d(Tt,{I:function(){return pe}});var y=ae(59301);const pe=()=>{const[Fe,Me]=(0,y.useState)("hidden");return{overflow:Fe,handleMouseEnter:()=>Me("auto"),handleMouseLeave:()=>Me("hidden")}}},77578:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return y}});const y=pe=>pe?typeof pe=="function"?pe():pe:null},66104:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Xe}});var y=ae(92310),pe=ae.n(y),Fe=ae(11592),Me=ae(26112),ke=ae(59301),Ue=ae(92343),xe=ae(36355),Qe=ae(84105),Ie=ae(91857);const we=Ce=>{let{children:ct}=Ce;const{getPrefixCls:mt}=ke.useContext(xe.E_),Ct=mt("breadcrumb");return ke.createElement("li",{className:`${Ct}-separator`,"aria-hidden":"true"},ct===""?ct:ct||"/")};we.__ANT_BREADCRUMB_SEPARATOR=!0;var Re=we,Ze=function(Ce,ct){var mt={};for(var Ct in Ce)Object.prototype.hasOwnProperty.call(Ce,Ct)&&ct.indexOf(Ct)<0&&(mt[Ct]=Ce[Ct]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Ct=Object.getOwnPropertySymbols(Ce);Etct[Et]||Ct)}function ie(Ce,ct,mt,Ct){if(mt==null)return null;const{className:Et,onClick:fn}=ct,un=Ze(ct,["className","onClick"]),Vt=Object.assign(Object.assign({},(0,Me.Z)(un,{data:!0,aria:!0})),{onClick:fn});return Ct!==void 0?ke.createElement("a",Object.assign({},Vt,{className:pe()(`${Ce}-link`,Et),href:Ct}),mt):ke.createElement("span",Object.assign({},Vt,{className:pe()(`${Ce}-link`,Et)}),mt)}function E(Ce,ct){return(Ct,Et,fn,un,Vt)=>{if(ct)return ct(Ct,Et,fn,un);const ht=Ye(Ct,Et);return ie(Ce,Ct,ht,Vt)}}var a=function(Ce,ct){var mt={};for(var Ct in Ce)Object.prototype.hasOwnProperty.call(Ce,Ct)&&ct.indexOf(Ct)<0&&(mt[Ct]=Ce[Ct]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Ct=Object.getOwnPropertySymbols(Ce);Et{const{prefixCls:ct,separator:mt="/",children:Ct,menu:Et,overlay:fn,dropdownProps:un,href:Vt}=Ce,Te=(rt=>{if(Et||fn){const It=Object.assign({},un);if(Et){const hn=Et||{},{items:Pt}=hn,sn=a(hn,["items"]);It.menu=Object.assign(Object.assign({},sn),{items:Pt==null?void 0:Pt.map((Be,qe)=>{var{key:qt,title:nt,label:pt,path:_n}=Be,Zt=a(Be,["key","title","label","path"]);let At=pt!=null?pt:nt;return _n&&(At=ke.createElement("a",{href:`${Vt}${_n}`},At)),Object.assign(Object.assign({},Zt),{key:qt!=null?qt:qe,label:At})})})}else fn&&(It.overlay=fn);return ke.createElement(Ie.Z,Object.assign({placement:"bottom"},It),ke.createElement("span",{className:`${ct}-overlay-link`},rt,ke.createElement(Qe.Z,null)))}return rt})(Ct);return Te!=null?ke.createElement(ke.Fragment,null,ke.createElement("li",null,Te),mt&&ke.createElement(Re,null,mt)):null},b=Ce=>{const{prefixCls:ct,children:mt,href:Ct}=Ce,Et=a(Ce,["prefixCls","children","href"]),{getPrefixCls:fn}=ke.useContext(xe.E_),un=fn("breadcrumb",ct);return ke.createElement(x,Object.assign({},Et,{prefixCls:un}),ie(un,Et,mt,Ct))};b.__ANT_BREADCRUMB_ITEM=!0;var z=b,te=ae(17313),oe=ae(83116),ue=ae(37613);const le=Ce=>{const{componentCls:ct,iconCls:mt}=Ce;return{[ct]:Object.assign(Object.assign({},(0,te.Wf)(Ce)),{color:Ce.itemColor,fontSize:Ce.fontSize,[mt]:{fontSize:Ce.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ce.linkColor,transition:`color ${Ce.motionDurationMid}`,padding:`0 ${Ce.paddingXXS}px`,borderRadius:Ce.borderRadiusSM,height:Ce.lineHeight*Ce.fontSize,display:"inline-block",marginInline:-Ce.marginXXS,"&:hover":{color:Ce.linkHoverColor,backgroundColor:Ce.colorBgTextHover}},(0,te.Qy)(Ce)),"li:last-child":{color:Ce.lastItemColor},[`${ct}-separator`]:{marginInline:Ce.separatorMargin,color:Ce.separatorColor},[`${ct}-link`]:{[` > ${mt} + span, > ${mt} + a - `]:{marginInlineStart:Ae.marginXXS}},[`${gt}-overlay-link`]:{borderRadius:Ae.borderRadiusSM,height:Ae.lineHeight*Ae.fontSize,display:"inline-block",padding:`0 ${Ae.paddingXXS}px`,marginInline:-Ae.marginXXS,[`> ${mt}`]:{marginInlineStart:Ae.marginXXS,fontSize:Ae.fontSizeIcon},"&:hover":{color:Ae.linkHoverColor,backgroundColor:Ae.colorBgTextHover,a:{color:Ae.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ae.componentCls}-rtl`]:{direction:"rtl"}})}};var Ee=(0,oe.Z)("Breadcrumb",Ae=>{const gt=(0,ue.TS)(Ae,{});return[le(gt)]},Ae=>({itemColor:Ae.colorTextDescription,lastItemColor:Ae.colorText,iconFontSize:Ae.fontSize,linkColor:Ae.colorTextDescription,linkHoverColor:Ae.colorText,separatorColor:Ae.colorTextDescription,separatorMargin:Ae.marginXS})),Ce=function(Ae,gt){var mt={};for(var xt in Ae)Object.prototype.hasOwnProperty.call(Ae,xt)&>.indexOf(xt)<0&&(mt[xt]=Ae[xt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,xt=Object.getOwnPropertySymbols(Ae);Et{var{breadcrumbName:dn}=fn,Qt=Ce(fn,["breadcrumbName"]);return Object.assign(Object.assign({},Qt),{title:dn})})}),Et}function De(Ae,gt){return(0,ke.useMemo)(()=>Ae||(gt?gt.map(Qe):null),[Ae,gt])}var st=function(Ae,gt){var mt={};for(var xt in Ae)Object.prototype.hasOwnProperty.call(Ae,xt)&>.indexOf(xt)<0&&(mt[xt]=Ae[xt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,xt=Object.getOwnPropertySymbols(Ae);Et{if(gt===void 0)return gt;let mt=(gt||"").replace(/^\//,"");return Object.keys(Ae).forEach(xt=>{mt=mt.replace(`:${xt}`,Ae[xt])}),mt},Ke=Ae=>{const{prefixCls:gt,separator:mt="/",style:xt,className:Et,rootClassName:fn,routes:dn,items:Qt,children:rt,itemRender:Ie,params:at={}}=Ae,Tt=st(Ae,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Sn,direction:Ve,breadcrumb:Ut}=ke.useContext(xe.E_);let be;const tt=Sn("breadcrumb",gt),[Jt,nt]=Ee(tt),vt=De(Qt,dn),Nn=E(tt,Ie);if(vt&&vt.length>0){const Ft=[],it=Qt||dn;be=vt.map((In,Yt)=>{const{path:_n,key:Ea,type:Wn,menu:sn,overlay:Hn,onClick:Aa,className:za,separator:wa,dropdownProps:Ka}=In,Za=Re(at,_n);Za!==void 0&&Ft.push(Za);const La=Ea!=null?Ea:Yt;if(Wn==="separator")return ke.createElement(Me,{key:La},wa);const Ja={},Sa=Yt===vt.length-1;sn?Ja.menu=sn:Hn&&(Ja.overlay=Hn);let{href:hn}=In;return Ft.length&&Za!==void 0&&(hn=`#/${Ft.join("/")}`),ke.createElement(x,Object.assign({key:La},Ja,(0,Te.Z)(In,{data:!0,aria:!0}),{className:za,dropdownProps:Ka,href:hn,separator:Sa?"":mt,onClick:Aa,prefixCls:tt}),Nn(In,at,it,Ft,hn))})}else if(rt){const Ft=(0,Be.Z)(rt).length;be=(0,Be.Z)(rt).map((it,In)=>{if(!it)return it;const Yt=In===Ft-1;return(0,We.Tm)(it,{separator:Yt?"":mt,key:In})})}const bt=pe()(tt,Ut==null?void 0:Ut.className,{[`${tt}-rtl`]:Ve==="rtl"},Et,fn,nt),St=Object.assign(Object.assign({},Ut==null?void 0:Ut.style),xt);return Jt(ke.createElement("nav",Object.assign({className:bt,style:St},Tt),ke.createElement("ol",null,be)))};Ke.Item=z,Ke.Separator=Me;var ze=Ke,qe=ze},19842:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return Mn}});var y=ae(94480),pe=ae(59301),Be=ae(33853),Te=ae(58617),ke=ae(38819),We=ae(92310),xe=ae.n(We),Ye=ae(54476),Ne=ae(42978),we=ae(75931),Me=ae(77861),Ge=ae(17115),Je=ae(90782),ie=ae(6089),E=ae(18929),a=pe.createContext(null),x=a,b=ae(76190),z=ae(20068),te=ae(33885),oe="__rc_cascader_search_mark__",ue=function(kt,Nt,tn){var nn=tn.label;return Nt.some(function(Kn){return String(Kn[nn]).toLowerCase().includes(kt.toLowerCase())})},le=function(kt,Nt,tn,nn){return Nt.map(function(Kn){return Kn[nn.label]}).join(" / ")},Ee=function(Ze,kt,Nt,tn,nn,Kn){var Ln=nn.filter,$e=Ln===void 0?ue:Ln,ot=nn.render,_e=ot===void 0?le:ot,En=nn.limit,yn=En===void 0?50:En,Zn=nn.sort;return pe.useMemo(function(){var Ta=[];if(!Ze)return[];function Fa(sa,Ia){var ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;sa.forEach(function(Vt){if(!(!Zn&&yn!==!1&&yn>0&&Ta.length>=yn)){var _a=[].concat((0,y.Z)(Ia),[Vt]),vr=Vt[Nt.children],Yr=ma||Vt.disabled;if((!vr||vr.length===0||Kn)&&$e(Ze,_a,{label:Nt.label})){var jt;Ta.push((0,te.Z)((0,te.Z)({},Vt),{},(jt={disabled:Yr},(0,z.Z)(jt,Nt.label,_e(Ze,_a,tn,Nt)),(0,z.Z)(jt,oe,_a),(0,z.Z)(jt,Nt.children,void 0),jt)))}vr&&Fa(Vt[Nt.children],_a,Yr)}})}return Fa(kt,[]),Zn&&Ta.sort(function(sa,Ia){return Zn(sa[oe],Ia[oe],Ze,Nt)}),yn!==!1&&yn>0?Ta.slice(0,yn):Ta},[Ze,kt,Nt,tn,_e,Kn,$e,Zn,yn])},Ce="__RC_CASCADER_SPLIT__",Qe="SHOW_PARENT",De="SHOW_CHILD";function st(Ze){return Ze.join(Ce)}function Re(Ze){return Ze.map(st)}function Ke(Ze){return Ze.split(Ce)}function ze(Ze){var kt=Ze||{},Nt=kt.label,tn=kt.value,nn=kt.children,Kn=tn||"value";return{label:Nt||"label",value:Kn,key:Kn,children:nn||"children"}}function qe(Ze,kt){var Nt,tn;return(Nt=Ze.isLeaf)!==null&&Nt!==void 0?Nt:!((tn=Ze[kt.children])!==null&&tn!==void 0&&tn.length)}function Ae(Ze){var kt=Ze.parentElement;if(kt){var Nt=Ze.offsetTop-kt.offsetTop;Nt-kt.scrollTop<0?kt.scrollTo({top:Nt}):Nt+Ze.offsetHeight-kt.scrollTop>kt.offsetHeight&&kt.scrollTo({top:Nt+Ze.offsetHeight-kt.offsetHeight})}}function gt(Ze,kt){return Ze.map(function(Nt){var tn;return(tn=Nt[oe])===null||tn===void 0?void 0:tn.map(function(nn){return nn[kt.value]})})}function mt(Ze,kt,Nt){var tn=new Set(Ze),nn=kt();return Ze.filter(function(Kn){var Ln=nn[Kn],$e=Ln?Ln.parent:null,ot=Ln?Ln.children:null;return Ln&&Ln.node.disabled?!0:Nt===De?!(ot&&ot.some(function(_e){return _e.key&&tn.has(_e.key)})):!($e&&!$e.node.disabled&&tn.has($e.key))})}function xt(Ze,kt,Nt){for(var tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,nn=kt,Kn=[],Ln=function(){var _e,En,yn,Zn=Ze[$e],Ta=(_e=nn)===null||_e===void 0?void 0:_e.findIndex(function(sa){var Ia=sa[Nt.value];return tn?String(Ia)===String(Zn):Ia===Zn}),Fa=Ta!==-1?(En=nn)===null||En===void 0?void 0:En[Ta]:null;Kn.push({value:(yn=Fa==null?void 0:Fa[Nt.value])!==null&&yn!==void 0?yn:Zn,index:Ta,option:Fa}),nn=Fa==null?void 0:Fa[Nt.children]},$e=0;$e1){var gr=Fa.slice(0,-1);Vt(gr)}else _e(!1)},Yr=function(){var gr,At=((gr=Ia[sa])===null||gr===void 0?void 0:gr[Nt.children])||[],Bt=At.find(function(Qn){return!Qn.disabled});if(Bt){var fa=[].concat((0,y.Z)(Fa),[Bt[Nt.value]]);Vt(fa)}};pe.useImperativeHandle(Ze,function(){return{onKeyDown:function(gr){var At=gr.which;switch(At){case tt.Z.UP:case tt.Z.DOWN:{var Bt=0;At===tt.Z.UP?Bt=-1:At===tt.Z.DOWN&&(Bt=1),Bt!==0&&_a(Bt);break}case tt.Z.LEFT:{if(ot)break;yn?Yr():vr();break}case tt.Z.RIGHT:{if(ot)break;yn?vr():Yr();break}case tt.Z.BACKSPACE:{ot||vr();break}case tt.Z.ENTER:{if(Fa.length){var fa=Ia[sa],Qn=(fa==null?void 0:fa[oe])||[];Qn.length?Kn(Qn.map(function(Pa){return Pa[Nt.value]}),Qn[Qn.length-1]):Kn(Fa,Ia[sa])}break}case tt.Z.ESC:_e(!1),En&&gr.stopPropagation()}},onKeyUp:function(){}}})},nt=pe.forwardRef(function(Ze,kt){var Nt,tn,nn,Kn,Ln=(0,Me.lk)(),$e=Ln.prefixCls,ot=Ln.multiple,_e=Ln.searchValue,En=Ln.toggleOpen,yn=Ln.notFoundContent,Zn=Ln.direction,Ta=Ln.open,Fa=pe.useRef(),sa=Zn==="rtl",Ia=pe.useContext(x),ma=Ia.options,Vt=Ia.values,_a=Ia.halfValues,vr=Ia.fieldNames,Yr=Ia.changeOnSelect,jt=Ia.onSelect,gr=Ia.searchOptions,At=Ia.dropdownPrefixCls,Bt=Ia.loadData,fa=Ia.expandTrigger,Qn=At||$e,Pa=pe.useState([]),qa=(0,Ne.Z)(Pa,2),ka=qa[0],Ca=qa[1],na=function(Nr){if(!(!Bt||_e)){var uo=xt(Nr,ma,vr),to=uo.map(function(Cr){var Vr=Cr.option;return Vr}),Kr=to[to.length-1];if(Kr&&!qe(Kr,vr)){var So=st(Nr);Ca(function(Cr){return[].concat((0,y.Z)(Cr),[So])}),Bt(to)}}};pe.useEffect(function(){ka.length&&ka.forEach(function(Hr){var Nr=Ke(Hr),uo=xt(Nr,ma,vr,!0).map(function(Kr){var So=Kr.option;return So}),to=uo[uo.length-1];(!to||to[vr.children]||qe(to,vr))&&Ca(function(Kr){return Kr.filter(function(So){return So!==Hr})})})},[ma,ka,vr]);var wt=pe.useMemo(function(){return new Set(Re(Vt))},[Vt]),pr=pe.useMemo(function(){return new Set(Re(_a))},[_a]),Zr=be(),Gr=(0,Ne.Z)(Zr,2),hr=Gr[0],On=Gr[1],ha=function(Nr){On(Nr),na(Nr)},la=function(Nr){var uo=Nr.disabled,to=qe(Nr,vr);return!uo&&(to||Yr||ot)},Xn=function(Nr,uo){var to=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;jt(Nr),!ot&&(uo||Yr&&(fa==="hover"||to))&&En(!1)},Sr=pe.useMemo(function(){return _e?gr:ma},[_e,gr,ma]),xr=pe.useMemo(function(){for(var Hr=[{options:Sr}],Nr=Sr,uo=gt(Nr,vr),to=function(){var Vr=hr[Kr],Mo=Nr.find(function(ur,Qo){return(uo[Qo]?st(uo[Qo]):ur[vr.value])===Vr}),Do=Mo==null?void 0:Mo[vr.children];if(!(Do!=null&&Do.length))return"break";Nr=Do,Hr.push({options:Do})},Kr=0;Kr":ka,na=Ze.loadingIcon,wt=Ze.children,pr=Ze.dropdownMatchSelectWidth,Zr=pr===void 0?!1:pr,Gr=Ze.showCheckedStrategy,hr=Gr===void 0?Qe:Gr,On=(0,we.Z)(Ze,Ft),ha=(0,Ge.ZP)(Nt),la=!!yn,Xn=(0,E.Z)(Ln,{value:$e,postState:In}),Sr=(0,Ne.Z)(Xn,2),xr=Sr[0],Mr=Sr[1],Br=pe.useMemo(function(){return ze(Kn)},[JSON.stringify(Kn)]),dr=pe.useMemo(function(){return Vt||[]},[Vt]),Eo=dn(dr,Br),po=pe.useCallback(function(on){var _t=Eo();return on.map(function(wn){var Va=_t[wn].nodes;return Va.map(function(wr){return wr[Br.value]})})},[Eo,Br]),tl=(0,E.Z)("",{value:Fa,postState:function(_t){return _t||""}}),Hr=(0,Ne.Z)(tl,2),Nr=Hr[0],uo=Hr[1],to=function(_t,wn){uo(_t),wn.source!=="blur"&&sa&&sa(_t)},Kr=Ie(Ia),So=(0,Ne.Z)(Kr,2),Cr=So[0],Vr=So[1],Mo=Ee(Nr,dr,Br,_a||nn,Vr,ot),Do=Qt(dr,Br),ur=pe.useMemo(function(){var on=Do(xr),_t=(0,Ne.Z)(on,2),wn=_t[0],Va=_t[1];if(!la||!xr.length)return[wn,[],Va];var wr=Re(wn),no=Eo(),ho=(0,Je.S)(wr,!0,no),Go=ho.checkedKeys,Ho=ho.halfCheckedKeys;return[po(Go),po(Ho),Va]},[la,xr,Eo,po,Do]),Qo=(0,Ne.Z)(ur,3),Vo=Qo[0],Ko=Qo[1],Wr=Qo[2],Zo=pe.useMemo(function(){var on=Re(Vo),_t=mt(on,Eo,hr);return[].concat((0,y.Z)(Wr),(0,y.Z)(po(_t)))},[Vo,Eo,po,Wr,hr]),he=Et(Zo,dr,Br,la,En),Dt=(0,ie.Z)(function(on){if(Mr(on),_e){var _t=In(on),wn=_t.map(function(no){return xt(no,dr,Br).map(function(ho){return ho.option})}),Va=la?_t:_t[0],wr=la?wn:wn[0];_e(Va,wr)}}),$t=(0,ie.Z)(function(on){if((!la||Ta)&&uo(""),!la)Dt(on);else{var _t=st(on),wn=Re(Vo),Va=Re(Ko),wr=wn.includes(_t),no=Wr.some(function(so){return st(so)===_t}),ho=Vo,Go=Wr;if(no&&!wr)Go=Wr.filter(function(so){return st(so)!==_t});else{var Ho=wr?wn.filter(function(so){return so!==_t}):[].concat((0,y.Z)(wn),[_t]),fl=Eo(),Jo;if(wr){var vl=(0,Je.S)(Ho,{checked:!1,halfCheckedKeys:Va},fl);Jo=vl.checkedKeys}else{var hl=(0,Je.S)(Ho,!0,fl);Jo=hl.checkedKeys}var ti=mt(Jo,Eo,hr);ho=po(ti)}Dt([].concat((0,y.Z)(Go),(0,y.Z)(ho)))}}),pn=function(_t,wn){if(wn.type==="clear"){Dt([]);return}var Va=wn.values[0],wr=Va.valueCells;$t(wr)},Ct=jt!==void 0?jt:Yr,qn=At||gr,aa=Qn||fa,Pn=function(_t){Pa==null||Pa(_t),qa==null||qa(_t)},Tn=pe.useMemo(function(){return{options:dr,fieldNames:Br,values:Vo,halfValues:Ko,changeOnSelect:ot,onSelect:$t,checkable:yn,searchOptions:Mo,dropdownPrefixCls:_a,loadData:vr,expandTrigger:ma,expandIcon:Ca,loadingIcon:na,dropdownMenuColumnStyle:Bt}},[dr,Br,Vo,Ko,ot,$t,yn,Mo,_a,vr,ma,Ca,na,Bt]),ar=!(Nr?Mo:dr).length,Jn=Nr&&Vr.matchInputWidth||ar?{}:{minWidth:"auto"};return pe.createElement(x.Provider,{value:Tn},pe.createElement(Me.Ac,(0,Ye.Z)({},On,{ref:kt,id:ha,prefixCls:nn,autoClearSearchValue:Ta,dropdownMatchSelectWidth:Zr,dropdownStyle:Jn,displayValues:he,onDisplayValuesChange:pn,mode:la?"multiple":void 0,searchValue:Nr,onSearch:to,showSearch:Cr,OptionList:vt,emptyOptions:ar,open:Ct,dropdownClassName:qn,placement:aa,onDropdownVisibleChange:Pn,getRawInputElement:function(){return wt}})))});Yt.SHOW_PARENT=Qe,Yt.SHOW_CHILD=De;var _n=Yt,Ea=_n,Wn=ae(2738),sn=ae(62892),Hn=ae(53487),Aa=ae(19080),za=ae(36355),wa=ae(93891),Ka=ae(1684),Za=ae(19716),La=ae(32441),Ja=ae(14154),Sa=ae(58582),hn=ae(84443),ga=ae(66339),Mt=ae(33234),en=ae(98447),ya=ae(17313),lr=ae(74207),ir=ae(83116);const nr=Ze=>{const{prefixCls:kt,componentCls:Nt,antCls:tn}=Ze,nn=`${Nt}-menu-item`,Kn=` - &${nn}-expand ${nn}-expand-icon, - ${nn}-loading-icon - `;return[{[Nt]:{width:Ze.controlWidth}},{[`${Nt}-dropdown`]:[(0,en.C2)(`${kt}-checkbox`,Ze),{[`&${tn}-select-dropdown`]:{padding:0}},{[Nt]:{"&-checkbox":{top:0,marginInlineEnd:Ze.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Nt}-menu-empty`]:{[`${Nt}-menu`]:{width:"100%",height:"auto",[nn]:{color:Ze.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ze.controlItemWidth,height:Ze.dropdownHeight,margin:0,padding:Ze.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorSplit}`},"&-item":Object.assign(Object.assign({},ya.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ze.optionPadding,lineHeight:Ze.lineHeight,cursor:"pointer",transition:`all ${Ze.motionDurationMid}`,borderRadius:Ze.borderRadiusSM,"&:hover":{background:Ze.controlItemBgHover},"&-disabled":{color:Ze.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Kn]:{color:Ze.colorTextDisabled}},[`&-active:not(${nn}-disabled)`]:{"&, &:hover":{fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg}},"&-content":{flex:"auto"},[Kn]:{marginInlineStart:Ze.paddingXXS,color:Ze.colorTextDescription,fontSize:Ze.fontSizeIcon},"&-keyword":{color:Ze.colorHighlight}})}}}]},{[`${Nt}-dropdown-rtl`]:{direction:"rtl"}},(0,lr.c)(Ze)]};var Ga=(0,ir.Z)("Cascader",Ze=>[nr(Ze)],Ze=>{const kt=Math.round((Ze.controlHeight-Ze.fontSize*Ze.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ze.controlItemBgActive,optionSelectedFontWeight:Ze.fontWeightStrong,optionPadding:`${kt}px ${Ze.paddingSM}px`,menuPadding:Ze.paddingXXS}}),yr=function(Ze,kt){var Nt={};for(var tn in Ze)Object.prototype.hasOwnProperty.call(Ze,tn)&&kt.indexOf(tn)<0&&(Nt[tn]=Ze[tn]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,tn=Object.getOwnPropertySymbols(Ze);nnot===0?[$e]:[].concat((0,y.Z)(Ln),[kt,$e]),[]),nn=[];let Kn=0;return tn.forEach((Ln,$e)=>{const ot=Kn+Ln.length;let _e=Ze.slice(Kn,ot);Kn=ot,$e%2===1&&(_e=pe.createElement("span",{className:`${Nt}-menu-item-keyword`,key:`separator-${$e}`},_e)),nn.push(_e)}),nn}const It=(Ze,kt,Nt,tn)=>{const nn=[],Kn=Ze.toLowerCase();return kt.forEach((Ln,$e)=>{$e!==0&&nn.push(" / ");let ot=Ln[tn.label];const _e=typeof ot;(_e==="string"||_e==="number")&&(ot=Rr(String(ot),Kn,Nt)),nn.push(ot)}),nn},vn=pe.forwardRef((Ze,kt)=>{const{prefixCls:Nt,size:tn,disabled:nn,className:Kn,rootClassName:Ln,multiple:$e,bordered:ot=!0,transitionName:_e,choiceTransitionName:En="",popupClassName:yn,dropdownClassName:Zn,expandIcon:Ta,placement:Fa,showSearch:sa,allowClear:Ia=!0,notFoundContent:ma,direction:Vt,getPopupContainer:_a,status:vr,showArrow:Yr,builtinPlacements:jt,style:gr}=Ze,At=yr(Ze,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Bt=(0,Wn.Z)(At,["suffixIcon"]),{getPopupContainer:fa,getPrefixCls:Qn,renderEmpty:Pa,direction:qa,popupOverflow:ka,cascader:Ca}=pe.useContext(za.E_),na=Vt||qa,wt=na==="rtl",{status:pr,hasFeedback:Zr,isFormItemInput:Gr,feedbackIcon:hr}=pe.useContext(La.aM),On=(0,Aa.F)(pr,vr),ha=ma||(Pa==null?void 0:Pa("Cascader"))||pe.createElement(wa.Z,{componentName:"Cascader"}),la=Qn(),Xn=Qn("select",Nt),Sr=Qn("cascader",Nt),[xr,Mr]=(0,Ja.Z)(Xn),[Br]=Ga(Sr),{compactSize:dr,compactItemClassnames:Eo}=(0,Mt.ri)(Xn,Vt),po=xe()(yn||Zn,`${Sr}-dropdown`,{[`${Sr}-dropdown-rtl`]:na==="rtl"},Ln,Mr),tl=pe.useMemo(()=>{if(!sa)return sa;let Wr={render:It};return typeof sa=="object"&&(Wr=Object.assign(Object.assign({},Wr),sa)),Wr},[sa]),Hr=(0,Za.Z)(Wr=>{var Zo;return(Zo=tn!=null?tn:dr)!==null&&Zo!==void 0?Zo:Wr}),Nr=pe.useContext(Ka.Z),uo=nn!=null?nn:Nr;let to=Ta;Ta||(to=wt?pe.createElement(Be.Z,null):pe.createElement(ke.Z,null));const Kr=pe.createElement("span",{className:`${Xn}-menu-item-loading-icon`},pe.createElement(Te.Z,{spin:!0})),So=pe.useMemo(()=>$e?pe.createElement("span",{className:`${Sr}-checkbox-inner`}):!1,[$e]),Cr=(0,hn.Z)(Ze.suffixIcon,Yr),{suffixIcon:Vr,removeIcon:Mo,clearIcon:Do}=(0,ga.Z)(Object.assign(Object.assign({},Ze),{hasFeedback:Zr,feedbackIcon:hr,showSuffixIcon:Cr,multiple:$e,prefixCls:Xn,componentName:"Cascader"})),ur=pe.useMemo(()=>Fa!==void 0?Fa:wt?"bottomRight":"bottomLeft",[Fa,wt]),Qo=(0,Sa.Z)(jt,ka),Vo=Ia===!0?{clearIcon:Do}:Ia,Ko=pe.createElement(Ea,Object.assign({prefixCls:Xn,className:xe()(!Nt&&Sr,{[`${Xn}-lg`]:Hr==="large",[`${Xn}-sm`]:Hr==="small",[`${Xn}-rtl`]:wt,[`${Xn}-borderless`]:!ot,[`${Xn}-in-form-item`]:Gr},(0,Aa.Z)(Xn,On,Zr),Eo,Ca==null?void 0:Ca.className,Kn,Ln,Mr),disabled:uo,style:Object.assign(Object.assign({},Ca==null?void 0:Ca.style),gr)},Bt,{builtinPlacements:Qo,direction:na,placement:ur,notFoundContent:ha,allowClear:Vo,showSearch:tl,expandIcon:to,suffixIcon:Vr,removeIcon:Mo,loadingIcon:Kr,checkable:So,dropdownClassName:po,dropdownPrefixCls:Nt||Sr,choiceTransitionName:(0,sn.m)(la,"",En),transitionName:(0,sn.m)(la,"slide-up",_e),getPopupContainer:_a||fa,ref:kt}));return Br(xr(Ko))}),ua=(0,Hn.Z)(vn);vn.SHOW_PARENT=Oa,vn.SHOW_CHILD=ia,vn._InternalPanelDoNotUseOrYouWillBeFired=ua;var Mn=vn},36381:function(ut,Gt,ae){"use strict";ae.d(Gt,{default:function(){return Jt}});var y=ae(38819),pe=ae(92310),Be=ae.n(pe),Te=ae(54476),ke=ae(94480),We=ae(42978),xe=ae(76190),Ye=ae(18929),Ne=ae(48736),we=ae(59301),Me=ae(75931),Ge=ae(11592),Je=ae(20068),ie=ae(77900),E=ae(10228),a=we.forwardRef(function(nt,vt){var Nn=nt.prefixCls,bt=nt.forceRender,St=nt.className,Ft=nt.style,it=nt.children,In=nt.isActive,Yt=nt.role,_n=we.useState(In||bt),Ea=(0,We.Z)(_n,2),Wn=Ea[0],sn=Ea[1];return we.useEffect(function(){(bt||In)&&sn(!0)},[bt,In]),Wn?we.createElement("div",{ref:vt,className:Be()("".concat(Nn,"-content"),(0,Je.Z)((0,Je.Z)({},"".concat(Nn,"-content-active"),In),"".concat(Nn,"-content-inactive"),!In),St),style:Ft,role:Yt},we.createElement("div",{className:"".concat(Nn,"-content-box")},it)):null});a.displayName="PanelContent";var x=a,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=we.forwardRef(function(nt,vt){var Nn=nt.showArrow,bt=Nn===void 0?!0:Nn,St=nt.headerClass,Ft=nt.isActive,it=nt.onItemClick,In=nt.forceRender,Yt=nt.className,_n=nt.prefixCls,Ea=nt.collapsible,Wn=nt.accordion,sn=nt.panelKey,Hn=nt.extra,Aa=nt.header,za=nt.expandIcon,wa=nt.openMotion,Ka=nt.destroyInactivePanel,Za=nt.children,La=(0,Me.Z)(nt,b),Ja=Ea==="disabled",Sa=Ea==="header",hn=Ea==="icon",ga=Hn!=null&&typeof Hn!="boolean",Mt=function(){it==null||it(sn)},en=function(yr){(yr.key==="Enter"||yr.keyCode===E.Z.ENTER||yr.which===E.Z.ENTER)&&Mt()},ya=typeof za=="function"?za(nt):we.createElement("i",{className:"arrow"});ya&&(ya=we.createElement("div",{className:"".concat(_n,"-expand-icon"),onClick:["header","icon"].includes(Ea)?Mt:void 0},ya));var lr=Be()((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(_n,"-item"),!0),"".concat(_n,"-item-active"),Ft),"".concat(_n,"-item-disabled"),Ja),Yt),ir=Be()(St,(0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(_n,"-header"),!0),"".concat(_n,"-header-collapsible-only"),Sa),"".concat(_n,"-icon-collapsible-only"),hn)),nr={className:ir,"aria-expanded":Ft,"aria-disabled":Ja,onKeyDown:en};return!Sa&&!hn&&(nr.onClick=Mt,nr.role=Wn?"tab":"button",nr.tabIndex=Ja?-1:0),we.createElement("div",(0,Te.Z)({},La,{ref:vt,className:lr}),we.createElement("div",nr,bt&&ya,we.createElement("span",{className:"".concat(_n,"-header-text"),onClick:Ea==="header"?Mt:void 0},Aa),ga&&we.createElement("div",{className:"".concat(_n,"-extra")},Hn)),we.createElement(ie.default,(0,Te.Z)({visible:Ft,leavedClassName:"".concat(_n,"-content-hidden")},wa,{forceRender:In,removeOnLeave:Ka}),function(Ga,yr){var ia=Ga.className,Oa=Ga.style;return we.createElement(x,{ref:yr,prefixCls:_n,className:ia,style:Oa,isActive:Ft,forceRender:In,role:Wn?"tabpanel":void 0},Za)}))}),te=z,oe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ue=function(vt,Nn){var bt=Nn.prefixCls,St=Nn.accordion,Ft=Nn.collapsible,it=Nn.destroyInactivePanel,In=Nn.onItemClick,Yt=Nn.activeKey,_n=Nn.openMotion,Ea=Nn.expandIcon;return vt.map(function(Wn,sn){var Hn=Wn.children,Aa=Wn.label,za=Wn.key,wa=Wn.collapsible,Ka=Wn.onItemClick,Za=Wn.destroyInactivePanel,La=(0,Me.Z)(Wn,oe),Ja=String(za!=null?za:sn),Sa=wa!=null?wa:Ft,hn=Za!=null?Za:it,ga=function(ya){Sa!=="disabled"&&(In(ya),Ka==null||Ka(ya))},Mt=!1;return St?Mt=Yt[0]===Ja:Mt=Yt.indexOf(Ja)>-1,we.createElement(te,(0,Te.Z)({},La,{prefixCls:bt,key:Ja,panelKey:Ja,isActive:Mt,accordion:St,openMotion:_n,expandIcon:Ea,header:Aa,collapsible:Sa,onItemClick:ga,destroyInactivePanel:hn}),Hn)})},le=function(vt,Nn,bt){if(!vt)return null;var St=bt.prefixCls,Ft=bt.accordion,it=bt.collapsible,In=bt.destroyInactivePanel,Yt=bt.onItemClick,_n=bt.activeKey,Ea=bt.openMotion,Wn=bt.expandIcon,sn=vt.key||String(Nn),Hn=vt.props,Aa=Hn.header,za=Hn.headerClass,wa=Hn.destroyInactivePanel,Ka=Hn.collapsible,Za=Hn.onItemClick,La=!1;Ft?La=_n[0]===sn:La=_n.indexOf(sn)>-1;var Ja=Ka!=null?Ka:it,Sa=function(Mt){Ja!=="disabled"&&(Yt(Mt),Za==null||Za(Mt))},hn={key:sn,panelKey:sn,header:Aa,headerClass:za,isActive:La,prefixCls:St,destroyInactivePanel:wa!=null?wa:In,openMotion:Ea,accordion:Ft,children:vt.props.children,onItemClick:Sa,expandIcon:Wn,collapsible:Ja};return typeof vt.type=="string"?vt:(Object.keys(hn).forEach(function(ga){typeof hn[ga]=="undefined"&&delete hn[ga]}),we.cloneElement(vt,hn))};function Ee(nt,vt,Nn){return Array.isArray(nt)?ue(nt,Nn):(0,Ge.Z)(vt).map(function(bt,St){return le(bt,St,Nn)})}var Ce=Ee,Qe=ae(26112);function De(nt){var vt=nt;if(!Array.isArray(vt)){var Nn=(0,xe.Z)(vt);vt=Nn==="number"||Nn==="string"?[vt]:[]}return vt.map(function(bt){return String(bt)})}var st=we.forwardRef(function(nt,vt){var Nn=nt.prefixCls,bt=Nn===void 0?"rc-collapse":Nn,St=nt.destroyInactivePanel,Ft=St===void 0?!1:St,it=nt.style,In=nt.accordion,Yt=nt.className,_n=nt.children,Ea=nt.collapsible,Wn=nt.openMotion,sn=nt.expandIcon,Hn=nt.activeKey,Aa=nt.defaultActiveKey,za=nt.onChange,wa=nt.items,Ka=Be()(bt,Yt),Za=(0,Ye.Z)([],{value:Hn,onChange:function(en){return za==null?void 0:za(en)},defaultValue:Aa,postState:De}),La=(0,We.Z)(Za,2),Ja=La[0],Sa=La[1],hn=function(en){return Sa(function(){if(In)return Ja[0]===en?[]:[en];var ya=Ja.indexOf(en),lr=ya>-1;return lr?Ja.filter(function(ir){return ir!==en}):[].concat((0,ke.Z)(Ja),[en])})};(0,Ne.ZP)(!_n,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var ga=Ce(wa,_n,{prefixCls:bt,accordion:In,openMotion:Wn,expandIcon:sn,collapsible:Ea,destroyInactivePanel:Ft,onItemClick:hn,activeKey:Ja});return we.createElement("div",(0,Te.Z)({ref:vt,className:Ka,style:it,role:In?"tablist":void 0},(0,Qe.Z)(nt,{aria:!0,data:!0})),ga)}),Re=Object.assign(st,{Panel:te}),Ke=Re,ze=Re.Panel,qe=ae(2738),Ae=ae(62892),gt=ae(92343),mt=ae(36355),xt=ae(19716),fn=we.forwardRef((nt,vt)=>{const{getPrefixCls:Nn}=we.useContext(mt.E_),{prefixCls:bt,className:St,showArrow:Ft=!0}=nt,it=Nn("collapse",bt),In=Be()({[`${it}-no-arrow`]:!Ft},St);return we.createElement(Ke.Panel,Object.assign({ref:vt},nt,{prefixCls:it,className:In}))}),dn=ae(17313),Qt=ae(8378),rt=ae(83116),Ie=ae(37613);const at=nt=>{const{componentCls:vt,contentBg:Nn,padding:bt,headerBg:St,headerPadding:Ft,collapseHeaderPaddingSM:it,collapseHeaderPaddingLG:In,collapsePanelBorderRadius:Yt,lineWidth:_n,lineType:Ea,colorBorder:Wn,colorText:sn,colorTextHeading:Hn,colorTextDisabled:Aa,fontSize:za,fontSizeLG:wa,lineHeight:Ka,marginSM:Za,paddingSM:La,paddingLG:Ja,paddingXS:Sa,motionDurationSlow:hn,fontSizeIcon:ga,contentPadding:Mt}=nt,en=`${_n}px ${Ea} ${Wn}`;return{[vt]:Object.assign(Object.assign({},(0,dn.Wf)(nt)),{backgroundColor:St,border:en,borderBottom:0,borderRadius:`${Yt}px`,"&-rtl":{direction:"rtl"},[`& > ${vt}-item`]:{borderBottom:en,"&:last-child":{[` + `]:{marginInlineStart:Ce.marginXXS}},[`${ct}-overlay-link`]:{borderRadius:Ce.borderRadiusSM,height:Ce.lineHeight*Ce.fontSize,display:"inline-block",padding:`0 ${Ce.paddingXXS}px`,marginInline:-Ce.marginXXS,[`> ${mt}`]:{marginInlineStart:Ce.marginXXS,fontSize:Ce.fontSizeIcon},"&:hover":{color:Ce.linkHoverColor,backgroundColor:Ce.colorBgTextHover,a:{color:Ce.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ce.componentCls}-rtl`]:{direction:"rtl"}})}};var Ee=(0,oe.Z)("Breadcrumb",Ce=>{const ct=(0,ue.TS)(Ce,{});return[le(ct)]},Ce=>({itemColor:Ce.colorTextDescription,lastItemColor:Ce.colorText,iconFontSize:Ce.fontSize,linkColor:Ce.colorTextDescription,linkHoverColor:Ce.colorText,separatorColor:Ce.colorTextDescription,separatorMargin:Ce.marginXS})),be=function(Ce,ct){var mt={};for(var Ct in Ce)Object.prototype.hasOwnProperty.call(Ce,Ct)&&ct.indexOf(Ct)<0&&(mt[Ct]=Ce[Ct]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Ct=Object.getOwnPropertySymbols(Ce);Et{var{breadcrumbName:un}=fn,Vt=be(fn,["breadcrumbName"]);return Object.assign(Object.assign({},Vt),{title:un})})}),Et}function De(Ce,ct){return(0,ke.useMemo)(()=>Ce||(ct?ct.map(We):null),[Ce,ct])}var st=function(Ce,ct){var mt={};for(var Ct in Ce)Object.prototype.hasOwnProperty.call(Ce,Ct)&&ct.indexOf(Ct)<0&&(mt[Ct]=Ce[Ct]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Ct=Object.getOwnPropertySymbols(Ce);Et{if(ct===void 0)return ct;let mt=(ct||"").replace(/^\//,"");return Object.keys(Ce).forEach(Ct=>{mt=mt.replace(`:${Ct}`,Ce[Ct])}),mt},Ke=Ce=>{const{prefixCls:ct,separator:mt="/",style:Ct,className:Et,rootClassName:fn,routes:un,items:Vt,children:ht,itemRender:Te,params:rt={}}=Ce,It=st(Ce,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:hn,direction:Pt,breadcrumb:sn}=ke.useContext(xe.E_);let Be;const qe=hn("breadcrumb",ct),[qt,nt]=Ee(qe),pt=De(Vt,un),_n=E(qe,Te);if(pt&&pt.length>0){const yt=[],Gn=Vt||un;Be=pt.map((Qn,Kt)=>{const{path:ta,key:Ba,type:Un,menu:On,overlay:ya,onClick:Za,className:Ya,separator:Ca,dropdownProps:rr}=Qn,qa=Oe(rt,ta);qa!==void 0&&yt.push(qa);const Fa=Ba!=null?Ba:Kt;if(Un==="separator")return ke.createElement(Re,{key:Fa},Ca);const Va={},va=Kt===pt.length-1;On?Va.menu=On:ya&&(Va.overlay=ya);let{href:En}=Qn;return yt.length&&qa!==void 0&&(En=`#/${yt.join("/")}`),ke.createElement(x,Object.assign({key:Fa},Va,(0,Me.Z)(Qn,{data:!0,aria:!0}),{className:Ya,dropdownProps:rr,href:En,separator:va?"":mt,onClick:Za,prefixCls:qe}),_n(Qn,rt,Gn,yt,En))})}else if(ht){const yt=(0,Fe.Z)(ht).length;Be=(0,Fe.Z)(ht).map((Gn,Qn)=>{if(!Gn)return Gn;const Kt=Qn===yt-1;return(0,Ue.Tm)(Gn,{separator:Kt?"":mt,key:Qn})})}const Zt=pe()(qe,sn==null?void 0:sn.className,{[`${qe}-rtl`]:Pt==="rtl"},Et,fn,nt),At=Object.assign(Object.assign({},sn==null?void 0:sn.style),Ct);return qt(ke.createElement("nav",Object.assign({className:Zt,style:At},It),ke.createElement("ol",null,Be)))};Ke.Item=z,Ke.Separator=Re;var ze=Ke,Xe=ze},19842:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return jn}});var y=ae(94480),pe=ae(59301),Fe=ae(33853),Me=ae(58617),ke=ae(38819),Ue=ae(92310),xe=ae.n(Ue),Qe=ae(54476),Ie=ae(42978),we=ae(75931),Re=ae(77861),Ze=ae(17115),Ye=ae(90782),ie=ae(6089),E=ae(18929),a=pe.createContext(null),x=a,b=ae(76190),z=ae(20068),te=ae(33885),oe="__rc_cascader_search_mark__",ue=function(Yt,xt,rn){var tn=rn.label;return xt.some(function(Vn){return String(Vn[tn]).toLowerCase().includes(Yt.toLowerCase())})},le=function(Yt,xt,rn,tn){return xt.map(function(Vn){return Vn[tn.label]}).join(" / ")},Ee=function(He,Yt,xt,rn,tn,Vn){var Ln=tn.filter,tt=Ln===void 0?ue:Ln,ot=tn.render,Je=ot===void 0?le:ot,Pn=tn.limit,Cn=Pn===void 0?50:Pn,Zn=tn.sort;return pe.useMemo(function(){var Ia=[];if(!He)return[];function Ea(ua,ba){var da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ua.forEach(function(Gt){if(!(!Zn&&Cn!==!1&&Cn>0&&Ia.length>=Cn)){var or=[].concat((0,y.Z)(ba),[Gt]),fr=Gt[xt.children],so=da||Gt.disabled;if((!fr||fr.length===0||Vn)&&tt(He,or,{label:xt.label})){var Mt;Ia.push((0,te.Z)((0,te.Z)({},Gt),{},(Mt={disabled:so},(0,z.Z)(Mt,xt.label,Je(He,or,rn,xt)),(0,z.Z)(Mt,oe,or),(0,z.Z)(Mt,xt.children,void 0),Mt)))}fr&&Ea(Gt[xt.children],or,so)}})}return Ea(Yt,[]),Zn&&Ia.sort(function(ua,ba){return Zn(ua[oe],ba[oe],He,xt)}),Cn!==!1&&Cn>0?Ia.slice(0,Cn):Ia},[He,Yt,xt,rn,Je,Vn,tt,Zn,Cn])},be="__RC_CASCADER_SPLIT__",We="SHOW_PARENT",De="SHOW_CHILD";function st(He){return He.join(be)}function Oe(He){return He.map(st)}function Ke(He){return He.split(be)}function ze(He){var Yt=He||{},xt=Yt.label,rn=Yt.value,tn=Yt.children,Vn=rn||"value";return{label:xt||"label",value:Vn,key:Vn,children:tn||"children"}}function Xe(He,Yt){var xt,rn;return(xt=He.isLeaf)!==null&&xt!==void 0?xt:!((rn=He[Yt.children])!==null&&rn!==void 0&&rn.length)}function Ce(He){var Yt=He.parentElement;if(Yt){var xt=He.offsetTop-Yt.offsetTop;xt-Yt.scrollTop<0?Yt.scrollTo({top:xt}):xt+He.offsetHeight-Yt.scrollTop>Yt.offsetHeight&&Yt.scrollTo({top:xt+He.offsetHeight-Yt.offsetHeight})}}function ct(He,Yt){return He.map(function(xt){var rn;return(rn=xt[oe])===null||rn===void 0?void 0:rn.map(function(tn){return tn[Yt.value]})})}function mt(He,Yt,xt){var rn=new Set(He),tn=Yt();return He.filter(function(Vn){var Ln=tn[Vn],tt=Ln?Ln.parent:null,ot=Ln?Ln.children:null;return Ln&&Ln.node.disabled?!0:xt===De?!(ot&&ot.some(function(Je){return Je.key&&rn.has(Je.key)})):!(tt&&!tt.node.disabled&&rn.has(tt.key))})}function Ct(He,Yt,xt){for(var rn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=Yt,Vn=[],Ln=function(){var Je,Pn,Cn,Zn=He[tt],Ia=(Je=tn)===null||Je===void 0?void 0:Je.findIndex(function(ua){var ba=ua[xt.value];return rn?String(ba)===String(Zn):ba===Zn}),Ea=Ia!==-1?(Pn=tn)===null||Pn===void 0?void 0:Pn[Ia]:null;Vn.push({value:(Cn=Ea==null?void 0:Ea[xt.value])!==null&&Cn!==void 0?Cn:Zn,index:Ia,option:Ea}),tn=Ea==null?void 0:Ea[xt.children]},tt=0;tt1){var lr=Ea.slice(0,-1);Gt(lr)}else Je(!1)},so=function(){var lr,Qr=((lr=ba[ua])===null||lr===void 0?void 0:lr[xt.children])||[],Oa=Qr.find(function(vr){return!vr.disabled});if(Oa){var wr=[].concat((0,y.Z)(Ea),[Oa[xt.value]]);Gt(wr)}};pe.useImperativeHandle(He,function(){return{onKeyDown:function(lr){var Qr=lr.which;switch(Qr){case qe.Z.UP:case qe.Z.DOWN:{var Oa=0;Qr===qe.Z.UP?Oa=-1:Qr===qe.Z.DOWN&&(Oa=1),Oa!==0&&or(Oa);break}case qe.Z.LEFT:{if(ot)break;Cn?so():fr();break}case qe.Z.RIGHT:{if(ot)break;Cn?fr():so();break}case qe.Z.BACKSPACE:{ot||fr();break}case qe.Z.ENTER:{if(Ea.length){var wr=ba[ua],vr=(wr==null?void 0:wr[oe])||[];vr.length?Vn(vr.map(function(Dr){return Dr[xt.value]}),vr[vr.length-1]):Vn(Ea,ba[ua])}break}case qe.Z.ESC:Je(!1),Pn&&lr.stopPropagation()}},onKeyUp:function(){}}})},nt=pe.forwardRef(function(He,Yt){var xt,rn,tn,Vn,Ln=(0,Re.lk)(),tt=Ln.prefixCls,ot=Ln.multiple,Je=Ln.searchValue,Pn=Ln.toggleOpen,Cn=Ln.notFoundContent,Zn=Ln.direction,Ia=Ln.open,Ea=pe.useRef(),ua=Zn==="rtl",ba=pe.useContext(x),da=ba.options,Gt=ba.values,or=ba.halfValues,fr=ba.fieldNames,so=ba.changeOnSelect,Mt=ba.onSelect,lr=ba.searchOptions,Qr=ba.dropdownPrefixCls,Oa=ba.loadData,wr=ba.expandTrigger,vr=Qr||tt,Dr=pe.useState([]),Hr=(0,Ie.Z)(Dr,2),pr=Hr[0],yr=Hr[1],ga=function(Mr){if(!(!Oa||Je)){var ho=Ct(Mr,da,fr),co=ho.map(function(Cr){var $r=Cr.option;return $r}),ro=co[co.length-1];if(ro&&!Xe(ro,fr)){var Do=st(Mr);yr(function(Cr){return[].concat((0,y.Z)(Cr),[Do])}),Oa(co)}}};pe.useEffect(function(){pr.length&&pr.forEach(function(Kr){var Mr=Ke(Kr),ho=Ct(Mr,da,fr,!0).map(function(ro){var Do=ro.option;return Do}),co=ho[ho.length-1];(!co||co[fr.children]||Xe(co,fr))&&yr(function(ro){return ro.filter(function(Do){return Do!==Kr})})})},[da,pr,fr]);var Qt=pe.useMemo(function(){return new Set(Oe(Gt))},[Gt]),hr=pe.useMemo(function(){return new Set(Oe(or))},[or]),Ur=Be(),Yr=(0,Ie.Z)(Ur,2),sr=Yr[0],Dn=Yr[1],ma=function(Mr){Dn(Mr),ga(Mr)},na=function(Mr){var ho=Mr.disabled,co=Xe(Mr,fr);return!ho&&(co||so||ot)},Yn=function(Mr,ho){var co=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Mt(Mr),!ot&&(ho||so&&(wr==="hover"||co))&&Pn(!1)},dr=pe.useMemo(function(){return Je?lr:da},[Je,lr,da]),Lr=pe.useMemo(function(){for(var Kr=[{options:dr}],Mr=dr,ho=ct(Mr,fr),co=function(){var $r=sr[ro],Qo=Mr.find(function(Ja,ol){return(ho[ol]?st(ho[ol]):Ja[fr.value])===$r}),ko=Qo==null?void 0:Qo[fr.children];if(!(ko!=null&&ko.length))return"break";Mr=ko,Kr.push({options:ko})},ro=0;ro":pr,ga=He.loadingIcon,Qt=He.children,hr=He.dropdownMatchSelectWidth,Ur=hr===void 0?!1:hr,Yr=He.showCheckedStrategy,sr=Yr===void 0?We:Yr,Dn=(0,we.Z)(He,yt),ma=(0,Ze.ZP)(xt),na=!!Cn,Yn=(0,E.Z)(Ln,{value:tt,postState:Qn}),dr=(0,Ie.Z)(Yn,2),Lr=dr[0],jr=dr[1],Br=pe.useMemo(function(){return ze(Vn)},[JSON.stringify(Vn)]),nr=pe.useMemo(function(){return Gt||[]},[Gt]),wo=un(nr,Br),Co=pe.useCallback(function(nn){var Ut=wo();return nn.map(function(xn){var Ma=Ut[xn].nodes;return Ma.map(function(Nr){return Nr[Br.value]})})},[wo,Br]),Sl=(0,E.Z)("",{value:Ea,postState:function(Ut){return Ut||""}}),Kr=(0,Ie.Z)(Sl,2),Mr=Kr[0],ho=Kr[1],co=function(Ut,xn){ho(Ut),xn.source!=="blur"&&ua&&ua(Ut)},ro=Te(ba),Do=(0,Ie.Z)(ro,2),Cr=Do[0],$r=Do[1],Qo=Ee(Mr,nr,Br,or||tn,$r,ot),ko=Vt(nr,Br),Ja=pe.useMemo(function(){var nn=ko(Lr),Ut=(0,Ie.Z)(nn,2),xn=Ut[0],Ma=Ut[1];if(!na||!Lr.length)return[xn,[],Ma];var Nr=Oe(xn),mo=wo(),xo=(0,Ye.S)(Nr,!0,mo),_o=xo.checkedKeys,Jo=xo.halfCheckedKeys;return[Co(_o),Co(Jo),Ma]},[na,Lr,wo,Co,ko]),ol=(0,Ie.Z)(Ja,3),el=ol[0],cl=ol[1],eo=ol[2],Ko=pe.useMemo(function(){var nn=Oe(el),Ut=mt(nn,wo,sr);return[].concat((0,y.Z)(eo),(0,y.Z)(Co(Ut)))},[el,wo,Co,eo,sr]),he=Et(Ko,nr,Br,na,Pn),Bt=(0,ie.Z)(function(nn){if(jr(nn),Je){var Ut=Qn(nn),xn=Ut.map(function(mo){return Ct(mo,nr,Br).map(function(xo){return xo.option})}),Ma=na?Ut:Ut[0],Nr=na?xn:xn[0];Je(Ma,Nr)}}),Jt=(0,ie.Z)(function(nn){if((!na||Ia)&&ho(""),!na)Bt(nn);else{var Ut=st(nn),xn=Oe(el),Ma=Oe(cl),Nr=xn.includes(Ut),mo=eo.some(function(Eo){return st(Eo)===Ut}),xo=el,_o=eo;if(mo&&!Nr)_o=eo.filter(function(Eo){return st(Eo)!==Ut});else{var Jo=Nr?xn.filter(function(Eo){return Eo!==Ut}):[].concat((0,y.Z)(xn),[Ut]),Nl=wo(),gl;if(Nr){var Il=(0,Ye.S)(Jo,{checked:!1,halfCheckedKeys:Ma},Nl);gl=Il.checkedKeys}else{var Tl=(0,Ye.S)(Jo,!0,Nl);gl=Tl.checkedKeys}var Li=mt(gl,wo,sr);xo=Co(Li)}Bt([].concat((0,y.Z)(_o),(0,y.Z)(xo)))}}),vn=function(Ut,xn){if(xn.type==="clear"){Bt([]);return}var Ma=xn.values[0],Nr=Ma.valueCells;Jt(Nr)},bt=Mt!==void 0?Mt:so,Kn=Qr||lr,qn=vr||wr,An=function(Ut){Dr==null||Dr(Ut),Hr==null||Hr(Ut)},Mn=pe.useMemo(function(){return{options:nr,fieldNames:Br,values:el,halfValues:cl,changeOnSelect:ot,onSelect:Jt,checkable:Cn,searchOptions:Qo,dropdownPrefixCls:or,loadData:fr,expandTrigger:da,expandIcon:yr,loadingIcon:ga,dropdownMenuColumnStyle:Oa}},[nr,Br,el,cl,ot,Jt,Cn,Qo,or,fr,da,yr,ga,Oa]),Ua=!(Mr?Qo:nr).length,Hn=Mr&&$r.matchInputWidth||Ua?{}:{minWidth:"auto"};return pe.createElement(x.Provider,{value:Mn},pe.createElement(Re.Ac,(0,Qe.Z)({},Dn,{ref:Yt,id:ma,prefixCls:tn,autoClearSearchValue:Ia,dropdownMatchSelectWidth:Ur,dropdownStyle:Hn,displayValues:he,onDisplayValuesChange:vn,mode:na?"multiple":void 0,searchValue:Mr,onSearch:co,showSearch:Cr,OptionList:pt,emptyOptions:Ua,open:bt,dropdownClassName:Kn,placement:qn,onDropdownVisibleChange:An,getRawInputElement:function(){return Qt}})))});Kt.SHOW_PARENT=We,Kt.SHOW_CHILD=De;var ta=Kt,Ba=ta,Un=ae(2738),On=ae(62892),ya=ae(53487),Za=ae(19080),Ya=ae(36355),Ca=ae(93891),rr=ae(1684),qa=ae(19716),Fa=ae(32441),Va=ae(14154),va=ae(58582),En=ae(84443),Qa=ae(66339),Ht=ae(33234),dn=ae(98447),Aa=ae(17313),er=ae(74207),tr=ae(83116);const _a=He=>{const{prefixCls:Yt,componentCls:xt,antCls:rn}=He,tn=`${xt}-menu-item`,Vn=` + &${tn}-expand ${tn}-expand-icon, + ${tn}-loading-icon + `;return[{[xt]:{width:He.controlWidth}},{[`${xt}-dropdown`]:[(0,dn.C2)(`${Yt}-checkbox`,He),{[`&${rn}-select-dropdown`]:{padding:0}},{[xt]:{"&-checkbox":{top:0,marginInlineEnd:He.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${xt}-menu-empty`]:{[`${xt}-menu`]:{width:"100%",height:"auto",[tn]:{color:He.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:He.controlItemWidth,height:He.dropdownHeight,margin:0,padding:He.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${He.lineWidth}px ${He.lineType} ${He.colorSplit}`},"&-item":Object.assign(Object.assign({},Aa.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:He.optionPadding,lineHeight:He.lineHeight,cursor:"pointer",transition:`all ${He.motionDurationMid}`,borderRadius:He.borderRadiusSM,"&:hover":{background:He.controlItemBgHover},"&-disabled":{color:He.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Vn]:{color:He.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:He.optionSelectedFontWeight,backgroundColor:He.optionSelectedBg}},"&-content":{flex:"auto"},[Vn]:{marginInlineStart:He.paddingXXS,color:He.colorTextDescription,fontSize:He.fontSizeIcon},"&-keyword":{color:He.colorHighlight}})}}}]},{[`${xt}-dropdown-rtl`]:{direction:"rtl"}},(0,er.c)(He)]};var ka=(0,tr.Z)("Cascader",He=>[_a(He)],He=>{const Yt=Math.round((He.controlHeight-He.fontSize*He.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:He.controlItemBgActive,optionSelectedFontWeight:He.fontWeightStrong,optionPadding:`${Yt}px ${He.paddingSM}px`,menuPadding:He.paddingXXS}}),br=function(He,Yt){var xt={};for(var rn in He)Object.prototype.hasOwnProperty.call(He,rn)&&Yt.indexOf(rn)<0&&(xt[rn]=He[rn]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,rn=Object.getOwnPropertySymbols(He);tnot===0?[tt]:[].concat((0,y.Z)(Ln),[Yt,tt]),[]),tn=[];let Vn=0;return rn.forEach((Ln,tt)=>{const ot=Vn+Ln.length;let Je=He.slice(Vn,ot);Vn=ot,tt%2===1&&(Je=pe.createElement("span",{className:`${xt}-menu-item-keyword`,key:`separator-${tt}`},Je)),tn.push(Je)}),tn}const Ot=(He,Yt,xt,rn)=>{const tn=[],Vn=He.toLowerCase();return Yt.forEach((Ln,tt)=>{tt!==0&&tn.push(" / ");let ot=Ln[rn.label];const Je=typeof ot;(Je==="string"||Je==="number")&&(ot=Wr(String(ot),Vn,xt)),tn.push(ot)}),tn},Fn=pe.forwardRef((He,Yt)=>{const{prefixCls:xt,size:rn,disabled:tn,className:Vn,rootClassName:Ln,multiple:tt,bordered:ot=!0,transitionName:Je,choiceTransitionName:Pn="",popupClassName:Cn,dropdownClassName:Zn,expandIcon:Ia,placement:Ea,showSearch:ua,allowClear:ba=!0,notFoundContent:da,direction:Gt,getPopupContainer:or,status:fr,showArrow:so,builtinPlacements:Mt,style:lr}=He,Qr=br(He,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Oa=(0,Un.Z)(Qr,["suffixIcon"]),{getPopupContainer:wr,getPrefixCls:vr,renderEmpty:Dr,direction:Hr,popupOverflow:pr,cascader:yr}=pe.useContext(Ya.E_),ga=Gt||Hr,Qt=ga==="rtl",{status:hr,hasFeedback:Ur,isFormItemInput:Yr,feedbackIcon:sr}=pe.useContext(Fa.aM),Dn=(0,Za.F)(hr,fr),ma=da||(Dr==null?void 0:Dr("Cascader"))||pe.createElement(Ca.Z,{componentName:"Cascader"}),na=vr(),Yn=vr("select",xt),dr=vr("cascader",xt),[Lr,jr]=(0,Va.Z)(Yn),[Br]=ka(dr),{compactSize:nr,compactItemClassnames:wo}=(0,Ht.ri)(Yn,Gt),Co=xe()(Cn||Zn,`${dr}-dropdown`,{[`${dr}-dropdown-rtl`]:ga==="rtl"},Ln,jr),Sl=pe.useMemo(()=>{if(!ua)return ua;let eo={render:Ot};return typeof ua=="object"&&(eo=Object.assign(Object.assign({},eo),ua)),eo},[ua]),Kr=(0,qa.Z)(eo=>{var Ko;return(Ko=rn!=null?rn:nr)!==null&&Ko!==void 0?Ko:eo}),Mr=pe.useContext(rr.Z),ho=tn!=null?tn:Mr;let co=Ia;Ia||(co=Qt?pe.createElement(Fe.Z,null):pe.createElement(ke.Z,null));const ro=pe.createElement("span",{className:`${Yn}-menu-item-loading-icon`},pe.createElement(Me.Z,{spin:!0})),Do=pe.useMemo(()=>tt?pe.createElement("span",{className:`${dr}-checkbox-inner`}):!1,[tt]),Cr=(0,En.Z)(He.suffixIcon,so),{suffixIcon:$r,removeIcon:Qo,clearIcon:ko}=(0,Qa.Z)(Object.assign(Object.assign({},He),{hasFeedback:Ur,feedbackIcon:sr,showSuffixIcon:Cr,multiple:tt,prefixCls:Yn,componentName:"Cascader"})),Ja=pe.useMemo(()=>Ea!==void 0?Ea:Qt?"bottomRight":"bottomLeft",[Ea,Qt]),ol=(0,va.Z)(Mt,pr),el=ba===!0?{clearIcon:ko}:ba,cl=pe.createElement(Ba,Object.assign({prefixCls:Yn,className:xe()(!xt&&dr,{[`${Yn}-lg`]:Kr==="large",[`${Yn}-sm`]:Kr==="small",[`${Yn}-rtl`]:Qt,[`${Yn}-borderless`]:!ot,[`${Yn}-in-form-item`]:Yr},(0,Za.Z)(Yn,Dn,Ur),wo,yr==null?void 0:yr.className,Vn,Ln,jr),disabled:ho,style:Object.assign(Object.assign({},yr==null?void 0:yr.style),lr)},Oa,{builtinPlacements:ol,direction:ga,placement:Ja,notFoundContent:ma,allowClear:el,showSearch:Sl,expandIcon:co,suffixIcon:$r,removeIcon:Qo,loadingIcon:ro,checkable:Do,dropdownClassName:Co,dropdownPrefixCls:xt||dr,choiceTransitionName:(0,On.m)(na,"",Pn),transitionName:(0,On.m)(na,"slide-up",Je),getPopupContainer:or||wr,ref:Yt}));return Br(Lr(cl))}),ia=(0,ya.Z)(Fn);Fn.SHOW_PARENT=Na,Fn.SHOW_CHILD=la,Fn._InternalPanelDoNotUseOrYouWillBeFired=ia;var jn=Fn},36381:function(it,Tt,ae){"use strict";ae.d(Tt,{default:function(){return qt}});var y=ae(38819),pe=ae(92310),Fe=ae.n(pe),Me=ae(54476),ke=ae(94480),Ue=ae(42978),xe=ae(76190),Qe=ae(18929),Ie=ae(48736),we=ae(59301),Re=ae(75931),Ze=ae(11592),Ye=ae(20068),ie=ae(77900),E=ae(10228),a=we.forwardRef(function(nt,pt){var _n=nt.prefixCls,Zt=nt.forceRender,At=nt.className,yt=nt.style,Gn=nt.children,Qn=nt.isActive,Kt=nt.role,ta=we.useState(Qn||Zt),Ba=(0,Ue.Z)(ta,2),Un=Ba[0],On=Ba[1];return we.useEffect(function(){(Zt||Qn)&&On(!0)},[Zt,Qn]),Un?we.createElement("div",{ref:pt,className:Fe()("".concat(_n,"-content"),(0,Ye.Z)((0,Ye.Z)({},"".concat(_n,"-content-active"),Qn),"".concat(_n,"-content-inactive"),!Qn),At),style:yt,role:Kt},we.createElement("div",{className:"".concat(_n,"-content-box")},Gn)):null});a.displayName="PanelContent";var x=a,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=we.forwardRef(function(nt,pt){var _n=nt.showArrow,Zt=_n===void 0?!0:_n,At=nt.headerClass,yt=nt.isActive,Gn=nt.onItemClick,Qn=nt.forceRender,Kt=nt.className,ta=nt.prefixCls,Ba=nt.collapsible,Un=nt.accordion,On=nt.panelKey,ya=nt.extra,Za=nt.header,Ya=nt.expandIcon,Ca=nt.openMotion,rr=nt.destroyInactivePanel,qa=nt.children,Fa=(0,Re.Z)(nt,b),Va=Ba==="disabled",va=Ba==="header",En=Ba==="icon",Qa=ya!=null&&typeof ya!="boolean",Ht=function(){Gn==null||Gn(On)},dn=function(br){(br.key==="Enter"||br.keyCode===E.Z.ENTER||br.which===E.Z.ENTER)&&Ht()},Aa=typeof Ya=="function"?Ya(nt):we.createElement("i",{className:"arrow"});Aa&&(Aa=we.createElement("div",{className:"".concat(ta,"-expand-icon"),onClick:["header","icon"].includes(Ba)?Ht:void 0},Aa));var er=Fe()((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(ta,"-item"),!0),"".concat(ta,"-item-active"),yt),"".concat(ta,"-item-disabled"),Va),Kt),tr=Fe()(At,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(ta,"-header"),!0),"".concat(ta,"-header-collapsible-only"),va),"".concat(ta,"-icon-collapsible-only"),En)),_a={className:tr,"aria-expanded":yt,"aria-disabled":Va,onKeyDown:dn};return!va&&!En&&(_a.onClick=Ht,_a.role=Un?"tab":"button",_a.tabIndex=Va?-1:0),we.createElement("div",(0,Me.Z)({},Fa,{ref:pt,className:er}),we.createElement("div",_a,Zt&&Aa,we.createElement("span",{className:"".concat(ta,"-header-text"),onClick:Ba==="header"?Ht:void 0},Za),Qa&&we.createElement("div",{className:"".concat(ta,"-extra")},ya)),we.createElement(ie.default,(0,Me.Z)({visible:yt,leavedClassName:"".concat(ta,"-content-hidden")},Ca,{forceRender:Qn,removeOnLeave:rr}),function(ka,br){var la=ka.className,Na=ka.style;return we.createElement(x,{ref:br,prefixCls:ta,className:la,style:Na,isActive:yt,forceRender:Qn,role:Un?"tabpanel":void 0},qa)}))}),te=z,oe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ue=function(pt,_n){var Zt=_n.prefixCls,At=_n.accordion,yt=_n.collapsible,Gn=_n.destroyInactivePanel,Qn=_n.onItemClick,Kt=_n.activeKey,ta=_n.openMotion,Ba=_n.expandIcon;return pt.map(function(Un,On){var ya=Un.children,Za=Un.label,Ya=Un.key,Ca=Un.collapsible,rr=Un.onItemClick,qa=Un.destroyInactivePanel,Fa=(0,Re.Z)(Un,oe),Va=String(Ya!=null?Ya:On),va=Ca!=null?Ca:yt,En=qa!=null?qa:Gn,Qa=function(Aa){va!=="disabled"&&(Qn(Aa),rr==null||rr(Aa))},Ht=!1;return At?Ht=Kt[0]===Va:Ht=Kt.indexOf(Va)>-1,we.createElement(te,(0,Me.Z)({},Fa,{prefixCls:Zt,key:Va,panelKey:Va,isActive:Ht,accordion:At,openMotion:ta,expandIcon:Ba,header:Za,collapsible:va,onItemClick:Qa,destroyInactivePanel:En}),ya)})},le=function(pt,_n,Zt){if(!pt)return null;var At=Zt.prefixCls,yt=Zt.accordion,Gn=Zt.collapsible,Qn=Zt.destroyInactivePanel,Kt=Zt.onItemClick,ta=Zt.activeKey,Ba=Zt.openMotion,Un=Zt.expandIcon,On=pt.key||String(_n),ya=pt.props,Za=ya.header,Ya=ya.headerClass,Ca=ya.destroyInactivePanel,rr=ya.collapsible,qa=ya.onItemClick,Fa=!1;yt?Fa=ta[0]===On:Fa=ta.indexOf(On)>-1;var Va=rr!=null?rr:Gn,va=function(Ht){Va!=="disabled"&&(Kt(Ht),qa==null||qa(Ht))},En={key:On,panelKey:On,header:Za,headerClass:Ya,isActive:Fa,prefixCls:At,destroyInactivePanel:Ca!=null?Ca:Qn,openMotion:Ba,accordion:yt,children:pt.props.children,onItemClick:va,expandIcon:Un,collapsible:Va};return typeof pt.type=="string"?pt:(Object.keys(En).forEach(function(Qa){typeof En[Qa]=="undefined"&&delete En[Qa]}),we.cloneElement(pt,En))};function Ee(nt,pt,_n){return Array.isArray(nt)?ue(nt,_n):(0,Ze.Z)(pt).map(function(Zt,At){return le(Zt,At,_n)})}var be=Ee,We=ae(26112);function De(nt){var pt=nt;if(!Array.isArray(pt)){var _n=(0,xe.Z)(pt);pt=_n==="number"||_n==="string"?[pt]:[]}return pt.map(function(Zt){return String(Zt)})}var st=we.forwardRef(function(nt,pt){var _n=nt.prefixCls,Zt=_n===void 0?"rc-collapse":_n,At=nt.destroyInactivePanel,yt=At===void 0?!1:At,Gn=nt.style,Qn=nt.accordion,Kt=nt.className,ta=nt.children,Ba=nt.collapsible,Un=nt.openMotion,On=nt.expandIcon,ya=nt.activeKey,Za=nt.defaultActiveKey,Ya=nt.onChange,Ca=nt.items,rr=Fe()(Zt,Kt),qa=(0,Qe.Z)([],{value:ya,onChange:function(dn){return Ya==null?void 0:Ya(dn)},defaultValue:Za,postState:De}),Fa=(0,Ue.Z)(qa,2),Va=Fa[0],va=Fa[1],En=function(dn){return va(function(){if(Qn)return Va[0]===dn?[]:[dn];var Aa=Va.indexOf(dn),er=Aa>-1;return er?Va.filter(function(tr){return tr!==dn}):[].concat((0,ke.Z)(Va),[dn])})};(0,Ie.ZP)(!ta,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Qa=be(Ca,ta,{prefixCls:Zt,accordion:Qn,openMotion:Un,expandIcon:On,collapsible:Ba,destroyInactivePanel:yt,onItemClick:En,activeKey:Va});return we.createElement("div",(0,Me.Z)({ref:pt,className:rr,style:Gn,role:Qn?"tablist":void 0},(0,We.Z)(nt,{aria:!0,data:!0})),Qa)}),Oe=Object.assign(st,{Panel:te}),Ke=Oe,ze=Oe.Panel,Xe=ae(2738),Ce=ae(62892),ct=ae(92343),mt=ae(36355),Ct=ae(19716),fn=we.forwardRef((nt,pt)=>{const{getPrefixCls:_n}=we.useContext(mt.E_),{prefixCls:Zt,className:At,showArrow:yt=!0}=nt,Gn=_n("collapse",Zt),Qn=Fe()({[`${Gn}-no-arrow`]:!yt},At);return we.createElement(Ke.Panel,Object.assign({ref:pt},nt,{prefixCls:Gn,className:Qn}))}),un=ae(17313),Vt=ae(8378),ht=ae(83116),Te=ae(37613);const rt=nt=>{const{componentCls:pt,contentBg:_n,padding:Zt,headerBg:At,headerPadding:yt,collapseHeaderPaddingSM:Gn,collapseHeaderPaddingLG:Qn,collapsePanelBorderRadius:Kt,lineWidth:ta,lineType:Ba,colorBorder:Un,colorText:On,colorTextHeading:ya,colorTextDisabled:Za,fontSize:Ya,fontSizeLG:Ca,lineHeight:rr,marginSM:qa,paddingSM:Fa,paddingLG:Va,paddingXS:va,motionDurationSlow:En,fontSizeIcon:Qa,contentPadding:Ht}=nt,dn=`${ta}px ${Ba} ${Un}`;return{[pt]:Object.assign(Object.assign({},(0,un.Wf)(nt)),{backgroundColor:At,border:dn,borderBottom:0,borderRadius:`${Kt}px`,"&-rtl":{direction:"rtl"},[`& > ${pt}-item`]:{borderBottom:dn,"&:last-child":{[` &, - & > ${vt}-header`]:{borderRadius:`0 0 ${Yt}px ${Yt}px`}},[`> ${vt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Ft,color:Hn,lineHeight:Ka,cursor:"pointer",transition:`all ${hn}, visibility 0s`,[`> ${vt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${vt}-expand-icon`]:{height:za*Ka,display:"flex",alignItems:"center",paddingInlineEnd:Za},[`${vt}-arrow`]:Object.assign(Object.assign({},(0,dn.Ro)()),{fontSize:ga,svg:{transition:`transform ${hn}`}}),[`${vt}-header-text`]:{marginInlineEnd:"auto"}},[`${vt}-header-collapsible-only`]:{cursor:"default",[`${vt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${vt}-icon-collapsible-only`]:{cursor:"default",[`${vt}-expand-icon`]:{cursor:"pointer"}}},[`${vt}-content`]:{color:sn,backgroundColor:Nn,borderTop:en,[`& > ${vt}-content-box`]:{padding:Mt},"&-hidden":{display:"none"}},"&-small":{[`> ${vt}-item`]:{[`> ${vt}-header`]:{padding:it,paddingInlineStart:Sa,[`> ${vt}-expand-icon`]:{marginInlineStart:La-Sa}},[`> ${vt}-content > ${vt}-content-box`]:{padding:La}}},"&-large":{[`> ${vt}-item`]:{fontSize:wa,[`> ${vt}-header`]:{padding:In,paddingInlineStart:bt,[`> ${vt}-expand-icon`]:{height:wa*Ka,marginInlineStart:Ja-bt}},[`> ${vt}-content > ${vt}-content-box`]:{padding:Ja}}},[`${vt}-item:last-child`]:{[`> ${vt}-content`]:{borderRadius:`0 0 ${Yt}px ${Yt}px`}},[`& ${vt}-item-disabled > ${vt}-header`]:{"\n &,\n & > .arrow\n ":{color:Aa,cursor:"not-allowed"}},[`&${vt}-icon-position-end`]:{[`& > ${vt}-item`]:{[`> ${vt}-header`]:{[`${vt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Za}}}}})}},Tt=nt=>{const{componentCls:vt}=nt,Nn=`> ${vt}-item > ${vt}-header ${vt}-arrow svg`;return{[`${vt}-rtl`]:{[Nn]:{transform:"rotate(180deg)"}}}},Sn=nt=>{const{componentCls:vt,headerBg:Nn,paddingXXS:bt,colorBorder:St}=nt;return{[`${vt}-borderless`]:{backgroundColor:Nn,border:0,[`> ${vt}-item`]:{borderBottom:`1px solid ${St}`},[` - > ${vt}-item:last-child, - > ${vt}-item:last-child ${vt}-header - `]:{borderRadius:0},[`> ${vt}-item:last-child`]:{borderBottom:0},[`> ${vt}-item > ${vt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${vt}-item > ${vt}-content > ${vt}-content-box`]:{paddingTop:bt}}}},Ve=nt=>{const{componentCls:vt,paddingSM:Nn}=nt;return{[`${vt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${vt}-item`]:{borderBottom:0,[`> ${vt}-content`]:{backgroundColor:"transparent",border:0,[`> ${vt}-content-box`]:{paddingBlock:Nn}}}}}};var Ut=(0,rt.Z)("Collapse",nt=>{const vt=(0,Ie.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[at(vt),Sn(vt),Ve(vt),Tt(vt),(0,Qt.Z)(vt)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),tt=Object.assign(we.forwardRef((nt,vt)=>{const{getPrefixCls:Nn,direction:bt,collapse:St}=we.useContext(mt.E_),{prefixCls:Ft,className:it,rootClassName:In,style:Yt,bordered:_n=!0,ghost:Ea,size:Wn,expandIconPosition:sn="start",children:Hn,expandIcon:Aa}=nt,za=(0,xt.Z)(en=>{var ya;return(ya=Wn!=null?Wn:en)!==null&&ya!==void 0?ya:"middle"}),wa=Nn("collapse",Ft),Ka=Nn(),[Za,La]=Ut(wa),Ja=we.useMemo(()=>sn==="left"?"start":sn==="right"?"end":sn,[sn]),Sa=function(){let en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const ya=Aa?Aa(en):we.createElement(y.Z,{rotate:en.isActive?90:void 0});return(0,gt.Tm)(ya,()=>({className:Be()(ya.props.className,`${wa}-arrow`)}))},hn=Be()(`${wa}-icon-position-${Ja}`,{[`${wa}-borderless`]:!_n,[`${wa}-rtl`]:bt==="rtl",[`${wa}-ghost`]:!!Ea,[`${wa}-${za}`]:za!=="middle"},St==null?void 0:St.className,it,In,La),ga=Object.assign(Object.assign({},(0,Ae.Z)(Ka)),{motionAppear:!1,leavedClassName:`${wa}-content-hidden`}),Mt=we.useMemo(()=>Hn?(0,Ge.Z)(Hn).map((en,ya)=>{var lr,ir;if(!((lr=en.props)===null||lr===void 0)&&lr.disabled){const nr=(ir=en.key)!==null&&ir!==void 0?ir:String(ya),{disabled:Ga,collapsible:yr}=en.props,ia=Object.assign(Object.assign({},(0,qe.Z)(en.props,["disabled"])),{key:nr,collapsible:yr!=null?yr:Ga?"disabled":void 0});return(0,gt.Tm)(en,ia)}return en}):null,[Hn]);return Za(we.createElement(Ke,Object.assign({ref:vt,openMotion:ga},(0,qe.Z)(nt,["rootClassName"]),{expandIcon:Sa,prefixCls:wa,className:hn,style:Object.assign(Object.assign({},St==null?void 0:St.style),Yt)}),Mt))}),{Panel:fn}),Jt=tt},5083:function(ut,Gt,ae){"use strict";ae.d(Gt,{default:function(){return ns}});var y=ae(56656),pe=ae.n(y),Be=ae(48736),Te=ae(27112),ke=ae.n(Te),We=ae(54449),xe=ae.n(We),Ye=ae(53501),Ne=ae.n(Ye),we=ae(36867),Me=ae.n(we),Ge=ae(71912),Je=ae.n(Ge),ie=ae(48228),E=ae.n(ie);pe().extend(E()),pe().extend(Je()),pe().extend(ke()),pe().extend(xe()),pe().extend(Ne()),pe().extend(Me()),pe().extend(function(de,ge){var me=ge.prototype,Le=me.format;me.format=function(ft){var lt=(ft||"").replace("Wo","wo");return Le.bind(this)(lt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ge){var me=a[ge];return me||ge.split("_")[0]},b=function(){(0,Be.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return pe()()},getFixedDate:function(ge){return pe()(ge,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ge){return ge.endOf("month")},getWeekDay:function(ge){var me=ge.locale("en");return me.weekday()+me.localeData().firstDayOfWeek()},getYear:function(ge){return ge.year()},getMonth:function(ge){return ge.month()},getDate:function(ge){return ge.date()},getHour:function(ge){return ge.hour()},getMinute:function(ge){return ge.minute()},getSecond:function(ge){return ge.second()},addYear:function(ge,me){return ge.add(me,"year")},addMonth:function(ge,me){return ge.add(me,"month")},addDate:function(ge,me){return ge.add(me,"day")},setYear:function(ge,me){return ge.year(me)},setMonth:function(ge,me){return ge.month(me)},setDate:function(ge,me){return ge.date(me)},setHour:function(ge,me){return ge.hour(me)},setMinute:function(ge,me){return ge.minute(me)},setSecond:function(ge,me){return ge.second(me)},isAfter:function(ge,me){return ge.isAfter(me)},isValidate:function(ge){return ge.isValid()},locale:{getWeekFirstDay:function(ge){return pe()().locale(x(ge)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ge,me){return me.locale(x(ge)).weekday(0)},getWeek:function(ge,me){return me.locale(x(ge)).week()},getShortWeekDays:function(ge){return pe()().locale(x(ge)).localeData().weekdaysMin()},getShortMonths:function(ge){return pe()().locale(x(ge)).localeData().monthsShort()},format:function(ge,me,Le){return me.locale(x(ge)).format(Le)},parse:function(ge,me,Le){for(var Oe=x(ge),ft=0;ft1&&(lt=ge.addDate(lt,-7)),lt}function La(de,ge,me){var Le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return me.addYear(de,Le*10);case"quarter":case"month":return me.addYear(de,Le);default:return me.addMonth(de,Le)}}function Ja(de,ge){var me=ge.generateConfig,Le=ge.locale,Oe=ge.format;return typeof Oe=="function"?Oe(de):me.locale.format(Le.locale,de,Oe)}function Sa(de,ge){var me=ge.generateConfig,Le=ge.locale,Oe=ge.formatList;return!de||typeof Oe[0]=="function"?null:me.locale.parse(Le.locale,de,Oe)}function hn(de){var ge=de.cellDate,me=de.mode,Le=de.disabledDate,Oe=de.generateConfig;if(!Le)return!1;var ft=function(kn,yt,ln){for(var zn=yt;zn<=ln;){var Ha=void 0;switch(kn){case"date":{if(Ha=Oe.setDate(ge,zn),!Le(Ha))return!1;break}case"month":{if(Ha=Oe.setMonth(ge,zn),!hn({cellDate:Ha,mode:"month",generateConfig:Oe,disabledDate:Le}))return!1;break}case"year":{if(Ha=Oe.setYear(ge,zn),!hn({cellDate:Ha,mode:"year",generateConfig:Oe,disabledDate:Le}))return!1;break}}zn+=1}return!0};switch(me){case"date":case"week":return Le(ge);case"month":{var lt=1,Ht=Oe.getDate(Oe.getEndDate(ge));return ft("date",lt,Ht)}case"quarter":{var zt=Math.floor(Oe.getMonth(ge)/3)*3,Wt=zt+2;return ft("month",zt,Wt)}case"year":return ft("month",0,11);case"decade":{var ea=Oe.getYear(ge),cn=Math.floor(ea/St)*St,gn=cn+St-1;return ft("year",cn,gn)}}}function ga(de,ge){var me=ge.formatList,Le=ge.generateConfig,Oe=ge.locale;return(0,Nn.Z)(function(){if(!de)return[[""],""];for(var ft="",lt=[],Ht=0;Ht1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Wt.current),zn){zt(ln);return}Wt.current=requestAnimationFrame(function(){zt(ln)})}var cn=ga(Ht,{formatList:me,generateConfig:Le,locale:Oe}),gn=(0,Jt.Z)(cn,2),jn=gn[1];function kn(ln){ea(ln)}function yt(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ea(null,ln)}return(0,le.useEffect)(function(){yt(!0)},[de]),(0,le.useEffect)(function(){return function(){return cancelAnimationFrame(Wt.current)}},[]),[jn,kn,yt]}var en=ae(10228),ya=ae(16089),lr=ae(94480),ir=ae(29194),nr=new Map;function Ga(de,ge){var me;function Le(){(0,ir.Z)(de)?ge():me=(0,ya.Z)(function(){Le()})}return Le(),function(){ya.Z.cancel(me)}}function yr(de,ge,me){if(nr.get(de)&&cancelAnimationFrame(nr.get(de)),me<=0){nr.set(de,requestAnimationFrame(function(){de.scrollTop=ge}));return}var Le=ge-de.scrollTop,Oe=Le/me*10;nr.set(de,requestAnimationFrame(function(){de.scrollTop+=Oe,de.scrollTop!==ge&&yr(de,ge,me-10)}))}function ia(de,ge){var me=ge.onLeftRight,Le=ge.onCtrlLeftRight,Oe=ge.onUpDown,ft=ge.onPageUpDown,lt=ge.onEnter,Ht=de.which,zt=de.ctrlKey,Wt=de.metaKey;switch(Ht){case en.Z.LEFT:if(zt||Wt){if(Le)return Le(-1),!0}else if(me)return me(-1),!0;break;case en.Z.RIGHT:if(zt||Wt){if(Le)return Le(1),!0}else if(me)return me(1),!0;break;case en.Z.UP:if(Oe)return Oe(-1),!0;break;case en.Z.DOWN:if(Oe)return Oe(1),!0;break;case en.Z.PAGE_UP:if(ft)return ft(-1),!0;break;case en.Z.PAGE_DOWN:if(ft)return ft(1),!0;break;case en.Z.ENTER:if(lt)return lt(),!0;break}return!1}function Oa(de,ge,me,Le){var Oe=de;if(!Oe)switch(ge){case"time":Oe=Le?"hh:mm:ss a":"HH:mm:ss";break;case"week":Oe="gggg-wo";break;case"month":Oe="YYYY-MM";break;case"quarter":Oe="YYYY-[Q]Q";break;case"year":Oe="YYYY";break;default:Oe=me?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Oe}function Rr(de,ge,me){var Le=de==="time"?8:10,Oe=typeof ge=="function"?ge(me.getNow()).length:ge.length;return Math.max(Le,Oe)+2}var It=null,vn=new Set;function ua(de){return!It&&typeof window!="undefined"&&window.addEventListener&&(It=function(me){(0,lr.Z)(vn).forEach(function(Le){Le(me)})},window.addEventListener("mousedown",It)),vn.add(de),function(){vn.delete(de),vn.size===0&&(window.removeEventListener("mousedown",It),It=null)}}function Mn(de){var ge=de.target;if(de.composed&&ge.shadowRoot){var me;return((me=de.composedPath)===null||me===void 0?void 0:me.call(de)[0])||ge}return ge}var Ze=function(ge){return ge==="month"||ge==="date"?"year":ge},kt=function(ge){return ge==="date"?"month":ge},Nt=function(ge){return ge==="month"||ge==="date"?"quarter":ge},tn=function(ge){return ge==="date"?"week":ge},nn={year:Ze,month:kt,quarter:Nt,week:tn,time:null,date:null};function Kn(de,ge){return de.some(function(me){return me&&me.contains(ge)})}function Ln(de){var ge=de.open,me=de.value,Le=de.isClickOutside,Oe=de.triggerOpen,ft=de.forwardKeyDown,lt=de.onKeyDown,Ht=de.blurToCancel,zt=de.onSubmit,Wt=de.onCancel,ea=de.onFocus,cn=de.onBlur,gn=de.changeOnBlur,jn=(0,le.useState)(!1),kn=(0,Jt.Z)(jn,2),yt=kn[0],ln=kn[1],zn=(0,le.useState)(!1),Ha=(0,Jt.Z)(zn,2),xa=Ha[0],Ua=Ha[1],Xa=(0,le.useRef)(!1),Qa=(0,le.useRef)(!1),ca=(0,le.useRef)(!1),Lr={onMouseDown:function(){ln(!0),Oe(!0)},onKeyDown:function(Jr){var Qr=function(){ca.current=!0};if(lt(Jr,Qr),!ca.current){switch(Jr.which){case en.Z.ENTER:{ge?zt()!==!1&&ln(!0):Oe(!0),Jr.preventDefault();return}case en.Z.TAB:{yt&&ge&&!Jr.shiftKey?(ln(!1),Jr.preventDefault()):!yt&&ge&&!ft(Jr)&&Jr.shiftKey&&(ln(!0),Jr.preventDefault());return}case en.Z.ESC:{ln(!0),Wt();return}}!ge&&![en.Z.SHIFT].includes(Jr.which)?Oe(!0):yt||ft(Jr)}},onFocus:function(Jr){ln(!0),Ua(!0),ea&&ea(Jr)},onBlur:function(Jr){if(Xa.current||!Le(document.activeElement)){Xa.current=!1;return}Ht?setTimeout(function(){for(var Qr=document,bo=Qr.activeElement;bo&&bo.shadowRoot;)bo=bo.shadowRoot.activeElement;Le(bo)&&Wt()},0):ge&&(Oe(!1),Qa.current&&zt()),Ua(!1),cn==null||cn(Jr)}};return(0,le.useEffect)(function(){Qa.current=!1},[ge]),(0,le.useEffect)(function(){Qa.current=!0},[me]),(0,le.useEffect)(function(){return ua(function(Ar){var Jr=Mn(Ar),Qr=Le(Jr);ge&&(Qr?!gn&&(!xa||Qr)&&Oe(!1):(Xa.current=!0,(0,ya.Z)(function(){Xa.current=!1})))})}),[Lr,{focused:xa,typing:yt}]}function $e(de,ge){return le.useMemo(function(){return de||(ge?((0,Be.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(me){var Le=(0,Jt.Z)(me,2),Oe=Le[0],ft=Le[1];return{label:Oe,value:ft}})):[])},[de,ge])}var ot=ae(34280);function _e(de){var ge=de.valueTexts,me=de.onTextChange,Le=le.useState(""),Oe=(0,Jt.Z)(Le,2),ft=Oe[0],lt=Oe[1],Ht=le.useRef([]);Ht.current=ge;function zt(ea){lt(ea),me(ea)}function Wt(){lt(Ht.current[0])}return(0,ot.Z)(function(){ge.every(function(ea){return ea!==ft})&&Wt()},[ge.join("||")]),[ft,zt,Wt]}var En=le.createContext({}),yn=En,Zn=ae(76190);function Ta(de){var ge=de.cellRender,me=de.monthCellRender,Le=de.dateRender,Oe=le.useMemo(function(){if(ge)return ge;if(!(!me&&!Le))return function(ft,lt){var Ht=ft;return Le&<.type==="date"?Le(Ht,lt.today):me&<.type==="month"?me(Ht,lt.locale):lt.originNode}},[ge,me,Le]);return Oe}function Fa(de,ge){for(var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Le=String(de);Le.length=1?me|0:1,lt=de;lt<=ge;lt+=ft)Oe.push({label:Fa(lt,2),value:lt,disabled:(Le||[]).includes(lt)});return Oe}function Br(de){var ge=de.generateConfig,me=de.prefixCls,Le=de.operationRef,Oe=de.activeColumnIndex,ft=de.value,lt=de.showHour,Ht=de.showMinute,zt=de.showSecond,Wt=de.use12Hours,ea=de.hourStep,cn=ea===void 0?1:ea,gn=de.minuteStep,jn=gn===void 0?1:gn,kn=de.secondStep,yt=kn===void 0?1:kn,ln=de.disabledHours,zn=de.disabledMinutes,Ha=de.disabledSeconds,xa=de.disabledTime,Ua=de.hideDisabledOptions,Xa=de.onSelect,Qa=de.cellRender,ca=de.locale,Lr=[],Ar="".concat(me,"-content"),Jr="".concat(me,"-time-panel"),Qr,bo=ft?ge.getHour(ft):-1,Ro=bo,zo=ft?ge.getMinute(ft):-1,Bo=ft?ge.getSecond(ft):-1,ro=ge.getNow(),co=le.useMemo(function(){if(xa){var zr=xa(ro);return[zr.disabledHours,zr.disabledMinutes,zr.disabledSeconds]}return[ln,zn,Ha]},[ln,zn,Ha,xa,ro]),Io=(0,Jt.Z)(co,3),an=Io[0],Co=Io[1],Yo=Io[2],pl=Mr(0,23,cn,an&&an()),il=(0,Nn.Z)(function(){return pl},pl,xr);Wt&&(Qr=Ro>=12,Ro%=12);var El=le.useMemo(function(){if(!Wt)return[!1,!1];var zr=[!0,!0];return il.forEach(function($o){var el=$o.disabled,Fl=$o.value;el||(Fl>=12?zr[1]=!1:zr[0]=!1)}),zr},[Wt,il]),nl=(0,Jt.Z)(El,2),Sl=nl[0],fo=nl[1],Uo=le.useMemo(function(){return Wt?il.filter(Qr?function(zr){return zr.value>=12}:function(zr){return zr.value<12}).map(function(zr){var $o=zr.value%12,el=$o===0?"12":Fa($o,2);return(0,tt.Z)((0,tt.Z)({},zr),{},{label:el,value:$o})}):il},[Wt,Qr,il]),Xr=Mr(0,59,jn,Co&&Co(bo)),Ol=Mr(0,59,yt,Yo&&Yo(bo,zo)),al=la({value:ft,generateConfig:ge,disabledMinutes:Co,disabledSeconds:Yo,minutes:Xr,seconds:Ol,use12Hours:Wt});Le.current={onUpDown:function($o){var el=Lr[Oe];if(el)for(var Fl=el.units.findIndex(function(di){return di.value===el.value}),Ll=el.units.length,Da=1;Da2&&arguments[2]!==void 0?arguments[2]:!1;(ce===ln||ja)&&(yi(Un),Lr&&Lr(Un),al&&al(Un,Ya),Ar&&!wa(zt,Un,bl)&&!(jn!=null&&jn(Un))&&Ar(Un))},ht=function(Un){if(ti.includes(ce)){var Ya,ja,ao=ce==="date";switch(Un===en.Z.PAGE_UP||Un===en.Z.PAGE_DOWN?ja=ao?zt.addMonth:zt.addYear:ja=ao?zt.addDate:zt.addMonth,Un){case en.Z.LEFT:case en.Z.PAGE_UP:Ya=ja(rl,-1);break;case en.Z.RIGHT:case en.Z.PAGE_DOWN:Ya=ja(rl,1);break;case en.Z.UP:case en.Z.DOWN:Ya=ja(rl,Number("".concat(Un===en.Z.UP?"-":"").concat(ao?it:Ko)));break}if(Ya)return!(jn!=null&&jn(Ya))}return!0},rn=function(Un){if(Da.current&&Da.current.onKeyDown){var Ya=!0,ja=Un.which;if([en.Z.LEFT,en.Z.RIGHT,en.Z.UP,en.Z.DOWN,en.Z.PAGE_UP,en.Z.PAGE_DOWN,en.Z.ENTER].includes(ja)&&(Un.preventDefault(),ja!==en.Z.ENTER&&Ha===0&&(Ya=ht(ja))),Ya)return Da.current.onKeyDown(Un)}return(0,Be.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},An=function(Un){Da.current&&Da.current.onBlur&&Da.current.onBlur(Un)};Ol&&el!=="right"&&(Ol.current={onKeyDown:rn,onClose:function(){Da.current&&Da.current.onClose&&Da.current.onClose()}}),le.useEffect(function(){Wt&&!Pl.current&&Tl(Wt)},[Wt]),le.useEffect(function(){Pl.current=!1},[]);var mn,Lt=Ta({cellRender:El,monthCellRender:il,dateRender:pl}),Xt=(0,tt.Z)((0,tt.Z)({},de),{},{cellRender:Lt,operationRef:Da,prefixCls:Oe,viewDate:rl,value:bl,onViewDateChange:Ql,sourceMode:Zt,onPanelChange:Cn,disabledDate:jn});switch(delete Xt.onChange,delete Xt.onSelect,ce){case"decade":mn=le.createElement(ur,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}));break;case"year":mn=le.createElement(Jo,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}));break;case"month":mn=le.createElement($t,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}));break;case"quarter":mn=le.createElement(Jn,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}));break;case"week":mn=le.createElement(_t,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}));break;case"time":delete Xt.showTime,mn=le.createElement(tl,(0,ue.Z)({},Xt,(0,Zn.Z)(Ua)==="object"?Ua:null,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}));break;default:Ua?mn=le.createElement(uo,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}})):mn=le.createElement(hr,(0,ue.Z)({},Xt,{onSelect:function(Un,Ya){Ql(Un),qt(Un,Ya)}}))}var Dn,bn,Vn=function(){var Un=zt.getNow(),Ya=Bt(zt.getHour(Un),zt.getMinute(Un),zt.getSecond(Un),Sl?co:1,fo?an:1,Uo?Yo:1),ja=gr(zt,Un,Ya[0],Ya[1],Ya[2]);qt(ja,"submit")};Gl||(Dn=vl(Oe,ce,Qa),Ua&&ce!=="date"?bn=null:bn=hl({prefixCls:Oe,components:zo,needConfirmButton:nl,okDisabled:!bl||jn&&jn(bl),locale:Ht,showNow:xa,onNow:nl&&Vn,onOk:function(){bl&&(qt(bl,"submit",!0),Ro&&Ro(bl))}}));var xn;if(Xa&&ce==="date"&&ln==="date"&&!Ua){var Gn=zt.getNow(),rr="".concat(Oe,"-today-btn"),Bn=jn&&jn(Gn);xn=le.createElement("a",{className:Ie()(rr,Bn&&"".concat(rr,"-disabled")),"aria-disabled":Bn,onClick:function(){Bn||qt(Gn,"mouse",!0)}},Ht.today)}return le.createElement(yn.Provider,{value:(0,tt.Z)((0,tt.Z)({},Xr),{},{mode:ce,hideHeader:"hideHeader"in de?ca:Xr.hideHeader,hidePrevBtn:$o&&el==="right",hideNextBtn:$o&&el==="left"})},le.createElement("div",{tabIndex:Ha,className:Ie()("".concat(Oe,"-panel"),ft,(ge={},(0,be.Z)(ge,"".concat(Oe,"-panel-has-range"),Fl&&Fl[0]&&Fl[1]),(0,be.Z)(ge,"".concat(Oe,"-panel-has-range-hover"),Ll&&Ll[0]&&Ll[1]),(0,be.Z)(ge,"".concat(Oe,"-panel-rtl"),Bo==="rtl"),ge)),style:lt,onKeyDown:rn,onBlur:An,onMouseDown:Qr},mn,Dn||bn||xn?le.createElement("div",{className:"".concat(Oe,"-footer")},Dn,bn,xn):null))}var cr=so,Pt=ae(35593),dt={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Ot(de){var ge,me=de.prefixCls,Le=de.popupElement,Oe=de.popupStyle,ft=de.visible,lt=de.dropdownClassName,Ht=de.dropdownAlign,zt=de.transitionName,Wt=de.getPopupContainer,ea=de.children,cn=de.range,gn=de.popupPlacement,jn=de.direction,kn="".concat(me,"-dropdown"),yt=function(){return gn!==void 0?gn:jn==="rtl"?"bottomRight":"bottomLeft"};return le.createElement(Pt.Z,{showAction:[],hideAction:[],popupPlacement:yt(),builtinPlacements:dt,prefixCls:kn,popupTransitionName:zt,popup:Le,popupAlign:Ht,popupVisible:ft,popupClassName:Ie()(lt,(ge={},(0,be.Z)(ge,"".concat(kn,"-range"),cn),(0,be.Z)(ge,"".concat(kn,"-rtl"),jn==="rtl"),ge)),popupStyle:Oe,getPopupContainer:Wt},ea)}var Fn=Ot;function pa(de){var ge=de.prefixCls,me=de.presets,Le=de.onClick,Oe=de.onHover;return me.length?le.createElement("div",{className:"".concat(ge,"-presets")},le.createElement("ul",null,me.map(function(ft,lt){var Ht=ft.label,zt=ft.value;return le.createElement("li",{key:lt,onClick:function(){return Le==null?void 0:Le(_a(zt))},onMouseEnter:function(){return Oe==null?void 0:Oe(_a(zt))},onMouseLeave:function(){return Oe==null?void 0:Oe(null)}},Ht)}))):null}function Ma(de){var ge=de.picker,me=de.disabledHours,Le=de.disabledMinutes,Oe=de.disabledSeconds;ge==="time"&&(me||Le||Oe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function un(de,ge,me){var Le=(0,Zn.Z)(ge)==="object"?ge.clearIcon:me;return Le||le.createElement("span",{className:"".concat(de,"-clear-btn")})}function Ra(de){var ge,me=de,Le=me.prefixCls,Oe=Le===void 0?"rc-picker":Le,ft=me.id,lt=me.name,Ht=me.tabIndex,zt=me.style,Wt=me.className,ea=me.dropdownClassName,cn=me.dropdownAlign,gn=me.popupStyle,jn=me.transitionName,kn=me.generateConfig,yt=me.locale,ln=me.inputReadOnly,zn=me.allowClear,Ha=me.autoFocus,xa=me.showTime,Ua=me.picker,Xa=Ua===void 0?"date":Ua,Qa=me.format,ca=me.use12Hours,Lr=me.value,Ar=me.defaultValue,Jr=me.presets,Qr=me.open,bo=me.defaultOpen,Ro=me.defaultOpenValue,zo=me.suffixIcon,Bo=me.clearIcon,ro=me.disabled,co=me.disabledDate,Io=me.placeholder,an=me.getPopupContainer,Co=me.pickerRef,Yo=me.panelRender,pl=me.onChange,il=me.onOpenChange,El=me.onFocus,nl=me.onBlur,Sl=me.onMouseDown,fo=me.onMouseUp,Uo=me.onMouseEnter,Xr=me.onMouseLeave,Ol=me.onContextMenu,al=me.onClick,Gl=me.onKeyDown,_l=me.onSelect,zr=me.direction,$o=me.autoComplete,el=$o===void 0?"off":$o,Fl=me.inputRender,Ll=me.changeOnBlur,Da=le.useRef(null),Pl=Xa==="date"&&!!xa||Xa==="time",di=$e(Jr),ai=Ia(Oa(Qa,Xa,xa,ca)),bl=le.useRef(null),yi=le.useRef(null),Zi=le.useRef(null),Oi=(0,nt.Z)(null,{value:Lr,defaultValue:Ar}),rl=(0,Jt.Z)(Oi,2),Tl=rl[0],Ql=rl[1],ri=le.useState(Tl),fi=(0,Jt.Z)(ri,2),Ul=fi[0],ce=fi[1],Pe=le.useRef(null),ye=(0,nt.Z)(!1,{value:Qr,defaultValue:bo,postState:function(er){return ro?!1:er},onChange:function(er){il&&il(er),!er&&Pe.current&&Pe.current.onClose&&Pe.current.onClose()}}),pt=(0,Jt.Z)(ye,2),Zt=pt[0],Yn=pt[1],Cn=ga(Ul,{formatList:ai,generateConfig:kn,locale:yt}),qt=(0,Jt.Z)(Cn,2),ht=qt[0],rn=qt[1],An=_e({valueTexts:ht,onTextChange:function(er){var Oo=Sa(er,{locale:yt,formatList:ai,generateConfig:kn});Oo&&(!co||!co(Oo))&&ce(Oo)}}),mn=(0,Jt.Z)(An,3),Lt=mn[0],Xt=mn[1],Dn=mn[2],bn=function(er){ce(er),Ql(er),pl&&!wa(kn,Tl,er)&&pl(er,er?Ja(er,{generateConfig:kn,locale:yt,format:ai[0]}):"")},Vn=function(er){ro&&er||Yn(er)},xn=function(er){return Zt&&Pe.current&&Pe.current.onKeyDown?Pe.current.onKeyDown(er):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Gn=function(){for(var er=arguments.length,Oo=new Array(er),Al=0;Algn(Wt);case"month":return cn(yt)>cn(Wt);case"week":return ea(yt)>ea(Wt);default:return!Hn(Ht,yt,Wt)&&Ht.isAfter(yt,Wt)}return!1},[ft,lt[1],Wt,ge]),kn=le.useCallback(function(yt){if(lt[1]||ft&&ft(yt))return!0;if(lt[0]&&zt)return!Hn(Ht,yt,Wt)&&Ht.isAfter(zt,yt);if(!ge&&zt)switch(me){case"quarter":return gn(yt)0&&arguments[0]!==void 0?arguments[0]:!1,Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ir=null;oo&&ql&&ql[0]&&ql[1]&&yt.isAfter(ql[1],ql[0])&&(Ir=ql);var ko=ca;if(ca&&(0,Zn.Z)(ca)==="object"&&ca.defaultValue){var dl=ca.defaultValue;ko=(0,tt.Z)((0,tt.Z)({},ca),{},{defaultValue:ma(dl,or)||void 0})}return le.createElement(jt.Provider,{value:{inRange:!0,panelPosition:Fo,rangedValue:rs||Rt,hoverRangedValue:Ir}},le.createElement(cr,(0,ue.Z)({},de,Er,{cellRender:Vu,showTime:ko,mode:ao[or],generateConfig:yt,style:void 0,direction:rl,disabledDate:or===0?ml:kl,disabledTime:function(wi){return co?co(wi,or===0?"start":"end"):!1},className:Ie()((0,be.Z)({},"".concat(lt,"-panel-focused"),or===0?!$r:!pi)),value:ma(Rt,or),locale:ln,tabIndex:-1,onPanelChange:function(wi,ki){or===0&&Ci(!0),or===1&&Au(!0),Ur(Vt(ao,ki,or),Vt(Rt,wi,or));var Ki=wi;Fo==="right"&&ao[or]===ki&&(Ki=La(Ki,ki,yt,-1)),Gn(Ki,or)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:or===0?ma(Rt,1):ma(Rt,0)})))}var xi=0,Fu=0;if(or&&ye.current&&Zt.current&&Pe.current&&qt.current){xi=ye.current.offsetWidth+Zt.current.offsetWidth;var Qu=qt.current.offsetLeft>xi?qt.current.offsetLeft-xi:qt.current.offsetLeft,bu=Pe.current.offsetWidth,Bu=qt.current.offsetWidth;bu&&Bu&&xi>bu-Bu-(rl==="rtl"?0:Qu)&&(Fu=xi)}var bs=rl==="rtl"?{right:xi}:{left:xi};function Bs(){var Fo,Er=vl(lt,ao[or],al),Ir=hl({prefixCls:lt,components:Zi,needConfirmButton:Ul,okDisabled:!ma(Rt,or)||ro&&ro(Rt[or]),locale:ln,onOk:function(){var hi=ma(Rt,or);hi&&(Al(Rt,or),bl==null||bl(Rt),ba(!1,or,"confirm"))}});if(Qa!=="time"&&!ca){var ko=xn(or),dl=La(ko,Qa,yt),Cu=ao[or],wi=Cu===Qa,ki=ru(wi?"left":!1,{pickerValue:ko,onPickerValueChange:function(hi){Gn(hi,or)}}),Ki=ru("right",{pickerValue:dl,onPickerValueChange:function(hi){Gn(La(hi,Qa,yt,-1),or)}});rl==="rtl"?Fo=le.createElement(le.Fragment,null,Ki,wi&&ki):Fo=le.createElement(le.Fragment,null,ki,wi&&Ki)}else Fo=ru();var xu=le.createElement("div",{className:"".concat(lt,"-panel-layout")},le.createElement(pa,{prefixCls:lt,presets:Wu,onClick:function(hi){Al(hi,null),ba(!1,or,"preset")},onHover:function(hi){Su(hi)}}),le.createElement("div",null,le.createElement("div",{className:"".concat(lt,"-panels")},Fo),(Er||Ir)&&le.createElement("div",{className:"".concat(lt,"-footer")},Er,Ir)));return Yo&&(xu=Yo(xu)),le.createElement("div",{className:"".concat(lt,"-panel-container"),style:{marginLeft:Fu},ref:Pe,onMouseDown:function(hi){hi.preventDefault()}},xu)}var Cs=le.createElement("div",{className:Ie()("".concat(lt,"-range-wrapper"),"".concat(lt,"-").concat(Qa,"-range-wrapper")),style:{minWidth:yo}},le.createElement("div",{ref:qt,className:"".concat(lt,"-range-arrow"),style:bs}),Bs()),fs;Sl&&(fs=le.createElement("span",{className:"".concat(lt,"-suffix"),onMouseDown:function(Er){Er.preventDefault()}},Sl));var xs=un(lt,nl,fo),ws=le.createElement("span",{onMouseDown:function(Er){Er.preventDefault(),Er.stopPropagation()},onMouseUp:function(Er){Er.preventDefault(),Er.stopPropagation();var Ir=Xt;An[0]||(Ir=Vt(Ir,null,0)),An[1]||(Ir=Vt(Ir,null,1)),Al(Ir,null),ba(!1,or,"clear")},className:"".concat(lt,"-clear"),role:"button"},xs),Uu=nl&&(ma(Xt,0)&&!An[0]||ma(Xt,1)&&!An[1]),us={size:Rr(Qa,ht[0],yt)},ss=0,ds=0;ye.current&&pt.current&&Zt.current&&(or===0?ds=ye.current.offsetWidth:(ss=xi,ds=pt.current.offsetWidth));var Ds=rl==="rtl"?{right:ss}:{left:ss},Ls=function(Er,Ir){var ko=Vt(Rt,Er,or);if(Ir==="submit"||Ir!=="key"&&!Ul){Al(ko,or),or===0?Ci():Au();var dl=or===0?1:0;An[dl]?ba(!1,!1,"confirm"):ba(!1,or,"confirm")}else Un(ko)};return le.createElement(yn.Provider,{value:{operationRef:rn,hideHeader:Qa==="time",onDateMouseEnter:Ri,onDateMouseLeave:os,hideRanges:!0,onSelect:Ls,open:oo}},le.createElement(Fn,{visible:oo,popupElement:Cs,popupStyle:ea,prefixCls:lt,dropdownClassName:cn,dropdownAlign:jn,getPopupContainer:kn,transitionName:gn,range:!0,direction:rl},le.createElement("div",(0,ue.Z)({ref:ce,className:Ie()(lt,"".concat(lt,"-range"),Wt,(ge={},(0,be.Z)(ge,"".concat(lt,"-disabled"),An[0]&&An[1]),(0,be.Z)(ge,"".concat(lt,"-focused"),or===0?jr:Wl),(0,be.Z)(ge,"".concat(lt,"-rtl"),rl==="rtl"),ge)),style:zt,onClick:mu,onMouseEnter:Pl,onMouseLeave:di,onMouseDown:fu,onMouseUp:Da},(0,vt.Z)(de,{aria:!0,data:!0})),le.createElement("div",{className:Ie()("".concat(lt,"-input"),(me={},(0,be.Z)(me,"".concat(lt,"-input-active"),or===0),(0,be.Z)(me,"".concat(lt,"-input-placeholder"),!!Rl),me)),ref:ye},le.createElement("input",(0,ue.Z)({id:Ht,disabled:An[0],readOnly:Xr||typeof ht[0]=="function"||!$r,value:Rl||Xl,onChange:function(Er){oi(Er.target.value)},autoFocus:Ha,placeholder:ma(zn,0)||"",ref:Yn},vo,us,{autoComplete:ri}))),le.createElement("div",{className:"".concat(lt,"-range-separator"),ref:Zt},Jr),le.createElement("div",{className:Ie()("".concat(lt,"-input"),(Le={},(0,be.Z)(Le,"".concat(lt,"-input-active"),or===1),(0,be.Z)(Le,"".concat(lt,"-input-placeholder"),!!ju),Le)),ref:pt},le.createElement("input",(0,ue.Z)({disabled:An[1],readOnly:Xr||typeof ht[0]=="function"||!pi,value:ju||tu,onChange:function(Er){Qi(Er.target.value)},placeholder:ma(zn,1)||"",ref:Cn},gi,us,{autoComplete:ri}))),le.createElement("div",{className:"".concat(lt,"-active-bar"),style:(0,tt.Z)((0,tt.Z)({},Ds),{},{width:ds,position:"absolute"})}),fs,Uu&&ws)))}var wl=function(de){(0,Ve.Z)(me,de);var ge=(0,Ut.Z)(me);function me(){var Le;(0,at.Z)(this,me);for(var Oe=arguments.length,ft=new Array(Oe),lt=0;lt{const{lineHeight:Oe}=de,ft=Math.floor(me*Oe)+2,lt=Math.max((ge-ft)/2,0),Ht=Math.max(ge-ft-lt,0);return{padding:`${lt}px ${Le}px ${Ht}px`}},Iu=de=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Le,cellHeight:Oe,motionDurationSlow:ft,borderRadiusSM:lt,motionDurationMid:Ht,cellHoverBg:zt,lineWidth:Wt,lineType:ea,colorPrimary:cn,cellActiveWithRangeBg:gn,colorTextLightSolid:jn,controlHeightSM:kn,cellRangeBorderColor:yt,pickerCellBorderGap:ln,cellHoverWithRangeBg:zn,cellWidth:Ha,colorTextDisabled:xa,cellBgDisabled:Ua}=de;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Oe,transform:"translateY(-50%)",transition:`all ${ft}`,content:'""'},[Le]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Oe,height:Oe,lineHeight:`${Oe}px`,borderRadius:lt,transition:`background ${Ht}, border ${Ht}`},"&-range-hover-start, &-range-hover-end":{[Le]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${me}-in-view), - &:hover:not(${me}-selected):not(${me}-range-start):not(${me}-range-end):not(${me}-range-hover-start):not(${me}-range-hover-end)`]:{[Le]:{background:zt}},[`&-in-view${me}-today ${Le}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Wt}px ${ea} ${cn}`,borderRadius:lt,content:'""'}},[`&-in-view${me}-in-range`]:{position:"relative","&::before":{background:gn}},[`&-in-view${me}-selected ${Le}, + & > ${pt}-header`]:{borderRadius:`0 0 ${Kt}px ${Kt}px`}},[`> ${pt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:yt,color:ya,lineHeight:rr,cursor:"pointer",transition:`all ${En}, visibility 0s`,[`> ${pt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${pt}-expand-icon`]:{height:Ya*rr,display:"flex",alignItems:"center",paddingInlineEnd:qa},[`${pt}-arrow`]:Object.assign(Object.assign({},(0,un.Ro)()),{fontSize:Qa,svg:{transition:`transform ${En}`}}),[`${pt}-header-text`]:{marginInlineEnd:"auto"}},[`${pt}-header-collapsible-only`]:{cursor:"default",[`${pt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${pt}-icon-collapsible-only`]:{cursor:"default",[`${pt}-expand-icon`]:{cursor:"pointer"}}},[`${pt}-content`]:{color:On,backgroundColor:_n,borderTop:dn,[`& > ${pt}-content-box`]:{padding:Ht},"&-hidden":{display:"none"}},"&-small":{[`> ${pt}-item`]:{[`> ${pt}-header`]:{padding:Gn,paddingInlineStart:va,[`> ${pt}-expand-icon`]:{marginInlineStart:Fa-va}},[`> ${pt}-content > ${pt}-content-box`]:{padding:Fa}}},"&-large":{[`> ${pt}-item`]:{fontSize:Ca,[`> ${pt}-header`]:{padding:Qn,paddingInlineStart:Zt,[`> ${pt}-expand-icon`]:{height:Ca*rr,marginInlineStart:Va-Zt}},[`> ${pt}-content > ${pt}-content-box`]:{padding:Va}}},[`${pt}-item:last-child`]:{[`> ${pt}-content`]:{borderRadius:`0 0 ${Kt}px ${Kt}px`}},[`& ${pt}-item-disabled > ${pt}-header`]:{"\n &,\n & > .arrow\n ":{color:Za,cursor:"not-allowed"}},[`&${pt}-icon-position-end`]:{[`& > ${pt}-item`]:{[`> ${pt}-header`]:{[`${pt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:qa}}}}})}},It=nt=>{const{componentCls:pt}=nt,_n=`> ${pt}-item > ${pt}-header ${pt}-arrow svg`;return{[`${pt}-rtl`]:{[_n]:{transform:"rotate(180deg)"}}}},hn=nt=>{const{componentCls:pt,headerBg:_n,paddingXXS:Zt,colorBorder:At}=nt;return{[`${pt}-borderless`]:{backgroundColor:_n,border:0,[`> ${pt}-item`]:{borderBottom:`1px solid ${At}`},[` + > ${pt}-item:last-child, + > ${pt}-item:last-child ${pt}-header + `]:{borderRadius:0},[`> ${pt}-item:last-child`]:{borderBottom:0},[`> ${pt}-item > ${pt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${pt}-item > ${pt}-content > ${pt}-content-box`]:{paddingTop:Zt}}}},Pt=nt=>{const{componentCls:pt,paddingSM:_n}=nt;return{[`${pt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${pt}-item`]:{borderBottom:0,[`> ${pt}-content`]:{backgroundColor:"transparent",border:0,[`> ${pt}-content-box`]:{paddingBlock:_n}}}}}};var sn=(0,ht.Z)("Collapse",nt=>{const pt=(0,Te.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[rt(pt),hn(pt),Pt(pt),It(pt),(0,Vt.Z)(pt)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),qe=Object.assign(we.forwardRef((nt,pt)=>{const{getPrefixCls:_n,direction:Zt,collapse:At}=we.useContext(mt.E_),{prefixCls:yt,className:Gn,rootClassName:Qn,style:Kt,bordered:ta=!0,ghost:Ba,size:Un,expandIconPosition:On="start",children:ya,expandIcon:Za}=nt,Ya=(0,Ct.Z)(dn=>{var Aa;return(Aa=Un!=null?Un:dn)!==null&&Aa!==void 0?Aa:"middle"}),Ca=_n("collapse",yt),rr=_n(),[qa,Fa]=sn(Ca),Va=we.useMemo(()=>On==="left"?"start":On==="right"?"end":On,[On]),va=function(){let dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Aa=Za?Za(dn):we.createElement(y.Z,{rotate:dn.isActive?90:void 0});return(0,ct.Tm)(Aa,()=>({className:Fe()(Aa.props.className,`${Ca}-arrow`)}))},En=Fe()(`${Ca}-icon-position-${Va}`,{[`${Ca}-borderless`]:!ta,[`${Ca}-rtl`]:Zt==="rtl",[`${Ca}-ghost`]:!!Ba,[`${Ca}-${Ya}`]:Ya!=="middle"},At==null?void 0:At.className,Gn,Qn,Fa),Qa=Object.assign(Object.assign({},(0,Ce.Z)(rr)),{motionAppear:!1,leavedClassName:`${Ca}-content-hidden`}),Ht=we.useMemo(()=>ya?(0,Ze.Z)(ya).map((dn,Aa)=>{var er,tr;if(!((er=dn.props)===null||er===void 0)&&er.disabled){const _a=(tr=dn.key)!==null&&tr!==void 0?tr:String(Aa),{disabled:ka,collapsible:br}=dn.props,la=Object.assign(Object.assign({},(0,Xe.Z)(dn.props,["disabled"])),{key:_a,collapsible:br!=null?br:ka?"disabled":void 0});return(0,ct.Tm)(dn,la)}return dn}):null,[ya]);return qa(we.createElement(Ke,Object.assign({ref:pt,openMotion:Qa},(0,Xe.Z)(nt,["rootClassName"]),{expandIcon:va,prefixCls:Ca,className:En,style:Object.assign(Object.assign({},At==null?void 0:At.style),Kt)}),Ht))}),{Panel:fn}),qt=qe},5083:function(it,Tt,ae){"use strict";ae.d(Tt,{default:function(){return ms}});var y=ae(56656),pe=ae.n(y),Fe=ae(48736),Me=ae(27112),ke=ae.n(Me),Ue=ae(54449),xe=ae.n(Ue),Qe=ae(53501),Ie=ae.n(Qe),we=ae(36867),Re=ae.n(we),Ze=ae(71912),Ye=ae.n(Ze),ie=ae(48228),E=ae.n(ie);pe().extend(E()),pe().extend(Ye()),pe().extend(ke()),pe().extend(xe()),pe().extend(Ie()),pe().extend(Re()),pe().extend(function(ce,ge){var me=ge.prototype,Le=me.format;me.format=function(gt){var at=(gt||"").replace("Wo","wo");return Le.bind(this)(at)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ge){var me=a[ge];return me||ge.split("_")[0]},b=function(){(0,Fe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return pe()()},getFixedDate:function(ge){return pe()(ge,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ge){return ge.endOf("month")},getWeekDay:function(ge){var me=ge.locale("en");return me.weekday()+me.localeData().firstDayOfWeek()},getYear:function(ge){return ge.year()},getMonth:function(ge){return ge.month()},getDate:function(ge){return ge.date()},getHour:function(ge){return ge.hour()},getMinute:function(ge){return ge.minute()},getSecond:function(ge){return ge.second()},addYear:function(ge,me){return ge.add(me,"year")},addMonth:function(ge,me){return ge.add(me,"month")},addDate:function(ge,me){return ge.add(me,"day")},setYear:function(ge,me){return ge.year(me)},setMonth:function(ge,me){return ge.month(me)},setDate:function(ge,me){return ge.date(me)},setHour:function(ge,me){return ge.hour(me)},setMinute:function(ge,me){return ge.minute(me)},setSecond:function(ge,me){return ge.second(me)},isAfter:function(ge,me){return ge.isAfter(me)},isValidate:function(ge){return ge.isValid()},locale:{getWeekFirstDay:function(ge){return pe()().locale(x(ge)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ge,me){return me.locale(x(ge)).weekday(0)},getWeek:function(ge,me){return me.locale(x(ge)).week()},getShortWeekDays:function(ge){return pe()().locale(x(ge)).localeData().weekdaysMin()},getShortMonths:function(ge){return pe()().locale(x(ge)).localeData().monthsShort()},format:function(ge,me,Le){return me.locale(x(ge)).format(Le)},parse:function(ge,me,Le){for(var Ne=x(ge),gt=0;gt1&&(at=ge.addDate(at,-7)),at}function Fa(ce,ge,me){var Le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return me.addYear(ce,Le*10);case"quarter":case"month":return me.addYear(ce,Le);default:return me.addMonth(ce,Le)}}function Va(ce,ge){var me=ge.generateConfig,Le=ge.locale,Ne=ge.format;return typeof Ne=="function"?Ne(ce):me.locale.format(Le.locale,ce,Ne)}function va(ce,ge){var me=ge.generateConfig,Le=ge.locale,Ne=ge.formatList;return!ce||typeof Ne[0]=="function"?null:me.locale.parse(Le.locale,ce,Ne)}function En(ce){var ge=ce.cellDate,me=ce.mode,Le=ce.disabledDate,Ne=ce.generateConfig;if(!Le)return!1;var gt=function(Rn,Dt,Wt){for(var kn=Dt;kn<=Wt;){var cn=void 0;switch(Rn){case"date":{if(cn=Ne.setDate(ge,kn),!Le(cn))return!1;break}case"month":{if(cn=Ne.setMonth(ge,kn),!En({cellDate:cn,mode:"month",generateConfig:Ne,disabledDate:Le}))return!1;break}case"year":{if(cn=Ne.setYear(ge,kn),!En({cellDate:cn,mode:"year",generateConfig:Ne,disabledDate:Le}))return!1;break}}kn+=1}return!0};switch(me){case"date":case"week":return Le(ge);case"month":{var at=1,Lt=Ne.getDate(Ne.getEndDate(ge));return gt("date",at,Lt)}case"quarter":{var Nt=Math.floor(Ne.getMonth(ge)/3)*3,kt=Nt+2;return gt("month",Nt,kt)}case"year":return gt("month",0,11);case"decade":{var Xn=Ne.getYear(ge),ln=Math.floor(Xn/At)*At,gn=ln+At-1;return gt("year",ln,gn)}}}function Qa(ce,ge){var me=ge.formatList,Le=ge.generateConfig,Ne=ge.locale;return(0,_n.Z)(function(){if(!ce)return[[""],""];for(var gt="",at=[],Lt=0;Lt1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(kt.current),kn){Nt(Wt);return}kt.current=requestAnimationFrame(function(){Nt(Wt)})}var ln=Qa(Lt,{formatList:me,generateConfig:Le,locale:Ne}),gn=(0,qt.Z)(ln,2),Tn=gn[1];function Rn(Wt){Xn(Wt)}function Dt(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Xn(null,Wt)}return(0,le.useEffect)(function(){Dt(!0)},[ce]),(0,le.useEffect)(function(){return function(){return cancelAnimationFrame(kt.current)}},[]),[Tn,Rn,Dt]}var dn=ae(10228),Aa=ae(16089),er=ae(94480),tr=ae(29194),_a=new Map;function ka(ce,ge){var me;function Le(){(0,tr.Z)(ce)?ge():me=(0,Aa.Z)(function(){Le()})}return Le(),function(){Aa.Z.cancel(me)}}function br(ce,ge,me){if(_a.get(ce)&&cancelAnimationFrame(_a.get(ce)),me<=0){_a.set(ce,requestAnimationFrame(function(){ce.scrollTop=ge}));return}var Le=ge-ce.scrollTop,Ne=Le/me*10;_a.set(ce,requestAnimationFrame(function(){ce.scrollTop+=Ne,ce.scrollTop!==ge&&br(ce,ge,me-10)}))}function la(ce,ge){var me=ge.onLeftRight,Le=ge.onCtrlLeftRight,Ne=ge.onUpDown,gt=ge.onPageUpDown,at=ge.onEnter,Lt=ce.which,Nt=ce.ctrlKey,kt=ce.metaKey;switch(Lt){case dn.Z.LEFT:if(Nt||kt){if(Le)return Le(-1),!0}else if(me)return me(-1),!0;break;case dn.Z.RIGHT:if(Nt||kt){if(Le)return Le(1),!0}else if(me)return me(1),!0;break;case dn.Z.UP:if(Ne)return Ne(-1),!0;break;case dn.Z.DOWN:if(Ne)return Ne(1),!0;break;case dn.Z.PAGE_UP:if(gt)return gt(-1),!0;break;case dn.Z.PAGE_DOWN:if(gt)return gt(1),!0;break;case dn.Z.ENTER:if(at)return at(),!0;break}return!1}function Na(ce,ge,me,Le){var Ne=ce;if(!Ne)switch(ge){case"time":Ne=Le?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ne="gggg-wo";break;case"month":Ne="YYYY-MM";break;case"quarter":Ne="YYYY-[Q]Q";break;case"year":Ne="YYYY";break;default:Ne=me?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ne}function Wr(ce,ge,me){var Le=ce==="time"?8:10,Ne=typeof ge=="function"?ge(me.getNow()).length:ge.length;return Math.max(Le,Ne)+2}var Ot=null,Fn=new Set;function ia(ce){return!Ot&&typeof window!="undefined"&&window.addEventListener&&(Ot=function(me){(0,er.Z)(Fn).forEach(function(Le){Le(me)})},window.addEventListener("mousedown",Ot)),Fn.add(ce),function(){Fn.delete(ce),Fn.size===0&&(window.removeEventListener("mousedown",Ot),Ot=null)}}function jn(ce){var ge=ce.target;if(ce.composed&&ge.shadowRoot){var me;return((me=ce.composedPath)===null||me===void 0?void 0:me.call(ce)[0])||ge}return ge}var He=function(ge){return ge==="month"||ge==="date"?"year":ge},Yt=function(ge){return ge==="date"?"month":ge},xt=function(ge){return ge==="month"||ge==="date"?"quarter":ge},rn=function(ge){return ge==="date"?"week":ge},tn={year:He,month:Yt,quarter:xt,week:rn,time:null,date:null};function Vn(ce,ge){return ce.some(function(me){return me&&me.contains(ge)})}function Ln(ce){var ge=ce.open,me=ce.value,Le=ce.isClickOutside,Ne=ce.triggerOpen,gt=ce.forwardKeyDown,at=ce.onKeyDown,Lt=ce.blurToCancel,Nt=ce.onSubmit,kt=ce.onCancel,Xn=ce.onFocus,ln=ce.onBlur,gn=ce.changeOnBlur,Tn=(0,le.useState)(!1),Rn=(0,qt.Z)(Tn,2),Dt=Rn[0],Wt=Rn[1],kn=(0,le.useState)(!1),cn=(0,qt.Z)(kn,2),pa=cn[0],ja=cn[1],Ga=(0,le.useRef)(!1),Ta=(0,le.useRef)(!1),Sa=(0,le.useRef)(!1),_r={onMouseDown:function(){Wt(!0),Ne(!0)},onKeyDown:function(to){var no=function(){Sa.current=!0};if(at(to,no),!Sa.current){switch(to.which){case dn.Z.ENTER:{ge?Nt()!==!1&&Wt(!0):Ne(!0),to.preventDefault();return}case dn.Z.TAB:{Dt&&ge&&!to.shiftKey?(Wt(!1),to.preventDefault()):!Dt&&ge&&!gt(to)&&to.shiftKey&&(Wt(!0),to.preventDefault());return}case dn.Z.ESC:{Wt(!0),kt();return}}!ge&&![dn.Z.SHIFT].includes(to.which)?Ne(!0):Dt||gt(to)}},onFocus:function(to){Wt(!0),ja(!0),Xn&&Xn(to)},onBlur:function(to){if(Ga.current||!Le(document.activeElement)){Ga.current=!1;return}Lt?setTimeout(function(){for(var no=document,Mo=no.activeElement;Mo&&Mo.shadowRoot;)Mo=Mo.shadowRoot.activeElement;Le(Mo)&&kt()},0):ge&&(Ne(!1),Ta.current&&Nt()),ja(!1),ln==null||ln(to)}};return(0,le.useEffect)(function(){Ta.current=!1},[ge]),(0,le.useEffect)(function(){Ta.current=!0},[me]),(0,le.useEffect)(function(){return ia(function(cr){var to=jn(cr),no=Le(to);ge&&(no?!gn&&(!pa||no)&&Ne(!1):(Ga.current=!0,(0,Aa.Z)(function(){Ga.current=!1})))})}),[_r,{focused:pa,typing:Dt}]}function tt(ce,ge){return le.useMemo(function(){return ce||(ge?((0,Fe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(me){var Le=(0,qt.Z)(me,2),Ne=Le[0],gt=Le[1];return{label:Ne,value:gt}})):[])},[ce,ge])}var ot=ae(34280);function Je(ce){var ge=ce.valueTexts,me=ce.onTextChange,Le=le.useState(""),Ne=(0,qt.Z)(Le,2),gt=Ne[0],at=Ne[1],Lt=le.useRef([]);Lt.current=ge;function Nt(Xn){at(Xn),me(Xn)}function kt(){at(Lt.current[0])}return(0,ot.Z)(function(){ge.every(function(Xn){return Xn!==gt})&&kt()},[ge.join("||")]),[gt,Nt,kt]}var Pn=le.createContext({}),Cn=Pn,Zn=ae(76190);function Ia(ce){var ge=ce.cellRender,me=ce.monthCellRender,Le=ce.dateRender,Ne=le.useMemo(function(){if(ge)return ge;if(!(!me&&!Le))return function(gt,at){var Lt=gt;return Le&&at.type==="date"?Le(Lt,at.today):me&&at.type==="month"?me(Lt,at.locale):at.originNode}},[ge,me,Le]);return Ne}function Ea(ce,ge){for(var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Le=String(ce);Le.length=1?me|0:1,at=ce;at<=ge;at+=gt)Ne.push({label:Ea(at,2),value:at,disabled:(Le||[]).includes(at)});return Ne}function Br(ce){var ge=ce.generateConfig,me=ce.prefixCls,Le=ce.operationRef,Ne=ce.activeColumnIndex,gt=ce.value,at=ce.showHour,Lt=ce.showMinute,Nt=ce.showSecond,kt=ce.use12Hours,Xn=ce.hourStep,ln=Xn===void 0?1:Xn,gn=ce.minuteStep,Tn=gn===void 0?1:gn,Rn=ce.secondStep,Dt=Rn===void 0?1:Rn,Wt=ce.disabledHours,kn=ce.disabledMinutes,cn=ce.disabledSeconds,pa=ce.disabledTime,ja=ce.hideDisabledOptions,Ga=ce.onSelect,Ta=ce.cellRender,Sa=ce.locale,_r=[],cr="".concat(me,"-content"),to="".concat(me,"-time-panel"),no,Mo=gt?ge.getHour(gt):-1,Wn=Mo,sl=gt?ge.getMinute(gt):-1,Ro=gt?ge.getSecond(gt):-1,vo=ge.getNow(),So=le.useMemo(function(){if(pa){var Jr=pa(vo);return[Jr.disabledHours,Jr.disabledMinutes,Jr.disabledSeconds]}return[Wt,kn,cn]},[Wt,kn,cn,pa,vo]),Vo=(0,qt.Z)(So,3),tl=Vo[0],Io=Vo[1],xr=Vo[2],ll=jr(0,23,ln,tl&&tl()),nl=(0,_n.Z)(function(){return ll},ll,Lr);kt&&(no=Wn>=12,Wn%=12);var kl=le.useMemo(function(){if(!kt)return[!1,!1];var Jr=[!0,!0];return nl.forEach(function(jo){var Xo=jo.disabled,zl=jo.value;Xo||(zl>=12?Jr[1]=!1:Jr[0]=!1)}),Jr},[kt,nl]),Pl=(0,qt.Z)(kl,2),Hl=Pl[0],fo=Pl[1],Bl=le.useMemo(function(){return kt?nl.filter(no?function(Jr){return Jr.value>=12}:function(Jr){return Jr.value<12}).map(function(Jr){var jo=Jr.value%12,Xo=jo===0?"12":Ea(jo,2);return(0,qe.Z)((0,qe.Z)({},Jr),{},{label:Xo,value:jo})}):nl},[kt,no,nl]),jl=jr(0,59,Tn,Io&&Io(Mo)),Xl=jr(0,59,Dt,xr&&xr(Mo,sl)),Ol=na({value:gt,generateConfig:ge,disabledMinutes:Io,disabledSeconds:xr,minutes:jl,seconds:Xl,use12Hours:kt});Le.current={onUpDown:function(jo){var Xo=_r[Ne];if(Xo)for(var zl=Xo.units.findIndex(function(Zi){return Zi.value===Xo.value}),ql=Xo.units.length,Al=1;Al2&&arguments[2]!==void 0?arguments[2]:!1;(yl===Wt||il)&&(du(za),_r&&_r(za),Ol&&Ol(za,oo),cr&&!Ca(Nt,za,li)&&!(Tn!=null&&Tn(za))&&cr(za))},ti=function(za){if(Li.includes(yl)){var oo,il,Pi=yl==="date";switch(za===dn.Z.PAGE_UP||za===dn.Z.PAGE_DOWN?il=Pi?Nt.addMonth:Nt.addYear:il=Pi?Nt.addDate:Nt.addMonth,za){case dn.Z.LEFT:case dn.Z.PAGE_UP:oo=il($l,-1);break;case dn.Z.RIGHT:case dn.Z.PAGE_DOWN:oo=il($l,1);break;case dn.Z.UP:case dn.Z.DOWN:oo=il($l,Number("".concat(za===dn.Z.UP?"-":"").concat(Pi?Gn:cl)));break}if(oo)return!(Tn!=null&&Tn(oo))}return!0},ii=function(za){if(Al.current&&Al.current.onKeyDown){var oo=!0,il=za.which;if([dn.Z.LEFT,dn.Z.RIGHT,dn.Z.UP,dn.Z.DOWN,dn.Z.PAGE_UP,dn.Z.PAGE_DOWN,dn.Z.ENTER].includes(il)&&(za.preventDefault(),il!==dn.Z.ENTER&&cn===0&&(oo=ti(il))),oo)return Al.current.onKeyDown(za)}return(0,Fe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},wl=function(za){Al.current&&Al.current.onBlur&&Al.current.onBlur(za)};Xl&&Xo!=="right"&&(Xl.current={onKeyDown:ii,onClose:function(){Al.current&&Al.current.onClose&&Al.current.onClose()}}),le.useEffect(function(){kt&&!Zl.current&&hi(kt)},[kt]),le.useEffect(function(){Zl.current=!1},[]);var ui,Ii=Ia({cellRender:kl,monthCellRender:nl,dateRender:ll}),fa=(0,qe.Z)((0,qe.Z)({},ce),{},{cellRender:Ii,operationRef:Al,prefixCls:Ne,viewDate:$l,value:li,onViewDateChange:Ei,sourceMode:fi,onPanelChange:Gi,disabledDate:Tn});switch(delete fa.onChange,delete fa.onSelect,yl){case"decade":ui=le.createElement(Ja,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}));break;case"year":ui=le.createElement(gl,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}));break;case"month":ui=le.createElement(Jt,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}));break;case"quarter":ui=le.createElement(Hn,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}));break;case"week":ui=le.createElement(Ut,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}));break;case"time":delete fa.showTime,ui=le.createElement(Sl,(0,ue.Z)({},fa,(0,Zn.Z)(ja)==="object"?ja:null,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}));break;default:ja?ui=le.createElement(ho,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}})):ui=le.createElement(sr,(0,ue.Z)({},fa,{onSelect:function(za,oo){Ei(za),Ml(za,oo)}}))}var Hi,Bi,Oi=function(){var za=Nt.getNow(),oo=Oa(Nt.getHour(za),Nt.getMinute(za),Nt.getSecond(za),Hl?So:1,fo?tl:1,Bl?xr:1),il=lr(Nt,za,oo[0],oo[1],oo[2]);Ml(il,"submit")};mi||(Hi=Il(Ne,yl,Ta),ja&&yl!=="date"?Bi=null:Bi=Tl({prefixCls:Ne,components:sl,needConfirmButton:Pl,okDisabled:!li||Tn&&Tn(li),locale:Lt,showNow:pa,onNow:Pl&&Oi,onOk:function(){li&&(Ml(li,"submit",!0),Wn&&Wn(li))}}));var zi;if(Ga&&yl==="date"&&Wt==="date"&&!ja){var Vi=Nt.getNow(),hu="".concat(Ne,"-today-btn"),ou=Tn&&Tn(Vi);zi=le.createElement("a",{className:Te()(hu,ou&&"".concat(hu,"-disabled")),"aria-disabled":ou,onClick:function(){ou||Ml(Vi,"mouse",!0)}},Lt.today)}return le.createElement(Cn.Provider,{value:(0,qe.Z)((0,qe.Z)({},jl),{},{mode:yl,hideHeader:"hideHeader"in ce?Sa:jl.hideHeader,hidePrevBtn:jo&&Xo==="right",hideNextBtn:jo&&Xo==="left"})},le.createElement("div",{tabIndex:cn,className:Te()("".concat(Ne,"-panel"),gt,(ge={},(0,Be.Z)(ge,"".concat(Ne,"-panel-has-range"),zl&&zl[0]&&zl[1]),(0,Be.Z)(ge,"".concat(Ne,"-panel-has-range-hover"),ql&&ql[0]&&ql[1]),(0,Be.Z)(ge,"".concat(Ne,"-panel-rtl"),Ro==="rtl"),ge)),style:at,onKeyDown:ii,onBlur:wl,onMouseDown:no},ui,Hi||Bi||zi?le.createElement("div",{className:"".concat(Ne,"-footer")},Hi,Bi,zi):null))}var ar=Eo,St=ae(35593),ut={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function wt(ce){var ge,me=ce.prefixCls,Le=ce.popupElement,Ne=ce.popupStyle,gt=ce.visible,at=ce.dropdownClassName,Lt=ce.dropdownAlign,Nt=ce.transitionName,kt=ce.getPopupContainer,Xn=ce.children,ln=ce.range,gn=ce.popupPlacement,Tn=ce.direction,Rn="".concat(me,"-dropdown"),Dt=function(){return gn!==void 0?gn:Tn==="rtl"?"bottomRight":"bottomLeft"};return le.createElement(St.Z,{showAction:[],hideAction:[],popupPlacement:Dt(),builtinPlacements:ut,prefixCls:Rn,popupTransitionName:Nt,popup:Le,popupAlign:Lt,popupVisible:gt,popupClassName:Te()(at,(ge={},(0,Be.Z)(ge,"".concat(Rn,"-range"),ln),(0,Be.Z)(ge,"".concat(Rn,"-rtl"),Tn==="rtl"),ge)),popupStyle:Ne,getPopupContainer:kt},Xn)}var bn=wt;function ca(ce){var ge=ce.prefixCls,me=ce.presets,Le=ce.onClick,Ne=ce.onHover;return me.length?le.createElement("div",{className:"".concat(ge,"-presets")},le.createElement("ul",null,me.map(function(gt,at){var Lt=gt.label,Nt=gt.value;return le.createElement("li",{key:at,onClick:function(){return Le==null?void 0:Le(or(Nt))},onMouseEnter:function(){return Ne==null?void 0:Ne(or(Nt))},onMouseLeave:function(){return Ne==null?void 0:Ne(null)}},Lt)}))):null}function wa(ce){var ge=ce.picker,me=ce.disabledHours,Le=ce.disabledMinutes,Ne=ce.disabledSeconds;ge==="time"&&(me||Le||Ne)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function on(ce,ge,me){var Le=(0,Zn.Z)(ge)==="object"?ge.clearIcon:me;return Le||le.createElement("span",{className:"".concat(ce,"-clear-btn")})}function Da(ce){var ge,me=ce,Le=me.prefixCls,Ne=Le===void 0?"rc-picker":Le,gt=me.id,at=me.name,Lt=me.tabIndex,Nt=me.style,kt=me.className,Xn=me.dropdownClassName,ln=me.dropdownAlign,gn=me.popupStyle,Tn=me.transitionName,Rn=me.generateConfig,Dt=me.locale,Wt=me.inputReadOnly,kn=me.allowClear,cn=me.autoFocus,pa=me.showTime,ja=me.picker,Ga=ja===void 0?"date":ja,Ta=me.format,Sa=me.use12Hours,_r=me.value,cr=me.defaultValue,to=me.presets,no=me.open,Mo=me.defaultOpen,Wn=me.defaultOpenValue,sl=me.suffixIcon,Ro=me.clearIcon,vo=me.disabled,So=me.disabledDate,Vo=me.placeholder,tl=me.getPopupContainer,Io=me.pickerRef,xr=me.panelRender,ll=me.onChange,nl=me.onOpenChange,kl=me.onFocus,Pl=me.onBlur,Hl=me.onMouseDown,fo=me.onMouseUp,Bl=me.onMouseEnter,jl=me.onMouseLeave,Xl=me.onContextMenu,Ol=me.onClick,mi=me.onKeyDown,bi=me.onSelect,Jr=me.direction,jo=me.autoComplete,Xo=jo===void 0?"off":jo,zl=me.inputRender,ql=me.changeOnBlur,Al=le.useRef(null),Zl=Ga==="date"&&!!pa||Ga==="time",Zi=tt(to),oi=ba(Na(Ta,Ga,pa,Sa)),li=le.useRef(null),du=le.useRef(null),pu=le.useRef(null),wn=(0,nt.Z)(null,{value:_r,defaultValue:cr}),$l=(0,qt.Z)(wn,2),hi=$l[0],Ei=$l[1],ru=le.useState(hi),_i=(0,qt.Z)(ru,2),Si=_i[0],yl=_i[1],dl=le.useRef(null),ei=(0,nt.Z)(!1,{value:no,defaultValue:Mo,postState:function(jt){return vo?!1:jt},onChange:function(jt){nl&&nl(jt),!jt&&dl.current&&dl.current.onClose&&dl.current.onClose()}}),Wo=(0,qt.Z)(ei,2),fi=Wo[0],Kl=Wo[1],Gi=Qa(Si,{formatList:oi,generateConfig:Rn,locale:Dt}),Ml=(0,qt.Z)(Gi,2),ti=Ml[0],ii=Ml[1],wl=Je({valueTexts:ti,onTextChange:function(jt){var Rt=va(jt,{locale:Dt,formatList:oi,generateConfig:Rn});Rt&&(!So||!So(Rt))&&yl(Rt)}}),ui=(0,qt.Z)(wl,3),Ii=ui[0],fa=ui[1],Hi=ui[2],Bi=function(jt){yl(jt),Ei(jt),ll&&!Ca(Rn,hi,jt)&&ll(jt,jt?Va(jt,{generateConfig:Rn,locale:Dt,format:oi[0]}):"")},Oi=function(jt){vo&&jt||Kl(jt)},zi=function(jt){return fi&&dl.current&&dl.current.onKeyDown?dl.current.onKeyDown(jt):((0,Fe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Vi=function(){for(var jt=arguments.length,Rt=new Array(jt),Xt=0;Xtgn(kt);case"month":return ln(Dt)>ln(kt);case"week":return Xn(Dt)>Xn(kt);default:return!ya(Lt,Dt,kt)&&Lt.isAfter(Dt,kt)}return!1},[gt,at[1],kt,ge]),Rn=le.useCallback(function(Dt){if(at[1]||gt&>(Dt))return!0;if(at[0]&&Nt)return!ya(Lt,Dt,kt)&&Lt.isAfter(Nt,Dt);if(!ge&&Nt)switch(me){case"quarter":return gn(Dt)0&&arguments[0]!==void 0?arguments[0]:!1,Ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pr=null;lt&&Ai&&Ai[0]&&Ai[1]&&Dt.isAfter(Ai[1],Ai[0])&&(Pr=Ai);var Oo=Sa;if(Sa&&(0,Zn.Z)(Sa)==="object"&&Sa.defaultValue){var El=Sa.defaultValue;Oo=(0,qe.Z)((0,qe.Z)({},Sa),{},{defaultValue:da(El,vt)||void 0})}return le.createElement(Mt.Provider,{value:{inRange:!0,panelPosition:Rr,rangedValue:ni||Sr,hoverRangedValue:Pr}},le.createElement(ar,(0,ue.Z)({},ce,Ka,{cellRender:ps,showTime:Oo,mode:Pi[vt],generateConfig:Dt,style:void 0,direction:$l,disabledDate:vt===0?et:Ft,disabledTime:function(Ri){return So?So(Ri,vt===0?"start":"end"):!1},className:Te()((0,Be.Z)({},"".concat(at,"-panel-focused"),vt===0?!ao:!ci)),value:da(Sr,vt),locale:Wt,tabIndex:-1,onPanelChange:function(Ri,Yi){vt===0&&rl(!0),vt===1&&Vl(!0),se(Gt(Pi,Yi,vt),Gt(Sr,Ri,vt));var lu=Ri;Rr==="right"&&Pi[vt]===Yi&&(lu=Fa(lu,Yi,Dt,-1)),Vi(lu,vt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:vt===0?da(Sr,1):da(Sr,0)})))}var mu=0,as=0;if(vt&&ei.current&&fi.current&&dl.current&&Ml.current){mu=ei.current.offsetWidth+fi.current.offsetWidth;var hs=Ml.current.offsetLeft>mu?Ml.current.offsetLeft-mu:Ml.current.offsetLeft,rs=dl.current.offsetWidth,Hu=Ml.current.offsetWidth;rs&&Hu&&mu>rs-Hu-($l==="rtl"?0:hs)&&(as=mu)}var Es=$l==="rtl"?{right:mu}:{left:mu};function ra(){var Rr,Ka=Il(at,Pi[vt],Ol),Pr=Tl({prefixCls:at,components:pu,needConfirmButton:Si,okDisabled:!da(Sr,vt)||vo&&vo(Sr[vt]),locale:Wt,onOk:function(){var xi=da(Sr,vt);xi&&(Xt(Sr,vt),li==null||li(Sr),pn(!1,vt,"confirm"))}});if(Ta!=="time"&&!Sa){var Oo=zi(vt),El=Fa(Oo,Ta,Dt),Bu=Pi[vt],Ri=Bu===Ta,Yi=Gu(Ri?"left":!1,{pickerValue:Oo,onPickerValueChange:function(xi){Vi(xi,vt)}}),lu=Gu("right",{pickerValue:El,onPickerValueChange:function(xi){Vi(Fa(xi,Ta,Dt,-1),vt)}});$l==="rtl"?Rr=le.createElement(le.Fragment,null,lu,Ri&&Yi):Rr=le.createElement(le.Fragment,null,Yi,Ri&&lu)}else Rr=Gu();var Cu=le.createElement("div",{className:"".concat(at,"-panel-layout")},le.createElement(ca,{prefixCls:at,presets:gu,onClick:function(xi){Xt(xi,null),pn(!1,vt,"preset")},onHover:function(xi){Fl(xi)}}),le.createElement("div",null,le.createElement("div",{className:"".concat(at,"-panels")},Rr),(Ka||Pr)&&le.createElement("div",{className:"".concat(at,"-footer")},Ka,Pr)));return xr&&(Cu=xr(Cu)),le.createElement("div",{className:"".concat(at,"-panel-container"),style:{marginLeft:as},ref:dl,onMouseDown:function(xi){xi.preventDefault()}},Cu)}var ir=le.createElement("div",{className:Te()("".concat(at,"-range-wrapper"),"".concat(at,"-").concat(Ta,"-range-wrapper")),style:{minWidth:en}},le.createElement("div",{ref:Ml,className:"".concat(at,"-range-arrow"),style:Es}),ra()),qr;Hl&&(qr=le.createElement("span",{className:"".concat(at,"-suffix"),onMouseDown:function(Ka){Ka.preventDefault()}},Hl));var bo=on(at,Pl,fo),Bo=le.createElement("span",{onMouseDown:function(Ka){Ka.preventDefault(),Ka.stopPropagation()},onMouseUp:function(Ka){Ka.preventDefault(),Ka.stopPropagation();var Pr=fa;wl[0]||(Pr=Gt(Pr,null,0)),wl[1]||(Pr=Gt(Pr,null,1)),Xt(Pr,null),pn(!1,vt,"clear")},className:"".concat(at,"-clear"),role:"button"},bo),Zr=Pl&&(da(fa,0)&&!wl[0]||da(fa,1)&&!wl[1]),lo={size:Wr(Ta,ti[0],Dt)},Uo=0,ri=0;ei.current&&Wo.current&&fi.current&&(vt===0?ri=ei.current.offsetWidth:(Uo=mu,ri=Wo.current.offsetWidth));var Ui=$l==="rtl"?{right:Uo}:{left:Uo},Su=function(Ka,Pr){var Oo=Gt(Sr,Ka,vt);if(Pr==="submit"||Pr!=="key"&&!Si){Xt(Oo,vt),vt===0?rl():Vl();var El=vt===0?1:0;wl[El]?pn(!1,!1,"confirm"):pn(!1,vt,"confirm")}else za(Oo)};return le.createElement(Cn.Provider,{value:{operationRef:ii,hideHeader:Ta==="time",onDateMouseEnter:Ji,onDateMouseLeave:Wi,hideRanges:!0,onSelect:Su,open:lt}},le.createElement(bn,{visible:lt,popupElement:ir,popupStyle:Xn,prefixCls:at,dropdownClassName:ln,dropdownAlign:Tn,getPopupContainer:Rn,transitionName:gn,range:!0,direction:$l},le.createElement("div",(0,ue.Z)({ref:yl,className:Te()(at,"".concat(at,"-range"),kt,(ge={},(0,Be.Z)(ge,"".concat(at,"-disabled"),wl[0]&&wl[1]),(0,Be.Z)(ge,"".concat(at,"-focused"),vt===0?Ar:Ho),(0,Be.Z)(ge,"".concat(at,"-rtl"),$l==="rtl"),ge)),style:Nt,onClick:Eu,onMouseEnter:Zl,onMouseLeave:Zi,onMouseDown:ns,onMouseUp:Al},(0,pt.Z)(ce,{aria:!0,data:!0})),le.createElement("div",{className:Te()("".concat(at,"-input"),(me={},(0,Be.Z)(me,"".concat(at,"-input-active"),vt===0),(0,Be.Z)(me,"".concat(at,"-input-placeholder"),!!cu),me)),ref:ei},le.createElement("input",(0,ue.Z)({id:Lt,disabled:wl[0],readOnly:jl||typeof ti[0]=="function"||!ao,value:cu||ul,onChange:function(Ka){La(Ka.target.value)},autoFocus:cn,placeholder:da(kn,0)||"",ref:Kl},aa,lo,{autoComplete:ru}))),le.createElement("div",{className:"".concat(at,"-range-separator"),ref:fi},to),le.createElement("div",{className:Te()("".concat(at,"-input"),(Le={},(0,Be.Z)(Le,"".concat(at,"-input-active"),vt===1),(0,Be.Z)(Le,"".concat(at,"-input-placeholder"),!!pi),Le)),ref:Wo},le.createElement("input",(0,ue.Z)({disabled:wl[1],readOnly:jl||typeof ti[0]=="function"||!ci,value:pi||Nn,onChange:function(Ka){pl(Ka.target.value)},placeholder:da(kn,1)||"",ref:Gi},Ao,lo,{autoComplete:ru}))),le.createElement("div",{className:"".concat(at,"-active-bar"),style:(0,qe.Z)((0,qe.Z)({},Ui),{},{width:ri,position:"absolute"})}),qr,Zr&&Bo)))}var Ul=function(ce){(0,Pt.Z)(me,ce);var ge=(0,sn.Z)(me);function me(){var Le;(0,rt.Z)(this,me);for(var Ne=arguments.length,gt=new Array(Ne),at=0;at{const{lineHeight:Ne}=ce,gt=Math.floor(me*Ne)+2,at=Math.max((ge-gt)/2,0),Lt=Math.max(ge-gt-at,0);return{padding:`${at}px ${Le}px ${Lt}px`}},_u=ce=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Le,cellHeight:Ne,motionDurationSlow:gt,borderRadiusSM:at,motionDurationMid:Lt,cellHoverBg:Nt,lineWidth:kt,lineType:Xn,colorPrimary:ln,cellActiveWithRangeBg:gn,colorTextLightSolid:Tn,controlHeightSM:Rn,cellRangeBorderColor:Dt,pickerCellBorderGap:Wt,cellHoverWithRangeBg:kn,cellWidth:cn,colorTextDisabled:pa,cellBgDisabled:ja}=ce;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ne,transform:"translateY(-50%)",transition:`all ${gt}`,content:'""'},[Le]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ne,height:Ne,lineHeight:`${Ne}px`,borderRadius:at,transition:`background ${Lt}, border ${Lt}`},"&-range-hover-start, &-range-hover-end":{[Le]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${me}-in-view), + &:hover:not(${me}-selected):not(${me}-range-start):not(${me}-range-end):not(${me}-range-hover-start):not(${me}-range-hover-end)`]:{[Le]:{background:Nt}},[`&-in-view${me}-today ${Le}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${kt}px ${Xn} ${ln}`,borderRadius:at,content:'""'}},[`&-in-view${me}-in-range`]:{position:"relative","&::before":{background:gn}},[`&-in-view${me}-selected ${Le}, &-in-view${me}-range-start ${Le}, - &-in-view${me}-range-end ${Le}`]:{color:jn,background:cn},[`&-in-view${me}-range-start:not(${me}-range-start-single), + &-in-view${me}-range-end ${Le}`]:{color:Tn,background:ln},[`&-in-view${me}-range-start:not(${me}-range-start-single), &-in-view${me}-range-end:not(${me}-range-end-single)`]:{"&::before":{background:gn}},[`&-in-view${me}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${me}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${me}-range-hover-start:not(${me}-in-range):not(${me}-range-start):not(${me}-range-end), &-in-view${me}-range-hover-end:not(${me}-in-range):not(${me}-range-start):not(${me}-range-end), &-in-view${me}-range-hover-start${me}-range-start-single, &-in-view${me}-range-hover-start${me}-range-start${me}-range-end${me}-range-end-near-hover, &-in-view${me}-range-hover-end${me}-range-start${me}-range-end${me}-range-start-near-hover, &-in-view${me}-range-hover-end${me}-range-end-single, - &-in-view${me}-range-hover:not(${me}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:kn,borderTop:`${Wt}px dashed ${yt}`,borderBottom:`${Wt}px dashed ${yt}`,transform:"translateY(-50%)",transition:`all ${ft}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:ln},[`&-in-view${me}-in-range${me}-range-hover::before, + &-in-view${me}-range-hover:not(${me}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Rn,borderTop:`${kt}px dashed ${Dt}`,borderBottom:`${kt}px dashed ${Dt}`,transform:"translateY(-50%)",transition:`all ${gt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Wt},[`&-in-view${me}-in-range${me}-range-hover::before, &-in-view${me}-in-range${me}-range-hover-start::before, &-in-view${me}-in-range${me}-range-hover-end::before, &-in-view${me}-range-start${me}-range-hover::before, @@ -296,49 +296,49 @@ ${_n} &-in-view${me}-in-range${me}-range-hover-start::before, ${ge}-panel > :not(${ge}-date-panel) - &-in-view${me}-in-range${me}-range-hover-end::before`]:{background:zn},[`&-in-view${me}-range-start:not(${me}-range-start-single):not(${me}-range-end) ${Le}`]:{borderStartStartRadius:lt,borderEndStartRadius:lt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${me}-range-end:not(${me}-range-end-single):not(${me}-range-start) ${Le}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:lt,borderEndEndRadius:lt},[`&-range-hover${me}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${me}-range-hover:first-child::after, + &-in-view${me}-in-range${me}-range-hover-end::before`]:{background:kn},[`&-in-view${me}-range-start:not(${me}-range-start-single):not(${me}-range-end) ${Le}`]:{borderStartStartRadius:at,borderEndStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${me}-range-end:not(${me}-range-end-single):not(${me}-range-start) ${Le}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at},[`&-range-hover${me}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${me}-range-hover:first-child::after, tr > &-in-view${me}-range-hover-end:first-child::after, &-in-view${me}-start${me}-range-hover-edge-start${me}-range-hover-edge-start-near-range::after, &-in-view${me}-range-hover-edge-start:not(${me}-range-hover-edge-start-near-range)::after, - &-in-view${me}-range-hover-start::after`]:{insetInlineStart:(Ha-Oe)/2,borderInlineStart:`${Wt}px dashed ${yt}`,borderStartStartRadius:lt,borderEndStartRadius:lt},[`tr > &-in-view${me}-range-hover:last-child::after, + &-in-view${me}-range-hover-start::after`]:{insetInlineStart:(cn-Ne)/2,borderInlineStart:`${kt}px dashed ${Dt}`,borderStartStartRadius:at,borderEndStartRadius:at},[`tr > &-in-view${me}-range-hover:last-child::after, tr > &-in-view${me}-range-hover-start:last-child::after, &-in-view${me}-end${me}-range-hover-edge-end${me}-range-hover-edge-end-near-range::after, &-in-view${me}-range-hover-edge-end:not(${me}-range-hover-edge-end-near-range)::after, - &-in-view${me}-range-hover-end::after`]:{insetInlineEnd:(Ha-Oe)/2,borderInlineEnd:`${Wt}px dashed ${yt}`,borderStartEndRadius:lt,borderEndEndRadius:lt},"&-disabled":{color:xa,pointerEvents:"none",[Le]:{background:"transparent"},"&::before":{background:Ua}},[`&-disabled${me}-today ${Le}::before`]:{borderColor:xa}}},qo=de=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Le,pickerYearMonthCellWidth:Oe,pickerControlIconSize:ft,cellWidth:lt,paddingSM:Ht,paddingXS:zt,paddingXXS:Wt,colorBgContainer:ea,lineWidth:cn,lineType:gn,borderRadiusLG:jn,colorPrimary:kn,colorTextHeading:yt,colorSplit:ln,pickerControlIconBorderWidth:zn,colorIcon:Ha,textHeight:xa,motionDurationMid:Ua,colorIconHover:Xa,fontWeightStrong:Qa,cellHeight:ca,pickerCellPaddingVertical:Lr,colorTextDisabled:Ar,colorText:Jr,fontSize:Qr,cellHoverWithRangeBg:bo,motionDurationSlow:Ro,withoutTimeCellHeight:zo,pickerQuarterPanelContentHeight:Bo,colorLink:ro,colorLinkActive:co,colorLinkHover:Io,cellRangeBorderColor:an,borderRadiusSM:Co,colorTextLightSolid:Yo,cellHoverBg:pl,timeColumnHeight:il,timeColumnWidth:El,timeCellHeight:nl,controlItemBgActive:Sl,marginXXS:fo,pickerDatePanelPaddingHorizontal:Uo}=de,Xr=lt*7+Uo*2,Ol=(Xr-zt*2)/3-Oe-Ht,al=(Xr-zt*2)/4-Oe;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ea,border:`${cn}px ${gn} ${ln}`,borderRadius:jn,outline:"none","&-focused":{borderColor:kn},"&-rtl":{direction:"rtl",[`${ge}-prev-icon, + &-in-view${me}-range-hover-end::after`]:{insetInlineEnd:(cn-Ne)/2,borderInlineEnd:`${kt}px dashed ${Dt}`,borderStartEndRadius:at,borderEndEndRadius:at},"&-disabled":{color:pa,pointerEvents:"none",[Le]:{background:"transparent"},"&::before":{background:ja}},[`&-disabled${me}-today ${Le}::before`]:{borderColor:pa}}},vl=ce=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Le,pickerYearMonthCellWidth:Ne,pickerControlIconSize:gt,cellWidth:at,paddingSM:Lt,paddingXS:Nt,paddingXXS:kt,colorBgContainer:Xn,lineWidth:ln,lineType:gn,borderRadiusLG:Tn,colorPrimary:Rn,colorTextHeading:Dt,colorSplit:Wt,pickerControlIconBorderWidth:kn,colorIcon:cn,textHeight:pa,motionDurationMid:ja,colorIconHover:Ga,fontWeightStrong:Ta,cellHeight:Sa,pickerCellPaddingVertical:_r,colorTextDisabled:cr,colorText:to,fontSize:no,cellHoverWithRangeBg:Mo,motionDurationSlow:Wn,withoutTimeCellHeight:sl,pickerQuarterPanelContentHeight:Ro,colorLink:vo,colorLinkActive:So,colorLinkHover:Vo,cellRangeBorderColor:tl,borderRadiusSM:Io,colorTextLightSolid:xr,cellHoverBg:ll,timeColumnHeight:nl,timeColumnWidth:kl,timeCellHeight:Pl,controlItemBgActive:Hl,marginXXS:fo,pickerDatePanelPaddingHorizontal:Bl}=ce,jl=at*7+Bl*2,Xl=(jl-Nt*2)/3-Ne-Lt,Ol=(jl-Nt*2)/4-Ne;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Xn,border:`${ln}px ${gn} ${Wt}`,borderRadius:Tn,outline:"none","&-focused":{borderColor:Rn},"&-rtl":{direction:"rtl",[`${ge}-prev-icon, ${ge}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ge}-next-icon, - ${ge}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Xr},"&-header":{display:"flex",padding:`0 ${zt}px`,color:yt,borderBottom:`${cn}px ${gn} ${ln}`,"> *":{flex:"none"},button:{padding:0,color:Ha,lineHeight:`${xa}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ua}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Qr,"&:hover":{color:Xa}},"&-view":{flex:"auto",fontWeight:Qa,lineHeight:`${xa}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:zt},"&:hover":{color:kn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:ft,height:ft,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:ft,height:ft,border:"0 solid currentcolor",borderBlockStartWidth:zn,borderBlockEndWidth:0,borderInlineStartWidth:zn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(ft/2),insetInlineStart:Math.ceil(ft/2),display:"inline-block",width:ft,height:ft,border:"0 solid currentcolor",borderBlockStartWidth:zn,borderBlockEndWidth:0,borderInlineStartWidth:zn,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ca,fontWeight:"normal"},th:{height:ca+Lr*2,color:Jr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Lr}px 0`,color:Ar,cursor:"pointer","&-in-view":{color:Jr}},Iu(de)),[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start ${Le}, - &-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Le}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:bo,transition:`all ${Ro}`,content:'""'}},[`&-date-panel + ${ge}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:jl},"&-header":{display:"flex",padding:`0 ${Nt}px`,color:Dt,borderBottom:`${ln}px ${gn} ${Wt}`,"> *":{flex:"none"},button:{padding:0,color:cn,lineHeight:`${pa}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${ja}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:no,"&:hover":{color:Ga}},"&-view":{flex:"auto",fontWeight:Ta,lineHeight:`${pa}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Nt},"&:hover":{color:Rn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:gt,height:gt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:gt,height:gt,border:"0 solid currentcolor",borderBlockStartWidth:kn,borderBlockEndWidth:0,borderInlineStartWidth:kn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(gt/2),insetInlineStart:Math.ceil(gt/2),display:"inline-block",width:gt,height:gt,border:"0 solid currentcolor",borderBlockStartWidth:kn,borderBlockEndWidth:0,borderInlineStartWidth:kn,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Sa,fontWeight:"normal"},th:{height:Sa+_r*2,color:to,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${_r}px 0`,color:cr,cursor:"pointer","&-in-view":{color:to}},_u(ce)),[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start ${Le}, + &-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Le}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Mo,transition:`all ${Wn}`,content:'""'}},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start - ${Le}::after`]:{insetInlineEnd:-(lt-ca)/2,insetInlineStart:0},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Le}::after`]:{insetInlineEnd:0,insetInlineStart:-(lt-ca)/2},[`&-range-hover${ge}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-content`]:{height:zo*4},[Le]:{padding:`0 ${zt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:Bo},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:al,borderInlineStart:`${cn}px dashed ${an}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:al,borderInlineEnd:`${cn}px dashed ${an}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:al,borderInlineEnd:`${cn}px dashed ${an}`,[`${ge}-panel-rtl &`]:{insetInlineStart:al,borderInlineStart:`${cn}px dashed ${an}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${cn}px ${gn} ${ln}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${xa-2*cn}px`,textAlign:"center","&-extra":{padding:`0 ${Ht}px`,lineHeight:`${xa-2*cn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${cn}px ${gn} ${ln}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:ro,"&:hover":{color:Io},"&:active":{color:co},[`&${ge}-today-btn-disabled`]:{color:Ar,cursor:"not-allowed"}},"&-decade-panel":{[Le]:{padding:`0 ${zt/2}px`},[`${ge}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-body`]:{padding:`0 ${zt}px`},[Le]:{width:Oe},[`${ge}-cell-range-hover-start::after`]:{borderStartStartRadius:Co,borderEndStartRadius:Co,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Co,borderEndEndRadius:Co}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Co,borderEndEndRadius:Co,[`${ge}-panel-rtl &`]:{borderStartStartRadius:Co,borderEndStartRadius:Co,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:Ol,borderInlineStart:`${cn}px dashed ${an}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:Ol,borderInlineEnd:`${cn}px dashed ${an}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:Ol,borderInlineEnd:`${cn}px dashed ${an}`,[`${ge}-panel-rtl &`]:{insetInlineStart:Ol,borderInlineStart:`${cn}px dashed ${an}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${zt}px ${Ht}px`},[`${ge}-cell`]:{[`&:hover ${Le}, + ${Le}::after`]:{insetInlineEnd:-(at-Sa)/2,insetInlineStart:0},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Le}::after`]:{insetInlineEnd:0,insetInlineStart:-(at-Sa)/2},[`&-range-hover${ge}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-content`]:{height:sl*4},[Le]:{padding:`0 ${Nt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:Ro},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:Ol,borderInlineStart:`${ln}px dashed ${tl}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:Ol,borderInlineEnd:`${ln}px dashed ${tl}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:Ol,borderInlineEnd:`${ln}px dashed ${tl}`,[`${ge}-panel-rtl &`]:{insetInlineStart:Ol,borderInlineStart:`${ln}px dashed ${tl}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${ln}px ${gn} ${Wt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${pa-2*ln}px`,textAlign:"center","&-extra":{padding:`0 ${Lt}px`,lineHeight:`${pa-2*ln}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ln}px ${gn} ${Wt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:vo,"&:hover":{color:Vo},"&:active":{color:So},[`&${ge}-today-btn-disabled`]:{color:cr,cursor:"not-allowed"}},"&-decade-panel":{[Le]:{padding:`0 ${Nt/2}px`},[`${ge}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-body`]:{padding:`0 ${Nt}px`},[Le]:{width:Ne},[`${ge}-cell-range-hover-start::after`]:{borderStartStartRadius:Io,borderEndStartRadius:Io,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Io,borderEndEndRadius:Io}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Io,borderEndEndRadius:Io,[`${ge}-panel-rtl &`]:{borderStartStartRadius:Io,borderEndStartRadius:Io,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:Xl,borderInlineStart:`${ln}px dashed ${tl}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:Xl,borderInlineEnd:`${ln}px dashed ${tl}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:Xl,borderInlineEnd:`${ln}px dashed ${tl}`,[`${ge}-panel-rtl &`]:{insetInlineStart:Xl,borderInlineStart:`${ln}px dashed ${tl}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${Nt}px ${Lt}px`},[`${ge}-cell`]:{[`&:hover ${Le}, &-selected ${Le}, - ${Le}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ua}`},"&:first-child:before":{borderStartStartRadius:Co,borderEndStartRadius:Co},"&:last-child:before":{borderStartEndRadius:Co,borderEndEndRadius:Co}},"&:hover td":{"&:before":{background:pl}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${me}`]:{"&:before":{background:kn},[`&${ge}-cell-week`]:{color:new sl.C(Yo).setAlpha(.5).toHexString()},[Le]:{color:Yo}}},"&-range-hover td:before":{background:Sl}}},"&-date-panel":{[`${ge}-body`]:{padding:`${zt}px ${Uo}px`},[`${ge}-content`]:{width:lt*7,th:{width:lt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${cn}px ${gn} ${ln}`},[`${ge}-date-panel, - ${ge}-time-panel`]:{transition:`opacity ${Ro}`},"&-active":{[`${ge}-date-panel, - ${ge}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ge}-content`]:{display:"flex",flex:"auto",height:il},"&-column":{flex:"1 0 auto",width:El,margin:`${Wt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ua}`,overflowX:"hidden","&::after":{display:"block",height:il-nl,content:'""'},"&:not(:first-child)":{borderInlineStart:`${cn}px ${gn} ${ln}`},"&-active":{background:new sl.C(Sl).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:fo,[`${ge}-time-panel-cell-inner`]:{display:"block",width:El-2*fo,height:nl,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(El-nl)/2,color:Jr,lineHeight:`${nl}px`,borderRadius:Co,cursor:"pointer",transition:`background ${Ua}`,"&:hover":{background:pl}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:Sl}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:Ar,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:il-nl+Wt*2}}}},Ku=de=>{const{componentCls:ge,colorBgContainer:me,colorError:Le,errorActiveShadow:Oe,colorWarning:ft,warningActiveShadow:lt}=de;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:Le},[`&${ge}-focused, &:focus`]:Object.assign({},(0,Zl.M1)((0,si.TS)(de,{activeBorderColor:Le,activeShadow:Oe}))),[`${ge}-active-bar`]:{background:Le}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:ft},[`&${ge}-focused, &:focus`]:Object.assign({},(0,Zl.M1)((0,si.TS)(de,{activeBorderColor:ft,activeShadow:lt}))),[`${ge}-active-bar`]:{background:ft}}}}},Ju=de=>{const{componentCls:ge,antCls:me,controlHeight:Le,fontSize:Oe,paddingInline:ft,colorBgContainer:lt,lineWidth:Ht,lineType:zt,colorBorder:Wt,borderRadius:ea,motionDurationMid:cn,colorBgContainerDisabled:gn,colorTextDisabled:jn,colorTextPlaceholder:kn,controlHeightLG:yt,fontSizeLG:ln,controlHeightSM:zn,paddingInlineSM:Ha,paddingXS:xa,marginXS:Ua,colorTextDescription:Xa,lineWidthBold:Qa,lineHeight:ca,colorPrimary:Lr,motionDurationSlow:Ar,zIndexPopup:Jr,paddingXXS:Qr,paddingSM:bo,textHeight:Ro,cellActiveWithRangeBg:zo,colorPrimaryBorder:Bo,sizePopupArrow:ro,borderRadiusXS:co,borderRadiusOuter:Io,colorBgElevated:an,borderRadiusLG:Co,boxShadowSecondary:Yo,borderRadiusSM:pl,colorSplit:il,cellHoverBg:El,presetsWidth:nl,presetsMaxWidth:Sl,boxShadowPopoverArrow:fo,colorTextQuaternary:Uo}=de;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,Pi.Wf)(de)),Nu(de,Le,Oe,ft)),{position:"relative",display:"inline-flex",alignItems:"center",background:lt,lineHeight:1,border:`${Ht}px ${zt} ${Wt}`,borderRadius:ea,transition:`border ${cn}, box-shadow ${cn}`,"&:hover, &-focused":Object.assign({},(0,Zl.pU)(de)),"&-focused":Object.assign({},(0,Zl.M1)(de)),[`&${ge}-disabled`]:{background:gn,borderColor:Wt,cursor:"not-allowed",[`${ge}-suffix`]:{color:Uo}},[`&${ge}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ge}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Zl.ik)(de)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ge}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:kn}}},"&-large":Object.assign(Object.assign({},Nu(de,yt,ln,ft)),{[`${ge}-input > input`]:{fontSize:ln}}),"&-small":Object.assign({},Nu(de,zn,Oe,Ha)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:xa/2,color:jn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ua}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:jn,lineHeight:1,background:lt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${cn}, color ${cn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Xa}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ln,color:jn,fontSize:ln,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Xa},[`${ge}-range-separator &`]:{[`${ge}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ge}-clear`]:{insetInlineEnd:ft},"&:hover":{[`${ge}-clear`]:{opacity:1}},[`${ge}-active-bar`]:{bottom:-Ht,height:Qa,marginInlineStart:ft,background:Lr,opacity:0,transition:`all ${Ar} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${xa}px`,lineHeight:1},[`&${ge}-small`]:{[`${ge}-clear`]:{insetInlineEnd:Ha},[`${ge}-active-bar`]:{marginInlineStart:Ha}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Pi.Wf)(de)),qo(de)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Jr,[`&${ge}-dropdown-hidden`]:{display:"none"},[`&${ge}-dropdown-placement-bottomLeft`]:{[`${ge}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ge}-dropdown-placement-topLeft`]:{[`${ge}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-topLeft, + ${Le}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${ja}`},"&:first-child:before":{borderStartStartRadius:Io,borderEndStartRadius:Io},"&:last-child:before":{borderStartEndRadius:Io,borderEndEndRadius:Io}},"&:hover td":{"&:before":{background:ll}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${me}`]:{"&:before":{background:Rn},[`&${ge}-cell-week`]:{color:new bl.C(xr).setAlpha(.5).toHexString()},[Le]:{color:xr}}},"&-range-hover td:before":{background:Hl}}},"&-date-panel":{[`${ge}-body`]:{padding:`${Nt}px ${Bl}px`},[`${ge}-content`]:{width:at*7,th:{width:at,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${ln}px ${gn} ${Wt}`},[`${ge}-date-panel, + ${ge}-time-panel`]:{transition:`opacity ${Wn}`},"&-active":{[`${ge}-date-panel, + ${ge}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ge}-content`]:{display:"flex",flex:"auto",height:nl},"&-column":{flex:"1 0 auto",width:kl,margin:`${kt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${ja}`,overflowX:"hidden","&::after":{display:"block",height:nl-Pl,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ln}px ${gn} ${Wt}`},"&-active":{background:new bl.C(Hl).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:fo,[`${ge}-time-panel-cell-inner`]:{display:"block",width:kl-2*fo,height:Pl,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(kl-Pl)/2,color:to,lineHeight:`${Pl}px`,borderRadius:Io,cursor:"pointer",transition:`background ${ja}`,"&:hover":{background:ll}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:Hl}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:cr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:nl-Pl+kt*2}}}},ls=ce=>{const{componentCls:ge,colorBgContainer:me,colorError:Le,errorActiveShadow:Ne,colorWarning:gt,warningActiveShadow:at}=ce;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:Le},[`&${ge}-focused, &:focus`]:Object.assign({},(0,gi.M1)((0,ji.TS)(ce,{activeBorderColor:Le,activeShadow:Ne}))),[`${ge}-active-bar`]:{background:Le}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:gt},[`&${ge}-focused, &:focus`]:Object.assign({},(0,gi.M1)((0,ji.TS)(ce,{activeBorderColor:gt,activeShadow:at}))),[`${ge}-active-bar`]:{background:gt}}}}},is=ce=>{const{componentCls:ge,antCls:me,controlHeight:Le,fontSize:Ne,paddingInline:gt,colorBgContainer:at,lineWidth:Lt,lineType:Nt,colorBorder:kt,borderRadius:Xn,motionDurationMid:ln,colorBgContainerDisabled:gn,colorTextDisabled:Tn,colorTextPlaceholder:Rn,controlHeightLG:Dt,fontSizeLG:Wt,controlHeightSM:kn,paddingInlineSM:cn,paddingXS:pa,marginXS:ja,colorTextDescription:Ga,lineWidthBold:Ta,lineHeight:Sa,colorPrimary:_r,motionDurationSlow:cr,zIndexPopup:to,paddingXXS:no,paddingSM:Mo,textHeight:Wn,cellActiveWithRangeBg:sl,colorPrimaryBorder:Ro,sizePopupArrow:vo,borderRadiusXS:So,borderRadiusOuter:Vo,colorBgElevated:tl,borderRadiusLG:Io,boxShadowSecondary:xr,borderRadiusSM:ll,colorSplit:nl,cellHoverBg:kl,presetsWidth:Pl,presetsMaxWidth:Hl,boxShadowPopoverArrow:fo,colorTextQuaternary:Bl}=ce;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,tu.Wf)(ce)),Ku(ce,Le,Ne,gt)),{position:"relative",display:"inline-flex",alignItems:"center",background:at,lineHeight:1,border:`${Lt}px ${Nt} ${kt}`,borderRadius:Xn,transition:`border ${ln}, box-shadow ${ln}`,"&:hover, &-focused":Object.assign({},(0,gi.pU)(ce)),"&-focused":Object.assign({},(0,gi.M1)(ce)),[`&${ge}-disabled`]:{background:gn,borderColor:kt,cursor:"not-allowed",[`${ge}-suffix`]:{color:Bl}},[`&${ge}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ge}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,gi.ik)(ce)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ge}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Rn}}},"&-large":Object.assign(Object.assign({},Ku(ce,Dt,Wt,gt)),{[`${ge}-input > input`]:{fontSize:Wt}}),"&-small":Object.assign({},Ku(ce,kn,Ne,cn)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:pa/2,color:Tn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:ja}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Tn,lineHeight:1,background:at,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ln}, color ${ln}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ga}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Wt,color:Tn,fontSize:Wt,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Ga},[`${ge}-range-separator &`]:{[`${ge}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ge}-clear`]:{insetInlineEnd:gt},"&:hover":{[`${ge}-clear`]:{opacity:1}},[`${ge}-active-bar`]:{bottom:-Lt,height:Ta,marginInlineStart:gt,background:_r,opacity:0,transition:`all ${cr} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${pa}px`,lineHeight:1},[`&${ge}-small`]:{[`${ge}-clear`]:{insetInlineEnd:cn},[`${ge}-active-bar`]:{marginInlineStart:cn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,tu.Wf)(ce)),vl(ce)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:to,[`&${ge}-dropdown-hidden`]:{display:"none"},[`&${ge}-dropdown-placement-bottomLeft`]:{[`${ge}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ge}-dropdown-placement-topLeft`]:{[`${ge}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-topLeft, &${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-topRight, &${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-topLeft, - &${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-topRight`]:{animationName:ui.Qt},[`&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-bottomLeft, + &${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-topRight`]:{animationName:ki.Qt},[`&${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-bottomLeft, &${me}-slide-up-enter${me}-slide-up-enter-active${ge}-dropdown-placement-bottomRight, &${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-bottomLeft, - &${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-bottomRight`]:{animationName:ui.fJ},[`&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-topLeft, - &${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-topRight`]:{animationName:ui.ly},[`&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-bottomLeft, - &${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-bottomRight`]:{animationName:ui.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:Qr},[`${ge}-ranges`]:{marginBottom:0,padding:`${Qr}px ${bo}px`,overflow:"hidden",lineHeight:`${Ro-2*Ht-xa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${me}-tag-blue`]:{color:Lr,background:zo,borderColor:Bo,cursor:"pointer"},[`${ge}-ok`]:{marginInlineStart:"auto"}},[`${ge}-range-wrapper`]:{display:"flex",position:"relative"},[`${ge}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:ft*1.5,transition:`left ${Ar} ease-out`},(0,mi.r)(ro,co,Io,an,fo)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:an,borderRadius:Co,boxShadow:Yo,transition:`margin ${Ar}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:nl,maxWidth:Sl,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:xa,borderInlineEnd:`${Ht}px ${zt} ${il}`,li:Object.assign(Object.assign({},Pi.vS),{borderRadius:pl,paddingInline:xa,paddingBlock:(zn-Math.round(Oe*ca))/2,cursor:"pointer",transition:`all ${Ar}`,"+ li":{marginTop:Ua},"&:hover":{background:El}})}},[`${ge}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ge}-panel`]:{borderWidth:`0 0 ${Ht}px`},"&:last-child":{[`${ge}-panel`]:{borderWidth:0}}},[`${ge}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ge}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:Wt}}}}),"&-dropdown-range":{padding:`${ro*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ge}-separator`]:{transform:"rotate(180deg)"},[`${ge}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,ui.oN)(de,"slide-up"),(0,ui.oN)(de,"slide-down"),(0,Jl.Fm)(de,"move-up"),(0,Jl.Fm)(de,"move-down")]},_u=de=>{const{componentCls:ge,controlHeightLG:me,paddingXXS:Le,padding:Oe}=de;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:me*1.5,pickerQuarterPanelContentHeight:me*1.4,pickerCellPaddingVertical:Le+Le/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Oe+Le/2}},Eu=de=>({cellHoverBg:de.controlItemBgHover,cellActiveWithRangeBg:de.controlItemBgActive,cellHoverWithRangeBg:new sl.C(de.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new sl.C(de.colorPrimary).lighten(20).toHexString(),cellBgDisabled:de.colorBgContainerDisabled,timeColumnWidth:de.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:de.controlHeightSM*1.5,cellHeight:de.controlHeightSM,textHeight:de.controlHeightLG,withoutTimeCellHeight:de.controlHeightLG*1.65});var iu=(0,Lu.Z)("DatePicker",de=>{const ge=(0,si.TS)((0,Zl.e5)(de),_u(de));return[Ju(ge),Ku(ge),(0,lu.c)(de,{focusElCls:`${de.componentCls}-focused`})]},de=>Object.assign(Object.assign(Object.assign({},(0,Zl.TM)(de)),Eu(de)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:de.zIndexPopupBase+50}));function Xu(de,ge,me){return me!==void 0?me:ge==="year"&&de.lang.yearPlaceholder?de.lang.yearPlaceholder:ge==="quarter"&&de.lang.quarterPlaceholder?de.lang.quarterPlaceholder:ge==="month"&&de.lang.monthPlaceholder?de.lang.monthPlaceholder:ge==="week"&&de.lang.weekPlaceholder?de.lang.weekPlaceholder:ge==="time"&&de.timePickerLocale.placeholder?de.timePickerLocale.placeholder:de.lang.placeholder}function Ou(de,ge,me){return me!==void 0?me:ge==="year"&&de.lang.yearPlaceholder?de.lang.rangeYearPlaceholder:ge==="quarter"&&de.lang.quarterPlaceholder?de.lang.rangeQuarterPlaceholder:ge==="month"&&de.lang.monthPlaceholder?de.lang.rangeMonthPlaceholder:ge==="week"&&de.lang.weekPlaceholder?de.lang.rangeWeekPlaceholder:ge==="time"&&de.timePickerLocale.placeholder?de.timePickerLocale.rangePlaceholder:de.lang.rangePlaceholder}function Dl(de,ge){const me={adjustX:1,adjustY:1};switch(ge){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:me};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:me};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:me};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:me};default:return{points:de==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:me}}}function Ai(de){return de?Array.isArray(de)?de:[de]:[]}function Wi(de){const{format:ge,picker:me,showHour:Le,showMinute:Oe,showSecond:ft,use12Hours:lt}=de,Ht=Ai(ge)[0],zt=Object.assign({},de);return ge&&Array.isArray(ge)&&(zt.format=Ht),Ht&&typeof Ht=="string"&&(!Ht.includes("s")&&ft===void 0&&(zt.showSecond=!1),!Ht.includes("m")&&Oe===void 0&&(zt.showMinute=!1),!Ht.includes("H")&&!Ht.includes("h")&&!Ht.includes("K")&&!Ht.includes("k")&&Le===void 0&&(zt.showHour=!1),(Ht.includes("a")||Ht.includes("A"))&<===void 0&&(zt.use12Hours=!0)),me==="time"?zt:(typeof Ht=="function"&&delete zt.format,{showTime:zt})}function Mu(de,ge,me){if(de===!1)return!1;const Le={clearIcon:ge!=null?ge:me};return typeof de=="object"?Object.assign(Object.assign({},Le),de):Le}var Ru=ae(3113);function Wa(de){return le.createElement(Ru.ZP,Object.assign({size:"small",type:"primary"},de))}var Tu={button:Wa},Ni=function(de,ge){var me={};for(var Le in de)Object.prototype.hasOwnProperty.call(de,Le)&&ge.indexOf(Le)<0&&(me[Le]=de[Le]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Le=Object.getOwnPropertySymbols(de);Oe{const{prefixCls:Oe,getPopupContainer:ft,className:lt,placement:Ht,size:zt,disabled:Wt,bordered:ea=!0,placeholder:cn,popupClassName:gn,dropdownClassName:jn,status:kn,clearIcon:yt,allowClear:ln,rootClassName:zn}=me,Ha=Ni(me,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),xa=le.useRef(null),{getPrefixCls:Ua,direction:Xa,getPopupContainer:Qa}=(0,le.useContext)(ii.E_),ca=Ua("picker",Oe),{compactSize:Lr,compactItemClassnames:Ar}=(0,cl.ri)(ca,Xa),{format:Jr,showTime:Qr,picker:bo}=me,Ro=Ua(),[zo,Bo]=iu(ca),ro=Object.assign(Object.assign({},Qr?Wi(Object.assign({format:Jr,picker:bo},Qr)):{}),bo==="time"?Wi(Object.assign(Object.assign({format:Jr},me),{picker:bo})):{}),co=(0,eu.Z)(fo=>{var Uo;return(Uo=zt!=null?zt:Lr)!==null&&Uo!==void 0?Uo:fo}),Io=le.useContext(ji.Z),an=Wt!=null?Wt:Io,Co=(0,le.useContext)(ni.aM),{hasFeedback:Yo,status:pl,feedbackIcon:il}=Co,El=le.createElement(le.Fragment,null,bo==="time"?le.createElement(gt,null):le.createElement(Re,null),Yo&&il);(0,le.useImperativeHandle)(Le,()=>({focus:()=>{var fo;return(fo=xa.current)===null||fo===void 0?void 0:fo.focus()},blur:()=>{var fo;return(fo=xa.current)===null||fo===void 0?void 0:fo.blur()}}));const[nl]=(0,Li.Z)("Calendar",Vi.Z),Sl=Object.assign(Object.assign({},nl),me.locale);return zo(le.createElement(Ei,Object.assign({separator:le.createElement("span",{"aria-label":"to",className:`${ca}-separator`},le.createElement(Qt,null)),disabled:an,ref:xa,dropdownAlign:Dl(Xa,Ht),placeholder:Ou(Sl,bo,cn),suffixIcon:El,prevIcon:le.createElement("span",{className:`${ca}-prev-icon`}),nextIcon:le.createElement("span",{className:`${ca}-next-icon`}),superPrevIcon:le.createElement("span",{className:`${ca}-super-prev-icon`}),superNextIcon:le.createElement("span",{className:`${ca}-super-next-icon`}),transitionName:`${Ro}-slide-up`},Ha,ro,{className:Ie()({[`${ca}-${co}`]:co,[`${ca}-borderless`]:!ea},(0,Si.Z)(ca,(0,Si.F)(pl,kn),Yo),Bo,Ar,lt,zn),locale:Sl.lang,prefixCls:ca,getPopupContainer:ft||Qa,generateConfig:de,components:Tu,direction:Xa,dropdownClassName:Ie()(Bo,gn||jn,zn),allowClear:Mu(ln,yt,le.createElement(mt.Z,null))})))})}var uu=function(de,ge){var me={};for(var Le in de)Object.prototype.hasOwnProperty.call(de,Le)&&ge.indexOf(Le)<0&&(me[Le]=de[Le]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Le=Object.getOwnPropertySymbols(de);Oe{const{prefixCls:kn,getPopupContainer:yt,style:ln,className:zn,rootClassName:Ha,size:xa,bordered:Ua=!0,placement:Xa,placeholder:Qa,popupClassName:ca,dropdownClassName:Lr,disabled:Ar,status:Jr,clearIcon:Qr,allowClear:bo}=gn,Ro=uu(gn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zo,direction:Bo,getPopupContainer:ro,[ea]:co}=(0,le.useContext)(ii.E_),Io=zo("picker",kn),{compactSize:an,compactItemClassnames:Co}=(0,cl.ri)(Io,Bo),Yo=le.useRef(null),{format:pl,showTime:il}=gn,[El,nl]=iu(Io);(0,le.useImperativeHandle)(jn,()=>({focus:()=>{var Pl;return(Pl=Yo.current)===null||Pl===void 0?void 0:Pl.focus()},blur:()=>{var Pl;return(Pl=Yo.current)===null||Pl===void 0?void 0:Pl.blur()}}));const Sl={showToday:!0};let fo={};zt&&(fo.picker=zt);const Uo=zt||gn.picker;fo=Object.assign(Object.assign(Object.assign({},fo),il?Wi(Object.assign({format:pl,picker:Uo},il)):{}),Uo==="time"?Wi(Object.assign(Object.assign({format:pl},gn),{picker:Uo})):{});const Xr=zo(),Ol=(0,eu.Z)(Pl=>{var di;return(di=xa!=null?xa:an)!==null&&di!==void 0?di:Pl}),al=le.useContext(ji.Z),Gl=Ar!=null?Ar:al,_l=(0,le.useContext)(ni.aM),{hasFeedback:zr,status:$o,feedbackIcon:el}=_l,Fl=le.createElement(le.Fragment,null,Uo==="time"?le.createElement(gt,null):le.createElement(Re,null),zr&&el),[Ll]=(0,Li.Z)("DatePicker",Vi.Z),Da=Object.assign(Object.assign({},Ll),gn.locale);return El(le.createElement(zi,Object.assign({ref:Yo,placeholder:Xu(Da,Uo,Qa),suffixIcon:Fl,dropdownAlign:Dl(Bo,Xa),prevIcon:le.createElement("span",{className:`${Io}-prev-icon`}),nextIcon:le.createElement("span",{className:`${Io}-next-icon`}),superPrevIcon:le.createElement("span",{className:`${Io}-super-prev-icon`}),superNextIcon:le.createElement("span",{className:`${Io}-super-next-icon`}),transitionName:`${Xr}-slide-up`},Sl,Ro,fo,{locale:Da.lang,className:Ie()({[`${Io}-${Ol}`]:Ol,[`${Io}-borderless`]:!Ua},(0,Si.Z)(Io,(0,Si.F)($o,Jr),zr),nl,Co,co==null?void 0:co.className,zn,Ha),style:Object.assign(Object.assign({},co==null?void 0:co.style),ln),prefixCls:Io,getPopupContainer:yt||ro,generateConfig:de,components:Tu,direction:Bo,disabled:Gl,dropdownClassName:Ie()(nl,Ha,ca||Lr),allowClear:Mu(bo,Qr,le.createElement(mt.Z,null))})))});return Wt&&(cn.displayName=Wt),cn}const me=ge(),Le=ge("week","WeekPicker"),Oe=ge("month","MonthPicker"),ft=ge("year","YearPicker"),lt=ge("time","TimePicker"),Ht=ge("quarter","QuarterPicker");return{DatePicker:me,WeekPicker:Le,MonthPicker:Oe,YearPicker:ft,TimePicker:lt,QuarterPicker:Ht}}const Fs=null;function es(de){const{DatePicker:ge,WeekPicker:me,MonthPicker:Le,YearPicker:Oe,TimePicker:ft,QuarterPicker:lt}=$u(de),Ht=oa(de),zt=ge;return zt.WeekPicker=me,zt.MonthPicker=Le,zt.YearPicker=Oe,zt.RangePicker=Ht,zt.TimePicker=ft,zt.QuarterPicker=lt,zt}var su=es;const Ii=su(te);function gl(de){const ge=Dl(de.direction,de.placement);return ge.overflow.adjustY=!1,ge.overflow.adjustX=!1,Object.assign(Object.assign({},de),{dropdownAlign:ge})}const ku=(0,oe.Z)(Ii,"picker",null,gl);Ii._InternalPanelDoNotUseOrYouWillBeFired=ku;const ts=(0,oe.Z)(Ii.RangePicker,"picker",null,gl);Ii._InternalRangePanelDoNotUseOrYouWillBeFired=ts,Ii.generatePicker=su;var ns=Ii},39722:function(ut,Gt,ae){"use strict";ae.d(Gt,{t5:function(){return we}});var y=ae(92310),pe=ae.n(y),Be=ae(55477),Te=ae(59301),ke=ae(36355),We=ae(77578),xe=ae(17356),Ye=function(Ge,Je){var ie={};for(var E in Ge)Object.prototype.hasOwnProperty.call(Ge,E)&&Je.indexOf(E)<0&&(ie[E]=Ge[E]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Ge);a{if(!(!Je&&!ie))return Te.createElement(Te.Fragment,null,Je&&Te.createElement("div",{className:`${Ge}-title`},(0,We.Z)(Je)),Te.createElement("div",{className:`${Ge}-inner-content`},(0,We.Z)(ie)))},we=Ge=>{const{hashId:Je,prefixCls:ie,className:E,style:a,placement:x="top",title:b,content:z,children:te}=Ge;return Te.createElement("div",{className:pe()(Je,ie,`${ie}-pure`,`${ie}-placement-${x}`,E),style:a},Te.createElement("div",{className:`${ie}-arrow`}),Te.createElement(Be.G,Object.assign({},Ge,{className:Je,prefixCls:ie}),te||Ne(ie,b,z)))},Me=Ge=>{const{prefixCls:Je}=Ge,ie=Ye(Ge,["prefixCls"]),{getPrefixCls:E}=Te.useContext(ke.E_),a=E("popover",Je),[x,b]=(0,xe.Z)(a);return x(Te.createElement(we,Object.assign({},ie,{prefixCls:a,hashId:b})))};Gt.ZP=Me},60324:function(ut,Gt,ae){"use strict";var y=ae(92310),pe=ae.n(y),Be=ae(59301),Te=ae(77578),ke=ae(62892),We=ae(36355),xe=ae(6848),Ye=ae(39722),Ne=ae(17356),we=function(Je,ie){var E={};for(var a in Je)Object.prototype.hasOwnProperty.call(Je,a)&&ie.indexOf(a)<0&&(E[a]=Je[a]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Je);x{let{title:ie,content:E,prefixCls:a}=Je;return Be.createElement(Be.Fragment,null,ie&&Be.createElement("div",{className:`${a}-title`},(0,Te.Z)(ie)),Be.createElement("div",{className:`${a}-inner-content`},(0,Te.Z)(E)))},Ge=Be.forwardRef((Je,ie)=>{const{prefixCls:E,title:a,content:x,overlayClassName:b,placement:z="top",trigger:te="hover",mouseEnterDelay:oe=.1,mouseLeaveDelay:ue=.1,overlayStyle:le={}}=Je,Ee=we(Je,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ce}=Be.useContext(We.E_),Qe=Ce("popover",E),[De,st]=(0,Ne.Z)(Qe),Re=Ce(),Ke=pe()(b,st);return De(Be.createElement(xe.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:oe,mouseLeaveDelay:ue,overlayStyle:le},Ee,{prefixCls:Qe,overlayClassName:Ke,ref:ie,overlay:a||x?Be.createElement(Me,{prefixCls:Qe,title:a,content:x}):null,transitionName:(0,ke.m)(Re,"zoom-big",Ee.transitionName),"data-popover-inject":!0})))});Ge._InternalPanelDoNotUseOrYouWillBeFired=Ye.ZP,Gt.Z=Ge},17356:function(ut,Gt,ae){"use strict";var y=ae(17313),pe=ae(29878),Be=ae(19447),Te=ae(33166),ke=ae(83116),We=ae(37613);const xe=we=>{const{componentCls:Me,popoverColor:Ge,minWidth:Je,fontWeightStrong:ie,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:oe,popoverBg:ue}=we;return[{[Me]:Object.assign(Object.assign({},(0,y.Wf)(we)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":oe,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Me}-content`]:{position:"relative"},[`${Me}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:b,boxShadow:a,padding:E},[`${Me}-title`]:{minWidth:Je,marginBottom:te,color:x,fontWeight:ie},[`${Me}-inner-content`]:{color:Ge}})},(0,Be.ZP)(we,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Me}-pure`]:{position:"relative",maxWidth:"none",margin:we.sizePopupArrow,display:"inline-block",[`${Me}-content`]:{display:"inline-block"}}}]},Ye=we=>{const{componentCls:Me}=we;return{[Me]:Te.i.map(Ge=>{const Je=we[`${Ge}6`];return{[`&${Me}-${Ge}`]:{"--antd-arrow-background-color":Je,[`${Me}-inner`]:{backgroundColor:Je},[`${Me}-arrow`]:{background:"transparent"}}}})}},Ne=we=>{const{componentCls:Me,lineWidth:Ge,lineType:Je,colorSplit:ie,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:b,padding:z}=we,te=a-Math.round(x*b),oe=te/2,ue=te/2-Ge,le=z;return{[Me]:{[`${Me}-inner`]:{padding:0},[`${Me}-title`]:{margin:0,padding:`${oe}px ${le}px ${ue}px`,borderBottom:`${Ge}px ${Je} ${ie}`},[`${Me}-inner-content`]:{padding:`${E}px ${le}px`}}}};Gt.Z=(0,ke.Z)("Popover",we=>{const{colorBgElevated:Me,colorText:Ge,wireframe:Je}=we,ie=(0,We.TS)(we,{popoverPadding:12,popoverBg:Me,popoverColor:Ge});return[xe(ie),Ye(ie),Je&&Ne(ie),(0,pe._y)(ie,"zoom-big")]},we=>({width:177,minWidth:177,zIndexPopup:we.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z:function(){return st}});var y=ae(59301),pe=ae(99267),Be=ae(92310),Te=ae.n(Be),ke=ae(36785),We=ae(47729),xe=ae(14088),Ye=ae(36355),Ne=ae(17313),we=ae(37613),Me=ae(83116);const Ge=Re=>{const{paddingXXS:Ke,lineWidth:ze,tagPaddingHorizontal:qe,componentCls:Ae}=Re,gt=qe-ze,mt=Ke-ze;return{[Ae]:Object.assign(Object.assign({},(0,Ne.Wf)(Re)),{display:"inline-block",height:"auto",marginInlineEnd:Re.marginXS,paddingInline:gt,fontSize:Re.tagFontSize,lineHeight:Re.tagLineHeight,whiteSpace:"nowrap",background:Re.defaultBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,opacity:1,transition:`all ${Re.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ae}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Re.defaultColor},[`${Ae}-close-icon`]:{marginInlineStart:mt,color:Re.colorTextDescription,fontSize:Re.tagIconSize,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,"&:hover":{color:Re.colorTextHeading}},[`&${Ae}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Re.iconCls}-close, ${Re.iconCls}-close:hover`]:{color:Re.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ae}-checkable-checked):hover`]:{color:Re.colorPrimary,backgroundColor:Re.colorFillSecondary},"&:active, &-checked":{color:Re.colorTextLightSolid},"&-checked":{backgroundColor:Re.colorPrimary,"&:hover":{backgroundColor:Re.colorPrimaryHover}},"&:active":{backgroundColor:Re.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Re.iconCls} + span, > span + ${Re.iconCls}`]:{marginInlineStart:gt}}),[`${Ae}-borderless`]:{borderColor:"transparent",background:Re.tagBorderlessBg}}},Je=Re=>{const{lineWidth:Ke,fontSizeIcon:ze}=Re,qe=Re.fontSizeSM,Ae=`${Re.lineHeightSM*qe}px`;return(0,we.TS)(Re,{tagFontSize:qe,tagLineHeight:Ae,tagIconSize:ze-2*Ke,tagPaddingHorizontal:8,tagBorderlessBg:Re.colorFillTertiary})},ie=Re=>({defaultBg:Re.colorFillQuaternary,defaultColor:Re.colorText});var E=(0,Me.Z)("Tag",Re=>{const Ke=Je(Re);return Ge(Ke)},ie),a=function(Re,Ke){var ze={};for(var qe in Re)Object.prototype.hasOwnProperty.call(Re,qe)&&Ke.indexOf(qe)<0&&(ze[qe]=Re[qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,qe=Object.getOwnPropertySymbols(Re);Ae{const{prefixCls:Ke,style:ze,className:qe,checked:Ae,onChange:gt,onClick:mt}=Re,xt=a(Re,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Et,tag:fn}=y.useContext(Ye.E_),dn=Tt=>{gt==null||gt(!Ae),mt==null||mt(Tt)},Qt=Et("tag",Ke),[rt,Ie]=E(Qt),at=Te()(Qt,`${Qt}-checkable`,{[`${Qt}-checkable-checked`]:Ae},fn==null?void 0:fn.className,qe,Ie);return rt(y.createElement("span",Object.assign({},xt,{style:Object.assign(Object.assign({},ze),fn==null?void 0:fn.style),className:at,onClick:dn})))},z=ae(45157);const te=Re=>(0,z.Z)(Re,(Ke,ze)=>{let{textColor:qe,lightBorderColor:Ae,lightColor:gt,darkColor:mt}=ze;return{[`${Re.componentCls}-${Ke}`]:{color:qe,background:gt,borderColor:Ae,"&-inverse":{color:Re.colorTextLightSolid,background:mt,borderColor:mt},[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}});var oe=(0,Me.b)(["Tag","preset"],Re=>{const Ke=Je(Re);return te(Ke)},ie);function ue(Re){return typeof Re!="string"?Re:Re.charAt(0).toUpperCase()+Re.slice(1)}const le=(Re,Ke,ze)=>{const qe=ue(ze);return{[`${Re.componentCls}-${Ke}`]:{color:Re[`color${ze}`],background:Re[`color${qe}Bg`],borderColor:Re[`color${qe}Border`],[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ee=(0,Me.b)(["Tag","status"],Re=>{const Ke=Je(Re);return[le(Ke,"success","Success"),le(Ke,"processing","Info"),le(Ke,"error","Error"),le(Ke,"warning","Warning")]},ie),Ce=function(Re,Ke){var ze={};for(var qe in Re)Object.prototype.hasOwnProperty.call(Re,qe)&&Ke.indexOf(qe)<0&&(ze[qe]=Re[qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,qe=Object.getOwnPropertySymbols(Re);Ae{const{prefixCls:ze,className:qe,rootClassName:Ae,style:gt,children:mt,icon:xt,color:Et,onClose:fn,closeIcon:dn,closable:Qt,bordered:rt=!0}=Re,Ie=Ce(Re,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:at,direction:Tt,tag:Sn}=y.useContext(Ye.E_),[Ve,Ut]=y.useState(!0);y.useEffect(()=>{"visible"in Ie&&Ut(Ie.visible)},[Ie.visible]);const be=(0,ke.o2)(Et),tt=(0,ke.yT)(Et),Jt=be||tt,nt=Object.assign(Object.assign({backgroundColor:Et&&!Jt?Et:void 0},Sn==null?void 0:Sn.style),gt),vt=at("tag",ze),[Nn,bt]=E(vt),St=Te()(vt,Sn==null?void 0:Sn.className,{[`${vt}-${Et}`]:Jt,[`${vt}-has-color`]:Et&&!Jt,[`${vt}-hidden`]:!Ve,[`${vt}-rtl`]:Tt==="rtl",[`${vt}-borderless`]:!rt},qe,Ae,bt),Ft=Wn=>{Wn.stopPropagation(),fn==null||fn(Wn),!Wn.defaultPrevented&&Ut(!1)},[,it]=(0,We.Z)(Qt,dn,Wn=>Wn===null?y.createElement(pe.Z,{className:`${vt}-close-icon`,onClick:Ft}):y.createElement("span",{className:`${vt}-close-icon`,onClick:Ft},Wn),null,!1),In=typeof Ie.onClick=="function"||mt&&mt.type==="a",Yt=xt||null,_n=Yt?y.createElement(y.Fragment,null,Yt,mt&&y.createElement("span",null,mt)):mt,Ea=y.createElement("span",Object.assign({},Ie,{ref:Ke,className:St,style:nt}),_n,it,be&&y.createElement(oe,{key:"preset",prefixCls:vt}),tt&&y.createElement(Ee,{key:"status",prefixCls:vt}));return Nn(In?y.createElement(xe.Z,{component:"Tag"},Ea):Ea)},De=y.forwardRef(Qe);De.CheckableTag=b;var st=De},98228:function(ut,Gt,ae){"use strict";ae.d(Gt,{default:function(){return Rr}});var y=ae(92310),pe=ae.n(y),Be=ae(54476),Te=ae(94480),ke=ae(33885),We=ae(42978),xe=ae(75931),Ye=ae(76190),Ne=ae(77861),we=ae(17115),Me=ae(90782),Ge=ae(18929),Je=ae(48736),ie=ae(59301),E=function(It){var vn=ie.useRef({valueLabels:new Map});return ie.useMemo(function(){var ua=vn.current.valueLabels,Mn=new Map,Ze=It.map(function(kt){var Nt,tn=kt.value,nn=(Nt=kt.label)!==null&&Nt!==void 0?Nt:ua.get(tn);return Mn.set(tn,nn),(0,ke.Z)((0,ke.Z)({},kt),{},{label:nn})});return vn.current.valueLabels=Mn,[Ze]},[It])},a=function(It,vn,ua,Mn){return ie.useMemo(function(){var Ze=It.map(function(nn){var Kn=nn.value;return Kn}),kt=vn.map(function(nn){var Kn=nn.value;return Kn}),Nt=Ze.filter(function(nn){return!Mn[nn]});if(ua){var tn=(0,Me.S)(Ze,!0,Mn);Ze=tn.checkedKeys,kt=tn.halfCheckedKeys}return[Array.from(new Set([].concat((0,Te.Z)(Nt),(0,Te.Z)(Ze)))),kt]},[It,vn,ua,Mn])},x=ae(71430),b=function(It,vn){return ie.useMemo(function(){var ua=(0,x.I8)(It,{fieldNames:vn,initWrapper:function(Ze){return(0,ke.Z)((0,ke.Z)({},Ze),{},{valueEntities:new Map})},processEntity:function(Ze,kt){var Nt=Ze.node[vn.value];if(0)var tn;kt.valueEntities.set(Nt,Ze)}});return ua},[It,vn])},z=ae(20068),te=ae(11592),oe=function(){return null},ue=oe,le=["children","value"];function Ee(It){return(0,te.Z)(It).map(function(vn){if(!ie.isValidElement(vn)||!vn.type)return null;var ua=vn,Mn=ua.key,Ze=ua.props,kt=Ze.children,Nt=Ze.value,tn=(0,xe.Z)(Ze,le),nn=(0,ke.Z)({key:Mn,value:Nt},tn),Kn=Ee(kt);return Kn.length&&(nn.children=Kn),nn}).filter(function(vn){return vn})}function Ce(It){if(!It)return It;var vn=(0,ke.Z)({},It);return"props"in vn||Object.defineProperty(vn,"props",{get:function(){return(0,Je.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),vn}}),vn}function Qe(It,vn,ua,Mn,Ze,kt){var Nt=null,tn=null;function nn(){function Kn(Ln){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ln.map(function(_e,En){var yn="".concat($e,"-").concat(En),Zn=_e[kt.value],Ta=ua.includes(Zn),Fa=Kn(_e[kt.children]||[],yn,Ta),sa=ie.createElement(ue,_e,Fa.map(function(ma){return ma.node}));if(vn===Zn&&(Nt=sa),Ta){var Ia={pos:yn,node:sa,children:Fa};return ot||tn.push(Ia),Ia}return null}).filter(function(_e){return _e})}tn||(tn=[],Kn(Mn),tn.sort(function(Ln,$e){var ot=Ln.node.props.value,_e=$e.node.props.value,En=ua.indexOf(ot),yn=ua.indexOf(_e);return En-yn}))}Object.defineProperty(It,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),nn(),Nt}}),Object.defineProperty(It,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),nn(),Ze?tn:tn.map(function(Ln){var $e=Ln.node;return $e})}})}var De=function(It,vn,ua){var Mn=ua.treeNodeFilterProp,Ze=ua.filterTreeNode,kt=ua.fieldNames,Nt=kt.children;return ie.useMemo(function(){if(!vn||Ze===!1)return It;var tn;if(typeof Ze=="function")tn=Ze;else{var nn=vn.toUpperCase();tn=function($e,ot){var _e=ot[Mn];return String(_e).toUpperCase().includes(nn)}}function Kn(Ln){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ln.reduce(function(ot,_e){var En=_e[Nt],yn=$e||tn(vn,Ce(_e)),Zn=Kn(En||[],yn);return(yn||Zn.length)&&ot.push((0,ke.Z)((0,ke.Z)({},_e),{},(0,z.Z)({isLeaf:void 0},Nt,Zn))),ot},[])}return Kn(It)},[It,vn,Nt,Mn,Ze])};function st(It){var vn=ie.useRef();vn.current=It;var ua=ie.useCallback(function(){return vn.current.apply(vn,arguments)},[]);return ua}function Re(It,vn){var ua=vn.id,Mn=vn.pId,Ze=vn.rootPId,kt={},Nt=[],tn=It.map(function(nn){var Kn=(0,ke.Z)({},nn),Ln=Kn[ua];return kt[Ln]=Kn,Kn.key=Kn.key||Ln,Kn});return tn.forEach(function(nn){var Kn=nn[Mn],Ln=kt[Kn];Ln&&(Ln.children=Ln.children||[],Ln.children.push(nn)),(Kn===Ze||!Ln&&Ze===null)&&Nt.push(nn)}),Nt}function Ke(It,vn,ua){return ie.useMemo(function(){return It?ua?Re(It,(0,ke.Z)({id:"id",pId:"pId",rootPId:null},ua!==!0?ua:{})):It:Ee(vn)},[vn,ua,It])}var ze=ie.createContext(null),qe=ze,Ae=ae(10228),gt=ae(80547),mt=ae(60091),xt=ie.createContext(null),Et=xt;function fn(It){return Array.isArray(It)?It:It!==void 0?[It]:[]}function dn(It){var vn=It||{},ua=vn.label,Mn=vn.value,Ze=vn.children,kt=Mn||"value";return{_title:ua?[ua]:["title","label"],value:kt,key:kt,children:Ze||"children"}}function Qt(It){return!It||It.disabled||It.disableCheckbox||It.checkable===!1}function rt(It,vn){var ua=[];function Mn(Ze){Ze.forEach(function(kt){var Nt=kt[vn.children];Nt&&(ua.push(kt[vn.value]),Mn(Nt))})}return Mn(It),ua}function Ie(It){return It==null}var at={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Tt=function(vn,ua){var Mn=(0,Ne.lk)(),Ze=Mn.prefixCls,kt=Mn.multiple,Nt=Mn.searchValue,tn=Mn.toggleOpen,nn=Mn.open,Kn=Mn.notFoundContent,Ln=ie.useContext(Et),$e=Ln.virtual,ot=Ln.listHeight,_e=Ln.listItemHeight,En=Ln.treeData,yn=Ln.fieldNames,Zn=Ln.onSelect,Ta=Ln.dropdownMatchSelectWidth,Fa=Ln.treeExpandAction,sa=ie.useContext(qe),Ia=sa.checkable,ma=sa.checkedKeys,Vt=sa.halfCheckedKeys,_a=sa.treeExpandedKeys,vr=sa.treeDefaultExpandAll,Yr=sa.treeDefaultExpandedKeys,jt=sa.onTreeExpand,gr=sa.treeIcon,At=sa.showTreeIcon,Bt=sa.switcherIcon,fa=sa.treeLine,Qn=sa.treeNodeFilterProp,Pa=sa.loadData,qa=sa.treeLoadedKeys,ka=sa.treeMotion,Ca=sa.onTreeLoad,na=sa.keyEntities,wt=ie.useRef(),pr=(0,gt.Z)(function(){return En},[nn,En],function(Cr,Vr){return Vr[0]&&Cr[1]!==Vr[1]}),Zr=ie.useState(null),Gr=(0,We.Z)(Zr,2),hr=Gr[0],On=Gr[1],ha=na[hr],la=ie.useMemo(function(){return Ia?{checked:ma,halfChecked:Vt}:null},[Ia,ma,Vt]);ie.useEffect(function(){if(nn&&!kt&&ma.length){var Cr;(Cr=wt.current)===null||Cr===void 0||Cr.scrollTo({key:ma[0]}),On(ma[0])}},[nn]);var Xn=String(Nt).toLowerCase(),Sr=function(Vr){return Xn?String(Vr[Qn]).toLowerCase().includes(Xn):!1},xr=ie.useState(Yr),Mr=(0,We.Z)(xr,2),Br=Mr[0],dr=Mr[1],Eo=ie.useState(null),po=(0,We.Z)(Eo,2),tl=po[0],Hr=po[1],Nr=ie.useMemo(function(){return _a?(0,Te.Z)(_a):Nt?tl:Br},[Br,tl,_a,Nt]);ie.useEffect(function(){Nt&&Hr(rt(En,yn))},[Nt]);var uo=function(Vr){dr(Vr),Hr(Vr),jt&&jt(Vr)},to=function(Vr){Vr.preventDefault()},Kr=function(Vr,Mo){var Do=Mo.node;Ia&&Qt(Do)||(Zn(Do.key,{selected:!ma.includes(Do.key)}),kt||tn(!1))};if(ie.useImperativeHandle(ua,function(){var Cr;return{scrollTo:(Cr=wt.current)===null||Cr===void 0?void 0:Cr.scrollTo,onKeyDown:function(Mo){var Do,ur=Mo.which;switch(ur){case Ae.Z.UP:case Ae.Z.DOWN:case Ae.Z.LEFT:case Ae.Z.RIGHT:(Do=wt.current)===null||Do===void 0||Do.onKeyDown(Mo);break;case Ae.Z.ENTER:{if(ha){var Qo=(ha==null?void 0:ha.node)||{},Vo=Qo.selectable,Ko=Qo.value;Vo!==!1&&Kr(null,{node:{key:hr},selected:!ma.includes(Ko)})}break}case Ae.Z.ESC:tn(!1)}},onKeyUp:function(){}}}),pr.length===0)return ie.createElement("div",{role:"listbox",className:"".concat(Ze,"-empty"),onMouseDown:to},Kn);var So={fieldNames:yn};return qa&&(So.loadedKeys=qa),Nr&&(So.expandedKeys=Nr),ie.createElement("div",{onMouseDown:to},ha&&nn&&ie.createElement("span",{style:at,"aria-live":"assertive"},ha.node.value),ie.createElement(mt.Z,(0,Be.Z)({ref:wt,focusable:!1,prefixCls:"".concat(Ze,"-tree"),treeData:pr,height:ot,itemHeight:_e,virtual:$e!==!1&&Ta!==!1,multiple:kt,icon:gr,showIcon:At,switcherIcon:Bt,showLine:fa,loadData:Nt?null:Pa,motion:ka,activeKey:hr,checkable:Ia,checkStrictly:!0,checkedKeys:la,selectedKeys:Ia?[]:ma,defaultExpandAll:vr},So,{onActiveChange:On,onSelect:Kr,onCheck:Kr,onExpand:uo,onLoad:Ca,filterTreeNode:Sr,expandAction:Fa})))},Sn=ie.forwardRef(Tt);Sn.displayName="OptionList";var Ve=Sn,Ut="SHOW_ALL",be="SHOW_PARENT",tt="SHOW_CHILD";function Jt(It,vn,ua,Mn){var Ze=new Set(It);return vn===tt?It.filter(function(kt){var Nt=ua[kt];return!(Nt&&Nt.children&&Nt.children.some(function(tn){var nn=tn.node;return Ze.has(nn[Mn.value])})&&Nt.children.every(function(tn){var nn=tn.node;return Qt(nn)||Ze.has(nn[Mn.value])}))}):vn===be?It.filter(function(kt){var Nt=ua[kt],tn=Nt?Nt.parent:null;return!(tn&&!Qt(tn.node)&&Ze.has(tn.key))}):It}function nt(It){var vn=It.searchPlaceholder,ua=It.treeCheckStrictly,Mn=It.treeCheckable,Ze=It.labelInValue,kt=It.value,Nt=It.multiple;warning(!vn,"`searchPlaceholder` has been removed."),ua&&Ze===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ze||ua)&&warning(toArray(kt).every(function(tn){return tn&&_typeof(tn)==="object"&&"value"in tn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ua||Nt||Mn?warning(!kt||Array.isArray(kt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(kt),"`value` should not be array when `TreeSelect` is single mode.")}var vt=null,Nn=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function bt(It){return!It||(0,Ye.Z)(It)!=="object"}var St=ie.forwardRef(function(It,vn){var ua=It.id,Mn=It.prefixCls,Ze=Mn===void 0?"rc-tree-select":Mn,kt=It.value,Nt=It.defaultValue,tn=It.onChange,nn=It.onSelect,Kn=It.onDeselect,Ln=It.searchValue,$e=It.inputValue,ot=It.onSearch,_e=It.autoClearSearchValue,En=_e===void 0?!0:_e,yn=It.filterTreeNode,Zn=It.treeNodeFilterProp,Ta=Zn===void 0?"value":Zn,Fa=It.showCheckedStrategy,sa=It.treeNodeLabelProp,Ia=It.multiple,ma=It.treeCheckable,Vt=It.treeCheckStrictly,_a=It.labelInValue,vr=It.fieldNames,Yr=It.treeDataSimpleMode,jt=It.treeData,gr=It.children,At=It.loadData,Bt=It.treeLoadedKeys,fa=It.onTreeLoad,Qn=It.treeDefaultExpandAll,Pa=It.treeExpandedKeys,qa=It.treeDefaultExpandedKeys,ka=It.onTreeExpand,Ca=It.treeExpandAction,na=It.virtual,wt=It.listHeight,pr=wt===void 0?200:wt,Zr=It.listItemHeight,Gr=Zr===void 0?20:Zr,hr=It.onDropdownVisibleChange,On=It.dropdownMatchSelectWidth,ha=On===void 0?!0:On,la=It.treeLine,Xn=It.treeIcon,Sr=It.showTreeIcon,xr=It.switcherIcon,Mr=It.treeMotion,Br=(0,xe.Z)(It,Nn),dr=(0,we.ZP)(ua),Eo=ma&&!Vt,po=ma||Vt,tl=Vt||_a,Hr=po||Ia,Nr=(0,Ge.Z)(Nt,{value:kt}),uo=(0,We.Z)(Nr,2),to=uo[0],Kr=uo[1],So=ie.useMemo(function(){return ma?Fa||tt:Ut},[Fa,ma]),Cr=ie.useMemo(function(){return dn(vr)},[JSON.stringify(vr)]),Vr=(0,Ge.Z)("",{value:Ln!==void 0?Ln:$e,postState:function(cr){return cr||""}}),Mo=(0,We.Z)(Vr,2),Do=Mo[0],ur=Mo[1],Qo=function(cr){ur(cr),ot==null||ot(cr)},Vo=Ke(jt,gr,Yr),Ko=b(Vo,Cr),Wr=Ko.keyEntities,Zo=Ko.valueEntities,he=ie.useCallback(function(so){var cr=[],Pt=[];return so.forEach(function(dt){Zo.has(dt)?Pt.push(dt):cr.push(dt)}),{missingRawValues:cr,existRawValues:Pt}},[Zo]),Dt=De(Vo,Do,{fieldNames:Cr,treeNodeFilterProp:Ta,filterTreeNode:yn}),$t=ie.useCallback(function(so){if(so){if(sa)return so[sa];for(var cr=Cr._title,Pt=0;Pt{const{componentCls:vn,treePrefixCls:ua,colorBgElevated:Mn}=It,Ze=`.${ua}`;return[{[`${vn}-dropdown`]:[{padding:`${It.paddingXS}px ${It.paddingXS/2}px`},(0,ya.Yk)(ua,(0,Mt.TS)(It,{colorBgContainer:Mn})),{[Ze]:{borderRadius:0,[`${Ze}-list-holder-inner`]:{alignItems:"stretch",[`${Ze}-treenode`]:{[`${Ze}-node-content-wrapper`]:{flex:"auto"}}}}},(0,ga.C2)(`${ua}-checkbox`,It),{"&-rtl":{direction:"rtl",[`${Ze}-switcher${Ze}-switcher_close`]:{[`${Ze}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function ir(It,vn){return(0,en.Z)("TreeSelect",ua=>{const Mn=(0,Mt.TS)(ua,{treePrefixCls:vn});return[lr(Mn)]},ya.TM)(It)}var nr=function(It,vn){var ua={};for(var Mn in It)Object.prototype.hasOwnProperty.call(It,Mn)&&vn.indexOf(Mn)<0&&(ua[Mn]=It[Mn]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Mn=Object.getOwnPropertySymbols(It);Ze{var ua,{prefixCls:Mn,size:Ze,disabled:kt,bordered:Nt=!0,className:tn,rootClassName:nn,treeCheckable:Kn,multiple:Ln,listHeight:$e=256,listItemHeight:ot=26,placement:_e,notFoundContent:En,switcherIcon:yn,treeLine:Zn,getPopupContainer:Ta,popupClassName:Fa,dropdownClassName:sa,treeIcon:Ia=!1,transitionName:ma,choiceTransitionName:Vt="",status:_a,treeExpandAction:vr,builtinPlacements:Yr,dropdownMatchSelectWidth:jt,popupMatchSelectWidth:gr,allowClear:At}=It,Bt=nr(It,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:fa,getPrefixCls:Qn,renderEmpty:Pa,direction:qa,virtual:ka,popupMatchSelectWidth:Ca,popupOverflow:na}=ie.useContext(sn.E_),wt=Qn(),pr=Qn("select",Mn),Zr=Qn("select-tree",Mn),Gr=Qn("tree-select",Mn),{compactSize:hr,compactItemClassnames:On}=(0,Sa.ri)(pr,qa),[ha,la]=(0,Ka.Z)(pr),[Xn]=ir(Gr,Zr),Sr=pe()(Fa||sa,`${Gr}-dropdown`,{[`${Gr}-dropdown-rtl`]:qa==="rtl"},nn,la),xr=!!(Kn||Ln),Mr=(0,La.Z)(Bt.suffixIcon,Bt.showArrow),Br=(ua=gr!=null?gr:jt)!==null&&ua!==void 0?ua:Ca,{status:dr,hasFeedback:Eo,isFormItemInput:po,feedbackIcon:tl}=ie.useContext(wa.aM),Hr=(0,Wn.F)(dr,_a),{suffixIcon:Nr,removeIcon:uo,clearIcon:to}=(0,Ja.Z)(Object.assign(Object.assign({},Bt),{multiple:xr,showSuffixIcon:Mr,hasFeedback:Eo,feedbackIcon:tl,prefixCls:pr,componentName:"TreeSelect"})),Kr=At===!0?{clearIcon:to}:At;let So;En!==void 0?So=En:So=(Pa==null?void 0:Pa("Select"))||ie.createElement(Aa.Z,{componentName:"Select"});const Cr=(0,Yt.Z)(Bt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Vr=ie.useMemo(()=>_e!==void 0?_e:qa==="rtl"?"bottomRight":"bottomLeft",[_e,qa]),Mo=(0,Za.Z)(Yr,na),Do=(0,za.Z)(Zo=>{var he;return(he=Ze!=null?Ze:hr)!==null&&he!==void 0?he:Zo}),ur=ie.useContext(Hn.Z),Qo=kt!=null?kt:ur,Vo=pe()(!Mn&&Gr,{[`${pr}-lg`]:Do==="large",[`${pr}-sm`]:Do==="small",[`${pr}-rtl`]:qa==="rtl",[`${pr}-borderless`]:!Nt,[`${pr}-in-form-item`]:po},(0,Wn.Z)(pr,Hr,Eo),On,tn,nn,la),Ko=Zo=>ie.createElement(hn.Z,{prefixCls:Zr,switcherIcon:yn,treeNodeProps:Zo,showLine:Zn}),Wr=ie.createElement(In,Object.assign({virtual:ka,disabled:Qo},Cr,{dropdownMatchSelectWidth:Br,builtinPlacements:Mo,ref:vn,prefixCls:pr,className:Vo,listHeight:$e,listItemHeight:ot,treeCheckable:Kn&&ie.createElement("span",{className:`${pr}-tree-checkbox-inner`}),treeLine:!!Zn,suffixIcon:Nr,multiple:xr,placement:Vr,removeIcon:uo,allowClear:Kr,switcherIcon:Ko,showTreeIcon:Ia,notFoundContent:So,getPopupContainer:Ta||fa,treeMotion:null,dropdownClassName:Sr,choiceTransitionName:(0,Ea.m)(wt,"",Vt),transitionName:(0,Ea.m)(wt,"slide-up",ma),treeExpandAction:vr}));return ha(Xn(Wr))},ia=ie.forwardRef(Ga),Oa=(0,_n.Z)(ia);ia.TreeNode=ue,ia.SHOW_ALL=Ut,ia.SHOW_PARENT=be,ia.SHOW_CHILD=tt,ia._InternalPanelDoNotUseOrYouWillBeFired=Oa;var Rr=ia},24334:function(ut,Gt,ae){var y,pe;(function(Be,Te){ut.exports=Te(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ae.g!="undefined"?ae.g:this,function(Be){"use strict";Be=Be||{};var Te=Be.Base64,ke="2.6.4",We="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=function(ze){for(var qe={},Ae=0,gt=ze.length;Ae>>6)+Ye(128|qe&63):Ye(224|qe>>>12&15)+Ye(128|qe>>>6&63)+Ye(128|qe&63)}else{var qe=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return Ye(240|qe>>>18&7)+Ye(128|qe>>>12&63)+Ye(128|qe>>>6&63)+Ye(128|qe&63)}},we=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Me=function(ze){return ze.replace(we,Ne)},Ge=function(ze){var qe=[0,2,1][ze.length%3],Ae=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),gt=[We.charAt(Ae>>>18),We.charAt(Ae>>>12&63),qe>=2?"=":We.charAt(Ae>>>6&63),qe>=1?"=":We.charAt(Ae&63)];return gt.join("")},Je=Be.btoa&&typeof Be.btoa=="function"?function(ze){return Be.btoa(ze)}:function(ze){if(ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ze.replace(/[\s\S]{1,3}/g,Ge)},ie=function(ze){return Je(Me(String(ze)))},E=function(ze){return ze.replace(/[+\/]/g,function(qe){return qe=="+"?"-":"_"}).replace(/=/g,"")},a=function(ze,qe){return qe?E(ie(ze)):ie(ze)},x=function(ze){return a(ze,!0)},b;Be.Uint8Array&&(b=function(ze,qe){for(var Ae="",gt=0,mt=ze.length;gt>>18)+We.charAt(dn>>>12&63)+(typeof Et!="undefined"?We.charAt(dn>>>6&63):"=")+(typeof fn!="undefined"?We.charAt(dn&63):"=")}return qe?E(Ae):Ae});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(ze){switch(ze.length){case 4:var qe=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),Ae=qe-65536;return Ye((Ae>>>10)+55296)+Ye((Ae&1023)+56320);case 3:return Ye((15&ze.charCodeAt(0))<<12|(63&ze.charCodeAt(1))<<6|63&ze.charCodeAt(2));default:return Ye((31&ze.charCodeAt(0))<<6|63&ze.charCodeAt(1))}},oe=function(ze){return ze.replace(z,te)},ue=function(ze){var qe=ze.length,Ae=qe%4,gt=(qe>0?xe[ze.charAt(0)]<<18:0)|(qe>1?xe[ze.charAt(1)]<<12:0)|(qe>2?xe[ze.charAt(2)]<<6:0)|(qe>3?xe[ze.charAt(3)]:0),mt=[Ye(gt>>>16),Ye(gt>>>8&255),Ye(gt&255)];return mt.length-=[0,0,2,1][Ae],mt.join("")},le=Be.atob&&typeof Be.atob=="function"?function(ze){return Be.atob(ze)}:function(ze){return ze.replace(/\S{1,4}/g,ue)},Ee=function(ze){return le(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},Ce=function(ze){return oe(le(ze))},Qe=function(ze){return String(ze).replace(/[-_]/g,function(qe){return qe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},De=function(ze){return Ce(Qe(ze))},st;Be.Uint8Array&&(st=function(ze){return Uint8Array.from(Ee(Qe(ze)),function(qe){return qe.charCodeAt(0)})});var Re=function(){var ze=Be.Base64;return Be.Base64=Te,ze};if(Be.Base64={VERSION:ke,atob:Ee,btoa:Je,fromBase64:De,toBase64:a,utob:Me,encode:a,encodeURI:x,btou:oe,decode:De,noConflict:Re,fromUint8Array:b,toUint8Array:st},typeof Object.defineProperty=="function"){var Ke=function(ze){return{value:ze,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ke(function(){return De(this)})),Object.defineProperty(String.prototype,"toBase64",Ke(function(ze){return a(this,ze)})),Object.defineProperty(String.prototype,"toBase64URI",Ke(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),ut.exports?ut.exports.Base64=Be.Base64:(y=[],pe=function(){return Be.Base64}.apply(Gt,y),pe!==void 0&&(ut.exports=pe)),{Base64:Be.Base64}})},22061:function(ut,Gt,ae){"use strict";ae.d(Gt,{Z5:function(){return wi},_l:function(){return Hd},bK:function(){return qs}});var y=ae(59301),pe=ae(69168),Be=ae(54476),Te=ae(59781),ke=y.createContext(null),We=null;function xe(ee){ee()}var Ye=xe,Ne=function(ne){return Ye=ne},we=function(){return Ye};function Me(){var ee=we(),ne=null,re=null;return{clear:function(){ne=null,re=null},notify:function(){ee(function(){for(var fe=ne;fe;)fe.callback(),fe=fe.next})},get:function(){for(var fe=[],ve=ne;ve;)fe.push(ve),ve=ve.next;return fe},subscribe:function(fe){var ve=!0,Se=re={callback:fe,next:null,prev:re};return Se.prev?Se.prev.next=Se:ne=Se,function(){!ve||ne===null||(ve=!1,Se.next?Se.next.prev=Se.prev:re=Se.prev,Se.prev?Se.prev.next=Se.next:ne=Se.next)}}}}var Ge={notify:function(){},get:function(){return[]}};function Je(ee,ne){var re,se=Ge;function fe(He){return je(),se.subscribe(He)}function ve(){se.notify()}function Se(){Xe.onStateChange&&Xe.onStateChange()}function Fe(){return!!re}function je(){re||(re=ne?ne.addNestedSub(Se):ee.subscribe(Se),se=Me())}function et(){re&&(re(),re=void 0,se.clear(),se=Ge)}var Xe={addNestedSub:fe,notifyNestedSubs:ve,handleChangeWrapper:Se,isSubscribed:Fe,trySubscribe:je,tryUnsubscribe:et,getListeners:function(){return se}};return Xe}var ie=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect;function E(ee){var ne=ee.store,re=ee.context,se=ee.children,fe=(0,y.useMemo)(function(){var Fe=Je(ne);return{store:ne,subscription:Fe}},[ne]),ve=(0,y.useMemo)(function(){return ne.getState()},[ne]);ie(function(){var Fe=fe.subscription;return Fe.onStateChange=Fe.notifyNestedSubs,Fe.trySubscribe(),ve!==ne.getState()&&Fe.notifyNestedSubs(),function(){Fe.tryUnsubscribe(),Fe.onStateChange=null}},[fe,ve]);var Se=re||ke;return y.createElement(Se.Provider,{value:fe},se)}var a=E,x=ae(85377),b=ae(94266),z=ae.n(b),te=ae(53410),oe=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ue=["reactReduxForwardedRef"],le=[],Ee=[null,null],Ce=function(ne){try{return JSON.stringify(ne)}catch(re){return String(ne)}};function Qe(ee,ne){var re=ee[1];return[ne.payload,re+1]}function De(ee,ne,re){ie(function(){return ee.apply(void 0,ne)},re)}function st(ee,ne,re,se,fe,ve,Se){ee.current=se,ne.current=fe,re.current=!1,ve.current&&(ve.current=null,Se())}function Re(ee,ne,re,se,fe,ve,Se,Fe,je,et){if(ee){var Xe=!1,He=null,Ue=function(){if(!Xe){var da=ne.getState(),Ba,Na;try{Ba=se(da,fe.current)}catch(tr){Na=tr,He=tr}Na||(He=null),Ba===ve.current?Se.current||je():(ve.current=Ba,Fe.current=Ba,Se.current=!0,et({type:"STORE_UPDATED",payload:{error:Na}}))}};re.onStateChange=Ue,re.trySubscribe(),Ue();var ct=function(){if(Xe=!0,re.tryUnsubscribe(),re.onStateChange=null,He)throw He};return ct}}var Ke=function(){return[null,0]};function ze(ee,ne){ne===void 0&&(ne={});var re=ne,se=re.getDisplayName,fe=se===void 0?function(eo){return"ConnectAdvanced("+eo+")"}:se,ve=re.methodName,Se=ve===void 0?"connectAdvanced":ve,Fe=re.renderCountProp,je=Fe===void 0?void 0:Fe,et=re.shouldHandleStateChanges,Xe=et===void 0?!0:et,He=re.storeKey,Ue=He===void 0?"store":He,ct=re.withRef,Kt=ct===void 0?!1:ct,da=re.forwardRef,Ba=da===void 0?!1:da,Na=re.context,tr=Na===void 0?ke:Na,fr=(0,x.Z)(re,oe);if(0)var Pr;var io=tr;return function(No){var Cl=No.displayName||No.name||"Component",jo=fe(Cl),xl=(0,Be.Z)({},fr,{getDisplayName:fe,methodName:Se,renderCountProp:je,shouldHandleStateChanges:Xe,storeKey:Ue,displayName:jo,wrappedComponentName:Cl,WrappedComponent:No}),Kl=fr.pure;function $l(ei){return ee(ei.dispatch,xl)}var Ji=Kl?y.useMemo:function(ei){return ei()};function Hi(ei){var pu=(0,y.useMemo)(function(){var ms=ei.reactReduxForwardedRef,Gs=(0,x.Z)(ei,ue);return[ei.context,ms,Gs]},[ei]),Xi=pu[0],cs=pu[1],wu=pu[2],hu=(0,y.useMemo)(function(){return Xi&&Xi.Consumer&&(0,te.isContextConsumer)(y.createElement(Xi.Consumer,null))?Xi:io},[Xi,io]),qi=(0,y.useContext)(hu),Du=!!ei.store&&!!ei.store.getState&&!!ei.store.dispatch,hs=!!qi&&!!qi.store,$i=Du?ei.store:qi.store,gs=(0,y.useMemo)(function(){return $l($i)},[$i]),Es=(0,y.useMemo)(function(){if(!Xe)return Ee;var ms=Je($i,Du?null:qi.subscription),Gs=ms.notifyNestedSubs.bind(ms);return[ms,Gs]},[$i,Du,qi]),Yu=Es[0],Ss=Es[1],Ps=(0,y.useMemo)(function(){return Du?qi:(0,Be.Z)({},qi,{subscription:Yu})},[Du,qi,Yu]),$s=(0,y.useReducer)(Qe,le,Ke),Yd=$s[0],As=Yd[0],Kd=$s[1];if(As&&As.error)throw As.error;var ed=(0,y.useRef)(),ks=(0,y.useRef)(wu),ys=(0,y.useRef)(),td=(0,y.useRef)(!1),js=Ji(function(){return ys.current&&wu===ks.current?ys.current:gs($i.getState(),wu)},[$i,As,wu]);De(st,[ks,ed,td,wu,js,ys,Ss]),De(Re,[Xe,$i,Yu,gs,ks,ed,td,ys,Ss,Kd],[$i,Yu,gs]);var Zs=(0,y.useMemo)(function(){return y.createElement(No,(0,Be.Z)({},js,{ref:cs}))},[cs,No,js]),Jd=(0,y.useMemo)(function(){return Xe?y.createElement(hu.Provider,{value:Ps},Zs):Zs},[hu,Zs,Ps]);return Jd}var Di=Kl?y.memo(Hi):Hi;if(Di.WrappedComponent=No,Di.displayName=Hi.displayName=jo,Ba){var _i=y.forwardRef(function(pu,Xi){return y.createElement(Di,(0,Be.Z)({},pu,{reactReduxForwardedRef:Xi}))});return _i.displayName=jo,_i.WrappedComponent=No,z()(_i,No)}return z()(Di,No)}}function qe(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function Ae(ee,ne){if(qe(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var re=Object.keys(ee),se=Object.keys(ne);if(re.length!==se.length)return!1;for(var fe=0;fe=0;se--){var fe=ne[se](ee);if(fe)return fe}return function(ve,Se){throw new Error("Invalid value of type "+typeof ee+" for "+re+" argument when connecting component "+Se.wrappedComponentName+".")}}function Ft(ee,ne){return ee===ne}function it(ee){var ne=ee===void 0?{}:ee,re=ne.connectHOC,se=re===void 0?ze:re,fe=ne.mapStateToPropsFactories,ve=fe===void 0?Tt:fe,Se=ne.mapDispatchToPropsFactories,Fe=Se===void 0?rt:Se,je=ne.mergePropsFactories,et=je===void 0?tt:je,Xe=ne.selectorFactory,He=Xe===void 0?Nn:Xe;return function(ct,Kt,da,Ba){Ba===void 0&&(Ba={});var Na=Ba,tr=Na.pure,fr=tr===void 0?!0:tr,Pr=Na.areStatesEqual,io=Pr===void 0?Ft:Pr,eo=Na.areOwnPropsEqual,No=eo===void 0?Ae:eo,Cl=Na.areStatePropsEqual,jo=Cl===void 0?Ae:Cl,xl=Na.areMergedPropsEqual,Kl=xl===void 0?Ae:xl,$l=(0,x.Z)(Na,bt),Ji=St(ct,ve,"mapStateToProps"),Hi=St(Kt,Fe,"mapDispatchToProps"),Di=St(da,et,"mergeProps");return se(He,(0,Be.Z)({methodName:"connect",getDisplayName:function(ei){return"Connect("+ei+")"},shouldHandleStateChanges:!!ct,initMapStateToProps:Ji,initMapDispatchToProps:Hi,initMergeProps:Di,pure:fr,areStatesEqual:io,areOwnPropsEqual:No,areStatePropsEqual:jo,areMergedPropsEqual:Kl},$l))}}var In=it();function Yt(){var ee=useContext(ReactReduxContext);return ee}function _n(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var se=ne(),fe=se.store;return fe}}var Ea=null;function Wn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var se=ne();return se.dispatch}}var sn=null,Hn=function(ne,re){return ne===re};function Aa(ee,ne,re,se){var fe=useReducer(function(Kt){return Kt+1},0),ve=fe[1],Se=useMemo(function(){return createSubscription(re,se)},[re,se]),Fe=useRef(),je=useRef(),et=useRef(),Xe=useRef(),He=re.getState(),Ue;try{if(ee!==je.current||He!==et.current||Fe.current){var ct=ee(He);Xe.current===void 0||!ne(ct,Xe.current)?Ue=ct:Ue=Xe.current}else Ue=Xe.current}catch(Kt){throw Fe.current&&(Kt.message+=` + &${me}-slide-up-appear${me}-slide-up-appear-active${ge}-dropdown-placement-bottomRight`]:{animationName:ki.fJ},[`&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-topLeft, + &${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-topRight`]:{animationName:ki.ly},[`&${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-bottomLeft, + &${me}-slide-up-leave${me}-slide-up-leave-active${ge}-dropdown-placement-bottomRight`]:{animationName:ki.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:no},[`${ge}-ranges`]:{marginBottom:0,padding:`${no}px ${Mo}px`,overflow:"hidden",lineHeight:`${Wn-2*Lt-pa/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${me}-tag-blue`]:{color:_r,background:sl,borderColor:Ro,cursor:"pointer"},[`${ge}-ok`]:{marginInlineStart:"auto"}},[`${ge}-range-wrapper`]:{display:"flex",position:"relative"},[`${ge}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:gt*1.5,transition:`left ${cr} ease-out`},(0,Ki.r)(vo,So,Vo,tl,fo)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:tl,borderRadius:Io,boxShadow:xr,transition:`margin ${cr}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:Pl,maxWidth:Hl,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:pa,borderInlineEnd:`${Lt}px ${Nt} ${nl}`,li:Object.assign(Object.assign({},tu.vS),{borderRadius:ll,paddingInline:pa,paddingBlock:(kn-Math.round(Ne*Sa))/2,cursor:"pointer",transition:`all ${cr}`,"+ li":{marginTop:ja},"&:hover":{background:kl}})}},[`${ge}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ge}-panel`]:{borderWidth:`0 0 ${Lt}px`},"&:last-child":{[`${ge}-panel`]:{borderWidth:0}}},[`${ge}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ge}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:kt}}}}),"&-dropdown-range":{padding:`${vo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ge}-separator`]:{transform:"rotate(180deg)"},[`${ge}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,ki.oN)(ce,"slide-up"),(0,ki.oN)(ce,"slide-down"),(0,Fi.Fm)(ce,"move-up"),(0,Fi.Fm)(ce,"move-down")]},us=ce=>{const{componentCls:ge,controlHeightLG:me,paddingXXS:Le,padding:Ne}=ce;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:me*1.5,pickerQuarterPanelContentHeight:me*1.4,pickerCellPaddingVertical:Le+Le/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ne+Le/2}},Wu=ce=>({cellHoverBg:ce.controlItemBgHover,cellActiveWithRangeBg:ce.controlItemBgActive,cellHoverWithRangeBg:new bl.C(ce.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new bl.C(ce.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ce.colorBgContainerDisabled,timeColumnWidth:ce.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ce.controlHeightSM*1.5,cellHeight:ce.controlHeightSM,textHeight:ce.controlHeightLG,withoutTimeCellHeight:ce.controlHeightLG*1.65});var Ru=(0,Yu.Z)("DatePicker",ce=>{const ge=(0,ji.TS)((0,gi.e5)(ce),us(ce));return[is(ge),ls(ge),(0,Mu.c)(ce,{focusElCls:`${ce.componentCls}-focused`})]},ce=>Object.assign(Object.assign(Object.assign({},(0,gi.TM)(ce)),Wu(ce)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ce.zIndexPopupBase+50}));function ss(ce,ge,me){return me!==void 0?me:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.yearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.quarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.monthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.weekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.placeholder:ce.lang.placeholder}function Ju(ce,ge,me){return me!==void 0?me:ge==="year"&&ce.lang.yearPlaceholder?ce.lang.rangeYearPlaceholder:ge==="quarter"&&ce.lang.quarterPlaceholder?ce.lang.rangeQuarterPlaceholder:ge==="month"&&ce.lang.monthPlaceholder?ce.lang.rangeMonthPlaceholder:ge==="week"&&ce.lang.weekPlaceholder?ce.lang.rangeWeekPlaceholder:ge==="time"&&ce.timePickerLocale.placeholder?ce.timePickerLocale.rangePlaceholder:ce.lang.rangePlaceholder}function Yl(ce,ge){const me={adjustX:1,adjustY:1};switch(ge){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:me};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:me};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:me};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:me};default:return{points:ce==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:me}}}function nu(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function Fu(ce){const{format:ge,picker:me,showHour:Le,showMinute:Ne,showSecond:gt,use12Hours:at}=ce,Lt=nu(ge)[0],Nt=Object.assign({},ce);return ge&&Array.isArray(ge)&&(Nt.format=Lt),Lt&&typeof Lt=="string"&&(!Lt.includes("s")&>===void 0&&(Nt.showSecond=!1),!Lt.includes("m")&&Ne===void 0&&(Nt.showMinute=!1),!Lt.includes("H")&&!Lt.includes("h")&&!Lt.includes("K")&&!Lt.includes("k")&&Le===void 0&&(Nt.showHour=!1),(Lt.includes("a")||Lt.includes("A"))&&at===void 0&&(Nt.use12Hours=!0)),me==="time"?Nt:(typeof Lt=="function"&&delete Nt.format,{showTime:Nt})}function Xu(ce,ge,me){if(ce===!1)return!1;const Le={clearIcon:ge!=null?ge:me};return typeof ce=="object"?Object.assign(Object.assign({},Le),ce):Le}var qu=ae(3113);function Ra(ce){return le.createElement(qu.ZP,Object.assign({size:"small",type:"primary"},ce))}var es={button:Ra},au=function(ce,ge){var me={};for(var Le in ce)Object.prototype.hasOwnProperty.call(ce,Le)&&ge.indexOf(Le)<0&&(me[Le]=ce[Le]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Le=Object.getOwnPropertySymbols(ce);Ne{const{prefixCls:Ne,getPopupContainer:gt,className:at,placement:Lt,size:Nt,disabled:kt,bordered:Xn=!0,placeholder:ln,popupClassName:gn,dropdownClassName:Tn,status:Rn,clearIcon:Dt,allowClear:Wt,rootClassName:kn}=me,cn=au(me,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),pa=le.useRef(null),{getPrefixCls:ja,direction:Ga,getPopupContainer:Ta}=(0,le.useContext)(Ti.E_),Sa=ja("picker",Ne),{compactSize:_r,compactItemClassnames:cr}=(0,Cl.ri)(Sa,Ga),{format:to,showTime:no,picker:Mo}=me,Wn=ja(),[sl,Ro]=Ru(Sa),vo=Object.assign(Object.assign({},no?Fu(Object.assign({format:to,picker:Mo},no)):{}),Mo==="time"?Fu(Object.assign(Object.assign({format:to},me),{picker:Mo})):{}),So=(0,Iu.Z)(fo=>{var Bl;return(Bl=Nt!=null?Nt:_r)!==null&&Bl!==void 0?Bl:fo}),Vo=le.useContext(vu.Z),tl=kt!=null?kt:Vo,Io=(0,le.useContext)(Ni.aM),{hasFeedback:xr,status:ll,feedbackIcon:nl}=Io,kl=le.createElement(le.Fragment,null,Mo==="time"?le.createElement(ct,null):le.createElement(Oe,null),xr&&nl);(0,le.useImperativeHandle)(Le,()=>({focus:()=>{var fo;return(fo=pa.current)===null||fo===void 0?void 0:fo.focus()},blur:()=>{var fo;return(fo=pa.current)===null||fo===void 0?void 0:fo.blur()}}));const[Pl]=(0,uu.Z)("Calendar",yu.Z),Hl=Object.assign(Object.assign({},Pl),me.locale);return sl(le.createElement($i,Object.assign({separator:le.createElement("span",{"aria-label":"to",className:`${Sa}-separator`},le.createElement(Vt,null)),disabled:tl,ref:pa,dropdownAlign:Yl(Ga,Lt),placeholder:Ju(Hl,Mo,ln),suffixIcon:kl,prevIcon:le.createElement("span",{className:`${Sa}-prev-icon`}),nextIcon:le.createElement("span",{className:`${Sa}-next-icon`}),superPrevIcon:le.createElement("span",{className:`${Sa}-super-prev-icon`}),superNextIcon:le.createElement("span",{className:`${Sa}-super-next-icon`}),transitionName:`${Wn}-slide-up`},cn,vo,{className:Te()({[`${Sa}-${So}`]:So,[`${Sa}-borderless`]:!Xn},(0,eu.Z)(Sa,(0,eu.F)(ll,Rn),xr),Ro,cr,at,kn),locale:Hl.lang,prefixCls:Sa,getPopupContainer:gt||Ta,generateConfig:ce,components:es,direction:Ga,dropdownClassName:Te()(Ro,gn||Tn,kn),allowClear:Xu(Wt,Dt,le.createElement(mt.Z,null))})))})}var Tu=function(ce,ge){var me={};for(var Le in ce)Object.prototype.hasOwnProperty.call(ce,Le)&&ge.indexOf(Le)<0&&(me[Le]=ce[Le]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Le=Object.getOwnPropertySymbols(ce);Ne{const{prefixCls:Rn,getPopupContainer:Dt,style:Wt,className:kn,rootClassName:cn,size:pa,bordered:ja=!0,placement:Ga,placeholder:Ta,popupClassName:Sa,dropdownClassName:_r,disabled:cr,status:to,clearIcon:no,allowClear:Mo}=gn,Wn=Tu(gn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:sl,direction:Ro,getPopupContainer:vo,[Xn]:So}=(0,le.useContext)(Ti.E_),Vo=sl("picker",Rn),{compactSize:tl,compactItemClassnames:Io}=(0,Cl.ri)(Vo,Ro),xr=le.useRef(null),{format:ll,showTime:nl}=gn,[kl,Pl]=Ru(Vo);(0,le.useImperativeHandle)(Tn,()=>({focus:()=>{var Zl;return(Zl=xr.current)===null||Zl===void 0?void 0:Zl.focus()},blur:()=>{var Zl;return(Zl=xr.current)===null||Zl===void 0?void 0:Zl.blur()}}));const Hl={showToday:!0};let fo={};Nt&&(fo.picker=Nt);const Bl=Nt||gn.picker;fo=Object.assign(Object.assign(Object.assign({},fo),nl?Fu(Object.assign({format:ll,picker:Bl},nl)):{}),Bl==="time"?Fu(Object.assign(Object.assign({format:ll},gn),{picker:Bl})):{});const jl=sl(),Xl=(0,Iu.Z)(Zl=>{var Zi;return(Zi=pa!=null?pa:tl)!==null&&Zi!==void 0?Zi:Zl}),Ol=le.useContext(vu.Z),mi=cr!=null?cr:Ol,bi=(0,le.useContext)(Ni.aM),{hasFeedback:Jr,status:jo,feedbackIcon:Xo}=bi,zl=le.createElement(le.Fragment,null,Bl==="time"?le.createElement(ct,null):le.createElement(Oe,null),Jr&&Xo),[ql]=(0,uu.Z)("DatePicker",yu.Z),Al=Object.assign(Object.assign({},ql),gn.locale);return kl(le.createElement(Au,Object.assign({ref:xr,placeholder:ss(Al,Bl,Ta),suffixIcon:zl,dropdownAlign:Yl(Ro,Ga),prevIcon:le.createElement("span",{className:`${Vo}-prev-icon`}),nextIcon:le.createElement("span",{className:`${Vo}-next-icon`}),superPrevIcon:le.createElement("span",{className:`${Vo}-super-prev-icon`}),superNextIcon:le.createElement("span",{className:`${Vo}-super-next-icon`}),transitionName:`${jl}-slide-up`},Hl,Wn,fo,{locale:Al.lang,className:Te()({[`${Vo}-${Xl}`]:Xl,[`${Vo}-borderless`]:!ja},(0,eu.Z)(Vo,(0,eu.F)(jo,to),Jr),Pl,Io,So==null?void 0:So.className,kn,cn),style:Object.assign(Object.assign({},So==null?void 0:So.style),Wt),prefixCls:Vo,getPopupContainer:Dt||vo,generateConfig:ce,components:es,direction:Ro,disabled:mi,dropdownClassName:Te()(Pl,cn,Sa||_r),allowClear:Xu(Mo,no,le.createElement(mt.Z,null))})))});return kt&&(ln.displayName=kt),ln}const me=ge(),Le=ge("week","WeekPicker"),Ne=ge("month","MonthPicker"),gt=ge("year","YearPicker"),at=ge("time","TimePicker"),Lt=ge("quarter","QuarterPicker");return{DatePicker:me,WeekPicker:Le,MonthPicker:Ne,YearPicker:gt,TimePicker:at,QuarterPicker:Lt}}const Is=null;function cs(ce){const{DatePicker:ge,WeekPicker:me,MonthPicker:Le,YearPicker:Ne,TimePicker:gt,QuarterPicker:at}=ds(ce),Lt=ea(ce),Nt=ge;return Nt.WeekPicker=me,Nt.MonthPicker=Le,Nt.YearPicker=Ne,Nt.RangePicker=Lt,Nt.TimePicker=gt,Nt.QuarterPicker=at,Nt}var ku=cs;const su=ku(te);function xl(ce){const ge=Yl(ce.direction,ce.placement);return ge.overflow.adjustY=!1,ge.overflow.adjustX=!1,Object.assign(Object.assign({},ce),{dropdownAlign:ge})}const ts=(0,oe.Z)(su,"picker",null,xl);su._InternalPanelDoNotUseOrYouWillBeFired=ts;const gs=(0,oe.Z)(su.RangePicker,"picker",null,xl);su._InternalRangePanelDoNotUseOrYouWillBeFired=gs,su.generatePicker=ku;var ms=su},39722:function(it,Tt,ae){"use strict";ae.d(Tt,{t5:function(){return we}});var y=ae(92310),pe=ae.n(y),Fe=ae(55477),Me=ae(59301),ke=ae(36355),Ue=ae(77578),xe=ae(17356),Qe=function(Ze,Ye){var ie={};for(var E in Ze)Object.prototype.hasOwnProperty.call(Ze,E)&&Ye.indexOf(E)<0&&(ie[E]=Ze[E]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Ze);a{if(!(!Ye&&!ie))return Me.createElement(Me.Fragment,null,Ye&&Me.createElement("div",{className:`${Ze}-title`},(0,Ue.Z)(Ye)),Me.createElement("div",{className:`${Ze}-inner-content`},(0,Ue.Z)(ie)))},we=Ze=>{const{hashId:Ye,prefixCls:ie,className:E,style:a,placement:x="top",title:b,content:z,children:te}=Ze;return Me.createElement("div",{className:pe()(Ye,ie,`${ie}-pure`,`${ie}-placement-${x}`,E),style:a},Me.createElement("div",{className:`${ie}-arrow`}),Me.createElement(Fe.G,Object.assign({},Ze,{className:Ye,prefixCls:ie}),te||Ie(ie,b,z)))},Re=Ze=>{const{prefixCls:Ye}=Ze,ie=Qe(Ze,["prefixCls"]),{getPrefixCls:E}=Me.useContext(ke.E_),a=E("popover",Ye),[x,b]=(0,xe.Z)(a);return x(Me.createElement(we,Object.assign({},ie,{prefixCls:a,hashId:b})))};Tt.ZP=Re},60324:function(it,Tt,ae){"use strict";var y=ae(92310),pe=ae.n(y),Fe=ae(59301),Me=ae(77578),ke=ae(62892),Ue=ae(36355),xe=ae(6848),Qe=ae(39722),Ie=ae(17356),we=function(Ye,ie){var E={};for(var a in Ye)Object.prototype.hasOwnProperty.call(Ye,a)&&ie.indexOf(a)<0&&(E[a]=Ye[a]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ye);x{let{title:ie,content:E,prefixCls:a}=Ye;return Fe.createElement(Fe.Fragment,null,ie&&Fe.createElement("div",{className:`${a}-title`},(0,Me.Z)(ie)),Fe.createElement("div",{className:`${a}-inner-content`},(0,Me.Z)(E)))},Ze=Fe.forwardRef((Ye,ie)=>{const{prefixCls:E,title:a,content:x,overlayClassName:b,placement:z="top",trigger:te="hover",mouseEnterDelay:oe=.1,mouseLeaveDelay:ue=.1,overlayStyle:le={}}=Ye,Ee=we(Ye,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=Fe.useContext(Ue.E_),We=be("popover",E),[De,st]=(0,Ie.Z)(We),Oe=be(),Ke=pe()(b,st);return De(Fe.createElement(xe.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:oe,mouseLeaveDelay:ue,overlayStyle:le},Ee,{prefixCls:We,overlayClassName:Ke,ref:ie,overlay:a||x?Fe.createElement(Re,{prefixCls:We,title:a,content:x}):null,transitionName:(0,ke.m)(Oe,"zoom-big",Ee.transitionName),"data-popover-inject":!0})))});Ze._InternalPanelDoNotUseOrYouWillBeFired=Qe.ZP,Tt.Z=Ze},17356:function(it,Tt,ae){"use strict";var y=ae(17313),pe=ae(29878),Fe=ae(19447),Me=ae(33166),ke=ae(83116),Ue=ae(37613);const xe=we=>{const{componentCls:Re,popoverColor:Ze,minWidth:Ye,fontWeightStrong:ie,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:oe,popoverBg:ue}=we;return[{[Re]:Object.assign(Object.assign({},(0,y.Wf)(we)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":oe,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Re}-content`]:{position:"relative"},[`${Re}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:b,boxShadow:a,padding:E},[`${Re}-title`]:{minWidth:Ye,marginBottom:te,color:x,fontWeight:ie},[`${Re}-inner-content`]:{color:Ze}})},(0,Fe.ZP)(we,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Re}-pure`]:{position:"relative",maxWidth:"none",margin:we.sizePopupArrow,display:"inline-block",[`${Re}-content`]:{display:"inline-block"}}}]},Qe=we=>{const{componentCls:Re}=we;return{[Re]:Me.i.map(Ze=>{const Ye=we[`${Ze}6`];return{[`&${Re}-${Ze}`]:{"--antd-arrow-background-color":Ye,[`${Re}-inner`]:{backgroundColor:Ye},[`${Re}-arrow`]:{background:"transparent"}}}})}},Ie=we=>{const{componentCls:Re,lineWidth:Ze,lineType:Ye,colorSplit:ie,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:b,padding:z}=we,te=a-Math.round(x*b),oe=te/2,ue=te/2-Ze,le=z;return{[Re]:{[`${Re}-inner`]:{padding:0},[`${Re}-title`]:{margin:0,padding:`${oe}px ${le}px ${ue}px`,borderBottom:`${Ze}px ${Ye} ${ie}`},[`${Re}-inner-content`]:{padding:`${E}px ${le}px`}}}};Tt.Z=(0,ke.Z)("Popover",we=>{const{colorBgElevated:Re,colorText:Ze,wireframe:Ye}=we,ie=(0,Ue.TS)(we,{popoverPadding:12,popoverBg:Re,popoverColor:Ze});return[xe(ie),Qe(ie),Ye&&Ie(ie),(0,pe._y)(ie,"zoom-big")]},we=>({width:177,minWidth:177,zIndexPopup:we.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(it,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return st}});var y=ae(59301),pe=ae(99267),Fe=ae(92310),Me=ae.n(Fe),ke=ae(36785),Ue=ae(47729),xe=ae(14088),Qe=ae(36355),Ie=ae(17313),we=ae(37613),Re=ae(83116);const Ze=Oe=>{const{paddingXXS:Ke,lineWidth:ze,tagPaddingHorizontal:Xe,componentCls:Ce}=Oe,ct=Xe-ze,mt=Ke-ze;return{[Ce]:Object.assign(Object.assign({},(0,Ie.Wf)(Oe)),{display:"inline-block",height:"auto",marginInlineEnd:Oe.marginXS,paddingInline:ct,fontSize:Oe.tagFontSize,lineHeight:Oe.tagLineHeight,whiteSpace:"nowrap",background:Oe.defaultBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusSM,opacity:1,transition:`all ${Oe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ce}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Oe.defaultColor},[`${Ce}-close-icon`]:{marginInlineStart:mt,color:Oe.colorTextDescription,fontSize:Oe.tagIconSize,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`,"&:hover":{color:Oe.colorTextHeading}},[`&${Ce}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Oe.iconCls}-close, ${Oe.iconCls}-close:hover`]:{color:Oe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ce}-checkable-checked):hover`]:{color:Oe.colorPrimary,backgroundColor:Oe.colorFillSecondary},"&:active, &-checked":{color:Oe.colorTextLightSolid},"&-checked":{backgroundColor:Oe.colorPrimary,"&:hover":{backgroundColor:Oe.colorPrimaryHover}},"&:active":{backgroundColor:Oe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Oe.iconCls} + span, > span + ${Oe.iconCls}`]:{marginInlineStart:ct}}),[`${Ce}-borderless`]:{borderColor:"transparent",background:Oe.tagBorderlessBg}}},Ye=Oe=>{const{lineWidth:Ke,fontSizeIcon:ze}=Oe,Xe=Oe.fontSizeSM,Ce=`${Oe.lineHeightSM*Xe}px`;return(0,we.TS)(Oe,{tagFontSize:Xe,tagLineHeight:Ce,tagIconSize:ze-2*Ke,tagPaddingHorizontal:8,tagBorderlessBg:Oe.colorFillTertiary})},ie=Oe=>({defaultBg:Oe.colorFillQuaternary,defaultColor:Oe.colorText});var E=(0,Re.Z)("Tag",Oe=>{const Ke=Ye(Oe);return Ze(Ke)},ie),a=function(Oe,Ke){var ze={};for(var Xe in Oe)Object.prototype.hasOwnProperty.call(Oe,Xe)&&Ke.indexOf(Xe)<0&&(ze[Xe]=Oe[Xe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Xe=Object.getOwnPropertySymbols(Oe);Ce{const{prefixCls:Ke,style:ze,className:Xe,checked:Ce,onChange:ct,onClick:mt}=Oe,Ct=a(Oe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Et,tag:fn}=y.useContext(Qe.E_),un=It=>{ct==null||ct(!Ce),mt==null||mt(It)},Vt=Et("tag",Ke),[ht,Te]=E(Vt),rt=Me()(Vt,`${Vt}-checkable`,{[`${Vt}-checkable-checked`]:Ce},fn==null?void 0:fn.className,Xe,Te);return ht(y.createElement("span",Object.assign({},Ct,{style:Object.assign(Object.assign({},ze),fn==null?void 0:fn.style),className:rt,onClick:un})))},z=ae(45157);const te=Oe=>(0,z.Z)(Oe,(Ke,ze)=>{let{textColor:Xe,lightBorderColor:Ce,lightColor:ct,darkColor:mt}=ze;return{[`${Oe.componentCls}-${Ke}`]:{color:Xe,background:ct,borderColor:Ce,"&-inverse":{color:Oe.colorTextLightSolid,background:mt,borderColor:mt},[`&${Oe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var oe=(0,Re.b)(["Tag","preset"],Oe=>{const Ke=Ye(Oe);return te(Ke)},ie);function ue(Oe){return typeof Oe!="string"?Oe:Oe.charAt(0).toUpperCase()+Oe.slice(1)}const le=(Oe,Ke,ze)=>{const Xe=ue(ze);return{[`${Oe.componentCls}-${Ke}`]:{color:Oe[`color${ze}`],background:Oe[`color${Xe}Bg`],borderColor:Oe[`color${Xe}Border`],[`&${Oe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ee=(0,Re.b)(["Tag","status"],Oe=>{const Ke=Ye(Oe);return[le(Ke,"success","Success"),le(Ke,"processing","Info"),le(Ke,"error","Error"),le(Ke,"warning","Warning")]},ie),be=function(Oe,Ke){var ze={};for(var Xe in Oe)Object.prototype.hasOwnProperty.call(Oe,Xe)&&Ke.indexOf(Xe)<0&&(ze[Xe]=Oe[Xe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Xe=Object.getOwnPropertySymbols(Oe);Ce{const{prefixCls:ze,className:Xe,rootClassName:Ce,style:ct,children:mt,icon:Ct,color:Et,onClose:fn,closeIcon:un,closable:Vt,bordered:ht=!0}=Oe,Te=be(Oe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:rt,direction:It,tag:hn}=y.useContext(Qe.E_),[Pt,sn]=y.useState(!0);y.useEffect(()=>{"visible"in Te&&sn(Te.visible)},[Te.visible]);const Be=(0,ke.o2)(Et),qe=(0,ke.yT)(Et),qt=Be||qe,nt=Object.assign(Object.assign({backgroundColor:Et&&!qt?Et:void 0},hn==null?void 0:hn.style),ct),pt=rt("tag",ze),[_n,Zt]=E(pt),At=Me()(pt,hn==null?void 0:hn.className,{[`${pt}-${Et}`]:qt,[`${pt}-has-color`]:Et&&!qt,[`${pt}-hidden`]:!Pt,[`${pt}-rtl`]:It==="rtl",[`${pt}-borderless`]:!ht},Xe,Ce,Zt),yt=Un=>{Un.stopPropagation(),fn==null||fn(Un),!Un.defaultPrevented&&sn(!1)},[,Gn]=(0,Ue.Z)(Vt,un,Un=>Un===null?y.createElement(pe.Z,{className:`${pt}-close-icon`,onClick:yt}):y.createElement("span",{className:`${pt}-close-icon`,onClick:yt},Un),null,!1),Qn=typeof Te.onClick=="function"||mt&&mt.type==="a",Kt=Ct||null,ta=Kt?y.createElement(y.Fragment,null,Kt,mt&&y.createElement("span",null,mt)):mt,Ba=y.createElement("span",Object.assign({},Te,{ref:Ke,className:At,style:nt}),ta,Gn,Be&&y.createElement(oe,{key:"preset",prefixCls:pt}),qe&&y.createElement(Ee,{key:"status",prefixCls:pt}));return _n(Qn?y.createElement(xe.Z,{component:"Tag"},Ba):Ba)},De=y.forwardRef(We);De.CheckableTag=b;var st=De},98228:function(it,Tt,ae){"use strict";ae.d(Tt,{default:function(){return Wr}});var y=ae(92310),pe=ae.n(y),Fe=ae(54476),Me=ae(94480),ke=ae(33885),Ue=ae(42978),xe=ae(75931),Qe=ae(76190),Ie=ae(77861),we=ae(17115),Re=ae(90782),Ze=ae(18929),Ye=ae(48736),ie=ae(59301),E=function(Ot){var Fn=ie.useRef({valueLabels:new Map});return ie.useMemo(function(){var ia=Fn.current.valueLabels,jn=new Map,He=Ot.map(function(Yt){var xt,rn=Yt.value,tn=(xt=Yt.label)!==null&&xt!==void 0?xt:ia.get(rn);return jn.set(rn,tn),(0,ke.Z)((0,ke.Z)({},Yt),{},{label:tn})});return Fn.current.valueLabels=jn,[He]},[Ot])},a=function(Ot,Fn,ia,jn){return ie.useMemo(function(){var He=Ot.map(function(tn){var Vn=tn.value;return Vn}),Yt=Fn.map(function(tn){var Vn=tn.value;return Vn}),xt=He.filter(function(tn){return!jn[tn]});if(ia){var rn=(0,Re.S)(He,!0,jn);He=rn.checkedKeys,Yt=rn.halfCheckedKeys}return[Array.from(new Set([].concat((0,Me.Z)(xt),(0,Me.Z)(He)))),Yt]},[Ot,Fn,ia,jn])},x=ae(71430),b=function(Ot,Fn){return ie.useMemo(function(){var ia=(0,x.I8)(Ot,{fieldNames:Fn,initWrapper:function(He){return(0,ke.Z)((0,ke.Z)({},He),{},{valueEntities:new Map})},processEntity:function(He,Yt){var xt=He.node[Fn.value];if(0)var rn;Yt.valueEntities.set(xt,He)}});return ia},[Ot,Fn])},z=ae(20068),te=ae(11592),oe=function(){return null},ue=oe,le=["children","value"];function Ee(Ot){return(0,te.Z)(Ot).map(function(Fn){if(!ie.isValidElement(Fn)||!Fn.type)return null;var ia=Fn,jn=ia.key,He=ia.props,Yt=He.children,xt=He.value,rn=(0,xe.Z)(He,le),tn=(0,ke.Z)({key:jn,value:xt},rn),Vn=Ee(Yt);return Vn.length&&(tn.children=Vn),tn}).filter(function(Fn){return Fn})}function be(Ot){if(!Ot)return Ot;var Fn=(0,ke.Z)({},Ot);return"props"in Fn||Object.defineProperty(Fn,"props",{get:function(){return(0,Ye.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Fn}}),Fn}function We(Ot,Fn,ia,jn,He,Yt){var xt=null,rn=null;function tn(){function Vn(Ln){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ln.map(function(Je,Pn){var Cn="".concat(tt,"-").concat(Pn),Zn=Je[Yt.value],Ia=ia.includes(Zn),Ea=Vn(Je[Yt.children]||[],Cn,Ia),ua=ie.createElement(ue,Je,Ea.map(function(da){return da.node}));if(Fn===Zn&&(xt=ua),Ia){var ba={pos:Cn,node:ua,children:Ea};return ot||rn.push(ba),ba}return null}).filter(function(Je){return Je})}rn||(rn=[],Vn(jn),rn.sort(function(Ln,tt){var ot=Ln.node.props.value,Je=tt.node.props.value,Pn=ia.indexOf(ot),Cn=ia.indexOf(Je);return Pn-Cn}))}Object.defineProperty(Ot,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),xt}}),Object.defineProperty(Ot,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),He?rn:rn.map(function(Ln){var tt=Ln.node;return tt})}})}var De=function(Ot,Fn,ia){var jn=ia.treeNodeFilterProp,He=ia.filterTreeNode,Yt=ia.fieldNames,xt=Yt.children;return ie.useMemo(function(){if(!Fn||He===!1)return Ot;var rn;if(typeof He=="function")rn=He;else{var tn=Fn.toUpperCase();rn=function(tt,ot){var Je=ot[jn];return String(Je).toUpperCase().includes(tn)}}function Vn(Ln){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ln.reduce(function(ot,Je){var Pn=Je[xt],Cn=tt||rn(Fn,be(Je)),Zn=Vn(Pn||[],Cn);return(Cn||Zn.length)&&ot.push((0,ke.Z)((0,ke.Z)({},Je),{},(0,z.Z)({isLeaf:void 0},xt,Zn))),ot},[])}return Vn(Ot)},[Ot,Fn,xt,jn,He])};function st(Ot){var Fn=ie.useRef();Fn.current=Ot;var ia=ie.useCallback(function(){return Fn.current.apply(Fn,arguments)},[]);return ia}function Oe(Ot,Fn){var ia=Fn.id,jn=Fn.pId,He=Fn.rootPId,Yt={},xt=[],rn=Ot.map(function(tn){var Vn=(0,ke.Z)({},tn),Ln=Vn[ia];return Yt[Ln]=Vn,Vn.key=Vn.key||Ln,Vn});return rn.forEach(function(tn){var Vn=tn[jn],Ln=Yt[Vn];Ln&&(Ln.children=Ln.children||[],Ln.children.push(tn)),(Vn===He||!Ln&&He===null)&&xt.push(tn)}),xt}function Ke(Ot,Fn,ia){return ie.useMemo(function(){return Ot?ia?Oe(Ot,(0,ke.Z)({id:"id",pId:"pId",rootPId:null},ia!==!0?ia:{})):Ot:Ee(Fn)},[Fn,ia,Ot])}var ze=ie.createContext(null),Xe=ze,Ce=ae(10228),ct=ae(80547),mt=ae(60091),Ct=ie.createContext(null),Et=Ct;function fn(Ot){return Array.isArray(Ot)?Ot:Ot!==void 0?[Ot]:[]}function un(Ot){var Fn=Ot||{},ia=Fn.label,jn=Fn.value,He=Fn.children,Yt=jn||"value";return{_title:ia?[ia]:["title","label"],value:Yt,key:Yt,children:He||"children"}}function Vt(Ot){return!Ot||Ot.disabled||Ot.disableCheckbox||Ot.checkable===!1}function ht(Ot,Fn){var ia=[];function jn(He){He.forEach(function(Yt){var xt=Yt[Fn.children];xt&&(ia.push(Yt[Fn.value]),jn(xt))})}return jn(Ot),ia}function Te(Ot){return Ot==null}var rt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},It=function(Fn,ia){var jn=(0,Ie.lk)(),He=jn.prefixCls,Yt=jn.multiple,xt=jn.searchValue,rn=jn.toggleOpen,tn=jn.open,Vn=jn.notFoundContent,Ln=ie.useContext(Et),tt=Ln.virtual,ot=Ln.listHeight,Je=Ln.listItemHeight,Pn=Ln.treeData,Cn=Ln.fieldNames,Zn=Ln.onSelect,Ia=Ln.dropdownMatchSelectWidth,Ea=Ln.treeExpandAction,ua=ie.useContext(Xe),ba=ua.checkable,da=ua.checkedKeys,Gt=ua.halfCheckedKeys,or=ua.treeExpandedKeys,fr=ua.treeDefaultExpandAll,so=ua.treeDefaultExpandedKeys,Mt=ua.onTreeExpand,lr=ua.treeIcon,Qr=ua.showTreeIcon,Oa=ua.switcherIcon,wr=ua.treeLine,vr=ua.treeNodeFilterProp,Dr=ua.loadData,Hr=ua.treeLoadedKeys,pr=ua.treeMotion,yr=ua.onTreeLoad,ga=ua.keyEntities,Qt=ie.useRef(),hr=(0,ct.Z)(function(){return Pn},[tn,Pn],function(Cr,$r){return $r[0]&&Cr[1]!==$r[1]}),Ur=ie.useState(null),Yr=(0,Ue.Z)(Ur,2),sr=Yr[0],Dn=Yr[1],ma=ga[sr],na=ie.useMemo(function(){return ba?{checked:da,halfChecked:Gt}:null},[ba,da,Gt]);ie.useEffect(function(){if(tn&&!Yt&&da.length){var Cr;(Cr=Qt.current)===null||Cr===void 0||Cr.scrollTo({key:da[0]}),Dn(da[0])}},[tn]);var Yn=String(xt).toLowerCase(),dr=function($r){return Yn?String($r[vr]).toLowerCase().includes(Yn):!1},Lr=ie.useState(so),jr=(0,Ue.Z)(Lr,2),Br=jr[0],nr=jr[1],wo=ie.useState(null),Co=(0,Ue.Z)(wo,2),Sl=Co[0],Kr=Co[1],Mr=ie.useMemo(function(){return or?(0,Me.Z)(or):xt?Sl:Br},[Br,Sl,or,xt]);ie.useEffect(function(){xt&&Kr(ht(Pn,Cn))},[xt]);var ho=function($r){nr($r),Kr($r),Mt&&Mt($r)},co=function($r){$r.preventDefault()},ro=function($r,Qo){var ko=Qo.node;ba&&Vt(ko)||(Zn(ko.key,{selected:!da.includes(ko.key)}),Yt||rn(!1))};if(ie.useImperativeHandle(ia,function(){var Cr;return{scrollTo:(Cr=Qt.current)===null||Cr===void 0?void 0:Cr.scrollTo,onKeyDown:function(Qo){var ko,Ja=Qo.which;switch(Ja){case Ce.Z.UP:case Ce.Z.DOWN:case Ce.Z.LEFT:case Ce.Z.RIGHT:(ko=Qt.current)===null||ko===void 0||ko.onKeyDown(Qo);break;case Ce.Z.ENTER:{if(ma){var ol=(ma==null?void 0:ma.node)||{},el=ol.selectable,cl=ol.value;el!==!1&&ro(null,{node:{key:sr},selected:!da.includes(cl)})}break}case Ce.Z.ESC:rn(!1)}},onKeyUp:function(){}}}),hr.length===0)return ie.createElement("div",{role:"listbox",className:"".concat(He,"-empty"),onMouseDown:co},Vn);var Do={fieldNames:Cn};return Hr&&(Do.loadedKeys=Hr),Mr&&(Do.expandedKeys=Mr),ie.createElement("div",{onMouseDown:co},ma&&tn&&ie.createElement("span",{style:rt,"aria-live":"assertive"},ma.node.value),ie.createElement(mt.Z,(0,Fe.Z)({ref:Qt,focusable:!1,prefixCls:"".concat(He,"-tree"),treeData:hr,height:ot,itemHeight:Je,virtual:tt!==!1&&Ia!==!1,multiple:Yt,icon:lr,showIcon:Qr,switcherIcon:Oa,showLine:wr,loadData:xt?null:Dr,motion:pr,activeKey:sr,checkable:ba,checkStrictly:!0,checkedKeys:na,selectedKeys:ba?[]:da,defaultExpandAll:fr},Do,{onActiveChange:Dn,onSelect:ro,onCheck:ro,onExpand:ho,onLoad:yr,filterTreeNode:dr,expandAction:Ea})))},hn=ie.forwardRef(It);hn.displayName="OptionList";var Pt=hn,sn="SHOW_ALL",Be="SHOW_PARENT",qe="SHOW_CHILD";function qt(Ot,Fn,ia,jn){var He=new Set(Ot);return Fn===qe?Ot.filter(function(Yt){var xt=ia[Yt];return!(xt&&xt.children&&xt.children.some(function(rn){var tn=rn.node;return He.has(tn[jn.value])})&&xt.children.every(function(rn){var tn=rn.node;return Vt(tn)||He.has(tn[jn.value])}))}):Fn===Be?Ot.filter(function(Yt){var xt=ia[Yt],rn=xt?xt.parent:null;return!(rn&&!Vt(rn.node)&&He.has(rn.key))}):Ot}function nt(Ot){var Fn=Ot.searchPlaceholder,ia=Ot.treeCheckStrictly,jn=Ot.treeCheckable,He=Ot.labelInValue,Yt=Ot.value,xt=Ot.multiple;warning(!Fn,"`searchPlaceholder` has been removed."),ia&&He===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(He||ia)&&warning(toArray(Yt).every(function(rn){return rn&&_typeof(rn)==="object"&&"value"in rn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ia||xt||jn?warning(!Yt||Array.isArray(Yt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Yt),"`value` should not be array when `TreeSelect` is single mode.")}var pt=null,_n=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Zt(Ot){return!Ot||(0,Qe.Z)(Ot)!=="object"}var At=ie.forwardRef(function(Ot,Fn){var ia=Ot.id,jn=Ot.prefixCls,He=jn===void 0?"rc-tree-select":jn,Yt=Ot.value,xt=Ot.defaultValue,rn=Ot.onChange,tn=Ot.onSelect,Vn=Ot.onDeselect,Ln=Ot.searchValue,tt=Ot.inputValue,ot=Ot.onSearch,Je=Ot.autoClearSearchValue,Pn=Je===void 0?!0:Je,Cn=Ot.filterTreeNode,Zn=Ot.treeNodeFilterProp,Ia=Zn===void 0?"value":Zn,Ea=Ot.showCheckedStrategy,ua=Ot.treeNodeLabelProp,ba=Ot.multiple,da=Ot.treeCheckable,Gt=Ot.treeCheckStrictly,or=Ot.labelInValue,fr=Ot.fieldNames,so=Ot.treeDataSimpleMode,Mt=Ot.treeData,lr=Ot.children,Qr=Ot.loadData,Oa=Ot.treeLoadedKeys,wr=Ot.onTreeLoad,vr=Ot.treeDefaultExpandAll,Dr=Ot.treeExpandedKeys,Hr=Ot.treeDefaultExpandedKeys,pr=Ot.onTreeExpand,yr=Ot.treeExpandAction,ga=Ot.virtual,Qt=Ot.listHeight,hr=Qt===void 0?200:Qt,Ur=Ot.listItemHeight,Yr=Ur===void 0?20:Ur,sr=Ot.onDropdownVisibleChange,Dn=Ot.dropdownMatchSelectWidth,ma=Dn===void 0?!0:Dn,na=Ot.treeLine,Yn=Ot.treeIcon,dr=Ot.showTreeIcon,Lr=Ot.switcherIcon,jr=Ot.treeMotion,Br=(0,xe.Z)(Ot,_n),nr=(0,we.ZP)(ia),wo=da&&!Gt,Co=da||Gt,Sl=Gt||or,Kr=Co||ba,Mr=(0,Ze.Z)(xt,{value:Yt}),ho=(0,Ue.Z)(Mr,2),co=ho[0],ro=ho[1],Do=ie.useMemo(function(){return da?Ea||qe:sn},[Ea,da]),Cr=ie.useMemo(function(){return un(fr)},[JSON.stringify(fr)]),$r=(0,Ze.Z)("",{value:Ln!==void 0?Ln:tt,postState:function(ar){return ar||""}}),Qo=(0,Ue.Z)($r,2),ko=Qo[0],Ja=Qo[1],ol=function(ar){Ja(ar),ot==null||ot(ar)},el=Ke(Mt,lr,so),cl=b(el,Cr),eo=cl.keyEntities,Ko=cl.valueEntities,he=ie.useCallback(function(Eo){var ar=[],St=[];return Eo.forEach(function(ut){Ko.has(ut)?St.push(ut):ar.push(ut)}),{missingRawValues:ar,existRawValues:St}},[Ko]),Bt=De(el,ko,{fieldNames:Cr,treeNodeFilterProp:Ia,filterTreeNode:Cn}),Jt=ie.useCallback(function(Eo){if(Eo){if(ua)return Eo[ua];for(var ar=Cr._title,St=0;St{const{componentCls:Fn,treePrefixCls:ia,colorBgElevated:jn}=Ot,He=`.${ia}`;return[{[`${Fn}-dropdown`]:[{padding:`${Ot.paddingXS}px ${Ot.paddingXS/2}px`},(0,Aa.Yk)(ia,(0,Ht.TS)(Ot,{colorBgContainer:jn})),{[He]:{borderRadius:0,[`${He}-list-holder-inner`]:{alignItems:"stretch",[`${He}-treenode`]:{[`${He}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Qa.C2)(`${ia}-checkbox`,Ot),{"&-rtl":{direction:"rtl",[`${He}-switcher${He}-switcher_close`]:{[`${He}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function tr(Ot,Fn){return(0,dn.Z)("TreeSelect",ia=>{const jn=(0,Ht.TS)(ia,{treePrefixCls:Fn});return[er(jn)]},Aa.TM)(Ot)}var _a=function(Ot,Fn){var ia={};for(var jn in Ot)Object.prototype.hasOwnProperty.call(Ot,jn)&&Fn.indexOf(jn)<0&&(ia[jn]=Ot[jn]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,jn=Object.getOwnPropertySymbols(Ot);He{var ia,{prefixCls:jn,size:He,disabled:Yt,bordered:xt=!0,className:rn,rootClassName:tn,treeCheckable:Vn,multiple:Ln,listHeight:tt=256,listItemHeight:ot=26,placement:Je,notFoundContent:Pn,switcherIcon:Cn,treeLine:Zn,getPopupContainer:Ia,popupClassName:Ea,dropdownClassName:ua,treeIcon:ba=!1,transitionName:da,choiceTransitionName:Gt="",status:or,treeExpandAction:fr,builtinPlacements:so,dropdownMatchSelectWidth:Mt,popupMatchSelectWidth:lr,allowClear:Qr}=Ot,Oa=_a(Ot,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:wr,getPrefixCls:vr,renderEmpty:Dr,direction:Hr,virtual:pr,popupMatchSelectWidth:yr,popupOverflow:ga}=ie.useContext(On.E_),Qt=vr(),hr=vr("select",jn),Ur=vr("select-tree",jn),Yr=vr("tree-select",jn),{compactSize:sr,compactItemClassnames:Dn}=(0,va.ri)(hr,Hr),[ma,na]=(0,rr.Z)(hr),[Yn]=tr(Yr,Ur),dr=pe()(Ea||ua,`${Yr}-dropdown`,{[`${Yr}-dropdown-rtl`]:Hr==="rtl"},tn,na),Lr=!!(Vn||Ln),jr=(0,Fa.Z)(Oa.suffixIcon,Oa.showArrow),Br=(ia=lr!=null?lr:Mt)!==null&&ia!==void 0?ia:yr,{status:nr,hasFeedback:wo,isFormItemInput:Co,feedbackIcon:Sl}=ie.useContext(Ca.aM),Kr=(0,Un.F)(nr,or),{suffixIcon:Mr,removeIcon:ho,clearIcon:co}=(0,Va.Z)(Object.assign(Object.assign({},Oa),{multiple:Lr,showSuffixIcon:jr,hasFeedback:wo,feedbackIcon:Sl,prefixCls:hr,componentName:"TreeSelect"})),ro=Qr===!0?{clearIcon:co}:Qr;let Do;Pn!==void 0?Do=Pn:Do=(Dr==null?void 0:Dr("Select"))||ie.createElement(Za.Z,{componentName:"Select"});const Cr=(0,Kt.Z)(Oa,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),$r=ie.useMemo(()=>Je!==void 0?Je:Hr==="rtl"?"bottomRight":"bottomLeft",[Je,Hr]),Qo=(0,qa.Z)(so,ga),ko=(0,Ya.Z)(Ko=>{var he;return(he=He!=null?He:sr)!==null&&he!==void 0?he:Ko}),Ja=ie.useContext(ya.Z),ol=Yt!=null?Yt:Ja,el=pe()(!jn&&Yr,{[`${hr}-lg`]:ko==="large",[`${hr}-sm`]:ko==="small",[`${hr}-rtl`]:Hr==="rtl",[`${hr}-borderless`]:!xt,[`${hr}-in-form-item`]:Co},(0,Un.Z)(hr,Kr,wo),Dn,rn,tn,na),cl=Ko=>ie.createElement(En.Z,{prefixCls:Ur,switcherIcon:Cn,treeNodeProps:Ko,showLine:Zn}),eo=ie.createElement(Qn,Object.assign({virtual:pr,disabled:ol},Cr,{dropdownMatchSelectWidth:Br,builtinPlacements:Qo,ref:Fn,prefixCls:hr,className:el,listHeight:tt,listItemHeight:ot,treeCheckable:Vn&&ie.createElement("span",{className:`${hr}-tree-checkbox-inner`}),treeLine:!!Zn,suffixIcon:Mr,multiple:Lr,placement:$r,removeIcon:ho,allowClear:ro,switcherIcon:cl,showTreeIcon:ba,notFoundContent:Do,getPopupContainer:Ia||wr,treeMotion:null,dropdownClassName:dr,choiceTransitionName:(0,Ba.m)(Qt,"",Gt),transitionName:(0,Ba.m)(Qt,"slide-up",da),treeExpandAction:fr}));return ma(Yn(eo))},la=ie.forwardRef(ka),Na=(0,ta.Z)(la);la.TreeNode=ue,la.SHOW_ALL=sn,la.SHOW_PARENT=Be,la.SHOW_CHILD=qe,la._InternalPanelDoNotUseOrYouWillBeFired=Na;var Wr=la},24334:function(it,Tt,ae){var y,pe;(function(Fe,Me){it.exports=Me(Fe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ae.g!="undefined"?ae.g:this,function(Fe){"use strict";Fe=Fe||{};var Me=Fe.Base64,ke="2.6.4",Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=function(ze){for(var Xe={},Ce=0,ct=ze.length;Ce>>6)+Qe(128|Xe&63):Qe(224|Xe>>>12&15)+Qe(128|Xe>>>6&63)+Qe(128|Xe&63)}else{var Xe=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return Qe(240|Xe>>>18&7)+Qe(128|Xe>>>12&63)+Qe(128|Xe>>>6&63)+Qe(128|Xe&63)}},we=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Re=function(ze){return ze.replace(we,Ie)},Ze=function(ze){var Xe=[0,2,1][ze.length%3],Ce=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),ct=[Ue.charAt(Ce>>>18),Ue.charAt(Ce>>>12&63),Xe>=2?"=":Ue.charAt(Ce>>>6&63),Xe>=1?"=":Ue.charAt(Ce&63)];return ct.join("")},Ye=Fe.btoa&&typeof Fe.btoa=="function"?function(ze){return Fe.btoa(ze)}:function(ze){if(ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ze.replace(/[\s\S]{1,3}/g,Ze)},ie=function(ze){return Ye(Re(String(ze)))},E=function(ze){return ze.replace(/[+\/]/g,function(Xe){return Xe=="+"?"-":"_"}).replace(/=/g,"")},a=function(ze,Xe){return Xe?E(ie(ze)):ie(ze)},x=function(ze){return a(ze,!0)},b;Fe.Uint8Array&&(b=function(ze,Xe){for(var Ce="",ct=0,mt=ze.length;ct>>18)+Ue.charAt(un>>>12&63)+(typeof Et!="undefined"?Ue.charAt(un>>>6&63):"=")+(typeof fn!="undefined"?Ue.charAt(un&63):"=")}return Xe?E(Ce):Ce});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(ze){switch(ze.length){case 4:var Xe=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),Ce=Xe-65536;return Qe((Ce>>>10)+55296)+Qe((Ce&1023)+56320);case 3:return Qe((15&ze.charCodeAt(0))<<12|(63&ze.charCodeAt(1))<<6|63&ze.charCodeAt(2));default:return Qe((31&ze.charCodeAt(0))<<6|63&ze.charCodeAt(1))}},oe=function(ze){return ze.replace(z,te)},ue=function(ze){var Xe=ze.length,Ce=Xe%4,ct=(Xe>0?xe[ze.charAt(0)]<<18:0)|(Xe>1?xe[ze.charAt(1)]<<12:0)|(Xe>2?xe[ze.charAt(2)]<<6:0)|(Xe>3?xe[ze.charAt(3)]:0),mt=[Qe(ct>>>16),Qe(ct>>>8&255),Qe(ct&255)];return mt.length-=[0,0,2,1][Ce],mt.join("")},le=Fe.atob&&typeof Fe.atob=="function"?function(ze){return Fe.atob(ze)}:function(ze){return ze.replace(/\S{1,4}/g,ue)},Ee=function(ze){return le(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(ze){return oe(le(ze))},We=function(ze){return String(ze).replace(/[-_]/g,function(Xe){return Xe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},De=function(ze){return be(We(ze))},st;Fe.Uint8Array&&(st=function(ze){return Uint8Array.from(Ee(We(ze)),function(Xe){return Xe.charCodeAt(0)})});var Oe=function(){var ze=Fe.Base64;return Fe.Base64=Me,ze};if(Fe.Base64={VERSION:ke,atob:Ee,btoa:Ye,fromBase64:De,toBase64:a,utob:Re,encode:a,encodeURI:x,btou:oe,decode:De,noConflict:Oe,fromUint8Array:b,toUint8Array:st},typeof Object.defineProperty=="function"){var Ke=function(ze){return{value:ze,enumerable:!1,writable:!0,configurable:!0}};Fe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ke(function(){return De(this)})),Object.defineProperty(String.prototype,"toBase64",Ke(function(ze){return a(this,ze)})),Object.defineProperty(String.prototype,"toBase64URI",Ke(function(){return a(this,!0)}))}}return Fe.Meteor&&(Base64=Fe.Base64),it.exports?it.exports.Base64=Fe.Base64:(y=[],pe=function(){return Fe.Base64}.apply(Tt,y),pe!==void 0&&(it.exports=pe)),{Base64:Fe.Base64}})},22061:function(it,Tt,ae){"use strict";ae.d(Tt,{Z5:function(){return Ri},_l:function(){return Hd},bK:function(){return ed}});var y=ae(59301),pe=ae(69168),Fe=ae(54476),Me=ae(59781),ke=y.createContext(null),Ue=null;function xe(ee){ee()}var Qe=xe,Ie=function(ne){return Qe=ne},we=function(){return Qe};function Re(){var ee=we(),ne=null,re=null;return{clear:function(){ne=null,re=null},notify:function(){ee(function(){for(var fe=ne;fe;)fe.callback(),fe=fe.next})},get:function(){for(var fe=[],ve=ne;ve;)fe.push(ve),ve=ve.next;return fe},subscribe:function(fe){var ve=!0,Ae=re={callback:fe,next:null,prev:re};return Ae.prev?Ae.prev.next=Ae:ne=Ae,function(){!ve||ne===null||(ve=!1,Ae.next?Ae.next.prev=Ae.prev:re=Ae.prev,Ae.prev?Ae.prev.next=Ae.next:ne=Ae.next)}}}}var Ze={notify:function(){},get:function(){return[]}};function Ye(ee,ne){var re,de=Ze;function fe(Ge){return je(),de.subscribe(Ge)}function ve(){de.notify()}function Ae(){_e.onStateChange&&_e.onStateChange()}function ye(){return!!re}function je(){re||(re=ne?ne.addNestedSub(Ae):ee.subscribe(Ae),de=Re())}function $e(){re&&(re(),re=void 0,de.clear(),de=Ze)}var _e={addNestedSub:fe,notifyNestedSubs:ve,handleChangeWrapper:Ae,isSubscribed:ye,trySubscribe:je,tryUnsubscribe:$e,getListeners:function(){return de}};return _e}var ie=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect;function E(ee){var ne=ee.store,re=ee.context,de=ee.children,fe=(0,y.useMemo)(function(){var ye=Ye(ne);return{store:ne,subscription:ye}},[ne]),ve=(0,y.useMemo)(function(){return ne.getState()},[ne]);ie(function(){var ye=fe.subscription;return ye.onStateChange=ye.notifyNestedSubs,ye.trySubscribe(),ve!==ne.getState()&&ye.notifyNestedSubs(),function(){ye.tryUnsubscribe(),ye.onStateChange=null}},[fe,ve]);var Ae=re||ke;return y.createElement(Ae.Provider,{value:fe},de)}var a=E,x=ae(85377),b=ae(94266),z=ae.n(b),te=ae(53410),oe=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ue=["reactReduxForwardedRef"],le=[],Ee=[null,null],be=function(ne){try{return JSON.stringify(ne)}catch(re){return String(ne)}};function We(ee,ne){var re=ee[1];return[ne.payload,re+1]}function De(ee,ne,re){ie(function(){return ee.apply(void 0,ne)},re)}function st(ee,ne,re,de,fe,ve,Ae){ee.current=de,ne.current=fe,re.current=!1,ve.current&&(ve.current=null,Ae())}function Oe(ee,ne,re,de,fe,ve,Ae,ye,je,$e){if(ee){var _e=!1,Ge=null,Ve=function(){if(!_e){var oa=ne.getState(),ha,Pa;try{ha=de(oa,fe.current)}catch(Wa){Pa=Wa,Ge=Wa}Pa||(Ge=null),ha===ve.current?Ae.current||je():(ve.current=ha,ye.current=ha,Ae.current=!0,$e({type:"STORE_UPDATED",payload:{error:Pa}}))}};re.onStateChange=Ve,re.trySubscribe(),Ve();var dt=function(){if(_e=!0,re.tryUnsubscribe(),re.onStateChange=null,Ge)throw Ge};return dt}}var Ke=function(){return[null,0]};function ze(ee,ne){ne===void 0&&(ne={});var re=ne,de=re.getDisplayName,fe=de===void 0?function(uo){return"ConnectAdvanced("+uo+")"}:de,ve=re.methodName,Ae=ve===void 0?"connectAdvanced":ve,ye=re.renderCountProp,je=ye===void 0?void 0:ye,$e=re.shouldHandleStateChanges,_e=$e===void 0?!0:$e,Ge=re.storeKey,Ve=Ge===void 0?"store":Ge,dt=re.withRef,zt=dt===void 0?!1:dt,oa=re.forwardRef,ha=oa===void 0?!1:oa,Pa=re.context,Wa=Pa===void 0?ke:Pa,ur=(0,x.Z)(re,oe);if(0)var mr;var po=Wa;return function(zo){var Wl=zo.displayName||zo.name||"Component",Yo=fe(Wl),Ql=(0,Fe.Z)({},ur,{getDisplayName:fe,methodName:Ae,renderCountProp:je,shouldHandleStateChanges:_e,storeKey:Ve,displayName:Yo,wrappedComponentName:Wl,WrappedComponent:zo}),yi=ur.pure;function wi(Di){return ee(Di.dispatch,Ql)}var xu=yi?y.useMemo:function(Di){return Di()};function Pu(Di){var zu=(0,y.useMemo)(function(){var ys=Di.reactReduxForwardedRef,Vs=(0,x.Z)(Di,ue);return[Di.context,ys,Vs]},[Di]),Du=zu[0],Ps=zu[1],Qu=zu[2],Vu=(0,y.useMemo)(function(){return Du&&Du.Consumer&&(0,te.isContextConsumer)(y.createElement(Du.Consumer,null))?Du:po},[Du,po]),Lu=(0,y.useContext)(Vu),Uu=!!Di.store&&!!Di.store.getState&&!!Di.store.dispatch,Cs=!!Lu&&!!Lu.store,Nu=Uu?Di.store:Lu.store,As=(0,y.useMemo)(function(){return wi(Nu)},[Nu]),xs=(0,y.useMemo)(function(){if(!_e)return Ee;var ys=Ye(Nu,Uu?null:Lu.subscription),Vs=ys.notifyNestedSubs.bind(ys);return[ys,Vs]},[Nu,Uu,Lu]),os=xs[0],ws=xs[1],Ds=(0,y.useMemo)(function(){return Uu?Lu:(0,Fe.Z)({},Lu,{subscription:os})},[Uu,Lu,os]),td=(0,y.useReducer)(We,le,Ke),Yd=td[0],Ls=Yd[0],Kd=td[1];if(Ls&&Ls.error)throw Ls.error;var nd=(0,y.useRef)(),Gs=(0,y.useRef)(Qu),Ns=(0,y.useRef)(),ad=(0,y.useRef)(!1),Hs=xu(function(){return Ns.current&&Qu===Gs.current?Ns.current:As(Nu.getState(),Qu)},[Nu,Ls,Qu]);De(st,[Gs,nd,ad,Qu,Hs,Ns,ws]),De(Oe,[_e,Nu,os,As,Gs,nd,ad,Ns,ws,Kd],[Nu,os,As]);var zs=(0,y.useMemo)(function(){return y.createElement(zo,(0,Fe.Z)({},Hs,{ref:Ps}))},[Ps,zo,Hs]),_d=(0,y.useMemo)(function(){return _e?y.createElement(Vu.Provider,{value:Ds},zs):zs},[Vu,zs,Ds]);return _d}var iu=yi?y.memo(Pu):Pu;if(iu.WrappedComponent=zo,iu.displayName=Pu.displayName=Yo,ha){var wu=y.forwardRef(function(zu,Du){return y.createElement(iu,(0,Fe.Z)({},zu,{reactReduxForwardedRef:Du}))});return wu.displayName=Yo,wu.WrappedComponent=zo,z()(wu,zo)}return z()(iu,zo)}}function Xe(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function Ce(ee,ne){if(Xe(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var re=Object.keys(ee),de=Object.keys(ne);if(re.length!==de.length)return!1;for(var fe=0;fe=0;de--){var fe=ne[de](ee);if(fe)return fe}return function(ve,Ae){throw new Error("Invalid value of type "+typeof ee+" for "+re+" argument when connecting component "+Ae.wrappedComponentName+".")}}function yt(ee,ne){return ee===ne}function Gn(ee){var ne=ee===void 0?{}:ee,re=ne.connectHOC,de=re===void 0?ze:re,fe=ne.mapStateToPropsFactories,ve=fe===void 0?It:fe,Ae=ne.mapDispatchToPropsFactories,ye=Ae===void 0?ht:Ae,je=ne.mergePropsFactories,$e=je===void 0?qe:je,_e=ne.selectorFactory,Ge=_e===void 0?_n:_e;return function(dt,zt,oa,ha){ha===void 0&&(ha={});var Pa=ha,Wa=Pa.pure,ur=Wa===void 0?!0:Wa,mr=Pa.areStatesEqual,po=mr===void 0?yt:mr,uo=Pa.areOwnPropsEqual,zo=uo===void 0?Ce:uo,Wl=Pa.areStatePropsEqual,Yo=Wl===void 0?Ce:Wl,Ql=Pa.areMergedPropsEqual,yi=Ql===void 0?Ce:Ql,wi=(0,x.Z)(Pa,Zt),xu=At(dt,ve,"mapStateToProps"),Pu=At(zt,ye,"mapDispatchToProps"),iu=At(oa,$e,"mergeProps");return de(Ge,(0,Fe.Z)({methodName:"connect",getDisplayName:function(Di){return"Connect("+Di+")"},shouldHandleStateChanges:!!dt,initMapStateToProps:xu,initMapDispatchToProps:Pu,initMergeProps:iu,pure:ur,areStatesEqual:po,areOwnPropsEqual:zo,areStatePropsEqual:Yo,areMergedPropsEqual:yi},wi))}}var Qn=Gn();function Kt(){var ee=useContext(ReactReduxContext);return ee}function ta(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ne(),fe=de.store;return fe}}var Ba=null;function Un(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var On=null,ya=function(ne,re){return ne===re};function Za(ee,ne,re,de){var fe=useReducer(function(zt){return zt+1},0),ve=fe[1],Ae=useMemo(function(){return createSubscription(re,de)},[re,de]),ye=useRef(),je=useRef(),$e=useRef(),_e=useRef(),Ge=re.getState(),Ve;try{if(ee!==je.current||Ge!==$e.current||ye.current){var dt=ee(Ge);_e.current===void 0||!ne(dt,_e.current)?Ve=dt:Ve=_e.current}else Ve=_e.current}catch(zt){throw ye.current&&(zt.message+=` The error may be correlated with this previous error: -`+Fe.current.stack+` +`+ye.current.stack+` -`),Kt}return useIsomorphicLayoutEffect(function(){je.current=ee,et.current=He,Xe.current=Ue,Fe.current=void 0}),useIsomorphicLayoutEffect(function(){function Kt(){try{var da=re.getState();if(da===et.current)return;var Ba=je.current(da);if(ne(Ba,Xe.current))return;Xe.current=Ba,et.current=da}catch(Na){Fe.current=Na}ve()}return Se.onStateChange=Kt,Se.trySubscribe(),Kt(),function(){return Se.tryUnsubscribe()}},[re,Se]),Ue}function za(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(se,fe){fe===void 0&&(fe=Hn);var ve=ne(),Se=ve.store,Fe=ve.subscription,je=Aa(se,fe,Se,Fe);return useDebugValue(je),je}}var wa=null,Ka=ae(4676);Ne(Ka.unstable_batchedUpdates);function Za(ee,ne){if(ee.length!==ne.length)return!1;for(var re=0;re");return se.callbacks},se.setCallbacks=function(Fe){se.callbacks=Fe},se}var re=ne.prototype;return re.componentDidMount=function(){this.unbind=Vt(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(fe){if(fe instanceof Yr){this.setState({});return}throw fe},re.render=function(){return this.props.children(this.setCallbacks)},ne}(y.Component),At=` +`)},Cn=function(ne){return[Pn(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Zn="__react-beautiful-dnd-disable-dev-warnings";function Ia(ee,ne){var re;Ln||typeof window!="undefined"&&window[Zn]||(re=console)[ee].apply(re,Cn(ne))}var Ea=Ia.bind(null,"warn"),ua=Ia.bind(null,"error");function ba(){}function da(ee,ne){return(0,Fe.Z)({},ee,{},ne)}function Gt(ee,ne,re){var de=ne.map(function(fe){var ve=da(re,fe.options);return ee.addEventListener(fe.eventName,fe.fn,ve),function(){ee.removeEventListener(fe.eventName,fe.fn,ve)}});return function(){de.forEach(function(ve){ve()})}}var or=!0,fr="Invariant failed";function so(ee){this.message=ee}so.prototype.toString=function(){return this.message};function Mt(ee,ne){if(!ee)throw or?new so(fr):new so(fr+": "+(ne||""))}var lr=function(ee){(0,pe.Z)(ne,ee);function ne(){for(var de,fe=arguments.length,ve=new Array(fe),Ae=0;Ae");return de.callbacks},de.setCallbacks=function(ye){de.callbacks=ye},de}var re=ne.prototype;return re.componentDidMount=function(){this.unbind=Gt(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(fe){if(fe instanceof so){this.setState({});return}throw fe},re.render=function(){return this.props.children(this.setCallbacks)},ne}(y.Component),Qr=` Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key -`,Bt=function(ne){return ne+1},fa=function(ne){return` - You have lifted an item in position `+Bt(ne.source.index)+` -`},Qn=function(ne,re){var se=ne.droppableId===re.droppableId,fe=Bt(ne.index),ve=Bt(re.index);return se?` +`,Oa=function(ne){return ne+1},wr=function(ne){return` + You have lifted an item in position `+Oa(ne.source.index)+` +`},vr=function(ne,re){var de=ne.droppableId===re.droppableId,fe=Oa(ne.index),ve=Oa(re.index);return de?` You have moved the item from position `+fe+` to position `+ve+` `:` @@ -346,38 +346,38 @@ The error may be correlated with this previous error: in list `+ne.droppableId+` to list `+re.droppableId+` in position `+ve+` - `},Pa=function(ne,re,se){var fe=re.droppableId===se.droppableId;return fe?` + `},Dr=function(ne,re,de){var fe=re.droppableId===de.droppableId;return fe?` The item `+ne+` - has been combined with `+se.draggableId:` + has been combined with `+de.draggableId:` The item `+ne+` in list `+re.droppableId+` - has been combined with `+se.draggableId+` - in list `+se.droppableId+` - `},qa=function(ne){var re=ne.destination;if(re)return Qn(ne.source,re);var se=ne.combine;return se?Pa(ne.draggableId,ne.source,se):"You are over an area that cannot be dropped on"},ka=function(ne){return` + has been combined with `+de.draggableId+` + in list `+de.droppableId+` + `},Hr=function(ne){var re=ne.destination;if(re)return vr(ne.source,re);var de=ne.combine;return de?Dr(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},pr=function(ne){return` The item has returned to its starting position - of `+Bt(ne.index)+` -`},Ca=function(ne){if(ne.reason==="CANCEL")return` + of `+Oa(ne.index)+` +`},yr=function(ne){if(ne.reason==="CANCEL")return` Movement cancelled. - `+ka(ne.source)+` - `;var re=ne.destination,se=ne.combine;return re?` + `+pr(ne.source)+` + `;var re=ne.destination,de=ne.combine;return re?` You have dropped the item. - `+Qn(ne.source,re)+` - `:se?` + `+vr(ne.source,re)+` + `:de?` You have dropped the item. - `+Pa(ne.draggableId,ne.source,se)+` + `+Dr(ne.draggableId,ne.source,de)+` `:` The item has been dropped while not over a drop area. - `+ka(ne.source)+` - `},na={dragHandleUsageInstructions:At,onDragStart:fa,onDragUpdate:qa,onDragEnd:Ca},wt={x:0,y:0},pr=function(ne,re){return{x:ne.x+re.x,y:ne.y+re.y}},Zr=function(ne,re){return{x:ne.x-re.x,y:ne.y-re.y}},Gr=function(ne,re){return ne.x===re.x&&ne.y===re.y},hr=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},On=function(ne,re,se){var fe;return se===void 0&&(se=0),fe={},fe[ne]=re,fe[ne==="x"?"y":"x"]=se,fe},ha=function(ne,re){return Math.sqrt(Math.pow(re.x-ne.x,2)+Math.pow(re.y-ne.y,2))},la=function(ne,re){return Math.min.apply(Math,re.map(function(se){return ha(ne,se)}))},Xn=function(ne){return function(re){return{x:ne(re.x),y:ne(re.y)}}},Sr=function(ee,ne){var re=ya({top:Math.max(ne.top,ee.top),right:Math.min(ne.right,ee.right),bottom:Math.min(ne.bottom,ee.bottom),left:Math.max(ne.left,ee.left)});return re.width<=0||re.height<=0?null:re},xr=function(ne,re){return{top:ne.top+re.y,left:ne.left+re.x,bottom:ne.bottom+re.y,right:ne.right+re.x}},Mr=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},Br={top:0,right:0,bottom:0,left:0},dr=function(ne,re){return re?xr(ne,re.scroll.diff.displacement):ne},Eo=function(ne,re,se){if(se&&se.increasedBy){var fe;return(0,Be.Z)({},ne,(fe={},fe[re.end]=ne[re.end]+se.increasedBy[re.line],fe))}return ne},po=function(ne,re){return re&&re.shouldClipSubject?Sr(re.pageMarginBox,ne):ya(ne)},tl=function(ee){var ne=ee.page,re=ee.withPlaceholder,se=ee.axis,fe=ee.frame,ve=dr(ne.marginBox,fe),Se=Eo(ve,se,re),Fe=po(Se,fe);return{page:ne,withPlaceholder:re,active:Fe}},Hr=function(ee,ne){ee.frame||jt(!1);var re=ee.frame,se=Zr(ne,re.scroll.initial),fe=hr(se),ve=(0,Be.Z)({},re,{scroll:{initial:re.scroll.initial,current:ne,diff:{value:se,displacement:fe},max:re.scroll.max}}),Se=tl({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:ve}),Fe=(0,Be.Z)({},ee,{frame:ve,subject:Se});return Fe};function Nr(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function uo(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function to(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var re=0;reee.bottom,et=se.leftee.right,Xe=je&&et;if(Xe)return!0;var He=je&&Se||et&&ve;return He}},qn=function(ee){var ne=pn(ee.top,ee.bottom),re=pn(ee.left,ee.right);return function(se){var fe=ne(se.top)&&ne(se.bottom)&&re(se.left)&&re(se.right);return fe}},aa={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Pn={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Tn=function(ee){return function(ne){var re=pn(ne.top,ne.bottom),se=pn(ne.left,ne.right);return function(fe){return ee===aa?re(fe.top)&&re(fe.bottom):se(fe.left)&&se(fe.right)}}},ar=function(ne,re){var se=re.frame?re.frame.scroll.diff.displacement:wt;return xr(ne,se)},Jn=function(ne,re,se){return re.subject.active?se(re.subject.active)(ne):!1},on=function(ne,re,se){return se(re)(ne)},_t=function(ne){var re=ne.target,se=ne.destination,fe=ne.viewport,ve=ne.withDroppableDisplacement,Se=ne.isVisibleThroughFrameFn,Fe=ve?ar(re,se):re;return Jn(Fe,se,Se)&&on(Fe,fe,Se)},wn=function(ne){return _t((0,Be.Z)({},ne,{isVisibleThroughFrameFn:Ct}))},Va=function(ne){return _t((0,Be.Z)({},ne,{isVisibleThroughFrameFn:qn}))},wr=function(ne){return _t((0,Be.Z)({},ne,{isVisibleThroughFrameFn:Tn(ne.destination.axis)}))},no=function(ne,re,se){if(typeof se=="boolean")return se;if(!re)return!0;var fe=re.invisible,ve=re.visible;if(fe[ne])return!1;var Se=ve[ne];return Se?Se.shouldAnimate:!0};function ho(ee,ne){var re=ee.page.marginBox,se={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return ya(lr(re,se))}function Go(ee){var ne=ee.afterDragging,re=ee.destination,se=ee.displacedBy,fe=ee.viewport,ve=ee.forceShouldAnimate,Se=ee.last;return ne.reduce(function(je,et){var Xe=ho(et,se),He=et.descriptor.id;je.all.push(He);var Ue=wn({target:Xe,destination:re,viewport:fe,withDroppableDisplacement:!0});if(!Ue)return je.invisible[et.descriptor.id]=!0,je;var ct=no(He,Se,ve),Kt={draggableId:He,shouldAnimate:ct};return je.visible[He]=Kt,je},{all:[],visible:{},invisible:{}})}function Ho(ee,ne){if(!ee.length)return 0;var re=ee[ee.length-1].descriptor.index;return ne.inHomeList?re:re+1}function fl(ee){var ne=ee.insideDestination,re=ee.inHomeList,se=ee.displacedBy,fe=ee.destination,ve=Ho(ne,{inHomeList:re});return{displaced:Dt,displacedBy:se,at:{type:"REORDER",destination:{droppableId:fe.descriptor.id,index:ve}}}}function Jo(ee){var ne=ee.draggable,re=ee.insideDestination,se=ee.destination,fe=ee.viewport,ve=ee.displacedBy,Se=ee.last,Fe=ee.index,je=ee.forceShouldAnimate,et=Zo(ne,se);if(Fe==null)return fl({insideDestination:re,inHomeList:et,displacedBy:ve,destination:se});var Xe=Kr(re,function(da){return da.descriptor.index===Fe});if(!Xe)return fl({insideDestination:re,inHomeList:et,displacedBy:ve,destination:se});var He=Ko(ne,re),Ue=re.indexOf(Xe),ct=He.slice(Ue),Kt=Go({afterDragging:ct,destination:se,displacedBy:ve,last:Se,viewport:fe.frame,forceShouldAnimate:je});return{displaced:Kt,displacedBy:ve,at:{type:"REORDER",destination:{droppableId:se.descriptor.id,index:Fe}}}}function vl(ee,ne){return!!ne.effected[ee]}var hl=function(ee){var ne=ee.isMovingForward,re=ee.destination,se=ee.draggables,fe=ee.combine,ve=ee.afterCritical;if(!re.isCombineEnabled)return null;var Se=fe.draggableId,Fe=se[Se],je=Fe.descriptor.index,et=vl(Se,ve);return et?ne?je:je-1:ne?je+1:je},ti=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,se=ee.insideDestination,fe=ee.location;if(!se.length)return null;var ve=fe.index,Se=ne?ve+1:ve-1,Fe=se[0].descriptor.index,je=se[se.length-1].descriptor.index,et=re?je:je+1;return Seet?null:Se},so=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,se=ee.draggable,fe=ee.draggables,ve=ee.destination,Se=ee.insideDestination,Fe=ee.previousImpact,je=ee.viewport,et=ee.afterCritical,Xe=Fe.at;if(Xe||jt(!1),Xe.type==="REORDER"){var He=ti({isMovingForward:ne,isInHomeList:re,location:Xe.destination,insideDestination:Se});return He==null?null:Jo({draggable:se,insideDestination:Se,destination:ve,viewport:je,last:Fe.displaced,displacedBy:Fe.displacedBy,index:He})}var Ue=hl({isMovingForward:ne,destination:ve,displaced:Fe.displaced,draggables:fe,combine:Xe.combine,afterCritical:et});return Ue==null?null:Jo({draggable:se,insideDestination:Se,destination:ve,viewport:je,last:Fe.displaced,displacedBy:Fe.displacedBy,index:Ue})},cr=function(ee){var ne=ee.displaced,re=ee.afterCritical,se=ee.combineWith,fe=ee.displacedBy,ve=!!(ne.visible[se]||ne.invisible[se]);return vl(se,re)?ve?wt:hr(fe.point):ve?fe.point:wt},Pt=function(ee){var ne=ee.afterCritical,re=ee.impact,se=ee.draggables,fe=Vo(re);fe||jt(!1);var ve=fe.draggableId,Se=se[ve].page.borderBox.center,Fe=cr({displaced:re.displaced,afterCritical:ne,combineWith:ve,displacedBy:re.displacedBy});return pr(Se,Fe)},dt=function(ne,re){return re.margin[ne.start]+re.borderBox[ne.size]/2},Ot=function(ne,re){return re.margin[ne.end]+re.borderBox[ne.size]/2},Fn=function(ne,re,se){return re[ne.crossAxisStart]+se.margin[ne.crossAxisStart]+se.borderBox[ne.crossAxisSize]/2},pa=function(ne){var re=ne.axis,se=ne.moveRelativeTo,fe=ne.isMoving;return On(re.line,se.marginBox[re.end]+dt(re,fe),Fn(re,se.marginBox,fe))},Ma=function(ne){var re=ne.axis,se=ne.moveRelativeTo,fe=ne.isMoving;return On(re.line,se.marginBox[re.start]-Ot(re,fe),Fn(re,se.marginBox,fe))},un=function(ne){var re=ne.axis,se=ne.moveInto,fe=ne.isMoving;return On(re.line,se.contentBox[re.start]+dt(re,fe),Fn(re,se.contentBox,fe))},Ra=function(ee){var ne=ee.impact,re=ee.draggable,se=ee.draggables,fe=ee.droppable,ve=ee.afterCritical,Se=ur(fe.descriptor.id,se),Fe=re.page,je=fe.axis;if(!Se.length)return un({axis:je,moveInto:fe.page,isMoving:Fe});var et=ne.displaced,Xe=ne.displacedBy,He=et.all[0];if(He){var Ue=se[He];if(vl(He,ve))return Ma({axis:je,moveRelativeTo:Ue.page,isMoving:Fe});var ct=Rr(Ue.page,Xe.point);return Ma({axis:je,moveRelativeTo:ct,isMoving:Fe})}var Kt=Se[Se.length-1];if(Kt.descriptor.id===re.descriptor.id)return Fe.borderBox.center;if(vl(Kt.descriptor.id,ve)){var da=Rr(Kt.page,hr(ve.displacedBy.point));return pa({axis:je,moveRelativeTo:da,isMoving:Fe})}return pa({axis:je,moveRelativeTo:Kt.page,isMoving:Fe})},sr=function(ee,ne){var re=ee.frame;return re?pr(ne,re.scroll.diff.displacement):ne},br=function(ne){var re=ne.impact,se=ne.draggable,fe=ne.droppable,ve=ne.draggables,Se=ne.afterCritical,Fe=se.page.borderBox.center,je=re.at;return!fe||!je?Fe:je.type==="REORDER"?Ra({impact:re,draggable:se,draggables:ve,droppable:fe,afterCritical:Se}):Pt({impact:re,draggables:ve,afterCritical:Se})},$a=function(ee){var ne=br(ee),re=ee.droppable,se=re?sr(re,ne):ne;return se},ra=function(ee,ne){var re=Zr(ne,ee.scroll.initial),se=hr(re),fe=ya({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),ve={frame:fe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:re,displacement:se}}};return ve};function Dr(ee,ne){return ee.map(function(re){return ne[re]})}function Tr(ee,ne){for(var re=0;re1?Xe.sort(function(He,Ue){return mo(He)[Fe.start]-mo(Ue)[Fe.start]})[0]:et.sort(function(He,Ue){var ct=la(re,Mr(mo(He))),Kt=la(re,Mr(mo(Ue)));return ct!==Kt?ct-Kt:mo(He)[Fe.start]-mo(Ue)[Fe.start]})[0]},Ei=function(ne,re){var se=ne.page.borderBox.center;return vl(ne.descriptor.id,re)?Zr(se,re.displacedBy.point):se},zi=function(ne,re){var se=ne.page.borderBox;return vl(ne.descriptor.id,re)?xr(se,hr(re.displacedBy.point)):se},Si=function(ee){var ne=ee.pageBorderBoxCenter,re=ee.viewport,se=ee.destination,fe=ee.insideDestination,ve=ee.afterCritical,Se=fe.filter(function(Fe){return Va({target:zi(Fe,ve),destination:se,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(Fe,je){var et=ha(ne,sr(se,Ei(Fe,ve))),Xe=ha(ne,sr(se,Ei(je,ve)));return etne.left&&ee.topne.top}function Jl(ee){var ne=ee.pageBorderBox,re=ee.draggable,se=ee.candidates,fe=re.page.borderBox.center,ve=se.map(function(Se){var Fe=Se.axis,je=On(Se.axis.line,ne.center[Fe.line],Se.page.borderBox.center[Fe.crossAxisLine]);return{id:Se.descriptor.id,distance:ha(fe,je)}}).sort(function(Se,Fe){return Fe.distance-Se.distance});return ve[0]?ve[0].id:null}function si(ee){var ne=ee.pageBorderBox,re=ee.draggable,se=ee.droppables,fe=Mo(se).filter(function(ve){if(!ve.isEnabled)return!1;var Se=ve.subject.active;if(!Se||!ui(ne,Se))return!1;if(lu(Se)(ne.center))return!0;var Fe=ve.axis,je=Se.center[Fe.crossAxisLine],et=ne[Fe.crossAxisStart],Xe=ne[Fe.crossAxisEnd],He=pn(Se[Fe.crossAxisStart],Se[Fe.crossAxisEnd]),Ue=He(et),ct=He(Xe);return!Ue&&!ct?!0:Ue?etje});return fe.length?fe.length===1?fe[0].descriptor.id:Jl({pageBorderBox:ne,draggable:re,candidates:fe}):null}var Lu=function(ne,re){return ya(xr(ne,re))},Nu=function(ee,ne){var re=ee.frame;return re?Lu(ne,re.scroll.diff.value):ne};function Iu(ee){var ne=ee.displaced,re=ee.id;return!!(ne.visible[re]||ne.invisible[re])}function qo(ee){var ne=ee.draggable,re=ee.closest,se=ee.inHomeList;return re?se&&re.descriptor.index>ne.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var Ku=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,re=ee.draggable,se=ee.destination,fe=ee.insideDestination,ve=ee.last,Se=ee.viewport,Fe=ee.afterCritical,je=se.axis,et=ii(se.axis,re.displaceBy),Xe=et.value,He=ne[je.start],Ue=ne[je.end],ct=Ko(re,fe),Kt=Kr(ct,function(Ba){var Na=Ba.descriptor.id,tr=Ba.page.borderBox.center[je.line],fr=vl(Na,Fe),Pr=Iu({displaced:ve,id:Na});return fr?Pr?Ue<=tr:HeNa[Fe.start]+fr&&HeNa[Fe.start]-et+fr&&XeNa[Fe.start]+et+fr&&HeNa[Fe.start]+fr&&Xe=Io)return ro;var ve=fe/Io,Se=Bo+co*ve,Fe=se==="CANCEL"?Se*an:Se;return Number(Fe.toFixed(2))},Yo=function(ee){var ne=ee.impact,re=ee.draggable,se=ee.dimensions,fe=ee.viewport,ve=ee.afterCritical,Se=se.draggables,Fe=se.droppables,je=sl(ne),et=je?Fe[je]:null,Xe=Fe[re.descriptor.droppableId],He=Mu({impact:ne,draggable:re,draggables:Se,afterCritical:ve,droppable:et||Xe,viewport:fe}),Ue=Zr(He,re.client.borderBox.center);return Ue},pl=function(ee){var ne=ee.draggables,re=ee.reason,se=ee.lastImpact,fe=ee.home,ve=ee.viewport,Se=ee.onLiftImpact;if(!se.at||re!=="DROP"){var Fe=Wi({draggables:ne,impact:Se,destination:fe,viewport:ve,forceShouldAnimate:!0});return{impact:Fe,didDropInsideDroppable:!1}}if(se.at.type==="REORDER")return{impact:se,didDropInsideDroppable:!0};var je=(0,Be.Z)({},se,{displaced:Dt});return{impact:je,didDropInsideDroppable:!0}},il=function(ee){var ne=ee.getState,re=ee.dispatch;return function(se){return function(fe){if(fe.type!=="DROP"){se(fe);return}var ve=ne(),Se=fe.payload.reason;if(ve.phase==="COLLECTING"){re(Ha({reason:Se}));return}if(ve.phase!=="IDLE"){var Fe=ve.phase==="DROP_PENDING"&&ve.isWaiting;Fe&&jt(!1),ve.phase==="DRAGGING"||ve.phase==="DROP_PENDING"||jt(!1);var je=ve.critical,et=ve.dimensions,Xe=et.draggables[ve.critical.draggable.id],He=pl({reason:Se,lastImpact:ve.impact,afterCritical:ve.afterCritical,onLiftImpact:ve.onLiftImpact,home:ve.dimensions.droppables[ve.critical.droppable.id],viewport:ve.viewport,draggables:ve.dimensions.draggables}),Ue=He.impact,ct=He.didDropInsideDroppable,Kt=ct?Qo(Ue):null,da=ct?Vo(Ue):null,Ba={index:je.draggable.index,droppableId:je.droppable.id},Na={draggableId:Xe.descriptor.id,type:Xe.descriptor.type,source:Ba,reason:Se,mode:ve.movementMode,destination:Kt,combine:da},tr=Yo({impact:Ue,draggable:Xe,dimensions:et,viewport:ve.viewport,afterCritical:ve.afterCritical}),fr={critical:ve.critical,afterCritical:ve.afterCritical,result:Na,impact:Ue},Pr=!Gr(ve.current.client.offset,tr)||!!Na.combine;if(!Pr){re(ln({completed:fr}));return}var io=Co({current:ve.current.client.offset,destination:tr,reason:Se}),eo={newHomeClientOffset:tr,dropDuration:io,completed:fr};re(yt(eo))}}}},El=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function nl(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||ee()}}}function Sl(ee){var ne=ee.onWindowScroll;function re(){ne(El())}var se=Kn(re),fe=nl(se),ve=Ia;function Se(){return ve!==Ia}function Fe(){Se()&&jt(!1),ve=Vt(window,[fe])}function je(){Se()||jt(!1),se.cancel(),ve(),ve=Ia}return{start:Fe,stop:je,isActive:Se}}var fo=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Uo=function(ee){var ne=Sl({onWindowScroll:function(se){ee.dispatch(zt({newScroll:se}))}});return function(re){return function(se){!ne.isActive()&&se.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&fo(se)&&ne.stop(),re(se)}}},Xr=function(ee){var ne=!1,re=!1,se=setTimeout(function(){re=!0}),fe=function(Se){ne||re||(ne=!0,ee(Se),clearTimeout(se))};return fe.wasCalled=function(){return ne},fe},Ol=function(){var ee=[],ne=function(ve){var Se=to(ee,function(et){return et.timerId===ve});Se===-1&&jt(!1);var Fe=ee.splice(Se,1),je=Fe[0];je.callback()},re=function(ve){var Se=setTimeout(function(){return ne(Se)}),Fe={timerId:Se,callback:ve};ee.push(Fe)},se=function(){if(ee.length){var ve=[].concat(ee);ee.length=0,ve.forEach(function(Se){clearTimeout(Se.timerId),Se.callback()})}};return{add:re,flush:se}},al=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.droppableId===re.droppableId&&ne.index===re.index},Gl=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.draggableId===re.draggableId&&ne.droppableId===re.droppableId},_l=function(ne,re){if(ne===re)return!0;var se=ne.draggable.id===re.draggable.id&&ne.draggable.droppableId===re.draggable.droppableId&&ne.draggable.type===re.draggable.type&&ne.draggable.index===re.draggable.index,fe=ne.droppable.id===re.droppable.id&&ne.droppable.type===re.droppable.type;return se&&fe},zr=function(ne,re){Ni(),re(),oa()},$o=function(ne,re){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:re}},el=function(ne,re,se,fe){if(!ne){se(fe(re));return}var ve=Xr(se),Se={announce:ve};ne(re,Se),ve.wasCalled()||se(fe(re))},Fl=function(ee,ne){var re=Ol(),se=null,fe=function(Ue,ct){se&&jt(!1),zr("onBeforeCapture",function(){var Kt=ee().onBeforeCapture;if(Kt){var da={draggableId:Ue,mode:ct};Kt(da)}})},ve=function(Ue,ct){se&&jt(!1),zr("onBeforeDragStart",function(){var Kt=ee().onBeforeDragStart;Kt&&Kt($o(Ue,ct))})},Se=function(Ue,ct){se&&jt(!1);var Kt=$o(Ue,ct);se={mode:ct,lastCritical:Ue,lastLocation:Kt.source,lastCombine:null},re.add(function(){zr("onDragStart",function(){return el(ee().onDragStart,Kt,ne,na.onDragStart)})})},Fe=function(Ue,ct){var Kt=Qo(ct),da=Vo(ct);se||jt(!1);var Ba=!_l(Ue,se.lastCritical);Ba&&(se.lastCritical=Ue);var Na=!al(se.lastLocation,Kt);Na&&(se.lastLocation=Kt);var tr=!Gl(se.lastCombine,da);if(tr&&(se.lastCombine=da),!(!Ba&&!Na&&!tr)){var fr=(0,Be.Z)({},$o(Ue,se.mode),{combine:da,destination:Kt});re.add(function(){zr("onDragUpdate",function(){return el(ee().onDragUpdate,fr,ne,na.onDragUpdate)})})}},je=function(){se||jt(!1),re.flush()},et=function(Ue){se||jt(!1),se=null,zr("onDragEnd",function(){return el(ee().onDragEnd,Ue,ne,na.onDragEnd)})},Xe=function(){if(se){var Ue=(0,Be.Z)({},$o(se.lastCritical,se.mode),{combine:null,destination:null,reason:"CANCEL"});et(Ue)}};return{beforeCapture:fe,beforeStart:ve,start:Se,update:Fe,flush:je,drop:et,abort:Xe}},Ll=function(ee,ne){var re=Fl(ee,ne);return function(se){return function(fe){return function(ve){if(ve.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(ve.payload.draggableId,ve.payload.movementMode);return}if(ve.type==="INITIAL_PUBLISH"){var Se=ve.payload.critical;re.beforeStart(Se,ve.payload.movementMode),fe(ve),re.start(Se,ve.payload.movementMode);return}if(ve.type==="DROP_COMPLETE"){var Fe=ve.payload.completed.result;re.flush(),fe(ve),re.drop(Fe);return}if(fe(ve),ve.type==="FLUSH"){re.abort();return}var je=se.getState();je.phase==="DRAGGING"&&re.update(je.critical,je.impact)}}}},Da=function(ee){return function(ne){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ne(re);return}var se=ee.getState();se.phase!=="DROP_ANIMATING"&&jt(!1),ee.dispatch(ln({completed:se.completed}))}}},Pl=function(ee){var ne=null,re=null;function se(){re&&(cancelAnimationFrame(re),re=null),ne&&(ne(),ne=null)}return function(fe){return function(ve){if((ve.type==="FLUSH"||ve.type==="DROP_COMPLETE"||ve.type==="DROP_ANIMATION_FINISHED")&&se(),fe(ve),ve.type==="DROP_ANIMATE"){var Se={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var je=ee.getState();je.phase==="DROP_ANIMATING"&&ee.dispatch(xa())}};re=requestAnimationFrame(function(){re=null,ne=Vt(window,[Se])})}}}},di=function(ee){return function(){return function(ne){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(re)}}}},ai=function(ee){var ne=!1;return function(){return function(re){return function(se){if(se.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(se.payload.critical.draggable.id),re(se),ee.tryRestoreFocusRecorded();return}if(re(se),!!ne){if(se.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(se.type==="DROP_COMPLETE"){ne=!1;var fe=se.payload.completed.result;fe.combine&&ee.tryShiftRecord(fe.draggableId,fe.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},bl=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},yi=function(ee){return function(ne){return function(re){return function(se){if(bl(se)){ee.stop(),re(se);return}if(se.type==="INITIAL_PUBLISH"){re(se);var fe=ne.getState();fe.phase!=="DRAGGING"&&jt(!1),ee.start(fe);return}re(se),ee.scroll(ne.getState())}}}},Zi=function(ee){return function(ne){return function(re){if(ne(re),re.type==="PUBLISH_WHILE_DRAGGING"){var se=ee.getState();se.phase==="DROP_PENDING"&&(se.isWaiting||ee.dispatch(zn({reason:se.reason})))}}}},Oi=Te.qC,rl=function(ee){var ne=ee.dimensionMarshal,re=ee.focusMarshal,se=ee.styleMarshal,fe=ee.getResponders,ve=ee.announce,Se=ee.autoScroller;return(0,Te.MT)(ts,Oi((0,Te.md)(ca(se),di(ne),Qa(ne),il,Da,Pl,Zi,yi(Se),Uo,ai(re),Ll(fe,ve))))},Tl=function(){return{additions:{},removals:{},modified:{}}};function Ql(ee){var ne=ee.registry,re=ee.callbacks,se=Tl(),fe=null,ve=function(){fe||(re.collectionStarting(),fe=requestAnimationFrame(function(){fe=null,Ni();var Xe=se,He=Xe.additions,Ue=Xe.removals,ct=Xe.modified,Kt=Object.keys(He).map(function(Na){return ne.draggable.getById(Na).getDimension(wt)}).sort(function(Na,tr){return Na.descriptor.index-tr.descriptor.index}),da=Object.keys(ct).map(function(Na){var tr=ne.droppable.getById(Na),fr=tr.callbacks.getScrollWhileDragging();return{droppableId:Na,scroll:fr}}),Ba={additions:Kt,removals:Object.keys(Ue),modified:da};se=Tl(),oa(),re.publish(Ba)}))},Se=function(Xe){var He=Xe.descriptor.id;se.additions[He]=Xe,se.modified[Xe.descriptor.droppableId]=!0,se.removals[He]&&delete se.removals[He],ve()},Fe=function(Xe){var He=Xe.descriptor;se.removals[He.id]=!0,se.modified[He.droppableId]=!0,se.additions[He.id]&&delete se.additions[He.id],ve()},je=function(){fe&&(cancelAnimationFrame(fe),fe=null,se=Tl())};return{add:Se,remove:Fe,stop:je}}var ri=function(ee){var ne=ee.scrollHeight,re=ee.scrollWidth,se=ee.height,fe=ee.width,ve=Zr({x:re,y:ne},{x:fe,y:se}),Se={x:Math.max(0,ve.x),y:Math.max(0,ve.y)};return Se},fi=function(){var ee=document.documentElement;return ee||jt(!1),ee},Ul=function(){var ee=fi(),ne=ri({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},ce=function(){var ee=El(),ne=Ul(),re=ee.y,se=ee.x,fe=fi(),ve=fe.clientWidth,Se=fe.clientHeight,Fe=se+ve,je=re+Se,et=ya({top:re,left:se,right:Fe,bottom:je}),Xe={frame:et,scroll:{initial:ee,current:ee,max:ne,diff:{value:wt,displacement:wt}}};return Xe},Pe=function(ee){var ne=ee.critical,re=ee.scrollOptions,se=ee.registry;Ni();var fe=ce(),ve=fe.scroll.current,Se=ne.droppable,Fe=se.droppable.getAllByType(Se.type).map(function(He){return He.callbacks.getDimensionAndWatchScroll(ve,re)}),je=se.draggable.getAllByType(ne.draggable.type).map(function(He){return He.getDimension(ve)}),et={draggables:Vr(je),droppables:Cr(Fe)};oa();var Xe={dimensions:et,critical:ne,viewport:fe};return Xe};function ye(ee,ne,re){if(re.descriptor.id===ne.id||re.descriptor.type!==ne.type)return!1;var se=ee.droppable.getById(re.descriptor.droppableId);return se.descriptor.mode==="virtual"}var pt=function(ee,ne){var re=null,se=Ql({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),fe=function(ct,Kt){ee.droppable.exists(ct)||jt(!1),re&&ne.updateDroppableIsEnabled({id:ct,isEnabled:Kt})},ve=function(ct,Kt){re&&(ee.droppable.exists(ct)||jt(!1),ne.updateDroppableIsCombineEnabled({id:ct,isCombineEnabled:Kt}))},Se=function(ct,Kt){re&&(ee.droppable.exists(ct)||jt(!1),ne.updateDroppableScroll({id:ct,newScroll:Kt}))},Fe=function(ct,Kt){re&&ee.droppable.getById(ct).callbacks.scroll(Kt)},je=function(){if(re){se.stop();var ct=re.critical.droppable;ee.droppable.getAllByType(ct.type).forEach(function(Kt){return Kt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},et=function(ct){re||jt(!1);var Kt=re.critical.draggable;ct.type==="ADDITION"&&ye(ee,Kt,ct.value)&&se.add(ct.value),ct.type==="REMOVAL"&&ye(ee,Kt,ct.value)&&se.remove(ct.value)},Xe=function(ct){re&&jt(!1);var Kt=ee.draggable.getById(ct.draggableId),da=ee.droppable.getById(Kt.descriptor.droppableId),Ba={draggable:Kt.descriptor,droppable:da.descriptor},Na=ee.subscribe(et);return re={critical:Ba,unsubscribe:Na},Pe({critical:Ba,registry:ee,scrollOptions:ct.scrollOptions})},He={updateDroppableIsEnabled:fe,updateDroppableIsCombineEnabled:ve,scrollDroppable:Fe,updateDroppableScroll:Se,startPublishing:Xe,stopPublishing:je};return He},Zt=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},Yn=function(ee){window.scrollBy(ee.x,ee.y)},Cn=tn(function(ee){return Mo(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),qt=function(ne,re){var se=Kr(Cn(re),function(fe){return fe.frame||jt(!1),lu(fe.frame.pageMarginBox)(ne)});return se},ht=function(ee){var ne=ee.center,re=ee.destination,se=ee.droppables;if(re){var fe=se[re];return fe.frame?fe:null}var ve=qt(ne,se);return ve},rn={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},An=function(ee,ne){var re=ee[ne.size]*rn.startFromPercentage,se=ee[ne.size]*rn.maxScrollAtPercentage,fe={startScrollingFrom:re,maxScrollValueAt:se};return fe},mn=function(ee){var ne=ee.startOfRange,re=ee.endOfRange,se=ee.current,fe=re-ne;if(fe===0)return 0;var ve=se-ne,Se=ve/fe;return Se},Lt=1,Xt=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return rn.maxPixelScroll;if(ee===ne.startScrollingFrom)return Lt;var re=mn({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),se=1-re,fe=rn.maxPixelScroll*rn.ease(se);return Math.ceil(fe)},Dn=rn.durationDampening.accelerateAt,bn=rn.durationDampening.stopDampeningAt,Vn=function(ee,ne){var re=ne,se=bn,fe=Date.now(),ve=fe-re;if(ve>=bn)return ee;if(vene.height,ve=re.width>ne.width;return!ve&&!fe?se:ve&&fe?null:{x:ve?0:se.x,y:fe?0:se.y}},Bn=Xn(function(ee){return ee===0?0:ee}),Rt=function(ee){var ne=ee.dragStartTime,re=ee.container,se=ee.subject,fe=ee.center,ve=ee.shouldUseTimeDampening,Se={top:fe.y-re.top,right:re.right-fe.x,bottom:re.bottom-fe.y,left:fe.x-re.left},Fe=Gn({container:re,distanceToEdges:Se,dragStartTime:ne,axis:aa,shouldUseTimeDampening:ve}),je=Gn({container:re,distanceToEdges:Se,dragStartTime:ne,axis:Pn,shouldUseTimeDampening:ve}),et=Bn({x:je,y:Fe});if(Gr(et,wt))return null;var Xe=rr({container:re,subject:se,proposedScroll:et});return Xe?Gr(Xe,wt)?null:Xe:null},Un=Xn(function(ee){return ee===0?0:ee>0?1:-1}),Ya=function(){var ee=function(re,se){return re<0?re:re>se?re-se:0};return function(ne){var re=ne.current,se=ne.max,fe=ne.change,ve=pr(re,fe),Se={x:ee(ve.x,se.x),y:ee(ve.y,se.y)};return Gr(Se,wt)?null:Se}}(),ja=function(ne){var re=ne.max,se=ne.current,fe=ne.change,ve={x:Math.max(se.x,re.x),y:Math.max(se.y,re.y)},Se=Un(fe),Fe=Ya({max:ve,current:se,change:Se});return!Fe||Se.x!==0&&Fe.x===0||Se.y!==0&&Fe.y===0},ao=function(ne,re){return ja({current:ne.scroll.current,max:ne.scroll.max,change:re})},va=function(ne,re){if(!ao(ne,re))return null;var se=ne.scroll.max,fe=ne.scroll.current;return Ya({current:fe,max:se,change:re})},Ur=function(ne,re){var se=ne.frame;return se?ja({current:se.scroll.current,max:se.scroll.max,change:re}):!1},_r=function(ne,re){var se=ne.frame;return!se||!Ur(ne,re)?null:Ya({current:se.scroll.current,max:se.scroll.max,change:re})},Lo=function(ee){var ne=ee.viewport,re=ee.subject,se=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,Se=Rt({dragStartTime:fe,container:ne.frame,subject:re,center:se,shouldUseTimeDampening:ve});return Se&&ao(ne,Se)?Se:null},oo=function(ee){var ne=ee.droppable,re=ee.subject,se=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,Se=ne.frame;if(!Se)return null;var Fe=Rt({dragStartTime:fe,container:Se.pageMarginBox,subject:re,center:se,shouldUseTimeDampening:ve});return Fe&&Ur(ne,Fe)?Fe:null},or=function(ee){var ne=ee.state,re=ee.dragStartTime,se=ee.shouldUseTimeDampening,fe=ee.scrollWindow,ve=ee.scrollDroppable,Se=ne.current.page.borderBoxCenter,Fe=ne.dimensions.draggables[ne.critical.draggable.id],je=Fe.page.marginBox;if(ne.isWindowScrollAllowed){var et=ne.viewport,Xe=Lo({dragStartTime:re,viewport:et,subject:je,center:Se,shouldUseTimeDampening:se});if(Xe){fe(Xe);return}}var He=ht({center:Se,destination:sl(ne.impact),droppables:ne.dimensions.droppables});if(He){var Ue=oo({dragStartTime:re,droppable:He,subject:je,center:Se,shouldUseTimeDampening:se});Ue&&ve(He.descriptor.id,Ue)}},_o=function(ee){var ne=ee.scrollWindow,re=ee.scrollDroppable,se=Kn(ne),fe=Kn(re),ve=null,Se=function(Xe){ve||jt(!1);var He=ve,Ue=He.shouldUseTimeDampening,ct=He.dragStartTime;or({state:Xe,scrollWindow:se,scrollDroppable:fe,dragStartTime:ct,shouldUseTimeDampening:Ue})},Fe=function(Xe){Ni(),ve&&jt(!1);var He=Date.now(),Ue=!1,ct=function(){Ue=!0};or({state:Xe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:ct,scrollDroppable:ct}),ve={dragStartTime:He,shouldUseTimeDampening:Ue},oa(),Ue&&Se(Xe)},je=function(){ve&&(se.cancel(),fe.cancel(),ve=null)};return{start:Fe,stop:je,scroll:Se}},ba=function(ee){var ne=ee.move,re=ee.scrollDroppable,se=ee.scrollWindow,fe=function(et,Xe){var He=pr(et.current.client.selection,Xe);ne({client:He})},ve=function(et,Xe){if(!Ur(et,Xe))return Xe;var He=_r(et,Xe);if(!He)return re(et.descriptor.id,Xe),null;var Ue=Zr(Xe,He);re(et.descriptor.id,Ue);var ct=Zr(Xe,Ue);return ct},Se=function(et,Xe,He){if(!et||!ao(Xe,He))return He;var Ue=va(Xe,He);if(!Ue)return se(He),null;var ct=Zr(He,Ue);se(ct);var Kt=Zr(He,ct);return Kt},Fe=function(et){var Xe=et.scrollJumpRequest;if(Xe){var He=sl(et.impact);He||jt(!1);var Ue=ve(et.dimensions.droppables[He],Xe);if(Ue){var ct=et.viewport,Kt=Se(et.isWindowScrollAllowed,ct,Ue);Kt&&fe(et,Kt)}}};return Fe},Or=function(ee){var ne=ee.scrollDroppable,re=ee.scrollWindow,se=ee.move,fe=_o({scrollWindow:re,scrollDroppable:ne}),ve=ba({move:se,scrollWindow:re,scrollDroppable:ne}),Se=function(et){if(et.phase==="DRAGGING"){if(et.movementMode==="FLUID"){fe.scroll(et);return}et.scrollJumpRequest&&ve(et)}},Fe={scroll:Se,start:fe.start,stop:fe.stop};return Fe},ul="data-rbd",Wo=function(){var ee=ul+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),Rn=function(){var ee=ul+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),ml=function(){var ee=ul+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),kl={contextId:ul+"-scroll-container-context-id"},Nl=function(ne){return function(re){return"["+re+'="'+ne+'"]'}},Bl=function(ne,re){return ne.map(function(se){var fe=se.styles[re];return fe?se.selector+" { "+fe+" }":""}).join(" ")},yo="pointer-events: none;",er=function(ee){var ne=Nl(ee),re=function(){var Fe=` + `+pr(ne.source)+` + `},ga={dragHandleUsageInstructions:Qr,onDragStart:wr,onDragUpdate:Hr,onDragEnd:yr},Qt={x:0,y:0},hr=function(ne,re){return{x:ne.x+re.x,y:ne.y+re.y}},Ur=function(ne,re){return{x:ne.x-re.x,y:ne.y-re.y}},Yr=function(ne,re){return ne.x===re.x&&ne.y===re.y},sr=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},Dn=function(ne,re,de){var fe;return de===void 0&&(de=0),fe={},fe[ne]=re,fe[ne==="x"?"y":"x"]=de,fe},ma=function(ne,re){return Math.sqrt(Math.pow(re.x-ne.x,2)+Math.pow(re.y-ne.y,2))},na=function(ne,re){return Math.min.apply(Math,re.map(function(de){return ma(ne,de)}))},Yn=function(ne){return function(re){return{x:ne(re.x),y:ne(re.y)}}},dr=function(ee,ne){var re=Aa({top:Math.max(ne.top,ee.top),right:Math.min(ne.right,ee.right),bottom:Math.min(ne.bottom,ee.bottom),left:Math.max(ne.left,ee.left)});return re.width<=0||re.height<=0?null:re},Lr=function(ne,re){return{top:ne.top+re.y,left:ne.left+re.x,bottom:ne.bottom+re.y,right:ne.right+re.x}},jr=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},Br={top:0,right:0,bottom:0,left:0},nr=function(ne,re){return re?Lr(ne,re.scroll.diff.displacement):ne},wo=function(ne,re,de){if(de&&de.increasedBy){var fe;return(0,Fe.Z)({},ne,(fe={},fe[re.end]=ne[re.end]+de.increasedBy[re.line],fe))}return ne},Co=function(ne,re){return re&&re.shouldClipSubject?dr(re.pageMarginBox,ne):Aa(ne)},Sl=function(ee){var ne=ee.page,re=ee.withPlaceholder,de=ee.axis,fe=ee.frame,ve=nr(ne.marginBox,fe),Ae=wo(ve,de,re),ye=Co(Ae,fe);return{page:ne,withPlaceholder:re,active:ye}},Kr=function(ee,ne){ee.frame||Mt(!1);var re=ee.frame,de=Ur(ne,re.scroll.initial),fe=sr(de),ve=(0,Fe.Z)({},re,{scroll:{initial:re.scroll.initial,current:ne,diff:{value:de,displacement:fe},max:re.scroll.max}}),Ae=Sl({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:ve}),ye=(0,Fe.Z)({},ee,{frame:ve,subject:Ae});return ye};function Mr(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function ho(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function co(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var re=0;reee.bottom,$e=de.leftee.right,_e=je&&$e;if(_e)return!0;var Ge=je&&Ae||$e&&ve;return Ge}},Kn=function(ee){var ne=vn(ee.top,ee.bottom),re=vn(ee.left,ee.right);return function(de){var fe=ne(de.top)&&ne(de.bottom)&&re(de.left)&&re(de.right);return fe}},qn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},An={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Mn=function(ee){return function(ne){var re=vn(ne.top,ne.bottom),de=vn(ne.left,ne.right);return function(fe){return ee===qn?re(fe.top)&&re(fe.bottom):de(fe.left)&&de(fe.right)}}},Ua=function(ne,re){var de=re.frame?re.frame.scroll.diff.displacement:Qt;return Lr(ne,de)},Hn=function(ne,re,de){return re.subject.active?de(re.subject.active)(ne):!1},nn=function(ne,re,de){return de(re)(ne)},Ut=function(ne){var re=ne.target,de=ne.destination,fe=ne.viewport,ve=ne.withDroppableDisplacement,Ae=ne.isVisibleThroughFrameFn,ye=ve?Ua(re,de):re;return Hn(ye,de,Ae)&&nn(ye,fe,Ae)},xn=function(ne){return Ut((0,Fe.Z)({},ne,{isVisibleThroughFrameFn:bt}))},Ma=function(ne){return Ut((0,Fe.Z)({},ne,{isVisibleThroughFrameFn:Kn}))},Nr=function(ne){return Ut((0,Fe.Z)({},ne,{isVisibleThroughFrameFn:Mn(ne.destination.axis)}))},mo=function(ne,re,de){if(typeof de=="boolean")return de;if(!re)return!0;var fe=re.invisible,ve=re.visible;if(fe[ne])return!1;var Ae=ve[ne];return Ae?Ae.shouldAnimate:!0};function xo(ee,ne){var re=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return Aa(er(re,de))}function _o(ee){var ne=ee.afterDragging,re=ee.destination,de=ee.displacedBy,fe=ee.viewport,ve=ee.forceShouldAnimate,Ae=ee.last;return ne.reduce(function(je,$e){var _e=xo($e,de),Ge=$e.descriptor.id;je.all.push(Ge);var Ve=xn({target:_e,destination:re,viewport:fe,withDroppableDisplacement:!0});if(!Ve)return je.invisible[$e.descriptor.id]=!0,je;var dt=mo(Ge,Ae,ve),zt={draggableId:Ge,shouldAnimate:dt};return je.visible[Ge]=zt,je},{all:[],visible:{},invisible:{}})}function Jo(ee,ne){if(!ee.length)return 0;var re=ee[ee.length-1].descriptor.index;return ne.inHomeList?re:re+1}function Nl(ee){var ne=ee.insideDestination,re=ee.inHomeList,de=ee.displacedBy,fe=ee.destination,ve=Jo(ne,{inHomeList:re});return{displaced:Bt,displacedBy:de,at:{type:"REORDER",destination:{droppableId:fe.descriptor.id,index:ve}}}}function gl(ee){var ne=ee.draggable,re=ee.insideDestination,de=ee.destination,fe=ee.viewport,ve=ee.displacedBy,Ae=ee.last,ye=ee.index,je=ee.forceShouldAnimate,$e=Ko(ne,de);if(ye==null)return Nl({insideDestination:re,inHomeList:$e,displacedBy:ve,destination:de});var _e=ro(re,function(oa){return oa.descriptor.index===ye});if(!_e)return Nl({insideDestination:re,inHomeList:$e,displacedBy:ve,destination:de});var Ge=cl(ne,re),Ve=re.indexOf(_e),dt=Ge.slice(Ve),zt=_o({afterDragging:dt,destination:de,displacedBy:ve,last:Ae,viewport:fe.frame,forceShouldAnimate:je});return{displaced:zt,displacedBy:ve,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:ye}}}}function Il(ee,ne){return!!ne.effected[ee]}var Tl=function(ee){var ne=ee.isMovingForward,re=ee.destination,de=ee.draggables,fe=ee.combine,ve=ee.afterCritical;if(!re.isCombineEnabled)return null;var Ae=fe.draggableId,ye=de[Ae],je=ye.descriptor.index,$e=Il(Ae,ve);return $e?ne?je:je-1:ne?je+1:je},Li=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.insideDestination,fe=ee.location;if(!de.length)return null;var ve=fe.index,Ae=ne?ve+1:ve-1,ye=de[0].descriptor.index,je=de[de.length-1].descriptor.index,$e=re?je:je+1;return Ae$e?null:Ae},Eo=function(ee){var ne=ee.isMovingForward,re=ee.isInHomeList,de=ee.draggable,fe=ee.draggables,ve=ee.destination,Ae=ee.insideDestination,ye=ee.previousImpact,je=ee.viewport,$e=ee.afterCritical,_e=ye.at;if(_e||Mt(!1),_e.type==="REORDER"){var Ge=Li({isMovingForward:ne,isInHomeList:re,location:_e.destination,insideDestination:Ae});return Ge==null?null:gl({draggable:de,insideDestination:Ae,destination:ve,viewport:je,last:ye.displaced,displacedBy:ye.displacedBy,index:Ge})}var Ve=Tl({isMovingForward:ne,destination:ve,displaced:ye.displaced,draggables:fe,combine:_e.combine,afterCritical:$e});return Ve==null?null:gl({draggable:de,insideDestination:Ae,destination:ve,viewport:je,last:ye.displaced,displacedBy:ye.displacedBy,index:Ve})},ar=function(ee){var ne=ee.displaced,re=ee.afterCritical,de=ee.combineWith,fe=ee.displacedBy,ve=!!(ne.visible[de]||ne.invisible[de]);return Il(de,re)?ve?Qt:sr(fe.point):ve?fe.point:Qt},St=function(ee){var ne=ee.afterCritical,re=ee.impact,de=ee.draggables,fe=el(re);fe||Mt(!1);var ve=fe.draggableId,Ae=de[ve].page.borderBox.center,ye=ar({displaced:re.displaced,afterCritical:ne,combineWith:ve,displacedBy:re.displacedBy});return hr(Ae,ye)},ut=function(ne,re){return re.margin[ne.start]+re.borderBox[ne.size]/2},wt=function(ne,re){return re.margin[ne.end]+re.borderBox[ne.size]/2},bn=function(ne,re,de){return re[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},ca=function(ne){var re=ne.axis,de=ne.moveRelativeTo,fe=ne.isMoving;return Dn(re.line,de.marginBox[re.end]+ut(re,fe),bn(re,de.marginBox,fe))},wa=function(ne){var re=ne.axis,de=ne.moveRelativeTo,fe=ne.isMoving;return Dn(re.line,de.marginBox[re.start]-wt(re,fe),bn(re,de.marginBox,fe))},on=function(ne){var re=ne.axis,de=ne.moveInto,fe=ne.isMoving;return Dn(re.line,de.contentBox[re.start]+ut(re,fe),bn(re,de.contentBox,fe))},Da=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.draggables,fe=ee.droppable,ve=ee.afterCritical,Ae=Ja(fe.descriptor.id,de),ye=re.page,je=fe.axis;if(!Ae.length)return on({axis:je,moveInto:fe.page,isMoving:ye});var $e=ne.displaced,_e=ne.displacedBy,Ge=$e.all[0];if(Ge){var Ve=de[Ge];if(Il(Ge,ve))return wa({axis:je,moveRelativeTo:Ve.page,isMoving:ye});var dt=Wr(Ve.page,_e.point);return wa({axis:je,moveRelativeTo:dt,isMoving:ye})}var zt=Ae[Ae.length-1];if(zt.descriptor.id===re.descriptor.id)return ye.borderBox.center;if(Il(zt.descriptor.id,ve)){var oa=Wr(zt.page,sr(ve.displacedBy.point));return ca({axis:je,moveRelativeTo:oa,isMoving:ye})}return ca({axis:je,moveRelativeTo:zt.page,isMoving:ye})},Xa=function(ee,ne){var re=ee.frame;return re?hr(ne,re.scroll.diff.displacement):ne},Fr=function(ne){var re=ne.impact,de=ne.draggable,fe=ne.droppable,ve=ne.draggables,Ae=ne.afterCritical,ye=de.page.borderBox.center,je=re.at;return!fe||!je?ye:je.type==="REORDER"?Da({impact:re,draggable:de,draggables:ve,droppable:fe,afterCritical:Ae}):St({impact:re,draggables:ve,afterCritical:Ae})},Ha=function(ee){var ne=Fr(ee),re=ee.droppable,de=re?Xa(re,ne):ne;return de},$n=function(ee,ne){var re=Ur(ne,ee.scroll.initial),de=sr(re),fe=Aa({top:ne.y,bottom:ne.y+ee.frame.height,left:ne.x,right:ne.x+ee.frame.width}),ve={frame:fe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ne,diff:{value:re,displacement:de}}};return ve};function Ir(ee,ne){return ee.map(function(re){return ne[re]})}function zr(ee,ne){for(var re=0;re1?_e.sort(function(Ge,Ve){return yo(Ge)[ye.start]-yo(Ve)[ye.start]})[0]:$e.sort(function(Ge,Ve){var dt=na(re,jr(yo(Ge))),zt=na(re,jr(yo(Ve)));return dt!==zt?dt-zt:yo(Ge)[ye.start]-yo(Ve)[ye.start]})[0]},$i=function(ne,re){var de=ne.page.borderBox.center;return Il(ne.descriptor.id,re)?Ur(de,re.displacedBy.point):de},Au=function(ne,re){var de=ne.page.borderBox;return Il(ne.descriptor.id,re)?Lr(de,sr(re.displacedBy.point)):de},eu=function(ee){var ne=ee.pageBorderBoxCenter,re=ee.viewport,de=ee.destination,fe=ee.insideDestination,ve=ee.afterCritical,Ae=fe.filter(function(ye){return Ma({target:Au(ye,ve),destination:de,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(ye,je){var $e=ma(ne,Xa(de,$i(ye,ve))),_e=ma(ne,Xa(de,$i(je,ve)));return $e<_e?-1:_e<$e?1:ye.descriptor.index-je.descriptor.index});return Ae[0]||null},Ti=rn(function(ne,re){var de=re[ne.line];return{value:de,point:Dn(ne.line,de)}}),vu=function(ne,re,de){var fe=ne.axis;if(ne.descriptor.mode==="virtual")return Dn(fe.line,re[fe.line]);var ve=ne.subject.page.contentBox[fe.size],Ae=Ja(ne.descriptor.id,de),ye=Ae.reduce(function(_e,Ge){return _e+Ge.client.marginBox[fe.size]},0),je=ye+re[fe.line],$e=je-ve;return $e<=0?null:Dn(fe.line,$e)},Iu=function(ne,re){return(0,Fe.Z)({},ne,{scroll:(0,Fe.Z)({},ne.scroll,{max:re})})},Ni=function(ne,re,de){var fe=ne.frame;Ko(re,ne)&&Mt(!1),ne.subject.withPlaceholder&&Mt(!1);var ve=Ti(ne.axis,re.displaceBy).point,Ae=vu(ne,ve,de),ye={placeholderSize:ve,increasedBy:Ae,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!fe){var je=Sl({page:ne.subject.page,withPlaceholder:ye,axis:ne.axis,frame:ne.frame});return(0,Fe.Z)({},ne,{subject:je})}var $e=Ae?hr(fe.scroll.max,Ae):fe.scroll.max,_e=Iu(fe,$e),Ge=Sl({page:ne.subject.page,withPlaceholder:ye,axis:ne.axis,frame:_e});return(0,Fe.Z)({},ne,{subject:Ge,frame:_e})},uu=function(ne){var re=ne.subject.withPlaceholder;re||Mt(!1);var de=ne.frame;if(!de){var fe=Sl({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return(0,Fe.Z)({},ne,{subject:fe})}var ve=re.oldFrameMaxScroll;ve||Mt(!1);var Ae=Iu(de,ve),ye=Sl({page:ne.subject.page,axis:ne.axis,frame:Ae,withPlaceholder:null});return(0,Fe.Z)({},ne,{subject:ye,frame:Ae})},Cl=function(ee){var ne=ee.previousPageBorderBoxCenter,re=ee.moveRelativeTo,de=ee.insideDestination,fe=ee.draggable,ve=ee.draggables,Ae=ee.destination,ye=ee.viewport,je=ee.afterCritical;if(!re){if(de.length)return null;var $e={displaced:Bt,displacedBy:he,at:{type:"REORDER",destination:{droppableId:Ae.descriptor.id,index:0}}},_e=Ha({impact:$e,draggable:fe,droppable:Ae,draggables:ve,afterCritical:je}),Ge=Ko(fe,Ae)?Ae:Ni(Ae,fe,ve),Ve=To({draggable:fe,destination:Ge,newPageBorderBoxCenter:_e,viewport:ye.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Ve?$e:null}var dt=ne[Ae.axis.line]<=re.page.borderBox.center[Ae.axis.line],zt=function(){var ha=re.descriptor.index;return re.descriptor.id===fe.descriptor.id||dt?ha:ha+1}(),oa=Ti(Ae.axis,fe.displaceBy);return gl({draggable:fe,insideDestination:de,destination:Ae,viewport:ye,displacedBy:oa,last:Bt,index:zt})},yu=function(ee){var ne=ee.isMovingForward,re=ee.previousPageBorderBoxCenter,de=ee.draggable,fe=ee.isOver,ve=ee.draggables,Ae=ee.droppables,ye=ee.viewport,je=ee.afterCritical,$e=Ul({isMovingForward:ne,pageBorderBoxCenter:re,source:fe,droppables:Ae,viewport:ye});if(!$e)return null;var _e=Ja($e.descriptor.id,ve),Ge=eu({pageBorderBoxCenter:re,viewport:ye,destination:$e,insideDestination:_e,afterCritical:je}),Ve=Cl({previousPageBorderBoxCenter:re,destination:$e,draggable:de,draggables:ve,moveRelativeTo:Ge,insideDestination:_e,viewport:ye,afterCritical:je});if(!Ve)return null;var dt=Ha({impact:Ve,draggable:de,droppable:$e,draggables:ve,afterCritical:je}),zt=Jn({pageBorderBoxCenter:dt,draggable:de,viewport:ye});return{clientSelection:zt,impact:Ve,scrollJumpRequest:null}},bl=function(ee){var ne=ee.at;return ne?ne.type==="REORDER"?ne.destination.droppableId:ne.combine.droppableId:null},gi=function(ne,re){var de=bl(ne);return de?re[de]:null},tu=function(ee){var ne=ee.state,re=ee.type,de=gi(ne.impact,ne.dimensions.droppables),fe=!!de,ve=ne.dimensions.droppables[ne.critical.droppable.id],Ae=de||ve,ye=Ae.axis.direction,je=ye==="vertical"&&(re==="MOVE_UP"||re==="MOVE_DOWN")||ye==="horizontal"&&(re==="MOVE_LEFT"||re==="MOVE_RIGHT");if(je&&!fe)return null;var $e=re==="MOVE_DOWN"||re==="MOVE_RIGHT",_e=ne.dimensions.draggables[ne.critical.draggable.id],Ge=ne.current.page.borderBoxCenter,Ve=ne.dimensions,dt=Ve.draggables,zt=Ve.droppables;return je?No({isMovingForward:$e,previousPageBorderBoxCenter:Ge,draggable:_e,destination:Ae,draggables:dt,viewport:ne.viewport,previousClientSelection:ne.current.client.selection,previousImpact:ne.impact,afterCritical:ne.afterCritical}):yu({isMovingForward:$e,previousPageBorderBoxCenter:Ge,draggable:_e,isOver:Ae,draggables:dt,droppables:zt,viewport:ne.viewport,afterCritical:ne.afterCritical})};function Ki(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Mu(ee){var ne=vn(ee.top,ee.bottom),re=vn(ee.left,ee.right);return function(fe){return ne(fe.y)&&re(fe.x)}}function ki(ee,ne){return ee.leftne.left&&ee.topne.top}function Fi(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.candidates,fe=re.page.borderBox.center,ve=de.map(function(Ae){var ye=Ae.axis,je=Dn(Ae.axis.line,ne.center[ye.line],Ae.page.borderBox.center[ye.crossAxisLine]);return{id:Ae.descriptor.id,distance:ma(fe,je)}}).sort(function(Ae,ye){return ye.distance-Ae.distance});return ve[0]?ve[0].id:null}function ji(ee){var ne=ee.pageBorderBox,re=ee.draggable,de=ee.droppables,fe=Qo(de).filter(function(ve){if(!ve.isEnabled)return!1;var Ae=ve.subject.active;if(!Ae||!ki(ne,Ae))return!1;if(Mu(Ae)(ne.center))return!0;var ye=ve.axis,je=Ae.center[ye.crossAxisLine],$e=ne[ye.crossAxisStart],_e=ne[ye.crossAxisEnd],Ge=vn(Ae[ye.crossAxisStart],Ae[ye.crossAxisEnd]),Ve=Ge($e),dt=Ge(_e);return!Ve&&!dt?!0:Ve?$eje});return fe.length?fe.length===1?fe[0].descriptor.id:Fi({pageBorderBox:ne,draggable:re,candidates:fe}):null}var Yu=function(ne,re){return Aa(Lr(ne,re))},Ku=function(ee,ne){var re=ee.frame;return re?Yu(ne,re.scroll.diff.value):ne};function _u(ee){var ne=ee.displaced,re=ee.id;return!!(ne.visible[re]||ne.invisible[re])}function vl(ee){var ne=ee.draggable,re=ee.closest,de=ee.inHomeList;return re?de&&re.descriptor.index>ne.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var ls=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,re=ee.draggable,de=ee.destination,fe=ee.insideDestination,ve=ee.last,Ae=ee.viewport,ye=ee.afterCritical,je=de.axis,$e=Ti(de.axis,re.displaceBy),_e=$e.value,Ge=ne[je.start],Ve=ne[je.end],dt=cl(re,fe),zt=ro(dt,function(ha){var Pa=ha.descriptor.id,Wa=ha.page.borderBox.center[je.line],ur=Il(Pa,ye),mr=_u({displaced:ve,id:Pa});return ur?mr?Ve<=Wa:GePa[ye.start]+ur&&GePa[ye.start]-$e+ur&&_ePa[ye.start]+$e+ur&&GePa[ye.start]+ur&&_e=Vo)return vo;var ve=fe/Vo,Ae=Ro+So*ve,ye=de==="CANCEL"?Ae*tl:Ae;return Number(ye.toFixed(2))},xr=function(ee){var ne=ee.impact,re=ee.draggable,de=ee.dimensions,fe=ee.viewport,ve=ee.afterCritical,Ae=de.draggables,ye=de.droppables,je=bl(ne),$e=je?ye[je]:null,_e=ye[re.descriptor.droppableId],Ge=Xu({impact:ne,draggable:re,draggables:Ae,afterCritical:ve,droppable:$e||_e,viewport:fe}),Ve=Ur(Ge,re.client.borderBox.center);return Ve},ll=function(ee){var ne=ee.draggables,re=ee.reason,de=ee.lastImpact,fe=ee.home,ve=ee.viewport,Ae=ee.onLiftImpact;if(!de.at||re!=="DROP"){var ye=Fu({draggables:ne,impact:Ae,destination:fe,viewport:ve,forceShouldAnimate:!0});return{impact:ye,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var je=(0,Fe.Z)({},de,{displaced:Bt});return{impact:je,didDropInsideDroppable:!0}},nl=function(ee){var ne=ee.getState,re=ee.dispatch;return function(de){return function(fe){if(fe.type!=="DROP"){de(fe);return}var ve=ne(),Ae=fe.payload.reason;if(ve.phase==="COLLECTING"){re(cn({reason:Ae}));return}if(ve.phase!=="IDLE"){var ye=ve.phase==="DROP_PENDING"&&ve.isWaiting;ye&&Mt(!1),ve.phase==="DRAGGING"||ve.phase==="DROP_PENDING"||Mt(!1);var je=ve.critical,$e=ve.dimensions,_e=$e.draggables[ve.critical.draggable.id],Ge=ll({reason:Ae,lastImpact:ve.impact,afterCritical:ve.afterCritical,onLiftImpact:ve.onLiftImpact,home:ve.dimensions.droppables[ve.critical.droppable.id],viewport:ve.viewport,draggables:ve.dimensions.draggables}),Ve=Ge.impact,dt=Ge.didDropInsideDroppable,zt=dt?ol(Ve):null,oa=dt?el(Ve):null,ha={index:je.draggable.index,droppableId:je.droppable.id},Pa={draggableId:_e.descriptor.id,type:_e.descriptor.type,source:ha,reason:Ae,mode:ve.movementMode,destination:zt,combine:oa},Wa=xr({impact:Ve,draggable:_e,dimensions:$e,viewport:ve.viewport,afterCritical:ve.afterCritical}),ur={critical:ve.critical,afterCritical:ve.afterCritical,result:Pa,impact:Ve},mr=!Yr(ve.current.client.offset,Wa)||!!Pa.combine;if(!mr){re(Wt({completed:ur}));return}var po=Io({current:ve.current.client.offset,destination:Wa,reason:Ae}),uo={newHomeClientOffset:Wa,dropDuration:po,completed:ur};re(Dt(uo))}}}},kl=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Pl(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||ee()}}}function Hl(ee){var ne=ee.onWindowScroll;function re(){ne(kl())}var de=Vn(re),fe=Pl(de),ve=ba;function Ae(){return ve!==ba}function ye(){Ae()&&Mt(!1),ve=Gt(window,[fe])}function je(){Ae()||Mt(!1),de.cancel(),ve(),ve=ba}return{start:ye,stop:je,isActive:Ae}}var fo=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Bl=function(ee){var ne=Hl({onWindowScroll:function(de){ee.dispatch(Nt({newScroll:de}))}});return function(re){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&fo(de)&&ne.stop(),re(de)}}},jl=function(ee){var ne=!1,re=!1,de=setTimeout(function(){re=!0}),fe=function(Ae){ne||re||(ne=!0,ee(Ae),clearTimeout(de))};return fe.wasCalled=function(){return ne},fe},Xl=function(){var ee=[],ne=function(ve){var Ae=co(ee,function($e){return $e.timerId===ve});Ae===-1&&Mt(!1);var ye=ee.splice(Ae,1),je=ye[0];je.callback()},re=function(ve){var Ae=setTimeout(function(){return ne(Ae)}),ye={timerId:Ae,callback:ve};ee.push(ye)},de=function(){if(ee.length){var ve=[].concat(ee);ee.length=0,ve.forEach(function(Ae){clearTimeout(Ae.timerId),Ae.callback()})}};return{add:re,flush:de}},Ol=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.droppableId===re.droppableId&&ne.index===re.index},mi=function(ne,re){return ne==null&&re==null?!0:ne==null||re==null?!1:ne.draggableId===re.draggableId&&ne.droppableId===re.droppableId},bi=function(ne,re){if(ne===re)return!0;var de=ne.draggable.id===re.draggable.id&&ne.draggable.droppableId===re.draggable.droppableId&&ne.draggable.type===re.draggable.type&&ne.draggable.index===re.draggable.index,fe=ne.droppable.id===re.droppable.id&&ne.droppable.type===re.droppable.type;return de&&fe},Jr=function(ne,re){au(),re(),ea()},jo=function(ne,re){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:re}},Xo=function(ne,re,de,fe){if(!ne){de(fe(re));return}var ve=jl(de),Ae={announce:ve};ne(re,Ae),ve.wasCalled()||de(fe(re))},zl=function(ee,ne){var re=Xl(),de=null,fe=function(Ve,dt){de&&Mt(!1),Jr("onBeforeCapture",function(){var zt=ee().onBeforeCapture;if(zt){var oa={draggableId:Ve,mode:dt};zt(oa)}})},ve=function(Ve,dt){de&&Mt(!1),Jr("onBeforeDragStart",function(){var zt=ee().onBeforeDragStart;zt&&zt(jo(Ve,dt))})},Ae=function(Ve,dt){de&&Mt(!1);var zt=jo(Ve,dt);de={mode:dt,lastCritical:Ve,lastLocation:zt.source,lastCombine:null},re.add(function(){Jr("onDragStart",function(){return Xo(ee().onDragStart,zt,ne,ga.onDragStart)})})},ye=function(Ve,dt){var zt=ol(dt),oa=el(dt);de||Mt(!1);var ha=!bi(Ve,de.lastCritical);ha&&(de.lastCritical=Ve);var Pa=!Ol(de.lastLocation,zt);Pa&&(de.lastLocation=zt);var Wa=!mi(de.lastCombine,oa);if(Wa&&(de.lastCombine=oa),!(!ha&&!Pa&&!Wa)){var ur=(0,Fe.Z)({},jo(Ve,de.mode),{combine:oa,destination:zt});re.add(function(){Jr("onDragUpdate",function(){return Xo(ee().onDragUpdate,ur,ne,ga.onDragUpdate)})})}},je=function(){de||Mt(!1),re.flush()},$e=function(Ve){de||Mt(!1),de=null,Jr("onDragEnd",function(){return Xo(ee().onDragEnd,Ve,ne,ga.onDragEnd)})},_e=function(){if(de){var Ve=(0,Fe.Z)({},jo(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});$e(Ve)}};return{beforeCapture:fe,beforeStart:ve,start:Ae,update:ye,flush:je,drop:$e,abort:_e}},ql=function(ee,ne){var re=zl(ee,ne);return function(de){return function(fe){return function(ve){if(ve.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(ve.payload.draggableId,ve.payload.movementMode);return}if(ve.type==="INITIAL_PUBLISH"){var Ae=ve.payload.critical;re.beforeStart(Ae,ve.payload.movementMode),fe(ve),re.start(Ae,ve.payload.movementMode);return}if(ve.type==="DROP_COMPLETE"){var ye=ve.payload.completed.result;re.flush(),fe(ve),re.drop(ye);return}if(fe(ve),ve.type==="FLUSH"){re.abort();return}var je=de.getState();je.phase==="DRAGGING"&&re.update(je.critical,je.impact)}}}},Al=function(ee){return function(ne){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ne(re);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&Mt(!1),ee.dispatch(Wt({completed:de.completed}))}}},Zl=function(ee){var ne=null,re=null;function de(){re&&(cancelAnimationFrame(re),re=null),ne&&(ne(),ne=null)}return function(fe){return function(ve){if((ve.type==="FLUSH"||ve.type==="DROP_COMPLETE"||ve.type==="DROP_ANIMATION_FINISHED")&&de(),fe(ve),ve.type==="DROP_ANIMATE"){var Ae={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var je=ee.getState();je.phase==="DROP_ANIMATING"&&ee.dispatch(pa())}};re=requestAnimationFrame(function(){re=null,ne=Gt(window,[Ae])})}}}},Zi=function(ee){return function(){return function(ne){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(re)}}}},oi=function(ee){var ne=!1;return function(){return function(re){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),re(de),ee.tryRestoreFocusRecorded();return}if(re(de),!!ne){if(de.type==="FLUSH"){ne=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ne=!1;var fe=de.payload.completed.result;fe.combine&&ee.tryShiftRecord(fe.draggableId,fe.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},li=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},du=function(ee){return function(ne){return function(re){return function(de){if(li(de)){ee.stop(),re(de);return}if(de.type==="INITIAL_PUBLISH"){re(de);var fe=ne.getState();fe.phase!=="DRAGGING"&&Mt(!1),ee.start(fe);return}re(de),ee.scroll(ne.getState())}}}},pu=function(ee){return function(ne){return function(re){if(ne(re),re.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(kn({reason:de.reason})))}}}},wn=Me.qC,$l=function(ee){var ne=ee.dimensionMarshal,re=ee.focusMarshal,de=ee.styleMarshal,fe=ee.getResponders,ve=ee.announce,Ae=ee.autoScroller;return(0,Me.MT)(gs,wn((0,Me.md)(Sa(de),Zi(ne),Ta(ne),nl,Al,Zl,pu,du(Ae),Bl,oi(re),ql(fe,ve))))},hi=function(){return{additions:{},removals:{},modified:{}}};function Ei(ee){var ne=ee.registry,re=ee.callbacks,de=hi(),fe=null,ve=function(){fe||(re.collectionStarting(),fe=requestAnimationFrame(function(){fe=null,au();var _e=de,Ge=_e.additions,Ve=_e.removals,dt=_e.modified,zt=Object.keys(Ge).map(function(Pa){return ne.draggable.getById(Pa).getDimension(Qt)}).sort(function(Pa,Wa){return Pa.descriptor.index-Wa.descriptor.index}),oa=Object.keys(dt).map(function(Pa){var Wa=ne.droppable.getById(Pa),ur=Wa.callbacks.getScrollWhileDragging();return{droppableId:Pa,scroll:ur}}),ha={additions:zt,removals:Object.keys(Ve),modified:oa};de=hi(),ea(),re.publish(ha)}))},Ae=function(_e){var Ge=_e.descriptor.id;de.additions[Ge]=_e,de.modified[_e.descriptor.droppableId]=!0,de.removals[Ge]&&delete de.removals[Ge],ve()},ye=function(_e){var Ge=_e.descriptor;de.removals[Ge.id]=!0,de.modified[Ge.droppableId]=!0,de.additions[Ge.id]&&delete de.additions[Ge.id],ve()},je=function(){fe&&(cancelAnimationFrame(fe),fe=null,de=hi())};return{add:Ae,remove:ye,stop:je}}var ru=function(ee){var ne=ee.scrollHeight,re=ee.scrollWidth,de=ee.height,fe=ee.width,ve=Ur({x:re,y:ne},{x:fe,y:de}),Ae={x:Math.max(0,ve.x),y:Math.max(0,ve.y)};return Ae},_i=function(){var ee=document.documentElement;return ee||Mt(!1),ee},Si=function(){var ee=_i(),ne=ru({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},yl=function(){var ee=kl(),ne=Si(),re=ee.y,de=ee.x,fe=_i(),ve=fe.clientWidth,Ae=fe.clientHeight,ye=de+ve,je=re+Ae,$e=Aa({top:re,left:de,right:ye,bottom:je}),_e={frame:$e,scroll:{initial:ee,current:ee,max:ne,diff:{value:Qt,displacement:Qt}}};return _e},dl=function(ee){var ne=ee.critical,re=ee.scrollOptions,de=ee.registry;au();var fe=yl(),ve=fe.scroll.current,Ae=ne.droppable,ye=de.droppable.getAllByType(Ae.type).map(function(Ge){return Ge.callbacks.getDimensionAndWatchScroll(ve,re)}),je=de.draggable.getAllByType(ne.draggable.type).map(function(Ge){return Ge.getDimension(ve)}),$e={draggables:$r(je),droppables:Cr(ye)};ea();var _e={dimensions:$e,critical:ne,viewport:fe};return _e};function ei(ee,ne,re){if(re.descriptor.id===ne.id||re.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(re.descriptor.droppableId);return de.descriptor.mode==="virtual"}var Wo=function(ee,ne){var re=null,de=Ei({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),fe=function(dt,zt){ee.droppable.exists(dt)||Mt(!1),re&&ne.updateDroppableIsEnabled({id:dt,isEnabled:zt})},ve=function(dt,zt){re&&(ee.droppable.exists(dt)||Mt(!1),ne.updateDroppableIsCombineEnabled({id:dt,isCombineEnabled:zt}))},Ae=function(dt,zt){re&&(ee.droppable.exists(dt)||Mt(!1),ne.updateDroppableScroll({id:dt,newScroll:zt}))},ye=function(dt,zt){re&&ee.droppable.getById(dt).callbacks.scroll(zt)},je=function(){if(re){de.stop();var dt=re.critical.droppable;ee.droppable.getAllByType(dt.type).forEach(function(zt){return zt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},$e=function(dt){re||Mt(!1);var zt=re.critical.draggable;dt.type==="ADDITION"&&ei(ee,zt,dt.value)&&de.add(dt.value),dt.type==="REMOVAL"&&ei(ee,zt,dt.value)&&de.remove(dt.value)},_e=function(dt){re&&Mt(!1);var zt=ee.draggable.getById(dt.draggableId),oa=ee.droppable.getById(zt.descriptor.droppableId),ha={draggable:zt.descriptor,droppable:oa.descriptor},Pa=ee.subscribe($e);return re={critical:ha,unsubscribe:Pa},dl({critical:ha,registry:ee,scrollOptions:dt.scrollOptions})},Ge={updateDroppableIsEnabled:fe,updateDroppableIsCombineEnabled:ve,scrollDroppable:ye,updateDroppableScroll:Ae,startPublishing:_e,stopPublishing:je};return Ge},fi=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},Kl=function(ee){window.scrollBy(ee.x,ee.y)},Gi=rn(function(ee){return Qo(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),Ml=function(ne,re){var de=ro(Gi(re),function(fe){return fe.frame||Mt(!1),Mu(fe.frame.pageMarginBox)(ne)});return de},ti=function(ee){var ne=ee.center,re=ee.destination,de=ee.droppables;if(re){var fe=de[re];return fe.frame?fe:null}var ve=Ml(ne,de);return ve},ii={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},wl=function(ee,ne){var re=ee[ne.size]*ii.startFromPercentage,de=ee[ne.size]*ii.maxScrollAtPercentage,fe={startScrollingFrom:re,maxScrollValueAt:de};return fe},ui=function(ee){var ne=ee.startOfRange,re=ee.endOfRange,de=ee.current,fe=re-ne;if(fe===0)return 0;var ve=de-ne,Ae=ve/fe;return Ae},Ii=1,fa=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return ii.maxPixelScroll;if(ee===ne.startScrollingFrom)return Ii;var re=ui({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-re,fe=ii.maxPixelScroll*ii.ease(de);return Math.ceil(fe)},Hi=ii.durationDampening.accelerateAt,Bi=ii.durationDampening.stopDampeningAt,Oi=function(ee,ne){var re=ne,de=Bi,fe=Date.now(),ve=fe-re;if(ve>=Bi)return ee;if(vene.height,ve=re.width>ne.width;return!ve&&!fe?de:ve&&fe?null:{x:ve?0:de.x,y:fe?0:de.y}},ou=Yn(function(ee){return ee===0?0:ee}),Sr=function(ee){var ne=ee.dragStartTime,re=ee.container,de=ee.subject,fe=ee.center,ve=ee.shouldUseTimeDampening,Ae={top:fe.y-re.top,right:re.right-fe.x,bottom:re.bottom-fe.y,left:fe.x-re.left},ye=Vi({container:re,distanceToEdges:Ae,dragStartTime:ne,axis:qn,shouldUseTimeDampening:ve}),je=Vi({container:re,distanceToEdges:Ae,dragStartTime:ne,axis:An,shouldUseTimeDampening:ve}),$e=ou({x:je,y:ye});if(Yr($e,Qt))return null;var _e=hu({container:re,subject:de,proposedScroll:$e});return _e?Yr(_e,Qt)?null:_e:null},za=Yn(function(ee){return ee===0?0:ee>0?1:-1}),oo=function(){var ee=function(re,de){return re<0?re:re>de?re-de:0};return function(ne){var re=ne.current,de=ne.max,fe=ne.change,ve=hr(re,fe),Ae={x:ee(ve.x,de.x),y:ee(ve.y,de.y)};return Yr(Ae,Qt)?null:Ae}}(),il=function(ne){var re=ne.max,de=ne.current,fe=ne.change,ve={x:Math.max(de.x,re.x),y:Math.max(de.y,re.y)},Ae=za(fe),ye=oo({max:ve,current:de,change:Ae});return!ye||Ae.x!==0&&ye.x===0||Ae.y!==0&&ye.y===0},Pi=function(ne,re){return il({current:ne.scroll.current,max:ne.scroll.max,change:re})},ju=function(ne,re){if(!Pi(ne,re))return null;var de=ne.scroll.max,fe=ne.scroll.current;return oo({current:fe,max:de,change:re})},se=function(ne,re){var de=ne.frame;return de?il({current:de.scroll.current,max:de.scroll.max,change:re}):!1},Se=function(ne,re){var de=ne.frame;return!de||!se(ne,re)?null:oo({current:de.scroll.current,max:de.scroll.max,change:re})},Pe=function(ee){var ne=ee.viewport,re=ee.subject,de=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,Ae=Sr({dragStartTime:fe,container:ne.frame,subject:re,center:de,shouldUseTimeDampening:ve});return Ae&&Pi(ne,Ae)?Ae:null},lt=function(ee){var ne=ee.droppable,re=ee.subject,de=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,Ae=ne.frame;if(!Ae)return null;var ye=Sr({dragStartTime:fe,container:Ae.pageMarginBox,subject:re,center:de,shouldUseTimeDampening:ve});return ye&&se(ne,ye)?ye:null},vt=function(ee){var ne=ee.state,re=ee.dragStartTime,de=ee.shouldUseTimeDampening,fe=ee.scrollWindow,ve=ee.scrollDroppable,Ae=ne.current.page.borderBoxCenter,ye=ne.dimensions.draggables[ne.critical.draggable.id],je=ye.page.marginBox;if(ne.isWindowScrollAllowed){var $e=ne.viewport,_e=Pe({dragStartTime:re,viewport:$e,subject:je,center:Ae,shouldUseTimeDampening:de});if(_e){fe(_e);return}}var Ge=ti({center:Ae,destination:bl(ne.impact),droppables:ne.dimensions.droppables});if(Ge){var Ve=lt({dragStartTime:re,droppable:Ge,subject:je,center:Ae,shouldUseTimeDampening:de});Ve&&ve(Ge.descriptor.id,Ve)}},zn=function(ee){var ne=ee.scrollWindow,re=ee.scrollDroppable,de=Vn(ne),fe=Vn(re),ve=null,Ae=function(_e){ve||Mt(!1);var Ge=ve,Ve=Ge.shouldUseTimeDampening,dt=Ge.dragStartTime;vt({state:_e,scrollWindow:de,scrollDroppable:fe,dragStartTime:dt,shouldUseTimeDampening:Ve})},ye=function(_e){au(),ve&&Mt(!1);var Ge=Date.now(),Ve=!1,dt=function(){Ve=!0};vt({state:_e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dt,scrollDroppable:dt}),ve={dragStartTime:Ge,shouldUseTimeDampening:Ve},ea(),Ve&&Ae(_e)},je=function(){ve&&(de.cancel(),fe.cancel(),ve=null)};return{start:ye,stop:je,scroll:Ae}},pn=function(ee){var ne=ee.move,re=ee.scrollDroppable,de=ee.scrollWindow,fe=function($e,_e){var Ge=hr($e.current.client.selection,_e);ne({client:Ge})},ve=function($e,_e){if(!se($e,_e))return _e;var Ge=Se($e,_e);if(!Ge)return re($e.descriptor.id,_e),null;var Ve=Ur(_e,Ge);re($e.descriptor.id,Ve);var dt=Ur(_e,Ve);return dt},Ae=function($e,_e,Ge){if(!$e||!Pi(_e,Ge))return Ge;var Ve=ju(_e,Ge);if(!Ve)return de(Ge),null;var dt=Ur(Ge,Ve);de(dt);var zt=Ur(Ge,dt);return zt},ye=function($e){var _e=$e.scrollJumpRequest;if(_e){var Ge=bl($e.impact);Ge||Mt(!1);var Ve=ve($e.dimensions.droppables[Ge],_e);if(Ve){var dt=$e.viewport,zt=Ae($e.isWindowScrollAllowed,dt,Ve);zt&&fe($e,zt)}}};return ye},_t=function(ee){var ne=ee.scrollDroppable,re=ee.scrollWindow,de=ee.move,fe=zn({scrollWindow:re,scrollDroppable:ne}),ve=pn({move:de,scrollWindow:re,scrollDroppable:ne}),Ae=function($e){if($e.phase==="DRAGGING"){if($e.movementMode==="FLUID"){fe.scroll($e);return}$e.scrollJumpRequest&&ve($e)}},ye={scroll:Ae,start:fe.start,stop:fe.stop};return ye},ft="data-rbd",$t=function(){var ee=ft+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),In=function(){var ee=ft+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),et=function(){var ee=ft+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ft={contextId:ft+"-scroll-container-context-id"},mn=function(ne){return function(re){return"["+re+'="'+ne+'"]'}},Bn=function(ne,re){return ne.map(function(de){var fe=de.styles[re];return fe?de.selector+" { "+fe+" }":""}).join(" ")},en="pointer-events: none;",jt=function(ee){var ne=mn(ee),re=function(){var ye=` cursor: -webkit-grab; cursor: grab; - `;return{selector:ne(Wo.contextId),styles:{always:` + `;return{selector:ne($t.contextId),styles:{always:` -webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(0,0,0,0); touch-action: manipulation; - `,resting:Fe,dragging:yo,dropAnimating:Fe}}}(),se=function(){var Fe=` - transition: `+bo.outOfTheWay+`; - `;return{selector:ne(Rn.contextId),styles:{dragging:Fe,dropAnimating:Fe,userCancel:Fe}}}(),fe={selector:ne(ml.contextId),styles:{always:"overflow-anchor: none;"}},ve={selector:"body",styles:{dragging:` + `,resting:ye,dragging:en,dropAnimating:ye}}}(),de=function(){var ye=` + transition: `+Mo.outOfTheWay+`; + `;return{selector:ne(In.contextId),styles:{dragging:ye,dropAnimating:ye,userCancel:ye}}}(),fe={selector:ne(et.contextId),styles:{always:"overflow-anchor: none;"}},ve={selector:"body",styles:{dragging:` cursor: grabbing; cursor: -webkit-grabbing; user-select: none; @@ -385,9 +385,9 @@ The error may be correlated with this previous error: -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},Se=[se,re,fe,ve];return{always:Bl(Se,"always"),resting:Bl(Se,"resting"),dragging:Bl(Se,"dragging"),dropAnimating:Bl(Se,"dropAnimating"),userCancel:Bl(Se,"userCancel")}},Oo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,Al=function(){var ne=document.querySelector("head");return ne||jt(!1),ne},Fi=function(ne){var re=document.createElement("style");return ne&&re.setAttribute("nonce",ne),re.type="text/css",re};function ol(ee,ne){var re=Sa(function(){return er(ee)},[ee]),se=(0,y.useRef)(null),fe=(0,y.useRef)(null),ve=hn(tn(function(He){var Ue=fe.current;Ue||jt(!1),Ue.textContent=He}),[]),Se=hn(function(He){var Ue=se.current;Ue||jt(!1),Ue.textContent=He},[]);Oo(function(){!se.current&&!fe.current||jt(!1);var He=Fi(ne),Ue=Fi(ne);return se.current=He,fe.current=Ue,He.setAttribute(ul+"-always",ee),Ue.setAttribute(ul+"-dynamic",ee),Al().appendChild(He),Al().appendChild(Ue),Se(re.always),ve(re.resting),function(){var ct=function(da){var Ba=da.current;Ba||jt(!1),Al().removeChild(Ba),da.current=null};ct(se),ct(fe)}},[ne,Se,ve,re.always,re.resting,ee]);var Fe=hn(function(){return ve(re.dragging)},[ve,re.dragging]),je=hn(function(He){if(He==="DROP"){ve(re.dropAnimating);return}ve(re.userCancel)},[ve,re.dropAnimating,re.userCancel]),et=hn(function(){fe.current&&ve(re.resting)},[ve,re.resting]),Xe=Sa(function(){return{dragging:Fe,dropping:je,resting:et}},[Fe,je,et]);return Xe}var Ml=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Hl(ee){return ee instanceof Ml(ee).HTMLElement}function bi(ee,ne){var re="["+Wo.contextId+'="'+ee+'"]',se=So(document.querySelectorAll(re));if(!se.length)return null;var fe=Kr(se,function(ve){return ve.getAttribute(Wo.draggableId)===ne});return!fe||!Hl(fe)?null:fe}function qr(ee){var ne=(0,y.useRef)({}),re=(0,y.useRef)(null),se=(0,y.useRef)(null),fe=(0,y.useRef)(!1),ve=hn(function(Ue,ct){var Kt={id:Ue,focus:ct};return ne.current[Ue]=Kt,function(){var Ba=ne.current,Na=Ba[Ue];Na!==Kt&&delete Ba[Ue]}},[]),Se=hn(function(Ue){var ct=bi(ee,Ue);ct&&ct!==document.activeElement&&ct.focus()},[ee]),Fe=hn(function(Ue,ct){re.current===Ue&&(re.current=ct)},[]),je=hn(function(){se.current||fe.current&&(se.current=requestAnimationFrame(function(){se.current=null;var Ue=re.current;Ue&&Se(Ue)}))},[Se]),et=hn(function(Ue){re.current=null;var ct=document.activeElement;ct&&ct.getAttribute(Wo.draggableId)===Ue&&(re.current=Ue)},[]);Oo(function(){return fe.current=!0,function(){fe.current=!1;var Ue=se.current;Ue&&cancelAnimationFrame(Ue)}},[]);var Xe=Sa(function(){return{register:ve,tryRecordFocus:et,tryRestoreFocusRecorded:je,tryShiftRecord:Fe}},[ve,et,je,Fe]);return Xe}function Xo(){var ee={draggables:{},droppables:{}},ne=[];function re(He){return ne.push(He),function(){var ct=ne.indexOf(He);ct!==-1&&ne.splice(ct,1)}}function se(He){ne.length&&ne.forEach(function(Ue){return Ue(He)})}function fe(He){return ee.draggables[He]||null}function ve(He){var Ue=fe(He);return Ue||jt(!1),Ue}var Se={register:function(Ue){ee.draggables[Ue.descriptor.id]=Ue,se({type:"ADDITION",value:Ue})},update:function(Ue,ct){var Kt=ee.draggables[ct.descriptor.id];Kt&&Kt.uniqueId===Ue.uniqueId&&(delete ee.draggables[ct.descriptor.id],ee.draggables[Ue.descriptor.id]=Ue)},unregister:function(Ue){var ct=Ue.descriptor.id,Kt=fe(ct);Kt&&Ue.uniqueId===Kt.uniqueId&&(delete ee.draggables[ct],se({type:"REMOVAL",value:Ue}))},getById:ve,findById:fe,exists:function(Ue){return!!fe(Ue)},getAllByType:function(Ue){return uo(ee.draggables).filter(function(ct){return ct.descriptor.type===Ue})}};function Fe(He){return ee.droppables[He]||null}function je(He){var Ue=Fe(He);return Ue||jt(!1),Ue}var et={register:function(Ue){ee.droppables[Ue.descriptor.id]=Ue},unregister:function(Ue){var ct=Fe(Ue.descriptor.id);ct&&Ue.uniqueId===ct.uniqueId&&delete ee.droppables[Ue.descriptor.id]},getById:je,findById:Fe,exists:function(Ue){return!!Fe(Ue)},getAllByType:function(Ue){return uo(ee.droppables).filter(function(ct){return ct.descriptor.type===Ue})}};function Xe(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:Se,droppable:et,subscribe:re,clean:Xe}}function Il(){var ee=Sa(Xo,[]);return(0,y.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var ll=y.createContext(null),zl=function(){var ee=document.body;return ee||jt(!1),ee},Yl={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Vl=function(ne){return"rbd-announcement-"+ne};function ci(ee){var ne=Sa(function(){return Vl(ee)},[ee]),re=(0,y.useRef)(null);(0,y.useEffect)(function(){var ve=document.createElement("div");return re.current=ve,ve.id=ne,ve.setAttribute("aria-live","assertive"),ve.setAttribute("aria-atomic","true"),(0,Be.Z)(ve.style,Yl),zl().appendChild(ve),function(){setTimeout(function(){var je=zl();je.contains(ve)&&je.removeChild(ve),ve===re.current&&(re.current=null)})}},[ne]);var se=hn(function(fe){var ve=re.current;if(ve){ve.textContent=fe;return}},[]);return se}var Xl=0,oi={separator:"::"};function yl(){Xl=0}function vi(ee,ne){return ne===void 0&&(ne=oi),Sa(function(){return""+ee+ne.separator+Xl++},[ne.separator,ee])}function To(ee){var ne=ee.contextId,re=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+re}function tu(ee){var ne=ee.contextId,re=ee.text,se=vi("hidden-text",{separator:"-"}),fe=Sa(function(){return To({contextId:ne,uniqueId:se})},[se,ne]);return(0,y.useEffect)(function(){var Se=document.createElement("div");return Se.id=fe,Se.textContent=re,Se.style.display="none",zl().appendChild(Se),function(){var je=zl();je.contains(Se)&&je.removeChild(Se)}},[fe,re]),fe}var Qi=y.createContext(null),Ui={react:"^16.8.5","react-dom":"^16.8.5"},as=/(\d+)\.(\d+)\.(\d+)/,Yi=function(ne){var re=as.exec(ne);re==null&&jt(!1);var se=Number(re[1]),fe=Number(re[2]),ve=Number(re[3]);return{major:se,minor:fe,patch:ve,raw:ne}},rs=function(ne,re){return re.major>ne.major?!0:re.majorne.minor?!0:re.minor=ne.patch},Su=function(ee,ne){var re=Yi(ee),se=Yi(ne);rs(re,se)},Pu=` + `}},Ae=[de,re,fe,ve];return{always:Bn(Ae,"always"),resting:Bn(Ae,"resting"),dragging:Bn(Ae,"dragging"),dropAnimating:Bn(Ae,"dropAnimating"),userCancel:Bn(Ae,"userCancel")}},Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,Xt=function(){var ne=document.querySelector("head");return ne||Mt(!1),ne},xa=function(ne){var re=document.createElement("style");return ne&&re.setAttribute("nonce",ne),re.type="text/css",re};function yn(ee,ne){var re=va(function(){return jt(ee)},[ee]),de=(0,y.useRef)(null),fe=(0,y.useRef)(null),ve=En(rn(function(Ge){var Ve=fe.current;Ve||Mt(!1),Ve.textContent=Ge}),[]),Ae=En(function(Ge){var Ve=de.current;Ve||Mt(!1),Ve.textContent=Ge},[]);Rt(function(){!de.current&&!fe.current||Mt(!1);var Ge=xa(ne),Ve=xa(ne);return de.current=Ge,fe.current=Ve,Ge.setAttribute(ft+"-always",ee),Ve.setAttribute(ft+"-dynamic",ee),Xt().appendChild(Ge),Xt().appendChild(Ve),Ae(re.always),ve(re.resting),function(){var dt=function(oa){var ha=oa.current;ha||Mt(!1),Xt().removeChild(ha),oa.current=null};dt(de),dt(fe)}},[ne,Ae,ve,re.always,re.resting,ee]);var ye=En(function(){return ve(re.dragging)},[ve,re.dragging]),je=En(function(Ge){if(Ge==="DROP"){ve(re.dropAnimating);return}ve(re.userCancel)},[ve,re.dropAnimating,re.userCancel]),$e=En(function(){fe.current&&ve(re.resting)},[ve,re.resting]),_e=va(function(){return{dragging:ye,dropping:je,resting:$e}},[ye,je,$e]);return _e}var Sn=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Or(ee){return ee instanceof Sn(ee).HTMLElement}function Tr(ee,ne){var re="["+$t.contextId+'="'+ee+'"]',de=Do(document.querySelectorAll(re));if(!de.length)return null;var fe=ro(de,function(ve){return ve.getAttribute($t.draggableId)===ne});return!fe||!Or(fe)?null:fe}function gr(ee){var ne=(0,y.useRef)({}),re=(0,y.useRef)(null),de=(0,y.useRef)(null),fe=(0,y.useRef)(!1),ve=En(function(Ve,dt){var zt={id:Ve,focus:dt};return ne.current[Ve]=zt,function(){var ha=ne.current,Pa=ha[Ve];Pa!==zt&&delete ha[Ve]}},[]),Ae=En(function(Ve){var dt=Tr(ee,Ve);dt&&dt!==document.activeElement&&dt.focus()},[ee]),ye=En(function(Ve,dt){re.current===Ve&&(re.current=dt)},[]),je=En(function(){de.current||fe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ve=re.current;Ve&&Ae(Ve)}))},[Ae]),$e=En(function(Ve){re.current=null;var dt=document.activeElement;dt&&dt.getAttribute($t.draggableId)===Ve&&(re.current=Ve)},[]);Rt(function(){return fe.current=!0,function(){fe.current=!1;var Ve=de.current;Ve&&cancelAnimationFrame(Ve)}},[]);var _e=va(function(){return{register:ve,tryRecordFocus:$e,tryRestoreFocusRecorded:je,tryShiftRecord:ye}},[ve,$e,je,ye]);return _e}function qo(){var ee={draggables:{},droppables:{}},ne=[];function re(Ge){return ne.push(Ge),function(){var dt=ne.indexOf(Ge);dt!==-1&&ne.splice(dt,1)}}function de(Ge){ne.length&&ne.forEach(function(Ve){return Ve(Ge)})}function fe(Ge){return ee.draggables[Ge]||null}function ve(Ge){var Ve=fe(Ge);return Ve||Mt(!1),Ve}var Ae={register:function(Ve){ee.draggables[Ve.descriptor.id]=Ve,de({type:"ADDITION",value:Ve})},update:function(Ve,dt){var zt=ee.draggables[dt.descriptor.id];zt&&zt.uniqueId===Ve.uniqueId&&(delete ee.draggables[dt.descriptor.id],ee.draggables[Ve.descriptor.id]=Ve)},unregister:function(Ve){var dt=Ve.descriptor.id,zt=fe(dt);zt&&Ve.uniqueId===zt.uniqueId&&(delete ee.draggables[dt],de({type:"REMOVAL",value:Ve}))},getById:ve,findById:fe,exists:function(Ve){return!!fe(Ve)},getAllByType:function(Ve){return ho(ee.draggables).filter(function(dt){return dt.descriptor.type===Ve})}};function ye(Ge){return ee.droppables[Ge]||null}function je(Ge){var Ve=ye(Ge);return Ve||Mt(!1),Ve}var $e={register:function(Ve){ee.droppables[Ve.descriptor.id]=Ve},unregister:function(Ve){var dt=ye(Ve.descriptor.id);dt&&Ve.uniqueId===dt.uniqueId&&delete ee.droppables[Ve.descriptor.id]},getById:je,findById:ye,exists:function(Ve){return!!ye(Ve)},getAllByType:function(Ve){return ho(ee.droppables).filter(function(dt){return dt.descriptor.type===Ve})}};function _e(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:Ae,droppable:$e,subscribe:re,clean:_e}}function sa(){var ee=va(qo,[]);return(0,y.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var Vr=y.createContext(null),$a=function(){var ee=document.body;return ee||Mt(!1),ee},Fo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Zo=function(ne){return"rbd-announcement-"+ne};function $o(ee){var ne=va(function(){return Zo(ee)},[ee]),re=(0,y.useRef)(null);(0,y.useEffect)(function(){var ve=document.createElement("div");return re.current=ve,ve.id=ne,ve.setAttribute("aria-live","assertive"),ve.setAttribute("aria-atomic","true"),(0,Fe.Z)(ve.style,Fo),$a().appendChild(ve),function(){setTimeout(function(){var je=$a();je.contains(ve)&&je.removeChild(ve),ve===re.current&&(re.current=null)})}},[ne]);var de=En(function(fe){var ve=re.current;if(ve){ve.textContent=fe;return}},[]);return de}var ul=0,La={separator:"::"};function kr(){ul=0}function Dl(ee,ne){return ne===void 0&&(ne=La),va(function(){return""+ee+ne.separator+ul++},[ne.separator,ee])}function al(ee){var ne=ee.contextId,re=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+re}function Nn(ee){var ne=ee.contextId,re=ee.text,de=Dl("hidden-text",{separator:"-"}),fe=va(function(){return al({contextId:ne,uniqueId:de})},[de,ne]);return(0,y.useEffect)(function(){var Ae=document.createElement("div");return Ae.id=fe,Ae.textContent=re,Ae.style.display="none",$a().appendChild(Ae),function(){var je=$a();je.contains(Ae)&&je.removeChild(Ae)}},[fe,re]),fe}var pl=y.createContext(null),vi={react:"^16.8.5","react-dom":"^16.8.5"},Ll=/(\d+)\.(\d+)\.(\d+)/,Gl=function(ne){var re=Ll.exec(ne);re==null&&Mt(!1);var de=Number(re[1]),fe=Number(re[2]),ve=Number(re[3]);return{major:de,minor:fe,patch:ve,raw:ne}},ni=function(ne,re){return re.major>ne.major?!0:re.majorne.minor?!0:re.minor=ne.patch},Fl=function(ee,ne){var re=Gl(ee),de=Gl(ne);ni(re,de)},Ci=` We expect a html5 doctype: This is to ensure consistent browser layout and measurement More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,nu=function(ee){var ne=ee.doctype;ne&&(ne.name.toLowerCase(),ne.publicId)};function ql(ee){}function Gi(ee,ne){}function au(){Gi(function(){Su(Ui.react,y.version),nu(document)},[])}function li(ee){var ne=(0,y.useRef)(ee);return(0,y.useEffect)(function(){ne.current=ee}),ne}function Rl(){var ee=null;function ne(){return!!ee}function re(Se){return Se===ee}function se(Se){ee&&jt(!1);var Fe={abandon:Se};return ee=Fe,Fe}function fe(){ee||jt(!1),ee=null}function ve(){ee&&(ee.abandon(),fe())}return{isClaimed:ne,isActive:re,claim:se,release:fe,tryAbandon:ve}}var Bi=9,Ci=13,du=27,cu=32,ju=33,Mi=34,Au=35,Ri=36,os=37,ls=38,Zu=39,is=40,gu,Gu=(gu={},gu[Ci]=!0,gu[Bi]=!0,gu),yu=function(ee){Gu[ee.keyCode]&&ee.preventDefault()},ta=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ne=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],re=Kr(ne,function(se){return"on"+se in document});return re||ee}(),mr=0,kr=5;function vo(ee,ne){return Math.abs(ne.x-ee.x)>=kr||Math.abs(ne.y-ee.y)>=kr}var lo={type:"IDLE"};function jr(ee){var ne=ee.cancel,re=ee.completed,se=ee.getPhase,fe=ee.setPhase;return[{eventName:"mousemove",fn:function(Se){var Fe=Se.button,je=Se.clientX,et=Se.clientY;if(Fe===mr){var Xe={x:je,y:et},He=se();if(He.type==="DRAGGING"){Se.preventDefault(),He.actions.move(Xe);return}He.type!=="PENDING"&&jt(!1);var Ue=He.point;if(vo(Ue,Xe)){Se.preventDefault();var ct=He.actions.fluidLift(Xe);fe({type:"DRAGGING",actions:ct})}}}},{eventName:"mouseup",fn:function(Se){var Fe=se();if(Fe.type!=="DRAGGING"){ne();return}Se.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"mousedown",fn:function(Se){se().type==="DRAGGING"&&Se.preventDefault(),ne()}},{eventName:"keydown",fn:function(Se){var Fe=se();if(Fe.type==="PENDING"){ne();return}if(Se.keyCode===du){Se.preventDefault(),ne();return}yu(Se)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){se().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(Se){var Fe=se();if(Fe.type==="IDLE"&&jt(!1),Fe.actions.shouldRespectForcePress()){ne();return}Se.preventDefault()}},{eventName:ta,fn:ne}]}function $r(ee){var ne=(0,y.useRef)(lo),re=(0,y.useRef)(Ia),se=Sa(function(){return{eventName:"mousedown",fn:function(He){if(!He.defaultPrevented&&He.button===mr&&!(He.ctrlKey||He.metaKey||He.shiftKey||He.altKey)){var Ue=ee.findClosestDraggableId(He);if(Ue){var ct=ee.tryGetLock(Ue,Se,{sourceEvent:He});if(ct){He.preventDefault();var Kt={x:He.clientX,y:He.clientY};re.current(),et(ct,Kt)}}}}}},[ee]),fe=Sa(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(He){if(!He.defaultPrevented){var Ue=ee.findClosestDraggableId(He);if(Ue){var ct=ee.findOptionsForDraggable(Ue);ct&&(ct.shouldRespectForcePress||ee.canGetLock(Ue)&&He.preventDefault())}}}}},[ee]),ve=hn(function(){var He={passive:!1,capture:!0};re.current=Vt(window,[fe,se],He)},[fe,se]),Se=hn(function(){var Xe=ne.current;Xe.type!=="IDLE"&&(ne.current=lo,re.current(),ve())},[ve]),Fe=hn(function(){var Xe=ne.current;Se(),Xe.type==="DRAGGING"&&Xe.actions.cancel({shouldBlockNextClick:!0}),Xe.type==="PENDING"&&Xe.actions.abort()},[Se]),je=hn(function(){var He={capture:!0,passive:!1},Ue=jr({cancel:Fe,completed:Se,getPhase:function(){return ne.current},setPhase:function(Kt){ne.current=Kt}});re.current=Vt(window,Ue,He)},[Fe,Se]),et=hn(function(He,Ue){ne.current.type!=="IDLE"&&jt(!1),ne.current={type:"PENDING",point:Ue,actions:He},je()},[je]);Oo(function(){return ve(),function(){re.current()}},[ve])}var wo;function jl(){}var gi=(wo={},wo[Mi]=!0,wo[ju]=!0,wo[Ri]=!0,wo[Au]=!0,wo);function Ti(ee,ne){function re(){ne(),ee.cancel()}function se(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(ve){if(ve.keyCode===du){ve.preventDefault(),re();return}if(ve.keyCode===cu){ve.preventDefault(),se();return}if(ve.keyCode===is){ve.preventDefault(),ee.moveDown();return}if(ve.keyCode===ls){ve.preventDefault(),ee.moveUp();return}if(ve.keyCode===Zu){ve.preventDefault(),ee.moveRight();return}if(ve.keyCode===os){ve.preventDefault(),ee.moveLeft();return}if(gi[ve.keyCode]){ve.preventDefault();return}yu(ve)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:ta,fn:re}]}function Wl(ee){var ne=(0,y.useRef)(jl),re=Sa(function(){return{eventName:"keydown",fn:function(ve){if(ve.defaultPrevented||ve.keyCode!==cu)return;var Se=ee.findClosestDraggableId(ve);if(!Se)return;var Fe=ee.tryGetLock(Se,Xe,{sourceEvent:ve});if(!Fe)return;ve.preventDefault();var je=!0,et=Fe.snapLift();ne.current();function Xe(){je||jt(!1),je=!1,ne.current(),se()}ne.current=Vt(window,Ti(et,Xe),{capture:!0,passive:!1})}}},[ee]),se=hn(function(){var ve={passive:!1,capture:!0};ne.current=Vt(window,[re],ve)},[re]);Oo(function(){return se(),function(){ne.current()}},[se])}var pi={type:"IDLE"},mu=120,fu=.15;function Hu(ee){var ne=ee.cancel,re=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(fe){fe.preventDefault()}},{eventName:"keydown",fn:function(fe){if(re().type!=="DRAGGING"){ne();return}fe.keyCode===du&&fe.preventDefault(),ne()}},{eventName:ta,fn:ne}]}function zu(ee){var ne=ee.cancel,re=ee.completed,se=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(ve){var Se=se();if(Se.type!=="DRAGGING"){ne();return}Se.hasMoved=!0;var Fe=ve.touches[0],je=Fe.clientX,et=Fe.clientY,Xe={x:je,y:et};ve.preventDefault(),Se.actions.move(Xe)}},{eventName:"touchend",fn:function(ve){var Se=se();if(Se.type!=="DRAGGING"){ne();return}ve.preventDefault(),Se.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(ve){if(se().type!=="DRAGGING"){ne();return}ve.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(ve){var Se=se();Se.type==="IDLE"&&jt(!1);var Fe=ve.touches[0];if(Fe){var je=Fe.force>=fu;if(je){var et=Se.actions.shouldRespectForcePress();if(Se.type==="PENDING"){et&&ne();return}if(et){if(Se.hasMoved){ve.preventDefault();return}ne();return}ve.preventDefault()}}}},{eventName:ta,fn:ne}]}function vu(ee){var ne=(0,y.useRef)(pi),re=(0,y.useRef)(Ia),se=hn(function(){return ne.current},[]),fe=hn(function(ct){ne.current=ct},[]),ve=Sa(function(){return{eventName:"touchstart",fn:function(ct){if(!ct.defaultPrevented){var Kt=ee.findClosestDraggableId(ct);if(Kt){var da=ee.tryGetLock(Kt,Fe,{sourceEvent:ct});if(da){var Ba=ct.touches[0],Na=Ba.clientX,tr=Ba.clientY,fr={x:Na,y:tr};re.current(),He(da,fr)}}}}}},[ee]),Se=hn(function(){var ct={capture:!0,passive:!1};re.current=Vt(window,[ve],ct)},[ve]),Fe=hn(function(){var Ue=ne.current;Ue.type!=="IDLE"&&(Ue.type==="PENDING"&&clearTimeout(Ue.longPressTimerId),fe(pi),re.current(),Se())},[Se,fe]),je=hn(function(){var Ue=ne.current;Fe(),Ue.type==="DRAGGING"&&Ue.actions.cancel({shouldBlockNextClick:!0}),Ue.type==="PENDING"&&Ue.actions.abort()},[Fe]),et=hn(function(){var ct={capture:!0,passive:!1},Kt={cancel:je,completed:Fe,getPhase:se},da=Vt(window,zu(Kt),ct),Ba=Vt(window,Hu(Kt),ct);re.current=function(){da(),Ba()}},[je,se,Fe]),Xe=hn(function(){var ct=se();ct.type!=="PENDING"&&jt(!1);var Kt=ct.actions.fluidLift(ct.point);fe({type:"DRAGGING",actions:Kt,hasMoved:!1})},[se,fe]),He=hn(function(ct,Kt){se().type!=="IDLE"&&jt(!1);var da=setTimeout(Xe,mu);fe({type:"PENDING",point:Kt,actions:ct,longPressTimerId:da}),et()},[et,se,fe,Xe]);Oo(function(){return Se(),function(){re.current();var Kt=se();Kt.type==="PENDING"&&(clearTimeout(Kt.longPressTimerId),fe(pi))}},[se,Se,fe]),Oo(function(){var ct=Vt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return ct},[])}function Vu(ee){}var Wu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ru(ee,ne){if(ne==null)return!1;var re=!!Wu[ne.tagName.toLowerCase()];if(re)return!0;var se=ne.getAttribute("contenteditable");return se==="true"||se===""?!0:ne===ee?!1:ru(ee,ne.parentElement)}function xi(ee,ne){var re=ne.target;return Hl(re)?ru(ee,re):!1}var Fu=function(ee){return ya(ee.getBoundingClientRect()).center};function Qu(ee){return ee instanceof Ml(ee).Element}var bu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],re=Kr(ne,function(se){return se in Element.prototype});return re||ee}();function Bu(ee,ne){return ee==null?null:ee[bu](ne)?ee:Bu(ee.parentElement,ne)}function bs(ee,ne){return ee.closest?ee.closest(ne):Bu(ee,ne)}function Bs(ee){return"["+Wo.contextId+'="'+ee+'"]'}function Cs(ee,ne){var re=ne.target;if(!Qu(re))return null;var se=Bs(ee),fe=bs(re,se);return!fe||!Hl(fe)?null:fe}function fs(ee,ne){var re=Cs(ee,ne);return re?re.getAttribute(Wo.draggableId):null}function xs(ee,ne){var re="["+Rn.contextId+'="'+ee+'"]',se=So(document.querySelectorAll(re)),fe=Kr(se,function(ve){return ve.getAttribute(Rn.id)===ne});return!fe||!Hl(fe)?null:fe}function ws(ee){ee.preventDefault()}function Uu(ee){var ne=ee.expected,re=ee.phase,se=ee.isLockActive,fe=ee.shouldWarn;return!(!se()||ne!==re)}function us(ee){var ne=ee.lockAPI,re=ee.store,se=ee.registry,fe=ee.draggableId;if(ne.isClaimed())return!1;var ve=se.draggable.findById(fe);return!(!ve||!ve.options.isEnabled||!Zt(re.getState(),fe))}function ss(ee){var ne=ee.lockAPI,re=ee.contextId,se=ee.store,fe=ee.registry,ve=ee.draggableId,Se=ee.forceSensorStop,Fe=ee.sourceEvent,je=us({lockAPI:ne,store:se,registry:fe,draggableId:ve});if(!je)return null;var et=fe.draggable.getById(ve),Xe=xs(re,et.descriptor.id);if(!Xe||Fe&&!et.options.canDragInteractiveElements&&xi(Xe,Fe))return null;var He=ne.claim(Se||Ia),Ue="PRE_DRAG";function ct(){return et.options.shouldRespectForcePress}function Kt(){return ne.isActive(He)}function da(eo,No){Uu({expected:eo,phase:Ue,isLockActive:Kt,shouldWarn:!0})&&se.dispatch(No())}var Ba=da.bind(null,"DRAGGING");function Na(eo){function No(){ne.release(),Ue="COMPLETED"}Ue!=="PRE_DRAG"&&(No(),Ue!=="PRE_DRAG"&&jt(!1)),se.dispatch(de(eo.liftActionArgs)),Ue="DRAGGING";function Cl(jo,xl){if(xl===void 0&&(xl={shouldBlockNextClick:!1}),eo.cleanup(),xl.shouldBlockNextClick){var Kl=Vt(window,[{eventName:"click",fn:ws,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Kl)}No(),se.dispatch(zn({reason:jo}))}return(0,Be.Z)({isActive:function(){return Uu({expected:"DRAGGING",phase:Ue,isLockActive:Kt,shouldWarn:!1})},shouldRespectForcePress:ct,drop:function(xl){return Cl("DROP",xl)},cancel:function(xl){return Cl("CANCEL",xl)}},eo.actions)}function tr(eo){var No=Kn(function(jo){Ba(function(){return Ht({client:jo})})}),Cl=Na({liftActionArgs:{id:ve,clientSelection:eo,movementMode:"FLUID"},cleanup:function(){return No.cancel()},actions:{move:No}});return(0,Be.Z)({},Cl,{move:No})}function fr(){var eo={moveUp:function(){return Ba(ea)},moveRight:function(){return Ba(gn)},moveDown:function(){return Ba(cn)},moveLeft:function(){return Ba(jn)}};return Na({liftActionArgs:{id:ve,clientSelection:Fu(Xe),movementMode:"SNAP"},cleanup:Ia,actions:eo})}function Pr(){var eo=Uu({expected:"PRE_DRAG",phase:Ue,isLockActive:Kt,shouldWarn:!0});eo&&ne.release()}var io={isActive:function(){return Uu({expected:"PRE_DRAG",phase:Ue,isLockActive:Kt,shouldWarn:!1})},shouldRespectForcePress:ct,fluidLift:tr,snapLift:fr,abort:Pr};return io}var ds=[$r,Wl,vu];function Ds(ee){var ne=ee.contextId,re=ee.store,se=ee.registry,fe=ee.customSensors,ve=ee.enableDefaultSensors,Se=[].concat(ve?ds:[],fe||[]),Fe=(0,y.useState)(function(){return Rl()})[0],je=hn(function(tr,fr){tr.isDragging&&!fr.isDragging&&Fe.tryAbandon()},[Fe]);Oo(function(){var tr=re.getState(),fr=re.subscribe(function(){var Pr=re.getState();je(tr,Pr),tr=Pr});return fr},[Fe,re,je]),Oo(function(){return Fe.tryAbandon},[Fe.tryAbandon]);var et=hn(function(Na){return us({lockAPI:Fe,registry:se,store:re,draggableId:Na})},[Fe,se,re]),Xe=hn(function(Na,tr,fr){return ss({lockAPI:Fe,registry:se,contextId:ne,store:re,draggableId:Na,forceSensorStop:tr,sourceEvent:fr&&fr.sourceEvent?fr.sourceEvent:null})},[ne,Fe,se,re]),He=hn(function(Na){return fs(ne,Na)},[ne]),Ue=hn(function(Na){var tr=se.draggable.findById(Na);return tr?tr.options:null},[se.draggable]),ct=hn(function(){Fe.isClaimed()&&(Fe.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(kn()))},[Fe,re]),Kt=hn(Fe.isClaimed,[Fe]),da=Sa(function(){return{canGetLock:et,tryGetLock:Xe,findClosestDraggableId:He,findOptionsForDraggable:Ue,tryReleaseLock:ct,isLockClaimed:Kt}},[et,Xe,He,Ue,ct,Kt]);Vu(Se);for(var Ba=0;Ba=an||Math.abs(ne.y-ee.y)>=an}var Gr={type:"IDLE"};function Ar(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase,fe=ee.setPhase;return[{eventName:"mousemove",fn:function(Ae){var ye=Ae.button,je=Ae.clientX,$e=Ae.clientY;if(ye===Zu){var _e={x:je,y:$e},Ge=de();if(Ge.type==="DRAGGING"){Ae.preventDefault(),Ge.actions.move(_e);return}Ge.type!=="PENDING"&&Mt(!1);var Ve=Ge.point;if(aa(Ve,_e)){Ae.preventDefault();var dt=Ge.actions.fluidLift(_e);fe({type:"DRAGGING",actions:dt})}}}},{eventName:"mouseup",fn:function(Ae){var ye=de();if(ye.type!=="DRAGGING"){ne();return}Ae.preventDefault(),ye.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"mousedown",fn:function(Ae){de().type==="DRAGGING"&&Ae.preventDefault(),ne()}},{eventName:"keydown",fn:function(Ae){var ye=de();if(ye.type==="PENDING"){ne();return}if(Ae.keyCode===ml){Ae.preventDefault(),ne();return}bu(Ae)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(Ae){var ye=de();if(ye.type==="IDLE"&&Mt(!1),ye.actions.shouldRespectForcePress()){ne();return}Ae.preventDefault()}},{eventName:Qi,fn:ne}]}function ao(ee){var ne=(0,y.useRef)(Gr),re=(0,y.useRef)(ba),de=va(function(){return{eventName:"mousedown",fn:function(Ge){if(!Ge.defaultPrevented&&Ge.button===Zu&&!(Ge.ctrlKey||Ge.metaKey||Ge.shiftKey||Ge.altKey)){var Ve=ee.findClosestDraggableId(Ge);if(Ve){var dt=ee.tryGetLock(Ve,Ae,{sourceEvent:Ge});if(dt){Ge.preventDefault();var zt={x:Ge.clientX,y:Ge.clientY};re.current(),$e(dt,zt)}}}}}},[ee]),fe=va(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ge){if(!Ge.defaultPrevented){var Ve=ee.findClosestDraggableId(Ge);if(Ve){var dt=ee.findOptionsForDraggable(Ve);dt&&(dt.shouldRespectForcePress||ee.canGetLock(Ve)&&Ge.preventDefault())}}}}},[ee]),ve=En(function(){var Ge={passive:!1,capture:!0};re.current=Gt(window,[fe,de],Ge)},[fe,de]),Ae=En(function(){var _e=ne.current;_e.type!=="IDLE"&&(ne.current=Gr,re.current(),ve())},[ve]),ye=En(function(){var _e=ne.current;Ae(),_e.type==="DRAGGING"&&_e.actions.cancel({shouldBlockNextClick:!0}),_e.type==="PENDING"&&_e.actions.abort()},[Ae]),je=En(function(){var Ge={capture:!0,passive:!1},Ve=Ar({cancel:ye,completed:Ae,getPhase:function(){return ne.current},setPhase:function(zt){ne.current=zt}});re.current=Gt(window,Ve,Ge)},[ye,Ae]),$e=En(function(Ge,Ve){ne.current.type!=="IDLE"&&Mt(!1),ne.current={type:"PENDING",point:Ve,actions:Ge},je()},[je]);Rt(function(){return ve(),function(){re.current()}},[ve])}var Po;function hl(){}var Ao=(Po={},Po[di]=!0,Po[pi]=!0,Po[Ji]=!0,Po[Vl]=!0,Po);function Jl(ee,ne){function re(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(ve){if(ve.keyCode===ml){ve.preventDefault(),re();return}if(ve.keyCode===fl){ve.preventDefault(),de();return}if(ve.keyCode===Xi){ve.preventDefault(),ee.moveDown();return}if(ve.keyCode===Mi){ve.preventDefault(),ee.moveUp();return}if(ve.keyCode===Rl){ve.preventDefault(),ee.moveRight();return}if(ve.keyCode===Wi){ve.preventDefault(),ee.moveLeft();return}if(Ao[ve.keyCode]){ve.preventDefault();return}bu(ve)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:Qi,fn:re}]}function Ho(ee){var ne=(0,y.useRef)(hl),re=va(function(){return{eventName:"keydown",fn:function(ve){if(ve.defaultPrevented||ve.keyCode!==fl)return;var Ae=ee.findClosestDraggableId(ve);if(!Ae)return;var ye=ee.tryGetLock(Ae,_e,{sourceEvent:ve});if(!ye)return;ve.preventDefault();var je=!0,$e=ye.snapLift();ne.current();function _e(){je||Mt(!1),je=!1,ne.current(),de()}ne.current=Gt(window,Jl($e,_e),{capture:!0,passive:!1})}}},[ee]),de=En(function(){var ve={passive:!1,capture:!0};ne.current=Gt(window,[re],ve)},[re]);Rt(function(){return de(),function(){ne.current()}},[de])}var ci={type:"IDLE"},Eu=120,ns=.15;function fs(ee){var ne=ee.cancel,re=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(fe){fe.preventDefault()}},{eventName:"keydown",fn:function(fe){if(re().type!=="DRAGGING"){ne();return}fe.keyCode===ml&&fe.preventDefault(),ne()}},{eventName:Qi,fn:ne}]}function vs(ee){var ne=ee.cancel,re=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(ve){var Ae=de();if(Ae.type!=="DRAGGING"){ne();return}Ae.hasMoved=!0;var ye=ve.touches[0],je=ye.clientX,$e=ye.clientY,_e={x:je,y:$e};ve.preventDefault(),Ae.actions.move(_e)}},{eventName:"touchend",fn:function(ve){var Ae=de();if(Ae.type!=="DRAGGING"){ne();return}ve.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(ve){if(de().type!=="DRAGGING"){ne();return}ve.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(ve){var Ae=de();Ae.type==="IDLE"&&Mt(!1);var ye=ve.touches[0];if(ye){var je=ye.force>=ns;if(je){var $e=Ae.actions.shouldRespectForcePress();if(Ae.type==="PENDING"){$e&&ne();return}if($e){if(Ae.hasMoved){ve.preventDefault();return}ne();return}ve.preventDefault()}}}},{eventName:Qi,fn:ne}]}function qi(ee){var ne=(0,y.useRef)(ci),re=(0,y.useRef)(ba),de=En(function(){return ne.current},[]),fe=En(function(dt){ne.current=dt},[]),ve=va(function(){return{eventName:"touchstart",fn:function(dt){if(!dt.defaultPrevented){var zt=ee.findClosestDraggableId(dt);if(zt){var oa=ee.tryGetLock(zt,ye,{sourceEvent:dt});if(oa){var ha=dt.touches[0],Pa=ha.clientX,Wa=ha.clientY,ur={x:Pa,y:Wa};re.current(),Ge(oa,ur)}}}}}},[ee]),Ae=En(function(){var dt={capture:!0,passive:!1};re.current=Gt(window,[ve],dt)},[ve]),ye=En(function(){var Ve=ne.current;Ve.type!=="IDLE"&&(Ve.type==="PENDING"&&clearTimeout(Ve.longPressTimerId),fe(ci),re.current(),Ae())},[Ae,fe]),je=En(function(){var Ve=ne.current;ye(),Ve.type==="DRAGGING"&&Ve.actions.cancel({shouldBlockNextClick:!0}),Ve.type==="PENDING"&&Ve.actions.abort()},[ye]),$e=En(function(){var dt={capture:!0,passive:!1},zt={cancel:je,completed:ye,getPhase:de},oa=Gt(window,vs(zt),dt),ha=Gt(window,fs(zt),dt);re.current=function(){oa(),ha()}},[je,de,ye]),_e=En(function(){var dt=de();dt.type!=="PENDING"&&Mt(!1);var zt=dt.actions.fluidLift(dt.point);fe({type:"DRAGGING",actions:zt,hasMoved:!1})},[de,fe]),Ge=En(function(dt,zt){de().type!=="IDLE"&&Mt(!1);var oa=setTimeout(_e,Eu);fe({type:"PENDING",point:zt,actions:dt,longPressTimerId:oa}),$e()},[$e,de,fe,_e]);Rt(function(){return Ae(),function(){re.current();var zt=de();zt.type==="PENDING"&&(clearTimeout(zt.longPressTimerId),fe(ci))}},[de,Ae,fe]),Rt(function(){var dt=Gt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return dt},[])}function ps(ee){}var gu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Gu(ee,ne){if(ne==null)return!1;var re=!!gu[ne.tagName.toLowerCase()];if(re)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:Gu(ee,ne.parentElement)}function mu(ee,ne){var re=ne.target;return Or(re)?Gu(ee,re):!1}var as=function(ee){return Aa(ee.getBoundingClientRect()).center};function hs(ee){return ee instanceof Sn(ee).Element}var rs=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],re=ro(ne,function(de){return de in Element.prototype});return re||ee}();function Hu(ee,ne){return ee==null?null:ee[rs](ne)?ee:Hu(ee.parentElement,ne)}function Es(ee,ne){return ee.closest?ee.closest(ne):Hu(ee,ne)}function ra(ee){return"["+$t.contextId+'="'+ee+'"]'}function ir(ee,ne){var re=ne.target;if(!hs(re))return null;var de=ra(ee),fe=Es(re,de);return!fe||!Or(fe)?null:fe}function qr(ee,ne){var re=ir(ee,ne);return re?re.getAttribute($t.draggableId):null}function bo(ee,ne){var re="["+In.contextId+'="'+ee+'"]',de=Do(document.querySelectorAll(re)),fe=ro(de,function(ve){return ve.getAttribute(In.id)===ne});return!fe||!Or(fe)?null:fe}function Bo(ee){ee.preventDefault()}function Zr(ee){var ne=ee.expected,re=ee.phase,de=ee.isLockActive,fe=ee.shouldWarn;return!(!de()||ne!==re)}function lo(ee){var ne=ee.lockAPI,re=ee.store,de=ee.registry,fe=ee.draggableId;if(ne.isClaimed())return!1;var ve=de.draggable.findById(fe);return!(!ve||!ve.options.isEnabled||!fi(re.getState(),fe))}function Uo(ee){var ne=ee.lockAPI,re=ee.contextId,de=ee.store,fe=ee.registry,ve=ee.draggableId,Ae=ee.forceSensorStop,ye=ee.sourceEvent,je=lo({lockAPI:ne,store:de,registry:fe,draggableId:ve});if(!je)return null;var $e=fe.draggable.getById(ve),_e=bo(re,$e.descriptor.id);if(!_e||ye&&!$e.options.canDragInteractiveElements&&mu(_e,ye))return null;var Ge=ne.claim(Ae||ba),Ve="PRE_DRAG";function dt(){return $e.options.shouldRespectForcePress}function zt(){return ne.isActive(Ge)}function oa(uo,zo){Zr({expected:uo,phase:Ve,isLockActive:zt,shouldWarn:!0})&&de.dispatch(zo())}var ha=oa.bind(null,"DRAGGING");function Pa(uo){function zo(){ne.release(),Ve="COMPLETED"}Ve!=="PRE_DRAG"&&(zo(),Ve!=="PRE_DRAG"&&Mt(!1)),de.dispatch(ce(uo.liftActionArgs)),Ve="DRAGGING";function Wl(Yo,Ql){if(Ql===void 0&&(Ql={shouldBlockNextClick:!1}),uo.cleanup(),Ql.shouldBlockNextClick){var yi=Gt(window,[{eventName:"click",fn:Bo,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(yi)}zo(),de.dispatch(kn({reason:Yo}))}return(0,Fe.Z)({isActive:function(){return Zr({expected:"DRAGGING",phase:Ve,isLockActive:zt,shouldWarn:!1})},shouldRespectForcePress:dt,drop:function(Ql){return Wl("DROP",Ql)},cancel:function(Ql){return Wl("CANCEL",Ql)}},uo.actions)}function Wa(uo){var zo=Vn(function(Yo){ha(function(){return Lt({client:Yo})})}),Wl=Pa({liftActionArgs:{id:ve,clientSelection:uo,movementMode:"FLUID"},cleanup:function(){return zo.cancel()},actions:{move:zo}});return(0,Fe.Z)({},Wl,{move:zo})}function ur(){var uo={moveUp:function(){return ha(Xn)},moveRight:function(){return ha(gn)},moveDown:function(){return ha(ln)},moveLeft:function(){return ha(Tn)}};return Pa({liftActionArgs:{id:ve,clientSelection:as(_e),movementMode:"SNAP"},cleanup:ba,actions:uo})}function mr(){var uo=Zr({expected:"PRE_DRAG",phase:Ve,isLockActive:zt,shouldWarn:!0});uo&&ne.release()}var po={isActive:function(){return Zr({expected:"PRE_DRAG",phase:Ve,isLockActive:zt,shouldWarn:!1})},shouldRespectForcePress:dt,fluidLift:Wa,snapLift:ur,abort:mr};return po}var ri=[ao,Ho,qi];function Ui(ee){var ne=ee.contextId,re=ee.store,de=ee.registry,fe=ee.customSensors,ve=ee.enableDefaultSensors,Ae=[].concat(ve?ri:[],fe||[]),ye=(0,y.useState)(function(){return cu()})[0],je=En(function(Wa,ur){Wa.isDragging&&!ur.isDragging&&ye.tryAbandon()},[ye]);Rt(function(){var Wa=re.getState(),ur=re.subscribe(function(){var mr=re.getState();je(Wa,mr),Wa=mr});return ur},[ye,re,je]),Rt(function(){return ye.tryAbandon},[ye.tryAbandon]);var $e=En(function(Pa){return lo({lockAPI:ye,registry:de,store:re,draggableId:Pa})},[ye,de,re]),_e=En(function(Pa,Wa,ur){return Uo({lockAPI:ye,registry:de,contextId:ne,store:re,draggableId:Pa,forceSensorStop:Wa,sourceEvent:ur&&ur.sourceEvent?ur.sourceEvent:null})},[ne,ye,de,re]),Ge=En(function(Pa){return qr(ne,Pa)},[ne]),Ve=En(function(Pa){var Wa=de.draggable.findById(Pa);return Wa?Wa.options:null},[de.draggable]),dt=En(function(){ye.isClaimed()&&(ye.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(Rn()))},[ye,re]),zt=En(ye.isClaimed,[ye]),oa=va(function(){return{canGetLock:$e,tryGetLock:_e,findClosestDraggableId:Ge,findOptionsForDraggable:Ve,tryReleaseLock:dt,isLockClaimed:zt}},[$e,_e,Ge,Ve,dt,zt]);ps(Ae);for(var ha=0;haQe in tt?jc(tt,Qe,{enumerable:!0,configurable:!0,writable:!0,value:te}):tt[Qe]=te,Zu=(tt,Qe)=>{for(var te in Qe||(Qe={}))wc.call(Qe,te)&&Dc(tt,te,Qe[te]);if(ic)for(var te of ic(Qe))Lc.call(Qe,te)&&Dc(tt,te,Qe[te]);return tt},Cc=(tt,Qe)=>zc(tt,Zc(Qe));var Mc=(tt,Qe)=>{var te={};for(var b in tt)wc.call(tt,b)&&Qe.indexOf(b)<0&&(te[b]=tt[b]);if(tt!=null&&ic)for(var b of ic(tt))Qe.indexOf(b)<0&&Lc.call(tt,b)&&(te[b]=tt[b]);return te};(self.webpackChunk=self.webpackChunk||[]).push([[6776],{89489:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},59477:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},26227:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},49198:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},41464:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},87169:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},52671:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},8657:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},56082:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},33853:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},15075:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},43531:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},38819:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,b.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},96408:function(tt,Qe){"use strict";Qe.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},5006:function(tt,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___iyIe6",flex_space_between:"flex_space_between___g2WjG",flex_box_vertical_center:"flex_box_vertical_center___Tde0v",flex_box_center_end:"flex_box_center_end___W1D5W",flex_box_column:"flex_box_column___ZiFvs",bg:"bg___T2R2s",containerTitle:"containerTitle___yARn_",containerDesc:"containerDesc___fKSYF",menus:"menus___e8wtg",listItem:"listItem___s7xhg",info:"info___Hx2bW",title:"title___W7a1R",titleLeft:"titleLeft___C5r0w",titleRight:"titleRight___g5GZv",acitons:"acitons___H0RU0",move:"move___qYkSy",hideHeadCheckbox:"hideHeadCheckbox___Hq5gw",moveCategory:"moveCategory___bZSGQ",tabSearch:"tabSearch___NaKI4",warpModal:"warpModal___HLUgh",modalColumn:"modalColumn___F7R5w",modalRow:"modalRow___L6ghw",sup:"sup___VGKXV",name:"name___QMvgh"}},61191:function(tt,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},84511:function(tt,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},78677:function(tt,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___oQbDY",flex_space_between:"flex_space_between____4k1m",flex_box_vertical_center:"flex_box_vertical_center___iAGL_",flex_box_center_end:"flex_box_center_end___zhjgR",flex_box_column:"flex_box_column___bv7Ek",downloadbutton:"downloadbutton___FK4KV",configWorkContainer:"configWorkContainer___kXeIx"}},57951:function(tt,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___mwl85",flex_space_between:"flex_space_between___Ykig4",flex_box_vertical_center:"flex_box_vertical_center___q51y0",flex_box_center_end:"flex_box_center_end___w0r4J",flex_box_column:"flex_box_column___A_A7o",downloadbutton:"downloadbutton___x1b07",configWorkContainer:"configWorkContainer___AQoCT"}},42882:function(tt,Qe){"use strict";Qe.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeFormSty:"threeFormSty___OJPML"}},70414:function(tt,Qe,te){"use strict";var b=te(59301),re=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(je,Ie,Ne)=>Ie in je?re(je,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):je[Ie]=Ne,ue=(je,Ie)=>{for(var Ne in Ie||(Ie={}))Fe.call(Ie,Ne)&&xe(je,Ne,Ie[Ne]);if(Pe)for(var Ne of Pe(Ie))be.call(Ie,Ne)&&xe(je,Ne,Ie[Ne]);return je};const Oe=je=>React.createElement("svg",ue({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},je),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));Qe.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},25863:function(){"use strict";function tt(oe,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=oe,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(tt.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(tt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(tt.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(tt.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,a){var E=go.Shape._FigureParameters[oe];return E?E[a]:null},go.Shape.setFigureParameter=function(oe,a,E){if(!(E instanceof tt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var x=go.Shape._FigureParameters[oe];x||(x=[],go.Shape._FigureParameters[oe]=x),x[a]=E};var Qe=[];function te(oe,a){var E=Qe.pop();return E===void 0?new go.Point(oe,a):(E.x=oe,E.y=a,E)}function b(){var oe=Qe.pop();return oe===void 0?new go.Point:oe}function re(oe){Qe.push(oe)}function Pe(oe,a,E,x,y,z,ne,ae,le){le||(le=new go.Point);var ie=oe-E,de=y-ne,se=NaN,ce=NaN;if(ie===0)if(de===0)oe===E&&(se=oe,ce=a);else{var me=(z-ae)/de,ve=z-me*y;se=oe,ce=me*se+ve}else if(de===0){var Ee=(a-x)/ie,Je=a-Ee*oe;se=y,ce=Ee*se+Je}else{var Ee=(a-x)/ie,me=(z-ae)/de,Je=a-Ee*oe,ve=z-me*y;se=(ve-Je)/(Ee-me),ce=Ee*se+Je}return le.x=se,le.y=ce,le}function Fe(oe,a,E,x,y,z,ne,ae,le,ie,de,se,ce,me){var ve=1-le,Ee=le,Je=oe*ve+E*Ee,Me=a*ve+x*Ee,Ue=E*ve+y*Ee,Le=x*ve+z*Ee,ke=y*ve+ne*Ee,nt=z*ve+ae*Ee,pt=Je*ve+Ue*Ee,dt=Me*ve+Le*Ee,lt=Ue*ve+ke*Ee,Xe=Le*ve+nt*Ee,Pt=pt*ve+lt*Ee,Ge=dt*ve+Xe*Ee;ie.x=Je,ie.y=Me,de.x=pt,de.y=dt,se.x=Pt,se.y=Ge,ce.x=lt,ce.y=Xe,me.x=ke,me.y=nt}var be=new go.Spot(.156,.156),xe=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new tt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,a,E){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*ue,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(oe,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,a,E){var x=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=be,y.spot2=xe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(oe,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(oe,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,ue*a,0,a,(1-ue)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,ue*E,(1-ue)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,ue*E,ue*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-ue)*a,0,0,(1-ue)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new tt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(x=.5);var y=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,a/2+ae,a/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ae,ae).close())),z.spot1=be,z.spot2=xe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,a,E){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new tt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new tt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,a,E){var x=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ne=y%360,ae=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,z,ne,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,a,E){var x=ue/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,z*E,a,(1-x)*E,(y+x)*a,(z+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new tt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,a,E){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,a)/2,z=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new tt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,a,E){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,a)/2,z=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new tt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,a,E){var x=oe?oe.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var z=a/2,ne=E/2,ae=Math.atan2(E,a),le=x-Math.min(Math.cos(ae)*x/2,z),ie=x-Math.min(Math.sin(ae)*x/2,ne),y=new go.Geometry,de=new go.PathFigure(le,0,!0);return y.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,.2*E)),de.add(new go.PathSegment(go.PathSegment.Line,a-le,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,a,E-ie)),de.add(new go.PathSegment(go.PathSegment.Line,a-le,E)),de.add(new go.PathSegment(go.PathSegment.Line,z,.8*E)),de.add(new go.PathSegment(go.PathSegment.Line,le,E)),de.add(new go.PathSegment(go.PathSegment.Line,0,E-ie)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new tt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,a,E){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new tt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new tt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,ue*a,0,a,(.5-ue/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+ue/2)*E,ue*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var z=.2,ne=.3,ae=0,le=z*ue;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+z+ae)*E,(.5-z+ne)*a,(.5+le+ae)*E,(.5-le+ne)*a,(.5+z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*a,(.5+ae)*E,(.5+le+ne)*a,(.5+z+ae)*E,(.5+z+ne)*a,(.5+le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+ae)*E,(1-.5+z+ne)*a,(.5-le+ae)*E,(.5+le+ne)*a,(.5-z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-le+ne)*a,(.5-z+ae)*E,(.5-z+ne+.05)*a,(.5-le+ae-.02)*E)),z=.2,ne=0,ae=-.3,le=z*ue,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*a,(.5+ae)*E,(.5+le+ne)*a,(.5+z+ae)*E,(.5+z+ne)*a,(.5+le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+ae)*E,(1-.5+z+ne)*a,(.5-le+ae)*E,(.5+le+ne)*a,(.5-z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*a,(.5+ae)*E,(.5-le+ne)*a,(.5-z+ae)*E,(.5-z+ne)*a,(.5-le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ne)*a,(.5+z+ae)*E,(.5-z+ne)*a,(.5+le+ae)*E,(.5-le+ne)*a,(.5+z+ae)*E)),z=.2,ne=-.3,ae=0,le=z*ue,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+ae)*E,(1-.5+z+ne-.05)*a,(.5-le+ae-.02)*E,(.5+le+ne)*a,(.5-z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*a,(.5+ae)*E,(.5-le+ne)*a,(.5-z+ae)*E,(.5-z+ne)*a,(.5-le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+z+ae)*E,(.5-z+ne)*a,(.5+le+ae)*E,(.5-le+ne)*a,(.5+z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+le+ne)*a,(.5+z+ae)*E,(.5+z+ne)*a,(.5+le+ae)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ne=.5,ae=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*a,ae*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ne,E*ae,z*a,z*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ae=.75,y=new go.PathFigure((ne+z)*a,ae*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ne,E*ae,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(oe,a,E){var x=.8535533905932737,y=.5*a,z=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=.5,ne=.5,ae=.5,le=new go.PathFigure(ne*a,(ae-z)*E);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),z=.4,y=ue*.4;var ie=b(),de=b(),se=b(),ce=b();Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.42,ie,de,se,ce,ce);var me=b(),ve=b(),Ee=b();Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.58,ce,ce,Ee,me,ve);var Je=b(),Me=b(),Ue=b();Fe(ne,ae+z,ne-y,ae+z,ne-z,ae+y,ne-z,ae,.42,Je,Me,Ue,ce,ce);var Le=b(),ke=b(),nt=b();return Fe(ne,ae+z,ne-y,ae+z,ne-z,ae+y,ne-z,ae,.58,ce,ce,nt,Le,ke),le.add(new go.PathSegment(go.PathSegment.Move,nt.x*a,nt.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,Le.x*a,Le.y*E,ke.x*a,ke.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,se.x*a,se.y*E,ie.x*a,ie.y*E,de.x*a,de.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,nt.x*a,nt.y*E).close()),le.add(new go.PathSegment(go.PathSegment.Move,Ue.x*a,Ue.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,me.x*a,me.y*E,ve.x*a,ve.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*a,Ue.y*E,Je.x*a,Je.y*E,Me.x*a,Me.y*E).close()),re(ie),re(de),re(se),re(ce),re(me),re(ve),re(Ee),re(Je),re(Me),re(Ue),re(Le),re(ke),re(nt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new tt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,a,E){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,a,E){var x=new go.Geometry,y=ue*.4,z=.4,ne=.5,ae=.5,le=b(),ie=b(),de=b(),se=b(),ce=new go.PathFigure((ne-z)*a,ae*E,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.44,de,se,ie,le,le),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,de.x*a,de.y*E,se.x*a,se.y*E));var me=te(ie.x,ie.y);Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.56,le,le,ie,de,se);var ve=te(ie.x,ie.y);ce.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,(ve.y*.1+.05*.9)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,de.x*a,de.y*E,se.x*a,se.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),z=.35,y=ue*.35;var Ee=new go.PathFigure(ne*a,(ae-z)*E,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E));var Je=new go.PathFigure((ne-z)*a,ae*E,!1);return x.add(Je),re(le),re(ie),re(de),re(se),re(me),re(ve),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,a,E){var x=new go.Geometry,y=.375,z=0,ne=-.125,ae=y*ue,le=new go.PathFigure((.525+z)*a,(.5+y+ne)*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*a,(.5+ne)*E,(.5+ae+z)*a,(.5+y+ne)*E,(.5+y+z)*a,(.5+ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-y+ne)*E,(1-.5+y+z)*a,(.5-ae+ne)*E,(.5+ae+z)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-ae+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+y+ne)*E,(.5-y+z)*a,(.5+ae+ne)*E,(.5-ae+z)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,z=0,ne=-.125,ae=y*ue;var le=new go.PathFigure((1-.5+y+z)*a,(.5+ne)*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+y+ne)*E,(.5+y+z)*a,(.5+ae+ne)*E,(.5+ae+z)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-ae+z)*a,(.5+y+ne)*E,(.5-y+z)*a,(.5+ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-ae+ne)*E,(.5-ae+z)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*a,(.5+ne)*E,(.5+ae+z)*a,(.5-y+ne)*E,(1-.5+y+z)*a,(.5-ae+ne)*E));var le=new go.PathFigure((.525+z)*a,(.5+y+ne)*E,!1);return x.add(le),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,a,E){var x=oe?oe.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,a,E){var x=oe?oe.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,a,E){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new tt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new tt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*a,ne=(.5-y/2)*E,ae=(.5+y/2)*E,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),le.spot1=new go.Spot(0,ne/E);var de=Pe(0,ae/E,1,ae/E,z/a,1,1,.5,b());return le.spot2=new go.Spot(de.x,de.y),re(de),le}),go.Shape.setFigureParameter("Arrow2",0,new tt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new tt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var z=a-x,ne=(E-y)/2,ae=ne+y,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),le.spot1=new go.Spot(0,ne/E);var de=Pe(0,ae/E,1,ae/E,z/a,1,1,.5,b());return le.spot2=new go.Spot(de.x,de.y),re(de),le}),go.Shape.defineFigureGenerator("Chevron",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new tt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,z=(.5+x/2)*E,ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var le=Pe(0,.5,.3,0,0,y/E,.1,y/E,b());return ne.spot1=new go.Spot(le.x,le.y),le=Pe(.7,1,1,.5,0,z/E,1,z/E,le),ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new tt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new tt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var z=(E-x)/2,ne=z+x,ae=(E-y)/2,le=ae+y;(x>E||y>E)&&(y>x?(x=x*E/y,z=(E-x)/2,ne=z+x,ae=0,le=E):(z=0,ne=E,ae=0,le=E));var ie=new go.Geometry,de=new go.PathFigure(a,.5*E,!0);ie.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae).close());var se=Pe(0,.5,.3,ae/E,0,z/E,1,z/E,b());return ie.spot1=new go.Spot(se.x,se.y),se=Pe(.7,le/E,1,.5,0,ne/E,1,ne/E,se),ie.spot2=new go.Spot(se.x,se.y),re(se),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new tt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,z=(.5+x/2)*E,ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(0,y/E);var le=Pe(.7,1,1,.5,0,z/E,1,z/E,b());return ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new tt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new tt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var z=(E-x)/2,ne=z+x,ae=(E-y)/2,le=ae+y;(x>E||y>E)&&(y>x?(x=x*E/y,z=(E-x)/2,ne=z+x,ae=0,le=E):(z=0,ne=E,ae=0,le=E));var ie=new go.Geometry,de=new go.PathFigure(a,.5*E,!0);ie.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,0,le)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae).close()),ie.spot1=new go.Spot(0,z/E);var se=Pe(.7,le/E,1,.5,0,ne/E,1,ne/E,b());return ie.spot2=new go.Spot(se.x,se.y),re(se),ie}),go.Shape.setFigureParameter("Pointer",0,new tt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Pe(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),re(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new tt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var ne=Pe(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),re(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new tt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,z=(.5+x/2)*E,ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,.3);var le=Pe(.7,1,1,.5,0,z/E,1,z/E,b());return ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new tt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,z=y+x;x>E&&(y=0,z=E);var ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,y/E);var le=Pe(.7,1,1,.5,0,z/E,1,z/E,b());return ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("SquareArrow",0,new tt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=ue*.1,ne=new go.PathFigure(0,.9*E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var z=new go.PathFigure(0,.9*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var z=new go.PathFigure(.5*a,E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*x,(.5-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,ue*x)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-ue*x,(.5+z)*a,1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-z)*a,1*E,0,E-ue*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var ae=new go.PathFigure(a,x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ue*x,(.5+z)*a,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-ue*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(0,E-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*x,(.5-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,ue*x)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-ue*x,(.5+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-z)*a,E,0,E-ue*x));var ae=new go.PathFigure(0,E-x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-ue*x,(.5-z)*a,E-2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+z)*a,E-2*x,a,E-x-ue*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ue*x,0,a,(.5-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+z)*E,a-ue*x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ue*x,E,0,(.5+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*E,ue*x,0));var ae=new go.PathFigure(x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+ue*x,0,2*x,(.5-z)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+z)*E,x+ue*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(a-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ue*x,0,a,(.5-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+z)*E,a-ue*x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ue*x,E,0,(.5+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*E,ue*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ae=new go.PathFigure(a-x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-ue*x,0,a-2*x,(.5-z)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+z)*E,a-x-ue*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(.25*a,.25*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(oe,a,E){var x=new go.Geometry,y=.2,z=.1,ne=ue*y,ae=ue*z,le=.5,ie=.1,de=new go.PathFigure(le*a,(ie+z)*E,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(le-y)*a,ie*E,(le-ne)*a,(ie+z)*E,(le-y)*a,(ie+ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-z)*E,(le-y)*a,(ie-ae)*E,(le-ne)*a,(ie-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(le+y)*a,ie*E,(le+ne)*a,(ie-z)*E,(le+y)*a,(ie-ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+z)*E,(le+y)*a,(ie+ae)*E,(le+ne)*a,(ie+z)*E));var se=.05,ce=ue*se;le=.05,ie=.25;var me=new go.PathFigure(.5*a,.2*E,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),le=.95,ie=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(le+se)*a,ie*E,(le+ce)*a,(ie-se)*E,(le+se)*a,(ie-ce)*E)),me.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),se=.025,ce=ue*se,le=.825,ie=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le+se)*a,(ie-ce)*E,(le+ce)*a,(ie-se)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-se)*a,ie*E,(le-ce)*a,(ie-se)*E,(le-se)*a,(ie-ce)*E)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),se=.05,ce=ue*se,le=.5,ie=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le+se)*a,(ie-ce)*E,(le+ce)*a,(ie-se)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-se)*a,ie*E,(le-ce)*a,(ie-se)*E,(le-se)*a,(ie-ce)*E)),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),se=.025,ce=ue*se,le=.175,ie=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le+se)*a,(ie-ce)*E,(le+ce)*a,(ie-se)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-se)*a,ie*E,(le-ce)*a,(ie-se)*E,(le-se)*a,(ie-ce)*E)),me.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),me.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),me.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),se=.05,ce=ue*se,le=.05,ie=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le-se)*a,(ie-ce)*E,(le-ce)*a,(ie-se)*E)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new tt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,a,E){var x=oe?oe.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(a,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*E)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var z=new go.PathFigure(.5*a,.5*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("Database",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=ue*.1,ne=new go.PathFigure(a,.1*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-z)*E));var ae=new go.PathFigure(a,.1*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+z)*E,(.5+y)*a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+z)*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+z)*E,(.5+y)*a,.3*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+z)*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+z)*E,(.5+y)*a,.4*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+z)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=ue*.1,ne=new go.PathFigure(a,.1*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-z)*E));var ae=new go.PathFigure(a,.1*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+z)*E,(.5+y)*a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+z)*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+z)*E,(.5+y)*a,.3*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+z)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=ue*.2,ne=new go.PathFigure(0,.2*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*E,(.2-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+z)*a,0,a,(.2-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+z)*E,(.8+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-z)*a,E,0,(.8+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var ae=new go.PathFigure(0,y*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(oe,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var z=new go.PathFigure(.1*a,.4*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var z=new go.PathFigure(a,.5*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E));var ne=new go.PathFigure(a,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ae=new go.PathFigure(y*a,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ae.add(new go.PathSegment(go.PathSegment.Move,0,z*E)),ae.add(new go.PathSegment(go.PathSegment.Line,a,z*E)),x}),go.Shape.defineFigureGenerator("Junction",function(oe,a,E){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=ue*.5,ae=.5,le=new go.PathFigure(a,ae*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,E,a,(ae+ne)*E,(ae+ne)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*E,(ae-ne)*a,E,0,(ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,0,0,(ae-ne)*E,(ae-ne)*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,ae*E,(ae+ne)*a,0,a,(ae-ne)*E));var ie=new go.PathFigure((z+y)*a,(z+y)*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*a,z*E)),ie.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*a,z*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=.5,ne=new go.PathFigure(.5*a,E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*E,a,(z+y)*E,(z+y)*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(oe,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var z=new go.PathFigure(.2*a,.1*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var ae=new go.PathFigure(.5*y*a,y*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=.5,ne=new go.PathFigure(a,z*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,a,(z+y)*E,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E));var ae=new go.PathFigure(a,.5*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(oe,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure((1-y)*a,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x}),go.Shape.defineFigureGenerator("Process",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var ne=new go.PathFigure(y*a,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,a,E){var x=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=.5,ne=new go.PathFigure(a,z*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,a,(z+y)*E,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E));var ae=new go.PathFigure(a,z*E,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,z*E));var le=new go.PathFigure(.8*a,.75*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),x}),go.Shape.defineFigureGenerator("Inverter",function(oe,a,E){var x=new go.Geometry,y=ue*.1,z=.1,ne=.9,ae=.5,le=new go.PathFigure(.8*a,.5*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,E)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ie=new go.PathFigure((ne+z)*a,ae*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae-z)*E,(ne+z)*a,(ae-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=ue*.4,ne=ue*.1,ae=.1,le=.9,ie=.5,de=new go.PathFigure(.8*a,.5*E,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+z)*E,(.4+y)*a,E)),de.add(new go.PathSegment(go.PathSegment.Line,0,E)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-z)*E));var se=new go.PathFigure((le+ae)*a,ie*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ae)*E,(le+ae)*a,(ie+ne)*E,(le+ne)*a,(ie+ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a,ie*E,(le-ne)*a,(ie+ae)*E,(le-ae)*a,(ie+ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ae)*E,(le-ae)*a,(ie-ne)*E,(le-ne)*a,(ie-ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a,ie*E,(le+ne)*a,(ie-ae)*E,(le+ae)*a,(ie-ne)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*y,ne=0,ae=.5,le=new go.PathFigure(.8*a,.5*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+z)*a,(ae-y)*E,.7*a,(ae-z)*E)),y=.1,z=ue*.1,ne=.9,ae=.5;var ie=new go.PathFigure((ne-y)*a,ae*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*y,ne=0,ae=.5,le=new go.PathFigure(0,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+z+z)*a,(ae-y)*E,.8*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(ae+z)*E,(ne+z+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*y,ne=.2,ae=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.8*a,.5*E,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+z)*a,(ae-y)*E,.7*a,(ae-z)*E)),y=.1,z=ue*.1,ne=.9,ae=.5;var de=new go.PathFigure((ne-y)*a,ae*E,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*y,ne=.2,ae=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.2*a,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+z)*a,(ae-y)*E,.9*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Resistor",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),x}),go.Shape.defineFigureGenerator("Inductor",function(oe,a,E){var x=new go.Geometry,y=ue*.1,z=.1,ne=.1,ae=.5,le=new go.PathFigure((ne-y*.5)*a,E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*a,E,(ne+z)*a,0,(ne+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,a,E){var x=new go.Geometry,y=ue*.5,z=.5,ne=.5,ae=.5,le=new go.PathFigure((ne-z)*a,ae*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae-z)*E,(ne+z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*a,ae*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*a,ae*E,ne*a,(ae-z)*E,ne*a,(ae+z)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Diode",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(oe,a,E){var x=new go.Geometry,y=a,z=E;a=a*.38,E=E*.6;var ne=ue*.8,ae=.8,le=0,ie=.5,de=(y-a)/2,se=(z-E)/2,ce=new go.PathFigure(le*a+de,(ie+ae)*E+se,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a+de,ie*E+se,(le-ne)*a+de,(ie+ae)*E+se,(le-ae)*a+de,(ie+ne)*E+se)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le-ae)*a+de,(ie-ne)*E+se,(le-ne)*a+de,(ie-ae)*E+se)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae+ne*.5)*a+de,ie*E+se,le*a+de,(ie-ae)*E+se,(le-ae+ne*.5)*a+de,(ie-ne)*E+se)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le-ae+ne*.5)*a+de,(ie+ne)*E+se,le*a+de,(ie+ae)*E+se).close()),ne=ue*.4,ae=.4,le=.2,ie=.5;var me=new go.PathFigure(le*a+de,(ie+ae)*E+se,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a+de,ie*E+se,(le-ne)*a+de,(ie+ae)*E+se,(le-ae)*a+de,(ie+ne)*E+se)),me.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le-ae)*a+de,(ie-ne)*E+se,(le-ne)*a+de,(ie-ae)*E+se)),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae+ne*.5)*a+de,ie*E+se,le*a+de,(ie-ae)*E+se,(le-ae+ne*.5)*a+de,(ie-ne)*E+se)),me.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le-ae+ne*.5)*a+de,(ie+ne)*E+se,le*a+de,(ie+ae)*E+se).close()),ne=ue*.2,ae=.2,le=.5,ie=.5;var ve=new go.PathFigure((le-ae)*a+de,ie*E+se,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le-ae)*a+de,(ie-ne)*E+se,(le-ne)*a+de,(ie-ae)*E+se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a+de,ie*E+se,(le+ne)*a+de,(ie-ae)*E+se,(le+ae)*a+de,(ie-ne)*E+se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le+ae)*a+de,(ie+ne)*E+se,(le+ne)*a+de,(ie+ae)*E+se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a+de,ie*E+se,(le-ne)*a+de,(ie+ae)*E+se,(le-ae)*a+de,(ie+ne)*E+se)),ne=ue*.4,ae=.4,le=.8,ie=.5;var Ee=new go.PathFigure(le*a+de,(ie-ae)*E+se,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a+de,ie*E+se,(le+ne)*a+de,(ie-ae)*E+se,(le+ae)*a+de,(ie-ne)*E+se)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le+ae)*a+de,(ie+ne)*E+se,(le+ne)*a+de,(ie+ae)*E+se)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae-ne*.5)*a+de,ie*E+se,le*a+de,(ie+ae)*E+se,(le+ae-ne*.5)*a+de,(ie+ne)*E+se)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le+ae-ne*.5)*a+de,(ie-ne)*E+se,le*a+de,(ie-ae)*E+se).close()),ne=ue*.8,ae=.8,le=1,ie=.5;var Je=new go.PathFigure(le*a+de,(ie-ae)*E+se,!0);return x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a+de,ie*E+se,(le+ne)*a+de,(ie-ae)*E+se,(le+ae)*a+de,(ie-ne)*E+se)),Je.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le+ae)*a+de,(ie+ne)*E+se,(le+ne)*a+de,(ie+ae)*E+se)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae-ne*.5)*a+de,ie*E+se,le*a+de,(ie+ae)*E+se,(le+ae-ne*.5)*a+de,(ie+ne)*E+se)),Je.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le+ae-ne*.5)*a+de,(ie-ne)*E+se,le*a+de,(ie-ae)*E+se).close()),x}),go.Shape.defineFigureGenerator("Email",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),x}),go.Shape.defineFigureGenerator("Ethernet",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,E,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var ne=new go.PathFigure(.6*a,E,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var ae=new go.PathFigure(0,.5*E,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(oe,a,E){var x=new go.Geometry,y=ue*.4,z=.4,ne=.5,ae=.5,le=b(),ie=b(),de=b(),se=b();Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.5,le,le,ie,de,se);var ce=te(ie.x,ie.y),me=new go.PathFigure(ie.x*a,ie.y*E,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,de.x*a,de.y*E,se.x*a,se.y*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),Fe(ne-z,ae,ne-z,ae-y,ne-y,ae-z,ne,ae-z,.5,de,se,ie,le,le),me.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,de.x*a,de.y*E,se.x*a,se.y*E)),y=ue*.3,z=.3,Fe(ne-z,ae,ne-z,ae-y,ne-y,ae-z,ne,ae-z,.5,de,se,ie,le,le),me.add(new go.PathSegment(go.PathSegment.Line,ie.x*a,ie.y*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,se.x*a,se.y*E,de.x*a,de.y*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.5,le,le,ie,de,se),me.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,se.x*a,se.y*E,de.x*a,de.y*E).close());var me=new go.PathFigure(.45*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),re(le),re(ie),re(de),re(se),re(ce),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function z(ne,ae,le){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*a,(.8+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*a,(.8+le)*E).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,a,E){var x=new go.Geometry,y=.5,z=0,ne=0,ae=y*ue,le=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,de=1,se=.5,ce=.5,me=0,ve=new go.PathFigure(le*a,(1-ie)*E,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,se*E,de*a,.7*E,de*a,se*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+z)*a,(me+z)*E,(.5+y+z)*a,(.5-ae+z)*E,(.5+ae+z)*a,(.5-y+z)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-ae+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-ae+ne)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*E,(.5-y+z)*a,(.5+ae+ne)*E,(.5-ae+z)*a,.9*E)),ve.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*E)),ve.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*E)),ve.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(a,E,!1);x.add(z);var ne=new go.PathFigure(0,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var z=new go.PathFigure(.45*a,.73*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*a,(1-.555)*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var ne=.5-.285,ae=.5,le=ne,ie=Math.PI/4,de=4*(1-Math.cos(ie))/(3*Math.sin(ie)),se=de*.5,ce=ne,me=ne,ve=de*ce,Ee=de*me;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*a,le*E,(ae-(ve+ce)/2)*a,(le+(me+Ee)/2)*E,(ae-ce)*a,(le+Ee)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-me)*E,(ae-ce)*a,(le-Ee)*E,(ae-ve)*a,(le-me)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ce)*a,le*E,(ae+ve)*a,(le-me)*E,(ae+ce)*a,(le-Ee)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(ae+ce)*a,(le+Ee)*E,(ae+(ve+ce)/2)*a,(le+(me+Ee)/2)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var Je=new go.PathFigure(.2*a,E,!1);x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var Me=new go.PathFigure(.8*a,E,!1);return x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.2*a,.2*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(a,E,!1);x.add(z);var ne=new go.PathFigure(.1*a,E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Caution",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,z*a,z*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),x}),go.Shape.defineFigureGenerator("Recycle",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var z=new go.PathFigure(.475*a,.2*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var ne=new go.PathFigure(.675*a,.575*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*.5,ne=new go.PathFigure(a,y*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+z)*E,(y+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-z)*a,E,0,(y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-z)*E,(y-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+z)*a,0,a,(y-z)*E));var ae=new go.PathFigure(y*a,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),ae.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),ae.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),ae.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,.15*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(0,.5*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var z=new go.PathFigure(0,.2*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var ne=new go.PathFigure(0,.6*E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var z=new go.PathFigure(.15*a,.6*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var ne=.1,ae=ue*.1,le=.2,ie=.9,de=new go.PathFigure((le-ne)*a,ie*E,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-ae)*E,(le-ae)*a,(ie-ne)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+ae)*a,(ie-ne)*E,(le+ne)*a,(ie-ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+ae)*E,(le+ae)*a,(ie+ne)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-ae)*a,(ie+ne)*E,(le-ne)*a,(ie+ae)*E).close()),ne=.1,ae=ue*.1,le=.8,ie=.9;var se=new go.PathFigure((le-ne)*a,ie*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-ae)*E,(le-ae)*a,(ie-ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+ae)*a,(ie-ne)*E,(le+ne)*a,(ie-ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+ae)*E,(le+ae)*a,(ie+ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-ae)*a,(ie+ne)*E,(le-ne)*a,(ie+ae)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),x}),go.Shape.defineFigureGenerator("Forklift",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ne=new go.PathFigure(.5*a,.8*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var ae=new go.PathFigure(.5*a,.7*E,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var le=.1,ie=ue*.1,de=.1,se=.9,ce=new go.PathFigure((de-le)*a,se*E,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se-le)*E,(de-le)*a,(se-ie)*E,(de-ie)*a,(se-le)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,se*E,(de+ie)*a,(se-le)*E,(de+le)*a,(se-ie)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se+le)*E,(de+le)*a,(se+ie)*E,(de+ie)*a,(se+le)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,se*E,(de-ie)*a,(se+le)*E,(de-le)*a,(se+ie)*E)),le=.1,ie=ue*.1,de=.4,se=.9;var me=new go.PathFigure((de-le)*a,se*E,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se-le)*E,(de-le)*a,(se-ie)*E,(de-ie)*a,(se-le)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,se*E,(de+ie)*a,(se-le)*E,(de+le)*a,(se-ie)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se+le)*E,(de+le)*a,(se+ie)*E,(de+ie)*a,(se+le)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,se*E,(de-ie)*a,(se+le)*E,(de-le)*a,(se+ie)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var z=new go.PathFigure(.45*a,.7*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ne=new go.PathFigure(.55*a,.4*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var de=.05,se=ue*.05,ce=.175,me=.95,ae=new go.PathFigure((ce-de)*a,me*E,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-de)*E,(ce-de)*a,(me-se)*E,(ce-se)*a,(me-de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,me*E,(ce+se)*a,(me-de)*E,(ce+de)*a,(me-se)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+de)*E,(ce+de)*a,(me+se)*E,(ce+se)*a,(me+de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,me*E,(ce-se)*a,(me+de)*E,(ce-de)*a,(me+se)*E));var de=.05,se=ue*.05,ce=.375,me=.95,le=new go.PathFigure((ce-de)*a,me*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-de)*E,(ce-de)*a,(me-se)*E,(ce-se)*a,(me-de)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,me*E,(ce+se)*a,(me-de)*E,(ce+de)*a,(me-se)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+de)*E,(ce+de)*a,(me+se)*E,(ce+se)*a,(me+de)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,me*E,(ce-se)*a,(me+de)*E,(ce-de)*a,(me+se)*E));var de=.05,se=ue*.05,ce=.625,me=.95,ie=new go.PathFigure((ce-de)*a,me*E,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-de)*E,(ce-de)*a,(me-se)*E,(ce-se)*a,(me-de)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,me*E,(ce+se)*a,(me-de)*E,(ce+de)*a,(me-se)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+de)*E,(ce+de)*a,(me+se)*E,(ce+se)*a,(me+de)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,me*E,(ce-se)*a,(me+de)*E,(ce-de)*a,(me+se)*E));var de=.05,se=ue*.05,ce=.825,me=.95,ve=new go.PathFigure((ce-de)*a,me*E,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-de)*E,(ce-de)*a,(me-se)*E,(ce-se)*a,(me-de)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,me*E,(ce+se)*a,(me-de)*E,(ce+de)*a,(me-se)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+de)*E,(ce+de)*a,(me+se)*E,(ce+se)*a,(me+de)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,me*E,(ce-se)*a,(me+de)*E,(ce-de)*a,(me+se)*E).close());var Ee=new go.PathFigure(0,E,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(.15*a,E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var ae=.05,le=ue*.05,ie=.35,de=.775,se=new go.PathFigure((ie-ae)*a,de*E,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(de-ae)*E,(ie-ae)*a,(de-le)*E,(ie-le)*a,(de-ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*a,de*E,(ie+le)*a,(de-ae)*E,(ie+ae)*a,(de-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(de+ae)*E,(ie+ae)*a,(de+le)*E,(ie+le)*a,(de+ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*a,de*E,(ie-le)*a,(de+ae)*E,(ie-ae)*a,(de+le)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Globe",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),x}),go.Shape.defineFigureGenerator("Wave",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),x}),go.Shape.defineFigureGenerator("Operator",function(oe,a,E){var x=new go.Geometry,y=.3,z=ue*.3,ne=.5,ae=.7,le=new go.PathFigure((ne-y)*a,ae*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E));var ie=new go.PathFigure(0,.7*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var z=new go.PathFigure(0,.6*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*.5,ne=.5,ae=.5,le=new go.PathFigure((ne-y)*a,ae*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E));var ie=new go.PathFigure(.15*a,.5*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),x}),go.Shape.defineFigureGenerator("Help",function(oe,a,E){var x=new go.Geometry,y=.5,z=ue*.5,ne=.5,ae=.5,le=new go.PathFigure((ne-y)*a,ae*E,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E).close()),y=.05,z=ue*.05,ne=.5,ae=.8;var ie=new go.PathFigure((ne-y)*a,ae*E,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.2*a,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),x}),go.Shape.defineFigureGenerator("Unlocked",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.2*a,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),x}),go.Shape.defineFigureGenerator("Gear",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),x}),go.Shape.defineFigureGenerator("Map",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),x}),go.Shape.defineFigureGenerator("Eject",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var z=new go.PathFigure(0,E*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var z=new go.PathFigure(.126*a,.85*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var ne=new go.PathFigure(.402*a,.85*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var ae=new go.PathFigure(.678*a,.85*E,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var le=new go.PathFigure(.5*a,.1*E,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),le.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var z=new go.PathFigure(a*.204,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var ne=new go.PathFigure(a*.408,E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var ae=new go.PathFigure(a*.612,E,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var le=new go.PathFigure(a*.816,E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var ne=new go.PathFigure(a*.055,.13*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var ae=new go.PathFigure(a*.055,.18*E,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var le=new go.PathFigure(a*1,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),x}),go.Shape.defineFigureGenerator("Key",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var ne=new go.PathFigure(a*.11,E*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var ae=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var le=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,a,E){var x=new go.Geometry,y=8,z=y*ue,ne=new go.PathFigure(y,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-z,a-z,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,z,E,0,E-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ae=new go.PathFigure(a*.83,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var le=new go.PathFigure(a*.83,E*1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ie=new go.PathFigure(a*.78,E*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,a,E){var x=oe?oe.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*ue,z=E*.8,ne=new go.Geometry,ae=new go.PathFigure(x,0,!0);return ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-y,a-y,z)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var z=new go.PathFigure(a*1,E*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var z=new go.PathFigure(a*.1,E*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var ne=new go.PathFigure(a*.28,E*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(oe,a,E){var x=new go.Geometry,y=15,z=y*ue,ne=new go.PathFigure(a*.62,E*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-z,a-z,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,z,E,0,E-z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close());var ne=new go.PathFigure(a*.4,E*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close());var ne=new go.PathFigure(a*.5,E*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var z=new go.PathFigure(a*.235,E*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(oe,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var tt={},Qe="5.0",te={},b=null,re=!1,Pe=!1,Fe=null,be=!1,xe=null,ue=null,Oe=0;Oe4?parseFloat(Te):5};tt.setHTML5Codebase=function(Te,We){ue=Te,Xe(Te,We)},tt.setJavaCodebase=tt.setJavaCodebaseVersion=tt.isCompiledInstalled=tt.setPreCompiledScriptPath=tt.setPreCompiledResourcePath=function(){},tt.setHTML5CodebaseVersion=function(Te,We){var vt=parseFloat(Te);if(vt!==NaN&&vt<5){console.log("The GeoGebra HTML5 codebase version "+vt+" is deprecated. Using version latest instead.");return}xe=Te,lt(Te,We)},tt.getHTML5CodebaseVersion=function(){return oe},tt.getParameters=function(){return te},tt.setFontsCSSURL=function(Te){ne=Te},tt.setGiacJSURL=function(Te){},tt.setJNLPFile=function(Te){Ie=Te},tt.setJNLPBaseDir=function(Te){},tt.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var We="auto",vt=te.id,It,mt=!1,Pn=0;Pn=5)return!0;var Te=tt.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},tt.startAnimation=function(){var Te=tt.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},tt.stopAnimation=function(){var Te=tt.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},tt.getAppletObject=function(){var Te=te.id!==void 0?te.id:"ggbApplet";return window[Te]},tt.resize=function(){};var ve=function(Te,We,vt){var It=document.createElement("param");It.setAttribute("name",We),It.setAttribute("value",vt),Te.appendChild(It)},Ee=function(Te){return Te&&Te!=="false"},Je=function(Te,We,vt){le(oe)<=4.2&&(vt=!0);var It=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(It=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mt=document.createElement("div");mt.classList.add("appletParameters","notranslate");var Pn=We.width,Ze=We.height;if(We.disableAutoScale=We.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():We.disableAutoScale,We.width!==void 0)if(le(oe)<=4.4)Ee(We.showToolBar)&&(We.height-=7),Ee(We.showAlgebraInput)&&(We.height-=37),We.width<605&&Ee(We.showToolBar)&&(We.width=605,Pn=605);else{var Ft=100;(Ee(We.showToolBar)||Ee(We.showMenuBar))&&(We.hasOwnProperty("customToolBar")&&(We.customToolbar=We.customToolBar),Ft=Ee(We.showMenuBar)?245:155),Pn=5?(We.appletOnLoad=function(ze){var Et=Te.querySelector(".ggb_preview");Et&&Et.parentNode.removeChild(Et),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(En),window.GGBT_wsf_view&&$(window).trigger("resize"),dn(ze)},it||En.appendChild(ft)):mt.appendChild(ft),En.appendChild(mt),it||Te.appendChild(En),setTimeout(function(){tt.resize()},1)}else{var _e=document.createElement("div");_e.className="applet_scaler",_e.style.position="relative",_e.style.display="block",_e.appendChild(mt),Te.appendChild(_e),We.appletOnLoad=function(ze){tt.resize(),dn(ze)}}function Be(ze,Et){Et&&typeof Et.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ze,Et.appletOnLoad):renderGGBElement(ze),Pt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Et)}function ot(ze,Et){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ze,params:Et}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(An){Be(An.article,An.params)}),html5AppletsToProcess=null)},le(oe)<5&&(ze.className+=" geogebraweb")):Be(ze,Et)}if(It){scriptLoadStarted=!0;for(var ct=0;ct0?(Ut.remove(),En.attr("id","fullscreencontent").show(),jQuery(dn).append(En),window.dispatchEvent(new Event("resize"))):Je(Ut,We,!1),window.GGBT_wsf_view.launchFullScreen(dn)}else fe=It,Je(Te,We,!1);if(!window.GGBT_wsf_view)for(Ze=0;ZeTe/4*3&&(Ut=Te/4*3),dn=Ut/5.8,Ft.setAttribute("src",y),Ft.setAttribute("width",Ut),Ft.setAttribute("height",dn);var En=(Te-Ut)/2,it=(We-dn)/2;Ft.style.left=En+"px",Ft.style.top=it+"px",mt.appendChild(Ft)}}return mt.appendChild(Ze),mt},pt=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},dt=["web","webSimple","web3d","tablet","tablet3d","phone"],lt=function(Te,We){if(oe=Te,We){Xe(oe,!0);return}var vt=!re;if(vt){var It=le(oe);!isNaN(It)&&It<4.4&&(vt=!1)}var mt,Pn;window.location.protocol.substr(0,4)==="http"?mt=window.location.protocol:mt="http:";var Ze=oe.indexOf("//");Ze>0?Pn=oe:Ze===0?Pn=mt+oe:Pn="https://www.geogebra.org/apps/5.2.814.0/";for(var Ft in dt)if(oe.slice(dt[Ft].length*-1)===dt[Ft]||oe.slice((dt[Ft].length+1)*-1)===dt[Ft]+"/"){Xe(Pn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&vt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Ee(te.showToolBar)&&!Ee(te.showMenuBar)&&!Ee(te.showAlgebraInput)&&!Ee(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Pn+="webSimple/":Pn+="web3d/",Xe(Pn,!1)},Xe=function(Te,We){if(Te.requirejs){Ne=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),Ne=Te,We===null&&(We=Te.indexOf("http")===-1),De=We,a="web.nocache.js",E=!1;var vt=Ne.split("/");vt.length>1&&(!We&&vt[vt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):dt.indexOf(vt[vt.length-2])>=0&&(a=vt[vt.length-2]+".nocache.js")),vt=Te.split("/"),oe=vt[vt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var It=parseFloat(oe);It!==NaN&&It<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+It+" is deprecated. Using version latest instead."),lt("5.0",We))},Pt=function(Te,We){window.console&&window.console.log&&(!We||typeof We.showLogging=="undefined"||We.showLogging&&We.showLogging!=="false")&&console.log(Te)};te.material_id!==void 0?se(Ge):Ge();function Ge(){var Te=Qe;xe!==null?Te=xe:parseFloat(Te)<5&&(Te="5.0"),lt(Te,!1),ue!==null&&Xe(ue,De),be=!0}return tt},GGBAppletUtils=function(){"use strict";function tt(){return window.GGBT_wsf_edit!==void 0}function Qe(be,xe){xe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+xe+","+xe+")",be.style.webkitTransform="scale("+xe+","+xe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function te(be,xe,ue,Oe,je,Ie){var Ne=null;if(Ie!=null&&Ie!="")for(var De=be.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+Ie+" ")>-1){Ne=De;break}else De=De.parentNode;var fe=0,oe=0,a=0,E=0,x=0,y=0,z=0;if(Ne)fe=Ne.offsetWidth,oe=Math.max(Oe?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(fe=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),a=fe):(fe=window.innerWidth,oe=window.innerHeight,a=window.innerWidth),be){var ne=be.getBoundingClientRect();ne.left>0&&ne.left<=fe&&(je===void 0||!je)&&(document.dir==="rtl"?(x=fe-ne.width-ne.left,y=a<=480?10:30):(y=ne.left,x=a<=480?10:30),E=y+x)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,z=40)}}return be&&((ue===void 0||!ue)&&xe>0&&xe+E1&&(Ie=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ie=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))je=b(be,xe,Ie,ue,be.scaleContainerClass);else return Oe;return Ie&&(!be.hasOwnProperty("scale")||Oe===1)?je:Math.min(Oe,je)}function Pe(be){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=be.getBoundingClientRect(),je=(xe-Oe.width)/2,Ie=(ue-Oe.height)/2;Ie<0&&(Ie=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?be.style.left="40px":be.style.left=je+"px",be.style.top=Ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ie<40?be.style.top="40px":be.style.top=Ie+"px",be.style.left=je+"px")}function Fe(be,xe){var ue=be.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var Oe=re(xe,be);tt()&&ue.setAttribute("data-param-scale",Oe);for(var je=null,Ie=0;Ie=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(tt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(tt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(tt){var Qe=c[tt];return Qe==null?null:Qe},r=d,webModule.__errFn=e}function B(){function tt(be){var xe=be.lastIndexOf(rb);xe==-1&&(xe=be.length);var ue=be.indexOf(sb);ue==-1&&(ue=be.length);var Oe=be.lastIndexOf(tb,Math.min(ue,xe));return Oe>=O?be.substring(O,Oe+P):W}function Qe(be){if(!be.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=be+vb,be=tt(xe.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function b(){for(var be=o.getElementsByTagName(_),xe=O;xeO?be[be.length-P].href:W}function Pe(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Fe=te();return Fe==W&&(Fe=b()),Fe==W&&(Fe=re()),Fe==W&&Pe()&&(Fe=tt(o.location.href)),Fe=Qe(Fe),Fe}function C(tt){return tt.match(/^\//)||tt.match(/^[a-zA-Z]+:\/\//)?tt:webModule.__moduleBase+tt}function D(){var tt=[],Qe=O,te=[],b=[];function re(be){var xe=b[be](),ue=te[be];if(xe in ue)return xe;var Oe=[];for(var je in ue)Oe[ue[je]]=je;throw r&&r(be,Oe,xe),null}if(__gwt_isKnownPropertyValue=function(be,xe){return xe in te[be]},webModule.__getPropMap=function(){var be={};for(var xe in te)te.hasOwnProperty(xe)&&(be[xe]=re(xe));return be},webModule.__computePropValue=re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Pe;try{Pe=Cb;var Fe=Pe.indexOf(Db);Fe!=-1&&(Qe=parseInt(Pe.substring(Fe+P),$),Pe=Pe.substring(O,Fe))}catch(be){}return webModule.__softPermutationId=Qe,C(Pe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(tt,Qe,te){"use strict";te.d(Qe,{Ax:function(){return Fe},Ds:function(){return be},KI:function(){return ue},SI:function(){return Pe},f1:function(){return re}});var b=te(74128);function re(Oe){let je=!0;if(Oe.length>0){for(let Ie=0;Iea in oe?ue(oe,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):oe[a]=E,je=(oe,a,E)=>Oe(oe,typeof a!="symbol"?a+"":a,E),Ie=(oe,a,E)=>new Promise((x,y)=>{var z=le=>{try{ae(E.next(le))}catch(ie){y(ie)}},ne=le=>{try{ae(E.throw(le))}catch(ie){y(ie)}},ae=le=>le.done?x(le.value):Promise.resolve(le.value).then(z,ne);ae((E=E.apply(oe,a)).next())});class Ne extends b.Component{constructor(a){super(a),je(this,"canvas"),je(this,"randomNum",(E,x)=>Math.floor(Math.random()*(x-E)+E)),je(this,"drawPic",()=>{this.randomCode()}),je(this,"reloadPic",()=>{this.drawPic()}),je(this,"changeCode",E=>{console.log(E.target.value,222),this.setState({value:E.target.value,showError:!1})}),je(this,"onVerify",()=>{let E;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(E=!0,re.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(E=!0,re.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(E=!1),this.setState({showError:E}),E}),this.canvas=b.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(a,E){const x=this.randomNum(a,E),y=this.randomNum(a,E),z=this.randomNum(a,E);return`rgb(${x}, ${y}, ${z})`}drawText(a,E,x){a.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const y=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);a.font=y+"px SimHei";const z=10,ne=(this.state.contentWidth-40)/(this.state.code.length-1);let ae=z;x>0&&(ae=z+x*ne);let le=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);y>40&&(le=40);const ie=this.randomNum(-10,10);a.translate(ae,le),a.rotate(ie*Math.PI/180),a.fillText(E,0,0),a.rotate(-ie*Math.PI/180),a.translate(-ae,-le)}drawLine(a){for(let E=0;E<1;E++)a.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),a.beginPath(),a.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),a.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),a.stroke()}drawDot(a){for(let E=0;E<100;E++)a.fillStyle=this.randomColor(0,255),a.beginPath(),a.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),a.fill()}randomCode(){let a="";const E="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let x=0;x{const y=this.canvas.current.getContext("2d");y.textBaseline="bottom",y.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),y.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let z=0;z{let E;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,a),React.createElement(Ne,{ref:x=>E=x})),onOk:()=>Ie(void 0,null,function*(){if(E.onVerify())return Promise.reject();oe()})})};var fe=Ne},90463:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return xe}});var b=te(60324),re={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Pe=te(32637),Fe=te(59301),xe=({type:ue,style:Oe})=>{const je=Fe.createElement("div",{className:re.wrap,onClick:Ie=>{Ie.preventDefault(),Ie.stopPropagation()}},Fe.createElement("p",null,ue==="shixun"||ue==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Fe.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ue==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Fe.createElement("div",{className:re.contact},Fe.createElement("div",{className:re.img},Fe.createElement("img",{src:Pe,width:"124px",height:"124px"})),Fe.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Fe.createElement(b.Z,{content:je},Fe.createElement("span",{className:re.text,style:Oe},"\u9AD8\u6D88\u8017"))}},16750:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var b=te(59301),re={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Pe=te(92310),Fe=te.n(Pe),be=te(71418),xe=te(2859),ue=te(38147),Oe=te(65862),je=(De,fe,oe)=>new Promise((a,E)=>{var x=ne=>{try{z(oe.next(ne))}catch(ae){E(ae)}},y=ne=>{try{z(oe.throw(ne))}catch(ae){E(ae)}},z=ne=>ne.done?a(ne.value):Promise.resolve(ne.value).then(x,y);z((oe=oe.apply(De,fe)).next())}),Ne=({data:De,className:fe,fullWidth:oe,style:a={},onClose:E,onOk:x,showFullTools:y,noAssociationId:z})=>{const ne=(0,b.useRef)(null),ae=(0,b.useRef)(null),le=(0,b.useRef)(null),ie=(0,b.useRef)(null),[de,se]=(0,b.useState)(!1),[ce,me]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),De!=null&&De.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",De!=null&&De.src&&ve()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[De==null?void 0:De.visible]);const ve=()=>je(void 0,null,function*(){se(!0),me("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,Oe.ZJ)(De==null?void 0:De.src);ne.current.src="",ne.current.src=Le,ne.current.onload=function(){Ue()},se(!1),me("")}),Ee=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",E()},Je=Le=>je(void 0,null,function*(){se(!0),me("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ke=yield(0,ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:De.title,file:Le.dataUrl}});ke!=null&&ke.id&&!z?(yield(0,ue.ZP)(`/api/attachments/${De.id}/add_subitem.json`,{method:"post",body:{subitem_id:ke==null?void 0:ke.id,settings:JSON.stringify(Le.state)}})).status===0&&x():ke!=null&&ke.id&&x(ke),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",se(!1),me("")}),Me=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.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(nt=>{const pt=document.querySelector(nt.name);pt&&pt.setAttribute("title",nt.title)})},Ue=()=>{ae.current=new xe.hP(ne.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Je),ae.current.addEventListener("beforeclose",Ee),y&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),De!=null&&De.snapshotData&&ae.current.restoreState(De.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Me()},300)};return b.createElement(b.Fragment,null,(De==null?void 0:De.visible)&&b.createElement(be.Z,{spinning:de,tip:ce,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Fe()(re.imageDimensions,fe,oe?re.fullWidth:""),style:a},b.createElement("img",{className:re.img,ref:ne}))))}},99298:function(tt,Qe,te){"use strict";var b=te(59301),re=te(95237),Pe=te(43604),Fe=te(99313),be=te(3113),xe=te(6339),ue=te(96408),Oe=te(48136),je=te(59301);const Ie=(0,b.forwardRef)(({callback:Ne,showSaveButton:De,value:fe=""},oe)=>{const a=(0,b.useRef)(),E=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r + x=a + r\\text{cos}\\theta \\ \r + y=b + r\\text{sin}\\theta \r +\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r + \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r + \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\left\\{\\begin{matrix} \r + \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r +\\end{matrix}\\right. \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r + \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r +\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r + a \\perp \\alpha \\ \r + b \\perp \\alpha \r +\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r + \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r + a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r + a \\parallel \\partial ,b \\parallel \\partial \r +\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r + m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r + a \\perp m,a \\perp n \r +\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r + \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r + a^{2}+b^{2}=c^{2} \r +\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r + a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r + a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r +\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r + a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r + \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r +\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r +\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r + a,b \\in R^{+} \\ \r + \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + a,b \\in R \\ \r + \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r +\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r + \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r + \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r +\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r + P \\left( \\emptyset \\right) =0 \\\\ \r + P \\left( S \\right) =1 \r +\\end{array}`},{value:`\\begin{array}{c} \r + \\forall A \\in S \\\\ \r + P \\left( A \\right) \\ge 0 \r +\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r + S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r + P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r +\\end{array}`},{value:`\\begin{array}{c} \r + P_{n}=n! \\\\ \r + A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r +\\end{array}`}]}]}],y=ae=>{a.current.setValue(a.current.getValue()+" "+ae.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(re.Z,{className:ue.Z.lists,gutter:[10,10]},E.map((ae,le)=>je.createElement(Pe.Z,{flex:"110px",className:ue.Z.item},je.createElement("div",null,je.createElement(xe.Z,{value:`$$${ae.value}$$`}),ae.name),je.createElement("div",{className:ue.Z.children},ae.children.map((ie,de)=>je.createElement("div",{key:de},je.createElement("h1",null,ie.name),je.createElement(re.Z,{gutter:[10,10]},ie.data.map((se,ce)=>je.createElement(Pe.Z,{key:ce,onClick:()=>y(se),className:ue.Z.diamond},je.createElement(xe.Z,{value:"`$$"+se.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(re.Z,{className:ue.Z.lists,gutter:[10,10]},x.map((ae,le)=>je.createElement(Pe.Z,{flex:"110px",className:ue.Z.item},je.createElement("div",null,je.createElement(xe.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),je.createElement("div",{className:ue.Z.children},ae.children.map((ie,de)=>je.createElement("div",{key:de},ie.name&&je.createElement("h1",null,ie.name),je.createElement(re.Z,{gutter:[10,10]},ie.data.map((se,ce)=>je.createElement(Pe.Z,{key:ce,onClick:()=>y(se),className:ue.Z.diamond},je.createElement(xe.Z,{value:"`$$"+se.value+"$$`"}))))))))))}],ne=()=>{var ae=document.createElement("div");ae.innerHTML=a.current.getValue();var le=ae.innerText;return Ne&&Ne(le),le};return(0,b.useImperativeHandle)(oe,()=>({getData:ne})),je.createElement("div",{className:ue.Z.mathWrap},je.createElement(Fe.default,{defaultActiveKey:"1",items:z}),je.createElement("math-field",{locale:"zh_cn",className:ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},fe||""),De&&je.createElement("div",{className:ue.Z.button},je.createElement(be.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Qe.Z=Ie},4324:function(tt,Qe,te){"use strict";te.d(Qe,{Q:function(){return xe}});var b=te(59301),re=te(57809),Pe=te(5112),Fe=te(5871),be=te(59301),xe=(Oe=>(Oe[Oe.Number=1]="Number",Oe[Oe.Percent=2]="Percent",Oe))(xe||{});const ue=({value:Oe,onChange:je,disabled:Ie,hidePercentOption:Ne=!1,percentType:De="select"})=>{const fe=(0,b.useMemo)(()=>Ne?1:2,[Ne]),[oe,a]=(0,b.useState)(fe);console.log(oe);const E=y=>Oe.type===1?`${y}\u5206`:`${y}%`,x=(0,b.useCallback)(y=>{if(oe===1){const z=y.replace("\u5206","");return isNaN(parseInt(z,10))?0:z}else return y.replace("%","")},[oe]);return(0,b.useEffect)(()=>{a(Oe.type)},[Oe]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},De=="select"&&be.createElement(re.default,{size:"large",onChange:y=>{a(y),je({type:y,inputValue:y===1?5:20})},value:oe||fe,style:{width:100},options:Ne?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Ie}),De=="radio"&&be.createElement(Pe.ZP.Group,{size:"large",onChange:y=>{const z=y.target.value;a(z),je({type:z,inputValue:z===1?5:20})},value:oe||fe,disabled:Ie},!Ne&&be.createElement(Pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(Pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),De=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Oe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Fe.Z,{size:"large",disabled:Ie,value:Oe.inputValue,style:{width:"120px"},parser:x,addonAfter:Oe.type===1?"\u5206":"%",max:oe===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:y=>{je({type:oe,inputValue:y})}}),De=="radio"&&Oe.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Qe.Z=ue},49018:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return de}});var b=te(59301),re=te(9221),Pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ue=(se,ce,me)=>ce in se?Pe(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:me}):se[ce]=me,Oe=(se,ce)=>{for(var me in ce||(ce={}))be.call(ce,me)&&ue(se,me,ce[me]);if(Fe)for(var me of Fe(ce))xe.call(ce,me)&&ue(se,me,ce[me]);return se},je=(se,ce)=>{var me={};for(var ve in se)be.call(se,ve)&&ce.indexOf(ve)<0&&(me[ve]=se[ve]);if(se!=null&&Fe)for(var ve of Fe(se))ce.indexOf(ve)<0&&xe.call(se,ve)&&(me[ve]=se[ve]);return me};const Ne={header:{cell:se=>{var ce=se,{onResize:me,width:ve}=ce,Ee=je(ce,["onResize","width"]);return ve?b.createElement(re.Resizable,{width:ve,height:0,handle:b.createElement("span",{className:"react-resizable-handle",onClick:Je=>{Je.stopPropagation()}}),onResize:me,draggableOpts:{enableUserSelectHack:!1}},b.createElement("th",Oe({},Ee))):b.createElement("th",Oe({},Ee))}}};var De=te(1710),fe=Object.defineProperty,oe=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(se,ce,me)=>ce in se?fe(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:me}):se[ce]=me,ne=(se,ce)=>{for(var me in ce||(ce={}))x.call(ce,me)&&z(se,me,ce[me]);if(E)for(var me of E(ce))y.call(ce,me)&&z(se,me,ce[me]);return se},ae=(se,ce)=>oe(se,a(ce)),le=(se,ce)=>{var me={};for(var ve in se)x.call(se,ve)&&ce.indexOf(ve)<0&&(me[ve]=se[ve]);if(se!=null&&E)for(var ve of E(se))ce.indexOf(ve)<0&&y.call(se,ve)&&(me[ve]=se[ve]);return me},de=se=>{var ce=se,{pagination:me,resColumns:ve,dataSource:Ee,onRow:Je}=ce,Me=le(ce,["pagination","resColumns","dataSource","onRow"]);const[Ue,Le]=(0,b.useState)(!1),[ke,nt]=(0,b.useState)([{}]),pt=(0,b.useRef)(null);(0,b.useEffect)(()=>{let lt=ve;lt=lt.map((Xe,Pt)=>ae(ne({},Xe),{onHeaderCell:Ge=>({width:Ge.width,onResize:dt(Pt)})})),nt(lt)},[]),(0,b.useEffect)(()=>{pt.current=ke},[ke]);const dt=lt=>(Xe,{size:Pt})=>{const Ge=[...pt.current];Ge[lt]=ae(ne({},Ge[lt]),{width:Pt.width}),nt(Ge)};return b.createElement("div",null,b.createElement(De.default,ae(ne({bordered:!0,components:Ne,columns:ke,dataSource:Ee,pagination:me,loading:Ue,onRow:Je},Me),{rowKey:lt=>lt.key||lt.id})))}},35479:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return ce},P:function(){return ie}});var b=te(59301),re=te(78241),Pe=te(43418),Fe=te(5112),be=te(92832),xe=te(1710),ue={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},Oe=te(60979),je=Object.defineProperty,Ie=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,a=(me,ve,Ee)=>ve in me?je(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):me[ve]=Ee,E=(me,ve)=>{for(var Ee in ve||(ve={}))fe.call(ve,Ee)&&a(me,Ee,ve[Ee]);if(De)for(var Ee of De(ve))oe.call(ve,Ee)&&a(me,Ee,ve[Ee]);return me},x=(me,ve)=>Ie(me,Ne(ve)),y=(me,ve)=>{var Ee={};for(var Je in me)fe.call(me,Je)&&ve.indexOf(Je)<0&&(Ee[Je]=me[Je]);if(me!=null&&De)for(var Je of De(me))ve.indexOf(Je)<0&&oe.call(me,Je)&&(Ee[Je]=me[Je]);return Ee},z=(me,ve,Ee)=>new Promise((Je,Me)=>{var Ue=nt=>{try{ke(Ee.next(nt))}catch(pt){Me(pt)}},Le=nt=>{try{ke(Ee.throw(nt))}catch(pt){Me(pt)}},ke=nt=>nt.done?Je(nt.value):Promise.resolve(nt.value).then(Ue,Le);ke((Ee=Ee.apply(me,ve)).next())});const ne=({studentNames:me,total:ve})=>{const Ee=["","\u4E00","\u4E24","\u4E09"];return ve>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:ue.orangeColor},me==null?void 0:me.join("\u3001")),"\u7B49",b.createElement("span",{className:ue.orangeColor},ve),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:ue.orangeColor},me==null?void 0:me.join("\u3001")),Ee[ve],"\u540D\u5B66\u751F")},ae=({used:me,copy:ve,canNotCopy:Ee,studentNames:Je,studentCount:Me,inPaper:Ue,is_random:Le=!1,position:ke=""})=>{const nt=()=>{if(ve>0&&Ee>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:ue.orangeColor},ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:ue.orangeColor},Ee),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(ve>0&&Ee===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:ue.orangeColor},ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(ve===0&&Ee>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:ue.orangeColor},Ee),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},pt=ke||(Ue?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(ne,{studentNames:Je,total:Me}),"\u5B66\u4E60\u8FC7",pt,"\u4E2D\u7684",b.createElement("span",{className:ue.orangeColor},me),"\u4E2A\u9879\u76EE\uFF0C",nt(),"\u3002\u8BF7\u9009\u62E9",Le?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},le=({onCancel:me,onOk:ve,visible:Ee,inPaper:Je,renderData:Me,type:Ue,isMultipleCourse:Le=!1})=>{const[ke]=re.default.useForm(),[nt,pt]=(0,b.useState)(1),[dt,lt]=(0,b.useState)(!1),Xe=(0,b.useMemo)(()=>(Me==null?void 0:Me.total_num)===1&&(Me==null?void 0:Me.can_copy_num)===1,[Me]),Pt=(0,b.useMemo)(()=>{var Ge;return(Ge=Me==null?void 0:Me.course_data_list)==null?void 0:Ge.filter(Te=>Te.is_show)},[Me]);return b.createElement(b.Fragment,null,Xe?b.createElement(Pe.default,{centered:!0,closable:!0,open:Ee,destroyOnClose:!0,title:"\u63D0\u793A",className:ue.antdModal,width:682,confirmLoading:dt,onCancel:me,onOk:()=>z(void 0,null,function*(){var Ge;lt(!0);let Te=nt;if(Le){const We=E({},ke.getFieldsValue());Te=(Ge=Me==null?void 0:Me.course_data_list)==null?void 0:Ge.map(vt=>We[vt.id]!==void 0?x(E({},vt),{is_copy:We[vt.id]}):vt)}yield ve(Te),lt(!1)})},b.createElement("div",{className:ue.content,style:{marginBottom:20}},Le?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(ne,{studentNames:Me==null?void 0:Me.student_names,total:Me==null?void 0:Me.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?b.createElement(re.default,{form:ke,preserve:!1},Pt==null?void 0:Pt.map(Ge=>b.createElement(b.Fragment,{key:Ge.id},b.createElement("h3",{className:"ml15 mb5"},Ge.name),b.createElement(re.default.Item,{name:Ge.id,initialValue:1},b.createElement(Fe.ZP.Group,{className:ue.content},b.createElement(Fe.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Fe.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Fe.ZP.Group,{value:nt,onChange:Ge=>pt(Ge.target.value),className:ue.content,style:{marginBottom:30}},b.createElement(Fe.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Fe.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:ue.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:ue.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${ue.content} ${ue.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(Pe.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Ee,confirmLoading:dt,title:"\u63D0\u793A",width:682,onCancel:me,onOk:()=>z(void 0,null,function*(){var Ge;lt(!0);let Te=0;if(Le){const We=E({},ke.getFieldsValue());Te=(Ge=Me==null?void 0:Me.course_data_list)==null?void 0:Ge.map(vt=>We[vt.id]!==void 0?x(E({},vt),{is_use:We[vt.id]}):vt)}yield ve(Te),lt(!1)})},b.createElement("div",{className:ue.content},b.createElement(ne,{studentNames:Me==null?void 0:Me.student_names,total:Me==null?void 0:Me.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?b.createElement(re.default,{form:ke,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Pt==null?void 0:Pt.map(Ge=>b.createElement(b.Fragment,{key:Ge.id},b.createElement("h3",{className:"ml15 mb5"},Ge.name),b.createElement(re.default.Item,{name:Ge.id,initialValue:1},b.createElement(Fe.ZP.Group,{className:ue.content},b.createElement(Fe.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Fe.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:ue.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[me,ve]=(0,b.useState)(!1),[Ee,Je]=(0,b.useState)();return[me,()=>ve(!1),Ee,Le=>z(this,null,function*(){var ke;const nt=Le,{isImportMultipleCourse:pt=!1}=nt,dt=y(nt,["isImportMultipleCourse"]);console.log(Le);const lt=(Le==null?void 0:Le.result)||(yield(0,Oe.Tr)(dt));return"status"in lt?!1:pt?((ke=lt==null?void 0:lt.course_data_list)==null?void 0:ke.some(Pt=>Pt.is_show))?(Je(lt),ve(!0),!0):lt.course_data_list||[]:lt.student_count===0?!1:(Je(lt),ve(!0),!0)})]},de=me=>{const[ve]=re.default.useForm(),[Ee,Je]=(0,b.useState)(!1),{onCancel:Me,onOk:Ue,visible:Le,inPaper:ke=!1,renderData:nt,type:pt,isMultipleCourse:dt=!1,position:lt}=me;let Xe=(0,b.useMemo)(()=>ke?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ue.tableCell,render(Te,We){return b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,We)=>b.createElement(b.Fragment,null,b.createElement(re.default.Item,{name:[`${pt==="subject"?We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_copy"],initialValue:1},b.createElement(Fe.ZP.Group,null,b.createElement(Fe.ZP,{value:1},"\u662F"),b.createElement(Fe.ZP,{value:0},"\u5426"))),b.createElement(re.default.Item,{name:[`${pt==="subject"?We==null?void 0:We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(be.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ue.tableCell,render(Te,We){return b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,We)=>b.createElement(re.default.Item,{name:[`${pt==="subject"?We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_use"],initialValue:1},b.createElement(Fe.ZP.Group,null,b.createElement(Fe.ZP,{value:1},"\u662F"),b.createElement(Fe.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,We)=>b.createElement(re.default.Item,{name:[`${pt==="subject"?We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_copy"],initialValue:1},b.createElement(Fe.ZP.Group,null,b.createElement(Fe.ZP,{value:1},"\u662F"),b.createElement(Fe.ZP,{value:0},"\u5426")))}],[ke]),Pt=(0,b.useMemo)(()=>ke?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ue.tableCell,align:"center",ellipsis:!0,render:(Te,We)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},Te),b.createElement(re.default.Item,{name:[`${pt==="subject"?We==null?void 0:We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(be.default,{type:"hidden"})),b.createElement(re.default.Item,{name:[`${pt==="subject"?We==null?void 0:We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(be.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ue.tableCell,ellipsis:!0,align:"center",render:(Te,We)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,We)=>b.createElement(b.Fragment,null,b.createElement(re.default.Item,{name:[`${pt==="subject"?We==null?void 0:We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_use"],initialValue:0},b.createElement(Fe.ZP.Group,null,b.createElement(Fe.ZP,{value:1},"\u662F"),b.createElement(Fe.ZP,{value:0},"\u5426"))),b.createElement(re.default.Item,{name:[`${pt==="subject"?We==null?void 0:We.stage_shixun_id:We.shixun_course_id||We.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(be.default,{type:"hidden"})))}],[ke]);if(dt){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:ue.tableCell,render:(We,vt)=>b.createElement("a",{href:`/classrooms/${vt.course_id}`},We)};Xe=[Te,...Xe],Pt=[Te,...Pt]}const Ge=(0,b.useMemo)(()=>ae({used:nt==null?void 0:nt.repeat_shixun_num,copy:nt==null?void 0:nt.can_copy_num,canNotCopy:nt==null?void 0:nt.no_copy_num,studentNames:nt==null?void 0:nt.student_names,studentCount:nt==null?void 0:nt.student_count,is_random:nt==null?void 0:nt.is_random,inPaper:ke,position:lt}),[nt,ke,lt]);return b.createElement(Pe.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:Ee,onOk:()=>z(void 0,null,function*(){Je(!0);const Te=ve.getFieldsValue(),We=Object.keys(Te).map(vt=>({id:parseInt(vt.split("_")[0]),course_id:parseInt(vt.split("_")[1]),is_use:Te[vt].is_use,is_copy:Te[vt].is_copy}));yield Ue(We),Je(!1)}),onCancel:Me,width:880,okText:"\u786E\u8BA4",className:ue.antdModal,destroyOnClose:!0},b.createElement(re.default,{form:ve,preserve:!1},b.createElement("div",{className:ue.brief},Ge),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:ue.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(nt==null?void 0:nt.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:ue.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(xe.default,{columns:Xe,className:ue.antdTable,dataSource:nt==null?void 0:nt.can_copy_list,rowKey:pt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(nt==null?void 0:nt.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:ue.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(xe.default,{columns:Pt,className:ue.antdTable,dataSource:nt==null?void 0:nt.no_copy_list,rowKey:pt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(nt==null?void 0:nt.no_use_list.length)>0&&(nt==null?void 0:nt.no_use_list.map(Te=>b.createElement("div",{key:pt==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},b.createElement(re.default.Item,{name:[`${pt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(be.default,{type:"hidden"})),b.createElement(re.default.Item,{name:[`${pt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(be.default,{type:"hidden"})))))))};var ce=me=>{const{modalType:ve}=me;return ve==="multiple"?b.createElement(de,E({},me)):b.createElement(le,E({},me))}},83028:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var b=te(59301),re={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Pe=te(43418),Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",xe=(je,Ie,Ne)=>new Promise((De,fe)=>{var oe=x=>{try{E(Ne.next(x))}catch(y){fe(y)}},a=x=>{try{E(Ne.throw(x))}catch(y){fe(y)}},E=x=>x.done?De(x.value):Promise.resolve(x.value).then(oe,a);E((Ne=Ne.apply(je,Ie)).next())}),Oe=({type:je,resdata:Ie,onok:Ne,oktext:De,okloading:fe})=>{const[oe,a]=(0,b.useState)(!1),{can_copy_list:E,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:ne,no_copy_num:ae,no_use_list:le,no_use_num:ie,repeat_shixun_num:de,student_count:se,total_num:ce,use_num:me}=Ie;let ve=x>0||je==="exercise";(0,b.useEffect)(()=>{(Ie==null?void 0:Ie.student_count)>0&&a(!0)},[Ie]),console.log("---11",fe),(0,b.useEffect)(()=>{fe||a(!1)},[fe]);const Ee=()=>{if(je==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:re.orangeColor},me),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(je==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:re.orangeColor},me),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:re.orangeColor},me),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:re.orangeColor},se)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:re.orangeColor},me)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:re.orangeColor},me),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(je==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:re.orangeColor},me),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:re.orangeColor},me),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(je==="exercise"||je==="subject"||je==="exercisepush"||je==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ae>0&&b.createElement("div",null,b.createElement("span",{className:re.flex},b.createElement("img",{src:be,style:{width:14}}),b.createElement("span",{className:re.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:re.statusbody},je==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:re.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(je==="subject"||je==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ve&&b.createElement("span",{className:re.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),je==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ve&&b.createElement("span",{className:re.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,ne==null?void 0:ne.map((Me,Ue)=>b.createElement("a",{href:`/shixuns/${Me.identifier}/challenges`,target:"_blank"},"\u300A",Me==null?void 0:Me.name,"\u300B",Ue+1!==ae&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:re.flex},b.createElement("img",{src:Fe,style:{width:14}}),b.createElement("span",{className:re.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:re.statusbody},je==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(je==="subject"||je==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),je==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,E==null?void 0:E.map((Me,Ue)=>b.createElement("a",{href:`/shixuns/${Me.identifier}/challenges`,target:"_blank"},"\u300A",Me==null?void 0:Me.name,"\u300B",Ue+1!==x&&"\u3001"))))));if(je==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(Pe.default,{open:oe,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ve&&"none"}},zIndex:1003,confirmLoading:fe,okText:ve?De:"\u6211\u77E5\u9053\u4E86",onOk:()=>xe(void 0,null,function*(){ve?yield Ne([...E,...le]):a(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ee(),Je()))}},36254:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return be}});var b=te(59301),re={flex_box_center:"flex_box_center___sOi51",flex_space_between:"flex_space_between___pl96A",flex_box_vertical_center:"flex_box_vertical_center___LVWaS",flex_box_center_end:"flex_box_center_end___bFW2z",flex_box_column:"flex_box_column___Iuosg",disabled:"disabled___kyQ47"},Pe=te(6848),be=({children:xe,tips:ue,title:Oe,style:je})=>{const Ie=Oe||b.createElement("div",null,b.createElement("div",null,"\u63D0\u793A\uFF1A"),b.createElement("div",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\u8BC4\u5B9A\uFF0C\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C\u3002"),b.createElement("div",null,"\uFF08\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03\uFF09"));return xe&&ue?b.createElement(Pe.Z,{overlayStyle:{maxWidth:"initial"},title:Ie},b.createElement("span",{className:re.disabled,style:je},xe)):xe&&!ue?b.createElement(b.Fragment,null,xe):b.createElement(b.Fragment,null)}},33276:function(tt,Qe,te){"use strict";var b=te(59301),re=te(43418),Pe=te(1710);const Fe=({dataSource:be,visible:xe,onClose:ue=()=>{},onSuccess:Oe=()=>{},text:je,okText:Ie})=>{var Ne;return b.createElement(re.default,{centered:!0,destroyOnClose:!0,open:!!xe,title:"\u63D0\u793A",width:"600px",okText:Ie,cancelText:"\u53D6\u6D88",onCancel:ue,onOk:Oe},xe==="single"&&b.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",b.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(Ne=be==null?void 0:be[0])==null?void 0:Ne.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",je),xe==="multiple"&&b.createElement(b.Fragment,null,b.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",je),b.createElement(Pe.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:be,scroll:(be==null?void 0:be.length)>7?{y:300}:{},pagination:!1})))};Qe.Z=Fe},85533:function(tt,Qe,te){"use strict";te.d(Qe,{h:function(){return ae}});var b=te(59301),re=te(57809),Pe=te(78241),Fe=te(3113),be=te(89780),xe=te.n(be),ue=te(45559),Oe=te(42313),je=Object.defineProperty,Ie=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,a=(le,ie,de)=>ie in le?je(le,ie,{enumerable:!0,configurable:!0,writable:!0,value:de}):le[ie]=de,E=(le,ie)=>{for(var de in ie||(ie={}))fe.call(ie,de)&&a(le,de,ie[de]);if(De)for(var de of De(ie))oe.call(ie,de)&&a(le,de,ie[de]);return le},x=(le,ie)=>Ie(le,Ne(ie));const y=re.default.Option,z={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"]};Qe.Z=({callback:le,onCancel:ie})=>{const[de,se]=(0,b.useState)("python");function ce(ve){se(ne[ve][1])}function me(ve){le(ve)}return b.createElement(Pe.default,x(E({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:me,style:{width:500}}),b.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(re.default,{getPopupContainer:ve=>ve.parentNode,onChange:ce},Object.keys(ne).map(ve=>b.createElement(y,{key:ve,value:ve},ne[ve][0])))),b.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ae,{mode:de})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Fe.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function ae({value:le,onChange:ie,mode:de,options:se={}}){const ce=(0,b.useRef)(),[me,ve]=(0,b.useState)();return(0,b.useEffect)(()=>{if(me){let Ee=function(Je){const Me=Je.getValue();ie&&ie(Me)};return me.on("change",Ee),()=>{me.off("change",Ee)}}},[me,ie]),(0,b.useEffect)(()=>{me&&me.setOption("mode",de)},[me,de]),(0,b.useEffect)(()=>{me&&(le!==me.getValue()||le==="")&&setTimeout(()=>{me.setValue(le||"")},300)},[me,le]),(0,b.useEffect)(()=>{if(ce.current&&!me){const Ee=xe().fromTextArea(ce.current,E({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},se));ve(Ee)}},[ce.current,me]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:ce}))}},96565:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ia}});var b=te(59301),re=te(89780),Pe=te.n(re),Fe=te(76374),be=te(45559),xe=te(6313),ue=te(25717),Oe=te(99498),je=te(25419),Ie=te(67549),Ne=te(6339),De=({value:xt="",className:Tt,showTextOnly:wt,showLines:In,style:na={}})=>{const Hn=(0,b.useMemo)(()=>"",[xt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Hn}}))},fe=te(59301),oe=Object.defineProperty,a=Object.defineProperties,E=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(xt,Tt,wt)=>Tt in xt?oe(xt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):xt[Tt]=wt,ae=(xt,Tt)=>{for(var wt in Tt||(Tt={}))y.call(Tt,wt)&&ne(xt,wt,Tt[wt]);if(x)for(var wt of x(Tt))z.call(Tt,wt)&&ne(xt,wt,Tt[wt]);return xt},le=(xt,Tt)=>a(xt,E(Tt));let ie=[{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 de({onActionCallback:xt,title:Tt,icon:wt,actionName:In,className:na="",children:Hn}){function nr(){xt(In)}return fe.createElement("a",{title:Tt,className:na,onClick:nr},fe.createElement("i",{className:`${wt}`}),Hn)}var se=({watch:xt,showNullButton:Tt,showNullProgramButton:wt,onActionCallback:In,fullScreen:na,insertTemp:Hn,hidetoolBar:nr,extraUse:Oa})=>{const oo=[...ie,{title:`${xt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${xt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return fe.createElement("ul",{className:"markdown-toolbar-container"},!nr&&oo.map((Ar,to)=>fe.createElement("li",{key:to},Ar.actionName?fe.createElement(de,le(ae({},Ar),{onActionCallback:In})):fe.createElement("span",{className:"v-line"}))),Tt?fe.createElement("li",null,fe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:In},fe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,wt?fe.createElement(fe.Fragment,null,fe.createElement("li",null,fe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:In},fe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),fe.createElement("li",null,fe.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:In},fe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Hn&&fe.createElement("li",null,fe.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Hn}`,onActionCallback:In},fe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Oa&&fe.createElement("li",null,Oa),fe.createElement("li",{className:"btn-full-screen"},fe.createElement(de,{icon:`${na?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:na?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:In})))},ce=te(57261),me=te(78241),ve=te(92832),Ee=te(3113),Je=Object.defineProperty,Me=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,pt=(xt,Tt,wt)=>Tt in xt?Je(xt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):xt[Tt]=wt,dt=(xt,Tt)=>{for(var wt in Tt||(Tt={}))ke.call(Tt,wt)&&pt(xt,wt,Tt[wt]);if(Le)for(var wt of Le(Tt))nt.call(Tt,wt)&&pt(xt,wt,Tt[wt]);return xt},lt=(xt,Tt)=>Me(xt,Ue(Tt));const Xe={labelCol:{span:4},wrapperCol:{span:20}};var Pt=({callback:xt,onCancel:Tt})=>{function wt(In){xt(In)}return b.createElement(me.default,lt(dt({},Xe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:wt,style:{width:500}}),b.createElement(me.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(ve.default,null)),b.createElement(me.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(ve.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ee.ZP,{type:"ghost",onClick:Tt},"\u53D6\u6D88")))},Ge=te(85533),Te=te(45053),We=te(43418),vt=te(95237),It=te(16750),mt=te(59301),Pn=({callback:xt,onCancel:Tt})=>{const wt=document.createElement("canvas"),In=wt.getContext("2d");wt.width=1e3,wt.height=800,In.fillStyle="#ffffff",In.fillRect(0,0,wt.width,wt.height);const na=wt.toDataURL("image/png");return mt.createElement(We.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},mt.createElement(vt.Z,{style:{height:"100vh"}},mt.createElement(It.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:na,visible:!0,title:String(Date.now())},onOk:Hn=>{xt({src:Hn.url})},onClose:Tt})))},Ze=te(12378);function Ft(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ft,go.CommandHandler),Ft.prototype.canAlignSelection=function(){var xt=this.diagram;return!(xt===null||xt.isReadOnly||xt.isModelReadOnly||xt.selection.count<2)},Ft.prototype.alignLeft=function(){var xt=this.diagram;xt.startTransaction("aligning left");var Tt=1/0;xt.selection.each(function(wt){wt instanceof go.Link||(Tt=Math.min(wt.position.x,Tt))}),xt.selection.each(function(wt){wt instanceof go.Link||wt.move(new go.Point(Tt,wt.position.y))}),xt.commitTransaction("aligning left")},Ft.prototype.alignRight=function(){var xt=this.diagram;xt.startTransaction("aligning right");var Tt=-1/0;xt.selection.each(function(wt){if(!(wt instanceof go.Link)){var In=wt.actualBounds.x+wt.actualBounds.width;Tt=Math.max(In,Tt)}}),xt.selection.each(function(wt){wt instanceof go.Link||wt.move(new go.Point(Tt-wt.actualBounds.width,wt.position.y))}),xt.commitTransaction("aligning right")},Ft.prototype.alignTop=function(){var xt=this.diagram;xt.startTransaction("alignTop");var Tt=1/0;xt.selection.each(function(wt){wt instanceof go.Link||(Tt=Math.min(wt.position.y,Tt))}),xt.selection.each(function(wt){wt instanceof go.Link||wt.move(new go.Point(wt.position.x,Tt))}),xt.commitTransaction("alignTop")},Ft.prototype.alignBottom=function(){var xt=this.diagram;xt.startTransaction("aligning bottom");var Tt=-1/0;xt.selection.each(function(wt){if(!(wt instanceof go.Link)){var In=wt.actualBounds.y+wt.actualBounds.height;Tt=Math.max(In,Tt)}}),xt.selection.each(function(wt){wt instanceof go.Link||wt.move(new go.Point(wt.actualBounds.x,Tt-wt.actualBounds.height))}),xt.commitTransaction("aligning bottom")},Ft.prototype.alignCenterX=function(){var xt=this.diagram,Tt=xt.selection.first();if(Tt){xt.startTransaction("aligning Center X");var wt=Tt.actualBounds.x+Tt.actualBounds.width/2;xt.selection.each(function(In){In instanceof go.Link||In.move(new go.Point(wt-In.actualBounds.width/2,In.actualBounds.y))}),xt.commitTransaction("aligning Center X")}},Ft.prototype.alignCenterY=function(){var xt=this.diagram,Tt=xt.selection.first();if(Tt){xt.startTransaction("aligning Center Y");var wt=Tt.actualBounds.y+Tt.actualBounds.height/2;xt.selection.each(function(In){In instanceof go.Link||In.move(new go.Point(In.actualBounds.x,wt-In.actualBounds.height/2))}),xt.commitTransaction("aligning Center Y")}},Ft.prototype.alignColumn=function(xt){var Tt=this.diagram;Tt.startTransaction("align Column"),xt===void 0&&(xt=0),xt=parseFloat(xt);var wt=new Array;Tt.selection.each(function(Oa){Oa instanceof go.Link||wt.push(Oa)});for(var In=0;In0){for(var Oa=Hn.elt(nr-1);Oa!==null&&Oa.isTreeExpanded&&!Oa.isTreeLeaf;){var oo=this._sortTreeChildrenByY(Oa);Oa=oo.last()}Oa!==null&&xt.select(Oa)}else xt.select(na)}}else if(wt.key==="Down")if(Tt.isTreeExpanded&&!Tt.isTreeLeaf){var In=this._sortTreeChildrenByY(Tt).first();In!==null&&xt.select(In)}else for(;Tt!==null;){var na=Tt.findTreeParentNode();if(na===null)break;var Hn=this._sortTreeChildrenByY(na),nr=Hn.indexOf(Tt);if(nrHn.y?1:na.xHn.x?1:0}),Tt},Ft.prototype.copyToClipboard=function(xt){go.CommandHandler.prototype.copyToClipboard.call(this,xt),this._lastPasteOffset.set(this.pasteOffset)},Ft.prototype.pasteFromClipboard=function(){var xt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(xt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),xt},Object.defineProperty(Ft.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(xt){if(xt!=="move"&&xt!=="select"&&xt!=="scroll"&&xt!=="tree"&&xt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+xt);this._arrowKeyBehavior=xt}}),Object.defineProperty(Ft.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(xt){if(!(xt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+xt);this._pasteOffset.set(xt)}});var Ut=Ft,dn=te(25863),En=te(43604),it=te(38147),ft={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},_e=te(59301),Be=(xt,Tt,wt)=>new Promise((In,na)=>{var Hn=oo=>{try{Oa(wt.next(oo))}catch(Ar){na(Ar)}},nr=oo=>{try{Oa(wt.throw(oo))}catch(Ar){na(Ar)}},Oa=oo=>oo.done?In(oo.value):Promise.resolve(oo.value).then(Hn,nr);Oa((wt=wt.apply(xt,Tt)).next())});function ot({onCancel:xt,callback:Tt}){let wt=(0,b.useRef)(),In=(0,b.useRef)(),na=(0,b.useRef)(),Hn=(0,b.useRef)(!1);const nr=(0,b.useRef)(!1),[Oa,oo]=(0,b.useState)(0);function Ar(){const kn=Ze.bx.make,dr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};wt.current=new Ze.S0(In.current,{padding:20,grid:kn(Ze.s_,"Grid",kn(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),kn(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Jn=>{var Ta=Jn.diagram.commandHandler.addTopLevelParts(Jn.diagram.selection,!0);Ta||Jn.diagram.currentTool.doCancel()},commandHandler:kn(Ut),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Jn=>{var Ta=Jn.subject;Ta.location=Ta.location.copy().snapToGridPoint(Jn.diagram.grid.gridOrigin,Jn.diagram.grid.gridCellSize),setTimeout(()=>{Jn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Jn=>{var Ta=Jn.subject;setTimeout(()=>{Jn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Jn=>{var Ta=Jn.parameter.part;Ta.invalidateConnectedLinks();var Do=Jn.subject;Jn.diagram.toolManager.linkingTool.isForwards?Do.toNode.invalidateConnectedLinks():Do.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),wt.current.nodeTemplate=kn(Ze.NB,"Auto",{locationSpot:Ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ze.$u(120,60),minSize:new Ze.$u(40,40),resizable:!0,resizeCellSize:new Ze.$u(10,10),rotatable:!0},new Ze.KX("location","loc",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),new Ze.KX("desiredSize","size",Ze.$u.parse).makeTwoWay(Ze.$u.stringify),kn(Ze.bn,{name:"SHAPE",fill:dr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ze.z6.AllSides,toSpot:Ze.z6.AllSides},new Ze.KX("figure"),new Ze.KX("fill"),new Ze.KX("stroke","borderColor"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),kn(Ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),kn(Ze.al,{margin:1,textAlign:"center",overflow:Ze.al.OverflowEllipsis,editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),wt.current.nodeTemplate.toolTip=kn("ToolTip",kn(Ze.s_,"Vertical",{maxSize:new Ze.$u(200,NaN)},kn(Ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ze.KX("text")),kn(Ze.al,{font:"10pt sans-serif",textAlign:"center"},new Ze.KX("text","details"))));function Wr(Jn,Ta){var Do=(wa,ro)=>{wa.handled=!0,wa.diagram.model.commit(fr=>{var zo=ro.part.adornedPart,Yr=new Ze.E9().setRectSpot(zo.actualBounds,Jn);Yr.subtract(zo.location),Yr.scale(2,2),Yr.x+=Math.sign(Yr.x)*130,Yr.y+=Math.sign(Yr.y)*130,Yr.add(zo.location),Yr.snapToGridPoint(wa.diagram.grid.gridOrigin,wa.diagram.grid.gridCellSize);var $r=fr.copyNodeData(zo.data);fr.setGroupKeyForNodeData($r,fr.getGroupKeyForNodeData(zo.data)),fr.addNodeData($r);var ii={from:zo.key,to:fr.getKeyForNodeData($r)};fr.addLinkData(ii);var Hl=wa.diagram.findNodeForData($r);Hl.location=Yr,wa.diagram.select(Hl),setTimeout(()=>{wa.diagram.commandHandler.editTextBlock()},20)})};return kn(Ze.bn,{figure:Ta,alignment:Jn,alignmentFocus:Jn.opposite(),width:Jn.equals(Ze.z6.Top)||Jn.equals(Ze.z6.Bottom)?25:18,height:Jn.equals(Ze.z6.Top)||Jn.equals(Ze.z6.Bottom)?18:25,fill:"orange",stroke:dr.white,strokeWidth:4,mouseEnter:(wa,ro)=>ro.fill="dodgerblue",mouseLeave:(wa,ro)=>ro.fill="orange",isActionable:!0,click:Do,contextClick:Do})}function xr(Jn){return kn(Ze.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:(Ta,Do)=>Do.fill="dodgerblue",mouseLeave:(Ta,Do)=>Do.fill="orange",click:(Ta,Do)=>{Ta.diagram.commandHandler.showContextMenu(Do.part.adornedPart)}},Jn||{})}wt.current.nodeTemplate.selectionAdornmentTemplate=kn(Ze.uz,"Spot",kn(Ze.Vm,{padding:10}),Wr(Ze.z6.Top,"TriangleUp"),Wr(Ze.z6.Left,"TriangleLeft"),Wr(Ze.z6.Right,"TriangleRight"),Wr(Ze.z6.Bottom,"TriangleDown"),xr({alignment:new Ze.z6(.75,0)}));function Vo(Jn,Ta){return(Do,wa)=>{Do.handled=!0,Do.diagram.model.commit(ro=>{ro.set(wa.part.adornedPart.data,Jn,Ta)})}}function St(Jn,Ta){return Ta||(Ta="color"),kn(Ze.bn,{width:16,height:16,stroke:"lightgray",fill:Jn,margin:1,background:"transparent",mouseEnter:(Do,wa)=>wa.stroke="dodgerblue",mouseLeave:(Do,wa)=>wa.stroke="lightgray",click:Vo(Ta,Jn),contextClick:Vo(Ta,Jn)})}function pn(){return[kn("ContextMenuButton",kn(Ze.s_,"Horizontal",St(dr.white,"fill"),St(dr.beige,"fill"),St(dr.extralightblue,"fill"),St(dr.extralightred,"fill"))),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",St(dr.lightgray,"fill"),St(dr.lightgreen,"fill"),St(dr.lightblue,"fill"),St(dr.lightred,"fill")))]}function vn(){return[kn("ContextMenuButton",kn(Ze.s_,"Horizontal",St(dr.black),St(dr.green),St(dr.blue),St(dr.red))),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",St(dr.white),St(dr.magenta),St(dr.purple),St(dr.orange)))]}function qt(Jn,Ta){return Ta||(Ta="thickness"),kn(Ze.bn,"LineH",{width:16,height:16,strokeWidth:Jn,margin:1,background:"transparent",mouseEnter:(Do,wa)=>wa.background="dodgerblue",mouseLeave:(Do,wa)=>wa.background="transparent",click:Vo(Ta,Jn),contextClick:Vo(Ta,Jn)})}function Sn(Jn,Ta){return Ta||(Ta="dash"),kn(Ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Jn,margin:1,background:"transparent",mouseEnter:(Do,wa)=>wa.background="dodgerblue",mouseLeave:(Do,wa)=>wa.background="transparent",click:Vo(Ta,Jn),contextClick:Vo(Ta,Jn)})}function mn(){return[kn("ContextMenuButton",kn(Ze.s_,"Horizontal",qt(1),qt(2),qt(3),qt(4))),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",Sn(null),Sn([2,4]),Sn([4,4])))]}function hn(Jn,Ta){return Ta||(Ta="figure"),kn(Ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Jn,margin:1,background:"transparent",mouseEnter:(Do,wa)=>wa.fill="dodgerblue",mouseLeave:(Do,wa)=>wa.fill="lightgray",click:Vo(Ta,Jn),contextClick:Vo(Ta,Jn)})}wt.current.nodeTemplate.contextMenu=kn("ContextMenu",kn("ContextMenuButton",kn(Ze.s_,"Horizontal",hn("Rectangle"),hn("RoundedRectangle"),hn("Ellipse"),hn("Diamond"))),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",hn("Parallelogram2"),hn("ManualOperation"),hn("Procedure"),hn("Cylinder1"))),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",hn("Terminator"),hn("CreateRequest"),hn("Document"),hn("TriangleDown"))),pn(),vn(),mn()),wt.current.groupTemplate=kn(Ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Jn,Ta)=>{var Do=Ta.addMembers(Ta.diagram.selection,!0);Do||Ta.diagram.currentTool.doCancel()},avoidable:!1},new Ze.KX("location","loc",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),kn(Ze.s_,"Auto",{name:"BODY"},kn(Ze.bn,{parameter1:10,fill:dr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ze.z6.AllSides,toSpot:Ze.z6.AllSides},new Ze.KX("fill"),new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),kn(Ze.Vm,{background:"transparent",margin:20})),kn(Ze.al,{alignment:Ze.z6.Top,alignmentFocus:Ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ze.KX("text"),new Ze.KX("stroke","color"))),wt.current.groupTemplate.selectionAdornmentTemplate=kn(Ze.uz,"Spot",kn(Ze.s_,"Auto",kn(Ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),kn(Ze.Vm,{margin:1.5})),xr({alignment:Ze.z6.TopRight,alignmentFocus:Ze.z6.BottomRight})),wt.current.groupTemplate.contextMenu=kn("ContextMenu",pn(),vn(),mn()),wt.current.linkTemplate=kn(Ze.rU,{layerName:"Foreground",routing:Ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ze.KX("fromSpot","fromSpot",Ze.z6.parse),new Ze.KX("toSpot","toSpot",Ze.z6.parse),new Ze.KX("fromShortLength","dir",Jn=>Jn>=1?10:0),new Ze.KX("toShortLength","dir",Jn=>Jn>=1?10:0),new Ze.KX("points").makeTwoWay(),kn(Ze.bn,{strokeWidth:2},new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),kn(Ze.bn,{segmentIndex:0,segmentOffset:new Ze.E9(15,0),segmentOrientation:Ze.rU.OrientAlong,alignmentFocus:Ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",Jn=>Jn===1)),kn(Ze.bn,{segmentIndex:-1,segmentOffset:new Ze.E9(-10,6),segmentOrientation:Ze.rU.OrientPlus90,alignmentFocus:Ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",Jn=>Jn>=1),new Ze.KX("width","thickness",Jn=>7+3*Jn),new Ze.KX("height","thickness",Jn=>7+3*Jn),new Ze.KX("segmentOffset","thickness",Jn=>new Ze.E9(-15,4+1.5*Jn))),kn(Ze.bn,{segmentIndex:0,segmentOffset:new Ze.E9(15,-6),segmentOrientation:Ze.rU.OrientMinus90,alignmentFocus:Ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",Jn=>Jn===2),new Ze.KX("width","thickness",Jn=>7+3*Jn),new Ze.KX("height","thickness",Jn=>7+3*Jn),new Ze.KX("segmentOffset","thickness",Jn=>new Ze.E9(-15,4+1.5*Jn))),kn(Ze.al,{alignmentFocus:new Ze.z6(0,1,-4,0),editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),wt.current.linkTemplate.selectionAdornmentTemplate=kn(Ze.uz,kn(Ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new Ze.KX("pathPattern","thickness",yn)),xr({alignmentFocus:new Ze.z6(0,0,-6,-4)}));function yn(Jn){return kn(Ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Jn+4).toString()+" H3"})}function fa(Jn){var Ta="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Jn===0?Ta="M0 0 M16 16 M0 8 L16 8":Jn===2&&(Ta="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),kn(Ze.bn,{geometryString:Ta,margin:2,background:"transparent",mouseEnter:(Do,wa)=>wa.background="dodgerblue",mouseLeave:(Do,wa)=>wa.background="transparent",click:Vo("dir",Jn),contextClick:Vo("dir",Jn)})}function Aa(Jn){var Ta=(Do,wa)=>{Do.handled=!0,Do.diagram.model.commit(ro=>{var fr=wa.part.adornedPart;ro.set(fr.data,Jn?"toSpot":"fromSpot",Ze.z6.stringify(Ze.z6.AllSides)),(Jn?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return kn(Ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Do,wa)=>wa.background="dodgerblue",mouseLeave:(Do,wa)=>wa.background="transparent",click:Ta,contextClick:Ta})}function tn(Jn,Ta){var Do=0,wa=Ze.z6.RightSide;Jn.equals(Ze.z6.Top)?(Do=270,wa=Ze.z6.TopSide):Jn.equals(Ze.z6.Left)?(Do=180,wa=Ze.z6.LeftSide):Jn.equals(Ze.z6.Bottom)&&(Do=90,wa=Ze.z6.BottomSide),Ta||(Do-=180);var ro=(fr,zo)=>{fr.handled=!0,fr.diagram.model.commit(Yr=>{var $r=zo.part.adornedPart;Yr.set($r.data,Ta?"toSpot":"fromSpot",Ze.z6.stringify(wa)),(Ta?$r.toNode:$r.fromNode).invalidateConnectedLinks()})};return kn(Ze.bn,{alignment:Jn,alignmentFocus:Jn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Do,background:"transparent",mouseEnter:(fr,zo)=>zo.background="dodgerblue",mouseLeave:(fr,zo)=>zo.background="transparent",click:ro,contextClick:ro})}wt.current.linkTemplate.contextMenu=kn("ContextMenu",vn(),mn(),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",fa(0),fa(1),fa(2))),kn("ContextMenuButton",kn(Ze.s_,"Horizontal",kn(Ze.s_,"Spot",Aa(!1),tn(Ze.z6.Top,!1),tn(Ze.z6.Left,!1),tn(Ze.z6.Right,!1),tn(Ze.z6.Bottom,!1)),kn(Ze.s_,"Spot",{margin:new Ze.Zt(0,0,0,2)},Aa(!0),tn(Ze.z6.Top,!0),tn(Ze.z6.Left,!0),tn(Ze.z6.Right,!0),tn(Ze.z6.Bottom,!0)))));const Sr=`{ "class": "GraphLinksModel", + "nodeDataArray": [ +{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, +{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, +{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, +{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, +{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, +{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, +{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} +], + "linkDataArray": [ +{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, +{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, +{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, +{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, +{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, +{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, +{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} +]}`;var Nr=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function qr(Jn){return console.log("shapeName:",Jn),Nr.indexOf(Jn)>=0}var Cr=new Ze.YI(na.current,{maxSelectionCount:1,linkTemplate:kn(Ze.rU,{locationSpot:Ze.z6.Center,selectionAdornmentTemplate:kn(Ze.uz,"Link",{locationSpot:Ze.z6.Center},kn(Ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),kn(Ze.bn,{toArrow:"Standard",stroke:null}))},{routing:Ze.rU.AvoidsNodes,curve:Ze.rU.JumpOver,corner:5,toShortLength:4},new Ze.KX("points"),kn(Ze.bn,{isPanelMain:!0,strokeWidth:2}),kn(Ze.bn,{toArrow:"Standard",stroke:null})),model:new Ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ze.bn.getFigureGenerators().toArray().map(Jn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Jn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return wt.current.addDiagramListener("TextEdited",function(Jn){var Ta;const Do=Jn.subject.part;var wa=(Ta=document.activeElement)==null?void 0:Ta.value;typeof wa=="string"&&wa.trim()===""&&wt.current.model.commit(function(ro){ro.set(Do.data,"text","\u672A\u547D\u540D"),wt.current.commandHandler.stopCommand()},"increment")}),Cr.nodeTemplate=kn(Ze.NB,"Auto",{locationSpot:Ze.z6.Center},new Ze.KX("location","location",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),kn(Ze.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 Ze.KX("stroke").makeTwoWay(),new Ze.KX("fill").makeTwoWay(),new Ze.KX("figure")),kn(Ze.al,{margin:new Ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ze.$u(16,16),maxSize:new Ze.$u(10,NaN),textAlign:"center",editable:!0},new Ze.KX("key").makeTwoWay())),setTimeout(()=>{wt.current.grid=kn(Ze.s_,"Grid",kn(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),kn(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),wt.current.grid.visible=!0,wt.current.grid.gridCellStroke="darkgray",wt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=wt.current,wt.current}const to=()=>Be(this,null,function*(){var kn=wt.current.makeImage();const dr=yield(0,it.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:kn.src}});Tt({src:dr.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Ar()},500),oo(Oa+1),()=>{wt.current=null}),[]),_e.createElement("div",{ref:nr,className:Hn.current?`${ft.maxH60} body-overflow-initial`:"body-overflow-initial"},_e.createElement(We.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Oa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:_e.createElement(vt.Z,null,_e.createElement(En.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),_e.createElement(En.Z,{onClick:()=>{var kn,dr,Wr=wt.current.selection.first();if(Hn.current=!Hn.current,document.activeElement&&Wr){let xr=(dr=(kn=document.activeElement)==null?void 0:kn.value)==null?void 0:dr.trim();typeof xr=="string"&&wt.current.model.commit(function(Vo){Vo.set(Wr.data,"text",xr||"\u672A\u547D\u540D"),wt.current.commandHandler.stopCommand()},"increment")}oo(Oa+1)}},_e.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:xt},_e.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ft.flowChartWrp},_e.createElement("div",{style:{display:"flex",height:"100%"}},_e.createElement("div",{style:{width:"300px",height:"100%"}},_e.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),_e.createElement("div",{style:{height:"calc(100% - 50px)"},className:ft.myPaletteDiv,ref:na})),_e.createElement("div",{style:{flex:1,position:"relative"}},_e.createElement("div",{ref:In,style:{height:"80vh"}}))),_e.createElement("div",{className:"tr"},_e.createElement(Ee.ZP,{size:"large",onClick:to,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ct=ot,Re=te(5112),we=te(5871);const rt=Re.ZP.Group,$e={margin:"0 8px"};var ze=({callback:xt,onCancel:Tt})=>{function wt(In){xt(In)}return b.createElement(me.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:wt},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:$e},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:$e},"\u884C\u6570"),b.createElement(me.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(we.Z,null)),b.createElement("span",{style:$e},"\u5217\u6570"),b.createElement(me.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(we.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:$e},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(me.default.Item,{name:"align"},b.createElement(rt,null,b.createElement(Re.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(Re.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(Re.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(Re.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ee.ZP,{type:"ghost",onClick:Tt},"\u53D6\u6D88")))},Et=te(78673),An=te(93510),en=te.n(An),on=(0,b.forwardRef)(({use3d:xt,width:Tt,height:wt,callback:In,showSaveButton:na},Hn)=>{const nr=(0,b.useRef)(),Oa=(0,b.useRef)(),[oo,Ar]=(0,b.useState)(!1),to=(0,b.useRef)({id:nr,appName:"graphing",width:Tt||1e3,height:wt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Oa.current=new(en())(to.current,!0),window.onload=function(){Oa.current.inject("applet_container")}},[]);const kn=()=>{var dr=window.ggbApplet.getPNGBase64(1,!0,72);return In&&In(dr),dr};return(0,b.useEffect)(()=>{to.current.appName=oo?"3D":"graphing",Oa.current.inject("applet_container")},[oo]),(0,b.useEffect)(()=>{Ar(xt)},[xt]),(0,b.useImperativeHandle)(Hn,()=>({getImgData:kn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:nr}),b.createElement(vt.Z,{align:"middle"},b.createElement(En.Z,{flex:1},b.createElement(Et.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:oo,onChange:dr=>Ar(dr)})),b.createElement(En.Z,null,b.createElement(Ee.ZP,{size:"large",onClick:kn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),$t=te(99298),Ye=te(1012),at=te(8591);const jt="link",Kt="upload-image",fn="add-flowchart",Zt="draw-image",Fn="add-flowchart",jn="code-block",ia="add-table",Da="------------",gn={default:Da,left:`:${Da}`,center:`:${Da}:`,right:`${Da}:`};var Pa=te(31103),uo=(xt,Tt,wt)=>new Promise((In,na)=>{var Hn=oo=>{try{Oa(wt.next(oo))}catch(Ar){na(Ar)}},nr=oo=>{try{Oa(wt.throw(oo))}catch(Ar){na(Ar)}},Oa=oo=>oo.done?In(oo.value):Promise.resolve(oo.value).then(Hn,nr);Oa((wt=wt.apply(xt,Tt)).next())});function da(){}let ta=0;const Fo=1e4,ao="\u2581",Qt="@\u2581\u2581@",On="@\u2581@",ra=` +**\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`,Sa=["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 $n(xt){return/^\d+$/.test(xt)?`${xt}px`:xt}const xo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",br={[xo+"-B"]:"bold",[xo+"-I"]:"italic"},Or={[jt]:"\u6DFB\u52A0\u94FE\u63A5",[jn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Kt]:"\u6DFB\u52A0\u56FE\u7247",[Zt]:"\u6DFB\u52A0\u753B\u56FE",[fn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ia]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ia=({defaultValue:xt="",onChange:Tt,width:wt="100%",height:In=400,miniToolbar:na=!1,isFocus:Hn=!1,watch:nr,insertTemp:Oa,mode:oo="markdown",id:Ar="markdown-editor-id",showResizeBar:to=!1,noStorage:kn=!1,showNullButton:dr=!1,showNullProgramButton:Wr=!1,hidetoolBar:xr=!1,fullScreen:Vo=!1,onBlur:St,onCMBeforeChange:pn,onFullScreen:vn,className:qt="",disablePaste:Sn=!1,disabled:mn=!1,disabledFill:hn=!1,placeholder:yn="",values:fa="",extraUse:Aa})=>{const[tn,Sr]=(0,b.useState)(null),[Nr,qr]=(0,b.useState)(xt),[Cr,Jn]=(0,b.useState)(nr),[Ta,Do]=(0,b.useState)(Vo),[wa,ro]=(0,b.useState)(""),[fr,zo]=(0,b.useState)(0),[Yr,$r]=(0,b.useState)(In),[ii,Hl]=(0,b.useState)(!1),Ur=(0,b.useRef)((0,Ye.Z)()),ci=(0,b.useRef)(!1),Yl=(0,b.useRef)(),[vi,Ni]=(0,b.useState)(0),[ql,Bl]=(0,b.useState)(0),di=(0,b.useRef)(),Ii=(0,b.useRef)(),Li=(0,b.useRef)(),Si=(0,b.useRef)(),ai=()=>uo(void 0,null,function*(){var So;const Ba=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ur.current}});(So=Ba==null?void 0:Ba.attachments)!=null&&So.length&&(console.log("cm:",tn,di),Ba.attachments.map(Ya=>{Ya.content_type.indexOf("image")>-1?tn.replaceSelection(`![,](/api/attachments/${Ya.id}?type=${Ya.content_type})`):Ya.content_type.indexOf("video")>-1?tn.replaceSelection(``):Ya.content_type.indexOf("pdf")>-1?tn.replaceSelection(`${Ya.name}`):tn.replaceSelection(`[${Ya.name}](${ENV.API_SERVER}/api/attachments/${Ya.id}?type=${Ya.content_type})`)}))});(0,b.useEffect)(()=>{const So=window.scrollY||window.pageYOffset;qr(fa),tn==null||tn.setValue(fa),window.scrollTo(0,So)},[fa]),(0,b.useEffect)(()=>{vn==null||vn(Ta)},[Ta]),(0,b.useEffect)(()=>{if(di.current){let So=function(Ya,Ha){var Ir;if(Sn){Ha.preventDefault();return}const pl=Ha.clipboardData;if(pl){const Ll=pl.types.toString(),el=pl.items;if(Ll==="Files"||pl.types.indexOf("Files")>-1){if(Ha.preventDefault(),oo=="stex")return;try{let Ul=el[1];((Ir=el[0])==null?void 0:Ir.kind)==="file"&&(Ul=el[0]);const Kl=Ul.getAsFile(),Mi=Kl.name.split(".").pop();(0,Te.I)(Kl,ei=>{var ir,so,vl;ei.id?((ir=Kl==null?void 0:Kl.type)==null?void 0:ir.indexOf("image"))>-1?Ba.replaceSelection(``):((so=Kl==null?void 0:Kl.type)==null?void 0:so.indexOf("video"))>-1?Ba.replaceSelection(``):((vl=Kl==null?void 0:Kl.type)==null?void 0:vl.indexOf("pdf"))>-1?Ba.replaceSelection(`${Kl.name}`):Sa.includes(Mi)?Ba.replaceSelection(`${Kl.name}`):Ba.replaceSelection(`[${Kl.name}](/api/attachments/${ei.id}?type=${ei.content_type})`):(ei==null?void 0:ei.status)===401&&(at.ZP.warning((ei==null?void 0:ei.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ul){at.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ba=Pe().fromTextArea(di.current,{mode:oo,lineNumbers:!na,lineWrapping:!0,value:xt,autoCloseTags:!Wr,autoCloseBrackets:!0});return Ba.on("keyup",function(Ya,Ha){Ha.keyCode===8&&(Ya.getValue()==""?Ba.setOption("placeholder",yn):Ba.setOption("placeholder",null))}),Ba.on("keydown",function(Ya,Ha){if(Ha.keyCode===8){var Ir=pr(Ya);Ir&&Ha.preventDefault()}}),Hn&&Ba.focus(),Ba.on("paste",So),Ba.on("dragleave",function(Ya,Ha){Ii.current.classList.remove("mouse-hover-md")}),mn&&Ba.on("beforeChange",function(Ya,Ha){(Ha.origin==="paste"||Ha.origin==="+input")&&Ha.cancel()}),Sr(Ba),()=>{Ba.off("paste",So)}}},[]);const hi=(0,b.useCallback)(()=>{if(Ii.current)try{}catch(So){console.log(So,"---- to set md editor body height")}},[Yr,Ii,Ta]);(0,b.useEffect)(()=>{function So(){let Ba=new Fe.Z(Ya=>{for(let Ha of Ya)(Ha.target.offsetHeight>0||Ha.target.offsetWidth>0)&&(hi(),tn.setSize("100%","100%"),tn.refresh())});return Ba.observe(di.current.parentElement),Ba}if(tn){const Ba=So();return()=>{var Ya,Ha;(Ya=di.current)!=null&&Ya.parentElement&&Ba.unobserve((Ha=di.current)==null?void 0:Ha.parentElement)}}},[tn,hi]),(0,b.useEffect)(()=>{if(tn){let So=[];for(const[Ba,Ya]of Object.entries(br)){let Ha={[Ba]:()=>{fl(Ya)}};So.push(Ha),tn.addKeyMap(Ha)}return Yl.current=setInterval(()=>{ci.current&&ai()},4e3),()=>{clearInterval(Yl.current);for(let Ba of So)tn.removeKeyMap(Ba)}}},[tn]),(0,b.useEffect)(()=>{Vo!==Ta&&Do(Vo)},[Vo]),(0,Pa.Z)(()=>{if(!kn&&fr>0){let So=new Date().getTime(),Ba=window.sessionStorage.getItem(Ar);So>=fr+Fo&&(!Ba||Ba!==Nr)&&(window.sessionStorage.setItem(Ar,Nr),Hl(!0))}},Fo),(0,b.useEffect)(()=>{Jn(nr)},[tn,nr]),(0,b.useEffect)(()=>{tn&&Hn&&tn.focus()},[tn,Hn]),(0,b.useEffect)(()=>{if(Cr&&tn){let So=function(Ya){let Ha=Ya.target;if(Si.current){let Ir=Ha.scrollTop/Ha.scrollHeight;Si.current.scrollTop=Si.current.scrollHeight*Ir}};const Ba=tn.getScrollerElement();return Ba.addEventListener("scroll",So),()=>{Ba.removeEventListener("scroll",So)}}},[tn,Cr]),(0,b.useEffect)(()=>{if(tn&&pn){let So=function(Ba,Ya){pn(Ba,Ya)};return tn.on("beforeChange",So),()=>{tn.off("beforeChange",So)}}},[tn,pn]),(0,b.useEffect)(()=>{if(tn&&St){let So=function(){St(tn.getValue())};return tn.on("blur",So),()=>{tn.off("blur",So)}}},[tn,St]);function pr(So,Ba){var Ya=So.getDoc(),Ha=Ya.getCursor(),Ir=Ya.getLine(Ha.line),pl=Ir.charAt(Ha.ch-1),Ll=Ir.lastIndexOf("@\u2581@",Ha.ch),el=Ir.lastIndexOf("@\u2581\u2581@",Ha.ch),Ul=Ll>el?Ll:el,Kl=Ll>el?3:4;if(Qt.indexOf(pl)===-1)return null;if(console.log("change1:",Ba,So,Ir,Ha,Ul,Ll,el,pl),Ul>=0&&Ha.ch-Ul<5){var Mi=Ul+Kl;return Ya.replaceRange("",{line:Ha.line,ch:Ul},{line:Ha.line,ch:Mi}),{line:Ha.line,ch:Mi}}return null}(0,b.useEffect)(()=>{if(tn){let So=function(Ba,Ya){const Ha=Ba.getValue();qr(Ha),zo(new Date().getTime()),Ba.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Tt&&(Wr?Tt(Ha,Tl(Ha)):Tt(Ha))};return tn.on("change",So),()=>{tn.off("change",So)}}},[tn,Tt]),(0,b.useEffect)(()=>{if(tn)if(xt==null)tn.setValue(""),qr("");else{const So=window.scrollY||window.pageYOffset;xt!==tn.getValue()&&(tn.setValue(xt),qr(xt),tn.setCursor(mn?1:tn.lineCount(),0),window.scrollTo(0,So))}},[tn,xt]);const fl=(0,b.useCallback)(So=>{const Ba=tn.getCursor(),Ya=tn.getSelection();let Ha=Ya.split(` +`);switch(So){case"bold":return tn.replaceSelection("**"+Ya+"**"),Ya===""&&tn.setCursor(Ba.line,Ba.ch+2),tn.focus();case"italic":return tn.replaceSelection("*"+Ya+"*"),Ya===""&&tn.setCursor(Ba.line,Ba.ch+1),tn.focus();case"code":return tn.replaceSelection("`"+Ya+"`"),Ya===""&&tn.setCursor(Ba.line,Ba.ch+1),tn.focus();case"inline-latex":return ro("inline-latex"),tn.focus();case"latex":return tn.replaceSelection("```latex\n"+Ya+"\n```"),tn.setCursor(Ba.line+1,Ya.length+1),tn.focus();case"line-break":return tn.replaceSelection(`
+`),tn.focus();case"list-ul":return Ya===""?tn.replaceSelection("- "+Ya):tn.replaceSelection(Ha.map(Ir=>Ir===""?"":`- ${Ir}`).join(` +`)),tn.focus();case"list-ol":return Ya===""?tn.replaceSelection("1. "+Ya):tn.replaceSelection(Ha.map((Ir,pl)=>Ir===""?"":`${pl+1}. ${Ir}`).join(` +`)),tn.focus();case"add-null-ch":return Ya===""&&tn.setCursor(Ba.line,Ba.ch),tn.replaceSelection(ao),tn.focus();case"add-signal":return Ya===""&&tn.setCursor(Ba.line,Ba.ch),tn.replaceSelection(On),tn.focus();case"add-multiple":return Ya===""&&tn.setCursor(Ba.line,Ba.ch),tn.replaceSelection(Qt),tn.focus();case"inster-template-1":return Ya===""&&tn.setCursor(Ba.line,Ba.ch),tn.replaceSelection(ra),tn.focus();case"eraser":return tn.setValue(""),tn.focus();case"trigger-watch":return Jn(!Cr),tn.focus();case"trigger-full-screen":return Do(!Ta),tn.focus();case jt:ro(jt);return;case jn:ro(jn);return;case Kt:ro(Kt);return;case Zt:ro(Zt);return;case"maths-latex":ro("maths-latex");return;case fn:ro(fn);return;case ia:ro(ia);return;default:throw new Error}},[tn,Cr,Ta]),bl=(0,b.useCallback)((So,Ba)=>{var Ya,Ha,Ir,pl,Ll,el;switch(ro(""),wa){case jt:const{title:ir,link:so}=So;return tn.replaceSelection(`[${ir}](${so})`),tn.focus();case jn:const{language:vl,content:Vr}=So;return tn.replaceSelection(["```"+vl,Vr,"```"].join(` +`)),tn.focus();case"maths-latex":for(var Ul=atob(So),Kl=new Uint8Array(Ul.length),Mi=0;Mi{Xa.id?tn.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":tn.replaceSelection("`$$"+So+"$$`");break;case Kt:case Zt:case Fn:const{src:Qr,alt:Jt}=So,Rt=Ba,sn=(Ir=(Ha=(Ya=Rt==null?void 0:Rt.name)==null?void 0:Ya.split("."))==null?void 0:Ha.pop)==null?void 0:Ir.call(Ha);return((pl=Rt==null?void 0:Rt.type)==null?void 0:pl.indexOf("image"))>-1||!(Rt!=null&&Rt.type)?Rt.align||Rt.width?tn.replaceSelection(`

${Jt||

`):tn.replaceSelection(`${Jt||`):((Ll=Rt==null?void 0:Rt.type)==null?void 0:Ll.indexOf("video"))>-1?tn.replaceSelection(``):((el=Rt==null?void 0:Rt.type)==null?void 0:el.indexOf("pdf"))>-1?tn.replaceSelection(`${Rt.name}`):Sa.includes(sn)?tn.replaceSelection(`${Rt.name}`):tn.replaceSelection(`[${Rt.name}](${Qr})`),tn.focus();case ia:const{row:Yn,col:lo,align:Co}=So;let Tn=` +`;for(let Xa=0;Xa{switch(wa){case jt:return b.createElement(Pt,{callback:bl,onCancel:$l});case jn:return b.createElement(Ge.Z,{callback:bl,onCancel:$l});case Kt:return b.createElement(Te.Z,{callback:bl,onCancel:$l});case fn:return b.createElement(ct,{callback:bl,onCancel:$l});case ia:return b.createElement(ze,{callback:bl,onCancel:$l});case"maths-latex":return b.createElement(on,{showSaveButton:!0,callback:bl});case"inline-latex":return b.createElement($t.Z,{showSaveButton:!0,callback:bl});default:return null}},[wa]);function $l(){ro("")}(0,b.useEffect)(()=>{if(Li.current){let So=function(Ll){Ir=!0,pl=Ll.pageY},Ba=function(){Ir=!1},Ya=function(Ll){if(Ir){let el=Ll.pageY-pl;el<0&&(el=0),el>300&&(el=300);let Ul=In+el+"px";$r(Ul)}},Ha=Li.current,Ir=!1,pl=0;return Ha.addEventListener("mousedown",So),document.addEventListener("mousemove",Ya),document.addEventListener("mouseup",Ba),()=>{Ha.removeEventListener("mousedown",So),document.removeEventListener("mousemove",Ya),document.removeEventListener("mouseup",Ba)}}},[tn,Li]),(0,b.useEffect)(()=>{$r(In)},[In]);const Ci=$n(wt),Xi=$n(Yr),Yi={width:Ci,height:Xi},Il=(0,b.useMemo)(()=>{if(fr){let So=new Date(fr),Ba=So.getHours(),Ya=So.getMinutes(),Ha=So.getSeconds();return Ba=Ba<10?"0"+Ba:Ba,Ya=Ya<10?"0"+Ya:Ya,Ha=Ha<10?"0"+Ha:Ha,`${Ba}:${Ya}:${Ha}`}return 0},[fr]),Tl=So=>{const Ba=[];if(Wr){let Ya=-1;So=So.replace(/(@▁▁@|@▁@)/g,function(Ha,Ir,pl){Ba.push({multiLine:Ha!==On})})}return Ba};function Ri(){window.sessionStorage.removeItem(Ar),Hl(!1),zo(0)}function Rn(){Hl(!1),zo(0),tn.setValue(window.sessionStorage.getItem(Ar))}(0,b.useEffect)(()=>{Or[wa]&&wa!==Zt&&wa!==fn&&setTimeout(()=>{const So=document.getElementsByClassName("markdown-popup-form")[0],Ba=window.innerWidth/2-So.offsetWidth/2,Ya=window.innerHeight/2-So.offsetHeight/2;Ni(Ba),Bl(Ya)},0)},[wa]);const uu=So=>{So.preventDefault();const Ba=So.clientX-vi,Ya=So.clientY-ql;document.body.onmousemove=Ha=>{let Ir=Ha.clientX-Ba,pl=Ha.clientY-Ya;const Ll=document.getElementsByClassName("markdown-popup-form")[0],el=window.innerWidth-Ll.offsetWidth,Ul=window.innerHeight-Ll.offsetHeight;Ir=Math.max(0,Math.min(Ir,el)),pl=Math.max(0,Math.min(pl,Ul)),su(Ha.clientX,Ha.clientY,Ba,Ya)&&(Ni(Ir),Bl(pl))},document.body.onmouseup=function(){document.body.onmousemove=null}},su=(So,Ba,Ya,Ha)=>{const Ir=document.body.clientHeight,pl=document.body.clientWidth;return So<20&&Ya>So||So>pl-20&&YaBa||Ba>Ir-20&&Have in me?De(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):me[ve]=Ee,z=(me,ve)=>{for(var Ee in ve||(ve={}))E.call(ve,Ee)&&y(me,Ee,ve[Ee]);if(a)for(var Ee of a(ve))x.call(ve,Ee)&&y(me,Ee,ve[Ee]);return me},ne=(me,ve)=>fe(me,oe(ve));const{useForm:ae}=b.default,le={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:me,onCancel:ve})=>{const[Ee]=ae();let Je=(0,je.useRef)();function Me(ke){Je.current.width=Ee.getFieldValue("width"),Je.current.align=Ee.getFieldValue("align"),me(ke,Je.current)}function Ue(ke,nt){if(ke.status===-1){re.ZP.error(ke.message);return}Ee.setFieldsValue({src:`/api/attachments/${ke.id}`,type:nt.type})}function Le(ke){let nt=ke.target.files[0];Je.current=nt,ce(nt,Ue)}return Ne.createElement(b.default,ne(z({form:Ee},ie),{className:"upload-image-panel",onFinish:Me,style:{width:470,overflow:"hidden"}}),Ne.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ne.createElement("div",{className:"flex-container"},Ne.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ne.createElement(Pe.default,{style:le})),Ne.createElement(se,{onFileChange:Le}))),Ne.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ne.createElement(Pe.default,{style:{width:264}})),Ne.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ne.createElement(Fe.Z,null,Ne.createElement(b.default.Item,{name:"width",style:{margin:0}},Ne.createElement(be.Z,{style:{width:264}})),Ne.createElement("span",{className:"ml8"},"%"))),Ne.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ne.createElement(xe.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"}]})),Ne.createElement("aside",null,Ne.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ne.createElement(ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ne.createElement(ue.ZP,{type:"default",onClick:ve},"\u53D6\u6D88"))))};function se({onFileChange:me}){return Ne.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ne.createElement("input",{type:"file",onChange:me}))}function ce(me,ve){if(!me)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ie.bg)())throw re.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ee=new FormData;Ee.append("editormd-image-file",me),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(Me){ve(JSON.parse(Me.target.responseText),me)},!1),Je.addEventListener("error",function(Me){console.error(Me)},!1),Je.open("POST",`${Oe.KI}/api/attachments.json`),Je.send(Ee)}},57261:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Pe}});var b=te(59301),re=te(4676);class Pe extends b.Component{constructor(be){super(be);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,re.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(tt,Qe,te){"use strict";te.d(Qe,{i:function(){return ie},Z:function(){return se}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},re=te(71418),Pe=te(6848),Fe=te(93948),be=te(92310),xe=te.n(be),ue=te(65862),Oe=te(2524),je=te(41867),Ie=te(79005),Ne=te(20345),De=te(77882),fe=te(31081),oe=te(75309),a=te(71979),E=te(47558),x=te(42922),y=te(66832),z=te(96593),ne=te(19664),ae=te(91833),le=te(59301);const ie=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ie,swimg:Ne},{name:"101\u8BA1\u5212",ptimg:De,swimg:fe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:oe,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:y,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ne,swimg:ae}];var se=({className:ce,dataSource:me=[],col:ve=4,right:Ee,bottom:Je=23,precision:Me=0,wrapWidth:Ue=1200,trackEventItems:Le,loading:ke,onRemove:nt=()=>{},isCurrent:pt=!0,showAlias:dt=!1,showProgress:lt=!1})=>{const Xe=Math.floor((Ue-(ve-1)*Ee)/ve),Pt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Ge=>(window.ENV==="build"&&(Ge.ptimg=`/react/build${Ge.ptimg}`,Ge.swimg=`/react/build${Ge.swimg}`),Ge));return le.createElement(re.Z,{spinning:ke},le.createElement("div",{className:xe()(b.list,ce)},!!(me!=null&&me.length)&&(me==null?void 0:me.map((Ge,Te)=>{var We,vt,It,mt,Pn,Ze;const{name:Ft,id:Ut,identifier:dn,featured:En,school_name:it,image_url:ft,excellent:_e,is_plan:Be}=Ge;return le.createElement("div",{key:Ut,className:pt&<?b.wrapisCurrent:b.wrap,style:{width:Xe,marginRight:(1+Te)%ve===0?0:Ee+Me,marginBottom:Je}},le.createElement("a",{className:b.li,onClick:ot=>{ot.preventDefault(),ot.stopPropagation(),Le&&(0,ue.L9)([Le]),(0,ue.xg)(`/paths/${dn}`)}},le.createElement("div",{className:b.img},le.createElement("img",{className:b.cover,src:`${ft}`}),pt&&(0,je.bg)()&&(Ge==null?void 0:Ge.studying)&&le.createElement("div",{className:`${b.movebq} user-path-items`,onClick:ot=>{ot.stopPropagation(),nt(Ge)}},le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(We=Ge==null?void 0:Ge.subject_tags)==null?void 0:We.map((ot,ct)=>{var Re,we;if(ct===0){const $e=(Re=Pt.find(ze=>ze.name==ot))==null?void 0:Re.swimg;return le.createElement("img",{className:b.sign,src:$e,style:{left:"-4px"}})}const rt=(we=Pt.find($e=>$e.name==ot))==null?void 0:we.ptimg;return le.createElement("img",{className:b.sign,src:rt,style:{left:`${48+52*(ct-1)+2*ct}px`}})}),le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ge==null?void 0:Ge.excellent)&&le.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:b.name},le.createElement(Pe.Z,{title:dt&&(Ge!=null&&Ge.excellent_alias_name)?le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ft}`,le.createElement("br",null),le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ge==null?void 0:Ge.excellent_alias_name}`)):Ft},le.createElement("span",{className:b.e},dt&&(Ge==null?void 0:Ge.excellent_alias_name)||Ft))),pt&<&&((vt=Ge==null?void 0:Ge.progress)==null?void 0:vt.all_score)!=0&&le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},le.createElement(Fe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((It=Ge==null?void 0:Ge.progress)==null?void 0:It.my_score)/((mt=Ge==null?void 0:Ge.progress)==null?void 0:mt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Pn=Ge==null?void 0:Ge.progress)==null?void 0:Pn.my_score,"/",(Ze=Ge==null?void 0:Ge.progress)==null?void 0:Ze.all_score),(!pt||!lt)&&le.createElement("div",{className:b.tags},le.createElement("div",null,le.createElement(Pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),le.createElement("span",null,Ge.stages_count))),le.createElement(Pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),le.createElement("span",null,Ge.members_count)))))))})),!me.length&&le.createElement(Oe.Z,null)))}},3918:function(tt,Qe,te){"use strict";te.d(Qe,{jL:function(){return be},w9:function(){return $n},vv:function(){return wt},dN:function(){return Or},QD:function(){return ci},cQ:function(){return ct.Z},vg:function(){return ao},Oz:function(){return gn},op:function(){return zo},O5:function(){return Il},_b:function(){return di},t7:function(){return Je},tT:function(){return Le},Gi:function(){return xr},YG:function(){return nr},Ed:function(){return dr},kT:function(){return Ar},qp:function(){return x},Um:function(){return ie},K3:function(){return ne},vr:function(){return Ni},qE:function(){return ii},Je:function(){return pt},wb:function(){return Ze},rC:function(){return ot},lB:function(){return dn},cq:function(){return Sn},kO:function(){return fa},tp:function(){return ce},Si:function(){return Rn},k8:function(){return Qr},Du:function(){return pl}});var b=te(59301),re={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo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n,sunTitle:lo,bannerExtraContent:Co})=>b.createElement("div",{className:re.banner},b.createElement("div",{className:re.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Yn),b.createElement("span",null,lo)),Jt.length>0&&b.createElement("div",{className:re.btns},Jt.map((Tn,Xa)=>b.createElement("div",{key:Xa,onClick:Tn.click},Tn.name,Tn.sign?b.createElement("img",{src:Pe,width:39}):null))),Co),Rt&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:Rt,width:sn}))),xe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ue=te(92310),Oe=te.n(ue),je=te(89392),Ie=Object.defineProperty,Ne=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,oe=(Jt,Rt,sn)=>Rt in Jt?Ie(Jt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Jt[Rt]=sn,a=(Jt,Rt)=>{for(var sn in Rt||(Rt={}))De.call(Rt,sn)&&oe(Jt,sn,Rt[sn]);if(Ne)for(var sn of Ne(Rt))fe.call(Rt,sn)&&oe(Jt,sn,Rt[sn]);return Jt},x=({dataSource:Jt=[],value:Rt,onChange:sn,onTitleChange:Yn,className:lo,title:Co,titleWidth:Tn=41,style:Xa={},fontColor:Go="#6A7283",showCount:hr,classNameActive:Zo,styleItem:pa={}})=>{const[$o,ua]=(0,b.useState)(0),[Ml,Ho]=(0,b.useState)(!1),Xo=(0,b.useRef)(null),Kr=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Zr;Jt.length!==0&&(((Zr=Xo==null?void 0:Xo.current)==null?void 0:Zr.clientHeight)>97?ua(1):ua(0)),Jt.length===0&&ua(0),Ho(!1)},[Jt]),b.createElement("div",{className:Oe()(xe.row,lo),style:Xa},b.createElement("div",{onClick:(0,je.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Tn,marginTop:Ml?12:4},className:`${xe.title} ${Yn?"current":""}`},Co),b.createElement("div",{className:Ml?`${xe.tagsWrap} ${xe.tagsBorderWrap}`:xe.tagsWrap},b.createElement("div",{className:xe.bar,ref:Kr,style:$o>0?{height:$o===1?97:"auto",overflow:$o===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:xe.tag,ref:Xo},Jt==null?void 0:Jt.map(Zr=>b.createElement("span",{onClick:()=>sn(Zr.id),key:Zr.id,style:a(a({color:Go},pa),(Zr==null?void 0:Zr.style)||{}),className:Rt===Zr.id?Oe()(Zo||xe.active,Zr.classNameActive):""},b.createElement("span",{title:Zr.name,className:xe.name},Zr.name),!!hr&&b.createElement("span",{className:xe.num},Zr.count))))),!!$o&&b.createElement(b.Fragment,null,$o===1?b.createElement("div",{onClick:()=>{var Zr;ua(2),((Zr=Xo==null?void 0:Xo.current)==null?void 0:Zr.clientHeight)>245?Ho(!0):Ho(!1)},className:xe.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Kr.current.scrollTop=0,ua(1),Ho(!1)},className:xe.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},y={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ne=({dataSource:Jt=[],value:Rt,onChange:sn,onTitleChange:Yn,className:lo,title:Co,titleWidth:Tn=41,style:Xa={},fontColor:Go="#6A7283",showCount:hr,expand:Zo=!0})=>{const[pa,$o]=(0,b.useState)(0),[ua,Ml]=(0,b.useState)(!1),Ho=(0,b.useRef)(null),Xo=(0,b.useRef)(null),[Kr,Zr]=(0,b.useState)(Zo);return b.createElement("div",{className:Oe()(y.row,lo),style:Xa},b.createElement("div",{className:"flex item-center justify-between"},b.createElement("div",{onClick:(0,je.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Tn,marginTop:ua?12:4},className:`${y.title} ${Yn?"current":""}`},Co),b.createElement("i",{className:`iconfont ${Kr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Kr?8:10},onClick:()=>Zr(!Kr)})),Kr&&b.createElement("div",{className:ua?`${y.tagsWrap} ${y.tagsBorderWrap}`:y.tagsWrap},b.createElement("div",{className:y.fenge}),b.createElement("div",{className:y.bar,ref:Xo},b.createElement("div",{className:y.tag,ref:Ho},Jt==null?void 0:Jt.map(jl=>b.createElement("span",{onClick:()=>sn(jl.id),key:jl.id,style:{color:Go},className:Rt===jl.id?y.active:""},b.createElement("span",{title:jl.name,className:y.name},jl.name),!!hr&&b.createElement("span",{className:y.num},jl.count)))))))},ae={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ie=({dataSource:Jt=[],value:Rt,onChange:sn,onTitleChange:Yn,className:lo,title:Co,titleWidth:Tn=41,style:Xa={},fontColor:Go="#fff",showCount:hr,expand:Zo=!0})=>{const[pa,$o]=(0,b.useState)(0),[ua,Ml]=(0,b.useState)(!1),Ho=(0,b.useRef)(null),Xo=(0,b.useRef)(null),[Kr,Zr]=(0,b.useState)(Zo);return b.createElement("div",{className:Oe()(ae.row,lo),style:Xa},b.createElement("div",{className:"flex item-center justify-between"},b.createElement("div",{onClick:(0,je.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Tn},className:`${ae.title} ${Yn?"current":""}`},Co),b.createElement("i",{className:`iconfont ${Kr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Kr?"#00DDC7":"#037F74",fontSize:Kr?10:12},onClick:()=>Zr(!Kr)})),Kr&&b.createElement("div",{className:ua?`${ae.tagsWrap} ${ae.tagsBorderWrap}`:ae.tagsWrap},b.createElement("div",{className:ae.bar,ref:Xo},b.createElement("div",{className:ae.tag,ref:Ho},Jt==null?void 0:Jt.map(jl=>b.createElement("span",{onClick:()=>sn(jl.id),key:jl.id,style:{color:Go},className:Rt===jl.id?ae.active:""},b.createElement("span",{title:jl.name,className:ae.name},jl.name),!!hr&&b.createElement("span",{className:ae.num},jl.count)))))))},de={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},ce=({dataSource:Jt=[],value:Rt,onChange:sn,className:Yn,style:lo={}})=>b.createElement("div",{style:lo,className:Oe()(de.tabs,Yn)},Jt.map(Co=>b.createElement("span",{onClick:()=>sn(Co.id),className:Rt===Co.id?de.active:"",key:Co.id},Co.name))),me={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ve=te(92832),Je=({dataSource:Jt=[],value:Rt="",onChange:sn,onInputChange:Yn=()=>{},className:lo,style:Co={},placeholder:Tn,allowClear:Xa=!1})=>{var Go;const[hr,Zo]=(0,b.useState)(""),[pa,$o]=(0,b.useState)("");(0,b.useEffect)(()=>{var Ho;let Xo=Rt;(Ho=JSON.stringify(Rt))!=null&&Ho.includes("{")&&(Zo(Rt.id),Xo=Rt.value||"");try{$o(decodeURIComponent(Xo||""))}catch(Kr){$o(decodeURIComponent(Xo||""))}},[Rt]);const ua=()=>{sn(encodeURIComponent(pa),hr||null)},Ml=Ho=>{Ho!==hr&&(Zo(Ho),sn(encodeURIComponent(pa),Ho))};return b.createElement("div",{className:Oe()(me.input,lo),style:Co},!!Jt.length&&b.createElement("div",{className:me.dropdown},b.createElement("div",{className:me.text},(Go=Jt.find(Ho=>Ho.id===hr))==null?void 0:Go.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:me.b1}),b.createElement("b",{className:me.b2})),b.createElement("div",{className:me.menu},Jt.map((Ho,Xo)=>b.createElement("div",{key:Xo,onClick:()=>Ml(Ho.id)},Ho.name)))),b.createElement(ve.default,{onPressEnter:ua,value:pa,onChange:Ho=>{$o(Ho.target.value),Yn(encodeURIComponent(Ho.target.value),hr||null)},bordered:!1,placeholder:Tn}),b.createElement("i",{onClick:ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Me={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Le=({dataSource:Jt=[],value:Rt="",onChange:sn,onInputChange:Yn=()=>{},className:lo,style:Co={},placeholder:Tn,allowClear:Xa=!1})=>{var Go;const[hr,Zo]=(0,b.useState)(""),[pa,$o]=(0,b.useState)("");(0,b.useEffect)(()=>{var Ho;let Xo=Rt;(Ho=JSON.stringify(Rt))!=null&&Ho.includes("{")&&(Zo(Rt.id),Xo=Rt.value||"");try{$o(decodeURIComponent(Xo||""))}catch(Kr){$o(decodeURIComponent(Xo||""))}},[Rt]);const ua=()=>{sn(encodeURIComponent(pa),hr||null)},Ml=Ho=>{Ho!==hr&&(Zo(Ho),sn(encodeURIComponent(pa),Ho))};return b.createElement("div",{className:Oe()(Me.input,lo),style:Co},!!Jt.length&&b.createElement("div",{className:Me.dropdown},b.createElement("div",{className:Me.text},(Go=Jt.find(Ho=>Ho.id===hr))==null?void 0:Go.name,b.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),b.createElement("div",{className:Me.menu},Jt.map((Ho,Xo)=>b.createElement("div",{key:Xo,onClick:()=>Ml(Ho.id)},Ho.name)))),b.createElement(ve.default,{onPressEnter:ua,value:pa,onChange:Ho=>{$o(Ho.target.value),Yn(encodeURIComponent(Ho.target.value),hr||null)},bordered:!1,placeholder:Tn}),b.createElement("i",{onClick:ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ke={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},pt=({value:Jt,onChange:Rt,className:sn,total:Yn,pageSize:lo,style:Co={}})=>{const Tn=Jt<2,Xa=Jt>=Math.ceil(Yn/lo);return Yn<=lo?b.createElement(b.Fragment,null):b.createElement("div",{className:Oe()(ke.quickPager,sn),style:Co},b.createElement("div",{onClick:()=>{Tn||Rt(Jt-1,"prev")},className:Tn?ke.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Xa||Rt(Jt+1,"next")},className:Xa?ke.disabled:""},"\u4E0B\u4E00\u9875"))},dt={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},lt=te(71418),Xe=te(6848),Pt=te(13570),Ge=te(74128),Te=te(65862),We=te(96908),vt=te(57177),It=te(81378),mt=te(2524),Ze=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,trackEventItems:Xa,loading:Go})=>{const hr=Math.floor((Tn-(sn-1)*Yn)/sn);return b.createElement(lt.Z,{spinning:Go},b.createElement("div",{className:Oe()(dt.list,Jt)},!!Rt.length&&Rt.map((Zo,pa)=>{const{name:$o,id:ua,identifier:Ml,power:Ho,cover_image_id:Xo,pic:Kr}=Zo;return b.createElement("div",{className:dt.wrap,key:ua,style:{width:hr,marginRight:(1+pa)%sn===0?0:Yn+Co,marginBottom:lo}},b.createElement("a",{target:"_blank",href:`/shixuns/${Ml}/challenges`,className:dt.li,onClick:Zr=>{Zr.preventDefault(),Xa&&(0,Te.L9)([Xa]),Ho&&(0,Te.xg)(`/shixuns/${Ml}/challenges`)}},b.createElement("div",{className:dt.img},b.createElement("img",{className:dt.cover,src:`${Kr}`}),Zo.is_jupyter&&b.createElement("img",{className:dt.sign,src:We}),Zo.is_jupyter_lab&&b.createElement("img",{className:dt.sign,src:vt}),Zo.is_unity_3d&&b.createElement("img",{className:dt.sign,src:It})),b.createElement("div",{className:dt.name},b.createElement(Xe.Z,{title:$o||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:dt.e},$o||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:dt.tags},b.createElement(Xe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Zo.challenges_count))),!!Zo.myshixuns_count&&b.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Zo.myshixuns_count))),b.createElement(Xe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Zo.level))),b.createElement("div",{className:dt.rate},b.createElement(Pt.Z,{allowHalf:!0,disabled:!0,defaultValue:Zo.score_info}),b.createElement("span",null,"\xA0",Zo.score_info?`${Zo.score_info}\u5206`:"5\u5206")))),!Ho&&b.createElement("div",{className:dt.lockWrap},b.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Rt.length&&b.createElement(mt.Z,null)))},Ft={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},dn=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,wrapClassName:Xa,trackEventItems:Go,loading:hr})=>{const Zo=Math.floor((Tn-(sn-1)*Yn)/sn);return b.createElement(lt.Z,{spinning:hr},b.createElement("div",{className:Oe()(Ft.list,Jt)},!!Rt.length&&Rt.map((pa,$o)=>{const{name:ua,id:Ml,identifier:Ho,power:Xo,cover_image_id:Kr,pic:Zr}=pa;return b.createElement("div",{className:Oe()(Ft.wrap,Xa),key:Ml,style:{width:Zo,marginRight:(1+$o)%sn===0?0:Yn+Co,marginBottom:lo}},b.createElement("a",{target:"_blank",href:`/shixuns/${Ho}/challenges`,className:Ft.li,onClick:jl=>{jl.preventDefault(),Go&&(0,Te.L9)([Go]),Xo&&(0,Te.xg)(`/shixuns/${Ho}/challenges`)}},b.createElement("img",{src:te(47621),className:Ft.titleBg}),b.createElement("div",{className:Ft.name},b.createElement(Xe.Z,{title:ua||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Ft.e},ua||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{style:{padding:"14px",paddingBottom:0}},b.createElement("div",{className:Ft.img},b.createElement("img",{className:Ft.cover,src:Kr?`${Ge.Z.API_SERVER}/api/attachments/${Kr}`:`${Ge.Z.IMG_SERVER+Zr}`}),pa.is_jupyter&&b.createElement("div",{className:Ft.bq},"Jupyter"),pa.is_jupyter_lab&&b.createElement("div",{className:Ft.bq},"JupyterLab"),pa.is_unity_3d&&b.createElement("div",{className:Ft.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),b.createElement("div",{className:"mt20 flex item-center justify-between"},b.createElement("div",null,b.createElement("span",{className:Ft.text},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{className:Ft.value},pa.myshixuns_count)),b.createElement("div",null,b.createElement("span",{className:Ft.text},"\u56F0\u96BE\u7B49\u7EA7"),b.createElement("span",{className:Ft.value},pa.level))),b.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},b.createElement("div",null,b.createElement("span",{className:Ft.text},"\u5173\u5361\u6570"),b.createElement("span",{className:Ft.value},pa.challenges_count)),b.createElement("div",{className:Ft.rate},b.createElement(Pt.Z,{allowHalf:!0,disabled:!0,defaultValue:pa.score_info}),b.createElement("span",{className:Ft.value,style:{color:"#FF9C00"}},"\xA0",pa.score_info?`${pa.score_info}\u5206`:"5\u5206"))))),!Xo&&b.createElement("div",{className:Ft.lockWrap},b.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Rt.length&&b.createElement(mt.Z,null)))},En={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niq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7myBWAy7y0+EA3/0V649Hw9Lu3qSZ2nQKA7ahLYD6pYEkXiHVtSivqztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",ot=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,trackEventItems:Xa,loading:Go,wrapClassName:hr,imgClassName:Zo})=>{const pa=Math.floor((Tn-(sn-1)*Yn)/sn);return b.createElement(lt.Z,{spinning:Go},b.createElement("div",{className:Oe()(En.list,Jt)},!!Rt.length&&Rt.map(($o,ua)=>{const{name:Ml,id:Ho,identifier:Xo,power:Kr,cover_image_id:Zr,pic:jl}=$o;return b.createElement("div",{className:Oe()(En.wrap,hr),key:Ho,style:{width:pa,marginRight:(1+ua)%sn===0?0:Yn+Co,marginBottom:lo}},b.createElement("a",{target:"_blank",href:`/shixuns/${Xo}/challenges`,className:En.li,onClick:Fi=>{Fi.preventDefault(),Xa&&(0,Te.L9)([Xa]),Kr&&(0,Te.xg)(`/shixuns/${Xo}/challenges`)}},b.createElement("div",{className:Oe()(En.img,Zo)},b.createElement("img",{className:En.cover,src:Zr?`${Ge.Z.API_SERVER}/api/attachments/${Zr}`:`${Ge.Z.IMG_SERVER+jl}`}),$o.is_jupyter&&b.createElement("img",{className:En.sign,src:it}),$o.is_jupyter_lab&&b.createElement("img",{className:En.sign,src:ft}),$o.is_unity_3d&&b.createElement("img",{className:En.sign,src:_e})),b.createElement("div",{className:En.name},b.createElement(Xe.Z,{title:Ml||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:En.e},Ml||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:En.tags},b.createElement(Xe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,$o.challenges_count))),!!$o.myshixuns_count&&b.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,$o.myshixuns_count))),b.createElement(Xe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,$o.level))),b.createElement("div",{className:En.rate},b.createElement(Pt.Z,{allowHalf:!0,disabled:!0,defaultValue:$o.score_info}),b.createElement("span",null,"\xA0",$o.score_info?`${$o.score_info}\u5206`:"5\u5206")))),!Kr&&b.createElement("div",{className:En.lockWrap},b.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Rt.length&&b.createElement(mt.Z,null)))},ct=te(61584),Re={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},we=te(79005),rt=te(20345),$e=te(77882),ze=te(31081),Et=te(75309),An=te(71979),en=te(47558),_t=te(42922),on=te(66832),$t=te(96593),Ye=te(19664),at=te(91833),jt=Object.defineProperty,Kt=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Fn=(Jt,Rt,sn)=>Rt in Jt?jt(Jt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Jt[Rt]=sn,jn=(Jt,Rt)=>{for(var sn in Rt||(Rt={}))fn.call(Rt,sn)&&Fn(Jt,sn,Rt[sn]);if(Kt)for(var sn of Kt(Rt))Zt.call(Rt,sn)&&Fn(Jt,sn,Rt[sn]);return Jt};const ia=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:we,swimg:rt},{name:"101\u8BA1\u5212",ptimg:$e,swimg:ze},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Et,swimg:An},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:en,swimg:_t},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:on,swimg:$t},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ye,swimg:at}];var gn=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,trackEventItems:Xa,loading:Go,wrapClassName:hr,imgClassName:Zo,isArrow:pa=!1,imgStyle:$o={}})=>{const ua=Math.floor((Tn-(sn-1)*Yn)/sn),[Ml,Ho]=(0,b.useState)(),[Xo,Kr]=(0,b.useState)(),Zr=Fi=>Ho(Fi),jl=()=>Ho(-1);return b.createElement(lt.Z,{spinning:Go},b.createElement("div",{className:Oe()(Re.list,Jt)},!!(Rt!=null&&Rt.length)&&(Rt==null?void 0:Rt.map((Fi,tl)=>{var ki;const{name:qi,id:Ki,identifier:hu,featured:Hu,school_name:yi,image_url:yr,excellent:Cu,is_plan:Fu}=Fi;return b.createElement("div",{key:Ki,className:Oe()(Re.wrap,hr),style:{width:ua,marginRight:(1+tl)%sn===0?0:Yn+Co,marginBottom:lo}},b.createElement("a",{target:"_blank",href:`/paths/${hu}`,className:Re.li,onClick:Hi=>{Hi.preventDefault(),Xa&&(0,Te.L9)([Xa]),(0,Te.xg)(`/paths/${hu}`)}},b.createElement("img",{src:te(39057),className:Re.titleBg}),b.createElement("div",{className:Re.name},b.createElement(Xe.Z,{title:qi},b.createElement("span",{className:Re.e,style:{color:pa&&Ml===tl?"#145DFF":"#000000"},onMouseEnter:()=>{Zr(tl)},onMouseLeave:jl},qi))),b.createElement("div",{style:{padding:"14px",paddingBottom:0}},b.createElement("div",{className:Oe()(Re.img,Zo)},b.createElement("img",{className:Re.cover,style:jn({},$o),src:`${Ge.Z.IMG_SERVER+yr}`}),(ki=Fi==null?void 0:Fi.subject_tags)==null?void 0:ki.map((Hi,Bi)=>{var cu,_u;if(Bi===0){const bi=(cu=ia.find(Bu=>Bu.name==Hi))==null?void 0:cu.swimg;return b.createElement("img",{className:Re.sign,src:bi,style:{left:"-4px"}})}const Gu=(_u=ia.find(bi=>bi.name==Hi))==null?void 0:_u.ptimg;return b.createElement("img",{className:Re.sign,src:Gu,style:{left:`${48+52*(Bi-1)+2*Bi}px`}})}),b.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Fi==null?void 0:Fi.excellent)&&b.createElement("div",{className:Re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),b.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},b.createElement("div",null,b.createElement("span",{className:Re.text},"\u7AE0\u8282\u6570"),b.createElement("span",{className:Re.value},Fi.stages_count)),b.createElement("div",null,b.createElement("span",{className:Re.text},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{className:Re.value},Fi.members_count))))))})),!Rt.length&&b.createElement(mt.Z,null)))},Pa={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},uo=te(41867),da=te(59301);const ta=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:we,swimg:rt},{name:"101\u8BA1\u5212",ptimg:$e,swimg:ze},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Et,swimg:An},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:en,swimg:_t},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:on,swimg:$t},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ye,swimg:at}];var ao=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,trackEventItems:Xa,loading:Go,onRemove:hr=()=>{},isCurrent:Zo=!0,showAlias:pa=!1,wrapClassName:$o,imgClassName:ua})=>{const Ml=Math.floor((Tn-(sn-1)*Yn)/sn),Ho=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Xo=>(window.ENV==="build"&&(Xo.ptimg=`/react/build${Xo.ptimg}`,Xo.swimg=`/react/build${Xo.swimg}`),Xo));return da.createElement(lt.Z,{spinning:Go},da.createElement("div",{className:Oe()(Pa.list,Jt)},!!(Rt!=null&&Rt.length)&&(Rt==null?void 0:Rt.map((Xo,Kr)=>{var Zr;const{name:jl,id:Fi,identifier:tl,featured:ki,school_name:qi,image_url:Ki,excellent:hu,is_plan:Hu}=Xo;return da.createElement("div",{key:Fi,className:Oe()(Pa.wrap,$o),style:{width:Ml,marginRight:(1+Kr)%sn===0?0:Yn+Co,marginBottom:lo}},da.createElement("a",{className:Pa.li,onClick:yi=>{yi.preventDefault(),yi.stopPropagation(),Xa&&(0,Te.L9)([Xa]),(0,Te.xg)(`/paths/${tl}`)}},da.createElement("div",{className:Oe()(Pa.img,ua)},da.createElement("img",{className:Pa.cover,src:`${Ge.Z.IMG_SERVER+Ki}`}),Zo&&(0,uo.bg)()&&(Xo==null?void 0:Xo.studying)&&da.createElement("div",{className:`${Pa.movebq} user-path-items`,onClick:yi=>{yi.stopPropagation(),hr(Xo)}},da.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),da.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Zr=Xo==null?void 0:Xo.subject_tags)==null?void 0:Zr.map((yi,yr)=>{var Cu,Fu;if(yr===0){const Bi=(Cu=Ho.find(cu=>cu.name==yi))==null?void 0:Cu.swimg;return da.createElement("img",{className:Pa.sign,src:Bi,style:{left:"-4px"}})}const Hi=(Fu=Ho.find(Bi=>Bi.name==yi))==null?void 0:Fu.ptimg;return da.createElement("img",{className:Pa.sign,src:Hi,style:{left:`${48+52*(yr-1)+2*yr}px`}})}),da.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Xo==null?void 0:Xo.excellent)&&da.createElement("div",{className:Pa.bq},"\u5F00\u653E\u8BFE\u7A0B"))),da.createElement("div",{className:Pa.name},da.createElement(Xe.Z,{title:pa&&(Xo!=null&&Xo.excellent_alias_name)?da.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${jl}`,da.createElement("br",null),da.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Xo==null?void 0:Xo.excellent_alias_name}`)):jl},da.createElement("span",{className:Pa.e},pa&&(Xo==null?void 0:Xo.excellent_alias_name)||jl))),da.createElement("div",{className:Pa.tags},da.createElement("div",null,da.createElement(Xe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},da.createElement("span",null,da.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),da.createElement("span",null,Xo.stages_count))),da.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},da.createElement("span",null,da.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),da.createElement("span",null,Xo.members_count)))))))})),!Rt.length&&da.createElement(mt.Z,null)))},Qt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},On="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+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flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ra=te(59301),$n=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,trackEventItems:Xa,loading:Go})=>{const hr=Math.floor((Tn-(sn-1)*Yn)/sn);return ra.createElement(lt.Z,{spinning:Go},ra.createElement("div",{className:Oe()(Qt.list,Jt)},!!Rt.length&&Rt.map((Zo,pa)=>{const{subject_identifier:$o,id:ua,identifier:Ml,power:Ho}=Zo,Xo=Zo.is_public!=0&&Zo.is_public;return ra.createElement("div",{className:Qt.wrap,key:ua,style:{width:hr,marginRight:(1+pa)%sn===0?0:Yn+Co,marginBottom:lo}},ra.createElement("a",{className:Qt.li,onClick:Kr=>{Kr.preventDefault(),Xa&&(0,Te.L9)([Xa]),(0,Te.xg)(Zo.first_category_url)}},ra.createElement("div",{className:Qt.top},ra.createElement(Xe.Z,{title:Zo.name},ra.createElement("div",{className:Qt.name},Zo.name)),ra.createElement("img",{className:Qt.img,src:Ge.Z.IMG_SERVER+"/images/"+Zo.avatar_url}),ra.createElement("div",{className:Qt.text,title:Zo.creator},Zo.creator),$o&&ra.createElement("div",{className:Qt.btns},ra.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ra.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Xo&&ra.createElement("div",{className:Qt.sign},"\u516C\u5F00")),ra.createElement("div",{className:Qt.bottom},Zo.visits>0&&ra.createElement(Xe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ra.createElement("span",null,ra.createElement("i",{className:"iconfont icon-liulanyan"}),ra.createElement("span",null,Zo.visits))),Zo.course_members_count>0&&ra.createElement(Xe.Z,{title:"\u6210\u5458",placement:"bottom"},ra.createElement("span",null,ra.createElement("i",{className:"iconfont icon-chengyuan"}),Zo.course_members_count)),Zo.tasks_count>0&&ra.createElement(Xe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ra.createElement("span",null,ra.createElement("i",{className:"iconfont icon-zuoye"}),Zo.tasks_count)),Zo.is_end?ra.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ra.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Zo.is_accessible&&ra.createElement("div",{className:Qt.lockWrap},ra.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ra.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rt.length&&ra.createElement(mt.Z,null)))},Za={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},xo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1V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UWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Or=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,wrapClassName:Xa,trackEventItems:Go,loading:hr})=>{const Zo=Math.floor((Tn-(sn-1)*Yn)/sn);return b.createElement(lt.Z,{spinning:hr},b.createElement("div",{className:Oe()(Za.list,Jt)},!!Rt.length&&Rt.map((pa,$o)=>{const{subject_identifier:ua,id:Ml,identifier:Ho,power:Xo}=pa,Kr=pa.is_public!=0&&pa.is_public;return b.createElement("div",{className:Oe()(`${Za.wrap} ${pa.is_accessible?"":Za.warpStyle}`,Xa),key:Ml,style:{width:Zo,marginRight:(1+$o)%sn===0?0:Yn+Co,marginBottom:lo}},b.createElement("a",{className:Za.li,onClick:Zr=>{Zr.preventDefault(),Go&&(0,Te.L9)([Go]),(0,Te.xg)(pa.first_category_url)}},b.createElement("div",{className:Za.creator},b.createElement("img",{className:Za.img,src:Ge.Z.IMG_SERVER+"/images/"+pa.avatar_url}),b.createElement("div",{className:Za.text,title:pa.creator},pa.creator)),b.createElement("div",{className:Za.top},b.createElement(Xe.Z,{title:pa.name},b.createElement("div",{className:Za.name},pa.name)),Kr&&b.createElement("div",{className:Za.sign},"\u516C\u5F00")),b.createElement("div",{className:Za.middle},b.createElement("div",{className:Za.row,style:{marginBottom:6}},b.createElement("div",null,b.createElement("span",{className:Za.text},"\u8BBF\u95EE\u91CF"),b.createElement("span",{className:Za.value},(pa==null?void 0:pa.visits)||0)),b.createElement("div",null,b.createElement("span",{className:Za.text},"\u6210\u5458"),b.createElement("span",{className:Za.value},(pa==null?void 0:pa.course_members_count)||0))),b.createElement("div",{className:Za.row},b.createElement("div",null,b.createElement("span",{className:Za.text,style:{width:42}},"\u4F5C",b.createElement("span",{style:{marginLeft:14}},"\u4E1A")),b.createElement("span",{className:Za.value},(pa==null?void 0:pa.tasks_count)||0)),b.createElement("div",null,b.createElement("span",{className:Za.text},"\u72B6\u6001"),pa.is_end?b.createElement("span",{className:Za.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):b.createElement("span",{className:Za.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ua&&b.createElement("div",{className:Za.btns},b.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),b.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!pa.is_accessible&&b.createElement("div",{className:Za.lockWrap},b.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rt.length&&b.createElement(mt.Z,null)))},Ia={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns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T8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",wt=({className:Jt,dataSource:Rt=[],col:sn=4,right:Yn,bottom:lo=23,precision:Co=0,wrapWidth:Tn=1200,wrapClassName:Xa,trackEventItems:Go,loading:hr})=>{const Zo=Math.floor((Tn-(sn-1)*Yn)/sn);return b.createElement(lt.Z,{spinning:hr},b.createElement("div",{className:Oe()(Ia.list,Jt)},!!Rt.length&&Rt.map((pa,$o)=>{const{subject_identifier:ua,id:Ml,identifier:Ho,power:Xo}=pa,Kr=pa.is_public!=0&&pa.is_public;return b.createElement("div",{className:Oe()(`${Ia.wrap} ${pa.is_accessible?"":Ia.warpStyle}`,Xa),key:Ml,style:{width:Zo,marginRight:(1+$o)%sn===0?0:Yn+Co,marginBottom:lo}},b.createElement("a",{className:Ia.li,onClick:Zr=>{Zr.preventDefault(),Go&&(0,Te.L9)([Go]),(0,Te.xg)(pa.first_category_url)}},b.createElement("div",{className:Ia.creator},b.createElement("img",{className:Ia.img,src:Ge.Z.IMG_SERVER+"/images/"+pa.avatar_url}),b.createElement("div",{className:Ia.text,title:pa.creator},pa.creator)),b.createElement("div",{className:Ia.top},b.createElement(Xe.Z,{title:pa.name},b.createElement("div",{className:Ia.name},pa.name)),Kr&&b.createElement("div",{className:Ia.sign})),b.createElement("div",{className:Ia.middle},b.createElement("div",{className:Ia.row,style:{marginBottom:6}},b.createElement("div",null,b.createElement("span",{className:Ia.text},"\u8BBF\u95EE\u91CF"),b.createElement("span",{className:Ia.value},(pa==null?void 0:pa.visits)||0)),b.createElement("div",null,b.createElement("span",{className:Ia.text},"\u6210\u5458"),b.createElement("span",{className:Ia.value},(pa==null?void 0:pa.course_members_count)||0))),b.createElement("div",{className:Ia.row},b.createElement("div",null,b.createElement("span",{className:Ia.text,style:{width:42}},"\u4F5C",b.createElement("span",{style:{marginLeft:14}},"\u4E1A")),b.createElement("span",{className:Ia.value},(pa==null?void 0:pa.tasks_count)||0)),b.createElement("div",null,b.createElement("span",{className:Ia.text},"\u72B6\u6001"),pa.is_end?b.createElement("span",{className:Ia.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):b.createElement("span",{className:Ia.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ua&&b.createElement("div",{className:Ia.btns},b.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),b.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!pa.is_accessible&&b.createElement("div",{className:Ia.lockWrap},b.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rt.length&&b.createElement(mt.Z,null)))},In={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},na=te(65582),nr=({dataSource:Jt=[],value:Rt,onChange:sn,className:Yn,style:lo={},tabBarExtraContent:Co})=>b.createElement("div",{className:Oe()(In.tabs,Yn),style:lo},b.createElement("div",{className:In.tabsWrap},Jt.map((Tn,Xa)=>b.createElement("aside",{className:In.tab,onClick:()=>{sn(Tn.id),Tn.link&&na.history.push(Tn.link)},key:Xa},b.createElement("div",{className:Rt===Tn.id?In.active:""},Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement(Xe.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",b.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),b.createElement("div",{className:In.tabBar},Co)),Oa={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Ar=({dataSource:Jt=[],value:Rt,onChange:sn,className:Yn,style:lo={},tabBarExtraContent:Co})=>b.createElement("div",{className:Oe()(Oa.tabs,Yn),style:lo},b.createElement("div",{className:Oa.tabsWrap},Jt.map((Tn,Xa)=>b.createElement("aside",{className:Oa.tab,onClick:()=>{sn(Tn.id),Tn.link&&na.history.push(Tn.link)},key:Xa},b.createElement("div",{className:Rt===Tn.id?Oa.active:""},Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement(Xe.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",b.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),b.createElement("div",{className:Oa.tabBar},Co)),to={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},dr=({dataSource:Jt=[],value:Rt,onChange:sn,className:Yn,style:lo={},tabBarExtraContent:Co})=>b.createElement("div",{className:Oe()(to.tabs,Yn),style:lo},b.createElement("div",{className:to.tabsWrap},Jt.map((Tn,Xa)=>b.createElement("aside",{className:`${to.tab} ${Rt===Tn.id?to.active:""}`,onClick:()=>{sn(Tn.id),Tn.link&&na.history.push(Tn.link)},key:Xa},b.createElement("div",null,Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement(Xe.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",b.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),b.createElement("div",{className:to.tabBar},Co)),xr=({className:Jt,style:Rt={},children:sn})=>b.createElement("div",{className:Oe()(Jt),style:Rt},sn),Vo={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},St=te(38854),pn=te(20834);const vn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Sn=({sortValue:Jt,dropValue:Rt,className:sn,onSort:Yn,onDrop:lo,dataSource:Co=vn})=>{var Tn;return b.createElement("div",{className:Oe()(Vo.orderWrap,sn)},b.createElement(St.Z,{dropdownRender:()=>b.createElement(pn.default,null,Co.map((Xa,Go)=>b.createElement(pn.default.Item,{key:Go,onClick:()=>lo(Xa.id)},Xa.name)))},b.createElement("span",{className:Vo.orderTextWrap},(Tn=Co.find(Xa=>Rt===Xa.id))==null?void 0:Tn.name)),b.createElement("span",{className:Vo.orderIconWrap},b.createElement("span",{className:Vo.orderAsc},b.createElement("i",{className:Jt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Vo.cursorPointer} ${Vo.active}`:`iconfont icon-sanjiaoxing-up font12 ${Vo.cursorPointer}`,onClick:()=>Yn(Jt==="asc"?"desc":"asc")})),b.createElement("span",{className:Vo.orderDesc},b.createElement("i",{className:Jt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Vo.cursorPointer} ${Vo.active}`:`iconfont icon-sanjiaoxing-down font12 ${Vo.cursorPointer}`,onClick:()=>Yn(Jt==="asc"?"desc":"asc")}))))},mn={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const hn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var fa=({sortValue:Jt,dropValue:Rt,className:sn,onSort:Yn,onDrop:lo,dataSource:Co=hn})=>{var Tn;return b.createElement("div",{className:Oe()(mn.orderWrap,sn)},b.createElement(St.Z,{dropdownRender:()=>b.createElement(pn.default,null,Co.map((Xa,Go)=>b.createElement(pn.default.Item,{key:Go,onClick:()=>lo(Xa.id)},Xa.name)))},b.createElement("span",{className:mn.orderTextWrap},(Tn=Co.find(Xa=>Rt===Xa.id))==null?void 0:Tn.name)),b.createElement("span",{className:mn.orderIconWrap},b.createElement("span",{className:mn.orderAsc},b.createElement("i",{className:Jt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mn.cursorPointer} ${mn.active}`:`iconfont icon-sanjiaoxing-up font12 ${mn.cursorPointer}`,onClick:()=>Yn(Jt==="asc"?"desc":"asc")})),b.createElement("span",{className:mn.orderDesc},b.createElement("i",{className:Jt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mn.cursorPointer} ${mn.active}`:`iconfont icon-sanjiaoxing-down font12 ${mn.cursorPointer}`,onClick:()=>Yn(Jt==="asc"?"desc":"asc")}))))},Aa={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},tn=te(3113),Sr=te(2337),Nr=Object.defineProperty,qr=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,Ta=(Jt,Rt,sn)=>Rt in Jt?Nr(Jt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Jt[Rt]=sn,Do=(Jt,Rt)=>{for(var sn in Rt||(Rt={}))Cr.call(Rt,sn)&&Ta(Jt,sn,Rt[sn]);if(qr)for(var sn of qr(Rt))Jn.call(Rt,sn)&&Ta(Jt,sn,Rt[sn]);return Jt},wa=(Jt,Rt)=>{var sn={};for(var Yn in Jt)Cr.call(Jt,Yn)&&Rt.indexOf(Yn)<0&&(sn[Yn]=Jt[Yn]);if(Jt!=null&&qr)for(var Yn of qr(Jt))Rt.indexOf(Yn)<0&&Jn.call(Jt,Yn)&&(sn[Yn]=Jt[Yn]);return sn},ro=(Jt,Rt,sn)=>new Promise((Yn,lo)=>{var Co=Go=>{try{Xa(sn.next(Go))}catch(hr){lo(hr)}},Tn=Go=>{try{Xa(sn.throw(Go))}catch(hr){lo(hr)}},Xa=Go=>Go.done?Yn(Go.value):Promise.resolve(Go.value).then(Co,Tn);Xa((sn=sn.apply(Jt,Rt)).next())}),zo=Jt=>{var Rt=Jt,{className:sn,style:Yn,children:lo,loading:Co=!1,openLoading:Tn,onClick:Xa=()=>{},size:Go="middle",shape:hr="round",theme:Zo}=Rt,pa=wa(Rt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[$o,ua]=(0,b.useState)(!1),Ml=(0,b.useMemo)(()=>{switch(Zo){case Sr.Fy.THEMEONE:return Aa.ThemeOne;case Sr.Fy.DEFAULT:default:return Aa.btn}},[Zo]);return b.createElement(tn.ZP,Do({onClick:(0,je.throttle)(Ho=>ro(void 0,null,function*(){Tn&&ua(!0);try{yield Xa(Ho)}catch(Xo){console.log("error",Xo)}Tn&&ua(!1)}),2e3,{leading:!0,trailing:!1}),className:Oe()(Ml,Aa[`${Go}-${hr}`],sn),style:Yn,size:Go,shape:hr,loading:$o||Co},pa),lo)},Yr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},ii=({className:Jt,style:Rt,children:sn=null,onClick:Yn,title:lo})=>b.createElement("div",{className:Oe()(Yr.head,Jt),style:Rt},b.createElement("span",{className:"primary-hover",onClick:Yn},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:lo},lo),b.createElement("div",{className:Yr.node},sn)),Hl={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ci=({confirmShow:Jt=!0,confirmTitle:Rt,confirmClick:sn,cancelShow:Yn=!0,cancelTitle:lo,cancelClick:Co,className:Tn,style:Xa,confirmLoading:Go=!1})=>b.createElement("div",{className:Oe()(Hl.btns,Tn),style:Xa},Jt&&b.createElement(tn.ZP,{loading:Go,onClick:sn,type:"primary",className:Hl.confirm},Rt),Yn&&b.createElement(tn.ZP,{onClick:Co,className:Hl.cancel},lo)),Yl={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ni=({className:Jt,style:Rt={},LeftContent:sn,children:Yn,RightContent:lo})=>b.createElement("div",{className:Oe()(Yl.fixedBottom,Jt),style:Rt},b.createElement("div",{className:Yl.wrap},b.createElement("div",{className:Yl.left},sn),b.createElement("div",{className:Yl.center},Yn),b.createElement("div",{className:Yl.right},lo))),ql={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},di=({className:Jt,style:Rt={},dataSource:sn=[]})=>b.createElement("div",{className:Oe()(ql.crumbs,Jt),style:Rt},sn.map((Yn,lo)=>lona.history.push(Yn.path)},Yn.name):b.createElement("span",null,Yn.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:lo,style:{color:"#5F6368"}},Yn.name))),Ii=te(31797),Li=Object.defineProperty,Si=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,hi=Object.getOwnPropertySymbols,pr=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,bl=(Jt,Rt,sn)=>Rt in Jt?Li(Jt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Jt[Rt]=sn,oi=(Jt,Rt)=>{for(var sn in Rt||(Rt={}))pr.call(Rt,sn)&&bl(Jt,sn,Rt[sn]);if(hi)for(var sn of hi(Rt))fl.call(Rt,sn)&&bl(Jt,sn,Rt[sn]);return Jt},$l=(Jt,Rt)=>Si(Jt,ai(Rt)),Ci=(Jt,Rt)=>{var sn={};for(var Yn in Jt)pr.call(Jt,Yn)&&Rt.indexOf(Yn)<0&&(sn[Yn]=Jt[Yn]);if(Jt!=null&&hi)for(var Yn of hi(Jt))Rt.indexOf(Yn)<0&&fl.call(Jt,Yn)&&(sn[Yn]=Jt[Yn]);return sn};const{Countdown:Xi}=Ii.default;var Il=Jt=>{var Rt=Jt,{onChange:sn}=Rt,Yn=Ci(Rt,["onChange"]);const[lo,Co]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof lo=="number"&&lo>=0&&sn(lo)},[lo]);const Tn=Xa=>{const Go=Math.floor(Xa/1e3);Co(Go)};return b.createElement(Xi,$l(oi({},Yn),{onChange:Tn}))},Tl={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Rn=({DataProps:Jt,className:Rt,style:sn={}})=>{var Yn;return b.createElement("div",{className:Oe()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Tl.ClassRoomItem,Rt),style:sn,onClick:()=>{(0,Te.xg)(Jt==null?void 0:Jt.first_category_url)}},b.createElement("div",{className:"flex flex-col item-center"},b.createElement("img",{src:`${(Yn=Ge.Z)==null?void 0:Yn.IMG_SERVER}/images/${Jt==null?void 0:Jt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Jt==null?void 0:Jt.subject_identifier)&&b.createElement("div",{className:"mt-40px"},b.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),b.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),b.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},b.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Jt!=null&&Jt.is_public)&&b.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),b.createElement("span",{className:Oe()("text-16px font-medium",Tl.TitleDom)},Jt==null?void 0:Jt.name)),b.createElement("div",{className:"c-grey-333 font-medium"},Jt==null?void 0:Jt.creator),b.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Jt==null?void 0:Jt.course_members_count),b.createElement("div",{className:"c-grey-333 flex item-center justify-between"},b.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Jt==null?void 0:Jt.tasks_count),Jt!=null&&Jt.is_end?b.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):b.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},uu=Object.defineProperty,su=Object.getOwnPropertySymbols,So=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,Ya=(Jt,Rt,sn)=>Rt in Jt?uu(Jt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Jt[Rt]=sn,Ha=(Jt,Rt)=>{for(var sn in Rt||(Rt={}))So.call(Rt,sn)&&Ya(Jt,sn,Rt[sn]);if(su)for(var sn of su(Rt))Ba.call(Rt,sn)&&Ya(Jt,sn,Rt[sn]);return Jt},pl=({DataProps:Jt=[],selectValue:Rt,onChange:sn,className:Yn,style:lo={},extra:Co,classNameItem:Tn,styleItem:Xa={},barHidden:Go})=>{const[hr,Zo]=(0,b.useState)();return(0,b.useEffect)(()=>{Zo(Array.isArray(Rt)?Rt:[Rt])},[Rt]),b.createElement("div",{className:Oe()("flex px-20px py-10px gap-40px",Yn),style:Ha({borderBottom:"1px solid #D3F0FF"},lo)},Jt==null?void 0:Jt.map(pa=>b.createElement("div",{key:pa==null?void 0:pa.id,className:Oe()("flex item-center justify-center current c-grey-333 text-16 relative",Tn,pa==null?void 0:pa.className),style:Ha(Ha({color:hr!=null&&hr.includes(pa==null?void 0:pa.id)?"#1890FF":"",minWidth:88},Xa),(pa==null?void 0:pa.style)||{}),onClick:$o=>{sn==null||sn({domEvent:$o,item:pa}),pa!=null&&pa.link&&na.history.push(pa==null?void 0:pa.link)}},pa==null?void 0:pa.name,!Go&&(hr==null?void 0:hr.includes(pa==null?void 0:pa.id))&&b.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),b.createElement("div",{className:"ml-auto"},Co))},Ll=Object.defineProperty,el=Object.defineProperties,Ul=Object.getOwnPropertyDescriptors,Kl=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable,ir=(Jt,Rt,sn)=>Rt in Jt?Ll(Jt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Jt[Rt]=sn,so=(Jt,Rt)=>{for(var sn in Rt||(Rt={}))Mi.call(Rt,sn)&&ir(Jt,sn,Rt[sn]);if(Kl)for(var sn of Kl(Rt))ei.call(Rt,sn)&&ir(Jt,sn,Rt[sn]);return Jt},vl=(Jt,Rt)=>el(Jt,Ul(Rt)),Qr=({value:Jt,onChange:Rt,onInputChange:sn,className:Yn,style:lo={},InputProps:Co})=>{const[Tn,Xa]=(0,b.useState)(Jt);return b.createElement("div",{className:Oe()("flex item-center rounded-full px-10px py-2px",Yn),style:so({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},lo)},b.createElement(ve.default,vl(so({bordered:!1},Co),{onChange:Go=>{Xa(Go.target.value),sn==null||sn(encodeURIComponent(Go.target.value))},onPressEnter:Go=>{Rt==null||Rt({domEvent:Go,item:{value:Tn}})}})),b.createElement("img",{className:"h-22px current",src:te(25365),height:22,onClick:Go=>{Rt==null||Rt({domEvent:Go,item:{value:Tn}})}}))}},31103:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return re}});var b=te(59301);function re(Pe,Fe){const be=(0,b.useRef)();(0,b.useEffect)(()=>{be.current=Pe}),(0,b.useEffect)(()=>{function xe(){be.current()}if(Fe!==null){let ue=setInterval(xe,Fe);return()=>clearInterval(ue)}},[Fe])}},12586:function(tt,Qe,te){"use strict";var b=te(59301),re=te(43418),Pe=te(38147),Fe=te(65582),be=te(59301),xe=(Oe,je,Ie)=>new Promise((Ne,De)=>{var fe=E=>{try{a(Ie.next(E))}catch(x){De(x)}},oe=E=>{try{a(Ie.throw(E))}catch(x){De(x)}},a=E=>E.done?Ne(E.value):Promise.resolve(E.value).then(fe,oe);a((Ie=Ie.apply(Oe,je)).next())});const ue=({exercise:Oe,dispatch:je,init:Ie,haveInit:Ne=!1})=>{const De=(0,Fe.useParams)(),[fe,oe]=(0,b.useState)(!1);let[a,E]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,ne]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Oe.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ae()},[Oe.actionTabs]);function ae(){return xe(this,null,function*(){var le,ie;let de=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs}});if(((le=de==null?void 0:de.cover_exercises)==null?void 0:le.length)>0)oe(!0),E((ie=de==null?void 0:de.cover_exercises)==null?void 0:ie[0]);else{let se=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs}});je({type:"exercise/setActionTabs",payload:{key:""}}),(se==null?void 0:se.status)===0&&(Ne&&Ie(),re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Fe.history.push("/paperlibrary")}}))}})}return be.createElement("div",null,be.createElement(re.default,{open:fe,centered:!0,onCancel:le=>xe(void 0,null,function*(){if(le.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs,update:1}});je({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(Ne&&Ie(),oe(!1),re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Fe.history.push("/paperlibrary")}}))}else oe(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>xe(void 0,null,function*(){ne(!0);let le=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs}});ne(!1),(le==null?void 0:le.status)===0&&(Ne&&Ie(),je({type:"exercise/setActionTabs",payload:{key:""}}),oe(!1),re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Fe.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},be.createElement("div",null,be.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),be.createElement("div",null,be.createElement("div",null,"\u8BD5\u5377\uFF1A",a==null?void 0:a.origin_exercise_nam),be.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",be.createElement("a",{href:`/paperlibrary/see/${a==null?void 0:a.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},a==null?void 0:a.examination_bank_name))))))};Qe.Z=(0,Fe.connect)(({exercise:Oe})=>({exercise:Oe}))(ue)},41996:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return se}});var b=te(59301),re=te(43418),Pe=te(95237),Fe=te(43604),be=te(57809),xe=te(1710),ue=te(3113),Oe=te(3918),je=te(38147),Ie={cstuModal:"cstuModal___aIPVR",removeStyle:"removeStyle___wY4gp",bottom:"bottom___a8tK0",yes:"yes___Zhc4z",no:"no___Ngwsa",Onerow:"Onerow___Q59ve",searchMember:"searchMember___Jj460",searchMemberHeader:"searchMemberHeader___SxfUY"},Ne=te(65582),De=te(96622),fe=te(59301),oe=Object.defineProperty,a=Object.defineProperties,E=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(ce,me,ve)=>me in ce?oe(ce,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[me]=ve,ae=(ce,me)=>{for(var ve in me||(me={}))y.call(me,ve)&&ne(ce,ve,me[ve]);if(x)for(var ve of x(me))z.call(me,ve)&&ne(ce,ve,me[ve]);return ce},le=(ce,me)=>a(ce,E(me)),ie=(ce,me,ve)=>new Promise((Ee,Je)=>{var Me=ke=>{try{Le(ve.next(ke))}catch(nt){Je(nt)}},Ue=ke=>{try{Le(ve.throw(ke))}catch(nt){Je(nt)}},Le=ke=>ke.done?Ee(ke.value):Promise.resolve(ke.value).then(Me,Ue);Le((ve=ve.apply(ce,me)).next())});const de=({visible:ce,setVisible:me,onK:ve,selectKeys:Ee,selectRows:Je,appointStudent:Me,modalParams:Ue,courseId:Le})=>{const ke=(0,Ne.useParams)(),[nt,pt]=(0,b.useState)(!1),[dt,lt]=(0,b.useState)(!1),[Xe,Pt]=(0,b.useState)([]),[Ge,Te]=(0,b.useState)([]),[We,vt]=(0,b.useState)([]),[It,mt]=(0,b.useState)("all"),[Pn,Ze]=(0,b.useState)("all");let[Ft,Ut]=(0,b.useState)(!0);const[dn,En]=(0,b.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[it,ft]=(0,b.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),_e={selectedRowKeys:Ge,columnWidth:40,hideSelectAll:!0,onSelect:(we,rt,$e)=>{let ze=!0;for(let Et=0;Et{if(we&&$e.length>0){$e.forEach(ze=>{Ge.push(ze.user_id),We.push(ze)}),Te([...Ge]),vt([...We]);return}if(!we&&$e.length>0){let ze=[],Et=[];const An=new Set($e),en=new Set(Ge),_t=new Set(We);ze=[...en].filter(on=>[...An].every($t=>$t.user_id!==on)),Et=[..._t].filter(on=>[...An].every($t=>$t.user_id!==on.user_id)),Te([...ze]),vt([...Et])}}};(0,b.useEffect)(()=>{ce&&Ee&&(Te([...Ee]),vt(Je))},[ce,Ee]),(0,b.useEffect)(()=>{ce&&(!Me&&Ue?it.status=Ue:it.status=null,ft(ae({},it)),ot())},[ce,Me,Ue]);const Be=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(we,rt,$e)=>fe.createElement("span",{style:{color:"#333"}},$e+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(we,rt,$e)=>fe.createElement("span",null,we)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(we,rt,$e)=>fe.createElement("span",{style:{color:"#666"}},we)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(we,rt)=>fe.createElement("span",null,we)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(we,rt)=>fe.createElement("span",null,we||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(we,rt)=>fe.createElement("span",null,we)}].filter(we=>Ue===1||Ue===2?we.title!=="\u72B6\u6001":!0),ot=()=>ie(void 0,null,function*(){var we,rt,$e;lt(!0);const ze=yield(0,je.ZP)(`/api/exercises/${ke.categoryId||Le}/wait_make_up_students.json`,{method:"get",params:le(ae({},it),{keywords:(we=it==null?void 0:it.keywords)==null?void 0:we.trim()})});if(ze.status===0){const Et=(($e=(rt=ze==null?void 0:ze.data)==null?void 0:rt.all_course_groups)==null?void 0:$e.map(An=>({value:An==null?void 0:An.id,label:An==null?void 0:An.name})))||[];En([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...Et]),Pt(ze.data)}lt(!1)}),ct=()=>{it.page=1,it.status=null,it.course_group_id=null,it.keywords="",mt("all"),Ze("all"),Te([]),vt([]),ft(ae({},it)),Me&&ve(Ge==null?void 0:Ge.length,Ge,We)},Re=()=>{it.page=1,it.status=null,it.course_group_id=null,it.keywords="",ft(ae({},it)),mt("all"),Ze("all"),Te([]),vt([]),me(!1)};return fe.createElement(re.default,{centered:!0,className:Ie.cstuModal,title:Ue===1?"\u7F3A\u8003\u5B66\u751F":Ue===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ce,width:1200,footer:null,onCancel:()=>{Re()}},fe.createElement(Pe.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},fe.createElement(Pe.Z,null,fe.createElement(Fe.Z,null,fe.createElement(be.default,{size:"large",value:It,style:{width:200,marginRight:20},onChange:we=>{mt(we),we==="all"?it.course_group_id=null:it.course_group_id=we,it.page=1,ft(ae({},it)),ot()},options:dn})),Me&&fe.createElement(Fe.Z,null,fe.createElement(be.default,{size:"large",value:Pn,style:{width:200},onChange:we=>{Ze(we),we==="all"?it.status=null:it.status=we,it.page=1,ft(ae({},it)),ot()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),fe.createElement(Fe.Z,null,fe.createElement(Oe.t7,{style:{width:300,marginLeft:15},value:it.keywords,allowClear:!0,onChange:we=>{it.keywords=we,it.page=1,ft(ae({},it)),ot()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),fe.createElement(Pe.Z,{align:"middle",className:"mb30"},fe.createElement(Fe.Z,{span:14},fe.createElement("div",{className:"flexd-table-header"},fe.createElement(xe.default,{pagination:!1,dataSource:[],columns:Be,rowSelection:Me?_e:null,rowKey:we=>we.user_id})),fe.createElement("div",null,fe.createElement(xe.default,{rowSelection:Me?_e:null,columns:Be,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:we=>we.user_id,loading:dt,dataSource:Xe==null?void 0:Xe.exercise_users,onChange:(we,rt,$e)=>{it.page=we==null?void 0:we.current,it.limit=we==null?void 0:we.pageSize,$e!=null&&$e.order?(it.sort_by=$e==null?void 0:$e.field,it.direction=($e==null?void 0:$e.order)==="ascend"?"asc":"desc"):(it.sort_by=null,it.direction=null),ft(ae({},it)),ot()},pagination:!1}))),fe.createElement(Fe.Z,{span:1},fe.createElement("img",{src:De,style:{marginLeft:10}})),fe.createElement(Fe.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},fe.createElement("div",{className:Ie.searchMember,style:{width:550}},fe.createElement(Pe.Z,{className:Ie.searchMemberHeader},fe.createElement(Fe.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),fe.createElement(Fe.Z,{flex:"110px"},"\u5B66\u53F7"),fe.createElement(Fe.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),fe.createElement("div",{style:{overflow:"auto",height:390}},We==null?void 0:We.map((we,rt)=>fe.createElement(Pe.Z,{key:rt,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},fe.createElement(Fe.Z,{flex:"100px"},we.user_name),fe.createElement(Fe.Z,{flex:"110px"},we.student_id),fe.createElement(Fe.Z,{flex:"120px",style:{marginLeft:5}},we.user_group_name),fe.createElement(Fe.Z,{style:{marginLeft:10}},fe.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{vt(We.filter($e=>$e.user_id!=we.user_id)),Te(Ge.filter($e=>$e!=we.user_id))}})))))))),!(Ue===1||Ue===2)&&fe.createElement("div",{className:Ie.bottom},fe.createElement(ue.ZP,{className:Ie.no,onClick:()=>{Re()}},"\u53D6\u6D88"),fe.createElement(ue.ZP,{loading:nt,type:"primary",onClick:()=>{ct()}},"\u786E\u5B9A")))};var se=(0,Ne.connect)(({})=>({}))(de)},24528:function(tt,Qe,te){"use strict";var b=te(59301),re=te(78241),Pe=te(8591),Fe=te(43418),be=te(71418),xe=te(95237),ue=te(5112),Oe=te(5083),je=te(24905),Ie=te(56656),Ne=te.n(Ie),De=te(38147),fe=te(65862),oe=te(65582),a=te(70414),E=te(59553),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ie=(Je,Me,Ue)=>Me in Je?x(Je,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Je[Me]=Ue,de=(Je,Me)=>{for(var Ue in Me||(Me={}))ae.call(Me,Ue)&&ie(Je,Ue,Me[Ue]);if(ne)for(var Ue of ne(Me))le.call(Me,Ue)&&ie(Je,Ue,Me[Ue]);return Je},se=(Je,Me)=>y(Je,z(Me)),ce=(Je,Me,Ue)=>new Promise((Le,ke)=>{var nt=lt=>{try{dt(Ue.next(lt))}catch(Xe){ke(Xe)}},pt=lt=>{try{dt(Ue.throw(lt))}catch(Xe){ke(Xe)}},dt=lt=>lt.done?Le(lt.value):Promise.resolve(lt.value).then(nt,pt);dt((Ue=Ue.apply(Je,Me)).next())});function me(Je,Me){const Ue=[];for(let Le=Je;Le{let Me=new Date;const Ue=Ne()(Je).format("HH");if(Ne()(Je).isSame(Ne()(Me),"day")){const Le=Ne()(Me).format("HH"),ke=Ne()(Me).format("mm");return{disabledHours:()=>me(0,24).splice(1,Le*1-1),disabledMinutes:()=>Ne()(Je).isSame(Ne()(Me),"hour")&&Ue<=Le?me(0,60).splice(0,ke):me(60,60)}}else if(Ne()(Je).isSame(Ne()(),"day")){const Le=Ne()().format("HH"),ke=Ne()().format("mm");return{disabledHours:()=>me(0,24).splice(0,Le),disabledMinutes:()=>Ue<=Le?me(0,ke):me(60,60)}}else return!1},Ee=({exercise:Je,dispatch:Me})=>{var Ue;const Le=(0,oe.useParams)(),[ke]=re.default.useForm(),[nt,pt]=(0,b.useState)(1),[dt,lt]=(0,b.useState)([]),[Xe,Pt]=(0,b.useState)(!0),[Ge,Te]=(0,b.useState)([]),[We,vt]=(0,b.useState)(!0),[It,mt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Je.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Pn()},[Je.actionTabs]);const Pn=Ut=>ce(void 0,null,function*(){var dn,En;Pt(!0);const it=yield Me({type:"exercise/getEndGroups",payload:se(de({},Le),{check_ids:[...((dn=Je.actionTabs.selectArrs)==null?void 0:dn.map(_e=>Number(_e)))||[]]})}),ft=(En=it==null?void 0:it.course_info)==null?void 0:En.map((_e,Be)=>se(de({},_e),{key:_e.course_group_id,title:_e.course_group_name,name:_e.course_group_name,disabled:!!_e.is_published}));it&&(it!=null&&it.course_info)&&(lt([...ft]),ke.setFieldsValue({end_time:Ne()(Ne()(new Date((0,fe.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),Pt(!1)}),Ze=()=>ce(void 0,null,function*(){var Ut,dn,En,it;const ft=de({},ke.getFieldsValue());if((Ge==null?void 0:Ge.length)<=0&&dt.length>0&&!((Ut=Je.actionTabs)!=null&&Ut.unified_setting)){Pe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}mt(!0);const _e={check_ids:[...((dn=Je.actionTabs.selectArrs)==null?void 0:dn.map(ot=>Number(ot)))||[]],group_ids:Ge};We||(_e.end_time=Ne()(ft.end_time).format("YYYY-MM-DD HH:mm")),_e.group_ids=Ge.map(ot=>ot.course_group_id),(yield(0,De.ZP)(`/api/courses/${Le.coursesId}/exercises/end_exercise.json`,{method:"post",body:_e})).status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,fe.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),Me({type:"exercise/setActionTabs",payload:{}}),(En=Je==null?void 0:Je.actionTabs)!=null&&En.cb?(it=Je==null?void 0:Je.actionTabs)==null||it.cb():Me({type:"classroomList/getClassroomExercisesList",payload:de({},Je.actionTabs.params)})),mt(!1)}),Ft=()=>{pt(1),lt([]),Te([]),vt(!0)};return b.createElement(Fe.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:Je.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Ze,width:680,confirmLoading:It||Xe,onCancel:()=>{Ft(),Me({type:"exercise/setActionTabs",payload:{}})}},b.createElement(be.Z,{spinning:Xe},dt&&b.createElement(re.default,{form:ke},b.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},b.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:a.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),b.createElement(xe.Z,{className:"mt20 mb10"},b.createElement("span",{className:"mr10"},b.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),b.createElement(ue.ZP.Group,{value:We,onChange:Ut=>{vt(Ut.target.value),Te([])}},b.createElement(ue.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),b.createElement(ue.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),b.createElement(re.default.Item,{name:"end_time",style:{marginTop:-3,visibility:We?"hidden":"visible"}},b.createElement(Oe.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ne()((0,fe.U6)(),"HH:mm")},disabledDate:Ut=>Ut&&Ut0&&!((Ue=Je.actionTabs)!=null&&Ue.unified_setting)&&b.createElement(xe.Z,{style:{marginBottom:"10px"}},b.createElement("span",{className:"mr10"},b.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),b.createElement("div",null,dt.length>0&&b.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},b.createElement("span",{style:{flex:1}},b.createElement(je.default,{checked:Ge.length===dt.length,onChange:Ut=>{Ge.length===dt.length?Te([]):Te(dt)}},"\u5168\u9009")," "),b.createElement("span",{style:{width:16}}),b.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Ge.length||0,"\u4E2A\u5206\u73ED")),b.createElement(E.Z,{data:dt,selectedRowKeys:Ge,setSelectedRowKeys:Te}))))))};Qe.Z=(0,oe.connect)(({exercise:Je})=>({exercise:Je}))(Ee)},72936:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Pt}});var b=te(59301),re=te(78241),Pe=te(8591),Fe=te(43418),be=te(71418),xe=te(95237),ue=te(5112),Oe=te(5871),je=te(5083),Ie=te(78673),Ne=te(24905),De=te(3113),fe=te(56656),oe=te.n(fe),a=te(38147),E=te(65862),x=te(65582),y=te(87513),z=te(70414),ne=te(59553),ae=te(41996),le={contentInterval:"contentInterval___wAfD8",numberInput:"numberInput___R9kLf",minorRuleText:"minorRuleText___LjpSg",failedList:"failedList___KYTHd",name:"name___MqNtz",publish:"publish___TPl6Z"},ie=te(83028),de=te(60979),se=te(33276),ce=te(59301),me=Object.defineProperty,ve=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Le=(Ge,Te,We)=>Te in Ge?me(Ge,Te,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ge[Te]=We,ke=(Ge,Te)=>{for(var We in Te||(Te={}))Me.call(Te,We)&&Le(Ge,We,Te[We]);if(Je)for(var We of Je(Te))Ue.call(Te,We)&&Le(Ge,We,Te[We]);return Ge},nt=(Ge,Te)=>ve(Ge,Ee(Te)),pt=(Ge,Te,We)=>new Promise((vt,It)=>{var mt=Ft=>{try{Ze(We.next(Ft))}catch(Ut){It(Ut)}},Pn=Ft=>{try{Ze(We.throw(Ft))}catch(Ut){It(Ut)}},Ze=Ft=>Ft.done?vt(Ft.value):Promise.resolve(Ft.value).then(mt,Pn);Ze((We=We.apply(Ge,Te)).next())});function dt(Ge,Te){const We=[];for(let vt=Ge;vt{let Te=new Date;const We=oe()(Ge).format("HH");if(oe()(Ge).isSame(oe()(Te),"day")){const vt=oe()(Te).format("HH"),It=oe()(Te).format("mm");return{disabledHours:()=>dt(0,24).splice(1,vt*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",We,vt),oe()(Ge).isSame(oe()(Te),"hour")&&We<=vt?dt(0,60).splice(0,It):dt(60,60))}}else if(oe()(Ge).isSame(oe()(),"day")){const vt=oe()().format("HH"),It=oe()().format("mm");return{disabledHours:()=>dt(0,24).splice(0,vt),disabledMinutes:()=>We<=vt?dt(0,It):dt(60,60)}}else return!1},Xe=({exercise:Ge,dispatch:Te})=>{var We,vt,It,mt,Pn,Ze,Ft,Ut,dn,En,it,ft,_e,Be,ot,ct,Re,we,rt,$e,ze,Et,An;const en=(0,x.useParams)(),[_t]=re.default.useForm(),[on,$t]=(0,b.useState)(1),[Ye,at]=(0,b.useState)([]),[jt,Kt]=(0,b.useState)(!0),[fn,Zt]=(0,b.useState)([]),[Fn,jn]=(0,b.useState)(!0),[ia,Da]=(0,b.useState)(!1),{workSetting:gn}=Ge,[Pa,uo]=(0,b.useState)(!1),[da,ta]=(0,b.useState)([]),[Fo,ao]=(0,b.useState)([]),[Qt,On]=(0,b.useState)(!1),[ra,Sa]=(0,b.useState)(!1),[$n,Za]=(0,b.useState)(!1),[xo,br]=(0,b.useState)(null),[Or,Ia]=(0,b.useState)(1),[xt,Tt]=(0,b.useState)({}),[wt,In]=(0,b.useState)({}),[na,Hn]=(0,b.useState)(!1),[nr,Oa]=(0,b.useState)(!1),[oo,Ar]=(0,b.useState)(!1),[to,kn]=(0,b.useState)([]);(0,b.useEffect)(()=>{if(Ge.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"){const{selectArrsAll:qt=[],type:Sn}=Ge.actionTabs||{},mn=qt.filter(hn=>![100,120,150].includes(Number(hn.total_score)));mn.length?(Ar(Sn===1?"multiple":"single"),kn(mn.map(hn=>nt(ke({},hn),{name:hn.exercise_name})))):Oa(!0)}},[(We=Ge==null?void 0:Ge.actionTabs)==null?void 0:We.key]),console.log(oo,"visible"),(0,b.useEffect)(()=>{var qt;if(Ge.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Wr(),pn(),Ge.actionTabs.type===2)){const Sn=(qt=Ge.actionTabs)==null?void 0:qt.unified_setting;jn(Sn)}},[Ge.actionTabs]),(0,b.useEffect)(()=>{var qt,Sn,mn,hn,yn,fa,Aa;(qt=gn==null?void 0:gn.exercise)!=null&&qt.publish_time&&_t.setFieldsValue({publish_time:oe()((Sn=gn==null?void 0:gn.exercise)==null?void 0:Sn.publish_time)}),(mn=gn==null?void 0:gn.exercise)!=null&&mn.end_time&&_t.setFieldsValue({end_time:oe()((hn=gn==null?void 0:gn.exercise)==null?void 0:hn.end_time)}),_t.setFieldsValue({exercise_type:(yn=gn==null?void 0:gn.exercise)==null?void 0:yn.exercise_type,simulate_exercise_num:(fa=gn==null?void 0:gn.exercise)==null?void 0:fa.simulate_exercise_num}),Ia((Aa=gn==null?void 0:gn.exercise)==null?void 0:Aa.exercise_type)},[Ge]);const dr=qt=>{var Sn;const mn=_t.getFieldValue("publish_time");if(!mn||(Sn=gn==null?void 0:gn.exercise)!=null&&Sn.publish_time)return;let hn;qt===1?hn=oe()(mn).add(120,"minutes"):hn=oe()(mn).add(7,"days"),_t.setFieldsValue({end_time:hn})},Wr=qt=>pt(void 0,null,function*(){var Sn,mn;Kt(!0);const hn=yield(0,y.N3)({coursesId:en.coursesId,check_ids:[...((Sn=Ge.actionTabs.selectArrs)==null?void 0:Sn.map(fa=>Number(fa)))||[]]});console.log(hn,"res");const yn=((mn=hn==null?void 0:hn.course_info)==null?void 0:mn.map((fa,Aa)=>nt(ke({},fa),{key:fa.course_group_id,title:fa.course_group_name,name:fa.course_group_name,disabled:!!fa.is_published})))||[];if((hn==null?void 0:hn.status)!==-1){at([...yn]);const fa=oe()();_t.setFieldsValue({publish_time:fa}),(_t.getFieldValue("exercise_type")||1)===1?_t.setFieldsValue({end_time:oe()(fa).add(120,"minutes")}):_t.setFieldsValue({end_time:oe()(fa).add(7,"days")})}Kt(!1)});(0,b.useEffect)(()=>{var qt,Sn,mn,hn,yn,fa;if((qt=gn==null?void 0:gn.exercise)!=null&&qt.is_appoint_user){const Aa=((mn=(Sn=gn==null?void 0:gn.exercise)==null?void 0:Sn.all_exercise_users)==null?void 0:mn.map(tn=>tn.user_id))||[];ta([...Aa])}On((hn=gn==null?void 0:gn.exercise)==null?void 0:hn.is_appoint_user),Sa((yn=gn==null?void 0:gn.exercise)==null?void 0:yn.is_miss_exam_user),Za((fa=gn==null?void 0:gn.exercise)==null?void 0:fa.is_no_passing_user)},[gn]),(0,b.useEffect)(()=>{var qt,Sn,mn,hn,yn,fa,Aa,tn;(Sn=(qt=Ge==null?void 0:Ge.actionTabs)==null?void 0:qt.selectArrs)!=null&&Sn[0]&&Ge.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&Te({type:"exercise/getWorkSetting",payload:{categoryId:(hn=(mn=Ge==null?void 0:Ge.actionTabs)==null?void 0:mn.selectArrs)==null?void 0:hn[0],category:(fa=(yn=Ge==null?void 0:Ge.actionTabs)==null?void 0:yn.selectArrs)==null?void 0:fa[0],coursesId:(tn=(Aa=Ge==null?void 0:Ge.actionTabs)==null?void 0:Aa.params)==null?void 0:tn.id}})},[(vt=Ge==null?void 0:Ge.actionTabs)==null?void 0:vt.selectArrs]);const xr=()=>pt(void 0,null,function*(){var qt,Sn,mn,hn,yn,fa,Aa;const tn=ke({},_t.getFieldsValue()),Sr=oe()(oe()(tn.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),Nr=oe()(oe()(tn.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Sr,Sr,33),Nr<=Sr){Pe.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((fn==null?void 0:fn.length)<=0&&!Fn&&Ye.length>0&&!((qt=gn==null?void 0:gn.exercise)!=null&&qt.is_make_up_exercise)){Pe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const qr=Ye.map(Ur=>Ur.key),Cr={check_ids:[...((Sn=Ge.actionTabs.selectArrs)==null?void 0:Sn.map(Ur=>Number(Ur)))||[]],end_time:oe()(tn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:oe()(tn.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:fn.map(Ur=>Ur.course_group_id),unified_setting:!fn.length,exercise_type:tn.exercise_type,simulate_exercise_num:tn.simulate_exercise_num};if(((mn=Ge.actionTabs.selectArrsAll)==null?void 0:mn.length)>0&&Ge.actionTabs.type===1&&(Cr.check_ids=[...((yn=(hn=Ge.actionTabs.selectArrsAll)==null?void 0:hn.filter(Ur=>!Ur.high_resources_consume||Ur.high_resources_consume_permission))==null?void 0:yn.map(Ur=>Number(Ur==null?void 0:Ur.id)))||[]]),(fa=gn==null?void 0:gn.exercise)!=null&&fa.is_make_up_exercise){if(Qt&&da.length<=0||!Qt&&!(ra||$n)){Pe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Cr.is_appoint_user=Qt,Cr.is_miss_exam_user=ra,Cr.is_no_passing_user=$n,Qt?Cr.make_up_exercise_users=da.map(Ur=>({user_id:Ur})):Cr.make_up_exercise_user=[]}let{is_locked:Jn,open_camera:Ta,screen_open:Do,login_restrict:wa,ip_bind:ro,ip_limit:fr,is_random:zo,id:Yr,identity_verify:$r,open_phone_video_recording:ii}=gn==null?void 0:gn.exercise;if(Ge.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(Jn||Ta||Do||wa||ro||fr=="pub"||fr=="inner"||$r||ii)&&tn.exercise_type==2){if(Oa(!1),Te({type:"exercise/setActionTabs",payload:{}}),Ge.actionTabs.type==2){let Ur=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:ce.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",ce.createElement("span",{style:{color:"#FA6400"}}," ",(0,E.hi)(gn==null?void 0:gn.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>pt(void 0,null,function*(){var ci;Hn(!0);let Yl=yield(0,de.Tr)({exercise_ids:[...((ci=Ge.actionTabs.selectArrs)==null?void 0:ci.map(vi=>Number(vi)))||[]],course_id:en.coursesId,type:"exercise"});if((Yl==null?void 0:Yl.student_count)===0){if((yield St(Cr))&&Ge.actionTabs.isRouter){Ur.destroy(),x.history.push(`/classrooms/${en.coursesId}/exercise/${Yr}/detail?random=${zo}&tabs=3&childrenTabs=2`);return}Te({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else In(Cr),Tt(Yl)}),onCancel:()=>{Ur.destroy(),Hn(!1),St(Cr)}})}else{let Ur=Fe.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:ce.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>pt(void 0,null,function*(){var ci;Hn(!0);let Yl=yield(0,de.Tr)({exercise_ids:[...((ci=Ge.actionTabs.selectArrs)==null?void 0:ci.map(vi=>Number(vi)))||[]],course_id:en.coursesId,type:"exercise"});if((Yl==null?void 0:Yl.student_count)===0){if((yield St(Cr))&&Ge.actionTabs.isRouter){x.history.push(`/classrooms/${en.coursesId}/exercise/${Yr}/detail?random=${zo}&tabs=3&childrenTabs=2`);return}Te({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else In(Cr),Tt(Yl)})})}return}let Hl=yield(0,de.Tr)({exercise_ids:[...((Aa=Ge.actionTabs.selectArrs)==null?void 0:Aa.map(Ur=>Number(Ur)))||[]],course_id:en.coursesId,type:"exercise"});(Hl==null?void 0:Hl.student_count)===0?St(Cr):(In(Cr),Tt(Hl))}),Vo=()=>{var qt;let Sn=[...(qt=Ge.actionTabs.selectArrsAll)==null?void 0:qt.filter(mn=>mn.high_resources_consume&&!mn.high_resources_consume_permission)];(Sn==null?void 0:Sn.length)>0&&Ge.actionTabs.type===1&&Fe.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:ce.createElement("div",null,ce.createElement("div",{className:le.tipcontent},ce.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",Sn==null?void 0:Sn.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),ce.createElement("div",{className:"mt20 mb20"},Sn==null?void 0:Sn.map(mn=>ce.createElement("div",{className:le.failedList,key:mn.id},ce.createElement("div",{className:le.name},mn==null?void 0:mn.exercise_name),ce.createElement("div",{className:le.publish,onClick:()=>{(0,E.xg)(`/classrooms/${en.coursesId}/exercise/${mn.id}/detail?random=${mn.is_random}`)}},"\u53D1\u5E03"))))))})},St=qt=>pt(void 0,null,function*(){var Sn,mn,hn;if(Ge.actionTabs.type===1){let Aa=[...(Sn=Ge.actionTabs.selectArrsAll)==null?void 0:Sn.filter(tn=>tn.high_resources_consume&&!tn.high_resources_consume_permission)];if((Aa==null?void 0:Aa.length)==Ge.actionTabs.selectArrsAll.length){Oa(!1),Te({type:"exercise/setActionTabs",payload:{}}),Vo();return}}let yn=!1;return Da(!0),(yield(0,a.ZP)(`/api/courses/${en.coursesId}/exercises/publish.json`,{method:"post",body:qt})).status===0&&((0,E.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),pn(),Pe.ZP.success("\u53D1\u5E03\u6210\u529F"),Oa(!1),Te({type:"exercise/setActionTabs",payload:{}}),(mn=Ge==null?void 0:Ge.actionTabs)!=null&&mn.cb?(hn=Ge==null?void 0:Ge.actionTabs)==null||hn.cb():Te({type:"classroomList/getClassroomExercisesList",payload:ke({},Ge.actionTabs.params)}),yn=!0,Ge.actionTabs.type===1&&Vo()),Da(!1),yn}),pn=()=>{$t(1),at([]),Zt([])},vn=(qt,Sn,mn)=>{qt<=0?Pe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(ta(Sn),ao(mn),uo(!1))};return ce.createElement(b.Fragment,null,ce.createElement(Fe.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:nr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:xr,confirmLoading:ia||jt,onCancel:()=>{pn(),Oa(!1),Te({type:"exercise/setActionTabs",payload:{}})}},ce.createElement(be.Z,{spinning:jt},Ye&&ce.createElement(re.default,{form:_t},!!((It=Ge==null?void 0:Ge.actionTabs)!=null&&It.disabled)&&ce.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},ce.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:z.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((mt=gn==null?void 0:gn.exercise)!=null&&mt.is_make_up_exercise)&&ce.createElement(ce.Fragment,null,ce.createElement(xe.Z,null,ce.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},ce.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),ce.createElement(re.default.Item,{name:"exercise_type"},ce.createElement(ue.ZP.Group,{disabled:((Pn=gn==null?void 0:gn.exercise)==null?void 0:Pn.exercise_status)>1,onChange:qt=>{Ia(qt.target.value),dr(qt.target.value)}},ce.createElement(ue.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),ce.createElement(ue.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Or==2&&ce.createElement(xe.Z,{className:`${le.contentInterval}`},ce.createElement("span",{className:`${le.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),ce.createElement(re.default.Item,{name:"simulate_exercise_num"},ce.createElement(Oe.Z,{className:le.numberInput,style:{width:145},precision:0,size:"middle",disabled:((Ze=gn==null?void 0:gn.exercise)==null?void 0:Ze.exercise_status)>1,min:1,max:999})),ce.createElement("span",null,"\u6B21",ce.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),ce.createElement(xe.Z,null,ce.createElement("span",{className:"mr10 mt5"},ce.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),ce.createElement(re.default.Item,{name:"publish_time"},ce.createElement(je.default,{style:{width:170},disabledDate:qt=>qt&&qt<=oe()().subtract(0,"days"),disabledTime:lt,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:oe()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),ce.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),ce.createElement(re.default.Item,{name:"end_time"},ce.createElement(je.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:oe()((0,E.U6)(),"HH:mm")},disabledDate:qt=>qt&&qt{var mn,hn,yn,fa,Aa;if(On(qt),qt)if((mn=gn==null?void 0:gn.exercise)!=null&&mn.is_appoint_user){const tn=(yn=(hn=gn==null?void 0:gn.exercise)==null?void 0:hn.all_exercise_users)==null?void 0:yn.map(Sr=>Sr.user_id);ta([...tn])}else ta([]),Sa(!1),Za(!1);else Sa((fa=gn==null?void 0:gn.exercise)==null?void 0:fa.is_miss_exam_user),Za((Aa=gn==null?void 0:gn.exercise)==null?void 0:Aa.is_no_passing_user)},disabled:((Ut=gn==null?void 0:gn.exercise)==null?void 0:Ut.exercise_status)!==1}),ce.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Qt&&ce.createElement(xe.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},ce.createElement(Ne.default,{checked:ra,disabled:((dn=gn==null?void 0:gn.exercise)==null?void 0:dn.exercise_status)!==1||((En=gn==null?void 0:gn.exercise)==null?void 0:En.miss_exam_count)<=0,onChange:qt=>{Sa(qt.target.checked)}},ce.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),ce.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{br(1),On(!1),uo(!0)}},"\uFF08",`${(it=gn==null?void 0:gn.exercise)==null?void 0:it.miss_exam_count}\u4EBA`,"\uFF09"),ce.createElement(Ne.default,{checked:$n,disabled:((ft=gn==null?void 0:gn.exercise)==null?void 0:ft.exercise_status)!==1||((_e=gn==null?void 0:gn.exercise)==null?void 0:_e.no_passing_count)<=0,onChange:qt=>{Za(qt.target.checked)}},ce.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),ce.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{br(2),On(!1),uo(!0)}},"\uFF08",`${(Be=gn==null?void 0:gn.exercise)==null?void 0:Be.no_passing_count}\u4EBA`,"\uFF09")),Qt&&ce.createElement(xe.Z,{className:"mt20",style:{paddingLeft:"90px"}},ce.createElement(De.ZP,{type:"primary",ghost:!0,disabled:((ot=gn==null?void 0:gn.exercise)==null?void 0:ot.exercise_status)!==1,onClick:()=>{uo(!0),br(void 0)}},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),ce.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),ce.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${da.length||0} \u4EBA`,"\uFF09"))),Ge.actionTabs.type===2&&!((ct=gn==null?void 0:gn.exercise)!=null&&ct.is_make_up_exercise)&&ce.createElement(xe.Z,{style:{marginBottom:"10px"}},ce.createElement("span",{className:"mr10"},ce.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),ce.createElement(ue.ZP.Group,{value:Fn,onChange:qt=>{jn(qt.target.value),Zt([])}},ce.createElement(ue.ZP,{disabled:!!((Re=Ge==null?void 0:Ge.actionTabs)!=null&&Re.disabled)||Ye.some(qt=>qt==null?void 0:qt.is_published)||!((we=Ge==null?void 0:Ge.actionTabs)!=null&&we.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),ce.createElement(ue.ZP,{disabled:Ye.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Ye.length<=0&&Ge.actionTabs.type===2&&!((rt=gn==null?void 0:gn.exercise)!=null&&rt.is_make_up_exercise)&&ce.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(Ge.actionTabs.type===1||!Fn)&&!(($e=gn==null?void 0:gn.exercise)!=null&&$e.is_make_up_exercise)&&Ye.length>0&&ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ce.createElement("span",{style:{flex:1}},ce.createElement(Ne.default,{checked:fn.length===Ye.length,onChange:qt=>{fn.length===Ye.length?Zt([]):Zt(Ye)}},"\u5168\u9009")),ce.createElement("span",{style:{width:16}}),ce.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",fn.length||0,"\u4E2A\u5206\u73ED")),(Ge.actionTabs.type===1||!Fn)&&!((ze=gn==null?void 0:gn.exercise)!=null&&ze.is_make_up_exercise)&&Ye.length>0&&ce.createElement(ne.Z,{data:Ye,selectedRowKeys:fn,setSelectedRowKeys:Zt})),ce.createElement(ae.Z,{visible:Pa,setVisible:uo,onK:vn,selectKeys:da,selectRows:Fo,appointStudent:Qt,modalParams:xo,courseId:en.categoryId||((An=(Et=Ge==null?void 0:Ge.actionTabs)==null?void 0:Et.selectArrs)==null?void 0:An[0])})),ce.createElement(ie.Z,{resdata:xt,type:"exercisepush",okloading:ia,oktext:(xt==null?void 0:xt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:qt=>pt(void 0,null,function*(){var Sn,mn,hn;Da(!0);let yn=yield(0,a.ZP)(`/api/courses/${en.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((Sn=Ge.actionTabs.selectArrs)==null?void 0:Sn.map(fa=>Number(fa)))||[]]}});if(Da(!1),(yn==null?void 0:yn.status)===0)if(na){let fa=yield St(wt);if(Fe.default.destroyAll(),fa&&Ge.actionTabs.isRouter){x.history.push(`/classrooms/${en.coursesId}/exercise/${(mn=gn==null?void 0:gn.exercise)==null?void 0:mn.id}/detail?random=${(hn=gn==null?void 0:gn.exercise)==null?void 0:hn.is_random}&tabs=3&childrenTabs=2`);return}Te({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else St(wt)})})),ce.createElement(se.Z,{text:"\u662F\u5426\u7EE7\u7EED\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u53D1\u5E03\uFF1F",okText:"\u786E\u8BA4\u53D1\u5E03",visible:oo,dataSource:to,onSuccess:()=>{Ar(!1),Oa(!0)},onClose:()=>{Ar(!1),pn(),Te({type:"exercise/setActionTabs",payload:{}})}}))};var Pt=(0,x.connect)(({exercise:Ge})=>({exercise:Ge}))(Xe)},59553:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ie}});var b=te(59301),re=te(92832),Pe=te(24905),Fe=te(95237),be={leftdiv:"leftdiv___iuhY9",listClass:"listClass___o5N53",spantitle:"spantitle___KVMSL",rightdiv:"rightdiv___f2zZr"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ue=te(2524),Oe=(Ne,De,fe)=>new Promise((oe,a)=>{var E=z=>{try{y(fe.next(z))}catch(ne){a(ne)}},x=z=>{try{y(fe.throw(z))}catch(ne){a(ne)}},y=z=>z.done?oe(z.value):Promise.resolve(z.value).then(E,x);y((fe=fe.apply(Ne,De)).next())}),Ie=({data:Ne,value:De=[],handleChangePage:fe,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:E=()=>{}})=>{const[x,y]=(0,b.useState)([]),[z,ne]=(0,b.useState)([]),[ae,le]=(0,b.useState)([]);let[ie,de]=(0,b.useState)(1),[se,ce]=(0,b.useState)();return(0,b.useEffect)(()=>{y(Ne),ne([]),le([])},[Ne]),(0,b.useEffect)(()=>{oe&&(ne(a),le(a))},[a]),b.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},b.createElement("div",{className:be.leftdiv},b.createElement(re.default.Search,{size:"middle",onChange:me=>Oe(void 0,null,function*(){y(Ne.filter(ve=>{var Ee;return(Ee=ve==null?void 0:ve.name)==null?void 0:Ee.includes(me.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),x.length===0&&b.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(Pe.default.Group,{value:z.map(me=>`${me.course_group_id}`),onChange:me=>{oe(x.filter(ve=>me.includes(`${ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},x.map((me,ve)=>b.createElement(Fe.Z,{key:me.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},b.createElement(Pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:me.is_published,value:`${me.course_group_id}`},b.createElement("div",{className:be.listClass},b.createElement("span",{className:be.spantitle,style:{width:me.is_published?"108px":"170px"}},me.name),me.is_published&&b.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),b.createElement("div",{className:be.rightdiv},b.createElement(re.default.Search,{onChange:me=>{le(z.filter(ve=>ve.name.includes(me.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ae.length===0&&b.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ae.length>0&&b.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},b.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ae.map((me,ve)=>b.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:me.course_group_id},b.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},me.name),b.createElement("img",{src:xe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(Ee=>`${Ee.course_group_name}`!=`${me.course_group_name}`))}})))))))}},21390:function(tt,Qe,te){"use strict";var b=te(59301),re=te(31797),Pe=te(5871),Fe=te(78241),be=te(43418),xe=te(71418),ue=te(1710),Oe=te(92832),je=te(95237),Ie=te(43604),Ne=te(3113),De=te(87513),fe=te(56656),oe=te.n(fe),a=te(65582),E=te(65862),x=te(27158),y=te(41867),z=te(61527),ne=te(59301),ae=(se,ce,me)=>new Promise((ve,Ee)=>{var Je=Le=>{try{Ue(me.next(Le))}catch(ke){Ee(ke)}},Me=Le=>{try{Ue(me.throw(Le))}catch(ke){Ee(ke)}},Ue=Le=>Le.done?ve(Le.value):Promise.resolve(Le.value).then(Je,Me);Ue((me=me.apply(se,ce)).next())});const{Countdown:le}=re.default,ie=({value:se,onChange:ce,MaxMinutes:me})=>ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",ne.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",ne.createElement("br",null)),ne.createElement(Pe.Z,{value:se,onChange:ce,min:0,precision:0,max:me,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${me}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),de=({exercise:se,successCb:ce,dispatch:me})=>{var ve,Ee,Je,Me;const Ue=(0,a.useParams)(),[Le]=Fe.default.useForm(),ke=Fe.default.useWatch("time",Le),[nt,pt]=(0,b.useState)(!1),dt=(0,b.useRef)(),{actionTabs:lt}=se,[Xe,Pt]=(0,b.useState)(),[,Ge,Te,We]=(0,z.U)(De.n7,{id:Ue.categoryId}),[,vt,It]=(0,z.U)(De.Cd,{});(0,b.useEffect)(()=>{se.actionTabs.key==="student-unlock"&&(pt(!1),Le.resetFields())},[se.actionTabs.key]);const mt=()=>new Promise(_e=>ae(void 0,null,function*(){var Be,ot;return dt.current=yield(0,x.y)({ip_limit:(Be=lt==null?void 0:lt.exerciseParams)==null?void 0:Be.ip_limit,ip_bind:(ot=lt==null?void 0:lt.exerciseParams)==null?void 0:ot.ip_bind_type}),_e()})),Pn=()=>ae(void 0,null,function*(){var _e,Be,ot,ct,Re;yield Le.validateFields();const we=Le.getFieldsValue();if(pt(!0),(((_e=lt==null?void 0:lt.exerciseParams)==null?void 0:_e.ip_limit)!=="no"||(Be=lt==null?void 0:lt.exerciseParams)!=null&&Be.ip_bind_type)&&(yield mt()),(yield(0,De.ZD)((ot=lt==null?void 0:lt.exerciseParams)==null?void 0:ot.id,{exercise_user_id:(ct=lt==null?void 0:lt.exerciseParams)==null?void 0:ct.exercise_user_id,unlock_key:we.unlock_key,time:we.time,ip:dt.current})).status===0){if(ce){me({type:"exercise/setActionTabs",payload:{}}),ce();return}const $e=lt==null?void 0:lt.exerciseParams;(0,E.nr)({inner_ip:$e.inner_ip,public_ip:$e.public_ip,open_camera:$e.open_camera,ip_limit:$e.ip_limit,ip_bind:$e.ip_bind,ip_bind_type:$e.ip_bind_type,exercise_tips:$e.exercise_tips,exerciseId:$e.id,screen_open:$e.screen_open,screen_num:$e.screen_num,screen_sec:$e.screen_sec,coursesId:Ue.coursesId,login:(Re=(0,y.eY)())==null?void 0:Re.login,history,identity_verify:$e.identity_verify,open_phone_video_recording:$e.open_phone_video_recording,current_status:$e.current_status}),me({type:"exercise/setActionTabs",payload:{}})}pt(!1)}),Ze=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:_e=>ne.createElement("span",{className:_e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},_e)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:_e=>ne.createElement("span",{className:_e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},_e)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ft=((ve=lt==null?void 0:lt.exerciseParams)==null?void 0:ve.errorMessage)&&typeof((Ee=lt==null?void 0:lt.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,b.useEffect)(()=>{se.actionTabs.key==="student-unlock"&&ae(void 0,null,function*(){const _e=yield It(Ue);yield Te({}),_e.status||Pt(_e)})},[se.actionTabs.key]);const{time:Ut,end_time:dn}=(Xe==null?void 0:Xe.exercise)||{},En=We!=null&&We.user_end_time?oe()(We==null?void 0:We.user_end_time).add(1,"minutes"):oe()(),it=oe()(We==null?void 0:We.user_total_end_time)>En?Math.round(oe().duration(oe()(We==null?void 0:We.user_total_end_time).diff(En.startOf("minute"))).asMinutes()):0,ft=((We==null?void 0:We.student_left_minutes)||0)+(ke||0);return ne.createElement(ne.Fragment,null,ne.createElement(be.default,{width:514,centered:!0,closable:!!((Je=lt==null?void 0:lt.exerciseParams)!=null&&Je.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:se.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{me({type:"exercise/setActionTabs",payload:{}})}},ne.createElement(xe.Z,{spinning:Ge||vt},Ft&&ne.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ft&&ne.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ft&&ne.createElement(ue.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Me=lt==null?void 0:lt.exerciseParams)==null?void 0:Me.errorMessage)||{}],columns:Ze}),ne.createElement("div",{className:""},ne.createElement(Fe.default,{form:Le,layout:"vertical",autoComplete:"off"},ne.createElement(Fe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ne.createElement(Oe.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Ut!==-1?ne.createElement(ne.Fragment,null,ne.createElement(Fe.default.Item,{name:"time",label:ne.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",ne.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",oe()(We==null?void 0:We.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},ne.createElement(ie,{MaxMinutes:it})),ne.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ne.createElement("span",{className:"ml5"},Ge||vt?"--":ft),"\u5206\u949F",ft!==0&&(We==null?void 0:We.user_end_time)&&ne.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ne.createElement("span",{className:"ml5"},oe()(We==null?void 0:We.user_end_time).add(ke||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):ne.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",oe()(dn).format("YYYY-MM-DD HH:mm")))),ne.createElement(je.Z,{justify:"space-between",align:"middle"},ne.createElement(Ie.Z,null),ne.createElement(Ie.Z,null,ne.createElement(Ne.ZP,{loading:nt,onClick:Pn},"\u8FDB\u5165\u8003\u8BD5"))))))};Qe.Z=(0,a.connect)(({exercise:se})=>({exercise:se}))(de)},82896:function(tt,Qe,te){"use strict";te.d(Qe,{w:function(){return xe}});var b=te(38147),re=te(43418),Pe=te(65582),Fe=te(59301),be=(ue,Oe,je)=>new Promise((Ie,Ne)=>{var De=a=>{try{oe(je.next(a))}catch(E){Ne(E)}},fe=a=>{try{oe(je.throw(a))}catch(E){Ne(E)}},oe=a=>a.done?Ie(a.value):Promise.resolve(a.value).then(De,fe);oe((je=je.apply(ue,Oe)).next())});const xe=(ue,Oe,je="\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E...",Ie=1,Ne=2)=>be(void 0,null,function*(){Ie===1&&(0,Pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:Ie===1?je:"\u6B63\u5728\u68C0\u6D4B\u4E2D\uFF0C\u8BF7\u7A0D\u540E..."}});const De=yield(0,b.ZP)(`/api/exercises/${Oe}/user_appraise_status.json`,{method:"get",params:{appraise_type:Ie}});if((De==null?void 0:De.status)===-1)return(0,Pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}}),Promise.reject();let fe={status:0};if((De==null?void 0:De.type)===2&&(fe=yield(0,b.ZP)(`/api/exercises/${Oe}/create_appraise_students.json`,{method:"get"})),(0,Pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(fe==null?void 0:fe.status)===-1)return Promise.reject();if((De==null?void 0:De.type)===2){const oe=()=>{Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/centralizeReview/${fe==null?void 0:fe.login}`)};if(re.default.confirm({centered:!0,width:470,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",keyboard:!1,onOk:oe,onCancel:()=>{Ne===1&&Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/detail`)},content:Fe.createElement("div",null,Fe.createElement("div",null,"\u60A8\u5DF2\u6210\u4E3A\u6307\u5B9A\u9605\u5377\u6559\u5E08\uFF0C\u662F\u5426\u73B0\u5728\u524D\u5F80",Fe.createElement("span",{onClick:oe,className:"ml5 mr5 c-light-primary current"},"\u96C6\u4E2D\u9605\u5377"),"\u7EE7\u7EED\u8BC4\u9605\uFF1F"),Fe.createElement("div",{className:"c-grey-999"},"\uFF08\u9605\u5377\u7ED3\u675F\u540E\u6062\u590D\u5B66\u751F\u4E2A\u4EBA\u8BC4\u9605\u529F\u80FD\uFF0C\u5E76\u5C55\u793A\u5B66\u751F\u6210\u7EE9\uFF09"))}),Ne!==3)return Promise.reject()}if((De==null?void 0:De.type)===3&&(re.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",keyboard:!1,title:"\u63D0\u793A",onOk:()=>{Ne===1&&Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/detail`)},content:Fe.createElement("div",null,(De==null?void 0:De.message)||"")}),Ne!==3)||(De==null?void 0:De.type)===4&&(re.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",title:"\u63D0\u793A",keyboard:!1,onOk:()=>{Ne===1&&Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/detail`)},content:Fe.createElement("div",null,(De==null?void 0:De.message)||"")}),Ne!==3))return Promise.reject()})},99981:function(tt,Qe,te){"use strict";te.d(Qe,{Q8:function(){return lt},d0:function(){return Xe},w6:function(){return dt}});var b=te(59301),re=te(5083),Pe=te(57809),Fe=te(8591),be=te(43418),xe=te(5112),ue=te(95237),Oe=te(43604),je=te(6848),Ie=te(24905),Ne=te(3113),De=te(56656),fe=te.n(De),oe=te(41867),a=te(38147),E=te(89392),x=te.n(E),y=te(65862),z=te(61191),ne=te(65582),ae=te(4324),le=te(66457),ie=te(42656),de=te(83028),se=te(60979),ce=te(59301),me=Object.defineProperty,ve=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Le=(We,vt,It)=>vt in We?me(We,vt,{enumerable:!0,configurable:!0,writable:!0,value:It}):We[vt]=It,ke=(We,vt)=>{for(var It in vt||(vt={}))Me.call(vt,It)&&Le(We,It,vt[It]);if(Je)for(var It of Je(vt))Ue.call(vt,It)&&Le(We,It,vt[It]);return We},nt=(We,vt)=>ve(We,Ee(vt)),pt=(We,vt,It)=>new Promise((mt,Pn)=>{var Ze=dn=>{try{Ut(It.next(dn))}catch(En){Pn(En)}},Ft=dn=>{try{Ut(It.throw(dn))}catch(En){Pn(En)}},Ut=dn=>dn.done?mt(dn.value):Promise.resolve(dn.value).then(Ze,Ft);Ut((It=It.apply(We,vt)).next())});function dt(We,vt){const It=[];for(let mt=We;mt{const mt=Wefe()(vt).endOf("day"),Ze=We{const It=parseInt(fe()(We).format("HH")),mt=parseInt(fe()().format("HH")),Pn=parseInt(fe()().format("mm"));if(!We)return{disabledHours:()=>dt(0,mt),disabledMinutes:()=>dt(0,Pn)};if(vt){const Ze=parseInt(fe()(vt).format("HH")),Ft=parseInt(fe()(vt).format("mm"));return fe()(We).isSame(fe()(vt),"day")?{disabledHours:()=>dt(0,Ze),disabledMinutes:()=>It<=Ze?dt(0,Ft):[]}:void 0}if(fe()(We).isSame(fe()(),"day"))return{disabledHours:()=>dt(0,mt),disabledMinutes:()=>fe()(We).isSame(fe()(),"hour")&&It<=mt?dt(0,Pn):[]}},{RangePicker:Pt}=re.default,{Option:Ge}=Pe.default,Te=({shixunHomeworks:We,loading:vt,dispatch:It,classroomList:mt,user:Pn})=>{var Ze,Ft,Ut,dn,En,it,ft,_e,Be;const ot=(0,ne.useParams)(),{workSetting:ct,workList:Re,shixunWorkList:we,headerInfo:rt,changeData:$e}=We,[ze,Et]=(0,b.useState)(!1),[An,en]=(0,b.useState)(!1);let[_t,on]=(0,b.useState)([]),[$t,Ye]=(0,b.useState)([]),[at,jt]=(0,b.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ae.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[Kt,fn]=(0,b.useState)({}),[Zt,Fn]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{on([])},[]),(0,b.useEffect)(()=>{Et(!(0,oe.GJ)())},[(0,oe.GJ)()]);const jn=()=>{It({type:"shixunHomeworks/getWorkSetting",payload:ke({},ot)})};(0,b.useEffect)(()=>{if(!(ct!=null&&ct.course_id))return;Object.keys(at).map(function(On){at[On]=ct[On]}),(!at.allow_late||!at.unified_late)&&(at.late_penalty=20,at.penalty_type=ae.Q.Percent),at.unified_setting||(at.unified_late=!1,at.unified_anonymous_comment=!1,at.unified_anonymous_appeal=!1),_t=JSON.parse(JSON.stringify(ct.group_settings.map(On=>nt(ke({},On),{group_name:[On.group_name]})).filter(On=>On.publish_time!==null))),$t=JSON.parse(JSON.stringify(ct.allow_late_settings.map(On=>nt(ke({},On),{group_name:[On.group_name]})).filter(On=>On.late_time!==null))),jt(ke({},at));const Qt=(0,y.QE)((_t==null?void 0:_t.length)>0?_t:[]);on([...Qt]),($t==null?void 0:$t.length)<=0?Ye([{penalty_type:ae.Q.Percent,late_penalty:20}]):Ye([...$t])},[ct]);const ia=()=>pt(void 0,null,function*(){var Qt,On;if(((Qt=Pn==null?void 0:Pn.userInfo)==null?void 0:Qt.user_status)===2){(0,le.Rd)();return}const ra=JSON.parse(JSON.stringify(at));if(ra.challenge_settings.filter($n=>!$n.hide),ra.categoryId=ot.categoryId,(On=ra.challenge_settings)!=null&&On.every($n=>!$n.checked)){Fe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(_t),!at.unified_setting)_t=_t==null?void 0:_t.map($n=>{var Za;if(!$n.publish_time||!$n.end_time)throw Fe.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!$n.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return $n.group_name=typeof($n==null?void 0:$n.group_name)=="string"?[$n==null?void 0:$n.group_name]:$n==null?void 0:$n.group_name,$n.group_id=(Za=ct.group_settings)==null?void 0:Za.filter(xo=>{var br;return(br=$n==null?void 0:$n.group_name)==null?void 0:br.includes(xo.group_name)}).map(xo=>xo.group_id||xo.id).toString().split(","),$n});else if(!at.publish_time||!at.end_time)throw Fe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(ra.group_settings=_t,at.allow_late)if(at.unified_late){if(at.late_penalty===null||at.late_penalty===void 0||at.late_penalty<0||at.late_penalty>100)throw Fe.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!at.late_time)throw Fe.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else $t=$t==null?void 0:$t.map($n=>{var Za,xo;if($n.late_penalty===null||$n.late_penalty===void 0||$n.late_penalty<0||$n.late_penalty>100)throw Fe.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!$n.late_time)throw Fe.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!$n.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return $n.group_name=typeof($n==null?void 0:$n.group_name)=="string"?[$n==null?void 0:$n.group_name]:$n==null?void 0:$n.group_name,$n.group_id=(xo=(Za=$n==null?void 0:$n.group_name)==null?void 0:Za.map(br=>{var Or,Ia;let xt=(Ia=(Or=ct.group_settings)==null?void 0:Or.filter(Tt=>(Tt==null?void 0:Tt.group_name)===br))==null?void 0:Ia[0];return xt==null?void 0:xt.group_id}))==null?void 0:xo.toString().split(","),$n}),ra.allow_late_settings=$t;let Sa=yield(0,se.Tr)({homework_common_ids:[parseInt(ot.categoryId)],course_id:ot.coursesId,type:"homework_common"});(Sa==null?void 0:Sa.student_count)===0?Da(ra):(Fn(ra),fn(Sa))}),Da=Qt=>{var On;if(Qt.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Qt!=null&&Qt.work_efficiency&&Qt.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ra=Qt.challenge_settings.reduce((Za,xo)=>Za+Number(xo.challenge_score),0);if((ra==null?void 0:ra.toFixed(10))!==((On=Qt.total_score-Qt.eff_score)==null?void 0:On.toFixed(10))){Fe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Qt.total_score}\u5206`);return}const Sa={shixun_evaluation:Qt.shixun_evaluation,challenge_settings:Qt.challenge_settings};let $n=()=>{var Za;const xo=()=>pt(void 0,null,function*(){en(!0),(yield(0,a.ZP)(`/api/homework_commons/${ot.categoryId}/publish_setting.json`,{method:"post",body:ke({},Qt)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),jn(),It({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:ke({},ot)})),en(!1)});!(0,E.isEqual)($e,Sa)&&!((Za=rt==null?void 0:rt.homework_status)!=null&&Za.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:xo}):xo()};ct!=null&&ct.high_resources_consume&&!(ct!=null&&ct.high_resources_consume_permission)?It({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ot.coursesId,type:"shixun",type_id:ot.categoryId,name:ct.homework_name,fn:()=>{$n()}}}):$n()},gn=(Qt,On,ra="group_id")=>{var Sa;return On?On.find($n=>$n[ra]===Qt):(Sa=ct==null?void 0:ct.group_settings)==null?void 0:Sa.find($n=>$n.group_id[0]===Qt)},Pa=(ct==null?void 0:ct.allow_late)||(ct==null?void 0:ct.anonymous_comment),uo=Qt=>{var On,ra;const Sa=gn(Qt,ct==null?void 0:ct.allow_late_settings,"id"),$n=gn(Qt,ct==null?void 0:ct.anonymous_comment_settings),Za=gn(Qt);return(ct==null?void 0:ct.allow_late)&&Sa&&fe()(Sa==null?void 0:Sa.late_time)<=fe()()||(ct==null?void 0:ct.anonymous_comment)&&$n&&($n==null?void 0:$n.evaluation_start)!==null||((ra=(fe()(Za==null?void 0:Za.end_time)<=fe()()&&((On=ct==null?void 0:ct.allow_late_settings)==null?void 0:On.filter(xo=>xo.group_id.includes(Qt))))[0])==null?void 0:ra.late_time)!=null},da=(0,b.useMemo)(()=>(ct==null?void 0:ct.allow_late)||(ct==null?void 0:ct.all_group_late),[ct,rt]),ta=ct==null?void 0:ct.anonymous_comment,Fo=Qt=>{if(!Qt)return!1;const On=gn(Qt,ct==null?void 0:ct.anonymous_comment_settings);return(ct==null?void 0:ct.anonymous_comment)&&On&&(On==null?void 0:On.evaluation_start)!==null},ao=(Qt,On)=>{var ra,Sa,$n;It({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Qt,index:On,rangePickerDisabled:ze||(fe()()<=fe()((Sa=gn((ra=Qt==null?void 0:Qt.group_id)==null?void 0:ra[0]))==null?void 0:Sa.publish_time)?!1:[!0,uo(($n=Qt==null?void 0:Qt.group_id)==null?void 0:$n[0])]),disabledDate:ct==null?void 0:ct.course_end_date}})};return ce.createElement("section",{className:z.Z.form},ce.createElement("div",{className:z.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ce.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),ce.createElement("div",null,ce.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ce.createElement(xe.ZP.Group,{disabled:ze||!((Ze=rt==null?void 0:rt.homework_status)!=null&&Ze.includes("\u672A\u53D1\u5E03"))||(0,oe.Rm)()&&!((Ft=mt.AssistantObject.practice)!=null&&Ft.can_publish),value:at.unified_setting,onChange:Qt=>{var On;if(!((On=rt==null?void 0:rt.homework_status)!=null&&On.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(at.unified_setting=!at.unified_setting,at.unified_setting||(at.unified_late=!1,Ye([{late_penalty:5}])),jt(Object.assign({},at)),at.unified_setting===!1&&_t==""){on(_t.concat({}));return}at.unified_setting&&(on([]),Ye([{late_penalty:5}]))}},ce.createElement(xe.ZP,{value:!0,disabled:ze||!(ct!=null&&ct.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ce.createElement(xe.ZP,{disabled:ze||!((Ut=ct==null?void 0:ct.group_settings)!=null&&Ut.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((dn=ct==null?void 0:ct.group_settings)==null?void 0:dn.length)===0&&ce.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),at.unified_setting&&ce.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ce.createElement(ue.Z,{align:"middle"},ce.createElement(Oe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ce.createElement(Oe.Z,{className:"ml10"},ce.createElement(re.default,{size:"large",disabled:ze||!((En=rt==null?void 0:rt.homework_status)!=null&&En.includes("\u672A\u53D1\u5E03")||(it=rt==null?void 0:rt.homework_status)!=null&&it.includes("\u672A\u5F00\u59CB"))||(0,oe.Rm)()&&!((ft=mt.AssistantObject.practice)!=null&&ft.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Qt=>lt(Qt,ct==null?void 0:ct.course_end_date),disabledTime:Qt=>Xe(Qt),value:at.publish_time?fe()(at.publish_time):"",onChange:(Qt,On)=>{at.publish_time=On,(at.end_time==""||!at.end_time)&&at.unified_setting&&(at.end_time=fe()(Qt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),jt(Object.assign({},at))}}))),ce.createElement(ue.Z,{align:"middle",className:"pl30"},ce.createElement(Oe.Z,null,"\u622A\u6B62\u65F6\u95F4"),ce.createElement(Oe.Z,{className:"ml10"},ce.createElement(re.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,y.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(ct==null?void 0:ct.allow_late)&&(ct==null?void 0:ct.homework_status.includes("\u5DF2\u622A\u6B62"))||ze||(ct==null?void 0:ct.allow_late)&&fe()()>=fe()(ct==null?void 0:ct.end_time)||(0,oe.Rm)()&&!((_e=mt.AssistantObject.practice)!=null&&_e.can_publish),disabledDate:Qt=>lt(Qt,ct==null?void 0:ct.course_end_date,at.publish_time),disabledTime:Qt=>Xe(Qt,at.publish_time),value:at.end_time?fe()(at.end_time):"",onChange:(Qt,On)=>{at.end_time=On,jt(Object.assign({},at))}})))),!at.unified_setting&&(_t==null?void 0:_t.length)>0&&ce.createElement(ue.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},_t&&_t.map(function(Qt,On){var ra,Sa,$n,Za,xo,br,Or;return ce.createElement(Oe.Z,{span:24,key:On},ce.createElement(ue.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:On==(_t==null?void 0:_t.length)-1?"0px":"10px"}},ce.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",On+1),ce.createElement(Pe.default,{disabled:ze||((ra=rt==null?void 0:rt.homework_status)!=null&&ra.includes("\u672A\u53D1\u5E03")&&Qt.id||fe()(){var xt;if((0,oe.Rm)()&&!((xt=mt.AssistantObject.practice)!=null&&xt.can_publish)){Fe.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}_t[On].group_name=Ia,_t[On].group_id=Qt.group_id;const Tt=(0,E.flattenDeep)(_t.map(In=>In.group_name)),wt=$t.map(In=>{let na=(In==null?void 0:In.group_name)||[];return nt(ke({},In),{group_name:(0,E.remove)(na,Hn=>Tt.includes(Hn))})});Ye(wt),on(_t.slice())},maxTagCount:4,maxTagPlaceholder:Ia=>ce.createElement("div",{style:{cursor:"pointer"},onClick:()=>ao(Qt,On)},"+",Ia==null?void 0:Ia.length)},ct.group_settings&&ct.group_settings.map(function(Ia){if(!_t.map(Tt=>Tt.group_name).flat().includes(Ia.group_name))return ce.createElement(Ge,{value:Ia.group_name,key:Ia.id},Ia.group_name)})),ce.createElement("div",{className:"ml20"},ce.createElement(Pt,{size:"large",ranges:{\u6B64\u523B:[Qt.publish_time?fe()(Qt.publish_time):fe()(),fe()()]},allowClear:!1,disabled:ze||(fe()()<=fe()((Za=gn(($n=Qt==null?void 0:Qt.group_id)==null?void 0:$n[0]))==null?void 0:Za.publish_time)?!1:[!0,uo((xo=Qt==null?void 0:Qt.group_id)==null?void 0:xo[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Ia=>lt(Ia,ct==null?void 0:ct.course_end_date),disabledTime:Ia=>Xe(Ia),showTime:{showNow:!0,format:"HH:mm",defaultValue:[fe()((0,y.U6)(),"HH:mm"),fe()((0,y.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Qt.publish_time&&[fe()(Qt.publish_time),Qt.end_time?fe()(Qt.end_time):void 0],onChange:(Ia,xt)=>{var Tt;if((0,oe.Rm)()&&!((Tt=mt.AssistantObject.practice)!=null&&Tt.can_publish)){Fe.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}_t[On].publish_time=xt[0],!Qt.end_time&&xt[0]?_t[On].end_time=fe()(xt[0]).add(7,"days"):_t[On].end_time=xt[1],on([..._t])},onCalendarChange:(Ia,xt,Tt)=>{if(xt!=null&&xt[0]&&!xt[1]){const wt=fe()(xt[0]).add(7,"days");_t[On].publish_time=xt[0],_t[On].end_time=wt,on([..._t])}}})),!ze&&ce.createElement("div",{style:{display:"flex",width:"50px"}},((br=Qt==null?void 0:Qt.group_id)==null?void 0:br.length)>1&&ce.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},ce.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>ao(Qt,On)})),_t.length<((Or=ct==null?void 0:ct.group_settings)==null?void 0:Or.length)&&ce.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Ia;if((0,oe.Rm)()&&!((Ia=mt.AssistantObject.practice)!=null&&Ia.can_publish)){Fe.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}on(_t.concat({}))}}),((Qt==null?void 0:Qt.publish_time)&&fe()(){const Ia=(0,E.cloneDeep)($t);Ia.forEach((xt,Tt)=>{xt.group_name&&(xt.group_name=xt.group_name.filter(wt=>{var In;return!((In=_t[On].group_name)!=null&&In.includes(wt))}))}),_t=_t.filter((xt,Tt)=>On!==Tt),Ye(Ia),on(_t.slice()),setTimeout(()=>on(_t.slice()),10)}}))))}))),ce.createElement(ue.Z,null,ce.createElement(Oe.Z,null,ce.createElement("div",{className:z.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ce.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),ce.createElement(Oe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ce.createElement(Ie.default,{checked:at.allow_late,disabled:ze||da,onChange:Qt=>{var On;if((0,oe.Rm)()&&!((On=mt.AssistantObject.practice)!=null&&On.can_late)){Fe.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}Qt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ce.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ce.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),ce.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ce.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),at.allow_late=!at.allow_late,$t==""&&Ye([{late_penalty:5}]),jt(Object.assign({},at))}},ce.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(at==null?void 0:at.allow_late)&&ce.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ce.createElement("div",{style:{display:"flex"}},ce.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ce.createElement(xe.ZP.Group,{style:{marginLeft:"20px"},disabled:ze||(ct==null?void 0:ct.anonymous_comment)||(ct==null?void 0:ct.allow_late),value:at.unified_late,onChange:Qt=>{var On;if((0,oe.Rm)()&&!((On=mt.AssistantObject.practice)!=null&&On.can_late)){Fe.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}at.unified_late=Qt.target.value,$t==""&&!Qt.target.value&&Ye([{penalty_type:ae.Q.Percent,late_penalty:20}]),jt(ke({},at))}},(at==null?void 0:at.unified_setting)&&ce.createElement(xe.ZP,{value:!0,disabled:!(ct!=null&&ct.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Be=ct==null?void 0:ct.group_settings)==null?void 0:Be.length)>0&&ce.createElement(xe.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),at!=null&&at.unified_late?ce.createElement(ce.Fragment,null,ce.createElement(ue.Z,{align:"middle",style:{marginTop:"10px"}},ce.createElement(Oe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ce.createElement(Oe.Z,{className:"ml20"},ce.createElement(ae.Z,{disabled:ze||ta,value:{type:at.penalty_type,inputValue:at.late_penalty},onChange:Qt=>{var On;if((0,oe.Rm)()&&!((On=mt.AssistantObject.practice)!=null&&On.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}jt(nt(ke({},at),{late_penalty:Qt.inputValue,penalty_type:Qt.type}))}})),ce.createElement(Oe.Z,{flex:"1",className:"ml5"},ce.createElement("span",{className:"c-grey-c ml10"},at.penalty_type===ae.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),ce.createElement(ue.Z,{align:"middle",style:{marginTop:"15px"}},ce.createElement(Oe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ce.createElement(Oe.Z,{className:"ml20"},ce.createElement(re.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,y.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ze||ta,value:at.late_time?fe()(at.late_time):"",disabledDate:Qt=>lt(Qt,ct==null?void 0:ct.course_end_date),onChange:(Qt,On)=>{var ra;if((0,oe.Rm)()&&!((ra=mt.AssistantObject.practice)!=null&&ra.can_late)){Fe.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}at.late_time=On,jt(Object.assign({},at))}})))):$t.map(function(Qt,On){var ra;return ce.createElement(Oe.Z,{span:24,key:On},ce.createElement(ue.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ce.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",On+1),ce.createElement(Pe.default,{disabled:ze||!((ra=rt==null?void 0:rt.homework_status)!=null&&ra.includes("\u672A\u53D1\u5E03"))&&Qt.id||(ct==null?void 0:ct.anonymous_comment),mode:"multiple",className:z.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Qt.group_name=="string"?[Qt.group_name]:Qt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Sa=>{var $n;if((0,oe.Rm)()&&!(($n=mt.AssistantObject.practice)!=null&&$n.can_late)){Fe.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}$t[On].group_name=Sa,$t[On].group_id=Qt.group_id,Ye($t.slice())}},ct.group_settings&&ct.group_settings.map(function(Sa){const $n=$t.map(xo=>xo.group_name).flat(),Za=_t.map(xo=>xo.group_name).flat();if(at!=null&&at.unified_setting){if(!$n.includes(Sa.group_name))return ce.createElement(Ge,{value:Sa.group_name,key:Sa.id},Sa.group_name)}else if(Za.includes(Sa.group_name)&&!$n.includes(Sa.group_name))return ce.createElement(Ge,{value:Sa.group_name,key:Sa.id},Sa.group_name)})),ce.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ce.createElement(ae.Z,{disabled:ze||Fo(Qt.id),value:{type:Qt.penalty_type,inputValue:Qt.late_penalty},onChange:Sa=>{var $n;if((0,oe.Rm)()&&!(($n=mt.AssistantObject.practice)!=null&&$n.can_late)){Fe.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}$t[On].late_penalty=Sa.inputValue,$t[On].penalty_type=Sa.type,Ye([...$t])}}),ce.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ce.createElement(re.default,{size:"large",disabled:ze||Fo(Qt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:fe()((0,y.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Sa=>lt(Sa,ct==null?void 0:ct.course_end_date),format:"YYYY-MM-DD HH:mm",value:Qt!=null&&Qt.late_time?fe()(Qt.late_time):void 0,onChange:(Sa,$n)=>{var Za;if((0,oe.Rm)()&&!((Za=mt.AssistantObject.practice)!=null&&Za.can_late)){Fe.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}$t[On].late_time=$n,Ye([...$t])}}),!ze&&ce.createElement("div",{style:{display:"flex",width:"50px"}},ce.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Sa;if((0,oe.Rm)()&&!((Sa=mt.AssistantObject.practice)!=null&&Sa.can_late)){Fe.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}Ye($t.concat({penalty_type:ae.Q.Percent,late_penalty:20}))}}),On>0&&!Qt.id&&ce.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var Sa;if((0,oe.Rm)()&&!((Sa=mt.AssistantObject.practice)!=null&&Sa.can_late)){Fe.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}$t=$t.filter(($n,Za)=>On!==Za),Ye($t.slice()),setTimeout(()=>Ye($t.slice()),10)}}))))})),!ze&&ce.createElement(ce.Fragment,null,ce.createElement(Ne.ZP,{type:"primary",size:"large",loading:An,style:{width:"138px",marginTop:"30px"},onClick:()=>ia()},"\u4FDD\u5B58")),ce.createElement(ie.Z,{onConfirm:(Qt,On)=>{_t.splice(Qt,0,...On),_t.splice(Qt+On.length,1);const ra=(0,y.QE)([..._t]);on([...ra])}}),ce.createElement(de.Z,{resdata:Kt,type:"shixun",okloading:An,oktext:(Kt==null?void 0:Kt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Qt=>pt(void 0,null,function*(){en(!0);let On=yield(0,a.ZP)(`/api/courses/${ot.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(ot.categoryId)]}});en(!1),(On==null?void 0:On.status)===0&&Da(Zt)})}))};Qe.ZP=(0,ne.connect)(({shixunHomeworks:We,classroomList:vt,loading:It,user:mt})=>({shixunHomeworks:We,classroomList:vt,loading:It.effects,user:mt}))(Te)},61604:function(tt,Qe,te){"use strict";var b=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(65582),Oe=te(74128),je=te(84511),Ie=te(38147),Ne=te(56656),De=te.n(Ne),fe=te(65862),oe=te(59301),a=Object.defineProperty,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(de,se,ce)=>se in de?a(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ce}):de[se]=ce,ne=(de,se)=>{for(var ce in se||(se={}))x.call(se,ce)&&z(de,ce,se[ce]);if(E)for(var ce of E(se))y.call(se,ce)&&z(de,ce,se[ce]);return de},ae=(de,se,ce)=>new Promise((me,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?me(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const{Dragger:le}=re.default,ie=({classroomList:de,dispatch:se,onOk:ce})=>{const me=(0,ue.useParams)(),[ve]=Pe.default.useForm(),[Ee,Je]=(0,b.useState)(),[Me,Ue]=(0,b.useState)(!1),Le={height:100,onRemove:()=>{Je("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:ke=>ae(void 0,null,function*(){return Je(ke),!1})};return(0,b.useEffect)(()=>{ve.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,fe.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ae(void 0,null,function*(){ve.submit()}),onCancel:()=>{ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(Pe.default,{form:ve,onFinish:ke=>ae(void 0,null,function*(){var nt,pt,dt;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ue(!0);let lt=new FormData;lt.append("type",de.actionTabs.type),lt.append("file",Ee);let Xe;window.location.href.indexOf("exercise")>-1?Xe=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Xe=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let Pt=yield(0,Ie.ZP)(Xe,{method:"post",body:lt},!0);Ue(!1),(Pt==null?void 0:Pt.status)===0&&(ce(),ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}}),((pt=(nt=Pt==null?void 0:Pt.data)==null?void 0:nt.fail)==null?void 0:pt.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(xe.default,{pagination:!1,dataSource:(dt=Pt==null?void 0:Pt.data)==null?void 0:dt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,fe.FH)("",Oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},oe.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),oe.createElement(Pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:Oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(Pe.default.Item,{style:{marginBottom:0}},oe.createElement(le,ne({},Le),oe.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,ue.connect)(({classroomList:de})=>({classroomList:de}))(ie)},62686:function(tt,Qe,te){"use strict";var b=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(92832),Oe=te(95237),je=te(43604),Ie=te(5871),Ne=te(5083),De=te(65582),fe=te(96565),oe=te(74128),a=te(84511),E=te(38147),x=te(99981),y=te(56656),z=te.n(y),ne=te(65862),ae=te(59301),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Me,Ue,Le)=>Ue in Me?le(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,me=(Me,Ue)=>{for(var Le in Ue||(Ue={}))de.call(Ue,Le)&&ce(Me,Le,Ue[Le]);if(ie)for(var Le of ie(Ue))se.call(Ue,Le)&&ce(Me,Le,Ue[Le]);return Me},ve=(Me,Ue,Le)=>new Promise((ke,nt)=>{var pt=Xe=>{try{lt(Le.next(Xe))}catch(Pt){nt(Pt)}},dt=Xe=>{try{lt(Le.throw(Xe))}catch(Pt){nt(Pt)}},lt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(pt,dt);lt((Le=Le.apply(Me,Ue)).next())});const{Dragger:Ee}=re.default,Je=({classroomList:Me,dispatch:Ue,onOk:Le})=>{const ke=(0,De.useParams)(),[nt]=Pe.default.useForm(),[pt,dt]=(0,b.useState)(),[lt,Xe]=(0,b.useState)(!1),Pt={height:100,onRemove:()=>{dt("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:Ge=>ve(void 0,null,function*(){return dt(Ge),!1})};return(0,b.useEffect)(()=>{nt.setFieldsValue({publish_time:z()(z()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:z()(z()(new Date((0,ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),ae.createElement(Fe.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:lt},onOk:()=>ve(void 0,null,function*(){nt.submit()}),onCancel:()=>{nt.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement(Pe.default,{form:nt,colon:!1,onFinish:Ge=>ve(void 0,null,function*(){var Te,We,vt;if(!(pt!=null&&pt.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let It=new FormData;It.append("name",Ge.name),It.append("type",Me.actionTabs.type),It.append("category_id",(ke==null?void 0:ke.categoryId)||null),Me.actionTabs.type==="exercise"?(It.append("time",Ge.time||""),It.append("total_score",Ge.total_score)):It.append("description",Ge.description||""),It.append("publish_time",z()(Ge.publish_time).format("YYYY-MM-DD HH:mm")),It.append("end_time",z()(Ge.end_time).format("YYYY-MM-DD HH:mm")),It.append("file",pt);let mt=yield(0,E.ZP)(`/api/courses/${ke.coursesId}/export_external_score_homework.json`,{method:"post",body:It},!0);Xe(!1),(mt==null?void 0:mt.status)===0&&(nt.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}}),Le(),((We=(Te=mt==null?void 0:mt.data)==null?void 0:Te.fail)==null?void 0:We.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ae.createElement(xe.default,{pagination:!1,dataSource:(vt=mt==null?void 0:mt.data)==null?void 0:vt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ne.FH)("",oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Me.actionTabs.type}`)}}))})},ae.createElement(Pe.default.Item,{label:Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},ae.createElement(ue.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Me.actionTabs.type!=="exercise"&&ae.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},ae.createElement(fe.Z,{watch:!0})),Me.actionTabs.type==="exercise"&&ae.createElement(Oe.Z,{style:{marginLeft:6}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},ae.createElement(ue.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},ae.createElement(Ie.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),ae.createElement(Oe.Z,{style:{marginLeft:6,marginBottom:12}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:Ge=>(0,x.Q8)(Ge),disabledTime:Ge=>(0,x.d0)(Ge),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:Ge=>(0,x.Q8)(Ge,"",nt.getFieldValue("publish_time")),disabledTime:Ge=>(0,x.d0)(Ge,nt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),ae.createElement(Pe.default.Item,{style:{marginBottom:0},label:ae.createElement("div",null,ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ae.createElement("div",null,ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:a.Z.downloadbutton,href:oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Me.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ae.createElement(Pe.default.Item,{style:{marginBottom:0}},ae.createElement(Ee,me({},Pt),ae.createElement("a",{className:a.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("br",null),ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,De.connect)(({classroomList:Me})=>({classroomList:Me}))(Je)},48436:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var b=te(59301),re=te(20834),Pe=te(92832),Fe=te(24905),be=te(3113),xe=te(38854),ue={bottomControlContainer:"bottomControlContainer___woAeo",buttonWrap:"buttonWrap___iRw4K",moveCategory:"moveCategory___oiQqw"},Oe=te(41867),je=te(84105),Ne=({buttonDataSource:De,onButtonClick:fe,useBatchStatus:oe,allSelect:a,setAllSelect:E,selectArrs:x,onMenuClick:y,setSeleArr:z,catalogue:ne,addCatalogue:ae})=>{const[le,ie]=(0,b.useState)(!1),[de,se]=(0,b.useState)("");console.log("---",ne);const ce=b.createElement("div",{className:ue.moveCategory,onMouseLeave:me=>ie(!1)},b.createElement(re.default,{onClick:y,style:{maxHeight:300,width:240,overflow:"auto"}},b.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},b.createElement(Pe.default,{onChange:me=>{se(me.target.value)}})),ne==null?void 0:ne.map(function(me,ve){var Ee;if(!(de!==""&&me.category_name.indexOf(de)<0))return b.createElement(b.Fragment,null,b.createElement(re.default.Item,{className:"multi-llipsis1e",key:me.category_id,title:me.category_name},me.category_name),(Ee=me==null?void 0:me.third_category)==null?void 0:Ee.map(Je=>b.createElement(re.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Je.category_id,title:Je.category_name},Je.category_name)))}),ae&&b.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:ae},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return b.createElement("div",{className:ue.bottomControlContainer},b.createElement("div",null,b.createElement("div",null,b.createElement(Fe.default,{checked:a,onChange:E},"\u5168\u9009\u672C\u9875\uFF08",x.length,"\uFF09")),(0,Oe.GJ)()&&De.map(me=>b.createElement("div",{key:me.name},b.createElement(be.ZP,{type:"primary",icon:me.icon,className:ue.buttonWrap,onClick:()=>fe(me)},me.name))),(0,Oe.GJ)()&&(ae||ne)&&b.createElement("div",null,b.createElement(xe.Z,{open:le,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ce,getPopupContainer:me=>me.parentNode},b.createElement("span",{className:"ant-dropdown-link",onMouseEnter:me=>ie(!0)},b.createElement(be.ZP,{type:"primary",className:ue.buttonWrap,icon:b.createElement("i",{className:"iconfont icon-yidongmulu"})},b.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",b.createElement(je.Z,null))))))),b.createElement("div",null,b.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{oe(!1),z([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},42656:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return E}});var b=te(59301),re=te(65582),Pe=te(5083),Fe=te(43418),be=te(92832),xe=te(95237),ue=te(43604),Oe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},je=te(56656),Ie=te.n(je),Ne=te(65862),De=te(2524),fe=te(59301);const{RangePicker:oe}=Pe.default,a=({dispatch:x,classroomList:y,onConfirm:z})=>{const[ne,ae]=(0,b.useState)([]),[le,ie]=(0,b.useState)([]),[de,se]=(0,b.useState)("");(0,b.useEffect)(()=>{var ve;if(y.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ee=y.actionTabs.data;console.log("data",Ee);let Je=(ve=Ee==null?void 0:Ee.group_name)==null?void 0:ve.map((Me,Ue)=>{var Le;return{group_id:Ee==null?void 0:Ee.group_id[Ue],group_name:Ee==null?void 0:Ee.group_name[Ue],is_admin:Ee==null?void 0:Ee.is_admin,end_time:Ee==null?void 0:Ee.end_time,publish_time:Array.isArray(Ee==null?void 0:Ee.publish_time)?(Le=Ee==null?void 0:Ee.publish_time)==null?void 0:Le[0]:Ee==null?void 0:Ee.publish_time}});Je&&(ae([...Je]),ie([...Je]))}},[y.actionTabs]);const ce=()=>{x({type:"classroomList/setActionTabs",payload:{}}),se("")},me=ve=>{if(ve){const Ee=le==null?void 0:le.filter(Je=>{var Me,Ue;return(Ue=(Me=Je==null?void 0:Je.group_name)==null?void 0:Me.toLowerCase())==null?void 0:Ue.includes(ve==null?void 0:ve.toLowerCase())});ae(Ee)}else ae(le)};return fe.createElement(Fe.default,{width:980,title:fe.createElement("div",{style:{fontWeight:"bold",display:"flex"}},fe.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",fe.createElement("span",{className:Oe.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),fe.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:de,onChange:ve=>{se(ve.target.value.trim()),me(ve.target.value.trim())}})),centered:!0,maskClosable:!1,open:y.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>ce(),onOk:()=>{var ve;z((ve=y.actionTabs)==null?void 0:ve.index,le),ce()}},fe.createElement("div",{className:Oe.modal_con},fe.createElement(xe.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ne==null?void 0:ne.length)>0?ne.map(function(ve,Ee){var Je,Me;return fe.createElement(ue.Z,{span:24,key:Ee},fe.createElement(xe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ee==(ne==null?void 0:ne.length)-1?"0px":"10px"}},fe.createElement("div",{className:Oe.multiple_select,title:ve.group_name},ve.group_name),fe.createElement("div",{className:"ml20"},fe.createElement(oe,{size:"large",ranges:{\u6B64\u523B:[ve.publish_time?Ie()(ve.publish_time):Ie()(),Ie()()]},allowClear:!1,disabled:(Je=y.actionTabs)==null?void 0:Je.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Ue=>{var Le;return(0,Ne.Q8)(Ue,(Le=y.actionTabs)==null?void 0:Le.disabledDate)},disabledTime:Ue=>(0,Ne.d0)(Ue),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ie()((0,Ne.U6)(),"HH:mm"),Ie()((0,Ne.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:ve.publish_time&&[Ie()(ve.publish_time),ve.end_time?Ie()(ve.end_time):void 0],onChange:(Ue,Le)=>{ne[Ee].publish_time=Le[0],ne[Ee].end_time=Le[1],ae([...ne]),le.forEach(ke=>{ke.group_id===ve.group_id&&(ke.publish_time=Le[0],ke.end_time=Le[1])}),ie([...le])}})),(Me=y.actionTabs)!=null&&Me.rangePickerDisabled?fe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):fe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ne.splice(Ee,1),ae([...ne]),le.forEach((Ue,Le)=>{Ue.group_id===ve.group_id&&le.splice(Le,1)}),ie([...le])}})))}):fe.createElement(De.Z,null))))};var E=(0,re.connect)(({classroomList:x})=>({classroomList:x}))(a)},37497:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return y}});var b=te(59301),re=te(20834),Pe=te(24905),Fe=te(3113),be=te(38854),xe=te(6848),ue=te(57809),Oe=te(92832),je={searchSortControllerContainer:"searchSortControllerContainer___Xca1m",btn:"btn___sNJPX",btnSort:"btnSort___Fx9OM",tips:"tips___LrmpR"},Ie=te(41867),Ne=te(87395),De=te(84105),fe=te(26724),oe=te.n(fe),a=te(65582),E=(z,ne,ae)=>new Promise((le,ie)=>{var de=me=>{try{ce(ae.next(me))}catch(ve){ie(ve)}},se=me=>{try{ce(ae.throw(me))}catch(ve){ie(ve)}},ce=me=>me.done?le(me.value):Promise.resolve(me.value).then(de,se);ce((ae=ae.apply(z,ne)).next())}),y=({isAdmin:z,dataSource:ne,batchStatus:ae,SortMenuName:le,setSortMenuName:ie,detailCourseGroupsList:de,onSearch:se,onBoard:ce,onSort:me,isboard:ve,dispatch:Ee,onBatch:Je,SortMenus:Me,isShowMode:Ue=!1,onModeChange:Le})=>{const[ke,nt]=(0,b.useState)(!1),[pt,dt]=(0,b.useState)([]),[lt,Xe]=(0,b.useState)(!0);let[Pt,Ge]=(0,b.useState)([]);const[Te,We]=(0,b.useState)(1),[vt,It]=(0,b.useState)(!1),mt=(0,a.useParams)(),Pn=dn=>{ie(dn.name),me(dn)};(0,b.useEffect)(()=>{ve&&Ze()},[ve]);const Ze=()=>E(void 0,null,function*(){var dn;if(lt&&!vt){It(!0),We(Te+1);const En=yield Ee({type:"classroomList/getCourseGroupsList",payload:{page:Te,id:mt.coursesId,limit:20,nonenavigate:!0}});let it=[...(En==null?void 0:En.course_groups)||[]];((dn=En==null?void 0:En.course_groups)==null?void 0:dn.length)<20&&(Xe(!1),it.push({id:0,name:"\u672A\u5206\u73ED"})),It(!1),Ge([...Pt,...it])}}),Ft=b.createElement("section",{className:je.dropmenu},b.createElement("div",{style:{maxHeight:200,overflow:"auto"}},b.createElement(oe(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:dn=>{Ze()},hasMore:lt,useWindow:!1},b.createElement(re.default,{style:{width:240,zIndex:10}},(de==null?void 0:de.group_count)>0&&(Pt==null?void 0:Pt.filter(dn=>dn.edit_auth||dn.name==="\u672A\u5206\u73ED").map(function(dn,En){return b.createElement(re.default.Item,{key:dn.id},b.createElement(Pe.default,{checked:pt.includes(dn.id),value:dn.id,onChange:it=>{let ft=pt.indexOf(dn.id);pt.indexOf(dn.id)>-1?dt(pt.filter(_e=>_e!==dn.id)):dt(pt.concat(dn.id))}},dn.name))}))))),b.createElement("aside",{style:{background:"#fff"}},b.createElement("div",null,b.createElement(Fe.ZP,{type:"link",onClick:()=>{ce(pt)}},"\u786E\u5B9A"),b.createElement(Fe.ZP,{type:"link",onClick:()=>{dt([])}},"\u91CD\u7F6E")))),Ut=le==="\u9ED8\u8BA4\u6392\u5E8F";return b.createElement("div",{className:je.searchSortControllerContainer},!!(Me!=null&&Me.length)&&b.createElement("div",null,b.createElement(be.Z,{dropdownRender:()=>b.createElement(re.default,{selectedKeys:[le]},Me.map(dn=>b.createElement(re.default.Item,{key:dn.name,onClick:()=>Pn(dn)},dn.name)))},b.createElement("div",null,b.createElement("span",{className:`${je.btn} ${Ut?je.btnSort:""}`},b.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),le)))),Ut&&b.createElement(xe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},b.createElement("span",{className:je.tips},b.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Ue&&b.createElement(ue.default,{defaultValue:"",onChange:Le,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),b.createElement(Oe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:se,style:{width:220,marginLeft:Ue?"":"auto"}}),(0,Ie.eB)()&&ve&&b.createElement(be.Z,{dropdownRender:()=>Ft,open:ke,onOpenChange:dn=>{nt(dn)}},b.createElement("a",null,"\u5206\u73ED",ke?b.createElement(Ne.Z,{style:{marginLeft:6}}):b.createElement(De.Z,{style:{marginLeft:6}}))))}},95651:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return De}});var b=te(59301),re=te(95237),Pe=te(43604),Fe=te(20834),be=te(38854),xe=te(8591),ue=te(6848),Oe={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},je=te(65582),Ie=te(41867),De=({isLoading:fe,addText:oe,tabDataSource:a,isAdmin:E,dispatch:x,classroomList:y,type:z,isExercise:ne,defaultSelectedKeys:ae,onTabMenuClick:le,getDropdownMenu:ie,showControlButton:de,buttonText:se,buttonIcon:ce="icon-tianjiadaohang",extraNode:me,user:ve,onButtonClick:Ee,isModelUser:Je,menuItemWidth:Me=125})=>{var Ue,Le,ke,nt,pt;const dt=(0,je.useParams)();return b.createElement("div",{className:Oe.tabMenuContainer},b.createElement(re.Z,null,b.createElement(Pe.Z,{flex:"1"},b.createElement(Fe.default,{onSelect:lt=>fe?{}:le(lt),mode:"horizontal",selectedKeys:ae},a.map(lt=>b.createElement(Fe.default.Item,{style:{width:Me},key:typeof lt.index=="number"?lt.index:lt.id},b.createElement("span",{className:"c-grey-666"},lt.name),lt.total!==void 0&&E&&b.createElement("span",{className:"c-grey-999 ml20"},lt.total||0))))),E&&ne&&b.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{x({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),E&&b.createElement(Pe.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},ne&&b.createElement(be.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>b.createElement(Fe.default,null,b.createElement(Fe.default.Item,{key:1,onClick:()=>{var lt;if((0,Ie.Rm)()&&!((lt=y.AssistantObject.exercise)!=null&<.can_download)){xe.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}x({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:z,exportType:"exercise",category_id:dt.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),b.createElement(Fe.default.Item,{key:3,onClick:()=>{var lt;if((0,Ie.Rm)()&&!((lt=y.AssistantObject.exercise)!=null&<.can_download)){xe.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}je.history.push(`/classrooms/${dt==null?void 0:dt.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},b.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},b.createElement("span",{style:{color:"#666666",cursor:"pointer"}},b.createElement("i",{className:"iconfont icon-xiazai6"})))),b.createElement("div",{className:Oe.control},b.createElement("div",{className:Oe.extra},me),de&&(se=="\u6DFB\u52A0\u76F4\u64AD"?b.createElement(be.Z,{menu:{items:(Le=(Ue=[{label:b.createElement("div",{onClick:()=>{Ee("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Je&&{label:b.createElement("div",{onClick:()=>{Ee("\u5934\u6B4C")}},"\u5934\u6B4C\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Ue.filter(lt=>lt==null?void 0:lt.show))==null?void 0:Le.map(lt=>({label:lt==null?void 0:lt.label,key:lt==null?void 0:lt.key}))}},b.createElement("span",{className:Oe.selectBtn},b.createElement("span",null,b.createElement("i",{className:`iconfont ${ce}`})),b.createElement("span",null,se))):b.createElement("span",{onClick:Ee,style:{cursor:"pointer"},className:Oe.selectBtn},b.createElement("span",null,b.createElement("i",{className:`iconfont ${ce}`})),b.createElement("span",null,se))),!!ie&&b.createElement(be.Z,{disabled:((ke=ve==null?void 0:ve.userInfo)==null?void 0:ke.user_status)===2,className:"ml10",dropdownRender:ie},b.createElement("span",{className:((nt=ve==null?void 0:ve.userInfo)==null?void 0:nt.user_status)===2?Oe.selectBtn1:Oe.selectBtn},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-tianjiadaohang"})),b.createElement(ue.Z,{title:((pt=ve==null?void 0:ve.userInfo)==null?void 0:pt.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},b.createElement("span",null,oe||"\u521B\u5EFA\u8BD5\u5377"))))))))}},93711:function(tt,Qe,te){"use strict";te.r(Qe),te.d(Qe,{default:function(){return Rc}});var b=te(2337),re=te(59301),Pe=te(65582),Fe=te(43418),be=te(20834),xe=te(8591),ue=te(61621),Oe=te(58421),je=te(81228),Ie=te(3113),Ne=te(24905),De=te(56656),fe=te.n(De),oe=te(41867),a=te(65862),E=te(2524),x=te(38147),y=te(99313),z=te(78241),ne=te(6848),ae=te(5871),le=te(57809),ie=te(92832),de=te(26724),se=te.n(de),ce=te(49018),me={flex_box_center:"flex_box_center___aIYEA",flex_space_between:"flex_space_between___hCKPx",flex_box_vertical_center:"flex_box_vertical_center___K6UJb",flex_box_center_end:"flex_box_center_end___BVN_k",flex_box_column:"flex_box_column___S4apM",bg:"bg___Pox5v",containerTitle:"containerTitle___laevg",containerDesc:"containerDesc___IIMRX",menus:"menus___atKNl",listItem:"listItem___zDBVK",info:"info___k52wj",title:"title___zq7AS",titleLeft:"titleLeft___efDI2",titleRight:"titleRight___uQt6L",acitons:"acitons___Vg6al",move:"move___Ga0E4",hideHeadCheckbox:"hideHeadCheckbox___pLoYs",moveCategory:"moveCategory___eZPjj",tabSearch:"tabSearch___IlcNp",warpModal:"warpModal___hzRTF",modalColumn:"modalColumn___Rcl4F",modalRow:"modalRow___rzx2r",sup:"sup___cAGuY",name:"name___flQya"},ve=te(66457),Ee=te(35479),Je=te(79274),Me=te(90463),Ue=te(83028),Le=te(60979),ke=te(59301),nt=Object.defineProperty,pt=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Ge=(ee,he,ge)=>he in ee?nt(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Te=(ee,he)=>{for(var ge in he||(he={}))Xe.call(he,ge)&&Ge(ee,ge,he[ge]);if(lt)for(var ge of lt(he))Pt.call(he,ge)&&Ge(ee,ge,he[ge]);return ee},We=(ee,he)=>pt(ee,dt(he)),vt=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const{TabPane:It}=y.default,mt=({classroomList:ee,exercise:he,loading:ge,dispatch:He})=>{var Gt;const ht=(0,Pe.useParams)(),Bt=(0,Pe.useLocation)(),[rn]=z.default.useForm(),{brankList:gt}=he;let[Nt,Qo]=(0,re.useState)(!0),[ko,fo]=(0,re.useState)(!1);const[ea,Lo]=(0,re.useState)("myself");let[Zn,Wa]=(0,re.useState)([]),[Ra,Na]=(0,re.useState)([]),[vr,qo]=(0,re.useState)(),[Mo,_o]=(0,re.useState)([]);const tr=(0,re.useRef)(null),[Jo,ka]=(0,re.useState)(!1),[Oo,Vn]=(0,re.useState)(""),[Ht,xl]=(0,re.useState)(""),[No,Nn]=(0,re.useState)(!1),[jo,Mr]=(0,re.useState)({}),nn=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(yt,Ea,or)=>ke.createElement("div",{style:{display:"flex",alignItems:"center"}},ke.createElement(ne.Z,{title:yt},ke.createElement("div",{title:yt,className:me.name},yt)),(Ea==null?void 0:Ea.high_resources_consume)&&ke.createElement(Me.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:yt=>ke.createElement(ne.Z,{title:yt},ke.createElement("span",null,yt))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:yt=>yt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(yt,Ea)=>ke.createElement("a",{href:yt?`/randompaper/detail/${Ea.id}`:`/paperlibrary/see/${Ea.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[Wn,$a]=(0,re.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,re.useEffect)(()=>{he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(Yo(),_o([]),Ma())},[he.actionTabs.key]);const Ma=()=>vt(void 0,null,function*(){const yt=yield He({type:"paperlibrary/getTeachGroupData"});Na(yt)}),zt=yt=>{const Ea=parseInt(yt);return isNaN(Ea)?"":Ea},Yo=()=>vt(void 0,null,function*(){var yt,Ea;if(Nt){++Wn.page,Qo(!1);const or=yield He({type:"exercise/getBrankList",payload:We(Te({},Wn),{search:(yt=Wn.search)==null?void 0:yt.trim()})});Zn=or!=null&&or.object_list?[...Zn.concat(or==null?void 0:or.object_list)]:Zn,Wn.filter==="public"?qo(or.is_teacher):qo(!0),((Ea=or.object_list)==null?void 0:Ea.length){tr.current.scrollTop=0,Zn=[],Wn.page=0,Wn.group_id=yt,Nt=!0,_o([]),$a(Te({},Wn)),Yo()},gl={selectedRowKeys:Mo,onChange:yt=>{_o(yt)},type:"radio"},Pr=()=>{$a(Te({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),Wa([]),Qo(!0),Lo("myself"),He({type:"exercise/setActionTabs",payload:{}}),fo(!1)},[Nl,Er,Mt,bt]=(0,Ee.P)(),an=yt=>vt(void 0,null,function*(){let Ea=!1;Zn.forEach(Uo=>{Mo.includes(Uo.id)&&(Ea=Uo.is_random)});const or=yt.map(Uo=>({shixun_id:Uo.id,is_use:Uo.is_use,is_copy:Uo.is_copy}));if(!Ea){Nn(!0);const Uo=yield He({type:"exercise/saveBanks",payload:{course_id:ht.coursesId,category_id:(ht==null?void 0:ht.categoryId)||null,object_type:"examination_bank",bank_id:Mo,shixuns_info:or}});Nn(!1),(Uo==null?void 0:Uo.status)===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),He({type:"classroomList/getClassroomExercisesList",payload:Te({},he.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:{id:ht.coursesId}}),Vn(`/classrooms/${ht.coursesId}/exercise/${Uo.exercise_id}/detail?random=${Uo.is_random}&tabs=3`),xl(`/classrooms/${ht.coursesId}/exercise/add/${Uo.exercise_id}?random=${Uo.is_random}&type=2`),ka(!0),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Er(),Pr());return}Nn(!0),setTimeout(()=>{Nn(!1)},500),He({type:"exercise/setActionTabs",payload:{}});let jr=1,rl=Fe.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:ke.createElement("div",{className:me.modalColumn},ke.createElement("div",{className:me.modalRow},ke.createElement("sup",{className:me.sup},"*"),ke.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),ke.createElement(ae.Z,{parser:zt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:jr,onChange:Uo=>{jr=Uo;const ni=document.getElementById("model_error");jr<1||jr>50?ni.style.display="block":ni.style.display="none"}})),ke.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:Pr,onOk:()=>vt(void 0,null,function*(){if(jr<1||jr>50){const ni=document.getElementById("model_error");return ni.style.display="block",Promise.reject()}rl.update({cancelButtonProps:{disabled:!0}});const Uo=yield He({type:"exercise/saveBanks",payload:{course_id:ht.coursesId,object_type:"examination_bank",bank_id:Mo,shixuns_info:or,num:jr}});rl.update({cancelButtonProps:{disabled:!1}}),Uo&&Uo.status===0?((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Fe.default.destroyAll(),He({type:"classroomList/getClassroomExercisesList",payload:Te({},he.actionTabs.params)}),Pr(),Er(),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(Pr(),Er())})})});return ke.createElement(ke.Fragment,null,ke.createElement(Fe.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:he.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:ko,bodyStyle:{minHeight:200},wrapClassName:me.warpModal,onOk:()=>vt(void 0,null,function*(){var yt;if(!Mo.length){xe.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}fo(!0);let Ea=!1,or=!1;if(Zn.forEach(rl=>{Mo.includes(rl.id)&&rl.need_authorize&&(Ea=rl.need_authorize),Mo.includes(rl.id)&&(or=rl.is_random)}),Ea){(0,ve.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let jr=yield(0,Le.Tr)({id:`${Mo[0]}`,course_id:(yt=ee.detailTopBanner)==null?void 0:yt.course_id,type:"examination_bank"});fo(!1),(jr==null?void 0:jr.student_count)===0?an([]):Mr(jr)}),onCancel:Pr},ke.createElement(y.default,{activeKey:ea,onTabClick:yt=>vt(void 0,null,function*(){tr.current.scrollTop=0,Zn=[],ea!==yt&&_o([]),Lo(yt),Wn.page=0,Wn.filter=yt,Wn.group_id=null,Nt=!0,Yo()})},ke.createElement(It,{tab:ke.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),ke.createElement(It,{tab:ke.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),ke.createElement(It,{tab:ke.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),ke.createElement("div",{className:me.tabSearch},ea==="teacher"&&ke.createElement(le.default,{value:Wn.group_id,onChange:sl,size:"middle",style:{width:200,marginRight:30}},ke.createElement(le.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Gt=Ra==null?void 0:Ra.groups)==null?void 0:Gt.map(yt=>ke.createElement(le.default.Option,{key:yt==null?void 0:yt.group_id,value:yt==null?void 0:yt.group_id},yt==null?void 0:yt.name))),ke.createElement(ie.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Wn.search,onChange:yt=>{Wn.search=yt.target.value,$a(Te({},Wn))},onSearch:yt=>{tr.current.scrollTop=0,Zn=[],Wn.page=0,Nt=!0,_o([]),yt&&(0,Je.tk)({name:yt,copywriting:yt,position:"Exercise"}),Yo()}})),ke.createElement("div",{ref:tr,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!vr&&ea==="public"&&ke.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},ke.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),ke.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),ke.createElement(se(),{initialLoad:!1,pageStart:0,loadMore:()=>{Yo()},hasMore:Nt,useWindow:!1},he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&vr&&ke.createElement(ce.Z,{className:me.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:Zn,onRow:yt=>({onClick:()=>{_o([yt==null?void 0:yt.id])}}),resColumns:nn,rowSelection:gl})))),ke.createElement(Fe.default,{title:"\u63D0\u793A",open:Jo,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:ke.createElement("div",null,ke.createElement(Ie.ZP,{onClick:()=>{ka(!1),Pe.history.push(Ht)}},"\u4FEE\u6539\u8BD5\u5377"),ke.createElement(Ie.ZP,{type:"primary",onClick:()=>{Pe.history.push(Oo),ka(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{ka(!1)}},ke.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),ke.createElement(Ue.Z,{resdata:jo,type:"exercise",okloading:No,oktext:(jo==null?void 0:jo.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:yt=>{an(yt)}}),ke.createElement(Ee.Z,{inPaper:!0,visible:Nl,onCancel:Er,onOk:an,renderData:Mt,modalType:"multiple",type:"examination_bank"}))};var Pn=(0,Pe.connect)(({exercise:ee,loading:he,classroomList:ge})=>({exercise:ee,loading:he,classroomList:ge}))(mt),Ze=te(71418),Ft=te(95237),Ut=te(5112),dn=te(5083),En=te(78673),it=te(87513),ft=te(70414),_e=te(44304),Be=te(43604),ot=te(1710),ct=te(3918),Re={cstuModal:"cstuModal___aXQ_6",removeStyle:"removeStyle___fT_EI",bottom:"bottom___yocae",yes:"yes___Iw504",no:"no___yeWHC",Onerow:"Onerow___hvTnk",searchMember:"searchMember____guvA",searchMemberHeader:"searchMemberHeader___NdQj2"},we=te(96622),rt=te(59301),$e=Object.defineProperty,ze=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,on=(ee,he,ge)=>he in ee?$e(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,$t=(ee,he)=>{for(var ge in he||(he={}))en.call(he,ge)&&on(ee,ge,he[ge]);if(An)for(var ge of An(he))_t.call(he,ge)&&on(ee,ge,he[ge]);return ee},Ye=(ee,he)=>ze(ee,Et(he)),at=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const jt=({visible:ee,setVisible:he,onK:ge,selectKeys:He,selectRows:Gt,appointStudent:ht,modalParams:Bt,courseId:rn})=>{const gt=(0,Pe.useParams)(),[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1),[ea,Lo]=(0,re.useState)([]),[Zn,Wa]=(0,re.useState)([]),[Ra,Na]=(0,re.useState)([]),[vr,qo]=(0,re.useState)("all"),[Mo,_o]=(0,re.useState)("all");let[tr,Jo]=(0,re.useState)(!0);const[ka,Oo]=(0,re.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[Vn,Ht]=(0,re.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),xl={selectedRowKeys:Zn,columnWidth:40,hideSelectAll:!0,onSelect:(nn,Wn,$a)=>{let Ma=!0;for(let zt=0;zt{if(nn&&$a.length>0){$a.forEach(Ma=>{Zn.push(Ma.user_id),Ra.push(Ma)}),Wa([...Zn]),Na([...Ra]);return}if(!nn&&$a.length>0){let Ma=[],zt=[];const Yo=new Set($a),sl=new Set(Zn),gl=new Set(Ra);Ma=[...sl].filter(Pr=>[...Yo].every(Nl=>Nl.user_id!==Pr)),zt=[...gl].filter(Pr=>[...Yo].every(Nl=>Nl.user_id!==Pr.user_id)),Wa([...Ma]),Na([...zt])}}};(0,re.useEffect)(()=>{ee&&He&&(Wa([...He]),Na(Gt))},[ee,He]),(0,re.useEffect)(()=>{ee&&(!ht&&Bt?Vn.status=Bt:Vn.status=null,Ht($t({},Vn)),Nn())},[ee,ht,Bt]);const No=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(nn,Wn,$a)=>rt.createElement("span",{style:{color:"#333"}},$a+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(nn,Wn,$a)=>rt.createElement("span",null,nn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(nn,Wn,$a)=>rt.createElement("span",{style:{color:"#666"}},nn)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(nn,Wn)=>rt.createElement("span",null,nn)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(nn,Wn)=>rt.createElement("span",null,nn||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(nn,Wn)=>rt.createElement("span",null,nn)}].filter(nn=>Bt===1||Bt===2?nn.title!=="\u72B6\u6001":!0),Nn=()=>at(void 0,null,function*(){var nn,Wn,$a;fo(!0);const Ma=yield(0,x.ZP)(`/api/exercises/${gt.categoryId||rn}/wait_make_up_students.json`,{method:"get",params:Ye($t({},Vn),{keywords:(nn=Vn==null?void 0:Vn.keywords)==null?void 0:nn.trim()})});if(Ma.status===0){const zt=(($a=(Wn=Ma==null?void 0:Ma.data)==null?void 0:Wn.all_course_groups)==null?void 0:$a.map(Yo=>({value:Yo==null?void 0:Yo.id,label:Yo==null?void 0:Yo.name})))||[];Oo([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...zt]),Lo(Ma.data)}fo(!1)}),jo=()=>{Vn.page=1,Vn.status=null,Vn.course_group_id=null,Vn.keywords="",qo("all"),_o("all"),Wa([]),Na([]),Ht($t({},Vn)),ht&&ge(Zn==null?void 0:Zn.length,Zn,Ra)},Mr=()=>{Vn.page=1,Vn.status=null,Vn.course_group_id=null,Vn.keywords="",Ht($t({},Vn)),qo("all"),_o("all"),Wa([]),Na([]),he(!1)};return rt.createElement(Fe.default,{centered:!0,className:Re.cstuModal,title:Bt===1?"\u7F3A\u8003\u5B66\u751F":Bt===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ee,width:1200,footer:null,onCancel:()=>{Mr()}},rt.createElement(Ft.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},rt.createElement(Ft.Z,null,rt.createElement(Be.Z,null,rt.createElement(le.default,{size:"large",value:vr,style:{width:200,marginRight:20},onChange:nn=>{qo(nn),nn==="all"?Vn.course_group_id=null:Vn.course_group_id=nn,Vn.page=1,Ht($t({},Vn)),Nn()},options:ka})),ht&&rt.createElement(Be.Z,null,rt.createElement(le.default,{size:"large",value:Mo,style:{width:200},onChange:nn=>{_o(nn),nn==="all"?Vn.status=null:Vn.status=nn,Vn.page=1,Ht($t({},Vn)),Nn()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),rt.createElement(Be.Z,null,rt.createElement(ct.t7,{style:{width:300,marginLeft:15},value:Vn.keywords,allowClear:!0,onChange:nn=>{Vn.keywords=nn,Vn.page=1,Ht($t({},Vn)),Nn()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),rt.createElement(Ft.Z,{align:"middle",className:"mb30"},rt.createElement(Be.Z,{span:14},rt.createElement("div",{className:"flexd-table-header"},rt.createElement(ot.default,{pagination:!1,dataSource:[],columns:No,rowSelection:ht?xl:null,rowKey:nn=>nn.user_id})),rt.createElement("div",null,rt.createElement(ot.default,{rowSelection:ht?xl:null,columns:No,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:nn=>nn.user_id,loading:ko,dataSource:ea==null?void 0:ea.exercise_users,onChange:(nn,Wn,$a)=>{Vn.page=nn==null?void 0:nn.current,Vn.limit=nn==null?void 0:nn.pageSize,$a!=null&&$a.order?(Vn.sort_by=$a==null?void 0:$a.field,Vn.direction=($a==null?void 0:$a.order)==="ascend"?"asc":"desc"):(Vn.sort_by=null,Vn.direction=null),Ht($t({},Vn)),Nn()},pagination:!1}))),rt.createElement(Be.Z,{span:1},rt.createElement("img",{src:we,style:{marginLeft:10}})),rt.createElement(Be.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},rt.createElement("div",{className:Re.searchMember,style:{width:550}},rt.createElement(Ft.Z,{className:Re.searchMemberHeader},rt.createElement(Be.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),rt.createElement(Be.Z,{flex:"110px"},"\u5B66\u53F7"),rt.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),rt.createElement("div",{style:{overflow:"auto",height:390}},Ra==null?void 0:Ra.map((nn,Wn)=>rt.createElement(Ft.Z,{key:Wn,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},rt.createElement(Be.Z,{flex:"100px"},nn.user_name),rt.createElement(Be.Z,{flex:"110px"},nn.student_id),rt.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},nn.user_group_name),rt.createElement(Be.Z,{style:{marginLeft:10}},rt.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{Na(Ra.filter($a=>$a.user_id!=nn.user_id)),Wa(Zn.filter($a=>$a!=nn.user_id))}})))))))),!(Bt===1||Bt===2)&&rt.createElement("div",{className:Re.bottom},rt.createElement(Ie.ZP,{className:Re.no,onClick:()=>{Mr()}},"\u53D6\u6D88"),rt.createElement(Ie.ZP,{loading:Nt,type:"primary",onClick:()=>{jo()}},"\u786E\u5B9A")))};var Kt=(0,Pe.connect)(({})=>({}))(jt),fn={contentInterval:"contentInterval___X53PP",numberInput:"numberInput___WtIey",minorRuleText:"minorRuleText___CPyNm",failedList:"failedList___OOvHs",name:"name___PGVi5",publish:"publish___BGtTv"},Zt=te(59301),Fn=Object.defineProperty,jn=Object.defineProperties,ia=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,uo=(ee,he,ge)=>he in ee?Fn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,da=(ee,he)=>{for(var ge in he||(he={}))gn.call(he,ge)&&uo(ee,ge,he[ge]);if(Da)for(var ge of Da(he))Pa.call(he,ge)&&uo(ee,ge,he[ge]);return ee},ta=(ee,he)=>jn(ee,ia(he)),Fo=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});function ao(ee,he){const ge=[];for(let He=ee;He{let he=new Date;const ge=fe()(ee).format("HH");if(fe()(ee).isSame(fe()(he),"day")){const He=fe()(he).format("HH"),Gt=fe()(he).format("mm");return{disabledHours:()=>ao(0,24).splice(1,He*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",ge,He),fe()(ee).isSame(fe()(he),"hour")&&ge<=He?ao(0,60).splice(0,Gt):ao(60,60))}}else if(fe()(ee).isSame(fe()(),"day")){const He=fe()().format("HH"),Gt=fe()().format("mm");return{disabledHours:()=>ao(0,24).splice(0,He),disabledMinutes:()=>ge<=He?ao(0,Gt):ao(60,60)}}else return!1},On=({exercise:ee,dispatch:he})=>{var ge,He,Gt,ht,Bt,rn,gt,Nt,Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr;const Jo=(0,Pe.useParams)(),[ka]=z.default.useForm(),[Oo,Vn]=(0,re.useState)(1),[Ht,xl]=(0,re.useState)([]),[No,Nn]=(0,re.useState)(!0),[jo,Mr]=(0,re.useState)([]),[nn,Wn]=(0,re.useState)(!0),[$a,Ma]=(0,re.useState)(!1),{workSetting:zt}=ee,[Yo,sl]=(0,re.useState)(!1),[gl,Pr]=(0,re.useState)([]),[Nl,Er]=(0,re.useState)([]),[Mt,bt]=(0,re.useState)(!1),[an,yt]=(0,re.useState)(!1),[Ea,or]=(0,re.useState)(!1),[jr,rl]=(0,re.useState)(null),[Uo,ni]=(0,re.useState)(1),[ru,Gi]=(0,re.useState)({}),[yu,lu]=(0,re.useState)({}),[zu,iu]=(0,re.useState)(!1);(0,re.useEffect)(()=>{var ma;if(ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(ya(),Wi(),ee.actionTabs.type===2)){const eo=(ma=ee.actionTabs)==null?void 0:ma.unified_setting;Wn(eo)}},[ee.actionTabs]),(0,re.useEffect)(()=>{var ma,eo,ba,Io,ga,Ua,wr;(ma=zt==null?void 0:zt.exercise)!=null&&ma.publish_time&&ka.setFieldsValue({publish_time:fe()((eo=zt==null?void 0:zt.exercise)==null?void 0:eo.publish_time)}),(ba=zt==null?void 0:zt.exercise)!=null&&ba.end_time&&ka.setFieldsValue({end_time:fe()((Io=zt==null?void 0:zt.exercise)==null?void 0:Io.end_time)}),ka.setFieldsValue({exercise_type:(ga=zt==null?void 0:zt.exercise)==null?void 0:ga.exercise_type,simulate_exercise_num:(Ua=zt==null?void 0:zt.exercise)==null?void 0:Ua.simulate_exercise_num}),ni((wr=zt==null?void 0:zt.exercise)==null?void 0:wr.exercise_type)},[ee]);const kt=ma=>{var eo;const ba=ka.getFieldValue("publish_time");if(!ba||(eo=zt==null?void 0:zt.exercise)!=null&&eo.publish_time)return;let Io;ma===1?Io=fe()(ba).add(120,"minutes"):Io=fe()(ba).add(7,"days"),ka.setFieldsValue({end_time:Io})},ya=ma=>Fo(void 0,null,function*(){var eo,ba;Nn(!0);const Io=yield(0,it.N3)({coursesId:Jo.coursesId,check_ids:[...((eo=ee.actionTabs.selectArrs)==null?void 0:eo.map(Ua=>Number(Ua)))||[]]});console.log(Io,"res");const ga=((ba=Io==null?void 0:Io.course_info)==null?void 0:ba.map((Ua,wr)=>ta(da({},Ua),{key:Ua.course_group_id,title:Ua.course_group_name,name:Ua.course_group_name,disabled:!!Ua.is_published})))||[];if((Io==null?void 0:Io.status)!==-1){xl([...ga]);const Ua=fe()();ka.setFieldsValue({publish_time:Ua}),(ka.getFieldValue("exercise_type")||1)===1?ka.setFieldsValue({end_time:fe()(Ua).add(120,"minutes")}):ka.setFieldsValue({end_time:fe()(Ua).add(7,"days")})}Nn(!1)});(0,re.useEffect)(()=>{var ma,eo,ba,Io,ga,Ua;if((ma=zt==null?void 0:zt.exercise)!=null&&ma.is_appoint_user){const wr=((ba=(eo=zt==null?void 0:zt.exercise)==null?void 0:eo.all_exercise_users)==null?void 0:ba.map(ho=>ho.user_id))||[];Pr([...wr])}bt((Io=zt==null?void 0:zt.exercise)==null?void 0:Io.is_appoint_user),yt((ga=zt==null?void 0:zt.exercise)==null?void 0:ga.is_miss_exam_user),or((Ua=zt==null?void 0:zt.exercise)==null?void 0:Ua.is_no_passing_user)},[zt]),(0,re.useEffect)(()=>{var ma,eo,ba,Io,ga,Ua,wr,ho;(eo=(ma=ee==null?void 0:ee.actionTabs)==null?void 0:ma.selectArrs)!=null&&eo[0]&&ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&he({type:"exercise/getWorkSetting",payload:{categoryId:(Io=(ba=ee==null?void 0:ee.actionTabs)==null?void 0:ba.selectArrs)==null?void 0:Io[0],category:(Ua=(ga=ee==null?void 0:ee.actionTabs)==null?void 0:ga.selectArrs)==null?void 0:Ua[0],coursesId:(ho=(wr=ee==null?void 0:ee.actionTabs)==null?void 0:wr.params)==null?void 0:ho.id}})},[(ge=ee==null?void 0:ee.actionTabs)==null?void 0:ge.selectArrs]);const Cl=()=>Fo(void 0,null,function*(){var ma,eo,ba,Io,ga,Ua,wr;const ho=da({},ka.getFieldsValue()),Pu=fe()(fe()(ho.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),vc=fe()(fe()(ho.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Pu,Pu,33),vc<=Pu){xe.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((jo==null?void 0:jo.length)<=0&&!nn&&Ht.length>0&&!((ma=zt==null?void 0:zt.exercise)!=null&&ma.is_make_up_exercise)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const kc=Ht.map(cl=>cl.key),Xl={check_ids:[...((eo=ee.actionTabs.selectArrs)==null?void 0:eo.map(cl=>Number(cl)))||[]],end_time:fe()(ho.end_time).format("YYYY-MM-DD HH:mm"),publish_time:fe()(ho.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:jo.map(cl=>cl.course_group_id),unified_setting:!jo.length,exercise_type:ho.exercise_type,simulate_exercise_num:ho.simulate_exercise_num};if(((ba=ee.actionTabs.selectArrsAll)==null?void 0:ba.length)>0&&ee.actionTabs.type===1&&(Xl.check_ids=[...((ga=(Io=ee.actionTabs.selectArrsAll)==null?void 0:Io.filter(cl=>!cl.high_resources_consume||cl.high_resources_consume_permission))==null?void 0:ga.map(cl=>Number(cl==null?void 0:cl.id)))||[]]),(Ua=zt==null?void 0:zt.exercise)!=null&&Ua.is_make_up_exercise){if(Mt&&gl.length<=0||!Mt&&!(an||Ea)){xe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Xl.is_appoint_user=Mt,Xl.is_miss_exam_user=an,Xl.is_no_passing_user=Ea,Mt?Xl.make_up_exercise_users=gl.map(cl=>({user_id:cl})):Xl.make_up_exercise_user=[]}let{is_locked:hc,open_camera:Ec,screen_open:Sc,login_restrict:yc,ip_bind:Pc,ip_limit:Js,is_random:Xs,id:qs,identity_verify:Ac,open_phone_video_recording:xc}=zt==null?void 0:zt.exercise;if(ee.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(hc||Ec||Sc||yc||Pc||Js=="pub"||Js=="inner"||Ac||xc)&&ho.exercise_type==2){if(he({type:"exercise/setActionTabs",payload:{}}),ee.actionTabs.type==2){let cl=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:Zt.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",Zt.createElement("span",{style:{color:"#FA6400"}}," ",(0,a.hi)(zt==null?void 0:zt.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>Fo(void 0,null,function*(){var Au;iu(!0);let Ui=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Jo.coursesId,type:"exercise"});if((Ui==null?void 0:Ui.student_count)===0){if((yield Ei(Xl))&&ee.actionTabs.isRouter){cl.destroy(),Pe.history.push(`/classrooms/${Jo.coursesId}/exercise/${qs}/detail?random=${Xs}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else lu(Xl),Gi(Ui)}),onCancel:()=>{cl.destroy(),iu(!1),Ei(Xl)}})}else{let cl=Fe.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:Zt.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>Fo(void 0,null,function*(){var Au;iu(!0);let Ui=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Jo.coursesId,type:"exercise"});if((Ui==null?void 0:Ui.student_count)===0){if((yield Ei(Xl))&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Jo.coursesId}/exercise/${qs}/detail?random=${Xs}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else lu(Xl),Gi(Ui)})})}return}let As=yield(0,Le.Tr)({exercise_ids:[...((wr=ee.actionTabs.selectArrs)==null?void 0:wr.map(cl=>Number(cl)))||[]],course_id:Jo.coursesId,type:"exercise"});(As==null?void 0:As.student_count)===0?Ei(Xl):(lu(Xl),Gi(As))}),ml=()=>{var ma;let eo=[...(ma=ee.actionTabs.selectArrsAll)==null?void 0:ma.filter(ba=>ba.high_resources_consume&&!ba.high_resources_consume_permission)];(eo==null?void 0:eo.length)>0&&ee.actionTabs.type===1&&Fe.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:Zt.createElement("div",null,Zt.createElement("div",{className:fn.tipcontent},Zt.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",eo==null?void 0:eo.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),Zt.createElement("div",{className:"mt20 mb20"},eo==null?void 0:eo.map(ba=>Zt.createElement("div",{className:fn.failedList,key:ba.id},Zt.createElement("div",{className:fn.name},ba==null?void 0:ba.exercise_name),Zt.createElement("div",{className:fn.publish,onClick:()=>{(0,a.xg)(`/classrooms/${Jo.coursesId}/exercise/${ba.id}/detail?random=${ba.is_random}`)}},"\u53D1\u5E03"))))))})},Ei=ma=>Fo(void 0,null,function*(){var eo,ba,Io;if(ee.actionTabs.type===1){let wr=[...(eo=ee.actionTabs.selectArrsAll)==null?void 0:eo.filter(ho=>ho.high_resources_consume&&!ho.high_resources_consume_permission)];if((wr==null?void 0:wr.length)==ee.actionTabs.selectArrsAll.length){he({type:"exercise/setActionTabs",payload:{}}),ml();return}}let ga=!1;return Ma(!0),(yield(0,x.ZP)(`/api/courses/${Jo.coursesId}/exercises/publish.json`,{method:"post",body:ma})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Wi(),xe.ZP.success("\u53D1\u5E03\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),(ba=ee==null?void 0:ee.actionTabs)!=null&&ba.cb?(Io=ee==null?void 0:ee.actionTabs)==null||Io.cb():he({type:"classroomList/getClassroomExercisesList",payload:da({},ee.actionTabs.params)}),ga=!0,ee.actionTabs.type===1&&ml()),Ma(!1),ga}),Wi=()=>{Vn(1),xl([]),Mr([])},vu=(ma,eo,ba)=>{ma<=0?xe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(Pr(eo),Er(ba),sl(!1))};return Zt.createElement(Fe.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:Cl,confirmLoading:$a||No,onCancel:()=>{Wi(),he({type:"exercise/setActionTabs",payload:{}})}},Zt.createElement(Ze.Z,{spinning:No},Ht&&Zt.createElement(z.default,{form:ka},!!((He=ee==null?void 0:ee.actionTabs)!=null&&He.disabled)&&Zt.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},Zt.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((Gt=zt==null?void 0:zt.exercise)!=null&&Gt.is_make_up_exercise)&&Zt.createElement(Zt.Fragment,null,Zt.createElement(Ft.Z,null,Zt.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},Zt.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),Zt.createElement(z.default.Item,{name:"exercise_type"},Zt.createElement(Ut.ZP.Group,{disabled:((ht=zt==null?void 0:zt.exercise)==null?void 0:ht.exercise_status)>1,onChange:ma=>{ni(ma.target.value),kt(ma.target.value)}},Zt.createElement(Ut.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),Zt.createElement(Ut.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Uo==2&&Zt.createElement(Ft.Z,{className:`${fn.contentInterval}`},Zt.createElement("span",{className:`${fn.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),Zt.createElement(z.default.Item,{name:"simulate_exercise_num"},Zt.createElement(ae.Z,{className:fn.numberInput,style:{width:145},precision:0,size:"middle",disabled:((Bt=zt==null?void 0:zt.exercise)==null?void 0:Bt.exercise_status)>1,min:1,max:999})),Zt.createElement("span",null,"\u6B21",Zt.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),Zt.createElement(Ft.Z,null,Zt.createElement("span",{className:"mr10 mt5"},Zt.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),Zt.createElement(z.default.Item,{name:"publish_time"},Zt.createElement(dn.default,{style:{width:170},disabledDate:ma=>ma&&ma<=fe()().subtract(0,"days"),disabledTime:Qt,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),Zt.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),Zt.createElement(z.default.Item,{name:"end_time"},Zt.createElement(dn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,a.U6)(),"HH:mm")},disabledDate:ma=>ma&&ma{var ba,Io,ga,Ua,wr;if(bt(ma),ma)if((ba=zt==null?void 0:zt.exercise)!=null&&ba.is_appoint_user){const ho=(ga=(Io=zt==null?void 0:zt.exercise)==null?void 0:Io.all_exercise_users)==null?void 0:ga.map(Pu=>Pu.user_id);Pr([...ho])}else Pr([]),yt(!1),or(!1);else yt((Ua=zt==null?void 0:zt.exercise)==null?void 0:Ua.is_miss_exam_user),or((wr=zt==null?void 0:zt.exercise)==null?void 0:wr.is_no_passing_user)},disabled:((gt=zt==null?void 0:zt.exercise)==null?void 0:gt.exercise_status)!==1}),Zt.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Mt&&Zt.createElement(Ft.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},Zt.createElement(Ne.default,{checked:an,disabled:((Nt=zt==null?void 0:zt.exercise)==null?void 0:Nt.exercise_status)!==1||((Qo=zt==null?void 0:zt.exercise)==null?void 0:Qo.miss_exam_count)<=0,onChange:ma=>{yt(ma.target.checked)}},Zt.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),Zt.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{rl(1),bt(!1),sl(!0)}},"\uFF08",`${(ko=zt==null?void 0:zt.exercise)==null?void 0:ko.miss_exam_count}\u4EBA`,"\uFF09"),Zt.createElement(Ne.default,{checked:Ea,disabled:((fo=zt==null?void 0:zt.exercise)==null?void 0:fo.exercise_status)!==1||((ea=zt==null?void 0:zt.exercise)==null?void 0:ea.no_passing_count)<=0,onChange:ma=>{or(ma.target.checked)}},Zt.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),Zt.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{rl(2),bt(!1),sl(!0)}},"\uFF08",`${(Lo=zt==null?void 0:zt.exercise)==null?void 0:Lo.no_passing_count}\u4EBA`,"\uFF09")),Mt&&Zt.createElement(Ft.Z,{className:"mt20",style:{paddingLeft:"90px"}},Zt.createElement(Ie.ZP,{type:"primary",ghost:!0,disabled:((Zn=zt==null?void 0:zt.exercise)==null?void 0:Zn.exercise_status)!==1,onClick:()=>{sl(!0),rl(void 0)}},Zt.createElement("span",null,Zt.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),Zt.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),Zt.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${gl.length||0} \u4EBA`,"\uFF09"))),ee.actionTabs.type===2&&!((Wa=zt==null?void 0:zt.exercise)!=null&&Wa.is_make_up_exercise)&&Zt.createElement(Ft.Z,{style:{marginBottom:"10px"}},Zt.createElement("span",{className:"mr10"},Zt.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),Zt.createElement(Ut.ZP.Group,{value:nn,onChange:ma=>{Wn(ma.target.value),Mr([])}},Zt.createElement(Ut.ZP,{disabled:!!((Ra=ee==null?void 0:ee.actionTabs)!=null&&Ra.disabled)||Ht.some(ma=>ma==null?void 0:ma.is_published)||!((Na=ee==null?void 0:ee.actionTabs)!=null&&Na.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),Zt.createElement(Ut.ZP,{disabled:Ht.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Ht.length<=0&&ee.actionTabs.type===2&&!((vr=zt==null?void 0:zt.exercise)!=null&&vr.is_make_up_exercise)&&Zt.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ee.actionTabs.type===1||!nn)&&!((qo=zt==null?void 0:zt.exercise)!=null&&qo.is_make_up_exercise)&&Ht.length>0&&Zt.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},Zt.createElement("span",{style:{flex:1}},Zt.createElement(Ne.default,{checked:jo.length===Ht.length,onChange:ma=>{jo.length===Ht.length?Mr([]):Mr(Ht)}},"\u5168\u9009")),Zt.createElement("span",{style:{width:16}}),Zt.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",jo.length||0,"\u4E2A\u5206\u73ED")),(ee.actionTabs.type===1||!nn)&&!((Mo=zt==null?void 0:zt.exercise)!=null&&Mo.is_make_up_exercise)&&Ht.length>0&&Zt.createElement(_e.Z,{data:Ht,selectedRowKeys:jo,setSelectedRowKeys:Mr})),Zt.createElement(Kt,{visible:Yo,setVisible:sl,onK:vu,selectKeys:gl,selectRows:Nl,appointStudent:Mt,modalParams:jr,courseId:Jo.categoryId||((tr=(_o=ee==null?void 0:ee.actionTabs)==null?void 0:_o.selectArrs)==null?void 0:tr[0])})),Zt.createElement(Ue.Z,{resdata:ru,type:"exercisepush",okloading:$a,oktext:(ru==null?void 0:ru.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ma=>Fo(void 0,null,function*(){var eo,ba,Io;Ma(!0);let ga=yield(0,x.ZP)(`/api/courses/${Jo.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((eo=ee.actionTabs.selectArrs)==null?void 0:eo.map(Ua=>Number(Ua)))||[]]}});if(Ma(!1),(ga==null?void 0:ga.status)===0)if(zu){let Ua=yield Ei(yu);if(Fe.default.destroyAll(),Ua&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Jo.coursesId}/exercise/${(ba=zt==null?void 0:zt.exercise)==null?void 0:ba.id}/detail?random=${(Io=zt==null?void 0:zt.exercise)==null?void 0:Io.is_random}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else Ei(yu)})}))};var ra=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(On),Sa=Object.defineProperty,$n=Object.defineProperties,Za=Object.getOwnPropertyDescriptors,xo=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,Ia=(ee,he,ge)=>he in ee?Sa(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,xt=(ee,he)=>{for(var ge in he||(he={}))br.call(he,ge)&&Ia(ee,ge,he[ge]);if(xo)for(var ge of xo(he))Or.call(he,ge)&&Ia(ee,ge,he[ge]);return ee},Tt=(ee,he)=>$n(ee,Za(he)),wt=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});function In(ee,he){const ge=[];for(let He=ee;He{let he=new Date;const ge=fe()(ee).format("HH");if(fe()(ee).isSame(fe()(he),"day")){const He=fe()(he).format("HH"),Gt=fe()(he).format("mm");return{disabledHours:()=>In(0,24).splice(1,He*1-1),disabledMinutes:()=>fe()(ee).isSame(fe()(he),"hour")&&ge<=He?In(0,60).splice(0,Gt):In(60,60)}}else if(fe()(ee).isSame(fe()(),"day")){const He=fe()().format("HH"),Gt=fe()().format("mm");return{disabledHours:()=>In(0,24).splice(0,He),disabledMinutes:()=>ge<=He?In(0,Gt):In(60,60)}}else return!1},Hn=({exercise:ee,dispatch:he})=>{var ge;const He=(0,Pe.useParams)(),[Gt]=z.default.useForm(),[ht,Bt]=(0,re.useState)(1),[rn,gt]=(0,re.useState)([]),[Nt,Qo]=(0,re.useState)(!0),[ko,fo]=(0,re.useState)([]),[ea,Lo]=(0,re.useState)(!0),[Zn,Wa]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Ra()},[ee.actionTabs]);const Ra=qo=>wt(void 0,null,function*(){var Mo,_o;Qo(!0);const tr=yield he({type:"exercise/getEndGroups",payload:Tt(xt({},He),{check_ids:[...((Mo=ee.actionTabs.selectArrs)==null?void 0:Mo.map(ka=>Number(ka)))||[]]})}),Jo=(_o=tr==null?void 0:tr.course_info)==null?void 0:_o.map((ka,Oo)=>Tt(xt({},ka),{key:ka.course_group_id,title:ka.course_group_name,name:ka.course_group_name,disabled:!!ka.is_published}));tr&&(tr!=null&&tr.course_info)&&(gt([...Jo]),Gt.setFieldsValue({end_time:fe()(fe()(new Date((0,a.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),Qo(!1)}),Na=()=>wt(void 0,null,function*(){var qo,Mo,_o,tr;const Jo=xt({},Gt.getFieldsValue());if((ko==null?void 0:ko.length)<=0&&rn.length>0&&!((qo=ee.actionTabs)!=null&&qo.unified_setting)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}Wa(!0);const ka={check_ids:[...((Mo=ee.actionTabs.selectArrs)==null?void 0:Mo.map(Vn=>Number(Vn)))||[]],group_ids:ko};ea||(ka.end_time=fe()(Jo.end_time).format("YYYY-MM-DD HH:mm")),ka.group_ids=ko.map(Vn=>Vn.course_group_id),(yield(0,x.ZP)(`/api/courses/${He.coursesId}/exercises/end_exercise.json`,{method:"post",body:ka})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),he({type:"exercise/setActionTabs",payload:{}}),(_o=ee==null?void 0:ee.actionTabs)!=null&&_o.cb?(tr=ee==null?void 0:ee.actionTabs)==null||tr.cb():he({type:"classroomList/getClassroomExercisesList",payload:xt({},ee.actionTabs.params)})),Wa(!1)}),vr=()=>{Bt(1),gt([]),fo([]),Lo(!0)};return re.createElement(Fe.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Na,width:680,confirmLoading:Zn||Nt,onCancel:()=>{vr(),he({type:"exercise/setActionTabs",payload:{}})}},re.createElement(Ze.Z,{spinning:Nt},rn&&re.createElement(z.default,{form:Gt},re.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},re.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),re.createElement(Ft.Z,{className:"mt20 mb10"},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),re.createElement(Ut.ZP.Group,{value:ea,onChange:qo=>{Lo(qo.target.value),fo([])}},re.createElement(Ut.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),re.createElement(Ut.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),re.createElement(z.default.Item,{name:"end_time",style:{marginTop:-3,visibility:ea?"hidden":"visible"}},re.createElement(dn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,a.U6)(),"HH:mm")},disabledDate:qo=>qo&&qo0&&!((ge=ee.actionTabs)!=null&&ge.unified_setting)&&re.createElement(Ft.Z,{style:{marginBottom:"10px"}},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),re.createElement("div",null,rn.length>0&&re.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},re.createElement("span",{style:{flex:1}},re.createElement(Ne.default,{checked:ko.length===rn.length,onChange:qo=>{ko.length===rn.length?fo([]):fo(rn)}},"\u5168\u9009")," "),re.createElement("span",{style:{width:16}}),re.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ko.length||0,"\u4E2A\u5206\u73ED")),re.createElement(_e.Z,{data:rn,selectedRowKeys:ko,setSelectedRowKeys:fo}))))))};var nr=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Hn),Oa=Object.defineProperty,oo=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable,kn=(ee,he,ge)=>he in ee?Oa(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,dr=(ee,he)=>{for(var ge in he||(he={}))Ar.call(he,ge)&&kn(ee,ge,he[ge]);if(oo)for(var ge of oo(he))to.call(he,ge)&&kn(ee,ge,he[ge]);return ee},Wr=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const xr=({exercise:ee,dispatch:he})=>{const ge=(0,Pe.useParams)();return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ee.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Wr(void 0,null,function*(){(yield(0,x.ZP)(`/api/courses/${ge.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ee.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),he({type:"classroomList/getClassroomExercisesList",payload:dr({},ee.actionTabs.params)}))}),onCancel:()=>{he({type:"exercise/setActionTabs",payload:{}})}},re.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",re.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Vo=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(xr),St=te(71067),pn=Object.defineProperty,vn=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,mn=(ee,he,ge)=>he in ee?pn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,hn=(ee,he)=>{for(var ge in he||(he={}))qt.call(he,ge)&&mn(ee,ge,he[ge]);if(vn)for(var ge of vn(he))Sn.call(he,ge)&&mn(ee,ge,he[ge]);return ee},yn=(ee,he)=>{var ge={};for(var He in ee)qt.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&vn)for(var He of vn(ee))he.indexOf(He)<0&&Sn.call(ee,He)&&(ge[He]=ee[He]);return ge},fa=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Aa=ee=>{var he=ee,{exercise:ge,dispatch:He,user:Gt}=he,ht=yn(he,["exercise","dispatch","user"]),Bt,rn;const gt=(0,Pe.useParams)(),[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1),ea=(0,re.useRef)(null);(0,re.useEffect)(()=>{var Zn,Wa;if(ge.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,oe.j5)()){fo(!0);return}const Ra={hasNum:0,noHasNum:0};(Wa=(Zn=ge==null?void 0:ge.actionTabs)==null?void 0:Zn.selectArrsAll)==null||Wa.map(Na=>{var vr;Na.author_login===((vr=Gt.userInfo)==null?void 0:vr.login)?++Ra.hasNum:++Ra.noHasNum}),Ra.noHasNum>0?Fe.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:re.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",re.createElement("span",{className:"c-blue"},Ra.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",re.createElement("span",{className:"c-red"},Ra.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",re.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Lo()}}):fo(!0)}else fo(!1)},[ge.actionTabs.key]);const Lo=()=>{He({type:"exercise/setActionTabs",payload:{}})};return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ko,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Nt,destroyOnClose:!0,onOk:()=>fa(void 0,null,function*(){var Zn;if((Zn=ea.current)!=null&&Zn.onVerify())return;Qo(!0);const Wa=yield(0,x.ZP)(`/api/courses/${gt.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...ge.actionTabs.selectArrs]}});Qo(!1),Wa.status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),xe.ZP.success("\u5220\u9664\u6210\u529F"),He({type:"exercise/setActionTabs",payload:{}}),He({type:"classroomList/getClassroomExercisesList",payload:hn({},ge.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:hn({},ge.actionTabs.params)}))}),onCancel:()=>{He({type:"exercise/setActionTabs",payload:{}})}},!((Bt=ge==null?void 0:ge.actionTabs)!=null&&Bt.status)||!["\u672A\u5F00\u59CB"].includes((rn=ge==null?void 0:ge.actionTabs)==null?void 0:rn.status)?re.createElement(re.Fragment,null,re.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),re.createElement(St.Z,{ref:Zn=>ea.current=Zn})):re.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var tn=(0,Pe.connect)(({exercise:ee,user:he})=>({exercise:ee,user:he}))(Aa),Sr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,Cr=(ee,he)=>{var ge={};for(var He in ee)Nr.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&Sr)for(var He of Sr(ee))he.indexOf(He)<0&&qr.call(ee,He)&&(ge[He]=ee[He]);return ge},Jn=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Ta=ee=>{var he=ee,{exercise:ge,dispatch:He}=he,Gt=Cr(he,["exercise","dispatch"]);const ht=(0,Pe.useParams)();return ht.id=ht.coursesId,(0,re.useEffect)(()=>{ge.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>Jn(void 0,null,function*(){(yield(0,x.ZP)(`/api/courses/${ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...ge.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),xe.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),He({type:"exercise/setActionTabs",payload:{}})}))},[ge.actionTabs.key]),re.createElement(re.Fragment,null)};var Do=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Ta),wa=te(60324),ro={flex_box_center:"flex_box_center___NMFRx",flex_space_between:"flex_space_between___i7LoA",flex_box_vertical_center:"flex_box_vertical_center___NUJyY",flex_box_center_end:"flex_box_center_end___JGVs2",flex_box_column:"flex_box_column___Han0X",bg:"bg___xTQcX",containerTitle:"containerTitle___wfDxe",containerDesc:"containerDesc___BlZJT",tablestyle:"tablestyle___cIMKp",listItem:"listItem___teS92",info:"info___I8amz",title:"title___Ng3Cg",titleLeft:"titleLeft___dxjAr",titleRight:"titleRight___bo2N2",flexBox:"flexBox___G5iQZ",iconV:"iconV___sw5ZY",acitons:"acitons___ADyk9",moveCategory:"moveCategory___cxRgz",name:"name___mRHCb",categoryName:"categoryName___sGz21",schedule:"schedule___vRew6",fnSign:"fnSign___kCGts",spanSize:"spanSize___ZvQiA",classromediv:"classromediv___zHcjq",glow:"glow___zqQTK",popover:"popover___FlwhL",dot:"dot___saRu_",moni:"moni___sRpNk",authorized:"authorized___XYNsR"},fr=Object.defineProperty,zo=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable,ii=(ee,he,ge)=>he in ee?fr(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Hl=(ee,he)=>{for(var ge in he||(he={}))Yr.call(he,ge)&&ii(ee,ge,he[ge]);if(zo)for(var ge of zo(he))$r.call(he,ge)&&ii(ee,ge,he[ge]);return ee};const Ur=ee=>React.createElement("svg",Hl({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var ci="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIg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MjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Yl=Object.defineProperty,vi=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,ql=Object.prototype.propertyIsEnumerable,Bl=(ee,he,ge)=>he in ee?Yl(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,di=(ee,he)=>{for(var ge in he||(he={}))Ni.call(he,ge)&&Bl(ee,ge,he[ge]);if(vi)for(var ge of vi(he))ql.call(he,ge)&&Bl(ee,ge,he[ge]);return ee};const Ii=ee=>React.createElement("svg",di({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.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0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z",ai=te(12971),hi=te(36254),pr=te(82896),fl=te(21390),bl=te(69429),oi=Object.defineProperty,$l=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Yi=(ee,he,ge)=>he in ee?oi(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Il=(ee,he)=>{for(var ge in he||(he={}))Ci.call(he,ge)&&Yi(ee,ge,he[ge]);if($l)for(var ge of $l(he))Xi.call(he,ge)&&Yi(ee,ge,he[ge]);return ee};const Tl=ee=>React.createElement("svg",Il({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var Ri="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",Rn=te(59301),uu=Object.defineProperty,su=Object.defineProperties,So=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,Ir=(ee,he,ge)=>he in ee?uu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,pl=(ee,he)=>{for(var ge in he||(he={}))Ya.call(he,ge)&&Ir(ee,ge,he[ge]);if(Ba)for(var ge of Ba(he))Ha.call(he,ge)&&Ir(ee,ge,he[ge]);return ee},Ll=(ee,he)=>su(ee,So(he)),el=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Ul=({v:ee,k:he,selectArrs:ge,setSelectArrs:He,dispatch:Gt,params:ht,classroomList:Bt,batchStatus:rn,manageAllGroup:gt,user:Nt})=>{var Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr,Jo,ka,Oo,Vn;const[Ht,xl]=(0,re.useState)([]),[No,Nn]=(0,re.useState)(!1),jo=(0,re.useRef)(),Mr=(0,re.useRef)();var nn=!1;const Wn="YYYY-MM-DD",$a=fe()("2020-11-15",Wn);function Ma(){return el(this,null,function*(){console.log(ht,222);let Mt=yield(0,x.ZP)(`/api/courses/${ht==null?void 0:ht.coursesId}/exercises/group_use_list.json`,{method:"get",params:Ll(pl({},ht),{id:ee.id})});xl((Mt==null?void 0:Mt.groups)||[])})}const zt=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Rn.createElement(Rn.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ee!=null&&ee.appraise_label&&(nn=!0);const Yo=(Mt,bt=!1)=>{var an;Pe.history.push(`/classrooms/${ht.coursesId}/exercisenotice/${Mt.id}/users/${(an=(0,oe.eY)())==null?void 0:an.login}`)},sl=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Mt,bt)=>bt.exercise_status===Mt,render:(Mt,bt)=>Rn.createElement("div",null,Mt===1&&Rn.createElement("span",null,Rn.createElement("i",{className:ro.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Mt===2&&Rn.createElement("span",null,Rn.createElement("i",{className:ro.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Mt===3&&Rn.createElement("span",null,Rn.createElement("i",{className:ro.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:ht.order_by==="publish_time"?ht.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:ht.order_by==="end_time"?ht.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Mt,bt)=>bt.exercise_status===1?"-":Rn.createElement("span",null,Mt,"/",bt.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Mt,bt)=>bt.exercise_status===1?"-":Mt===0?Rn.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Mt):Rn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${bt.course_group_id}`)},Mt)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Mt,bt)=>bt.exercise_status===1?Rn.createElement("img",{style:{cursor:"not-allowed"},src:ci}):Rn.createElement(ne.Z,{title:"\u8BC4\u9605"},Rn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${bt.course_group_id}`)},Rn.createElement("img",{src:Li})))}],gl=Mt=>{if(nn)return Rn.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Mt!=null&&Mt.includes("\u672A\u5F00\u59CB"))return Rn.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Mt!=null&&Mt.includes("\u8003\u8BD5\u4E2D"))return Rn.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Mt!=null&&Mt.includes("\u5DF2\u622A\u6B62"))return Rn.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Mt!=null&&Mt.includes("\u5BFC\u5165"))return Rn.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},Pr=()=>{const Mt=(ee==null?void 0:ee.simulate_exercise_num)-(ee==null?void 0:ee.user_simulate_num);return Mt>=0?Mt:0},Nl=(Mt=ee)=>{var bt,an,yt;if(Mt!=null&&Mt.is_encrypt){Gt({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Mt==null?void 0:Mt.id,phone:(bt=Nt==null?void 0:Nt.userInfo)==null?void 0:bt.phone,login:(an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.login}});return}(yt=Nt==null?void 0:Nt.userInfo)!=null&&yt.phone?Gt({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Mt==null?void 0:Mt.id}}):Gt({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Er=Mt=>{var bt,an,yt;if(((bt=Nt==null?void 0:Nt.userInfo)==null?void 0:bt.login)!==(ee==null?void 0:ee.author_login)){xe.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Gt({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ee==null?void 0:ee.id,phone:(an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.phone,login:(yt=Nt==null?void 0:Nt.userInfo)==null?void 0:yt.login,onFinish:Mt}})};return Rn.createElement("div",{className:ro.listItem,onClick:Mt=>{const bt=()=>{(!(0,oe.GJ)()||(0,oe.GJ)()&&Mr.current&&!Mr.current.contains(Mt.target))&&(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()}},(0,oe.GJ)()&&Rn.createElement("span",{ref:Mr},Rn.createElement(Ne.default,{checked:ge.includes(ee.id),value:ee.id,style:{padding:"10px"},onClick:Mt=>{Mt.stopPropagation()},disabled:(ee==null?void 0:ee.is_encrypt)||(ee==null?void 0:ee.is_make_up_exercise),onChange:Mt=>{let bt=ge.indexOf(ee.id);ge.indexOf(ee.id)>-1?He(ge.filter(an=>an!==ee.id)):He(ge.concat(ee.id))}})),Rn.createElement("div",{className:ro.info},Rn.createElement("div",{className:ro.title},Rn.createElement("div",{className:ro.titleLeft,style:{marginRight:15}},gl(ee==null?void 0:ee.exercise_tips),(ee==null?void 0:ee.is_make_up_exercise)&&Rn.createElement("img",{src:Si,width:44,height:24,style:{marginRight:10}}),Rn.createElement(ne.Z,{title:ee.exercise_name},Rn.createElement("span",{className:ro.name},ee.exercise_name)),(ee==null?void 0:ee.high_resources_consume)&&!(ee!=null&&ee.high_resources_consume_permission)&&Rn.createElement(Me.Z,{type:"exercise",style:{marginLeft:10}}),(ee==null?void 0:ee.high_resources_consume)&&(ee==null?void 0:ee.high_resources_consume_permission)&&Rn.createElement("span",{className:ro.authorized},"\u5DF2\u6388\u6743"),((Qo=ee==null?void 0:ee.exercise_tips)==null?void 0:Qo.includes("\u5DF2\u622A\u6B62"))&&((ko=Bt==null?void 0:Bt.detailTopBanner)==null?void 0:ko.forbid_end_exercise)&&Rn.createElement(ne.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},Rn.createElement("img",{src:Ri,width:20,className:"ml10"})),!ee.is_public&&(0,oe.GJ)()&&Rn.createElement(ne.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},Rn.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ee==null?void 0:ee.exercise_type)==2&&Rn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:ro.moni},Rn.createElement("img",{src:ai,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((fo=ee==null?void 0:ee.exercise_tips)==null?void 0:fo.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&Rn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),((ea=ee==null?void 0:ee.exercise_tips)==null?void 0:ea.includes("\u5DF2\u622A\u6B62"))&&((Lo=ee==null?void 0:ee.exercise_tips)==null?void 0:Lo.includes("\u672A\u63D0\u4EA4"))&&Rn.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ee==null?void 0:ee.is_encrypt)&&Rn.createElement(ne.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",Rn.createElement("img",{src:bl,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),Rn.createElement("div",{className:ro.titleRight,onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault()}},(ee==null?void 0:ee.appraise_setting)&&Rn.createElement("span",{className:ro.flexBox,style:{marginRight:"16px"},onClick:()=>el(void 0,null,function*(){const Mt=()=>el(void 0,null,function*(){Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const bt=yield(0,x.ZP)(`/api/exercises/${ee.id}/create_appraise_students.json`,{method:"get"});Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee.id}/centralizeReview/${bt==null?void 0:bt.login}`)});if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()})},Rn.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),Rn.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&(!(ee!=null&&ee.is_make_up_exercise)||(ee==null?void 0:ee.is_make_up_exercise)&&(ee==null?void 0:ee.exercise_status)===1&&(ee==null?void 0:ee.allow_create_make_up))&&Rn.createElement(hi.Z,{tips:ee==null?void 0:ee.open_appraise},Rn.createElement("span",{className:ro.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{var bt,an,yt;if(((bt=Nt==null?void 0:Nt.userInfo)==null?void 0:bt.user_status)===2){(0,ve.Rd)();return}if((0,oe.Rm)()&&!((yt=(an=Bt==null?void 0:Bt.AssistantObject)==null?void 0:an.exercise)!=null&&yt.can_publish)){xe.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}if((ee==null?void 0:ee.exercise_question_count)===0){xe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let Ea=()=>{Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ee.id],unified_setting:ee.unified_setting,params:ht,disabled:ee.exercise_status!==1,type:2,manage_all_group:gt,isRouter:!0}})};ee!=null&&ee.high_resources_consume&&!(ee!=null&&ee.high_resources_consume_permission)?Gt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ht.coursesId,type:"exercise",type_id:ee.id,name:ee.exercise_name,fn:()=>{Gt({type:"classroomList/getClassroomExercisesList",payload:pl({},ht)}),Ea()}}}):Ea()};if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()}},Rn.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),Rn.createElement("div",null,"\u53D1\u5E03"))),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&!(0,a._m)()&&ee.assistant_auth&&Rn.createElement("span",{className:ro.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation();const bt=()=>{var an,yt;if((0,oe.Rm)()&&!((yt=(an=Bt==null?void 0:Bt.AssistantObject)==null?void 0:an.exercise)!=null&&yt.can_preview)){xe.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 Ea=fe()(ee.created_at,Wn);fe()($a).diff(fe()(Ea),"days")>0&&(ee!=null&&ee.is_random)?zt():ee!=null&&ee.is_random?(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/random/preview?random=${ee.is_random}`):(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=2`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()}},Rn.createElement("i",{className:"iconfont icon-yulan3"}),Rn.createElement("div",null,"\u9884\u89C8")),(0,oe.RV)()&&Rn.createElement("span",{className:ro.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()}},Rn.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Rn.createElement("div",null,"\u8BE6\u60C5")),(0,oe.GJ)()&&!(0,a._m)()&&Rn.createElement(wa.Z,{placement:"bottom",content:Rn.createElement("div",{className:ro.popover},!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("p",{onClick:Mt=>el(void 0,null,function*(){const bt=()=>{(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=3`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u89C4\u5219\u8BBE\u7F6E"),(ee==null?void 0:ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("p",{onClick:Mt=>el(void 0,null,function*(){const bt=()=>{Gt({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ee==null?void 0:ee.exercise_name,id:ee==null?void 0:ee.id,type:"hack"}})};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u8865\u5145\u6210\u7EE9"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&ee.is_random&&ee.assistant_auth&&Rn.createElement("p",{onClick:Mt=>{Mt.stopPropagation();const bt=()=>{const an=fe()(ee.created_at,Wn);fe()($a).diff(fe()(an),"days")>0&&(ee!=null&&ee.is_random)?zt():(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/random/edit?type=settings`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()}},"\u7F16\u8F91\u8003\u8BD5"),Rn.createElement("p",{onClick:Mt=>el(void 0,null,function*(){const bt=()=>{var an;Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ee.id],selectArrsAll:[ee],params:ht,status:(an=ee==null?void 0:ee.exercise_tips)==null?void 0:an[0]}})};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u5220\u9664\u8BD5\u5377"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("p",{onClick:()=>{const Mt=()=>{Gt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ee.id],params:ht}})};if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((Zn=ee==null?void 0:ee.exercise_tips)==null?void 0:Zn.includes("\u672A\u5F00\u59CB"))&&(ee==null?void 0:ee.author_login)===((Wa=Nt==null?void 0:Nt.userInfo)==null?void 0:Wa.login)&&Rn.createElement("p",{onClick:Mt=>el(void 0,null,function*(){Nl(ee)})}," ",ee!=null&&ee.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&((0,oe.GJ)()||((Na=(Ra=Bt==null?void 0:Bt.AssistantObject)==null?void 0:Ra.exercise)==null?void 0:Na.can_stop))&&![1,3].includes(ee==null?void 0:ee.exercise_status)&&Rn.createElement("p",{onClick:Mt=>el(void 0,null,function*(){const bt=()=>{var an,yt;if((0,oe.Rm)()&&!((yt=(an=Bt==null?void 0:Bt.AssistantObject)==null?void 0:an.exercise)!=null&&yt.can_stop)){xe.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}Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ee.id],params:ht,unified_setting:ee.unified_setting}})};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u7ED3\u675F\u8003\u8BD5"))},Rn.createElement("span",{onClick:Mt=>Mt.stopPropagation(),className:ro.flexBox,style:{cursor:"default"}},Rn.createElement("i",{className:"iconfont icon-gengduo4"}),Rn.createElement("div",null,"\u66F4\u591A"))),(0,oe.dE)()&&Rn.createElement(Rn.Fragment,null,!!ee.off_limits&&Rn.createElement(ne.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ee==null?void 0:ee.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},Rn.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===0&&ee.exercise_status>1&&!((vr=ee.exercise_tips)!=null&&vr.includes("\u5DF2\u622A\u6B62"))&&Rn.createElement("a",{className:ro.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),Yo(ee,!0)},href:""},Rn.createElement("i",{className:"iconfont icon-jixukaoshi"}),Rn.createElement("div",null,(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((qo=ee.exercise_tips)!=null&&qo.includes("\u5DF2\u622A\u6B62"))&&(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&Rn.createElement("a",{className:ro.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),Yo(ee,!0)},href:""},Rn.createElement("i",{className:"iconfont icon-jixukaoshi"}),Rn.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ee.off_limits&&ee.current_status===1&&(ee==null?void 0:ee.screen_used_num)<(ee==null?void 0:ee.screen_total_num)&&ee.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ee==null?void 0:ee.exercise_type)==2&&(ee==null?void 0:ee.exercise_status)!=3)&&Rn.createElement("span",{className:ro.flexBox,style:{marginRight:"16px"},onClick:Mt=>el(void 0,null,function*(){var bt;if(Mt.stopPropagation(),!(ee!=null&&ee.answered_open)){xe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,pr.w)(ht.coursesId,ee.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/users/${(bt=(0,oe.eY)())==null?void 0:bt.login}?check=true`)})},Rn.createElement("i",{className:"iconfont icon-chakankaoshi"}),Rn.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===2&&ee.exercise_status>1&&!((Mo=ee.exercise_tips)!=null&&Mo.includes("\u5DF2\u622A\u6B62"))&&Rn.createElement("a",{className:ro.flexBox,style:{marginRight:"16px",color:(ee==null?void 0:ee.is_redo)===1&&"red"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),Yo(ee)},href:""},Rn.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),Rn.createElement("div",null,(ee==null?void 0:ee.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==2&&!ee.off_limits&&ee.exercise_status>1&&!((_o=ee.exercise_tips)!=null&&_o.includes("\u5DF2\u622A\u6B62"))&&Rn.createElement(ne.Z,{title:Rn.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ee==null?void 0:ee.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",Pr(),"\u6B21")},Rn.createElement("a",{className:ro.flexBox,onClick:Mt=>{Pr()==0&&(ee==null?void 0:ee.current_status)!=0||(Mt.stopPropagation(),Mt.preventDefault(),Yo(ee))},href:""},Rn.createElement("i",{className:`iconfont ${(ee==null?void 0:ee.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),Rn.createElement("div",null,(ee==null?void 0:ee.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5")))))),(0,oe.GJ)()&&Rn.createElement("p",{style:{display:"flex"}},Rn.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:ee.author},ee.author),Rn.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",fe()(ee.created_at).format("YYYY-MM-DD HH:mm:ss")),((tr=ee==null?void 0:ee.exercise_tips)==null?void 0:tr.includes("\u672A\u5F00\u59CB"))&&ee.publish_time&&Rn.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",fe()(ee.publish_time).format("YYYY-MM-DD HH:mm:ss")),Rn.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),Rn.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",ee.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Jo=ee==null?void 0:ee.exercise_tips)!=null&&Jo.includes("\u672A\u5F00\u59CB"))&&!(ee!=null&&ee.is_make_up_exercise)&&!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("span",{className:ro.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Mt=>el(void 0,null,function*(){Mt.stopPropagation(),Mt.preventDefault(),No||Ma(),Nn(!No)})},Rn.createElement(ne.Z,{title:`${No?"\u6536\u8D77":"\u5C55\u5F00"}`},Rn.createElement("i",{className:`iconfont icon-${No?"shouqi":"xiala2"}`})))),(0,oe.dE)()&&Rn.createElement("p",{style:{display:"flex"}},Rn.createElement("span",{className:"c-grey-333"},ee.author),Rn.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),!!(ee!=null&&ee.exercise_left_time)&&Rn.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ee==null?void 0:ee.exercise_left_time),!!(ee!=null&&ee.before_start)&&Rn.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ee==null?void 0:ee.before_start)),(0,oe.GJ)()&&!((ka=ee==null?void 0:ee.exercise_tips)!=null&&ka.includes("\u672A\u5F00\u59CB"))&&Rn.createElement("p",null,Rn.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",Rn.createElement("span",null,ee==null?void 0:ee.unanswer_users)),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",Rn.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ee==null?void 0:ee.answering_users)),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",Rn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.answer_users)),Rn.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",Rn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.commit_with_no_answers_users))),(0,oe.GJ)()&&!((Oo=ee==null?void 0:ee.exercise_tips)!=null&&Oo.includes("\u672A\u5F00\u59CB"))&&No&&Ht.length>5&&Rn.createElement(ot.default,{scroll:{y:240},pagination:!1,dataSource:Ht,onRow:Mt=>({onClick:bt=>{bt.stopPropagation(),bt.preventDefault()}}),onHeaderRow:(Mt,bt)=>({onClick:an=>{an.stopPropagation(),an.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Mt,bt,an)=>{an.field&&(ht.order_by=an.field),an.order||(ht.sort_direction="asc"),an.order==="ascend"&&(ht.sort_direction="asc"),an.order==="descend"&&(ht.sort_direction="desc"),an.order||(ht.sort_direction="asc"),Ma()},columns:sl}),(0,oe.GJ)()&&!((Vn=ee==null?void 0:ee.exercise_tips)!=null&&Vn.includes("\u672A\u5F00\u59CB"))&&No&&Ht.length<6&&Ht.length>0&&Rn.createElement(ot.default,{rowKey:"course_group_id",pagination:!1,onRow:Mt=>({onClick:bt=>{bt.stopPropagation(),bt.preventDefault()}}),onHeaderRow:(Mt,bt)=>({onClick:an=>{an.stopPropagation(),an.preventDefault()}}),dataSource:Ht,style:{marginTop:"10px"},onChange:(Mt,bt,an)=>{an.field&&(ht.order_by=an.field),an.order||(ht.sort_direction="asc"),an.order==="ascend"&&(ht.sort_direction="asc"),an.order==="descend"&&(ht.sort_direction="desc"),an.order||(ht.sort_direction="asc"),Ma()},columns:sl}),(ee==null?void 0:ee.total)!==void 0&&Rn.createElement("p",null,Rn.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",Rn.createElement("span",null,ee==null?void 0:ee.total)),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",Rn.createElement("span",{style:{color:"#4EACFF"}},ee==null?void 0:ee.finish_total)),Rn.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",Rn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.unfinished_total)))),Rn.createElement(fl.Z,{closable:!0,successCb:()=>Yo(jo.current)}))};var Kl=(0,Pe.connect)(({classroomList:ee})=>({classroomList:ee}))(Ul),Mi=te(31797),ei=te(27158),ir=te(61527),so=te(59301),vl=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const{Countdown:Vr}=Mi.default,Qr=({value:ee,onChange:he,MaxMinutes:ge})=>so.createElement(so.Fragment,null,so.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",so.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",so.createElement("br",null)),so.createElement(ae.Z,{value:ee,onChange:he,min:0,precision:0,max:ge,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ge}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),Jt=({exercise:ee,successCb:he,dispatch:ge})=>{var He,Gt,ht,Bt;const rn=(0,Pe.useParams)(),[gt]=z.default.useForm(),Nt=z.default.useWatch("time",gt),[Qo,ko]=(0,re.useState)(!1),fo=(0,re.useRef)(),{actionTabs:ea}=ee,[Lo,Zn]=(0,re.useState)(),[,Wa,Ra,Na]=(0,ir.U)(it.n7,{id:rn.categoryId}),[,vr,qo]=(0,ir.U)(it.Cd,{});(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&(ko(!1),gt.resetFields())},[ee.actionTabs.key]);const Mo=()=>new Promise(No=>vl(void 0,null,function*(){var Nn,jo;return fo.current=yield(0,ei.y)({ip_limit:(Nn=ea==null?void 0:ea.exerciseParams)==null?void 0:Nn.ip_limit,ip_bind:(jo=ea==null?void 0:ea.exerciseParams)==null?void 0:jo.ip_bind_type}),No()})),_o=()=>vl(void 0,null,function*(){var No,Nn,jo,Mr,nn;yield gt.validateFields();const Wn=gt.getFieldsValue();if(ko(!0),(((No=ea==null?void 0:ea.exerciseParams)==null?void 0:No.ip_limit)!=="no"||(Nn=ea==null?void 0:ea.exerciseParams)!=null&&Nn.ip_bind_type)&&(yield Mo()),(yield(0,it.ZD)((jo=ea==null?void 0:ea.exerciseParams)==null?void 0:jo.id,{exercise_user_id:(Mr=ea==null?void 0:ea.exerciseParams)==null?void 0:Mr.exercise_user_id,unlock_key:Wn.unlock_key,time:Wn.time,ip:fo.current})).status===0){if(he){ge({type:"exercise/setActionTabs",payload:{}}),he();return}const Ma=ea==null?void 0:ea.exerciseParams;(0,a.nr)({inner_ip:Ma.inner_ip,public_ip:Ma.public_ip,open_camera:Ma.open_camera,ip_limit:Ma.ip_limit,ip_bind:Ma.ip_bind,ip_bind_type:Ma.ip_bind_type,exercise_tips:Ma.exercise_tips,exerciseId:Ma.id,screen_open:Ma.screen_open,screen_num:Ma.screen_num,screen_sec:Ma.screen_sec,coursesId:rn.coursesId,login:(nn=(0,oe.eY)())==null?void 0:nn.login,history,identity_verify:Ma.identity_verify,open_phone_video_recording:Ma.open_phone_video_recording,current_status:Ma.current_status}),ge({type:"exercise/setActionTabs",payload:{}})}ko(!1)}),tr=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:No=>so.createElement("span",{className:No.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},No)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:No=>so.createElement("span",{className:No.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},No)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Jo=((He=ea==null?void 0:ea.exerciseParams)==null?void 0:He.errorMessage)&&typeof((Gt=ea==null?void 0:ea.exerciseParams)==null?void 0:Gt.errorMessage)=="object";(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&vl(void 0,null,function*(){const No=yield qo(rn);yield Ra({}),No.status||Zn(No)})},[ee.actionTabs.key]);const{time:ka,end_time:Oo}=(Lo==null?void 0:Lo.exercise)||{},Vn=Na!=null&&Na.user_end_time?fe()(Na==null?void 0:Na.user_end_time).add(1,"minutes"):fe()(),Ht=fe()(Na==null?void 0:Na.user_total_end_time)>Vn?Math.round(fe().duration(fe()(Na==null?void 0:Na.user_total_end_time).diff(Vn.startOf("minute"))).asMinutes()):0,xl=((Na==null?void 0:Na.student_left_minutes)||0)+(Nt||0);return so.createElement(so.Fragment,null,so.createElement(Fe.default,{width:514,centered:!0,closable:!!((ht=ea==null?void 0:ea.exerciseParams)!=null&&ht.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ee.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ge({type:"exercise/setActionTabs",payload:{}})}},so.createElement(Ze.Z,{spinning:Wa||vr},Jo&&so.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Jo&&so.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Jo&&so.createElement(ot.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Bt=ea==null?void 0:ea.exerciseParams)==null?void 0:Bt.errorMessage)||{}],columns:tr}),so.createElement("div",{className:""},so.createElement(z.default,{form:gt,layout:"vertical",autoComplete:"off"},so.createElement(z.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},so.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),ka!==-1?so.createElement(so.Fragment,null,so.createElement(z.default.Item,{name:"time",label:so.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",so.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",fe()(Na==null?void 0:Na.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},so.createElement(Qr,{MaxMinutes:Ht})),so.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",so.createElement("span",{className:"ml5"},Wa||vr?"--":xl),"\u5206\u949F",xl!==0&&(Na==null?void 0:Na.user_end_time)&&so.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",so.createElement("span",{className:"ml5"},fe()(Na==null?void 0:Na.user_end_time).add(Nt||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):so.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",fe()(Oo).format("YYYY-MM-DD HH:mm")))),so.createElement(Ft.Z,{justify:"space-between",align:"middle"},so.createElement(Be.Z,null),so.createElement(Be.Z,null,so.createElement(Ie.ZP,{loading:Qo,onClick:_o},"\u8FDB\u5165\u8003\u8BD5"))))))};var Rt=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Jt),sn=te(24776),Yn=te(42554),lo=te(64575),Co=te(59301),Tn=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Xa=({exercise:ee,dispatch:he,init:ge,haveInit:He=!1})=>{const Gt=(0,Pe.useParams)(),[ht,Bt]=(0,re.useState)(!1);let[rn,gt]=(0,re.useState)();const[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ea()},[ee.actionTabs]);function ea(){return Tn(this,null,function*(){var Lo,Zn;let Wa=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});if(((Lo=Wa==null?void 0:Wa.cover_exercises)==null?void 0:Lo.length)>0)Bt(!0),gt((Zn=Wa==null?void 0:Wa.cover_exercises)==null?void 0:Zn[0]);else{let Ra=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});he({type:"exercise/setActionTabs",payload:{key:""}}),(Ra==null?void 0:Ra.status)===0&&(He&&ge(),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}})}return Co.createElement("div",null,Co.createElement(Fe.default,{open:ht,centered:!0,onCancel:Lo=>Tn(void 0,null,function*(){if(Lo.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){Qo(!0);let Zn=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs,update:1}});he({type:"exercise/setActionTabs",payload:{key:""}}),Qo(!1),(Zn==null?void 0:Zn.status)===0&&(He&&ge(),Bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}else Bt(!1)}),cancelButtonProps:{loading:Nt},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:ko},onOk:()=>Tn(void 0,null,function*(){fo(!0);let Lo=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});fo(!1),(Lo==null?void 0:Lo.status)===0&&(He&&ge(),he({type:"exercise/setActionTabs",payload:{key:""}}),Bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Co.createElement("div",null,Co.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Co.createElement("div",null,Co.createElement("div",null,"\u8BD5\u5377\uFF1A",rn==null?void 0:rn.origin_exercise_nam),Co.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Co.createElement("a",{href:`/paperlibrary/see/${rn==null?void 0:rn.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},rn==null?void 0:rn.examination_bank_name))))))};var Go=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Xa),hr=te(87169),Zo=te(90588),pa=te(18682),$o=te(9516),ua=te(59301),Ml=Object.defineProperty,Ho=Object.defineProperties,Xo=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,Fi=(ee,he,ge)=>he in ee?Ml(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,tl=(ee,he)=>{for(var ge in he||(he={}))Zr.call(he,ge)&&Fi(ee,ge,he[ge]);if(Kr)for(var ge of Kr(he))jl.call(he,ge)&&Fi(ee,ge,he[ge]);return ee},ki=(ee,he)=>Ho(ee,Xo(he)),qi=(ee,he)=>{var ge={};for(var He in ee)Zr.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&Kr)for(var He of Kr(ee))he.indexOf(He)<0&&jl.call(ee,He)&&(ge[He]=ee[He]);return ge},Ki=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const hu=ee=>{var he=ee,{user:ge,classroomList:He,globalSetting:Gt,loading:ht,dispatch:Bt}=he,rn=qi(he,["user","classroomList","globalSetting","loading","dispatch"]),gt,Nt,Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr,Jo,ka;const Oo=(0,Pe.useParams)(),[Vn]=(0,Pe.useSearchParams)(),[Ht,xl]=(0,re.useState)(()=>ki(tl({},Oo),{limit:20})),No=(0,Pe.useLocation)(),{detailExerciseList:Nn,detailTopBanner:jo,detailLeftMenus:Mr}=He,[nn,Wn]=(0,re.useState)([]),[$a,Ma]=(0,re.useState)(!1),[zt,Yo]=(0,re.useState)([]),[sl,gl]=(0,re.useState)(!1),[Pr,Nl]=(0,re.useState)(!1),[Er,Mt]=(0,re.useState)(!1),[bt,an]=(0,re.useState)(!1),[yt,Ea]=(0,re.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),or=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Ht.type=Vn.get("tabs")==="all"?"":Vn.get("tabs")||"",Ht.id=Ht.coursesId,(0,re.useEffect)(()=>{var kt,ya,Cl;if((kt=ge==null?void 0:ge.userInfo)!=null&&kt.login){if((0,oe.GJ)()){const ml=a.cX.getItem(`${(ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.login}Teacher`,"Exercise");ml&&(Ht.sort_by=ml==null?void 0:ml.type,Ht.sort_direction=ml==null?void 0:ml.direction,Ea(ml==null?void 0:ml.name))}Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})}else(Cl=ge==null?void 0:ge.userInfo)!=null&&Cl.username&&Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)});Ma(!1)},[(gt=ge==null?void 0:ge.userInfo)==null?void 0:gt.login,No.pathname]),(0,re.useEffect)(()=>{He.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})},[He.actionTabs.key]),(0,re.useEffect)(()=>{He.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(gl(!0),Nl(jo==null?void 0:jo.show_unstart_exercise),Mt(jo==null?void 0:jo.forbid_end_exercise))},[He.actionTabs.key]),(0,re.useEffect)(()=>{Wn([])},[Nn]);const jr=(kt,ya)=>{Wn([]),Ht.page=kt,Ht.limit=ya,Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})},rl=kt=>{Ht.type=kt.id==="all"?"":kt.id,Ht.page=1,Pe.history.replace(`${No.pathname}?tabs=${kt.id}`),an(!1),Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})};(0,re.useEffect)(()=>{Vn.get("tabs")==="all"&&(Ht.type="",Ht.page=1)},[Vn.get("tabs")]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&Bt({type:"classroomList/getAssistantPermissions",payload:{course_id:Ht.coursesId}})},[(Nt=ge==null?void 0:ge.userInfo)==null?void 0:Nt.username]),(0,re.useEffect)(()=>{const kt=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),Fe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:ua.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ua.createElement("br",null),"1\u3001\u5728",ua.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ua.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ua.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ua.createElement("br",null),"2\u3001\u5728",ua.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ua.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ua.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ua.createElement("br",null),kt==="allowRouter"&&ua.createElement(ua.Fragment,null,"3\u3001",ua.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&Bt({type:"classroomList/getAssistantPermissions",payload:{course_id:Ht.coursesId}})},[(Qo=ge==null?void 0:ge.userInfo)==null?void 0:Qo.login]);const Uo=[{name:"\u5168\u90E8",id:"all",total:(ko=Nn.exercises_counts)==null?void 0:ko.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(fo=Nn.exercises_counts)==null?void 0:fo.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(ea=Nn.exercises_counts)==null?void 0:ea.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Lo=Nn.exercises_counts)==null?void 0:Lo.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(Zn=Nn.exercises_counts)==null?void 0:Zn.end_counts}],ni=[{name:"\u6279\u91CF\u53D1\u5E03",icon:ua.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:ua.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:ua.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:ua.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:ua.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(kt=>(0,oe.GJ)()?!0:kt.name!=="\u6279\u91CF\u5220\u9664").filter(kt=>jo.is_public?!0:kt.name!=="\u8BBE\u4E3A\u516C\u5F00"),ru=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:ua.createElement(ua.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),Gi="YYYY-MM-DD",yu=fe()("2020-11-15",Gi),lu=kt=>{var ya;Ht.sort_by=kt.type,Ht.sort_direction=kt.direction,(0,oe.GJ)()&&a.cX.setItem(`${(ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.login}Teacher`,kt,"Exercise"),Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:tl({},Ht)}),Ea(kt.name)},zu=()=>ua.createElement(be.default,null,ua.createElement(be.default.Item,{key:1,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He==null?void 0:He.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}Bt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Ht}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),ua.createElement(be.default.Item,{key:2,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He==null?void 0:He.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}window.scrollTo(0,0),Pe.history.push(`/classrooms/${Ht.coursesId}/exercise/add?catalogue=${(Oo==null?void 0:Oo.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),ua.createElement(be.default.Item,{key:3,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He.AssistantObject)==null?void 0:kt.practice)!=null&&ya.can_create)){xe.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}Bt({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),iu=kt=>Ki(void 0,null,function*(){var ya,Cl,ml,Ei,Wi,vu,ma,eo;const ba=kt.name;if(((ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.user_status)===2&&kt.name==="\u6279\u91CF\u53D1\u5E03"){(0,ve.Rd)();return}const Io=[];if((Cl=Nn.exercises)==null||Cl.map(ga=>{if(nn.includes(ga.id)&&ga.is_random){const Ua=fe()(ga.created_at,Gi);fe()(yu).diff(fe()(Ua),"days")>0&&(ga!=null&&ga.is_random)&&Io.push(ga)}}),nn==""){let ga="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(ga="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),xe.ZP.error(ga)}else if(Io.length)ru();else{if(ba==="\u6279\u91CF\u53D1\u5E03"){if((0,oe.Rm)()&&!((Ei=(ml=He==null?void 0:He.AssistantObject)==null?void 0:ml.exercise)!=null&&Ei.can_publish)){xe.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}let ga=!1;Nn.exercises.forEach(ho=>{nn.includes(ho.id)&&ho.total_num===0&&ho.is_random&&(ga=!0)});let Ua;if(Ua=(vu=(Wi=Nn.exercises.filter(ho=>nn.includes(ho==null?void 0:ho.id)).filter(ho=>(ho==null?void 0:ho.exercise_question_count)===0))==null?void 0:Wi[0])==null?void 0:vu.exercise_name,(Ua==null?void 0:Ua.length)>0){xe.ZP.warning(`${Ua}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(ga){xe.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let wr=!1;if(Nn.exercises.forEach(ho=>{nn.includes(ho.id)&&ho.exercise_status!==1&&(wr=!0)}),wr){xe.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const ga=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...nn]}});if(((ma=ga==null?void 0:ga.cover_exercises)==null?void 0:ma.length)>0){Yo(ga==null?void 0:ga.cover_exercises);return}}Bt({type:"exercise/setActionTabs",payload:{key:ba,selectArrs:nn,selectArrsAll:(eo=Nn.exercises)==null?void 0:eo.filter(ga=>nn.includes(ga.id)),params:Ht,type:1}})}});return ua.createElement("section",{className:"minH500"},ua.createElement(sn.Z,{isLoading:ht["classroomList/getClassroomExercisesList"],tabDataSource:Uo,isAdmin:(0,oe.GJ)(),dispatch:Bt,type:Nn==null?void 0:Nn.main_category_name,isExercise:!0,user:ge,getDropdownMenu:zu,onTabMenuClick:rl,classroomList:He,defaultSelectedKeys:[Ht.type||"all"]}),ua.createElement(Yn.Z,{dataSource:Nn.exercises||[],isAdmin:(0,oe.GJ)(),batchStatus:bt,SortMenuName:yt,setSortMenuName:Ea,SortMenus:or,onSearch:kt=>{Ht.search=kt.trim(),Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:tl({},Ht)})},isShowMode:!0,onModeChange:kt=>{Ht.is_normal=kt,Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:tl({},Ht)})},onSort:lu,onBatch:kt=>an(kt)}),ua.createElement(ue.Z,{loading:ht["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30 px-20px"},(Wa=Nn.exercises_counts)!=null&&Wa.exercises_all_counts?Nn.exercises.map(function(kt,ya){return ua.createElement(Kl,{key:ya,v:kt,k:ya,batchStatus:bt,selectArrs:nn,setSelectArrs:Wn,dispatch:Bt,params:Ht,user:ge,manageAllGroup:Nn.manage_all_group})}):ua.createElement(E.Z,null),ua.createElement("aside",{className:"tc mb50 mt30 px-20px"},((Ra=Nn.exercises_counts)==null?void 0:Ra.exercises_all_counts)>0&&ua.createElement(Oe.Z,{showTotal:kt=>{var ya;return`\u5171 ${(ya=Nn==null?void 0:Nn.exercises_counts)==null?void 0:ya.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:jr,defaultCurrent:Ht.page,current:Ht.page||1,pageSize:Ht.limit||20,total:Nn.exercises_counts&&Nn.exercises_counts.exercises_all_counts}))),nn.length>0&&(0,oe.GJ)()&&ua.createElement(je.Z,{offsetBottom:0},ua.createElement(lo.Z,{buttonDataSource:ni,onButtonClick:iu,useBatchStatus:an,setSeleArr:Wn,catalogue:((vr=(Na=Mr==null?void 0:Mr.course_modules)==null?void 0:Na.find(kt=>kt.type==="exercise"))==null?void 0:vr.second_category)||[],addCatalogue:kt=>{kt.preventDefault(),Bt({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Ht,selectArrs:{category_id:Nn==null?void 0:Nn.main_category_id,type:"exercise"}}})},allSelect:nn.length?nn.length===((Mo=(qo=Nn.exercises)==null?void 0:qo.filter(kt=>!kt.is_make_up_exercise))==null?void 0:Mo.length):!1,setAllSelect:kt=>{var ya;kt.target.checked?Wn((ya=Nn==null?void 0:Nn.exercises)==null?void 0:ya.filter(Cl=>!Cl.is_make_up_exercise).map(Cl=>Cl.id)):Wn([])},selectArrs:nn,onMenuClick:kt=>Ki(void 0,[kt],function*({key:ya}){if(nn=="")return xe.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:nn,new_category_id:ya}})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Bt({type:"classroomList/getClassroomExercisesList",payload:tl({},Oo)}))})})),ua.createElement(ra,null),ua.createElement(nr,null),ua.createElement(tn,null),ua.createElement(Vo,null),ua.createElement(Zo.Z,{onOk:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:tl({},Oo)})}}),ua.createElement(pa.Z,{onOk:()=>{}}),ua.createElement(Pn,{cb:()=>Wn([])}),ua.createElement(Do,null),ua.createElement(Rt,null),ua.createElement(Fe.default,{title:ua.createElement("span",null,ua.createElement(hr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:zt.length>0,footer:!1,onCancel:()=>{Yo([])}},ua.createElement("div",{style:{height:300,overflow:"auto"}},ua.createElement("div",null,"\u6709",zt==null?void 0:zt.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),zt==null?void 0:zt.map(kt=>ua.createElement("div",{style:{marginTop:25}},ua.createElement("div",null,"\u8BD5\u5377\uFF1A",kt==null?void 0:kt.origin_exercise_nam),ua.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ua.createElement("a",{href:`/paperlibrary/see/${kt==null?void 0:kt.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},kt==null?void 0:kt.examination_bank_name))))),ua.createElement("div",{style:{textAlign:"end"}},ua.createElement(Ie.ZP,{style:{height:30},onClick:()=>Ki(void 0,null,function*(){const kt=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...nn],update:1}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u8986\u76D6\u6210\u529F"),Yo([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),ua.createElement(Ie.ZP,{type:"primary",onClick:()=>Ki(void 0,null,function*(){const kt=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...nn]}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u5F62\u6210\u6210\u529F"),Yo([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),ua.createElement(Fe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:sl,centered:!0,onOk:()=>Ki(void 0,null,function*(){let kt=yield(0,x.ZP)(`/api/courses/${Ht.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:Pr,forbid_end_exercise:Er}});(kt==null?void 0:kt.status)===0&&(gl(!1),Bt({type:"classroomList/setActionTabs",payload:{key:""}}),Bt({type:"classroomList/getClassroomTopBanner",payload:{id:Ht.coursesId}}),xe.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{gl(!1),Bt({type:"classroomList/setActionTabs",payload:{key:""}})}},ua.createElement(Ne.default,{checked:Pr,onChange:kt=>{Nl(kt.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",ua.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),ua.createElement(Ne.default,{className:"mt20",checked:Er,onChange:kt=>{Mt(kt.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),ua.createElement(Go,null),ua.createElement(ua.Fragment,null,ua.createElement($o.T$,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ki(tl({},He==null?void 0:He.actionTabs),{open:""})})},open:((_o=He==null?void 0:He.actionTabs)==null?void 0:_o.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),ua.createElement($o.$i,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ki(tl({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})},open:((tr=He==null?void 0:He.actionTabs)==null?void 0:tr.open)==="\u8BD5\u5377\u5C01\u5B58",Data:ki(tl({},He==null?void 0:He.actionTabs),{type:"exercise"})}),ua.createElement($o.K1,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ki(tl({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})},open:((Jo=He==null?void 0:He.actionTabs)==null?void 0:Jo.open)==="\u89E3\u5C01",Data:ki(tl({},He==null?void 0:He.actionTabs),{type:"exercise"})}),ua.createElement($o.O7,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ki(tl({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:tl(tl({},Ht),Oo)})},open:((ka=He==null?void 0:He.actionTabs)==null?void 0:ka.open)==="\u63D0\u793A",Data:ki(tl({},He==null?void 0:He.actionTabs),{type:"exercise"})})))};var Hu=(0,Pe.connect)(({user:ee,classroomList:he,loading:ge,globalSetting:He})=>({user:ee,classroomList:he,globalSetting:He,loading:ge.effects}))(hu),yi={flex_box_center:"flex_box_center___I2Zor",flex_space_between:"flex_space_between___Ht3Hg",flex_box_vertical_center:"flex_box_vertical_center___l37KN",flex_box_center_end:"flex_box_center_end___O7U5A",flex_box_column:"flex_box_column___QIoOH",containerTitle:"containerTitle___JCYrV",containerDesc:"containerDesc___OW8kv",menus:"menus___X1BVx",listItem:"listItem___QQnG2",info:"info___TwB7l",title:"title___l4jJE",titleLeft:"titleLeft___xwSdb",titleRight:"titleRight___b3ucs",acitons:"acitons___M5Z8n",move:"move___ez_Md",hideHeadCheckbox:"hideHeadCheckbox___kvvPQ",moveCategory:"moveCategory___dZlgC",tabSearch:"tabSearch___FCjLv",warpModal:"warpModal___gzw5T",modalColumn:"modalColumn___togI3",modalRow:"modalRow___HVpN2",sup:"sup___yOXrk",name:"name___jYQZy"},yr=te(59301),Cu=Object.defineProperty,Fu=Object.defineProperties,Hi=Object.getOwnPropertyDescriptors,Bi=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,Gu=(ee,he,ge)=>he in ee?Cu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,bi=(ee,he)=>{for(var ge in he||(he={}))cu.call(he,ge)&&Gu(ee,ge,he[ge]);if(Bi)for(var ge of Bi(he))_u.call(he,ge)&&Gu(ee,ge,he[ge]);return ee},Bu=(ee,he)=>Fu(ee,Hi(he)),du=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const{TabPane:ns}=y.default,Vi=({classroomList:ee,exercise:he,loading:ge,dispatch:He})=>{var Gt;const ht=(0,Pe.useParams)(),Bt=(0,Pe.useLocation)(),[rn]=z.default.useForm(),{brankList:gt}=he;let[Nt,Qo]=(0,re.useState)(!0),[ko,fo]=(0,re.useState)(!1);const[ea,Lo]=(0,re.useState)("myself");let[Zn,Wa]=(0,re.useState)([]),[Ra,Na]=(0,re.useState)([]),[vr,qo]=(0,re.useState)(),[Mo,_o]=(0,re.useState)([]);const tr=(0,re.useRef)(null),[Jo,ka]=(0,re.useState)(!1),[Oo,Vn]=(0,re.useState)(""),[Ht,xl]=(0,re.useState)(""),[No,Nn]=(0,re.useState)(!1),[jo,Mr]=(0,re.useState)({}),nn=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(yt,Ea,or)=>yr.createElement("div",{style:{display:"flex",alignItems:"center"}},yr.createElement(ne.Z,{title:yt},yr.createElement("div",{title:yt,className:yi.name},yt)),(Ea==null?void 0:Ea.high_resources_consume)&&yr.createElement(Me.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:yt=>yr.createElement(ne.Z,{title:yt},yr.createElement("span",null,yt))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:yt=>yt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(yt,Ea)=>yr.createElement("a",{href:yt?`/randompaper/detail/${Ea.id}`:`/paperlibrary/see/${Ea.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[Wn,$a]=(0,re.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,re.useEffect)(()=>{he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(Yo(),_o([]),Ma())},[he.actionTabs.key]);const Ma=()=>du(void 0,null,function*(){const yt=yield He({type:"paperlibrary/getTeachGroupData"});Na(yt)}),zt=yt=>{const Ea=parseInt(yt);return isNaN(Ea)?"":Ea},Yo=()=>du(void 0,null,function*(){var yt,Ea;if(Nt){++Wn.page,Qo(!1);const or=yield He({type:"exercise/getBrankList",payload:Bu(bi({},Wn),{search:(yt=Wn.search)==null?void 0:yt.trim()})});Zn=or!=null&&or.object_list?[...Zn.concat(or==null?void 0:or.object_list)]:Zn,Wn.filter==="public"?qo(or.is_teacher):qo(!0),((Ea=or.object_list)==null?void 0:Ea.length){tr.current.scrollTop=0,Zn=[],Wn.page=0,Wn.group_id=yt,Nt=!0,_o([]),$a(bi({},Wn)),Yo()},gl={selectedRowKeys:Mo,onChange:yt=>{_o(yt)},type:"radio"},Pr=()=>{$a(bi({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),Wa([]),Qo(!0),Lo("myself"),He({type:"exercise/setActionTabs",payload:{}}),fo(!1)},[Nl,Er,Mt,bt]=(0,Ee.P)(),an=yt=>du(void 0,null,function*(){let Ea=!1;Zn.forEach(Uo=>{Mo.includes(Uo.id)&&(Ea=Uo.is_random)});const or=yt.map(Uo=>({shixun_id:Uo.id,is_use:Uo.is_use,is_copy:Uo.is_copy}));if(!Ea){Nn(!0);const Uo=yield He({type:"exercise/saveBanks",payload:{course_id:ht.coursesId,category_id:(ht==null?void 0:ht.categoryId)||null,object_type:"examination_bank",bank_id:Mo,shixuns_info:or}});Nn(!1),(Uo==null?void 0:Uo.status)===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),He({type:"classroomList/getClassroomExercisesList",payload:bi({},he.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:{id:ht.coursesId}}),Vn(`/classrooms/${ht.coursesId}/exercise/${Uo.exercise_id}/detail?random=${Uo.is_random}&tabs=3`),xl(`/classrooms/${ht.coursesId}/exercise/add/${Uo.exercise_id}?random=${Uo.is_random}&type=2`),ka(!0),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Er(),Pr());return}Nn(!0),setTimeout(()=>{Nn(!1)},500),He({type:"exercise/setActionTabs",payload:{}});let jr=1,rl=Fe.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:yr.createElement("div",{className:yi.modalColumn},yr.createElement("div",{className:yi.modalRow},yr.createElement("sup",{className:yi.sup},"*"),yr.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),yr.createElement(ae.Z,{parser:zt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:jr,onChange:Uo=>{jr=Uo;const ni=document.getElementById("model_error");jr<1||jr>50?ni.style.display="block":ni.style.display="none"}})),yr.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:Pr,onOk:()=>du(void 0,null,function*(){if(jr<1||jr>50){const ni=document.getElementById("model_error");return ni.style.display="block",Promise.reject()}rl.update({cancelButtonProps:{disabled:!0}});const Uo=yield He({type:"exercise/saveBanks",payload:{course_id:ht.coursesId,object_type:"examination_bank",bank_id:Mo,shixuns_info:or,num:jr}});rl.update({cancelButtonProps:{disabled:!1}}),Uo&&Uo.status===0?((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Fe.default.destroyAll(),He({type:"classroomList/getClassroomExercisesList",payload:bi({},he.actionTabs.params)}),Pr(),Er(),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(Pr(),Er())})})});return yr.createElement(yr.Fragment,null,yr.createElement(Fe.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:he.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:ko,bodyStyle:{minHeight:200},wrapClassName:yi.warpModal,onOk:()=>du(void 0,null,function*(){var yt;if(!Mo.length){xe.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}fo(!0);let Ea=!1,or=!1;if(Zn.forEach(rl=>{Mo.includes(rl.id)&&rl.need_authorize&&(Ea=rl.need_authorize),Mo.includes(rl.id)&&(or=rl.is_random)}),Ea){(0,ve.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let jr=yield(0,Le.Tr)({id:`${Mo[0]}`,course_id:(yt=ee.detailTopBanner)==null?void 0:yt.course_id,type:"examination_bank"});fo(!1),(jr==null?void 0:jr.student_count)===0?an([]):Mr(jr)}),onCancel:Pr},yr.createElement(y.default,{activeKey:ea,onTabClick:yt=>du(void 0,null,function*(){tr.current.scrollTop=0,Zn=[],ea!==yt&&_o([]),Lo(yt),Wn.page=0,Wn.filter=yt,Wn.group_id=null,Nt=!0,Yo()})},yr.createElement(ns,{tab:yr.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),yr.createElement(ns,{tab:yr.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),yr.createElement(ns,{tab:yr.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),yr.createElement("div",{className:yi.tabSearch},ea==="teacher"&&yr.createElement(le.default,{value:Wn.group_id,onChange:sl,size:"middle",style:{width:200,marginRight:30}},yr.createElement(le.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Gt=Ra==null?void 0:Ra.groups)==null?void 0:Gt.map(yt=>yr.createElement(le.default.Option,{key:yt==null?void 0:yt.group_id,value:yt==null?void 0:yt.group_id},yt==null?void 0:yt.name))),yr.createElement(ie.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Wn.search,onChange:yt=>{Wn.search=yt.target.value,$a(bi({},Wn))},onSearch:yt=>{tr.current.scrollTop=0,Zn=[],Wn.page=0,Nt=!0,_o([]),yt&&(0,Je.tk)({name:yt,copywriting:yt,position:"Exercise"}),Yo()}})),yr.createElement("div",{ref:tr,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!vr&&ea==="public"&&yr.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},yr.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),yr.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),yr.createElement(se(),{initialLoad:!1,pageStart:0,loadMore:()=>{Yo()},hasMore:Nt,useWindow:!1},he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&vr&&yr.createElement(ce.Z,{className:yi.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:Zn,onRow:yt=>({onClick:()=>{_o([yt==null?void 0:yt.id])}}),resColumns:nn,rowSelection:gl})))),yr.createElement(Fe.default,{title:"\u63D0\u793A",open:Jo,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:yr.createElement("div",null,yr.createElement(Ie.ZP,{onClick:()=>{ka(!1),Pe.history.push(Ht)}},"\u4FEE\u6539\u8BD5\u5377"),yr.createElement(Ie.ZP,{type:"primary",onClick:()=>{Pe.history.push(Oo),ka(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{ka(!1)}},yr.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),yr.createElement(Ue.Z,{resdata:jo,type:"exercise",okloading:No,oktext:(jo==null?void 0:jo.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:yt=>{an(yt)}}),yr.createElement(Ee.Z,{inPaper:!0,visible:Nl,onCancel:Er,onOk:an,renderData:Mt,modalType:"multiple",type:"examination_bank"}))};var as=(0,Pe.connect)(({exercise:ee,loading:he,classroomList:ge})=>({exercise:ee,loading:he,classroomList:ge}))(Vi),Wu=te(79792),Eu={cstuModal:"cstuModal___Lk_O4",removeStyle:"removeStyle___PEQ8_",bottom:"bottom___x2sdD",yes:"yes___DNALK",no:"no___lzotc",Onerow:"Onerow___gJgKh",searchMember:"searchMember___jzYuJ",searchMemberHeader:"searchMemberHeader___v8IBY"},Hr=te(59301),xs=Object.defineProperty,$s=Object.defineProperties,Cs=Object.getOwnPropertyDescriptors,Fs=Object.getOwnPropertySymbols,js=Object.prototype.hasOwnProperty,os=Object.prototype.propertyIsEnumerable,Mu=(ee,he,ge)=>he in ee?xs(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,ji=(ee,he)=>{for(var ge in he||(he={}))js.call(he,ge)&&Mu(ee,ge,he[ge]);if(Fs)for(var ge of Fs(he))os.call(he,ge)&&Mu(ee,ge,he[ge]);return ee},Ou=(ee,he)=>$s(ee,Cs(he)),Bs=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const zs=({visible:ee,setVisible:he,onK:ge,selectKeys:He,selectRows:Gt,appointStudent:ht,modalParams:Bt,courseId:rn})=>{const gt=(0,Pe.useParams)(),[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1),[ea,Lo]=(0,re.useState)([]),[Zn,Wa]=(0,re.useState)([]),[Ra,Na]=(0,re.useState)([]),[vr,qo]=(0,re.useState)("all"),[Mo,_o]=(0,re.useState)("all");let[tr,Jo]=(0,re.useState)(!0);const[ka,Oo]=(0,re.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[Vn,Ht]=(0,re.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),xl={selectedRowKeys:Zn,columnWidth:40,hideSelectAll:!0,onSelect:(nn,Wn,$a)=>{let Ma=!0;for(let zt=0;zt{if(nn&&$a.length>0){$a.forEach(Ma=>{Zn.push(Ma.user_id),Ra.push(Ma)}),Wa([...Zn]),Na([...Ra]);return}if(!nn&&$a.length>0){let Ma=[],zt=[];const Yo=new Set($a),sl=new Set(Zn),gl=new Set(Ra);Ma=[...sl].filter(Pr=>[...Yo].every(Nl=>Nl.user_id!==Pr)),zt=[...gl].filter(Pr=>[...Yo].every(Nl=>Nl.user_id!==Pr.user_id)),Wa([...Ma]),Na([...zt])}}};(0,re.useEffect)(()=>{ee&&He&&(Wa([...He]),Na(Gt))},[ee,He]),(0,re.useEffect)(()=>{ee&&(!ht&&Bt?Vn.status=Bt:Vn.status=null,Ht(ji({},Vn)),Nn())},[ee,ht,Bt]);const No=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(nn,Wn,$a)=>Hr.createElement("span",{style:{color:"#333"}},$a+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(nn,Wn,$a)=>Hr.createElement("span",null,nn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(nn,Wn,$a)=>Hr.createElement("span",{style:{color:"#666"}},nn)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(nn,Wn)=>Hr.createElement("span",null,nn)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(nn,Wn)=>Hr.createElement("span",null,nn||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(nn,Wn)=>Hr.createElement("span",null,nn)}].filter(nn=>Bt===1||Bt===2?nn.title!=="\u72B6\u6001":!0),Nn=()=>Bs(void 0,null,function*(){var nn,Wn,$a;fo(!0);const Ma=yield(0,x.ZP)(`/api/exercises/${gt.categoryId||rn}/wait_make_up_students.json`,{method:"get",params:Ou(ji({},Vn),{keywords:(nn=Vn==null?void 0:Vn.keywords)==null?void 0:nn.trim()})});if(Ma.status===0){const zt=(($a=(Wn=Ma==null?void 0:Ma.data)==null?void 0:Wn.all_course_groups)==null?void 0:$a.map(Yo=>({value:Yo==null?void 0:Yo.id,label:Yo==null?void 0:Yo.name})))||[];Oo([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...zt]),Lo(Ma.data)}fo(!1)}),jo=()=>{Vn.page=1,Vn.status=null,Vn.course_group_id=null,Vn.keywords="",qo("all"),_o("all"),Wa([]),Na([]),Ht(ji({},Vn)),ht&&ge(Zn==null?void 0:Zn.length,Zn,Ra)},Mr=()=>{Vn.page=1,Vn.status=null,Vn.course_group_id=null,Vn.keywords="",Ht(ji({},Vn)),qo("all"),_o("all"),Wa([]),Na([]),he(!1)};return Hr.createElement(Fe.default,{centered:!0,className:Eu.cstuModal,title:Bt===1?"\u7F3A\u8003\u5B66\u751F":Bt===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ee,width:1200,footer:null,onCancel:()=>{Mr()}},Hr.createElement(Ft.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},Hr.createElement(Ft.Z,null,Hr.createElement(Be.Z,null,Hr.createElement(le.default,{size:"large",value:vr,style:{width:200,marginRight:20},onChange:nn=>{qo(nn),nn==="all"?Vn.course_group_id=null:Vn.course_group_id=nn,Vn.page=1,Ht(ji({},Vn)),Nn()},options:ka})),ht&&Hr.createElement(Be.Z,null,Hr.createElement(le.default,{size:"large",value:Mo,style:{width:200},onChange:nn=>{_o(nn),nn==="all"?Vn.status=null:Vn.status=nn,Vn.page=1,Ht(ji({},Vn)),Nn()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),Hr.createElement(Be.Z,null,Hr.createElement(ct.t7,{style:{width:300,marginLeft:15},value:Vn.keywords,allowClear:!0,onChange:nn=>{Vn.keywords=nn,Vn.page=1,Ht(ji({},Vn)),Nn()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),Hr.createElement(Ft.Z,{align:"middle",className:"mb30"},Hr.createElement(Be.Z,{span:14},Hr.createElement("div",{className:"flexd-table-header"},Hr.createElement(ot.default,{pagination:!1,dataSource:[],columns:No,rowSelection:ht?xl:null,rowKey:nn=>nn.user_id})),Hr.createElement("div",null,Hr.createElement(ot.default,{rowSelection:ht?xl:null,columns:No,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:nn=>nn.user_id,loading:ko,dataSource:ea==null?void 0:ea.exercise_users,onChange:(nn,Wn,$a)=>{Vn.page=nn==null?void 0:nn.current,Vn.limit=nn==null?void 0:nn.pageSize,$a!=null&&$a.order?(Vn.sort_by=$a==null?void 0:$a.field,Vn.direction=($a==null?void 0:$a.order)==="ascend"?"asc":"desc"):(Vn.sort_by=null,Vn.direction=null),Ht(ji({},Vn)),Nn()},pagination:!1}))),Hr.createElement(Be.Z,{span:1},Hr.createElement("img",{src:we,style:{marginLeft:10}})),Hr.createElement(Be.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},Hr.createElement("div",{className:Eu.searchMember,style:{width:550}},Hr.createElement(Ft.Z,{className:Eu.searchMemberHeader},Hr.createElement(Be.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),Hr.createElement(Be.Z,{flex:"110px"},"\u5B66\u53F7"),Hr.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),Hr.createElement("div",{style:{overflow:"auto",height:390}},Ra==null?void 0:Ra.map((nn,Wn)=>Hr.createElement(Ft.Z,{key:Wn,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},Hr.createElement(Be.Z,{flex:"100px"},nn.user_name),Hr.createElement(Be.Z,{flex:"110px"},nn.student_id),Hr.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},nn.user_group_name),Hr.createElement(Be.Z,{style:{marginLeft:10}},Hr.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{Na(Ra.filter($a=>$a.user_id!=nn.user_id)),Wa(Zn.filter($a=>$a!=nn.user_id))}})))))))),!(Bt===1||Bt===2)&&Hr.createElement("div",{className:Eu.bottom},Hr.createElement(Ie.ZP,{className:Eu.no,onClick:()=>{Mr()}},"\u53D6\u6D88"),Hr.createElement(Ie.ZP,{loading:Nt,type:"primary",onClick:()=>{jo()}},"\u786E\u5B9A")))};var bs=(0,Pe.connect)(({})=>({}))(zs),$i={contentInterval:"contentInterval___exfzZ",numberInput:"numberInput___uwvXH",minorRuleText:"minorRuleText___Mp9Y2",failedList:"failedList___XUK6Y",name:"name___dS7W9",publish:"publish___Qpw4v"},co=te(59301),Ds=Object.defineProperty,rs=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,ws=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,Su=(ee,he,ge)=>he in ee?Ds(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,gu=(ee,he)=>{for(var ge in he||(he={}))Hs.call(he,ge)&&Su(ee,ge,he[ge]);if(ws)for(var ge of ws(he))Ls.call(he,ge)&&Su(ee,ge,he[ge]);return ee},Yu=(ee,he)=>rs(ee,Zs(he)),bu=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});function Du(ee,he){const ge=[];for(let He=ee;He{let he=new Date;const ge=fe()(ee).format("HH");if(fe()(ee).isSame(fe()(he),"day")){const He=fe()(he).format("HH"),Gt=fe()(he).format("mm");return{disabledHours:()=>Du(0,24).splice(1,He*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",ge,He),fe()(ee).isSame(fe()(he),"hour")&&ge<=He?Du(0,60).splice(0,Gt):Du(60,60))}}else if(fe()(ee).isSame(fe()(),"day")){const He=fe()().format("HH"),Gt=fe()().format("mm");return{disabledHours:()=>Du(0,24).splice(0,He),disabledMinutes:()=>ge<=He?Du(0,Gt):Du(60,60)}}else return!1},Se=({exercise:ee,dispatch:he})=>{var ge,He,Gt,ht,Bt,rn,gt,Nt,Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr;const Jo=(0,Pe.useParams)(),[ka]=z.default.useForm(),[Oo,Vn]=(0,re.useState)(1),[Ht,xl]=(0,re.useState)([]),[No,Nn]=(0,re.useState)(!0),[jo,Mr]=(0,re.useState)([]),[nn,Wn]=(0,re.useState)(!0),[$a,Ma]=(0,re.useState)(!1),{workSetting:zt}=ee,[Yo,sl]=(0,re.useState)(!1),[gl,Pr]=(0,re.useState)([]),[Nl,Er]=(0,re.useState)([]),[Mt,bt]=(0,re.useState)(!1),[an,yt]=(0,re.useState)(!1),[Ea,or]=(0,re.useState)(!1),[jr,rl]=(0,re.useState)(null),[Uo,ni]=(0,re.useState)(1),[ru,Gi]=(0,re.useState)({}),[yu,lu]=(0,re.useState)({}),[zu,iu]=(0,re.useState)(!1);(0,re.useEffect)(()=>{var ma;if(ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(ya(),Wi(),ee.actionTabs.type===2)){const eo=(ma=ee.actionTabs)==null?void 0:ma.unified_setting;Wn(eo)}},[ee.actionTabs]),(0,re.useEffect)(()=>{var ma,eo,ba,Io,ga,Ua,wr;(ma=zt==null?void 0:zt.exercise)!=null&&ma.publish_time&&ka.setFieldsValue({publish_time:fe()((eo=zt==null?void 0:zt.exercise)==null?void 0:eo.publish_time)}),(ba=zt==null?void 0:zt.exercise)!=null&&ba.end_time&&ka.setFieldsValue({end_time:fe()((Io=zt==null?void 0:zt.exercise)==null?void 0:Io.end_time)}),ka.setFieldsValue({exercise_type:(ga=zt==null?void 0:zt.exercise)==null?void 0:ga.exercise_type,simulate_exercise_num:(Ua=zt==null?void 0:zt.exercise)==null?void 0:Ua.simulate_exercise_num}),ni((wr=zt==null?void 0:zt.exercise)==null?void 0:wr.exercise_type)},[ee]);const kt=ma=>{var eo;const ba=ka.getFieldValue("publish_time");if(!ba||(eo=zt==null?void 0:zt.exercise)!=null&&eo.publish_time)return;let Io;ma===1?Io=fe()(ba).add(120,"minutes"):Io=fe()(ba).add(7,"days"),ka.setFieldsValue({end_time:Io})},ya=ma=>bu(void 0,null,function*(){var eo,ba;Nn(!0);const Io=yield(0,it.N3)({coursesId:Jo.coursesId,check_ids:[...((eo=ee.actionTabs.selectArrs)==null?void 0:eo.map(Ua=>Number(Ua)))||[]]});console.log(Io,"res");const ga=((ba=Io==null?void 0:Io.course_info)==null?void 0:ba.map((Ua,wr)=>Yu(gu({},Ua),{key:Ua.course_group_id,title:Ua.course_group_name,name:Ua.course_group_name,disabled:!!Ua.is_published})))||[];if((Io==null?void 0:Io.status)!==-1){xl([...ga]);const Ua=fe()();ka.setFieldsValue({publish_time:Ua}),(ka.getFieldValue("exercise_type")||1)===1?ka.setFieldsValue({end_time:fe()(Ua).add(120,"minutes")}):ka.setFieldsValue({end_time:fe()(Ua).add(7,"days")})}Nn(!1)});(0,re.useEffect)(()=>{var ma,eo,ba,Io,ga,Ua;if((ma=zt==null?void 0:zt.exercise)!=null&&ma.is_appoint_user){const wr=((ba=(eo=zt==null?void 0:zt.exercise)==null?void 0:eo.all_exercise_users)==null?void 0:ba.map(ho=>ho.user_id))||[];Pr([...wr])}bt((Io=zt==null?void 0:zt.exercise)==null?void 0:Io.is_appoint_user),yt((ga=zt==null?void 0:zt.exercise)==null?void 0:ga.is_miss_exam_user),or((Ua=zt==null?void 0:zt.exercise)==null?void 0:Ua.is_no_passing_user)},[zt]),(0,re.useEffect)(()=>{var ma,eo,ba,Io,ga,Ua,wr,ho;(eo=(ma=ee==null?void 0:ee.actionTabs)==null?void 0:ma.selectArrs)!=null&&eo[0]&&ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&he({type:"exercise/getWorkSetting",payload:{categoryId:(Io=(ba=ee==null?void 0:ee.actionTabs)==null?void 0:ba.selectArrs)==null?void 0:Io[0],category:(Ua=(ga=ee==null?void 0:ee.actionTabs)==null?void 0:ga.selectArrs)==null?void 0:Ua[0],coursesId:(ho=(wr=ee==null?void 0:ee.actionTabs)==null?void 0:wr.params)==null?void 0:ho.id}})},[(ge=ee==null?void 0:ee.actionTabs)==null?void 0:ge.selectArrs]);const Cl=()=>bu(void 0,null,function*(){var ma,eo,ba,Io,ga,Ua,wr;const ho=gu({},ka.getFieldsValue()),Pu=fe()(fe()(ho.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),vc=fe()(fe()(ho.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Pu,Pu,33),vc<=Pu){xe.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((jo==null?void 0:jo.length)<=0&&!nn&&Ht.length>0&&!((ma=zt==null?void 0:zt.exercise)!=null&&ma.is_make_up_exercise)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const kc=Ht.map(cl=>cl.key),Xl={check_ids:[...((eo=ee.actionTabs.selectArrs)==null?void 0:eo.map(cl=>Number(cl)))||[]],end_time:fe()(ho.end_time).format("YYYY-MM-DD HH:mm"),publish_time:fe()(ho.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:jo.map(cl=>cl.course_group_id),unified_setting:!jo.length,exercise_type:ho.exercise_type,simulate_exercise_num:ho.simulate_exercise_num};if(((ba=ee.actionTabs.selectArrsAll)==null?void 0:ba.length)>0&&ee.actionTabs.type===1&&(Xl.check_ids=[...((ga=(Io=ee.actionTabs.selectArrsAll)==null?void 0:Io.filter(cl=>!cl.high_resources_consume||cl.high_resources_consume_permission))==null?void 0:ga.map(cl=>Number(cl==null?void 0:cl.id)))||[]]),(Ua=zt==null?void 0:zt.exercise)!=null&&Ua.is_make_up_exercise){if(Mt&&gl.length<=0||!Mt&&!(an||Ea)){xe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Xl.is_appoint_user=Mt,Xl.is_miss_exam_user=an,Xl.is_no_passing_user=Ea,Mt?Xl.make_up_exercise_users=gl.map(cl=>({user_id:cl})):Xl.make_up_exercise_user=[]}let{is_locked:hc,open_camera:Ec,screen_open:Sc,login_restrict:yc,ip_bind:Pc,ip_limit:Js,is_random:Xs,id:qs,identity_verify:Ac,open_phone_video_recording:xc}=zt==null?void 0:zt.exercise;if(ee.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(hc||Ec||Sc||yc||Pc||Js=="pub"||Js=="inner"||Ac||xc)&&ho.exercise_type==2){if(he({type:"exercise/setActionTabs",payload:{}}),ee.actionTabs.type==2){let cl=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:co.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",co.createElement("span",{style:{color:"#FA6400"}}," ",(0,a.hi)(zt==null?void 0:zt.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>bu(void 0,null,function*(){var Au;iu(!0);let Ui=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Jo.coursesId,type:"exercise"});if((Ui==null?void 0:Ui.student_count)===0){if((yield Ei(Xl))&&ee.actionTabs.isRouter){cl.destroy(),Pe.history.push(`/classrooms/${Jo.coursesId}/exercise/${qs}/detail?random=${Xs}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else lu(Xl),Gi(Ui)}),onCancel:()=>{cl.destroy(),iu(!1),Ei(Xl)}})}else{let cl=Fe.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:co.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>bu(void 0,null,function*(){var Au;iu(!0);let Ui=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Jo.coursesId,type:"exercise"});if((Ui==null?void 0:Ui.student_count)===0){if((yield Ei(Xl))&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Jo.coursesId}/exercise/${qs}/detail?random=${Xs}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else lu(Xl),Gi(Ui)})})}return}let As=yield(0,Le.Tr)({exercise_ids:[...((wr=ee.actionTabs.selectArrs)==null?void 0:wr.map(cl=>Number(cl)))||[]],course_id:Jo.coursesId,type:"exercise"});(As==null?void 0:As.student_count)===0?Ei(Xl):(lu(Xl),Gi(As))}),ml=()=>{var ma;let eo=[...(ma=ee.actionTabs.selectArrsAll)==null?void 0:ma.filter(ba=>ba.high_resources_consume&&!ba.high_resources_consume_permission)];(eo==null?void 0:eo.length)>0&&ee.actionTabs.type===1&&Fe.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:co.createElement("div",null,co.createElement("div",{className:$i.tipcontent},co.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",eo==null?void 0:eo.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),co.createElement("div",{className:"mt20 mb20"},eo==null?void 0:eo.map(ba=>co.createElement("div",{className:$i.failedList,key:ba.id},co.createElement("div",{className:$i.name},ba==null?void 0:ba.exercise_name),co.createElement("div",{className:$i.publish,onClick:()=>{(0,a.xg)(`/classrooms/${Jo.coursesId}/exercise/${ba.id}/detail?random=${ba.is_random}`)}},"\u53D1\u5E03"))))))})},Ei=ma=>bu(void 0,null,function*(){var eo,ba,Io;if(ee.actionTabs.type===1){let wr=[...(eo=ee.actionTabs.selectArrsAll)==null?void 0:eo.filter(ho=>ho.high_resources_consume&&!ho.high_resources_consume_permission)];if((wr==null?void 0:wr.length)==ee.actionTabs.selectArrsAll.length){he({type:"exercise/setActionTabs",payload:{}}),ml();return}}let ga=!1;return Ma(!0),(yield(0,x.ZP)(`/api/courses/${Jo.coursesId}/exercises/publish.json`,{method:"post",body:ma})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Wi(),xe.ZP.success("\u53D1\u5E03\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),(ba=ee==null?void 0:ee.actionTabs)!=null&&ba.cb?(Io=ee==null?void 0:ee.actionTabs)==null||Io.cb():he({type:"classroomList/getClassroomExercisesList",payload:gu({},ee.actionTabs.params)}),ga=!0,ee.actionTabs.type===1&&ml()),Ma(!1),ga}),Wi=()=>{Vn(1),xl([]),Mr([])},vu=(ma,eo,ba)=>{ma<=0?xe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(Pr(eo),Er(ba),sl(!1))};return co.createElement(Fe.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:Cl,confirmLoading:$a||No,onCancel:()=>{Wi(),he({type:"exercise/setActionTabs",payload:{}})}},co.createElement(Ze.Z,{spinning:No},Ht&&co.createElement(z.default,{form:ka},!!((He=ee==null?void 0:ee.actionTabs)!=null&&He.disabled)&&co.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},co.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((Gt=zt==null?void 0:zt.exercise)!=null&&Gt.is_make_up_exercise)&&co.createElement(co.Fragment,null,co.createElement(Ft.Z,null,co.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},co.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),co.createElement(z.default.Item,{name:"exercise_type"},co.createElement(Ut.ZP.Group,{disabled:((ht=zt==null?void 0:zt.exercise)==null?void 0:ht.exercise_status)>1,onChange:ma=>{ni(ma.target.value),kt(ma.target.value)}},co.createElement(Ut.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),co.createElement(Ut.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Uo==2&&co.createElement(Ft.Z,{className:`${$i.contentInterval}`},co.createElement("span",{className:`${$i.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),co.createElement(z.default.Item,{name:"simulate_exercise_num"},co.createElement(ae.Z,{className:$i.numberInput,style:{width:145},precision:0,size:"middle",disabled:((Bt=zt==null?void 0:zt.exercise)==null?void 0:Bt.exercise_status)>1,min:1,max:999})),co.createElement("span",null,"\u6B21",co.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),co.createElement(Ft.Z,null,co.createElement("span",{className:"mr10 mt5"},co.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),co.createElement(z.default.Item,{name:"publish_time"},co.createElement(dn.default,{style:{width:170},disabledDate:ma=>ma&&ma<=fe()().subtract(0,"days"),disabledTime:pe,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),co.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),co.createElement(z.default.Item,{name:"end_time"},co.createElement(dn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,a.U6)(),"HH:mm")},disabledDate:ma=>ma&&ma{var ba,Io,ga,Ua,wr;if(bt(ma),ma)if((ba=zt==null?void 0:zt.exercise)!=null&&ba.is_appoint_user){const ho=(ga=(Io=zt==null?void 0:zt.exercise)==null?void 0:Io.all_exercise_users)==null?void 0:ga.map(Pu=>Pu.user_id);Pr([...ho])}else Pr([]),yt(!1),or(!1);else yt((Ua=zt==null?void 0:zt.exercise)==null?void 0:Ua.is_miss_exam_user),or((wr=zt==null?void 0:zt.exercise)==null?void 0:wr.is_no_passing_user)},disabled:((gt=zt==null?void 0:zt.exercise)==null?void 0:gt.exercise_status)!==1}),co.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Mt&&co.createElement(Ft.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},co.createElement(Ne.default,{checked:an,disabled:((Nt=zt==null?void 0:zt.exercise)==null?void 0:Nt.exercise_status)!==1||((Qo=zt==null?void 0:zt.exercise)==null?void 0:Qo.miss_exam_count)<=0,onChange:ma=>{yt(ma.target.checked)}},co.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),co.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{rl(1),bt(!1),sl(!0)}},"\uFF08",`${(ko=zt==null?void 0:zt.exercise)==null?void 0:ko.miss_exam_count}\u4EBA`,"\uFF09"),co.createElement(Ne.default,{checked:Ea,disabled:((fo=zt==null?void 0:zt.exercise)==null?void 0:fo.exercise_status)!==1||((ea=zt==null?void 0:zt.exercise)==null?void 0:ea.no_passing_count)<=0,onChange:ma=>{or(ma.target.checked)}},co.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),co.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{rl(2),bt(!1),sl(!0)}},"\uFF08",`${(Lo=zt==null?void 0:zt.exercise)==null?void 0:Lo.no_passing_count}\u4EBA`,"\uFF09")),Mt&&co.createElement(Ft.Z,{className:"mt20",style:{paddingLeft:"90px"}},co.createElement(Ie.ZP,{type:"primary",ghost:!0,disabled:((Zn=zt==null?void 0:zt.exercise)==null?void 0:Zn.exercise_status)!==1,onClick:()=>{sl(!0),rl(void 0)}},co.createElement("span",null,co.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),co.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),co.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${gl.length||0} \u4EBA`,"\uFF09"))),ee.actionTabs.type===2&&!((Wa=zt==null?void 0:zt.exercise)!=null&&Wa.is_make_up_exercise)&&co.createElement(Ft.Z,{style:{marginBottom:"10px"}},co.createElement("span",{className:"mr10"},co.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),co.createElement(Ut.ZP.Group,{value:nn,onChange:ma=>{Wn(ma.target.value),Mr([])}},co.createElement(Ut.ZP,{disabled:!!((Ra=ee==null?void 0:ee.actionTabs)!=null&&Ra.disabled)||Ht.some(ma=>ma==null?void 0:ma.is_published)||!((Na=ee==null?void 0:ee.actionTabs)!=null&&Na.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),co.createElement(Ut.ZP,{disabled:Ht.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Ht.length<=0&&ee.actionTabs.type===2&&!((vr=zt==null?void 0:zt.exercise)!=null&&vr.is_make_up_exercise)&&co.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ee.actionTabs.type===1||!nn)&&!((qo=zt==null?void 0:zt.exercise)!=null&&qo.is_make_up_exercise)&&Ht.length>0&&co.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},co.createElement("span",{style:{flex:1}},co.createElement(Ne.default,{checked:jo.length===Ht.length,onChange:ma=>{jo.length===Ht.length?Mr([]):Mr(Ht)}},"\u5168\u9009")),co.createElement("span",{style:{width:16}}),co.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",jo.length||0,"\u4E2A\u5206\u73ED")),(ee.actionTabs.type===1||!nn)&&!((Mo=zt==null?void 0:zt.exercise)!=null&&Mo.is_make_up_exercise)&&Ht.length>0&&co.createElement(Wu.Z,{data:Ht,selectedRowKeys:jo,setSelectedRowKeys:Mr})),co.createElement(bs,{visible:Yo,setVisible:sl,onK:vu,selectKeys:gl,selectRows:Nl,appointStudent:Mt,modalParams:jr,courseId:Jo.categoryId||((tr=(_o=ee==null?void 0:ee.actionTabs)==null?void 0:_o.selectArrs)==null?void 0:tr[0])})),co.createElement(Ue.Z,{resdata:ru,type:"exercisepush",okloading:$a,oktext:(ru==null?void 0:ru.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ma=>bu(void 0,null,function*(){var eo,ba,Io;Ma(!0);let ga=yield(0,x.ZP)(`/api/courses/${Jo.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((eo=ee.actionTabs.selectArrs)==null?void 0:eo.map(Ua=>Number(Ua)))||[]]}});if(Ma(!1),(ga==null?void 0:ga.status)===0)if(zu){let Ua=yield Ei(yu);if(Fe.default.destroyAll(),Ua&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Jo.coursesId}/exercise/${(ba=zt==null?void 0:zt.exercise)==null?void 0:ba.id}/detail?random=${(Io=zt==null?void 0:zt.exercise)==null?void 0:Io.is_random}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else Ei(yu)})}))};var Ae=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Se),qe=Object.defineProperty,et=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,xn=(ee,he,ge)=>he in ee?qe(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,qn=(ee,he)=>{for(var ge in he||(he={}))cn.call(he,ge)&&xn(ee,ge,he[ge]);if(At)for(var ge of At(he))ln.call(he,ge)&&xn(ee,ge,he[ge]);return ee},wn=(ee,he)=>et(ee,Ot(he)),Ln=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});function _n(ee,he){const ge=[];for(let He=ee;He{let he=new Date;const ge=fe()(ee).format("HH");if(fe()(ee).isSame(fe()(he),"day")){const He=fe()(he).format("HH"),Gt=fe()(he).format("mm");return{disabledHours:()=>_n(0,24).splice(1,He*1-1),disabledMinutes:()=>fe()(ee).isSame(fe()(he),"hour")&&ge<=He?_n(0,60).splice(0,Gt):_n(60,60)}}else if(fe()(ee).isSame(fe()(),"day")){const He=fe()().format("HH"),Gt=fe()().format("mm");return{disabledHours:()=>_n(0,24).splice(0,He),disabledMinutes:()=>ge<=He?_n(0,Gt):_n(60,60)}}else return!1},un=({exercise:ee,dispatch:he})=>{var ge;const He=(0,Pe.useParams)(),[Gt]=z.default.useForm(),[ht,Bt]=(0,re.useState)(1),[rn,gt]=(0,re.useState)([]),[Nt,Qo]=(0,re.useState)(!0),[ko,fo]=(0,re.useState)([]),[ea,Lo]=(0,re.useState)(!0),[Zn,Wa]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Ra()},[ee.actionTabs]);const Ra=qo=>Ln(void 0,null,function*(){var Mo,_o;Qo(!0);const tr=yield he({type:"exercise/getEndGroups",payload:wn(qn({},He),{check_ids:[...((Mo=ee.actionTabs.selectArrs)==null?void 0:Mo.map(ka=>Number(ka)))||[]]})}),Jo=(_o=tr==null?void 0:tr.course_info)==null?void 0:_o.map((ka,Oo)=>wn(qn({},ka),{key:ka.course_group_id,title:ka.course_group_name,name:ka.course_group_name,disabled:!!ka.is_published}));tr&&(tr!=null&&tr.course_info)&&(gt([...Jo]),Gt.setFieldsValue({end_time:fe()(fe()(new Date((0,a.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),Qo(!1)}),Na=()=>Ln(void 0,null,function*(){var qo,Mo,_o,tr;const Jo=qn({},Gt.getFieldsValue());if((ko==null?void 0:ko.length)<=0&&rn.length>0&&!((qo=ee.actionTabs)!=null&&qo.unified_setting)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}Wa(!0);const ka={check_ids:[...((Mo=ee.actionTabs.selectArrs)==null?void 0:Mo.map(Vn=>Number(Vn)))||[]],group_ids:ko};ea||(ka.end_time=fe()(Jo.end_time).format("YYYY-MM-DD HH:mm")),ka.group_ids=ko.map(Vn=>Vn.course_group_id),(yield(0,x.ZP)(`/api/courses/${He.coursesId}/exercises/end_exercise.json`,{method:"post",body:ka})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),he({type:"exercise/setActionTabs",payload:{}}),(_o=ee==null?void 0:ee.actionTabs)!=null&&_o.cb?(tr=ee==null?void 0:ee.actionTabs)==null||tr.cb():he({type:"classroomList/getClassroomExercisesList",payload:qn({},ee.actionTabs.params)})),Wa(!1)}),vr=()=>{Bt(1),gt([]),fo([]),Lo(!0)};return re.createElement(Fe.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Na,width:680,confirmLoading:Zn||Nt,onCancel:()=>{vr(),he({type:"exercise/setActionTabs",payload:{}})}},re.createElement(Ze.Z,{spinning:Nt},rn&&re.createElement(z.default,{form:Gt},re.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},re.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),re.createElement(Ft.Z,{className:"mt20 mb10"},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),re.createElement(Ut.ZP.Group,{value:ea,onChange:qo=>{Lo(qo.target.value),fo([])}},re.createElement(Ut.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),re.createElement(Ut.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),re.createElement(z.default.Item,{name:"end_time",style:{marginTop:-3,visibility:ea?"hidden":"visible"}},re.createElement(dn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,a.U6)(),"HH:mm")},disabledDate:qo=>qo&&qo0&&!((ge=ee.actionTabs)!=null&&ge.unified_setting)&&re.createElement(Ft.Z,{style:{marginBottom:"10px"}},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),re.createElement("div",null,rn.length>0&&re.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},re.createElement("span",{style:{flex:1}},re.createElement(Ne.default,{checked:ko.length===rn.length,onChange:qo=>{ko.length===rn.length?fo([]):fo(rn)}},"\u5168\u9009")," "),re.createElement("span",{style:{width:16}}),re.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ko.length||0,"\u4E2A\u5206\u73ED")),re.createElement(Wu.Z,{data:rn,selectedRowKeys:ko,setSelectedRowKeys:fo}))))))};var bn=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(un),Qn=Object.defineProperty,ja=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,Qa=(ee,he,ge)=>he in ee?Qn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Ka=(ee,he)=>{for(var ge in he||(he={}))Ca.call(he,ge)&&Qa(ee,ge,he[ge]);if(ja)for(var ge of ja(he))_a.call(he,ge)&&Qa(ee,ge,he[ge]);return ee},xa=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Dr=({exercise:ee,dispatch:he})=>{const ge=(0,Pe.useParams)();return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ee.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>xa(void 0,null,function*(){(yield(0,x.ZP)(`/api/courses/${ge.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ee.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),he({type:"classroomList/getClassroomExercisesList",payload:Ka({},ee.actionTabs.params)}))}),onCancel:()=>{he({type:"exercise/setActionTabs",payload:{}})}},re.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",re.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var ar=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Dr),Lr=Object.defineProperty,Tr=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,Pl=Object.prototype.propertyIsEnumerable,zl=(ee,he,ge)=>he in ee?Lr(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,al=(ee,he)=>{for(var ge in he||(he={}))ll.call(he,ge)&&zl(ee,ge,he[ge]);if(Tr)for(var ge of Tr(he))Pl.call(he,ge)&&zl(ee,ge,he[ge]);return ee},zr=(ee,he)=>{var ge={};for(var He in ee)ll.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&Tr)for(var He of Tr(ee))he.indexOf(He)<0&&Pl.call(ee,He)&&(ge[He]=ee[He]);return ge},_r=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const hl=ee=>{var he=ee,{exercise:ge,dispatch:He,user:Gt}=he,ht=zr(he,["exercise","dispatch","user"]),Bt,rn;const gt=(0,Pe.useParams)(),[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1),ea=(0,re.useRef)(null);(0,re.useEffect)(()=>{var Zn,Wa;if(ge.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,oe.j5)()){fo(!0);return}const Ra={hasNum:0,noHasNum:0};(Wa=(Zn=ge==null?void 0:ge.actionTabs)==null?void 0:Zn.selectArrsAll)==null||Wa.map(Na=>{var vr;Na.author_login===((vr=Gt.userInfo)==null?void 0:vr.login)?++Ra.hasNum:++Ra.noHasNum}),Ra.noHasNum>0?Fe.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:re.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",re.createElement("span",{className:"c-blue"},Ra.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",re.createElement("span",{className:"c-red"},Ra.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",re.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Lo()}}):fo(!0)}else fo(!1)},[ge.actionTabs.key]);const Lo=()=>{He({type:"exercise/setActionTabs",payload:{}})};return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ko,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Nt,destroyOnClose:!0,onOk:()=>_r(void 0,null,function*(){var Zn;if((Zn=ea.current)!=null&&Zn.onVerify())return;Qo(!0);const Wa=yield(0,x.ZP)(`/api/courses/${gt.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...ge.actionTabs.selectArrs]}});Qo(!1),Wa.status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),xe.ZP.success("\u5220\u9664\u6210\u529F"),He({type:"exercise/setActionTabs",payload:{}}),He({type:"classroomList/getClassroomExercisesList",payload:al({},ge.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:al({},ge.actionTabs.params)}))}),onCancel:()=>{He({type:"exercise/setActionTabs",payload:{}})}},!((Bt=ge==null?void 0:ge.actionTabs)!=null&&Bt.status)||!["\u672A\u5F00\u59CB"].includes((rn=ge==null?void 0:ge.actionTabs)==null?void 0:rn.status)?re.createElement(re.Fragment,null,re.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),re.createElement(St.Z,{ref:Zn=>ea.current=Zn})):re.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var Fl=(0,Pe.connect)(({exercise:ee,user:he})=>({exercise:ee,user:he}))(hl),Jr=Object.getOwnPropertySymbols,ol=Object.prototype.hasOwnProperty,ri=Object.prototype.propertyIsEnumerable,Vl=(ee,he)=>{var ge={};for(var He in ee)ol.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&Jr)for(var He of Jr(ee))he.indexOf(He)<0&&ri.call(ee,He)&&(ge[He]=ee[He]);return ge},ye=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Ce=ee=>{var he=ee,{exercise:ge,dispatch:He}=he,Gt=Vl(he,["exercise","dispatch"]);const ht=(0,Pe.useParams)();return ht.id=ht.coursesId,(0,re.useEffect)(()=>{ge.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>ye(void 0,null,function*(){(yield(0,x.ZP)(`/api/courses/${ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...ge.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),xe.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),He({type:"exercise/setActionTabs",payload:{}})}))},[ge.actionTabs.key]),re.createElement(re.Fragment,null)};var Ke=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Ce),Ve={flex_box_center:"flex_box_center___CNQHU",flex_space_between:"flex_space_between___qsDOu",flex_box_vertical_center:"flex_box_vertical_center___iKKg9",flex_box_center_end:"flex_box_center_end___aCmKh",flex_box_column:"flex_box_column___mXBIE",bg:"bg___FnTgr",containerTitle:"containerTitle___HZdw3",containerDesc:"containerDesc___MrGYv",tablestyle:"tablestyle___Ef1u5",listItem:"listItem___ol4Bd",info:"info___Uc7Ha",title:"title___AlzFu",titleLeft:"titleLeft___Avinm",titleRight:"titleRight___AYJHU",flexBox:"flexBox___IGR6d",iconV:"iconV___WirdJ",acitons:"acitons___VhyxD",moveCategory:"moveCategory___QQQOY",name:"name___cKK1Q",categoryName:"categoryName___EsAA9",schedule:"schedule___asfSm",fnSign:"fnSign___vsajc",spanSize:"spanSize___MqQy2",classromediv:"classromediv___j4dHG",glow:"glow___fcHVY",popover:"popover___bOtgn",dot:"dot___uMZO4",moni:"moni___KMHkN",authorized:"authorized___awAlQ"},ut=Object.defineProperty,st=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Ct=(ee,he,ge)=>he in ee?ut(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Xt=(ee,he)=>{for(var ge in he||(he={}))Lt.call(he,ge)&&Ct(ee,ge,he[ge]);if(st)for(var ge of st(he))Dt.call(he,ge)&&Ct(ee,ge,he[ge]);return ee};const Wt=ee=>React.createElement("svg",Xt({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var Vt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Bn=Object.defineProperty,Cn=Object.getOwnPropertySymbols,Dn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Gn=(ee,he,ge)=>he in ee?Bn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,aa=(ee,he)=>{for(var ge in he||(he={}))Dn.call(he,ge)&&Gn(ee,ge,he[ge]);if(Cn)for(var ge of Cn(he))Un.call(he,ge)&&Gn(ee,ge,he[ge]);return ee};const Xn=ee=>React.createElement("svg",aa({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var sa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44dj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VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z",po=Object.defineProperty,za=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,Wo=Object.prototype.propertyIsEnumerable,va=(ee,he,ge)=>he in ee?po(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Ga=(ee,he)=>{for(var ge in he||(he={}))io.call(he,ge)&&va(ee,ge,he[ge]);if(za)for(var ge of za(he))Wo.call(he,ge)&&va(ee,ge,he[ge]);return ee};const Fa=ee=>React.createElement("svg",Ga({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var oa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",ca=te(42882),Yt=te(59301),rr=Object.defineProperty,Ko=Object.defineProperties,Va=Object.getOwnPropertyDescriptors,er=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,lr=(ee,he,ge)=>he in ee?rr(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,il=(ee,he)=>{for(var ge in he||(he={}))ur.call(he,ge)&&lr(ee,ge,he[ge]);if(er)for(var ge of er(he))gr.call(he,ge)&&lr(ee,ge,he[ge]);return ee},Fr=(ee,he)=>Ko(ee,Va(he)),no=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Al=({v:ee,k:he,selectArrs:ge,setSelectArrs:He,dispatch:Gt,params:ht,classroomList:Bt,batchStatus:rn,manageAllGroup:gt,user:Nt})=>{var Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr,Jo,ka,Oo,Vn;const[Ht,xl]=(0,re.useState)([]),[No,Nn]=(0,re.useState)(!1),jo=(0,re.useRef)(),Mr=(0,re.useRef)();var nn=!1;const Wn="YYYY-MM-DD",$a=fe()("2020-11-15",Wn);function Ma(){return no(this,null,function*(){console.log(ht,222);let Mt=yield(0,x.ZP)(`/api/courses/${ht==null?void 0:ht.coursesId}/exercises/group_use_list.json`,{method:"get",params:Fr(il({},ht),{id:ee.id})});xl((Mt==null?void 0:Mt.groups)||[])})}const zt=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Yt.createElement(Yt.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ee!=null&&ee.appraise_label&&(nn=!0);const Yo=(Mt,bt=!1)=>{var an;Pe.history.push(`/classrooms/${ht.coursesId}/exercisenotice/${Mt.id}/users/${(an=(0,oe.eY)())==null?void 0:an.login}`)},sl=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Mt,bt)=>bt.exercise_status===Mt,render:(Mt,bt)=>Yt.createElement("div",null,Mt===1&&Yt.createElement("span",null,Yt.createElement("i",{className:Ve.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Mt===2&&Yt.createElement("span",null,Yt.createElement("i",{className:Ve.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Mt===3&&Yt.createElement("span",null,Yt.createElement("i",{className:Ve.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:ht.order_by==="publish_time"?ht.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:ht.order_by==="end_time"?ht.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Mt,bt)=>bt.exercise_status===1?"-":Yt.createElement("span",null,Mt,"/",bt.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Mt,bt)=>bt.exercise_status===1?"-":Mt===0?Yt.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Mt):Yt.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${bt.course_group_id}`)},Mt)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Mt,bt)=>bt.exercise_status===1?Yt.createElement("img",{style:{cursor:"not-allowed"},src:Vt}):Yt.createElement(ne.Z,{title:"\u8BC4\u9605"},Yt.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${bt.course_group_id}`)},Yt.createElement("img",{src:sa})))}],gl=Mt=>{if(nn)return Yt.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Mt!=null&&Mt.includes("\u672A\u5F00\u59CB"))return Yt.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Mt!=null&&Mt.includes("\u8003\u8BD5\u4E2D"))return Yt.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Mt!=null&&Mt.includes("\u5DF2\u622A\u6B62"))return Yt.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Mt!=null&&Mt.includes("\u5BFC\u5165"))return Yt.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},Pr=()=>{const Mt=(ee==null?void 0:ee.simulate_exercise_num)-(ee==null?void 0:ee.user_simulate_num);return Mt>=0?Mt:0},Nl=(Mt=ee)=>{var bt,an,yt;if(Mt!=null&&Mt.is_encrypt){Gt({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Mt==null?void 0:Mt.id,phone:(bt=Nt==null?void 0:Nt.userInfo)==null?void 0:bt.phone,login:(an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.login}});return}(yt=Nt==null?void 0:Nt.userInfo)!=null&&yt.phone?Gt({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Mt==null?void 0:Mt.id}}):Gt({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Er=Mt=>{var bt,an,yt;if(((bt=Nt==null?void 0:Nt.userInfo)==null?void 0:bt.login)!==(ee==null?void 0:ee.author_login)){xe.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Gt({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ee==null?void 0:ee.id,phone:(an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.phone,login:(yt=Nt==null?void 0:Nt.userInfo)==null?void 0:yt.login,onFinish:Mt}})};return Yt.createElement("div",{className:Ve.listItem,onClick:Mt=>{const bt=()=>{(!(0,oe.GJ)()||(0,oe.GJ)()&&Mr.current&&!Mr.current.contains(Mt.target))&&(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()}},(0,oe.GJ)()&&Yt.createElement("span",{ref:Mr},Yt.createElement(Ne.default,{checked:ge.includes(ee.id),value:ee.id,style:{padding:"10px"},onClick:Mt=>{Mt.stopPropagation()},disabled:(ee==null?void 0:ee.is_encrypt)||(ee==null?void 0:ee.is_make_up_exercise),onChange:Mt=>{let bt=ge.indexOf(ee.id);ge.indexOf(ee.id)>-1?He(ge.filter(an=>an!==ee.id)):He(ge.concat(ee.id))}})),Yt.createElement("div",{className:Ve.info},Yt.createElement("div",{className:Ve.title},Yt.createElement("div",{className:Ve.titleLeft,style:{marginRight:15}},gl(ee==null?void 0:ee.exercise_tips),(ee==null?void 0:ee.is_make_up_exercise)&&Yt.createElement("img",{src:qa,width:44,height:24,style:{marginRight:10}}),Yt.createElement(ne.Z,{title:ee.exercise_name},Yt.createElement("span",{className:Ve.name},ee.exercise_name)),(ee==null?void 0:ee.high_resources_consume)&&!(ee!=null&&ee.high_resources_consume_permission)&&Yt.createElement(Me.Z,{type:"exercise",style:{marginLeft:10}}),(ee==null?void 0:ee.high_resources_consume)&&(ee==null?void 0:ee.high_resources_consume_permission)&&Yt.createElement("span",{className:Ve.authorized},"\u5DF2\u6388\u6743"),((Qo=ee==null?void 0:ee.exercise_tips)==null?void 0:Qo.includes("\u5DF2\u622A\u6B62"))&&((ko=Bt==null?void 0:Bt.detailTopBanner)==null?void 0:ko.forbid_end_exercise)&&Yt.createElement(ne.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},Yt.createElement("img",{src:oa,width:20,className:"ml10"})),!ee.is_public&&(0,oe.GJ)()&&Yt.createElement(ne.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},Yt.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ee==null?void 0:ee.exercise_type)==2&&Yt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:Ve.moni},Yt.createElement("img",{src:ai,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((fo=ee==null?void 0:ee.exercise_tips)==null?void 0:fo.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&Yt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),((ea=ee==null?void 0:ee.exercise_tips)==null?void 0:ea.includes("\u5DF2\u622A\u6B62"))&&((Lo=ee==null?void 0:ee.exercise_tips)==null?void 0:Lo.includes("\u672A\u63D0\u4EA4"))&&Yt.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ee==null?void 0:ee.is_encrypt)&&Yt.createElement(ne.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",Yt.createElement("img",{src:bl,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),Yt.createElement("div",{className:Ve.titleRight,onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault()}},(ee==null?void 0:ee.appraise_setting)&&Yt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:()=>no(void 0,null,function*(){const Mt=()=>no(void 0,null,function*(){Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const bt=yield(0,x.ZP)(`/api/exercises/${ee.id}/create_appraise_students.json`,{method:"get"});Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee.id}/centralizeReview/${bt==null?void 0:bt.login}`)});if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()})},Yt.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),Yt.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&(!(ee!=null&&ee.is_make_up_exercise)||(ee==null?void 0:ee.is_make_up_exercise)&&(ee==null?void 0:ee.exercise_status)===1&&(ee==null?void 0:ee.allow_create_make_up))&&Yt.createElement(hi.Z,{tips:ee==null?void 0:ee.open_appraise},Yt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{var bt,an,yt;if(((bt=Nt==null?void 0:Nt.userInfo)==null?void 0:bt.user_status)===2){(0,ve.Rd)();return}if((0,oe.Rm)()&&!((yt=(an=Bt==null?void 0:Bt.AssistantObject)==null?void 0:an.exercise)!=null&&yt.can_publish)){xe.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}if((ee==null?void 0:ee.exercise_question_count)===0){xe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let Ea=()=>{Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ee.id],unified_setting:ee.unified_setting,params:ht,disabled:ee.exercise_status!==1,type:2,manage_all_group:gt,isRouter:!0}})};ee!=null&&ee.high_resources_consume&&!(ee!=null&&ee.high_resources_consume_permission)?Gt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ht.coursesId,type:"exercise",type_id:ee.id,name:ee.exercise_name,fn:()=>{Gt({type:"classroomList/getClassroomExercisesList",payload:il({},ht)}),Ea()}}}):Ea()};if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()}},Yt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),Yt.createElement("div",null,"\u53D1\u5E03"))),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&!(0,a._m)()&&ee.assistant_auth&&Yt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation();const bt=()=>{var an,yt;if((0,oe.Rm)()&&!((yt=(an=Bt==null?void 0:Bt.AssistantObject)==null?void 0:an.exercise)!=null&&yt.can_preview)){xe.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 Ea=fe()(ee.created_at,Wn);fe()($a).diff(fe()(Ea),"days")>0&&(ee!=null&&ee.is_random)?zt():ee!=null&&ee.is_random?(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/random/preview?random=${ee.is_random}`):(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=2`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()}},Yt.createElement("i",{className:"iconfont icon-yulan3"}),Yt.createElement("div",null,"\u9884\u89C8")),(0,oe.RV)()&&Yt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()}},Yt.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Yt.createElement("div",null,"\u8BE6\u60C5")),(0,oe.GJ)()&&!(0,a._m)()&&Yt.createElement(wa.Z,{placement:"bottom",content:Yt.createElement("div",{className:Ve.popover},!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Yt.createElement("p",{onClick:Mt=>no(void 0,null,function*(){const bt=()=>{(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=3`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u89C4\u5219\u8BBE\u7F6E"),(ee==null?void 0:ee.exercise_tips.includes("\u5BFC\u5165"))&&Yt.createElement("p",{onClick:Mt=>no(void 0,null,function*(){const bt=()=>{Gt({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ee==null?void 0:ee.exercise_name,id:ee==null?void 0:ee.id,type:"hack"}})};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u8865\u5145\u6210\u7EE9"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&ee.is_random&&ee.assistant_auth&&Yt.createElement("p",{onClick:Mt=>{Mt.stopPropagation();const bt=()=>{const an=fe()(ee.created_at,Wn);fe()($a).diff(fe()(an),"days")>0&&(ee!=null&&ee.is_random)?zt():(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/random/edit?type=settings`)};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()}},"\u7F16\u8F91\u8003\u8BD5"),Yt.createElement("p",{onClick:Mt=>no(void 0,null,function*(){const bt=()=>{var an;Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ee.id],selectArrsAll:[ee],params:ht,status:(an=ee==null?void 0:ee.exercise_tips)==null?void 0:an[0]}})};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u5220\u9664\u8BD5\u5377"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Yt.createElement("p",{onClick:()=>{const Mt=()=>{Gt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ee.id],params:ht}})};if(ee!=null&&ee.is_encrypt){Er(Mt);return}Mt()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((Zn=ee==null?void 0:ee.exercise_tips)==null?void 0:Zn.includes("\u672A\u5F00\u59CB"))&&(ee==null?void 0:ee.author_login)===((Wa=Nt==null?void 0:Nt.userInfo)==null?void 0:Wa.login)&&Yt.createElement("p",{onClick:Mt=>no(void 0,null,function*(){Nl(ee)})}," ",ee!=null&&ee.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&((0,oe.GJ)()||((Na=(Ra=Bt==null?void 0:Bt.AssistantObject)==null?void 0:Ra.exercise)==null?void 0:Na.can_stop))&&![1,3].includes(ee==null?void 0:ee.exercise_status)&&Yt.createElement("p",{onClick:Mt=>no(void 0,null,function*(){const bt=()=>{var an,yt;if((0,oe.Rm)()&&!((yt=(an=Bt==null?void 0:Bt.AssistantObject)==null?void 0:an.exercise)!=null&&yt.can_stop)){xe.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}Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ee.id],params:ht,unified_setting:ee.unified_setting}})};if(ee!=null&&ee.is_encrypt){Er(bt);return}bt()})},"\u7ED3\u675F\u8003\u8BD5"))},Yt.createElement("span",{onClick:Mt=>Mt.stopPropagation(),className:Ve.flexBox,style:{cursor:"default"}},Yt.createElement("i",{className:"iconfont icon-gengduo4"}),Yt.createElement("div",null,"\u66F4\u591A"))),(0,oe.dE)()&&Yt.createElement(Yt.Fragment,null,!!ee.off_limits&&Yt.createElement(ne.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ee==null?void 0:ee.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},Yt.createElement("b",{className:"font16"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===0&&ee.exercise_status>1&&!((vr=ee.exercise_tips)!=null&&vr.includes("\u5DF2\u622A\u6B62"))&&Yt.createElement("a",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),Yo(ee,!0)},href:""},Yt.createElement("i",{className:"iconfont icon-jixukaoshi"}),Yt.createElement("div",null,(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((qo=ee.exercise_tips)!=null&&qo.includes("\u5DF2\u622A\u6B62"))&&(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&Yt.createElement("a",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),Yo(ee,!0)},href:""},Yt.createElement("i",{className:"iconfont icon-jixukaoshi"}),Yt.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ee.off_limits&&ee.current_status===1&&(ee==null?void 0:ee.screen_used_num)<(ee==null?void 0:ee.screen_total_num)&&ee.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ee==null?void 0:ee.exercise_type)==2&&(ee==null?void 0:ee.exercise_status)!=3)&&Yt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>no(void 0,null,function*(){var bt;if(Mt.stopPropagation(),!(ee!=null&&ee.answered_open)){xe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,pr.w)(ht.coursesId,ee.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/users/${(bt=(0,oe.eY)())==null?void 0:bt.login}?check=true`)})},Yt.createElement("i",{className:"iconfont icon-chakankaoshi"}),Yt.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===2&&ee.exercise_status>1&&!((Mo=ee.exercise_tips)!=null&&Mo.includes("\u5DF2\u622A\u6B62"))&&Yt.createElement("a",{className:Ve.flexBox,style:{marginRight:"16px",color:(ee==null?void 0:ee.is_redo)===1&&"red"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),Yo(ee)},href:""},Yt.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),Yt.createElement("div",null,(ee==null?void 0:ee.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==2&&!ee.off_limits&&ee.exercise_status>1&&!((_o=ee.exercise_tips)!=null&&_o.includes("\u5DF2\u622A\u6B62"))&&Yt.createElement(ne.Z,{title:Yt.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ee==null?void 0:ee.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",Pr(),"\u6B21")},Yt.createElement("a",{className:Ve.flexBox,onClick:Mt=>{Pr()==0&&(ee==null?void 0:ee.current_status)!=0||(Mt.stopPropagation(),Mt.preventDefault(),Yo(ee))},href:""},Yt.createElement("i",{className:`iconfont ${(ee==null?void 0:ee.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),Yt.createElement("div",null,(ee==null?void 0:ee.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5")))))),(0,oe.GJ)()&&Yt.createElement("p",{style:{display:"flex",color:"#B6BFC2"}},Yt.createElement("span",{style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1,color:"#fff"},title:ee.author},ee.author),Yt.createElement("span",{className:"ml30"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",fe()(ee.created_at).format("YYYY-MM-DD HH:mm:ss")),((tr=ee==null?void 0:ee.exercise_tips)==null?void 0:tr.includes("\u672A\u5F00\u59CB"))&&ee.publish_time&&Yt.createElement("span",{className:"ml30"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",fe()(ee.publish_time).format("YYYY-MM-DD HH:mm:ss")),Yt.createElement("span",{className:"ml30"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),Yt.createElement("span",{className:"ml30"},"\u7C7B\u578B\uFF1A",ee.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Jo=ee==null?void 0:ee.exercise_tips)!=null&&Jo.includes("\u672A\u5F00\u59CB"))&&!(ee!=null&&ee.is_make_up_exercise)&&!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Yt.createElement("span",{className:Ve.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Mt=>no(void 0,null,function*(){Mt.stopPropagation(),Mt.preventDefault(),No||Ma(),Nn(!No)})},Yt.createElement(ne.Z,{title:`${No?"\u6536\u8D77":"\u5C55\u5F00"}`},Yt.createElement("i",{className:`iconfont icon-${No?"shouqi":"xiala2"}`})))),(0,oe.dE)()&&Yt.createElement("p",{style:{display:"flex",color:"#B6BFC2"}},Yt.createElement("span",{style:{color:"#fff"}},ee.author),Yt.createElement("span",{className:"ml30 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),!!(ee!=null&&ee.exercise_left_time)&&Yt.createElement("span",{className:"ml15"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ee==null?void 0:ee.exercise_left_time),!!(ee!=null&&ee.before_start)&&Yt.createElement("span",{className:"ml15"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ee==null?void 0:ee.before_start)),(0,oe.GJ)()&&!((ka=ee==null?void 0:ee.exercise_tips)!=null&&ka.includes("\u672A\u5F00\u59CB"))&&Yt.createElement("p",null,Yt.createElement("span",{style:{letterSpacing:2},className:"mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),Yt.createElement("span",{className:"mr20"},"\u672A\u5F00\u59CB ",Yt.createElement("span",null,ee==null?void 0:ee.unanswer_users)),Yt.createElement("span",{className:"mr20"},"\u8003\u8BD5\u4E2D ",Yt.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ee==null?void 0:ee.answering_users)),Yt.createElement("span",{className:"mr20"},"\u5DF2\u4EA4\u5377 ",Yt.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.answer_users)),Yt.createElement("span",null,"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",Yt.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.commit_with_no_answers_users))),(0,oe.GJ)()&&!((Oo=ee==null?void 0:ee.exercise_tips)!=null&&Oo.includes("\u672A\u5F00\u59CB"))&&No&&Ht.length>5&&Yt.createElement(ot.default,{className:ca.Z.threeTableSty,scroll:{y:240},pagination:!1,dataSource:Ht,onRow:Mt=>({onClick:bt=>{bt.stopPropagation(),bt.preventDefault()}}),onHeaderRow:(Mt,bt)=>({onClick:an=>{an.stopPropagation(),an.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Mt,bt,an)=>{an.field&&(ht.order_by=an.field),an.order||(ht.sort_direction="asc"),an.order==="ascend"&&(ht.sort_direction="asc"),an.order==="descend"&&(ht.sort_direction="desc"),an.order||(ht.sort_direction="asc"),Ma()},columns:sl}),(0,oe.GJ)()&&!((Vn=ee==null?void 0:ee.exercise_tips)!=null&&Vn.includes("\u672A\u5F00\u59CB"))&&No&&Ht.length<6&&Ht.length>0&&Yt.createElement(ot.default,{className:ca.Z.threeTableSty,rowKey:"course_group_id",pagination:!1,onRow:Mt=>({onClick:bt=>{bt.stopPropagation(),bt.preventDefault()}}),onHeaderRow:(Mt,bt)=>({onClick:an=>{an.stopPropagation(),an.preventDefault()}}),dataSource:Ht,style:{marginTop:"10px"},onChange:(Mt,bt,an)=>{an.field&&(ht.order_by=an.field),an.order||(ht.sort_direction="asc"),an.order==="ascend"&&(ht.sort_direction="asc"),an.order==="descend"&&(ht.sort_direction="desc"),an.order||(ht.sort_direction="asc"),Ma()},columns:sl}),(ee==null?void 0:ee.total)!==void 0&&Yt.createElement("p",null,Yt.createElement("span",{className:"mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),Yt.createElement("span",{className:"mr20"},"\u603B\u8BC4\u6570",Yt.createElement("span",null,ee==null?void 0:ee.total)),Yt.createElement("span",{className:"mr20"},"\u5DF2\u8BC4\u9605 ",Yt.createElement("span",{style:{color:"#4EACFF"}},ee==null?void 0:ee.finish_total)),Yt.createElement("span",null,"\u5F85\u8BC4\u9605 ",Yt.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.unfinished_total)))),Yt.createElement(fl.Z,{closable:!0,successCb:()=>Yo(jo.current)}))};var Bo=(0,Pe.connect)(({classroomList:ee})=>({classroomList:ee}))(Al),yo=te(59301),Rr=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const{Countdown:_l}=Mi.default,bo=({value:ee,onChange:he,MaxMinutes:ge})=>yo.createElement(yo.Fragment,null,yo.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",yo.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",yo.createElement("br",null)),yo.createElement(ae.Z,{value:ee,onChange:he,min:0,precision:0,max:ge,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ge}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),vo=({exercise:ee,successCb:he,dispatch:ge})=>{var He,Gt,ht,Bt;const rn=(0,Pe.useParams)(),[gt]=z.default.useForm(),Nt=z.default.useWatch("time",gt),[Qo,ko]=(0,re.useState)(!1),fo=(0,re.useRef)(),{actionTabs:ea}=ee,[Lo,Zn]=(0,re.useState)(),[,Wa,Ra,Na]=(0,ir.U)(it.n7,{id:rn.categoryId}),[,vr,qo]=(0,ir.U)(it.Cd,{});(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&(ko(!1),gt.resetFields())},[ee.actionTabs.key]);const Mo=()=>new Promise(No=>Rr(void 0,null,function*(){var Nn,jo;return fo.current=yield(0,ei.y)({ip_limit:(Nn=ea==null?void 0:ea.exerciseParams)==null?void 0:Nn.ip_limit,ip_bind:(jo=ea==null?void 0:ea.exerciseParams)==null?void 0:jo.ip_bind_type}),No()})),_o=()=>Rr(void 0,null,function*(){var No,Nn,jo,Mr,nn;yield gt.validateFields();const Wn=gt.getFieldsValue();if(ko(!0),(((No=ea==null?void 0:ea.exerciseParams)==null?void 0:No.ip_limit)!=="no"||(Nn=ea==null?void 0:ea.exerciseParams)!=null&&Nn.ip_bind_type)&&(yield Mo()),(yield(0,it.ZD)((jo=ea==null?void 0:ea.exerciseParams)==null?void 0:jo.id,{exercise_user_id:(Mr=ea==null?void 0:ea.exerciseParams)==null?void 0:Mr.exercise_user_id,unlock_key:Wn.unlock_key,time:Wn.time,ip:fo.current})).status===0){if(he){ge({type:"exercise/setActionTabs",payload:{}}),he();return}const Ma=ea==null?void 0:ea.exerciseParams;(0,a.nr)({inner_ip:Ma.inner_ip,public_ip:Ma.public_ip,open_camera:Ma.open_camera,ip_limit:Ma.ip_limit,ip_bind:Ma.ip_bind,ip_bind_type:Ma.ip_bind_type,exercise_tips:Ma.exercise_tips,exerciseId:Ma.id,screen_open:Ma.screen_open,screen_num:Ma.screen_num,screen_sec:Ma.screen_sec,coursesId:rn.coursesId,login:(nn=(0,oe.eY)())==null?void 0:nn.login,history,identity_verify:Ma.identity_verify,open_phone_video_recording:Ma.open_phone_video_recording,current_status:Ma.current_status}),ge({type:"exercise/setActionTabs",payload:{}})}ko(!1)}),tr=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:No=>yo.createElement("span",{className:No.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},No)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:No=>yo.createElement("span",{className:No.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},No)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Jo=((He=ea==null?void 0:ea.exerciseParams)==null?void 0:He.errorMessage)&&typeof((Gt=ea==null?void 0:ea.exerciseParams)==null?void 0:Gt.errorMessage)=="object";(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&Rr(void 0,null,function*(){const No=yield qo(rn);yield Ra({}),No.status||Zn(No)})},[ee.actionTabs.key]);const{time:ka,end_time:Oo}=(Lo==null?void 0:Lo.exercise)||{},Vn=Na!=null&&Na.user_end_time?fe()(Na==null?void 0:Na.user_end_time).add(1,"minutes"):fe()(),Ht=fe()(Na==null?void 0:Na.user_total_end_time)>Vn?Math.round(fe().duration(fe()(Na==null?void 0:Na.user_total_end_time).diff(Vn.startOf("minute"))).asMinutes()):0,xl=((Na==null?void 0:Na.student_left_minutes)||0)+(Nt||0);return yo.createElement(yo.Fragment,null,yo.createElement(Fe.default,{width:514,centered:!0,closable:!!((ht=ea==null?void 0:ea.exerciseParams)!=null&&ht.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ee.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ge({type:"exercise/setActionTabs",payload:{}})}},yo.createElement(Ze.Z,{spinning:Wa||vr},Jo&&yo.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Jo&&yo.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Jo&&yo.createElement(ot.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Bt=ea==null?void 0:ea.exerciseParams)==null?void 0:Bt.errorMessage)||{}],columns:tr}),yo.createElement("div",{className:""},yo.createElement(z.default,{form:gt,layout:"vertical",autoComplete:"off"},yo.createElement(z.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},yo.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),ka!==-1?yo.createElement(yo.Fragment,null,yo.createElement(z.default.Item,{name:"time",label:yo.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",yo.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",fe()(Na==null?void 0:Na.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},yo.createElement(bo,{MaxMinutes:Ht})),yo.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",yo.createElement("span",{className:"ml5"},Wa||vr?"--":xl),"\u5206\u949F",xl!==0&&(Na==null?void 0:Na.user_end_time)&&yo.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",yo.createElement("span",{className:"ml5"},fe()(Na==null?void 0:Na.user_end_time).add(Nt||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):yo.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",fe()(Oo).format("YYYY-MM-DD HH:mm")))),yo.createElement(Ft.Z,{justify:"space-between",align:"middle"},yo.createElement(Be.Z,null),yo.createElement(Be.Z,null,yo.createElement(Ie.ZP,{loading:Qo,onClick:_o},"\u8FDB\u5165\u8003\u8BD5"))))))};var Po=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(vo),Ja=te(25136),La=te(96241),Mn=te(79006),la=te(59301),To=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const sr=({exercise:ee,dispatch:he,init:ge,haveInit:He=!1})=>{const Gt=(0,Pe.useParams)(),[ht,Bt]=(0,re.useState)(!1);let[rn,gt]=(0,re.useState)();const[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ea()},[ee.actionTabs]);function ea(){return To(this,null,function*(){var Lo,Zn;let Wa=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});if(((Lo=Wa==null?void 0:Wa.cover_exercises)==null?void 0:Lo.length)>0)Bt(!0),gt((Zn=Wa==null?void 0:Wa.cover_exercises)==null?void 0:Zn[0]);else{let Ra=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});he({type:"exercise/setActionTabs",payload:{key:""}}),(Ra==null?void 0:Ra.status)===0&&(He&&ge(),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}})}return la.createElement("div",null,la.createElement(Fe.default,{open:ht,centered:!0,onCancel:Lo=>To(void 0,null,function*(){if(Lo.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){Qo(!0);let Zn=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs,update:1}});he({type:"exercise/setActionTabs",payload:{key:""}}),Qo(!1),(Zn==null?void 0:Zn.status)===0&&(He&&ge(),Bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}else Bt(!1)}),cancelButtonProps:{loading:Nt},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:ko},onOk:()=>To(void 0,null,function*(){fo(!0);let Lo=yield(0,x.ZP)(`/api/courses/${Gt==null?void 0:Gt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});fo(!1),(Lo==null?void 0:Lo.status)===0&&(He&&ge(),he({type:"exercise/setActionTabs",payload:{key:""}}),Bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},la.createElement("div",null,la.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),la.createElement("div",null,la.createElement("div",null,"\u8BD5\u5377\uFF1A",rn==null?void 0:rn.origin_exercise_nam),la.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",la.createElement("a",{href:`/paperlibrary/see/${rn==null?void 0:rn.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},rn==null?void 0:rn.examination_bank_name))))))};var ui=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(sr),Ql=te(92521),Ti=te(27269),ha=te(59301),Dl=Object.defineProperty,Ao=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,Gr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,wl=(ee,he,ge)=>he in ee?Dl(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,cr=(ee,he)=>{for(var ge in he||(he={}))Gr.call(he,ge)&&wl(ee,ge,he[ge]);if(li)for(var ge of li(he))Xr.call(he,ge)&&wl(ee,ge,he[ge]);return ee},El=(ee,he)=>Ao(ee,gi(he)),Br=(ee,he)=>{var ge={};for(var He in ee)Gr.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&li)for(var He of li(ee))he.indexOf(He)<0&&Xr.call(ee,He)&&(ge[He]=ee[He]);return ge},ti=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const si=ee=>{var he=ee,{user:ge,classroomList:He,globalSetting:Gt,loading:ht,dispatch:Bt}=he,rn=Br(he,["user","classroomList","globalSetting","loading","dispatch"]),gt,Nt,Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr,Jo,ka;const Oo=(0,Pe.useParams)(),[Vn]=(0,Pe.useSearchParams)(),[Ht,xl]=(0,re.useState)(()=>El(cr({},Oo),{limit:20})),No=(0,Pe.useLocation)(),{detailExerciseList:Nn,detailTopBanner:jo,detailLeftMenus:Mr}=He,[nn,Wn]=(0,re.useState)([]),[$a,Ma]=(0,re.useState)(!1),[zt,Yo]=(0,re.useState)([]),[sl,gl]=(0,re.useState)(!1),[Pr,Nl]=(0,re.useState)(!1),[Er,Mt]=(0,re.useState)(!1),[bt,an]=(0,re.useState)(!1),[yt,Ea]=(0,re.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),or=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Ht.type=Vn.get("tabs")==="all"?"":Vn.get("tabs")||"",Ht.id=Ht.coursesId,(0,re.useEffect)(()=>{var kt,ya,Cl;if((kt=ge==null?void 0:ge.userInfo)!=null&&kt.login){if((0,oe.GJ)()){const ml=a.cX.getItem(`${(ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.login}Teacher`,"Exercise");ml&&(Ht.sort_by=ml==null?void 0:ml.type,Ht.sort_direction=ml==null?void 0:ml.direction,Ea(ml==null?void 0:ml.name))}Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})}else(Cl=ge==null?void 0:ge.userInfo)!=null&&Cl.username&&Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)});Ma(!1)},[(gt=ge==null?void 0:ge.userInfo)==null?void 0:gt.login,No.pathname]),(0,re.useEffect)(()=>{He.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})},[He.actionTabs.key]),(0,re.useEffect)(()=>{He.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(gl(!0),Nl(jo==null?void 0:jo.show_unstart_exercise),Mt(jo==null?void 0:jo.forbid_end_exercise))},[He.actionTabs.key]),(0,re.useEffect)(()=>{Wn([])},[Nn]);const jr=(kt,ya)=>{Wn([]),Ht.page=kt,Ht.limit=ya,Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})},rl=kt=>{Ht.type=kt.key==="all"?"":kt.key,Ht.page=1,Pe.history.replace(`${No.pathname}?tabs=${kt.key}`),an(!1),Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})};(0,re.useEffect)(()=>{Vn.get("tabs")==="all"&&(Ht.type="",Ht.page=1)},[Vn.get("tabs")]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&Bt({type:"classroomList/getAssistantPermissions",payload:{course_id:Ht.coursesId}})},[(Nt=ge==null?void 0:ge.userInfo)==null?void 0:Nt.username]),(0,re.useEffect)(()=>{const kt=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),Fe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:ha.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ha.createElement("br",null),"1\u3001\u5728",ha.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ha.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ha.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ha.createElement("br",null),"2\u3001\u5728",ha.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ha.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ha.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ha.createElement("br",null),kt==="allowRouter"&&ha.createElement(ha.Fragment,null,"3\u3001",ha.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&Bt({type:"classroomList/getAssistantPermissions",payload:{course_id:Ht.coursesId}})},[(Qo=ge==null?void 0:ge.userInfo)==null?void 0:Qo.login]);const Uo=[{name:"\u5168\u90E8",id:"all",total:(ko=Nn.exercises_counts)==null?void 0:ko.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(fo=Nn.exercises_counts)==null?void 0:fo.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(ea=Nn.exercises_counts)==null?void 0:ea.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Lo=Nn.exercises_counts)==null?void 0:Lo.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(Zn=Nn.exercises_counts)==null?void 0:Zn.end_counts}],ni=[{name:"\u6279\u91CF\u53D1\u5E03",icon:ha.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:ha.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:ha.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:ha.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:ha.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(kt=>(0,oe.GJ)()?!0:kt.name!=="\u6279\u91CF\u5220\u9664").filter(kt=>jo.is_public?!0:kt.name!=="\u8BBE\u4E3A\u516C\u5F00"),ru=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:ha.createElement(ha.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),Gi="YYYY-MM-DD",yu=fe()("2020-11-15",Gi),lu=kt=>{var ya;Ht.sort_by=kt.type,Ht.sort_direction=kt.direction,(0,oe.GJ)()&&a.cX.setItem(`${(ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.login}Teacher`,kt,"Exercise"),Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:cr({},Ht)}),Ea(kt.name)},zu=()=>ha.createElement(be.default,null,ha.createElement(be.default.Item,{key:1,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He==null?void 0:He.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}Bt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Ht}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),ha.createElement(be.default.Item,{key:2,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He==null?void 0:He.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}window.scrollTo(0,0),Pe.history.push(`/classrooms/${Ht.coursesId}/exercise/add?catalogue=${(Oo==null?void 0:Oo.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),ha.createElement(be.default.Item,{key:3,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He.AssistantObject)==null?void 0:kt.practice)!=null&&ya.can_create)){xe.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}Bt({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),iu=kt=>ti(void 0,null,function*(){var ya,Cl,ml,Ei,Wi,vu,ma,eo;const ba=kt.name;if(((ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.user_status)===2&&kt.name==="\u6279\u91CF\u53D1\u5E03"){(0,ve.Rd)();return}const Io=[];if((Cl=Nn.exercises)==null||Cl.map(ga=>{if(nn.includes(ga.id)&&ga.is_random){const Ua=fe()(ga.created_at,Gi);fe()(yu).diff(fe()(Ua),"days")>0&&(ga!=null&&ga.is_random)&&Io.push(ga)}}),nn==""){let ga="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(ga="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),xe.ZP.error(ga)}else if(Io.length)ru();else{if(ba==="\u6279\u91CF\u53D1\u5E03"){if((0,oe.Rm)()&&!((Ei=(ml=He==null?void 0:He.AssistantObject)==null?void 0:ml.exercise)!=null&&Ei.can_publish)){xe.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}let ga=!1;Nn.exercises.forEach(ho=>{nn.includes(ho.id)&&ho.total_num===0&&ho.is_random&&(ga=!0)});let Ua;if(Ua=(vu=(Wi=Nn.exercises.filter(ho=>nn.includes(ho==null?void 0:ho.id)).filter(ho=>(ho==null?void 0:ho.exercise_question_count)===0))==null?void 0:Wi[0])==null?void 0:vu.exercise_name,(Ua==null?void 0:Ua.length)>0){xe.ZP.warning(`${Ua}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(ga){xe.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let wr=!1;if(Nn.exercises.forEach(ho=>{nn.includes(ho.id)&&ho.exercise_status!==1&&(wr=!0)}),wr){xe.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const ga=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...nn]}});if(((ma=ga==null?void 0:ga.cover_exercises)==null?void 0:ma.length)>0){Yo(ga==null?void 0:ga.cover_exercises);return}}Bt({type:"exercise/setActionTabs",payload:{key:ba,selectArrs:nn,selectArrsAll:(eo=Nn.exercises)==null?void 0:eo.filter(ga=>nn.includes(ga.id)),params:Ht,type:1}})}});return ha.createElement("section",{className:"minH500"},ha.createElement(Ja.Z,{isLoading:ht["classroomList/getClassroomExercisesList"],tabDataSource:Uo,isAdmin:(0,oe.GJ)(),dispatch:Bt,type:Nn==null?void 0:Nn.main_category_name,isExercise:!0,user:ge,getDropdownMenu:zu,onTabMenuClick:rl,classroomList:He,defaultSelectedKeys:[Ht.type||"all"]}),ha.createElement(La.Z,{dataSource:Nn.exercises||[],isAdmin:(0,oe.GJ)(),batchStatus:bt,SortMenuName:yt,setSortMenuName:Ea,SortMenus:or,onSearch:kt=>{Ht.search=kt.trim(),Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:cr({},Ht)})},isShowMode:!0,onModeChange:kt=>{Ht.is_normal=kt,Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:cr({},Ht)})},onSort:lu,onBatch:kt=>an(kt)}),ha.createElement(ue.Z,{loading:ht["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(Wa=Nn.exercises_counts)!=null&&Wa.exercises_all_counts?Nn.exercises.map(function(kt,ya){return ha.createElement(Bo,{key:ya,v:kt,k:ya,batchStatus:bt,selectArrs:nn,setSelectArrs:Wn,dispatch:Bt,params:Ht,user:ge,manageAllGroup:Nn.manage_all_group})}):ha.createElement(E.Z,null),ha.createElement("aside",{className:"tc mb50 mt30"},((Ra=Nn.exercises_counts)==null?void 0:Ra.exercises_all_counts)>0&&ha.createElement(Oe.Z,{showTotal:kt=>{var ya;return ha.createElement("div",{style:{color:"#B6BFC2"}},"\u5171",ha.createElement("span",{style:{margin:"0 3px",color:"#00DDC7"}},(ya=Nn==null?void 0:Nn.exercises_counts)==null?void 0:ya.exercises_all_counts),"\u6761")},showSizeChanger:!0,onChange:jr,defaultCurrent:Ht.page,current:Ht.page||1,pageSize:Ht.limit||20,total:Nn.exercises_counts&&Nn.exercises_counts.exercises_all_counts}))),nn.length>0&&(0,oe.GJ)()&&ha.createElement(je.Z,{offsetBottom:0},ha.createElement(Mn.Z,{buttonDataSource:ni,onButtonClick:iu,useBatchStatus:an,setSeleArr:Wn,catalogue:((vr=(Na=Mr==null?void 0:Mr.course_modules)==null?void 0:Na.find(kt=>kt.type==="exercise"))==null?void 0:vr.second_category)||[],addCatalogue:kt=>{kt.preventDefault(),Bt({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Ht,selectArrs:{category_id:Nn==null?void 0:Nn.main_category_id,type:"exercise"}}})},allSelect:nn.length?nn.length===((Mo=(qo=Nn.exercises)==null?void 0:qo.filter(kt=>!kt.is_make_up_exercise))==null?void 0:Mo.length):!1,setAllSelect:kt=>{var ya;kt.target.checked?Wn((ya=Nn==null?void 0:Nn.exercises)==null?void 0:ya.filter(Cl=>!Cl.is_make_up_exercise).map(Cl=>Cl.id)):Wn([])},selectArrs:nn,onMenuClick:kt=>ti(void 0,[kt],function*({key:ya}){if(nn=="")return xe.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:nn,new_category_id:ya}})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Bt({type:"classroomList/getClassroomExercisesList",payload:cr({},Oo)}))})})),ha.createElement(Ae,null),ha.createElement(bn,null),ha.createElement(Fl,null),ha.createElement(ar,null),ha.createElement(Ql.Z,{onOk:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:cr({},Oo)})}}),ha.createElement(Ti.Z,{onOk:()=>{}}),ha.createElement(as,{cb:()=>Wn([])}),ha.createElement(Ke,null),ha.createElement(Po,null),ha.createElement(Fe.default,{title:ha.createElement("span",null,ha.createElement(hr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:zt.length>0,footer:!1,onCancel:()=>{Yo([])}},ha.createElement("div",{style:{height:300,overflow:"auto"}},ha.createElement("div",null,"\u6709",zt==null?void 0:zt.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),zt==null?void 0:zt.map(kt=>ha.createElement("div",{style:{marginTop:25}},ha.createElement("div",null,"\u8BD5\u5377\uFF1A",kt==null?void 0:kt.origin_exercise_nam),ha.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ha.createElement("a",{href:`/paperlibrary/see/${kt==null?void 0:kt.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},kt==null?void 0:kt.examination_bank_name))))),ha.createElement("div",{style:{textAlign:"end"}},ha.createElement(Ie.ZP,{style:{height:30},onClick:()=>ti(void 0,null,function*(){const kt=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...nn],update:1}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u8986\u76D6\u6210\u529F"),Yo([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),ha.createElement(Ie.ZP,{type:"primary",onClick:()=>ti(void 0,null,function*(){const kt=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...nn]}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u5F62\u6210\u6210\u529F"),Yo([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),ha.createElement(Fe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:sl,centered:!0,onOk:()=>ti(void 0,null,function*(){let kt=yield(0,x.ZP)(`/api/courses/${Ht.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:Pr,forbid_end_exercise:Er}});(kt==null?void 0:kt.status)===0&&(gl(!1),Bt({type:"classroomList/setActionTabs",payload:{key:""}}),Bt({type:"classroomList/getClassroomTopBanner",payload:{id:Ht.coursesId}}),xe.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{gl(!1),Bt({type:"classroomList/setActionTabs",payload:{key:""}})}},ha.createElement(Ne.default,{checked:Pr,onChange:kt=>{Nl(kt.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",ha.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),ha.createElement(Ne.default,{className:"mt20",checked:Er,onChange:kt=>{Mt(kt.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),ha.createElement(ui,null),ha.createElement(ha.Fragment,null,ha.createElement($o.T$,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:El(cr({},He==null?void 0:He.actionTabs),{open:""})})},open:((_o=He==null?void 0:He.actionTabs)==null?void 0:_o.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),ha.createElement($o.$i,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:El(cr({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})},open:((tr=He==null?void 0:He.actionTabs)==null?void 0:tr.open)==="\u8BD5\u5377\u5C01\u5B58",Data:El(cr({},He==null?void 0:He.actionTabs),{type:"exercise"})}),ha.createElement($o.K1,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:El(cr({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})},open:((Jo=He==null?void 0:He.actionTabs)==null?void 0:Jo.open)==="\u89E3\u5C01",Data:El(cr({},He==null?void 0:He.actionTabs),{type:"exercise"})}),ha.createElement($o.O7,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:El(cr({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:cr(cr({},Ht),Oo)})},open:((ka=He==null?void 0:He.actionTabs)==null?void 0:ka.open)==="\u63D0\u793A",Data:El(cr({},He==null?void 0:He.actionTabs),{type:"exercise"})})))};var nl=(0,Pe.connect)(({user:ee,classroomList:he,loading:ge,globalSetting:He})=>({user:ee,classroomList:he,globalSetting:He,loading:ge.effects}))(si),mo=te(5006),wo=te(59301),mi=Object.defineProperty,eu=Object.defineProperties,zi=Object.getOwnPropertyDescriptors,Di=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,Rl=(ee,he,ge)=>he in ee?mi(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Oi=(ee,he)=>{for(var ge in he||(he={}))Pi.call(he,ge)&&Rl(ee,ge,he[ge]);if(Di)for(var ge of Di(he))Gl.call(he,ge)&&Rl(ee,ge,he[ge]);return ee},mu=(ee,he)=>eu(ee,zi(he)),wi=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const{TabPane:_i}=y.default,Nu=({classroomList:ee,exercise:he,loading:ge,dispatch:He})=>{var Gt;const ht=(0,Pe.useParams)(),Bt=(0,Pe.useLocation)(),[rn]=z.default.useForm(),{brankList:gt}=he;let[Nt,Qo]=(0,re.useState)(!0),[ko,fo]=(0,re.useState)(!1);const[ea,Lo]=(0,re.useState)("myself");let[Zn,Wa]=(0,re.useState)([]),[Ra,Na]=(0,re.useState)([]),[vr,qo]=(0,re.useState)(),[Mo,_o]=(0,re.useState)([]);const tr=(0,re.useRef)(null),[Jo,ka]=(0,re.useState)(!1),[Oo,Vn]=(0,re.useState)(""),[Ht,xl]=(0,re.useState)(""),[No,Nn]=(0,re.useState)(!1),[jo,Mr]=(0,re.useState)({}),nn=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(yt,Ea,or)=>wo.createElement("div",{style:{display:"flex",alignItems:"center"}},wo.createElement(ne.Z,{title:yt},wo.createElement("div",{title:yt,className:mo.Z.name},yt)),(Ea==null?void 0:Ea.high_resources_consume)&&wo.createElement(Me.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:yt=>wo.createElement(ne.Z,{title:yt},wo.createElement("span",null,yt))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:yt=>yt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(yt,Ea)=>wo.createElement("a",{href:yt?`/randompaper/detail/${Ea.id}`:`/paperlibrary/see/${Ea.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[Wn,$a]=(0,re.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,re.useEffect)(()=>{he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(Yo(),_o([]),Ma())},[he.actionTabs.key]);const Ma=()=>wi(void 0,null,function*(){const yt=yield He({type:"paperlibrary/getTeachGroupData"});Na(yt)}),zt=yt=>{const Ea=parseInt(yt);return isNaN(Ea)?"":Ea},Yo=()=>wi(void 0,null,function*(){var yt,Ea;if(Nt){++Wn.page,Qo(!1);const or=yield He({type:"exercise/getBrankList",payload:mu(Oi({},Wn),{search:(yt=Wn.search)==null?void 0:yt.trim()})});Zn=or!=null&&or.object_list?[...Zn.concat(or==null?void 0:or.object_list)]:Zn,Wn.filter==="public"?qo(or.is_teacher):qo(!0),((Ea=or.object_list)==null?void 0:Ea.length){tr.current.scrollTop=0,Zn=[],Wn.page=0,Wn.group_id=yt,Nt=!0,_o([]),$a(Oi({},Wn)),Yo()},gl={selectedRowKeys:Mo,onChange:yt=>{_o(yt)},type:"radio"},Pr=()=>{$a(Oi({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),Wa([]),Qo(!0),Lo("myself"),He({type:"exercise/setActionTabs",payload:{}}),fo(!1)},[Nl,Er,Mt,bt]=(0,Ee.P)(),an=yt=>wi(void 0,null,function*(){let Ea=!1;Zn.forEach(Uo=>{Mo.includes(Uo.id)&&(Ea=Uo.is_random)});const or=yt.map(Uo=>({shixun_id:Uo.id,is_use:Uo.is_use,is_copy:Uo.is_copy}));if(!Ea){Nn(!0);const Uo=yield He({type:"exercise/saveBanks",payload:{course_id:ht.coursesId,category_id:(ht==null?void 0:ht.categoryId)||null,object_type:"examination_bank",bank_id:Mo,shixuns_info:or}});Nn(!1),(Uo==null?void 0:Uo.status)===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),He({type:"classroomList/getClassroomExercisesList",payload:Oi({},he.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:{id:ht.coursesId}}),Vn(`/classrooms/${ht.coursesId}/exercise/${Uo.exercise_id}/detail?random=${Uo.is_random}&tabs=3`),xl(`/classrooms/${ht.coursesId}/exercise/add/${Uo.exercise_id}?random=${Uo.is_random}&type=2`),ka(!0),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Er(),Pr());return}Nn(!0),setTimeout(()=>{Nn(!1)},500),He({type:"exercise/setActionTabs",payload:{}});let jr=1,rl=Fe.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:wo.createElement("div",{className:mo.Z.modalColumn},wo.createElement("div",{className:mo.Z.modalRow},wo.createElement("sup",{className:mo.Z.sup},"*"),wo.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),wo.createElement(ae.Z,{parser:zt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:jr,onChange:Uo=>{jr=Uo;const ni=document.getElementById("model_error");jr<1||jr>50?ni.style.display="block":ni.style.display="none"}})),wo.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:Pr,onOk:()=>wi(void 0,null,function*(){if(jr<1||jr>50){const ni=document.getElementById("model_error");return ni.style.display="block",Promise.reject()}rl.update({cancelButtonProps:{disabled:!0}});const Uo=yield He({type:"exercise/saveBanks",payload:{course_id:ht.coursesId,object_type:"examination_bank",bank_id:Mo,shixuns_info:or,num:jr}});rl.update({cancelButtonProps:{disabled:!1}}),Uo&&Uo.status===0?((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Fe.default.destroyAll(),He({type:"classroomList/getClassroomExercisesList",payload:Oi({},he.actionTabs.params)}),Pr(),Er(),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(Pr(),Er())})})});return wo.createElement(wo.Fragment,null,wo.createElement(Fe.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:he.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:ko,bodyStyle:{minHeight:200},wrapClassName:mo.Z.warpModal,onOk:()=>wi(void 0,null,function*(){var yt;if(!Mo.length){xe.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}fo(!0);let Ea=!1,or=!1;if(Zn.forEach(rl=>{Mo.includes(rl.id)&&rl.need_authorize&&(Ea=rl.need_authorize),Mo.includes(rl.id)&&(or=rl.is_random)}),Ea){(0,ve.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let jr=yield(0,Le.Tr)({id:`${Mo[0]}`,course_id:(yt=ee.detailTopBanner)==null?void 0:yt.course_id,type:"examination_bank"});fo(!1),(jr==null?void 0:jr.student_count)===0?an([]):Mr(jr)}),onCancel:Pr},wo.createElement(y.default,{activeKey:ea,onTabClick:yt=>wi(void 0,null,function*(){tr.current.scrollTop=0,Zn=[],ea!==yt&&_o([]),Lo(yt),Wn.page=0,Wn.filter=yt,Wn.group_id=null,Nt=!0,Yo()})},wo.createElement(_i,{tab:wo.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),wo.createElement(_i,{tab:wo.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),wo.createElement(_i,{tab:wo.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),wo.createElement("div",{className:mo.Z.tabSearch},ea==="teacher"&&wo.createElement(le.default,{value:Wn.group_id,onChange:sl,size:"middle",style:{width:200,marginRight:30}},wo.createElement(le.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Gt=Ra==null?void 0:Ra.groups)==null?void 0:Gt.map(yt=>wo.createElement(le.default.Option,{key:yt==null?void 0:yt.group_id,value:yt==null?void 0:yt.group_id},yt==null?void 0:yt.name))),wo.createElement(ie.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Wn.search,onChange:yt=>{Wn.search=yt.target.value,$a(Oi({},Wn))},onSearch:yt=>{tr.current.scrollTop=0,Zn=[],Wn.page=0,Nt=!0,_o([]),yt&&(0,Je.tk)({name:yt,copywriting:yt,position:"Exercise"}),Yo()}})),wo.createElement("div",{ref:tr,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!vr&&ea==="public"&&wo.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},wo.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),wo.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),wo.createElement(se(),{initialLoad:!1,pageStart:0,loadMore:()=>{Yo()},hasMore:Nt,useWindow:!1},he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&vr&&wo.createElement(ce.Z,{className:mo.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:Zn,onRow:yt=>({onClick:()=>{_o([yt==null?void 0:yt.id])}}),resColumns:nn,rowSelection:gl})))),wo.createElement(Fe.default,{title:"\u63D0\u793A",open:Jo,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:wo.createElement("div",null,wo.createElement(Ie.ZP,{onClick:()=>{ka(!1),Pe.history.push(Ht)}},"\u4FEE\u6539\u8BD5\u5377"),wo.createElement(Ie.ZP,{type:"primary",onClick:()=>{Pe.history.push(Oo),ka(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{ka(!1)}},wo.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),wo.createElement(Ue.Z,{resdata:jo,type:"exercise",okloading:No,oktext:(jo==null?void 0:jo.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:yt=>{an(yt)}}),wo.createElement(Ee.Z,{inPaper:!0,visible:Nl,onCancel:Er,onOk:an,renderData:Mt,modalType:"multiple",type:"examination_bank"}))};var ls=(0,Pe.connect)(({exercise:ee,loading:he,classroomList:ge})=>({exercise:ee,loading:he,classroomList:ge}))(Nu),kr=te(72936),Sl=te(24528),fi=Object.defineProperty,Ol=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,pi=(ee,he,ge)=>he in ee?fi(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Qi=(ee,he)=>{for(var ge in he||(he={}))Ai.call(he,ge)&&pi(ee,ge,he[ge]);if(Ol)for(var ge of Ol(he))xi.call(he,ge)&&pi(ee,ge,he[ge]);return ee},is=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const _s=({exercise:ee,dispatch:he})=>{const ge=(0,Pe.useParams)();return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ee.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>is(void 0,null,function*(){(yield(0,x.ZP)(`/api/courses/${ge.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ee.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),he({type:"classroomList/getClassroomExercisesList",payload:Qi({},ee.actionTabs.params)}))}),onCancel:()=>{he({type:"exercise/setActionTabs",payload:{}})}},re.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",re.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var us=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(_s),Gs=Object.defineProperty,Iu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,fu=Object.prototype.propertyIsEnumerable,pu=(ee,he,ge)=>he in ee?Gs(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,ss=(ee,he)=>{for(var ge in he||(he={}))Tu.call(he,ge)&&pu(ee,ge,he[ge]);if(Iu)for(var ge of Iu(he))fu.call(he,ge)&&pu(ee,ge,he[ge]);return ee},Ms=(ee,he)=>{var ge={};for(var He in ee)Tu.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&Iu)for(var He of Iu(ee))he.indexOf(He)<0&&fu.call(ee,He)&&(ge[He]=ee[He]);return ge},cs=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const ds=ee=>{var he=ee,{exercise:ge,dispatch:He,user:Gt}=he,ht=Ms(he,["exercise","dispatch","user"]),Bt,rn;const gt=(0,Pe.useParams)(),[Nt,Qo]=(0,re.useState)(!1),[ko,fo]=(0,re.useState)(!1),ea=(0,re.useRef)(null);(0,re.useEffect)(()=>{var Zn,Wa;if(ge.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,oe.j5)()){fo(!0);return}const Ra={hasNum:0,noHasNum:0};(Wa=(Zn=ge==null?void 0:ge.actionTabs)==null?void 0:Zn.selectArrsAll)==null||Wa.map(Na=>{var vr;Na.author_login===((vr=Gt.userInfo)==null?void 0:vr.login)?++Ra.hasNum:++Ra.noHasNum}),Ra.noHasNum>0?Fe.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:re.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",re.createElement("span",{className:"c-blue"},Ra.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",re.createElement("span",{className:"c-red"},Ra.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",re.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Lo()}}):fo(!0)}else fo(!1)},[ge.actionTabs.key]);const Lo=()=>{He({type:"exercise/setActionTabs",payload:{}})};return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ko,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Nt,destroyOnClose:!0,onOk:()=>cs(void 0,null,function*(){var Zn;if((Zn=ea.current)!=null&&Zn.onVerify())return;Qo(!0);const Wa=yield(0,x.ZP)(`/api/courses/${gt.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...ge.actionTabs.selectArrs]}});Qo(!1),Wa.status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),xe.ZP.success("\u5220\u9664\u6210\u529F"),He({type:"exercise/setActionTabs",payload:{}}),He({type:"classroomList/getClassroomExercisesList",payload:ss({},ge.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:ss({},ge.actionTabs.params)}))}),onCancel:()=>{He({type:"exercise/setActionTabs",payload:{}})}},!((Bt=ge==null?void 0:ge.actionTabs)!=null&&Bt.status)||!["\u672A\u5F00\u59CB"].includes((rn=ge==null?void 0:ge.actionTabs)==null?void 0:rn.status)?re.createElement(re.Fragment,null,re.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),re.createElement(St.Z,{ref:Zn=>ea.current=Zn})):re.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var Ku=(0,Pe.connect)(({exercise:ee,user:he})=>({exercise:ee,user:he}))(ds),Ru=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,gs=(ee,he)=>{var ge={};for(var He in ee)Ws.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&Ru)for(var He of Ru(ee))he.indexOf(He)<0&&Uu.call(ee,He)&&(ge[He]=ee[He]);return ge},Ys=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const ms=ee=>{var he=ee,{exercise:ge,dispatch:He}=he,Gt=gs(he,["exercise","dispatch"]);const ht=(0,Pe.useParams)();return ht.id=ht.coursesId,(0,re.useEffect)(()=>{ge.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>Ys(void 0,null,function*(){(yield(0,x.ZP)(`/api/courses/${ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...ge.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),xe.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),He({type:"exercise/setActionTabs",payload:{}})}))},[ge.actionTabs.key]),re.createElement(re.Fragment,null)};var Ks=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(ms),Zl={flex_box_center:"flex_box_center___VejG5",flex_space_between:"flex_space_between___RwAiX",flex_box_vertical_center:"flex_box_vertical_center___N5QNs",flex_box_center_end:"flex_box_center_end___SUMZc",flex_box_column:"flex_box_column___ombQA",bg:"bg___i74VI",containerTitle:"containerTitle___eAbbs",containerDesc:"containerDesc___WeE4m",tablestyle:"tablestyle___uKNiL",listItem:"listItem___aJrbL",info:"info___X9HlC",title:"title___ZDroC",titleLeft:"titleLeft___JzNZc",titleRight:"titleRight___RP0gb",flexBox:"flexBox___txRbA",iconV:"iconV___JMCv9",acitons:"acitons___iqFGc",moveCategory:"moveCategory___Rihfv",name:"name___LdzGg",categoryName:"categoryName___Tz45n",schedule:"schedule___a20T3",fnSign:"fnSign___gsn3j",spanSize:"spanSize___jht3F",classromediv:"classromediv___T7h_f",glow:"glow___LU7dg",popover:"popover___Qeg0P",dot:"dot___c9Vwj",moni:"moni___LBVeo",ErrorPushTag:"ErrorPushTag___F0OTF",authorized:"authorized___yQPQx"},Vu=Object.defineProperty,ku=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,Os=Object.prototype.propertyIsEnumerable,ps=(ee,he,ge)=>he in ee?Vu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,vs=(ee,he)=>{for(var ge in he||(he={}))fs.call(he,ge)&&ps(ee,ge,he[ge]);if(ku)for(var ge of ku(he))Os.call(he,ge)&&ps(ee,ge,he[ge]);return ee};const Ns=ee=>React.createElement("svg",vs({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056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tLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",hs=Object.defineProperty,Qu=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,Xu=(ee,he,ge)=>he in ee?hs(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Vs=(ee,he)=>{for(var ge in he||(he={}))Es.call(he,ge)&&Xu(ee,ge,he[ge]);if(Qu)for(var ge of Qu(he))Ju.call(he,ge)&&Xu(ee,ge,he[ge]);return ee};const ul=ee=>React.createElement("svg",Vs({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var kl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiIGZpbGw9IiMwMTUyZDkiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiIGZpbGw9IiMwMTUyZDkiLz48L2c+PC9nPjwvc3ZnPg==",Zi=te(41727),tu=Object.defineProperty,Ji=Object.getOwnPropertySymbols,Is=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,qu=(ee,he,ge)=>he in ee?tu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,ys=(ee,he)=>{for(var ge in he||(he={}))Is.call(he,ge)&&qu(ee,ge,he[ge]);if(Ji)for(var ge of Ji(he))Ss.call(he,ge)&&qu(ee,ge,he[ge]);return ee};const $u=ee=>React.createElement("svg",ys({width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},ee),React.createElement("title",null,"3"),React.createElement("defs",null,React.createElement("path",{id:"ErrorPushIcon_svg__a",d:"M0 0h24v24H0z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"ErrorPushIcon_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#ErrorPushIcon_svg__a"})),React.createElement("use",{fill:"#F4F8FF",opacity:.01,xlinkHref:"#ErrorPushIcon_svg__a"}),React.createElement("g",{mask:"url(#ErrorPushIcon_svg__b)",fillRule:"nonzero"},React.createElement("path",{d:"M7.598 2.582 2.8 3.428A1.701 1.701 0 0 0 1.42 5.396l2.92 16.562a1.695 1.695 0 0 0 1.969 1.38l1.564-.277a1.152 1.152 0 0 1-.276-.749V2.582Z",fill:"#AEF0FF"}),React.createElement("path",{d:"M21.863 1.403H8.755c-.639 0-1.156.518-1.157 1.156v19.752a1.159 1.159 0 0 0 1.157 1.157h13.108a.14.14 0 0 0 .14-.14V1.542a.14.14 0 0 0-.14-.14Zm-3.575 6.67h-6.493V4.928h6.493v3.145Z",fill:"#EF6A6A"}),React.createElement("path",{fill:"#F9DB91",d:"M11.795 4.928h6.493v3.146h-6.493z"}),React.createElement("path",{d:"M21.863 1.073H8.755c-.721 0-1.339.517-1.464 1.228l-4.548.8a2.029 2.029 0 0 0-1.645 2.353l2.92 16.56a2.027 2.027 0 0 0 2.35 1.647l1.392-.246c.273.247.627.383.995.382h13.108c.26 0 .47-.21.47-.47V1.543a.47.47 0 0 0-.47-.47ZM6.253 23.01a1.366 1.366 0 0 1-1.587-1.112L1.746 5.34a1.37 1.37 0 0 1 1.11-1.587l4.412-.777v1.534c-.85.061-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.534v1.193c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.475 1.522 1.535v1.192c-.85.06-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.535v1.192c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.474 1.522 1.535v1.95c0 .171.03.342.089.505l-1.105.193Zm1.014-17.84v1.746c-.486-.055-.862-.425-.862-.872 0-.448.377-.818.863-.874Zm0 4.261v1.747c-.486-.056-.862-.426-.862-.874 0-.447.377-.818.863-.873Zm0 4.261v1.746c-.486-.056-.862-.426-.862-.873s.377-.818.863-.873Zm0 4.26V19.7c-.486-.056-.862-.426-.862-.873 0-.448.377-.818.863-.874Zm14.406 5.185H8.755a.828.828 0 0 1-.827-.827v-4.226c.274.157.456.431.456.742a.79.79 0 0 1-.121.422.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.25-1.115-1.456v-3.545c.273.156.456.43.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.249-1.115-1.456V9.564c.273.156.456.43.456.74 0 .15-.042.296-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.497.22-.77 0-.674-.467-1.249-1.115-1.456V5.303c.273.156.456.431.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.23.22-.497.22-.769 0-.675-.467-1.25-1.115-1.457V2.56c0-.456.37-.826.827-.827h12.918v21.406Z",fill:"#512C56"}),React.createElement("path",{d:"M11.565 8.402h6.953a.101.101 0 0 0 .1-.101V4.699a.101.101 0 0 0-.1-.101h-6.953a.101.101 0 0 0-.101.101v3.605a.1.1 0 0 0 .101.098Zm.558-3.144h5.833v2.485h-5.833V5.258Zm5.163 11.89h-4.489a.33.33 0 1 0 0 .659h4.489a.33.33 0 1 0 0-.66Zm0 2.334h-4.489a.33.33 0 0 0 0 .66h4.489a.33.33 0 1 0 0-.66Z",fill:"#512C56"}))));var uc="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAwaDI0djI0SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHVzZSBmaWxsPSIjRjRGOEZGIiBvcGFjaXR5PSIuMDEiIHhs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object.prototype.hasOwnProperty,ec=Object.prototype.propertyIsEnumerable,tc=(ee,he,ge)=>he in ee?sc(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,nc=(ee,he)=>{for(var ge in he||(he={}))wu.call(he,ge)&&tc(ee,ge,he[ge]);if(Ts)for(var ge of Ts(he))ec.call(he,ge)&&tc(ee,ge,he[ge]);return ee};const cc=ee=>React.createElement("svg",nc({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var dc="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRw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E1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",zn=te(59301),gc=Object.defineProperty,ac=Object.defineProperties,mc=Object.getOwnPropertyDescriptors,oc=Object.getOwnPropertySymbols,fc=Object.prototype.hasOwnProperty,rc=Object.prototype.propertyIsEnumerable,Rs=(ee,he,ge)=>he in ee?gc(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,ks=(ee,he)=>{for(var ge in he||(he={}))fc.call(he,ge)&&Rs(ee,ge,he[ge]);if(oc)for(var ge of oc(he))rc.call(he,ge)&&Rs(ee,ge,he[ge]);return ee},pc=(ee,he)=>ac(ee,mc(he)),nu=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const dl=({v:ee,k:he,selectArrs:ge,setSelectArrs:He,dispatch:Gt,params:ht,classroomList:Bt,batchStatus:rn,manageAllGroup:gt,user:Nt})=>{var Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr,Jo,ka,Oo,Vn,Ht;const[xl,No]=(0,re.useState)([]),[Nn,jo]=(0,re.useState)(!1),Mr=(0,re.useRef)(),nn=(0,re.useRef)();var Wn=!1;const $a="YYYY-MM-DD",Ma=fe()("2020-11-15",$a);function zt(){return nu(this,null,function*(){console.log(ht,222);let bt=yield(0,x.ZP)(`/api/courses/${ht==null?void 0:ht.coursesId}/exercises/group_use_list.json`,{method:"get",params:pc(ks({},ht),{id:ee.id})});No((bt==null?void 0:bt.groups)||[])})}const Yo=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:zn.createElement(zn.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ee!=null&&ee.appraise_label&&(Wn=!0);const sl=(bt,an=!1)=>{var yt;Pe.history.push(`/classrooms/${ht.coursesId}/exercisenotice/${bt.id}/users/${(yt=(0,oe.eY)())==null?void 0:yt.login}`)},gl=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(bt,an)=>an.exercise_status===bt,render:(bt,an)=>zn.createElement("div",null,bt===1&&zn.createElement("span",null,zn.createElement("i",{className:Zl.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),bt===2&&zn.createElement("span",null,zn.createElement("i",{className:Zl.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),bt===3&&zn.createElement("span",null,zn.createElement("i",{className:Zl.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:ht.order_by==="publish_time"?ht.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:ht.order_by==="end_time"?ht.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(bt,an)=>an.exercise_status===1?"-":zn.createElement("span",null,bt,"/",an.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(bt,an)=>an.exercise_status===1?"-":bt===0?zn.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},bt):zn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${an.course_group_id}`)},bt)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(bt,an)=>an.exercise_status===1?zn.createElement("img",{style:{cursor:"not-allowed"},src:Us}):zn.createElement(ne.Z,{title:"\u8BC4\u9605"},zn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${an.course_group_id}`)},zn.createElement("img",{src:kl})))}],Pr=bt=>{if(Wn)return zn.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(bt!=null&&bt.includes("\u672A\u5F00\u59CB"))return zn.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(bt!=null&&bt.includes("\u8003\u8BD5\u4E2D"))return zn.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(bt!=null&&bt.includes("\u5DF2\u622A\u6B62"))return zn.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(bt!=null&&bt.includes("\u5BFC\u5165"))return zn.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},Nl=()=>{const bt=(ee==null?void 0:ee.simulate_exercise_num)-(ee==null?void 0:ee.user_simulate_num);return bt>=0?bt:0},Er=(bt=ee)=>{var an,yt,Ea;if(bt!=null&&bt.is_encrypt){Gt({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:bt==null?void 0:bt.id,phone:(an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.phone,login:(yt=Nt==null?void 0:Nt.userInfo)==null?void 0:yt.login}});return}(Ea=Nt==null?void 0:Nt.userInfo)!=null&&Ea.phone?Gt({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:bt==null?void 0:bt.id}}):Gt({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Mt=bt=>{var an,yt,Ea;if(((an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.login)!==(ee==null?void 0:ee.author_login)){xe.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Gt({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ee==null?void 0:ee.id,phone:(yt=Nt==null?void 0:Nt.userInfo)==null?void 0:yt.phone,login:(Ea=Nt==null?void 0:Nt.userInfo)==null?void 0:Ea.login,onFinish:bt}})};return zn.createElement("div",{className:Zl.listItem,onClick:bt=>{const an=()=>{(!(0,oe.GJ)()||(0,oe.GJ)()&&nn.current&&!nn.current.contains(bt.target))&&(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()}},(0,oe.GJ)()&&zn.createElement("span",{ref:nn},zn.createElement(Ne.default,{checked:ge.includes(ee.id),value:ee.id,style:{padding:"10px"},onClick:bt=>{bt.stopPropagation()},disabled:(ee==null?void 0:ee.is_encrypt)||(ee==null?void 0:ee.is_make_up_exercise),onChange:bt=>{let an=ge.indexOf(ee.id);ge.indexOf(ee.id)>-1?He(ge.filter(yt=>yt!==ee.id)):He(ge.concat(ee.id))}})),zn.createElement("div",{className:Zl.info},zn.createElement("div",{className:Zl.title},zn.createElement("div",{className:Zl.titleLeft,style:{marginRight:15}},Pr(ee==null?void 0:ee.exercise_tips),(ee==null?void 0:ee.is_make_up_exercise)&&zn.createElement("img",{src:Zi,width:44,height:24,style:{marginRight:10}}),zn.createElement(ne.Z,{title:ee.exercise_name},zn.createElement("span",{className:Zl.name},ee.exercise_name)),(ee==null?void 0:ee.high_resources_consume)&&!(ee!=null&&ee.high_resources_consume_permission)&&zn.createElement(Me.Z,{type:"exercise",style:{marginLeft:10}}),(ee==null?void 0:ee.high_resources_consume)&&(ee==null?void 0:ee.high_resources_consume_permission)&&zn.createElement("span",{className:Zl.authorized},"\u5DF2\u6388\u6743"),((Qo=ee==null?void 0:ee.exercise_tips)==null?void 0:Qo.includes("\u5DF2\u622A\u6B62"))&&((ko=Bt==null?void 0:Bt.detailTopBanner)==null?void 0:ko.forbid_end_exercise)&&zn.createElement(ne.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},zn.createElement("img",{src:dc,width:20,className:"ml10"})),!ee.is_public&&(0,oe.GJ)()&&zn.createElement(ne.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},zn.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ee==null?void 0:ee.exercise_type)==2&&zn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:Zl.moni},zn.createElement("img",{src:ai,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((fo=ee==null?void 0:ee.exercise_tips)==null?void 0:fo.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&zn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),(ee==null?void 0:ee.ai_push_wrong_question)&&zn.createElement("span",{className:Zl.ErrorPushTag},zn.createElement("img",{src:uc,width:12,className:"mr5"}),"AI\u9519\u9898\u63A8\u9001"),((ea=ee==null?void 0:ee.exercise_tips)==null?void 0:ea.includes("\u5DF2\u622A\u6B62"))&&((Lo=ee==null?void 0:ee.exercise_tips)==null?void 0:Lo.includes("\u672A\u63D0\u4EA4"))&&zn.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ee==null?void 0:ee.is_encrypt)&&zn.createElement(ne.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",zn.createElement("img",{src:bl,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),zn.createElement("div",{className:Zl.titleRight,onClick:bt=>{bt.stopPropagation(),bt.preventDefault()}},(ee==null?void 0:ee.appraise_setting)&&zn.createElement("span",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:()=>nu(void 0,null,function*(){const bt=()=>nu(void 0,null,function*(){Gt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const an=yield(0,x.ZP)(`/api/exercises/${ee.id}/create_appraise_students.json`,{method:"get"});Gt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,a.xg)(`/classrooms/${ht==null?void 0:ht.coursesId}/exercise/${ee.id}/centralizeReview/${an==null?void 0:an.login}`)});if(ee!=null&&ee.is_encrypt){Mt(bt);return}bt()})},zn.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),zn.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&(!(ee!=null&&ee.is_make_up_exercise)||(ee==null?void 0:ee.is_make_up_exercise)&&(ee==null?void 0:ee.exercise_status)===1&&(ee==null?void 0:ee.allow_create_make_up))&&zn.createElement(hi.Z,{tips:ee==null?void 0:ee.open_appraise},zn.createElement("span",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:()=>{const bt=()=>{var an,yt,Ea;if(((an=Nt==null?void 0:Nt.userInfo)==null?void 0:an.user_status)===2){(0,ve.Rd)();return}if((0,oe.Rm)()&&!((Ea=(yt=Bt==null?void 0:Bt.AssistantObject)==null?void 0:yt.exercise)!=null&&Ea.can_publish)){xe.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}if((ee==null?void 0:ee.exercise_question_count)===0){xe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let or=()=>{Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ee.id],selectArrsAll:[ee],unified_setting:ee.unified_setting,params:ht,disabled:ee.exercise_status!==1,type:2,manage_all_group:gt,isRouter:!0}})};ee!=null&&ee.high_resources_consume&&!(ee!=null&&ee.high_resources_consume_permission)?Gt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ht.coursesId,type:"exercise",type_id:ee.id,name:ee.exercise_name,fn:()=>{Gt({type:"classroomList/getClassroomExercisesList",payload:ks({},ht)}),or()}}}):or()};if(ee!=null&&ee.is_encrypt){Mt(bt);return}bt()}},zn.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),zn.createElement("div",null,"\u53D1\u5E03"))),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&!(0,a._m)()&&ee.assistant_auth&&zn.createElement("span",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:bt=>{bt.stopPropagation();const an=()=>{var yt,Ea;if((0,oe.Rm)()&&!((Ea=(yt=Bt==null?void 0:Bt.AssistantObject)==null?void 0:yt.exercise)!=null&&Ea.can_preview)){xe.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 or=fe()(ee.created_at,$a);fe()(Ma).diff(fe()(or),"days")>0&&(ee!=null&&ee.is_random)?Yo():ee!=null&&ee.is_random?(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/random/preview?random=${ee.is_random}`):(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=2`)};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()}},zn.createElement("i",{className:"iconfont icon-yulan3"}),zn.createElement("div",null,"\u9884\u89C8")),(0,oe.RV)()&&zn.createElement("span",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:()=>{const bt=()=>{(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Mt(bt);return}bt()}},zn.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),zn.createElement("div",null,"\u8BE6\u60C5")),(0,oe.GJ)()&&!(0,a._m)()&&zn.createElement(wa.Z,{placement:"bottom",content:zn.createElement("div",{className:Zl.popover},!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&zn.createElement("p",{onClick:bt=>nu(void 0,null,function*(){const an=()=>{(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=3`)};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()})},"\u89C4\u5219\u8BBE\u7F6E"),(ee==null?void 0:ee.exercise_tips.includes("\u5BFC\u5165"))&&zn.createElement("p",{onClick:bt=>nu(void 0,null,function*(){const an=()=>{Gt({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ee==null?void 0:ee.exercise_name,id:ee==null?void 0:ee.id,type:"hack"}})};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()})},"\u8865\u5145\u6210\u7EE9"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&ee.is_random&&ee.assistant_auth&&zn.createElement("p",{onClick:bt=>{bt.stopPropagation();const an=()=>{const yt=fe()(ee.created_at,$a);fe()(Ma).diff(fe()(yt),"days")>0&&(ee!=null&&ee.is_random)?Yo():(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/random/edit?type=settings`)};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()}},"\u7F16\u8F91\u8003\u8BD5"),zn.createElement("p",{onClick:bt=>nu(void 0,null,function*(){const an=()=>{var yt;Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ee.id],selectArrsAll:[ee],params:ht,status:(yt=ee==null?void 0:ee.exercise_tips)==null?void 0:yt[0]}})};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()})},"\u5220\u9664\u8BD5\u5377"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&zn.createElement("p",{onClick:()=>{const bt=()=>{Gt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ee.id],params:ht}})};if(ee!=null&&ee.is_encrypt){Mt(bt);return}bt()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((Zn=ee==null?void 0:ee.exercise_tips)==null?void 0:Zn.includes("\u672A\u5F00\u59CB"))&&(ee==null?void 0:ee.author_login)===((Wa=Nt==null?void 0:Nt.userInfo)==null?void 0:Wa.login)&&zn.createElement("p",{onClick:bt=>nu(void 0,null,function*(){Er(ee)})}," ",ee!=null&&ee.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&((0,oe.GJ)()||((Na=(Ra=Bt==null?void 0:Bt.AssistantObject)==null?void 0:Ra.exercise)==null?void 0:Na.can_stop))&&![1,3].includes(ee==null?void 0:ee.exercise_status)&&zn.createElement("p",{onClick:bt=>nu(void 0,null,function*(){const an=()=>{var yt,Ea;if((0,oe.Rm)()&&!((Ea=(yt=Bt==null?void 0:Bt.AssistantObject)==null?void 0:yt.exercise)!=null&&Ea.can_stop)){xe.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}Gt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ee.id],params:ht,unified_setting:ee.unified_setting}})};if(ee!=null&&ee.is_encrypt){Mt(an);return}an()})},"\u7ED3\u675F\u8003\u8BD5"))},zn.createElement("span",{onClick:bt=>bt.stopPropagation(),className:Zl.flexBox,style:{cursor:"default"}},zn.createElement("i",{className:"iconfont icon-gengduo4"}),zn.createElement("div",null,"\u66F4\u591A"))),(0,oe.dE)()&&zn.createElement(zn.Fragment,null,!!ee.off_limits&&zn.createElement(ne.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ee==null?void 0:ee.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},zn.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===0&&ee.exercise_status>1&&!((vr=ee.exercise_tips)!=null&&vr.includes("\u5DF2\u622A\u6B62"))&&zn.createElement("a",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:bt=>{bt.stopPropagation(),bt.preventDefault(),sl(ee,!0)},href:""},zn.createElement("i",{className:"iconfont icon-jixukaoshi"}),zn.createElement("div",null,(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((qo=ee.exercise_tips)!=null&&qo.includes("\u5DF2\u622A\u6B62"))&&(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&zn.createElement("a",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:bt=>{bt.stopPropagation(),bt.preventDefault(),sl(ee,!0)},href:""},zn.createElement("i",{className:"iconfont icon-jixukaoshi"}),zn.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ee.off_limits&&ee.current_status===1&&(ee==null?void 0:ee.screen_used_num)<(ee==null?void 0:ee.screen_total_num)&&ee.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ee==null?void 0:ee.exercise_type)==2&&(ee==null?void 0:ee.exercise_status)!=3)&&zn.createElement("span",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:bt=>nu(void 0,null,function*(){var an;if(bt.stopPropagation(),!(ee!=null&&ee.answered_open)){xe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,pr.w)(ht.coursesId,ee.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/users/${(an=(0,oe.eY)())==null?void 0:an.login}?check=true`)})},zn.createElement("i",{className:"iconfont icon-chakankaoshi"}),zn.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===2&&ee.exercise_status>1&&!((Mo=ee.exercise_tips)!=null&&Mo.includes("\u5DF2\u622A\u6B62"))&&zn.createElement("a",{className:Zl.flexBox,style:{marginRight:"16px",color:(ee==null?void 0:ee.is_redo)===1&&"red"},onClick:bt=>{bt.stopPropagation(),bt.preventDefault(),sl(ee)},href:""},zn.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),zn.createElement("div",null,(ee==null?void 0:ee.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==2&&!ee.off_limits&&ee.exercise_status>1&&!((_o=ee.exercise_tips)!=null&&_o.includes("\u5DF2\u622A\u6B62"))&&zn.createElement(ne.Z,{title:zn.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ee==null?void 0:ee.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",Nl(),"\u6B21")},zn.createElement("a",{className:Zl.flexBox,onClick:bt=>{Nl()==0&&(ee==null?void 0:ee.current_status)!=0||(bt.stopPropagation(),bt.preventDefault(),sl(ee))},href:""},zn.createElement("i",{className:`iconfont ${(ee==null?void 0:ee.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),zn.createElement("div",null,(ee==null?void 0:ee.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5"))),(ee==null?void 0:ee.ai_push_wrong_question)&&(ee==null?void 0:ee.whole_exercise_status)===3&&!((tr=ee==null?void 0:ee.exercise_tips)!=null&&tr.includes("\u672A\u63D0\u4EA4"))&&zn.createElement("span",{className:Zl.flexBox,style:{marginRight:"16px"},onClick:bt=>nu(void 0,null,function*(){var an,yt;if(bt.stopPropagation(),(ee==null?void 0:ee.wrong_questions_size)===0){xe.ZP.warning("\u672C\u6B21\u8003\u8BD5\u4F60\u65E0\u9700\u8FDB\u884C\u9519\u9898\u5DE9\u56FA\uFF5E");return}if(((an=ee==null?void 0:ee.progress)==null?void 0:an.stat)===1){xe.ZP.warning("\u63A8\u8350\u8BD5\u9898\u6B63\u5728\u751F\u6210\u4E2D\uFF0C\u8BF7\u7B49\u5F85\u751F\u6210\u5B8C\u6210\u540E\u518D\u5F00\u59CB\u5DE9\u56FA");return}(0,a.xg)(`/classrooms/${ht.coursesId}/exercise/${ee.id}/wrongAnswer/${(yt=(0,oe.eY)())==null?void 0:yt.login}`)})},zn.createElement("i",{className:"iconfont icon-cuotigonggu"}),zn.createElement("div",null,"\u9519\u9898\u5DE9\u56FA"))))),(0,oe.GJ)()&&zn.createElement("p",{style:{display:"flex"}},zn.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:ee.author},ee.author),zn.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",fe()(ee.created_at).format("YYYY-MM-DD HH:mm:ss")),((Jo=ee==null?void 0:ee.exercise_tips)==null?void 0:Jo.includes("\u672A\u5F00\u59CB"))&&ee.publish_time&&zn.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",fe()(ee.publish_time).format("YYYY-MM-DD HH:mm:ss")),zn.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),zn.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",ee.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((ka=ee==null?void 0:ee.exercise_tips)!=null&&ka.includes("\u672A\u5F00\u59CB"))&&!(ee!=null&&ee.is_make_up_exercise)&&!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&zn.createElement("span",{className:Zl.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:bt=>nu(void 0,null,function*(){bt.stopPropagation(),bt.preventDefault(),Nn||zt(),jo(!Nn)})},zn.createElement(ne.Z,{title:`${Nn?"\u6536\u8D77":"\u5C55\u5F00"}`},zn.createElement("i",{className:`iconfont icon-${Nn?"shouqi":"xiala2"}`})))),(0,oe.dE)()&&zn.createElement("p",{style:{display:"flex"}},zn.createElement("span",{className:"c-grey-333"},ee.author),zn.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),!!(ee!=null&&ee.exercise_left_time)&&zn.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ee==null?void 0:ee.exercise_left_time),!!(ee!=null&&ee.before_start)&&zn.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ee==null?void 0:ee.before_start)),(0,oe.GJ)()&&!((Oo=ee==null?void 0:ee.exercise_tips)!=null&&Oo.includes("\u672A\u5F00\u59CB"))&&zn.createElement("p",null,zn.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),zn.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",zn.createElement("span",null,ee==null?void 0:ee.unanswer_users)),zn.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",zn.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ee==null?void 0:ee.answering_users)),zn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",zn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.answer_users)),zn.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",zn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.commit_with_no_answers_users))),(0,oe.GJ)()&&!((Vn=ee==null?void 0:ee.exercise_tips)!=null&&Vn.includes("\u672A\u5F00\u59CB"))&&Nn&&xl.length>5&&zn.createElement(ot.default,{scroll:{y:240},pagination:!1,dataSource:xl,onRow:bt=>({onClick:an=>{an.stopPropagation(),an.preventDefault()}}),onHeaderRow:(bt,an)=>({onClick:yt=>{yt.stopPropagation(),yt.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(bt,an,yt)=>{yt.field&&(ht.order_by=yt.field),yt.order||(ht.sort_direction="asc"),yt.order==="ascend"&&(ht.sort_direction="asc"),yt.order==="descend"&&(ht.sort_direction="desc"),yt.order||(ht.sort_direction="asc"),zt()},columns:gl}),(0,oe.GJ)()&&!((Ht=ee==null?void 0:ee.exercise_tips)!=null&&Ht.includes("\u672A\u5F00\u59CB"))&&Nn&&xl.length<6&&xl.length>0&&zn.createElement(ot.default,{rowKey:"course_group_id",pagination:!1,onRow:bt=>({onClick:an=>{an.stopPropagation(),an.preventDefault()}}),onHeaderRow:(bt,an)=>({onClick:yt=>{yt.stopPropagation(),yt.preventDefault()}}),dataSource:xl,style:{marginTop:"10px"},onChange:(bt,an,yt)=>{yt.field&&(ht.order_by=yt.field),yt.order||(ht.sort_direction="asc"),yt.order==="ascend"&&(ht.sort_direction="asc"),yt.order==="descend"&&(ht.sort_direction="desc"),yt.order||(ht.sort_direction="asc"),zt()},columns:gl}),(ee==null?void 0:ee.total)!==void 0&&zn.createElement("p",null,zn.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),zn.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",zn.createElement("span",null,ee==null?void 0:ee.total)),zn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",zn.createElement("span",{style:{color:"#4EACFF"}},ee==null?void 0:ee.finish_total)),zn.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",zn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.unfinished_total)))),zn.createElement(fl.Z,{closable:!0,successCb:()=>sl(Mr.current)}))};var Ro=(0,Pe.connect)(({classroomList:ee})=>({classroomList:ee}))(dl),mr=te(95651),yl=te(37497),Jl=te(48436),es=te(12586),au=te(62686),Lu=te(61604),Eo=te(59301),Ps=Object.defineProperty,ju=Object.defineProperties,ou=Object.getOwnPropertyDescriptors,lc=Object.getOwnPropertySymbols,Fc=Object.prototype.hasOwnProperty,Bc=Object.prototype.propertyIsEnumerable,bc=(ee,he,ge)=>he in ee?Ps(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ee[he]=ge,Wl=(ee,he)=>{for(var ge in he||(he={}))Fc.call(he,ge)&&bc(ee,ge,he[ge]);if(lc)for(var ge of lc(he))Bc.call(he,ge)&&bc(ee,ge,he[ge]);return ee},ts=(ee,he)=>ju(ee,ou(he)),Oc=(ee,he)=>{var ge={};for(var He in ee)Fc.call(ee,He)&&he.indexOf(He)<0&&(ge[He]=ee[He]);if(ee!=null&&lc)for(var He of lc(ee))he.indexOf(He)<0&&Bc.call(ee,He)&&(ge[He]=ee[He]);return ge},Qs=(ee,he,ge)=>new Promise((He,Gt)=>{var ht=gt=>{try{rn(ge.next(gt))}catch(Nt){Gt(Nt)}},Bt=gt=>{try{rn(ge.throw(gt))}catch(Nt){Gt(Nt)}},rn=gt=>gt.done?He(gt.value):Promise.resolve(gt.value).then(ht,Bt);rn((ge=ge.apply(ee,he)).next())});const Nc=ee=>{var he=ee,{user:ge,classroomList:He,globalSetting:Gt,loading:ht,dispatch:Bt}=he,rn=Oc(he,["user","classroomList","globalSetting","loading","dispatch"]),gt,Nt,Qo,ko,fo,ea,Lo,Zn,Wa,Ra,Na,vr,qo,Mo,_o,tr,Jo,ka;const Oo=(0,Pe.useParams)(),[Vn]=(0,Pe.useSearchParams)(),[Ht,xl]=(0,re.useState)(()=>ts(Wl({},Oo),{limit:20})),No=(0,Pe.useLocation)(),{detailExerciseList:Nn,detailTopBanner:jo,detailLeftMenus:Mr}=He,[nn,Wn]=(0,re.useState)([]),[$a,Ma]=(0,re.useState)(!1),[zt,Yo]=(0,re.useState)([]),[sl,gl]=(0,re.useState)(!1),[Pr,Nl]=(0,re.useState)(!1),[Er,Mt]=(0,re.useState)(!1),[bt,an]=(0,re.useState)(!1),[yt,Ea]=(0,re.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),or=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Ht.type=Vn.get("tabs")==="all"?"":Vn.get("tabs")||"",Ht.id=Ht.coursesId,(0,re.useEffect)(()=>{var kt,ya,Cl;if((kt=ge==null?void 0:ge.userInfo)!=null&&kt.login){if((0,oe.GJ)()){const ml=a.cX.getItem(`${(ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.login}Teacher`,"Exercise");ml&&(Ht.sort_by=ml==null?void 0:ml.type,Ht.sort_direction=ml==null?void 0:ml.direction,Ea(ml==null?void 0:ml.name))}Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})}else(Cl=ge==null?void 0:ge.userInfo)!=null&&Cl.username&&Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)});Ma(!1)},[(gt=ge==null?void 0:ge.userInfo)==null?void 0:gt.login,No.pathname]),(0,re.useEffect)(()=>{He.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})},[He.actionTabs.key]),(0,re.useEffect)(()=>{He.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(gl(!0),Nl(jo==null?void 0:jo.show_unstart_exercise),Mt(jo==null?void 0:jo.forbid_end_exercise))},[He.actionTabs.key]),(0,re.useEffect)(()=>{Wn([])},[Nn]);const jr=(kt,ya)=>{Wn([]),Ht.page=kt,Ht.limit=ya,Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})},rl=kt=>{Ht.type=kt.key==="all"?"":kt.key,Ht.page=1,Pe.history.replace(`${No.pathname}?tabs=${kt.key}`),an(!1),Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})};(0,re.useEffect)(()=>{Vn.get("tabs")==="all"&&(Ht.type="",Ht.page=1)},[Vn.get("tabs")]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&Bt({type:"classroomList/getAssistantPermissions",payload:{course_id:Ht.coursesId}})},[(Nt=ge==null?void 0:ge.userInfo)==null?void 0:Nt.username]),(0,re.useEffect)(()=>{const kt=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),Fe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:Eo.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Eo.createElement("br",null),"1\u3001\u5728",Eo.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",Eo.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",Eo.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Eo.createElement("br",null),"2\u3001\u5728",Eo.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",Eo.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",Eo.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Eo.createElement("br",null),kt==="allowRouter"&&Eo.createElement(Eo.Fragment,null,"3\u3001",Eo.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&Bt({type:"classroomList/getAssistantPermissions",payload:{course_id:Ht.coursesId}})},[(Qo=ge==null?void 0:ge.userInfo)==null?void 0:Qo.login]);const Uo=[{name:"\u5168\u90E8",id:"all",total:(ko=Nn.exercises_counts)==null?void 0:ko.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(fo=Nn.exercises_counts)==null?void 0:fo.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(ea=Nn.exercises_counts)==null?void 0:ea.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Lo=Nn.exercises_counts)==null?void 0:Lo.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(Zn=Nn.exercises_counts)==null?void 0:Zn.end_counts}],ni=[{name:"\u6279\u91CF\u53D1\u5E03",icon:Eo.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:Eo.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:Eo.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:Eo.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:Eo.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(kt=>(0,oe.GJ)()?!0:kt.name!=="\u6279\u91CF\u5220\u9664").filter(kt=>jo.is_public?!0:kt.name!=="\u8BBE\u4E3A\u516C\u5F00"),ru=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Eo.createElement(Eo.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),Gi="YYYY-MM-DD",yu=fe()("2020-11-15",Gi),lu=kt=>{var ya;Ht.sort_by=kt.type,Ht.sort_direction=kt.direction,(0,oe.GJ)()&&a.cX.setItem(`${(ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.login}Teacher`,kt,"Exercise"),Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:Wl({},Ht)}),Ea(kt.name)},zu=()=>Eo.createElement(be.default,null,Eo.createElement(be.default.Item,{key:1,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He==null?void 0:He.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}Bt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Ht}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),Eo.createElement(be.default.Item,{key:2,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He==null?void 0:He.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}window.scrollTo(0,0),Pe.history.push(`/classrooms/${Ht.coursesId}/exercise/add?catalogue=${(Oo==null?void 0:Oo.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),Eo.createElement(be.default.Item,{key:3,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=He.AssistantObject)==null?void 0:kt.practice)!=null&&ya.can_create)){xe.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}Bt({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),iu=kt=>Qs(void 0,null,function*(){var ya,Cl,ml,Ei,Wi,vu,ma,eo;const ba=kt.name;if(((ya=ge==null?void 0:ge.userInfo)==null?void 0:ya.user_status)===2&&kt.name==="\u6279\u91CF\u53D1\u5E03"){(0,ve.Rd)();return}const Io=[];if((Cl=Nn.exercises)==null||Cl.map(ga=>{if(nn.includes(ga.id)&&ga.is_random){const Ua=fe()(ga.created_at,Gi);fe()(yu).diff(fe()(Ua),"days")>0&&(ga!=null&&ga.is_random)&&Io.push(ga)}}),nn==""){let ga="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(ga="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),xe.ZP.error(ga)}else if(Io.length)ru();else{if(ba==="\u6279\u91CF\u53D1\u5E03"){if((0,oe.Rm)()&&!((Ei=(ml=He==null?void 0:He.AssistantObject)==null?void 0:ml.exercise)!=null&&Ei.can_publish)){xe.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}let ga=!1;Nn.exercises.forEach(ho=>{nn.includes(ho.id)&&ho.total_num===0&&ho.is_random&&(ga=!0)});let Ua;if(Ua=(vu=(Wi=Nn.exercises.filter(ho=>nn.includes(ho==null?void 0:ho.id)).filter(ho=>(ho==null?void 0:ho.exercise_question_count)===0))==null?void 0:Wi[0])==null?void 0:vu.exercise_name,(Ua==null?void 0:Ua.length)>0){xe.ZP.warning(`${Ua}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(ga){xe.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let wr=!1;if(Nn.exercises.forEach(ho=>{nn.includes(ho.id)&&ho.exercise_status!==1&&(wr=!0)}),wr){xe.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const ga=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...nn]}});if(((ma=ga==null?void 0:ga.cover_exercises)==null?void 0:ma.length)>0){Yo(ga==null?void 0:ga.cover_exercises);return}}Bt({type:"exercise/setActionTabs",payload:{key:ba,selectArrs:nn,selectArrsAll:(eo=Nn.exercises)==null?void 0:eo.filter(ga=>nn.includes(ga.id)),params:Ht,type:1}})}});return Eo.createElement("section",{className:"minH500"},Eo.createElement(mr.Z,{isLoading:ht["classroomList/getClassroomExercisesList"],tabDataSource:Uo,isAdmin:(0,oe.GJ)(),dispatch:Bt,type:Nn==null?void 0:Nn.main_category_name,isExercise:!0,user:ge,getDropdownMenu:zu,onTabMenuClick:rl,classroomList:He,defaultSelectedKeys:[Ht.type||"all"]}),Eo.createElement(yl.Z,{dataSource:Nn.exercises||[],isAdmin:(0,oe.GJ)(),batchStatus:bt,SortMenuName:yt,setSortMenuName:Ea,SortMenus:or,onSearch:kt=>{Ht.search=kt.trim(),Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:Wl({},Ht)})},isShowMode:!0,onModeChange:kt=>{Ht.is_normal=kt,Ht.page=1,Bt({type:"classroomList/getClassroomExercisesList",payload:Wl({},Ht)})},onSort:lu,onBatch:kt=>an(kt)}),Eo.createElement(ue.Z,{loading:ht["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(Wa=Nn.exercises_counts)!=null&&Wa.exercises_all_counts?Nn.exercises.map(function(kt,ya){return Eo.createElement(Ro,{key:ya,v:kt,k:ya,batchStatus:bt,selectArrs:nn,setSelectArrs:Wn,dispatch:Bt,params:Ht,user:ge,manageAllGroup:Nn.manage_all_group})}):Eo.createElement(E.Z,null),Eo.createElement("aside",{className:"tc mb50 mt30"},((Ra=Nn.exercises_counts)==null?void 0:Ra.exercises_all_counts)>0&&Eo.createElement(Oe.Z,{showTotal:kt=>{var ya;return`\u5171 ${(ya=Nn==null?void 0:Nn.exercises_counts)==null?void 0:ya.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:jr,defaultCurrent:Ht.page,current:Ht.page||1,pageSize:Ht.limit||20,total:Nn.exercises_counts&&Nn.exercises_counts.exercises_all_counts}))),nn.length>0&&(0,oe.GJ)()&&Eo.createElement(je.Z,{offsetBottom:0},Eo.createElement(Jl.Z,{buttonDataSource:ni,onButtonClick:iu,useBatchStatus:an,setSeleArr:Wn,catalogue:((vr=(Na=Mr==null?void 0:Mr.course_modules)==null?void 0:Na.find(kt=>kt.type==="exercise"))==null?void 0:vr.second_category)||[],addCatalogue:kt=>{kt.preventDefault(),Bt({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Ht,selectArrs:{category_id:Nn==null?void 0:Nn.main_category_id,type:"exercise"}}})},allSelect:nn.length?nn.length===((Mo=(qo=Nn.exercises)==null?void 0:qo.filter(kt=>!kt.is_make_up_exercise))==null?void 0:Mo.length):!1,setAllSelect:kt=>{var ya;kt.target.checked?Wn((ya=Nn==null?void 0:Nn.exercises)==null?void 0:ya.filter(Cl=>!Cl.is_make_up_exercise).map(Cl=>Cl.id)):Wn([])},selectArrs:nn,onMenuClick:kt=>Qs(void 0,[kt],function*({key:ya}){if(nn=="")return xe.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:nn,new_category_id:ya}})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Bt({type:"classroomList/getClassroomExercisesList",payload:Wl({},Oo)}))})})),Eo.createElement(kr.Z,null),Eo.createElement(Sl.Z,null),Eo.createElement(Ku,null),Eo.createElement(us,null),Eo.createElement(au.Z,{onOk:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:Wl({},Oo)})}}),Eo.createElement(Lu.Z,{onOk:()=>{}}),Eo.createElement(ls,{cb:()=>Wn([])}),Eo.createElement(Ks,null),Eo.createElement(fl.Z,null),Eo.createElement(Fe.default,{title:Eo.createElement("span",null,Eo.createElement(hr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:zt.length>0,footer:!1,onCancel:()=>{Yo([])}},Eo.createElement("div",{style:{height:300,overflow:"auto"}},Eo.createElement("div",null,"\u6709",zt==null?void 0:zt.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),zt==null?void 0:zt.map(kt=>Eo.createElement("div",{style:{marginTop:25}},Eo.createElement("div",null,"\u8BD5\u5377\uFF1A",kt==null?void 0:kt.origin_exercise_nam),Eo.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Eo.createElement("a",{href:`/paperlibrary/see/${kt==null?void 0:kt.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},kt==null?void 0:kt.examination_bank_name))))),Eo.createElement("div",{style:{textAlign:"end"}},Eo.createElement(Ie.ZP,{style:{height:30},onClick:()=>Qs(void 0,null,function*(){const kt=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...nn],update:1}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u8986\u76D6\u6210\u529F"),Yo([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),Eo.createElement(Ie.ZP,{type:"primary",onClick:()=>Qs(void 0,null,function*(){const kt=yield(0,x.ZP)(`/api/courses/${Ht.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...nn]}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u5F62\u6210\u6210\u529F"),Yo([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),Eo.createElement(Fe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:sl,centered:!0,onOk:()=>Qs(void 0,null,function*(){let kt=yield(0,x.ZP)(`/api/courses/${Ht.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:Pr,forbid_end_exercise:Er}});(kt==null?void 0:kt.status)===0&&(gl(!1),Bt({type:"classroomList/setActionTabs",payload:{key:""}}),Bt({type:"classroomList/getClassroomTopBanner",payload:{id:Ht.coursesId}}),xe.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{gl(!1),Bt({type:"classroomList/setActionTabs",payload:{key:""}})}},Eo.createElement(Ne.default,{checked:Pr,onChange:kt=>{Nl(kt.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",Eo.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),Eo.createElement(Ne.default,{className:"mt20",checked:Er,onChange:kt=>{Mt(kt.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),Eo.createElement(es.Z,null),Eo.createElement(Eo.Fragment,null,Eo.createElement($o.T$,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ts(Wl({},He==null?void 0:He.actionTabs),{open:""})})},open:((_o=He==null?void 0:He.actionTabs)==null?void 0:_o.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),Eo.createElement($o.$i,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ts(Wl({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})},open:((tr=He==null?void 0:He.actionTabs)==null?void 0:tr.open)==="\u8BD5\u5377\u5C01\u5B58",Data:ts(Wl({},He==null?void 0:He.actionTabs),{type:"exercise"})}),Eo.createElement($o.K1,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ts(Wl({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})},open:((Jo=He==null?void 0:He.actionTabs)==null?void 0:Jo.open)==="\u89E3\u5C01",Data:ts(Wl({},He==null?void 0:He.actionTabs),{type:"exercise"})}),Eo.createElement($o.O7,{onCancel:()=>{Bt({type:"classroomList/setActionTabs",payload:ts(Wl({},He==null?void 0:He.actionTabs),{open:""})})},onFinish:()=>{Bt({type:"classroomList/getClassroomExercisesList",payload:Wl(Wl({},Ht),Oo)})},open:((ka=He==null?void 0:He.actionTabs)==null?void 0:ka.open)==="\u63D0\u793A",Data:ts(Wl({},He==null?void 0:He.actionTabs),{type:"exercise"})})))};var Ic=(0,Pe.connect)(({user:ee,classroomList:he,loading:ge,globalSetting:He})=>({user:ee,classroomList:he,globalSetting:He,loading:ge.effects}))(Nc);const Tc=({globalSetting:ee})=>{var he;switch(Number((he=ee==null?void 0:ee.setting)==null?void 0:he.theme)){case b.Fy.THEMEONE:return re.createElement(Hu,null);case b.Fy.THEMETHREE:return re.createElement(nl,null);case b.Fy.DEFAULT:default:return re.createElement(Ic,null)}};var Rc=(0,Pe.connect)(({globalSetting:ee})=>({globalSetting:ee}))(Tc)},44304:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ie}});var b=te(59301),re=te(92832),Pe=te(24905),Fe=te(95237),be={leftdiv:"leftdiv___AgbDd",listClass:"listClass___FyD9K",spantitle:"spantitle___U79dv",rightdiv:"rightdiv___F1hgj"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ue=te(2524),Oe=(Ne,De,fe)=>new Promise((oe,a)=>{var E=z=>{try{y(fe.next(z))}catch(ne){a(ne)}},x=z=>{try{y(fe.throw(z))}catch(ne){a(ne)}},y=z=>z.done?oe(z.value):Promise.resolve(z.value).then(E,x);y((fe=fe.apply(Ne,De)).next())}),Ie=({data:Ne,value:De=[],handleChangePage:fe,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:E=()=>{}})=>{const[x,y]=(0,b.useState)([]),[z,ne]=(0,b.useState)([]),[ae,le]=(0,b.useState)([]);let[ie,de]=(0,b.useState)(1),[se,ce]=(0,b.useState)();return(0,b.useEffect)(()=>{y(Ne),ne([]),le([])},[Ne]),(0,b.useEffect)(()=>{oe&&(ne(a),le(a))},[a]),b.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},b.createElement("div",{className:be.leftdiv},b.createElement(re.default.Search,{size:"middle",onChange:me=>Oe(void 0,null,function*(){y(Ne.filter(ve=>{var Ee;return(Ee=ve==null?void 0:ve.name)==null?void 0:Ee.includes(me.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),x.length===0&&b.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(Pe.default.Group,{value:z.map(me=>`${me.course_group_id}`),onChange:me=>{oe(x.filter(ve=>me.includes(`${ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},x.map((me,ve)=>b.createElement(Fe.Z,{key:me.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},b.createElement(Pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:me.is_published,value:`${me.course_group_id}`},b.createElement("div",{className:be.listClass},b.createElement("span",{className:be.spantitle,style:{width:me.is_published?"108px":"170px"}},me.name),me.is_published&&b.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),b.createElement("div",{className:be.rightdiv},b.createElement(re.default.Search,{onChange:me=>{le(z.filter(ve=>ve.name.includes(me.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ae.length===0&&b.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ae.length>0&&b.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},b.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ae.map((me,ve)=>b.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:me.course_group_id},b.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},me.name),b.createElement("img",{src:xe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(Ee=>`${Ee.course_group_name}`!=`${me.course_group_name}`))}})))))))}},18682:function(tt,Qe,te){"use strict";var b=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(65582),Oe=te(74128),je=te(78677),Ie=te(38147),Ne=te(56656),De=te.n(Ne),fe=te(65862),oe=te(59301),a=Object.defineProperty,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(de,se,ce)=>se in de?a(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ce}):de[se]=ce,ne=(de,se)=>{for(var ce in se||(se={}))x.call(se,ce)&&z(de,ce,se[ce]);if(E)for(var ce of E(se))y.call(se,ce)&&z(de,ce,se[ce]);return de},ae=(de,se,ce)=>new Promise((me,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?me(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const{Dragger:le}=re.default,ie=({classroomList:de,dispatch:se,onOk:ce})=>{const me=(0,ue.useParams)(),[ve]=Pe.default.useForm(),[Ee,Je]=(0,b.useState)(),[Me,Ue]=(0,b.useState)(!1),Le={height:100,onRemove:()=>{Je("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:ke=>ae(void 0,null,function*(){return Je(ke),!1})};return(0,b.useEffect)(()=>{ve.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,fe.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ae(void 0,null,function*(){ve.submit()}),onCancel:()=>{ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(Pe.default,{form:ve,onFinish:ke=>ae(void 0,null,function*(){var nt,pt,dt;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ue(!0);let lt=new FormData;lt.append("type",de.actionTabs.type),lt.append("file",Ee);let Xe;window.location.href.indexOf("exercise")>-1?Xe=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Xe=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let Pt=yield(0,Ie.ZP)(Xe,{method:"post",body:lt},!0);Ue(!1),(Pt==null?void 0:Pt.status)===0&&(ce(),ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}}),((pt=(nt=Pt==null?void 0:Pt.data)==null?void 0:nt.fail)==null?void 0:pt.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(xe.default,{pagination:!1,dataSource:(dt=Pt==null?void 0:Pt.data)==null?void 0:dt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,fe.FH)("",Oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},oe.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),oe.createElement(Pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:Oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(Pe.default.Item,{style:{marginBottom:0}},oe.createElement(le,ne({},Le),oe.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,ue.connect)(({classroomList:de})=>({classroomList:de}))(ie)},90588:function(tt,Qe,te){"use strict";var b=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(92832),Oe=te(95237),je=te(43604),Ie=te(5871),Ne=te(5083),De=te(65582),fe=te(96565),oe=te(74128),a=te(78677),E=te(38147),x=te(99981),y=te(56656),z=te.n(y),ne=te(65862),ae=te(59301),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Me,Ue,Le)=>Ue in Me?le(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,me=(Me,Ue)=>{for(var Le in Ue||(Ue={}))de.call(Ue,Le)&&ce(Me,Le,Ue[Le]);if(ie)for(var Le of ie(Ue))se.call(Ue,Le)&&ce(Me,Le,Ue[Le]);return Me},ve=(Me,Ue,Le)=>new Promise((ke,nt)=>{var pt=Xe=>{try{lt(Le.next(Xe))}catch(Pt){nt(Pt)}},dt=Xe=>{try{lt(Le.throw(Xe))}catch(Pt){nt(Pt)}},lt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(pt,dt);lt((Le=Le.apply(Me,Ue)).next())});const{Dragger:Ee}=re.default,Je=({classroomList:Me,dispatch:Ue,onOk:Le})=>{const ke=(0,De.useParams)(),[nt]=Pe.default.useForm(),[pt,dt]=(0,b.useState)(),[lt,Xe]=(0,b.useState)(!1),Pt={height:100,onRemove:()=>{dt("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:Ge=>ve(void 0,null,function*(){return dt(Ge),!1})};return(0,b.useEffect)(()=>{nt.setFieldsValue({publish_time:z()(z()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:z()(z()(new Date((0,ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),ae.createElement(Fe.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:lt},onOk:()=>ve(void 0,null,function*(){nt.submit()}),onCancel:()=>{nt.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement(Pe.default,{form:nt,colon:!1,onFinish:Ge=>ve(void 0,null,function*(){var Te,We,vt;if(!(pt!=null&&pt.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let It=new FormData;It.append("name",Ge.name),It.append("type",Me.actionTabs.type),It.append("category_id",(ke==null?void 0:ke.categoryId)||null),Me.actionTabs.type==="exercise"?(It.append("time",Ge.time||""),It.append("total_score",Ge.total_score)):It.append("description",Ge.description||""),It.append("publish_time",z()(Ge.publish_time).format("YYYY-MM-DD HH:mm")),It.append("end_time",z()(Ge.end_time).format("YYYY-MM-DD HH:mm")),It.append("file",pt);let mt=yield(0,E.ZP)(`/api/courses/${ke.coursesId}/export_external_score_homework.json`,{method:"post",body:It},!0);Xe(!1),(mt==null?void 0:mt.status)===0&&(nt.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}}),Le(),((We=(Te=mt==null?void 0:mt.data)==null?void 0:Te.fail)==null?void 0:We.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ae.createElement(xe.default,{pagination:!1,dataSource:(vt=mt==null?void 0:mt.data)==null?void 0:vt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ne.FH)("",oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Me.actionTabs.type}`)}}))})},ae.createElement(Pe.default.Item,{label:Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},ae.createElement(ue.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Me.actionTabs.type!=="exercise"&&ae.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},ae.createElement(fe.Z,{watch:!0})),Me.actionTabs.type==="exercise"&&ae.createElement(Oe.Z,{style:{marginLeft:6}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},ae.createElement(ue.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},ae.createElement(Ie.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),ae.createElement(Oe.Z,{style:{marginLeft:6,marginBottom:12}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:Ge=>(0,x.Q8)(Ge),disabledTime:Ge=>(0,x.d0)(Ge),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:Ge=>(0,x.Q8)(Ge,"",nt.getFieldValue("publish_time")),disabledTime:Ge=>(0,x.d0)(Ge,nt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),ae.createElement(Pe.default.Item,{style:{marginBottom:0},label:ae.createElement("div",null,ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ae.createElement("div",null,ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:a.Z.downloadbutton,href:oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Me.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ae.createElement(Pe.default.Item,{style:{marginBottom:0}},ae.createElement(Ee,me({},Pt),ae.createElement("a",{className:a.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("br",null),ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,De.connect)(({classroomList:Me})=>({classroomList:Me}))(Je)},64575:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var b=te(59301),re=te(20834),Pe=te(92832),Fe=te(24905),be=te(3113),xe=te(38854),ue={bottomControlContainer:"bottomControlContainer___Zu9jI",buttonWrap:"buttonWrap___aWo9e",moveCategory:"moveCategory____Cpq2"},Oe=te(41867),je=te(84105),Ne=({buttonDataSource:De,onButtonClick:fe,useBatchStatus:oe,allSelect:a,setAllSelect:E,selectArrs:x,onMenuClick:y,setSeleArr:z,catalogue:ne,addCatalogue:ae})=>{const[le,ie]=(0,b.useState)(!1),[de,se]=(0,b.useState)("");console.log("---",ne);const ce=b.createElement("div",{className:ue.moveCategory,onMouseLeave:me=>ie(!1)},b.createElement(re.default,{onClick:y,style:{maxHeight:300,width:240,overflow:"auto"}},b.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},b.createElement(Pe.default,{onChange:me=>{se(me.target.value)}})),ne==null?void 0:ne.map(function(me,ve){var Ee;if(!(de!==""&&me.category_name.indexOf(de)<0))return b.createElement(b.Fragment,null,b.createElement(re.default.Item,{className:"multi-llipsis1e",key:me.category_id,title:me.category_name},me.category_name),(Ee=me==null?void 0:me.third_category)==null?void 0:Ee.map(Je=>b.createElement(re.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Je.category_id,title:Je.category_name},Je.category_name)))}),ae&&b.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:ae},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return b.createElement("div",{className:ue.bottomControlContainer},b.createElement("div",null,b.createElement("div",null,b.createElement(Fe.default,{checked:a,onChange:E},"\u5168\u9009\u672C\u9875\uFF08",x.length,"\uFF09")),(0,Oe.GJ)()&&De.map(me=>b.createElement("div",{key:me.name},b.createElement(be.ZP,{type:"primary",icon:me.icon,className:ue.buttonWrap,onClick:()=>fe(me)},me.name))),(0,Oe.GJ)()&&(ae||ne)&&b.createElement("div",null,b.createElement(xe.Z,{open:le,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ce,getPopupContainer:me=>me.parentNode},b.createElement("span",{className:"ant-dropdown-link",onMouseEnter:me=>ie(!0)},b.createElement(be.ZP,{type:"primary",className:ue.buttonWrap,icon:b.createElement("i",{className:"iconfont icon-yidongmulu"})},b.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",b.createElement(je.Z,null))))))),b.createElement("div",null,b.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{oe(!1),z([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},42554:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return y}});var b=te(59301),re=te(20834),Pe=te(24905),Fe=te(3113),be=te(38854),xe=te(6848),ue=te(57809),Oe=te(92832),je={searchSortControllerContainer:"searchSortControllerContainer___hHmtL",btn:"btn___IGcjw",btnSort:"btnSort___TjGZj",tips:"tips____YGut"},Ie=te(41867),Ne=te(87395),De=te(84105),fe=te(26724),oe=te.n(fe),a=te(65582),E=(z,ne,ae)=>new Promise((le,ie)=>{var de=me=>{try{ce(ae.next(me))}catch(ve){ie(ve)}},se=me=>{try{ce(ae.throw(me))}catch(ve){ie(ve)}},ce=me=>me.done?le(me.value):Promise.resolve(me.value).then(de,se);ce((ae=ae.apply(z,ne)).next())}),y=({isAdmin:z,dataSource:ne,batchStatus:ae,SortMenuName:le,setSortMenuName:ie,detailCourseGroupsList:de,onSearch:se,onBoard:ce,onSort:me,isboard:ve,dispatch:Ee,onBatch:Je,SortMenus:Me,isShowMode:Ue=!1,onModeChange:Le})=>{const[ke,nt]=(0,b.useState)(!1),[pt,dt]=(0,b.useState)([]),[lt,Xe]=(0,b.useState)(!0);let[Pt,Ge]=(0,b.useState)([]);const[Te,We]=(0,b.useState)(1),[vt,It]=(0,b.useState)(!1),mt=(0,a.useParams)(),Pn=dn=>{ie(dn.name),me(dn)};(0,b.useEffect)(()=>{ve&&Ze()},[ve]);const Ze=()=>E(void 0,null,function*(){var dn;if(lt&&!vt){It(!0),We(Te+1);const En=yield Ee({type:"classroomList/getCourseGroupsList",payload:{page:Te,id:mt.coursesId,limit:20,nonenavigate:!0}});let it=[...(En==null?void 0:En.course_groups)||[]];((dn=En==null?void 0:En.course_groups)==null?void 0:dn.length)<20&&(Xe(!1),it.push({id:0,name:"\u672A\u5206\u73ED"})),It(!1),Ge([...Pt,...it])}}),Ft=b.createElement("section",{className:je.dropmenu},b.createElement("div",{style:{maxHeight:200,overflow:"auto"}},b.createElement(oe(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:dn=>{Ze()},hasMore:lt,useWindow:!1},b.createElement(re.default,{style:{width:240,zIndex:10}},(de==null?void 0:de.group_count)>0&&(Pt==null?void 0:Pt.filter(dn=>dn.edit_auth||dn.name==="\u672A\u5206\u73ED").map(function(dn,En){return b.createElement(re.default.Item,{key:dn.id},b.createElement(Pe.default,{checked:pt.includes(dn.id),value:dn.id,onChange:it=>{let ft=pt.indexOf(dn.id);pt.indexOf(dn.id)>-1?dt(pt.filter(_e=>_e!==dn.id)):dt(pt.concat(dn.id))}},dn.name))}))))),b.createElement("aside",{style:{background:"#fff"}},b.createElement("div",null,b.createElement(Fe.ZP,{type:"link",onClick:()=>{ce(pt)}},"\u786E\u5B9A"),b.createElement(Fe.ZP,{type:"link",onClick:()=>{dt([])}},"\u91CD\u7F6E")))),Ut=le==="\u9ED8\u8BA4\u6392\u5E8F";return b.createElement("div",{className:je.searchSortControllerContainer},!!(Me!=null&&Me.length)&&b.createElement("div",null,b.createElement(be.Z,{dropdownRender:()=>b.createElement(re.default,{selectedKeys:[le]},Me.map(dn=>b.createElement(re.default.Item,{key:dn.name,onClick:()=>Pn(dn)},dn.name)))},b.createElement("div",null,b.createElement("span",{className:`${je.btn} ${Ut?je.btnSort:""}`},b.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),le)))),Ut&&b.createElement(xe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},b.createElement("span",{className:je.tips},b.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Ue&&b.createElement(ue.default,{defaultValue:"",onChange:Le,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),b.createElement(Oe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:se,style:{width:220,marginLeft:Ue?"":"auto"}}),(0,Ie.eB)()&&ve&&b.createElement(be.Z,{dropdownRender:()=>Ft,open:ke,onOpenChange:dn=>{nt(dn)}},b.createElement("a",null,"\u5206\u73ED",ke?b.createElement(Ne.Z,{style:{marginLeft:6}}):b.createElement(De.Z,{style:{marginLeft:6}}))))}},24776:function(tt,Qe,te){"use strict";var b=te(59301),re=te(38854),Pe=te(8591),Fe=te(6848),be=te(65582),xe=te(41867),ue=te(3918),Oe=te(2337);const je=({isLoading:Ie,addText:Ne,tabDataSource:De,isAdmin:fe,dispatch:oe,classroomList:a,type:E,isExercise:x,defaultSelectedKeys:y,onTabMenuClick:z,getDropdownMenu:ne,showControlButton:ae,buttonText:le,buttonIcon:ie="icon-tianjiadaohang",extraNode:de,user:se,onButtonClick:ce,isModelUser:me})=>{var ve,Ee,Je,Me,Ue;const Le=(0,be.useParams)();return b.createElement("div",{className:"flex item-center gap-20px",style:{background:"linear-gradient( 180deg, #E0F1FF 0%, #EFF7FF 100%)",border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0"}},b.createElement("div",{className:"flex gap-4px mr-auto"},De==null?void 0:De.map((ke,nt)=>b.createElement("div",{key:nt,className:`text-16px flex item-center justify-center current ${y==(typeof ke.index=="number"?ke.index:ke.id)?"bg-white font-semibold":"c-grey-333"}`,style:{width:120,height:40,border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0",color:y==(typeof ke.index=="number"?ke.index:ke.id)?"#1890FF":""},onClick:()=>Ie?{}:z(ke)},ke==null?void 0:ke.name,ke.total!==void 0&&fe&&b.createElement("span",{className:"ml-4px"},ke.total||0)))),fe&&b.createElement("div",{className:"flex item-center gap-20px mr-20px"},x&&b.createElement("span",{className:"iconfont icon-shezhi8 flex item-center current",onClick:()=>{oe({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),x&&b.createElement(re.Z,{arrow:!0,menu:{items:[{key:"1",label:"\u5B66\u751F\u6210\u7EE9"},{key:"3",label:"\u5386\u53F2\u5BFC\u51FA"}],onClick:({key:ke})=>{var nt;if((0,xe.Rm)()&&!((nt=a.AssistantObject.exercise)!=null&&nt.can_download)){Pe.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}ke=="1"&&oe({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:E,exportType:"exercise",category_id:Le.categoryId}}),ke=="3"&&be.history.push(`/classrooms/${Le==null?void 0:Le.coursesId}/exportlist/exercise_score,export_exercise_users`)}}},b.createElement("span",{className:"iconfont icon-xiazai6 current c-grey-666"})),!!de&&b.createElement("div",null,de),ae&&(le=="\u6DFB\u52A0\u76F4\u64AD"?b.createElement(re.Z,{menu:{items:(Ee=(ve=[{label:b.createElement("div",{onClick:()=>{ce("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},{label:b.createElement("div",{onClick:()=>{ce("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:me}])==null?void 0:ve.filter(ke=>ke==null?void 0:ke.show))==null?void 0:Ee.map(ke=>({label:ke==null?void 0:ke.label,key:ke==null?void 0:ke.key}))}},b.createElement(ue.op,{theme:Oe.Fy.THEMEONE,icon:b.createElement("span",{className:`iconfont ${ie}`})},le)):b.createElement(ue.op,{theme:Oe.Fy.THEMEONE,onClick:ce,icon:b.createElement("span",{className:`iconfont ${ie}`})},le)),!!ne&&b.createElement(re.Z,{disabled:((Je=se==null?void 0:se.userInfo)==null?void 0:Je.user_status)===2,dropdownRender:ne},b.createElement(Fe.Z,{title:((Me=se==null?void 0:se.userInfo)==null?void 0:Me.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},b.createElement(ue.op,{theme:Oe.Fy.THEMEONE,onClick:ce,disabled:((Ue=se==null?void 0:se.userInfo)==null?void 0:Ue.user_status)===2,icon:b.createElement("span",{className:"iconfont icon-tianjiadaohang"})},Ne||"\u521B\u5EFA\u8BD5\u5377")))))};Qe.Z=je},79792:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ie}});var b=te(59301),re=te(92832),Pe=te(24905),Fe=te(95237),be={leftdiv:"leftdiv___DGMku",listClass:"listClass___RzeHz",spantitle:"spantitle___Aarv3",rightdiv:"rightdiv___I2lKV"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ue=te(2524),Oe=(Ne,De,fe)=>new Promise((oe,a)=>{var E=z=>{try{y(fe.next(z))}catch(ne){a(ne)}},x=z=>{try{y(fe.throw(z))}catch(ne){a(ne)}},y=z=>z.done?oe(z.value):Promise.resolve(z.value).then(E,x);y((fe=fe.apply(Ne,De)).next())}),Ie=({data:Ne,value:De=[],handleChangePage:fe,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:E=()=>{}})=>{const[x,y]=(0,b.useState)([]),[z,ne]=(0,b.useState)([]),[ae,le]=(0,b.useState)([]);let[ie,de]=(0,b.useState)(1),[se,ce]=(0,b.useState)();return(0,b.useEffect)(()=>{y(Ne),ne([]),le([])},[Ne]),(0,b.useEffect)(()=>{oe&&(ne(a),le(a))},[a]),b.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},b.createElement("div",{className:be.leftdiv},b.createElement(re.default.Search,{size:"middle",onChange:me=>Oe(void 0,null,function*(){y(Ne.filter(ve=>{var Ee;return(Ee=ve==null?void 0:ve.name)==null?void 0:Ee.includes(me.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),x.length===0&&b.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(Pe.default.Group,{value:z.map(me=>`${me.course_group_id}`),onChange:me=>{oe(x.filter(ve=>me.includes(`${ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},x.map((me,ve)=>b.createElement(Fe.Z,{key:me.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},b.createElement(Pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:me.is_published,value:`${me.course_group_id}`},b.createElement("div",{className:be.listClass},b.createElement("span",{className:be.spantitle,style:{width:me.is_published?"108px":"170px"}},me.name),me.is_published&&b.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),b.createElement("div",{className:be.rightdiv},b.createElement(re.default.Search,{onChange:me=>{le(z.filter(ve=>ve.name.includes(me.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ae.length===0&&b.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ae.length>0&&b.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},b.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ae.map((me,ve)=>b.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:me.course_group_id},b.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},me.name),b.createElement("img",{src:xe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(Ee=>`${Ee.course_group_name}`!=`${me.course_group_name}`))}})))))))}},27269:function(tt,Qe,te){"use strict";var b=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(65582),Oe=te(74128),je=te(57951),Ie=te(38147),Ne=te(56656),De=te.n(Ne),fe=te(65862),oe=te(59301),a=Object.defineProperty,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(de,se,ce)=>se in de?a(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ce}):de[se]=ce,ne=(de,se)=>{for(var ce in se||(se={}))x.call(se,ce)&&z(de,ce,se[ce]);if(E)for(var ce of E(se))y.call(se,ce)&&z(de,ce,se[ce]);return de},ae=(de,se,ce)=>new Promise((me,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?me(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const{Dragger:le}=re.default,ie=({classroomList:de,dispatch:se,onOk:ce})=>{const me=(0,ue.useParams)(),[ve]=Pe.default.useForm(),[Ee,Je]=(0,b.useState)(),[Me,Ue]=(0,b.useState)(!1),Le={height:100,onRemove:()=>{Je("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:ke=>ae(void 0,null,function*(){return Je(ke),!1})};return(0,b.useEffect)(()=>{ve.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,fe.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ae(void 0,null,function*(){ve.submit()}),onCancel:()=>{ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(Pe.default,{form:ve,onFinish:ke=>ae(void 0,null,function*(){var nt,pt,dt;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ue(!0);let lt=new FormData;lt.append("type",de.actionTabs.type),lt.append("file",Ee);let Xe;window.location.href.indexOf("exercise")>-1?Xe=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Xe=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let Pt=yield(0,Ie.ZP)(Xe,{method:"post",body:lt},!0);Ue(!1),(Pt==null?void 0:Pt.status)===0&&(ce(),ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}}),((pt=(nt=Pt==null?void 0:Pt.data)==null?void 0:nt.fail)==null?void 0:pt.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(xe.default,{pagination:!1,dataSource:(dt=Pt==null?void 0:Pt.data)==null?void 0:dt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,fe.FH)("",Oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},oe.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),oe.createElement(Pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:Oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(Pe.default.Item,{style:{marginBottom:0}},oe.createElement(le,ne({},Le),oe.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,ue.connect)(({classroomList:de})=>({classroomList:de}))(ie)},92521:function(tt,Qe,te){"use strict";var b=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(92832),Oe=te(95237),je=te(43604),Ie=te(5871),Ne=te(5083),De=te(65582),fe=te(96565),oe=te(74128),a=te(57951),E=te(38147),x=te(99981),y=te(56656),z=te.n(y),ne=te(65862),ae=te(59301),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Me,Ue,Le)=>Ue in Me?le(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,me=(Me,Ue)=>{for(var Le in Ue||(Ue={}))de.call(Ue,Le)&&ce(Me,Le,Ue[Le]);if(ie)for(var Le of ie(Ue))se.call(Ue,Le)&&ce(Me,Le,Ue[Le]);return Me},ve=(Me,Ue,Le)=>new Promise((ke,nt)=>{var pt=Xe=>{try{lt(Le.next(Xe))}catch(Pt){nt(Pt)}},dt=Xe=>{try{lt(Le.throw(Xe))}catch(Pt){nt(Pt)}},lt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(pt,dt);lt((Le=Le.apply(Me,Ue)).next())});const{Dragger:Ee}=re.default,Je=({classroomList:Me,dispatch:Ue,onOk:Le})=>{const ke=(0,De.useParams)(),[nt]=Pe.default.useForm(),[pt,dt]=(0,b.useState)(),[lt,Xe]=(0,b.useState)(!1),Pt={height:100,onRemove:()=>{dt("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:Ge=>ve(void 0,null,function*(){return dt(Ge),!1})};return(0,b.useEffect)(()=>{nt.setFieldsValue({publish_time:z()(z()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:z()(z()(new Date((0,ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),ae.createElement(Fe.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:lt},onOk:()=>ve(void 0,null,function*(){nt.submit()}),onCancel:()=>{nt.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement(Pe.default,{form:nt,colon:!1,onFinish:Ge=>ve(void 0,null,function*(){var Te,We,vt;if(!(pt!=null&&pt.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let It=new FormData;It.append("name",Ge.name),It.append("type",Me.actionTabs.type),It.append("category_id",(ke==null?void 0:ke.categoryId)||null),Me.actionTabs.type==="exercise"?(It.append("time",Ge.time||""),It.append("total_score",Ge.total_score)):It.append("description",Ge.description||""),It.append("publish_time",z()(Ge.publish_time).format("YYYY-MM-DD HH:mm")),It.append("end_time",z()(Ge.end_time).format("YYYY-MM-DD HH:mm")),It.append("file",pt);let mt=yield(0,E.ZP)(`/api/courses/${ke.coursesId}/export_external_score_homework.json`,{method:"post",body:It},!0);Xe(!1),(mt==null?void 0:mt.status)===0&&(nt.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}}),Le(),((We=(Te=mt==null?void 0:mt.data)==null?void 0:Te.fail)==null?void 0:We.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ae.createElement(xe.default,{pagination:!1,dataSource:(vt=mt==null?void 0:mt.data)==null?void 0:vt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ne.FH)("",oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Me.actionTabs.type}`)}}))})},ae.createElement(Pe.default.Item,{label:Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},ae.createElement(ue.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Me.actionTabs.type!=="exercise"&&ae.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},ae.createElement(fe.Z,{watch:!0})),Me.actionTabs.type==="exercise"&&ae.createElement(Oe.Z,{style:{marginLeft:6}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},ae.createElement(ue.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},ae.createElement(Ie.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),ae.createElement(Oe.Z,{style:{marginLeft:6,marginBottom:12}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:Ge=>(0,x.Q8)(Ge),disabledTime:Ge=>(0,x.d0)(Ge),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:Ge=>(0,x.Q8)(Ge,"",nt.getFieldValue("publish_time")),disabledTime:Ge=>(0,x.d0)(Ge,nt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),ae.createElement(Pe.default.Item,{style:{marginBottom:0},label:ae.createElement("div",null,ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ae.createElement("div",null,ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:a.Z.downloadbutton,href:oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Me.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ae.createElement(Pe.default.Item,{style:{marginBottom:0}},ae.createElement(Ee,me({},Pt),ae.createElement("a",{className:a.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("br",null),ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,De.connect)(({classroomList:Me})=>({classroomList:Me}))(Je)},79006:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var b=te(59301),re=te(20834),Pe=te(92832),Fe=te(24905),be=te(3113),xe=te(38854),ue={bottomControlContainer:"bottomControlContainer___EZTEn",buttonWrap:"buttonWrap___pSVAA",moveCategory:"moveCategory___yJ9_E"},Oe=te(41867),je=te(84105),Ne=({buttonDataSource:De,onButtonClick:fe,useBatchStatus:oe,allSelect:a,setAllSelect:E,selectArrs:x,onMenuClick:y,setSeleArr:z,catalogue:ne,addCatalogue:ae})=>{const[le,ie]=(0,b.useState)(!1),[de,se]=(0,b.useState)("");console.log("---",ne);const ce=b.createElement("div",{className:ue.moveCategory,onMouseLeave:me=>ie(!1)},b.createElement(re.default,{onClick:y,style:{maxHeight:300,width:240,overflow:"auto"}},b.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},b.createElement(Pe.default,{onChange:me=>{se(me.target.value)}})),ne==null?void 0:ne.map(function(me,ve){var Ee;if(!(de!==""&&me.category_name.indexOf(de)<0))return b.createElement(b.Fragment,null,b.createElement(re.default.Item,{className:"multi-llipsis1e",key:me.category_id,title:me.category_name},me.category_name),(Ee=me==null?void 0:me.third_category)==null?void 0:Ee.map(Je=>b.createElement(re.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Je.category_id,title:Je.category_name},Je.category_name)))}),ae&&b.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:ae},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return b.createElement("div",{className:ue.bottomControlContainer},b.createElement("div",null,b.createElement("div",null,b.createElement(Fe.default,{checked:a,onChange:E},"\u5168\u9009\u672C\u9875\uFF08",x.length,"\uFF09")),(0,Oe.GJ)()&&De.map(me=>b.createElement("div",{key:me.name},b.createElement(be.ZP,{type:"primary",icon:me.icon,className:ue.buttonWrap,onClick:()=>fe(me)},me.name))),(0,Oe.GJ)()&&(ae||ne)&&b.createElement("div",null,b.createElement(xe.Z,{open:le,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ce,getPopupContainer:me=>me.parentNode},b.createElement("span",{className:"ant-dropdown-link",onMouseEnter:me=>ie(!0)},b.createElement(be.ZP,{type:"primary",className:ue.buttonWrap,icon:b.createElement("i",{className:"iconfont icon-yidongmulu"})},b.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",b.createElement(je.Z,null))))))),b.createElement("div",null,b.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{oe(!1),z([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},96241:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return z}});var b=te(59301),re=te(20834),Pe=te(24905),Fe=te(3113),be=te(38854),xe=te(6848),ue=te(57809),Oe={searchSortControllerContainer:"searchSortControllerContainer___Q_iVd",btn:"btn___w0a07",btnSort:"btnSort___PZj0I",tips:"tips___WmKpN",myInput:"myInput___I2NgX"},je=te(41867),Ie=te(87395),Ne=te(84105),De=te(26724),fe=te.n(De),oe=te(65582),a=te(3918),E=te(42882),x=(ne,ae,le)=>new Promise((ie,de)=>{var se=ve=>{try{me(le.next(ve))}catch(Ee){de(Ee)}},ce=ve=>{try{me(le.throw(ve))}catch(Ee){de(Ee)}},me=ve=>ve.done?ie(ve.value):Promise.resolve(ve.value).then(se,ce);me((le=le.apply(ne,ae)).next())}),z=({isAdmin:ne,dataSource:ae,batchStatus:le,SortMenuName:ie,setSortMenuName:de,detailCourseGroupsList:se,onSearch:ce,onBoard:me,onSort:ve,isboard:Ee,dispatch:Je,onBatch:Me,SortMenus:Ue,isShowMode:Le=!1,onModeChange:ke})=>{const[nt,pt]=(0,b.useState)(!1),[dt,lt]=(0,b.useState)([]),[Xe,Pt]=(0,b.useState)(!0);let[Ge,Te]=(0,b.useState)([]);const[We,vt]=(0,b.useState)(1),[It,mt]=(0,b.useState)(!1),Pn=(0,oe.useParams)(),Ze=En=>{de(En.name),ve(En)};(0,b.useEffect)(()=>{Ee&&Ft()},[Ee]);const Ft=()=>x(void 0,null,function*(){var En;if(Xe&&!It){mt(!0),vt(We+1);const it=yield Je({type:"classroomList/getCourseGroupsList",payload:{page:We,id:Pn.coursesId,limit:20,nonenavigate:!0}});let ft=[...(it==null?void 0:it.course_groups)||[]];((En=it==null?void 0:it.course_groups)==null?void 0:En.length)<20&&(Pt(!1),ft.push({id:0,name:"\u672A\u5206\u73ED"})),mt(!1),Te([...Ge,...ft])}}),Ut=b.createElement("section",{className:Oe.dropmenu},b.createElement("div",{style:{maxHeight:200,overflow:"auto"}},b.createElement(fe(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:En=>{Ft()},hasMore:Xe,useWindow:!1},b.createElement(re.default,{style:{width:240,zIndex:10}},(se==null?void 0:se.group_count)>0&&(Ge==null?void 0:Ge.filter(En=>En.edit_auth||En.name==="\u672A\u5206\u73ED").map(function(En,it){return b.createElement(re.default.Item,{key:En.id},b.createElement(Pe.default,{checked:dt.includes(En.id),value:En.id,onChange:ft=>{let _e=dt.indexOf(En.id);dt.indexOf(En.id)>-1?lt(dt.filter(Be=>Be!==En.id)):lt(dt.concat(En.id))}},En.name))}))))),b.createElement("aside",{style:{background:"#fff"}},b.createElement("div",null,b.createElement(Fe.ZP,{type:"link",onClick:()=>{me(dt)}},"\u786E\u5B9A"),b.createElement(Fe.ZP,{type:"link",onClick:()=>{lt([])}},"\u91CD\u7F6E")))),dn=ie==="\u9ED8\u8BA4\u6392\u5E8F";return b.createElement("div",{className:Oe.searchSortControllerContainer},!!(Ue!=null&&Ue.length)&&b.createElement("div",null,b.createElement(be.Z,{dropdownRender:()=>b.createElement(re.default,{selectedKeys:[ie]},Ue.map(En=>b.createElement(re.default.Item,{key:En.name,onClick:()=>Ze(En)},En.name)))},b.createElement("div",null,b.createElement("span",{className:`${Oe.btn} ${dn?Oe.btnSort:""}`},b.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),ie)))),dn&&b.createElement(xe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},b.createElement("span",{className:Oe.tips},b.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Le&&b.createElement(ue.default,{size:"large",className:E.Z.threeSelectSty,defaultValue:"",onChange:ke,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),b.createElement(a.t7,{className:Oe.myInput,style:{width:220,marginLeft:Le?"":"auto"},onChange:ce,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),(0,je.eB)()&&Ee&&b.createElement(be.Z,{dropdownRender:()=>Ut,open:nt,onOpenChange:En=>{pt(En)}},b.createElement("a",null,"\u5206\u73ED",nt?b.createElement(Ie.Z,{style:{marginLeft:6}}):b.createElement(Ne.Z,{style:{marginLeft:6}}))))}},25136:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return De}});var b=te(59301),re=te(95237),Pe=te(43604),Fe=te(20834),be=te(38854),xe=te(8591),ue=te(6848),Oe={tabMenuContainer:"tabMenuContainer___zroB4",control:"control___m6VFR",iconH:"iconH___d6gB0",selectBtn:"selectBtn___dIpII",selectBtn1:"selectBtn1___sFkNF"},je=te(65582),Ie=te(41867),De=({isLoading:fe,addText:oe,tabDataSource:a,isAdmin:E,dispatch:x,classroomList:y,type:z,isExercise:ne,defaultSelectedKeys:ae,onTabMenuClick:le,getDropdownMenu:ie,showControlButton:de,buttonText:se,buttonIcon:ce="icon-tianjiadaohang",extraNode:me,user:ve,onButtonClick:Ee,isModelUser:Je})=>{var Me,Ue,Le,ke,nt;const pt=(0,je.useParams)();return b.createElement("div",{className:Oe.tabMenuContainer},b.createElement(re.Z,null,b.createElement(Pe.Z,{flex:"1"},b.createElement(Fe.default,{onSelect:dt=>fe?{}:le(dt),mode:"horizontal",selectedKeys:ae},a.map(dt=>b.createElement(Fe.default.Item,{key:typeof dt.index=="number"?dt.index:dt.id,style:{color:"#fff"}},b.createElement("span",null,dt.name),dt.total!==void 0&&E&&b.createElement("span",{className:"ml20"},dt.total||0))))),E&&ne&&b.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer",color:"#00DDC7"},onClick:()=>{x({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),E&&b.createElement(Pe.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},ne&&b.createElement(be.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>b.createElement(Fe.default,null,b.createElement(Fe.default.Item,{key:1,onClick:()=>{var dt;if((0,Ie.Rm)()&&!((dt=y.AssistantObject.exercise)!=null&&dt.can_download)){xe.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}x({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:z,exportType:"exercise",category_id:pt.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),b.createElement(Fe.default.Item,{key:3,onClick:()=>{var dt;if((0,Ie.Rm)()&&!((dt=y.AssistantObject.exercise)!=null&&dt.can_download)){xe.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}je.history.push(`/classrooms/${pt==null?void 0:pt.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},b.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},b.createElement("span",{style:{color:"#00DDC7",cursor:"pointer"}},b.createElement("i",{className:"iconfont icon-xiazai6"})))),b.createElement("div",{className:Oe.control},b.createElement("div",{className:Oe.extra},me),de&&(se=="\u6DFB\u52A0\u76F4\u64AD"?b.createElement(be.Z,{menu:{items:(Ue=(Me=[{label:b.createElement("div",{onClick:()=>{Ee("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Je&&{label:b.createElement("div",{onClick:()=>{Ee("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Me.filter(dt=>dt==null?void 0:dt.show))==null?void 0:Ue.map(dt=>({label:dt==null?void 0:dt.label,key:dt==null?void 0:dt.key}))}},b.createElement("span",{className:Oe.selectBtn},b.createElement("span",null,b.createElement("i",{className:`iconfont ${ce}`})),b.createElement("span",null,se))):b.createElement("span",{onClick:Ee,style:{cursor:"pointer"},className:Oe.selectBtn},b.createElement("span",null,b.createElement("i",{className:`iconfont ${ce}`})),b.createElement("span",null,se))),!!ie&&b.createElement(be.Z,{disabled:((Le=ve==null?void 0:ve.userInfo)==null?void 0:Le.user_status)===2,className:"ml10",dropdownRender:ie},b.createElement("span",{className:((ke=ve==null?void 0:ve.userInfo)==null?void 0:ke.user_status)===2?Oe.selectBtn1:Oe.selectBtn},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-tianjiadaohang"})),b.createElement(ue.Z,{title:((nt=ve==null?void 0:ve.userInfo)==null?void 0:nt.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},b.createElement("span",null,oe||"\u521B\u5EFA\u8BD5\u5377"))))))))}},9516:function(tt,Qe,te){"use strict";te.d(Qe,{$i:function(){return me},K1:function(){return Ee},O7:function(){return Je},T$:function(){return ce}});var b=te(3918),re=te(29297),Pe=te(87513),Fe=te(89540),be=te(61527),xe=te(43418),ue=te(78241),Oe=te(8591),je=te(92832),Ie=te(95237),Ne=te(43604),De=te(59301),fe=te(65582),oe=te(28209),a=te.n(oe),E=te(65862),x=te(59301),y=Object.defineProperty,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Me,Ue,Le)=>Ue in Me?y(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,ie=(Me,Ue)=>{for(var Le in Ue||(Ue={}))ne.call(Ue,Le)&&le(Me,Le,Ue[Le]);if(z)for(var Le of z(Ue))ae.call(Ue,Le)&&le(Me,Le,Ue[Le]);return Me},de=(Me,Ue,Le)=>new Promise((ke,nt)=>{var pt=Xe=>{try{lt(Le.next(Xe))}catch(Pt){nt(Pt)}},dt=Xe=>{try{lt(Le.throw(Xe))}catch(Pt){nt(Pt)}},lt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(pt,dt);lt((Le=Le.apply(Me,Ue)).next())});const se=Me=>{const Ue=a().enc.Utf8.parse("c03f36595bd5610b");return a().AES.encrypt(Me||"",Ue,{iv:Ue,mode:a().mode.CBC}).toString()},ce=({onCancel:Me,open:Ue})=>x.createElement(xe.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Ue,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:Me,onOk:()=>{fe.history.push("/account/secure")}},x.createElement("span",null,"\u52A0\u5BC6\u5C01\u5B58\u4E4B\u540E\uFF0C\u5FD8\u8BB0\u5BC6\u7801\u65F6\u9700\u8981\u4F7F\u7528\u624B\u673A\u53F7\u8FDB\u884C\u5BC6\u7801\u91CD\u7F6E\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801")),me=({onCancel:Me,onFinish:Ue,open:Le,Data:ke})=>{const[nt]=ue.default.useForm(),[,pt,dt]=(0,be.U)((ke==null?void 0:ke.type)=="exercise"?Pe.yE:re.yE,{id:ke==null?void 0:ke.id});return(0,De.useEffect)(()=>{Le||nt.resetFields()},[Le]),x.createElement(xe.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:Le,destroyOnClose:!0,confirmLoading:pt,onCancel:Me,onOk:()=>{nt==null||nt.submit()}},x.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},x.createElement("i",{className:"iconfont icon-tishi7"}),x.createElement("span",null,"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58\u540E\uFF0C\u6240\u6709\u7528\u6237\u9700\u8981\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u624D\u80FD\u8FDB\u884C\u67E5\u770B\u3001\u7F16\u8F91\u8BD5\u5377\u7B49\u64CD\u4F5C\uFF01")),x.createElement(ue.default,{form:nt,className:"mt-20px",size:"large",colon:!1,onFinish:lt=>de(void 0,null,function*(){const Xe=yield dt({id:ke==null?void 0:ke.id,is_encrypt:!0,pwd:se(lt.pwd),pwd_confirm:se(lt.pwd_confirm)});Xe.status===0?(Oe.ZP.success("\u52A0\u5BC6\u6210\u529F"),Ue==null||Ue(Xe),Me()):nt.setFields([{name:"pwd",errors:[Xe==null?void 0:Xe.message]}])})},x.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(je.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),x.createElement(ue.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:lt})=>({validator(Xe,Pt){return!Pt||lt("pwd")===Pt?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},x.createElement(je.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"}))))},ve=({onCancel:Me,open:Ue,Data:Le})=>{var ke;const[nt]=ue.default.useForm(),[pt]=ue.default.useForm(),[dt,lt]=(0,De.useState)(!1),[Xe,Pt]=(0,De.useState)(0),[,,Ge]=(0,be.U)(Fe.o1,{type:(Le==null?void 0:Le.type)=="exercise"?12:11}),[,Te,We]=(0,be.U)((Le==null?void 0:Le.type)=="exercise"?Pe.dp:re.dp,{id:Le==null?void 0:Le.id}),[,vt,It]=(0,be.U)((Le==null?void 0:Le.type)=="exercise"?Pe.Qc:re.Qc,{id:Le==null?void 0:Le.id});return(0,De.useEffect)(()=>{var mt;Le!=null&&Le.phone&&nt.setFieldsValue({login:(mt=Le==null?void 0:Le.phone)==null?void 0:mt.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[Le==null?void 0:Le.phone]),(0,De.useEffect)(()=>{Xe>0&&setTimeout(()=>{Pt(Xe-1)},1e3)},[Xe]),(0,De.useEffect)(()=>{Ue||(nt.resetFields(),pt.resetFields())},[Ue]),x.createElement(x.Fragment,null,x.createElement(xe.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:Ue,destroyOnClose:!0,confirmLoading:Te,onCancel:Me,onOk:()=>{nt==null||nt.submit()}},x.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),x.createElement(ue.default,{className:"mt20",initialValues:{phone:(ke=Le==null?void 0:Le.phone)==null?void 0:ke.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:nt,size:"large",colon:!1,onFinish:mt=>de(void 0,null,function*(){console.log("allValue",mt);const Pn=yield We({code:mt==null?void 0:mt.code,login:Le==null?void 0:Le.phone,id:Le==null?void 0:Le.id});Pn.status===0?(Oe.ZP.success("\u6821\u9A8C\u6210\u529F"),Me==null||Me(),lt(!0)):nt.setFields([{name:"code",errors:[Pn==null?void 0:Pn.message]}])})},x.createElement(ue.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},x.createElement(je.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),x.createElement(Ie.Z,{wrap:!1,gutter:20},x.createElement(Ne.Z,{flex:1},x.createElement(ue.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},x.createElement(je.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),x.createElement(Ne.Z,null,x.createElement(b.op,{openLoading:!0,size:"large",disabled:Xe>0,style:{borderRadius:"4px"},onClick:()=>de(void 0,null,function*(){const mt=yield Ge({type:(Le==null?void 0:Le.type)=="exercise"?12:11,login:Le==null?void 0:Le.phone,smscode:(0,E.M)(Le==null?void 0:Le.phone)});(mt==null?void 0:mt.status)===1&&(Oe.ZP.success("\u53D1\u9001\u6210\u529F"),Pt(60))})},Xe===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${Xe})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),x.createElement(xe.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:dt,destroyOnClose:!0,confirmLoading:vt,onCancel:()=>{lt(!1)},onOk:()=>{pt==null||pt.submit()}},x.createElement(ue.default,{className:"mt20",form:pt,size:"large",colon:!1,onFinish:mt=>de(void 0,null,function*(){console.log("allValue",mt),(yield It(ie({id:Le==null?void 0:Le.id},mt))).status===0&&(Oe.ZP.success("\u91CD\u7F6E\u6210\u529F"),lt(!1))})},x.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(je.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),x.createElement(ue.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:mt})=>({validator(Pn,Ze){return!Ze||mt("pwd")===Ze?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},x.createElement(je.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})))))},Ee=({onCancel:Me,onFinish:Ue,open:Le,Data:ke})=>{const[nt]=ue.default.useForm(),[pt,dt]=(0,De.useState)(!1),[,lt,Xe]=(0,be.U)((ke==null?void 0:ke.type)=="exercise"?Pe.yE:re.yE,{id:ke==null?void 0:ke.id});return(0,De.useEffect)(()=>{Le||nt.resetFields()},[Le]),x.createElement(x.Fragment,null,x.createElement(xe.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:Le,destroyOnClose:!0,confirmLoading:lt,onCancel:Me,onOk:()=>{nt==null||nt.submit()}},x.createElement(Ie.Z,{wrap:!1,align:"top",gutter:16},x.createElement(Ne.Z,{flex:1},x.createElement(ue.default,{form:nt,size:"large",colon:!1,onFinish:Pt=>de(void 0,null,function*(){const Ge=yield Xe({id:ke==null?void 0:ke.id,is_encrypt:!1,pwd:se(Pt.pwd)});(Ge==null?void 0:Ge.status)===0?(Oe.ZP.success("\u89E3\u5C01\u6210\u529F"),Ue==null||Ue(Ge),Me==null||Me()):nt.setFields([{name:"pwd",errors:[Ge==null?void 0:Ge.message]}])})},x.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},x.createElement(je.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),x.createElement(Ne.Z,null,x.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{dt(!0),Me==null||Me()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),x.createElement(ve,{onCancel:()=>{dt(!1)},open:pt,Data:ie({},ke)}))},Je=({onCancel:Me,onFinish:Ue,open:Le,Data:ke})=>{const[nt]=ue.default.useForm(),[pt,dt]=(0,De.useState)(!1),[,lt,Xe]=(0,be.U)((ke==null?void 0:ke.type)=="exercise"?Pe.yE:re.yE,{id:ke==null?void 0:ke.id});return(0,De.useEffect)(()=>{Le||nt.resetFields()},[Le]),x.createElement(x.Fragment,null,x.createElement(xe.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Le,destroyOnClose:!0,confirmLoading:lt,onCancel:Me,onOk:()=>{nt==null||nt.submit()}},x.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},x.createElement("i",{className:"iconfont icon-tishi7"}),x.createElement("span",null,"\u8BD5\u5377\u5DF2\u8FDB\u884C\u52A0\u5BC6\u5C01\u5B58\uFF0C\u5982\u9700\u8FDB\u884C\u64CD\u4F5C\uFF0C\u8BF7\u5148\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u8FDB\u884C\u89E3\u5C01\uFF01")),x.createElement(ue.default,{form:nt,className:"mt-20px",size:"large",colon:!1,onFinish:Pt=>de(void 0,null,function*(){const Ge=yield Xe({id:ke==null?void 0:ke.id,is_encrypt:!1,pwd:se(Pt.pwd)});(Ge==null?void 0:Ge.status)===0?(Oe.ZP.success("\u89E3\u5C01\u6210\u529F"),Ue==null||Ue(Ge),Me==null||Me()):nt.setFields([{name:"pwd",errors:[Ge==null?void 0:Ge.message]}])})},x.createElement(Ie.Z,{wrap:!1,gutter:20},x.createElement(Ne.Z,{flex:1},x.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(je.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),x.createElement(Ne.Z,null,x.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{dt(!0),Me==null||Me()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),x.createElement(ve,{onCancel:()=>{dt(!1)},open:pt,Data:ie({},ke)}))}},61527:function(tt,Qe,te){"use strict";te.d(Qe,{U:function(){return je}});var b=te(59301),re=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(Ie,Ne,De)=>Ne in Ie?re(Ie,Ne,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Ne]=De,ue=(Ie,Ne)=>{for(var De in Ne||(Ne={}))Fe.call(Ne,De)&&xe(Ie,De,Ne[De]);if(Pe)for(var De of Pe(Ne))be.call(Ne,De)&&xe(Ie,De,Ne[De]);return Ie},Oe=(Ie,Ne,De)=>new Promise((fe,oe)=>{var a=y=>{try{x(De.next(y))}catch(z){oe(z)}},E=y=>{try{x(De.throw(y))}catch(z){oe(z)}},x=y=>y.done?fe(y.value):Promise.resolve(y.value).then(a,E);x((De=De.apply(Ie,Ne)).next())});function je(Ie,Ne){const[De,fe]=(0,b.useState)(Ne),[oe,a]=(0,b.useState)(!1),[E,x]=(0,b.useState)();return[De,oe,(z,ne=!1)=>Oe(this,null,function*(){const ae=ne?Ne:ue(ue({},De),z);a(!0),fe(ae);const le=yield Ie(ae);return a(!1),x(le),le}),E,x]}},66457:function(tt,Qe,te){"use strict";te.d(Qe,{rX:function(){return ae},pW:function(){return le},gy:function(){return ie},xY:function(){return ne},O5:function(){return z},tJ:function(){return oe},o1:function(){return a},Rd:function(){return y}});var b=te(65582),re=te(43418),Pe=te(28103),Fe=te(8591),be=te(41867),xe=te(65862),ue=te(87169),Oe=te(25510),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOB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CYII=",Ie=te.p+"static/newqrcode.a8740efb.png",Ne=te(32637),De=te(59301),fe=(de,se,ce)=>new Promise((me,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?me(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const oe=(de,se=!1)=>!!(a(de)&&E(se)),a=de=>(0,be.bg)()?!0:(de({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),E=(de=!1)=>{var se;const{user:ce}=(0,b.getDvaApp)()._store.getState();return(se=ce.userInfo)!=null&&se.profile_completed?!0:(re.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/profile/edit"),x()}}),!1)},x=()=>{re.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},y=()=>{re.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:De.createElement("div",{style:{textAlign:"center"}},De.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),De.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ne}),De.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},z=()=>{var de;const{user:se}=(0,b.getDvaApp)()._store.getState();return(de=se.userInfo)!=null&&de.professional_certification?!0:(re.default.confirm({title:"\u63D0\u793A",centered:!0,content:De.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/certification")}}),!1)},ne=()=>(0,be.V9)()?!0:(re.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:De.createElement("div",{className:"tc",style:{marginLeft:-38}},De.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),De.createElement("img",{src:Ie,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ae=(de,se)=>de?!0:(re.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:De.createElement("div",null,De.createElement("p",null,se||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),De.createElement("div",{style:{marginLeft:"110px"}},De.createElement("img",{src:je,width:200}),De.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,xe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),le=de=>{re.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:De.createElement("div",null,De.createElement("div",null,De.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),De.createElement(Pe.Z,null),De.createElement("p",{style:{color:"#666666",fontSize:12}}," ",De.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",De.createElement("a",null,de),"\u5929\u3002"),De.createElement("p",{style:{color:"#666666",fontSize:12}}," ",De.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),De.createElement("div",{style:{textAlign:"center",marginTop:30}},De.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Oe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ie=(de,se="")=>{const{shixunsDetail:{detail:ce}}=(0,b.getDvaApp)()._store.getState();if((ce==null?void 0:ce.public)===2||(ce==null?void 0:ce.public)===1||(ce==null?void 0:ce.shixun_status)===3){let me="";return(ce==null?void 0:ce.public)===2&&(me="\u5DF2\u516C\u5F00"),(ce==null?void 0:ce.public)===1&&(me="\u5F85\u5BA1\u6838"),(ce==null?void 0:ce.shixun_status)===3&&(me="\u5DF2\u5173\u95ED"),re.default.info({centered:!0,icon:De.createElement(ue.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:De.createElement("div",{className:"tc",style:{marginLeft:-38}},De.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},De.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",me,"\uFF0C",se,"\u3002"),De.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),De.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Oe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ce==null?void 0:ce.shixun_status)===2?(re.default.confirm({centered:!0,icon:De.createElement(ue.Z,null),title:"\u63D0\u793A",content:De.createElement("div",null,De.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",se,"\u3002"),De.createElement("br",null),De.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{re.default.confirm({width:440,centered:!0,icon:De.createElement(ue.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>fe(void 0,null,function*(){(yield de({type:"shixunsDetail/cancelRelease",payload:{id:ce==null?void 0:ce.identifier}})).status!==401&&(Fe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),de({type:"shixunsDetail/getShixunsDetail",payload:{id:ce==null?void 0:ce.identifier}}),de({type:"practiceSetting/getCommonData",payload:{id:ce==null?void 0:ce.identifier}}))})})}}),!0):!1}},50371:function(tt,Qe){"use strict";function te(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let re=1;re{const be=Pe[Fe];be!==void 0&&(b[Fe]=be)})}return b}Qe.Z=te},77578:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return b}});const b=re=>re?typeof re=="function"?re():re:null},13845:function(tt,Qe,te){"use strict";te.d(Qe,{F:function(){return b},Z:function(){return re}});function b(Pe){return Pe!=null&&Pe===Pe.window}function re(Pe,Fe){var be,xe;if(typeof window=="undefined")return 0;const ue=Fe?"scrollTop":"scrollLeft";let Oe=0;return b(Pe)?Oe=Pe[Fe?"pageYOffset":"pageXOffset"]:Pe instanceof Document?Oe=Pe.documentElement[ue]:(Pe instanceof HTMLElement||Pe)&&(Oe=Pe[ue]),Pe&&!b(Pe)&&typeof Oe!="number"&&(Oe=(xe=((be=Pe.ownerDocument)!==null&&be!==void 0?be:Pe).documentElement)===null||xe===void 0?void 0:xe[ue]),Oe}},56762:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return re}});var b=te(59301);function re(){const[,Pe]=b.useReducer(Fe=>Fe+1,0);return Pe}},68031:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Fe}});var b=te(16089);function re(be,xe,ue,Oe){const je=ue-xe;return be/=Oe/2,be<1?je/2*be*be*be+xe:je/2*((be-=2)*be*be+2)+xe}var Pe=te(13845);function Fe(be){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ue=()=>window,callback:Oe,duration:je=450}=xe,Ie=ue(),Ne=(0,Pe.Z)(Ie,!0),De=Date.now(),fe=()=>{const a=Date.now()-De,E=re(a>je?je:a,Ne,be,je);(0,Pe.F)(Ie)?Ie.scrollTo(window.pageXOffset,E):Ie instanceof Document||Ie.constructor.name==="HTMLDocument"?Ie.documentElement.scrollTop=E:Ie.scrollTop=E,a()=>{be=null,Fe.apply(void 0,(0,b.Z)(Oe))},ue=function(){if(be==null){for(var Oe=arguments.length,je=new Array(Oe),Ie=0;Ie{re.Z.cancel(be),be=null},ue}Qe.Z=Pe},81228:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return de}});var b=te(67732),re=te(83652),Pe=te(42403),Fe=te(158),be=te(59301),xe=te(92310),ue=te.n(xe),Oe=te(29301),je=te(2738),Ie=te(27666),Ne=te(36355),De=te(83116),fe=te(37613);const oe=se=>{const{componentCls:ce}=se;return{[ce]:{position:"fixed",zIndex:se.zIndexPopup}}};var a=(0,De.Z)("Affix",se=>{const ce=(0,fe.TS)(se,{zIndexPopup:se.zIndexBase+10});return[oe(ce)]});function E(se){return se!==window?se.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function x(se,ce,me){if(me!==void 0&&ce.top>se.top-me)return me+ce.top}function y(se,ce,me){if(me!==void 0&&ce.bottom{const Ee=ve.getTargetFunc(),Je=Ee==null?void 0:Ee(),{prevTarget:Me}=ve.state;Me!==Je&&(z.forEach(Ue=>{Me==null||Me.removeEventListener(Ue,ve.lazyUpdatePosition),Je==null||Je.addEventListener(Ue,ve.lazyUpdatePosition)}),ve.updatePosition(),ve.setState({prevTarget:Je}))},ve.removeListeners=()=>{ve.timer&&(clearTimeout(ve.timer),ve.timer=null);const{prevTarget:Ee}=ve.state,Je=ve.getTargetFunc(),Me=Je==null?void 0:Je();z.forEach(Ue=>{Me==null||Me.removeEventListener(Ue,ve.lazyUpdatePosition),Ee==null||Ee.removeEventListener(Ue,ve.lazyUpdatePosition)}),ve.updatePosition.cancel(),ve.lazyUpdatePosition.cancel()},ve.getOffsetTop=()=>{const{offsetBottom:Ee,offsetTop:Je}=ve.props;return Ee===void 0&&Je===void 0?0:Je},ve.getOffsetBottom=()=>ve.props.offsetBottom,ve.measure=()=>{const{status:Ee,lastAffix:Je}=ve.state,{onChange:Me}=ve.props,Ue=ve.getTargetFunc();if(Ee!==ae.Prepare||!ve.fixedNodeRef.current||!ve.placeholderNodeRef.current||!Ue)return;const Le=ve.getOffsetTop(),ke=ve.getOffsetBottom(),nt=Ue();if(nt){const pt={status:ae.None},dt=E(ve.placeholderNodeRef.current);if(dt.top===0&&dt.left===0&&dt.width===0&&dt.height===0)return;const lt=E(nt),Xe=x(dt,lt,Le),Pt=y(dt,lt,ke);Xe!==void 0?(pt.affixStyle={position:"fixed",top:Xe,width:dt.width,height:dt.height},pt.placeholderStyle={width:dt.width,height:dt.height}):Pt!==void 0&&(pt.affixStyle={position:"fixed",bottom:Pt,width:dt.width,height:dt.height},pt.placeholderStyle={width:dt.width,height:dt.height}),pt.lastAffix=!!pt.affixStyle,Me&&Je!==pt.lastAffix&&Me(pt.lastAffix),ve.setState(pt)}},ve.prepareMeasure=()=>{ve.setState({status:ae.Prepare,affixStyle:void 0,placeholderStyle:void 0})},ve.updatePosition=(0,Ie.Z)(()=>{ve.prepareMeasure()}),ve.lazyUpdatePosition=(0,Ie.Z)(()=>{const Ee=ve.getTargetFunc(),{affixStyle:Je}=ve.state;if(Ee&&Je){const Me=ve.getOffsetTop(),Ue=ve.getOffsetBottom(),Le=Ee();if(Le&&ve.placeholderNodeRef.current){const ke=E(Le),nt=E(ve.placeholderNodeRef.current),pt=x(nt,ke,Me),dt=y(nt,ke,Ue);if(pt!==void 0&&Je.top===pt||dt!==void 0&&Je.bottom===dt)return}}ve.prepareMeasure()}),ve}return(0,re.Z)(me,[{key:"getTargetFunc",value:function(){const{getTargetContainer:Ee}=this.context,{target:Je}=this.props;return Je!==void 0?Je:Ee!=null?Ee:ne}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(Ee){this.addListeners(),(Ee.offsetTop!==this.props.offsetTop||Ee.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:Ee,placeholderStyle:Je}=this.state,{affixPrefixCls:Me,rootClassName:Ue,children:Le}=this.props,ke=ue()(Ee&&Ue,{[Me]:!!Ee});let nt=(0,je.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return be.createElement(Oe.Z,{onResize:this.updatePosition},be.createElement("div",Object.assign({},nt,{ref:this.placeholderNodeRef}),Ee&&be.createElement("div",{style:Je,"aria-hidden":"true"}),be.createElement("div",{className:ke,ref:this.fixedNodeRef,style:Ee},be.createElement(Oe.Z,{onResize:this.updatePosition},Le))))}}]),me}(be.Component);le.contextType=Ne.E_;var de=(0,be.forwardRef)((se,ce)=>{const{prefixCls:me,rootClassName:ve}=se,{getPrefixCls:Ee}=(0,be.useContext)(Ne.E_),Je=Ee("affix",me),[Me,Ue]=a(Je),Le=Object.assign(Object.assign({},se),{affixPrefixCls:Je,rootClassName:ue()(ve,Ue)});return Me(be.createElement(le,Object.assign({},Le,{ref:ce})))})},24905:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return de}});var b=te(92310),re=te.n(b),Pe=te(5630),Fe=te(59301),be=te(36355),xe=te(1684),ue=te(32441),je=Fe.createContext(null),Ie=te(98447),Ne=te(14088),De=te(4572),fe=function(se,ce){var me={};for(var ve in se)Object.prototype.hasOwnProperty.call(se,ve)&&ce.indexOf(ve)<0&&(me[ve]=se[ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ve=Object.getOwnPropertySymbols(se);Ee{var me;const{prefixCls:ve,className:Ee,rootClassName:Je,children:Me,indeterminate:Ue=!1,style:Le,onMouseEnter:ke,onMouseLeave:nt,skipGroup:pt=!1,disabled:dt}=se,lt=fe(se,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Xe,direction:Pt,checkbox:Ge}=Fe.useContext(be.E_),Te=Fe.useContext(je),{isFormItemInput:We}=Fe.useContext(ue.aM),vt=Fe.useContext(xe.Z),It=(me=(Te==null?void 0:Te.disabled)||dt)!==null&&me!==void 0?me:vt,mt=Fe.useRef(lt.value);Fe.useEffect(()=>{Te==null||Te.registerValue(lt.value)},[]),Fe.useEffect(()=>{if(!pt)return lt.value!==mt.current&&(Te==null||Te.cancelValue(mt.current),Te==null||Te.registerValue(lt.value),mt.current=lt.value),()=>Te==null?void 0:Te.cancelValue(lt.value)},[lt.value]);const Pn=Xe("checkbox",ve),[Ze,Ft]=(0,Ie.ZP)(Pn),Ut=Object.assign({},lt);Te&&!pt&&(Ut.onChange=function(){lt.onChange&<.onChange.apply(lt,arguments),Te.toggleOption&&Te.toggleOption({label:Me,value:lt.value})},Ut.name=Te.name,Ut.checked=Te.value.includes(lt.value));const dn=re()(`${Pn}-wrapper`,{[`${Pn}-rtl`]:Pt==="rtl",[`${Pn}-wrapper-checked`]:Ut.checked,[`${Pn}-wrapper-disabled`]:It,[`${Pn}-wrapper-in-form-item`]:We},Ge==null?void 0:Ge.className,Ee,Je,Ft),En=re()({[`${Pn}-indeterminate`]:Ue},De.A,Ft),it=Ue?"mixed":void 0;return Ze(Fe.createElement(Ne.Z,{component:"Checkbox",disabled:It},Fe.createElement("label",{className:dn,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Le),onMouseEnter:ke,onMouseLeave:nt},Fe.createElement(Pe.Z,Object.assign({"aria-checked":it},Ut,{prefixCls:Pn,className:En,disabled:It,ref:ce})),Me!==void 0&&Fe.createElement("span",null,Me))))};var E=Fe.forwardRef(oe),x=te(94480),y=te(2738),z=function(se,ce){var me={};for(var ve in se)Object.prototype.hasOwnProperty.call(se,ve)&&ce.indexOf(ve)<0&&(me[ve]=se[ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ve=Object.getOwnPropertySymbols(se);Ee{const{defaultValue:me,children:ve,options:Ee=[],prefixCls:Je,className:Me,rootClassName:Ue,style:Le,onChange:ke}=se,nt=z(se,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:pt,direction:dt}=Fe.useContext(be.E_),[lt,Xe]=Fe.useState(nt.value||me||[]),[Pt,Ge]=Fe.useState([]);Fe.useEffect(()=>{"value"in nt&&Xe(nt.value||[])},[nt.value]);const Te=Fe.useMemo(()=>Ee.map(ft=>typeof ft=="string"||typeof ft=="number"?{label:ft,value:ft}:ft),[Ee]),We=ft=>{Ge(_e=>_e.filter(Be=>Be!==ft))},vt=ft=>{Ge(_e=>[].concat((0,x.Z)(_e),[ft]))},It=ft=>{const _e=lt.indexOf(ft.value),Be=(0,x.Z)(lt);_e===-1?Be.push(ft.value):Be.splice(_e,1),"value"in nt||Xe(Be),ke==null||ke(Be.filter(ot=>Pt.includes(ot)).sort((ot,ct)=>{const Re=Te.findIndex(rt=>rt.value===ot),we=Te.findIndex(rt=>rt.value===ct);return Re-we}))},mt=pt("checkbox",Je),Pn=`${mt}-group`,[Ze,Ft]=(0,Ie.ZP)(mt),Ut=(0,y.Z)(nt,["value","disabled"]),dn=Ee.length?Te.map(ft=>Fe.createElement(E,{prefixCls:mt,key:ft.value.toString(),disabled:"disabled"in ft?ft.disabled:nt.disabled,value:ft.value,checked:lt.includes(ft.value),onChange:ft.onChange,className:`${Pn}-item`,style:ft.style,title:ft.title},ft.label)):ve,En={toggleOption:It,value:lt,disabled:nt.disabled,name:nt.name,registerValue:vt,cancelValue:We},it=re()(Pn,{[`${Pn}-rtl`]:dt==="rtl"},Me,Ue,Ft);return Ze(Fe.createElement("div",Object.assign({className:it,style:Le},Ut,{ref:ce}),Fe.createElement(je.Provider,{value:En},dn)))},ae=Fe.forwardRef(ne);var le=Fe.memo(ae);const ie=E;ie.Group=le,ie.__ANT_CHECKBOX=!0;var de=ie},98447:function(tt,Qe,te){"use strict";te.d(Qe,{C2:function(){return be}});var b=te(17313),re=te(37613),Pe=te(83116);const Fe=xe=>{const{checkboxCls:ue}=xe,Oe=`${ue}-wrapper`;return[{[`${ue}-group`]:Object.assign(Object.assign({},(0,b.Wf)(xe)),{display:"inline-flex",flexWrap:"wrap",columnGap:xe.marginXS,[`> ${xe.antCls}-row`]:{flex:1}}),[Oe]:Object.assign(Object.assign({},(0,b.Wf)(xe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Oe}`]:{marginInlineStart:0},[`&${Oe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ue]:Object.assign(Object.assign({},(0,b.Wf)(xe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:xe.borderRadiusSM,alignSelf:"center",[`${ue}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ue}-inner`]:Object.assign({},(0,b.oN)(xe))},[`${ue}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:xe.checkboxSize,height:xe.checkboxSize,direction:"ltr",backgroundColor:xe.colorBgContainer,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadiusSM,borderCollapse:"separate",transition:`all ${xe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:xe.checkboxSize/14*5,height:xe.checkboxSize/14*8,border:`${xe.lineWidthBold}px solid ${xe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${xe.motionDurationFast} ${xe.motionEaseInBack}, opacity ${xe.motionDurationFast}`}},"& + span":{paddingInlineStart:xe.paddingXS,paddingInlineEnd:xe.paddingXS}})},{[` + ${Oe}:not(${Oe}-disabled), + ${ue}:not(${ue}-disabled) + `]:{[`&:hover ${ue}-inner`]:{borderColor:xe.colorPrimary}},[`${Oe}:not(${Oe}-disabled)`]:{[`&:hover ${ue}-checked:not(${ue}-disabled) ${ue}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ue}-checked:not(${ue}-disabled):after`]:{borderColor:xe.colorPrimaryHover}}},{[`${ue}-checked`]:{[`${ue}-inner`]:{backgroundColor:xe.colorPrimary,borderColor:xe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${xe.motionDurationMid} ${xe.motionEaseOutBack} ${xe.motionDurationFast}`}}},[` + ${Oe}-checked:not(${Oe}-disabled), + ${ue}-checked:not(${ue}-disabled) + `]:{[`&:hover ${ue}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"}}},{[ue]:{"&-indeterminate":{[`${ue}-inner`]:{backgroundColor:xe.colorBgContainer,borderColor:xe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:xe.fontSizeLG/2,height:xe.fontSizeLG/2,backgroundColor:xe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Oe}-disabled`]:{cursor:"not-allowed"},[`${ue}-disabled`]:{[`&, ${ue}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ue}-inner`]:{background:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,"&:after":{borderColor:xe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:xe.colorTextDisabled},[`&${ue}-indeterminate ${ue}-inner::after`]:{background:xe.colorTextDisabled}}}]};function be(xe,ue){const Oe=(0,re.TS)(ue,{checkboxCls:`.${xe}`,checkboxSize:ue.controlInteractiveSize});return[Fe(Oe)]}Qe.ZP=(0,Pe.Z)("Checkbox",(xe,ue)=>{let{prefixCls:Oe}=ue;return[be(Oe,xe)]})},5083:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return Du}});var b=te(56656),re=te.n(b),Pe=te(48736),Fe=te(27112),be=te.n(Fe),xe=te(54449),ue=te.n(xe),Oe=te(53501),je=te.n(Oe),Ie=te(36867),Ne=te.n(Ie),De=te(71912),fe=te.n(De),oe=te(48228),a=te.n(oe);re().extend(a()),re().extend(fe()),re().extend(be()),re().extend(ue()),re().extend(je()),re().extend(Ne()),re().extend(function(pe,Se){var Ae=Se.prototype,qe=Ae.format;Ae.format=function(Ot){var At=(Ot||"").replace("Wo","wo");return qe.bind(this)(At)}});var E={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(Se){var Ae=E[Se];return Ae||Se.split("_")[0]},y=function(){(0,Pe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return re()()},getFixedDate:function(Se){return re()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var Ae=Se.locale("en");return Ae.weekday()+Ae.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},addYear:function(Se,Ae){return Se.add(Ae,"year")},addMonth:function(Se,Ae){return Se.add(Ae,"month")},addDate:function(Se,Ae){return Se.add(Ae,"day")},setYear:function(Se,Ae){return Se.year(Ae)},setMonth:function(Se,Ae){return Se.month(Ae)},setDate:function(Se,Ae){return Se.date(Ae)},setHour:function(Se,Ae){return Se.hour(Ae)},setMinute:function(Se,Ae){return Se.minute(Ae)},setSecond:function(Se,Ae){return Se.second(Ae)},isAfter:function(Se,Ae){return Se.isAfter(Ae)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return re()().locale(x(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,Ae){return Ae.locale(x(Se)).weekday(0)},getWeek:function(Se,Ae){return Ae.locale(x(Se)).week()},getShortWeekDays:function(Se){return re()().locale(x(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return re()().locale(x(Se)).localeData().monthsShort()},format:function(Se,Ae,qe){return Ae.locale(x(Se)).format(qe)},parse:function(Se,Ae,qe){for(var et=x(Se),Ot=0;Ot1&&(At=Se.addDate(At,-7)),At}function Ye(pe,Se,Ae){var qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return Ae.addYear(pe,qe*10);case"quarter":case"month":return Ae.addYear(pe,qe);default:return Ae.addMonth(pe,qe)}}function at(pe,Se){var Ae=Se.generateConfig,qe=Se.locale,et=Se.format;return typeof et=="function"?et(pe):Ae.locale.format(qe.locale,pe,et)}function jt(pe,Se){var Ae=Se.generateConfig,qe=Se.locale,et=Se.formatList;return!pe||typeof et[0]=="function"?null:Ae.locale.parse(qe.locale,pe,et)}function Kt(pe){var Se=pe.cellDate,Ae=pe.mode,qe=pe.disabledDate,et=pe.generateConfig;if(!qe)return!1;var Ot=function(Kn,un,bn){for(var Qn=un;Qn<=bn;){var ja=void 0;switch(Kn){case"date":{if(ja=et.setDate(Se,Qn),!qe(ja))return!1;break}case"month":{if(ja=et.setMonth(Se,Qn),!Kt({cellDate:ja,mode:"month",generateConfig:et,disabledDate:qe}))return!1;break}case"year":{if(ja=et.setYear(Se,Qn),!Kt({cellDate:ja,mode:"year",generateConfig:et,disabledDate:qe}))return!1;break}}Qn+=1}return!0};switch(Ae){case"date":case"week":return qe(Se);case"month":{var At=1,cn=et.getDate(et.getEndDate(Se));return Ot("date",At,cn)}case"quarter":{var ln=Math.floor(et.getMonth(Se)/3)*3,xn=ln+2;return Ot("month",ln,xn)}case"year":return Ot("month",0,11);case"decade":{var qn=et.getYear(Se),wn=Math.floor(qn/_e)*_e,Ln=wn+_e-1;return Ot("year",wn,Ln)}}}function fn(pe,Se){var Ae=Se.formatList,qe=Se.generateConfig,et=Se.locale;return(0,it.Z)(function(){if(!pe)return[[""],""];for(var Ot="",At=[],cn=0;cn1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(xn.current),Qn){ln(bn);return}xn.current=requestAnimationFrame(function(){ln(bn)})}var wn=fn(cn,{formatList:Ae,generateConfig:qe,locale:et}),Ln=(0,Ut.Z)(wn,2),_n=Ln[1];function Kn(bn){qn(bn)}function un(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;qn(null,bn)}return(0,ie.useEffect)(function(){un(!0)},[pe]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(xn.current)}},[]),[_n,Kn,un]}var Fn=te(10228),jn=te(16089),ia=te(94480),Da=te(29194),gn=new Map;function Pa(pe,Se){var Ae;function qe(){(0,Da.Z)(pe)?Se():Ae=(0,jn.Z)(function(){qe()})}return qe(),function(){jn.Z.cancel(Ae)}}function uo(pe,Se,Ae){if(gn.get(pe)&&cancelAnimationFrame(gn.get(pe)),Ae<=0){gn.set(pe,requestAnimationFrame(function(){pe.scrollTop=Se}));return}var qe=Se-pe.scrollTop,et=qe/Ae*10;gn.set(pe,requestAnimationFrame(function(){pe.scrollTop+=et,pe.scrollTop!==Se&&uo(pe,Se,Ae-10)}))}function da(pe,Se){var Ae=Se.onLeftRight,qe=Se.onCtrlLeftRight,et=Se.onUpDown,Ot=Se.onPageUpDown,At=Se.onEnter,cn=pe.which,ln=pe.ctrlKey,xn=pe.metaKey;switch(cn){case Fn.Z.LEFT:if(ln||xn){if(qe)return qe(-1),!0}else if(Ae)return Ae(-1),!0;break;case Fn.Z.RIGHT:if(ln||xn){if(qe)return qe(1),!0}else if(Ae)return Ae(1),!0;break;case Fn.Z.UP:if(et)return et(-1),!0;break;case Fn.Z.DOWN:if(et)return et(1),!0;break;case Fn.Z.PAGE_UP:if(Ot)return Ot(-1),!0;break;case Fn.Z.PAGE_DOWN:if(Ot)return Ot(1),!0;break;case Fn.Z.ENTER:if(At)return At(),!0;break}return!1}function ta(pe,Se,Ae,qe){var et=pe;if(!et)switch(Se){case"time":et=qe?"hh:mm:ss a":"HH:mm:ss";break;case"week":et="gggg-wo";break;case"month":et="YYYY-MM";break;case"quarter":et="YYYY-[Q]Q";break;case"year":et="YYYY";break;default:et=Ae?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return et}function Fo(pe,Se,Ae){var qe=pe==="time"?8:10,et=typeof Se=="function"?Se(Ae.getNow()).length:Se.length;return Math.max(qe,et)+2}var ao=null,Qt=new Set;function On(pe){return!ao&&typeof window!="undefined"&&window.addEventListener&&(ao=function(Ae){(0,ia.Z)(Qt).forEach(function(qe){qe(Ae)})},window.addEventListener("mousedown",ao)),Qt.add(pe),function(){Qt.delete(pe),Qt.size===0&&(window.removeEventListener("mousedown",ao),ao=null)}}function ra(pe){var Se=pe.target;if(pe.composed&&Se.shadowRoot){var Ae;return((Ae=pe.composedPath)===null||Ae===void 0?void 0:Ae.call(pe)[0])||Se}return Se}var Sa=function(Se){return Se==="month"||Se==="date"?"year":Se},$n=function(Se){return Se==="date"?"month":Se},Za=function(Se){return Se==="month"||Se==="date"?"quarter":Se},xo=function(Se){return Se==="date"?"week":Se},br={year:Sa,month:$n,quarter:Za,week:xo,time:null,date:null};function Or(pe,Se){return pe.some(function(Ae){return Ae&&Ae.contains(Se)})}function Ia(pe){var Se=pe.open,Ae=pe.value,qe=pe.isClickOutside,et=pe.triggerOpen,Ot=pe.forwardKeyDown,At=pe.onKeyDown,cn=pe.blurToCancel,ln=pe.onSubmit,xn=pe.onCancel,qn=pe.onFocus,wn=pe.onBlur,Ln=pe.changeOnBlur,_n=(0,ie.useState)(!1),Kn=(0,Ut.Z)(_n,2),un=Kn[0],bn=Kn[1],Qn=(0,ie.useState)(!1),ja=(0,Ut.Z)(Qn,2),Ca=ja[0],_a=ja[1],Qa=(0,ie.useRef)(!1),Ka=(0,ie.useRef)(!1),xa=(0,ie.useRef)(!1),Dr={onMouseDown:function(){bn(!0),et(!0)},onKeyDown:function(Lr){var Tr=function(){xa.current=!0};if(At(Lr,Tr),!xa.current){switch(Lr.which){case Fn.Z.ENTER:{Se?ln()!==!1&&bn(!0):et(!0),Lr.preventDefault();return}case Fn.Z.TAB:{un&&Se&&!Lr.shiftKey?(bn(!1),Lr.preventDefault()):!un&&Se&&!Ot(Lr)&&Lr.shiftKey&&(bn(!0),Lr.preventDefault());return}case Fn.Z.ESC:{bn(!0),xn();return}}!Se&&![Fn.Z.SHIFT].includes(Lr.which)?et(!0):un||Ot(Lr)}},onFocus:function(Lr){bn(!0),_a(!0),qn&&qn(Lr)},onBlur:function(Lr){if(Qa.current||!qe(document.activeElement)){Qa.current=!1;return}cn?setTimeout(function(){for(var Tr=document,ll=Tr.activeElement;ll&&ll.shadowRoot;)ll=ll.shadowRoot.activeElement;qe(ll)&&xn()},0):Se&&(et(!1),Ka.current&&ln()),_a(!1),wn==null||wn(Lr)}};return(0,ie.useEffect)(function(){Ka.current=!1},[Se]),(0,ie.useEffect)(function(){Ka.current=!0},[Ae]),(0,ie.useEffect)(function(){return On(function(ar){var Lr=ra(ar),Tr=qe(Lr);Se&&(Tr?!Ln&&(!Ca||Tr)&&et(!1):(Qa.current=!0,(0,jn.Z)(function(){Qa.current=!1})))})}),[Dr,{focused:Ca,typing:un}]}function xt(pe,Se){return ie.useMemo(function(){return pe||(Se?((0,Pe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(Ae){var qe=(0,Ut.Z)(Ae,2),et=qe[0],Ot=qe[1];return{label:et,value:Ot}})):[])},[pe,Se])}var Tt=te(34280);function wt(pe){var Se=pe.valueTexts,Ae=pe.onTextChange,qe=ie.useState(""),et=(0,Ut.Z)(qe,2),Ot=et[0],At=et[1],cn=ie.useRef([]);cn.current=Se;function ln(qn){At(qn),Ae(qn)}function xn(){At(cn.current[0])}return(0,Tt.Z)(function(){Se.every(function(qn){return qn!==Ot})&&xn()},[Se.join("||")]),[Ot,ln,xn]}var In=ie.createContext({}),na=In,Hn=te(76190);function nr(pe){var Se=pe.cellRender,Ae=pe.monthCellRender,qe=pe.dateRender,et=ie.useMemo(function(){if(Se)return Se;if(!(!Ae&&!qe))return function(Ot,At){var cn=Ot;return qe&&At.type==="date"?qe(cn,At.today):Ae&&At.type==="month"?Ae(cn,At.locale):At.originNode}},[Se,Ae,qe]);return et}function Oa(pe,Se){for(var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",qe=String(pe);qe.length=1?Ae|0:1,At=pe;At<=Se;At+=Ot)et.push({label:Oa(At,2),value:At,disabled:(qe||[]).includes(At)});return et}function Yr(pe){var Se=pe.generateConfig,Ae=pe.prefixCls,qe=pe.operationRef,et=pe.activeColumnIndex,Ot=pe.value,At=pe.showHour,cn=pe.showMinute,ln=pe.showSecond,xn=pe.use12Hours,qn=pe.hourStep,wn=qn===void 0?1:qn,Ln=pe.minuteStep,_n=Ln===void 0?1:Ln,Kn=pe.secondStep,un=Kn===void 0?1:Kn,bn=pe.disabledHours,Qn=pe.disabledMinutes,ja=pe.disabledSeconds,Ca=pe.disabledTime,_a=pe.hideDisabledOptions,Qa=pe.onSelect,Ka=pe.cellRender,xa=pe.locale,Dr=[],ar="".concat(Ae,"-content"),Lr="".concat(Ae,"-time-panel"),Tr,ll=Ot?Se.getHour(Ot):-1,Pl=ll,zl=Ot?Se.getMinute(Ot):-1,al=Ot?Se.getSecond(Ot):-1,zr=Se.getNow(),_r=ie.useMemo(function(){if(Ca){var Wt=Ca(zr);return[Wt.disabledHours,Wt.disabledMinutes,Wt.disabledSeconds]}return[bn,Qn,ja]},[bn,Qn,ja,Ca,zr]),hl=(0,Ut.Z)(_r,3),Fl=hl[0],Jr=hl[1],ol=hl[2],ri=zo(0,23,wn,Fl&&Fl()),Vl=(0,it.Z)(function(){return ri},ri,fr);xn&&(Tr=Pl>=12,Pl%=12);var ye=ie.useMemo(function(){if(!xn)return[!1,!1];var Wt=[!0,!0];return Vl.forEach(function(Vt){var Bn=Vt.disabled,Cn=Vt.value;Bn||(Cn>=12?Wt[1]=!1:Wt[0]=!1)}),Wt},[xn,Vl]),Ce=(0,Ut.Z)(ye,2),Ke=Ce[0],Ve=Ce[1],ut=ie.useMemo(function(){return xn?Vl.filter(Tr?function(Wt){return Wt.value>=12}:function(Wt){return Wt.value<12}).map(function(Wt){var Vt=Wt.value%12,Bn=Vt===0?"12":Oa(Vt,2);return(0,Ft.Z)((0,Ft.Z)({},Wt),{},{label:Bn,value:Vt})}):Vl},[xn,Tr,Vl]),st=zo(0,59,_n,Jr&&Jr(ll)),Lt=zo(0,59,un,ol&&ol(ll,zl)),Dt=Do({value:Ot,generateConfig:Se,disabledMinutes:Jr,disabledSeconds:ol,minutes:st,seconds:Lt,use12Hours:xn});qe.current={onUpDown:function(Vt){var Bn=Dr[et];if(Bn)for(var Cn=Bn.units.findIndex(function(aa){return aa.value===Bn.value}),Dn=Bn.units.length,Un=1;Un2&&arguments[2]!==void 0?arguments[2]:!1;(ca===bn||To)&&(qa(Mn),Dr&&Dr(Mn),Dt&&Dt(Mn,la),ar&&!_t(ln,Mn,sa)&&!(_n!=null&&_n(Mn))&&ar(Mn))},lr=function(Mn){if(vl.includes(ca)){var la,To,sr=ca==="date";switch(Mn===Fn.Z.PAGE_UP||Mn===Fn.Z.PAGE_DOWN?To=sr?ln.addMonth:ln.addYear:To=sr?ln.addDate:ln.addMonth,Mn){case Fn.Z.LEFT:case Fn.Z.PAGE_UP:la=To(io,-1);break;case Fn.Z.RIGHT:case Fn.Z.PAGE_DOWN:la=To(io,1);break;case Fn.Z.UP:case Fn.Z.DOWN:la=To(io,Number("".concat(Mn===Fn.Z.UP?"-":"").concat(sr?ot:fl)));break}if(la)return!(_n!=null&&_n(la))}return!0},il=function(Mn){if(Un.current&&Un.current.onKeyDown){var la=!0,To=Mn.which;if([Fn.Z.LEFT,Fn.Z.RIGHT,Fn.Z.UP,Fn.Z.DOWN,Fn.Z.PAGE_UP,Fn.Z.PAGE_DOWN,Fn.Z.ENTER].includes(To)&&(Mn.preventDefault(),To!==Fn.Z.ENTER&&ja===0&&(la=lr(To))),la)return Un.current.onKeyDown(Mn)}return(0,Pe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Fr=function(Mn){Un.current&&Un.current.onBlur&&Un.current.onBlur(Mn)};Lt&&Bn!=="right"&&(Lt.current={onKeyDown:il,onClose:function(){Un.current&&Un.current.onClose&&Un.current.onClose()}}),ie.useEffect(function(){xn&&!Gn.current&&Wo(xn)},[xn]),ie.useEffect(function(){Gn.current=!1},[]);var no,Al=nr({cellRender:ye,monthCellRender:Vl,dateRender:ri}),Bo=(0,Ft.Z)((0,Ft.Z)({},pe),{},{cellRender:Al,operationRef:Un,prefixCls:et,viewDate:io,value:sa,onViewDateChange:va,sourceMode:Va,onPanelChange:ur,disabledDate:_n});switch(delete Bo.onChange,delete Bo.onSelect,ca){case"decade":no=ie.createElement(ai,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}));break;case"year":no=ie.createElement(ei,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}));break;case"month":no=ie.createElement(Xi,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}));break;case"quarter":no=ie.createElement(So,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}));break;case"week":no=ie.createElement(Ya,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}));break;case"time":delete Bo.showTime,no=ie.createElement(Ur,(0,le.Z)({},Bo,(0,Hn.Z)(_a)==="object"?_a:null,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}));break;default:_a?no=ie.createElement(vi,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}})):no=ie.createElement(Cr,(0,le.Z)({},Bo,{onSelect:function(Mn,la){va(Mn),gr(Mn,la)}}))}var yo,Rr,_l=function(){var Mn=ln.getNow(),la=vn(ln.getHour(Mn),ln.getMinute(Mn),ln.getSecond(Mn),Ke?_r:1,Ve?Fl:1,ut?ol:1),To=St(ln,Mn,la[0],la[1],la[2]);gr(To,"submit")};Ct||(yo=ir(et,ca,Ka),_a&&ca!=="date"?Rr=null:Rr=so({prefixCls:et,components:zl,needConfirmButton:Ce,okDisabled:!sa||_n&&_n(sa),locale:cn,showNow:Ca,onNow:Ce&&_l,onOk:function(){sa&&(gr(sa,"submit",!0),Pl&&Pl(sa))}}));var bo;if(Qa&&ca==="date"&&bn==="date"&&!_a){var vo=ln.getNow(),Po="".concat(et,"-today-btn"),Ja=_n&&_n(vo);bo=ie.createElement("a",{className:Te()(Po,Ja&&"".concat(Po,"-disabled")),"aria-disabled":Ja,onClick:function(){Ja||gr(vo,"mouse",!0)}},cn.today)}return ie.createElement(na.Provider,{value:(0,Ft.Z)((0,Ft.Z)({},st),{},{mode:ca,hideHeader:"hideHeader"in pe?xa:st.hideHeader,hidePrevBtn:Vt&&Bn==="right",hideNextBtn:Vt&&Bn==="left"})},ie.createElement("div",{tabIndex:ja,className:Te()("".concat(et,"-panel"),Ot,(Se={},(0,Ze.Z)(Se,"".concat(et,"-panel-has-range"),Cn&&Cn[0]&&Cn[1]),(0,Ze.Z)(Se,"".concat(et,"-panel-has-range-hover"),Dn&&Dn[0]&&Dn[1]),(0,Ze.Z)(Se,"".concat(et,"-panel-rtl"),al==="rtl"),Se)),style:At,onKeyDown:il,onBlur:Fr,onMouseDown:Tr},no,yo||Rr||bo?ie.createElement("div",{className:"".concat(et,"-footer")},yo,Rr,bo):null))}var Qr=Vr,Jt=te(35593),Rt={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function sn(pe){var Se,Ae=pe.prefixCls,qe=pe.popupElement,et=pe.popupStyle,Ot=pe.visible,At=pe.dropdownClassName,cn=pe.dropdownAlign,ln=pe.transitionName,xn=pe.getPopupContainer,qn=pe.children,wn=pe.range,Ln=pe.popupPlacement,_n=pe.direction,Kn="".concat(Ae,"-dropdown"),un=function(){return Ln!==void 0?Ln:_n==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(Jt.Z,{showAction:[],hideAction:[],popupPlacement:un(),builtinPlacements:Rt,prefixCls:Kn,popupTransitionName:ln,popup:qe,popupAlign:cn,popupVisible:Ot,popupClassName:Te()(At,(Se={},(0,Ze.Z)(Se,"".concat(Kn,"-range"),wn),(0,Ze.Z)(Se,"".concat(Kn,"-rtl"),_n==="rtl"),Se)),popupStyle:et,getPopupContainer:xn},qn)}var Yn=sn;function lo(pe){var Se=pe.prefixCls,Ae=pe.presets,qe=pe.onClick,et=pe.onHover;return Ae.length?ie.createElement("div",{className:"".concat(Se,"-presets")},ie.createElement("ul",null,Ae.map(function(Ot,At){var cn=Ot.label,ln=Ot.value;return ie.createElement("li",{key:At,onClick:function(){return qe==null?void 0:qe(dr(ln))},onMouseEnter:function(){return et==null?void 0:et(dr(ln))},onMouseLeave:function(){return et==null?void 0:et(null)}},cn)}))):null}function Co(pe){var Se=pe.picker,Ae=pe.disabledHours,qe=pe.disabledMinutes,et=pe.disabledSeconds;Se==="time"&&(Ae||qe||et)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Tn(pe,Se,Ae){var qe=(0,Hn.Z)(Se)==="object"?Se.clearIcon:Ae;return qe||ie.createElement("span",{className:"".concat(pe,"-clear-btn")})}function Xa(pe){var Se,Ae=pe,qe=Ae.prefixCls,et=qe===void 0?"rc-picker":qe,Ot=Ae.id,At=Ae.name,cn=Ae.tabIndex,ln=Ae.style,xn=Ae.className,qn=Ae.dropdownClassName,wn=Ae.dropdownAlign,Ln=Ae.popupStyle,_n=Ae.transitionName,Kn=Ae.generateConfig,un=Ae.locale,bn=Ae.inputReadOnly,Qn=Ae.allowClear,ja=Ae.autoFocus,Ca=Ae.showTime,_a=Ae.picker,Qa=_a===void 0?"date":_a,Ka=Ae.format,xa=Ae.use12Hours,Dr=Ae.value,ar=Ae.defaultValue,Lr=Ae.presets,Tr=Ae.open,ll=Ae.defaultOpen,Pl=Ae.defaultOpenValue,zl=Ae.suffixIcon,al=Ae.clearIcon,zr=Ae.disabled,_r=Ae.disabledDate,hl=Ae.placeholder,Fl=Ae.getPopupContainer,Jr=Ae.pickerRef,ol=Ae.panelRender,ri=Ae.onChange,Vl=Ae.onOpenChange,ye=Ae.onFocus,Ce=Ae.onBlur,Ke=Ae.onMouseDown,Ve=Ae.onMouseUp,ut=Ae.onMouseEnter,st=Ae.onMouseLeave,Lt=Ae.onContextMenu,Dt=Ae.onClick,Ct=Ae.onKeyDown,Xt=Ae.onSelect,Wt=Ae.direction,Vt=Ae.autoComplete,Bn=Vt===void 0?"off":Vt,Cn=Ae.inputRender,Dn=Ae.changeOnBlur,Un=ie.useRef(null),Gn=Qa==="date"&&!!Ca||Qa==="time",aa=xt(Lr),Xn=Ar(ta(Ka,Qa,Ca,xa)),sa=ie.useRef(null),qa=ie.useRef(null),po=ie.useRef(null),za=(0,dn.Z)(null,{value:Dr,defaultValue:ar}),io=(0,Ut.Z)(za,2),Wo=io[0],va=io[1],Ga=ie.useState(Wo),Fa=(0,Ut.Z)(Ga,2),oa=Fa[0],ca=Fa[1],Yt=ie.useRef(null),rr=(0,dn.Z)(!1,{value:Tr,defaultValue:ll,postState:function(mo){return zr?!1:mo},onChange:function(mo){Vl&&Vl(mo),!mo&&Yt.current&&Yt.current.onClose&&Yt.current.onClose()}}),Ko=(0,Ut.Z)(rr,2),Va=Ko[0],er=Ko[1],ur=fn(oa,{formatList:Xn,generateConfig:Kn,locale:un}),gr=(0,Ut.Z)(ur,2),lr=gr[0],il=gr[1],Fr=wt({valueTexts:lr,onTextChange:function(mo){var wo=jt(mo,{locale:un,formatList:Xn,generateConfig:Kn});wo&&(!_r||!_r(wo))&&ca(wo)}}),no=(0,Ut.Z)(Fr,3),Al=no[0],Bo=no[1],yo=no[2],Rr=function(mo){ca(mo),va(mo),ri&&!_t(Kn,Wo,mo)&&ri(mo,mo?at(mo,{generateConfig:Kn,locale:un,format:Xn[0]}):"")},_l=function(mo){zr&&mo||er(mo)},bo=function(mo){return Va&&Yt.current&&Yt.current.onKeyDown?Yt.current.onKeyDown(mo):((0,Pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vo=function(){for(var mo=arguments.length,wo=new Array(mo),mi=0;miLn(xn);case"month":return wn(un)>wn(xn);case"week":return qn(un)>qn(xn);default:return!Et(cn,un,xn)&&cn.isAfter(un,xn)}return!1},[Ot,At[1],xn,Se]),Kn=ie.useCallback(function(un){if(At[1]||Ot&&Ot(un))return!0;if(At[0]&&ln)return!Et(cn,un,xn)&&cn.isAfter(ln,un);if(!Se&&ln)switch(Ae){case"quarter":return Ln(un)0&&arguments[0]!==void 0?arguments[0]:!1,Ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mr=null;Dl&&pu&&pu[0]&&pu[1]&&un.isAfter(pu[1],pu[0])&&(mr=pu);var yl=xa;if(xa&&(0,Hn.Z)(xa)==="object"&&xa.defaultValue){var Jl=xa.defaultValue;yl=(0,Ft.Z)((0,Ft.Z)({},xa),{},{defaultValue:to(Jl,Ao)||void 0})}return ie.createElement(Vo.Provider,{value:{inRange:!0,panelPosition:dl,rangedValue:Gs||La,hoverRangedValue:mr}},ie.createElement(Qr,(0,le.Z)({},pe,Ro,{cellRender:uc,showTime:yl,mode:sr[Ao],generateConfig:un,style:void 0,direction:io,disabledDate:Ao===0?El:Br,disabledTime:function(au){return _r?_r(au,Ao===0?"start":"end"):!1},className:Te()((0,Ze.Z)({},"".concat(At,"-panel-focused"),Ao===0?!Xu:!Ji)),value:to(La,Ao),locale:bn,tabIndex:-1,onPanelChange:function(au,Lu){Ao===0&&Ru(!0),Ao===1&&ms(!0),Ql(kn(sr,Lu,Ao),kn(La,au,Ao));var Eo=au;dl==="right"&&sr[Ao]===Lu&&(Eo=Ye(Eo,Lu,un,-1)),vo(Eo,Ao)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ao===0?to(La,1):to(La,0)})))}var wu=0,ec=0;if(Ao&&rr.current&&Va.current&&Yt.current&&gr.current){wu=rr.current.offsetWidth+Va.current.offsetWidth;var tc=gr.current.offsetLeft>wu?gr.current.offsetLeft-wu:gr.current.offsetLeft,nc=Yt.current.offsetWidth,cc=gr.current.offsetWidth;nc&&cc&&wu>nc-cc-(io==="rtl"?0:tc)&&(ec=wu)}var dc=io==="rtl"?{right:wu}:{left:wu};function zn(){var dl,Ro=ir(At,sr[Ao],Dt),mr=so({prefixCls:At,components:po,needConfirmButton:oa,okDisabled:!to(La,Ao)||zr&&zr(La[Ao]),locale:bn,onOk:function(){var ou=to(La,Ao);ou&&(mi(La,Ao),sa==null||sa(La),li(!1,Ao,"confirm"))}});if(Ka!=="time"&&!xa){var yl=bo(Ao),Jl=Ye(yl,Ka,un),es=sr[Ao],au=es===Ka,Lu=Ts(au?"left":!1,{pickerValue:yl,onPickerValueChange:function(ou){vo(ou,Ao)}}),Eo=Ts("right",{pickerValue:Jl,onPickerValueChange:function(ou){vo(Ye(ou,Ka,un,-1),Ao)}});io==="rtl"?dl=ie.createElement(ie.Fragment,null,Eo,au&&Lu):dl=ie.createElement(ie.Fragment,null,Lu,au&&Eo)}else dl=Ts();var Ps=ie.createElement("div",{className:"".concat(At,"-panel-layout")},ie.createElement(lo,{prefixCls:At,presets:sc,onClick:function(ou){mi(ou,null),li(!1,Ao,"preset")},onHover:function(ou){Iu(ou)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(At,"-panels")},dl),(Ro||mr)&&ie.createElement("div",{className:"".concat(At,"-footer")},Ro,mr)));return ol&&(Ps=ol(Ps)),ie.createElement("div",{className:"".concat(At,"-panel-container"),style:{marginLeft:ec},ref:Yt,onMouseDown:function(ou){ou.preventDefault()}},Ps)}var gc=ie.createElement("div",{className:Te()("".concat(At,"-range-wrapper"),"".concat(At,"-").concat(Ka,"-range-wrapper")),style:{minWidth:nl}},ie.createElement("div",{ref:gr,className:"".concat(At,"-range-arrow"),style:dc}),zn()),ac;Ke&&(ac=ie.createElement("span",{className:"".concat(At,"-suffix"),onMouseDown:function(Ro){Ro.preventDefault()}},Ke));var mc=Tn(At,Ce,Ve),oc=ie.createElement("span",{onMouseDown:function(Ro){Ro.preventDefault(),Ro.stopPropagation()},onMouseUp:function(Ro){Ro.preventDefault(),Ro.stopPropagation();var mr=Bo;Fr[0]||(mr=kn(mr,null,0)),Fr[1]||(mr=kn(mr,null,1)),mi(mr,null),li(!1,Ao,"clear")},className:"".concat(At,"-clear"),role:"button"},mc),fc=Ce&&(to(Bo,0)&&!Fr[0]||to(Bo,1)&&!Fr[1]),rc={size:Fo(Ka,lr[0],un)},Rs=0,ks=0;rr.current&&Ko.current&&Va.current&&(Ao===0?ks=rr.current.offsetWidth:(Rs=wu,ks=Ko.current.offsetWidth));var pc=io==="rtl"?{right:Rs}:{left:Rs},nu=function(Ro,mr){var yl=kn(La,Ro,Ao);if(mr==="submit"||mr!=="key"&&!oa){mi(yl,Ao),Ao===0?Ru():ms();var Jl=Ao===0?1:0;Fr[Jl]?li(!1,!1,"confirm"):li(!1,Ao,"confirm")}else Mn(yl)};return ie.createElement(na.Provider,{value:{operationRef:il,hideHeader:Ka==="time",onDateMouseEnter:Ks,onDateMouseLeave:Zl,hideRanges:!0,onSelect:nu,open:Dl}},ie.createElement(Yn,{visible:Dl,popupElement:gc,popupStyle:qn,prefixCls:At,dropdownClassName:wn,dropdownAlign:_n,getPopupContainer:Kn,transitionName:Ln,range:!0,direction:io},ie.createElement("div",(0,le.Z)({ref:ca,className:Te()(At,"".concat(At,"-range"),xn,(Se={},(0,Ze.Z)(Se,"".concat(At,"-disabled"),Fr[0]&&Fr[1]),(0,Ze.Z)(Se,"".concat(At,"-focused"),Ao===0?Ju:tu),(0,Ze.Z)(Se,"".concat(At,"-rtl"),io==="rtl"),Se)),style:ln,onClick:Is,onMouseEnter:Gn,onMouseLeave:aa,onMouseDown:Ss,onMouseUp:Un},(0,En.Z)(pe,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(At,"-input"),(Ae={},(0,Ze.Z)(Ae,"".concat(At,"-input-active"),Ao===0),(0,Ze.Z)(Ae,"".concat(At,"-input-placeholder"),!!ds),Ae)),ref:rr},ie.createElement("input",(0,le.Z)({id:cn,disabled:Fr[0],readOnly:st||typeof lr[0]=="function"||!Xu,value:ds||Sl,onChange:function(Ro){fi(Ro.target.value)},autoFocus:ja,placeholder:to(Qn,0)||"",ref:er},Qu,rc,{autoComplete:Ga}))),ie.createElement("div",{className:"".concat(At,"-range-separator"),ref:Va},Lr),ie.createElement("div",{className:Te()("".concat(At,"-input"),(qe={},(0,Ze.Z)(qe,"".concat(At,"-input-active"),Ao===1),(0,Ze.Z)(qe,"".concat(At,"-input-placeholder"),!!gs),qe)),ref:Ko},ie.createElement("input",(0,le.Z)({disabled:Fr[1],readOnly:st||typeof lr[0]=="function"||!Ji,value:gs||pi,onChange:function(Ro){Qi(Ro.target.value)},placeholder:to(Qn,1)||"",ref:ur},kl,rc,{autoComplete:Ga}))),ie.createElement("div",{className:"".concat(At,"-active-bar"),style:(0,Ft.Z)((0,Ft.Z)({},pc),{},{width:ks,position:"absolute"})}),ac,fc&&oc)))}var Fi=function(pe){(0,mt.Z)(Ae,pe);var Se=(0,Pn.Z)(Ae);function Ae(){var qe;(0,We.Z)(this,Ae);for(var et=arguments.length,Ot=new Array(et),At=0;At{const{lineHeight:et}=pe,Ot=Math.floor(Ae*et)+2,At=Math.max((Se-Ot)/2,0),cn=Math.max(Se-Ot-At,0);return{padding:`${At}px ${qe}px ${cn}px`}},as=pe=>{const{componentCls:Se,pickerCellCls:Ae,pickerCellInnerCls:qe,cellHeight:et,motionDurationSlow:Ot,borderRadiusSM:At,motionDurationMid:cn,cellHoverBg:ln,lineWidth:xn,lineType:qn,colorPrimary:wn,cellActiveWithRangeBg:Ln,colorTextLightSolid:_n,controlHeightSM:Kn,cellRangeBorderColor:un,pickerCellBorderGap:bn,cellHoverWithRangeBg:Qn,cellWidth:ja,colorTextDisabled:Ca,cellBgDisabled:_a}=pe;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:et,transform:"translateY(-50%)",transition:`all ${Ot}`,content:'""'},[qe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:et,height:et,lineHeight:`${et}px`,borderRadius:At,transition:`background ${cn}, border ${cn}`},"&-range-hover-start, &-range-hover-end":{[qe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Ae}-in-view), + &:hover:not(${Ae}-selected):not(${Ae}-range-start):not(${Ae}-range-end):not(${Ae}-range-hover-start):not(${Ae}-range-hover-end)`]:{[qe]:{background:ln}},[`&-in-view${Ae}-today ${qe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${xn}px ${qn} ${wn}`,borderRadius:At,content:'""'}},[`&-in-view${Ae}-in-range`]:{position:"relative","&::before":{background:Ln}},[`&-in-view${Ae}-selected ${qe}, + &-in-view${Ae}-range-start ${qe}, + &-in-view${Ae}-range-end ${qe}`]:{color:_n,background:wn},[`&-in-view${Ae}-range-start:not(${Ae}-range-start-single), + &-in-view${Ae}-range-end:not(${Ae}-range-end-single)`]:{"&::before":{background:Ln}},[`&-in-view${Ae}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Ae}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Ae}-range-hover-start:not(${Ae}-in-range):not(${Ae}-range-start):not(${Ae}-range-end), + &-in-view${Ae}-range-hover-end:not(${Ae}-in-range):not(${Ae}-range-start):not(${Ae}-range-end), + &-in-view${Ae}-range-hover-start${Ae}-range-start-single, + &-in-view${Ae}-range-hover-start${Ae}-range-start${Ae}-range-end${Ae}-range-end-near-hover, + &-in-view${Ae}-range-hover-end${Ae}-range-start${Ae}-range-end${Ae}-range-start-near-hover, + &-in-view${Ae}-range-hover-end${Ae}-range-end-single, + &-in-view${Ae}-range-hover:not(${Ae}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Kn,borderTop:`${xn}px dashed ${un}`,borderBottom:`${xn}px dashed ${un}`,transform:"translateY(-50%)",transition:`all ${Ot}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:bn},[`&-in-view${Ae}-in-range${Ae}-range-hover::before, + &-in-view${Ae}-in-range${Ae}-range-hover-start::before, + &-in-view${Ae}-in-range${Ae}-range-hover-end::before, + &-in-view${Ae}-range-start${Ae}-range-hover::before, + &-in-view${Ae}-range-end${Ae}-range-hover::before, + &-in-view${Ae}-range-start:not(${Ae}-range-start-single)${Ae}-range-hover-start::before, + &-in-view${Ae}-range-end:not(${Ae}-range-end-single)${Ae}-range-hover-end::before, + ${Se}-panel + > :not(${Se}-date-panel) + &-in-view${Ae}-in-range${Ae}-range-hover-start::before, + ${Se}-panel + > :not(${Se}-date-panel) + &-in-view${Ae}-in-range${Ae}-range-hover-end::before`]:{background:Qn},[`&-in-view${Ae}-range-start:not(${Ae}-range-start-single):not(${Ae}-range-end) ${qe}`]:{borderStartStartRadius:At,borderEndStartRadius:At,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ae}-range-end:not(${Ae}-range-end-single):not(${Ae}-range-start) ${qe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:At,borderEndEndRadius:At},[`&-range-hover${Ae}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Ae}-range-hover:first-child::after, + tr > &-in-view${Ae}-range-hover-end:first-child::after, + &-in-view${Ae}-start${Ae}-range-hover-edge-start${Ae}-range-hover-edge-start-near-range::after, + &-in-view${Ae}-range-hover-edge-start:not(${Ae}-range-hover-edge-start-near-range)::after, + &-in-view${Ae}-range-hover-start::after`]:{insetInlineStart:(ja-et)/2,borderInlineStart:`${xn}px dashed ${un}`,borderStartStartRadius:At,borderEndStartRadius:At},[`tr > &-in-view${Ae}-range-hover:last-child::after, + tr > &-in-view${Ae}-range-hover-start:last-child::after, + &-in-view${Ae}-end${Ae}-range-hover-edge-end${Ae}-range-hover-edge-end-near-range::after, + &-in-view${Ae}-range-hover-edge-end:not(${Ae}-range-hover-edge-end-near-range)::after, + &-in-view${Ae}-range-hover-end::after`]:{insetInlineEnd:(ja-et)/2,borderInlineEnd:`${xn}px dashed ${un}`,borderStartEndRadius:At,borderEndEndRadius:At},"&-disabled":{color:Ca,pointerEvents:"none",[qe]:{background:"transparent"},"&::before":{background:_a}},[`&-disabled${Ae}-today ${qe}::before`]:{borderColor:Ca}}},Wu=pe=>{const{componentCls:Se,pickerCellCls:Ae,pickerCellInnerCls:qe,pickerYearMonthCellWidth:et,pickerControlIconSize:Ot,cellWidth:At,paddingSM:cn,paddingXS:ln,paddingXXS:xn,colorBgContainer:qn,lineWidth:wn,lineType:Ln,borderRadiusLG:_n,colorPrimary:Kn,colorTextHeading:un,colorSplit:bn,pickerControlIconBorderWidth:Qn,colorIcon:ja,textHeight:Ca,motionDurationMid:_a,colorIconHover:Qa,fontWeightStrong:Ka,cellHeight:xa,pickerCellPaddingVertical:Dr,colorTextDisabled:ar,colorText:Lr,fontSize:Tr,cellHoverWithRangeBg:ll,motionDurationSlow:Pl,withoutTimeCellHeight:zl,pickerQuarterPanelContentHeight:al,colorLink:zr,colorLinkActive:_r,colorLinkHover:hl,cellRangeBorderColor:Fl,borderRadiusSM:Jr,colorTextLightSolid:ol,cellHoverBg:ri,timeColumnHeight:Vl,timeColumnWidth:ye,timeCellHeight:Ce,controlItemBgActive:Ke,marginXXS:Ve,pickerDatePanelPaddingHorizontal:ut}=pe,st=At*7+ut*2,Lt=(st-ln*2)/3-et-cn,Dt=(st-ln*2)/4-et;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:qn,border:`${wn}px ${Ln} ${bn}`,borderRadius:_n,outline:"none","&-focused":{borderColor:Kn},"&-rtl":{direction:"rtl",[`${Se}-prev-icon, + ${Se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Se}-next-icon, + ${Se}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:st},"&-header":{display:"flex",padding:`0 ${ln}px`,color:un,borderBottom:`${wn}px ${Ln} ${bn}`,"> *":{flex:"none"},button:{padding:0,color:ja,lineHeight:`${Ca}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${_a}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Tr,"&:hover":{color:Qa}},"&-view":{flex:"auto",fontWeight:Ka,lineHeight:`${Ca}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:ln},"&:hover":{color:Kn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Ot,height:Ot,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Ot,height:Ot,border:"0 solid currentcolor",borderBlockStartWidth:Qn,borderBlockEndWidth:0,borderInlineStartWidth:Qn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Ot/2),insetInlineStart:Math.ceil(Ot/2),display:"inline-block",width:Ot,height:Ot,border:"0 solid currentcolor",borderBlockStartWidth:Qn,borderBlockEndWidth:0,borderInlineStartWidth:Qn,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:xa,fontWeight:"normal"},th:{height:xa+Dr*2,color:Lr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Dr}px 0`,color:ar,cursor:"pointer","&-in-view":{color:Lr}},as(pe)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${qe}, + &-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${qe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:ll,transition:`all ${Pl}`,content:'""'}},[`&-date-panel + ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start + ${qe}::after`]:{insetInlineEnd:-(At-xa)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${qe}::after`]:{insetInlineEnd:0,insetInlineStart:-(At-xa)/2},[`&-range-hover${Se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:zl*4},[qe]:{padding:`0 ${ln}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:al},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Dt,borderInlineStart:`${wn}px dashed ${Fl}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Dt,borderInlineEnd:`${wn}px dashed ${Fl}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Dt,borderInlineEnd:`${wn}px dashed ${Fl}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Dt,borderInlineStart:`${wn}px dashed ${Fl}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${wn}px ${Ln} ${bn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ca-2*wn}px`,textAlign:"center","&-extra":{padding:`0 ${cn}px`,lineHeight:`${Ca-2*wn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${wn}px ${Ln} ${bn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:zr,"&:hover":{color:hl},"&:active":{color:_r},[`&${Se}-today-btn-disabled`]:{color:ar,cursor:"not-allowed"}},"&-decade-panel":{[qe]:{padding:`0 ${ln/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${ln}px`},[qe]:{width:et},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:Jr,borderEndStartRadius:Jr,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Jr,borderEndEndRadius:Jr}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Jr,borderEndEndRadius:Jr,[`${Se}-panel-rtl &`]:{borderStartStartRadius:Jr,borderEndStartRadius:Jr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Lt,borderInlineStart:`${wn}px dashed ${Fl}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Lt,borderInlineEnd:`${wn}px dashed ${Fl}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Lt,borderInlineEnd:`${wn}px dashed ${Fl}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Lt,borderInlineStart:`${wn}px dashed ${Fl}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${ln}px ${cn}px`},[`${Se}-cell`]:{[`&:hover ${qe}, + &-selected ${qe}, + ${qe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${_a}`},"&:first-child:before":{borderStartStartRadius:Jr,borderEndStartRadius:Jr},"&:last-child:before":{borderStartEndRadius:Jr,borderEndEndRadius:Jr}},"&:hover td":{"&:before":{background:ri}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Ae}`]:{"&:before":{background:Kn},[`&${Se}-cell-week`]:{color:new Hi.C(ol).setAlpha(.5).toHexString()},[qe]:{color:ol}}},"&-range-hover td:before":{background:Ke}}},"&-date-panel":{[`${Se}-body`]:{padding:`${ln}px ${ut}px`},[`${Se}-content`]:{width:At*7,th:{width:At,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${wn}px ${Ln} ${bn}`},[`${Se}-date-panel, + ${Se}-time-panel`]:{transition:`opacity ${Pl}`},"&-active":{[`${Se}-date-panel, + ${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:Vl},"&-column":{flex:"1 0 auto",width:ye,margin:`${xn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${_a}`,overflowX:"hidden","&::after":{display:"block",height:Vl-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${wn}px ${Ln} ${bn}`},"&-active":{background:new Hi.C(Ke).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:Ve,[`${Se}-time-panel-cell-inner`]:{display:"block",width:ye-2*Ve,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ye-Ce)/2,color:Lr,lineHeight:`${Ce}px`,borderRadius:Jr,cursor:"pointer",transition:`background ${_a}`,"&:hover":{background:ri}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Ke}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:ar,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:Vl-Ce+xn*2}}}},Eu=pe=>{const{componentCls:Se,colorBgContainer:Ae,colorError:qe,errorActiveShadow:et,colorWarning:Ot,warningActiveShadow:At}=pe;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Ae,borderColor:qe},[`&${Se}-focused, &:focus`]:Object.assign({},(0,Bi.M1)((0,du.TS)(pe,{activeBorderColor:qe,activeShadow:et}))),[`${Se}-active-bar`]:{background:qe}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Ae,borderColor:Ot},[`&${Se}-focused, &:focus`]:Object.assign({},(0,Bi.M1)((0,du.TS)(pe,{activeBorderColor:Ot,activeShadow:At}))),[`${Se}-active-bar`]:{background:Ot}}}}},Hr=pe=>{const{componentCls:Se,antCls:Ae,controlHeight:qe,fontSize:et,paddingInline:Ot,colorBgContainer:At,lineWidth:cn,lineType:ln,colorBorder:xn,borderRadius:qn,motionDurationMid:wn,colorBgContainerDisabled:Ln,colorTextDisabled:_n,colorTextPlaceholder:Kn,controlHeightLG:un,fontSizeLG:bn,controlHeightSM:Qn,paddingInlineSM:ja,paddingXS:Ca,marginXS:_a,colorTextDescription:Qa,lineWidthBold:Ka,lineHeight:xa,colorPrimary:Dr,motionDurationSlow:ar,zIndexPopup:Lr,paddingXXS:Tr,paddingSM:ll,textHeight:Pl,cellActiveWithRangeBg:zl,colorPrimaryBorder:al,sizePopupArrow:zr,borderRadiusXS:_r,borderRadiusOuter:hl,colorBgElevated:Fl,borderRadiusLG:Jr,boxShadowSecondary:ol,borderRadiusSM:ri,colorSplit:Vl,cellHoverBg:ye,presetsWidth:Ce,presetsMaxWidth:Ke,boxShadowPopoverArrow:Ve,colorTextQuaternary:ut}=pe;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,cu.Wf)(pe)),Vi(pe,qe,et,Ot)),{position:"relative",display:"inline-flex",alignItems:"center",background:At,lineHeight:1,border:`${cn}px ${ln} ${xn}`,borderRadius:qn,transition:`border ${wn}, box-shadow ${wn}`,"&:hover, &-focused":Object.assign({},(0,Bi.pU)(pe)),"&-focused":Object.assign({},(0,Bi.M1)(pe)),[`&${Se}-disabled`]:{background:Ln,borderColor:xn,cursor:"not-allowed",[`${Se}-suffix`]:{color:ut}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Bi.ik)(pe)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Kn}}},"&-large":Object.assign(Object.assign({},Vi(pe,un,bn,Ot)),{[`${Se}-input > input`]:{fontSize:bn}}),"&-small":Object.assign({},Vi(pe,Qn,et,ja)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ca/2,color:_n,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:_a}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:_n,lineHeight:1,background:At,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${wn}, color ${wn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Qa}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:bn,color:_n,fontSize:bn,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:Qa},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:Ot},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-cn,height:Ka,marginInlineStart:Ot,background:Dr,opacity:0,transition:`all ${ar} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${Ca}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:ja},[`${Se}-active-bar`]:{marginInlineStart:ja}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,cu.Wf)(pe)),Wu(pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Lr,[`&${Se}-dropdown-hidden`]:{display:"none"},[`&${Se}-dropdown-placement-bottomLeft`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-topLeft, + &${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-topRight, + &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-topLeft, + &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:bi.Qt},[`&${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft, + &${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-bottomRight, + &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-bottomLeft, + &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:bi.fJ},[`&${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-topLeft, + &${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:bi.ly},[`&${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft, + &${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:bi.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:Tr},[`${Se}-ranges`]:{marginBottom:0,padding:`${Tr}px ${ll}px`,overflow:"hidden",lineHeight:`${Pl-2*cn-Ca/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${Ae}-tag-blue`]:{color:Dr,background:zl,borderColor:al,cursor:"pointer"},[`${Se}-ok`]:{marginInlineStart:"auto"}},[`${Se}-range-wrapper`]:{display:"flex",position:"relative"},[`${Se}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Ot*1.5,transition:`left ${ar} ease-out`},(0,_u.r)(zr,_r,hl,Fl,Ve)),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Fl,borderRadius:Jr,boxShadow:ol,transition:`margin ${ar}`,[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ce,maxWidth:Ke,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ca,borderInlineEnd:`${cn}px ${ln} ${Vl}`,li:Object.assign(Object.assign({},cu.vS),{borderRadius:ri,paddingInline:Ca,paddingBlock:(Qn-Math.round(et*xa))/2,cursor:"pointer",transition:`all ${ar}`,"+ li":{marginTop:_a},"&:hover":{background:ye}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Se}-panel`]:{borderWidth:`0 0 ${cn}px`},"&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:xn}}}}),"&-dropdown-range":{padding:`${zr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,bi.oN)(pe,"slide-up"),(0,bi.oN)(pe,"slide-down"),(0,Bu.Fm)(pe,"move-up"),(0,Bu.Fm)(pe,"move-down")]},xs=pe=>{const{componentCls:Se,controlHeightLG:Ae,paddingXXS:qe,padding:et}=pe;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:Ae*1.5,pickerQuarterPanelContentHeight:Ae*1.4,pickerCellPaddingVertical:qe+qe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:et+qe/2}},$s=pe=>({cellHoverBg:pe.controlItemBgHover,cellActiveWithRangeBg:pe.controlItemBgActive,cellHoverWithRangeBg:new Hi.C(pe.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Hi.C(pe.colorPrimary).lighten(20).toHexString(),cellBgDisabled:pe.colorBgContainerDisabled,timeColumnWidth:pe.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:pe.controlHeightSM*1.5,cellHeight:pe.controlHeightSM,textHeight:pe.controlHeightLG,withoutTimeCellHeight:pe.controlHeightLG*1.65});var Cs=(0,ns.Z)("DatePicker",pe=>{const Se=(0,du.TS)((0,Bi.e5)(pe),xs(pe));return[Hr(Se),Eu(Se),(0,Gu.c)(pe,{focusElCls:`${pe.componentCls}-focused`})]},pe=>Object.assign(Object.assign(Object.assign({},(0,Bi.TM)(pe)),$s(pe)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:pe.zIndexPopupBase+50}));function Fs(pe,Se,Ae){return Ae!==void 0?Ae:Se==="year"&&pe.lang.yearPlaceholder?pe.lang.yearPlaceholder:Se==="quarter"&&pe.lang.quarterPlaceholder?pe.lang.quarterPlaceholder:Se==="month"&&pe.lang.monthPlaceholder?pe.lang.monthPlaceholder:Se==="week"&&pe.lang.weekPlaceholder?pe.lang.weekPlaceholder:Se==="time"&&pe.timePickerLocale.placeholder?pe.timePickerLocale.placeholder:pe.lang.placeholder}function js(pe,Se,Ae){return Ae!==void 0?Ae:Se==="year"&&pe.lang.yearPlaceholder?pe.lang.rangeYearPlaceholder:Se==="quarter"&&pe.lang.quarterPlaceholder?pe.lang.rangeQuarterPlaceholder:Se==="month"&&pe.lang.monthPlaceholder?pe.lang.rangeMonthPlaceholder:Se==="week"&&pe.lang.weekPlaceholder?pe.lang.rangeWeekPlaceholder:Se==="time"&&pe.timePickerLocale.placeholder?pe.timePickerLocale.rangePlaceholder:pe.lang.rangePlaceholder}function os(pe,Se){const Ae={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Ae};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Ae};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Ae};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Ae};default:return{points:pe==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Ae}}}function Mu(pe){return pe?Array.isArray(pe)?pe:[pe]:[]}function ji(pe){const{format:Se,picker:Ae,showHour:qe,showMinute:et,showSecond:Ot,use12Hours:At}=pe,cn=Mu(Se)[0],ln=Object.assign({},pe);return Se&&Array.isArray(Se)&&(ln.format=cn),cn&&typeof cn=="string"&&(!cn.includes("s")&&Ot===void 0&&(ln.showSecond=!1),!cn.includes("m")&&et===void 0&&(ln.showMinute=!1),!cn.includes("H")&&!cn.includes("h")&&!cn.includes("K")&&!cn.includes("k")&&qe===void 0&&(ln.showHour=!1),(cn.includes("a")||cn.includes("A"))&&At===void 0&&(ln.use12Hours=!0)),Ae==="time"?ln:(typeof cn=="function"&&delete ln.format,{showTime:ln})}function Ou(pe,Se,Ae){if(pe===!1)return!1;const qe={clearIcon:Se!=null?Se:Ae};return typeof pe=="object"?Object.assign(Object.assign({},qe),pe):qe}var Bs=te(3113);function zs(pe){return ie.createElement(Bs.ZP,Object.assign({size:"small",type:"primary"},pe))}var $i={button:zs},co=function(pe,Se){var Ae={};for(var qe in pe)Object.prototype.hasOwnProperty.call(pe,qe)&&Se.indexOf(qe)<0&&(Ae[qe]=pe[qe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,qe=Object.getOwnPropertySymbols(pe);et{const{prefixCls:et,getPopupContainer:Ot,className:At,placement:cn,size:ln,disabled:xn,bordered:qn=!0,placeholder:wn,popupClassName:Ln,dropdownClassName:_n,status:Kn,clearIcon:un,allowClear:bn,rootClassName:Qn}=Ae,ja=co(Ae,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ca=ie.useRef(null),{getPrefixCls:_a,direction:Qa,getPopupContainer:Ka}=(0,ie.useContext)(Ki.E_),xa=_a("picker",et),{compactSize:Dr,compactItemClassnames:ar}=(0,Cu.ri)(xa,Qa),{format:Lr,showTime:Tr,picker:ll}=Ae,Pl=_a(),[zl,al]=Cs(xa),zr=Object.assign(Object.assign({},Tr?ji(Object.assign({format:Lr,picker:ll},Tr)):{}),ll==="time"?ji(Object.assign(Object.assign({format:Lr},Ae),{picker:ll})):{}),_r=(0,Hu.Z)(Ve=>{var ut;return(ut=ln!=null?ln:Dr)!==null&&ut!==void 0?ut:Ve}),hl=ie.useContext(hu.Z),Fl=xn!=null?xn:hl,Jr=(0,ie.useContext)(yi.aM),{hasFeedback:ol,status:ri,feedbackIcon:Vl}=Jr,ye=ie.createElement(ie.Fragment,null,ll==="time"?ie.createElement(ke,null):ie.createElement(Ee,null),ol&&Vl);(0,ie.useImperativeHandle)(qe,()=>({focus:()=>{var Ve;return(Ve=Ca.current)===null||Ve===void 0?void 0:Ve.focus()},blur:()=>{var Ve;return(Ve=Ca.current)===null||Ve===void 0?void 0:Ve.blur()}}));const[Ce]=(0,yr.Z)("Calendar",Fu.Z),Ke=Object.assign(Object.assign({},Ce),Ae.locale);return zl(ie.createElement(tl,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${xa}-separator`},ie.createElement(Pt,null)),disabled:Fl,ref:Ca,dropdownAlign:os(Qa,cn),placeholder:js(Ke,ll,wn),suffixIcon:ye,prevIcon:ie.createElement("span",{className:`${xa}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${xa}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${xa}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${xa}-super-next-icon`}),transitionName:`${Pl}-slide-up`},ja,zr,{className:Te()({[`${xa}-${_r}`]:_r,[`${xa}-borderless`]:!qn},(0,qi.Z)(xa,(0,qi.F)(ri,Kn),ol),al,ar,At,Qn),locale:Ke.lang,prefixCls:xa,getPopupContainer:Ot||Ka,generateConfig:pe,components:$i,direction:Qa,dropdownClassName:Te()(al,Ln||_n,Qn),allowClear:Ou(bn,un,ie.createElement(nt.Z,null))})))})}var rs=function(pe,Se){var Ae={};for(var qe in pe)Object.prototype.hasOwnProperty.call(pe,qe)&&Se.indexOf(qe)<0&&(Ae[qe]=pe[qe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,qe=Object.getOwnPropertySymbols(pe);et{const{prefixCls:Kn,getPopupContainer:un,style:bn,className:Qn,rootClassName:ja,size:Ca,bordered:_a=!0,placement:Qa,placeholder:Ka,popupClassName:xa,dropdownClassName:Dr,disabled:ar,status:Lr,clearIcon:Tr,allowClear:ll}=Ln,Pl=rs(Ln,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zl,direction:al,getPopupContainer:zr,[qn]:_r}=(0,ie.useContext)(Ki.E_),hl=zl("picker",Kn),{compactSize:Fl,compactItemClassnames:Jr}=(0,Cu.ri)(hl,al),ol=ie.useRef(null),{format:ri,showTime:Vl}=Ln,[ye,Ce]=Cs(hl);(0,ie.useImperativeHandle)(_n,()=>({focus:()=>{var Gn;return(Gn=ol.current)===null||Gn===void 0?void 0:Gn.focus()},blur:()=>{var Gn;return(Gn=ol.current)===null||Gn===void 0?void 0:Gn.blur()}}));const Ke={showToday:!0};let Ve={};ln&&(Ve.picker=ln);const ut=ln||Ln.picker;Ve=Object.assign(Object.assign(Object.assign({},Ve),Vl?ji(Object.assign({format:ri,picker:ut},Vl)):{}),ut==="time"?ji(Object.assign(Object.assign({format:ri},Ln),{picker:ut})):{});const st=zl(),Lt=(0,Hu.Z)(Gn=>{var aa;return(aa=Ca!=null?Ca:Fl)!==null&&aa!==void 0?aa:Gn}),Dt=ie.useContext(hu.Z),Ct=ar!=null?ar:Dt,Xt=(0,ie.useContext)(yi.aM),{hasFeedback:Wt,status:Vt,feedbackIcon:Bn}=Xt,Cn=ie.createElement(ie.Fragment,null,ut==="time"?ie.createElement(ke,null):ie.createElement(Ee,null),Wt&&Bn),[Dn]=(0,yr.Z)("DatePicker",Fu.Z),Un=Object.assign(Object.assign({},Dn),Ln.locale);return ye(ie.createElement(ki,Object.assign({ref:ol,placeholder:Fs(Un,ut,Ka),suffixIcon:Cn,dropdownAlign:os(al,Qa),prevIcon:ie.createElement("span",{className:`${hl}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${hl}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${hl}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${hl}-super-next-icon`}),transitionName:`${st}-slide-up`},Ke,Pl,Ve,{locale:Un.lang,className:Te()({[`${hl}-${Lt}`]:Lt,[`${hl}-borderless`]:!_a},(0,qi.Z)(hl,(0,qi.F)(Vt,Lr),Wt),Ce,Jr,_r==null?void 0:_r.className,Qn,ja),style:Object.assign(Object.assign({},_r==null?void 0:_r.style),bn),prefixCls:hl,getPopupContainer:un||zr,generateConfig:pe,components:$i,direction:al,disabled:Ct,dropdownClassName:Te()(Ce,ja,xa||Dr),allowClear:Ou(ll,Tr,ie.createElement(nt.Z,null))})))});return xn&&(wn.displayName=xn),wn}const Ae=Se(),qe=Se("week","WeekPicker"),et=Se("month","MonthPicker"),Ot=Se("year","YearPicker"),At=Se("time","TimePicker"),cn=Se("quarter","QuarterPicker");return{DatePicker:Ae,WeekPicker:qe,MonthPicker:et,YearPicker:Ot,TimePicker:At,QuarterPicker:cn}}const ws=null;function Hs(pe){const{DatePicker:Se,WeekPicker:Ae,MonthPicker:qe,YearPicker:et,TimePicker:Ot,QuarterPicker:At}=Zs(pe),cn=Ds(pe),ln=Se;return ln.WeekPicker=Ae,ln.MonthPicker=qe,ln.YearPicker=et,ln.RangePicker=cn,ln.TimePicker=Ot,ln.QuarterPicker=At,ln}var Ls=Hs;const Su=Ls(ne);function gu(pe){const Se=os(pe.direction,pe.placement);return Se.overflow.adjustY=!1,Se.overflow.adjustX=!1,Object.assign(Object.assign({},pe),{dropdownAlign:Se})}const Yu=(0,ae.Z)(Su,"picker",null,gu);Su._InternalPanelDoNotUseOrYouWillBeFired=Yu;const bu=(0,ae.Z)(Su.RangePicker,"picker",null,gu);Su._InternalRangePanelDoNotUseOrYouWillBeFired=bu,Su.generatePicker=Ls;var Du=Su},28103:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return De}});var b=te(92310),re=te.n(b),Pe=te(59301),Fe=te(36355),be=te(17313),xe=te(83116),ue=te(37613);const Oe=fe=>{const{componentCls:oe,sizePaddingEdgeHorizontal:a,colorSplit:E,lineWidth:x,textPaddingInline:y,orientationMargin:z,verticalMarginInline:ne}=fe;return{[oe]:Object.assign(Object.assign({},(0,be.Wf)(fe)),{borderBlockStart:`${x}px solid ${E}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${E}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${fe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${fe.dividerHorizontalWithTextGutterMargin}px 0`,color:fe.colorTextHeading,fontWeight:500,fontSize:fe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${E}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${oe}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:E,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:fe.colorText,fontWeight:"normal",fontSize:fe.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:a}}})}};var je=(0,xe.Z)("Divider",fe=>{const oe=(0,ue.TS)(fe,{dividerHorizontalWithTextGutterMargin:fe.margin,dividerHorizontalGutterMargin:fe.marginLG,sizePaddingEdgeHorizontal:0});return[Oe(oe)]},fe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:fe.marginXS})),Ie=function(fe,oe){var a={};for(var E in fe)Object.prototype.hasOwnProperty.call(fe,E)&&oe.indexOf(E)<0&&(a[E]=fe[E]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,E=Object.getOwnPropertySymbols(fe);x{const{getPrefixCls:oe,direction:a,divider:E}=Pe.useContext(Fe.E_),{prefixCls:x,type:y="horizontal",orientation:z="center",orientationMargin:ne,className:ae,rootClassName:le,children:ie,dashed:de,plain:se,style:ce}=fe,me=Ie(fe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ve=oe("divider",x),[Ee,Je]=je(ve),Me=z.length>0?`-${z}`:z,Ue=!!ie,Le=z==="left"&&ne!=null,ke=z==="right"&&ne!=null,nt=re()(ve,E==null?void 0:E.className,Je,`${ve}-${y}`,{[`${ve}-with-text`]:Ue,[`${ve}-with-text${Me}`]:Ue,[`${ve}-dashed`]:!!de,[`${ve}-plain`]:!!se,[`${ve}-rtl`]:a==="rtl",[`${ve}-no-default-orientation-margin-left`]:Le,[`${ve}-no-default-orientation-margin-right`]:ke},ae,le),pt=Pe.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),dt=Object.assign(Object.assign({},Le&&{marginLeft:pt}),ke&&{marginRight:pt});return Ee(Pe.createElement("div",Object.assign({className:nt,style:Object.assign(Object.assign({},E==null?void 0:E.style),ce)},me,{role:"separator"}),ie&&y!=="vertical"&&Pe.createElement("span",{className:`${ve}-inner-text`,style:dt},ie)))}},91857:function(tt,Qe,te){"use strict";var b=te(59301),re=te(38819),Pe=te(92310),Fe=te.n(Pe),be=te(31561),xe=te(70425),ue=te(18929),Oe=te(2738),je=te(79676),Ie=te(53487),Ne=te(92343),De=te(36355),fe=te(20834),oe=te(40875),a=te(88088),E=te(47211);const x=null,y=le=>{const{menu:ie,arrow:de,prefixCls:se,children:ce,trigger:me,disabled:ve,dropdownRender:Ee,getPopupContainer:Je,overlayClassName:Me,rootClassName:Ue,open:Le,onOpenChange:ke,visible:nt,onVisibleChange:pt,mouseEnterDelay:dt=.15,mouseLeaveDelay:lt=.1,autoAdjustOverflow:Xe=!0,placement:Pt="",overlay:Ge,transitionName:Te}=le,{getPopupContainer:We,getPrefixCls:vt,direction:It}=b.useContext(De.E_),mt=b.useMemo(()=>{const ze=vt();return Te!==void 0?Te:Pt.includes("top")?`${ze}-slide-down`:`${ze}-slide-up`},[vt,Pt,Te]),Pn=b.useMemo(()=>Pt?Pt.includes("Center")?Pt.slice(0,Pt.indexOf("Center")):Pt:It==="rtl"?"bottomRight":"bottomLeft",[Pt,It]),Ze=vt("dropdown",se),[Ft,Ut]=(0,E.Z)(Ze),[,dn]=(0,a.Z)(),En=b.Children.only(ce),it=(0,Ne.Tm)(En,{className:Fe()(`${Ze}-trigger`,{[`${Ze}-rtl`]:It==="rtl"},En.props.className),disabled:ve}),ft=ve?[]:me;let _e;ft&&ft.includes("contextMenu")&&(_e=!0);const[Be,ot]=(0,ue.Z)(!1,{value:Le!=null?Le:nt}),ct=(0,xe.useEvent)(ze=>{ke==null||ke(ze),pt==null||pt(ze),ot(ze)}),Re=Fe()(Me,Ue,Ut,{[`${Ze}-rtl`]:It==="rtl"}),we=(0,je.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:Xe,offset:dn.marginXXS,arrowWidth:de?dn.sizePopupArrow:0,borderRadius:dn.borderRadius}),rt=b.useCallback(()=>{ot(!1)},[]),$e=()=>{let ze;return ie!=null&&ie.items?ze=b.createElement(fe.default,Object.assign({},ie)):typeof Ge=="function"?ze=Ge():ze=Ge,Ee&&(ze=Ee(ze)),ze=b.Children.only(typeof ze=="string"?b.createElement("span",null,ze):ze),b.createElement(oe.J,{prefixCls:`${Ze}-menu`,expandIcon:b.createElement("span",{className:`${Ze}-menu-submenu-arrow`},b.createElement(re.Z,{className:`${Ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:rt,validator:Et=>{let{mode:An}=Et}},ze)};return Ft(b.createElement(be.Z,Object.assign({alignPoint:_e},(0,Oe.Z)(le,["rootClassName"]),{mouseEnterDelay:dt,mouseLeaveDelay:lt,visible:Be,builtinPlacements:we,arrow:!!de,overlayClassName:Re,prefixCls:Ze,getPopupContainer:Je||We,transitionName:mt,trigger:ft,overlay:$e,placement:Pn,onVisibleChange:ct}),it))};function z(le){return Object.assign(Object.assign({},le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ie.Z)(y,"dropdown",le=>le,z),ae=le=>b.createElement(ne,Object.assign({},le),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=ae,Qe.Z=y},38854:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return a}});var b=te(91857),re=te(92310),Pe=te.n(re),Fe=te(59301),be=te(18785),xe=te(3113),ue=te(36355),Oe=te(81327),je=te(33234),Ie=te(47211),Ne=function(E,x){var y={};for(var z in E)Object.prototype.hasOwnProperty.call(E,z)&&x.indexOf(z)<0&&(y[z]=E[z]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(E);ne{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Fe.useContext(ue.E_),{prefixCls:ne,type:ae="default",danger:le,disabled:ie,loading:de,onClick:se,htmlType:ce,children:me,className:ve,menu:Ee,arrow:Je,autoFocus:Me,overlay:Ue,trigger:Le,align:ke,open:nt,onOpenChange:pt,placement:dt,getPopupContainer:lt,href:Xe,icon:Pt=Fe.createElement(be.Z,null),title:Ge,buttonsRender:Te=$e=>$e,mouseEnterDelay:We,mouseLeaveDelay:vt,overlayClassName:It,overlayStyle:mt,destroyPopupOnHide:Pn,dropdownRender:Ze}=E,Ft=Ne(E,["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"]),Ut=y("dropdown",ne),dn=`${Ut}-button`,[En,it]=(0,Ie.Z)(Ut),ft={menu:Ee,arrow:Je,autoFocus:Me,align:ke,disabled:ie,trigger:ie?[]:Le,onOpenChange:pt,getPopupContainer:lt||x,mouseEnterDelay:We,mouseLeaveDelay:vt,overlayClassName:It,overlayStyle:mt,destroyPopupOnHide:Pn,dropdownRender:Ze},{compactSize:_e,compactItemClassnames:Be}=(0,je.ri)(Ut,z),ot=Pe()(dn,Be,ve,it);"overlay"in E&&(ft.overlay=Ue),"open"in E&&(ft.open=nt),"placement"in E?ft.placement=dt:ft.placement=z==="rtl"?"bottomLeft":"bottomRight";const ct=Fe.createElement(xe.ZP,{type:ae,danger:le,disabled:ie,loading:de,onClick:se,htmlType:ce,href:Xe,title:Ge},me),Re=Fe.createElement(xe.ZP,{type:ae,danger:le,icon:Pt}),[we,rt]=Te([ct,Re]);return En(Fe.createElement(Oe.Z.Compact,Object.assign({className:ot,size:_e,block:!0},Ft),we,Fe.createElement(b.Z,Object.assign({},ft),rt)))};De.__ANT_BUTTON=!0;var fe=De;const oe=b.Z;oe.Button=fe;var a=oe},47211:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var b=te(17313),re=te(13826),Pe=te(92899),Fe=te(29878),be=te(19447),xe=te(83116),ue=te(37613),je=De=>{const{componentCls:fe,menuCls:oe,colorError:a,colorTextLightSolid:E}=De,x=`${oe}-item`;return{[`${fe}, ${fe}-menu-submenu`]:{[`${oe} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:E,backgroundColor:a}}}}}};const Ie=De=>{const{componentCls:fe,menuCls:oe,zIndexPopup:a,dropdownArrowDistance:E,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:ae,fontSize:le,dropdownEdgeChildPadding:ie,colorTextDisabled:de,fontSizeIcon:se,controlPaddingHorizontal:ce,colorBgElevated:me}=De;return[{[fe]:Object.assign(Object.assign({},(0,b.Wf)(De)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-E+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:se}},[`${fe}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:se},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${fe}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${fe}-placement-bottomLeft, + &${y}-slide-down-appear${y}-slide-down-appear-active${fe}-placement-bottomLeft, + &${y}-slide-down-enter${y}-slide-down-enter-active${fe}-placement-bottom, + &${y}-slide-down-appear${y}-slide-down-appear-active${fe}-placement-bottom, + &${y}-slide-down-enter${y}-slide-down-enter-active${fe}-placement-bottomRight, + &${y}-slide-down-appear${y}-slide-down-appear-active${fe}-placement-bottomRight`]:{animationName:re.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${fe}-placement-topLeft, + &${y}-slide-up-appear${y}-slide-up-appear-active${fe}-placement-topLeft, + &${y}-slide-up-enter${y}-slide-up-enter-active${fe}-placement-top, + &${y}-slide-up-appear${y}-slide-up-appear-active${fe}-placement-top, + &${y}-slide-up-enter${y}-slide-up-enter-active${fe}-placement-topRight, + &${y}-slide-up-appear${y}-slide-up-appear-active${fe}-placement-topRight`]:{animationName:re.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${fe}-placement-bottomLeft, + &${y}-slide-down-leave${y}-slide-down-leave-active${fe}-placement-bottom, + &${y}-slide-down-leave${y}-slide-down-leave-active${fe}-placement-bottomRight`]:{animationName:re.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${fe}-placement-topLeft, + &${y}-slide-up-leave${y}-slide-up-leave-active${fe}-placement-top, + &${y}-slide-up-leave${y}-slide-up-leave-active${fe}-placement-topRight`]:{animationName:re.ly}})},(0,be.ZP)(De,{colorBg:me,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${fe} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${fe}, ${fe}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:me,backgroundClip:"padding-box",borderRadius:De.borderRadiusLG,outline:"none",boxShadow:De.boxShadowSecondary},(0,b.Qy)(De)),{[`${oe}-item-group-title`]:{padding:`${ae}px ${ce}px`,color:De.colorTextDescription,transition:`all ${ne}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:le,marginInlineEnd:De.marginXS,fontSize:De.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${ce}px`,color:De.colorText,fontWeight:"normal",fontSize:le,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:De.borderRadiusSM,"&:hover, &-active":{backgroundColor:De.controlItemBgHover}},(0,b.Qy)(De)),{"&-selected":{color:De.colorPrimary,backgroundColor:De.controlItemBgActive,"&:hover, &-active":{backgroundColor:De.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:me,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${De.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:De.colorSplit},[`${fe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:De.paddingXS,[`${fe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:De.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${De.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:ce+De.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${fe}-menu-submenu-title`]:{[`&, ${fe}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:me,cursor:"not-allowed"}},[`${oe}-submenu-selected ${fe}-menu-submenu-title`]:{color:De.colorPrimary}})}},[(0,re.oN)(De,"slide-up"),(0,re.oN)(De,"slide-down"),(0,Pe.Fm)(De,"move-up"),(0,Pe.Fm)(De,"move-down"),(0,Fe._y)(De,"zoom-big")]]};var Ne=(0,xe.Z)("Dropdown",(De,fe)=>{let{rootPrefixCls:oe}=fe;const{marginXXS:a,sizePopupArrow:E,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:ne,componentCls:ae,borderRadiusLG:le}=De,ie=(x-y*z)/2,{dropdownArrowOffset:de}=(0,be.fS)({contentRadius:le}),se=(0,ue.TS)(De,{menuCls:`${ae}-menu`,rootPrefixCls:oe,dropdownArrowDistance:E/2+a,dropdownArrowOffset:de,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:ne});return[Ie(se),je(se)]},De=>({zIndexPopup:De.zIndexPopupBase+50}))},8628:function(tt,Qe,te){"use strict";var b=te(59301),re=te(34280),Pe=te(56762),Fe=te(69507);function be(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ue=(0,b.useRef)({}),Oe=(0,Pe.Z)(),je=(0,Fe.ZP)();return(0,re.Z)(()=>{const Ie=je.subscribe(Ne=>{ue.current=Ne,xe&&Oe()});return()=>je.unsubscribe(Ie)},[]),ue.current}Qe.Z=be},45818:function(tt,Qe,te){"use strict";te.d(Qe,{D:function(){return ne},Z:function(){return ie}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(se,ce){return re.createElement(be.Z,(0,b.Z)({},se,{ref:ce,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(33853),Ie=te(38819),Ne=te(92310),De=te.n(Ne),fe=te(2738),a=de=>!isNaN(parseFloat(de))&&isFinite(de),E=te(36355),x=te(84966),y=function(de,se){var ce={};for(var me in de)Object.prototype.hasOwnProperty.call(de,me)&&se.indexOf(me)<0&&(ce[me]=de[me]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,me=Object.getOwnPropertySymbols(de);ve{let de=0;return function(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${se}${de}`}})();var ie=re.forwardRef((de,se)=>{const{prefixCls:ce,className:me,trigger:ve,children:Ee,defaultCollapsed:Je=!1,theme:Me="dark",style:Ue={},collapsible:Le=!1,reverseArrow:ke=!1,width:nt=200,collapsedWidth:pt=80,zeroWidthTriggerStyle:dt,breakpoint:lt,onCollapse:Xe,onBreakpoint:Pt}=de,Ge=y(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Te}=(0,re.useContext)(x.Gs),[We,vt]=(0,re.useState)("collapsed"in de?de.collapsed:Je),[It,mt]=(0,re.useState)(!1);(0,re.useEffect)(()=>{"collapsed"in de&&vt(de.collapsed)},[de.collapsed]);const Pn=(it,ft)=>{"collapsed"in de||vt(it),Xe==null||Xe(it,ft)},Ze=(0,re.useRef)();Ze.current=it=>{mt(it.matches),Pt==null||Pt(it.matches),We!==it.matches&&Pn(it.matches,"responsive")},(0,re.useEffect)(()=>{function it(_e){return Ze.current(_e)}let ft;if(typeof window!="undefined"){const{matchMedia:_e}=window;if(_e&<&< in z){ft=_e(`(max-width: ${z[lt]})`);try{ft.addEventListener("change",it)}catch(Be){ft.addListener(it)}it(ft)}}return()=>{try{ft==null||ft.removeEventListener("change",it)}catch(_e){ft==null||ft.removeListener(it)}}},[lt]),(0,re.useEffect)(()=>{const it=ae("ant-sider-");return Te.addSider(it),()=>Te.removeSider(it)},[]);const Ft=()=>{Pn(!We,"clickTrigger")},{getPrefixCls:Ut}=(0,re.useContext)(E.E_),dn=()=>{const it=Ut("layout-sider",ce),ft=(0,fe.Z)(Ge,["collapsed"]),_e=We?pt:nt,Be=a(_e)?`${_e}px`:String(_e),ot=parseFloat(String(pt||0))===0?re.createElement("span",{onClick:Ft,className:De()(`${it}-zero-width-trigger`,`${it}-zero-width-trigger-${ke?"right":"left"}`),style:dt},ve||re.createElement(Oe,null)):null,we={expanded:ke?re.createElement(Ie.Z,null):re.createElement(je.Z,null),collapsed:ke?re.createElement(je.Z,null):re.createElement(Ie.Z,null)}[We?"collapsed":"expanded"],rt=ve!==null?ot||re.createElement("div",{className:`${it}-trigger`,onClick:Ft,style:{width:Be}},ve||we):null,$e=Object.assign(Object.assign({},Ue),{flex:`0 0 ${Be}`,maxWidth:Be,minWidth:Be,width:Be}),ze=De()(it,`${it}-${Me}`,{[`${it}-collapsed`]:!!We,[`${it}-has-trigger`]:Le&&ve!==null&&!ot,[`${it}-below`]:!!It,[`${it}-zero-width`]:parseFloat(Be)===0},me);return re.createElement("aside",Object.assign({className:ze},ft,{style:$e,ref:se}),re.createElement("div",{className:`${it}-children`},Ee),Le||It&&ot?rt:null)},En=re.useMemo(()=>({siderCollapsed:We}),[We]);return re.createElement(ne.Provider,{value:En},dn())})},84966:function(tt,Qe,te){"use strict";te.d(Qe,{VY:function(){return ne},$_:function(){return z},h4:function(){return y},Gs:function(){return fe},ZP:function(){return ae}});var b=te(94480),re=te(92310),Pe=te.n(re),Fe=te(2738),be=te(59301),xe=te(36355),ue=te(83116),je=le=>{const{componentCls:ie,bodyBg:de,lightSiderBg:se,lightTriggerBg:ce,lightTriggerColor:me}=le;return{[`${ie}-sider-light`]:{background:se,[`${ie}-sider-trigger`]:{color:me,background:ce},[`${ie}-sider-zero-width-trigger`]:{color:me,background:ce,border:`1px solid ${de}`,borderInlineStart:0}}}};const Ie=le=>{const{antCls:ie,componentCls:de,colorText:se,triggerColor:ce,footerBg:me,triggerBg:ve,headerHeight:Ee,headerPadding:Je,headerColor:Me,footerPadding:Ue,triggerHeight:Le,zeroTriggerHeight:ke,zeroTriggerWidth:nt,motionDurationMid:pt,motionDurationSlow:dt,fontSize:lt,borderRadius:Xe,bodyBg:Pt,headerBg:Ge,siderBg:Te}=le;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Pt,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:Te,transition:`all ${pt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:ce,lineHeight:`${Le}px`,textAlign:"center",background:ve,cursor:"pointer",transition:`all ${pt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ee,insetInlineEnd:-nt,zIndex:1,width:nt,height:ke,color:ce,fontSize:le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Te,borderStartStartRadius:0,borderStartEndRadius:Xe,borderEndEndRadius:Xe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${dt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${dt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-nt,borderStartStartRadius:Xe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Xe}}}}},je(le)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:Ee,padding:Je,color:Me,lineHeight:`${Ee}px`,background:Ge,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Ue,color:se,fontSize:lt,background:me},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Ne=(0,ue.Z)("Layout",le=>[Ie(le)],le=>{const{colorBgLayout:ie,controlHeight:de,controlHeightLG:se,colorText:ce,controlHeightSM:me,marginXXS:ve,colorTextLightSolid:Ee,colorBgContainer:Je}=le,Me=se*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Me}px`,headerColor:ce,footerPadding:`${me}px ${Me}px`,footerBg:ie,siderBg:"#001529",triggerHeight:se+ve*2,triggerBg:"#002140",triggerColor:Ee,zeroTriggerWidth:se,zeroTriggerHeight:se,lightSiderBg:Je,lightTriggerBg:Je,lightTriggerColor:ce}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),De=function(le,ie){var de={};for(var se in le)Object.prototype.hasOwnProperty.call(le,se)&&ie.indexOf(se)<0&&(de[se]=le[se]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,se=Object.getOwnPropertySymbols(le);cenull,removeSider:()=>null}});function oe(le){let{suffixCls:ie,tagName:de,displayName:se}=le;return ce=>be.forwardRef((ve,Ee)=>be.createElement(ce,Object.assign({ref:Ee,suffixCls:ie,tagName:de},ve)))}const a=be.forwardRef((le,ie)=>{const{prefixCls:de,suffixCls:se,className:ce,tagName:me}=le,ve=De(le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=be.useContext(xe.E_),Je=Ee("layout",de),[Me,Ue]=Ne(Je),Le=se?`${Je}-${se}`:Je;return Me(be.createElement(me,Object.assign({className:Pe()(de||Le,ce,Ue),ref:ie},ve)))}),E=be.forwardRef((le,ie)=>{const{direction:de}=be.useContext(xe.E_),[se,ce]=be.useState([]),{prefixCls:me,className:ve,rootClassName:Ee,children:Je,hasSider:Me,tagName:Ue,style:Le}=le,ke=De(le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),nt=(0,Fe.Z)(ke,["suffixCls"]),{getPrefixCls:pt,layout:dt}=be.useContext(xe.E_),lt=pt("layout",me),[Xe,Pt]=Ne(lt),Ge=Pe()(lt,{[`${lt}-has-sider`]:typeof Me=="boolean"?Me:se.length>0,[`${lt}-rtl`]:de==="rtl"},dt==null?void 0:dt.className,ve,Ee,Pt),Te=be.useMemo(()=>({siderHook:{addSider:We=>{ce(vt=>[].concat((0,b.Z)(vt),[We]))},removeSider:We=>{ce(vt=>vt.filter(It=>It!==We))}}}),[]);return Xe(be.createElement(fe.Provider,{value:Te},be.createElement(Ue,Object.assign({ref:ie,className:Ge,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),Le)},nt),Je)))}),x=oe({tagName:"div",displayName:"Layout"})(E),y=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ne=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ae=x},40875:function(tt,Qe,te){"use strict";te.d(Qe,{J:function(){return xe}});var b=te(59301),re=te(33234),Pe=te(70425),Fe=function(ue,Oe){var je={};for(var Ie in ue)Object.prototype.hasOwnProperty.call(ue,Ie)&&Oe.indexOf(Ie)<0&&(je[Ie]=ue[Ie]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ie=Object.getOwnPropertySymbols(ue);Ne{const{children:je}=ue,Ie=Fe(ue,["children"]),Ne=b.useContext(be),De=b.useMemo(()=>Object.assign(Object.assign({},Ne),Ie),[Ne,Ie.prefixCls,Ie.mode,Ie.selectable]);return b.createElement(be.Provider,{value:De},b.createElement(re.BR,null,(0,Pe.supportNodeRef)(je)?b.cloneElement(je,{ref:Oe}):je))});Qe.Z=be},20834:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return En}});var b=te(15285),re=te(59301),Pe=te(45818),Fe=te(92310),be=te.n(Fe),xe=te(36355),ue=function(it,ft){var _e={};for(var Be in it)Object.prototype.hasOwnProperty.call(it,Be)&&ft.indexOf(Be)<0&&(_e[Be]=it[Be]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Be=Object.getOwnPropertySymbols(it);ot{const{prefixCls:ft,className:_e,dashed:Be}=it,ot=ue(it,["prefixCls","className","dashed"]),{getPrefixCls:ct}=re.useContext(xe.E_),Re=ct("menu",ft),we=be()({[`${Re}-item-divider-dashed`]:!!Be},_e);return re.createElement(b.iz,Object.assign({className:we},ot))},Ie=te(11592),Ne=te(2738),De=te(6848),fe=te(92343),a=(0,re.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=it=>{var ft;const{className:_e,children:Be,icon:ot,title:ct,danger:Re}=it,{prefixCls:we,firstLevel:rt,direction:$e,disableMenuItemTitleTooltip:ze,inlineCollapsed:Et}=re.useContext(a),An=at=>{const jt=re.createElement("span",{className:`${we}-title-content`},Be);return(!ot||(0,fe.l$)(Be)&&Be.type==="span")&&Be&&at&&rt&&typeof Be=="string"?re.createElement("div",{className:`${we}-inline-collapsed-noicon`},Be.charAt(0)):jt},{siderCollapsed:en}=re.useContext(Pe.D);let _t=ct;typeof ct=="undefined"?_t=rt?Be:"":ct===!1&&(_t="");const on={title:_t};!en&&!Et&&(on.title=null,on.open=!1);const $t=(0,Ie.Z)(Be).length;let Ye=re.createElement(b.ck,Object.assign({},(0,Ne.Z)(it,["title","icon","danger"]),{className:be()({[`${we}-item-danger`]:Re,[`${we}-item-only-child`]:(ot?$t+1:$t)===1},_e),title:typeof ct=="string"?ct:void 0}),(0,fe.Tm)(ot,{className:be()((0,fe.l$)(ot)?(ft=ot.props)===null||ft===void 0?void 0:ft.className:"",`${we}-item-icon`)}),An(Et));return ze||(Ye=re.createElement(De.Z,Object.assign({},on,{placement:$e==="rtl"?"left":"right",overlayClassName:`${we}-inline-collapsed-tooltip`}),Ye)),Ye},z=it=>{var ft;const{popupClassName:_e,icon:Be,title:ot,theme:ct}=it,Re=re.useContext(a),{prefixCls:we,inlineCollapsed:rt,theme:$e}=Re,ze=(0,b.Xl)();let Et;if(!Be)Et=rt&&!ze.length&&ot&&typeof ot=="string"?re.createElement("div",{className:`${we}-inline-collapsed-noicon`},ot.charAt(0)):re.createElement("span",{className:`${we}-title-content`},ot);else{const en=(0,fe.l$)(ot)&&ot.type==="span";Et=re.createElement(re.Fragment,null,(0,fe.Tm)(Be,{className:be()((0,fe.l$)(Be)?(ft=Be.props)===null||ft===void 0?void 0:ft.className:"",`${we}-item-icon`)}),en?ot:re.createElement("span",{className:`${we}-title-content`},ot))}const An=re.useMemo(()=>Object.assign(Object.assign({},Re),{firstLevel:!1}),[Re]);return re.createElement(a.Provider,{value:An},re.createElement(b.Wd,Object.assign({},(0,Ne.Z)(it,["icon"]),{title:Et,popupClassName:be()(we,_e,`${we}-${ct||$e}`)})))},ne=te(18785),ae=te(70425),le=te(62892),ie=te(40875),de=function(it,ft){var _e={};for(var Be in it)Object.prototype.hasOwnProperty.call(it,Be)&&ft.indexOf(Be)<0&&(_e[Be]=it[Be]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Be=Object.getOwnPropertySymbols(it);ot{if(ft&&typeof ft=="object"){const Be=ft,{label:ot,children:ct,key:Re,type:we}=Be,rt=de(Be,["label","children","key","type"]),$e=Re!=null?Re:`tmp-${_e}`;return ct||we==="group"?we==="group"?re.createElement(b.BW,Object.assign({key:$e},rt,{title:ot}),se(ct)):re.createElement(z,Object.assign({key:$e},rt,{title:ot}),se(ct)):we==="divider"?re.createElement(je,Object.assign({key:$e},rt)):re.createElement(x,Object.assign({key:$e},rt),ot)}return null}).filter(ft=>ft)}function ce(it){return re.useMemo(()=>it&&se(it),[it])}var me=te(64993),ve=te(17313),Ee=te(8378),Je=te(13826),Me=te(29878),Ue=te(83116),Le=te(37613),nt=it=>{const{componentCls:ft,motionDurationSlow:_e,horizontalLineHeight:Be,colorSplit:ot,lineWidth:ct,lineType:Re,itemPaddingInline:we}=it;return{[`${ft}-horizontal`]:{lineHeight:Be,border:0,borderBottom:`${ct}px ${Re} ${ot}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ft}-item, ${ft}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:we},[`> ${ft}-item:hover, + > ${ft}-item-active, + > ${ft}-submenu ${ft}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ft}-item, ${ft}-submenu-title`]:{transition:[`border-color ${_e}`,`background ${_e}`].join(",")},[`${ft}-submenu-arrow`]:{display:"none"}}}},dt=it=>{let{componentCls:ft,menuArrowOffset:_e}=it;return{[`${ft}-rtl`]:{direction:"rtl"},[`${ft}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ft}-rtl${ft}-vertical, + ${ft}-submenu-rtl ${ft}-vertical`]:{[`${ft}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${_e})`},"&::after":{transform:`rotate(45deg) translateY(${_e})`}}}}};const lt=it=>Object.assign({},(0,ve.oN)(it));var Pt=(it,ft)=>{const{componentCls:_e,itemColor:Be,itemSelectedColor:ot,groupTitleColor:ct,itemBg:Re,subMenuItemBg:we,itemSelectedBg:rt,activeBarHeight:$e,activeBarWidth:ze,activeBarBorderWidth:Et,motionDurationSlow:An,motionEaseInOut:en,motionEaseOut:_t,itemPaddingInline:on,motionDurationMid:$t,itemHoverColor:Ye,lineType:at,colorSplit:jt,itemDisabledColor:Kt,dangerItemColor:fn,dangerItemHoverColor:Zt,dangerItemSelectedColor:Fn,dangerItemActiveBg:jn,dangerItemSelectedBg:ia,itemHoverBg:Da,itemActiveBg:gn,menuSubMenuBg:Pa,horizontalItemSelectedColor:uo,horizontalItemSelectedBg:da,horizontalItemBorderRadius:ta,horizontalItemHoverBg:Fo,popupBg:ao}=it;return{[`${_e}-${ft}, ${_e}-${ft} > ${_e}`]:{color:Be,background:Re,[`&${_e}-root:focus-visible`]:Object.assign({},lt(it)),[`${_e}-item-group-title`]:{color:ct},[`${_e}-submenu-selected`]:{[`> ${_e}-submenu-title`]:{color:ot}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{color:`${Kt} !important`},[`${_e}-item:not(${_e}-item-selected):not(${_e}-submenu-selected)`]:{[`&:hover, > ${_e}-submenu-title:hover`]:{color:Ye}},[`&:not(${_e}-horizontal)`]:{[`${_e}-item:not(${_e}-item-selected)`]:{"&:hover":{backgroundColor:Da},"&:active":{backgroundColor:gn}},[`${_e}-submenu-title`]:{"&:hover":{backgroundColor:Da},"&:active":{backgroundColor:gn}}},[`${_e}-item-danger`]:{color:fn,[`&${_e}-item:hover`]:{[`&:not(${_e}-item-selected):not(${_e}-submenu-selected)`]:{color:Zt}},[`&${_e}-item:active`]:{background:jn}},[`${_e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${_e}-item-selected`]:{color:ot,[`&${_e}-item-danger`]:{color:Fn},"a, a:hover":{color:"inherit"}},[`& ${_e}-item-selected`]:{backgroundColor:rt,[`&${_e}-item-danger`]:{backgroundColor:ia}},[`${_e}-item, ${_e}-submenu-title`]:{[`&:not(${_e}-item-disabled):focus-visible`]:Object.assign({},lt(it))},[`&${_e}-submenu > ${_e}`]:{backgroundColor:Pa},[`&${_e}-popup > ${_e}`]:{backgroundColor:ao},[`&${_e}-horizontal`]:Object.assign(Object.assign({},ft==="dark"?{borderBottom:0}:{}),{[`> ${_e}-item, > ${_e}-submenu`]:{top:Et,marginTop:-Et,marginBottom:0,borderRadius:ta,"&::after":{position:"absolute",insetInline:on,bottom:0,borderBottom:`${$e}px solid transparent`,transition:`border-color ${An} ${en}`,content:'""'},"&:hover, &-active, &-open":{background:Fo,"&::after":{borderBottomWidth:$e,borderBottomColor:uo}},"&-selected":{color:uo,backgroundColor:da,"&:hover":{backgroundColor:da},"&::after":{borderBottomWidth:$e,borderBottomColor:uo}}}}),[`&${_e}-root`]:{[`&${_e}-inline, &${_e}-vertical`]:{borderInlineEnd:`${Et}px ${at} ${jt}`}},[`&${_e}-inline`]:{[`${_e}-sub${_e}-inline`]:{background:we},[`${_e}-item, ${_e}-submenu-title`]:Et&&ze?{width:`calc(100% + ${Et}px)`}:{},[`${_e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ze}px solid ${ot}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${$t} ${_t}`,`opacity ${$t} ${_t}`].join(","),content:'""'},[`&${_e}-item-danger`]:{"&::after":{borderInlineEndColor:Fn}}},[`${_e}-selected, ${_e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${$t} ${en}`,`opacity ${$t} ${en}`].join(",")}}}}}};const Ge=it=>{const{componentCls:ft,itemHeight:_e,itemMarginInline:Be,padding:ot,menuArrowSize:ct,marginXS:Re,itemMarginBlock:we}=it,rt=ot+ct+Re;return{[`${ft}-item`]:{position:"relative",overflow:"hidden"},[`${ft}-item, ${ft}-submenu-title`]:{height:_e,lineHeight:`${_e}px`,paddingInline:ot,overflow:"hidden",textOverflow:"ellipsis",marginInline:Be,marginBlock:we,width:`calc(100% - ${Be*2}px)`},[`> ${ft}-item, + > ${ft}-submenu > ${ft}-submenu-title`]:{height:_e,lineHeight:`${_e}px`},[`${ft}-item-group-list ${ft}-submenu-title, + ${ft}-submenu-title`]:{paddingInlineEnd:rt}}};var We=it=>{const{componentCls:ft,iconCls:_e,itemHeight:Be,colorTextLightSolid:ot,dropdownWidth:ct,controlHeightLG:Re,motionDurationMid:we,motionEaseOut:rt,paddingXL:$e,itemMarginInline:ze,fontSizeLG:Et,motionDurationSlow:An,paddingXS:en,boxShadowSecondary:_t,collapsedWidth:on,collapsedIconSize:$t}=it,Ye={height:Be,lineHeight:`${Be}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ft]:{"&-inline, &-vertical":Object.assign({[`&${ft}-root`]:{boxShadow:"none"}},Ge(it))},[`${ft}-submenu-popup`]:{[`${ft}-vertical`]:Object.assign(Object.assign({},Ge(it)),{boxShadow:_t})}},{[`${ft}-submenu-popup ${ft}-vertical${ft}-sub`]:{minWidth:ct,maxHeight:`calc(100vh - ${Re*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ft}-inline`]:{width:"100%",[`&${ft}-root`]:{[`${ft}-item, ${ft}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${An}`,`background ${An}`,`padding ${we} ${rt}`].join(","),[`> ${ft}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ft}-sub${ft}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ft}-submenu > ${ft}-submenu-title`]:Ye,[`& ${ft}-item-group-title`]:{paddingInlineStart:$e}},[`${ft}-item`]:Ye}},{[`${ft}-inline-collapsed`]:{width:on,[`&${ft}-root`]:{[`${ft}-item, ${ft}-submenu ${ft}-submenu-title`]:{[`> ${ft}-inline-collapsed-noicon`]:{fontSize:Et,textAlign:"center"}}},[`> ${ft}-item, + > ${ft}-item-group > ${ft}-item-group-list > ${ft}-item, + > ${ft}-item-group > ${ft}-item-group-list > ${ft}-submenu > ${ft}-submenu-title, + > ${ft}-submenu > ${ft}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Et/2}px - ${ze}px)`,textOverflow:"clip",[` + ${ft}-submenu-arrow, + ${ft}-submenu-expand-icon + `]:{opacity:0},[`${ft}-item-icon, ${_e}`]:{margin:0,fontSize:$t,lineHeight:`${Be}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ft}-item-icon, ${_e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ft}-item-icon, ${_e}`]:{display:"none"},"a, a:hover":{color:ot}},[`${ft}-item-group-title`]:Object.assign(Object.assign({},ve.vS),{paddingInline:en})}}]};const vt=it=>{const{componentCls:ft,motionDurationSlow:_e,motionDurationMid:Be,motionEaseInOut:ot,motionEaseOut:ct,iconCls:Re,iconSize:we,iconMarginInlineEnd:rt}=it;return{[`${ft}-item, ${ft}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${_e}`,`background ${_e}`,`padding ${_e} ${ot}`].join(","),[`${ft}-item-icon, ${Re}`]:{minWidth:we,fontSize:we,transition:[`font-size ${Be} ${ct}`,`margin ${_e} ${ot}`,`color ${_e}`].join(","),"+ span":{marginInlineStart:rt,opacity:1,transition:[`opacity ${_e} ${ot}`,`margin ${_e}`,`color ${_e}`].join(",")}},[`${ft}-item-icon`]:Object.assign({},(0,ve.Ro)()),[`&${ft}-item-only-child`]:{[`> ${Re}, > ${ft}-item-icon`]:{marginInlineEnd:0}}},[`${ft}-item-disabled, ${ft}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ft}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},It=it=>{const{componentCls:ft,motionDurationSlow:_e,motionEaseInOut:Be,borderRadius:ot,menuArrowSize:ct,menuArrowOffset:Re}=it;return{[`${ft}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:it.margin,width:ct,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${_e} ${Be}, opacity ${_e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ct*.6,height:ct*.15,backgroundColor:"currentcolor",borderRadius:ot,transition:[`background ${_e} ${Be}`,`transform ${_e} ${Be}`,`top ${_e} ${Be}`,`color ${_e} ${Be}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Re})`},"&::after":{transform:`rotate(-45deg) translateY(${Re})`}}}}},mt=it=>{const{antCls:ft,componentCls:_e,fontSize:Be,motionDurationSlow:ot,motionDurationMid:ct,motionEaseInOut:Re,paddingXS:we,padding:rt,colorSplit:$e,lineWidth:ze,zIndexPopup:Et,borderRadiusLG:An,subMenuItemBorderRadius:en,menuArrowSize:_t,menuArrowOffset:on,lineType:$t,menuPanelMaskInset:Ye,groupTitleLineHeight:at,groupTitleFontSize:jt}=it;return[{"":{[`${_e}`]:Object.assign(Object.assign({},(0,ve.dF)()),{"&-hidden":{display:"none"}})},[`${_e}-submenu-hidden`]:{display:"none"}},{[_e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ve.Wf)(it)),(0,ve.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Be,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ot} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${_e}-item`]:{flex:"none"}},[`${_e}-item, ${_e}-submenu, ${_e}-submenu-title`]:{borderRadius:it.itemBorderRadius},[`${_e}-item-group-title`]:{padding:`${we}px ${rt}px`,fontSize:jt,lineHeight:at,transition:`all ${ot}`},[`&-horizontal ${_e}-submenu`]:{transition:[`border-color ${ot} ${Re}`,`background ${ot} ${Re}`].join(",")},[`${_e}-submenu, ${_e}-submenu-inline`]:{transition:[`border-color ${ot} ${Re}`,`background ${ot} ${Re}`,`padding ${ct} ${Re}`].join(",")},[`${_e}-submenu ${_e}-sub`]:{cursor:"initial",transition:[`background ${ot} ${Re}`,`padding ${ot} ${Re}`].join(",")},[`${_e}-title-content`]:{transition:`color ${ot}`},[`${_e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${_e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:$e,borderStyle:$t,borderWidth:0,borderTopWidth:ze,marginBlock:ze,padding:0,"&-dashed":{borderStyle:"dashed"}}}),vt(it)),{[`${_e}-item-group`]:{[`${_e}-item-group-list`]:{margin:0,padding:0,[`${_e}-item, ${_e}-submenu-title`]:{paddingInline:`${Be*2}px ${rt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Et,borderRadius:An,boxShadow:"none",transformOrigin:"0 0",[`&${_e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ye}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ye},"\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:it.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:it.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:it.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:it.paddingXS},[`> ${_e}`]:Object.assign(Object.assign(Object.assign({borderRadius:An},vt(it)),It(it)),{[`${_e}-item, ${_e}-submenu > ${_e}-submenu-title`]:{borderRadius:en},[`${_e}-submenu-title::after`]:{transition:`transform ${ot} ${Re}`}})}}),It(it)),{[`&-inline-collapsed ${_e}-submenu-arrow, + &-inline ${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${on})`},"&::after":{transform:`rotate(45deg) translateX(-${on})`}},[`${_e}-submenu-open${_e}-submenu-inline > ${_e}-submenu-title > ${_e}-submenu-arrow`]:{transform:`translateY(-${_t*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${on})`},"&::before":{transform:`rotate(45deg) translateX(${on})`}}})},{[`${ft}-layout-header`]:{[_e]:{lineHeight:"inherit"}}}]};var Pn=(it,ft)=>(0,Ue.Z)("Menu",Be=>{if(ft===!1)return[];const{colorBgElevated:ot,colorPrimary:ct,colorTextLightSolid:Re,controlHeightLG:we,fontSize:rt,darkItemColor:$e,darkDangerItemColor:ze,darkItemBg:Et,darkSubMenuItemBg:An,darkItemSelectedColor:en,darkItemSelectedBg:_t,darkDangerItemSelectedBg:on,darkItemHoverBg:$t,darkGroupTitleColor:Ye,darkItemHoverColor:at,darkItemDisabledColor:jt,darkDangerItemHoverColor:Kt,darkDangerItemSelectedColor:fn,darkDangerItemActiveBg:Zt}=Be,Fn=rt/7*5,jn=(0,Le.TS)(Be,{menuArrowSize:Fn,menuHorizontalHeight:we*1.15,menuArrowOffset:`${Fn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ot}),ia=(0,Le.TS)(jn,{itemColor:$e,itemHoverColor:at,groupTitleColor:Ye,itemSelectedColor:en,itemBg:Et,popupBg:Et,subMenuItemBg:An,itemActiveBg:"transparent",itemSelectedBg:_t,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:$t,itemDisabledColor:jt,dangerItemColor:ze,dangerItemHoverColor:Kt,dangerItemSelectedColor:fn,dangerItemActiveBg:Zt,dangerItemSelectedBg:on,menuSubMenuBg:An,horizontalItemSelectedColor:Re,horizontalItemSelectedBg:ct});return[mt(jn),nt(jn),We(jn),Pt(jn,"light"),Pt(ia,"dark"),dt(jn),(0,Ee.Z)(jn),(0,Je.oN)(jn,"slide-up"),(0,Je.oN)(jn,"slide-down"),(0,Me._y)(jn,"zoom-big")]},Be=>{const{colorPrimary:ot,colorError:ct,colorTextDisabled:Re,colorErrorBg:we,colorText:rt,colorTextDescription:$e,colorBgContainer:ze,colorFillAlter:Et,colorFillContent:An,lineWidth:en,lineWidthBold:_t,controlItemBgActive:on,colorBgTextHover:$t,controlHeightLG:Ye,lineHeight:at,colorBgElevated:jt,marginXXS:Kt,padding:fn,fontSize:Zt,controlHeightSM:Fn,fontSizeLG:jn,colorTextLightSolid:ia,colorErrorHover:Da}=Be,gn=new me.C(ia).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Be.zIndexPopupBase+50,radiusItem:Be.borderRadiusLG,itemBorderRadius:Be.borderRadiusLG,radiusSubMenuItem:Be.borderRadiusSM,subMenuItemBorderRadius:Be.borderRadiusSM,colorItemText:rt,itemColor:rt,colorItemTextHover:rt,itemHoverColor:rt,colorItemTextHoverHorizontal:ot,horizontalItemHoverColor:ot,colorGroupTitle:$e,groupTitleColor:$e,colorItemTextSelected:ot,itemSelectedColor:ot,colorItemTextSelectedHorizontal:ot,horizontalItemSelectedColor:ot,colorItemBg:ze,itemBg:ze,colorItemBgHover:$t,itemHoverBg:$t,colorItemBgActive:An,itemActiveBg:on,colorSubItemBg:Et,subMenuItemBg:Et,colorItemBgSelected:on,itemSelectedBg:on,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:_t,activeBarHeight:_t,colorActiveBarBorderSize:en,activeBarBorderWidth:en,colorItemTextDisabled:Re,itemDisabledColor:Re,colorDangerItemText:ct,dangerItemColor:ct,colorDangerItemTextHover:ct,dangerItemHoverColor:ct,colorDangerItemTextSelected:ct,dangerItemSelectedColor:ct,colorDangerItemBgActive:we,dangerItemActiveBg:we,colorDangerItemBgSelected:we,dangerItemSelectedBg:we,itemMarginInline:Be.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ye,groupTitleLineHeight:at,collapsedWidth:Ye*2,popupBg:jt,itemMarginBlock:Kt,itemPaddingInline:fn,horizontalLineHeight:`${Ye*1.15}px`,iconSize:Zt,iconMarginInlineEnd:Fn-Zt,collapsedIconSize:jn,groupTitleFontSize:Zt,darkItemDisabledColor:new me.C(ia).setAlpha(.25).toRgbString(),darkItemColor:gn,darkDangerItemColor:ct,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ia,darkItemSelectedBg:ot,darkDangerItemSelectedBg:ct,darkItemHoverBg:"transparent",darkGroupTitleColor:gn,darkItemHoverColor:ia,darkDangerItemHoverColor:Da,darkDangerItemSelectedColor:ia,darkDangerItemActiveBg:ct}},{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"]]})(it),Ze=function(it,ft){var _e={};for(var Be in it)Object.prototype.hasOwnProperty.call(it,Be)&&ft.indexOf(Be)<0&&(_e[Be]=it[Be]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Be=Object.getOwnPropertySymbols(it);ot{var _e,Be;const ot=re.useContext(ie.Z),ct=ot||{},{getPrefixCls:Re,getPopupContainer:we,direction:rt,menu:$e}=re.useContext(xe.E_),ze=Re(),{prefixCls:Et,className:An,style:en,theme:_t="light",expandIcon:on,_internalDisableMenuItemTitleTooltip:$t,inlineCollapsed:Ye,siderCollapsed:at,items:jt,children:Kt,rootClassName:fn,mode:Zt,selectable:Fn,onClick:jn,overflowedIndicatorPopupClassName:ia}=it,Da=Ze(it,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),gn=(0,Ne.Z)(Da,["collapsedWidth"]),Pa=ce(jt)||Kt;(_e=ct.validator)===null||_e===void 0||_e.call(ct,{mode:Zt});const uo=(0,ae.useEvent)(function(){var xo;jn==null||jn.apply(void 0,arguments),(xo=ct.onClick)===null||xo===void 0||xo.call(ct)}),da=ct.mode||Zt,ta=Fn!=null?Fn:ct.selectable,Fo=re.useMemo(()=>at!==void 0?at:Ye,[Ye,at]),ao={horizontal:{motionName:`${ze}-slide-up`},inline:(0,le.Z)(ze),other:{motionName:`${ze}-zoom-big`}},Qt=Re("menu",Et||ct.prefixCls),[On,ra]=Pn(Qt,!ot),Sa=be()(`${Qt}-${_t}`,$e==null?void 0:$e.className,An);let $n;if(typeof on=="function")$n=on;else if(on===null||on===!1)$n=null;else if(ct.expandIcon===null||ct.expandIcon===!1)$n=null;else{const xo=on!=null?on:ct.expandIcon;$n=(0,fe.Tm)(xo,{className:be()(`${Qt}-submenu-expand-icon`,(0,fe.l$)(xo)?(Be=xo.props)===null||Be===void 0?void 0:Be.className:"")})}const Za=re.useMemo(()=>({prefixCls:Qt,inlineCollapsed:Fo||!1,direction:rt,firstLevel:!0,theme:_t,mode:da,disableMenuItemTitleTooltip:$t}),[Qt,Fo,rt,$t,_t]);return On(re.createElement(ie.Z.Provider,{value:null},re.createElement(a.Provider,{value:Za},re.createElement(b.ZP,Object.assign({getPopupContainer:we,overflowedIndicator:re.createElement(ne.Z,null),overflowedIndicatorPopupClassName:be()(Qt,`${Qt}-${_t}`,ia),mode:da,selectable:ta,onClick:uo},gn,{inlineCollapsed:Fo,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),en),className:Sa,prefixCls:Qt,direction:rt,defaultMotions:ao,expandIcon:$n,ref:ft,rootClassName:be()(fn,ra)}),Pa))))});const dn=(0,re.forwardRef)((it,ft)=>{const _e=(0,re.useRef)(null),Be=re.useContext(Pe.D);return(0,re.useImperativeHandle)(ft,()=>({menu:_e.current,focus:ot=>{var ct;(ct=_e.current)===null||ct===void 0||ct.focus(ot)}})),re.createElement(Ut,Object.assign({ref:_e},it,Be))});dn.Item=x,dn.SubMenu=z,dn.Divider=je,dn.ItemGroup=b.BW;var En=dn},58421:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return ct}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(we,rt){return re.createElement(be.Z,(0,b.Z)({},we,{ref:rt,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(49198),Ie=te(33853),Ne=te(38819),De=te(92310),fe=te.n(De),oe=te(20068),a=te(33885),E=te(67732),x=te(83652),y=te(42403),z=te(158),ne=te(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},le=ae,ie=te(91735),de=function(Re){(0,y.Z)(rt,Re);var we=(0,z.Z)(rt);function rt(){var $e;(0,E.Z)(this,rt);for(var ze=arguments.length,Et=new Array(ze),An=0;An=0||en.relatedTarget.className.indexOf("".concat(Ye,"-item"))>=0))&&$t($e.getValidValue()))},$e.go=function(en){var _t=$e.state.goInputText;_t!==""&&(en.keyCode===le.ENTER||en.type==="click")&&($e.setState({goInputText:""}),$e.props.quickGo($e.getValidValue()))},$e}return(0,x.Z)(rt,[{key:"getPageSizeOptions",value:function(){var ze=this.props,Et=ze.pageSize,An=ze.pageSizeOptions;return An.some(function(en){return en.toString()===Et.toString()})?An:An.concat([Et.toString()]).sort(function(en,_t){var on=Number.isNaN(Number(en))?0:Number(en),$t=Number.isNaN(Number(_t))?0:Number(_t);return on-$t})}},{key:"render",value:function(){var ze=this,Et=this.props,An=Et.pageSize,en=Et.locale,_t=Et.rootPrefixCls,on=Et.changeSize,$t=Et.quickGo,Ye=Et.goButton,at=Et.selectComponentClass,jt=Et.buildOptionText,Kt=Et.selectPrefixCls,fn=Et.disabled,Zt=this.state.goInputText,Fn="".concat(_t,"-options"),jn=at,ia=null,Da=null,gn=null;if(!on&&!$t)return null;var Pa=this.getPageSizeOptions();if(on&&jn){var uo=Pa.map(function(da,ta){return re.createElement(jn.Option,{key:ta,value:da.toString()},(jt||ze.buildOptionText)(da))});ia=re.createElement(jn,{disabled:fn,prefixCls:Kt,showSearch:!1,className:"".concat(Fn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(An||Pa[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ta){return ta.parentNode},"aria-label":en.page_size,defaultOpen:!1},uo)}return $t&&(Ye&&(gn=typeof Ye=="boolean"?re.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:fn,className:"".concat(Fn,"-quick-jumper-button")},en.jump_to_confirm):re.createElement("span",{onClick:this.go,onKeyUp:this.go},Ye)),Da=re.createElement("div",{className:"".concat(Fn,"-quick-jumper")},en.jump_to,re.createElement("input",{disabled:fn,type:"text",value:Zt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":en.page}),en.page,gn)),re.createElement("li",{className:"".concat(Fn)},ia,Da)}}]),rt}(re.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var se=de,ce=function(we){var rt,$e=we.rootPrefixCls,ze=we.page,Et=we.active,An=we.className,en=we.showTitle,_t=we.onClick,on=we.onKeyPress,$t=we.itemRender,Ye="".concat($e,"-item"),at=fe()(Ye,"".concat(Ye,"-").concat(ze),(rt={},(0,oe.Z)(rt,"".concat(Ye,"-active"),Et),(0,oe.Z)(rt,"".concat(Ye,"-disabled"),!ze),(0,oe.Z)(rt,we.className,An),rt)),jt=function(){_t(ze)},Kt=function(Fn){on(Fn,_t,ze)},fn=$t(ze,"page",re.createElement("a",{rel:"nofollow"},ze));return fn?re.createElement("li",{title:en?ze.toString():null,className:at,onClick:jt,onKeyPress:Kt,tabIndex:0},fn):null},me=ce;function ve(){}function Ee(Re){var we=Number(Re);return typeof we=="number"&&!Number.isNaN(we)&&isFinite(we)&&Math.floor(we)===we}var Je=function(we,rt,$e){return $e};function Me(Re,we,rt){var $e=typeof Re=="undefined"?we.pageSize:Re;return Math.floor((rt.total-1)/$e)+1}var Ue=function(Re){(0,y.Z)(rt,Re);var we=(0,z.Z)(rt);function rt($e){var ze;(0,E.Z)(this,rt),ze=we.call(this,$e),ze.paginationNode=re.createRef(),ze.getJumpPrevPage=function(){return Math.max(1,ze.state.current-(ze.props.showLessItems?3:5))},ze.getJumpNextPage=function(){return Math.min(Me(void 0,ze.state,ze.props),ze.state.current+(ze.props.showLessItems?3:5))},ze.getItemIcon=function(on,$t){var Ye=ze.props.prefixCls,at=on||re.createElement("button",{type:"button","aria-label":$t,className:"".concat(Ye,"-item-link")});return typeof on=="function"&&(at=re.createElement(on,(0,a.Z)({},ze.props))),at},ze.isValid=function(on){var $t=ze.props.total;return Ee(on)&&on!==ze.state.current&&Ee($t)&&$t>0},ze.shouldDisplayQuickJumper=function(){var on=ze.props,$t=on.showQuickJumper,Ye=on.total,at=ze.state.pageSize;return Ye<=at?!1:$t},ze.handleKeyDown=function(on){(on.keyCode===le.ARROW_UP||on.keyCode===le.ARROW_DOWN)&&on.preventDefault()},ze.handleKeyUp=function(on){var $t=ze.getValidValue(on),Ye=ze.state.currentInputValue;$t!==Ye&&ze.setState({currentInputValue:$t}),on.keyCode===le.ENTER?ze.handleChange($t):on.keyCode===le.ARROW_UP?ze.handleChange($t-1):on.keyCode===le.ARROW_DOWN&&ze.handleChange($t+1)},ze.handleBlur=function(on){var $t=ze.getValidValue(on);ze.handleChange($t)},ze.changePageSize=function(on){var $t=ze.state.current,Ye=Me(on,ze.state,ze.props);$t=$t>Ye?Ye:$t,Ye===0&&($t=ze.state.current),typeof on=="number"&&("pageSize"in ze.props||ze.setState({pageSize:on}),"current"in ze.props||ze.setState({current:$t,currentInputValue:$t})),ze.props.onShowSizeChange($t,on),"onChange"in ze.props&&ze.props.onChange&&ze.props.onChange($t,on)},ze.handleChange=function(on){var $t=ze.props,Ye=$t.disabled,at=$t.onChange,jt=ze.state,Kt=jt.pageSize,fn=jt.current,Zt=jt.currentInputValue;if(ze.isValid(on)&&!Ye){var Fn=Me(void 0,ze.state,ze.props),jn=on;return on>Fn?jn=Fn:on<1&&(jn=1),"current"in ze.props||ze.setState({current:jn}),jn!==Zt&&ze.setState({currentInputValue:jn}),at(jn,Kt),jn}return fn},ze.prev=function(){ze.hasPrev()&&ze.handleChange(ze.state.current-1)},ze.next=function(){ze.hasNext()&&ze.handleChange(ze.state.current+1)},ze.jumpPrev=function(){ze.handleChange(ze.getJumpPrevPage())},ze.jumpNext=function(){ze.handleChange(ze.getJumpNextPage())},ze.hasPrev=function(){return ze.state.current>1},ze.hasNext=function(){return ze.state.current2?Ye-2:0),jt=2;jt=An?_t=An:_t=Number(Et),_t}},{key:"getShowSizeChanger",value:function(){var ze=this.props,Et=ze.showSizeChanger,An=ze.total,en=ze.totalBoundaryShowSizeChanger;return typeof Et!="undefined"?Et:An>en}},{key:"render",value:function(){var ze=this.props,Et=ze.prefixCls,An=ze.className,en=ze.style,_t=ze.disabled,on=ze.hideOnSinglePage,$t=ze.total,Ye=ze.locale,at=ze.showQuickJumper,jt=ze.showLessItems,Kt=ze.showTitle,fn=ze.showTotal,Zt=ze.simple,Fn=ze.itemRender,jn=ze.showPrevNextJumpers,ia=ze.jumpPrevIcon,Da=ze.jumpNextIcon,gn=ze.selectComponentClass,Pa=ze.selectPrefixCls,uo=ze.pageSizeOptions,da=this.state,ta=da.current,Fo=da.pageSize,ao=da.currentInputValue;if(on===!0&&$t<=Fo)return null;var Qt=Me(void 0,this.state,this.props),On=[],ra=null,Sa=null,$n=null,Za=null,xo=null,br=at&&at.goButton,Or=jt?1:2,Ia=ta-1>0?ta-1:0,xt=ta+1$t?$t:ta*Fo]));if(Zt){br&&(typeof br=="boolean"?xo=re.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ye.jump_to_confirm):xo=re.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},br),xo=re.createElement("li",{title:Kt?"".concat(Ye.jump_to).concat(ta,"/").concat(Qt):null,className:"".concat(Et,"-simple-pager")},xo));var In=this.renderPrev(Ia);return re.createElement("ul",(0,b.Z)({className:fe()(Et,"".concat(Et,"-simple"),(0,oe.Z)({},"".concat(Et,"-disabled"),_t),An),style:en,ref:this.paginationNode},Tt),wt,In?re.createElement("li",{title:Kt?Ye.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:fe()("".concat(Et,"-prev"),(0,oe.Z)({},"".concat(Et,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},In):null,re.createElement("li",{title:Kt?"".concat(ta,"/").concat(Qt):null,className:"".concat(Et,"-simple-pager")},re.createElement("input",{type:"text",value:ao,disabled:_t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),re.createElement("span",{className:"".concat(Et,"-slash")},"/"),Qt),re.createElement("li",{title:Kt?Ye.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:fe()("".concat(Et,"-next"),(0,oe.Z)({},"".concat(Et,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(xt)),xo)}if(Qt<=3+Or*2){var na={locale:Ye,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Kt,itemRender:Fn};Qt||On.push(re.createElement(me,(0,b.Z)({},na,{key:"noPager",page:1,className:"".concat(Et,"-item-disabled")})));for(var Hn=1;Hn<=Qt;Hn+=1){var nr=ta===Hn;On.push(re.createElement(me,(0,b.Z)({},na,{key:Hn,page:Hn,active:nr})))}}else{var Oa=jt?Ye.prev_3:Ye.prev_5,oo=jt?Ye.next_3:Ye.next_5,Ar=Fn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ia,"prev page")),to=Fn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Da,"next page"));jn&&(ra=Ar?re.createElement("li",{title:Kt?Oa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:fe()("".concat(Et,"-jump-prev"),(0,oe.Z)({},"".concat(Et,"-jump-prev-custom-icon"),!!ia))},Ar):null,Sa=to?re.createElement("li",{title:Kt?oo:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:fe()("".concat(Et,"-jump-next"),(0,oe.Z)({},"".concat(Et,"-jump-next-custom-icon"),!!Da))},to):null),Za=re.createElement(me,{locale:Ye,last:!0,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Qt,page:Qt,active:!1,showTitle:Kt,itemRender:Fn}),$n=re.createElement(me,{locale:Ye,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Kt,itemRender:Fn});var kn=Math.max(1,ta-Or),dr=Math.min(ta+Or,Qt);ta-1<=Or&&(dr=1+Or*2),Qt-ta<=Or&&(kn=Qt-Or*2);for(var Wr=kn;Wr<=dr;Wr+=1){var xr=ta===Wr;On.push(re.createElement(me,{locale:Ye,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Wr,page:Wr,active:xr,showTitle:Kt,itemRender:Fn}))}ta-1>=Or*2&&ta!==3&&(On[0]=(0,re.cloneElement)(On[0],{className:"".concat(Et,"-item-after-jump-prev")}),On.unshift(ra)),Qt-ta>=Or*2&&ta!==Qt-2&&(On[On.length-1]=(0,re.cloneElement)(On[On.length-1],{className:"".concat(Et,"-item-before-jump-next")}),On.push(Sa)),kn!==1&&On.unshift($n),dr!==Qt&&On.push(Za)}var Vo=!this.hasPrev()||!Qt,St=!this.hasNext()||!Qt,pn=this.renderPrev(Ia),vn=this.renderNext(xt);return re.createElement("ul",(0,b.Z)({className:fe()(Et,An,(0,oe.Z)({},"".concat(Et,"-disabled"),_t)),style:en,ref:this.paginationNode},Tt),wt,pn?re.createElement("li",{title:Kt?Ye.prev_page:null,onClick:this.prev,tabIndex:Vo?null:0,onKeyPress:this.runIfEnterPrev,className:fe()("".concat(Et,"-prev"),(0,oe.Z)({},"".concat(Et,"-disabled"),Vo)),"aria-disabled":Vo},pn):null,On,vn?re.createElement("li",{title:Kt?Ye.next_page:null,onClick:this.next,tabIndex:St?null:0,onKeyPress:this.runIfEnterNext,className:fe()("".concat(Et,"-next"),(0,oe.Z)({},"".concat(Et,"-disabled"),St)),"aria-disabled":St},vn):null,re.createElement(se,{disabled:_t,locale:Ye,rootPrefixCls:Et,selectComponentClass:gn,selectPrefixCls:Pa,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ta,pageSize:Fo,pageSizeOptions:uo,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:br}))}}],[{key:"getDerivedStateFromProps",value:function(ze,Et){var An={};if("current"in ze&&(An.current=ze.current,ze.current!==Et.current&&(An.currentInputValue=An.current)),"pageSize"in ze&&ze.pageSize!==Et.pageSize){var en=Et.current,_t=Me(ze.pageSize,Et,ze);en=en>_t?_t:en,"current"in ze||(An.current=en,An.currentInputValue=en),An.pageSize=ze.pageSize}return An}}]),rt}(re.Component);Ue.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ve,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ve,locale:ie.Z,style:{},itemRender:Je,totalBoundaryShowSizeChanger:50};var Le=Ue,ke=te(22075),nt=te(36355),pt=te(19716),dt=te(8628),lt=te(9763),Xe=te(57809);const Pt=Re=>re.createElement(Xe.default,Object.assign({},Re,{showSearch:!0,size:"small"})),Ge=Re=>re.createElement(Xe.default,Object.assign({},Re,{showSearch:!0,size:"middle"}));Pt.Option=Xe.default.Option,Ge.Option=Xe.default.Option;var Te=te(9937),We=te(17313),vt=te(83116),It=te(37613);const mt=Re=>{const{componentCls:we}=Re;return{[`${we}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${we}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${we}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}}},[`&${we}-disabled`]:{cursor:"not-allowed",[`${we}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Re.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Re.colorBorder,backgroundColor:Re.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Re.itemActiveBgDisabled},a:{color:Re.itemActiveColorDisabled}}},[`${we}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${we}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${we}-simple-pager`]:{color:Re.colorTextDisabled},[`${we}-jump-prev, ${we}-jump-next`]:{[`${we}-item-link-icon`]:{opacity:0},[`${we}-item-ellipsis`]:{opacity:1}}},[`&${we}-simple`]:{[`${we}-prev, ${we}-next`]:{[`&${we}-disabled ${we}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Pn=Re=>{const{componentCls:we}=Re;return{[`&${we}-mini ${we}-total-text, &${we}-mini ${we}-simple-pager`]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`},[`&${we}-mini ${we}-item`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM-2}px`},[`&${we}-mini:not(${we}-disabled) ${we}-item:not(${we}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},[`&${we}-mini ${we}-prev, &${we}-mini ${we}-next`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM}px`},[`&${we}-mini:not(${we}-disabled)`]:{[`${we}-prev, ${we}-next`]:{[`&:hover ${we}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${we}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${we}-disabled:hover ${we}-item-link`]:{backgroundColor:"transparent"}}},[` + &${we}-mini ${we}-prev ${we}-item-link, + &${we}-mini ${we}-next ${we}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}},[`&${we}-mini ${we}-jump-prev, &${we}-mini ${we}-jump-next`]:{height:Re.itemSizeSM,marginInlineEnd:0,lineHeight:`${Re.itemSizeSM}px`},[`&${we}-mini ${we}-options`]:{marginInlineStart:Re.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Re.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Te.x0)(Re)),{width:Re.paginationMiniQuickJumperInputWidth,height:Re.controlHeightSM})}}}},Ze=Re=>{const{componentCls:we}=Re;return{[` + &${we}-simple ${we}-prev, + &${we}-simple ${we}-next + `]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,verticalAlign:"top",[`${we}-item-link`]:{height:Re.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive},"&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}}},[`&${we}-simple ${we}-simple-pager`]:{display:"inline-block",height:Re.itemSizeSM,marginInlineEnd:Re.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Re.marginXS,padding:`0 ${Re.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Re.itemInputBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadius,outline:"none",transition:`border-color ${Re.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Re.colorPrimary},"&:focus":{borderColor:Re.colorPrimaryHover,boxShadow:`${Re.inputOutlineOffset}px 0 ${Re.controlOutlineWidth}px ${Re.controlOutline}`},"&[disabled]":{color:Re.colorTextDisabled,backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,cursor:"not-allowed"}}}}},Ft=Re=>{const{componentCls:we}=Re;return{[`${we}-jump-prev, ${we}-jump-next`]:{outline:0,[`${we}-item-container`]:{position:"relative",[`${we}-item-link-icon`]:{color:Re.colorPrimary,fontSize:Re.fontSizeSM,opacity:0,transition:`all ${Re.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${we}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Re.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Re.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Re.paginationEllipsisTextIndent,opacity:1,transition:`all ${Re.motionDurationMid}`}},"&:hover":{[`${we}-item-link-icon`]:{opacity:1},[`${we}-item-ellipsis`]:{opacity:0}}},[` + ${we}-prev, + ${we}-jump-prev, + ${we}-jump-next + `]:{marginInlineEnd:Re.marginXS},[` + ${we}-prev, + ${we}-next, + ${we}-jump-prev, + ${we}-jump-next + `]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,color:Re.colorText,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Re.borderRadius,cursor:"pointer",transition:`all ${Re.motionDurationMid}`},[`${we}-prev, ${we}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Re.colorText,cursor:"pointer",userSelect:"none"},[`${we}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Re.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:"none",transition:`all ${Re.motionDurationMid}`},[`&:hover ${we}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${we}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${we}-disabled:hover`]:{[`${we}-item-link`]:{backgroundColor:"transparent"}}},[`${we}-slash`]:{marginInlineEnd:Re.paginationSlashMarginInlineEnd,marginInlineStart:Re.paginationSlashMarginInlineStart},[`${we}-options`]:{display:"inline-block",marginInlineStart:Re.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Re.controlHeight,marginInlineStart:Re.marginXS,lineHeight:`${Re.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Te.ik)(Re)),{width:Re.controlHeightLG*1.25,height:Re.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Re.marginXS,marginInlineEnd:Re.marginXS})}}}},Ut=Re=>{const{componentCls:we}=Re;return{[`${we}-item`]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,marginInlineEnd:Re.marginXS,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Re.paginationItemPaddingInline}px`,color:Re.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${we}-item-active)`]:{"&:hover":{transition:`all ${Re.motionDurationMid}`,backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},"&-active":{fontWeight:Re.fontWeightStrong,backgroundColor:Re.itemActiveBg,borderColor:Re.colorPrimary,a:{color:Re.colorPrimary},"&:hover":{borderColor:Re.colorPrimaryHover},"&:hover a":{color:Re.colorPrimaryHover}}}}},dn=Re=>{const{componentCls:we}=Re;return{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,We.Wf)(Re)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${we}-total-text`]:{display:"inline-block",height:Re.itemSize,marginInlineEnd:Re.marginXS,lineHeight:`${Re.itemSize-2}px`,verticalAlign:"middle"}}),Ut(Re)),Ft(Re)),Ze(Re)),Pn(Re)),mt(Re)),{[`@media only screen and (max-width: ${Re.screenLG}px)`]:{[`${we}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Re.screenSM}px)`]:{[`${we}-options`]:{display:"none"}}}),[`&${Re.componentCls}-rtl`]:{direction:"rtl"}}},En=Re=>{const{componentCls:we}=Re;return{[`${we}${we}-disabled:not(${we}-mini)`]:{"&, &:hover":{[`${we}-item-link`]:{borderColor:Re.colorBorder}},"&:focus-visible":{[`${we}-item-link`]:{borderColor:Re.colorBorder}},[`${we}-item, ${we}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,[`&:hover:not(${we}-item-active)`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,a:{color:Re.colorTextDisabled}},[`&${we}-item-active`]:{backgroundColor:Re.itemActiveBgDisabled}},[`${we}-prev, ${we}-next`]:{"&:hover button":{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,color:Re.colorTextDisabled},[`${we}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder}}},[`${we}:not(${we}-mini)`]:{[`${we}-prev, ${we}-next`]:{"&:hover button":{borderColor:Re.colorPrimaryHover,backgroundColor:Re.itemBg},[`${we}-item-link`]:{backgroundColor:Re.itemLinkBg,borderColor:Re.colorBorder},[`&:hover ${we}-item-link`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,color:Re.colorPrimary},[`&${we}-disabled`]:{[`${we}-item-link`]:{borderColor:Re.colorBorder,color:Re.colorTextDisabled}}},[`${we}-item`]:{backgroundColor:Re.itemBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,[`&:hover:not(${we}-item-active)`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,a:{color:Re.colorPrimary}},"&-active":{borderColor:Re.colorPrimary}}}}},it=Re=>{const{componentCls:we}=Re;return{[`${we}:not(${we}-disabled)`]:{[`${we}-item`]:Object.assign({},(0,We.Qy)(Re)),[`${we}-jump-prev, ${we}-jump-next`]:{"&:focus-visible":Object.assign({[`${we}-item-link-icon`]:{opacity:1},[`${we}-item-ellipsis`]:{opacity:0}},(0,We.oN)(Re))},[`${we}-prev, ${we}-next`]:{[`&:focus-visible ${we}-item-link`]:Object.assign({},(0,We.oN)(Re))}}}};var ft=(0,vt.Z)("Pagination",Re=>{const we=(0,It.TS)(Re,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Re.marginXXS/2,paginationMiniQuickJumperInputWidth:Re.controlHeightLG*1.1,paginationItemPaddingInline:Re.marginXXS*1.5,paginationEllipsisLetterSpacing:Re.marginXXS/2,paginationSlashMarginInlineStart:Re.marginXXS,paginationSlashMarginInlineEnd:Re.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Te.e5)(Re),(0,Te.TM)(Re));return[dn(we),it(we),Re.wireframe&&En(we)]},Re=>({itemBg:Re.colorBgContainer,itemSize:Re.controlHeight,itemSizeSM:Re.controlHeightSM,itemActiveBg:Re.colorBgContainer,itemLinkBg:Re.colorBgContainer,itemActiveColorDisabled:Re.colorTextDisabled,itemActiveBgDisabled:Re.controlItemBgActiveDisabled,itemInputBg:Re.colorBgContainer,miniOptionsSizeChangerTop:0})),_e=function(Re,we){var rt={};for(var $e in Re)Object.prototype.hasOwnProperty.call(Re,$e)&&we.indexOf($e)<0&&(rt[$e]=Re[$e]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,$e=Object.getOwnPropertySymbols(Re);ze<$e.length;ze++)we.indexOf($e[ze])<0&&Object.prototype.propertyIsEnumerable.call(Re,$e[ze])&&(rt[$e[ze]]=Re[$e[ze]]);return rt},ot=Re=>{const{prefixCls:we,selectPrefixCls:rt,className:$e,rootClassName:ze,style:Et,size:An,locale:en,selectComponentClass:_t,responsive:on,showSizeChanger:$t}=Re,Ye=_e(Re,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:at}=(0,dt.Z)(on),{getPrefixCls:jt,direction:Kt,pagination:fn={}}=re.useContext(nt.E_),Zt=jt("pagination",we),[Fn,jn]=ft(Zt),ia=$t!=null?$t:fn.showSizeChanger,Da=re.useMemo(()=>{const Qt=re.createElement("span",{className:`${Zt}-item-ellipsis`},"\u2022\u2022\u2022"),On=re.createElement("button",{className:`${Zt}-item-link`,type:"button",tabIndex:-1},Kt==="rtl"?re.createElement(Ne.Z,null):re.createElement(Ie.Z,null)),ra=re.createElement("button",{className:`${Zt}-item-link`,type:"button",tabIndex:-1},Kt==="rtl"?re.createElement(Ie.Z,null):re.createElement(Ne.Z,null)),Sa=re.createElement("a",{className:`${Zt}-item-link`},re.createElement("div",{className:`${Zt}-item-container`},Kt==="rtl"?re.createElement(je.Z,{className:`${Zt}-item-link-icon`}):re.createElement(Oe,{className:`${Zt}-item-link-icon`}),Qt)),$n=re.createElement("a",{className:`${Zt}-item-link`},re.createElement("div",{className:`${Zt}-item-container`},Kt==="rtl"?re.createElement(Oe,{className:`${Zt}-item-link-icon`}):re.createElement(je.Z,{className:`${Zt}-item-link-icon`}),Qt));return{prevIcon:On,nextIcon:ra,jumpPrevIcon:Sa,jumpNextIcon:$n}},[Kt,Zt]),[gn]=(0,lt.Z)("Pagination",ke.Z),Pa=Object.assign(Object.assign({},gn),en),uo=(0,pt.Z)(An),da=uo==="small"||!!(at&&!uo&&on),ta=jt("select",rt),Fo=fe()({[`${Zt}-mini`]:da,[`${Zt}-rtl`]:Kt==="rtl"},fn==null?void 0:fn.className,$e,ze,jn),ao=Object.assign(Object.assign({},fn==null?void 0:fn.style),Et);return Fn(re.createElement(Le,Object.assign({},Da,Ye,{style:ao,prefixCls:Zt,selectPrefixCls:ta,className:Fo,selectComponentClass:_t||(da?Pt:Ge),locale:Pa,showSizeChanger:ia})))},ct=ot},39722:function(tt,Qe,te){"use strict";te.d(Qe,{t5:function(){return Ie}});var b=te(92310),re=te.n(b),Pe=te(55477),Fe=te(59301),be=te(36355),xe=te(77578),ue=te(17356),Oe=function(De,fe){var oe={};for(var a in De)Object.prototype.hasOwnProperty.call(De,a)&&fe.indexOf(a)<0&&(oe[a]=De[a]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(De);E{if(!(!fe&&!oe))return Fe.createElement(Fe.Fragment,null,fe&&Fe.createElement("div",{className:`${De}-title`},(0,xe.Z)(fe)),Fe.createElement("div",{className:`${De}-inner-content`},(0,xe.Z)(oe)))},Ie=De=>{const{hashId:fe,prefixCls:oe,className:a,style:E,placement:x="top",title:y,content:z,children:ne}=De;return Fe.createElement("div",{className:re()(fe,oe,`${oe}-pure`,`${oe}-placement-${x}`,a),style:E},Fe.createElement("div",{className:`${oe}-arrow`}),Fe.createElement(Pe.G,Object.assign({},De,{className:fe,prefixCls:oe}),ne||je(oe,y,z)))},Ne=De=>{const{prefixCls:fe}=De,oe=Oe(De,["prefixCls"]),{getPrefixCls:a}=Fe.useContext(be.E_),E=a("popover",fe),[x,y]=(0,ue.Z)(E);return x(Fe.createElement(Ie,Object.assign({},oe,{prefixCls:E,hashId:y})))};Qe.ZP=Ne},60324:function(tt,Qe,te){"use strict";var b=te(92310),re=te.n(b),Pe=te(59301),Fe=te(77578),be=te(62892),xe=te(36355),ue=te(6848),Oe=te(39722),je=te(17356),Ie=function(fe,oe){var a={};for(var E in fe)Object.prototype.hasOwnProperty.call(fe,E)&&oe.indexOf(E)<0&&(a[E]=fe[E]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,E=Object.getOwnPropertySymbols(fe);x{let{title:oe,content:a,prefixCls:E}=fe;return Pe.createElement(Pe.Fragment,null,oe&&Pe.createElement("div",{className:`${E}-title`},(0,Fe.Z)(oe)),Pe.createElement("div",{className:`${E}-inner-content`},(0,Fe.Z)(a)))},De=Pe.forwardRef((fe,oe)=>{const{prefixCls:a,title:E,content:x,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:le=.1,overlayStyle:ie={}}=fe,de=Ie(fe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:se}=Pe.useContext(xe.E_),ce=se("popover",a),[me,ve]=(0,je.Z)(ce),Ee=se(),Je=re()(y,ve);return me(Pe.createElement(ue.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:ae,mouseLeaveDelay:le,overlayStyle:ie},de,{prefixCls:ce,overlayClassName:Je,ref:oe,overlay:E||x?Pe.createElement(Ne,{prefixCls:ce,title:E,content:x}):null,transitionName:(0,be.m)(Ee,"zoom-big",de.transitionName),"data-popover-inject":!0})))});De._InternalPanelDoNotUseOrYouWillBeFired=Oe.ZP,Qe.Z=De},17356:function(tt,Qe,te){"use strict";var b=te(17313),re=te(29878),Pe=te(19447),Fe=te(33166),be=te(83116),xe=te(37613);const ue=Ie=>{const{componentCls:Ne,popoverColor:De,minWidth:fe,fontWeightStrong:oe,popoverPadding:a,boxShadowSecondary:E,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:ae,popoverBg:le}=Ie;return[{[Ne]:Object.assign(Object.assign({},(0,b.Wf)(Ie)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Ne}-content`]:{position:"relative"},[`${Ne}-inner`]:{backgroundColor:le,backgroundClip:"padding-box",borderRadius:y,boxShadow:E,padding:a},[`${Ne}-title`]:{minWidth:fe,marginBottom:ne,color:x,fontWeight:oe},[`${Ne}-inner-content`]:{color:De}})},(0,Pe.ZP)(Ie,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ne}-pure`]:{position:"relative",maxWidth:"none",margin:Ie.sizePopupArrow,display:"inline-block",[`${Ne}-content`]:{display:"inline-block"}}}]},Oe=Ie=>{const{componentCls:Ne}=Ie;return{[Ne]:Fe.i.map(De=>{const fe=Ie[`${De}6`];return{[`&${Ne}-${De}`]:{"--antd-arrow-background-color":fe,[`${Ne}-inner`]:{backgroundColor:fe},[`${Ne}-arrow`]:{background:"transparent"}}}})}},je=Ie=>{const{componentCls:Ne,lineWidth:De,lineType:fe,colorSplit:oe,paddingSM:a,controlHeight:E,fontSize:x,lineHeight:y,padding:z}=Ie,ne=E-Math.round(x*y),ae=ne/2,le=ne/2-De,ie=z;return{[Ne]:{[`${Ne}-inner`]:{padding:0},[`${Ne}-title`]:{margin:0,padding:`${ae}px ${ie}px ${le}px`,borderBottom:`${De}px ${fe} ${oe}`},[`${Ne}-inner-content`]:{padding:`${a}px ${ie}px`}}}};Qe.Z=(0,be.Z)("Popover",Ie=>{const{colorBgElevated:Ne,colorText:De,wireframe:fe}=Ie,oe=(0,xe.TS)(Ie,{popoverPadding:12,popoverBg:Ne,popoverColor:De});return[ue(oe),Oe(oe),fe&&je(oe),(0,re._y)(oe,"zoom-big")]},Ie=>({width:177,minWidth:177,zIndexPopup:Ie.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return $t}});var b=te(59301),re=te(29679),Pe=te(40001),Fe=te(19248),be=te(99267),xe=te(92310),ue=te.n(xe),Oe=te(2738),je=te(36355),Ie=te(54476),Ne=te(33885),De=te(75931),fe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var at=(0,b.useRef)([]),jt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Kt=Date.now(),fn=!1;at.current.forEach(function(Zt){if(Zt){fn=!0;var Fn=Zt.style;Fn.transitionDuration=".3s, .3s, .3s, .06s",jt.current&&Kt-jt.current<100&&(Fn.transitionDuration="0s, 0s")}}),fn&&(jt.current=Date.now())}),at.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],E=function(at){var jt=(0,Ne.Z)((0,Ne.Z)({},fe),at),Kt=jt.className,fn=jt.percent,Zt=jt.prefixCls,Fn=jt.strokeColor,jn=jt.strokeLinecap,ia=jt.strokeWidth,Da=jt.style,gn=jt.trailColor,Pa=jt.trailWidth,uo=jt.transition,da=(0,De.Z)(jt,a);delete da.gapPosition;var ta=Array.isArray(fn)?fn:[fn],Fo=Array.isArray(Fn)?Fn:[Fn],ao=oe(),Qt=ia/2,On=100-ia/2,ra="M ".concat(jn==="round"?Qt:0,",").concat(Qt,` + L `).concat(jn==="round"?On:100,",").concat(Qt),Sa="0 0 100 ".concat(ia),$n=0;return b.createElement("svg",(0,Ie.Z)({className:ue()("".concat(Zt,"-line"),Kt),viewBox:Sa,preserveAspectRatio:"none",style:Da},da),b.createElement("path",{className:"".concat(Zt,"-line-trail"),d:ra,strokeLinecap:jn,stroke:gn,strokeWidth:Pa||ia,fillOpacity:"0"}),ta.map(function(Za,xo){var br=1;switch(jn){case"round":br=1-ia/100;break;case"square":br=1-ia/2/100;break;default:br=1;break}var Or={strokeDasharray:"".concat(Za*br,"px, 100px"),strokeDashoffset:"-".concat($n,"px"),transition:uo||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ia=Fo[xo]||Fo[Fo.length-1];return $n+=Za,b.createElement("path",{key:xo,className:"".concat(Zt,"-line-path"),d:ra,strokeLinecap:jn,stroke:Ia,strokeWidth:ia,fillOpacity:"0",ref:function(Tt){ao[xo]=Tt},style:Or})}))},x=E,y=te(76190),z=te(42978),ne=te(47273),ae=0,le=(0,ne.Z)();function ie(){var Ye;return le?(Ye=ae,ae+=1):Ye="TEST_OR_SSR",Ye}var de=function(Ye){var at=b.useState(),jt=(0,z.Z)(at,2),Kt=jt[0],fn=jt[1];return b.useEffect(function(){fn("rc_progress_".concat(ie()))},[]),Ye||Kt},se=function(at){var jt=at.bg,Kt=at.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:jt}},Kt)};function ce(Ye,at){return Object.keys(Ye).map(function(jt){var Kt=parseFloat(jt),fn="".concat(Math.floor(Kt*at),"%");return"".concat(Ye[jt]," ").concat(fn)})}var me=b.forwardRef(function(Ye,at){var jt=Ye.prefixCls,Kt=Ye.color,fn=Ye.gradientId,Zt=Ye.radius,Fn=Ye.style,jn=Ye.ptg,ia=Ye.strokeLinecap,Da=Ye.strokeWidth,gn=Ye.size,Pa=Ye.gapDegree,uo=Kt&&(0,y.Z)(Kt)==="object",da=uo?"#FFF":void 0,ta=gn/2,Fo=b.createElement("circle",{className:"".concat(jt,"-circle-path"),r:Zt,cx:ta,cy:ta,stroke:da,strokeLinecap:ia,strokeWidth:Da,opacity:jn===0?0:1,style:Fn,ref:at});if(!uo)return Fo;var ao="".concat(fn,"-conic"),Qt=Pa?"".concat(180+Pa/2,"deg"):"0deg",On=ce(Kt,(360-Pa)/360),ra=ce(Kt,1),Sa="conic-gradient(from ".concat(Qt,", ").concat(On.join(", "),")"),$n="linear-gradient(to ".concat(Pa?"bottom":"top",", ").concat(ra.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:ao},Fo),b.createElement("foreignObject",{x:0,y:0,width:gn,height:gn,mask:"url(#".concat(ao,")")},b.createElement(se,{bg:$n},b.createElement(se,{bg:Sa}))))}),ve=me,Ee=100,Je=function(at,jt,Kt,fn,Zt,Fn,jn,ia,Da,gn){var Pa=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,uo=Kt/100*360*((360-Fn)/360),da=Fn===0?0:{bottom:0,top:180,left:90,right:-90}[jn],ta=(100-fn)/100*jt;Da==="round"&&fn!==100&&(ta+=gn/2,ta>=jt&&(ta=jt-.01));var Fo=Ee/2;return{stroke:typeof ia=="string"?ia:void 0,strokeDasharray:"".concat(jt,"px ").concat(at),strokeDashoffset:ta+Pa,transform:"rotate(".concat(Zt+uo+da,"deg)"),transformOrigin:"".concat(Fo,"px ").concat(Fo,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Me=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ue(Ye){var at=Ye!=null?Ye:[];return Array.isArray(at)?at:[at]}var Le=function(at){var jt=(0,Ne.Z)((0,Ne.Z)({},fe),at),Kt=jt.id,fn=jt.prefixCls,Zt=jt.steps,Fn=jt.strokeWidth,jn=jt.trailWidth,ia=jt.gapDegree,Da=ia===void 0?0:ia,gn=jt.gapPosition,Pa=jt.trailColor,uo=jt.strokeLinecap,da=jt.style,ta=jt.className,Fo=jt.strokeColor,ao=jt.percent,Qt=(0,De.Z)(jt,Me),On=Ee/2,ra=de(Kt),Sa="".concat(ra,"-gradient"),$n=On-Fn/2,Za=Math.PI*2*$n,xo=Da>0?90+Da/2:-90,br=Za*((360-Da)/360),Or=(0,y.Z)(Zt)==="object"?Zt:{count:Zt,space:2},Ia=Or.count,xt=Or.space,Tt=Ue(ao),wt=Ue(Fo),In=wt.find(function(to){return to&&(0,y.Z)(to)==="object"}),na=In&&(0,y.Z)(In)==="object",Hn=na?"butt":uo,nr=Je(Za,br,0,100,xo,Da,gn,Pa,Hn,Fn),Oa=oe(),oo=function(){var kn=0;return Tt.map(function(dr,Wr){var xr=wt[Wr]||wt[wt.length-1],Vo=Je(Za,br,kn,dr,xo,Da,gn,xr,Hn,Fn);return kn+=dr,b.createElement(ve,{key:Wr,color:xr,ptg:dr,radius:$n,prefixCls:fn,gradientId:Sa,style:Vo,strokeLinecap:Hn,strokeWidth:Fn,gapDegree:Da,ref:function(pn){Oa[Wr]=pn},size:Ee})}).reverse()},Ar=function(){var kn=Math.round(Ia*(Tt[0]/100)),dr=100/Ia,Wr=0;return new Array(Ia).fill(null).map(function(xr,Vo){var St=Vo<=kn-1?wt[0]:Pa,pn=St&&(0,y.Z)(St)==="object"?"url(#".concat(Sa,")"):void 0,vn=Je(Za,br,Wr,dr,xo,Da,gn,St,"butt",Fn,xt);return Wr+=(br-vn.strokeDashoffset+xt)*100/br,b.createElement("circle",{key:Vo,className:"".concat(fn,"-circle-path"),r:$n,cx:On,cy:On,stroke:pn,strokeWidth:Fn,opacity:1,style:vn,ref:function(Sn){Oa[Vo]=Sn}})})};return b.createElement("svg",(0,Ie.Z)({className:ue()("".concat(fn,"-circle"),ta),viewBox:"0 0 ".concat(Ee," ").concat(Ee),style:da,id:Kt,role:"presentation"},Qt),!Ia&&b.createElement("circle",{className:"".concat(fn,"-circle-trail"),r:$n,cx:On,cy:On,stroke:Pa,strokeLinecap:Hn,strokeWidth:jn||Fn,style:nr}),Ia?Ar():oo())},ke=Le,nt={Line:x,Circle:ke},pt=te(6848),dt=te(30071);function lt(Ye){return!Ye||Ye<0?0:Ye>100?100:Ye}function Xe(Ye){let{success:at,successPercent:jt}=Ye,Kt=jt;return at&&"progress"in at&&(Kt=at.progress),at&&"percent"in at&&(Kt=at.percent),Kt}const Pt=Ye=>{let{percent:at,success:jt,successPercent:Kt}=Ye;const fn=lt(Xe({success:jt,successPercent:Kt}));return[fn,lt(lt(at)-fn)]},Ge=Ye=>{let{success:at={},strokeColor:jt}=Ye;const{strokeColor:Kt}=at;return[Kt||dt.presetPrimaryColors.green,jt||null]},Te=(Ye,at,jt)=>{var Kt,fn,Zt,Fn;let jn=-1,ia=-1;if(at==="step"){const Da=jt.steps,gn=jt.strokeWidth;typeof Ye=="string"||typeof Ye=="undefined"?(jn=Ye==="small"?2:14,ia=gn!=null?gn:8):typeof Ye=="number"?[jn,ia]=[Ye,Ye]:[jn=14,ia=8]=Ye,jn*=Da}else if(at==="line"){const Da=jt==null?void 0:jt.strokeWidth;typeof Ye=="string"||typeof Ye=="undefined"?ia=Da||(Ye==="small"?6:8):typeof Ye=="number"?[jn,ia]=[Ye,Ye]:[jn=-1,ia=8]=Ye}else(at==="circle"||at==="dashboard")&&(typeof Ye=="string"||typeof Ye=="undefined"?[jn,ia]=Ye==="small"?[60,60]:[120,120]:typeof Ye=="number"?[jn,ia]=[Ye,Ye]:(jn=(fn=(Kt=Ye[0])!==null&&Kt!==void 0?Kt:Ye[1])!==null&&fn!==void 0?fn:120,ia=(Fn=(Zt=Ye[0])!==null&&Zt!==void 0?Zt:Ye[1])!==null&&Fn!==void 0?Fn:120));return[jn,ia]},We=3,vt=Ye=>We/Ye*100;var mt=Ye=>{const{prefixCls:at,trailColor:jt=null,strokeLinecap:Kt="round",gapPosition:fn,gapDegree:Zt,width:Fn=120,type:jn,children:ia,success:Da,size:gn=Fn}=Ye,[Pa,uo]=Te(gn,"circle");let{strokeWidth:da}=Ye;da===void 0&&(da=Math.max(vt(Pa),6));const ta={width:Pa,height:uo,fontSize:Pa*.15+6},Fo=b.useMemo(()=>{if(Zt||Zt===0)return Zt;if(jn==="dashboard")return 75},[Zt,jn]),ao=fn||jn==="dashboard"&&"bottom"||void 0,Qt=Object.prototype.toString.call(Ye.strokeColor)==="[object Object]",On=Ge({success:Da,strokeColor:Ye.strokeColor}),ra=ue()(`${at}-inner`,{[`${at}-circle-gradient`]:Qt}),Sa=b.createElement(ke,{percent:Pt(Ye),strokeWidth:da,trailWidth:da,strokeColor:On,strokeLinecap:Kt,trailColor:jt,prefixCls:at,gapDegree:Fo,gapPosition:ao});return b.createElement("div",{className:ra,style:ta},Pa<=20?b.createElement(pt.Z,{title:ia},b.createElement("span",null,Sa)):b.createElement(b.Fragment,null,Sa,ia))},Pn=function(Ye,at){var jt={};for(var Kt in Ye)Object.prototype.hasOwnProperty.call(Ye,Kt)&&at.indexOf(Kt)<0&&(jt[Kt]=Ye[Kt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Kt=Object.getOwnPropertySymbols(Ye);fn{let at=[];return Object.keys(Ye).forEach(jt=>{const Kt=parseFloat(jt.replace(/%/g,""));isNaN(Kt)||at.push({key:Kt,value:Ye[jt]})}),at=at.sort((jt,Kt)=>jt.key-Kt.key),at.map(jt=>{let{key:Kt,value:fn}=jt;return`${fn} ${Kt}%`}).join(", ")},Ft=(Ye,at)=>{const{from:jt=dt.presetPrimaryColors.blue,to:Kt=dt.presetPrimaryColors.blue,direction:fn=at==="rtl"?"to left":"to right"}=Ye,Zt=Pn(Ye,["from","to","direction"]);if(Object.keys(Zt).length!==0){const Fn=Ze(Zt);return{backgroundImage:`linear-gradient(${fn}, ${Fn})`}}return{backgroundImage:`linear-gradient(${fn}, ${jt}, ${Kt})`}};var dn=Ye=>{const{prefixCls:at,direction:jt,percent:Kt,size:fn,strokeWidth:Zt,strokeColor:Fn,strokeLinecap:jn="round",children:ia,trailColor:Da=null,success:gn}=Ye,Pa=Fn&&typeof Fn!="string"?Ft(Fn,jt):{backgroundColor:Fn},uo=jn==="square"||jn==="butt"?0:void 0,da={backgroundColor:Da||void 0,borderRadius:uo},ta=fn!=null?fn:[-1,Zt||(fn==="small"?6:8)],[Fo,ao]=Te(ta,"line",{strokeWidth:Zt}),Qt=Object.assign({width:`${lt(Kt)}%`,height:ao,borderRadius:uo},Pa),On=Xe(Ye),ra={width:`${lt(On)}%`,height:ao,borderRadius:uo,backgroundColor:gn==null?void 0:gn.strokeColor},Sa={width:Fo<0?"100%":Fo,height:ao};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${at}-outer`,style:Sa},b.createElement("div",{className:`${at}-inner`,style:da},b.createElement("div",{className:`${at}-bg`,style:Qt}),On!==void 0?b.createElement("div",{className:`${at}-success-bg`,style:ra}):null)),ia)},it=Ye=>{const{size:at,steps:jt,percent:Kt=0,strokeWidth:fn=8,strokeColor:Zt,trailColor:Fn=null,prefixCls:jn,children:ia}=Ye,Da=Math.round(jt*(Kt/100)),gn=at==="small"?2:14,Pa=at!=null?at:[gn,fn],[uo,da]=Te(Pa,"step",{steps:jt,strokeWidth:fn}),ta=uo/jt,Fo=new Array(jt);for(let ao=0;ao{const at=Ye?"100%":"-100%";return new ft.Keyframes(`antProgress${Ye?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${at}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${at}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Re=Ye=>{const{componentCls:at,iconCls:jt}=Ye;return{[at]:Object.assign(Object.assign({},(0,_e.Wf)(Ye)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ye.fontSize,marginInlineEnd:Ye.marginXS,marginBottom:Ye.marginXS},[`${at}-outer`]:{display:"inline-block",width:"100%"},[`&${at}-show-info`]:{[`${at}-outer`]:{marginInlineEnd:`calc(-2em - ${Ye.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ye.paddingXS}px)`}},[`${at}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ye.remainingColor,borderRadius:Ye.lineBorderRadius},[`${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:Ye.defaultColor}},[`${at}-success-bg, ${at}-bg`]:{position:"relative",backgroundColor:Ye.defaultColor,borderRadius:Ye.lineBorderRadius,transition:`all ${Ye.motionDurationSlow} ${Ye.motionEaseInOutCirc}`},[`${at}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ye.colorSuccess},[`${at}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ye.marginXS,color:Ye.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[jt]:{fontSize:Ye.fontSize}},[`&${at}-status-active`]:{[`${at}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ye.colorBgContainer,borderRadius:Ye.lineBorderRadius,opacity:0,animationName:ct(),animationDuration:Ye.progressActiveMotionDuration,animationTimingFunction:Ye.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${at}-rtl${at}-status-active`]:{[`${at}-bg::before`]:{animationName:ct(!0)}},[`&${at}-status-exception`]:{[`${at}-bg`]:{backgroundColor:Ye.colorError},[`${at}-text`]:{color:Ye.colorError}},[`&${at}-status-exception ${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:Ye.colorError}},[`&${at}-status-success`]:{[`${at}-bg`]:{backgroundColor:Ye.colorSuccess},[`${at}-text`]:{color:Ye.colorSuccess}},[`&${at}-status-success ${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:Ye.colorSuccess}}})}},we=Ye=>{const{componentCls:at,iconCls:jt}=Ye;return{[at]:{[`${at}-circle-trail`]:{stroke:Ye.remainingColor},[`&${at}-circle ${at}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${at}-circle ${at}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ye.circleTextColor,fontSize:Ye.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[jt]:{fontSize:`${Ye.fontSize/Ye.fontSizeSM}em`}},[`${at}-circle&-status-exception`]:{[`${at}-text`]:{color:Ye.colorError}},[`${at}-circle&-status-success`]:{[`${at}-text`]:{color:Ye.colorSuccess}}},[`${at}-inline-circle`]:{lineHeight:1,[`${at}-inner`]:{verticalAlign:"bottom"}}}},rt=Ye=>{const{componentCls:at}=Ye;return{[at]:{[`${at}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ye.progressStepMinWidth,marginInlineEnd:Ye.progressStepMarginInlineEnd,backgroundColor:Ye.remainingColor,transition:`all ${Ye.motionDurationSlow}`,"&-active":{backgroundColor:Ye.defaultColor}}}}}},$e=Ye=>{const{componentCls:at,iconCls:jt}=Ye;return{[at]:{[`${at}-small&-line, ${at}-small&-line ${at}-text ${jt}`]:{fontSize:Ye.fontSizeSM}}}};var ze=(0,Be.Z)("Progress",Ye=>{const at=Ye.marginXXS/2,jt=(0,ot.TS)(Ye,{progressStepMarginInlineEnd:at,progressStepMinWidth:at,progressActiveMotionDuration:"2.4s"});return[Re(jt),we(jt),rt(jt),$e(jt)]},Ye=>({circleTextColor:Ye.colorText,defaultColor:Ye.colorInfo,remainingColor:Ye.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Et=function(Ye,at){var jt={};for(var Kt in Ye)Object.prototype.hasOwnProperty.call(Ye,Kt)&&at.indexOf(Kt)<0&&(jt[Kt]=Ye[Kt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Kt=Object.getOwnPropertySymbols(Ye);fn{const{prefixCls:jt,className:Kt,rootClassName:fn,steps:Zt,strokeColor:Fn,percent:jn=0,size:ia="default",showInfo:Da=!0,type:gn="line",status:Pa,format:uo,style:da}=Ye,ta=Et(Ye,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Fo=b.useMemo(()=>{var Tt,wt;const In=Xe(Ye);return parseInt(In!==void 0?(Tt=In!=null?In:0)===null||Tt===void 0?void 0:Tt.toString():(wt=jn!=null?jn:0)===null||wt===void 0?void 0:wt.toString(),10)},[jn,Ye.success,Ye.successPercent]),ao=b.useMemo(()=>!en.includes(Pa)&&Fo>=100?"success":Pa||"normal",[Pa,Fo]),{getPrefixCls:Qt,direction:On,progress:ra}=b.useContext(je.E_),Sa=Qt("progress",jt),[$n,Za]=ze(Sa),xo=b.useMemo(()=>{if(!Da)return null;const Tt=Xe(Ye);let wt;const In=uo||(Hn=>`${Hn}%`),na=gn==="line";return uo||ao!=="exception"&&ao!=="success"?wt=In(lt(jn),lt(Tt)):ao==="exception"?wt=na?b.createElement(Fe.Z,null):b.createElement(be.Z,null):ao==="success"&&(wt=na?b.createElement(re.Z,null):b.createElement(Pe.Z,null)),b.createElement("span",{className:`${Sa}-text`,title:typeof wt=="string"?wt:void 0},wt)},[Da,jn,Fo,ao,gn,Sa,uo]),br=Array.isArray(Fn)?Fn[0]:Fn,Or=typeof Fn=="string"||Array.isArray(Fn)?Fn:void 0;let Ia;gn==="line"?Ia=Zt?b.createElement(it,Object.assign({},Ye,{strokeColor:Or,prefixCls:Sa,steps:Zt}),xo):b.createElement(dn,Object.assign({},Ye,{strokeColor:br,prefixCls:Sa,direction:On}),xo):(gn==="circle"||gn==="dashboard")&&(Ia=b.createElement(mt,Object.assign({},Ye,{strokeColor:br,prefixCls:Sa,progressStatus:ao}),xo));const xt=ue()(Sa,`${Sa}-status-${ao}`,`${Sa}-${gn==="dashboard"&&"circle"||Zt&&"steps"||gn}`,{[`${Sa}-inline-circle`]:gn==="circle"&&Te(ia,"circle")[0]<=20,[`${Sa}-show-info`]:Da,[`${Sa}-${ia}`]:typeof ia=="string",[`${Sa}-rtl`]:On==="rtl"},ra==null?void 0:ra.className,Kt,fn,Za);return $n(b.createElement("div",Object.assign({ref:at,style:Object.assign(Object.assign({},ra==null?void 0:ra.style),da),className:xt,role:"progressbar","aria-valuenow":Fo},(0,Oe.Z)(ta,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ia))}),$t=on},13570:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return lt}});var b=te(54476),re=te(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Fe=Pe,be=te(7657),xe=function(Pt,Ge){return re.createElement(be.Z,(0,b.Z)({},Pt,{ref:Ge,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(92310),Ie=te.n(je),Ne=te(20068),De=te(42978),fe=te(75931),oe=te(18929),a=te(10228),E=te(26112);function x(Xe,Pt){var Ge=Xe.disabled,Te=Xe.prefixCls,We=Xe.character,vt=Xe.characterRender,It=Xe.index,mt=Xe.count,Pn=Xe.value,Ze=Xe.allowHalf,Ft=Xe.focused,Ut=Xe.onHover,dn=Xe.onClick,En=function(we){Ut(we,It)},it=function(we){dn(we,It)},ft=function(we){we.keyCode===a.Z.ENTER&&dn(we,It)},_e=It+1,Be=new Set([Te]);Pn===0&&It===0&&Ft?Be.add("".concat(Te,"-focused")):Ze&&Pn+.5>=_e&&Pn<_e?(Be.add("".concat(Te,"-half")),Be.add("".concat(Te,"-active")),Ft&&Be.add("".concat(Te,"-focused"))):(_e<=Pn?Be.add("".concat(Te,"-full")):Be.add("".concat(Te,"-zero")),_e===Pn&&Ft&&Be.add("".concat(Te,"-focused")));var ot=typeof We=="function"?We(Xe):We,ct=re.createElement("li",{className:Ie()(Array.from(Be)),ref:Pt},re.createElement("div",{onClick:Ge?null:it,onKeyDown:Ge?null:ft,onMouseMove:Ge?null:En,role:"radio","aria-checked":Pn>It?"true":"false","aria-posinset":It+1,"aria-setsize":mt,tabIndex:Ge?-1:0},re.createElement("div",{className:"".concat(Te,"-first")},ot),re.createElement("div",{className:"".concat(Te,"-second")},ot)));return vt&&(ct=vt(ct,Xe)),ct}var y=re.forwardRef(x);function z(){var Xe=re.useRef({});function Pt(Te){return Xe.current[Te]}function Ge(Te){return function(We){Xe.current[Te]=We}}return[Pt,Ge]}function ne(Xe){var Pt=Xe.pageXOffset,Ge="scrollLeft";if(typeof Pt!="number"){var Te=Xe.document;Pt=Te.documentElement[Ge],typeof Pt!="number"&&(Pt=Te.body[Ge])}return Pt}function ae(Xe){var Pt,Ge,Te=Xe.ownerDocument,We=Te.body,vt=Te&&Te.documentElement,It=Xe.getBoundingClientRect();return Pt=It.left,Ge=It.top,Pt-=vt.clientLeft||We.clientLeft||0,Ge-=vt.clientTop||We.clientTop||0,{left:Pt,top:Ge}}function le(Xe){var Pt=ae(Xe),Ge=Xe.ownerDocument,Te=Ge.defaultView||Ge.parentWindow;return Pt.left+=ne(Te),Pt.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(Xe,Pt){var Ge,Te=Xe.prefixCls,We=Te===void 0?"rc-rate":Te,vt=Xe.className,It=Xe.defaultValue,mt=Xe.value,Pn=Xe.count,Ze=Pn===void 0?5:Pn,Ft=Xe.allowHalf,Ut=Ft===void 0?!1:Ft,dn=Xe.allowClear,En=dn===void 0?!0:dn,it=Xe.character,ft=it===void 0?"\u2605":it,_e=Xe.characterRender,Be=Xe.disabled,ot=Xe.direction,ct=ot===void 0?"ltr":ot,Re=Xe.tabIndex,we=Re===void 0?0:Re,rt=Xe.autoFocus,$e=Xe.onHoverChange,ze=Xe.onChange,Et=Xe.onFocus,An=Xe.onBlur,en=Xe.onKeyDown,_t=Xe.onMouseLeave,on=(0,fe.Z)(Xe,ie),$t=z(),Ye=(0,De.Z)($t,2),at=Ye[0],jt=Ye[1],Kt=re.useRef(null),fn=function(){if(!Be){var Hn;(Hn=Kt.current)===null||Hn===void 0||Hn.focus()}};re.useImperativeHandle(Pt,function(){return{focus:fn,blur:function(){if(!Be){var Hn;(Hn=Kt.current)===null||Hn===void 0||Hn.blur()}}}});var Zt=(0,oe.Z)(It||0,{value:mt}),Fn=(0,De.Z)(Zt,2),jn=Fn[0],ia=Fn[1],Da=(0,oe.Z)(null),gn=(0,De.Z)(Da,2),Pa=gn[0],uo=gn[1],da=function(Hn,nr){var Oa=ct==="rtl",oo=Hn+1;if(Ut){var Ar=at(Hn),to=le(Ar),kn=Ar.clientWidth;(Oa&&nr-to>kn/2||!Oa&&nr-to0&&!Oa||nr===a.Z.RIGHT&&oo>0&&Oa?(Ut?oo-=.5:oo-=1,ta(oo),Hn.preventDefault()):nr===a.Z.LEFT&&oo{const{componentCls:Pt}=Xe;return{[`${Pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Xe.marginXS},"> div":{transition:`all ${Xe.motionDurationMid}, outline 0s`,"&:hover":{transform:Xe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Xe.lineWidth}px dashed ${Xe.starColor}`,transform:Xe.starHoverScale}},"&-first, &-second":{color:Xe.starBg,transition:`all ${Xe.motionDurationMid}`,userSelect:"none",[Xe.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pt}-star-first, &-half ${Pt}-star-second`]:{opacity:1},[`&-half ${Pt}-star-first, &-full ${Pt}-star-second`]:{color:"inherit"}}}},Le=Xe=>({[`&-rtl${Xe.componentCls}`]:{direction:"rtl"}}),ke=Xe=>{const{componentCls:Pt}=Xe;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Xe)),{display:"inline-block",margin:0,padding:0,color:Xe.starColor,fontSize:Xe.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Pt} ${Pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ue(Xe)),{[`+ ${Pt}-text`]:{display:"inline-block",marginInlineStart:Xe.marginXS,fontSize:Xe.fontSize}}),Le(Xe))}};var nt=(0,Je.Z)("Rate",Xe=>{const Pt=(0,Me.TS)(Xe,{});return[ke(Pt)]},Xe=>({starColor:Xe.yellow6,starSize:Xe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Xe.colorFillContent})),pt=function(Xe,Pt){var Ge={};for(var Te in Xe)Object.prototype.hasOwnProperty.call(Xe,Te)&&Pt.indexOf(Te)<0&&(Ge[Te]=Xe[Te]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Te=Object.getOwnPropertySymbols(Xe);We{const{prefixCls:Ge,className:Te,rootClassName:We,style:vt,tooltips:It,character:mt=re.createElement(Oe,null)}=Xe,Pn=pt(Xe,["prefixCls","className","rootClassName","style","tooltips","character"]),Ze=(Be,ot)=>{let{index:ct}=ot;return It?re.createElement(ve.Z,{title:It[ct]},Be):Be},{getPrefixCls:Ft,direction:Ut,rate:dn}=re.useContext(me.E_),En=Ft("rate",Ge),[it,ft]=nt(En),_e=Object.assign(Object.assign({},dn==null?void 0:dn.style),vt);return it(re.createElement(ce,Object.assign({ref:Pt,character:mt,characterRender:Ze},Pn,{className:Ie()(Te,We,ft,dn==null?void 0:dn.className),style:_e,prefixCls:En,direction:Ut})))})},61621:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return ft}});var b=te(92310),re=te.n(b),Pe=te(59301),Fe=te(36355),be=te(2738),ue=_e=>{const{prefixCls:Be,className:ot,style:ct,size:Re,shape:we}=_e,rt=re()({[`${Be}-lg`]:Re==="large",[`${Be}-sm`]:Re==="small"}),$e=re()({[`${Be}-circle`]:we==="circle",[`${Be}-square`]:we==="square",[`${Be}-round`]:we==="round"}),ze=Pe.useMemo(()=>typeof Re=="number"?{width:Re,height:Re,lineHeight:`${Re}px`}:{},[Re]);return Pe.createElement("span",{className:re()(Be,rt,$e,ot),style:Object.assign(Object.assign({},ze),ct)})},Oe=te(36237),je=te(83116),Ie=te(37613);const Ne=new Oe.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),De=_e=>({height:_e,lineHeight:`${_e}px`}),fe=_e=>Object.assign({width:_e},De(_e)),oe=_e=>({background:_e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ne,animationDuration:_e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=_e=>Object.assign({width:_e*5,minWidth:_e*5},De(_e)),E=_e=>{const{skeletonAvatarCls:Be,gradientFromColor:ot,controlHeight:ct,controlHeightLG:Re,controlHeightSM:we}=_e;return{[`${Be}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot},fe(ct)),[`${Be}${Be}-circle`]:{borderRadius:"50%"},[`${Be}${Be}-lg`]:Object.assign({},fe(Re)),[`${Be}${Be}-sm`]:Object.assign({},fe(we))}},x=_e=>{const{controlHeight:Be,borderRadiusSM:ot,skeletonInputCls:ct,controlHeightLG:Re,controlHeightSM:we,gradientFromColor:rt}=_e;return{[`${ct}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:rt,borderRadius:ot},a(Be)),[`${ct}-lg`]:Object.assign({},a(Re)),[`${ct}-sm`]:Object.assign({},a(we))}},y=_e=>Object.assign({width:_e},De(_e)),z=_e=>{const{skeletonImageCls:Be,imageSizeBase:ot,gradientFromColor:ct,borderRadiusSM:Re}=_e;return{[`${Be}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:ct,borderRadius:Re},y(ot*2)),{[`${Be}-path`]:{fill:"#bfbfbf"},[`${Be}-svg`]:Object.assign(Object.assign({},y(ot)),{maxWidth:ot*4,maxHeight:ot*4}),[`${Be}-svg${Be}-svg-circle`]:{borderRadius:"50%"}}),[`${Be}${Be}-circle`]:{borderRadius:"50%"}}},ne=(_e,Be,ot)=>{const{skeletonButtonCls:ct}=_e;return{[`${ot}${ct}-circle`]:{width:Be,minWidth:Be,borderRadius:"50%"},[`${ot}${ct}-round`]:{borderRadius:Be}}},ae=_e=>Object.assign({width:_e*2,minWidth:_e*2},De(_e)),le=_e=>{const{borderRadiusSM:Be,skeletonButtonCls:ot,controlHeight:ct,controlHeightLG:Re,controlHeightSM:we,gradientFromColor:rt}=_e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ot}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:rt,borderRadius:Be,width:ct*2,minWidth:ct*2},ae(ct))},ne(_e,ct,ot)),{[`${ot}-lg`]:Object.assign({},ae(Re))}),ne(_e,Re,`${ot}-lg`)),{[`${ot}-sm`]:Object.assign({},ae(we))}),ne(_e,we,`${ot}-sm`))},ie=_e=>{const{componentCls:Be,skeletonAvatarCls:ot,skeletonTitleCls:ct,skeletonParagraphCls:Re,skeletonButtonCls:we,skeletonInputCls:rt,skeletonImageCls:$e,controlHeight:ze,controlHeightLG:Et,controlHeightSM:An,gradientFromColor:en,padding:_t,marginSM:on,borderRadius:$t,titleHeight:Ye,blockRadius:at,paragraphLiHeight:jt,controlHeightXS:Kt,paragraphMarginTop:fn}=_e;return{[`${Be}`]:{display:"table",width:"100%",[`${Be}-header`]:{display:"table-cell",paddingInlineEnd:_t,verticalAlign:"top",[`${ot}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:en},fe(ze)),[`${ot}-circle`]:{borderRadius:"50%"},[`${ot}-lg`]:Object.assign({},fe(Et)),[`${ot}-sm`]:Object.assign({},fe(An))},[`${Be}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${ct}`]:{width:"100%",height:Ye,background:en,borderRadius:at,[`+ ${Re}`]:{marginBlockStart:An}},[`${Re}`]:{padding:0,"> li":{width:"100%",height:jt,listStyle:"none",background:en,borderRadius:at,"+ li":{marginBlockStart:Kt}}},[`${Re}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Be}-content`]:{[`${ct}, ${Re} > li`]:{borderRadius:$t}}},[`${Be}-with-avatar ${Be}-content`]:{[`${ct}`]:{marginBlockStart:on,[`+ ${Re}`]:{marginBlockStart:fn}}},[`${Be}${Be}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},le(_e)),E(_e)),x(_e)),z(_e)),[`${Be}${Be}-block`]:{width:"100%",[`${we}`]:{width:"100%"},[`${rt}`]:{width:"100%"}},[`${Be}${Be}-active`]:{[` + ${ct}, + ${Re} > li, + ${ot}, + ${we}, + ${rt}, + ${$e} + `]:Object.assign({},oe(_e))}}};var de=(0,je.Z)("Skeleton",_e=>{const{componentCls:Be}=_e,ot=(0,Ie.TS)(_e,{skeletonAvatarCls:`${Be}-avatar`,skeletonTitleCls:`${Be}-title`,skeletonParagraphCls:`${Be}-paragraph`,skeletonButtonCls:`${Be}-button`,skeletonInputCls:`${Be}-input`,skeletonImageCls:`${Be}-image`,imageSizeBase:_e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${_e.gradientFromColor} 25%, ${_e.gradientToColor} 37%, ${_e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(ot)]},_e=>{const{colorFillContent:Be,colorFill:ot}=_e,ct=Be,Re=ot;return{color:ct,colorGradientEnd:Re,gradientFromColor:ct,gradientToColor:Re,titleHeight:_e.controlHeight/2,blockRadius:_e.borderRadiusSM,paragraphMarginTop:_e.marginLG+_e.marginXXS,paragraphLiHeight:_e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ce=_e=>{const{prefixCls:Be,className:ot,rootClassName:ct,active:Re,shape:we="circle",size:rt="default"}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),ze=$e("skeleton",Be),[Et,An]=de(ze),en=(0,be.Z)(_e,["prefixCls","className"]),_t=re()(ze,`${ze}-element`,{[`${ze}-active`]:Re},ot,ct,An);return Et(Pe.createElement("div",{className:_t},Pe.createElement(ue,Object.assign({prefixCls:`${ze}-avatar`,shape:we,size:rt},en))))},ve=_e=>{const{prefixCls:Be,className:ot,rootClassName:ct,active:Re,block:we=!1,size:rt="default"}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),ze=$e("skeleton",Be),[Et,An]=de(ze),en=(0,be.Z)(_e,["prefixCls"]),_t=re()(ze,`${ze}-element`,{[`${ze}-active`]:Re,[`${ze}-block`]:we},ot,ct,An);return Et(Pe.createElement("div",{className:_t},Pe.createElement(ue,Object.assign({prefixCls:`${ze}-button`,size:rt},en))))};const Ee="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 Me=_e=>{const{prefixCls:Be,className:ot,rootClassName:ct,style:Re,active:we}=_e,{getPrefixCls:rt}=Pe.useContext(Fe.E_),$e=rt("skeleton",Be),[ze,Et]=de($e),An=re()($e,`${$e}-element`,{[`${$e}-active`]:we},ot,ct,Et);return ze(Pe.createElement("div",{className:An},Pe.createElement("div",{className:re()(`${$e}-image`,ot),style:Re},Pe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${$e}-image-svg`},Pe.createElement("path",{d:Ee,className:`${$e}-image-path`})))))},Le=_e=>{const{prefixCls:Be,className:ot,rootClassName:ct,active:Re,block:we,size:rt="default"}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),ze=$e("skeleton",Be),[Et,An]=de(ze),en=(0,be.Z)(_e,["prefixCls"]),_t=re()(ze,`${ze}-element`,{[`${ze}-active`]:Re,[`${ze}-block`]:we},ot,ct,An);return Et(Pe.createElement("div",{className:_t},Pe.createElement(ue,Object.assign({prefixCls:`${ze}-input`,size:rt},en))))},ke=te(54476),nt={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"},pt=nt,dt=te(7657),lt=function(Be,ot){return Pe.createElement(dt.Z,(0,ke.Z)({},Be,{ref:ot,icon:pt}))},Xe=Pe.forwardRef(lt),Pt=Xe,Te=_e=>{const{prefixCls:Be,className:ot,rootClassName:ct,style:Re,active:we,children:rt}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),ze=$e("skeleton",Be),[Et,An]=de(ze),en=re()(ze,`${ze}-element`,{[`${ze}-active`]:we},An,ot,ct),_t=rt!=null?rt:Pe.createElement(Pt,null);return Et(Pe.createElement("div",{className:en},Pe.createElement("div",{className:re()(`${ze}-image`,ot),style:Re},_t)))},We=te(94480),It=_e=>{const Be=$e=>{const{width:ze,rows:Et=2}=_e;if(Array.isArray(ze))return ze[$e];if(Et-1===$e)return ze},{prefixCls:ot,className:ct,style:Re,rows:we}=_e,rt=(0,We.Z)(Array(we)).map(($e,ze)=>Pe.createElement("li",{key:ze,style:{width:Be(ze)}}));return Pe.createElement("ul",{className:re()(ot,ct),style:Re},rt)},Pn=_e=>{let{prefixCls:Be,className:ot,width:ct,style:Re}=_e;return Pe.createElement("h3",{className:re()(Be,ot),style:Object.assign({width:ct},Re)})};function Ze(_e){return _e&&typeof _e=="object"?_e:{}}function Ft(_e,Be){return _e&&!Be?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ut(_e,Be){return!_e&&Be?{width:"38%"}:_e&&Be?{width:"50%"}:{}}function dn(_e,Be){const ot={};return(!_e||!Be)&&(ot.width="61%"),!_e&&Be?ot.rows=3:ot.rows=2,ot}const En=_e=>{const{prefixCls:Be,loading:ot,className:ct,rootClassName:Re,style:we,children:rt,avatar:$e=!1,title:ze=!0,paragraph:Et=!0,active:An,round:en}=_e,{getPrefixCls:_t,direction:on,skeleton:$t}=Pe.useContext(Fe.E_),Ye=_t("skeleton",Be),[at,jt]=de(Ye);if(ot||!("loading"in _e)){const Kt=!!$e,fn=!!ze,Zt=!!Et;let Fn;if(Kt){const Da=Object.assign(Object.assign({prefixCls:`${Ye}-avatar`},Ft(fn,Zt)),Ze($e));Fn=Pe.createElement("div",{className:`${Ye}-header`},Pe.createElement(ue,Object.assign({},Da)))}let jn;if(fn||Zt){let Da;if(fn){const Pa=Object.assign(Object.assign({prefixCls:`${Ye}-title`},Ut(Kt,Zt)),Ze(ze));Da=Pe.createElement(Pn,Object.assign({},Pa))}let gn;if(Zt){const Pa=Object.assign(Object.assign({prefixCls:`${Ye}-paragraph`},dn(Kt,fn)),Ze(Et));gn=Pe.createElement(It,Object.assign({},Pa))}jn=Pe.createElement("div",{className:`${Ye}-content`},Da,gn)}const ia=re()(Ye,{[`${Ye}-with-avatar`]:Kt,[`${Ye}-active`]:An,[`${Ye}-rtl`]:on==="rtl",[`${Ye}-round`]:en},$t==null?void 0:$t.className,ct,Re,jt);return at(Pe.createElement("div",{className:ia,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),we)},Fn,jn))}return typeof rt!="undefined"?rt:null};En.Button=ve,En.Avatar=ce,En.Input=Le,En.Image=Me,En.Node=Te;var it=En,ft=it},31797:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return de}});var b=te(59301),re=te(56762),Pe=te(92343),Fe=te(92310),be=te.n(Fe),xe=te(36355),ue=te(61621),je=se=>{const{value:ce,formatter:me,precision:ve,decimalSeparator:Ee,groupSeparator:Je="",prefixCls:Me}=se;let Ue;if(typeof me=="function")Ue=me(ce);else{const Le=String(ce),ke=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||Le==="-")Ue=Le;else{const nt=ke[1];let pt=ke[2]||"0",dt=ke[4]||"";pt=pt.replace(/\B(?=(\d{3})+(?!\d))/g,Je),typeof ve=="number"&&(dt=dt.padEnd(ve,"0").slice(0,ve>0?ve:0)),dt&&(dt=`${Ee}${dt}`),Ue=[b.createElement("span",{key:"int",className:`${Me}-content-value-int`},nt,pt),dt&&b.createElement("span",{key:"decimal",className:`${Me}-content-value-decimal`},dt)]}}return b.createElement("span",{className:`${Me}-content-value`},Ue)},Ie=te(17313),Ne=te(83116),De=te(37613);const fe=se=>{const{componentCls:ce,marginXXS:me,padding:ve,colorTextDescription:Ee,titleFontSize:Je,colorTextHeading:Me,contentFontSize:Ue,fontFamily:Le}=se;return{[`${ce}`]:Object.assign(Object.assign({},(0,Ie.Wf)(se)),{[`${ce}-title`]:{marginBottom:me,color:Ee,fontSize:Je},[`${ce}-skeleton`]:{paddingTop:ve},[`${ce}-content`]:{color:Me,fontSize:Ue,fontFamily:Le,[`${ce}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ce}-content-prefix, ${ce}-content-suffix`]:{display:"inline-block"},[`${ce}-content-prefix`]:{marginInlineEnd:me},[`${ce}-content-suffix`]:{marginInlineStart:me}}})}};var oe=(0,Ne.Z)("Statistic",se=>{const ce=(0,De.TS)(se,{});return[fe(ce)]},se=>{const{fontSizeHeading3:ce,fontSize:me}=se;return{titleFontSize:me,contentFontSize:ce}}),E=se=>{const{prefixCls:ce,className:me,rootClassName:ve,style:Ee,valueStyle:Je,value:Me=0,title:Ue,valueRender:Le,prefix:ke,suffix:nt,loading:pt=!1,onMouseEnter:dt,onMouseLeave:lt,decimalSeparator:Xe=".",groupSeparator:Pt=","}=se,{getPrefixCls:Ge,direction:Te,statistic:We}=b.useContext(xe.E_),vt=Ge("statistic",ce),[It,mt]=oe(vt),Pn=b.createElement(je,Object.assign({decimalSeparator:Xe,groupSeparator:Pt,prefixCls:vt},se,{value:Me})),Ze=be()(vt,{[`${vt}-rtl`]:Te==="rtl"},We==null?void 0:We.className,me,ve,mt);return It(b.createElement("div",{className:Ze,style:Object.assign(Object.assign({},We==null?void 0:We.style),Ee),onMouseEnter:dt,onMouseLeave:lt},Ue&&b.createElement("div",{className:`${vt}-title`},Ue),b.createElement(ue.Z,{paragraph:!1,loading:pt,className:`${vt}-skeleton`},b.createElement("div",{style:Je,className:`${vt}-content`},ke&&b.createElement("span",{className:`${vt}-content-prefix`},ke),Le?Le(Pn):Pn,nt&&b.createElement("span",{className:`${vt}-content-suffix`},nt)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function y(se,ce){let me=se;const ve=/\[[^\]]*]/g,Ee=(ce.match(ve)||[]).map(Le=>Le.slice(1,-1)),Je=ce.replace(ve,"[]"),Me=x.reduce((Le,ke)=>{let[nt,pt]=ke;if(Le.includes(nt)){const dt=Math.floor(me/pt);return me-=dt*pt,Le.replace(new RegExp(`${nt}+`,"g"),lt=>{const Xe=lt.length;return dt.toString().padStart(Xe,"0")})}return Le},Je);let Ue=0;return Me.replace(ve,()=>{const Le=Ee[Ue];return Ue+=1,Le})}function z(se,ce){const{format:me=""}=ce,ve=new Date(se).getTime(),Ee=Date.now(),Je=Math.max(ve-Ee,0);return y(Je,me)}const ne=1e3/30;function ae(se){return new Date(se).getTime()}const le=se=>{const{value:ce,format:me="HH:mm:ss",onChange:ve,onFinish:Ee}=se,Je=(0,re.Z)(),Me=b.useRef(null),Ue=()=>{Ee==null||Ee(),Me.current&&(clearInterval(Me.current),Me.current=null)},Le=()=>{const pt=ae(ce);pt>=Date.now()&&(Me.current=setInterval(()=>{Je(),ve==null||ve(pt-Date.now()),pt(Le(),()=>{Me.current&&(clearInterval(Me.current),Me.current=null)}),[ce]);const ke=(pt,dt)=>z(pt,Object.assign(Object.assign({},dt),{format:me})),nt=pt=>(0,Pe.Tm)(pt,{title:void 0});return b.createElement(E,Object.assign({},se,{valueRender:nt,formatter:ke}))};var ie=b.memo(le);E.Countdown=ie;var de=E},15969:function(tt,Qe,te){"use strict";te.d(Qe,{N:function(){return b}});const b=re=>({color:re.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${re.motionDurationSlow}`,"&:focus, &:hover":{color:re.colorLinkHover},"&:active":{color:re.colorLinkActive}})},1710:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return Vl}});var b={},re="rc-table-internal-hook",Pe=te(42978),Fe=te(6089),be=te(34280),xe=te(13697),ue=te(59301),Oe=te(4676);function je(ye){var Ce=ue.createContext(void 0),Ke=function(ut){var st=ut.value,Lt=ut.children,Dt=ue.useRef(st);Dt.current=st;var Ct=ue.useState(function(){return{getValue:function(){return Dt.current},listeners:new Set}}),Xt=(0,Pe.Z)(Ct,1),Wt=Xt[0];return(0,be.Z)(function(){(0,Oe.unstable_batchedUpdates)(function(){Wt.listeners.forEach(function(Vt){Vt(st)})})},[st]),ue.createElement(Ce.Provider,{value:Wt},Lt)};return{Context:Ce,Provider:Ke,defaultValue:ye}}function Ie(ye,Ce){var Ke=(0,Fe.Z)(typeof Ce=="function"?Ce:function(Vt){if(Ce===void 0)return Vt;if(!Array.isArray(Ce))return Vt[Ce];var Bn={};return Ce.forEach(function(Cn){Bn[Cn]=Vt[Cn]}),Bn}),Ve=ue.useContext(ye==null?void 0:ye.Context),ut=Ve||{},st=ut.listeners,Lt=ut.getValue,Dt=ue.useRef();Dt.current=Ke(Ve?Lt():ye==null?void 0:ye.defaultValue);var Ct=ue.useState({}),Xt=(0,Pe.Z)(Ct,2),Wt=Xt[1];return(0,be.Z)(function(){if(!Ve)return;function Vt(Bn){var Cn=Ke(Bn);(0,xe.Z)(Dt.current,Cn,!0)||Wt({})}return st.add(Vt),function(){st.delete(Vt)}},[Ve]),Dt.current}var Ne=te(54476),De=te(8654);function fe(){var ye=ue.createContext(null);function Ce(){return ue.useContext(ye)}function Ke(ut,st){var Lt=(0,De.Yr)(ut),Dt=function(Xt,Wt){var Vt=Lt?{ref:Wt}:{},Bn=ue.useRef(0),Cn=ue.useRef(Xt),Dn=Ce();return Dn!==null?ue.createElement(ut,(0,Ne.Z)({},Xt,Vt)):((!st||st(Cn.current,Xt))&&(Bn.current+=1),Cn.current=Xt,ue.createElement(ye.Provider,{value:Bn.current},ue.createElement(ut,(0,Ne.Z)({},Xt,Vt))))};return Lt?ue.forwardRef(Dt):Dt}function Ve(ut,st){var Lt=(0,De.Yr)(ut),Dt=function(Xt,Wt){var Vt=Lt?{ref:Wt}:{};return Ce(),ue.createElement(ut,(0,Ne.Z)({},Xt,Vt))};return Lt?ue.memo(ue.forwardRef(Dt),st):ue.memo(Dt,st)}return{makeImmutable:Ke,responseImmutable:Ve,useImmutableMark:Ce}}var oe=fe(),a=oe.makeImmutable,E=oe.responseImmutable,x=oe.useImmutableMark,y=fe(),z=y.makeImmutable,ne=y.responseImmutable,ae=y.useImmutableMark,le=je(),ie=le;function de(ye,Ce){var Ke=ue.useRef(0);Ke.current+=1;var Ve=ue.useRef(ye),ut=[];Object.keys(ye||{}).map(function(Lt){var Dt;(ye==null?void 0:ye[Lt])!==((Dt=Ve.current)===null||Dt===void 0?void 0:Dt[Lt])&&ut.push(Lt)}),Ve.current=ye;var st=ue.useRef([]);return ut.length&&(st.current=ut),ue.useDebugValue(Ke.current),ue.useDebugValue(st.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Ke.current,st.current),Ke.current}var se=null,ce=ue.memo(function(){var ye=de();return ue.createElement("h1",null,"Render Times: ",ye)});ce.displayName="RenderBlock";var me=te(76190),ve=te(33885),Ee=te(20068),Je=te(92310),Me=te.n(Je),Ue=te(80547),Le=te(97938),ke=te(48736),nt=ue.createContext({renderWithProps:!1}),pt=nt,dt="RC_TABLE_KEY";function lt(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function Xe(ye){var Ce=[],Ke={};return ye.forEach(function(Ve){for(var ut=Ve||{},st=ut.key,Lt=ut.dataIndex,Dt=st||lt(Lt).join("-")||dt;Ke[Dt];)Dt="".concat(Dt,"_next");Ke[Dt]=!0,Ce.push(Dt)}),Ce}function Pt(ye){return ye!=null}function Ge(ye){return ye&&(0,me.Z)(ye)==="object"&&!Array.isArray(ye)&&!ue.isValidElement(ye)}function Te(ye,Ce,Ke,Ve,ut,st){var Lt=ue.useContext(pt),Dt=ae(),Ct=(0,Ue.Z)(function(){if(Pt(Ve))return[Ve];var Xt=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],Wt=(0,Le.Z)(ye,Xt),Vt=Wt,Bn=void 0;if(ut){var Cn=ut(Wt,ye,Ke);Ge(Cn)?(Vt=Cn.children,Bn=Cn.props,Lt.renderWithProps=!0):Vt=Cn}return[Vt,Bn]},[Dt,ye,Ve,Ce,ut,Ke],function(Xt,Wt){if(st){var Vt=(0,Pe.Z)(Xt,2),Bn=Vt[1],Cn=(0,Pe.Z)(Wt,2),Dn=Cn[1];return st(Dn,Bn)}return Lt.renderWithProps?!0:!(0,xe.Z)(Xt,Wt,!0)});return Ct}function We(ye,Ce,Ke,Ve){var ut=ye+Ce-1;return ye<=Ve&&ut>=Ke}function vt(ye,Ce){return Ie(ie,function(Ke){var Ve=We(ye,Ce||1,Ke.hoverStartRow,Ke.hoverEndRow);return[Ve,Ke.onHover]})}var It=function(Ce){var Ke=Ce.ellipsis,Ve=Ce.rowType,ut=Ce.children,st,Lt=Ke===!0?{showTitle:!0}:Ke;return Lt&&(Lt.showTitle||Ve==="header")&&(typeof ut=="string"||typeof ut=="number"?st=ut.toString():ue.isValidElement(ut)&&typeof ut.props.children=="string"&&(st=ut.props.children)),st};function mt(ye){var Ce,Ke,Ve,ut,st,Lt,Dt,Ct,Xt=ye.component,Wt=ye.children,Vt=ye.ellipsis,Bn=ye.scope,Cn=ye.prefixCls,Dn=ye.className,Un=ye.align,Gn=ye.record,aa=ye.render,Xn=ye.dataIndex,sa=ye.renderIndex,qa=ye.shouldCellUpdate,po=ye.index,za=ye.rowType,io=ye.colSpan,Wo=ye.rowSpan,va=ye.fixLeft,Ga=ye.fixRight,Fa=ye.firstFixLeft,oa=ye.lastFixLeft,ca=ye.firstFixRight,Yt=ye.lastFixRight,rr=ye.appendNode,Ko=ye.additionalProps,Va=Ko===void 0?{}:Ko,er=ye.isSticky,ur="".concat(Cn,"-cell"),gr=Ie(ie,["supportSticky","allColumnsFixedLeft"]),lr=gr.supportSticky,il=gr.allColumnsFixedLeft,Fr=Te(Gn,Xn,sa,Wt,aa,qa),no=(0,Pe.Z)(Fr,2),Al=no[0],Bo=no[1],yo={},Rr=typeof va=="number"&&lr,_l=typeof Ga=="number"&&lr;Rr&&(yo.position="sticky",yo.left=va),_l&&(yo.position="sticky",yo.right=Ga);var bo=(Ce=(Ke=(Ve=Bo==null?void 0:Bo.colSpan)!==null&&Ve!==void 0?Ve:Va.colSpan)!==null&&Ke!==void 0?Ke:io)!==null&&Ce!==void 0?Ce:1,vo=(ut=(st=(Lt=Bo==null?void 0:Bo.rowSpan)!==null&&Lt!==void 0?Lt:Va.rowSpan)!==null&&st!==void 0?st:Wo)!==null&&ut!==void 0?ut:1,Po=vt(po,vo),Ja=(0,Pe.Z)(Po,2),La=Ja[0],Mn=Ja[1],la=function(Ao){var gi;Gn&&Mn(po,po+vo-1),Va==null||(gi=Va.onMouseEnter)===null||gi===void 0||gi.call(Va,Ao)},To=function(Ao){var gi;Gn&&Mn(-1,-1),Va==null||(gi=Va.onMouseLeave)===null||gi===void 0||gi.call(Va,Ao)};if(bo===0||vo===0)return null;var sr=(Dt=Va.title)!==null&&Dt!==void 0?Dt:It({rowType:za,ellipsis:Vt,children:Al}),ui=Me()(ur,Dn,(Ct={},(0,Ee.Z)(Ct,"".concat(ur,"-fix-left"),Rr&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-left-first"),Fa&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-left-last"),oa&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-left-all"),oa&&il&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-right"),_l&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-right-first"),ca&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-right-last"),Yt&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-ellipsis"),Vt),(0,Ee.Z)(Ct,"".concat(ur,"-with-append"),rr),(0,Ee.Z)(Ct,"".concat(ur,"-fix-sticky"),(Rr||_l)&&er&&lr),(0,Ee.Z)(Ct,"".concat(ur,"-row-hover"),!Bo&&La),Ct),Va.className,Bo==null?void 0:Bo.className),Ql={};Un&&(Ql.textAlign=Un);var Ti=(0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)({},yo),Va.style),Ql),Bo==null?void 0:Bo.style),ha=Al;return(0,me.Z)(ha)==="object"&&!Array.isArray(ha)&&!ue.isValidElement(ha)&&(ha=null),Vt&&(oa||ca)&&(ha=ue.createElement("span",{className:"".concat(ur,"-content")},ha)),ue.createElement(Xt,(0,Ne.Z)({},Bo,Va,{className:ui,style:Ti,title:sr,scope:Bn,onMouseEnter:la,onMouseLeave:To,colSpan:bo!==1?bo:null,rowSpan:vo!==1?vo:null}),rr,ha)}var Pn=ue.memo(mt);function Ze(ye,Ce,Ke,Ve,ut,st){var Lt=Ke[ye]||{},Dt=Ke[Ce]||{},Ct,Xt;Lt.fixed==="left"?Ct=Ve.left[ut==="rtl"?Ce:ye]:Dt.fixed==="right"&&(Xt=Ve.right[ut==="rtl"?ye:Ce]);var Wt=!1,Vt=!1,Bn=!1,Cn=!1,Dn=Ke[Ce+1],Un=Ke[ye-1],Gn=!(st!=null&&st.children);if(ut==="rtl"){if(Ct!==void 0){var aa=Un&&Un.fixed==="left";Cn=!aa&&Gn}else if(Xt!==void 0){var Xn=Dn&&Dn.fixed==="right";Bn=!Xn&&Gn}}else if(Ct!==void 0){var sa=Dn&&Dn.fixed==="left";Wt=!sa&&Gn}else if(Xt!==void 0){var qa=Un&&Un.fixed==="right";Vt=!qa&&Gn}return{fixLeft:Ct,fixRight:Xt,lastFixLeft:Wt,firstFixRight:Vt,lastFixRight:Bn,firstFixLeft:Cn,isSticky:Ve.isSticky}}var Ft=ue.createContext({}),Ut=Ft;function dn(ye){var Ce=ye.className,Ke=ye.index,Ve=ye.children,ut=ye.colSpan,st=ut===void 0?1:ut,Lt=ye.rowSpan,Dt=ye.align,Ct=Ie(ie,["prefixCls","direction"]),Xt=Ct.prefixCls,Wt=Ct.direction,Vt=ue.useContext(Ut),Bn=Vt.scrollColumnIndex,Cn=Vt.stickyOffsets,Dn=Vt.flattenColumns,Un=Vt.columns,Gn=Ke+st-1,aa=Gn+1===Bn?st+1:st,Xn=Ze(Ke,Ke+aa-1,Dn,Cn,Wt,Un==null?void 0:Un[Ke]);return ue.createElement(Pn,(0,Ne.Z)({className:Ce,index:Ke,component:"td",prefixCls:Xt,record:null,dataIndex:null,align:Dt,colSpan:aa,rowSpan:Lt,render:function(){return Ve}},Xn))}var En=te(75931),it=["children"];function ft(ye){var Ce=ye.children,Ke=(0,En.Z)(ye,it);return ue.createElement("tr",Ke,Ce)}function _e(ye){var Ce=ye.children;return Ce}_e.Row=ft,_e.Cell=dn;var Be=_e;function ot(ye){var Ce=ye.children,Ke=ye.stickyOffsets,Ve=ye.flattenColumns,ut=ye.columns,st=Ie(ie,"prefixCls"),Lt=Ve.length-1,Dt=Ve[Lt],Ct=ue.useMemo(function(){return{stickyOffsets:Ke,flattenColumns:Ve,scrollColumnIndex:Dt!=null&&Dt.scrollbar?Lt:null,columns:ut}},[Dt,Ve,Lt,Ke,ut]);return ue.createElement(Ut.Provider,{value:Ct},ue.createElement("tfoot",{className:"".concat(st,"-summary")},Ce))}var ct=ne(ot),Re=Be,we=te(70425),rt=te(29301),$e=te(29194),ze=te(3465),Et=te(75152),An=te(26112);function en(ye,Ce,Ke,Ve,ut,st,Lt){ye.push({record:Ce,indent:Ke,index:Lt});var Dt=st(Ce),Ct=ut==null?void 0:ut.has(Dt);if(Ce&&Array.isArray(Ce[Ve])&&Ct)for(var Xt=0;Xt1?Fa-1:0),ca=1;ca=0;Dt-=1){var Ct=Ce[Dt],Xt=Ke&&Ke[Dt],Wt=Xt&&Xt[Da];if(Ct||Wt||Lt){var Vt=Wt||{},Bn=Vt.columnType,Cn=(0,En.Z)(Vt,Pa);ut.unshift(ue.createElement("col",(0,Ne.Z)({key:Dt,style:{width:Ct}},Cn))),Lt=!0}}return ue.createElement("colgroup",null,ut)}var da=uo,ta=te(94480),Fo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ao(ye,Ce){return(0,ue.useMemo)(function(){for(var Ke=[],Ve=0;Ve1?"colgroup":"col":null,ellipsis:Gn.ellipsis,align:Gn.align,component:Gn.title?st:Lt,prefixCls:Wt,key:Cn[Un]},aa,{additionalProps:Xn,rowType:"header"}))}))}ra.displayName="HeaderRow";var Sa=ra;function $n(ye){var Ce=[];function Ke(Lt,Dt){var Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[Ct]=Ce[Ct]||[];var Xt=Dt,Wt=Lt.filter(Boolean).map(function(Vt){var Bn={key:Vt.key,className:Vt.className||"",children:Vt.title,column:Vt,colStart:Xt},Cn=1,Dn=Vt.children;return Dn&&Dn.length>0&&(Cn=Ke(Dn,Xt,Ct+1).reduce(function(Un,Gn){return Un+Gn},0),Bn.hasSubColumns=!0),"colSpan"in Vt&&(Cn=Vt.colSpan),"rowSpan"in Vt&&(Bn.rowSpan=Vt.rowSpan),Bn.colSpan=Cn,Bn.colEnd=Bn.colStart+Cn-1,Ce[Ct].push(Bn),Xt+=Cn,Cn});return Wt}Ke(ye,0);for(var Ve=Ce.length,ut=function(Dt){Ce[Dt].forEach(function(Ct){!("rowSpan"in Ct)&&!Ct.hasSubColumns&&(Ct.rowSpan=Ve-Dt)})},st=0;st1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ce=="number"?Ce:Ce.endsWith("%")?ye*parseFloat(Ce)/100:null}function Ia(ye,Ce){return ue.useMemo(function(){if(Ce&&Ce>0){var Ke=0,Ve=0;ye.forEach(function(Xt){var Wt=Or(Ce,Xt.width);Wt?Ke+=Wt:Ve+=1});var ut=Ce-Ke,st=Ve,Lt=ut/Ve,Dt=0,Ct=ye.map(function(Xt){var Wt=(0,ve.Z)({},Xt),Vt=Or(Ce,Wt.width);if(Vt)Wt.width=Vt;else{var Bn=Math.floor(Lt);Wt.width=st===1?ut:Bn,ut-=Bn,st-=1}return Dt+=Wt.width,Wt});return[Ct,Dt]}return[ye,Ce]},[ye,Ce])}var xt=["children"],Tt=["fixed"];function wt(ye){return(0,br.Z)(ye).filter(function(Ce){return ue.isValidElement(Ce)}).map(function(Ce){var Ke=Ce.key,Ve=Ce.props,ut=Ve.children,st=(0,En.Z)(Ve,xt),Lt=(0,ve.Z)({key:Ke},st);return ut&&(Lt.children=wt(ut)),Lt})}function In(ye){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ye.filter(function(Ke){return Ke&&(0,me.Z)(Ke)==="object"}).reduce(function(Ke,Ve,ut){var st=Ve.fixed,Lt=st===!0?"left":st,Dt="".concat(Ce,"-").concat(ut),Ct=Ve.children;return Ct&&Ct.length>0?[].concat((0,ta.Z)(Ke),(0,ta.Z)(In(Ct,Dt).map(function(Xt){return(0,ve.Z)({fixed:Lt},Xt)}))):[].concat((0,ta.Z)(Ke),[(0,ve.Z)((0,ve.Z)({key:Dt},Ve),{},{fixed:Lt})])},[])}function na(ye){for(var Ce=!0,Ke=0;Ke=0;st-=1){var Lt=ye[st];if(ut&&Lt.fixed!=="right")ut=!1;else if(!ut&&Lt.fixed==="right"){warning(!1,"Index ".concat(st+1," of `columns` missing `fixed='right'` prop."));break}}}function Hn(ye){return ye.map(function(Ce){var Ke=Ce.fixed,Ve=(0,En.Z)(Ce,Tt),ut=Ke;return Ke==="left"?ut="right":Ke==="right"&&(ut="left"),(0,ve.Z)({fixed:ut},Ve)})}function nr(ye,Ce){var Ke=ye.prefixCls,Ve=ye.columns,ut=ye.children,st=ye.expandable,Lt=ye.expandedKeys,Dt=ye.columnTitle,Ct=ye.getRowKey,Xt=ye.onTriggerExpand,Wt=ye.expandIcon,Vt=ye.rowExpandable,Bn=ye.expandIconColumnIndex,Cn=ye.direction,Dn=ye.expandRowByClick,Un=ye.columnWidth,Gn=ye.fixed,aa=ye.scrollWidth,Xn=ue.useMemo(function(){return Ve||wt(ut)},[Ve,ut]),sa=ue.useMemo(function(){if(st){var Ga,Fa=Xn.slice();if(!Fa.includes(b)){var oa=Bn||0;oa>=0&&Fa.splice(oa,0,b)}var ca=Fa.indexOf(b);Fa=Fa.filter(function(Va,er){return Va!==b||er===ca});var Yt=Xn[ca],rr;(Gn==="left"||Gn)&&!Bn?rr="left":(Gn==="right"||Gn)&&Bn===Xn.length?rr="right":rr=Yt?Yt.fixed:null;var Ko=(Ga={},(0,Ee.Z)(Ga,Da,{className:"".concat(Ke,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ee.Z)(Ga,"title",Dt),(0,Ee.Z)(Ga,"fixed",rr),(0,Ee.Z)(Ga,"className","".concat(Ke,"-row-expand-icon-cell")),(0,Ee.Z)(Ga,"width",Un),(0,Ee.Z)(Ga,"render",function(er,ur,gr){var lr=Ct(ur,gr),il=Lt.has(lr),Fr=Vt?Vt(ur):!0,no=Wt({prefixCls:Ke,expanded:il,expandable:Fr,record:ur,onExpand:Xt});return Dn?ue.createElement("span",{onClick:function(Bo){return Bo.stopPropagation()}},no):no}),Ga);return Fa.map(function(Va){return Va===b?Ko:Va})}return Xn.filter(function(Va){return Va!==b})},[st,Xn,Ct,Lt,Wt,Cn]),qa=ue.useMemo(function(){var Ga=sa;return Ce&&(Ga=Ce(Ga)),Ga.length||(Ga=[{render:function(){return null}}]),Ga},[Ce,sa,Cn]),po=ue.useMemo(function(){return Cn==="rtl"?Hn(In(qa)):In(qa)},[qa,Cn,aa]),za=Ia(po,aa),io=(0,Pe.Z)(za,2),Wo=io[0],va=io[1];return[qa,Wo,va]}var Oa=nr;function oo(ye){var Ce,Ke=ye.prefixCls,Ve=ye.record,ut=ye.onExpand,st=ye.expanded,Lt=ye.expandable,Dt="".concat(Ke,"-row-expand-icon");if(!Lt)return ue.createElement("span",{className:Me()(Dt,"".concat(Ke,"-row-spaced"))});var Ct=function(Wt){ut(Ve,Wt),Wt.stopPropagation()};return ue.createElement("span",{className:Me()(Dt,(Ce={},(0,Ee.Z)(Ce,"".concat(Ke,"-row-expanded"),st),(0,Ee.Z)(Ce,"".concat(Ke,"-row-collapsed"),!st),Ce)),onClick:Ct})}function Ar(ye,Ce,Ke){var Ve=[];function ut(st){(st||[]).forEach(function(Lt,Dt){Ve.push(Ce(Lt,Dt)),ut(Lt[Ke])})}return ut(ye),Ve}function to(ye,Ce,Ke){var Ve=gn(ye),ut=Ve.expandIcon,st=Ve.expandedRowKeys,Lt=Ve.defaultExpandedRowKeys,Dt=Ve.defaultExpandAllRows,Ct=Ve.expandedRowRender,Xt=Ve.onExpand,Wt=Ve.onExpandedRowsChange,Vt=Ve.childrenColumnName,Bn=ut||oo,Cn=Vt||"children",Dn=ue.useMemo(function(){return Ct?"row":ye.expandable&&ye.internalHooks===re&&ye.expandable.__PARENT_RENDER_ICON__||Ce.some(function(po){return po&&(0,me.Z)(po)==="object"&&po[Cn]})?"nest":!1},[!!Ct,Ce]),Un=ue.useState(function(){return Lt||(Dt?Ar(Ce,Ke,Cn):[])}),Gn=(0,Pe.Z)(Un,2),aa=Gn[0],Xn=Gn[1],sa=ue.useMemo(function(){return new Set(st||aa||[])},[st,aa]),qa=ue.useCallback(function(po){var za=Ke(po,Ce.indexOf(po)),io,Wo=sa.has(za);Wo?(sa.delete(za),io=(0,ta.Z)(sa)):io=[].concat((0,ta.Z)(sa),[za]),Xn(io),Xt&&Xt(!Wo,po),Wt&&Wt(io)},[Ke,sa,Ce,Xt,Wt]);return[Ve,Dn,sa,Bn,Cn,qa]}function kn(ye,Ce,Ke,Ve){var ut=ye.map(function(st,Lt){return Ze(Lt,Lt,ye,Ce,Ke,Ve==null?void 0:Ve[Lt])});return(0,Ue.Z)(function(){return ut},[ut],function(st,Lt){return!(0,xe.Z)(st,Lt)})}function dr(ye){var Ce=(0,ue.useRef)(ye),Ke=(0,ue.useState)({}),Ve=(0,Pe.Z)(Ke,2),ut=Ve[1],st=(0,ue.useRef)(null),Lt=(0,ue.useRef)([]);function Dt(Ct){Lt.current.push(Ct);var Xt=Promise.resolve();st.current=Xt,Xt.then(function(){if(st.current===Xt){var Wt=Lt.current,Vt=Ce.current;Lt.current=[],Wt.forEach(function(Bn){Ce.current=Bn(Ce.current)}),st.current=null,Vt!==Ce.current&&ut({})}})}return(0,ue.useEffect)(function(){return function(){st.current=null}},[]),[Ce.current,Dt]}function Wr(ye){var Ce=(0,ue.useRef)(ye||null),Ke=(0,ue.useRef)();function Ve(){window.clearTimeout(Ke.current)}function ut(Lt){Ce.current=Lt,Ve(),Ke.current=window.setTimeout(function(){Ce.current=null,Ke.current=void 0},100)}function st(){return Ce.current}return(0,ue.useEffect)(function(){return Ve},[]),[ut,st]}function xr(){var ye=ue.useState(-1),Ce=(0,Pe.Z)(ye,2),Ke=Ce[0],Ve=Ce[1],ut=ue.useState(-1),st=(0,Pe.Z)(ut,2),Lt=st[0],Dt=st[1],Ct=ue.useCallback(function(Xt,Wt){Ve(Xt),Dt(Wt)},[]);return[Ke,Lt,Ct]}var Vo=te(47273),St=(0,Vo.Z)()?window:null;function pn(ye,Ce){var Ke=(0,me.Z)(ye)==="object"?ye:{},Ve=Ke.offsetHeader,ut=Ve===void 0?0:Ve,st=Ke.offsetSummary,Lt=st===void 0?0:st,Dt=Ke.offsetScroll,Ct=Dt===void 0?0:Dt,Xt=Ke.getContainer,Wt=Xt===void 0?function(){return St}:Xt,Vt=Wt()||St;return ue.useMemo(function(){var Bn=!!ye;return{isSticky:Bn,stickyClassName:Bn?"".concat(Ce,"-sticky-holder"):"",offsetHeader:ut,offsetSummary:Lt,offsetScroll:Ct,container:Vt}},[Ct,ut,Lt,Ce,Vt])}function vn(ye,Ce,Ke){var Ve=(0,ue.useMemo)(function(){for(var ut=[],st=[],Lt=0,Dt=0,Ct=0;Ct=Vt&&(Va=Vt-Bn),Lt({scrollLeft:Va/Vt*(Wt+2)}),Xn.current.x=ca.pageX},Ga=function(){if(st.current){var ca=(0,yn.os)(st.current).top,Yt=ca+st.current.offsetHeight,rr=Ct===window?document.documentElement.scrollTop+window.innerHeight:(0,yn.os)(Ct).top+Ct.clientHeight;Yt-(0,Et.Z)()<=rr||ca>=rr-Dt?aa(function(Ko){return(0,ve.Z)((0,ve.Z)({},Ko),{},{isHiddenScrollBar:!0})}):aa(function(Ko){return(0,ve.Z)((0,ve.Z)({},Ko),{},{isHiddenScrollBar:!1})})}},Fa=function(ca){aa(function(Yt){return(0,ve.Z)((0,ve.Z)({},Yt),{},{scrollLeft:ca/Wt*Vt||0})})};return ue.useImperativeHandle(Ke,function(){return{setScrollLeft:Fa}}),ue.useEffect(function(){var oa=(0,hn.Z)(document.body,"mouseup",io,!1),ca=(0,hn.Z)(document.body,"mousemove",va,!1);return Ga(),function(){oa.remove(),ca.remove()}},[Bn,po]),ue.useEffect(function(){var oa=(0,hn.Z)(Ct,"scroll",Ga,!1),ca=(0,hn.Z)(window,"resize",Ga,!1);return function(){oa.remove(),ca.remove()}},[Ct]),ue.useEffect(function(){Gn.isHiddenScrollBar||aa(function(oa){var ca=st.current;return ca?(0,ve.Z)((0,ve.Z)({},oa),{},{scrollLeft:ca.scrollLeft/ca.scrollWidth*ca.clientWidth}):oa})},[Gn.isHiddenScrollBar]),Wt<=Vt||!Bn||Gn.isHiddenScrollBar?null:ue.createElement("div",{style:{height:(0,Et.Z)(),width:Vt,bottom:Dt},className:"".concat(Xt,"-sticky-scroll")},ue.createElement("div",{onMouseDown:Wo,ref:Cn,className:Me()("".concat(Xt,"-sticky-scroll-bar"),(0,Ee.Z)({},"".concat(Xt,"-sticky-scroll-bar-active"),po)),style:{width:"".concat(Bn,"px"),transform:"translate3d(".concat(Gn.scrollLeft,"px, 0, 0)")}}))},Aa=ue.forwardRef(fa);function tn(ye){return null}var Sr=tn;function Nr(ye){return null}var qr=Nr,Cr="rc-table",Jn=[],Ta={};function Do(){return"No Data"}function wa(ye){var Ce,Ke=(0,ve.Z)({rowKey:"key",prefixCls:Cr,emptyText:Do},ye),Ve=Ke.prefixCls,ut=Ke.className,st=Ke.rowClassName,Lt=Ke.style,Dt=Ke.data,Ct=Ke.rowKey,Xt=Ke.scroll,Wt=Ke.tableLayout,Vt=Ke.direction,Bn=Ke.title,Cn=Ke.footer,Dn=Ke.summary,Un=Ke.caption,Gn=Ke.id,aa=Ke.showHeader,Xn=Ke.components,sa=Ke.emptyText,qa=Ke.onRow,po=Ke.onHeaderRow,za=Ke.internalHooks,io=Ke.transformColumns,Wo=Ke.internalRefs,va=Ke.tailor,Ga=Ke.sticky,Fa=Dt||Jn,oa=!!Fa.length,ca=za===re,Yt=ue.useCallback(function(ul,kl){return(0,Le.Z)(Xn,ul)||kl},[Xn]),rr=ue.useMemo(function(){return typeof Ct=="function"?Ct:function(ul){var kl=ul&&ul[Ct];return kl}},[Ct]),Ko=Yt(["body"]),Va=xr(),er=(0,Pe.Z)(Va,3),ur=er[0],gr=er[1],lr=er[2],il=to(Ke,Fa,rr),Fr=(0,Pe.Z)(il,6),no=Fr[0],Al=Fr[1],Bo=Fr[2],yo=Fr[3],Rr=Fr[4],_l=Fr[5],bo=Xt==null?void 0:Xt.x,vo=ue.useState(0),Po=(0,Pe.Z)(vo,2),Ja=Po[0],La=Po[1],Mn=Oa((0,ve.Z)((0,ve.Z)((0,ve.Z)({},Ke),no),{},{expandable:!!no.expandedRowRender,columnTitle:no.columnTitle,expandedKeys:Bo,getRowKey:rr,onTriggerExpand:_l,expandIcon:yo,expandIconColumnIndex:no.expandIconColumnIndex,direction:Vt,scrollWidth:ca&&va&&typeof bo=="number"?bo:null}),ca?io:null),la=(0,Pe.Z)(Mn,3),To=la[0],sr=la[1],ui=la[2],Ql=ui!=null?ui:bo,Ti=ue.useMemo(function(){return{columns:To,flattenColumns:sr}},[To,sr]),ha=ue.useRef(),Dl=ue.useRef(),Ao=ue.useRef(),gi=ue.useRef(),li=ue.useRef(),Gr=ue.useState(!1),Xr=(0,Pe.Z)(Gr,2),wl=Xr[0],cr=Xr[1],El=ue.useState(!1),Br=(0,Pe.Z)(El,2),ti=Br[0],si=Br[1],nl=dr(new Map),mo=(0,Pe.Z)(nl,2),wo=mo[0],mi=mo[1],eu=Xe(sr),zi=eu.map(function(ul){return wo.get(ul)}),Di=ue.useMemo(function(){return zi},[zi.join("_")]),Pi=qt(Di,sr.length,Vt),Gl=Xt&&Pt(Xt.y),Rl=Xt&&Pt(Ql)||!!no.fixed,Oi=Rl&&sr.some(function(ul){var kl=ul.fixed;return kl}),mu=ue.useRef(),wi=pn(Ga,Ve),_i=wi.isSticky,Nu=wi.offsetHeader,ls=wi.offsetSummary,kr=wi.offsetScroll,Sl=wi.stickyClassName,fi=wi.container,Ol=ue.useMemo(function(){return Dn==null?void 0:Dn(Fa)},[Dn,Fa]),Ai=(Gl||_i)&&ue.isValidElement(Ol)&&Ol.type===Be&&Ol.props.fixed,xi,pi,Qi;Gl&&(pi={overflowY:"scroll",maxHeight:Xt.y}),Rl&&(xi={overflowX:"auto"},Gl||(pi={overflowY:"hidden"}),Qi={width:Ql===!0?"auto":Ql,minWidth:"100%"});var is=ue.useCallback(function(ul,kl){(0,$e.Z)(ha.current)&&mi(function(Zi){if(Zi.get(ul)!==kl){var tu=new Map(Zi);return tu.set(ul,kl),tu}return Zi})},[]),_s=Wr(null),us=(0,Pe.Z)(_s,2),Gs=us[0],Iu=us[1];function Tu(ul,kl){kl&&(typeof kl=="function"?kl(ul):kl.scrollLeft!==ul&&(kl.scrollLeft=ul,kl.scrollLeft!==ul&&setTimeout(function(){kl.scrollLeft=ul},0)))}var fu=(0,Fe.Z)(function(ul){var kl=ul.currentTarget,Zi=ul.scrollLeft,tu=Vt==="rtl",Ji=typeof Zi=="number"?Zi:kl.scrollLeft,Is=kl||Ta;if(!Iu()||Iu()===Is){var Ss;Gs(Is),Tu(Ji,Dl.current),Tu(Ji,Ao.current),Tu(Ji,li.current),Tu(Ji,(Ss=mu.current)===null||Ss===void 0?void 0:Ss.setScrollLeft)}var qu=kl||Dl.current;if(qu){var ys=qu.scrollWidth,$u=qu.clientWidth;if(ys===$u){cr(!1),si(!1);return}tu?(cr(-Ji0)):(cr(Ji>0),si(Ji1?Un-ca:0,rr=(0,ve.Z)((0,ve.Z)((0,ve.Z)({},io),Ct),{},{flex:"0 0 ".concat(ca,"px"),width:"".concat(ca,"px"),marginRight:Yt,pointerEvents:"auto"}),Ko=ue.useMemo(function(){return Wt?Fa<=1:va===0||Fa===0||Fa>1},[Fa,va,Wt]);Ko?rr.visibility="hidden":Wt&&(rr.height=Vt==null?void 0:Vt(Fa));var Va=Ko?function(){return null}:Bn,er={};return(Fa===0||va===0)&&(er.rowSpan=1,er.colSpan=1),ue.createElement(Pn,(0,Ne.Z)({className:Me()(Dn,Xt),ellipsis:Ke.ellipsis,align:Ke.align,scope:Ke.rowScope,component:"div",prefixCls:Ce.prefixCls,key:sa,record:Dt,index:st,renderIndex:Lt,dataIndex:Cn,render:Va,shouldCellUpdate:Ke.shouldCellUpdate},qa,{appendNode:po,additionalProps:(0,ve.Z)((0,ve.Z)({},za),{},{style:rr},er)}))}var ci=Ur,Yl=["data","index","className","rowKey","style","extra","getHeight"],vi=ue.forwardRef(function(ye,Ce){var Ke=ye.data,Ve=ye.index,ut=ye.className,st=ye.rowKey,Lt=ye.style,Dt=ye.extra,Ct=ye.getHeight,Xt=(0,En.Z)(ye,Yl),Wt=Ke.record,Vt=Ke.indent,Bn=Ke.index,Cn=Ie(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Dn=Cn.scrollX,Un=Cn.flattenColumns,Gn=Cn.prefixCls,aa=Cn.fixColumn,Xn=Cn.componentWidth,sa=Ye(Wt,st,Ve,Vt),qa=sa.rowSupportExpand,po=sa.expanded,za=sa.rowProps,io=sa.expandedRowRender,Wo=sa.expandedRowClassName,va;if(qa&&po){var Ga=io(Wt,Ve,Vt+1,po),Fa=Wo==null?void 0:Wo(Wt,Ve,Vt),oa={};aa&&(oa={style:(0,Ee.Z)({},"--virtual-width","".concat(Xn,"px"))});var ca="".concat(Gn,"-expanded-row-cell");va=ue.createElement("div",{className:Me()("".concat(Gn,"-expanded-row"),"".concat(Gn,"-expanded-row-level-").concat(Vt+1),Fa)},ue.createElement(Pn,{component:"div",prefixCls:Gn,className:Me()(ca,(0,Ee.Z)({},"".concat(ca,"-fixed"),aa)),additionalProps:oa},Ga))}var Yt=(0,ve.Z)((0,ve.Z)({},Lt),{},{width:Dn});Dt&&(Yt.position="absolute",Yt.pointerEvents="none");var rr=ue.createElement("div",(0,Ne.Z)({},za,Xt,{ref:qa?null:Ce,className:Me()(ut,"".concat(Gn,"-row"),za==null?void 0:za.className,(0,Ee.Z)({},"".concat(Gn,"-row-extra"),Dt)),style:(0,ve.Z)((0,ve.Z)({},Yt),za==null?void 0:za.style)}),Un.map(function(Ko,Va){return ue.createElement(ci,{key:Va,rowInfo:sa,column:Ko,colIndex:Va,indent:Vt,index:Ve,renderIndex:Bn,record:Wt,inverse:Dt,getHeight:Ct})}));return qa?ue.createElement("div",{ref:Ce},rr,va):rr}),Ni=ne(vi),ql=Ni,Bl=ue.forwardRef(function(ye,Ce){var Ke=ye.data,Ve=ye.onScroll,ut=Ie(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),st=ut.flattenColumns,Lt=ut.onColumnResize,Dt=ut.getRowKey,Ct=ut.expandedKeys,Xt=ut.prefixCls,Wt=ut.childrenColumnName,Vt=ut.emptyNode,Bn=ut.scrollX,Cn=Ie($r),Dn=Cn.scrollY,Un=Cn.listItemHeight,Gn=ue.useRef(),aa=_t(Ke,Wt,Ct,Dt),Xn=ue.useMemo(function(){var va=0;return st.map(function(Ga){var Fa=Ga.width,oa=Ga.key;return va+=Fa,[oa,Fa,va]})},[st]),sa=ue.useMemo(function(){return Xn.map(function(va){return va[2]})},[Xn]);ue.useEffect(function(){Xn.forEach(function(va){var Ga=(0,Pe.Z)(va,2),Fa=Ga[0],oa=Ga[1];Lt(Fa,oa)})},[Xn]),ue.useImperativeHandle(Ce,function(){var va={};return Object.defineProperty(va,"scrollLeft",{get:function(){var Fa;return((Fa=Gn.current)===null||Fa===void 0?void 0:Fa.getScrollInfo().x)||0},set:function(Fa){var oa;(oa=Gn.current)===null||oa===void 0||oa.scrollTo({left:Fa})}}),va});var qa=function(Ga,Fa){var oa,ca=(oa=aa[Fa])===null||oa===void 0?void 0:oa.record,Yt=Ga.onCell;if(Yt){var rr,Ko=Yt(ca,Fa);return(rr=Ko==null?void 0:Ko.rowSpan)!==null&&rr!==void 0?rr:1}return 1},po=function(Ga){var Fa=Ga.start,oa=Ga.end,ca=Ga.getSize,Yt=Ga.offsetY;if(oa<0)return null;for(var rr=st.filter(function(bo){return qa(bo,Fa)===0}),Ko=Fa,Va=function(vo){if(rr=rr.filter(function(Po){return qa(Po,vo)===0}),!rr.length)return Ko=vo,"break"},er=Fa;er>=0;er-=1){var ur=Va(er);if(ur==="break")break}for(var gr=st.filter(function(bo){return qa(bo,oa)!==1}),lr=oa,il=function(vo){if(gr=gr.filter(function(Po){return qa(Po,vo)!==1}),!gr.length)return lr=Math.max(vo-1,oa),"break"},Fr=oa;Fr1})&&Al.push(vo)},yo=Ko;yo<=lr;yo+=1)var Rr=Bo(yo);var _l=Al.map(function(bo){var vo=aa[bo],Po=Dt(vo.record,bo),Ja=function(la){var To=bo+la-1,sr=Dt(aa[To].record,To),ui=ca(Po,sr);return ui.bottom-ui.top},La=ca(Po);return ue.createElement(ql,{key:bo,data:vo,rowKey:Po,index:bo,style:{top:-Yt+La.top},extra:!0,getHeight:Ja})});return _l},za=ue.useMemo(function(){return{columnsOffset:sa}},[sa]),io="".concat(Xt,"-tbody"),Wo;return aa.length?Wo=ue.createElement(Yr.Z,{fullHeight:!1,ref:Gn,className:Me()(io,"".concat(io,"-virtual")),height:Dn,itemHeight:Un||24,data:aa,itemKey:function(Ga){return Dt(Ga.record)},scrollWidth:Bn,onVirtualScroll:function(Ga){var Fa=Ga.x;Ve({scrollLeft:Fa})},extraRender:po},function(va,Ga,Fa){var oa=Dt(va.record,Ga);return ue.createElement(ql,(0,Ne.Z)({data:va,rowKey:oa,index:Ga},Fa))}):Wo=ue.createElement("div",{className:Me()("".concat(Xt,"-placeholder"))},ue.createElement(Pn,{component:"div",prefixCls:Xt},Vt)),ue.createElement(ii.Provider,{value:za},Wo)}),di=ne(Bl),Ii=di,Li=function(Ce,Ke){var Ve=Ke.ref,ut=Ke.onScroll;return ue.createElement(Ii,{ref:Ve,data:Ce,onScroll:ut})},Si=100;function ai(ye){var Ce=ye.columns,Ke=ye.scroll,Ve=ye.prefixCls,ut=Ve===void 0?Cr:Ve,st=ye.className,Lt=ye.listItemHeight,Dt=Ke||{},Ct=Dt.x,Xt=Dt.y;typeof Ct!="number"&&(Ct=((Ce||[]).length+1)*Si),typeof Xt!="number"&&(Xt=500);var Wt=ue.useMemo(function(){return{scrollY:Xt,listItemHeight:Lt}},[Xt,Lt]);return ue.createElement($r.Provider,{value:Wt},ue.createElement(zo,(0,Ne.Z)({},ye,{className:Me()(st,"".concat(ut,"-virtual")),scroll:(0,ve.Z)((0,ve.Z)({},Ke),{},{x:Ct}),components:{body:Li},columns:Ce,internalHooks:re,tailor:!0})))}function hi(ye){return z(ai,ye)}var pr=hi(),fl=null;function bl(ye){return null}var oi=bl;function $l(ye){return null}var Ci=$l,Xi=te(2738),Yi=te(68031),Il=te(36355),Tl=te(93891),Ri=te(19716),Rn=te(8628),uu=te(31724),su=te(58421),So=te(71418),Ba=te(88088);function Ya(ye){return function(Ke){let{prefixCls:Ve,onExpand:ut,record:st,expanded:Lt,expandable:Dt}=Ke;const Ct=`${Ve}-row-expand-icon`;return ue.createElement("button",{type:"button",onClick:Xt=>{ut(st,Xt),Xt.stopPropagation()},className:Me()(Ct,{[`${Ct}-spaced`]:!Dt,[`${Ct}-expanded`]:Dt&&Lt,[`${Ct}-collapsed`]:Dt&&!Lt}),"aria-label":Lt?ye.collapse:ye.expand,"aria-expanded":Lt})}}var Ha=Ya;function Ir(ye,Ce){return"key"in ye&&ye.key!==void 0&&ye.key!==null?ye.key:ye.dataIndex?Array.isArray(ye.dataIndex)?ye.dataIndex.join("."):ye.dataIndex:Ce}function pl(ye,Ce){return Ce?`${Ce}-${ye}`:`${ye}`}function Ll(ye,Ce){return typeof ye=="function"?ye(Ce):ye}function el(ye,Ce){const Ke=Ll(ye,Ce);return Object.prototype.toString.call(Ke)==="[object Object]"?"":Ke}var Ul={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"},Kl=Ul,Mi=te(7657),ei=function(Ce,Ke){return ue.createElement(Mi.Z,(0,Ne.Z)({},Ce,{ref:Ke,icon:Kl}))},ir=ue.forwardRef(ei),so=ir,vl=te(56762);function Vr(ye){const Ce=ue.useRef(ye),Ke=(0,vl.Z)();return[()=>Ce.current,Ve=>{Ce.current=Ve,Ke()}]}var Qr=te(3113),Jt=te(24905),Rt=te(38854),sn=te(64165),Yn=te(20834),lo=te(40875),Co=te(5112),Tn=te(17574),Xa=te(47472),Go=te(92832);function hr(ye){let{value:Ce,onChange:Ke,filterSearch:Ve,tablePrefixCls:ut,locale:st}=ye;return Ve?ue.createElement("div",{className:`${ut}-filter-dropdown-search`},ue.createElement(Go.default,{prefix:ue.createElement(Xa.Z,null),placeholder:st.filterSearchPlaceholder,onChange:Ke,value:Ce,htmlSize:1,className:`${ut}-filter-dropdown-search-input`})):null}var Zo=hr,pa=te(10228);const $o=ye=>{const{keyCode:Ce}=ye;Ce===pa.Z.ENTER&&ye.stopPropagation()};var Ml=ue.forwardRef((ye,Ce)=>ue.createElement("div",{className:ye.className,onClick:Ke=>Ke.stopPropagation(),onKeyDown:$o,ref:Ce},ye.children));function Ho(ye){let Ce=[];return(ye||[]).forEach(Ke=>{let{value:Ve,children:ut}=Ke;Ce.push(Ve),ut&&(Ce=[].concat((0,ta.Z)(Ce),(0,ta.Z)(Ho(ut))))}),Ce}function Xo(ye){return ye.some(Ce=>{let{children:Ke}=Ce;return Ke})}function Kr(ye,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(ye.trim().toLowerCase()):!1}function Zr(ye){let{filters:Ce,prefixCls:Ke,filteredKeys:Ve,filterMultiple:ut,searchValue:st,filterSearch:Lt}=ye;return Ce.map((Dt,Ct)=>{const Xt=String(Dt.value);if(Dt.children)return{key:Xt||Ct,label:Dt.text,popupClassName:`${Ke}-dropdown-submenu`,children:Zr({filters:Dt.children,prefixCls:Ke,filteredKeys:Ve,filterMultiple:ut,searchValue:st,filterSearch:Lt})};const Wt=ut?Jt.default:Co.ZP,Vt={key:Dt.value!==void 0?Xt:Ct,label:ue.createElement(ue.Fragment,null,ue.createElement(Wt,{checked:Ve.includes(Xt)}),ue.createElement("span",null,Dt.text))};return st.trim()?typeof Lt=="function"?Lt(st,Dt)?Vt:null:Kr(st,Dt.text)?Vt:null:Vt})}function jl(ye){var Ce,Ke;const{tablePrefixCls:Ve,prefixCls:ut,column:st,dropdownPrefixCls:Lt,columnKey:Dt,filterMultiple:Ct,filterMode:Xt="menu",filterSearch:Wt=!1,filterState:Vt,triggerFilter:Bn,locale:Cn,children:Dn,getPopupContainer:Un}=ye,{filterDropdownOpen:Gn,onFilterDropdownOpenChange:aa,filterResetToDefaultFilteredValue:Xn,defaultFilteredValue:sa,filterDropdownVisible:qa,onFilterDropdownVisibleChange:po}=st,[za,io]=ue.useState(!1),Wo=!!(Vt&&(!((Ce=Vt.filteredKeys)===null||Ce===void 0)&&Ce.length||Vt.forceFiltered)),va=Mn=>{io(Mn),aa==null||aa(Mn),po==null||po(Mn)},Ga=(Ke=Gn!=null?Gn:qa)!==null&&Ke!==void 0?Ke:za,Fa=Vt==null?void 0:Vt.filteredKeys,[oa,ca]=Vr(Fa||[]),Yt=Mn=>{let{selectedKeys:la}=Mn;ca(la)},rr=(Mn,la)=>{let{node:To,checked:sr}=la;Yt(Ct?{selectedKeys:Mn}:{selectedKeys:sr&&To.key?[To.key]:[]})};ue.useEffect(()=>{za&&Yt({selectedKeys:Fa||[]})},[Fa]);const[Ko,Va]=ue.useState([]),er=Mn=>{Va(Mn)},[ur,gr]=ue.useState(""),lr=Mn=>{const{value:la}=Mn.target;gr(la)};ue.useEffect(()=>{za||gr("")},[za]);const il=Mn=>{const la=Mn&&Mn.length?Mn:null;if(la===null&&(!Vt||!Vt.filteredKeys)||(0,xe.Z)(la,Vt==null?void 0:Vt.filteredKeys,!0))return null;Bn({column:st,key:Dt,filteredKeys:la})},Fr=()=>{va(!1),il(oa())},no=function(){let{confirm:Mn,closeDropdown:la}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Mn&&il([]),la&&va(!1),gr(""),ca(Xn?(sa||[]).map(To=>String(To)):[])},Al=function(){let{closeDropdown:Mn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Mn&&va(!1),il(oa())},Bo=Mn=>{Mn&&Fa!==void 0&&ca(Fa||[]),va(Mn),!Mn&&!st.filterDropdown&&Fr()},yo=Me()({[`${Lt}-menu-without-submenu`]:!Xo(st.filters||[])}),Rr=Mn=>{if(Mn.target.checked){const la=Ho(st==null?void 0:st.filters).map(To=>String(To));ca(la)}else ca([])},_l=Mn=>{let{filters:la}=Mn;return(la||[]).map((To,sr)=>{const ui=String(To.value),Ql={title:To.text,key:To.value!==void 0?ui:sr};return To.children&&(Ql.children=_l({filters:To.children})),Ql})},bo=Mn=>{var la;return Object.assign(Object.assign({},Mn),{text:Mn.title,value:Mn.key,children:((la=Mn.children)===null||la===void 0?void 0:la.map(To=>bo(To)))||[]})};let vo;if(typeof st.filterDropdown=="function")vo=st.filterDropdown({prefixCls:`${Lt}-custom`,setSelectedKeys:Mn=>Yt({selectedKeys:Mn}),selectedKeys:oa(),confirm:Al,clearFilters:no,filters:st.filters,visible:Ga,close:()=>{va(!1)}});else if(st.filterDropdown)vo=st.filterDropdown;else{const Mn=oa()||[],la=()=>(st.filters||[]).length===0?ue.createElement(sn.Z,{image:sn.Z.PRESENTED_IMAGE_SIMPLE,description:Cn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Xt==="tree"?ue.createElement(ue.Fragment,null,ue.createElement(Zo,{filterSearch:Wt,value:ur,onChange:lr,tablePrefixCls:Ve,locale:Cn}),ue.createElement("div",{className:`${Ve}-filter-dropdown-tree`},Ct?ue.createElement(Jt.default,{checked:Mn.length===Ho(st.filters).length,indeterminate:Mn.length>0&&Mn.lengthtypeof Wt=="function"?Wt(ur,bo(sr)):Kr(ur,sr.title):void 0}))):ue.createElement(ue.Fragment,null,ue.createElement(Zo,{filterSearch:Wt,value:ur,onChange:lr,tablePrefixCls:Ve,locale:Cn}),ue.createElement(Yn.default,{selectable:!0,multiple:Ct,prefixCls:`${Lt}-menu`,className:yo,onSelect:Yt,onDeselect:Yt,selectedKeys:Mn,getPopupContainer:Un,openKeys:Ko,onOpenChange:er,items:Zr({filters:st.filters||[],filterSearch:Wt,prefixCls:ut,filteredKeys:oa(),filterMultiple:Ct,searchValue:ur})})),To=()=>Xn?(0,xe.Z)((sa||[]).map(sr=>String(sr)),Mn,!0):Mn.length===0;vo=ue.createElement(ue.Fragment,null,la(),ue.createElement("div",{className:`${ut}-dropdown-btns`},ue.createElement(Qr.ZP,{type:"link",size:"small",disabled:To(),onClick:()=>no()},Cn.filterReset),ue.createElement(Qr.ZP,{type:"primary",size:"small",onClick:Fr},Cn.filterConfirm)))}st.filterDropdown&&(vo=ue.createElement(lo.J,{selectable:void 0},vo));const Po=()=>ue.createElement(Ml,{className:`${ut}-dropdown`},vo);let Ja;typeof st.filterIcon=="function"?Ja=st.filterIcon(Wo):st.filterIcon?Ja=st.filterIcon:Ja=ue.createElement(so,null);const{direction:La}=ue.useContext(Il.E_);return ue.createElement("div",{className:`${ut}-column`},ue.createElement("span",{className:`${Ve}-column-title`},Dn),ue.createElement(Rt.Z,{dropdownRender:Po,trigger:["click"],open:Ga,onOpenChange:Bo,getPopupContainer:Un,placement:La==="rtl"?"bottomLeft":"bottomRight"},ue.createElement("span",{role:"button",tabIndex:-1,className:Me()(`${ut}-trigger`,{active:Wo}),onClick:Mn=>{Mn.stopPropagation()}},Ja)))}var Fi=jl;function tl(ye,Ce,Ke){let Ve=[];return(ye||[]).forEach((ut,st)=>{var Lt;const Dt=pl(st,Ke);if(ut.filters||"filterDropdown"in ut||"onFilter"in ut)if("filteredValue"in ut){let Ct=ut.filteredValue;"filterDropdown"in ut||(Ct=(Lt=Ct==null?void 0:Ct.map(String))!==null&&Lt!==void 0?Lt:Ct),Ve.push({column:ut,key:Ir(ut,Dt),filteredKeys:Ct,forceFiltered:ut.filtered})}else Ve.push({column:ut,key:Ir(ut,Dt),filteredKeys:Ce&&ut.defaultFilteredValue?ut.defaultFilteredValue:void 0,forceFiltered:ut.filtered});"children"in ut&&(Ve=[].concat((0,ta.Z)(Ve),(0,ta.Z)(tl(ut.children,Ce,Dt))))}),Ve}function ki(ye,Ce,Ke,Ve,ut,st,Lt,Dt){return Ke.map((Ct,Xt)=>{const Wt=pl(Xt,Dt),{filterMultiple:Vt=!0,filterMode:Bn,filterSearch:Cn}=Ct;let Dn=Ct;if(Dn.filters||Dn.filterDropdown){const Un=Ir(Dn,Wt),Gn=Ve.find(aa=>{let{key:Xn}=aa;return Un===Xn});Dn=Object.assign(Object.assign({},Dn),{title:aa=>ue.createElement(Fi,{tablePrefixCls:ye,prefixCls:`${ye}-filter`,dropdownPrefixCls:Ce,column:Dn,columnKey:Un,filterState:Gn,filterMultiple:Vt,filterMode:Bn,filterSearch:Cn,triggerFilter:st,locale:ut,getPopupContainer:Lt},Ll(Ct.title,aa))})}return"children"in Dn&&(Dn=Object.assign(Object.assign({},Dn),{children:ki(ye,Ce,Dn.children,Ve,ut,st,Lt,Wt)})),Dn})}function qi(ye){const Ce={};return ye.forEach(Ke=>{let{key:Ve,filteredKeys:ut,column:st}=Ke;const{filters:Lt,filterDropdown:Dt}=st;if(Dt)Ce[Ve]=ut||null;else if(Array.isArray(ut)){const Ct=Ho(Lt);Ce[Ve]=Ct.filter(Xt=>ut.includes(String(Xt)))}else Ce[Ve]=null}),Ce}function Ki(ye,Ce){return Ce.reduce((Ke,Ve)=>{const{column:{onFilter:ut,filters:st},filteredKeys:Lt}=Ve;return ut&&Lt&&Lt.length?Ke.filter(Dt=>Lt.some(Ct=>{const Xt=Ho(st),Wt=Xt.findIndex(Bn=>String(Bn)===String(Ct)),Vt=Wt!==-1?Xt[Wt]:Ct;return ut(Vt,Dt)})):Ke},ye)}const hu=ye=>ye.flatMap(Ce=>"children"in Ce?[Ce].concat((0,ta.Z)(hu(Ce.children||[]))):[Ce]);function Hu(ye){let{prefixCls:Ce,dropdownPrefixCls:Ke,mergedColumns:Ve,onFilterChange:ut,getPopupContainer:st,locale:Lt}=ye;const Dt=ue.useMemo(()=>hu(Ve||[]),[Ve]),[Ct,Xt]=ue.useState(()=>tl(Dt,!0)),Wt=ue.useMemo(()=>{const Dn=tl(Dt,!1);if(Dn.length===0)return Dn;let Un=!0,Gn=!0;if(Dn.forEach(aa=>{let{filteredKeys:Xn}=aa;Xn!==void 0?Un=!1:Gn=!1}),Un){const aa=(Dt||[]).map((Xn,sa)=>Ir(Xn,pl(sa)));return Ct.filter(Xn=>{let{key:sa}=Xn;return aa.includes(sa)}).map(Xn=>{const sa=Dt[aa.findIndex(qa=>qa===Xn.key)];return Object.assign(Object.assign({},Xn),{column:Object.assign(Object.assign({},Xn.column),sa),forceFiltered:sa.filtered})})}return Dn},[Dt,Ct]),Vt=ue.useMemo(()=>qi(Wt),[Wt]),Bn=Dn=>{const Un=Wt.filter(Gn=>{let{key:aa}=Gn;return aa!==Dn.key});Un.push(Dn),Xt(Un),ut(qi(Un),Un)};return[Dn=>ki(Ce,Ke,Dn,Wt,Lt,Bn,st),Wt,Vt]}var yi=Hu;function yr(ye,Ce,Ke){const Ve=ue.useRef({});function ut(st){if(!Ve.current||Ve.current.data!==ye||Ve.current.childrenColumnName!==Ce||Ve.current.getRowKey!==Ke){let Dt=function(Ct){Ct.forEach((Xt,Wt)=>{const Vt=Ke(Xt,Wt);Lt.set(Vt,Xt),Xt&&typeof Xt=="object"&&Ce in Xt&&Dt(Xt[Ce]||[])})};const Lt=new Map;Dt(ye),Ve.current={data:ye,childrenColumnName:Ce,kvMap:Lt,getRowKey:Ke}}return Ve.current.kvMap.get(st)}return[ut]}var Cu=te(50371),Fu=function(ye,Ce){var Ke={};for(var Ve in ye)Object.prototype.hasOwnProperty.call(ye,Ve)&&Ce.indexOf(Ve)<0&&(Ke[Ve]=ye[Ve]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Ve=Object.getOwnPropertySymbols(ye);ut{const st=ye[ut];typeof st!="function"&&(Ke[ut]=st)}),Ke}function cu(ye,Ce,Ke){const Ve=Ke&&typeof Ke=="object"?Ke:{},{total:ut=0}=Ve,st=Fu(Ve,["total"]),[Lt,Dt]=(0,ue.useState)(()=>({current:"defaultCurrent"in st?st.defaultCurrent:1,pageSize:"defaultPageSize"in st?st.defaultPageSize:Hi})),Ct=(0,Cu.Z)(Lt,st,{total:ut>0?ut:ye}),Xt=Math.ceil((ut||ye)/Ct.pageSize);Ct.current>Xt&&(Ct.current=Xt||1);const Wt=(Bn,Cn)=>{Dt({current:Bn!=null?Bn:1,pageSize:Cn||Ct.pageSize})},Vt=(Bn,Cn)=>{var Dn;Ke&&((Dn=Ke.onChange)===null||Dn===void 0||Dn.call(Ke,Bn,Cn)),Wt(Bn,Cn),Ce(Bn,Cn||(Ct==null?void 0:Ct.pageSize))};return Ke===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ct),{onChange:Vt}),Wt]}var _u=cu,Gu=te(84105),bi=te(35654),Bu=te(90782),du=te(71430),ns=te(18929);const Vi={},as="SELECT_ALL",Wu="SELECT_INVERT",Eu="SELECT_NONE",Hr=[],xs=(ye,Ce)=>{let Ke=[];return(Ce||[]).forEach(Ve=>{Ke.push(Ve),Ve&&typeof Ve=="object"&&ye in Ve&&(Ke=[].concat((0,ta.Z)(Ke),(0,ta.Z)(xs(ye,Ve[ye]))))}),Ke};var Cs=(ye,Ce)=>{const{preserveSelectedRowKeys:Ke,selectedRowKeys:Ve,defaultSelectedRowKeys:ut,getCheckboxProps:st,onChange:Lt,onSelect:Dt,onSelectAll:Ct,onSelectInvert:Xt,onSelectNone:Wt,onSelectMultiple:Vt,columnWidth:Bn,type:Cn,selections:Dn,fixed:Un,renderCell:Gn,hideSelectAll:aa,checkStrictly:Xn=!0}=Ce||{},{prefixCls:sa,data:qa,pageData:po,getRecordByKey:za,getRowKey:io,expandType:Wo,childrenColumnName:va,locale:Ga,getPopupContainer:Fa}=ye,[oa,ca]=(0,ns.Z)(Ve||ut||Hr,{value:Ve}),Yt=ue.useRef(new Map),rr=(0,ue.useCallback)(bo=>{if(Ke){const vo=new Map;bo.forEach(Po=>{let Ja=za(Po);!Ja&&Yt.current.has(Po)&&(Ja=Yt.current.get(Po)),vo.set(Po,Ja)}),Yt.current=vo}},[za,Ke]);ue.useEffect(()=>{rr(oa)},[oa]);const{keyEntities:Ko}=(0,ue.useMemo)(()=>{if(Xn)return{keyEntities:null};let bo=qa;if(Ke){const vo=new Set(qa.map((Ja,La)=>io(Ja,La))),Po=Array.from(Yt.current).reduce((Ja,La)=>{let[Mn,la]=La;return vo.has(Mn)?Ja:Ja.concat(la)},[]);bo=[].concat((0,ta.Z)(bo),(0,ta.Z)(Po))}return(0,du.I8)(bo,{externalGetKey:io,childrenPropName:va})},[qa,io,Xn,va,Ke]),Va=(0,ue.useMemo)(()=>xs(va,po),[va,po]),er=(0,ue.useMemo)(()=>{const bo=new Map;return Va.forEach((vo,Po)=>{const Ja=io(vo,Po),La=(st?st(vo):null)||{};bo.set(Ja,La)}),bo},[Va,io,st]),ur=(0,ue.useCallback)(bo=>{var vo;return!!(!((vo=er.get(io(bo)))===null||vo===void 0)&&vo.disabled)},[er,io]),[gr,lr]=(0,ue.useMemo)(()=>{if(Xn)return[oa||[],[]];const{checkedKeys:bo,halfCheckedKeys:vo}=(0,Bu.S)(oa,!0,Ko,ur);return[bo||[],vo]},[oa,Xn,Ko,ur]),il=(0,ue.useMemo)(()=>{const bo=Cn==="radio"?gr.slice(0,1):gr;return new Set(bo)},[gr,Cn]),Fr=(0,ue.useMemo)(()=>Cn==="radio"?new Set:new Set(lr),[lr,Cn]),[no,Al]=(0,ue.useState)(null);ue.useEffect(()=>{Ce||ca(Hr)},[!!Ce]);const Bo=(0,ue.useCallback)((bo,vo)=>{let Po,Ja;rr(bo),Ke?(Po=bo,Ja=bo.map(La=>Yt.current.get(La))):(Po=[],Ja=[],bo.forEach(La=>{const Mn=za(La);Mn!==void 0&&(Po.push(La),Ja.push(Mn))})),ca(Po),Lt==null||Lt(Po,Ja,{type:vo})},[ca,za,Lt,Ke]),yo=(0,ue.useCallback)((bo,vo,Po,Ja)=>{if(Dt){const La=Po.map(Mn=>za(Mn));Dt(za(bo),vo,La,Ja)}Bo(Po,"single")},[Dt,za,Bo]),Rr=(0,ue.useMemo)(()=>!Dn||aa?null:(Dn===!0?[as,Wu,Eu]:Dn).map(vo=>vo===as?{key:"all",text:Ga.selectionAll,onSelect(){Bo(qa.map((Po,Ja)=>io(Po,Ja)).filter(Po=>{const Ja=er.get(Po);return!(Ja!=null&&Ja.disabled)||il.has(Po)}),"all")}}:vo===Wu?{key:"invert",text:Ga.selectInvert,onSelect(){const Po=new Set(il);po.forEach((La,Mn)=>{const la=io(La,Mn),To=er.get(la);To!=null&&To.disabled||(Po.has(la)?Po.delete(la):Po.add(la))});const Ja=Array.from(Po);Xt&&Xt(Ja),Bo(Ja,"invert")}}:vo===Eu?{key:"none",text:Ga.selectNone,onSelect(){Wt==null||Wt(),Bo(Array.from(il).filter(Po=>{const Ja=er.get(Po);return Ja==null?void 0:Ja.disabled}),"none")}}:vo).map(vo=>Object.assign(Object.assign({},vo),{onSelect:function(){for(var Po,Ja,La=arguments.length,Mn=new Array(La),la=0;la{var vo;if(!Ce)return bo.filter(Gr=>Gr!==Vi);let Po=(0,ta.Z)(bo);const Ja=new Set(il),La=Va.map(io).filter(Gr=>!er.get(Gr).disabled),Mn=La.every(Gr=>Ja.has(Gr)),la=La.some(Gr=>Ja.has(Gr)),To=()=>{const Gr=[];Mn?La.forEach(wl=>{Ja.delete(wl),Gr.push(wl)}):La.forEach(wl=>{Ja.has(wl)||(Ja.add(wl),Gr.push(wl))});const Xr=Array.from(Ja);Ct==null||Ct(!Mn,Xr.map(wl=>za(wl)),Gr.map(wl=>za(wl))),Bo(Xr,"all"),Al(null)};let sr;if(Cn!=="radio"){let Gr;if(Rr){const Br={getPopupContainer:Fa,items:Rr.map((ti,si)=>{const{key:nl,text:mo,onSelect:wo}=ti;return{key:nl!=null?nl:si,onClick:()=>{wo==null||wo(La)},label:mo}})};Gr=ue.createElement("div",{className:`${sa}-selection-extra`},ue.createElement(Rt.Z,{menu:Br,getPopupContainer:Fa},ue.createElement("span",null,ue.createElement(Gu.Z,null))))}const Xr=Va.map((Br,ti)=>{const si=io(Br,ti),nl=er.get(si)||{};return Object.assign({checked:Ja.has(si)},nl)}).filter(Br=>{let{disabled:ti}=Br;return ti}),wl=!!Xr.length&&Xr.length===Va.length,cr=wl&&Xr.every(Br=>{let{checked:ti}=Br;return ti}),El=wl&&Xr.some(Br=>{let{checked:ti}=Br;return ti});sr=!aa&&ue.createElement("div",{className:`${sa}-selection`},ue.createElement(Jt.default,{checked:wl?cr:!!Va.length&&Mn,indeterminate:wl?!cr&&El:!Mn&&la,onChange:To,disabled:Va.length===0||wl,"aria-label":Gr?"Custom selection":"Select all",skipGroup:!0}),Gr)}let ui;Cn==="radio"?ui=(Gr,Xr,wl)=>{const cr=io(Xr,wl),El=Ja.has(cr);return{node:ue.createElement(Co.ZP,Object.assign({},er.get(cr),{checked:El,onClick:Br=>Br.stopPropagation(),onChange:Br=>{Ja.has(cr)||yo(cr,!0,[cr],Br.nativeEvent)}})),checked:El}}:ui=(Gr,Xr,wl)=>{var cr;const El=io(Xr,wl),Br=Ja.has(El),ti=Fr.has(El),si=er.get(El);let nl;return Wo==="nest"?nl=ti:nl=(cr=si==null?void 0:si.indeterminate)!==null&&cr!==void 0?cr:ti,{node:ue.createElement(Jt.default,Object.assign({},si,{indeterminate:nl,checked:Br,skipGroup:!0,onClick:mo=>mo.stopPropagation(),onChange:mo=>{let{nativeEvent:wo}=mo;const{shiftKey:mi}=wo;let eu=-1,zi=-1;if(mi&&Xn){const Di=new Set([no,El]);La.some((Pi,Gl)=>{if(Di.has(Pi))if(eu===-1)eu=Gl;else return zi=Gl,!0;return!1})}if(zi!==-1&&eu!==zi&&Xn){const Di=La.slice(eu,zi+1),Pi=[];Br?Di.forEach(Rl=>{Ja.has(Rl)&&(Pi.push(Rl),Ja.delete(Rl))}):Di.forEach(Rl=>{Ja.has(Rl)||(Pi.push(Rl),Ja.add(Rl))});const Gl=Array.from(Ja);Vt==null||Vt(!Br,Gl.map(Rl=>za(Rl)),Pi.map(Rl=>za(Rl))),Bo(Gl,"multiple")}else{const Di=gr;if(Xn){const Pi=Br?(0,bi._5)(Di,El):(0,bi.L0)(Di,El);yo(El,!Br,Pi,wo)}else{const Pi=(0,Bu.S)([].concat((0,ta.Z)(Di),[El]),!0,Ko,ur),{checkedKeys:Gl,halfCheckedKeys:Rl}=Pi;let Oi=Gl;if(Br){const mu=new Set(Gl);mu.delete(El),Oi=(0,Bu.S)(Array.from(mu),{checked:!1,halfCheckedKeys:Rl},Ko,ur).checkedKeys}yo(El,!Br,Oi,wo)}}Al(Br?null:El)}})),checked:Br}};const Ql=(Gr,Xr,wl)=>{const{node:cr,checked:El}=ui(Gr,Xr,wl);return Gn?Gn(El,Xr,wl,cr):cr};if(!Po.includes(Vi))if(Po.findIndex(Gr=>{var Xr;return((Xr=Gr[Da])===null||Xr===void 0?void 0:Xr.columnType)==="EXPAND_COLUMN"})===0){const[Gr,...Xr]=Po;Po=[Gr,Vi].concat((0,ta.Z)(Xr))}else Po=[Vi].concat((0,ta.Z)(Po));const Ti=Po.indexOf(Vi);Po=Po.filter((Gr,Xr)=>Gr!==Vi||Xr===Ti);const ha=Po[Ti-1],Dl=Po[Ti+1];let Ao=Un;Ao===void 0&&((Dl==null?void 0:Dl.fixed)!==void 0?Ao=Dl.fixed:(ha==null?void 0:ha.fixed)!==void 0&&(Ao=ha.fixed)),Ao&&ha&&((vo=ha[Da])===null||vo===void 0?void 0:vo.columnType)==="EXPAND_COLUMN"&&ha.fixed===void 0&&(ha.fixed=Ao);const gi=Me()(`${sa}-selection-col`,{[`${sa}-selection-col-with-dropdown`]:Dn&&Cn==="checkbox"}),li={fixed:Ao,width:Bn,className:`${sa}-selection-column`,title:Ce.columnTitle||sr,render:Ql,onCell:Ce.onCell,[Da]:{className:gi}};return Po.map(Gr=>Gr===Vi?li:Gr)},[io,Va,Ce,gr,il,Fr,Bn,Rr,Wo,no,er,Vt,yo,ur]),il]},Fs=te(89489),js=te(59477),os=te(6848);const Mu="ascend",ji="descend";function Ou(ye){return typeof ye.sorter=="object"&&typeof ye.sorter.multiple=="number"?ye.sorter.multiple:!1}function Bs(ye){return typeof ye=="function"?ye:ye&&typeof ye=="object"&&ye.compare?ye.compare:!1}function zs(ye,Ce){return Ce?ye[ye.indexOf(Ce)+1]:ye[0]}function bs(ye,Ce,Ke){let Ve=[];function ut(st,Lt){Ve.push({column:st,key:Ir(st,Lt),multiplePriority:Ou(st),sortOrder:st.sortOrder})}return(ye||[]).forEach((st,Lt)=>{const Dt=pl(Lt,Ke);st.children?("sortOrder"in st&&ut(st,Dt),Ve=[].concat((0,ta.Z)(Ve),(0,ta.Z)(bs(st.children,Ce,Dt)))):st.sorter&&("sortOrder"in st?ut(st,Dt):Ce&&st.defaultSortOrder&&Ve.push({column:st,key:Ir(st,Dt),multiplePriority:Ou(st),sortOrder:st.defaultSortOrder}))}),Ve}function $i(ye,Ce,Ke,Ve,ut,st,Lt,Dt){return(Ce||[]).map((Ct,Xt)=>{const Wt=pl(Xt,Dt);let Vt=Ct;if(Vt.sorter){const Bn=Vt.sortDirections||ut,Cn=Vt.showSorterTooltip===void 0?Lt:Vt.showSorterTooltip,Dn=Ir(Vt,Wt),Un=Ke.find(Wo=>{let{key:va}=Wo;return va===Dn}),Gn=Un?Un.sortOrder:null,aa=zs(Bn,Gn);let Xn;if(Ct.sortIcon)Xn=Ct.sortIcon({sortOrder:Gn});else{const Wo=Bn.includes(Mu)&&ue.createElement(js.Z,{className:Me()(`${ye}-column-sorter-up`,{active:Gn===Mu})}),va=Bn.includes(ji)&&ue.createElement(Fs.Z,{className:Me()(`${ye}-column-sorter-down`,{active:Gn===ji})});Xn=ue.createElement("span",{className:Me()(`${ye}-column-sorter`,{[`${ye}-column-sorter-full`]:!!(Wo&&va)})},ue.createElement("span",{className:`${ye}-column-sorter-inner`,"aria-hidden":"true"},Wo,va))}const{cancelSort:sa,triggerAsc:qa,triggerDesc:po}=st||{};let za=sa;aa===ji?za=po:aa===Mu&&(za=qa);const io=typeof Cn=="object"?Cn:{title:za};Vt=Object.assign(Object.assign({},Vt),{className:Me()(Vt.className,{[`${ye}-column-sort`]:Gn}),title:Wo=>{const va=ue.createElement("div",{className:`${ye}-column-sorters`},ue.createElement("span",{className:`${ye}-column-title`},Ll(Ct.title,Wo)),Xn);return Cn?ue.createElement(os.Z,Object.assign({},io),va):va},onHeaderCell:Wo=>{const va=Ct.onHeaderCell&&Ct.onHeaderCell(Wo)||{},Ga=va.onClick,Fa=va.onKeyDown;va.onClick=Yt=>{Ve({column:Ct,key:Dn,sortOrder:aa,multiplePriority:Ou(Ct)}),Ga==null||Ga(Yt)},va.onKeyDown=Yt=>{Yt.keyCode===pa.Z.ENTER&&(Ve({column:Ct,key:Dn,sortOrder:aa,multiplePriority:Ou(Ct)}),Fa==null||Fa(Yt))};const oa=el(Ct.title,{}),ca=oa==null?void 0:oa.toString();return Gn?va["aria-sort"]=Gn==="ascend"?"ascending":"descending":va["aria-label"]=ca||"",va.className=Me()(va.className,`${ye}-column-has-sorters`),va.tabIndex=0,Ct.ellipsis&&(va.title=(oa!=null?oa:"").toString()),va}})}return"children"in Vt&&(Vt=Object.assign(Object.assign({},Vt),{children:$i(ye,Vt.children,Ke,Ve,ut,st,Lt,Wt)})),Vt})}function co(ye){const{column:Ce,sortOrder:Ke}=ye;return{column:Ce,order:Ke,field:Ce.dataIndex,columnKey:Ce.key}}function Ds(ye){const Ce=ye.filter(Ke=>{let{sortOrder:Ve}=Ke;return Ve}).map(co);return Ce.length===0&&ye.length?Object.assign(Object.assign({},co(ye[ye.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function rs(ye,Ce,Ke){const Ve=Ce.slice().sort((Lt,Dt)=>Dt.multiplePriority-Lt.multiplePriority),ut=ye.slice(),st=Ve.filter(Lt=>{let{column:{sorter:Dt},sortOrder:Ct}=Lt;return Bs(Dt)&&Ct});return st.length?ut.sort((Lt,Dt)=>{for(let Ct=0;Ct{const Dt=Lt[Ke];return Dt?Object.assign(Object.assign({},Lt),{[Ke]:rs(Dt,Ce,Ke)}):Lt}):ut}function Zs(ye){let{prefixCls:Ce,mergedColumns:Ke,onSorterChange:Ve,sortDirections:ut,tableLocale:st,showSorterTooltip:Lt}=ye;const[Dt,Ct]=ue.useState(bs(Ke,!0)),Xt=ue.useMemo(()=>{let Dn=!0;const Un=bs(Ke,!1);if(!Un.length)return Dt;const Gn=[];function aa(sa){Dn?Gn.push(sa):Gn.push(Object.assign(Object.assign({},sa),{sortOrder:null}))}let Xn=null;return Un.forEach(sa=>{Xn===null?(aa(sa),sa.sortOrder&&(sa.multiplePriority===!1?Dn=!1:Xn=!0)):(Xn&&sa.multiplePriority!==!1||(Dn=!1),aa(sa))}),Gn},[Ke,Dt]),Wt=ue.useMemo(()=>{const Dn=Xt.map(Un=>{let{column:Gn,sortOrder:aa}=Un;return{column:Gn,order:aa}});return{sortColumns:Dn,sortColumn:Dn[0]&&Dn[0].column,sortOrder:Dn[0]&&Dn[0].order}},[Xt]);function Vt(Dn){let Un;Dn.multiplePriority===!1||!Xt.length||Xt[0].multiplePriority===!1?Un=[Dn]:Un=[].concat((0,ta.Z)(Xt.filter(Gn=>{let{key:aa}=Gn;return aa!==Dn.key})),[Dn]),Ct(Un),Ve(Ds(Un),Un)}return[Dn=>$i(Ce,Dn,Xt,Vt,ut,st,Lt),Xt,Wt,()=>Ds(Xt)]}function ws(ye,Ce){return ye.map(Ke=>{const Ve=Object.assign({},Ke);return Ve.title=Ll(Ke.title,Ce),"children"in Ve&&(Ve.children=ws(Ve.children,Ce)),Ve})}function Hs(ye){return[ue.useCallback(Ke=>ws(Ke,ye),[ye])]}var Ls=ro((ye,Ce)=>{const{_renderTimes:Ke}=ye,{_renderTimes:Ve}=Ce;return Ke!==Ve}),Su=hi((ye,Ce)=>{const{_renderTimes:Ke}=ye,{_renderTimes:Ve}=Ce;return Ke!==Ve}),gu=te(64993),Yu=te(17313),bu=te(83116),Du=te(37613),Se=ye=>{const{componentCls:Ce}=ye,Ke=`${ye.lineWidth}px ${ye.lineType} ${ye.tableBorderColor}`,Ve=(ut,st,Lt)=>({[`&${Ce}-${ut}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${st}px -${Lt+ye.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Ke,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Ke,borderTop:Ke,[` + > ${Ce}-content, + > ${Ce}-header, + > ${Ce}-body, + > ${Ce}-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:Ke},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ke},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:Ke}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${ye.tablePaddingVertical}px -${ye.tablePaddingHorizontal+ye.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ye.lineWidth,bottom:0,borderInlineEnd:Ke,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[` + > tr${Ce}-expanded-row, + > tr${Ce}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},Ve("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle)),Ve("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:Ke,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ye.lineWidth}px 0 ${ye.lineWidth}px ${ye.tableHeaderBg}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:Ke}}}},qe=ye=>{const{componentCls:Ce}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},Yu.vS),{wordBreak:"keep-all",[` + &${Ce}-cell-fix-left-last, + &${Ce}-cell-fix-right-first + `]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ot=ye=>{const{componentCls:Ce}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ye.colorBgContainer}}}}},At=te(15969),ln=ye=>{const{componentCls:Ce,antCls:Ke,controlInteractiveSize:Ve,motionDurationSlow:ut,lineWidth:st,paddingXS:Lt,lineType:Dt,tableBorderColor:Ct,tableExpandIconBg:Xt,tableExpandColumnWidth:Wt,borderRadius:Vt,fontSize:Bn,fontSizeSM:Cn,lineHeight:Dn,tablePaddingVertical:Un,tablePaddingHorizontal:Gn,tableExpandedRowBg:aa,paddingXXS:Xn}=ye,sa=Ve/2-st,qa=sa*2+st*3,po=`${st}px ${Dt} ${Ct}`,za=Xn-st;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:Wt},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,At.N)(ye)),{position:"relative",float:"left",boxSizing:"border-box",width:qa,height:qa,padding:0,color:"inherit",lineHeight:`${qa}px`,background:Xt,border:po,borderRadius:Vt,transform:`scale(${Ve/qa})`,transition:`all ${ut}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ut} ease-out`,content:'""'},"&::before":{top:sa,insetInlineEnd:za,insetInlineStart:za,height:st},"&::after":{top:za,bottom:za,insetInlineStart:sa,width:st,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:(Bn*Dn-st*3)/2-Math.ceil((Cn*1.4-st*3)/2),marginInlineEnd:Lt},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:aa}},[`${Ke}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Un}px -${Gn}px`,padding:`${Un}px ${Gn}px`}}}},qn=ye=>{const{componentCls:Ce,antCls:Ke,iconCls:Ve,tableFilterDropdownWidth:ut,tableFilterDropdownSearchWidth:st,paddingXXS:Lt,paddingXS:Dt,colorText:Ct,lineWidth:Xt,lineType:Wt,tableBorderColor:Vt,tableHeaderIconColor:Bn,fontSizeSM:Cn,tablePaddingHorizontal:Dn,borderRadius:Un,motionDurationSlow:Gn,colorTextDescription:aa,colorPrimary:Xn,tableHeaderFilterActiveBg:sa,colorTextDisabled:qa,tableFilterDropdownBg:po,tableFilterDropdownHeight:za,controlItemBgHover:io,controlItemBgActive:Wo,boxShadowSecondary:va,filterDropdownMenuBg:Ga}=ye,Fa=`${Ke}-dropdown`,oa=`${Ce}-filter-dropdown`,ca=`${Ke}-tree`,Yt=`${Xt}px ${Wt} ${Vt}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Lt,marginInline:`${Lt}px ${-Dn/2}px`,padding:`0 ${Lt}px`,color:Bn,fontSize:Cn,borderRadius:Un,cursor:"pointer",transition:`all ${Gn}`,"&:hover":{color:aa,background:sa},"&.active":{color:Xn}}}},{[`${Ke}-dropdown`]:{[oa]:Object.assign(Object.assign({},(0,Yu.Wf)(ye)),{minWidth:ut,backgroundColor:po,borderRadius:Un,boxShadow:va,overflow:"hidden",[`${Fa}-menu`]:{maxHeight:za,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ga,"&:empty::after":{display:"block",padding:`${Dt}px 0`,color:qa,fontSize:Cn,textAlign:"center",content:'"Not Found"'}},[`${oa}-tree`]:{paddingBlock:`${Dt}px 0`,paddingInline:Dt,[ca]:{padding:0},[`${ca}-treenode ${ca}-node-content-wrapper:hover`]:{backgroundColor:io},[`${ca}-treenode-checkbox-checked ${ca}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Wo}}},[`${oa}-search`]:{padding:Dt,borderBottom:Yt,"&-input":{input:{minWidth:st},[Ve]:{color:qa}}},[`${oa}-checkall`]:{width:"100%",marginBottom:Lt,marginInlineStart:Lt},[`${oa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Dt-Xt}px ${Dt}px`,overflow:"hidden",borderTop:Yt}})}},{[`${Ke}-dropdown ${oa}, ${oa}-submenu`]:{[`${Ke}-checkbox-wrapper + span`]:{paddingInlineStart:Dt,color:Ct},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ln=ye=>{const{componentCls:Ce,lineWidth:Ke,colorSplit:Ve,motionDurationSlow:ut,zIndexTableFixed:st,tableBg:Lt,zIndexTableSticky:Dt}=ye,Ct=Ve;return{[`${Ce}-wrapper`]:{[` + ${Ce}-cell-fix-left, + ${Ce}-cell-fix-right + `]:{position:"sticky !important",zIndex:st,background:Lt},[` + ${Ce}-cell-fix-left-first::after, + ${Ce}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ke,width:30,transform:"translateX(100%)",transition:`box-shadow ${ut}`,content:'""',pointerEvents:"none"},[`${Ce}-cell-fix-left-all::after`]:{display:"none"},[` + ${Ce}-cell-fix-right-first::after, + ${Ce}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-Ke,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ut}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Dt+1,width:30,transition:`box-shadow ${ut}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ct}`}},[` + ${Ce}-cell-fix-left-first::after, + ${Ce}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${Ct}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ct}`}},[` + ${Ce}-cell-fix-right-first::after, + ${Ce}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${Ct}`}}}}},Kn=ye=>{const{componentCls:Ce,antCls:Ke}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Ke}-pagination`]:{margin:`${ye.margin}px 0`},[`${Ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},bn=ye=>{const{componentCls:Ce,tableRadius:Ke}=ye;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${Ke}px ${Ke}px 0 0`},[`${Ce}-title + ${Ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ce}-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:Ke,borderStartEndRadius:Ke,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ke},"> *:last-child":{borderStartEndRadius:Ke}}},"&-footer":{borderRadius:`0 0 ${Ke}px ${Ke}px`}}}}},ja=ye=>{const{componentCls:Ce}=ye;return{[`${Ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ce}-pagination-left`]:{justifyContent:"flex-end"},[`${Ce}-pagination-right`]:{justifyContent:"flex-start"},[`${Ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ce}-row-indent`]:{float:"right"}}}}},_a=ye=>{const{componentCls:Ce,antCls:Ke,iconCls:Ve,fontSizeIcon:ut,padding:st,paddingXS:Lt,tableHeaderIconColor:Dt,tableHeaderIconColorHover:Ct,tableSelectionColumnWidth:Xt}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:Xt,[`&${Ce}-selection-col-with-dropdown`]:{width:Xt+ut+st/4}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:Xt+Lt*2,[`&${Ce}-selection-col-with-dropdown`]:{width:Xt+ut+st/4+Lt*2}},[` + table tr th${Ce}-selection-column, + table tr td${Ce}-selection-column + `]:{paddingInlineEnd:ye.paddingXS,paddingInlineStart:ye.paddingXS,textAlign:"center",[`${Ke}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:ye.zIndexTableFixed+1},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ye.tablePaddingHorizontal/4}px`,[Ve]:{color:Dt,fontSize:ut,verticalAlign:"baseline","&:hover":{color:Ct}}}}}},Ka=ye=>{const{componentCls:Ce}=ye,Ke=(Ve,ut,st,Lt)=>({[`${Ce}${Ce}-${Ve}`]:{fontSize:Lt,[` + ${Ce}-title, + ${Ce}-footer, + ${Ce}-cell, + ${Ce}-thead > tr > th, + ${Ce}-tbody > tr > th, + ${Ce}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${ut}px ${st}px`},[`${Ce}-filter-trigger`]:{marginInlineEnd:`-${st/2}px`},[`${Ce}-expanded-row-fixed`]:{margin:`-${ut}px -${st}px`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:`-${ut}px`,marginInline:`${ye.tableExpandColumnWidth-st}px -${st}px`}},[`${Ce}-selection-column`]:{paddingInlineStart:`${st/4}px`}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Ke("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle,ye.tableFontSizeMiddle)),Ke("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall,ye.tableFontSizeSmall))}},Dr=ye=>{const{componentCls:Ce,marginXXS:Ke,fontSizeIcon:Ve,tableHeaderIconColor:ut,tableHeaderIconColorHover:st}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,"&:hover":{background:ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ye.colorPrimary},[` + &${Ce}-cell-fix-left:hover, + &${Ce}-cell-fix-right:hover + `]:{background:ye.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:ye.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorter`]:{marginInlineStart:Ke,color:ut,fontSize:0,transition:`color ${ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ve,"&.active":{color:ye.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:st}}}},Lr=ye=>{const{componentCls:Ce,opacityLoading:Ke,tableScrollThumbBg:Ve,tableScrollThumbBgHover:ut,tableScrollThumbSize:st,tableScrollBg:Lt,zIndexTableSticky:Dt,stickyScrollBarBorderRadius:Ct}=ye,Xt=`${ye.lineWidth}px ${ye.lineType} ${ye.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Dt,background:ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${st}px !important`,zIndex:Dt,display:"flex",alignItems:"center",background:Lt,borderTop:Xt,opacity:Ke,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:st,backgroundColor:Ve,borderRadius:Ct,transition:`all ${ye.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ut}}}}}}},ll=ye=>{const{componentCls:Ce,lineWidth:Ke,tableBorderColor:Ve}=ye,ut=`${Ke}px ${ye.lineType} ${Ve}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:ye.zIndexTableFixed,background:ye.tableBg,"> tr":{"> th, > td":{borderBottom:ut}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Ke}px 0 ${Ve}`}}}},zl=ye=>{const{componentCls:Ce}=ye,Ke=`${ye.lineWidth}px ${ye.lineType} ${ye.tableBorderColor}`,Ve=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Ke},[`${Ce}-expanded-row`]:{[`${Ve}${Ve}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ye.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ke,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Ke,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ye.lineWidth,borderInlineStart:Ke}}}}}}};const al=ye=>{const{componentCls:Ce,fontWeightStrong:Ke,tablePaddingVertical:Ve,tablePaddingHorizontal:ut,lineWidth:st,lineType:Lt,tableBorderColor:Dt,tableFontSize:Ct,tableBg:Xt,tableRadius:Wt,tableHeaderTextColor:Vt,motionDurationMid:Bn,tableHeaderBg:Cn,tableHeaderCellSplitColor:Dn,tableRowHoverBg:Un,tableSelectedRowBg:Gn,tableSelectedRowHoverBg:aa,tableFooterTextColor:Xn,tableFooterBg:sa,paddingContentVerticalLG:qa}=ye,po=`${st}px ${Lt} ${Dt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Yu.dF)()),{[Ce]:Object.assign(Object.assign({},(0,Yu.Wf)(ye)),{fontSize:Ct,background:Xt,borderRadius:`${Wt}px ${Wt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Wt}px ${Wt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${Ce}-cell, + ${Ce}-thead > tr > th, + ${Ce}-tbody > tr > th, + ${Ce}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${qa}px ${ut}px`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${Ve}px ${ut}px`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Vt,fontWeight:Ke,textAlign:"start",background:Cn,borderBottom:po,transition:`background ${Bn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ce}-selection-column):not(${Ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Dn,transform:"translateY(-50%)",transition:`background-color ${Bn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Bn}, border-color ${Bn}`,borderBottom:po,[` + > ${Ce}-wrapper:only-child, + > ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child + `]:{[Ce]:{marginBlock:`-${Ve}px`,marginInline:`${ye.tableExpandColumnWidth-ut}px -${ut}px`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Vt,fontWeight:Ke,textAlign:"start",background:Cn,borderBottom:po,transition:`background ${Bn} ease`},[` + &${Ce}-row:hover > th, + &${Ce}-row:hover > td, + > th${Ce}-cell-row-hover, + > td${Ce}-cell-row-hover + `]:{background:Un},[`&${Ce}-row-selected`]:{"> th, > td":{background:Gn},"&:hover > th, &:hover > td":{background:aa}}}},[`${Ce}-footer`]:{padding:`${Ve}px ${ut}px`,color:Xn,background:sa}})}};var zr=(0,bu.Z)("Table",ye=>{const{colorTextHeading:Ce,colorSplit:Ke,colorIcon:Ve,colorIconHover:ut,opacityLoading:st,colorBgContainer:Lt,controlInteractiveSize:Dt,headerBg:Ct,headerColor:Xt,headerSortActiveBg:Wt,headerSortHoverBg:Vt,bodySortBg:Bn,rowHoverBg:Cn,rowSelectedBg:Dn,rowSelectedHoverBg:Un,rowExpandedBg:Gn,cellPaddingBlock:aa,cellPaddingInline:Xn,cellPaddingBlockMD:sa,cellPaddingInlineMD:qa,cellPaddingBlockSM:po,cellPaddingInlineSM:za,borderColor:io,footerBg:Wo,footerColor:va,headerBorderRadius:Ga,cellFontSize:Fa,cellFontSizeMD:oa,cellFontSizeSM:ca,headerSplitColor:Yt,fixedHeaderSortActiveBg:rr,headerFilterHoverBg:Ko,filterDropdownBg:Va,expandIconBg:er,selectionColumnWidth:ur,stickyScrollBarBg:gr}=ye,lr=new gu.C(Ve),il=new gu.C(ut),Fr=2,no=(0,Du.TS)(ye,{tableFontSize:Fa,tableBg:Lt,tableRadius:Ga,tablePaddingVertical:aa,tablePaddingHorizontal:Xn,tablePaddingVerticalMiddle:sa,tablePaddingHorizontalMiddle:qa,tablePaddingVerticalSmall:po,tablePaddingHorizontalSmall:za,tableBorderColor:io,tableHeaderTextColor:Xt,tableHeaderBg:Ct,tableFooterTextColor:va,tableFooterBg:Wo,tableHeaderCellSplitColor:Yt,tableHeaderSortBg:Wt,tableHeaderSortHoverBg:Vt,tableHeaderIconColor:lr.clone().setAlpha(lr.getAlpha()*st).toRgbString(),tableHeaderIconColorHover:il.clone().setAlpha(il.getAlpha()*st).toRgbString(),tableBodySortBg:Bn,tableFixedHeaderSortActiveBg:rr,tableHeaderFilterActiveBg:Ko,tableFilterDropdownBg:Va,tableRowHoverBg:Cn,tableSelectedRowBg:Dn,tableSelectedRowHoverBg:Un,zIndexTableFixed:Fr,zIndexTableSticky:Fr+1,tableFontSizeMiddle:oa,tableFontSizeSmall:ca,tableSelectionColumnWidth:ur,tableExpandIconBg:er,tableExpandColumnWidth:Dt+2*ye.padding,tableExpandedRowBg:Gn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:gr,tableScrollThumbBgHover:Ce,tableScrollBg:Ke});return[al(no),Kn(no),ll(no),Dr(no),qn(no),Se(no),bn(no),ln(no),ll(no),Ot(no),_a(no),Ln(no),Lr(no),qe(no),Ka(no),ja(no),zl(no)]},ye=>{const{colorFillAlter:Ce,colorBgContainer:Ke,colorTextHeading:Ve,colorFillSecondary:ut,colorFillContent:st,controlItemBgActive:Lt,controlItemBgActiveHover:Dt,padding:Ct,paddingSM:Xt,paddingXS:Wt,colorBorderSecondary:Vt,borderRadiusLG:Bn,fontSize:Cn,controlHeight:Dn,colorTextPlaceholder:Un}=ye,Gn=new gu.C(ut).onBackground(Ke).toHexShortString(),aa=new gu.C(st).onBackground(Ke).toHexShortString(),Xn=new gu.C(Ce).onBackground(Ke).toHexShortString();return{headerBg:Xn,headerColor:Ve,headerSortActiveBg:Gn,headerSortHoverBg:aa,bodySortBg:Xn,rowHoverBg:Xn,rowSelectedBg:Lt,rowSelectedHoverBg:Dt,rowExpandedBg:Ce,cellPaddingBlock:Ct,cellPaddingInline:Ct,cellPaddingBlockMD:Xt,cellPaddingInlineMD:Wt,cellPaddingBlockSM:Wt,cellPaddingInlineSM:Wt,borderColor:Vt,headerBorderRadius:Bn,footerBg:Xn,footerColor:Ve,cellFontSize:Cn,cellFontSizeMD:Cn,cellFontSizeSM:Cn,headerSplitColor:Vt,fixedHeaderSortActiveBg:Gn,headerFilterHoverBg:st,filterDropdownMenuBg:Ke,filterDropdownBg:Ke,expandIconBg:Ke,selectionColumnWidth:Dn,stickyScrollBarBg:Un,stickyScrollBarBorderRadius:100}});const _r=[],hl=(ye,Ce)=>{const{prefixCls:Ke,className:Ve,rootClassName:ut,style:st,size:Lt,bordered:Dt,dropdownPrefixCls:Ct,dataSource:Xt,pagination:Wt,rowSelection:Vt,rowKey:Bn="key",rowClassName:Cn,columns:Dn,children:Un,childrenColumnName:Gn,onChange:aa,getPopupContainer:Xn,loading:sa,expandIcon:qa,expandable:po,expandedRowRender:za,expandIconColumnIndex:io,indentSize:Wo,scroll:va,sortDirections:Ga,locale:Fa,showSorterTooltip:oa=!0,virtual:ca}=ye,Yt=ue.useMemo(()=>Dn||wt(Un),[Dn,Un]),rr=ue.useMemo(()=>Yt.some(kr=>kr.responsive),[Yt]),Ko=(0,Rn.Z)(rr),Va=ue.useMemo(()=>{const kr=new Set(Object.keys(Ko).filter(Sl=>Ko[Sl]));return Yt.filter(Sl=>!Sl.responsive||Sl.responsive.some(fi=>kr.has(fi)))},[Yt,Ko]),er=(0,Xi.Z)(ye,["className","style","columns"]),{locale:ur=uu.Z,direction:gr,table:lr,renderEmpty:il,getPrefixCls:Fr,getPopupContainer:no}=ue.useContext(Il.E_),Al=(0,Ri.Z)(Lt),Bo=Object.assign(Object.assign({},ur.Table),Fa),yo=Xt||_r,Rr=Fr("table",Ke),_l=Fr("dropdown",Ct),bo=Object.assign({childrenColumnName:Gn,expandIconColumnIndex:io},po),{childrenColumnName:vo="children"}=bo,Po=ue.useMemo(()=>yo.some(kr=>kr==null?void 0:kr[vo])?"nest":za||po&&po.expandedRowRender?"row":null,[yo]),Ja={body:ue.useRef()},La=ue.useMemo(()=>typeof Bn=="function"?Bn:kr=>kr==null?void 0:kr[Bn],[Bn]),[Mn]=yr(yo,vo,La),la={},To=function(kr,Sl){let fi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ol,Ai,xi;const pi=Object.assign(Object.assign({},la),kr);fi&&((Ol=la.resetPagination)===null||Ol===void 0||Ol.call(la),!((Ai=pi.pagination)===null||Ai===void 0)&&Ai.current&&(pi.pagination.current=1),Wt&&Wt.onChange&&Wt.onChange(1,(xi=pi.pagination)===null||xi===void 0?void 0:xi.pageSize)),va&&va.scrollToFirstRowOnChange!==!1&&Ja.body.current&&(0,Yi.Z)(0,{getContainer:()=>Ja.body.current}),aa==null||aa(pi.pagination,pi.filters,pi.sorter,{currentDataSource:Ki(rs(yo,pi.sorterStates,vo),pi.filterStates),action:Sl})},sr=(kr,Sl)=>{To({sorter:kr,sorterStates:Sl},"sort",!1)},[ui,Ql,Ti,ha]=Zs({prefixCls:Rr,mergedColumns:Va,onSorterChange:sr,sortDirections:Ga||["ascend","descend"],tableLocale:Bo,showSorterTooltip:oa}),Dl=ue.useMemo(()=>rs(yo,Ql,vo),[yo,Ql]);la.sorter=ha(),la.sorterStates=Ql;const Ao=(kr,Sl)=>{To({filters:kr,filterStates:Sl},"filter",!0)},[gi,li,Gr]=yi({prefixCls:Rr,locale:Bo,dropdownPrefixCls:_l,mergedColumns:Va,onFilterChange:Ao,getPopupContainer:Xn||no}),Xr=Ki(Dl,li);la.filters=Gr,la.filterStates=li;const wl=ue.useMemo(()=>{const kr={};return Object.keys(Gr).forEach(Sl=>{Gr[Sl]!==null&&(kr[Sl]=Gr[Sl])}),Object.assign(Object.assign({},Ti),{filters:kr})},[Ti,Gr]),[cr]=Hs(wl),El=(kr,Sl)=>{To({pagination:Object.assign(Object.assign({},la.pagination),{current:kr,pageSize:Sl})},"paginate")},[Br,ti]=_u(Xr.length,El,Wt);la.pagination=Wt===!1?{}:Bi(Br,Wt),la.resetPagination=ti;const si=ue.useMemo(()=>{if(Wt===!1||!Br.pageSize)return Xr;const{current:kr=1,total:Sl,pageSize:fi=Hi}=Br;return Xr.lengthfi?Xr.slice((kr-1)*fi,kr*fi):Xr:Xr.slice((kr-1)*fi,kr*fi)},[!!Wt,Xr,Br&&Br.current,Br&&Br.pageSize,Br&&Br.total]),[nl,mo]=Cs({prefixCls:Rr,data:Xr,pageData:si,getRowKey:La,getRecordByKey:Mn,expandType:Po,childrenColumnName:vo,locale:Bo,getPopupContainer:Xn||no},Vt),wo=(kr,Sl,fi)=>{let Ol;return typeof Cn=="function"?Ol=Me()(Cn(kr,Sl,fi)):Ol=Me()(Cn),Me()({[`${Rr}-row-selected`]:mo.has(La(kr,Sl))},Ol)};bo.__PARENT_RENDER_ICON__=bo.expandIcon,bo.expandIcon=bo.expandIcon||qa||Ha(Bo),Po==="nest"&&bo.expandIconColumnIndex===void 0?bo.expandIconColumnIndex=Vt?1:0:bo.expandIconColumnIndex>0&&Vt&&(bo.expandIconColumnIndex-=1),typeof bo.indentSize!="number"&&(bo.indentSize=typeof Wo=="number"?Wo:15);const mi=ue.useCallback(kr=>cr(nl(gi(ui(kr)))),[ui,gi,nl]);let eu,zi;if(Wt!==!1&&(Br!=null&&Br.total)){let kr;Br.size?kr=Br.size:kr=Al==="small"||Al==="middle"?"small":void 0;const Sl=Ai=>ue.createElement(su.Z,Object.assign({},Br,{className:Me()(`${Rr}-pagination ${Rr}-pagination-${Ai}`,Br.className),size:kr})),fi=gr==="rtl"?"left":"right",{position:Ol}=Br;if(Ol!==null&&Array.isArray(Ol)){const Ai=Ol.find(Qi=>Qi.includes("top")),xi=Ol.find(Qi=>Qi.includes("bottom")),pi=Ol.every(Qi=>`${Qi}`=="none");!Ai&&!xi&&!pi&&(zi=Sl(fi)),Ai&&(eu=Sl(Ai.toLowerCase().replace("top",""))),xi&&(zi=Sl(xi.toLowerCase().replace("bottom","")))}else zi=Sl(fi)}let Di;typeof sa=="boolean"?Di={spinning:sa}:typeof sa=="object"&&(Di=Object.assign({spinning:!0},sa));const[Pi,Gl]=zr(Rr),[,Rl]=(0,Ba.Z)(),Oi=Me()(`${Rr}-wrapper`,lr==null?void 0:lr.className,{[`${Rr}-wrapper-rtl`]:gr==="rtl"},Ve,ut,Gl),mu=Object.assign(Object.assign({},lr==null?void 0:lr.style),st),wi=Fa&&Fa.emptyText||(il==null?void 0:il("Table"))||ue.createElement(Tl.Z,{componentName:"Table"}),_i=ca?Su:Ls,Nu={},ls=ue.useMemo(()=>{const{fontSize:kr,lineHeight:Sl,padding:fi,paddingXS:Ol,paddingSM:Ai}=Rl,xi=Math.floor(kr*Sl);switch(Al){case"large":return fi*2+xi;case"small":return Ol*2+xi;default:return Ai*2+xi}},[Rl,Al]);return ca&&(Nu.listItemHeight=ls),Pi(ue.createElement("div",{ref:Ce,className:Oi,style:mu},ue.createElement(So.Z,Object.assign({spinning:!1},Di),eu,ue.createElement(_i,Object.assign({},Nu,er,{columns:Va,direction:gr,expandable:bo,prefixCls:Rr,className:Me()({[`${Rr}-middle`]:Al==="middle",[`${Rr}-small`]:Al==="small",[`${Rr}-bordered`]:Dt,[`${Rr}-empty`]:yo.length===0}),data:si,rowKey:La,rowClassName:wo,emptyText:wi,internalHooks:re,internalRefs:Ja,transformColumns:mi})),zi)))};var Fl=ue.forwardRef(hl);const Jr=(ye,Ce)=>{const Ke=ue.useRef(0);return Ke.current+=1,ue.createElement(Fl,Object.assign({},ye,{ref:Ce,_renderTimes:Ke.current}))},ol=ue.forwardRef(Jr);ol.SELECTION_COLUMN=Vi,ol.EXPAND_COLUMN=b,ol.SELECTION_ALL=as,ol.SELECTION_INVERT=Wu,ol.SELECTION_NONE=Eu,ol.Column=oi,ol.ColumnGroup=Ci,ol.Summary=Re;var ri=ol,Vl=ri},17574:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return dt}});var b=te(60091),re=te(94480),Pe=te(52671),Fe=te(8657),be=te(54476),xe=te(59301),ue={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"},Oe=ue,je=te(7657),Ie=function(Xe,Pt){return xe.createElement(je.Z,(0,be.Z)({},Xe,{ref:Pt,icon:Oe}))},Ne=xe.forwardRef(Ie),De=Ne,fe=te(92310),oe=te.n(fe),a=te(35654),E=te(71430),x=te(36355),y=te(56082),z=te(62892),ne=te(20648);const ae=4;function le(lt){const{dropPosition:Xe,dropLevelOffset:Pt,prefixCls:Ge,indent:Te,direction:We="ltr"}=lt,vt=We==="ltr"?"left":"right",It=We==="ltr"?"right":"left",mt={[vt]:-Pt*Te+ae,[It]:0};switch(Xe){case-1:mt.top=-3;break;case 1:mt.bottom=-3;break;default:mt.bottom=-3,mt[vt]=Te+ae;break}return xe.createElement("div",{style:mt,className:`${Ge}-drop-indicator`})}var ie=te(71997),se=xe.forwardRef((lt,Xe)=>{const{getPrefixCls:Pt,direction:Ge,virtual:Te,tree:We}=xe.useContext(x.E_),{prefixCls:vt,className:It,showIcon:mt=!1,showLine:Pn,switcherIcon:Ze,blockNode:Ft=!1,children:Ut,checkable:dn=!1,selectable:En=!0,draggable:it,motion:ft,style:_e}=lt,Be=Pt("tree",vt),ot=Pt(),ct=ft!=null?ft:Object.assign(Object.assign({},(0,z.Z)(ot)),{motionAppear:!1}),Re=Object.assign(Object.assign({},lt),{checkable:dn,selectable:En,showIcon:mt,motion:ct,blockNode:Ft,showLine:!!Pn,dropIndicatorRender:le}),[we,rt]=(0,ne.ZP)(Be),$e=xe.useMemo(()=>{if(!it)return!1;let Et={};switch(typeof it){case"function":Et.nodeDraggable=it;break;case"object":Et=Object.assign({},it);break;default:break}return Et.icon!==!1&&(Et.icon=Et.icon||xe.createElement(y.Z,null)),Et},[it]),ze=Et=>xe.createElement(ie.Z,{prefixCls:Be,switcherIcon:Ze,treeNodeProps:Et,showLine:Pn});return we(xe.createElement(b.Z,Object.assign({itemHeight:20,ref:Xe,virtual:Te},Re,{style:Object.assign(Object.assign({},We==null?void 0:We.style),_e),prefixCls:Be,className:oe()({[`${Be}-icon-hide`]:!mt,[`${Be}-block-node`]:Ft,[`${Be}-unselectable`]:!En,[`${Be}-rtl`]:Ge==="rtl"},We==null?void 0:We.className,It,rt),direction:Ge,checkable:dn&&xe.createElement("span",{className:`${Be}-checkbox-inner`}),selectable:En,switcherIcon:ze,draggable:$e}),Ut))}),ce;(function(lt){lt[lt.None=0]="None",lt[lt.Start=1]="Start",lt[lt.End=2]="End"})(ce||(ce={}));function me(lt,Xe){function Pt(Ge){const{key:Te,children:We}=Ge;Xe(Te,Ge)!==!1&&me(We||[],Xe)}lt.forEach(Pt)}function ve(lt){let{treeData:Xe,expandedKeys:Pt,startKey:Ge,endKey:Te}=lt;const We=[];let vt=ce.None;if(Ge&&Ge===Te)return[Ge];if(!Ge||!Te)return[];function It(mt){return mt===Ge||mt===Te}return me(Xe,mt=>{if(vt===ce.End)return!1;if(It(mt)){if(We.push(mt),vt===ce.None)vt=ce.Start;else if(vt===ce.Start)return vt=ce.End,!1}else vt===ce.Start&&We.push(mt);return Pt.includes(mt)}),We}function Ee(lt,Xe){const Pt=(0,re.Z)(Xe),Ge=[];return me(lt,(Te,We)=>{const vt=Pt.indexOf(Te);return vt!==-1&&(Ge.push(We),Pt.splice(vt,1)),!!Pt.length}),Ge}var Je=function(lt,Xe){var Pt={};for(var Ge in lt)Object.prototype.hasOwnProperty.call(lt,Ge)&&Xe.indexOf(Ge)<0&&(Pt[Ge]=lt[Ge]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ge=Object.getOwnPropertySymbols(lt);Te{var{defaultExpandAll:Pt,defaultExpandParent:Ge,defaultExpandedKeys:Te}=lt,We=Je(lt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const vt=xe.useRef(),It=xe.useRef(),mt=()=>{const{keyEntities:$e}=(0,E.I8)(Ue(We));let ze;return Pt?ze=Object.keys($e):Ge?ze=(0,a.r7)(We.expandedKeys||Te||[],$e):ze=We.expandedKeys||Te,ze},[Pn,Ze]=xe.useState(We.selectedKeys||We.defaultSelectedKeys||[]),[Ft,Ut]=xe.useState(()=>mt());xe.useEffect(()=>{"selectedKeys"in We&&Ze(We.selectedKeys)},[We.selectedKeys]),xe.useEffect(()=>{"expandedKeys"in We&&Ut(We.expandedKeys)},[We.expandedKeys]);const dn=($e,ze)=>{var Et;return"expandedKeys"in We||Ut($e),(Et=We.onExpand)===null||Et===void 0?void 0:Et.call(We,$e,ze)},En=($e,ze)=>{var Et;const{multiple:An}=We,{node:en,nativeEvent:_t}=ze,{key:on=""}=en,$t=Ue(We),Ye=Object.assign(Object.assign({},ze),{selected:!0}),at=(_t==null?void 0:_t.ctrlKey)||(_t==null?void 0:_t.metaKey),jt=_t==null?void 0:_t.shiftKey;let Kt;An&&at?(Kt=$e,vt.current=on,It.current=Kt,Ye.selectedNodes=Ee($t,Kt)):An&&jt?(Kt=Array.from(new Set([].concat((0,re.Z)(It.current||[]),(0,re.Z)(ve({treeData:$t,expandedKeys:Ft,startKey:on,endKey:vt.current}))))),Ye.selectedNodes=Ee($t,Kt)):(Kt=[on],vt.current=on,It.current=Kt,Ye.selectedNodes=Ee($t,Kt)),(Et=We.onSelect)===null||Et===void 0||Et.call(We,Kt,Ye),"selectedKeys"in We||Ze(Kt)},{getPrefixCls:it,direction:ft}=xe.useContext(x.E_),{prefixCls:_e,className:Be,showIcon:ot=!0,expandAction:ct="click"}=We,Re=Je(We,["prefixCls","className","showIcon","expandAction"]),we=it("tree",_e),rt=oe()(`${we}-directory`,{[`${we}-directory-rtl`]:ft==="rtl"},Be);return xe.createElement(se,Object.assign({icon:Me,ref:Xe,blockNode:!0},Re,{showIcon:ot,expandAction:ct,prefixCls:we,className:rt,expandedKeys:Ft,selectedKeys:Pn,onSelect:En,onExpand:dn}))};var nt=xe.forwardRef(Le);const pt=se;pt.DirectoryTree=nt,pt.TreeNode=b.O;var dt=pt},20648:function(tt,Qe,te){"use strict";te.d(Qe,{TM:function(){return fe},Yk:function(){return De}});var b=te(36237),re=te(98447),Pe=te(17313),Fe=te(8378),be=te(37613),xe=te(83116);const ue=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Oe=(oe,a)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),je=(oe,a)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ie=(oe,a)=>{const{treeCls:E,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:ae}=a,le=a.paddingXS;return{[E]:Object.assign(Object.assign({},(0,Pe.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${E}-rtl`]:{[`${E}-switcher`]:{"&_close":{[`${E}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${E}-active-focused)`]:Object.assign({},(0,Pe.oN)(a)),[`${E}-list-holder-inner`]:{alignItems:"flex-start"},[`&${E}-block-node`]:{[`${E}-list-holder-inner`]:{alignItems:"stretch",[`${E}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ue,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${E}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${E}-node-content-wrapper`]:Object.assign({},(0,Pe.oN)(a)),[`&:not(${x}-disabled).filter-node ${E}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${E}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${E}-draggable-icon`]:{visibility:"hidden"}}}},[`${E}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${E}-draggable-icon`]:{visibility:"hidden"},[`${E}-switcher`]:Object.assign(Object.assign({},Oe(oe,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${E}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${E}-checkbox`]:{top:"initial",marginInlineEnd:le},[`${E}-node-content-wrapper, ${E}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${E}-node-selected`]:{backgroundColor:ne},[`${E}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${E}-unselectable ${E}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${E}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},je(oe,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${E}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${E}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${E}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Ne=oe=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=oe;return{[`${a}${a}-directory`]:{[E]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},De=(oe,a)=>{const E=`.${oe}`,x=`${E}-treenode`,y=a.paddingXS/2,z=(0,be.TS)(a,{treeCls:E,treeNodeCls:x,treeNodePadding:y});return[Ie(oe,z),Ne(z)]},fe=oe=>{const{controlHeightSM:a}=oe;return{titleHeight:a,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Qe.ZP=(0,xe.Z)("Tree",(oe,a)=>{let{prefixCls:E}=a;return[{[oe.componentCls]:(0,re.C2)(`${E}-checkbox`,oe)},De(E,oe),(0,Fe.Z)(oe)]},oe=>{const{colorTextLightSolid:a,colorPrimary:E}=oe;return Object.assign(Object.assign({},fe(oe)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:E})})},71997:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return x}});var b=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(z,ne){return re.createElement(be.Z,(0,b.Z)({},z,{ref:ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(52671),Ie=te(58617),Ne=te(15075),De=te(43531),fe=te(92310),oe=te.n(fe),a=te(92343),x=y=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:ae,showLine:le}=y,{isLeaf:ie,expanded:de,loading:se}=ae;if(se)return re.createElement(Ie.Z,{className:`${z}-switcher-loading-icon`});let ce;if(le&&typeof le=="object"&&(ce=le.showLeafIcon),ie){if(!le)return null;if(typeof ce!="boolean"&&ce){const Ee=typeof ce=="function"?ce(ae):ce,Je=`${z}-switcher-line-custom-icon`;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:oe()(Ee.props.className||"",Je)}):Ee}return ce?re.createElement(je.Z,{className:`${z}-switcher-line-icon`}):re.createElement("span",{className:`${z}-switcher-leaf-line`})}const me=`${z}-switcher-icon`,ve=typeof ne=="function"?ne(ae):ne;return(0,a.l$)(ve)?(0,a.Tm)(ve,{className:oe()(ve.props.className||"",me)}):ve!==void 0?ve:le?de?re.createElement(Ne.Z,{className:`${z}-switcher-line-icon`}):re.createElement(De.Z,{className:`${z}-switcher-line-icon`}):re.createElement(Oe,{className:me})}},54580:function(tt,Qe,te){"use strict";te.d(Qe,{default:function(){return Vo}});var b=te(59301),re=te(94480),Pe=te(92310),Fe=te.n(Pe),be=te(54476),xe=te(67732),ue=te(83652),Oe=te(42403),je=te(158),Ie=te(20068),Ne=te(75931),De=te(75044),fe=te(76190),oe=te(3202),a=te(26112);function E(St,pn){var vn="cannot ".concat(St.method," ").concat(St.action," ").concat(pn.status,"'"),qt=new Error(vn);return qt.status=pn.status,qt.method=St.method,qt.url=St.action,qt}function x(St){var pn=St.responseText||St.response;if(!pn)return pn;try{return JSON.parse(pn)}catch(vn){return pn}}function y(St){var pn=new XMLHttpRequest;St.onProgress&&pn.upload&&(pn.upload.onprogress=function(mn){mn.total>0&&(mn.percent=mn.loaded/mn.total*100),St.onProgress(mn)});var vn=new FormData;St.data&&Object.keys(St.data).forEach(function(Sn){var mn=St.data[Sn];if(Array.isArray(mn)){mn.forEach(function(hn){vn.append("".concat(Sn,"[]"),hn)});return}vn.append(Sn,mn)}),St.file instanceof Blob?vn.append(St.filename,St.file,St.file.name):vn.append(St.filename,St.file),pn.onerror=function(mn){St.onError(mn)},pn.onload=function(){return pn.status<200||pn.status>=300?St.onError(E(St,pn),x(pn)):St.onSuccess(x(pn),pn)},pn.open(St.method,St.action,!0),St.withCredentials&&"withCredentials"in pn&&(pn.withCredentials=!0);var qt=St.headers||{};return qt["X-Requested-With"]!==null&&pn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(qt).forEach(function(Sn){qt[Sn]!==null&&pn.setRequestHeader(Sn,qt[Sn])}),pn.send(vn),{abort:function(){pn.abort()}}}var z=+new Date,ne=0;function ae(){return"rc-upload-".concat(z,"-").concat(++ne)}var le=te(48736),ie=function(St,pn){if(St&&pn){var vn=Array.isArray(pn)?pn:pn.split(","),qt=St.name||"",Sn=St.type||"",mn=Sn.replace(/\/.*$/,"");return vn.some(function(hn){var yn=hn.trim();if(/^\*(\/\*)?$/.test(hn))return!0;if(yn.charAt(0)==="."){var fa=qt.toLowerCase(),Aa=yn.toLowerCase(),tn=[Aa];return(Aa===".jpg"||Aa===".jpeg")&&(tn=[".jpg",".jpeg"]),tn.some(function(Sr){return fa.endsWith(Sr)})}return/\/\*$/.test(yn)?mn===yn.replace(/\/.*$/,""):Sn===yn?!0:/^\w+$/.test(yn)?((0,le.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(yn,"'.Skip for check.")),!0):!1})}return!0};function de(St,pn){var vn=St.createReader(),qt=[];function Sn(){vn.readEntries(function(mn){var hn=Array.prototype.slice.apply(mn);qt=qt.concat(hn);var yn=!hn.length;yn?pn(qt):Sn()})}Sn()}var se=function(pn,vn,qt){var Sn=function mn(hn,yn){hn&&(hn.path=yn||"",hn.isFile?hn.file(function(fa){qt(fa)&&(hn.fullPath&&!fa.webkitRelativePath&&(Object.defineProperties(fa,{webkitRelativePath:{writable:!0}}),fa.webkitRelativePath=hn.fullPath.replace(/^\//,""),Object.defineProperties(fa,{webkitRelativePath:{writable:!1}})),vn([fa]))}):hn.isDirectory&&de(hn,function(fa){fa.forEach(function(Aa){mn(Aa,"".concat(yn).concat(hn.name,"/"))})}))};pn.forEach(function(mn){Sn(mn.webkitGetAsEntry())})},ce=se,me=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ve=function(St){(0,Oe.Z)(vn,St);var pn=(0,je.Z)(vn);function vn(){var qt;(0,xe.Z)(this,vn);for(var Sn=arguments.length,mn=new Array(Sn),hn=0;hn{let{uid:mn}=Sn;return mn===St.uid});return qt===-1?vn.push(St):vn[qt]=St,vn}function Et(St,pn){const vn=St.uid!==void 0?"uid":"name";return pn.filter(qt=>qt[vn]===St[vn])[0]}function An(St,pn){const vn=St.uid!==void 0?"uid":"name",qt=pn.filter(Sn=>Sn[vn]!==St[vn]);return qt.length===pn.length?null:qt}const en=function(){const pn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),qt=pn[pn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(qt)||[""])[0]},_t=St=>St.indexOf("image/")===0,on=St=>{if(St.type&&!St.thumbUrl)return _t(St.type);const pn=St.thumbUrl||St.url||"",vn=en(pn);return/^data:image\//.test(pn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(vn)?!0:!(/^data:/.test(pn)||vn)},$t=200;function Ye(St){return new Promise(pn=>{if(!St.type||!_t(St.type)){pn("");return}const vn=document.createElement("canvas");vn.width=$t,vn.height=$t,vn.style.cssText=`position: fixed; left: 0; top: 0; width: ${$t}px; height: ${$t}px; z-index: 9999; display: none;`,document.body.appendChild(vn);const qt=vn.getContext("2d"),Sn=new Image;if(Sn.onload=()=>{const{width:mn,height:hn}=Sn;let yn=$t,fa=$t,Aa=0,tn=0;mn>hn?(fa=hn*($t/mn),tn=-(fa-yn)/2):(yn=mn*($t/hn),Aa=-(yn-fa)/2),qt.drawImage(Sn,Aa,tn,yn,fa);const Sr=vn.toDataURL();document.body.removeChild(vn),window.URL.revokeObjectURL(Sn.src),pn(Sr)},Sn.crossOrigin="anonymous",St.type.startsWith("image/svg+xml")){const mn=new FileReader;mn.onload=()=>{mn.result&&(Sn.src=mn.result)},mn.readAsDataURL(St)}else if(St.type.startsWith("image/gif")){const mn=new FileReader;mn.onload=()=>{mn.result&&pn(mn.result)},mn.readAsDataURL(St)}else Sn.src=window.URL.createObjectURL(St)})}var at=te(26227),jt=te(41464),Kt=te(15277),fn=te(93948),Zt=te(6848),jn=b.forwardRef((St,pn)=>{let{prefixCls:vn,className:qt,style:Sn,locale:mn,listType:hn,file:yn,items:fa,progress:Aa,iconRender:tn,actionIconRender:Sr,itemRender:Nr,isImgUrl:qr,showPreviewIcon:Cr,showRemoveIcon:Jn,showDownloadIcon:Ta,previewIcon:Do,removeIcon:wa,downloadIcon:ro,onPreview:fr,onDownload:zo,onClose:Yr}=St;var $r,ii;const{status:Hl}=yn,[Ur,ci]=b.useState(Hl);b.useEffect(()=>{Hl!=="removed"&&ci(Hl)},[Hl]);const[Yl,vi]=b.useState(!1);b.useEffect(()=>{const Il=setTimeout(()=>{vi(!0)},300);return()=>{clearTimeout(Il)}},[]);const Ni=tn(yn);let ql=b.createElement("div",{className:`${vn}-icon`},Ni);if(hn==="picture"||hn==="picture-card"||hn==="picture-circle")if(Ur==="uploading"||!yn.thumbUrl&&!yn.url){const Il=Fe()(`${vn}-list-item-thumbnail`,{[`${vn}-list-item-file`]:Ur!=="uploading"});ql=b.createElement("div",{className:Il},Ni)}else{const Il=qr!=null&&qr(yn)?b.createElement("img",{src:yn.thumbUrl||yn.url,alt:yn.name,className:`${vn}-list-item-image`,crossOrigin:yn.crossOrigin}):Ni,Tl=Fe()(`${vn}-list-item-thumbnail`,{[`${vn}-list-item-file`]:qr&&!qr(yn)});ql=b.createElement("a",{className:Tl,onClick:Ri=>fr(yn,Ri),href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Il)}const Bl=Fe()(`${vn}-list-item`,`${vn}-list-item-${Ur}`),di=typeof yn.linkProps=="string"?JSON.parse(yn.linkProps):yn.linkProps,Ii=Jn?Sr((typeof wa=="function"?wa(yn):wa)||b.createElement(at.Z,null),()=>Yr(yn),vn,mn.removeFile):null,Li=Ta&&Ur==="done"?Sr((typeof ro=="function"?ro(yn):ro)||b.createElement(jt.Z,null),()=>zo(yn),vn,mn.downloadFile):null,Si=hn!=="picture-card"&&hn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Fe()(`${vn}-list-item-actions`,{picture:hn==="picture"})},Li,Ii),ai=Fe()(`${vn}-list-item-name`),hi=yn.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ai,title:yn.name},di,{href:yn.url,onClick:Il=>fr(yn,Il)}),yn.name),Si]:[b.createElement("span",{key:"view",className:ai,onClick:Il=>fr(yn,Il),title:yn.name},yn.name),Si],pr={pointerEvents:"none",opacity:.5},fl=Cr?b.createElement("a",{href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:yn.url||yn.thumbUrl?void 0:pr,onClick:Il=>fr(yn,Il),title:mn.previewFile},typeof Do=="function"?Do(yn):Do||b.createElement(Kt.Z,null)):null,bl=(hn==="picture-card"||hn==="picture-circle")&&Ur!=="uploading"&&b.createElement("span",{className:`${vn}-list-item-actions`},fl,Ur==="done"&&Li,Ii),{getPrefixCls:oi}=b.useContext(pt.E_),$l=oi(),Ci=b.createElement("div",{className:Bl},ql,hi,bl,Yl&&b.createElement(ot.default,{motionName:`${$l}-fade`,visible:Ur==="uploading",motionDeadline:2e3},Il=>{let{className:Tl}=Il;const Ri="percent"in yn?b.createElement(fn.Z,Object.assign({},Aa,{type:"line",percent:yn.percent,"aria-label":yn["aria-label"],"aria-labelledby":yn["aria-labelledby"]})):null;return b.createElement("div",{className:Fe()(`${vn}-list-item-progress`,Tl)},Ri)})),Xi=yn.response&&typeof yn.response=="string"?yn.response:(($r=yn.error)===null||$r===void 0?void 0:$r.statusText)||((ii=yn.error)===null||ii===void 0?void 0:ii.message)||mn.uploadError,Yi=Ur==="error"?b.createElement(Zt.Z,{title:Xi,getPopupContainer:Il=>Il.parentNode},Ci):Ci;return b.createElement("div",{className:Fe()(`${vn}-list-item-container`,qt),style:Sn,ref:pn},Nr?Nr(Yi,yn,fa,{download:zo.bind(null,yn),preview:fr.bind(null,yn),remove:Yr.bind(null,yn)}):Yi)});const ia=(St,pn)=>{const{listType:vn="text",previewFile:qt=Ye,onPreview:Sn,onDownload:mn,onRemove:hn,locale:yn,iconRender:fa,isImageUrl:Aa=on,prefixCls:tn,items:Sr=[],showPreviewIcon:Nr=!0,showRemoveIcon:qr=!0,showDownloadIcon:Cr=!1,removeIcon:Jn,previewIcon:Ta,downloadIcon:Do,progress:wa={size:[-1,2],showInfo:!1},appendAction:ro,appendActionVisible:fr=!0,itemRender:zo,disabled:Yr}=St,$r=(0,ct.Z)(),[ii,Hl]=b.useState(!1);b.useEffect(()=>{vn!=="picture"&&vn!=="picture-card"&&vn!=="picture-circle"||(Sr||[]).forEach(pr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(pr.originFileObj instanceof File||pr.originFileObj instanceof Blob)||pr.thumbUrl!==void 0||(pr.thumbUrl="",qt&&qt(pr.originFileObj).then(fl=>{pr.thumbUrl=fl||"",$r()}))})},[vn,Sr,qt]),b.useEffect(()=>{Hl(!0)},[]);const Ur=(pr,fl)=>{if(Sn)return fl==null||fl.preventDefault(),Sn(pr)},ci=pr=>{typeof mn=="function"?mn(pr):pr.url&&window.open(pr.url)},Yl=pr=>{hn==null||hn(pr)},vi=pr=>{if(fa)return fa(pr,vn);const fl=pr.status==="uploading",bl=Aa&&Aa(pr)?b.createElement(Be,null):b.createElement(It,null);let oi=fl?b.createElement(mt.Z,null):b.createElement(dn,null);return vn==="picture"?oi=fl?b.createElement(mt.Z,null):bl:(vn==="picture-card"||vn==="picture-circle")&&(oi=fl?yn.uploading:bl),oi},Ni=(pr,fl,bl,oi)=>{const $l={type:"text",size:"small",title:oi,onClick:Ci=>{fl(),(0,we.l$)(pr)&&pr.props.onClick&&pr.props.onClick(Ci)},className:`${bl}-list-item-action`,disabled:Yr};if((0,we.l$)(pr)){const Ci=(0,we.Tm)(pr,Object.assign(Object.assign({},pr.props),{onClick:()=>{}}));return b.createElement(rt.ZP,Object.assign({},$l,{icon:Ci}))}return b.createElement(rt.ZP,Object.assign({},$l),b.createElement("span",null,pr))};b.useImperativeHandle(pn,()=>({handlePreview:Ur,handleDownload:ci}));const{getPrefixCls:ql}=b.useContext(pt.E_),Bl=ql("upload",tn),di=ql(),Ii=Fe()(`${Bl}-list`,`${Bl}-list-${vn}`),Li=(0,re.Z)(Sr.map(pr=>({key:pr.uid,file:pr})));let ai={motionDeadline:2e3,motionName:`${Bl}-${vn==="picture-card"||vn==="picture-circle"?"animate-inline":"animate"}`,keys:Li,motionAppear:ii};const hi=b.useMemo(()=>{const pr=Object.assign({},(0,Re.Z)(di));return delete pr.onAppearEnd,delete pr.onEnterEnd,delete pr.onLeaveEnd,pr},[di]);return vn!=="picture-card"&&vn!=="picture-circle"&&(ai=Object.assign(Object.assign({},hi),ai)),b.createElement("div",{className:Ii},b.createElement(ot.CSSMotionList,Object.assign({},ai,{component:!1}),pr=>{let{key:fl,file:bl,className:oi,style:$l}=pr;return b.createElement(jn,{key:fl,locale:yn,prefixCls:Bl,className:oi,style:$l,file:bl,items:Sr,progress:wa,listType:vn,isImgUrl:Aa,showPreviewIcon:Nr,showRemoveIcon:qr,showDownloadIcon:Cr,removeIcon:Jn,previewIcon:Ta,downloadIcon:Do,iconRender:vi,actionIconRender:Ni,itemRender:zo,onPreview:Ur,onDownload:ci,onClose:Yl})}),ro&&b.createElement(ot.default,Object.assign({},ai,{visible:fr,forceRender:!0}),pr=>{let{className:fl,style:bl}=pr;return(0,we.Tm)(ro,oi=>({className:Fe()(oi.className,fl),style:Object.assign(Object.assign(Object.assign({},bl),{pointerEvents:fl?"none":void 0}),oi.style)}))}))};var gn=b.forwardRef(ia),Pa=te(17313),uo=te(8378),da=te(83116),ta=te(37613),ao=St=>{const{componentCls:pn,iconCls:vn}=St;return{[`${pn}-wrapper`]:{[`${pn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:St.colorFillAlter,border:`${St.lineWidth}px dashed ${St.colorBorder}`,borderRadius:St.borderRadiusLG,cursor:"pointer",transition:`border-color ${St.motionDurationSlow}`,[pn]:{padding:`${St.padding}px 0`},[`${pn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${pn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${pn}-disabled):hover`]:{borderColor:St.colorPrimaryHover},[`p${pn}-drag-icon`]:{marginBottom:St.margin,[vn]:{color:St.colorPrimary,fontSize:St.uploadThumbnailSize}},[`p${pn}-text`]:{margin:`0 0 ${St.marginXXS}px`,color:St.colorTextHeading,fontSize:St.fontSizeLG},[`p${pn}-hint`]:{color:St.colorTextDescription,fontSize:St.fontSize},[`&${pn}-disabled`]:{cursor:"not-allowed",[`p${pn}-drag-icon ${vn}, + p${pn}-text, + p${pn}-hint + `]:{color:St.colorTextDisabled}}}}}},On=St=>{const{componentCls:pn,antCls:vn,iconCls:qt,fontSize:Sn,lineHeight:mn}=St,hn=`${pn}-list-item`,yn=`${hn}-actions`,fa=`${hn}-action`,Aa=Math.round(Sn*mn);return{[`${pn}-wrapper`]:{[`${pn}-list`]:Object.assign(Object.assign({},(0,Pa.dF)()),{lineHeight:St.lineHeight,[hn]:{position:"relative",height:St.lineHeight*Sn,marginTop:St.marginXS,fontSize:Sn,display:"flex",alignItems:"center",transition:`background-color ${St.motionDurationSlow}`,"&:hover":{backgroundColor:St.controlItemBgHover},[`${hn}-name`]:Object.assign(Object.assign({},Pa.vS),{padding:`0 ${St.paddingXS}px`,lineHeight:mn,flex:"auto",transition:`all ${St.motionDurationSlow}`}),[yn]:{[fa]:{opacity:0},[`${fa}${vn}-btn-sm`]:{height:Aa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${fa}:focus-visible, + &.picture ${fa} + `]:{opacity:1},[qt]:{color:St.actionsColor,transition:`all ${St.motionDurationSlow}`},[`&:hover ${qt}`]:{color:St.colorText}},[`${pn}-icon ${qt}`]:{color:St.colorTextDescription,fontSize:Sn},[`${hn}-progress`]:{position:"absolute",bottom:-St.uploadProgressOffset,width:"100%",paddingInlineStart:Sn+St.paddingXS,fontSize:Sn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${hn}:hover ${fa}`]:{opacity:1,color:St.colorText},[`${hn}-error`]:{color:St.colorError,[`${hn}-name, ${pn}-icon ${qt}`]:{color:St.colorError},[yn]:{[`${qt}, ${qt}:hover`]:{color:St.colorError},[fa]:{opacity:1}}},[`${pn}-list-item-container`]:{transition:`opacity ${St.motionDurationSlow}, height ${St.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},ra=te(36237),Sa=te(1950);const $n=new ra.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Za=new ra.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var br=St=>{const{componentCls:pn}=St,vn=`${pn}-animate-inline`;return[{[`${pn}-wrapper`]:{[`${vn}-appear, ${vn}-enter, ${vn}-leave`]:{animationDuration:St.motionDurationSlow,animationTimingFunction:St.motionEaseInOutCirc,animationFillMode:"forwards"},[`${vn}-appear, ${vn}-enter`]:{animationName:$n},[`${vn}-leave`]:{animationName:Za}}},{[`${pn}-wrapper`]:(0,Sa.J$)(St)},$n,Za]},Or=te(30071),Ia=te(64993);const xt=St=>{const{componentCls:pn,iconCls:vn,uploadThumbnailSize:qt,uploadProgressOffset:Sn}=St,mn=`${pn}-list`,hn=`${mn}-item`;return{[`${pn}-wrapper`]:{[` + ${mn}${mn}-picture, + ${mn}${mn}-picture-card, + ${mn}${mn}-picture-circle + `]:{[hn]:{position:"relative",height:qt+St.lineWidth*2+St.paddingXS*2,padding:St.paddingXS,border:`${St.lineWidth}px ${St.lineType} ${St.colorBorder}`,borderRadius:St.borderRadiusLG,"&:hover":{background:"transparent"},[`${hn}-thumbnail`]:Object.assign(Object.assign({},Pa.vS),{width:qt,height:qt,lineHeight:`${qt+St.paddingSM}px`,textAlign:"center",flex:"none",[vn]:{fontSize:St.fontSizeHeading2,color:St.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${hn}-progress`]:{bottom:Sn,width:`calc(100% - ${St.paddingSM*2}px)`,marginTop:0,paddingInlineStart:qt+St.paddingXS}},[`${hn}-error`]:{borderColor:St.colorError,[`${hn}-thumbnail ${vn}`]:{[`svg path[fill='${Or.blue[0]}']`]:{fill:St.colorErrorBg},[`svg path[fill='${Or.blue.primary}']`]:{fill:St.colorError}}},[`${hn}-uploading`]:{borderStyle:"dashed",[`${hn}-name`]:{marginBottom:Sn}}},[`${mn}${mn}-picture-circle ${hn}`]:{[`&, &::before, ${hn}-thumbnail`]:{borderRadius:"50%"}}}}},Tt=St=>{const{componentCls:pn,iconCls:vn,fontSizeLG:qt,colorTextLightSolid:Sn}=St,mn=`${pn}-list`,hn=`${mn}-item`,yn=St.uploadPicCardSize;return{[` + ${pn}-wrapper${pn}-picture-card-wrapper, + ${pn}-wrapper${pn}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,Pa.dF)()),{display:"inline-block",width:"100%",[`${pn}${pn}-select`]:{width:yn,height:yn,marginInlineEnd:St.marginXS,marginBottom:St.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:St.colorFillAlter,border:`${St.lineWidth}px dashed ${St.colorBorder}`,borderRadius:St.borderRadiusLG,cursor:"pointer",transition:`border-color ${St.motionDurationSlow}`,[`> ${pn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${pn}-disabled):hover`]:{borderColor:St.colorPrimary}},[`${mn}${mn}-picture-card, ${mn}${mn}-picture-circle`]:{[`${mn}-item-container`]:{display:"inline-block",width:yn,height:yn,marginBlock:`0 ${St.marginXS}px`,marginInline:`0 ${St.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[hn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${St.paddingXS*2}px)`,height:`calc(100% - ${St.paddingXS*2}px)`,backgroundColor:St.colorBgMask,opacity:0,transition:`all ${St.motionDurationSlow}`,content:'" "'}},[`${hn}:hover`]:{[`&::before, ${hn}-actions`]:{opacity:1}},[`${hn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${St.motionDurationSlow}`,[`${vn}-eye, ${vn}-download, ${vn}-delete`]:{zIndex:10,width:qt,margin:`0 ${St.marginXXS}px`,fontSize:qt,cursor:"pointer",transition:`all ${St.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${hn}-actions, ${hn}-actions:hover`]:{[`${vn}-eye, ${vn}-download, ${vn}-delete`]:{color:new Ia.C(Sn).setAlpha(.65).toRgbString(),"&:hover":{color:Sn}}},[`${hn}-thumbnail, ${hn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${hn}-name`]:{display:"none",textAlign:"center"},[`${hn}-file + ${hn}-name`]:{position:"absolute",bottom:St.margin,display:"block",width:`calc(100% - ${St.paddingXS*2}px)`},[`${hn}-uploading`]:{[`&${hn}`]:{backgroundColor:St.colorFillAlter},[`&::before, ${vn}-eye, ${vn}-download, ${vn}-delete`]:{display:"none"}},[`${hn}-progress`]:{bottom:St.marginXL,width:`calc(100% - ${St.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${pn}-wrapper${pn}-picture-circle-wrapper`]:{[`${pn}${pn}-select`]:{borderRadius:"50%"}}}};var In=St=>{const{componentCls:pn}=St;return{[`${pn}-rtl`]:{direction:"rtl"}}};const na=St=>{const{componentCls:pn,colorTextDisabled:vn}=St;return{[`${pn}-wrapper`]:Object.assign(Object.assign({},(0,Pa.Wf)(St)),{[pn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${pn}-select`]:{display:"inline-block"},[`${pn}-disabled`]:{color:vn,cursor:"not-allowed"}})}};var Hn=(0,da.Z)("Upload",St=>{const{fontSizeHeading3:pn,fontSize:vn,lineHeight:qt,lineWidth:Sn,controlHeightLG:mn}=St,hn=Math.round(vn*qt),yn=(0,ta.TS)(St,{uploadThumbnailSize:pn*2,uploadProgressOffset:hn/2+Sn,uploadPicCardSize:mn*2.55});return[na(yn),ao(yn),xt(yn),Tt(yn),On(yn),br(yn),In(yn),(0,uo.Z)(yn)]},St=>({actionsColor:St.colorTextDescription})),nr=function(St,pn,vn,qt){function Sn(mn){return mn instanceof vn?mn:new vn(function(hn){hn(mn)})}return new(vn||(vn=Promise))(function(mn,hn){function yn(tn){try{Aa(qt.next(tn))}catch(Sr){hn(Sr)}}function fa(tn){try{Aa(qt.throw(tn))}catch(Sr){hn(Sr)}}function Aa(tn){tn.done?mn(tn.value):Sn(tn.value).then(yn,fa)}Aa((qt=qt.apply(St,pn||[])).next())})};const Oa=`__LIST_IGNORE_${Date.now()}__`,oo=(St,pn)=>{const{fileList:vn,defaultFileList:qt,onRemove:Sn,showUploadList:mn=!0,listType:hn="text",onPreview:yn,onDownload:fa,onChange:Aa,onDrop:tn,previewFile:Sr,disabled:Nr,locale:qr,iconRender:Cr,isImageUrl:Jn,progress:Ta,prefixCls:Do,className:wa,type:ro="select",children:fr,style:zo,itemRender:Yr,maxCount:$r,data:ii={},multiple:Hl=!1,action:Ur="",accept:ci="",supportServerRender:Yl=!0,rootClassName:vi}=St,Ni=b.useContext(dt.Z),ql=Nr!=null?Nr:Ni,[Bl,di]=(0,ke.Z)(qt||[],{value:vn,postState:ir=>ir!=null?ir:[]}),[Ii,Li]=b.useState("drop"),Si=b.useRef(null);b.useMemo(()=>{const ir=Date.now();(vn||[]).forEach((so,vl)=>{!so.uid&&!Object.isFrozen(so)&&(so.uid=`__AUTO__${ir}_${vl}__`)})},[vn]);const ai=(ir,so,vl)=>{let Vr=(0,re.Z)(so),Qr=!1;$r===1?Vr=Vr.slice(-1):$r&&(Qr=Vr.length>$r,Vr=Vr.slice(0,$r)),(0,nt.flushSync)(()=>{di(Vr)});const Jt={file:ir,fileList:Vr};vl&&(Jt.event=vl),(!Qr||Vr.some(Rt=>Rt.uid===ir.uid))&&(0,nt.flushSync)(()=>{Aa==null||Aa(Jt)})},hi=(ir,so)=>nr(void 0,void 0,void 0,function*(){const{beforeUpload:vl,transformFile:Vr}=St;let Qr=ir;if(vl){const Jt=yield vl(ir,so);if(Jt===!1)return!1;if(delete ir[Oa],Jt===Oa)return Object.defineProperty(ir,Oa,{value:!0,configurable:!0}),!1;typeof Jt=="object"&&Jt&&(Qr=Jt)}return Vr&&(Qr=yield Vr(Qr)),Qr}),pr=ir=>{const so=ir.filter(Qr=>!Qr.file[Oa]);if(!so.length)return;const vl=so.map(Qr=>$e(Qr.file));let Vr=(0,re.Z)(Bl);vl.forEach(Qr=>{Vr=ze(Qr,Vr)}),vl.forEach((Qr,Jt)=>{let Rt=Qr;if(so[Jt].parsedFile)Qr.status="uploading";else{const{originFileObj:sn}=Qr;let Yn;try{Yn=new File([sn],sn.name,{type:sn.type})}catch(lo){Yn=new Blob([sn],{type:sn.type}),Yn.name=sn.name,Yn.lastModifiedDate=new Date,Yn.lastModified=new Date().getTime()}Yn.uid=Qr.uid,Rt=Yn}ai(Rt,Vr)})},fl=(ir,so,vl)=>{try{typeof ir=="string"&&(ir=JSON.parse(ir))}catch(Jt){}if(!Et(so,Bl))return;const Vr=$e(so);Vr.status="done",Vr.percent=100,Vr.response=ir,Vr.xhr=vl;const Qr=ze(Vr,Bl);ai(Vr,Qr)},bl=(ir,so)=>{if(!Et(so,Bl))return;const vl=$e(so);vl.status="uploading",vl.percent=ir.percent;const Vr=ze(vl,Bl);ai(vl,Vr,ir)},oi=(ir,so,vl)=>{if(!Et(vl,Bl))return;const Vr=$e(vl);Vr.error=ir,Vr.response=so,Vr.status="error";const Qr=ze(Vr,Bl);ai(Vr,Qr)},$l=ir=>{let so;Promise.resolve(typeof Sn=="function"?Sn(ir):Sn).then(vl=>{var Vr;if(vl===!1)return;const Qr=An(ir,Bl);Qr&&(so=Object.assign(Object.assign({},ir),{status:"removed"}),Bl==null||Bl.forEach(Jt=>{const Rt=so.uid!==void 0?"uid":"name";Jt[Rt]===so[Rt]&&!Object.isFrozen(Jt)&&(Jt.status="removed")}),(Vr=Si.current)===null||Vr===void 0||Vr.abort(so),ai(so,Qr))})},Ci=ir=>{Li(ir.type),ir.type==="drop"&&(tn==null||tn(ir))};b.useImperativeHandle(pn,()=>({onBatchStart:pr,onSuccess:fl,onProgress:bl,onError:oi,fileList:Bl,upload:Si.current}));const{getPrefixCls:Xi,direction:Yi,upload:Il}=b.useContext(pt.E_),Tl=Xi("upload",Do),Ri=Object.assign(Object.assign({onBatchStart:pr,onError:oi,onProgress:bl,onSuccess:fl},St),{data:ii,multiple:Hl,action:Ur,accept:ci,supportServerRender:Yl,prefixCls:Tl,disabled:ql,beforeUpload:hi,onChange:void 0});delete Ri.className,delete Ri.style,(!fr||ql)&&delete Ri.id;const[Rn,uu]=Hn(Tl),[su]=(0,lt.Z)("Upload",Xe.Z.Upload),{showRemoveIcon:So,showPreviewIcon:Ba,showDownloadIcon:Ya,removeIcon:Ha,previewIcon:Ir,downloadIcon:pl}=typeof mn=="boolean"?{}:mn,Ll=(ir,so)=>mn?b.createElement(gn,{prefixCls:Tl,listType:hn,items:Bl,previewFile:Sr,onPreview:yn,onDownload:fa,onRemove:$l,showRemoveIcon:!ql&&So,showPreviewIcon:Ba,showDownloadIcon:Ya,removeIcon:Ha,previewIcon:Ir,downloadIcon:pl,iconRender:Cr,locale:Object.assign(Object.assign({},su),qr),isImageUrl:Jn,progress:Ta,appendAction:ir,appendActionVisible:so,itemRender:Yr,disabled:ql}):ir,el=Fe()(`${Tl}-wrapper`,wa,vi,uu,Il==null?void 0:Il.className,{[`${Tl}-rtl`]:Yi==="rtl",[`${Tl}-picture-card-wrapper`]:hn==="picture-card",[`${Tl}-picture-circle-wrapper`]:hn==="picture-circle"}),Ul=Object.assign(Object.assign({},Il==null?void 0:Il.style),zo);if(ro==="drag"){const ir=Fe()(uu,Tl,`${Tl}-drag`,{[`${Tl}-drag-uploading`]:Bl.some(so=>so.status==="uploading"),[`${Tl}-drag-hover`]:Ii==="dragover",[`${Tl}-disabled`]:ql,[`${Tl}-rtl`]:Yi==="rtl"});return Rn(b.createElement("span",{className:el},b.createElement("div",{className:ir,style:Ul,onDrop:Ci,onDragOver:Ci,onDragLeave:Ci},b.createElement(Le,Object.assign({},Ri,{ref:Si,className:`${Tl}-btn`}),b.createElement("div",{className:`${Tl}-drag-container`},fr))),Ll()))}const Kl=Fe()(Tl,`${Tl}-select`,{[`${Tl}-disabled`]:ql}),ei=(ir=>b.createElement("div",{className:Kl,style:ir},b.createElement(Le,Object.assign({},Ri,{ref:Si}))))(fr?void 0:{display:"none"});return Rn(hn==="picture-card"||hn==="picture-circle"?b.createElement("span",{className:el},Ll(ei,!!fr)):b.createElement("span",{className:el},ei,Ll()))};var to=b.forwardRef(oo),kn=function(St,pn){var vn={};for(var qt in St)Object.prototype.hasOwnProperty.call(St,qt)&&pn.indexOf(qt)<0&&(vn[qt]=St[qt]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Sn=0,qt=Object.getOwnPropertySymbols(St);Sn{var{style:vn,height:qt}=St,Sn=kn(St,["style","height"]);return b.createElement(to,Object.assign({ref:pn},Sn,{type:"drag",style:Object.assign(Object.assign({},vn),{height:qt})}))});const xr=to;xr.Dragger=Wr,xr.LIST_IGNORE=Oa;var Vo=xr},14625:function(tt){function Qe(b){var re,Pe,Fe="";if(typeof b=="string"||typeof b=="number")Fe+=b;else if(typeof b=="object")if(Array.isArray(b)){var be=b.length;for(re=0;re0&&arguments[0]!==void 0?arguments[0]:[],ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],_e=it.length,Be=ft.length;if(Math.abs(_e-Be)!==1)return{add:!1,key:null};function ot(ct,Re){var we=new Map;ct.forEach(function($e){we.set($e,!0)});var rt=Re.filter(function($e){return!we.has($e)});return rt.length===1?rt[0]:null}return _e ").concat(ft);return ft}var vt=E.forwardRef(function(it,ft){var _e=it.prefixCls,Be=it.data,ot=it.selectable,ct=it.checkable,Re=it.expandedKeys,we=it.selectedKeys,rt=it.checkedKeys,$e=it.loadedKeys,ze=it.loadingKeys,Et=it.halfCheckedKeys,An=it.keyEntities,en=it.disabled,_t=it.dragging,on=it.dragOverNodeKey,$t=it.dropPosition,Ye=it.motion,at=it.height,jt=it.itemHeight,Kt=it.virtual,fn=it.focusable,Zt=it.activeItem,Fn=it.focused,jn=it.tabIndex,ia=it.onKeyDown,Da=it.onFocus,gn=it.onBlur,Pa=it.onActiveChange,uo=it.onListChangeStart,da=it.onListChangeEnd,ta=(0,ae.Z)(it,ke),Fo=E.useRef(null),ao=E.useRef(null);E.useImperativeHandle(ft,function(){return{scrollTo:function(Vo){Fo.current.scrollTo(Vo)},getIndentWidth:function(){return ao.current.offsetWidth}}});var Qt=E.useState(Re),On=(0,ne.Z)(Qt,2),ra=On[0],Sa=On[1],$n=E.useState(Be),Za=(0,ne.Z)($n,2),xo=Za[0],br=Za[1],Or=E.useState(Be),Ia=(0,ne.Z)(Or,2),xt=Ia[0],Tt=Ia[1],wt=E.useState([]),In=(0,ne.Z)(wt,2),na=In[0],Hn=In[1],nr=E.useState(null),Oa=(0,ne.Z)(nr,2),oo=Oa[0],Ar=Oa[1],to=E.useRef(Be);to.current=Be;function kn(){var xr=to.current;br(xr),Tt(xr),Hn([]),Ar(null),da()}(0,le.Z)(function(){Sa(Re);var xr=Ue(ra,Re);if(xr.key!==null)if(xr.add){var Vo=xo.findIndex(function(mn){var hn=mn.key;return hn===xr.key}),St=Ge(Le(xo,Be,xr.key),Kt,at,jt),pn=xo.slice();pn.splice(Vo+1,0,Pt),Tt(pn),Hn(St),Ar("show")}else{var vn=Be.findIndex(function(mn){var hn=mn.key;return hn===xr.key}),qt=Ge(Le(Be,xo,xr.key),Kt,at,jt),Sn=Be.slice();Sn.splice(vn+1,0,Pt),Tt(Sn),Hn(qt),Ar("hide")}else xo!==Be&&(br(Be),Tt(Be))},[Re,Be]),E.useEffect(function(){_t||kn()},[_t]);var dr=Ye?xt:Be,Wr={expandedKeys:Re,selectedKeys:we,loadedKeys:$e,loadingKeys:ze,checkedKeys:rt,halfCheckedKeys:Et,dragOverNodeKey:on,dropPosition:$t,keyEntities:An};return E.createElement(E.Fragment,null,Fn&&Zt&&E.createElement("span",{style:nt,"aria-live":"assertive"},We(Zt)),E.createElement("div",null,E.createElement("input",{style:nt,disabled:fn===!1||en,tabIndex:fn!==!1?jn:null,onKeyDown:ia,onFocus:Da,onBlur:gn,value:"",onChange:pt,"aria-label":"for screen reader"})),E.createElement("div",{className:"".concat(_e,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},E.createElement("div",{className:"".concat(_e,"-indent")},E.createElement("div",{ref:ao,className:"".concat(_e,"-indent-unit")}))),E.createElement(ie.Z,(0,b.Z)({},ta,{data:dr,itemKey:Te,height:at,fullHeight:!1,virtual:Kt,itemHeight:jt,prefixCls:"".concat(_e,"-list"),ref:Fo,onVisibleChange:function(Vo,St){var pn=new Set(Vo),vn=St.filter(function(qt){return!pn.has(qt)});vn.some(function(qt){return Te(qt)===dt})&&kn()}}),function(xr){var Vo=xr.pos,St=(0,b.Z)({},(z(xr.data),xr.data)),pn=xr.title,vn=xr.key,qt=xr.isStart,Sn=xr.isEnd,mn=(0,me.km)(vn,Vo);delete St.key,delete St.children;var hn=(0,me.H8)(mn,Wr);return E.createElement(Me,(0,b.Z)({},St,hn,{title:pn,active:!!Zt&&vn===Zt.key,pos:Vo,data:xr.data,isStart:qt,isEnd:Sn,motion:Ye,motionNodes:vn===dt?na:null,motionType:oo,onMotionStart:uo,onMotionEnd:kn,treeNodeRequiredProps:Wr,onMouseMove:function(){Pa(null)}}))}))});vt.displayName="NodeList";var It=vt,mt=te(35654),Pn=te(90782),Ze=te(67841),Ft=10,Ut=function(it){(0,je.Z)(_e,it);var ft=(0,Ie.Z)(_e);function _e(){var Be;(0,xe.Z)(this,_e);for(var ot=arguments.length,ct=new Array(ot),Re=0;Re2&&arguments[2]!==void 0?arguments[2]:!1,Et=Be.state,An=Et.dragChildrenKeys,en=Et.dropPosition,_t=Et.dropTargetKey,on=Et.dropTargetPos,$t=Et.dropAllowed;if($t){var Ye=Be.props.onDrop;if(Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),_t!==null){var at=(0,Fe.Z)((0,Fe.Z)({},(0,me.H8)(_t,Be.getTreeNodeRequiredProps())),{},{active:(($e=Be.getActiveItem())===null||$e===void 0?void 0:$e.key)===_t,data:(0,Ze.Z)(Be.state.keyEntities,_t).node}),jt=An.indexOf(_t)!==-1;(0,a.ZP)(!jt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Kt=(0,mt.yx)(on),fn={event:we,node:(0,me.F)(at),dragNode:Be.dragNode?(0,me.F)(Be.dragNode.props):null,dragNodesKeys:[Be.dragNode.props.eventKey].concat(An),dropToGap:en!==0,dropPosition:en+Number(Kt[Kt.length-1])};ze||Ye==null||Ye(fn),Be.dragNode=null}}},Be.cleanDragState=function(){var we=Be.state.draggingNodeKey;we!==null&&Be.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Be.dragStartMousePosition=null,Be.currentMouseOverDroppableNodeKey=null},Be.triggerExpandActionExpand=function(we,rt){var $e=Be.state,ze=$e.expandedKeys,Et=$e.flattenNodes,An=rt.expanded,en=rt.key,_t=rt.isLeaf;if(!(_t||we.shiftKey||we.metaKey||we.ctrlKey)){var on=Et.filter(function(Ye){return Ye.key===en})[0],$t=(0,me.F)((0,Fe.Z)((0,Fe.Z)({},(0,me.H8)(en,Be.getTreeNodeRequiredProps())),{},{data:on.data}));Be.setExpandedKeys(An?(0,mt._5)(ze,en):(0,mt.L0)(ze,en)),Be.onNodeExpand(we,$t)}},Be.onNodeClick=function(we,rt){var $e=Be.props,ze=$e.onClick,Et=$e.expandAction;Et==="click"&&Be.triggerExpandActionExpand(we,rt),ze==null||ze(we,rt)},Be.onNodeDoubleClick=function(we,rt){var $e=Be.props,ze=$e.onDoubleClick,Et=$e.expandAction;Et==="doubleClick"&&Be.triggerExpandActionExpand(we,rt),ze==null||ze(we,rt)},Be.onNodeSelect=function(we,rt){var $e=Be.state.selectedKeys,ze=Be.state,Et=ze.keyEntities,An=ze.fieldNames,en=Be.props,_t=en.onSelect,on=en.multiple,$t=rt.selected,Ye=rt[An.key],at=!$t;at?on?$e=(0,mt.L0)($e,Ye):$e=[Ye]:$e=(0,mt._5)($e,Ye);var jt=$e.map(function(Kt){var fn=(0,Ze.Z)(Et,Kt);return fn?fn.node:null}).filter(function(Kt){return Kt});Be.setUncontrolledState({selectedKeys:$e}),_t==null||_t($e,{event:"select",selected:at,node:rt,selectedNodes:jt,nativeEvent:we.nativeEvent})},Be.onNodeCheck=function(we,rt,$e){var ze=Be.state,Et=ze.keyEntities,An=ze.checkedKeys,en=ze.halfCheckedKeys,_t=Be.props,on=_t.checkStrictly,$t=_t.onCheck,Ye=rt.key,at,jt={event:"check",node:rt,checked:$e,nativeEvent:we.nativeEvent};if(on){var Kt=$e?(0,mt.L0)(An,Ye):(0,mt._5)(An,Ye),fn=(0,mt._5)(en,Ye);at={checked:Kt,halfChecked:fn},jt.checkedNodes=Kt.map(function(gn){return(0,Ze.Z)(Et,gn)}).filter(function(gn){return gn}).map(function(gn){return gn.node}),Be.setUncontrolledState({checkedKeys:Kt})}else{var Zt=(0,Pn.S)([].concat((0,be.Z)(An),[Ye]),!0,Et),Fn=Zt.checkedKeys,jn=Zt.halfCheckedKeys;if(!$e){var ia=new Set(Fn);ia.delete(Ye);var Da=(0,Pn.S)(Array.from(ia),{checked:!1,halfCheckedKeys:jn},Et);Fn=Da.checkedKeys,jn=Da.halfCheckedKeys}at=Fn,jt.checkedNodes=[],jt.checkedNodesPositions=[],jt.halfCheckedKeys=jn,Fn.forEach(function(gn){var Pa=(0,Ze.Z)(Et,gn);if(Pa){var uo=Pa.node,da=Pa.pos;jt.checkedNodes.push(uo),jt.checkedNodesPositions.push({node:uo,pos:da})}}),Be.setUncontrolledState({checkedKeys:Fn},!1,{halfCheckedKeys:jn})}$t==null||$t(at,jt)},Be.onNodeLoad=function(we){var rt=we.key,$e=new Promise(function(ze,Et){Be.setState(function(An){var en=An.loadedKeys,_t=en===void 0?[]:en,on=An.loadingKeys,$t=on===void 0?[]:on,Ye=Be.props,at=Ye.loadData,jt=Ye.onLoad;if(!at||_t.indexOf(rt)!==-1||$t.indexOf(rt)!==-1)return null;var Kt=at(we);return Kt.then(function(){var fn=Be.state.loadedKeys,Zt=(0,mt.L0)(fn,rt);jt==null||jt(Zt,{event:"load",node:we}),Be.setUncontrolledState({loadedKeys:Zt}),Be.setState(function(Fn){return{loadingKeys:(0,mt._5)(Fn.loadingKeys,rt)}}),ze()}).catch(function(fn){if(Be.setState(function(Fn){return{loadingKeys:(0,mt._5)(Fn.loadingKeys,rt)}}),Be.loadingRetryTimes[rt]=(Be.loadingRetryTimes[rt]||0)+1,Be.loadingRetryTimes[rt]>=Ft){var Zt=Be.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Be.setUncontrolledState({loadedKeys:(0,mt.L0)(Zt,rt)}),ze()}Et(fn)}),{loadingKeys:(0,mt.L0)($t,rt)}})});return $e.catch(function(){}),$e},Be.onNodeMouseEnter=function(we,rt){var $e=Be.props.onMouseEnter;$e==null||$e({event:we,node:rt})},Be.onNodeMouseLeave=function(we,rt){var $e=Be.props.onMouseLeave;$e==null||$e({event:we,node:rt})},Be.onNodeContextMenu=function(we,rt){var $e=Be.props.onRightClick;$e&&(we.preventDefault(),$e({event:we,node:rt}))},Be.onFocus=function(){var we=Be.props.onFocus;Be.setState({focused:!0});for(var rt=arguments.length,$e=new Array(rt),ze=0;ze1&&arguments[1]!==void 0?arguments[1]:!1,$e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Be.destroyed){var ze=!1,Et=!0,An={};Object.keys(we).forEach(function(en){if(en in Be.props){Et=!1;return}ze=!0,An[en]=we[en]}),ze&&(!rt||Et)&&Be.setState((0,Fe.Z)((0,Fe.Z)({},An),$e))}},Be.scrollTo=function(we){Be.listRef.current.scrollTo(we)},Be}return(0,ue.Z)(_e,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ot=this.props.activeKey;ot!==void 0&&ot!==this.state.activeKey&&(this.setState({activeKey:ot}),ot!==null&&this.scrollTo({key:ot}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ot,ct=this.state,Re=ct.focused,we=ct.flattenNodes,rt=ct.keyEntities,$e=ct.draggingNodeKey,ze=ct.activeKey,Et=ct.dropLevelOffset,An=ct.dropContainerKey,en=ct.dropTargetKey,_t=ct.dropPosition,on=ct.dragOverNodeKey,$t=ct.indent,Ye=this.props,at=Ye.prefixCls,jt=Ye.className,Kt=Ye.style,fn=Ye.showLine,Zt=Ye.focusable,Fn=Ye.tabIndex,jn=Fn===void 0?0:Fn,ia=Ye.selectable,Da=Ye.showIcon,gn=Ye.icon,Pa=Ye.switcherIcon,uo=Ye.draggable,da=Ye.checkable,ta=Ye.checkStrictly,Fo=Ye.disabled,ao=Ye.motion,Qt=Ye.loadData,On=Ye.filterTreeNode,ra=Ye.height,Sa=Ye.itemHeight,$n=Ye.virtual,Za=Ye.titleRender,xo=Ye.dropIndicatorRender,br=Ye.onContextMenu,Or=Ye.onScroll,Ia=Ye.direction,xt=Ye.rootClassName,Tt=Ye.rootStyle,wt=(0,oe.Z)(this.props,{aria:!0,data:!0}),In;return uo&&((0,Pe.Z)(uo)==="object"?In=uo:typeof uo=="function"?In={nodeDraggable:uo}:In={}),E.createElement(x.k.Provider,{value:{prefixCls:at,selectable:ia,showIcon:Da,icon:gn,switcherIcon:Pa,draggable:In,draggingNodeKey:$e,checkable:da,checkStrictly:ta,disabled:Fo,keyEntities:rt,dropLevelOffset:Et,dropContainerKey:An,dropTargetKey:en,dropPosition:_t,dragOverNodeKey:on,indent:$t,direction:Ia,dropIndicatorRender:xo,loadData:Qt,filterTreeNode:On,titleRender:Za,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},E.createElement("div",{role:"tree",className:De()(at,jt,xt,(ot={},(0,re.Z)(ot,"".concat(at,"-show-line"),fn),(0,re.Z)(ot,"".concat(at,"-focused"),Re),(0,re.Z)(ot,"".concat(at,"-active-focused"),ze!==null),ot)),style:Tt},E.createElement(It,(0,b.Z)({ref:this.listRef,prefixCls:at,style:Kt,data:we,disabled:Fo,selectable:ia,checkable:!!da,motion:ao,dragging:$e!==null,height:ra,itemHeight:Sa,virtual:$n,focusable:Zt,focused:Re,tabIndex:jn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:br,onScroll:Or},this.getTreeNodeRequiredProps(),wt))))}}],[{key:"getDerivedStateFromProps",value:function(ot,ct){var Re=ct.prevProps,we={prevProps:ot};function rt(Zt){return!Re&&Zt in ot||Re&&Re[Zt]!==ot[Zt]}var $e,ze=ct.fieldNames;if(rt("fieldNames")&&(ze=(0,me.w$)(ot.fieldNames),we.fieldNames=ze),rt("treeData")?$e=ot.treeData:rt("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),$e=(0,me.zn)(ot.children)),$e){we.treeData=$e;var Et=(0,me.I8)($e,{fieldNames:ze});we.keyEntities=(0,Fe.Z)((0,re.Z)({},dt,Xe),Et.keyEntities)}var An=we.keyEntities||ct.keyEntities;if(rt("expandedKeys")||Re&&rt("autoExpandParent"))we.expandedKeys=ot.autoExpandParent||!Re&&ot.defaultExpandParent?(0,mt.r7)(ot.expandedKeys,An):ot.expandedKeys;else if(!Re&&ot.defaultExpandAll){var en=(0,Fe.Z)({},An);delete en[dt],we.expandedKeys=Object.keys(en).map(function(Zt){return en[Zt].key})}else!Re&&ot.defaultExpandedKeys&&(we.expandedKeys=ot.autoExpandParent||ot.defaultExpandParent?(0,mt.r7)(ot.defaultExpandedKeys,An):ot.defaultExpandedKeys);if(we.expandedKeys||delete we.expandedKeys,$e||we.expandedKeys){var _t=(0,me.oH)($e||ct.treeData,we.expandedKeys||ct.expandedKeys,ze);we.flattenNodes=_t}if(ot.selectable&&(rt("selectedKeys")?we.selectedKeys=(0,mt.BT)(ot.selectedKeys,ot):!Re&&ot.defaultSelectedKeys&&(we.selectedKeys=(0,mt.BT)(ot.defaultSelectedKeys,ot))),ot.checkable){var on;if(rt("checkedKeys")?on=(0,mt.E6)(ot.checkedKeys)||{}:!Re&&ot.defaultCheckedKeys?on=(0,mt.E6)(ot.defaultCheckedKeys)||{}:$e&&(on=(0,mt.E6)(ot.checkedKeys)||{checkedKeys:ct.checkedKeys,halfCheckedKeys:ct.halfCheckedKeys}),on){var $t=on,Ye=$t.checkedKeys,at=Ye===void 0?[]:Ye,jt=$t.halfCheckedKeys,Kt=jt===void 0?[]:jt;if(!ot.checkStrictly){var fn=(0,Pn.S)(at,!0,An);at=fn.checkedKeys,Kt=fn.halfCheckedKeys}we.checkedKeys=at,we.halfCheckedKeys=Kt}}return rt("loadedKeys")&&(we.loadedKeys=ot.loadedKeys),we}}]),_e}(E.Component);Ut.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:y,allowDrop:function(){return!0},expandAction:!1},Ut.TreeNode=se.Z;var dn=Ut,En=dn},35654:function(tt,Qe,te){"use strict";te.d(Qe,{BT:function(){return E},E6:function(){return z},L0:function(){return Ie},OM:function(){return a},_5:function(){return je},r7:function(){return ne},wA:function(){return De},yx:function(){return Ne}});var b=te(94480),re=te(76190),Pe=te(48736),Fe=te(59301),be=te(39417),xe=te(67841),ue=te(71430),Oe=null;function je(ae,le){if(!ae)return[];var ie=ae.slice(),de=ie.indexOf(le);return de>=0&&ie.splice(de,1),ie}function Ie(ae,le){var ie=(ae||[]).slice();return ie.indexOf(le)===-1&&ie.push(le),ie}function Ne(ae){return ae.split("-")}function De(ae,le){var ie=[],de=(0,xe.Z)(le,ae);function se(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ce.forEach(function(me){var ve=me.key,Ee=me.children;ie.push(ve),se(Ee)})}return se(de.children),ie}function fe(ae){if(ae.parent){var le=Ne(ae.pos);return Number(le[le.length-1])===ae.parent.children.length-1}return!1}function oe(ae){var le=Ne(ae.pos);return Number(le[le.length-1])===0}function a(ae,le,ie,de,se,ce,me,ve,Ee,Je){var Me,Ue=ae.clientX,Le=ae.clientY,ke=ae.target.getBoundingClientRect(),nt=ke.top,pt=ke.height,dt=(Je==="rtl"?-1:1)*(((se==null?void 0:se.x)||0)-Ue),lt=(dt-12)/de,Xe=(0,xe.Z)(ve,ie.props.eventKey);if(Le-1.5?ce({dragNode:Ft,dropNode:Ut,dropPosition:1})?mt=1:dn=!1:ce({dragNode:Ft,dropNode:Ut,dropPosition:0})?mt=0:ce({dragNode:Ft,dropNode:Ut,dropPosition:1})?mt=1:dn=!1:ce({dragNode:Ft,dropNode:Ut,dropPosition:1})?mt=1:dn=!1,{dropPosition:mt,dropLevelOffset:Pn,dropTargetKey:Xe.key,dropTargetPos:Xe.pos,dragOverNodeKey:It,dropContainerKey:mt===0?null:((Me=Xe.parent)===null||Me===void 0?void 0:Me.key)||null,dropAllowed:dn}}function E(ae,le){if(ae){var ie=le.multiple;return ie?ae.slice():ae.length?[ae[0]]:ae}}var x=function(le){return le};function y(ae,le){if(!ae)return[];var ie=le||{},de=ie.processProps,se=de===void 0?x:de,ce=Array.isArray(ae)?ae:[ae];return ce.map(function(me){var ve=me.children,Ee=_objectWithoutProperties(me,Oe),Je=y(ve,le);return React.createElement(TreeNode,_extends({key:Ee.key},se(Ee)),Je)})}function z(ae){if(!ae)return null;var le;if(Array.isArray(ae))le={checkedKeys:ae,halfCheckedKeys:void 0};else if((0,re.Z)(ae)==="object")le={checkedKeys:ae.checked||void 0,halfCheckedKeys:ae.halfChecked||void 0};else return(0,Pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return le}function ne(ae,le){var ie=new Set;function de(se){if(!ie.has(se)){var ce=(0,xe.Z)(le,se);if(ce){ie.add(se);var me=ce.parent,ve=ce.node;ve.disabled||me&&de(me.key)}}}return(ae||[]).forEach(function(se){de(se)}),(0,b.Z)(ie)}},90782:function(tt,Qe,te){"use strict";te.d(Qe,{S:function(){return ue}});var b=te(48736),re=te(67841);function Pe(Oe,je){var Ie=new Set;return Oe.forEach(function(Ne){je.has(Ne)||Ie.add(Ne)}),Ie}function Fe(Oe){var je=Oe||{},Ie=je.disabled,Ne=je.disableCheckbox,De=je.checkable;return!!(Ie||Ne)||De===!1}function be(Oe,je,Ie,Ne){for(var De=new Set(Oe),fe=new Set,oe=0;oe<=Ie;oe+=1){var a=je.get(oe)||new Set;a.forEach(function(z){var ne=z.key,ae=z.node,le=z.children,ie=le===void 0?[]:le;De.has(ne)&&!Ne(ae)&&ie.filter(function(de){return!Ne(de.node)}).forEach(function(de){De.add(de.key)})})}for(var E=new Set,x=Ie;x>=0;x-=1){var y=je.get(x)||new Set;y.forEach(function(z){var ne=z.parent,ae=z.node;if(!(Ne(ae)||!z.parent||E.has(z.parent.key))){if(Ne(z.parent.node)){E.add(ne.key);return}var le=!0,ie=!1;(ne.children||[]).filter(function(de){return!Ne(de.node)}).forEach(function(de){var se=de.key,ce=De.has(se);le&&!ce&&(le=!1),!ie&&(ce||fe.has(se))&&(ie=!0)}),le&&De.add(ne.key),ie&&fe.add(ne.key),E.add(ne.key)}})}return{checkedKeys:Array.from(De),halfCheckedKeys:Array.from(Pe(fe,De))}}function xe(Oe,je,Ie,Ne,De){for(var fe=new Set(Oe),oe=new Set(je),a=0;a<=Ne;a+=1){var E=Ie.get(a)||new Set;E.forEach(function(ne){var ae=ne.key,le=ne.node,ie=ne.children,de=ie===void 0?[]:ie;!fe.has(ae)&&!oe.has(ae)&&!De(le)&&de.filter(function(se){return!De(se.node)}).forEach(function(se){fe.delete(se.key)})})}oe=new Set;for(var x=new Set,y=Ne;y>=0;y-=1){var z=Ie.get(y)||new Set;z.forEach(function(ne){var ae=ne.parent,le=ne.node;if(!(De(le)||!ne.parent||x.has(ne.parent.key))){if(De(ne.parent.node)){x.add(ae.key);return}var ie=!0,de=!1;(ae.children||[]).filter(function(se){return!De(se.node)}).forEach(function(se){var ce=se.key,me=fe.has(ce);ie&&!me&&(ie=!1),!de&&(me||oe.has(ce))&&(de=!0)}),ie||fe.delete(ae.key),de&&oe.add(ae.key),x.add(ae.key)}})}return{checkedKeys:Array.from(fe),halfCheckedKeys:Array.from(Pe(oe,fe))}}function ue(Oe,je,Ie,Ne){var De=[],fe;Ne?fe=Ne:fe=Fe;var oe=new Set(Oe.filter(function(y){var z=!!(0,re.Z)(Ie,y);return z||De.push(y),z})),a=new Map,E=0;Object.keys(Ie).forEach(function(y){var z=Ie[y],ne=z.level,ae=a.get(ne);ae||(ae=new Set,a.set(ne,ae)),ae.add(z),E=Math.max(E,ne)}),(0,b.ZP)(!De.length,"Tree missing follow keys: ".concat(De.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return je===!0?x=be(oe,a,E,fe):x=xe(oe,je.halfCheckedKeys,a,E,fe),x}},67841:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return b}});function b(re,Pe){return re[Pe]}},71430:function(tt,Qe,te){"use strict";te.d(Qe,{F:function(){return ne},H8:function(){return z},I8:function(){return y},km:function(){return De},oH:function(){return E},w$:function(){return fe},zn:function(){return a}});var b=te(76190),re=te(94480),Pe=te(33885),Fe=te(75931),be=te(11592),xe=te(2738),ue=te(48736),Oe=te(67841),je=["children"];function Ie(ae,le){return"".concat(ae,"-").concat(le)}function Ne(ae){return ae&&ae.type&&ae.type.isTreeNode}function De(ae,le){return ae!=null?ae:le}function fe(ae){var le=ae||{},ie=le.title,de=le._title,se=le.key,ce=le.children,me=ie||"title";return{title:me,_title:de||[me],key:se||"key",children:ce||"children"}}function oe(ae,le){var ie=new Map;function de(se){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(se||[]).forEach(function(me){var ve=me[le.key],Ee=me[le.children];warning(ve!=null,"Tree node must have a certain key: [".concat(ce).concat(ve,"]"));var Je=String(ve);warning(!ie.has(Je)||ve===null||ve===void 0,"Same 'key' exist in the Tree: ".concat(Je)),ie.set(Je,!0),de(Ee,"".concat(ce).concat(Je," > "))})}de(ae)}function a(ae){function le(ie){var de=(0,be.Z)(ie);return de.map(function(se){if(!Ne(se))return(0,ue.ZP)(!se,"Tree/TreeNode can only accept TreeNode as children."),null;var ce=se.key,me=se.props,ve=me.children,Ee=(0,Fe.Z)(me,je),Je=(0,Pe.Z)({key:ce},Ee),Me=le(ve);return Me.length&&(Je.children=Me),Je}).filter(function(se){return se})}return le(ae)}function E(ae,le,ie){var de=fe(ie),se=de._title,ce=de.key,me=de.children,ve=new Set(le===!0?[]:le),Ee=[];function Je(Me){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Me.map(function(Le,ke){for(var nt=Ie(Ue?Ue.pos:"0",ke),pt=De(Le[ce],nt),dt,lt=0;lt1&&arguments[1]!==void 0?arguments[1]:{},ie=le.initWrapper,de=le.processEntity,se=le.onProcessFinished,ce=le.externalGetKey,me=le.childrenPropName,ve=le.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,Je=ce||Ee,Me={},Ue={},Le={posEntities:Me,keyEntities:Ue};return ie&&(Le=ie(Le)||Le),x(ae,function(ke){var nt=ke.node,pt=ke.index,dt=ke.pos,lt=ke.key,Xe=ke.parentPos,Pt=ke.level,Ge=ke.nodes,Te={node:nt,nodes:Ge,index:pt,key:lt,pos:dt,level:Pt},We=De(lt,dt);Me[dt]=Te,Ue[We]=Te,Te.parent=Me[Xe],Te.parent&&(Te.parent.children=Te.parent.children||[],Te.parent.children.push(Te)),de&&de(Te,Le)},{externalGetKey:Je,childrenPropName:me,fieldNames:ve}),se&&se(Le),Le}function z(ae,le){var ie=le.expandedKeys,de=le.selectedKeys,se=le.loadedKeys,ce=le.loadingKeys,me=le.checkedKeys,ve=le.halfCheckedKeys,Ee=le.dragOverNodeKey,Je=le.dropPosition,Me=le.keyEntities,Ue=(0,Oe.Z)(Me,ae),Le={eventKey:ae,expanded:ie.indexOf(ae)!==-1,selected:de.indexOf(ae)!==-1,loaded:se.indexOf(ae)!==-1,loading:ce.indexOf(ae)!==-1,checked:me.indexOf(ae)!==-1,halfChecked:ve.indexOf(ae)!==-1,pos:String(Ue?Ue.pos:""),dragOver:Ee===ae&&Je===0,dragOverGapTop:Ee===ae&&Je===-1,dragOverGapBottom:Ee===ae&&Je===1};return Le}function ne(ae){var le=ae.data,ie=ae.expanded,de=ae.selected,se=ae.checked,ce=ae.loaded,me=ae.loading,ve=ae.halfChecked,Ee=ae.dragOver,Je=ae.dragOverGapTop,Me=ae.dragOverGapBottom,Ue=ae.pos,Le=ae.active,ke=ae.eventKey,nt=(0,Pe.Z)((0,Pe.Z)({},le),{},{expanded:ie,selected:de,checked:se,loaded:ce,loading:me,halfChecked:ve,dragOver:Ee,dragOverGapTop:Je,dragOverGapBottom:Me,pos:Ue,active:Le,key:ke});return"props"in nt||Object.defineProperty(nt,"props",{get:function(){return(0,ue.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ae}}),nt}},8224:function(tt,Qe,te){"use strict";te.d(Qe,{Z:function(){return re}});var b=te(4676);function re(Pe,Fe,be,xe){var ue=b.unstable_batchedUpdates?function(je){b.unstable_batchedUpdates(be,je)}:be;return Pe!=null&&Pe.addEventListener&&Pe.addEventListener(Fe,ue,xe),{remove:function(){Pe!=null&&Pe.removeEventListener&&Pe.removeEventListener(Fe,ue,xe)}}}},55468:function(tt,Qe,te){"use strict";te.d(Qe,{g1:function(){return Ne},os:function(){return fe}});var b=/margin|padding|width|height|max|min|offset/,re={left:!0,top:!0},Pe={cssFloat:1,styleFloat:1,float:1};function Fe(oe){return oe.nodeType===1?oe.ownerDocument.defaultView.getComputedStyle(oe,null):{}}function be(oe,a,E){if(a=a.toLowerCase(),E==="auto"){if(a==="height")return oe.offsetHeight;if(a==="width")return oe.offsetWidth}return a in re||(re[a]=b.test(a)),re[a]?parseFloat(E)||0:E}function xe(oe,a){var E=arguments.length,x=Fe(oe);return a=Pe[a]?"cssFloat"in oe.style?"cssFloat":"styleFloat":a,E===1?x:be(oe,a,x[a]||oe.style[a])}function ue(oe,a,E){var x=arguments.length;if(a=Pe[a]?"cssFloat"in oe.style?"cssFloat":"styleFloat":a,x===3)return typeof E=="number"&&b.test(a)&&(E="".concat(E,"px")),oe.style[a]=E,E;for(var y in a)a.hasOwnProperty(y)&&ue(oe,y,a[y]);return Fe(oe)}function Oe(oe){return oe===document.body?document.documentElement.clientWidth:oe.offsetWidth}function je(oe){return oe===document.body?window.innerHeight||document.documentElement.clientHeight:oe.offsetHeight}function Ie(){var oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:oe,height:a}}function Ne(){var oe=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:a}}function De(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function fe(oe){var a=oe.getBoundingClientRect(),E=document.documentElement;return{left:a.left+(window.pageXOffset||E.scrollLeft)-(E.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||E.scrollTop)-(E.clientTop||document.body.clientTop||0)}}},3465:function(tt,Qe,te){"use strict";te.d(Qe,{G:function(){return Fe}});var b=te(47273),re=function(xe){if((0,b.Z)()&&window.document.documentElement){var ue=Array.isArray(xe)?xe:[xe],Oe=window.document.documentElement;return ue.some(function(je){return je in Oe.style})}return!1},Pe=function(xe,ue){if(!re(xe))return!1;var Oe=document.createElement("div"),je=Oe.style[xe];return Oe.style[xe]=ue,Oe.style[xe]!==je};function Fe(be,xe){return!Array.isArray(be)&&xe!==void 0?Pe(be,xe):re(be)}},51353:function(tt,Qe,te){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Object.defineProperty(Qe,"DraggableCore",{enumerable:!0,get:function(){return Oe.default}}),Qe.default=void 0;var b=Ne(te(59301)),re=Ie(te(12708)),Pe=Ie(te(4676)),Fe=te(14625),be=te(77026),xe=te(22013),ue=te(80217),Oe=Ie(te(68555)),je=Ie(te(97510));function Ie(x){return x&&x.__esModule?x:{default:x}}function Ne(x,y){if(typeof WeakMap=="function")var z=new WeakMap,ne=new WeakMap;return(Ne=function(ae,le){if(!le&&ae&&ae.__esModule)return ae;var ie,de,se={__proto__:null,default:ae};if(ae===null||typeof ae!="object"&&typeof ae!="function")return se;if(ie=le?ne:z){if(ie.has(ae))return ie.get(ae);ie.set(ae,se)}for(const ce in ae)ce!=="default"&&{}.hasOwnProperty.call(ae,ce)&&((de=(ie=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ae,ce))&&(de.get||de.set)?ie(se,ce,de):se[ce]=ae[ce]);return se})(x,y)}function De(){return De=Object.assign?Object.assign.bind():function(x){for(var y=1;y{if((0,je.default)("Draggable: onDragStart: %j",ne),this.props.onStart(z,(0,xe.createDraggableData)(this,ne))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),fe(this,"onDrag",(z,ne)=>{if(!this.state.dragging)return!1;(0,je.default)("Draggable: onDrag: %j",ne);const ae=(0,xe.createDraggableData)(this,ne),le={x:ae.x,y:ae.y,slackX:0,slackY:0};if(this.props.bounds){const{x:de,y:se}=le;le.x+=this.state.slackX,le.y+=this.state.slackY;const[ce,me]=(0,xe.getBoundPosition)(this,le.x,le.y);le.x=ce,le.y=me,le.slackX=this.state.slackX+(de-le.x),le.slackY=this.state.slackY+(se-le.y),ae.x=le.x,ae.y=le.y,ae.deltaX=le.x-this.state.x,ae.deltaY=le.y-this.state.y}if(this.props.onDrag(z,ae)===!1)return!1;this.setState(le)}),fe(this,"onDragStop",(z,ne)=>{if(!this.state.dragging||this.props.onStop(z,(0,xe.createDraggableData)(this,ne))===!1)return!1;(0,je.default)("Draggable: onDragStop: %j",ne);const le={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:de,y:se}=this.props.position;le.x=de,le.y=se}this.setState(le)}),this.state={dragging:!1,dragged:!1,x:y.position?y.position.x:y.defaultPosition.x,y:y.position?y.position.y:y.defaultPosition.y,prevPropsPosition:Zu({},y.position),slackX:0,slackY:0,isElementSVG:!1},y.position&&!(y.onDrag||y.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var y,z,ne;return(ne=(z=(y=this.props)==null?void 0:y.nodeRef)==null?void 0:z.current)!=null?ne:Pe.default.findDOMNode(this)}render(){const pt=this.props,{axis:y,bounds:z,children:ne,defaultPosition:ae,defaultClassName:le,defaultClassNameDragging:ie,defaultClassNameDragged:de,position:se,positionOffset:ce,scale:me}=pt,ve=Mc(pt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ee={},Je=null;const Ue=!!!se||this.state.dragging,Le=se||ae,ke={x:(0,xe.canDragX)(this)&&Ue?this.state.x:Le.x,y:(0,xe.canDragY)(this)&&Ue?this.state.y:Le.y};this.state.isElementSVG?Je=(0,be.createSVGTransform)(ke,ce):Ee=(0,be.createCSSTransform)(ke,ce);const nt=(0,Fe.clsx)(ne.props.className||"",le,{[ie]:this.state.dragging,[de]:this.state.dragged});return b.createElement(Oe.default,De({},ve,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),b.cloneElement(b.Children.only(ne),{className:nt,style:Zu(Zu({},ne.props.style),Ee),transform:Je}))}}Qe.default=E,fe(E,"displayName","Draggable"),fe(E,"propTypes",Cc(Zu({},Oe.default.propTypes),{axis:re.default.oneOf(["both","x","y","none"]),bounds:re.default.oneOfType([re.default.shape({left:re.default.number,right:re.default.number,top:re.default.number,bottom:re.default.number}),re.default.string,re.default.oneOf([!1])]),defaultClassName:re.default.string,defaultClassNameDragging:re.default.string,defaultClassNameDragged:re.default.string,defaultPosition:re.default.shape({x:re.default.number,y:re.default.number}),positionOffset:re.default.shape({x:re.default.oneOfType([re.default.number,re.default.string]),y:re.default.oneOfType([re.default.number,re.default.string])}),position:re.default.shape({x:re.default.number,y:re.default.number}),className:ue.dontSetMe,style:ue.dontSetMe,transform:ue.dontSetMe})),fe(E,"defaultProps",Cc(Zu({},Oe.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(tt,Qe,te){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.default=void 0;var b=je(te(59301)),re=Oe(te(12708)),Pe=Oe(te(4676)),Fe=te(77026),be=te(22013),xe=te(80217),ue=Oe(te(97510));function Oe(E){return E&&E.__esModule?E:{default:E}}function je(E,x){if(typeof WeakMap=="function")var y=new WeakMap,z=new WeakMap;return(je=function(ne,ae){if(!ae&&ne&&ne.__esModule)return ne;var le,ie,de={__proto__:null,default:ne};if(ne===null||typeof ne!="object"&&typeof ne!="function")return de;if(le=ae?z:y){if(le.has(ne))return le.get(ne);le.set(ne,de)}for(const se in ne)se!=="default"&&{}.hasOwnProperty.call(ne,se)&&((ie=(le=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ne,se))&&(ie.get||ie.set)?le(de,se,ie):de[se]=ne[se]);return de})(E,x)}function Ie(E,x,y){return(x=Ne(x))in E?Object.defineProperty(E,x,{value:y,enumerable:!0,configurable:!0,writable:!0}):E[x]=y,E}function Ne(E){var x=De(E,"string");return typeof x=="symbol"?x:x+""}function De(E,x){if(typeof E!="object"||!E)return E;var y=E[Symbol.toPrimitive];if(y!==void 0){var z=y.call(E,x||"default");if(typeof z!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(E)}const fe={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let oe=fe.mouse;class a extends b.Component{constructor(){super(...arguments),Ie(this,"dragging",!1),Ie(this,"lastX",NaN),Ie(this,"lastY",NaN),Ie(this,"touchIdentifier",null),Ie(this,"mounted",!1),Ie(this,"handleDragStart",x=>{if(this.props.onMouseDown(x),!this.props.allowAnyClick&&typeof x.button=="number"&&x.button!==0)return!1;const y=this.findDOMNode();if(!y||!y.ownerDocument||!y.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:z}=y;if(this.props.disabled||!(x.target instanceof z.defaultView.Node)||this.props.handle&&!(0,Fe.matchesSelectorAndParentsTo)(x.target,this.props.handle,y)||this.props.cancel&&(0,Fe.matchesSelectorAndParentsTo)(x.target,this.props.cancel,y))return;x.type==="touchstart"&&!this.props.allowMobileScroll&&x.preventDefault();const ne=(0,Fe.getTouchIdentifier)(x);this.touchIdentifier=ne;const ae=(0,be.getControlPosition)(x,ne,this);if(ae==null)return;const{x:le,y:ie}=ae,de=(0,be.createCoreData)(this,le,ie);(0,ue.default)("DraggableCore: handleDragStart: %j",de),(0,ue.default)("calling",this.props.onStart),!(this.props.onStart(x,de)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Fe.addUserSelectStyles)(z),this.dragging=!0,this.lastX=le,this.lastY=ie,(0,Fe.addEvent)(z,oe.move,this.handleDrag),(0,Fe.addEvent)(z,oe.stop,this.handleDragStop))}),Ie(this,"handleDrag",x=>{const y=(0,be.getControlPosition)(x,this.touchIdentifier,this);if(y==null)return;let{x:z,y:ne}=y;if(Array.isArray(this.props.grid)){let ie=z-this.lastX,de=ne-this.lastY;if([ie,de]=(0,be.snapToGrid)(this.props.grid,ie,de),!ie&&!de)return;z=this.lastX+ie,ne=this.lastY+de}const ae=(0,be.createCoreData)(this,z,ne);if((0,ue.default)("DraggableCore: handleDrag: %j",ae),this.props.onDrag(x,ae)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(ie){const de=document.createEvent("MouseEvents");de.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(de)}return}this.lastX=z,this.lastY=ne}),Ie(this,"handleDragStop",x=>{if(!this.dragging)return;const y=(0,be.getControlPosition)(x,this.touchIdentifier,this);if(y==null)return;let{x:z,y:ne}=y;if(Array.isArray(this.props.grid)){let de=z-this.lastX||0,se=ne-this.lastY||0;[de,se]=(0,be.snapToGrid)(this.props.grid,de,se),z=this.lastX+de,ne=this.lastY+se}const ae=(0,be.createCoreData)(this,z,ne);if(this.props.onStop(x,ae)===!1||this.mounted===!1)return!1;const ie=this.findDOMNode();ie&&this.props.enableUserSelectHack&&(0,Fe.scheduleRemoveUserSelectStyles)(ie.ownerDocument),(0,ue.default)("DraggableCore: handleDragStop: %j",ae),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,ie&&((0,ue.default)("DraggableCore: Removing handlers"),(0,Fe.removeEvent)(ie.ownerDocument,oe.move,this.handleDrag),(0,Fe.removeEvent)(ie.ownerDocument,oe.stop,this.handleDragStop))}),Ie(this,"onMouseDown",x=>(oe=fe.mouse,this.handleDragStart(x))),Ie(this,"onMouseUp",x=>(oe=fe.mouse,this.handleDragStop(x))),Ie(this,"onTouchStart",x=>(oe=fe.touch,this.handleDragStart(x))),Ie(this,"onTouchEnd",x=>(oe=fe.touch,this.handleDragStop(x)))}componentDidMount(){this.mounted=!0;const x=this.findDOMNode();x&&(0,Fe.addEvent)(x,fe.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const x=this.findDOMNode();if(x){const{ownerDocument:y}=x;(0,Fe.removeEvent)(y,fe.mouse.move,this.handleDrag),(0,Fe.removeEvent)(y,fe.touch.move,this.handleDrag),(0,Fe.removeEvent)(y,fe.mouse.stop,this.handleDragStop),(0,Fe.removeEvent)(y,fe.touch.stop,this.handleDragStop),(0,Fe.removeEvent)(x,fe.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Fe.scheduleRemoveUserSelectStyles)(y)}}findDOMNode(){var x,y,z;return(x=this.props)!=null&&x.nodeRef?(z=(y=this.props)==null?void 0:y.nodeRef)==null?void 0:z.current:Pe.default.findDOMNode(this)}render(){return b.cloneElement(b.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Qe.default=a,Ie(a,"displayName","DraggableCore"),Ie(a,"propTypes",{allowAnyClick:re.default.bool,allowMobileScroll:re.default.bool,children:re.default.node.isRequired,disabled:re.default.bool,enableUserSelectHack:re.default.bool,offsetParent:function(E,x){if(E[x]&&E[x].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:re.default.arrayOf(re.default.number),handle:re.default.string,cancel:re.default.string,nodeRef:re.default.object,onStart:re.default.func,onDrag:re.default.func,onStop:re.default.func,onMouseDown:re.default.func,scale:re.default.number,className:xe.dontSetMe,style:xe.dontSetMe,transform:xe.dontSetMe}),Ie(a,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(tt,Qe,te){"use strict";const{default:b,DraggableCore:re}=te(51353);tt.exports=b,tt.exports.default=b,tt.exports.DraggableCore=re},77026:function(tt,Qe,te){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.addClassName=le,Qe.addEvent=ue,Qe.addUserSelectStyles=z,Qe.createCSSTransform=oe,Qe.createSVGTransform=a,Qe.getTouch=x,Qe.getTouchIdentifier=y,Qe.getTranslation=E,Qe.innerHeight=Ne,Qe.innerWidth=De,Qe.matchesSelector=be,Qe.matchesSelectorAndParentsTo=xe,Qe.offsetXYFromParent=fe,Qe.outerHeight=je,Qe.outerWidth=Ie,Qe.removeClassName=ie,Qe.removeEvent=Oe,Qe.scheduleRemoveUserSelectStyles=ne;var b=te(80217),re=Pe(te(76172));function Pe(de,se){if(typeof WeakMap=="function")var ce=new WeakMap,me=new WeakMap;return(Pe=function(ve,Ee){if(!Ee&&ve&&ve.__esModule)return ve;var Je,Me,Ue={__proto__:null,default:ve};if(ve===null||typeof ve!="object"&&typeof ve!="function")return Ue;if(Je=Ee?me:ce){if(Je.has(ve))return Je.get(ve);Je.set(ve,Ue)}for(const Le in ve)Le!=="default"&&{}.hasOwnProperty.call(ve,Le)&&((Me=(Je=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ve,Le))&&(Me.get||Me.set)?Je(Ue,Le,Me):Ue[Le]=ve[Le]);return Ue})(de,se)}let Fe="";function be(de,se){return Fe||(Fe=(0,b.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(ce){return(0,b.isFunction)(de[ce])})),(0,b.isFunction)(de[Fe])?de[Fe](se):!1}function xe(de,se,ce){let me=de;do{if(be(me,se))return!0;if(me===ce)return!1;me=me.parentNode}while(me);return!1}function ue(de,se,ce,me){if(!de)return;const ve=Zu({capture:!0},me);de.addEventListener?de.addEventListener(se,ce,ve):de.attachEvent?de.attachEvent("on"+se,ce):de["on"+se]=ce}function Oe(de,se,ce,me){if(!de)return;const ve=Zu({capture:!0},me);de.removeEventListener?de.removeEventListener(se,ce,ve):de.detachEvent?de.detachEvent("on"+se,ce):de["on"+se]=null}function je(de){let se=de.clientHeight;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se+=(0,b.int)(ce.borderTopWidth),se+=(0,b.int)(ce.borderBottomWidth),se}function Ie(de){let se=de.clientWidth;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se+=(0,b.int)(ce.borderLeftWidth),se+=(0,b.int)(ce.borderRightWidth),se}function Ne(de){let se=de.clientHeight;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se-=(0,b.int)(ce.paddingTop),se-=(0,b.int)(ce.paddingBottom),se}function De(de){let se=de.clientWidth;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se-=(0,b.int)(ce.paddingLeft),se-=(0,b.int)(ce.paddingRight),se}function fe(de,se,ce){const ve=se===se.ownerDocument.body?{left:0,top:0}:se.getBoundingClientRect(),Ee=(de.clientX+se.scrollLeft-ve.left)/ce,Je=(de.clientY+se.scrollTop-ve.top)/ce;return{x:Ee,y:Je}}function oe(de,se){const ce=E(de,se,"px");return{[(0,re.browserPrefixToKey)("transform",re.default)]:ce}}function a(de,se){return E(de,se,"")}function E(de,se,ce){let{x:me,y:ve}=de,Ee=`translate(${me}${ce},${ve}${ce})`;if(se){const Je=`${typeof se.x=="string"?se.x:se.x+ce}`,Me=`${typeof se.y=="string"?se.y:se.y+ce}`;Ee=`translate(${Je}, ${Me})`+Ee}return Ee}function x(de,se){return de.targetTouches&&(0,b.findInArray)(de.targetTouches,ce=>se===ce.identifier)||de.changedTouches&&(0,b.findInArray)(de.changedTouches,ce=>se===ce.identifier)}function y(de){if(de.targetTouches&&de.targetTouches[0])return de.targetTouches[0].identifier;if(de.changedTouches&&de.changedTouches[0])return de.changedTouches[0].identifier}function z(de){if(!de)return;let se=de.getElementById("react-draggable-style-el");se||(se=de.createElement("style"),se.type="text/css",se.id="react-draggable-style-el",se.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +`,se.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} +`,de.getElementsByTagName("head")[0].appendChild(se)),de.body&&le(de.body,"react-draggable-transparent-selection")}function ne(de){window.requestAnimationFrame?window.requestAnimationFrame(()=>{ae(de)}):ae(de)}function ae(de){if(de)try{if(de.body&&ie(de.body,"react-draggable-transparent-selection"),de.selection)de.selection.empty();else{const se=(de.defaultView||window).getSelection();se&&se.type!=="Caret"&&se.removeAllRanges()}}catch(se){}}function le(de,se){de.classList?de.classList.add(se):de.className.match(new RegExp(`(?:^|\\s)${se}(?!\\S)`))||(de.className+=` ${se}`)}function ie(de,se){de.classList?de.classList.remove(se):de.className=de.className.replace(new RegExp(`(?:^|\\s)${se}(?!\\S)`,"g"),"")}},76172:function(tt,Qe){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.browserPrefixToKey=re,Qe.browserPrefixToStyle=Pe,Qe.default=void 0,Qe.getPrefix=b;const te=["Moz","Webkit","O","ms"];function b(){var Oe,je;let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ue=(je=(Oe=window.document)==null?void 0:Oe.documentElement)==null?void 0:je.style;if(!ue||xe in ue)return"";for(let Ie=0;Ie: Unmounted during event!");return fe}},80217:function(tt,Qe){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.dontSetMe=Fe,Qe.findInArray=te,Qe.int=Pe,Qe.isFunction=b,Qe.isNum=re;function te(be,xe){for(let ue=0,Oe=be.length;ue=0||Object.prototype.hasOwnProperty.call(De,a)&&(oe[a]=De[a]);return oe}function Oe(De,fe){if(!(De instanceof fe))throw new TypeError("Cannot call a class as a function")}function je(De,fe){if(!De)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe&&(typeof fe=="object"||typeof fe=="function")?fe:De}function Ie(De,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof fe);De.prototype=Object.create(fe&&fe.prototype,{constructor:{value:De,enumerable:!1,writable:!0,configurable:!0}}),fe&&(Object.setPrototypeOf?Object.setPrototypeOf(De,fe):De.__proto__=fe)}var Ne=function(De){Ie(fe,De);function fe(oe){Oe(this,fe);var a=je(this,(fe.__proto__||Object.getPrototypeOf(fe)).call(this,oe));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return b(fe,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,E={get passive(){a=!0}};try{document.addEventListener("test",null,E),document.removeEventListener("test",null,E)}catch(x){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var E=this.props.getScrollParent&&this.props.getScrollParent();return E!=null?E:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var E=window;this.props.useWindow===!1&&(E=a),E.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),E.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),E.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,E=window,x=this.getParentElement(a),y=void 0;if(this.props.useWindow){var z=document.documentElement||document.body.parentNode||document.body,ne=E.pageYOffset!==void 0?E.pageYOffset:z.scrollTop;this.props.isReverse?y=ne:y=this.calculateOffset(a,ne)}else this.props.isReverse?y=x.scrollTop:y=a.scrollHeight-x.scrollTop-x.clientHeight;y=0)&&(E[y]=oe[y]);return E}function Ie(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function Ne(oe,a){oe.prototype=Object.create(a.prototype),oe.prototype.constructor=oe,oe.__proto__=a}function De(oe,a,E){return a in oe?Object.defineProperty(oe,a,{value:E,enumerable:!0,configurable:!0,writable:!0}):oe[a]=E,oe}var fe=function(oe){Ne(a,oe);function a(){for(var x,y=arguments.length,z=new Array(y),ne=0;ne=0)&&(z[ae]=x[ae]);return z}function fe(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function oe(x,y){x.prototype=Object.create(y.prototype),x.prototype.constructor=x,x.__proto__=y}function a(x,y,z){return y in x?Object.defineProperty(x,y,{value:z,enumerable:!0,configurable:!0,writable:!0}):x[y]=z,x}var E=function(x){oe(y,x);function y(){for(var ne,ae=arguments.length,le=new Array(ae),ie=0;ieQe in at?Cc(at,Qe,{enumerable:!0,configurable:!0,writable:!0,value:te}):at[Qe]=te,Tu=(at,Qe)=>{for(var te in Qe||(Qe={}))yc.call(Qe,te)&&Sc(at,te,Qe[te]);if(nc)for(var te of nc(Qe))Pc.call(Qe,te)&&Sc(at,te,Qe[te]);return at},Ec=(at,Qe)=>Fc(at,Bc(Qe));var Ac=(at,Qe)=>{var te={};for(var x in at)yc.call(at,x)&&Qe.indexOf(x)<0&&(te[x]=at[x]);if(at!=null&&nc)for(var x of nc(at))Qe.indexOf(x)<0&&Pc.call(at,x)&&(te[x]=at[x]);return te};(self.webpackChunk=self.webpackChunk||[]).push([[6776],{89489:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},59477:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},26227:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},49198:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},41464:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},87169:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},52671:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},8657:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},56082:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},33853:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},15075:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},43531:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},38819:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(Ie,Ne){return re.createElement(be.Z,(0,x.Z)({},Ie,{ref:Ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue},96408:function(at,Qe){"use strict";Qe.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},5006:function(at,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___iyIe6",flex_space_between:"flex_space_between___g2WjG",flex_box_vertical_center:"flex_box_vertical_center___Tde0v",flex_box_center_end:"flex_box_center_end___W1D5W",flex_box_column:"flex_box_column___ZiFvs",bg:"bg___T2R2s",containerTitle:"containerTitle___yARn_",containerDesc:"containerDesc___fKSYF",menus:"menus___e8wtg",listItem:"listItem___s7xhg",info:"info___Hx2bW",title:"title___W7a1R",titleLeft:"titleLeft___C5r0w",titleRight:"titleRight___g5GZv",acitons:"acitons___H0RU0",move:"move___qYkSy",hideHeadCheckbox:"hideHeadCheckbox___Hq5gw",moveCategory:"moveCategory___bZSGQ",tabSearch:"tabSearch___NaKI4",warpModal:"warpModal___HLUgh",modalColumn:"modalColumn___F7R5w",modalRow:"modalRow___L6ghw",sup:"sup___VGKXV",name:"name___QMvgh"}},61191:function(at,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},84511:function(at,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},78677:function(at,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___oQbDY",flex_space_between:"flex_space_between____4k1m",flex_box_vertical_center:"flex_box_vertical_center___iAGL_",flex_box_center_end:"flex_box_center_end___zhjgR",flex_box_column:"flex_box_column___bv7Ek",downloadbutton:"downloadbutton___FK4KV",configWorkContainer:"configWorkContainer___kXeIx"}},57951:function(at,Qe){"use strict";Qe.Z={flex_box_center:"flex_box_center___mwl85",flex_space_between:"flex_space_between___Ykig4",flex_box_vertical_center:"flex_box_vertical_center___q51y0",flex_box_center_end:"flex_box_center_end___w0r4J",flex_box_column:"flex_box_column___A_A7o",downloadbutton:"downloadbutton___x1b07",configWorkContainer:"configWorkContainer___AQoCT"}},42882:function(at,Qe){"use strict";Qe.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeFormSty:"threeFormSty___OJPML"}},70414:function(at,Qe,te){"use strict";var x=te(59301),re=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(je,Ie,Ne)=>Ie in je?re(je,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):je[Ie]=Ne,ue=(je,Ie)=>{for(var Ne in Ie||(Ie={}))Fe.call(Ie,Ne)&&xe(je,Ne,Ie[Ne]);if(Pe)for(var Ne of Pe(Ie))be.call(Ie,Ne)&&xe(je,Ne,Ie[Ne]);return je};const Oe=je=>React.createElement("svg",ue({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},je),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));Qe.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},25863:function(){"use strict";function at(oe,a,E,b){E===void 0&&(E=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=a,this._minimum=E,this._maximum=b}Object.defineProperty(at.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(at.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(at.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(at.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,a){var E=go.Shape._FigureParameters[oe];return E?E[a]:null},go.Shape.setFigureParameter=function(oe,a,E){if(!(E instanceof at))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var b=go.Shape._FigureParameters[oe];b||(b=[],go.Shape._FigureParameters[oe]=b),b[a]=E};var Qe=[];function te(oe,a){var E=Qe.pop();return E===void 0?new go.Point(oe,a):(E.x=oe,E.y=a,E)}function x(){var oe=Qe.pop();return oe===void 0?new go.Point:oe}function re(oe){Qe.push(oe)}function Pe(oe,a,E,b,y,z,ne,ae,le){le||(le=new go.Point);var ie=oe-E,de=y-ne,se=NaN,ce=NaN;if(ie===0)if(de===0)oe===E&&(se=oe,ce=a);else{var ge=(z-ae)/de,ve=z-ge*y;se=oe,ce=ge*se+ve}else if(de===0){var Ee=(a-b)/ie,Je=a-Ee*oe;se=y,ce=Ee*se+Je}else{var Ee=(a-b)/ie,ge=(z-ae)/de,Je=a-Ee*oe,ve=z-ge*y;se=(ve-Je)/(Ee-ge),ce=Ee*se+Je}return le.x=se,le.y=ce,le}function Fe(oe,a,E,b,y,z,ne,ae,le,ie,de,se,ce,ge){var ve=1-le,Ee=le,Je=oe*ve+E*Ee,Me=a*ve+b*Ee,Ue=E*ve+y*Ee,Le=b*ve+z*Ee,ke=y*ve+ne*Ee,ot=z*ve+ae*Ee,gt=Je*ve+Ue*Ee,it=Me*ve+Le*Ee,nt=Ue*ve+ke*Ee,Xe=Le*ve+ot*Ee,St=gt*ve+nt*Ee,He=it*ve+Xe*Ee;ie.x=Je,ie.y=Me,de.x=gt,de.y=it,se.x=St,se.y=He,ce.x=nt,ce.y=Xe,ge.x=ke,ge.y=ot}var be=new go.Spot(.156,.156),xe=new go.Spot(.844,.844),ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new at("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,a,E){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*ue,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,b,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=E/2,b.endX=a,b.endY=E/2,b}),go.Shape.defineFigureGenerator("LineV",function(oe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=E,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,a,E){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,a,E){var b=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=be,y.spot2=xe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(oe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}),go.Shape.defineFigureGenerator("Line2",function(oe,a,E){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=E,b}),go.Shape.defineFigureGenerator("Curve1",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,ue*a,0,a,(1-ue)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,ue*E,(1-ue)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,ue*E,ue*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-ue)*a,0,0,(1-ue)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new at("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(b=.5);var y=Math.abs(b)*a;if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(b=a/2);var y=Math.abs(b);if(b===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=E,z}else{var z=new go.Geometry;return b>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,a/2+ae,a/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ae,ae).close())),z.spot1=be,z.spot2=xe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,a,E){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,b*E).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new at("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new at("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,a,E){var b=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var z=b%360;z<0&&(z+=360);var ne=y%360,ae=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,z,ne,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,a,E){var b=ue/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,z*E,a,(1-b)*E,(y+b)*a,(z+b)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new at("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,a,E){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,a)/2,z=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new at("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,a,E){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,a)/2,z=a/2,ne=E/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne-y)).add(new go.PathSegment(go.PathSegment.Line,a,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,E)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new at("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,a,E){var b=oe?oe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var z=a/2,ne=E/2,ae=Math.atan2(E,a),le=b-Math.min(Math.cos(ae)*b/2,z),ie=b-Math.min(Math.sin(ae)*b/2,ne),y=new go.Geometry,de=new go.PathFigure(le,0,!0);return y.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,.2*E)),de.add(new go.PathSegment(go.PathSegment.Line,a-le,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,a,E-ie)),de.add(new go.PathSegment(go.PathSegment.Line,a-le,E)),de.add(new go.PathSegment(go.PathSegment.Line,z,.8*E)),de.add(new go.PathSegment(go.PathSegment.Line,le,E)),de.add(new go.PathSegment(go.PathSegment.Line,0,E-ie)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new at("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,a,E){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new at("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new at("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-b)*a,.25*E,Math.abs(1-b)*a,.75*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,ue*a,0,a,(.5-ue/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+ue/2)*E,ue*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var z=.2,ne=.3,ae=0,le=z*ue;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+z+ae)*E,(.5-z+ne)*a,(.5+le+ae)*E,(.5-le+ne)*a,(.5+z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*a,(.5+ae)*E,(.5+le+ne)*a,(.5+z+ae)*E,(.5+z+ne)*a,(.5+le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+ae)*E,(1-.5+z+ne)*a,(.5-le+ae)*E,(.5+le+ne)*a,(.5-z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-le+ne)*a,(.5-z+ae)*E,(.5-z+ne+.05)*a,(.5-le+ae-.02)*E)),z=.2,ne=0,ae=-.3,le=z*ue,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*a,(.5+ae)*E,(.5+le+ne)*a,(.5+z+ae)*E,(.5+z+ne)*a,(.5+le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+ae)*E,(1-.5+z+ne)*a,(.5-le+ae)*E,(.5+le+ne)*a,(.5-z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*a,(.5+ae)*E,(.5-le+ne)*a,(.5-z+ae)*E,(.5-z+ne)*a,(.5-le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ne)*a,(.5+z+ae)*E,(.5-z+ne)*a,(.5+le+ae)*E,(.5-le+ne)*a,(.5+z+ae)*E)),z=.2,ne=-.3,ae=0,le=z*ue,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5-z+ae)*E,(1-.5+z+ne-.05)*a,(.5-le+ae-.02)*E,(.5+le+ne)*a,(.5-z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*a,(.5+ae)*E,(.5-le+ne)*a,(.5-z+ae)*E,(.5-z+ne)*a,(.5-le+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*a,(.5+z+ae)*E,(.5-z+ne)*a,(.5+le+ae)*E,(.5-le+ne)*a,(.5+z+ae)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+le+ne)*a,(.5+z+ae)*E,(.5+z+ne)*a,(.5+le+ae)*E).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ne=.5,ae=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*a,ae*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ne,E*ae,z*a,z*a).close()),y=new go.PathFigure(a*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ae=.75,y=new go.PathFigure((ne+z)*a,ae*E,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ne,E*ae,z*a,z*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,a,E){var b=.8535533905932737,y=.5*a,z=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*E)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=.5,ne=.5,ae=.5,le=new go.PathFigure(ne*a,(ae-z)*E);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),z=.4,y=ue*.4;var ie=x(),de=x(),se=x(),ce=x();Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.42,ie,de,se,ce,ce);var ge=x(),ve=x(),Ee=x();Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.58,ce,ce,Ee,ge,ve);var Je=x(),Me=x(),Ue=x();Fe(ne,ae+z,ne-y,ae+z,ne-z,ae+y,ne-z,ae,.42,Je,Me,Ue,ce,ce);var Le=x(),ke=x(),ot=x();return Fe(ne,ae+z,ne-y,ae+z,ne-z,ae+y,ne-z,ae,.58,ce,ce,ot,Le,ke),le.add(new go.PathSegment(go.PathSegment.Move,ot.x*a,ot.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,Le.x*a,Le.y*E,ke.x*a,ke.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,se.x*a,se.y*E,ie.x*a,ie.y*E,de.x*a,de.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,ot.x*a,ot.y*E).close()),le.add(new go.PathSegment(go.PathSegment.Move,Ue.x*a,Ue.y*E)),le.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,ge.x*a,ge.y*E,ve.x*a,ve.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*a,Ue.y*E,Je.x*a,Je.y*E,Me.x*a,Me.y*E).close()),re(ie),re(de),re(se),re(ce),re(ge),re(ve),re(Ee),re(Je),re(Me),re(Ue),re(Le),re(ke),re(ot),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new at("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,a,E){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var y=(a-b)/2,z=y+b;return new go.Geometry().add(new go.PathFigure(z,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,a,E){var b=new go.Geometry,y=ue*.4,z=.4,ne=.5,ae=.5,le=x(),ie=x(),de=x(),se=x(),ce=new go.PathFigure((ne-z)*a,ae*E,!1);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.44,de,se,ie,le,le),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,de.x*a,de.y*E,se.x*a,se.y*E));var ge=te(ie.x,ie.y);Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.56,le,le,ie,de,se);var ve=te(ie.x,ie.y);ce.add(new go.PathSegment(go.PathSegment.Line,(ge.x*.1+.95*.9)*a,ge.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,ge.y*.1*E)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,.15*E)),ce.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,(ve.y*.1+.05*.9)*E)),ce.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,de.x*a,de.y*E,se.x*a,se.y*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),z=.35,y=ue*.35;var Ee=new go.PathFigure(ne*a,(ae-z)*E,!1);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E));var Je=new go.PathFigure((ne-z)*a,ae*E,!1);return b.add(Je),re(le),re(ie),re(de),re(se),re(ge),re(ve),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,a,E){var b=new go.Geometry,y=.375,z=0,ne=-.125,ae=y*ue,le=new go.PathFigure((.525+z)*a,(.5+y+ne)*E,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*a,(.5+ne)*E,(.5+ae+z)*a,(.5+y+ne)*E,(.5+y+z)*a,(.5+ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-y+ne)*E,(1-.5+y+z)*a,(.5-ae+ne)*E,(.5+ae+z)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-ae+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+y+ne)*E,(.5-y+z)*a,(.5+ae+ne)*E,(.5-ae+z)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,z=0,ne=-.125,ae=y*ue;var le=new go.PathFigure((1-.5+y+z)*a,(.5+ne)*E,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+y+ne)*E,(.5+y+z)*a,(.5+ae+ne)*E,(.5+ae+z)*a,(.5+y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-ae+z)*a,(.5+y+ne)*E,(.5-y+z)*a,(.5+ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-ae+ne)*E,(.5-ae+z)*a,(.5-y+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*a,(.5+ne)*E,(.5+ae+z)*a,(.5-y+ne)*E,(1-.5+y+z)*a,(.5-ae+ne)*E));var le=new go.PathFigure((.525+z)*a,(.5+y+ne)*E,!1);return b.add(le),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,a,E){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,a,E){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,b*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,a,E){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,a,E){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*E,b*a,b*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new at("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new at("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-b)*a,ne=(.5-y/2)*E,ae=(.5+y/2)*E,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),le.spot1=new go.Spot(0,ne/E);var de=Pe(0,ae/E,1,ae/E,z/a,1,1,.5,x());return le.spot2=new go.Spot(de.x,de.y),re(de),le}),go.Shape.setFigureParameter("Arrow2",0,new at("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new at("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var z=a-b,ne=(E-y)/2,ae=ne+y,le=new go.Geometry,ie=new go.PathFigure(0,ne,!0);le.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,E)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),le.spot1=new go.Spot(0,ne/E);var de=Pe(0,ae/E,1,ae/E,z/a,1,1,.5,x());return le.spot2=new go.Spot(de.x,de.y),re(de),le}),go.Shape.defineFigureGenerator("Chevron",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new at("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,z=(.5+b/2)*E,ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var le=Pe(0,.5,.3,0,0,y/E,.1,y/E,x());return ne.spot1=new go.Spot(le.x,le.y),le=Pe(.7,1,1,.5,0,z/E,1,z/E,le),ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new at("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new at("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var z=(E-b)/2,ne=z+b,ae=(E-y)/2,le=ae+y;(b>E||y>E)&&(y>b?(b=b*E/y,z=(E-b)/2,ne=z+b,ae=0,le=E):(z=0,ne=E,ae=0,le=E));var ie=new go.Geometry,de=new go.PathFigure(a,.5*E,!0);ie.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae).close());var se=Pe(0,.5,.3,ae/E,0,z/E,1,z/E,x());return ie.spot1=new go.Spot(se.x,se.y),se=Pe(.7,le/E,1,.5,0,ne/E,1,ne/E,se),ie.spot2=new go.Spot(se.x,se.y),re(se),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new at("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*E,z=(.5+b/2)*E,ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(0,y/E);var le=Pe(.7,1,1,.5,0,z/E,1,z/E,x());return ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new at("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new at("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var z=(E-b)/2,ne=z+b,ae=(E-y)/2,le=ae+y;(b>E||y>E)&&(y>b?(b=b*E/y,z=(E-b)/2,ne=z+b,ae=0,le=E):(z=0,ne=E,ae=0,le=E));var ie=new go.Geometry,de=new go.PathFigure(a,.5*E,!0);ie.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),de.add(new go.PathSegment(go.PathSegment.Line,0,le)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae).close()),ie.spot1=new go.Spot(0,z/E);var se=Pe(.7,le/E,1,.5,0,ne/E,1,ne/E,x());return ie.spot2=new go.Spot(se.x,se.y),re(se),ie}),go.Shape.setFigureParameter("Pointer",0,new at("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var ne=Pe(.2,.65,1,.65,0,1,1,.5,x());return y.spot2=new go.Spot(ne.x,ne.y),re(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new at("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*E,b*a,.25*E).close()),y.spot1=new go.Spot(b,.35);var ne=Pe(0,.65,1,.65,0,1,1,.5,x());return y.spot2=new go.Spot(ne.x,ne.y),re(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new at("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*E,z=(.5+b/2)*E,ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,.3);var le=Pe(.7,1,1,.5,0,z/E,1,z/E,x());return ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new at("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var y=(E-b)/2,z=y+b;b>E&&(y=0,z=E);var ne=new go.Geometry,ae=new go.PathFigure(a,.5*E,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ne.spot1=new go.Spot(.2,y/E);var le=Pe(.7,1,1,.5,0,z/E,1,z/E,x());return ne.spot2=new go.Spot(le.x,le.y),re(le),ne}),go.Shape.setFigureParameter("SquareArrow",0,new at("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,z=new go.PathFigure(a,.5*E,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=ue*.1,ne=new go.PathFigure(0,.9*E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var z=new go.PathFigure(0,.9*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var z=new go.PathFigure(.5*a,E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(0,b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*b,(.5-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+z)*a,0,1*a,ue*b)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-ue*b,(.5+z)*a,1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-z)*a,1*E,0,E-ue*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var ae=new go.PathFigure(a,b,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ue*b,(.5+z)*a,2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*a,2*b,0,2*b-ue*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(0,E-b,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ue*b,(.5-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+z)*a,0,a,ue*b)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-ue*b,(.5+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-b,(.5-z)*a,E,0,E-ue*b));var ae=new go.PathFigure(0,E-b,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*b,0,E-b-ue*b,(.5-z)*a,E-2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,E-b,(.5+z)*a,E-2*b,a,E-b-ue*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ue*b,0,a,(.5-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+z)*E,a-ue*b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ue*b,E,0,(.5+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*E,ue*b,0));var ae=new go.PathFigure(b,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*E,b+ue*b,0,2*b,(.5-z)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,E,2*b,(.5+z)*E,b+ue*b,E)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,z=ue*.5,ne=new go.PathFigure(a-b,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-ue*b,0,a,(.5-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a,(.5+z)*E,a-ue*b,E)),ne.add(new go.PathSegment(go.PathSegment.Line,b,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,ue*b,E,0,(.5+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*E,ue*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ae=new go.PathFigure(a-b,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*E,a-b-ue*b,0,a-2*b,(.5-z)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a-b,E,a-2*b,(.5+z)*E,a-b-ue*b,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(.25*a,.25*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var z=new go.PathFigure(.5*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(oe,a,E){var b=new go.Geometry,y=.2,z=.1,ne=ue*y,ae=ue*z,le=.5,ie=.1,de=new go.PathFigure(le*a,(ie+z)*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(le-y)*a,ie*E,(le-ne)*a,(ie+z)*E,(le-y)*a,(ie+ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-z)*E,(le-y)*a,(ie-ae)*E,(le-ne)*a,(ie-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(le+y)*a,ie*E,(le+ne)*a,(ie-z)*E,(le+y)*a,(ie-ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+z)*E,(le+y)*a,(ie+ae)*E,(le+ne)*a,(ie+z)*E));var se=.05,ce=ue*se;le=.05,ie=.25;var ge=new go.PathFigure(.5*a,.2*E,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),le=.95,ie=.25,ge.add(new go.PathSegment(go.PathSegment.Bezier,(le+se)*a,ie*E,(le+ce)*a,(ie-se)*E,(le+se)*a,(ie-ce)*E)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),se=.025,ce=ue*se,le=.825,ie=.35,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le+se)*a,(ie-ce)*E,(le+ce)*a,(ie-se)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-se)*a,ie*E,(le-ce)*a,(ie-se)*E,(le-se)*a,(ie-ce)*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),se=.05,ce=ue*se,le=.5,ie=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le+se)*a,(ie-ce)*E,(le+ce)*a,(ie-se)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-se)*a,ie*E,(le-ce)*a,(ie-se)*E,(le-se)*a,(ie-ce)*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),se=.025,ce=ue*se,le=.175,ie=.35,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le+se)*a,(ie-ce)*E,(le+ce)*a,(ie-se)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-se)*a,ie*E,(le-ce)*a,(ie-se)*E,(le-se)*a,(ie-ce)*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),se=.05,ce=ue*se,le=.05,ie=.25,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-se)*E,(le-se)*a,(ie-ce)*E,(le-ce)*a,(ie-se)*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new at("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,a,E){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,z=new go.PathFigure(a,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*E)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var z=new go.PathFigure(.5*a,.5*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("Database",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=ue*.1,ne=new go.PathFigure(a,.1*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-z)*E));var ae=new go.PathFigure(a,.1*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+z)*E,(.5+y)*a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+z)*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+z)*E,(.5+y)*a,.3*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+z)*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+z)*E,(.5+y)*a,.4*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+z)*E)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=ue*.1,ne=new go.PathFigure(a,.1*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+z)*E,(.5+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*E,(.5-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-z)*E));var ae=new go.PathFigure(a,.1*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+z)*E,(.5+y)*a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+z)*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+z)*E,(.5+y)*a,.3*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+z)*E)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=ue*.2,ne=new go.PathFigure(0,.2*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*E,(.2-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+z)*a,0,a,(.2-z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+z)*E,(.8+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-z)*a,E,0,(.8+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var ae=new go.PathFigure(0,y*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(0,y*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),b}),go.Shape.defineFigureGenerator("Document",function(oe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),ne.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var z=new go.PathFigure(.1*a,.4*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(.75*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var z=new go.PathFigure(a,.5*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E));var ne=new go.PathFigure(a,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ae=new go.PathFigure(y*a,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ae.add(new go.PathSegment(go.PathSegment.Move,0,z*E)),ae.add(new go.PathSegment(go.PathSegment.Line,a,z*E)),b}),go.Shape.defineFigureGenerator("Junction",function(oe,a,E){var b=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=ue*.5,ae=.5,le=new go.PathFigure(a,ae*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,E,a,(ae+ne)*E,(ae+ne)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*E,(ae-ne)*a,E,0,(ae+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,0,0,(ae-ne)*E,(ae-ne)*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,ae*E,(ae+ne)*a,0,a,(ae-ne)*E));var ie=new go.PathFigure((z+y)*a,(z+y)*E,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*a,z*E)),ie.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*a,z*E)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var z=new go.PathFigure(.1*a,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=.5,ne=new go.PathFigure(.5*a,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*E,a,(z+y)*E,(z+y)*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(oe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var z=new go.PathFigure(.2*a,.1*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var ae=new go.PathFigure(.5*y*a,y*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=.5,ne=new go.PathFigure(a,z*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,a,(z+y)*E,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E));var ae=new go.PathFigure(a,.5*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(oe,a,E){var b=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN,z=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure((1-y)*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b}),go.Shape.defineFigureGenerator("Process",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var z=new go.PathFigure(0,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*a,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var ne=new go.PathFigure(y*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,a,E){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=.5,ne=new go.PathFigure(a,z*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,a,(z+y)*E,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*E,(z-y)*a,E,0,(z+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-y)*E,(z-y)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,z*E,(z+y)*a,0,a,(z-y)*E));var ae=new go.PathFigure(a,z*E,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,z*E));var le=new go.PathFigure(.8*a,.75*E,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),b}),go.Shape.defineFigureGenerator("Inverter",function(oe,a,E){var b=new go.Geometry,y=ue*.1,z=.1,ne=.9,ae=.5,le=new go.PathFigure(.8*a,.5*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,E)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var ie=new go.PathFigure((ne+z)*a,ae*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae-z)*E,(ne+z)*a,(ae-y)*E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=ue*.4,ne=ue*.1,ae=.1,le=.9,ie=.5,de=new go.PathFigure(.8*a,.5*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+z)*E,(.4+y)*a,E)),de.add(new go.PathSegment(go.PathSegment.Line,0,E)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-z)*E));var se=new go.PathFigure((le+ae)*a,ie*E,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ae)*E,(le+ae)*a,(ie+ne)*E,(le+ne)*a,(ie+ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a,ie*E,(le-ne)*a,(ie+ae)*E,(le-ae)*a,(ie+ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ae)*E,(le-ae)*a,(ie-ne)*E,(le-ne)*a,(ie-ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a,ie*E,(le+ne)*a,(ie-ae)*E,(le+ae)*a,(ie-ne)*E)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*y,ne=0,ae=.5,le=new go.PathFigure(.8*a,.5*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+z)*a,(ae-y)*E,.7*a,(ae-z)*E)),y=.1,z=ue*.1,ne=.9,ae=.5;var ie=new go.PathFigure((ne-y)*a,ae*E,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*y,ne=0,ae=.5,le=new go.PathFigure(0,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+z+z)*a,(ae-y)*E,.8*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(ae+z)*E,(ne+z+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*y,ne=.2,ae=.5,le=new go.PathFigure(.1*a,0,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.8*a,.5*E,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(ne+z)*a,(ae-y)*E,.7*a,(ae-z)*E)),y=.1,z=ue*.1,ne=.9,ae=.5;var de=new go.PathFigure((ne-y)*a,ae*E,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*y,ne=.2,ae=.5,le=new go.PathFigure(.1*a,0,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var ie=new go.PathFigure(.2*a,0,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(ne+z)*a,(ae-y)*E,.9*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Resistor",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),b}),go.Shape.defineFigureGenerator("Inductor",function(oe,a,E){var b=new go.Geometry,y=ue*.1,z=.1,ne=.1,ae=.5,le=new go.PathFigure((ne-y*.5)*a,E,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,E,(ne+z)*a,0,(ne+y)*a,E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,0,(ne-y)*a,E,(ne-z)*a,0)),ne=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*a,E,(ne+z)*a,0,(ne+y)*a,E)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,a,E){var b=new go.Geometry,y=ue*.5,z=.5,ne=.5,ae=.5,le=new go.PathFigure((ne-z)*a,ae*E,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-z)*E,(ne-z)*a,(ae-y)*E,(ne-y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae-z)*E,(ne+z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*a,ae*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*a,ae*E,ne*a,(ae-z)*E,ne*a,(ae+z)*E)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("Diode",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(oe,a,E){var b=new go.Geometry,y=a,z=E;a=a*.38,E=E*.6;var ne=ue*.8,ae=.8,le=0,ie=.5,de=(y-a)/2,se=(z-E)/2,ce=new go.PathFigure(le*a+de,(ie+ae)*E+se,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a+de,ie*E+se,(le-ne)*a+de,(ie+ae)*E+se,(le-ae)*a+de,(ie+ne)*E+se)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le-ae)*a+de,(ie-ne)*E+se,(le-ne)*a+de,(ie-ae)*E+se)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae+ne*.5)*a+de,ie*E+se,le*a+de,(ie-ae)*E+se,(le-ae+ne*.5)*a+de,(ie-ne)*E+se)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le-ae+ne*.5)*a+de,(ie+ne)*E+se,le*a+de,(ie+ae)*E+se).close()),ne=ue*.4,ae=.4,le=.2,ie=.5;var ge=new go.PathFigure(le*a+de,(ie+ae)*E+se,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a+de,ie*E+se,(le-ne)*a+de,(ie+ae)*E+se,(le-ae)*a+de,(ie+ne)*E+se)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le-ae)*a+de,(ie-ne)*E+se,(le-ne)*a+de,(ie-ae)*E+se)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae+ne*.5)*a+de,ie*E+se,le*a+de,(ie-ae)*E+se,(le-ae+ne*.5)*a+de,(ie-ne)*E+se)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le-ae+ne*.5)*a+de,(ie+ne)*E+se,le*a+de,(ie+ae)*E+se).close()),ne=ue*.2,ae=.2,le=.5,ie=.5;var ve=new go.PathFigure((le-ae)*a+de,ie*E+se,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le-ae)*a+de,(ie-ne)*E+se,(le-ne)*a+de,(ie-ae)*E+se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a+de,ie*E+se,(le+ne)*a+de,(ie-ae)*E+se,(le+ae)*a+de,(ie-ne)*E+se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le+ae)*a+de,(ie+ne)*E+se,(le+ne)*a+de,(ie+ae)*E+se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*a+de,ie*E+se,(le-ne)*a+de,(ie+ae)*E+se,(le-ae)*a+de,(ie+ne)*E+se)),ne=ue*.4,ae=.4,le=.8,ie=.5;var Ee=new go.PathFigure(le*a+de,(ie-ae)*E+se,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a+de,ie*E+se,(le+ne)*a+de,(ie-ae)*E+se,(le+ae)*a+de,(ie-ne)*E+se)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le+ae)*a+de,(ie+ne)*E+se,(le+ne)*a+de,(ie+ae)*E+se)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae-ne*.5)*a+de,ie*E+se,le*a+de,(ie+ae)*E+se,(le+ae-ne*.5)*a+de,(ie+ne)*E+se)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le+ae-ne*.5)*a+de,(ie-ne)*E+se,le*a+de,(ie-ae)*E+se).close()),ne=ue*.8,ae=.8,le=1,ie=.5;var Je=new go.PathFigure(le*a+de,(ie-ae)*E+se,!0);return b.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*a+de,ie*E+se,(le+ne)*a+de,(ie-ae)*E+se,(le+ae)*a+de,(ie-ne)*E+se)),Je.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie+ae)*E+se,(le+ae)*a+de,(ie+ne)*E+se,(le+ne)*a+de,(ie+ae)*E+se)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae-ne*.5)*a+de,ie*E+se,le*a+de,(ie+ae)*E+se,(le+ae-ne*.5)*a+de,(ie+ne)*E+se)),Je.add(new go.PathSegment(go.PathSegment.Bezier,le*a+de,(ie-ae)*E+se,(le+ae-ne*.5)*a+de,(ie-ne)*E+se,le*a+de,(ie-ae)*E+se).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),b}),go.Shape.defineFigureGenerator("Ethernet",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,E,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var ne=new go.PathFigure(.6*a,E,!0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var ae=new go.PathFigure(0,.5*E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),b}),go.Shape.defineFigureGenerator("Power",function(oe,a,E){var b=new go.Geometry,y=ue*.4,z=.4,ne=.5,ae=.5,le=x(),ie=x(),de=x(),se=x();Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.5,le,le,ie,de,se);var ce=te(ie.x,ie.y),ge=new go.PathFigure(ie.x*a,ie.y*E,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,de.x*a,de.y*E,se.x*a,se.y*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne+z)*a,(ae+y)*E,(ne+y)*a,(ae+z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,(ne-y)*a,(ae+z)*E,(ne-z)*a,(ae+y)*E)),Fe(ne-z,ae,ne-z,ae-y,ne-y,ae-z,ne,ae-z,.5,de,se,ie,le,le),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,de.x*a,de.y*E,se.x*a,se.y*E)),y=ue*.3,z=.3,Fe(ne-z,ae,ne-z,ae-y,ne-y,ae-z,ne,ae-z,.5,de,se,ie,le,le),ge.add(new go.PathSegment(go.PathSegment.Line,ie.x*a,ie.y*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,ae*E,se.x*a,se.y*E,de.x*a,de.y*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+z)*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,ae*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),Fe(ne,ae-z,ne+y,ae-z,ne+z,ae-y,ne+z,ae,.5,le,le,ie,de,se),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,se.x*a,se.y*E,de.x*a,de.y*E).close());var ge=new go.PathFigure(.45*a,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),re(le),re(ie),re(de),re(se),re(ce),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function z(ne,ae,le){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*a,(.8+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*a,(.5+le)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*a,(.8+le)*E).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,a,E){var b=new go.Geometry,y=.5,z=0,ne=0,ae=y*ue,le=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,de=1,se=.5,ce=.5,ge=0,ve=new go.PathFigure(le*a,(1-ie)*E,!1);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,se*E,de*a,.7*E,de*a,se*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+z)*a,(ge+z)*E,(.5+y+z)*a,(.5-ae+z)*E,(.5+ae+z)*a,(.5-y+z)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*a,(.5+ne)*E,(.5-ae+z)*a,(.5-y+ne)*E,(.5-y+z)*a,(.5-ae+ne)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*E,(.5-y+z)*a,(.5+ae+ne)*E,(.5-ae+z)*a,.9*E)),ve.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*E)),ve.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*E)),ve.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(a,E,!1);b.add(z);var ne=new go.PathFigure(0,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var z=new go.PathFigure(.45*a,.73*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(.335*a,(1-.555)*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var ne=.5-.285,ae=.5,le=ne,ie=Math.PI/4,de=4*(1-Math.cos(ie))/(3*Math.sin(ie)),se=de*.5,ce=ne,ge=ne,ve=de*ce,Ee=de*ge;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*a,le*E,(ae-(ve+ce)/2)*a,(le+(ge+Ee)/2)*E,(ae-ce)*a,(le+Ee)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ge)*E,(ae-ce)*a,(le-Ee)*E,(ae-ve)*a,(le-ge)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ce)*a,le*E,(ae+ve)*a,(le-ge)*E,(ae+ce)*a,(le-Ee)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(ae+ce)*a,(le+Ee)*E,(ae+(ve+ce)/2)*a,(le+(ge+Ee)/2)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var Je=new go.PathFigure(.2*a,E,!1);b.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var Me=new go.PathFigure(.8*a,E,!1);return b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.2*a,.2*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var z=new go.PathFigure(a,E,!1);b.add(z);var ne=new go.PathFigure(.1*a,E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,z*a,z*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),b}),go.Shape.defineFigureGenerator("Recycle",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var z=new go.PathFigure(.475*a,.2*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var ne=new go.PathFigure(.675*a,.575*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*.5,ne=new go.PathFigure(a,y*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+z)*E,(y+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-z)*a,E,0,(y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-z)*E,(y-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+z)*a,0,a,(y-z)*E));var ae=new go.PathFigure(y*a,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),ae.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),ae.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),ae.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),b}),go.Shape.defineFigureGenerator("Package",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,.15*E,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(0,.5*E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var z=new go.PathFigure(0,.2*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var ne=new go.PathFigure(0,.6*E,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var z=new go.PathFigure(.15*a,.6*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var ne=.1,ae=ue*.1,le=.2,ie=.9,de=new go.PathFigure((le-ne)*a,ie*E,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-ae)*E,(le-ae)*a,(ie-ne)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+ae)*a,(ie-ne)*E,(le+ne)*a,(ie-ae)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+ae)*E,(le+ae)*a,(ie+ne)*E)),de.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-ae)*a,(ie+ne)*E,(le-ne)*a,(ie+ae)*E).close()),ne=.1,ae=ue*.1,le=.8,ie=.9;var se=new go.PathFigure((le-ne)*a,ie*E,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie-ne)*E,(le-ne)*a,(ie-ae)*E,(le-ae)*a,(ie-ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*a,ie*E,(le+ae)*a,(ie-ne)*E,(le+ne)*a,(ie-ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(ie+ne)*E,(le+ne)*a,(ie+ae)*E,(le+ae)*a,(ie+ne)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*a,ie*E,(le-ae)*a,(ie+ne)*E,(le-ne)*a,(ie+ae)*E).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),b}),go.Shape.defineFigureGenerator("Forklift",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var ne=new go.PathFigure(.5*a,.8*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var ae=new go.PathFigure(.5*a,.7*E,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var le=.1,ie=ue*.1,de=.1,se=.9,ce=new go.PathFigure((de-le)*a,se*E,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se-le)*E,(de-le)*a,(se-ie)*E,(de-ie)*a,(se-le)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,se*E,(de+ie)*a,(se-le)*E,(de+le)*a,(se-ie)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se+le)*E,(de+le)*a,(se+ie)*E,(de+ie)*a,(se+le)*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,se*E,(de-ie)*a,(se+le)*E,(de-le)*a,(se+ie)*E)),le=.1,ie=ue*.1,de=.4,se=.9;var ge=new go.PathFigure((de-le)*a,se*E,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se-le)*E,(de-le)*a,(se-ie)*E,(de-ie)*a,(se-le)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,se*E,(de+ie)*a,(se-le)*E,(de+le)*a,(se-ie)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(se+le)*E,(de+le)*a,(se+ie)*E,(de+ie)*a,(se+le)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,se*E,(de-ie)*a,(se+le)*E,(de-le)*a,(se+ie)*E)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var z=new go.PathFigure(.45*a,.7*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var ne=new go.PathFigure(.55*a,.4*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var de=.05,se=ue*.05,ce=.175,ge=.95,ae=new go.PathFigure((ce-de)*a,ge*E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-de)*E,(ce-de)*a,(ge-se)*E,(ce-se)*a,(ge-de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,ge*E,(ce+se)*a,(ge-de)*E,(ce+de)*a,(ge-se)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+de)*E,(ce+de)*a,(ge+se)*E,(ce+se)*a,(ge+de)*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,ge*E,(ce-se)*a,(ge+de)*E,(ce-de)*a,(ge+se)*E));var de=.05,se=ue*.05,ce=.375,ge=.95,le=new go.PathFigure((ce-de)*a,ge*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-de)*E,(ce-de)*a,(ge-se)*E,(ce-se)*a,(ge-de)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,ge*E,(ce+se)*a,(ge-de)*E,(ce+de)*a,(ge-se)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+de)*E,(ce+de)*a,(ge+se)*E,(ce+se)*a,(ge+de)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,ge*E,(ce-se)*a,(ge+de)*E,(ce-de)*a,(ge+se)*E));var de=.05,se=ue*.05,ce=.625,ge=.95,ie=new go.PathFigure((ce-de)*a,ge*E,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-de)*E,(ce-de)*a,(ge-se)*E,(ce-se)*a,(ge-de)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,ge*E,(ce+se)*a,(ge-de)*E,(ce+de)*a,(ge-se)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+de)*E,(ce+de)*a,(ge+se)*E,(ce+se)*a,(ge+de)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,ge*E,(ce-se)*a,(ge+de)*E,(ce-de)*a,(ge+se)*E));var de=.05,se=ue*.05,ce=.825,ge=.95,ve=new go.PathFigure((ce-de)*a,ge*E,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-de)*E,(ce-de)*a,(ge-se)*E,(ce-se)*a,(ge-de)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+de)*a,ge*E,(ce+se)*a,(ge-de)*E,(ce+de)*a,(ge-se)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge+de)*E,(ce+de)*a,(ge+se)*E,(ce+se)*a,(ge+de)*E)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce-de)*a,ge*E,(ce-se)*a,(ge+de)*E,(ce-de)*a,(ge+se)*E).close());var Ee=new go.PathFigure(0,E,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var ne=new go.PathFigure(.15*a,E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var ae=.05,le=ue*.05,ie=.35,de=.775,se=new go.PathFigure((ie-ae)*a,de*E,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(de-ae)*E,(ie-ae)*a,(de-le)*E,(ie-le)*a,(de-ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*a,de*E,(ie+le)*a,(de-ae)*E,(ie+ae)*a,(de-le)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(de+ae)*E,(ie+ae)*a,(de+le)*E,(ie+le)*a,(de+ae)*E)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*a,de*E,(ie-le)*a,(de+ae)*E,(ie-ae)*a,(de+le)*E).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b}),go.Shape.defineFigureGenerator("Globe",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),b}),go.Shape.defineFigureGenerator("Wave",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),b}),go.Shape.defineFigureGenerator("Operator",function(oe,a,E){var b=new go.Geometry,y=.3,z=ue*.3,ne=.5,ae=.7,le=new go.PathFigure((ne-y)*a,ae*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E));var ie=new go.PathFigure(0,.7*E,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var z=new go.PathFigure(0,.6*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b}),go.Shape.defineFigureGenerator("Delete",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*.5,ne=.5,ae=.5,le=new go.PathFigure((ne-y)*a,ae*E,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E));var ie=new go.PathFigure(.15*a,.5*E,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),b}),go.Shape.defineFigureGenerator("Flag",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),b}),go.Shape.defineFigureGenerator("Help",function(oe,a,E){var b=new go.Geometry,y=.5,z=ue*.5,ne=.5,ae=.5,le=new go.PathFigure((ne-y)*a,ae*E,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E).close()),y=.05,z=ue*.05,ne=.5,ae=.8;var ie=new go.PathFigure((ne-y)*a,ae*E,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae-y)*E,(ne-y)*a,(ae-z)*E,(ne-z)*a,(ae-y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,ae*E,(ne+z)*a,(ae-y)*E,(ne+y)*a,(ae-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ae+y)*E,(ne+y)*a,(ae+z)*E,(ne+z)*a,(ae+y)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,ae*E,(ne-z)*a,(ae+y)*E,(ne-y)*a,(ae+z)*E).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),b}),go.Shape.defineFigureGenerator("Location",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.2*a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),b}),go.Shape.defineFigureGenerator("Unlocked",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.2*a,.5*E,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),b}),go.Shape.defineFigureGenerator("Gear",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),b}),go.Shape.defineFigureGenerator("Map",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),b}),go.Shape.defineFigureGenerator("Eject",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var z=new go.PathFigure(0,E*.6,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var z=new go.PathFigure(.126*a,.85*E,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var ne=new go.PathFigure(.402*a,.85*E,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var ae=new go.PathFigure(.678*a,.85*E,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var le=new go.PathFigure(.5*a,.1*E,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),le.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,E*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var z=new go.PathFigure(a*.204,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var ne=new go.PathFigure(a*.408,E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var ae=new go.PathFigure(a*.612,E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var le=new go.PathFigure(a*.816,E,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var ne=new go.PathFigure(a*.055,.13*E,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var ae=new go.PathFigure(a*.055,.18*E,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var le=new go.PathFigure(a*1,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),le.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),b}),go.Shape.defineFigureGenerator("Key",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(0,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var ne=new go.PathFigure(a*.11,E*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var ae=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var le=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,a,E){var b=new go.Geometry,y=8,z=y*ue,ne=new go.PathFigure(y,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-z,a-z,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,z,E,0,E-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ae=new go.PathFigure(a*.83,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var le=new go.PathFigure(a*.83,E*1,!1);b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var ie=new go.PathFigure(a*.78,E*.05,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,a,E){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,E/3);var y=b*ue,z=E*.8,ne=new go.Geometry,ae=new go.PathFigure(b,0,!0);return ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-y,0,a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,a,z-b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a-b,z,a,z-y,a-y,z)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ae.add(new go.PathSegment(go.PathSegment.Line,b,z)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,y,z,0,z-y)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var z=new go.PathFigure(a*1,E*.55,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(oe,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var z=new go.PathFigure(a*.1,E*.2,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var ne=new go.PathFigure(a*.28,E*.37,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,a,E){var b=new go.Geometry,y=15,z=y*ue,ne=new go.PathFigure(a*.62,E*.475,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-z,a-z,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,z,E,0,E-z)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),z>1?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close());var ne=new go.PathFigure(a*.4,E*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);b.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-z)).close());var ne=new go.PathFigure(a*.5,E*0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var z=new go.PathFigure(a*.235,E*.28,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(oe,a,E){var b=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var at={},Qe="5.0",te={},x=null,re=!1,Pe=!1,Fe=null,be=!1,xe=null,ue=null,Oe=0;Oe4?parseFloat(Te):5};at.setHTML5Codebase=function(Te,Ge){ue=Te,Xe(Te,Ge)},at.setJavaCodebase=at.setJavaCodebaseVersion=at.isCompiledInstalled=at.setPreCompiledScriptPath=at.setPreCompiledResourcePath=function(){},at.setHTML5CodebaseVersion=function(Te,Ge){var pt=parseFloat(Te);if(pt!==NaN&&pt<5){console.log("The GeoGebra HTML5 codebase version "+pt+" is deprecated. Using version latest instead.");return}xe=Te,nt(Te,Ge)},at.getHTML5CodebaseVersion=function(){return oe},at.getParameters=function(){return te},at.setFontsCSSURL=function(Te){ne=Te},at.setGiacJSURL=function(Te){},at.setJNLPFile=function(Te){Ie=Te},at.setJNLPBaseDir=function(Te){},at.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ge="auto",pt=te.id,Lt,mt=!1,Pn=0;Pn=5)return!0;var Te=at.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},at.startAnimation=function(){var Te=at.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},at.stopAnimation=function(){var Te=at.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},at.getAppletObject=function(){var Te=te.id!==void 0?te.id:"ggbApplet";return window[Te]},at.resize=function(){};var ve=function(Te,Ge,pt){var Lt=document.createElement("param");Lt.setAttribute("name",Ge),Lt.setAttribute("value",pt),Te.appendChild(Lt)},Ee=function(Te){return Te&&Te!=="false"},Je=function(Te,Ge,pt){le(oe)<=4.2&&(pt=!0);var Lt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(Lt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mt=document.createElement("div");mt.classList.add("appletParameters","notranslate");var Pn=Ge.width,ze=Ge.height;if(Ge.disableAutoScale=Ge.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ge.disableAutoScale,Ge.width!==void 0)if(le(oe)<=4.4)Ee(Ge.showToolBar)&&(Ge.height-=7),Ee(Ge.showAlgebraInput)&&(Ge.height-=37),Ge.width<605&&Ee(Ge.showToolBar)&&(Ge.width=605,Pn=605);else{var At=100;(Ee(Ge.showToolBar)||Ee(Ge.showMenuBar))&&(Ge.hasOwnProperty("customToolBar")&&(Ge.customToolbar=Ge.customToolBar),At=Ee(Ge.showMenuBar)?245:155),Pn=5?(Ge.appletOnLoad=function(Ze){var ht=Te.querySelector(".ggb_preview");ht&&ht.parentNode.removeChild(ht),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(En),window.GGBT_wsf_view&&$(window).trigger("resize"),tn(Ze)},ut||En.appendChild(ft)):mt.appendChild(ft),En.appendChild(mt),ut||Te.appendChild(En),setTimeout(function(){at.resize()},1)}else{var _e=document.createElement("div");_e.className="applet_scaler",_e.style.position="relative",_e.style.display="block",_e.appendChild(mt),Te.appendChild(_e),Ge.appletOnLoad=function(Ze){at.resize(),tn(Ze)}}function Be(Ze,ht){ht&&typeof ht.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ze,ht.appletOnLoad):renderGGBElement(Ze),St("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ht)}function rt(Ze,ht){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ze,params:ht}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(An){Be(An.article,An.params)}),html5AppletsToProcess=null)},le(oe)<5&&(Ze.className+=" geogebraweb")):Be(Ze,ht)}if(Lt){scriptLoadStarted=!0;for(var dt=0;dt0?(Wt.remove(),En.attr("id","fullscreencontent").show(),jQuery(tn).append(En),window.dispatchEvent(new Event("resize"))):Je(Wt,Ge,!1),window.GGBT_wsf_view.launchFullScreen(tn)}else me=Lt,Je(Te,Ge,!1);if(!window.GGBT_wsf_view)for(ze=0;zeTe/4*3&&(Wt=Te/4*3),tn=Wt/5.8,At.setAttribute("src",y),At.setAttribute("width",Wt),At.setAttribute("height",tn);var En=(Te-Wt)/2,ut=(Ge-tn)/2;At.style.left=En+"px",At.style.top=ut+"px",mt.appendChild(At)}}return mt.appendChild(ze),mt},gt=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],nt=function(Te,Ge){if(oe=Te,Ge){Xe(oe,!0);return}var pt=!re;if(pt){var Lt=le(oe);!isNaN(Lt)&&Lt<4.4&&(pt=!1)}var mt,Pn;window.location.protocol.substr(0,4)==="http"?mt=window.location.protocol:mt="http:";var ze=oe.indexOf("//");ze>0?Pn=oe:ze===0?Pn=mt+oe:Pn="https://www.geogebra.org/apps/5.2.814.0/";for(var At in it)if(oe.slice(it[At].length*-1)===it[At]||oe.slice((it[At].length+1)*-1)===it[At]+"/"){Xe(Pn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&pt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!Ee(te.showToolBar)&&!Ee(te.showMenuBar)&&!Ee(te.showAlgebraInput)&&!Ee(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Pn+="webSimple/":Pn+="web3d/",Xe(Pn,!1)},Xe=function(Te,Ge){if(Te.requirejs){Ne=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),Ne=Te,Ge===null&&(Ge=Te.indexOf("http")===-1),De=Ge,a="web.nocache.js",E=!1;var pt=Ne.split("/");pt.length>1&&(!Ge&&pt[pt.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):it.indexOf(pt[pt.length-2])>=0&&(a=pt[pt.length-2]+".nocache.js")),pt=Te.split("/"),oe=pt[pt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var Lt=parseFloat(oe);Lt!==NaN&&Lt<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Lt+" is deprecated. Using version latest instead."),nt("5.0",Ge))},St=function(Te,Ge){window.console&&window.console.log&&(!Ge||typeof Ge.showLogging=="undefined"||Ge.showLogging&&Ge.showLogging!=="false")&&console.log(Te)};te.material_id!==void 0?se(He):He();function He(){var Te=Qe;xe!==null?Te=xe:parseFloat(Te)<5&&(Te="5.0"),nt(Te,!1),ue!==null&&Xe(ue,De),be=!0}return at},GGBAppletUtils=function(){"use strict";function at(){return window.GGBT_wsf_edit!==void 0}function Qe(be,xe){xe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+xe+","+xe+")",be.style.webkitTransform="scale("+xe+","+xe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function te(be,xe,ue,Oe,je,Ie){var Ne=null;if(Ie!=null&&Ie!="")for(var De=be.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+Ie+" ")>-1){Ne=De;break}else De=De.parentNode;var me=0,oe=0,a=0,E=0,b=0,y=0,z=0;if(Ne)me=Ne.offsetWidth,oe=Math.max(Oe?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(me=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),a=me):(me=window.innerWidth,oe=window.innerHeight,a=window.innerWidth),be){var ne=be.getBoundingClientRect();ne.left>0&&ne.left<=me&&(je===void 0||!je)&&(document.dir==="rtl"?(b=me-ne.width-ne.left,y=a<=480?10:30):(y=ne.left,b=a<=480?10:30),E=y+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,z=40)}}return be&&((ue===void 0||!ue)&&xe>0&&xe+E1&&(Ie=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ie=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))je=x(be,xe,Ie,ue,be.scaleContainerClass);else return Oe;return Ie&&(!be.hasOwnProperty("scale")||Oe===1)?je:Math.min(Oe,je)}function Pe(be){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=be.getBoundingClientRect(),je=(xe-Oe.width)/2,Ie=(ue-Oe.height)/2;Ie<0&&(Ie=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?be.style.left="40px":be.style.left=je+"px",be.style.top=Ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ie<40?be.style.top="40px":be.style.top=Ie+"px",be.style.left=je+"px")}function Fe(be,xe){var ue=be.querySelector(".appletParameters");if(ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ue.parentElement&&/fullscreen/.test(ue.parentElement.className))return;var Oe=re(xe,be);at()&&ue.setAttribute("data-param-scale",Oe);for(var je=null,Ie=0;Ie=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(at){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(at){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(at){var Qe=c[at];return Qe==null?null:Qe},r=d,webModule.__errFn=e}function B(){function at(be){var xe=be.lastIndexOf(rb);xe==-1&&(xe=be.length);var ue=be.indexOf(sb);ue==-1&&(ue=be.length);var Oe=be.lastIndexOf(tb,Math.min(ue,xe));return Oe>=O?be.substring(O,Oe+P):W}function Qe(be){if(!be.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=be+vb,be=at(xe.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function x(){for(var be=o.getElementsByTagName(_),xe=O;xeO?be[be.length-P].href:W}function Pe(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Fe=te();return Fe==W&&(Fe=x()),Fe==W&&(Fe=re()),Fe==W&&Pe()&&(Fe=at(o.location.href)),Fe=Qe(Fe),Fe}function C(at){return at.match(/^\//)||at.match(/^[a-zA-Z]+:\/\//)?at:webModule.__moduleBase+at}function D(){var at=[],Qe=O,te=[],x=[];function re(be){var xe=x[be](),ue=te[be];if(xe in ue)return xe;var Oe=[];for(var je in ue)Oe[ue[je]]=je;throw r&&r(be,Oe,xe),null}if(__gwt_isKnownPropertyValue=function(be,xe){return xe in te[be]},webModule.__getPropMap=function(){var be={};for(var xe in te)te.hasOwnProperty(xe)&&(be[xe]=re(xe));return be},webModule.__computePropValue=re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Pe;try{Pe=Cb;var Fe=Pe.indexOf(Db);Fe!=-1&&(Qe=parseInt(Pe.substring(Fe+P),$),Pe=Pe.substring(O,Fe))}catch(be){}return webModule.__softPermutationId=Qe,C(Pe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(at,Qe,te){"use strict";te.d(Qe,{Ax:function(){return Fe},Ds:function(){return be},KI:function(){return ue},SI:function(){return Pe},f1:function(){return re}});var x=te(74128);function re(Oe){let je=!0;if(Oe.length>0){for(let Ie=0;Iea in oe?ue(oe,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):oe[a]=E,je=(oe,a,E)=>Oe(oe,typeof a!="symbol"?a+"":a,E),Ie=(oe,a,E)=>new Promise((b,y)=>{var z=le=>{try{ae(E.next(le))}catch(ie){y(ie)}},ne=le=>{try{ae(E.throw(le))}catch(ie){y(ie)}},ae=le=>le.done?b(le.value):Promise.resolve(le.value).then(z,ne);ae((E=E.apply(oe,a)).next())});class Ne extends x.Component{constructor(a){super(a),je(this,"canvas"),je(this,"randomNum",(E,b)=>Math.floor(Math.random()*(b-E)+E)),je(this,"drawPic",()=>{this.randomCode()}),je(this,"reloadPic",()=>{this.drawPic()}),je(this,"changeCode",E=>{console.log(E.target.value,222),this.setState({value:E.target.value,showError:!1})}),je(this,"onVerify",()=>{let E;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(E=!0,re.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(E=!0,re.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(E=!1),this.setState({showError:E}),E}),this.canvas=x.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(a,E){const b=this.randomNum(a,E),y=this.randomNum(a,E),z=this.randomNum(a,E);return`rgb(${b}, ${y}, ${z})`}drawText(a,E,b){a.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const y=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);a.font=y+"px SimHei";const z=10,ne=(this.state.contentWidth-40)/(this.state.code.length-1);let ae=z;b>0&&(ae=z+b*ne);let le=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);y>40&&(le=40);const ie=this.randomNum(-10,10);a.translate(ae,le),a.rotate(ie*Math.PI/180),a.fillText(E,0,0),a.rotate(-ie*Math.PI/180),a.translate(-ae,-le)}drawLine(a){for(let E=0;E<1;E++)a.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),a.beginPath(),a.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),a.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),a.stroke()}drawDot(a){for(let E=0;E<100;E++)a.fillStyle=this.randomColor(0,255),a.beginPath(),a.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),a.fill()}randomCode(){let a="";const E="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let b=0;b{const y=this.canvas.current.getContext("2d");y.textBaseline="bottom",y.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),y.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let z=0;z{let E;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,a),React.createElement(Ne,{ref:b=>E=b})),onOk:()=>Ie(void 0,null,function*(){if(E.onVerify())return Promise.reject();oe()})})};var me=Ne},90463:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return xe}});var x=te(60324),re={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Pe=te(32637),Fe=te(59301),xe=({type:ue,style:Oe})=>{const je=Fe.createElement("div",{className:re.wrap,onClick:Ie=>{Ie.preventDefault(),Ie.stopPropagation()}},Fe.createElement("p",null,ue==="shixun"||ue==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Fe.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ue==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Fe.createElement("div",{className:re.contact},Fe.createElement("div",{className:re.img},Fe.createElement("img",{src:Pe,width:"124px",height:"124px"})),Fe.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Fe.createElement(x.Z,{content:je},Fe.createElement("span",{className:re.text,style:Oe},"\u9AD8\u6D88\u8017"))}},16750:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var x=te(59301),re={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Pe=te(92310),Fe=te.n(Pe),be=te(71418),xe=te(2859),ue=te(38147),Oe=te(65862),je=(De,me,oe)=>new Promise((a,E)=>{var b=ne=>{try{z(oe.next(ne))}catch(ae){E(ae)}},y=ne=>{try{z(oe.throw(ne))}catch(ae){E(ae)}},z=ne=>ne.done?a(ne.value):Promise.resolve(ne.value).then(b,y);z((oe=oe.apply(De,me)).next())}),Ne=({data:De,className:me,fullWidth:oe,style:a={},onClose:E,onOk:b,showFullTools:y,noAssociationId:z})=>{const ne=(0,x.useRef)(null),ae=(0,x.useRef)(null),le=(0,x.useRef)(null),ie=(0,x.useRef)(null),[de,se]=(0,x.useState)(!1),[ce,ge]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),De!=null&&De.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",De!=null&&De.src&&ve()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[De==null?void 0:De.visible]);const ve=()=>je(void 0,null,function*(){se(!0),ge("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,Oe.ZJ)(De==null?void 0:De.src);ne.current.src="",ne.current.src=Le,ne.current.onload=function(){Ue()},se(!1),ge("")}),Ee=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",E()},Je=Le=>je(void 0,null,function*(){se(!0),ge("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ke=yield(0,ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:De.title,file:Le.dataUrl}});ke!=null&&ke.id&&!z?(yield(0,ue.ZP)(`/api/attachments/${De.id}/add_subitem.json`,{method:"post",body:{subitem_id:ke==null?void 0:ke.id,settings:JSON.stringify(Le.state)}})).status===0&&b():ke!=null&&ke.id&&b(ke),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",se(!1),ge("")}),Me=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.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(ot=>{const gt=document.querySelector(ot.name);gt&>.setAttribute("title",ot.title)})},Ue=()=>{ae.current=new xe.hP(ne.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Je),ae.current.addEventListener("beforeclose",Ee),y&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),De!=null&&De.snapshotData&&ae.current.restoreState(De.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Me()},300)};return x.createElement(x.Fragment,null,(De==null?void 0:De.visible)&&x.createElement(be.Z,{spinning:de,tip:ce,style:{position:"absolute"}},x.createElement("div",{ref:ie,className:Fe()(re.imageDimensions,me,oe?re.fullWidth:""),style:a},x.createElement("img",{className:re.img,ref:ne}))))}},99298:function(at,Qe,te){"use strict";var x=te(59301),re=te(95237),Pe=te(43604),Fe=te(99313),be=te(3113),xe=te(6339),ue=te(96408),Oe=te(48136),je=te(59301);const Ie=(0,x.forwardRef)(({callback:Ne,showSaveButton:De,value:me=""},oe)=>{const a=(0,x.useRef)(),E=[{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 "}]}]}],b=[{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}`}]}]}],y=ae=>{a.current.setValue(a.current.getValue()+" "+ae.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(re.Z,{className:ue.Z.lists,gutter:[10,10]},E.map((ae,le)=>je.createElement(Pe.Z,{flex:"110px",className:ue.Z.item},je.createElement("div",null,je.createElement(xe.Z,{value:`$$${ae.value}$$`}),ae.name),je.createElement("div",{className:ue.Z.children},ae.children.map((ie,de)=>je.createElement("div",{key:de},je.createElement("h1",null,ie.name),je.createElement(re.Z,{gutter:[10,10]},ie.data.map((se,ce)=>je.createElement(Pe.Z,{key:ce,onClick:()=>y(se),className:ue.Z.diamond},je.createElement(xe.Z,{value:"`$$"+se.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(re.Z,{className:ue.Z.lists,gutter:[10,10]},b.map((ae,le)=>je.createElement(Pe.Z,{flex:"110px",className:ue.Z.item},je.createElement("div",null,je.createElement(xe.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),je.createElement("div",{className:ue.Z.children},ae.children.map((ie,de)=>je.createElement("div",{key:de},ie.name&&je.createElement("h1",null,ie.name),je.createElement(re.Z,{gutter:[10,10]},ie.data.map((se,ce)=>je.createElement(Pe.Z,{key:ce,onClick:()=>y(se),className:ue.Z.diamond},je.createElement(xe.Z,{value:"`$$"+se.value+"$$`"}))))))))))}],ne=()=>{var ae=document.createElement("div");ae.innerHTML=a.current.getValue();var le=ae.innerText;return Ne&&Ne(le),le};return(0,x.useImperativeHandle)(oe,()=>({getData:ne})),je.createElement("div",{className:ue.Z.mathWrap},je.createElement(Fe.default,{defaultActiveKey:"1",items:z}),je.createElement("math-field",{locale:"zh_cn",className:ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},me||""),De&&je.createElement("div",{className:ue.Z.button},je.createElement(be.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Qe.Z=Ie},4324:function(at,Qe,te){"use strict";te.d(Qe,{Q:function(){return xe}});var x=te(59301),re=te(57809),Pe=te(5112),Fe=te(5871),be=te(59301),xe=(Oe=>(Oe[Oe.Number=1]="Number",Oe[Oe.Percent=2]="Percent",Oe))(xe||{});const ue=({value:Oe,onChange:je,disabled:Ie,hidePercentOption:Ne=!1,percentType:De="select"})=>{const me=(0,x.useMemo)(()=>Ne?1:2,[Ne]),[oe,a]=(0,x.useState)(me);console.log(oe);const E=y=>Oe.type===1?`${y}\u5206`:`${y}%`,b=(0,x.useCallback)(y=>{if(oe===1){const z=y.replace("\u5206","");return isNaN(parseInt(z,10))?0:z}else return y.replace("%","")},[oe]);return(0,x.useEffect)(()=>{a(Oe.type)},[Oe]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},De=="select"&&be.createElement(re.default,{size:"large",onChange:y=>{a(y),je({type:y,inputValue:y===1?5:20})},value:oe||me,style:{width:100},options:Ne?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Ie}),De=="radio"&&be.createElement(Pe.ZP.Group,{size:"large",onChange:y=>{const z=y.target.value;a(z),je({type:z,inputValue:z===1?5:20})},value:oe||me,disabled:Ie},!Ne&&be.createElement(Pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(Pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),De=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Oe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Fe.Z,{size:"large",disabled:Ie,value:Oe.inputValue,style:{width:"120px"},parser:b,addonAfter:Oe.type===1?"\u5206":"%",max:oe===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:y=>{je({type:oe,inputValue:y})}}),De=="radio"&&Oe.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Qe.Z=ue},49018:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return de}});var x=te(59301),re=te(9221),Pe=Object.defineProperty,Fe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ue=(se,ce,ge)=>ce in se?Pe(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ge}):se[ce]=ge,Oe=(se,ce)=>{for(var ge in ce||(ce={}))be.call(ce,ge)&&ue(se,ge,ce[ge]);if(Fe)for(var ge of Fe(ce))xe.call(ce,ge)&&ue(se,ge,ce[ge]);return se},je=(se,ce)=>{var ge={};for(var ve in se)be.call(se,ve)&&ce.indexOf(ve)<0&&(ge[ve]=se[ve]);if(se!=null&&Fe)for(var ve of Fe(se))ce.indexOf(ve)<0&&xe.call(se,ve)&&(ge[ve]=se[ve]);return ge};const Ne={header:{cell:se=>{var ce=se,{onResize:ge,width:ve}=ce,Ee=je(ce,["onResize","width"]);return ve?x.createElement(re.Resizable,{width:ve,height:0,handle:x.createElement("span",{className:"react-resizable-handle",onClick:Je=>{Je.stopPropagation()}}),onResize:ge,draggableOpts:{enableUserSelectHack:!1}},x.createElement("th",Oe({},Ee))):x.createElement("th",Oe({},Ee))}}};var De=te(1710),me=Object.defineProperty,oe=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(se,ce,ge)=>ce in se?me(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:ge}):se[ce]=ge,ne=(se,ce)=>{for(var ge in ce||(ce={}))b.call(ce,ge)&&z(se,ge,ce[ge]);if(E)for(var ge of E(ce))y.call(ce,ge)&&z(se,ge,ce[ge]);return se},ae=(se,ce)=>oe(se,a(ce)),le=(se,ce)=>{var ge={};for(var ve in se)b.call(se,ve)&&ce.indexOf(ve)<0&&(ge[ve]=se[ve]);if(se!=null&&E)for(var ve of E(se))ce.indexOf(ve)<0&&y.call(se,ve)&&(ge[ve]=se[ve]);return ge},de=se=>{var ce=se,{pagination:ge,resColumns:ve,dataSource:Ee,onRow:Je}=ce,Me=le(ce,["pagination","resColumns","dataSource","onRow"]);const[Ue,Le]=(0,x.useState)(!1),[ke,ot]=(0,x.useState)([{}]),gt=(0,x.useRef)(null);(0,x.useEffect)(()=>{let nt=ve;nt=nt.map((Xe,St)=>ae(ne({},Xe),{onHeaderCell:He=>({width:He.width,onResize:it(St)})})),ot(nt)},[]),(0,x.useEffect)(()=>{gt.current=ke},[ke]);const it=nt=>(Xe,{size:St})=>{const He=[...gt.current];He[nt]=ae(ne({},He[nt]),{width:St.width}),ot(He)};return x.createElement("div",null,x.createElement(De.default,ae(ne({bordered:!0,components:Ne,columns:ke,dataSource:Ee,pagination:ge,loading:Ue,onRow:Je},Me),{rowKey:nt=>nt.key||nt.id})))}},35479:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return ce},P:function(){return ie}});var x=te(59301),re=te(78241),Pe=te(43418),Fe=te(5112),be=te(92832),xe=te(1710),ue={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},Oe=te(60979),je=Object.defineProperty,Ie=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,a=(ge,ve,Ee)=>ve in ge?je(ge,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ge[ve]=Ee,E=(ge,ve)=>{for(var Ee in ve||(ve={}))me.call(ve,Ee)&&a(ge,Ee,ve[Ee]);if(De)for(var Ee of De(ve))oe.call(ve,Ee)&&a(ge,Ee,ve[Ee]);return ge},b=(ge,ve)=>Ie(ge,Ne(ve)),y=(ge,ve)=>{var Ee={};for(var Je in ge)me.call(ge,Je)&&ve.indexOf(Je)<0&&(Ee[Je]=ge[Je]);if(ge!=null&&De)for(var Je of De(ge))ve.indexOf(Je)<0&&oe.call(ge,Je)&&(Ee[Je]=ge[Je]);return Ee},z=(ge,ve,Ee)=>new Promise((Je,Me)=>{var Ue=ot=>{try{ke(Ee.next(ot))}catch(gt){Me(gt)}},Le=ot=>{try{ke(Ee.throw(ot))}catch(gt){Me(gt)}},ke=ot=>ot.done?Je(ot.value):Promise.resolve(ot.value).then(Ue,Le);ke((Ee=Ee.apply(ge,ve)).next())});const ne=({studentNames:ge,total:ve})=>{const Ee=["","\u4E00","\u4E24","\u4E09"];return ve>3?x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ue.orangeColor},ge==null?void 0:ge.join("\u3001")),"\u7B49",x.createElement("span",{className:ue.orangeColor},ve),"\u540D\u5B66\u751F"):x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ue.orangeColor},ge==null?void 0:ge.join("\u3001")),Ee[ve],"\u540D\u5B66\u751F")},ae=({used:ge,copy:ve,canNotCopy:Ee,studentNames:Je,studentCount:Me,inPaper:Ue,is_random:Le=!1,position:ke=""})=>{const ot=()=>{if(ve>0&&Ee>0)return x.createElement(x.Fragment,null,"\u5176\u4E2D",x.createElement("span",{className:ue.orangeColor},ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",x.createElement("span",{className:ue.orangeColor},Ee),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(ve>0&&Ee===0)return x.createElement(x.Fragment,null,"\u5176\u4E2D",x.createElement("span",{className:ue.orangeColor},ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(ve===0&&Ee>0)return x.createElement(x.Fragment,null,"\u5176\u4E2D",x.createElement("span",{className:ue.orangeColor},Ee),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=ke||(Ue?"\u8BD5\u5377":"\u8BFE\u7A0B");return x.createElement("span",null,x.createElement(ne,{studentNames:Je,total:Me}),"\u5B66\u4E60\u8FC7",gt,"\u4E2D\u7684",x.createElement("span",{className:ue.orangeColor},ge),"\u4E2A\u9879\u76EE\uFF0C",ot(),"\u3002\u8BF7\u9009\u62E9",Le?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},le=({onCancel:ge,onOk:ve,visible:Ee,inPaper:Je,renderData:Me,type:Ue,isMultipleCourse:Le=!1})=>{const[ke]=re.default.useForm(),[ot,gt]=(0,x.useState)(1),[it,nt]=(0,x.useState)(!1),Xe=(0,x.useMemo)(()=>(Me==null?void 0:Me.total_num)===1&&(Me==null?void 0:Me.can_copy_num)===1,[Me]),St=(0,x.useMemo)(()=>{var He;return(He=Me==null?void 0:Me.course_data_list)==null?void 0:He.filter(Te=>Te.is_show)},[Me]);return x.createElement(x.Fragment,null,Xe?x.createElement(Pe.default,{centered:!0,closable:!0,open:Ee,destroyOnClose:!0,title:"\u63D0\u793A",className:ue.antdModal,width:682,confirmLoading:it,onCancel:ge,onOk:()=>z(void 0,null,function*(){var He;nt(!0);let Te=ot;if(Le){const Ge=E({},ke.getFieldsValue());Te=(He=Me==null?void 0:Me.course_data_list)==null?void 0:He.map(pt=>Ge[pt.id]!==void 0?b(E({},pt),{is_copy:Ge[pt.id]}):pt)}yield ve(Te),nt(!1)})},x.createElement("div",{className:ue.content,style:{marginBottom:20}},Le?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":x.createElement(x.Fragment,null,x.createElement(ne,{studentNames:Me==null?void 0:Me.student_names,total:Me==null?void 0:Me.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?x.createElement(re.default,{form:ke,preserve:!1},St==null?void 0:St.map(He=>x.createElement(x.Fragment,{key:He.id},x.createElement("h3",{className:"ml15 mb5"},He.name),x.createElement(re.default.Item,{name:He.id,initialValue:1},x.createElement(Fe.ZP.Group,{className:ue.content},x.createElement(Fe.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),x.createElement(Fe.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):x.createElement(Fe.ZP.Group,{value:ot,onChange:He=>gt(He.target.value),className:ue.content,style:{marginBottom:30}},x.createElement(Fe.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),x.createElement(Fe.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),x.createElement("div",null,x.createElement("div",{className:ue.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),x.createElement("div",{className:ue.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),x.createElement("div",{className:`${ue.content} ${ue.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):x.createElement(Pe.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Ee,confirmLoading:it,title:"\u63D0\u793A",width:682,onCancel:ge,onOk:()=>z(void 0,null,function*(){var He;nt(!0);let Te=0;if(Le){const Ge=E({},ke.getFieldsValue());Te=(He=Me==null?void 0:Me.course_data_list)==null?void 0:He.map(pt=>Ge[pt.id]!==void 0?b(E({},pt),{is_use:Ge[pt.id]}):pt)}yield ve(Te),nt(!1)})},x.createElement("div",{className:ue.content},x.createElement(ne,{studentNames:Me==null?void 0:Me.student_names,total:Me==null?void 0:Me.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?x.createElement(re.default,{form:ke,preserve:!1},x.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),St==null?void 0:St.map(He=>x.createElement(x.Fragment,{key:He.id},x.createElement("h3",{className:"ml15 mb5"},He.name),x.createElement(re.default.Item,{name:He.id,initialValue:1},x.createElement(Fe.ZP.Group,{className:ue.content},x.createElement(Fe.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),x.createElement(Fe.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):x.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",x.createElement("span",{className:ue.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[ge,ve]=(0,x.useState)(!1),[Ee,Je]=(0,x.useState)();return[ge,()=>ve(!1),Ee,Le=>z(this,null,function*(){var ke;const ot=Le,{isImportMultipleCourse:gt=!1}=ot,it=y(ot,["isImportMultipleCourse"]);console.log(Le);const nt=(Le==null?void 0:Le.result)||(yield(0,Oe.Tr)(it));return"status"in nt?!1:gt?((ke=nt==null?void 0:nt.course_data_list)==null?void 0:ke.some(St=>St.is_show))?(Je(nt),ve(!0),!0):nt.course_data_list||[]:nt.student_count===0?!1:(Je(nt),ve(!0),!0)})]},de=ge=>{const[ve]=re.default.useForm(),[Ee,Je]=(0,x.useState)(!1),{onCancel:Me,onOk:Ue,visible:Le,inPaper:ke=!1,renderData:ot,type:gt,isMultipleCourse:it=!1,position:nt}=ge;let Xe=(0,x.useMemo)(()=>ke?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ue.tableCell,render(Te,Ge){return x.createElement("a",{href:`/shixuns/${Ge.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,Ge)=>x.createElement(x.Fragment,null,x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_copy"],initialValue:1},x.createElement(Fe.ZP.Group,null,x.createElement(Fe.ZP,{value:1},"\u662F"),x.createElement(Fe.ZP,{value:0},"\u5426"))),x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge==null?void 0:Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_use"],hidden:!0,initialValue:1},x.createElement(be.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ue.tableCell,render(Te,Ge){return x.createElement("a",{href:`/shixuns/${Ge.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,Ge)=>x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_use"],initialValue:1},x.createElement(Fe.ZP.Group,null,x.createElement(Fe.ZP,{value:1},"\u662F"),x.createElement(Fe.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,Ge)=>x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_copy"],initialValue:1},x.createElement(Fe.ZP.Group,null,x.createElement(Fe.ZP,{value:1},"\u662F"),x.createElement(Fe.ZP,{value:0},"\u5426")))}],[ke]),St=(0,x.useMemo)(()=>ke?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ue.tableCell,align:"center",ellipsis:!0,render:(Te,Ge)=>x.createElement(x.Fragment,null,x.createElement("a",{href:`/shixuns/${Ge.identifier}/challenges`,target:"_blank"},Te),x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge==null?void 0:Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_copy"],hidden:!0,initialValue:0},x.createElement(be.default,{type:"hidden"})),x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge==null?void 0:Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_use"],hidden:!0,initialValue:1},x.createElement(be.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ue.tableCell,ellipsis:!0,align:"center",render:(Te,Ge)=>x.createElement("a",{href:`/shixuns/${Ge.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,Ge)=>x.createElement(x.Fragment,null,x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge==null?void 0:Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_use"],initialValue:0},x.createElement(Fe.ZP.Group,null,x.createElement(Fe.ZP,{value:1},"\u662F"),x.createElement(Fe.ZP,{value:0},"\u5426"))),x.createElement(re.default.Item,{name:[`${gt==="subject"?Ge==null?void 0:Ge.stage_shixun_id:Ge.shixun_course_id||Ge.id}`,"is_copy"],hidden:!0,initialValue:0},x.createElement(be.default,{type:"hidden"})))}],[ke]);if(it){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:ue.tableCell,render:(Ge,pt)=>x.createElement("a",{href:`/classrooms/${pt.course_id}`},Ge)};Xe=[Te,...Xe],St=[Te,...St]}const He=(0,x.useMemo)(()=>ae({used:ot==null?void 0:ot.repeat_shixun_num,copy:ot==null?void 0:ot.can_copy_num,canNotCopy:ot==null?void 0:ot.no_copy_num,studentNames:ot==null?void 0:ot.student_names,studentCount:ot==null?void 0:ot.student_count,is_random:ot==null?void 0:ot.is_random,inPaper:ke,position:nt}),[ot,ke,nt]);return x.createElement(Pe.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:Ee,onOk:()=>z(void 0,null,function*(){Je(!0);const Te=ve.getFieldsValue(),Ge=Object.keys(Te).map(pt=>({id:parseInt(pt.split("_")[0]),course_id:parseInt(pt.split("_")[1]),is_use:Te[pt].is_use,is_copy:Te[pt].is_copy}));yield Ue(Ge),Je(!1)}),onCancel:Me,width:880,okText:"\u786E\u8BA4",className:ue.antdModal,destroyOnClose:!0},x.createElement(re.default,{form:ve,preserve:!1},x.createElement("div",{className:ue.brief},He),x.createElement("div",{style:{marginBottom:30}},x.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),x.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),x.createElement("div",{className:ue.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(ot==null?void 0:ot.can_copy_num)>0&&x.createElement("div",null,x.createElement("div",{className:ue.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),x.createElement(xe.default,{columns:Xe,className:ue.antdTable,dataSource:ot==null?void 0:ot.can_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ot==null?void 0:ot.no_copy_num)>0&&x.createElement("div",null,x.createElement("div",{className:ue.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),x.createElement(xe.default,{columns:St,className:ue.antdTable,dataSource:ot==null?void 0:ot.no_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ot==null?void 0:ot.no_use_list.length)>0&&(ot==null?void 0:ot.no_use_list.map(Te=>x.createElement("div",{key:gt==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},x.createElement(re.default.Item,{name:[`${gt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},x.createElement(be.default,{type:"hidden"})),x.createElement(re.default.Item,{name:[`${gt==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},x.createElement(be.default,{type:"hidden"})))))))};var ce=ge=>{const{modalType:ve}=ge;return ve==="multiple"?x.createElement(de,E({},ge)):x.createElement(le,E({},ge))}},83028:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Oe}});var x=te(59301),re={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Pe=te(43418),Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",xe=(je,Ie,Ne)=>new Promise((De,me)=>{var oe=b=>{try{E(Ne.next(b))}catch(y){me(y)}},a=b=>{try{E(Ne.throw(b))}catch(y){me(y)}},E=b=>b.done?De(b.value):Promise.resolve(b.value).then(oe,a);E((Ne=Ne.apply(je,Ie)).next())}),Oe=({type:je,resdata:Ie,onok:Ne,oktext:De,okloading:me})=>{const[oe,a]=(0,x.useState)(!1),{can_copy_list:E,can_copy_num:b,challenge_type:y,course_data_list:z,no_copy_list:ne,no_copy_num:ae,no_use_list:le,no_use_num:ie,repeat_shixun_num:de,student_count:se,total_num:ce,use_num:ge}=Ie;let ve=b>0||je==="exercise";(0,x.useEffect)(()=>{(Ie==null?void 0:Ie.student_count)>0&&a(!0)},[Ie]),console.log("---11",me),(0,x.useEffect)(()=>{me||a(!1)},[me]);const Ee=()=>{if(je==="exercise"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},ge),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(je==="exercise"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},ge),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixun"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},ge),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="subject"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",x.createElement("span",{className:re.orangeColor},se)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",x.createElement("span",{className:re.orangeColor},ge)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="exercisepush")return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},ge),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(je==="shixunpush"&&y===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:re.orangeColor},ge),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(je==="shixunpush"&&y===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:re.orangeColor},se),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",x.createElement("span",{className:re.orangeColor},ge),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",x.createElement("span",{className:re.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(je==="exercise"||je==="subject"||je==="exercisepush"||je==="shixunpush")return x.createElement("div",{style:{marginTop:20}},ae>0&&x.createElement("div",null,x.createElement("span",{className:re.flex},x.createElement("img",{src:be,style:{width:14}}),x.createElement("span",{className:re.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:re.statusbody},je==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:re.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(je==="subject"||je==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ve&&x.createElement("span",{className:re.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),je==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ve&&x.createElement("span",{className:re.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),x.createElement("div",null,ne==null?void 0:ne.map((Me,Ue)=>x.createElement("a",{href:`/shixuns/${Me.identifier}/challenges`,target:"_blank"},"\u300A",Me==null?void 0:Me.name,"\u300B",Ue+1!==ae&&"\u3001"))))),b>0&&x.createElement("div",{style:{marginTop:20}},x.createElement("span",{className:re.flex},x.createElement("img",{src:Fe,style:{width:14}}),x.createElement("span",{className:re.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:re.statusbody},je==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(je==="subject"||je==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),je==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),x.createElement("div",null,E==null?void 0:E.map((Me,Ue)=>x.createElement("a",{href:`/shixuns/${Me.identifier}/challenges`,target:"_blank"},"\u300A",Me==null?void 0:Me.name,"\u300B",Ue+1!==b&&"\u3001"))))));if(je==="shixun")return x.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return x.createElement(Pe.default,{open:oe,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ve&&"none"}},zIndex:1003,confirmLoading:me,okText:ve?De:"\u6211\u77E5\u9053\u4E86",onOk:()=>xe(void 0,null,function*(){ve?yield Ne([...E,...le]):a(!1)})},x.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ee(),Je()))}},36254:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return be}});var x=te(59301),re={flex_box_center:"flex_box_center___sOi51",flex_space_between:"flex_space_between___pl96A",flex_box_vertical_center:"flex_box_vertical_center___LVWaS",flex_box_center_end:"flex_box_center_end___bFW2z",flex_box_column:"flex_box_column___Iuosg",disabled:"disabled___kyQ47"},Pe=te(6848),be=({children:xe,tips:ue,title:Oe,style:je})=>{const Ie=Oe||x.createElement("div",null,x.createElement("div",null,"\u63D0\u793A\uFF1A"),x.createElement("div",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\u8BC4\u5B9A\uFF0C\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C\u3002"),x.createElement("div",null,"\uFF08\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03\uFF09"));return xe&&ue?x.createElement(Pe.Z,{overlayStyle:{maxWidth:"initial"},title:Ie},x.createElement("span",{className:re.disabled,style:je},xe)):xe&&!ue?x.createElement(x.Fragment,null,xe):x.createElement(x.Fragment,null)}},33276:function(at,Qe,te){"use strict";var x=te(59301),re=te(43418),Pe=te(1710);const Fe=({dataSource:be,visible:xe,onClose:ue=()=>{},onSuccess:Oe=()=>{},text:je,okText:Ie})=>{var Ne;return x.createElement(re.default,{centered:!0,destroyOnClose:!0,open:!!xe,title:"\u63D0\u793A",width:"600px",okText:Ie,cancelText:"\u53D6\u6D88",onCancel:ue,onOk:Oe},xe==="single"&&x.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",x.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(Ne=be==null?void 0:be[0])==null?void 0:Ne.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",je),xe==="multiple"&&x.createElement(x.Fragment,null,x.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",je),x.createElement(Pe.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:be,scroll:(be==null?void 0:be.length)>7?{y:300}:{},pagination:!1})))};Qe.Z=Fe},85533:function(at,Qe,te){"use strict";te.d(Qe,{h:function(){return ae}});var x=te(59301),re=te(57809),Pe=te(78241),Fe=te(3113),be=te(89780),xe=te.n(be),ue=te(45559),Oe=te(42313),je=Object.defineProperty,Ie=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,a=(le,ie,de)=>ie in le?je(le,ie,{enumerable:!0,configurable:!0,writable:!0,value:de}):le[ie]=de,E=(le,ie)=>{for(var de in ie||(ie={}))me.call(ie,de)&&a(le,de,ie[de]);if(De)for(var de of De(ie))oe.call(ie,de)&&a(le,de,ie[de]);return le},b=(le,ie)=>Ie(le,Ne(ie));const y=re.default.Option,z={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"]};Qe.Z=({callback:le,onCancel:ie})=>{const[de,se]=(0,x.useState)("python");function ce(ve){se(ne[ve][1])}function ge(ve){le(ve)}return x.createElement(Pe.default,b(E({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ge,style:{width:500}}),x.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(re.default,{getPopupContainer:ve=>ve.parentNode,onChange:ce},Object.keys(ne).map(ve=>x.createElement(y,{key:ve,value:ve},ne[ve][0])))),x.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(ae,{mode:de})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Fe.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function ae({value:le,onChange:ie,mode:de,options:se={}}){const ce=(0,x.useRef)(),[ge,ve]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ge){let Ee=function(Je){const Me=Je.getValue();ie&&ie(Me)};return ge.on("change",Ee),()=>{ge.off("change",Ee)}}},[ge,ie]),(0,x.useEffect)(()=>{ge&&ge.setOption("mode",de)},[ge,de]),(0,x.useEffect)(()=>{ge&&(le!==ge.getValue()||le==="")&&setTimeout(()=>{ge.setValue(le||"")},300)},[ge,le]),(0,x.useEffect)(()=>{if(ce.current&&!ge){const Ee=xe().fromTextArea(ce.current,E({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},se));ve(Ee)}},[ce.current,ge]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:ce}))}},96565:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Na}});var x=te(59301),re=te(89780),Pe=te.n(re),Fe=te(76374),be=te(45559),xe=te(6313),ue=te(25717),Oe=te(99498),je=te(25419),Ie=te(67549),Ne=te(6339),De=({value:xt="",className:It,showTextOnly:Dt,showLines:In,style:na={}})=>{const Hn=(0,x.useMemo)(()=>"",[xt]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:Hn}}))},me=te(59301),oe=Object.defineProperty,a=Object.defineProperties,E=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(xt,It,Dt)=>It in xt?oe(xt,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):xt[It]=Dt,ae=(xt,It)=>{for(var Dt in It||(It={}))y.call(It,Dt)&&ne(xt,Dt,It[Dt]);if(b)for(var Dt of b(It))z.call(It,Dt)&&ne(xt,Dt,It[Dt]);return xt},le=(xt,It)=>a(xt,E(It));let ie=[{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 de({onActionCallback:xt,title:It,icon:Dt,actionName:In,className:na="",children:Hn}){function Qo(){xt(In)}return me.createElement("a",{title:It,className:na,onClick:Qo},me.createElement("i",{className:`${Dt}`}),Hn)}var se=({watch:xt,showNullButton:It,showNullProgramButton:Dt,onActionCallback:In,fullScreen:na,insertTemp:Hn,hidetoolBar:Qo,extraUse:Oa})=>{const lo=[...ie,{title:`${xt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${xt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return me.createElement("ul",{className:"markdown-toolbar-container"},!Qo&&lo.map((hr,ao)=>me.createElement("li",{key:ao},hr.actionName?me.createElement(de,le(ae({},hr),{onActionCallback:In})):me.createElement("span",{className:"v-line"}))),It?me.createElement("li",null,me.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:In},me.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Dt?me.createElement(me.Fragment,null,me.createElement("li",null,me.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:In},me.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),me.createElement("li",null,me.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:In},me.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Hn&&me.createElement("li",null,me.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Hn}`,onActionCallback:In},me.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Oa&&me.createElement("li",null,Oa),me.createElement("li",{className:"btn-full-screen"},me.createElement(de,{icon:`${na?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:na?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:In})))},ce=te(57261),ge=te(78241),ve=te(92832),Ee=te(3113),Je=Object.defineProperty,Me=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,gt=(xt,It,Dt)=>It in xt?Je(xt,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):xt[It]=Dt,it=(xt,It)=>{for(var Dt in It||(It={}))ke.call(It,Dt)&>(xt,Dt,It[Dt]);if(Le)for(var Dt of Le(It))ot.call(It,Dt)&>(xt,Dt,It[Dt]);return xt},nt=(xt,It)=>Me(xt,Ue(It));const Xe={labelCol:{span:4},wrapperCol:{span:20}};var St=({callback:xt,onCancel:It})=>{function Dt(In){xt(In)}return x.createElement(ge.default,nt(it({},Xe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Dt,style:{width:500}}),x.createElement(ge.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(ve.default,null)),x.createElement(ge.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(ve.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ee.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},He=te(85533),Te=te(45053),Ge=te(43418),pt=te(95237),Lt=te(16750),mt=te(59301),Pn=({callback:xt,onCancel:It})=>{const Dt=document.createElement("canvas"),In=Dt.getContext("2d");Dt.width=1e3,Dt.height=800,In.fillStyle="#ffffff",In.fillRect(0,0,Dt.width,Dt.height);const na=Dt.toDataURL("image/png");return mt.createElement(Ge.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},mt.createElement(pt.Z,{style:{height:"100vh"}},mt.createElement(Lt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:na,visible:!0,title:String(Date.now())},onOk:Hn=>{xt({src:Hn.url})},onClose:It})))},ze=te(12378);function At(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(At,go.CommandHandler),At.prototype.canAlignSelection=function(){var xt=this.diagram;return!(xt===null||xt.isReadOnly||xt.isModelReadOnly||xt.selection.count<2)},At.prototype.alignLeft=function(){var xt=this.diagram;xt.startTransaction("aligning left");var It=1/0;xt.selection.each(function(Dt){Dt instanceof go.Link||(It=Math.min(Dt.position.x,It))}),xt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(It,Dt.position.y))}),xt.commitTransaction("aligning left")},At.prototype.alignRight=function(){var xt=this.diagram;xt.startTransaction("aligning right");var It=-1/0;xt.selection.each(function(Dt){if(!(Dt instanceof go.Link)){var In=Dt.actualBounds.x+Dt.actualBounds.width;It=Math.max(In,It)}}),xt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(It-Dt.actualBounds.width,Dt.position.y))}),xt.commitTransaction("aligning right")},At.prototype.alignTop=function(){var xt=this.diagram;xt.startTransaction("alignTop");var It=1/0;xt.selection.each(function(Dt){Dt instanceof go.Link||(It=Math.min(Dt.position.y,It))}),xt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(Dt.position.x,It))}),xt.commitTransaction("alignTop")},At.prototype.alignBottom=function(){var xt=this.diagram;xt.startTransaction("aligning bottom");var It=-1/0;xt.selection.each(function(Dt){if(!(Dt instanceof go.Link)){var In=Dt.actualBounds.y+Dt.actualBounds.height;It=Math.max(In,It)}}),xt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(Dt.actualBounds.x,It-Dt.actualBounds.height))}),xt.commitTransaction("aligning bottom")},At.prototype.alignCenterX=function(){var xt=this.diagram,It=xt.selection.first();if(It){xt.startTransaction("aligning Center X");var Dt=It.actualBounds.x+It.actualBounds.width/2;xt.selection.each(function(In){In instanceof go.Link||In.move(new go.Point(Dt-In.actualBounds.width/2,In.actualBounds.y))}),xt.commitTransaction("aligning Center X")}},At.prototype.alignCenterY=function(){var xt=this.diagram,It=xt.selection.first();if(It){xt.startTransaction("aligning Center Y");var Dt=It.actualBounds.y+It.actualBounds.height/2;xt.selection.each(function(In){In instanceof go.Link||In.move(new go.Point(In.actualBounds.x,Dt-In.actualBounds.height/2))}),xt.commitTransaction("aligning Center Y")}},At.prototype.alignColumn=function(xt){var It=this.diagram;It.startTransaction("align Column"),xt===void 0&&(xt=0),xt=parseFloat(xt);var Dt=new Array;It.selection.each(function(Oa){Oa instanceof go.Link||Dt.push(Oa)});for(var In=0;In0){for(var Oa=Hn.elt(Qo-1);Oa!==null&&Oa.isTreeExpanded&&!Oa.isTreeLeaf;){var lo=this._sortTreeChildrenByY(Oa);Oa=lo.last()}Oa!==null&&xt.select(Oa)}else xt.select(na)}}else if(Dt.key==="Down")if(It.isTreeExpanded&&!It.isTreeLeaf){var In=this._sortTreeChildrenByY(It).first();In!==null&&xt.select(In)}else for(;It!==null;){var na=It.findTreeParentNode();if(na===null)break;var Hn=this._sortTreeChildrenByY(na),Qo=Hn.indexOf(It);if(QoHn.y?1:na.xHn.x?1:0}),It},At.prototype.copyToClipboard=function(xt){go.CommandHandler.prototype.copyToClipboard.call(this,xt),this._lastPasteOffset.set(this.pasteOffset)},At.prototype.pasteFromClipboard=function(){var xt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(xt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),xt},Object.defineProperty(At.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(xt){if(xt!=="move"&&xt!=="select"&&xt!=="scroll"&&xt!=="tree"&&xt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+xt);this._arrowKeyBehavior=xt}}),Object.defineProperty(At.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(xt){if(!(xt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+xt);this._pasteOffset.set(xt)}});var Wt=At,tn=te(25863),En=te(43604),ut=te(38147),ft={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},_e=te(59301),Be=(xt,It,Dt)=>new Promise((In,na)=>{var Hn=lo=>{try{Oa(Dt.next(lo))}catch(hr){na(hr)}},Qo=lo=>{try{Oa(Dt.throw(lo))}catch(hr){na(hr)}},Oa=lo=>lo.done?In(lo.value):Promise.resolve(lo.value).then(Hn,Qo);Oa((Dt=Dt.apply(xt,It)).next())});function rt({onCancel:xt,callback:It}){let Dt=(0,x.useRef)(),In=(0,x.useRef)(),na=(0,x.useRef)(),Hn=(0,x.useRef)(!1);const Qo=(0,x.useRef)(!1),[Oa,lo]=(0,x.useState)(0);function hr(){const Zn=ze.bx.make,sr={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"};Dt.current=new ze.S0(In.current,{padding:20,grid:Zn(ze.s_,"Grid",Zn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Zn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Xn=>{var Ia=Xn.diagram.commandHandler.addTopLevelParts(Xn.diagram.selection,!0);Ia||Xn.diagram.currentTool.doCancel()},commandHandler:Zn(Wt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Xn=>{var Ia=Xn.subject;Ia.location=Ia.location.copy().snapToGridPoint(Xn.diagram.grid.gridOrigin,Xn.diagram.grid.gridCellSize),setTimeout(()=>{Xn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Xn=>{var Ia=Xn.subject;setTimeout(()=>{Xn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Xn=>{var Ia=Xn.parameter.part;Ia.invalidateConnectedLinks();var bo=Xn.subject;Xn.diagram.toolManager.linkingTool.isForwards?bo.toNode.invalidateConnectedLinks():bo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Dt.current.nodeTemplate=Zn(ze.NB,"Auto",{locationSpot:ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new ze.$u(120,60),minSize:new ze.$u(40,40),resizable:!0,resizeCellSize:new ze.$u(10,10),rotatable:!0},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),new ze.KX("desiredSize","size",ze.$u.parse).makeTwoWay(ze.$u.stringify),Zn(ze.bn,{name:"SHAPE",fill:sr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("figure"),new ze.KX("fill"),new ze.KX("stroke","borderColor"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Zn(ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Zn(ze.al,{margin:1,textAlign:"center",overflow:ze.al.OverflowEllipsis,editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),Dt.current.nodeTemplate.toolTip=Zn("ToolTip",Zn(ze.s_,"Vertical",{maxSize:new ze.$u(200,NaN)},Zn(ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ze.KX("text")),Zn(ze.al,{font:"10pt sans-serif",textAlign:"center"},new ze.KX("text","details"))));function Gr(Xn,Ia){var bo=(La,io)=>{La.handled=!0,La.diagram.model.commit(dr=>{var Oo=io.part.adornedPart,Wr=new ze.E9().setRectSpot(Oo.actualBounds,Xn);Wr.subtract(Oo.location),Wr.scale(2,2),Wr.x+=Math.sign(Wr.x)*130,Wr.y+=Math.sign(Wr.y)*130,Wr.add(Oo.location),Wr.snapToGridPoint(La.diagram.grid.gridOrigin,La.diagram.grid.gridCellSize);var qr=dr.copyNodeData(Oo.data);dr.setGroupKeyForNodeData(qr,dr.getGroupKeyForNodeData(Oo.data)),dr.addNodeData(qr);var ri={from:Oo.key,to:dr.getKeyForNodeData(qr)};dr.addLinkData(ri);var _l=La.diagram.findNodeForData(qr);_l.location=Wr,La.diagram.select(_l),setTimeout(()=>{La.diagram.commandHandler.editTextBlock()},20)})};return Zn(ze.bn,{figure:Ia,alignment:Xn,alignmentFocus:Xn.opposite(),width:Xn.equals(ze.z6.Top)||Xn.equals(ze.z6.Bottom)?25:18,height:Xn.equals(ze.z6.Top)||Xn.equals(ze.z6.Bottom)?18:25,fill:"orange",stroke:sr.white,strokeWidth:4,mouseEnter:(La,io)=>io.fill="dodgerblue",mouseLeave:(La,io)=>io.fill="orange",isActionable:!0,click:bo,contextClick:bo})}function Er(Xn){return Zn(ze.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:(Ia,bo)=>bo.fill="dodgerblue",mouseLeave:(Ia,bo)=>bo.fill="orange",click:(Ia,bo)=>{Ia.diagram.commandHandler.showContextMenu(bo.part.adornedPart)}},Xn||{})}Dt.current.nodeTemplate.selectionAdornmentTemplate=Zn(ze.uz,"Spot",Zn(ze.Vm,{padding:10}),Gr(ze.z6.Top,"TriangleUp"),Gr(ze.z6.Left,"TriangleLeft"),Gr(ze.z6.Right,"TriangleRight"),Gr(ze.z6.Bottom,"TriangleDown"),Er({alignment:new ze.z6(.75,0)}));function Go(Xn,Ia){return(bo,La)=>{bo.handled=!0,bo.diagram.model.commit(io=>{io.set(La.part.adornedPart.data,Xn,Ia)})}}function Et(Xn,Ia){return Ia||(Ia="color"),Zn(ze.bn,{width:16,height:16,stroke:"lightgray",fill:Xn,margin:1,background:"transparent",mouseEnter:(bo,La)=>La.stroke="dodgerblue",mouseLeave:(bo,La)=>La.stroke="lightgray",click:Go(Ia,Xn),contextClick:Go(Ia,Xn)})}function pn(){return[Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",Et(sr.white,"fill"),Et(sr.beige,"fill"),Et(sr.extralightblue,"fill"),Et(sr.extralightred,"fill"))),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",Et(sr.lightgray,"fill"),Et(sr.lightgreen,"fill"),Et(sr.lightblue,"fill"),Et(sr.lightred,"fill")))]}function vn(){return[Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",Et(sr.black),Et(sr.green),Et(sr.blue),Et(sr.red))),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",Et(sr.white),Et(sr.magenta),Et(sr.purple),Et(sr.orange)))]}function qt(Xn,Ia){return Ia||(Ia="thickness"),Zn(ze.bn,"LineH",{width:16,height:16,strokeWidth:Xn,margin:1,background:"transparent",mouseEnter:(bo,La)=>La.background="dodgerblue",mouseLeave:(bo,La)=>La.background="transparent",click:Go(Ia,Xn),contextClick:Go(Ia,Xn)})}function Sn(Xn,Ia){return Ia||(Ia="dash"),Zn(ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Xn,margin:1,background:"transparent",mouseEnter:(bo,La)=>La.background="dodgerblue",mouseLeave:(bo,La)=>La.background="transparent",click:Go(Ia,Xn),contextClick:Go(Ia,Xn)})}function mn(){return[Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",qt(1),qt(2),qt(3),qt(4))),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",Sn(null),Sn([2,4]),Sn([4,4])))]}function hn(Xn,Ia){return Ia||(Ia="figure"),Zn(ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Xn,margin:1,background:"transparent",mouseEnter:(bo,La)=>La.fill="dodgerblue",mouseLeave:(bo,La)=>La.fill="lightgray",click:Go(Ia,Xn),contextClick:Go(Ia,Xn)})}Dt.current.nodeTemplate.contextMenu=Zn("ContextMenu",Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",hn("Rectangle"),hn("RoundedRectangle"),hn("Ellipse"),hn("Diamond"))),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",hn("Parallelogram2"),hn("ManualOperation"),hn("Procedure"),hn("Cylinder1"))),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",hn("Terminator"),hn("CreateRequest"),hn("Document"),hn("TriangleDown"))),pn(),vn(),mn()),Dt.current.groupTemplate=Zn(ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Xn,Ia)=>{var bo=Ia.addMembers(Ia.diagram.selection,!0);bo||Ia.diagram.currentTool.doCancel()},avoidable:!1},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),Zn(ze.s_,"Auto",{name:"BODY"},Zn(ze.bn,{parameter1:10,fill:sr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("fill"),new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Zn(ze.Vm,{background:"transparent",margin:20})),Zn(ze.al,{alignment:ze.z6.Top,alignmentFocus:ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ze.KX("text"),new ze.KX("stroke","color"))),Dt.current.groupTemplate.selectionAdornmentTemplate=Zn(ze.uz,"Spot",Zn(ze.s_,"Auto",Zn(ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Zn(ze.Vm,{margin:1.5})),Er({alignment:ze.z6.TopRight,alignmentFocus:ze.z6.BottomRight})),Dt.current.groupTemplate.contextMenu=Zn("ContextMenu",pn(),vn(),mn()),Dt.current.linkTemplate=Zn(ze.rU,{layerName:"Foreground",routing:ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ze.KX("fromSpot","fromSpot",ze.z6.parse),new ze.KX("toSpot","toSpot",ze.z6.parse),new ze.KX("fromShortLength","dir",Xn=>Xn>=1?10:0),new ze.KX("toShortLength","dir",Xn=>Xn>=1?10:0),new ze.KX("points").makeTwoWay(),Zn(ze.bn,{strokeWidth:2},new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Zn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,0),segmentOrientation:ze.rU.OrientAlong,alignmentFocus:ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",Xn=>Xn===1)),Zn(ze.bn,{segmentIndex:-1,segmentOffset:new ze.E9(-10,6),segmentOrientation:ze.rU.OrientPlus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",Xn=>Xn>=1),new ze.KX("width","thickness",Xn=>7+3*Xn),new ze.KX("height","thickness",Xn=>7+3*Xn),new ze.KX("segmentOffset","thickness",Xn=>new ze.E9(-15,4+1.5*Xn))),Zn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,-6),segmentOrientation:ze.rU.OrientMinus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",Xn=>Xn===2),new ze.KX("width","thickness",Xn=>7+3*Xn),new ze.KX("height","thickness",Xn=>7+3*Xn),new ze.KX("segmentOffset","thickness",Xn=>new ze.E9(-15,4+1.5*Xn))),Zn(ze.al,{alignmentFocus:new ze.z6(0,1,-4,0),editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),Dt.current.linkTemplate.selectionAdornmentTemplate=Zn(ze.uz,Zn(ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:yn(2)},new ze.KX("pathPattern","thickness",yn)),Er({alignmentFocus:new ze.z6(0,0,-6,-4)}));function yn(Xn){return Zn(ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Xn+4).toString()+" H3"})}function pa(Xn){var Ia="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Xn===0?Ia="M0 0 M16 16 M0 8 L16 8":Xn===2&&(Ia="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Zn(ze.bn,{geometryString:Ia,margin:2,background:"transparent",mouseEnter:(bo,La)=>La.background="dodgerblue",mouseLeave:(bo,La)=>La.background="transparent",click:Go("dir",Xn),contextClick:Go("dir",Xn)})}function Pa(Xn){var Ia=(bo,La)=>{bo.handled=!0,bo.diagram.model.commit(io=>{var dr=La.part.adornedPart;io.set(dr.data,Xn?"toSpot":"fromSpot",ze.z6.stringify(ze.z6.AllSides)),(Xn?dr.toNode:dr.fromNode).invalidateConnectedLinks()})};return Zn(ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(bo,La)=>La.background="dodgerblue",mouseLeave:(bo,La)=>La.background="transparent",click:Ia,contextClick:Ia})}function nn(Xn,Ia){var bo=0,La=ze.z6.RightSide;Xn.equals(ze.z6.Top)?(bo=270,La=ze.z6.TopSide):Xn.equals(ze.z6.Left)?(bo=180,La=ze.z6.LeftSide):Xn.equals(ze.z6.Bottom)&&(bo=90,La=ze.z6.BottomSide),Ia||(bo-=180);var io=(dr,Oo)=>{dr.handled=!0,dr.diagram.model.commit(Wr=>{var qr=Oo.part.adornedPart;Wr.set(qr.data,Ia?"toSpot":"fromSpot",ze.z6.stringify(La)),(Ia?qr.toNode:qr.fromNode).invalidateConnectedLinks()})};return Zn(ze.bn,{alignment:Xn,alignmentFocus:Xn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:bo,background:"transparent",mouseEnter:(dr,Oo)=>Oo.background="dodgerblue",mouseLeave:(dr,Oo)=>Oo.background="transparent",click:io,contextClick:io})}Dt.current.linkTemplate.contextMenu=Zn("ContextMenu",vn(),mn(),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",pa(0),pa(1),pa(2))),Zn("ContextMenuButton",Zn(ze.s_,"Horizontal",Zn(ze.s_,"Spot",Pa(!1),nn(ze.z6.Top,!1),nn(ze.z6.Left,!1),nn(ze.z6.Right,!1),nn(ze.z6.Bottom,!1)),Zn(ze.s_,"Spot",{margin:new ze.Zt(0,0,0,2)},Pa(!0),nn(ze.z6.Top,!0),nn(ze.z6.Left,!0),nn(ze.z6.Right,!0),nn(ze.z6.Bottom,!0)))));const fr=`{ "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 wr=["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 Xr(Xn){return console.log("shapeName:",Xn),wr.indexOf(Xn)>=0}var Sr=new ze.YI(na.current,{maxSelectionCount:1,linkTemplate:Zn(ze.rU,{locationSpot:ze.z6.Center,selectionAdornmentTemplate:Zn(ze.uz,"Link",{locationSpot:ze.z6.Center},Zn(ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Zn(ze.bn,{toArrow:"Standard",stroke:null}))},{routing:ze.rU.AvoidsNodes,curve:ze.rU.JumpOver,corner:5,toShortLength:4},new ze.KX("points"),Zn(ze.bn,{isPanelMain:!0,strokeWidth:2}),Zn(ze.bn,{toArrow:"Standard",stroke:null})),model:new ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ze.bn.getFigureGenerators().toArray().map(Xn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Xn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Dt.current.addDiagramListener("TextEdited",function(Xn){var Ia;const bo=Xn.subject.part;var La=(Ia=document.activeElement)==null?void 0:Ia.value;typeof La=="string"&&La.trim()===""&&Dt.current.model.commit(function(io){io.set(bo.data,"text","\u672A\u547D\u540D"),Dt.current.commandHandler.stopCommand()},"increment")}),Sr.nodeTemplate=Zn(ze.NB,"Auto",{locationSpot:ze.z6.Center},new ze.KX("location","location",ze.E9.parse).makeTwoWay(ze.E9.stringify),Zn(ze.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 ze.KX("stroke").makeTwoWay(),new ze.KX("fill").makeTwoWay(),new ze.KX("figure")),Zn(ze.al,{margin:new ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ze.$u(16,16),maxSize:new ze.$u(10,NaN),textAlign:"center",editable:!0},new ze.KX("key").makeTwoWay())),setTimeout(()=>{Dt.current.grid=Zn(ze.s_,"Grid",Zn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Zn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Dt.current.grid.visible=!0,Dt.current.grid.gridCellStroke="darkgray",Dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Dt.current,Dt.current}const ao=()=>Be(this,null,function*(){var Zn=Dt.current.makeImage();const sr=yield(0,ut.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Zn.src}});It({src:sr.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{hr()},500),lo(Oa+1),()=>{Dt.current=null}),[]),_e.createElement("div",{ref:Qo,className:Hn.current?`${ft.maxH60} body-overflow-initial`:"body-overflow-initial"},_e.createElement(Ge.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Oa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:_e.createElement(pt.Z,null,_e.createElement(En.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),_e.createElement(En.Z,{onClick:()=>{var Zn,sr,Gr=Dt.current.selection.first();if(Hn.current=!Hn.current,document.activeElement&&Gr){let Er=(sr=(Zn=document.activeElement)==null?void 0:Zn.value)==null?void 0:sr.trim();typeof Er=="string"&&Dt.current.model.commit(function(Go){Go.set(Gr.data,"text",Er||"\u672A\u547D\u540D"),Dt.current.commandHandler.stopCommand()},"increment")}lo(Oa+1)}},_e.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:xt},_e.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ft.flowChartWrp},_e.createElement("div",{style:{display:"flex",height:"100%"}},_e.createElement("div",{style:{width:"300px",height:"100%"}},_e.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),_e.createElement("div",{style:{height:"calc(100% - 50px)"},className:ft.myPaletteDiv,ref:na})),_e.createElement("div",{style:{flex:1,position:"relative"}},_e.createElement("div",{ref:In,style:{height:"80vh"}}))),_e.createElement("div",{className:"tr"},_e.createElement(Ee.ZP,{size:"large",onClick:ao,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=rt,Re=te(5112),we=te(5871);const lt=Re.ZP.Group,$e={margin:"0 8px"};var Ze=({callback:xt,onCancel:It})=>{function Dt(In){xt(In)}return x.createElement(ge.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Dt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:$e},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:$e},"\u884C\u6570"),x.createElement(ge.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(we.Z,null)),x.createElement("span",{style:$e},"\u5217\u6570"),x.createElement(ge.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(we.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:$e},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ge.default.Item,{name:"align"},x.createElement(lt,null,x.createElement(Re.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Re.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Re.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Re.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ee.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},ht=te(78673),An=te(93510),en=te.n(An),an=(0,x.forwardRef)(({use3d:xt,width:It,height:Dt,callback:In,showSaveButton:na},Hn)=>{const Qo=(0,x.useRef)(),Oa=(0,x.useRef)(),[lo,hr]=(0,x.useState)(!1),ao=(0,x.useRef)({id:Qo,appName:"graphing",width:It||1e3,height:Dt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Oa.current=new(en())(ao.current,!0),window.onload=function(){Oa.current.inject("applet_container")}},[]);const Zn=()=>{var sr=window.ggbApplet.getPNGBase64(1,!0,72);return In&&In(sr),sr};return(0,x.useEffect)(()=>{ao.current.appName=lo?"3D":"graphing",Oa.current.inject("applet_container")},[lo]),(0,x.useEffect)(()=>{hr(xt)},[xt]),(0,x.useImperativeHandle)(Hn,()=>({getImgData:Zn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Qo}),x.createElement(pt.Z,{align:"middle"},x.createElement(En.Z,{flex:1},x.createElement(ht.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:lo,onChange:sr=>hr(sr)})),x.createElement(En.Z,null,x.createElement(Ee.ZP,{size:"large",onClick:Zn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),$t=te(99298),Ye=te(1012),et=te(8591);const Nt="link",Gt="upload-image",gn="add-flowchart",Rt="draw-image",Fn="add-flowchart",jn="code-block",ea="add-table",xa="------------",rn={default:xa,left:`:${xa}`,center:`:${xa}:`,right:`${xa}:`};var Sa=te(31103),ro=(xt,It,Dt)=>new Promise((In,na)=>{var Hn=lo=>{try{Oa(Dt.next(lo))}catch(hr){na(hr)}},Qo=lo=>{try{Oa(Dt.throw(lo))}catch(hr){na(hr)}},Oa=lo=>lo.done?In(lo.value):Promise.resolve(lo.value).then(Hn,Qo);Oa((Dt=Dt.apply(xt,It)).next())});function oa(){}let xn=0;const wa=1e4,Da="\u2581",Ht="@\u2581\u2581@",Dn="@\u2581@",Wn=` -**\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 ta(xt){return/^\d+$/.test(xt)?`${xt}px`:xt}const Ao=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ar={[Ao+"-B"]:"bold",[Ao+"-I"]:"italic"},Dr={[Nt]:"\u6DFB\u52A0\u94FE\u63A5",[jn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Gt]:"\u6DFB\u52A0\u56FE\u7247",[Rt]:"\u6DFB\u52A0\u753B\u56FE",[gn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ea]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Na=({defaultValue:xt="",onChange:It,width:Dt="100%",height:In=400,miniToolbar:na=!1,isFocus:Hn=!1,watch:Qo,insertTemp:Oa,mode:lo="markdown",id:hr="markdown-editor-id",showResizeBar:ao=!1,noStorage:Zn=!1,showNullButton:sr=!1,showNullProgramButton:Gr=!1,hidetoolBar:Er=!1,fullScreen:Go=!1,onBlur:Et,onCMBeforeChange:pn,onFullScreen:vn,className:qt="",disablePaste:Sn=!1,disabled:mn=!1,disabledFill:hn=!1,placeholder:yn="",values:pa="",extraUse:Pa})=>{const[nn,fr]=(0,x.useState)(null),[wr,Xr]=(0,x.useState)(xt),[Sr,Xn]=(0,x.useState)(Qo),[Ia,bo]=(0,x.useState)(Go),[La,io]=(0,x.useState)(""),[dr,Oo]=(0,x.useState)(0),[Wr,qr]=(0,x.useState)(In),[ri,_l]=(0,x.useState)(!1),Kr=(0,x.useRef)((0,Ye.Z)()),si=(0,x.useRef)(!1),Wl=(0,x.useRef)(),[mi,Li]=(0,x.useState)(0),[Xl,xl]=(0,x.useState)(0),ci=(0,x.useRef)(),Mi=(0,x.useRef)(),bi=(0,x.useRef)(),hi=(0,x.useRef)(),ti=()=>ro(void 0,null,function*(){var Eo;const Ba=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Kr.current}});(Eo=Ba==null?void 0:Ba.attachments)!=null&&Eo.length&&(console.log("cm:",nn,ci),Ba.attachments.map(Wa=>{Wa.content_type.indexOf("image")>-1?nn.replaceSelection(`![,](/api/attachments/${Wa.id}?type=${Wa.content_type})`):Wa.content_type.indexOf("video")>-1?nn.replaceSelection(``):Wa.content_type.indexOf("pdf")>-1?nn.replaceSelection(`${Wa.name}`):nn.replaceSelection(`[${Wa.name}](${ENV.API_SERVER}/api/attachments/${Wa.id}?type=${Wa.content_type})`)}))});(0,x.useEffect)(()=>{const Eo=window.scrollY||window.pageYOffset;Xr(pa),nn==null||nn.setValue(pa),window.scrollTo(0,Eo)},[pa]),(0,x.useEffect)(()=>{vn==null||vn(Ia)},[Ia]),(0,x.useEffect)(()=>{if(ci.current){let Eo=function(Wa,Za){var Lr;if(Sn){Za.preventDefault();return}const gl=Za.clipboardData;if(gl){const wl=gl.types.toString(),$r=gl.items;if(wl==="Files"||gl.types.indexOf("Files")>-1){if(Za.preventDefault(),lo=="stex")return;try{let Kl=$r[1];((Lr=$r[0])==null?void 0:Lr.kind)==="file"&&(Kl=$r[0]);const Yl=Kl.getAsFile(),Di=Yl.name.split(".").pop();(0,Te.I)(Yl,$l=>{var or,co,ml;$l.id?((or=Yl==null?void 0:Yl.type)==null?void 0:or.indexOf("image"))>-1?Ba.replaceSelection(``):((co=Yl==null?void 0:Yl.type)==null?void 0:co.indexOf("video"))>-1?Ba.replaceSelection(``):((ml=Yl==null?void 0:Yl.type)==null?void 0:ml.indexOf("pdf"))>-1?Ba.replaceSelection(`${Yl.name}`):fa.includes(Di)?Ba.replaceSelection(`${Yl.name}`):Ba.replaceSelection(`[${Yl.name}](/api/attachments/${$l.id}?type=${$l.content_type})`):($l==null?void 0:$l.status)===401&&(et.ZP.warning(($l==null?void 0:$l.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Kl){et.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ba=Pe().fromTextArea(ci.current,{mode:lo,lineNumbers:!na,lineWrapping:!0,value:xt,autoCloseTags:!Gr,autoCloseBrackets:!0});return Ba.on("keyup",function(Wa,Za){Za.keyCode===8&&(Wa.getValue()==""?Ba.setOption("placeholder",yn):Ba.setOption("placeholder",null))}),Ba.on("keydown",function(Wa,Za){if(Za.keyCode===8){var Lr=gr(Wa);Lr&&Za.preventDefault()}}),Hn&&Ba.focus(),Ba.on("paste",Eo),Ba.on("dragleave",function(Wa,Za){Mi.current.classList.remove("mouse-hover-md")}),mn&&Ba.on("beforeChange",function(Wa,Za){(Za.origin==="paste"||Za.origin==="+input")&&Za.cancel()}),fr(Ba),()=>{Ba.off("paste",Eo)}}},[]);const fi=(0,x.useCallback)(()=>{if(Mi.current)try{}catch(Eo){console.log(Eo,"---- to set md editor body height")}},[Wr,Mi,Ia]);(0,x.useEffect)(()=>{function Eo(){let Ba=new Fe.Z(Wa=>{for(let Za of Wa)(Za.target.offsetHeight>0||Za.target.offsetWidth>0)&&(fi(),nn.setSize("100%","100%"),nn.refresh())});return Ba.observe(ci.current.parentElement),Ba}if(nn){const Ba=Eo();return()=>{var Wa,Za;(Wa=ci.current)!=null&&Wa.parentElement&&Ba.unobserve((Za=ci.current)==null?void 0:Za.parentElement)}}},[nn,fi]),(0,x.useEffect)(()=>{if(nn){let Eo=[];for(const[Ba,Wa]of Object.entries(Ar)){let Za={[Ba]:()=>{dl(Wa)}};Eo.push(Za),nn.addKeyMap(Za)}return Wl.current=setInterval(()=>{si.current&&ti()},4e3),()=>{clearInterval(Wl.current);for(let Ba of Eo)nn.removeKeyMap(Ba)}}},[nn]),(0,x.useEffect)(()=>{Go!==Ia&&bo(Go)},[Go]),(0,Sa.Z)(()=>{if(!Zn&&dr>0){let Eo=new Date().getTime(),Ba=window.sessionStorage.getItem(hr);Eo>=dr+wa&&(!Ba||Ba!==wr)&&(window.sessionStorage.setItem(hr,wr),_l(!0))}},wa),(0,x.useEffect)(()=>{Xn(Qo)},[nn,Qo]),(0,x.useEffect)(()=>{nn&&Hn&&nn.focus()},[nn,Hn]),(0,x.useEffect)(()=>{if(Sr&&nn){let Eo=function(Wa){let Za=Wa.target;if(hi.current){let Lr=Za.scrollTop/Za.scrollHeight;hi.current.scrollTop=hi.current.scrollHeight*Lr}};const Ba=nn.getScrollerElement();return Ba.addEventListener("scroll",Eo),()=>{Ba.removeEventListener("scroll",Eo)}}},[nn,Sr]),(0,x.useEffect)(()=>{if(nn&&pn){let Eo=function(Ba,Wa){pn(Ba,Wa)};return nn.on("beforeChange",Eo),()=>{nn.off("beforeChange",Eo)}}},[nn,pn]),(0,x.useEffect)(()=>{if(nn&&Et){let Eo=function(){Et(nn.getValue())};return nn.on("blur",Eo),()=>{nn.off("blur",Eo)}}},[nn,Et]);function gr(Eo,Ba){var Wa=Eo.getDoc(),Za=Wa.getCursor(),Lr=Wa.getLine(Za.line),gl=Lr.charAt(Za.ch-1),wl=Lr.lastIndexOf("@\u2581@",Za.ch),$r=Lr.lastIndexOf("@\u2581\u2581@",Za.ch),Kl=wl>$r?wl:$r,Yl=wl>$r?3:4;if(Ht.indexOf(gl)===-1)return null;if(console.log("change1:",Ba,Eo,Lr,Za,Kl,wl,$r,gl),Kl>=0&&Za.ch-Kl<5){var Di=Kl+Yl;return Wa.replaceRange("",{line:Za.line,ch:Kl},{line:Za.line,ch:Di}),{line:Za.line,ch:Di}}return null}(0,x.useEffect)(()=>{if(nn){let Eo=function(Ba,Wa){const Za=Ba.getValue();Xr(Za),Oo(new Date().getTime()),Ba.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),It&&(Gr?It(Za,Nl(Za)):It(Za))};return nn.on("change",Eo),()=>{nn.off("change",Eo)}}},[nn,It]),(0,x.useEffect)(()=>{if(nn)if(xt==null)nn.setValue(""),Xr("");else{const Eo=window.scrollY||window.pageYOffset;xt!==nn.getValue()&&(nn.setValue(xt),Xr(xt),nn.setCursor(mn?1:nn.lineCount(),0),window.scrollTo(0,Eo))}},[nn,xt]);const dl=(0,x.useCallback)(Eo=>{const Ba=nn.getCursor(),Wa=nn.getSelection();let Za=Wa.split(` -`);switch(Eo){case"bold":return nn.replaceSelection("**"+Wa+"**"),Wa===""&&nn.setCursor(Ba.line,Ba.ch+2),nn.focus();case"italic":return nn.replaceSelection("*"+Wa+"*"),Wa===""&&nn.setCursor(Ba.line,Ba.ch+1),nn.focus();case"code":return nn.replaceSelection("`"+Wa+"`"),Wa===""&&nn.setCursor(Ba.line,Ba.ch+1),nn.focus();case"inline-latex":return io("inline-latex"),nn.focus();case"latex":return nn.replaceSelection("```latex\n"+Wa+"\n```"),nn.setCursor(Ba.line+1,Wa.length+1),nn.focus();case"line-break":return nn.replaceSelection(`
-`),nn.focus();case"list-ul":return Wa===""?nn.replaceSelection("- "+Wa):nn.replaceSelection(Za.map(Lr=>Lr===""?"":`- ${Lr}`).join(` -`)),nn.focus();case"list-ol":return Wa===""?nn.replaceSelection("1. "+Wa):nn.replaceSelection(Za.map((Lr,gl)=>Lr===""?"":`${gl+1}. ${Lr}`).join(` -`)),nn.focus();case"add-null-ch":return Wa===""&&nn.setCursor(Ba.line,Ba.ch),nn.replaceSelection(Da),nn.focus();case"add-signal":return Wa===""&&nn.setCursor(Ba.line,Ba.ch),nn.replaceSelection(Dn),nn.focus();case"add-multiple":return Wa===""&&nn.setCursor(Ba.line,Ba.ch),nn.replaceSelection(Ht),nn.focus();case"inster-template-1":return Wa===""&&nn.setCursor(Ba.line,Ba.ch),nn.replaceSelection(Wn),nn.focus();case"eraser":return nn.setValue(""),nn.focus();case"trigger-watch":return Xn(!Sr),nn.focus();case"trigger-full-screen":return bo(!Ia),nn.focus();case Nt:io(Nt);return;case jn:io(jn);return;case Gt:io(Gt);return;case Rt:io(Rt);return;case"maths-latex":io("maths-latex");return;case gn:io(gn);return;case ea:io(ea);return;default:throw new Error}},[nn,Sr,Ia]),Cl=(0,x.useCallback)((Eo,Ba)=>{var Wa,Za,Lr,gl,wl,$r;switch(io(""),La){case Nt:const{title:or,link:co}=Eo;return nn.replaceSelection(`[${or}](${co})`),nn.focus();case jn:const{language:ml,content:Ur}=Eo;return nn.replaceSelection(["```"+ml,Ur,"```"].join(` -`)),nn.focus();case"maths-latex":for(var Kl=atob(Eo),Yl=new Uint8Array(Kl.length),Di=0;Di{eo.id?nn.replaceSelection(`![,](/api/attachments/${eo.id}?type=${eo.content_type})`):(eo==null?void 0:eo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":nn.replaceSelection("`$$"+Eo+"$$`");break;case Gt:case Rt:case Fn:const{src:Vr,alt:Qt}=Eo,Tt=Ba,cn=(Lr=(Za=(Wa=Tt==null?void 0:Tt.name)==null?void 0:Wa.split("."))==null?void 0:Za.pop)==null?void 0:Lr.call(Za);return((gl=Tt==null?void 0:Tt.type)==null?void 0:gl.indexOf("image"))>-1||!(Tt!=null&&Tt.type)?Tt.align||Tt.width?nn.replaceSelection(`

${Qt||

`):nn.replaceSelection(`${Qt||`):((wl=Tt==null?void 0:Tt.type)==null?void 0:wl.indexOf("video"))>-1?nn.replaceSelection(``):(($r=Tt==null?void 0:Tt.type)==null?void 0:$r.indexOf("pdf"))>-1?nn.replaceSelection(`${Tt.name}`):fa.includes(cn)?nn.replaceSelection(`${Tt.name}`):nn.replaceSelection(`[${Tt.name}](${Vr})`),nn.focus();case ea:const{row:Yn,col:uo,align:xo}=Eo;let Tn=` -`;for(let eo=0;eo{switch(La){case Nt:return x.createElement(St,{callback:Cl,onCancel:ql});case jn:return x.createElement(He.Z,{callback:Cl,onCancel:ql});case Gt:return x.createElement(Te.Z,{callback:Cl,onCancel:ql});case gn:return x.createElement(dt,{callback:Cl,onCancel:ql});case ea:return x.createElement(Ze,{callback:Cl,onCancel:ql});case"maths-latex":return x.createElement(an,{showSaveButton:!0,callback:Cl});case"inline-latex":return x.createElement($t.Z,{showSaveButton:!0,callback:Cl});default:return null}},[La]);function ql(){io("")}(0,x.useEffect)(()=>{if(bi.current){let Eo=function(wl){Lr=!0,gl=wl.pageY},Ba=function(){Lr=!1},Wa=function(wl){if(Lr){let $r=wl.pageY-gl;$r<0&&($r=0),$r>300&&($r=300);let Kl=In+$r+"px";qr(Kl)}},Za=bi.current,Lr=!1,gl=0;return Za.addEventListener("mousedown",Eo),document.addEventListener("mousemove",Wa),document.addEventListener("mouseup",Ba),()=>{Za.removeEventListener("mousedown",Eo),document.removeEventListener("mousemove",Wa),document.removeEventListener("mouseup",Ba)}}},[nn,bi]),(0,x.useEffect)(()=>{qr(In)},[In]);const xi=ta(Dt),Qi=ta(Wr),Hi={width:xi,height:Qi},Ol=(0,x.useMemo)(()=>{if(dr){let Eo=new Date(dr),Ba=Eo.getHours(),Wa=Eo.getMinutes(),Za=Eo.getSeconds();return Ba=Ba<10?"0"+Ba:Ba,Wa=Wa<10?"0"+Wa:Wa,Za=Za<10?"0"+Za:Za,`${Ba}:${Wa}:${Za}`}return 0},[dr]),Nl=Eo=>{const Ba=[];if(Gr){let Wa=-1;Eo=Eo.replace(/(@▁▁@|@▁@)/g,function(Za,Lr,gl){Ba.push({multiLine:Za!==Dn})})}return Ba};function Ii(){window.sessionStorage.removeItem(hr),_l(!1),Oo(0)}function Rn(){_l(!1),Oo(0),nn.setValue(window.sessionStorage.getItem(hr))}(0,x.useEffect)(()=>{Dr[La]&&La!==Rt&&La!==gn&&setTimeout(()=>{const Eo=document.getElementsByClassName("markdown-popup-form")[0],Ba=window.innerWidth/2-Eo.offsetWidth/2,Wa=window.innerHeight/2-Eo.offsetHeight/2;Li(Ba),xl(Wa)},0)},[La]);const ru=Eo=>{Eo.preventDefault();const Ba=Eo.clientX-mi,Wa=Eo.clientY-Xl;document.body.onmousemove=Za=>{let Lr=Za.clientX-Ba,gl=Za.clientY-Wa;const wl=document.getElementsByClassName("markdown-popup-form")[0],$r=window.innerWidth-wl.offsetWidth,Kl=window.innerHeight-wl.offsetHeight;Lr=Math.max(0,Math.min(Lr,$r)),gl=Math.max(0,Math.min(gl,Kl)),lu(Za.clientX,Za.clientY,Ba,Wa)&&(Li(Lr),xl(gl))},document.body.onmouseup=function(){document.body.onmousemove=null}},lu=(Eo,Ba,Wa,Za)=>{const Lr=document.body.clientHeight,gl=document.body.clientWidth;return Eo<20&&Wa>Eo||Eo>gl-20&&WaBa||Ba>Lr-20&&Zave in ge?De(ge,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ge[ve]=Ee,z=(ge,ve)=>{for(var Ee in ve||(ve={}))E.call(ve,Ee)&&y(ge,Ee,ve[Ee]);if(a)for(var Ee of a(ve))b.call(ve,Ee)&&y(ge,Ee,ve[Ee]);return ge},ne=(ge,ve)=>me(ge,oe(ve));const{useForm:ae}=x.default,le={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:ge,onCancel:ve})=>{const[Ee]=ae();let Je=(0,je.useRef)();function Me(ke){Je.current.width=Ee.getFieldValue("width"),Je.current.align=Ee.getFieldValue("align"),ge(ke,Je.current)}function Ue(ke,ot){if(ke.status===-1){re.ZP.error(ke.message);return}Ee.setFieldsValue({src:`/api/attachments/${ke.id}`,type:ot.type})}function Le(ke){let ot=ke.target.files[0];Je.current=ot,ce(ot,Ue)}return Ne.createElement(x.default,ne(z({form:Ee},ie),{className:"upload-image-panel",onFinish:Me,style:{width:470,overflow:"hidden"}}),Ne.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ne.createElement("div",{className:"flex-container"},Ne.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ne.createElement(Pe.default,{style:le})),Ne.createElement(se,{onFileChange:Le}))),Ne.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ne.createElement(Pe.default,{style:{width:264}})),Ne.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ne.createElement(Fe.Z,null,Ne.createElement(x.default.Item,{name:"width",style:{margin:0}},Ne.createElement(be.Z,{style:{width:264}})),Ne.createElement("span",{className:"ml8"},"%"))),Ne.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ne.createElement(xe.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"}]})),Ne.createElement("aside",null,Ne.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ne.createElement(ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ne.createElement(ue.ZP,{type:"default",onClick:ve},"\u53D6\u6D88"))))};function se({onFileChange:ge}){return Ne.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ne.createElement("input",{type:"file",onChange:ge}))}function ce(ge,ve){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ie.bg)())throw re.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ee=new FormData;Ee.append("editormd-image-file",ge),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(Me){ve(JSON.parse(Me.target.responseText),ge)},!1),Je.addEventListener("error",function(Me){console.error(Me)},!1),Je.open("POST",`${Oe.KI}/api/attachments.json`),Je.send(Ee)}},57261:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Pe}});var x=te(59301),re=te(4676);class Pe extends x.Component{constructor(be){super(be);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,re.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(at,Qe,te){"use strict";te.d(Qe,{i:function(){return ie},Z:function(){return se}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},re=te(71418),Pe=te(6848),Fe=te(93948),be=te(92310),xe=te.n(be),ue=te(65862),Oe=te(2524),je=te(41867),Ie=te(79005),Ne=te(20345),De=te(77882),me=te(31081),oe=te(75309),a=te(71979),E=te(47558),b=te(42922),y=te(66832),z=te(96593),ne=te(19664),ae=te(91833),le=te(59301);const ie=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ie,swimg:Ne},{name:"101\u8BA1\u5212",ptimg:De,swimg:me},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:oe,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:b},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:y,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ne,swimg:ae}];var se=({className:ce,dataSource:ge=[],col:ve=4,right:Ee,bottom:Je=23,precision:Me=0,wrapWidth:Ue=1200,trackEventItems:Le,loading:ke,onRemove:ot=()=>{},isCurrent:gt=!0,showAlias:it=!1,showProgress:nt=!1})=>{const Xe=Math.floor((Ue-(ve-1)*Ee)/ve),St=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(He=>(window.ENV==="build"&&(He.ptimg=`/react/build${He.ptimg}`,He.swimg=`/react/build${He.swimg}`),He));return le.createElement(re.Z,{spinning:ke},le.createElement("div",{className:xe()(x.list,ce)},!!(ge!=null&&ge.length)&&(ge==null?void 0:ge.map((He,Te)=>{var Ge,pt,Lt,mt,Pn,ze;const{name:At,id:Wt,identifier:tn,featured:En,school_name:ut,image_url:ft,excellent:_e,is_plan:Be}=He;return le.createElement("div",{key:Wt,className:gt&&nt?x.wrapisCurrent:x.wrap,style:{width:Xe,marginRight:(1+Te)%ve===0?0:Ee+Me,marginBottom:Je}},le.createElement("a",{className:x.li,onClick:rt=>{rt.preventDefault(),rt.stopPropagation(),Le&&(0,ue.L9)([Le]),(0,ue.xg)(`/paths/${tn}`)}},le.createElement("div",{className:x.img},le.createElement("img",{className:x.cover,src:`${ft}`}),gt&&(0,je.bg)()&&(He==null?void 0:He.studying)&&le.createElement("div",{className:`${x.movebq} user-path-items`,onClick:rt=>{rt.stopPropagation(),ot(He)}},le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ge=He==null?void 0:He.subject_tags)==null?void 0:Ge.map((rt,dt)=>{var Re,we;if(dt===0){const $e=(Re=St.find(Ze=>Ze.name==rt))==null?void 0:Re.swimg;return le.createElement("img",{className:x.sign,src:$e,style:{left:"-4px"}})}const lt=(we=St.find($e=>$e.name==rt))==null?void 0:we.ptimg;return le.createElement("img",{className:x.sign,src:lt,style:{left:`${48+52*(dt-1)+2*dt}px`}})}),le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(He==null?void 0:He.excellent)&&le.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:x.name},le.createElement(Pe.Z,{title:it&&(He!=null&&He.excellent_alias_name)?le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${At}`,le.createElement("br",null),le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${He==null?void 0:He.excellent_alias_name}`)):At},le.createElement("span",{className:x.e},it&&(He==null?void 0:He.excellent_alias_name)||At))),gt&&nt&&((pt=He==null?void 0:He.progress)==null?void 0:pt.all_score)!=0&&le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},le.createElement(Fe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Lt=He==null?void 0:He.progress)==null?void 0:Lt.my_score)/((mt=He==null?void 0:He.progress)==null?void 0:mt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Pn=He==null?void 0:He.progress)==null?void 0:Pn.my_score,"/",(ze=He==null?void 0:He.progress)==null?void 0:ze.all_score),(!gt||!nt)&&le.createElement("div",{className:x.tags},le.createElement("div",null,le.createElement(Pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),le.createElement("span",null,He.stages_count))),le.createElement(Pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),le.createElement("span",null,He.members_count)))))))})),!ge.length&&le.createElement(Oe.Z,null)))}},3918:function(at,Qe,te){"use strict";te.d(Qe,{jL:function(){return be},w9:function(){return ta},vv:function(){return Dt},dN:function(){return Dr},QD:function(){return si},cQ:function(){return dt.Z},vg:function(){return Da},Oz:function(){return rn},op:function(){return Oo},O5:function(){return Ol},_b:function(){return ci},t7:function(){return Je},tT:function(){return Le},Gi:function(){return Er},YG:function(){return Qo},Ed:function(){return sr},kT:function(){return hr},qp:function(){return b},Um:function(){return ie},K3:function(){return ne},vr:function(){return Li},qE:function(){return ri},Je:function(){return gt},wb:function(){return ze},rC:function(){return rt},lB:function(){return tn},cq:function(){return Sn},kO:function(){return pa},tp:function(){return ce},Si:function(){return Rn},k8:function(){return Vr},Du:function(){return gl}});var x=te(59301),re={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWd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nO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",be=({dataSource:Qt=[],img:Tt,imgWidth:cn=346,title:Yn,sunTitle:uo,bannerExtraContent:xo})=>x.createElement("div",{className:re.banner},x.createElement("div",{className:re.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Yn),x.createElement("span",null,uo)),Qt.length>0&&x.createElement("div",{className:re.btns},Qt.map((Tn,eo)=>x.createElement("div",{key:eo,onClick:Tn.click},Tn.name,Tn.sign?x.createElement("img",{src:Pe,width:39}):null))),xo),Tt&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Tt,width:cn}))),xe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ue=te(92310),Oe=te.n(ue),je=te(89392),Ie=Object.defineProperty,Ne=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,oe=(Qt,Tt,cn)=>Tt in Qt?Ie(Qt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[Tt]=cn,a=(Qt,Tt)=>{for(var cn in Tt||(Tt={}))De.call(Tt,cn)&&oe(Qt,cn,Tt[cn]);if(Ne)for(var cn of Ne(Tt))me.call(Tt,cn)&&oe(Qt,cn,Tt[cn]);return Qt},b=({dataSource:Qt=[],value:Tt,onChange:cn,onTitleChange:Yn,className:uo,title:xo,titleWidth:Tn=41,style:eo={},fontColor:jo="#6A7283",showCount:mr,classNameActive:No,styleItem:va={}})=>{const[Ko,ua]=(0,x.useState)(0),[Ll,Io]=(0,x.useState)(!1),Yo=(0,x.useRef)(null),Yr=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var jr;Qt.length!==0&&(((jr=Yo==null?void 0:Yo.current)==null?void 0:jr.clientHeight)>97?ua(1):ua(0)),Qt.length===0&&ua(0),Io(!1)},[Qt]),x.createElement("div",{className:Oe()(xe.row,uo),style:eo},x.createElement("div",{onClick:(0,je.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Tn,marginTop:Ll?12:4},className:`${xe.title} ${Yn?"current":""}`},xo),x.createElement("div",{className:Ll?`${xe.tagsWrap} ${xe.tagsBorderWrap}`:xe.tagsWrap},x.createElement("div",{className:xe.bar,ref:Yr,style:Ko>0?{height:Ko===1?97:"auto",overflow:Ko===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:xe.tag,ref:Yo},Qt==null?void 0:Qt.map(jr=>x.createElement("span",{onClick:()=>cn(jr.id),key:jr.id,style:a(a({color:jo},va),(jr==null?void 0:jr.style)||{}),className:Tt===jr.id?Oe()(No||xe.active,jr.classNameActive):""},x.createElement("span",{title:jr.name,className:xe.name},jr.name),!!mr&&x.createElement("span",{className:xe.num},jr.count))))),!!Ko&&x.createElement(x.Fragment,null,Ko===1?x.createElement("div",{onClick:()=>{var jr;ua(2),((jr=Yo==null?void 0:Yo.current)==null?void 0:jr.clientHeight)>245?Io(!0):Io(!1)},className:xe.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{Yr.current.scrollTop=0,ua(1),Io(!1)},className:xe.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},y={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ne=({dataSource:Qt=[],value:Tt,onChange:cn,onTitleChange:Yn,className:uo,title:xo,titleWidth:Tn=41,style:eo={},fontColor:jo="#6A7283",showCount:mr,expand:No=!0})=>{const[va,Ko]=(0,x.useState)(0),[ua,Ll]=(0,x.useState)(!1),Io=(0,x.useRef)(null),Yo=(0,x.useRef)(null),[Yr,jr]=(0,x.useState)(No);return x.createElement("div",{className:Oe()(y.row,uo),style:eo},x.createElement("div",{className:"flex item-center justify-between"},x.createElement("div",{onClick:(0,je.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Tn,marginTop:ua?12:4},className:`${y.title} ${Yn?"current":""}`},xo),x.createElement("i",{className:`iconfont ${Yr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Yr?8:10},onClick:()=>jr(!Yr)})),Yr&&x.createElement("div",{className:ua?`${y.tagsWrap} ${y.tagsBorderWrap}`:y.tagsWrap},x.createElement("div",{className:y.fenge}),x.createElement("div",{className:y.bar,ref:Yo},x.createElement("div",{className:y.tag,ref:Io},Qt==null?void 0:Qt.map(Tl=>x.createElement("span",{onClick:()=>cn(Tl.id),key:Tl.id,style:{color:jo},className:Tt===Tl.id?y.active:""},x.createElement("span",{title:Tl.name,className:y.name},Tl.name),!!mr&&x.createElement("span",{className:y.num},Tl.count)))))))},ae={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ie=({dataSource:Qt=[],value:Tt,onChange:cn,onTitleChange:Yn,className:uo,title:xo,titleWidth:Tn=41,style:eo={},fontColor:jo="#fff",showCount:mr,expand:No=!0})=>{const[va,Ko]=(0,x.useState)(0),[ua,Ll]=(0,x.useState)(!1),Io=(0,x.useRef)(null),Yo=(0,x.useRef)(null),[Yr,jr]=(0,x.useState)(No);return x.createElement("div",{className:Oe()(ae.row,uo),style:eo},x.createElement("div",{className:"flex item-center justify-between"},x.createElement("div",{onClick:(0,je.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Tn},className:`${ae.title} ${Yn?"current":""}`},xo),x.createElement("i",{className:`iconfont ${Yr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Yr?"#00DDC7":"#037F74",fontSize:Yr?10:12},onClick:()=>jr(!Yr)})),Yr&&x.createElement("div",{className:ua?`${ae.tagsWrap} ${ae.tagsBorderWrap}`:ae.tagsWrap},x.createElement("div",{className:ae.bar,ref:Yo},x.createElement("div",{className:ae.tag,ref:Io},Qt==null?void 0:Qt.map(Tl=>x.createElement("span",{onClick:()=>cn(Tl.id),key:Tl.id,style:{color:jo},className:Tt===Tl.id?ae.active:""},x.createElement("span",{title:Tl.name,className:ae.name},Tl.name),!!mr&&x.createElement("span",{className:ae.num},Tl.count)))))))},de={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},ce=({dataSource:Qt=[],value:Tt,onChange:cn,className:Yn,style:uo={}})=>x.createElement("div",{style:uo,className:Oe()(de.tabs,Yn)},Qt.map(xo=>x.createElement("span",{onClick:()=>cn(xo.id),className:Tt===xo.id?de.active:"",key:xo.id},xo.name))),ge={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ve=te(92832),Je=({dataSource:Qt=[],value:Tt="",onChange:cn,onInputChange:Yn=()=>{},className:uo,style:xo={},placeholder:Tn,allowClear:eo=!1})=>{var jo;const[mr,No]=(0,x.useState)(""),[va,Ko]=(0,x.useState)("");(0,x.useEffect)(()=>{var Io;let Yo=Tt;(Io=JSON.stringify(Tt))!=null&&Io.includes("{")&&(No(Tt.id),Yo=Tt.value||"");try{Ko(decodeURIComponent(Yo||""))}catch(Yr){Ko(decodeURIComponent(Yo||""))}},[Tt]);const ua=()=>{cn(encodeURIComponent(va),mr||null)},Ll=Io=>{Io!==mr&&(No(Io),cn(encodeURIComponent(va),Io))};return x.createElement("div",{className:Oe()(ge.input,uo),style:xo},!!Qt.length&&x.createElement("div",{className:ge.dropdown},x.createElement("div",{className:ge.text},(jo=Qt.find(Io=>Io.id===mr))==null?void 0:jo.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:ge.b1}),x.createElement("b",{className:ge.b2})),x.createElement("div",{className:ge.menu},Qt.map((Io,Yo)=>x.createElement("div",{key:Yo,onClick:()=>Ll(Io.id)},Io.name)))),x.createElement(ve.default,{onPressEnter:ua,value:va,onChange:Io=>{Ko(Io.target.value),Yn(encodeURIComponent(Io.target.value),mr||null)},bordered:!1,placeholder:Tn}),x.createElement("i",{onClick:ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Me={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Le=({dataSource:Qt=[],value:Tt="",onChange:cn,onInputChange:Yn=()=>{},className:uo,style:xo={},placeholder:Tn,allowClear:eo=!1})=>{var jo;const[mr,No]=(0,x.useState)(""),[va,Ko]=(0,x.useState)("");(0,x.useEffect)(()=>{var Io;let Yo=Tt;(Io=JSON.stringify(Tt))!=null&&Io.includes("{")&&(No(Tt.id),Yo=Tt.value||"");try{Ko(decodeURIComponent(Yo||""))}catch(Yr){Ko(decodeURIComponent(Yo||""))}},[Tt]);const ua=()=>{cn(encodeURIComponent(va),mr||null)},Ll=Io=>{Io!==mr&&(No(Io),cn(encodeURIComponent(va),Io))};return x.createElement("div",{className:Oe()(Me.input,uo),style:xo},!!Qt.length&&x.createElement("div",{className:Me.dropdown},x.createElement("div",{className:Me.text},(jo=Qt.find(Io=>Io.id===mr))==null?void 0:jo.name,x.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),x.createElement("div",{className:Me.menu},Qt.map((Io,Yo)=>x.createElement("div",{key:Yo,onClick:()=>Ll(Io.id)},Io.name)))),x.createElement(ve.default,{onPressEnter:ua,value:va,onChange:Io=>{Ko(Io.target.value),Yn(encodeURIComponent(Io.target.value),mr||null)},bordered:!1,placeholder:Tn}),x.createElement("i",{onClick:ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ke={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},gt=({value:Qt,onChange:Tt,className:cn,total:Yn,pageSize:uo,style:xo={}})=>{const Tn=Qt<2,eo=Qt>=Math.ceil(Yn/uo);return Yn<=uo?x.createElement(x.Fragment,null):x.createElement("div",{className:Oe()(ke.quickPager,cn),style:xo},x.createElement("div",{onClick:()=>{Tn||Tt(Qt-1,"prev")},className:Tn?ke.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{eo||Tt(Qt+1,"next")},className:eo?ke.disabled:""},"\u4E0B\u4E00\u9875"))},it={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},nt=te(71418),Xe=te(6848),St=te(13570),He=te(74128),Te=te(65862),Ge=te(96908),pt=te(57177),Lt=te(81378),mt=te(2524),ze=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,trackEventItems:eo,loading:jo})=>{const mr=Math.floor((Tn-(cn-1)*Yn)/cn);return x.createElement(nt.Z,{spinning:jo},x.createElement("div",{className:Oe()(it.list,Qt)},!!Tt.length&&Tt.map((No,va)=>{const{name:Ko,id:ua,identifier:Ll,power:Io,cover_image_id:Yo,pic:Yr}=No;return x.createElement("div",{className:it.wrap,key:ua,style:{width:mr,marginRight:(1+va)%cn===0?0:Yn+xo,marginBottom:uo}},x.createElement("a",{target:"_blank",href:`/shixuns/${Ll}/challenges`,className:it.li,onClick:jr=>{jr.preventDefault(),eo&&(0,Te.L9)([eo]),Io&&(0,Te.xg)(`/shixuns/${Ll}/challenges`)}},x.createElement("div",{className:it.img},x.createElement("img",{className:it.cover,src:`${Yr}`}),No.is_jupyter&&x.createElement("img",{className:it.sign,src:Ge}),No.is_jupyter_lab&&x.createElement("img",{className:it.sign,src:pt}),No.is_unity_3d&&x.createElement("img",{className:it.sign,src:Lt})),x.createElement("div",{className:it.name},x.createElement(Xe.Z,{title:Ko||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:it.e},Ko||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:it.tags},x.createElement(Xe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,No.challenges_count))),!!No.myshixuns_count&&x.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,No.myshixuns_count))),x.createElement(Xe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,No.level))),x.createElement("div",{className:it.rate},x.createElement(St.Z,{allowHalf:!0,disabled:!0,defaultValue:No.score_info}),x.createElement("span",null,"\xA0",No.score_info?`${No.score_info}\u5206`:"5\u5206")))),!Io&&x.createElement("div",{className:it.lockWrap},x.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Tt.length&&x.createElement(mt.Z,null)))},At={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},tn=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,wrapClassName:eo,trackEventItems:jo,loading:mr})=>{const No=Math.floor((Tn-(cn-1)*Yn)/cn);return x.createElement(nt.Z,{spinning:mr},x.createElement("div",{className:Oe()(At.list,Qt)},!!Tt.length&&Tt.map((va,Ko)=>{const{name:ua,id:Ll,identifier:Io,power:Yo,cover_image_id:Yr,pic:jr}=va;return x.createElement("div",{className:Oe()(At.wrap,eo),key:Ll,style:{width:No,marginRight:(1+Ko)%cn===0?0:Yn+xo,marginBottom:uo}},x.createElement("a",{target:"_blank",href:`/shixuns/${Io}/challenges`,className:At.li,onClick:Tl=>{Tl.preventDefault(),jo&&(0,Te.L9)([jo]),Yo&&(0,Te.xg)(`/shixuns/${Io}/challenges`)}},x.createElement("img",{src:te(47621),className:At.titleBg}),x.createElement("div",{className:At.name},x.createElement(Xe.Z,{title:ua||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:At.e},ua||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{style:{padding:"14px",paddingBottom:0}},x.createElement("div",{className:At.img},x.createElement("img",{className:At.cover,src:Yr?`${He.Z.API_SERVER}/api/attachments/${Yr}`:`${He.Z.IMG_SERVER+jr}`}),va.is_jupyter&&x.createElement("div",{className:At.bq},"Jupyter"),va.is_jupyter_lab&&x.createElement("div",{className:At.bq},"JupyterLab"),va.is_unity_3d&&x.createElement("div",{className:At.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),x.createElement("div",{className:"mt20 flex item-center justify-between"},x.createElement("div",null,x.createElement("span",{className:At.text},"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{className:At.value},va.myshixuns_count)),x.createElement("div",null,x.createElement("span",{className:At.text},"\u56F0\u96BE\u7B49\u7EA7"),x.createElement("span",{className:At.value},va.level))),x.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},x.createElement("div",null,x.createElement("span",{className:At.text},"\u5173\u5361\u6570"),x.createElement("span",{className:At.value},va.challenges_count)),x.createElement("div",{className:At.rate},x.createElement(St.Z,{allowHalf:!0,disabled:!0,defaultValue:va.score_info}),x.createElement("span",{className:At.value,style:{color:"#FF9C00"}},"\xA0",va.score_info?`${va.score_info}\u5206`:"5\u5206"))))),!Yo&&x.createElement("div",{className:At.lockWrap},x.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Tt.length&&x.createElement(mt.Z,null)))},En={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZ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c/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",rt=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,trackEventItems:eo,loading:jo,wrapClassName:mr,imgClassName:No})=>{const va=Math.floor((Tn-(cn-1)*Yn)/cn);return x.createElement(nt.Z,{spinning:jo},x.createElement("div",{className:Oe()(En.list,Qt)},!!Tt.length&&Tt.map((Ko,ua)=>{const{name:Ll,id:Io,identifier:Yo,power:Yr,cover_image_id:jr,pic:Tl}=Ko;return x.createElement("div",{className:Oe()(En.wrap,mr),key:Io,style:{width:va,marginRight:(1+ua)%cn===0?0:Yn+xo,marginBottom:uo}},x.createElement("a",{target:"_blank",href:`/shixuns/${Yo}/challenges`,className:En.li,onClick:Ci=>{Ci.preventDefault(),eo&&(0,Te.L9)([eo]),Yr&&(0,Te.xg)(`/shixuns/${Yo}/challenges`)}},x.createElement("div",{className:Oe()(En.img,No)},x.createElement("img",{className:En.cover,src:jr?`${He.Z.API_SERVER}/api/attachments/${jr}`:`${He.Z.IMG_SERVER+Tl}`}),Ko.is_jupyter&&x.createElement("img",{className:En.sign,src:ut}),Ko.is_jupyter_lab&&x.createElement("img",{className:En.sign,src:ft}),Ko.is_unity_3d&&x.createElement("img",{className:En.sign,src:_e})),x.createElement("div",{className:En.name},x.createElement(Xe.Z,{title:Ll||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:En.e},Ll||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:En.tags},x.createElement(Xe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,Ko.challenges_count))),!!Ko.myshixuns_count&&x.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,Ko.myshixuns_count))),x.createElement(Xe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,Ko.level))),x.createElement("div",{className:En.rate},x.createElement(St.Z,{allowHalf:!0,disabled:!0,defaultValue:Ko.score_info}),x.createElement("span",null,"\xA0",Ko.score_info?`${Ko.score_info}\u5206`:"5\u5206")))),!Yr&&x.createElement("div",{className:En.lockWrap},x.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Tt.length&&x.createElement(mt.Z,null)))},dt=te(61584),Re={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},we=te(79005),lt=te(20345),$e=te(77882),Ze=te(31081),ht=te(75309),An=te(71979),en=te(47558),zt=te(42922),an=te(66832),$t=te(96593),Ye=te(19664),et=te(91833),Nt=Object.defineProperty,Gt=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Fn=(Qt,Tt,cn)=>Tt in Qt?Nt(Qt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[Tt]=cn,jn=(Qt,Tt)=>{for(var cn in Tt||(Tt={}))gn.call(Tt,cn)&&Fn(Qt,cn,Tt[cn]);if(Gt)for(var cn of Gt(Tt))Rt.call(Tt,cn)&&Fn(Qt,cn,Tt[cn]);return Qt};const ea=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:we,swimg:lt},{name:"101\u8BA1\u5212",ptimg:$e,swimg:Ze},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ht,swimg:An},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:en,swimg:zt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:an,swimg:$t},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ye,swimg:et}];var rn=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,trackEventItems:eo,loading:jo,wrapClassName:mr,imgClassName:No,isArrow:va=!1,imgStyle:Ko={}})=>{const ua=Math.floor((Tn-(cn-1)*Yn)/cn),[Ll,Io]=(0,x.useState)(),[Yo,Yr]=(0,x.useState)(),jr=Ci=>Io(Ci),Tl=()=>Io(-1);return x.createElement(nt.Z,{spinning:jo},x.createElement("div",{className:Oe()(Re.list,Qt)},!!(Tt!=null&&Tt.length)&&(Tt==null?void 0:Tt.map((Ci,el)=>{var Ti;const{name:Ji,id:_i,identifier:pu,featured:Ru,school_name:Ei,image_url:pr,excellent:Cu,is_plan:Fu}=Ci;return x.createElement("div",{key:_i,className:Oe()(Re.wrap,mr),style:{width:ua,marginRight:(1+el)%cn===0?0:Yn+xo,marginBottom:uo}},x.createElement("a",{target:"_blank",href:`/paths/${pu}`,className:Re.li,onClick:ji=>{ji.preventDefault(),eo&&(0,Te.L9)([eo]),(0,Te.xg)(`/paths/${pu}`)}},x.createElement("img",{src:te(39057),className:Re.titleBg}),x.createElement("div",{className:Re.name},x.createElement(Xe.Z,{title:Ji},x.createElement("span",{className:Re.e,style:{color:va&&Ll===el?"#145DFF":"#000000"},onMouseEnter:()=>{jr(el)},onMouseLeave:Tl},Ji))),x.createElement("div",{style:{padding:"14px",paddingBottom:0}},x.createElement("div",{className:Oe()(Re.img,No)},x.createElement("img",{className:Re.cover,style:jn({},Ko),src:`${He.Z.IMG_SERVER+pr}`}),(Ti=Ci==null?void 0:Ci.subject_tags)==null?void 0:Ti.map((ji,Fi)=>{var iu,ku;if(Fi===0){const Bi=(iu=ea.find(Bu=>Bu.name==ji))==null?void 0:iu.swimg;return x.createElement("img",{className:Re.sign,src:Bi,style:{left:"-4px"}})}const ju=(ku=ea.find(Bi=>Bi.name==ji))==null?void 0:ku.ptimg;return x.createElement("img",{className:Re.sign,src:ju,style:{left:`${48+52*(Fi-1)+2*Fi}px`}})}),x.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Ci==null?void 0:Ci.excellent)&&x.createElement("div",{className:Re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),x.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},x.createElement("div",null,x.createElement("span",{className:Re.text},"\u7AE0\u8282\u6570"),x.createElement("span",{className:Re.value},Ci.stages_count)),x.createElement("div",null,x.createElement("span",{className:Re.text},"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{className:Re.value},Ci.members_count))))))})),!Tt.length&&x.createElement(mt.Z,null)))},Sa={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},ro=te(41867),oa=te(59301);const xn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:we,swimg:lt},{name:"101\u8BA1\u5212",ptimg:$e,swimg:Ze},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ht,swimg:An},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:en,swimg:zt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:an,swimg:$t},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ye,swimg:et}];var Da=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,trackEventItems:eo,loading:jo,onRemove:mr=()=>{},isCurrent:No=!0,showAlias:va=!1,wrapClassName:Ko,imgClassName:ua})=>{const Ll=Math.floor((Tn-(cn-1)*Yn)/cn),Io=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Yo=>(window.ENV==="build"&&(Yo.ptimg=`/react/build${Yo.ptimg}`,Yo.swimg=`/react/build${Yo.swimg}`),Yo));return oa.createElement(nt.Z,{spinning:jo},oa.createElement("div",{className:Oe()(Sa.list,Qt)},!!(Tt!=null&&Tt.length)&&(Tt==null?void 0:Tt.map((Yo,Yr)=>{var jr;const{name:Tl,id:Ci,identifier:el,featured:Ti,school_name:Ji,image_url:_i,excellent:pu,is_plan:Ru}=Yo;return oa.createElement("div",{key:Ci,className:Oe()(Sa.wrap,Ko),style:{width:Ll,marginRight:(1+Yr)%cn===0?0:Yn+xo,marginBottom:uo}},oa.createElement("a",{className:Sa.li,onClick:Ei=>{Ei.preventDefault(),Ei.stopPropagation(),eo&&(0,Te.L9)([eo]),(0,Te.xg)(`/paths/${el}`)}},oa.createElement("div",{className:Oe()(Sa.img,ua)},oa.createElement("img",{className:Sa.cover,src:`${He.Z.IMG_SERVER+_i}`}),No&&(0,ro.bg)()&&(Yo==null?void 0:Yo.studying)&&oa.createElement("div",{className:`${Sa.movebq} user-path-items`,onClick:Ei=>{Ei.stopPropagation(),mr(Yo)}},oa.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oa.createElement("span",{className:"c-red"},"\u79FB\u9664")),(jr=Yo==null?void 0:Yo.subject_tags)==null?void 0:jr.map((Ei,pr)=>{var Cu,Fu;if(pr===0){const Fi=(Cu=Io.find(iu=>iu.name==Ei))==null?void 0:Cu.swimg;return oa.createElement("img",{className:Sa.sign,src:Fi,style:{left:"-4px"}})}const ji=(Fu=Io.find(Fi=>Fi.name==Ei))==null?void 0:Fu.ptimg;return oa.createElement("img",{className:Sa.sign,src:ji,style:{left:`${48+52*(pr-1)+2*pr}px`}})}),oa.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Yo==null?void 0:Yo.excellent)&&oa.createElement("div",{className:Sa.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oa.createElement("div",{className:Sa.name},oa.createElement(Xe.Z,{title:va&&(Yo!=null&&Yo.excellent_alias_name)?oa.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Tl}`,oa.createElement("br",null),oa.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Yo==null?void 0:Yo.excellent_alias_name}`)):Tl},oa.createElement("span",{className:Sa.e},va&&(Yo==null?void 0:Yo.excellent_alias_name)||Tl))),oa.createElement("div",{className:Sa.tags},oa.createElement("div",null,oa.createElement(Xe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oa.createElement("span",null,oa.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oa.createElement("span",null,Yo.stages_count))),oa.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oa.createElement("span",null,oa.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oa.createElement("span",null,Yo.members_count)))))))})),!Tt.length&&oa.createElement(mt.Z,null)))},Ht={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL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8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Wn=te(59301),ta=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,trackEventItems:eo,loading:jo})=>{const mr=Math.floor((Tn-(cn-1)*Yn)/cn);return Wn.createElement(nt.Z,{spinning:jo},Wn.createElement("div",{className:Oe()(Ht.list,Qt)},!!Tt.length&&Tt.map((No,va)=>{const{subject_identifier:Ko,id:ua,identifier:Ll,power:Io}=No,Yo=No.is_public!=0&&No.is_public;return Wn.createElement("div",{className:Ht.wrap,key:ua,style:{width:mr,marginRight:(1+va)%cn===0?0:Yn+xo,marginBottom:uo}},Wn.createElement("a",{className:Ht.li,onClick:Yr=>{Yr.preventDefault(),eo&&(0,Te.L9)([eo]),(0,Te.xg)(No.first_category_url)}},Wn.createElement("div",{className:Ht.top},Wn.createElement(Xe.Z,{title:No.name},Wn.createElement("div",{className:Ht.name},No.name)),Wn.createElement("img",{className:Ht.img,src:He.Z.IMG_SERVER+"/images/"+No.avatar_url}),Wn.createElement("div",{className:Ht.text,title:No.creator},No.creator),Ko&&Wn.createElement("div",{className:Ht.btns},Wn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Wn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Yo&&Wn.createElement("div",{className:Ht.sign},"\u516C\u5F00")),Wn.createElement("div",{className:Ht.bottom},No.visits>0&&Wn.createElement(Xe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Wn.createElement("span",null,Wn.createElement("i",{className:"iconfont icon-liulanyan"}),Wn.createElement("span",null,No.visits))),No.course_members_count>0&&Wn.createElement(Xe.Z,{title:"\u6210\u5458",placement:"bottom"},Wn.createElement("span",null,Wn.createElement("i",{className:"iconfont icon-chengyuan"}),No.course_members_count)),No.tasks_count>0&&Wn.createElement(Xe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Wn.createElement("span",null,Wn.createElement("i",{className:"iconfont icon-zuoye"}),No.tasks_count)),No.is_end?Wn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Wn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!No.is_accessible&&Wn.createElement("div",{className:Ht.lockWrap},Wn.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Wn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Tt.length&&Wn.createElement(mt.Z,null)))},za={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Ao="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYws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kQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dr=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,wrapClassName:eo,trackEventItems:jo,loading:mr})=>{const No=Math.floor((Tn-(cn-1)*Yn)/cn);return x.createElement(nt.Z,{spinning:mr},x.createElement("div",{className:Oe()(za.list,Qt)},!!Tt.length&&Tt.map((va,Ko)=>{const{subject_identifier:ua,id:Ll,identifier:Io,power:Yo}=va,Yr=va.is_public!=0&&va.is_public;return x.createElement("div",{className:Oe()(`${za.wrap} ${va.is_accessible?"":za.warpStyle}`,eo),key:Ll,style:{width:No,marginRight:(1+Ko)%cn===0?0:Yn+xo,marginBottom:uo}},x.createElement("a",{className:za.li,onClick:jr=>{jr.preventDefault(),jo&&(0,Te.L9)([jo]),(0,Te.xg)(va.first_category_url)}},x.createElement("div",{className:za.creator},x.createElement("img",{className:za.img,src:He.Z.IMG_SERVER+"/images/"+va.avatar_url}),x.createElement("div",{className:za.text,title:va.creator},va.creator)),x.createElement("div",{className:za.top},x.createElement(Xe.Z,{title:va.name},x.createElement("div",{className:za.name},va.name)),Yr&&x.createElement("div",{className:za.sign},"\u516C\u5F00")),x.createElement("div",{className:za.middle},x.createElement("div",{className:za.row,style:{marginBottom:6}},x.createElement("div",null,x.createElement("span",{className:za.text},"\u8BBF\u95EE\u91CF"),x.createElement("span",{className:za.value},(va==null?void 0:va.visits)||0)),x.createElement("div",null,x.createElement("span",{className:za.text},"\u6210\u5458"),x.createElement("span",{className:za.value},(va==null?void 0:va.course_members_count)||0))),x.createElement("div",{className:za.row},x.createElement("div",null,x.createElement("span",{className:za.text,style:{width:42}},"\u4F5C",x.createElement("span",{style:{marginLeft:14}},"\u4E1A")),x.createElement("span",{className:za.value},(va==null?void 0:va.tasks_count)||0)),x.createElement("div",null,x.createElement("span",{className:za.text},"\u72B6\u6001"),va.is_end?x.createElement("span",{className:za.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):x.createElement("span",{className:za.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ua&&x.createElement("div",{className:za.btns},x.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),x.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!va.is_accessible&&x.createElement("div",{className:za.lockWrap},x.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Tt.length&&x.createElement(mt.Z,null)))},Na={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBH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hdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dt=({className:Qt,dataSource:Tt=[],col:cn=4,right:Yn,bottom:uo=23,precision:xo=0,wrapWidth:Tn=1200,wrapClassName:eo,trackEventItems:jo,loading:mr})=>{const No=Math.floor((Tn-(cn-1)*Yn)/cn);return x.createElement(nt.Z,{spinning:mr},x.createElement("div",{className:Oe()(Na.list,Qt)},!!Tt.length&&Tt.map((va,Ko)=>{const{subject_identifier:ua,id:Ll,identifier:Io,power:Yo}=va,Yr=va.is_public!=0&&va.is_public;return x.createElement("div",{className:Oe()(`${Na.wrap} ${va.is_accessible?"":Na.warpStyle}`,eo),key:Ll,style:{width:No,marginRight:(1+Ko)%cn===0?0:Yn+xo,marginBottom:uo}},x.createElement("a",{className:Na.li,onClick:jr=>{jr.preventDefault(),jo&&(0,Te.L9)([jo]),(0,Te.xg)(va.first_category_url)}},x.createElement("div",{className:Na.creator},x.createElement("img",{className:Na.img,src:He.Z.IMG_SERVER+"/images/"+va.avatar_url}),x.createElement("div",{className:Na.text,title:va.creator},va.creator)),x.createElement("div",{className:Na.top},x.createElement(Xe.Z,{title:va.name},x.createElement("div",{className:Na.name},va.name)),Yr&&x.createElement("div",{className:Na.sign})),x.createElement("div",{className:Na.middle},x.createElement("div",{className:Na.row,style:{marginBottom:6}},x.createElement("div",null,x.createElement("span",{className:Na.text},"\u8BBF\u95EE\u91CF"),x.createElement("span",{className:Na.value},(va==null?void 0:va.visits)||0)),x.createElement("div",null,x.createElement("span",{className:Na.text},"\u6210\u5458"),x.createElement("span",{className:Na.value},(va==null?void 0:va.course_members_count)||0))),x.createElement("div",{className:Na.row},x.createElement("div",null,x.createElement("span",{className:Na.text,style:{width:42}},"\u4F5C",x.createElement("span",{style:{marginLeft:14}},"\u4E1A")),x.createElement("span",{className:Na.value},(va==null?void 0:va.tasks_count)||0)),x.createElement("div",null,x.createElement("span",{className:Na.text},"\u72B6\u6001"),va.is_end?x.createElement("span",{className:Na.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):x.createElement("span",{className:Na.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ua&&x.createElement("div",{className:Na.btns},x.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),x.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!va.is_accessible&&x.createElement("div",{className:Na.lockWrap},x.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Tt.length&&x.createElement(mt.Z,null)))},In={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},na=te(65582),Qo=({dataSource:Qt=[],value:Tt,onChange:cn,className:Yn,style:uo={},tabBarExtraContent:xo})=>x.createElement("div",{className:Oe()(In.tabs,Yn),style:uo},x.createElement("div",{className:In.tabsWrap},Qt.map((Tn,eo)=>x.createElement("aside",{className:In.tab,onClick:()=>{cn(Tn.id),Tn.link&&na.history.push(Tn.link)},key:eo},x.createElement("div",{className:Tt===Tn.id?In.active:""},Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&x.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&x.createElement(Xe.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",x.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),x.createElement("div",{className:In.tabBar},xo)),Oa={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},hr=({dataSource:Qt=[],value:Tt,onChange:cn,className:Yn,style:uo={},tabBarExtraContent:xo})=>x.createElement("div",{className:Oe()(Oa.tabs,Yn),style:uo},x.createElement("div",{className:Oa.tabsWrap},Qt.map((Tn,eo)=>x.createElement("aside",{className:Oa.tab,onClick:()=>{cn(Tn.id),Tn.link&&na.history.push(Tn.link)},key:eo},x.createElement("div",{className:Tt===Tn.id?Oa.active:""},Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&x.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&x.createElement(Xe.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",x.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),x.createElement("div",{className:Oa.tabBar},xo)),ao={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},sr=({dataSource:Qt=[],value:Tt,onChange:cn,className:Yn,style:uo={},tabBarExtraContent:xo})=>x.createElement("div",{className:Oe()(ao.tabs,Yn),style:uo},x.createElement("div",{className:ao.tabsWrap},Qt.map((Tn,eo)=>x.createElement("aside",{className:`${ao.tab} ${Tt===Tn.id?ao.active:""}`,onClick:()=>{cn(Tn.id),Tn.link&&na.history.push(Tn.link)},key:eo},x.createElement("div",null,Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&x.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&x.createElement(Xe.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",x.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),x.createElement("div",{className:ao.tabBar},xo)),Er=({className:Qt,style:Tt={},children:cn})=>x.createElement("div",{className:Oe()(Qt),style:Tt},cn),Go={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Et=te(38854),pn=te(20834);const vn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Sn=({sortValue:Qt,dropValue:Tt,className:cn,onSort:Yn,onDrop:uo,dataSource:xo=vn})=>{var Tn;return x.createElement("div",{className:Oe()(Go.orderWrap,cn)},x.createElement(Et.Z,{dropdownRender:()=>x.createElement(pn.default,null,xo.map((eo,jo)=>x.createElement(pn.default.Item,{key:jo,onClick:()=>uo(eo.id)},eo.name)))},x.createElement("span",{className:Go.orderTextWrap},(Tn=xo.find(eo=>Tt===eo.id))==null?void 0:Tn.name)),x.createElement("span",{className:Go.orderIconWrap},x.createElement("span",{className:Go.orderAsc},x.createElement("i",{className:Qt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Go.cursorPointer} ${Go.active}`:`iconfont icon-sanjiaoxing-up font12 ${Go.cursorPointer}`,onClick:()=>Yn(Qt==="asc"?"desc":"asc")})),x.createElement("span",{className:Go.orderDesc},x.createElement("i",{className:Qt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Go.cursorPointer} ${Go.active}`:`iconfont icon-sanjiaoxing-down font12 ${Go.cursorPointer}`,onClick:()=>Yn(Qt==="asc"?"desc":"asc")}))))},mn={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const hn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var pa=({sortValue:Qt,dropValue:Tt,className:cn,onSort:Yn,onDrop:uo,dataSource:xo=hn})=>{var Tn;return x.createElement("div",{className:Oe()(mn.orderWrap,cn)},x.createElement(Et.Z,{dropdownRender:()=>x.createElement(pn.default,null,xo.map((eo,jo)=>x.createElement(pn.default.Item,{key:jo,onClick:()=>uo(eo.id)},eo.name)))},x.createElement("span",{className:mn.orderTextWrap},(Tn=xo.find(eo=>Tt===eo.id))==null?void 0:Tn.name)),x.createElement("span",{className:mn.orderIconWrap},x.createElement("span",{className:mn.orderAsc},x.createElement("i",{className:Qt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mn.cursorPointer} ${mn.active}`:`iconfont icon-sanjiaoxing-up font12 ${mn.cursorPointer}`,onClick:()=>Yn(Qt==="asc"?"desc":"asc")})),x.createElement("span",{className:mn.orderDesc},x.createElement("i",{className:Qt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mn.cursorPointer} ${mn.active}`:`iconfont icon-sanjiaoxing-down font12 ${mn.cursorPointer}`,onClick:()=>Yn(Qt==="asc"?"desc":"asc")}))))},Pa={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},nn=te(3113),fr=te(2337),wr=Object.defineProperty,Xr=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Ia=(Qt,Tt,cn)=>Tt in Qt?wr(Qt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[Tt]=cn,bo=(Qt,Tt)=>{for(var cn in Tt||(Tt={}))Sr.call(Tt,cn)&&Ia(Qt,cn,Tt[cn]);if(Xr)for(var cn of Xr(Tt))Xn.call(Tt,cn)&&Ia(Qt,cn,Tt[cn]);return Qt},La=(Qt,Tt)=>{var cn={};for(var Yn in Qt)Sr.call(Qt,Yn)&&Tt.indexOf(Yn)<0&&(cn[Yn]=Qt[Yn]);if(Qt!=null&&Xr)for(var Yn of Xr(Qt))Tt.indexOf(Yn)<0&&Xn.call(Qt,Yn)&&(cn[Yn]=Qt[Yn]);return cn},io=(Qt,Tt,cn)=>new Promise((Yn,uo)=>{var xo=jo=>{try{eo(cn.next(jo))}catch(mr){uo(mr)}},Tn=jo=>{try{eo(cn.throw(jo))}catch(mr){uo(mr)}},eo=jo=>jo.done?Yn(jo.value):Promise.resolve(jo.value).then(xo,Tn);eo((cn=cn.apply(Qt,Tt)).next())}),Oo=Qt=>{var Tt=Qt,{className:cn,style:Yn,children:uo,loading:xo=!1,openLoading:Tn,onClick:eo=()=>{},size:jo="middle",shape:mr="round",theme:No}=Tt,va=La(Tt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ko,ua]=(0,x.useState)(!1),Ll=(0,x.useMemo)(()=>{switch(No){case fr.Fy.THEMEONE:return Pa.ThemeOne;case fr.Fy.DEFAULT:default:return Pa.btn}},[No]);return x.createElement(nn.ZP,bo({onClick:(0,je.throttle)(Io=>io(void 0,null,function*(){Tn&&ua(!0);try{yield eo(Io)}catch(Yo){console.log("error",Yo)}Tn&&ua(!1)}),2e3,{leading:!0,trailing:!1}),className:Oe()(Ll,Pa[`${jo}-${mr}`],cn),style:Yn,size:jo,shape:mr,loading:Ko||xo},va),uo)},Wr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},ri=({className:Qt,style:Tt,children:cn=null,onClick:Yn,title:uo})=>x.createElement("div",{className:Oe()(Wr.head,Qt),style:Tt},x.createElement("span",{className:"primary-hover",onClick:Yn},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:uo},uo),x.createElement("div",{className:Wr.node},cn)),_l={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},si=({confirmShow:Qt=!0,confirmTitle:Tt,confirmClick:cn,cancelShow:Yn=!0,cancelTitle:uo,cancelClick:xo,className:Tn,style:eo,confirmLoading:jo=!1})=>x.createElement("div",{className:Oe()(_l.btns,Tn),style:eo},Qt&&x.createElement(nn.ZP,{loading:jo,onClick:cn,type:"primary",className:_l.confirm},Tt),Yn&&x.createElement(nn.ZP,{onClick:xo,className:_l.cancel},uo)),Wl={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Li=({className:Qt,style:Tt={},LeftContent:cn,children:Yn,RightContent:uo})=>x.createElement("div",{className:Oe()(Wl.fixedBottom,Qt),style:Tt},x.createElement("div",{className:Wl.wrap},x.createElement("div",{className:Wl.left},cn),x.createElement("div",{className:Wl.center},Yn),x.createElement("div",{className:Wl.right},uo))),Xl={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},ci=({className:Qt,style:Tt={},dataSource:cn=[]})=>x.createElement("div",{className:Oe()(Xl.crumbs,Qt),style:Tt},cn.map((Yn,uo)=>uona.history.push(Yn.path)},Yn.name):x.createElement("span",null,Yn.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:uo,style:{color:"#5F6368"}},Yn.name))),Mi=te(31797),bi=Object.defineProperty,hi=Object.defineProperties,ti=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Cl=(Qt,Tt,cn)=>Tt in Qt?bi(Qt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[Tt]=cn,ni=(Qt,Tt)=>{for(var cn in Tt||(Tt={}))gr.call(Tt,cn)&&Cl(Qt,cn,Tt[cn]);if(fi)for(var cn of fi(Tt))dl.call(Tt,cn)&&Cl(Qt,cn,Tt[cn]);return Qt},ql=(Qt,Tt)=>hi(Qt,ti(Tt)),xi=(Qt,Tt)=>{var cn={};for(var Yn in Qt)gr.call(Qt,Yn)&&Tt.indexOf(Yn)<0&&(cn[Yn]=Qt[Yn]);if(Qt!=null&&fi)for(var Yn of fi(Qt))Tt.indexOf(Yn)<0&&dl.call(Qt,Yn)&&(cn[Yn]=Qt[Yn]);return cn};const{Countdown:Qi}=Mi.default;var Ol=Qt=>{var Tt=Qt,{onChange:cn}=Tt,Yn=xi(Tt,["onChange"]);const[uo,xo]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof uo=="number"&&uo>=0&&cn(uo)},[uo]);const Tn=eo=>{const jo=Math.floor(eo/1e3);xo(jo)};return x.createElement(Qi,ql(ni({},Yn),{onChange:Tn}))},Nl={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Rn=({DataProps:Qt,className:Tt,style:cn={}})=>{var Yn;return x.createElement("div",{className:Oe()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Nl.ClassRoomItem,Tt),style:cn,onClick:()=>{(0,Te.xg)(Qt==null?void 0:Qt.first_category_url)}},x.createElement("div",{className:"flex flex-col item-center"},x.createElement("img",{src:`${(Yn=He.Z)==null?void 0:Yn.IMG_SERVER}/images/${Qt==null?void 0:Qt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Qt==null?void 0:Qt.subject_identifier)&&x.createElement("div",{className:"mt-40px"},x.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),x.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),x.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},x.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Qt!=null&&Qt.is_public)&&x.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),x.createElement("span",{className:Oe()("text-16px font-medium",Nl.TitleDom)},Qt==null?void 0:Qt.name)),x.createElement("div",{className:"c-grey-333 font-medium"},Qt==null?void 0:Qt.creator),x.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Qt==null?void 0:Qt.course_members_count),x.createElement("div",{className:"c-grey-333 flex item-center justify-between"},x.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Qt==null?void 0:Qt.tasks_count),Qt!=null&&Qt.is_end?x.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):x.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ru=Object.defineProperty,lu=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,Wa=(Qt,Tt,cn)=>Tt in Qt?ru(Qt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[Tt]=cn,Za=(Qt,Tt)=>{for(var cn in Tt||(Tt={}))Eo.call(Tt,cn)&&Wa(Qt,cn,Tt[cn]);if(lu)for(var cn of lu(Tt))Ba.call(Tt,cn)&&Wa(Qt,cn,Tt[cn]);return Qt},gl=({DataProps:Qt=[],selectValue:Tt,onChange:cn,className:Yn,style:uo={},extra:xo,classNameItem:Tn,styleItem:eo={},barHidden:jo})=>{const[mr,No]=(0,x.useState)();return(0,x.useEffect)(()=>{No(Array.isArray(Tt)?Tt:[Tt])},[Tt]),x.createElement("div",{className:Oe()("flex px-20px py-10px gap-40px",Yn),style:Za({borderBottom:"1px solid #D3F0FF"},uo)},Qt==null?void 0:Qt.map(va=>x.createElement("div",{key:va==null?void 0:va.id,className:Oe()("flex item-center justify-center current c-grey-333 text-16 relative",Tn,va==null?void 0:va.className),style:Za(Za({color:mr!=null&&mr.includes(va==null?void 0:va.id)?"#1890FF":"",minWidth:88},eo),(va==null?void 0:va.style)||{}),onClick:Ko=>{cn==null||cn({domEvent:Ko,item:va}),va!=null&&va.link&&na.history.push(va==null?void 0:va.link)}},va==null?void 0:va.name,!jo&&(mr==null?void 0:mr.includes(va==null?void 0:va.id))&&x.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),x.createElement("div",{className:"ml-auto"},xo))},wl=Object.defineProperty,$r=Object.defineProperties,Kl=Object.getOwnPropertyDescriptors,Yl=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,or=(Qt,Tt,cn)=>Tt in Qt?wl(Qt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Qt[Tt]=cn,co=(Qt,Tt)=>{for(var cn in Tt||(Tt={}))Di.call(Tt,cn)&&or(Qt,cn,Tt[cn]);if(Yl)for(var cn of Yl(Tt))$l.call(Tt,cn)&&or(Qt,cn,Tt[cn]);return Qt},ml=(Qt,Tt)=>$r(Qt,Kl(Tt)),Vr=({value:Qt,onChange:Tt,onInputChange:cn,className:Yn,style:uo={},InputProps:xo})=>{const[Tn,eo]=(0,x.useState)(Qt);return x.createElement("div",{className:Oe()("flex item-center rounded-full px-10px py-2px",Yn),style:co({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},uo)},x.createElement(ve.default,ml(co({bordered:!1},xo),{onChange:jo=>{eo(jo.target.value),cn==null||cn(encodeURIComponent(jo.target.value))},onPressEnter:jo=>{Tt==null||Tt({domEvent:jo,item:{value:Tn}})}})),x.createElement("img",{className:"h-22px current",src:te(25365),height:22,onClick:jo=>{Tt==null||Tt({domEvent:jo,item:{value:Tn}})}}))}},31103:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return re}});var x=te(59301);function re(Pe,Fe){const be=(0,x.useRef)();(0,x.useEffect)(()=>{be.current=Pe}),(0,x.useEffect)(()=>{function xe(){be.current()}if(Fe!==null){let ue=setInterval(xe,Fe);return()=>clearInterval(ue)}},[Fe])}},12586:function(at,Qe,te){"use strict";var x=te(59301),re=te(43418),Pe=te(38147),Fe=te(65582),be=te(59301),xe=(Oe,je,Ie)=>new Promise((Ne,De)=>{var me=E=>{try{a(Ie.next(E))}catch(b){De(b)}},oe=E=>{try{a(Ie.throw(E))}catch(b){De(b)}},a=E=>E.done?Ne(E.value):Promise.resolve(E.value).then(me,oe);a((Ie=Ie.apply(Oe,je)).next())});const ue=({exercise:Oe,dispatch:je,init:Ie,haveInit:Ne=!1})=>{const De=(0,Fe.useParams)(),[me,oe]=(0,x.useState)(!1);let[a,E]=(0,x.useState)();const[b,y]=(0,x.useState)(!1),[z,ne]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Oe.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ae()},[Oe.actionTabs]);function ae(){return xe(this,null,function*(){var le,ie;let de=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs}});if(((le=de==null?void 0:de.cover_exercises)==null?void 0:le.length)>0)oe(!0),E((ie=de==null?void 0:de.cover_exercises)==null?void 0:ie[0]);else{let se=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs}});je({type:"exercise/setActionTabs",payload:{key:""}}),(se==null?void 0:se.status)===0&&(Ne&&Ie(),re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Fe.history.push("/paperlibrary")}}))}})}return be.createElement("div",null,be.createElement(re.default,{open:me,centered:!0,onCancel:le=>xe(void 0,null,function*(){if(le.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs,update:1}});je({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(Ne&&Ie(),oe(!1),re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Fe.history.push("/paperlibrary")}}))}else oe(!1)}),cancelButtonProps:{loading:b},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>xe(void 0,null,function*(){ne(!0);let le=yield(0,Pe.ZP)(`/api/courses/${De==null?void 0:De.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:Oe.actionTabs.selectArrs}});ne(!1),(le==null?void 0:le.status)===0&&(Ne&&Ie(),je({type:"exercise/setActionTabs",payload:{key:""}}),oe(!1),re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Fe.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},be.createElement("div",null,be.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),be.createElement("div",null,be.createElement("div",null,"\u8BD5\u5377\uFF1A",a==null?void 0:a.origin_exercise_nam),be.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",be.createElement("a",{href:`/paperlibrary/see/${a==null?void 0:a.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},a==null?void 0:a.examination_bank_name))))))};Qe.Z=(0,Fe.connect)(({exercise:Oe})=>({exercise:Oe}))(ue)},41996:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return se}});var x=te(59301),re=te(43418),Pe=te(95237),Fe=te(43604),be=te(57809),xe=te(1710),ue=te(3113),Oe=te(3918),je=te(38147),Ie={cstuModal:"cstuModal___aIPVR",removeStyle:"removeStyle___wY4gp",bottom:"bottom___a8tK0",yes:"yes___Zhc4z",no:"no___Ngwsa",Onerow:"Onerow___Q59ve",searchMember:"searchMember___Jj460",searchMemberHeader:"searchMemberHeader___SxfUY"},Ne=te(65582),De=te(96622),me=te(59301),oe=Object.defineProperty,a=Object.defineProperties,E=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(ce,ge,ve)=>ge in ce?oe(ce,ge,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[ge]=ve,ae=(ce,ge)=>{for(var ve in ge||(ge={}))y.call(ge,ve)&&ne(ce,ve,ge[ve]);if(b)for(var ve of b(ge))z.call(ge,ve)&&ne(ce,ve,ge[ve]);return ce},le=(ce,ge)=>a(ce,E(ge)),ie=(ce,ge,ve)=>new Promise((Ee,Je)=>{var Me=ke=>{try{Le(ve.next(ke))}catch(ot){Je(ot)}},Ue=ke=>{try{Le(ve.throw(ke))}catch(ot){Je(ot)}},Le=ke=>ke.done?Ee(ke.value):Promise.resolve(ke.value).then(Me,Ue);Le((ve=ve.apply(ce,ge)).next())});const de=({visible:ce,setVisible:ge,onK:ve,selectKeys:Ee,selectRows:Je,appointStudent:Me,modalParams:Ue,courseId:Le})=>{const ke=(0,Ne.useParams)(),[ot,gt]=(0,x.useState)(!1),[it,nt]=(0,x.useState)(!1),[Xe,St]=(0,x.useState)([]),[He,Te]=(0,x.useState)([]),[Ge,pt]=(0,x.useState)([]),[Lt,mt]=(0,x.useState)("all"),[Pn,ze]=(0,x.useState)("all");let[At,Wt]=(0,x.useState)(!0);const[tn,En]=(0,x.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[ut,ft]=(0,x.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),_e={selectedRowKeys:He,columnWidth:40,hideSelectAll:!0,onSelect:(we,lt,$e)=>{let Ze=!0;for(let ht=0;ht{if(we&&$e.length>0){$e.forEach(Ze=>{He.push(Ze.user_id),Ge.push(Ze)}),Te([...He]),pt([...Ge]);return}if(!we&&$e.length>0){let Ze=[],ht=[];const An=new Set($e),en=new Set(He),zt=new Set(Ge);Ze=[...en].filter(an=>[...An].every($t=>$t.user_id!==an)),ht=[...zt].filter(an=>[...An].every($t=>$t.user_id!==an.user_id)),Te([...Ze]),pt([...ht])}}};(0,x.useEffect)(()=>{ce&&Ee&&(Te([...Ee]),pt(Je))},[ce,Ee]),(0,x.useEffect)(()=>{ce&&(!Me&&Ue?ut.status=Ue:ut.status=null,ft(ae({},ut)),rt())},[ce,Me,Ue]);const Be=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(we,lt,$e)=>me.createElement("span",{style:{color:"#333"}},$e+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(we,lt,$e)=>me.createElement("span",null,we)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(we,lt,$e)=>me.createElement("span",{style:{color:"#666"}},we)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(we,lt)=>me.createElement("span",null,we)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(we,lt)=>me.createElement("span",null,we||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(we,lt)=>me.createElement("span",null,we)}].filter(we=>Ue===1||Ue===2?we.title!=="\u72B6\u6001":!0),rt=()=>ie(void 0,null,function*(){var we,lt,$e;nt(!0);const Ze=yield(0,je.ZP)(`/api/exercises/${ke.categoryId||Le}/wait_make_up_students.json`,{method:"get",params:le(ae({},ut),{keywords:(we=ut==null?void 0:ut.keywords)==null?void 0:we.trim()})});if(Ze.status===0){const ht=(($e=(lt=Ze==null?void 0:Ze.data)==null?void 0:lt.all_course_groups)==null?void 0:$e.map(An=>({value:An==null?void 0:An.id,label:An==null?void 0:An.name})))||[];En([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...ht]),St(Ze.data)}nt(!1)}),dt=()=>{ut.page=1,ut.status=null,ut.course_group_id=null,ut.keywords="",mt("all"),ze("all"),Te([]),pt([]),ft(ae({},ut)),Me&&ve(He==null?void 0:He.length,He,Ge)},Re=()=>{ut.page=1,ut.status=null,ut.course_group_id=null,ut.keywords="",ft(ae({},ut)),mt("all"),ze("all"),Te([]),pt([]),ge(!1)};return me.createElement(re.default,{centered:!0,className:Ie.cstuModal,title:Ue===1?"\u7F3A\u8003\u5B66\u751F":Ue===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ce,width:1200,footer:null,onCancel:()=>{Re()}},me.createElement(Pe.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},me.createElement(Pe.Z,null,me.createElement(Fe.Z,null,me.createElement(be.default,{size:"large",value:Lt,style:{width:200,marginRight:20},onChange:we=>{mt(we),we==="all"?ut.course_group_id=null:ut.course_group_id=we,ut.page=1,ft(ae({},ut)),rt()},options:tn})),Me&&me.createElement(Fe.Z,null,me.createElement(be.default,{size:"large",value:Pn,style:{width:200},onChange:we=>{ze(we),we==="all"?ut.status=null:ut.status=we,ut.page=1,ft(ae({},ut)),rt()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),me.createElement(Fe.Z,null,me.createElement(Oe.t7,{style:{width:300,marginLeft:15},value:ut.keywords,allowClear:!0,onChange:we=>{ut.keywords=we,ut.page=1,ft(ae({},ut)),rt()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),me.createElement(Pe.Z,{align:"middle",className:"mb30"},me.createElement(Fe.Z,{span:14},me.createElement("div",{className:"flexd-table-header"},me.createElement(xe.default,{pagination:!1,dataSource:[],columns:Be,rowSelection:Me?_e:null,rowKey:we=>we.user_id})),me.createElement("div",null,me.createElement(xe.default,{rowSelection:Me?_e:null,columns:Be,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:we=>we.user_id,loading:it,dataSource:Xe==null?void 0:Xe.exercise_users,onChange:(we,lt,$e)=>{ut.page=we==null?void 0:we.current,ut.limit=we==null?void 0:we.pageSize,$e!=null&&$e.order?(ut.sort_by=$e==null?void 0:$e.field,ut.direction=($e==null?void 0:$e.order)==="ascend"?"asc":"desc"):(ut.sort_by=null,ut.direction=null),ft(ae({},ut)),rt()},pagination:!1}))),me.createElement(Fe.Z,{span:1},me.createElement("img",{src:De,style:{marginLeft:10}})),me.createElement(Fe.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},me.createElement("div",{className:Ie.searchMember,style:{width:550}},me.createElement(Pe.Z,{className:Ie.searchMemberHeader},me.createElement(Fe.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),me.createElement(Fe.Z,{flex:"110px"},"\u5B66\u53F7"),me.createElement(Fe.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),me.createElement("div",{style:{overflow:"auto",height:390}},Ge==null?void 0:Ge.map((we,lt)=>me.createElement(Pe.Z,{key:lt,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},me.createElement(Fe.Z,{flex:"100px"},we.user_name),me.createElement(Fe.Z,{flex:"110px"},we.student_id),me.createElement(Fe.Z,{flex:"120px",style:{marginLeft:5}},we.user_group_name),me.createElement(Fe.Z,{style:{marginLeft:10}},me.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{pt(Ge.filter($e=>$e.user_id!=we.user_id)),Te(He.filter($e=>$e!=we.user_id))}})))))))),!(Ue===1||Ue===2)&&me.createElement("div",{className:Ie.bottom},me.createElement(ue.ZP,{className:Ie.no,onClick:()=>{Re()}},"\u53D6\u6D88"),me.createElement(ue.ZP,{loading:ot,type:"primary",onClick:()=>{dt()}},"\u786E\u5B9A")))};var se=(0,Ne.connect)(({})=>({}))(de)},24528:function(at,Qe,te){"use strict";var x=te(59301),re=te(78241),Pe=te(8591),Fe=te(43418),be=te(71418),xe=te(95237),ue=te(5112),Oe=te(5083),je=te(24905),Ie=te(56656),Ne=te.n(Ie),De=te(38147),me=te(65862),oe=te(65582),a=te(70414),E=te(59553),b=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ie=(Je,Me,Ue)=>Me in Je?b(Je,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Je[Me]=Ue,de=(Je,Me)=>{for(var Ue in Me||(Me={}))ae.call(Me,Ue)&&ie(Je,Ue,Me[Ue]);if(ne)for(var Ue of ne(Me))le.call(Me,Ue)&&ie(Je,Ue,Me[Ue]);return Je},se=(Je,Me)=>y(Je,z(Me)),ce=(Je,Me,Ue)=>new Promise((Le,ke)=>{var ot=nt=>{try{it(Ue.next(nt))}catch(Xe){ke(Xe)}},gt=nt=>{try{it(Ue.throw(nt))}catch(Xe){ke(Xe)}},it=nt=>nt.done?Le(nt.value):Promise.resolve(nt.value).then(ot,gt);it((Ue=Ue.apply(Je,Me)).next())});function ge(Je,Me){const Ue=[];for(let Le=Je;Le{let Me=new Date;const Ue=Ne()(Je).format("HH");if(Ne()(Je).isSame(Ne()(Me),"day")){const Le=Ne()(Me).format("HH"),ke=Ne()(Me).format("mm");return{disabledHours:()=>ge(0,24).splice(1,Le*1-1),disabledMinutes:()=>Ne()(Je).isSame(Ne()(Me),"hour")&&Ue<=Le?ge(0,60).splice(0,ke):ge(60,60)}}else if(Ne()(Je).isSame(Ne()(),"day")){const Le=Ne()().format("HH"),ke=Ne()().format("mm");return{disabledHours:()=>ge(0,24).splice(0,Le),disabledMinutes:()=>Ue<=Le?ge(0,ke):ge(60,60)}}else return!1},Ee=({exercise:Je,dispatch:Me})=>{var Ue;const Le=(0,oe.useParams)(),[ke]=re.default.useForm(),[ot,gt]=(0,x.useState)(1),[it,nt]=(0,x.useState)([]),[Xe,St]=(0,x.useState)(!0),[He,Te]=(0,x.useState)([]),[Ge,pt]=(0,x.useState)(!0),[Lt,mt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Je.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Pn()},[Je.actionTabs]);const Pn=Wt=>ce(void 0,null,function*(){var tn,En;St(!0);const ut=yield Me({type:"exercise/getEndGroups",payload:se(de({},Le),{check_ids:[...((tn=Je.actionTabs.selectArrs)==null?void 0:tn.map(_e=>Number(_e)))||[]]})}),ft=(En=ut==null?void 0:ut.course_info)==null?void 0:En.map((_e,Be)=>se(de({},_e),{key:_e.course_group_id,title:_e.course_group_name,name:_e.course_group_name,disabled:!!_e.is_published}));ut&&(ut!=null&&ut.course_info)&&(nt([...ft]),ke.setFieldsValue({end_time:Ne()(Ne()(new Date((0,me.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),St(!1)}),ze=()=>ce(void 0,null,function*(){var Wt,tn,En,ut;const ft=de({},ke.getFieldsValue());if((He==null?void 0:He.length)<=0&&it.length>0&&!((Wt=Je.actionTabs)!=null&&Wt.unified_setting)){Pe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}mt(!0);const _e={check_ids:[...((tn=Je.actionTabs.selectArrs)==null?void 0:tn.map(rt=>Number(rt)))||[]],group_ids:He};Ge||(_e.end_time=Ne()(ft.end_time).format("YYYY-MM-DD HH:mm")),_e.group_ids=He.map(rt=>rt.course_group_id),(yield(0,De.ZP)(`/api/courses/${Le.coursesId}/exercises/end_exercise.json`,{method:"post",body:_e})).status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,me.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),Me({type:"exercise/setActionTabs",payload:{}}),(En=Je==null?void 0:Je.actionTabs)!=null&&En.cb?(ut=Je==null?void 0:Je.actionTabs)==null||ut.cb():Me({type:"classroomList/getClassroomExercisesList",payload:de({},Je.actionTabs.params)})),mt(!1)}),At=()=>{gt(1),nt([]),Te([]),pt(!0)};return x.createElement(Fe.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:Je.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:ze,width:680,confirmLoading:Lt||Xe,onCancel:()=>{At(),Me({type:"exercise/setActionTabs",payload:{}})}},x.createElement(be.Z,{spinning:Xe},it&&x.createElement(re.default,{form:ke},x.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},x.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:a.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),x.createElement(xe.Z,{className:"mt20 mb10"},x.createElement("span",{className:"mr10"},x.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),x.createElement(ue.ZP.Group,{value:Ge,onChange:Wt=>{pt(Wt.target.value),Te([])}},x.createElement(ue.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),x.createElement(ue.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),x.createElement(re.default.Item,{name:"end_time",style:{marginTop:-3,visibility:Ge?"hidden":"visible"}},x.createElement(Oe.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ne()((0,me.U6)(),"HH:mm")},disabledDate:Wt=>Wt&&Wt0&&!((Ue=Je.actionTabs)!=null&&Ue.unified_setting)&&x.createElement(xe.Z,{style:{marginBottom:"10px"}},x.createElement("span",{className:"mr10"},x.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),x.createElement("div",null,it.length>0&&x.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},x.createElement("span",{style:{flex:1}},x.createElement(je.default,{checked:He.length===it.length,onChange:Wt=>{He.length===it.length?Te([]):Te(it)}},"\u5168\u9009")," "),x.createElement("span",{style:{width:16}}),x.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",He.length||0,"\u4E2A\u5206\u73ED")),x.createElement(E.Z,{data:it,selectedRowKeys:He,setSelectedRowKeys:Te}))))))};Qe.Z=(0,oe.connect)(({exercise:Je})=>({exercise:Je}))(Ee)},72936:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return St}});var x=te(59301),re=te(78241),Pe=te(8591),Fe=te(43418),be=te(71418),xe=te(95237),ue=te(5112),Oe=te(5871),je=te(5083),Ie=te(78673),Ne=te(24905),De=te(3113),me=te(56656),oe=te.n(me),a=te(38147),E=te(65862),b=te(65582),y=te(87513),z=te(70414),ne=te(59553),ae=te(41996),le={contentInterval:"contentInterval___wAfD8",numberInput:"numberInput___R9kLf",minorRuleText:"minorRuleText___LjpSg",failedList:"failedList___KYTHd",name:"name___MqNtz",publish:"publish___TPl6Z"},ie=te(83028),de=te(60979),se=te(33276),ce=te(59301),ge=Object.defineProperty,ve=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Le=(He,Te,Ge)=>Te in He?ge(He,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):He[Te]=Ge,ke=(He,Te)=>{for(var Ge in Te||(Te={}))Me.call(Te,Ge)&&Le(He,Ge,Te[Ge]);if(Je)for(var Ge of Je(Te))Ue.call(Te,Ge)&&Le(He,Ge,Te[Ge]);return He},ot=(He,Te)=>ve(He,Ee(Te)),gt=(He,Te,Ge)=>new Promise((pt,Lt)=>{var mt=At=>{try{ze(Ge.next(At))}catch(Wt){Lt(Wt)}},Pn=At=>{try{ze(Ge.throw(At))}catch(Wt){Lt(Wt)}},ze=At=>At.done?pt(At.value):Promise.resolve(At.value).then(mt,Pn);ze((Ge=Ge.apply(He,Te)).next())});function it(He,Te){const Ge=[];for(let pt=He;pt{let Te=new Date;const Ge=oe()(He).format("HH");if(oe()(He).isSame(oe()(Te),"day")){const pt=oe()(Te).format("HH"),Lt=oe()(Te).format("mm");return{disabledHours:()=>it(0,24).splice(1,pt*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",Ge,pt),oe()(He).isSame(oe()(Te),"hour")&&Ge<=pt?it(0,60).splice(0,Lt):it(60,60))}}else if(oe()(He).isSame(oe()(),"day")){const pt=oe()().format("HH"),Lt=oe()().format("mm");return{disabledHours:()=>it(0,24).splice(0,pt),disabledMinutes:()=>Ge<=pt?it(0,Lt):it(60,60)}}else return!1},Xe=({exercise:He,dispatch:Te})=>{var Ge,pt,Lt,mt,Pn,ze,At,Wt,tn,En,ut,ft,_e,Be,rt,dt,Re,we,lt,$e,Ze,ht,An;const en=(0,b.useParams)(),[zt]=re.default.useForm(),[an,$t]=(0,x.useState)(1),[Ye,et]=(0,x.useState)([]),[Nt,Gt]=(0,x.useState)(!0),[gn,Rt]=(0,x.useState)([]),[Fn,jn]=(0,x.useState)(!0),[ea,xa]=(0,x.useState)(!1),{workSetting:rn}=He,[Sa,ro]=(0,x.useState)(!1),[oa,xn]=(0,x.useState)([]),[wa,Da]=(0,x.useState)([]),[Ht,Dn]=(0,x.useState)(!1),[Wn,fa]=(0,x.useState)(!1),[ta,za]=(0,x.useState)(!1),[Ao,Ar]=(0,x.useState)(null),[Dr,Na]=(0,x.useState)(1),[xt,It]=(0,x.useState)({}),[Dt,In]=(0,x.useState)({}),[na,Hn]=(0,x.useState)(!1),[Qo,Oa]=(0,x.useState)(!1),[lo,hr]=(0,x.useState)(!1),[ao,Zn]=(0,x.useState)([]);(0,x.useEffect)(()=>{if(He.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"){const{selectArrsAll:qt=[],type:Sn}=He.actionTabs||{},mn=qt.filter(hn=>![100,120,150].includes(Number(hn.total_score)));mn.length?(hr(Sn===1?"multiple":"single"),Zn(mn.map(hn=>ot(ke({},hn),{name:hn.exercise_name})))):Oa(!0)}},[(Ge=He==null?void 0:He.actionTabs)==null?void 0:Ge.key]),console.log(lo,"visible"),(0,x.useEffect)(()=>{var qt;if(He.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Gr(),pn(),He.actionTabs.type===2)){const Sn=(qt=He.actionTabs)==null?void 0:qt.unified_setting;jn(Sn)}},[He.actionTabs]),(0,x.useEffect)(()=>{var qt,Sn,mn,hn,yn,pa,Pa;(qt=rn==null?void 0:rn.exercise)!=null&&qt.publish_time&&zt.setFieldsValue({publish_time:oe()((Sn=rn==null?void 0:rn.exercise)==null?void 0:Sn.publish_time)}),(mn=rn==null?void 0:rn.exercise)!=null&&mn.end_time&&zt.setFieldsValue({end_time:oe()((hn=rn==null?void 0:rn.exercise)==null?void 0:hn.end_time)}),zt.setFieldsValue({exercise_type:(yn=rn==null?void 0:rn.exercise)==null?void 0:yn.exercise_type,simulate_exercise_num:(pa=rn==null?void 0:rn.exercise)==null?void 0:pa.simulate_exercise_num}),Na((Pa=rn==null?void 0:rn.exercise)==null?void 0:Pa.exercise_type)},[He]);const sr=qt=>{var Sn;const mn=zt.getFieldValue("publish_time");if(!mn||(Sn=rn==null?void 0:rn.exercise)!=null&&Sn.publish_time)return;let hn;qt===1?hn=oe()(mn).add(120,"minutes"):hn=oe()(mn).add(7,"days"),zt.setFieldsValue({end_time:hn})},Gr=qt=>gt(void 0,null,function*(){var Sn,mn;Gt(!0);const hn=yield(0,y.N3)({coursesId:en.coursesId,check_ids:[...((Sn=He.actionTabs.selectArrs)==null?void 0:Sn.map(pa=>Number(pa)))||[]]});console.log(hn,"res");const yn=((mn=hn==null?void 0:hn.course_info)==null?void 0:mn.map((pa,Pa)=>ot(ke({},pa),{key:pa.course_group_id,title:pa.course_group_name,name:pa.course_group_name,disabled:!!pa.is_published})))||[];if((hn==null?void 0:hn.status)!==-1){et([...yn]);const pa=oe()();zt.setFieldsValue({publish_time:pa}),(zt.getFieldValue("exercise_type")||1)===1?zt.setFieldsValue({end_time:oe()(pa).add(120,"minutes")}):zt.setFieldsValue({end_time:oe()(pa).add(7,"days")})}Gt(!1)});(0,x.useEffect)(()=>{var qt,Sn,mn,hn,yn,pa;if((qt=rn==null?void 0:rn.exercise)!=null&&qt.is_appoint_user){const Pa=((mn=(Sn=rn==null?void 0:rn.exercise)==null?void 0:Sn.all_exercise_users)==null?void 0:mn.map(nn=>nn.user_id))||[];xn([...Pa])}Dn((hn=rn==null?void 0:rn.exercise)==null?void 0:hn.is_appoint_user),fa((yn=rn==null?void 0:rn.exercise)==null?void 0:yn.is_miss_exam_user),za((pa=rn==null?void 0:rn.exercise)==null?void 0:pa.is_no_passing_user)},[rn]),(0,x.useEffect)(()=>{var qt,Sn,mn,hn,yn,pa,Pa,nn;(Sn=(qt=He==null?void 0:He.actionTabs)==null?void 0:qt.selectArrs)!=null&&Sn[0]&&He.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&Te({type:"exercise/getWorkSetting",payload:{categoryId:(hn=(mn=He==null?void 0:He.actionTabs)==null?void 0:mn.selectArrs)==null?void 0:hn[0],category:(pa=(yn=He==null?void 0:He.actionTabs)==null?void 0:yn.selectArrs)==null?void 0:pa[0],coursesId:(nn=(Pa=He==null?void 0:He.actionTabs)==null?void 0:Pa.params)==null?void 0:nn.id}})},[(pt=He==null?void 0:He.actionTabs)==null?void 0:pt.selectArrs]);const Er=()=>gt(void 0,null,function*(){var qt,Sn,mn,hn,yn,pa,Pa;const nn=ke({},zt.getFieldsValue()),fr=oe()(oe()(nn.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),wr=oe()(oe()(nn.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(fr,fr,33),wr<=fr){Pe.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((gn==null?void 0:gn.length)<=0&&!Fn&&Ye.length>0&&!((qt=rn==null?void 0:rn.exercise)!=null&&qt.is_make_up_exercise)){Pe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const Xr=Ye.map(Kr=>Kr.key),Sr={check_ids:[...((Sn=He.actionTabs.selectArrs)==null?void 0:Sn.map(Kr=>Number(Kr)))||[]],end_time:oe()(nn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:oe()(nn.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:gn.map(Kr=>Kr.course_group_id),unified_setting:!gn.length,exercise_type:nn.exercise_type,simulate_exercise_num:nn.simulate_exercise_num};if(((mn=He.actionTabs.selectArrsAll)==null?void 0:mn.length)>0&&He.actionTabs.type===1&&(Sr.check_ids=[...((yn=(hn=He.actionTabs.selectArrsAll)==null?void 0:hn.filter(Kr=>!Kr.high_resources_consume||Kr.high_resources_consume_permission))==null?void 0:yn.map(Kr=>Number(Kr==null?void 0:Kr.id)))||[]]),(pa=rn==null?void 0:rn.exercise)!=null&&pa.is_make_up_exercise){if(Ht&&oa.length<=0||!Ht&&!(Wn||ta)){Pe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Sr.is_appoint_user=Ht,Sr.is_miss_exam_user=Wn,Sr.is_no_passing_user=ta,Ht?Sr.make_up_exercise_users=oa.map(Kr=>({user_id:Kr})):Sr.make_up_exercise_user=[]}let{is_locked:Xn,open_camera:Ia,screen_open:bo,login_restrict:La,ip_bind:io,ip_limit:dr,is_random:Oo,id:Wr,identity_verify:qr,open_phone_video_recording:ri}=rn==null?void 0:rn.exercise;if(He.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(Xn||Ia||bo||La||io||dr=="pub"||dr=="inner"||qr||ri)&&nn.exercise_type==2){if(Oa(!1),Te({type:"exercise/setActionTabs",payload:{}}),He.actionTabs.type==2){let Kr=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:ce.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",ce.createElement("span",{style:{color:"#FA6400"}}," ",(0,E.hi)(rn==null?void 0:rn.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>gt(void 0,null,function*(){var si;Hn(!0);let Wl=yield(0,de.Tr)({exercise_ids:[...((si=He.actionTabs.selectArrs)==null?void 0:si.map(mi=>Number(mi)))||[]],course_id:en.coursesId,type:"exercise"});if((Wl==null?void 0:Wl.student_count)===0){if((yield Et(Sr))&&He.actionTabs.isRouter){Kr.destroy(),b.history.push(`/classrooms/${en.coursesId}/exercise/${Wr}/detail?random=${Oo}&tabs=3&childrenTabs=2`);return}Te({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else In(Sr),It(Wl)}),onCancel:()=>{Kr.destroy(),Hn(!1),Et(Sr)}})}else{let Kr=Fe.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:ce.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>gt(void 0,null,function*(){var si;Hn(!0);let Wl=yield(0,de.Tr)({exercise_ids:[...((si=He.actionTabs.selectArrs)==null?void 0:si.map(mi=>Number(mi)))||[]],course_id:en.coursesId,type:"exercise"});if((Wl==null?void 0:Wl.student_count)===0){if((yield Et(Sr))&&He.actionTabs.isRouter){b.history.push(`/classrooms/${en.coursesId}/exercise/${Wr}/detail?random=${Oo}&tabs=3&childrenTabs=2`);return}Te({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else In(Sr),It(Wl)})})}return}let _l=yield(0,de.Tr)({exercise_ids:[...((Pa=He.actionTabs.selectArrs)==null?void 0:Pa.map(Kr=>Number(Kr)))||[]],course_id:en.coursesId,type:"exercise"});(_l==null?void 0:_l.student_count)===0?Et(Sr):(In(Sr),It(_l))}),Go=()=>{var qt;let Sn=[...(qt=He.actionTabs.selectArrsAll)==null?void 0:qt.filter(mn=>mn.high_resources_consume&&!mn.high_resources_consume_permission)];(Sn==null?void 0:Sn.length)>0&&He.actionTabs.type===1&&Fe.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:ce.createElement("div",null,ce.createElement("div",{className:le.tipcontent},ce.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",Sn==null?void 0:Sn.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),ce.createElement("div",{className:"mt20 mb20"},Sn==null?void 0:Sn.map(mn=>ce.createElement("div",{className:le.failedList,key:mn.id},ce.createElement("div",{className:le.name},mn==null?void 0:mn.exercise_name),ce.createElement("div",{className:le.publish,onClick:()=>{(0,E.xg)(`/classrooms/${en.coursesId}/exercise/${mn.id}/detail?random=${mn.is_random}`)}},"\u53D1\u5E03"))))))})},Et=qt=>gt(void 0,null,function*(){var Sn,mn,hn;if(He.actionTabs.type===1){let Pa=[...(Sn=He.actionTabs.selectArrsAll)==null?void 0:Sn.filter(nn=>nn.high_resources_consume&&!nn.high_resources_consume_permission)];if((Pa==null?void 0:Pa.length)==He.actionTabs.selectArrsAll.length){Oa(!1),Te({type:"exercise/setActionTabs",payload:{}}),Go();return}}let yn=!1;return xa(!0),(yield(0,a.ZP)(`/api/courses/${en.coursesId}/exercises/publish.json`,{method:"post",body:qt})).status===0&&((0,E.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),pn(),Pe.ZP.success("\u53D1\u5E03\u6210\u529F"),Oa(!1),Te({type:"exercise/setActionTabs",payload:{}}),(mn=He==null?void 0:He.actionTabs)!=null&&mn.cb?(hn=He==null?void 0:He.actionTabs)==null||hn.cb():Te({type:"classroomList/getClassroomExercisesList",payload:ke({},He.actionTabs.params)}),yn=!0,He.actionTabs.type===1&&Go()),xa(!1),yn}),pn=()=>{$t(1),et([]),Rt([])},vn=(qt,Sn,mn)=>{qt<=0?Pe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(xn(Sn),Da(mn),ro(!1))};return ce.createElement(x.Fragment,null,ce.createElement(Fe.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:Qo,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:Er,confirmLoading:ea||Nt,onCancel:()=>{pn(),Oa(!1),Te({type:"exercise/setActionTabs",payload:{}})}},ce.createElement(be.Z,{spinning:Nt},Ye&&ce.createElement(re.default,{form:zt},!!((Lt=He==null?void 0:He.actionTabs)!=null&&Lt.disabled)&&ce.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},ce.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:z.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((mt=rn==null?void 0:rn.exercise)!=null&&mt.is_make_up_exercise)&&ce.createElement(ce.Fragment,null,ce.createElement(xe.Z,null,ce.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},ce.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),ce.createElement(re.default.Item,{name:"exercise_type"},ce.createElement(ue.ZP.Group,{disabled:((Pn=rn==null?void 0:rn.exercise)==null?void 0:Pn.exercise_status)>1,onChange:qt=>{Na(qt.target.value),sr(qt.target.value)}},ce.createElement(ue.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),ce.createElement(ue.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Dr==2&&ce.createElement(xe.Z,{className:`${le.contentInterval}`},ce.createElement("span",{className:`${le.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),ce.createElement(re.default.Item,{name:"simulate_exercise_num"},ce.createElement(Oe.Z,{className:le.numberInput,style:{width:145},precision:0,size:"middle",disabled:((ze=rn==null?void 0:rn.exercise)==null?void 0:ze.exercise_status)>1,min:1,max:999})),ce.createElement("span",null,"\u6B21",ce.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),ce.createElement(xe.Z,null,ce.createElement("span",{className:"mr10 mt5"},ce.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),ce.createElement(re.default.Item,{name:"publish_time"},ce.createElement(je.default,{style:{width:170},disabledDate:qt=>qt&&qt<=oe()().subtract(0,"days"),disabledTime:nt,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:oe()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),ce.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),ce.createElement(re.default.Item,{name:"end_time"},ce.createElement(je.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:oe()((0,E.U6)(),"HH:mm")},disabledDate:qt=>qt&&qt{var mn,hn,yn,pa,Pa;if(Dn(qt),qt)if((mn=rn==null?void 0:rn.exercise)!=null&&mn.is_appoint_user){const nn=(yn=(hn=rn==null?void 0:rn.exercise)==null?void 0:hn.all_exercise_users)==null?void 0:yn.map(fr=>fr.user_id);xn([...nn])}else xn([]),fa(!1),za(!1);else fa((pa=rn==null?void 0:rn.exercise)==null?void 0:pa.is_miss_exam_user),za((Pa=rn==null?void 0:rn.exercise)==null?void 0:Pa.is_no_passing_user)},disabled:((Wt=rn==null?void 0:rn.exercise)==null?void 0:Wt.exercise_status)!==1}),ce.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Ht&&ce.createElement(xe.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},ce.createElement(Ne.default,{checked:Wn,disabled:((tn=rn==null?void 0:rn.exercise)==null?void 0:tn.exercise_status)!==1||((En=rn==null?void 0:rn.exercise)==null?void 0:En.miss_exam_count)<=0,onChange:qt=>{fa(qt.target.checked)}},ce.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),ce.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{Ar(1),Dn(!1),ro(!0)}},"\uFF08",`${(ut=rn==null?void 0:rn.exercise)==null?void 0:ut.miss_exam_count}\u4EBA`,"\uFF09"),ce.createElement(Ne.default,{checked:ta,disabled:((ft=rn==null?void 0:rn.exercise)==null?void 0:ft.exercise_status)!==1||((_e=rn==null?void 0:rn.exercise)==null?void 0:_e.no_passing_count)<=0,onChange:qt=>{za(qt.target.checked)}},ce.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),ce.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Ar(2),Dn(!1),ro(!0)}},"\uFF08",`${(Be=rn==null?void 0:rn.exercise)==null?void 0:Be.no_passing_count}\u4EBA`,"\uFF09")),Ht&&ce.createElement(xe.Z,{className:"mt20",style:{paddingLeft:"90px"}},ce.createElement(De.ZP,{type:"primary",ghost:!0,disabled:((rt=rn==null?void 0:rn.exercise)==null?void 0:rt.exercise_status)!==1,onClick:()=>{ro(!0),Ar(void 0)}},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),ce.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),ce.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${oa.length||0} \u4EBA`,"\uFF09"))),He.actionTabs.type===2&&!((dt=rn==null?void 0:rn.exercise)!=null&&dt.is_make_up_exercise)&&ce.createElement(xe.Z,{style:{marginBottom:"10px"}},ce.createElement("span",{className:"mr10"},ce.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),ce.createElement(ue.ZP.Group,{value:Fn,onChange:qt=>{jn(qt.target.value),Rt([])}},ce.createElement(ue.ZP,{disabled:!!((Re=He==null?void 0:He.actionTabs)!=null&&Re.disabled)||Ye.some(qt=>qt==null?void 0:qt.is_published)||!((we=He==null?void 0:He.actionTabs)!=null&&we.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),ce.createElement(ue.ZP,{disabled:Ye.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Ye.length<=0&&He.actionTabs.type===2&&!((lt=rn==null?void 0:rn.exercise)!=null&<.is_make_up_exercise)&&ce.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(He.actionTabs.type===1||!Fn)&&!(($e=rn==null?void 0:rn.exercise)!=null&&$e.is_make_up_exercise)&&Ye.length>0&&ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ce.createElement("span",{style:{flex:1}},ce.createElement(Ne.default,{checked:gn.length===Ye.length,onChange:qt=>{gn.length===Ye.length?Rt([]):Rt(Ye)}},"\u5168\u9009")),ce.createElement("span",{style:{width:16}}),ce.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",gn.length||0,"\u4E2A\u5206\u73ED")),(He.actionTabs.type===1||!Fn)&&!((Ze=rn==null?void 0:rn.exercise)!=null&&Ze.is_make_up_exercise)&&Ye.length>0&&ce.createElement(ne.Z,{data:Ye,selectedRowKeys:gn,setSelectedRowKeys:Rt})),ce.createElement(ae.Z,{visible:Sa,setVisible:ro,onK:vn,selectKeys:oa,selectRows:wa,appointStudent:Ht,modalParams:Ao,courseId:en.categoryId||((An=(ht=He==null?void 0:He.actionTabs)==null?void 0:ht.selectArrs)==null?void 0:An[0])})),ce.createElement(ie.Z,{resdata:xt,type:"exercisepush",okloading:ea,oktext:(xt==null?void 0:xt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:qt=>gt(void 0,null,function*(){var Sn,mn,hn;xa(!0);let yn=yield(0,a.ZP)(`/api/courses/${en.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((Sn=He.actionTabs.selectArrs)==null?void 0:Sn.map(pa=>Number(pa)))||[]]}});if(xa(!1),(yn==null?void 0:yn.status)===0)if(na){let pa=yield Et(Dt);if(Fe.default.destroyAll(),pa&&He.actionTabs.isRouter){b.history.push(`/classrooms/${en.coursesId}/exercise/${(mn=rn==null?void 0:rn.exercise)==null?void 0:mn.id}/detail?random=${(hn=rn==null?void 0:rn.exercise)==null?void 0:hn.is_random}&tabs=3&childrenTabs=2`);return}Te({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else Et(Dt)})})),ce.createElement(se.Z,{text:"\u662F\u5426\u7EE7\u7EED\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u53D1\u5E03\uFF1F",okText:"\u786E\u8BA4\u53D1\u5E03",visible:lo,dataSource:ao,onSuccess:()=>{hr(!1),Oa(!0)},onClose:()=>{hr(!1),pn(),Te({type:"exercise/setActionTabs",payload:{}})}}))};var St=(0,b.connect)(({exercise:He})=>({exercise:He}))(Xe)},5318:function(at,Qe,te){"use strict";var x=te(59301),re=te(99313),Pe=te(78241),Fe=te(6848),be=te(8591),xe=te(43418),ue=te(5871),Oe=te(57809),je=te(92832),Ie=te(3113),Ne=te(26724),De=te.n(Ne),me=te(49018),oe=te(5006),a=te(66457),E=te(65862),b=te(35479),y=te(79274),z=te(65582),ne=te(90463),ae=te(83028),le=te(60979),ie=te(59301),de=Object.defineProperty,se=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Je=(gt,it,nt)=>it in gt?de(gt,it,{enumerable:!0,configurable:!0,writable:!0,value:nt}):gt[it]=nt,Me=(gt,it)=>{for(var nt in it||(it={}))ve.call(it,nt)&&Je(gt,nt,it[nt]);if(ge)for(var nt of ge(it))Ee.call(it,nt)&&Je(gt,nt,it[nt]);return gt},Ue=(gt,it)=>se(gt,ce(it)),Le=(gt,it,nt)=>new Promise((Xe,St)=>{var He=pt=>{try{Ge(nt.next(pt))}catch(Lt){St(Lt)}},Te=pt=>{try{Ge(nt.throw(pt))}catch(Lt){St(Lt)}},Ge=pt=>pt.done?Xe(pt.value):Promise.resolve(pt.value).then(He,Te);Ge((nt=nt.apply(gt,it)).next())});const{TabPane:ke}=re.default,ot=({classroomList:gt,exercise:it,loading:nt,dispatch:Xe})=>{var St;const He=(0,z.useParams)(),Te=(0,z.useLocation)(),[Ge]=Pe.default.useForm(),{brankList:pt}=it;let[Lt,mt]=(0,x.useState)(!0),[Pn,ze]=(0,x.useState)(!1);const[At,Wt]=(0,x.useState)("myself");let[tn,En]=(0,x.useState)([]),[ut,ft]=(0,x.useState)([]),[_e,Be]=(0,x.useState)(),[rt,dt]=(0,x.useState)([]);const Re=(0,x.useRef)(null),[we,lt]=(0,x.useState)(!1),[$e,Ze]=(0,x.useState)(""),[ht,An]=(0,x.useState)(""),[en,zt]=(0,x.useState)(!1),[an,$t]=(0,x.useState)({}),Ye=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(xn,wa,Da)=>ie.createElement("div",{style:{display:"flex",alignItems:"center"}},ie.createElement(Fe.Z,{title:xn},ie.createElement("div",{title:xn,className:oe.Z.name},xn)),(wa==null?void 0:wa.high_resources_consume)&&ie.createElement(ne.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:xn=>ie.createElement(Fe.Z,{title:xn},ie.createElement("span",null,xn))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:xn=>xn?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(xn,wa)=>ie.createElement("a",{href:xn?`/randompaper/detail/${wa.id}`:`/paperlibrary/see/${wa.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[et,Nt]=(0,x.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,x.useEffect)(()=>{it.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(Rt(),dt([]),Gt())},[it.actionTabs.key]);const Gt=()=>Le(void 0,null,function*(){const xn=yield Xe({type:"paperlibrary/getTeachGroupData"});ft(xn)}),gn=xn=>{const wa=parseInt(xn);return isNaN(wa)?"":wa},Rt=()=>Le(void 0,null,function*(){var xn,wa;if(Lt){++et.page,mt(!1);const Da=yield Xe({type:"exercise/getBrankList",payload:Ue(Me({},et),{search:(xn=et.search)==null?void 0:xn.trim()})});tn=Da!=null&&Da.object_list?[...tn.concat(Da==null?void 0:Da.object_list)]:tn,et.filter==="public"?Be(Da.is_teacher):Be(!0),((wa=Da.object_list)==null?void 0:wa.length){Re.current.scrollTop=0,tn=[],et.page=0,et.group_id=xn,Lt=!0,dt([]),Nt(Me({},et)),Rt()},jn={selectedRowKeys:rt,onChange:xn=>{dt(xn)},type:"radio"},ea=()=>{Nt(Me({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),En([]),mt(!0),Wt("myself"),Xe({type:"exercise/setActionTabs",payload:{}}),ze(!1)},[xa,rn,Sa,ro]=(0,b.P)(),oa=xn=>Le(void 0,null,function*(){let wa=!1;tn.forEach(Wn=>{rt.includes(Wn.id)&&(wa=Wn.is_random)});const Da=xn.map(Wn=>({shixun_id:Wn.id,is_use:Wn.is_use,is_copy:Wn.is_copy}));if(!wa){zt(!0);const Wn=yield Xe({type:"exercise/saveBanks",payload:{course_id:He.coursesId,category_id:(He==null?void 0:He.categoryId)||null,object_type:"examination_bank",bank_id:rt,shixuns_info:Da}});zt(!1),(Wn==null?void 0:Wn.status)===0&&((0,E.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Xe({type:"classroomList/getClassroomExercisesList",payload:Me({},it.actionTabs.params)}),Xe({type:"classroomList/getClassroomLeftMenus",payload:{id:He.coursesId}}),Ze(`/classrooms/${He.coursesId}/exercise/${Wn.exercise_id}/detail?random=${Wn.is_random}&tabs=3`),An(`/classrooms/${He.coursesId}/exercise/add/${Wn.exercise_id}?random=${Wn.is_random}&type=2`),lt(!0),be.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),rn(),ea());return}zt(!0),setTimeout(()=>{zt(!1)},500),Xe({type:"exercise/setActionTabs",payload:{}});let Ht=1,Dn=xe.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:ie.createElement("div",{className:oe.Z.modalColumn},ie.createElement("div",{className:oe.Z.modalRow},ie.createElement("sup",{className:oe.Z.sup},"*"),ie.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),ie.createElement(ue.Z,{parser:gn,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Ht,onChange:Wn=>{Ht=Wn;const fa=document.getElementById("model_error");Ht<1||Ht>50?fa.style.display="block":fa.style.display="none"}})),ie.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:ea,onOk:()=>Le(void 0,null,function*(){if(Ht<1||Ht>50){const fa=document.getElementById("model_error");return fa.style.display="block",Promise.reject()}Dn.update({cancelButtonProps:{disabled:!0}});const Wn=yield Xe({type:"exercise/saveBanks",payload:{course_id:He.coursesId,object_type:"examination_bank",bank_id:rt,shixuns_info:Da,num:Ht}});Dn.update({cancelButtonProps:{disabled:!1}}),Wn&&Wn.status===0?((0,E.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),xe.default.destroyAll(),Xe({type:"classroomList/getClassroomExercisesList",payload:Me({},it.actionTabs.params)}),ea(),rn(),be.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(ea(),rn())})})});return ie.createElement(ie.Fragment,null,ie.createElement(xe.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:it.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Pn,bodyStyle:{minHeight:200},wrapClassName:oe.Z.warpModal,onOk:()=>Le(void 0,null,function*(){var xn;if(!rt.length){be.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}ze(!0);let wa=!1,Da=!1;if(tn.forEach(Dn=>{rt.includes(Dn.id)&&Dn.need_authorize&&(wa=Dn.need_authorize),rt.includes(Dn.id)&&(Da=Dn.is_random)}),wa){(0,a.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let Ht=yield(0,le.Tr)({id:`${rt[0]}`,course_id:(xn=gt.detailTopBanner)==null?void 0:xn.course_id,type:"examination_bank"});ze(!1),(Ht==null?void 0:Ht.student_count)===0?oa([]):$t(Ht)}),onCancel:ea},ie.createElement(re.default,{activeKey:At,onTabClick:xn=>Le(void 0,null,function*(){Re.current.scrollTop=0,tn=[],At!==xn&&dt([]),Wt(xn),et.page=0,et.filter=xn,et.group_id=null,Lt=!0,Rt()})},ie.createElement(ke,{tab:ie.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),ie.createElement(ke,{tab:ie.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),ie.createElement(ke,{tab:ie.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),ie.createElement("div",{className:oe.Z.tabSearch},At==="teacher"&&ie.createElement(Oe.default,{value:et.group_id,onChange:Fn,size:"middle",style:{width:200,marginRight:30}},ie.createElement(Oe.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(St=ut==null?void 0:ut.groups)==null?void 0:St.map(xn=>ie.createElement(Oe.default.Option,{key:xn==null?void 0:xn.group_id,value:xn==null?void 0:xn.group_id},xn==null?void 0:xn.name))),ie.createElement(je.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:et.search,onChange:xn=>{et.search=xn.target.value,Nt(Me({},et))},onSearch:xn=>{Re.current.scrollTop=0,tn=[],et.page=0,Lt=!0,dt([]),xn&&(0,y.tk)({name:xn,copywriting:xn,position:"Exercise"}),Rt()}})),ie.createElement("div",{ref:Re,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!_e&&At==="public"&&ie.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},ie.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),ie.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),ie.createElement(De(),{initialLoad:!1,pageStart:0,loadMore:()=>{Rt()},hasMore:Lt,useWindow:!1},it.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&_e&&ie.createElement(me.Z,{className:oe.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:tn,onRow:xn=>({onClick:()=>{dt([xn==null?void 0:xn.id])}}),resColumns:Ye,rowSelection:jn})))),ie.createElement(xe.default,{title:"\u63D0\u793A",open:we,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:ie.createElement("div",null,ie.createElement(Ie.ZP,{onClick:()=>{lt(!1),z.history.push(ht)}},"\u4FEE\u6539\u8BD5\u5377"),ie.createElement(Ie.ZP,{type:"primary",onClick:()=>{z.history.push($e),lt(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{lt(!1)}},ie.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),ie.createElement(ae.Z,{resdata:an,type:"exercise",okloading:en,oktext:(an==null?void 0:an.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:xn=>{oa(xn)}}),ie.createElement(b.Z,{inPaper:!0,visible:xa,onCancel:rn,onOk:oa,renderData:Sa,modalType:"multiple",type:"examination_bank"}))};Qe.Z=(0,z.connect)(({exercise:gt,loading:it,classroomList:nt})=>({exercise:gt,loading:it,classroomList:nt}))(ot)},59553:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ie}});var x=te(59301),re=te(92832),Pe=te(24905),Fe=te(95237),be={leftdiv:"leftdiv___iuhY9",listClass:"listClass___o5N53",spantitle:"spantitle___KVMSL",rightdiv:"rightdiv___f2zZr"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ue=te(2524),Oe=(Ne,De,me)=>new Promise((oe,a)=>{var E=z=>{try{y(me.next(z))}catch(ne){a(ne)}},b=z=>{try{y(me.throw(z))}catch(ne){a(ne)}},y=z=>z.done?oe(z.value):Promise.resolve(z.value).then(E,b);y((me=me.apply(Ne,De)).next())}),Ie=({data:Ne,value:De=[],handleChangePage:me,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:E=()=>{}})=>{const[b,y]=(0,x.useState)([]),[z,ne]=(0,x.useState)([]),[ae,le]=(0,x.useState)([]);let[ie,de]=(0,x.useState)(1),[se,ce]=(0,x.useState)();return(0,x.useEffect)(()=>{y(Ne),ne([]),le([])},[Ne]),(0,x.useEffect)(()=>{oe&&(ne(a),le(a))},[a]),x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{className:be.leftdiv},x.createElement(re.default.Search,{size:"middle",onChange:ge=>Oe(void 0,null,function*(){y(Ne.filter(ve=>{var Ee;return(Ee=ve==null?void 0:ve.name)==null?void 0:Ee.includes(ge.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&x.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),x.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},x.createElement(Pe.default.Group,{value:z.map(ge=>`${ge.course_group_id}`),onChange:ge=>{oe(b.filter(ve=>ge.includes(`${ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((ge,ve)=>x.createElement(Fe.Z,{key:ge.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},x.createElement(Pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:ge.is_published,value:`${ge.course_group_id}`},x.createElement("div",{className:be.listClass},x.createElement("span",{className:be.spantitle,style:{width:ge.is_published?"108px":"170px"}},ge.name),ge.is_published&&x.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),x.createElement("div",{className:be.rightdiv},x.createElement(re.default.Search,{onChange:ge=>{le(z.filter(ve=>ve.name.includes(ge.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ae.length===0&&x.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ae.length>0&&x.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},x.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ae.map((ge,ve)=>x.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:ge.course_group_id},x.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},ge.name),x.createElement("img",{src:xe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(Ee=>`${Ee.course_group_name}`!=`${ge.course_group_name}`))}})))))))}},21390:function(at,Qe,te){"use strict";var x=te(59301),re=te(31797),Pe=te(5871),Fe=te(78241),be=te(43418),xe=te(71418),ue=te(1710),Oe=te(92832),je=te(95237),Ie=te(43604),Ne=te(3113),De=te(87513),me=te(56656),oe=te.n(me),a=te(65582),E=te(65862),b=te(27158),y=te(41867),z=te(61527),ne=te(59301),ae=(se,ce,ge)=>new Promise((ve,Ee)=>{var Je=Le=>{try{Ue(ge.next(Le))}catch(ke){Ee(ke)}},Me=Le=>{try{Ue(ge.throw(Le))}catch(ke){Ee(ke)}},Ue=Le=>Le.done?ve(Le.value):Promise.resolve(Le.value).then(Je,Me);Ue((ge=ge.apply(se,ce)).next())});const{Countdown:le}=re.default,ie=({value:se,onChange:ce,MaxMinutes:ge})=>ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",ne.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",ne.createElement("br",null)),ne.createElement(Pe.Z,{value:se,onChange:ce,min:0,precision:0,max:ge,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ge}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),de=({exercise:se,successCb:ce,dispatch:ge})=>{var ve,Ee,Je,Me;const Ue=(0,a.useParams)(),[Le]=Fe.default.useForm(),ke=Fe.default.useWatch("time",Le),[ot,gt]=(0,x.useState)(!1),it=(0,x.useRef)(),{actionTabs:nt}=se,[Xe,St]=(0,x.useState)(),[,He,Te,Ge]=(0,z.U)(De.n7,{id:Ue.categoryId}),[,pt,Lt]=(0,z.U)(De.Cd,{});(0,x.useEffect)(()=>{se.actionTabs.key==="student-unlock"&&(gt(!1),Le.resetFields())},[se.actionTabs.key]);const mt=()=>new Promise(_e=>ae(void 0,null,function*(){var Be,rt;return it.current=yield(0,b.y)({ip_limit:(Be=nt==null?void 0:nt.exerciseParams)==null?void 0:Be.ip_limit,ip_bind:(rt=nt==null?void 0:nt.exerciseParams)==null?void 0:rt.ip_bind_type}),_e()})),Pn=()=>ae(void 0,null,function*(){var _e,Be,rt,dt,Re;yield Le.validateFields();const we=Le.getFieldsValue();if(gt(!0),(((_e=nt==null?void 0:nt.exerciseParams)==null?void 0:_e.ip_limit)!=="no"||(Be=nt==null?void 0:nt.exerciseParams)!=null&&Be.ip_bind_type)&&(yield mt()),(yield(0,De.ZD)((rt=nt==null?void 0:nt.exerciseParams)==null?void 0:rt.id,{exercise_user_id:(dt=nt==null?void 0:nt.exerciseParams)==null?void 0:dt.exercise_user_id,unlock_key:we.unlock_key,time:we.time,ip:it.current})).status===0){if(ce){ge({type:"exercise/setActionTabs",payload:{}}),ce();return}const $e=nt==null?void 0:nt.exerciseParams;(0,E.nr)({inner_ip:$e.inner_ip,public_ip:$e.public_ip,open_camera:$e.open_camera,ip_limit:$e.ip_limit,ip_bind:$e.ip_bind,ip_bind_type:$e.ip_bind_type,exercise_tips:$e.exercise_tips,exerciseId:$e.id,screen_open:$e.screen_open,screen_num:$e.screen_num,screen_sec:$e.screen_sec,coursesId:Ue.coursesId,login:(Re=(0,y.eY)())==null?void 0:Re.login,history,identity_verify:$e.identity_verify,open_phone_video_recording:$e.open_phone_video_recording,current_status:$e.current_status}),ge({type:"exercise/setActionTabs",payload:{}})}gt(!1)}),ze=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:_e=>ne.createElement("span",{className:_e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},_e)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:_e=>ne.createElement("span",{className:_e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},_e)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],At=((ve=nt==null?void 0:nt.exerciseParams)==null?void 0:ve.errorMessage)&&typeof((Ee=nt==null?void 0:nt.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,x.useEffect)(()=>{se.actionTabs.key==="student-unlock"&&ae(void 0,null,function*(){const _e=yield Lt(Ue);yield Te({}),_e.status||St(_e)})},[se.actionTabs.key]);const{time:Wt,end_time:tn}=(Xe==null?void 0:Xe.exercise)||{},En=Ge!=null&&Ge.user_end_time?oe()(Ge==null?void 0:Ge.user_end_time).add(1,"minutes"):oe()(),ut=oe()(Ge==null?void 0:Ge.user_total_end_time)>En?Math.round(oe().duration(oe()(Ge==null?void 0:Ge.user_total_end_time).diff(En.startOf("minute"))).asMinutes()):0,ft=((Ge==null?void 0:Ge.student_left_minutes)||0)+(ke||0);return ne.createElement(ne.Fragment,null,ne.createElement(be.default,{width:514,centered:!0,closable:!!((Je=nt==null?void 0:nt.exerciseParams)!=null&&Je.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:se.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ge({type:"exercise/setActionTabs",payload:{}})}},ne.createElement(xe.Z,{spinning:He||pt},At&&ne.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!At&&ne.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),At&&ne.createElement(ue.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Me=nt==null?void 0:nt.exerciseParams)==null?void 0:Me.errorMessage)||{}],columns:ze}),ne.createElement("div",{className:""},ne.createElement(Fe.default,{form:Le,layout:"vertical",autoComplete:"off"},ne.createElement(Fe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ne.createElement(Oe.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Wt!==-1?ne.createElement(ne.Fragment,null,ne.createElement(Fe.default.Item,{name:"time",label:ne.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",ne.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",oe()(Ge==null?void 0:Ge.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},ne.createElement(ie,{MaxMinutes:ut})),ne.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ne.createElement("span",{className:"ml5"},He||pt?"--":ft),"\u5206\u949F",ft!==0&&(Ge==null?void 0:Ge.user_end_time)&&ne.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ne.createElement("span",{className:"ml5"},oe()(Ge==null?void 0:Ge.user_end_time).add(ke||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):ne.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",oe()(tn).format("YYYY-MM-DD HH:mm")))),ne.createElement(je.Z,{justify:"space-between",align:"middle"},ne.createElement(Ie.Z,null),ne.createElement(Ie.Z,null,ne.createElement(Ne.ZP,{loading:ot,onClick:Pn},"\u8FDB\u5165\u8003\u8BD5"))))))};Qe.Z=(0,a.connect)(({exercise:se})=>({exercise:se}))(de)},82896:function(at,Qe,te){"use strict";te.d(Qe,{w:function(){return xe}});var x=te(38147),re=te(43418),Pe=te(65582),Fe=te(59301),be=(ue,Oe,je)=>new Promise((Ie,Ne)=>{var De=a=>{try{oe(je.next(a))}catch(E){Ne(E)}},me=a=>{try{oe(je.throw(a))}catch(E){Ne(E)}},oe=a=>a.done?Ie(a.value):Promise.resolve(a.value).then(De,me);oe((je=je.apply(ue,Oe)).next())});const xe=(ue,Oe,je="\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E...",Ie=1,Ne=2)=>be(void 0,null,function*(){Ie===1&&(0,Pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:Ie===1?je:"\u6B63\u5728\u68C0\u6D4B\u4E2D\uFF0C\u8BF7\u7A0D\u540E..."}});const De=yield(0,x.ZP)(`/api/exercises/${Oe}/user_appraise_status.json`,{method:"get",params:{appraise_type:Ie}});if((De==null?void 0:De.status)===-1)return(0,Pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}}),Promise.reject();let me={status:0};if((De==null?void 0:De.type)===2&&(me=yield(0,x.ZP)(`/api/exercises/${Oe}/create_appraise_students.json`,{method:"get"})),(0,Pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(me==null?void 0:me.status)===-1)return Promise.reject();if((De==null?void 0:De.type)===2){const oe=()=>{Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/centralizeReview/${me==null?void 0:me.login}`)};if(re.default.confirm({centered:!0,width:470,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",keyboard:!1,onOk:oe,onCancel:()=>{Ne===1&&Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/detail`)},content:Fe.createElement("div",null,Fe.createElement("div",null,"\u60A8\u5DF2\u6210\u4E3A\u6307\u5B9A\u9605\u5377\u6559\u5E08\uFF0C\u662F\u5426\u73B0\u5728\u524D\u5F80",Fe.createElement("span",{onClick:oe,className:"ml5 mr5 c-light-primary current"},"\u96C6\u4E2D\u9605\u5377"),"\u7EE7\u7EED\u8BC4\u9605\uFF1F"),Fe.createElement("div",{className:"c-grey-999"},"\uFF08\u9605\u5377\u7ED3\u675F\u540E\u6062\u590D\u5B66\u751F\u4E2A\u4EBA\u8BC4\u9605\u529F\u80FD\uFF0C\u5E76\u5C55\u793A\u5B66\u751F\u6210\u7EE9\uFF09"))}),Ne!==3)return Promise.reject()}if((De==null?void 0:De.type)===3&&(re.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",keyboard:!1,title:"\u63D0\u793A",onOk:()=>{Ne===1&&Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/detail`)},content:Fe.createElement("div",null,(De==null?void 0:De.message)||"")}),Ne!==3)||(De==null?void 0:De.type)===4&&(re.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",title:"\u63D0\u793A",keyboard:!1,onOk:()=>{Ne===1&&Pe.history.replace(`/classrooms/${ue}/exercise/${Oe}/detail`)},content:Fe.createElement("div",null,(De==null?void 0:De.message)||"")}),Ne!==3))return Promise.reject()})},99981:function(at,Qe,te){"use strict";te.d(Qe,{Q8:function(){return nt},d0:function(){return Xe},w6:function(){return it}});var x=te(59301),re=te(5083),Pe=te(57809),Fe=te(8591),be=te(43418),xe=te(5112),ue=te(95237),Oe=te(43604),je=te(6848),Ie=te(24905),Ne=te(3113),De=te(56656),me=te.n(De),oe=te(41867),a=te(38147),E=te(89392),b=te.n(E),y=te(65862),z=te(61191),ne=te(65582),ae=te(4324),le=te(66457),ie=te(42656),de=te(83028),se=te(60979),ce=te(59301),ge=Object.defineProperty,ve=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Le=(Ge,pt,Lt)=>pt in Ge?ge(Ge,pt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Ge[pt]=Lt,ke=(Ge,pt)=>{for(var Lt in pt||(pt={}))Me.call(pt,Lt)&&Le(Ge,Lt,pt[Lt]);if(Je)for(var Lt of Je(pt))Ue.call(pt,Lt)&&Le(Ge,Lt,pt[Lt]);return Ge},ot=(Ge,pt)=>ve(Ge,Ee(pt)),gt=(Ge,pt,Lt)=>new Promise((mt,Pn)=>{var ze=tn=>{try{Wt(Lt.next(tn))}catch(En){Pn(En)}},At=tn=>{try{Wt(Lt.throw(tn))}catch(En){Pn(En)}},Wt=tn=>tn.done?mt(tn.value):Promise.resolve(tn.value).then(ze,At);Wt((Lt=Lt.apply(Ge,pt)).next())});function it(Ge,pt){const Lt=[];for(let mt=Ge;mt{const mt=Geme()(pt).endOf("day"),ze=Ge{const Lt=parseInt(me()(Ge).format("HH")),mt=parseInt(me()().format("HH")),Pn=parseInt(me()().format("mm"));if(!Ge)return{disabledHours:()=>it(0,mt),disabledMinutes:()=>it(0,Pn)};if(pt){const ze=parseInt(me()(pt).format("HH")),At=parseInt(me()(pt).format("mm"));return me()(Ge).isSame(me()(pt),"day")?{disabledHours:()=>it(0,ze),disabledMinutes:()=>Lt<=ze?it(0,At):[]}:void 0}if(me()(Ge).isSame(me()(),"day"))return{disabledHours:()=>it(0,mt),disabledMinutes:()=>me()(Ge).isSame(me()(),"hour")&&Lt<=mt?it(0,Pn):[]}},{RangePicker:St}=re.default,{Option:He}=Pe.default,Te=({shixunHomeworks:Ge,loading:pt,dispatch:Lt,classroomList:mt,user:Pn})=>{var ze,At,Wt,tn,En,ut,ft,_e,Be;const rt=(0,ne.useParams)(),{workSetting:dt,workList:Re,shixunWorkList:we,headerInfo:lt,changeData:$e}=Ge,[Ze,ht]=(0,x.useState)(!1),[An,en]=(0,x.useState)(!1);let[zt,an]=(0,x.useState)([]),[$t,Ye]=(0,x.useState)([]),[et,Nt]=(0,x.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ae.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[Gt,gn]=(0,x.useState)({}),[Rt,Fn]=(0,x.useState)({});(0,x.useEffect)(()=>()=>{an([])},[]),(0,x.useEffect)(()=>{ht(!(0,oe.GJ)())},[(0,oe.GJ)()]);const jn=()=>{Lt({type:"shixunHomeworks/getWorkSetting",payload:ke({},rt)})};(0,x.useEffect)(()=>{if(!(dt!=null&&dt.course_id))return;Object.keys(et).map(function(Dn){et[Dn]=dt[Dn]}),(!et.allow_late||!et.unified_late)&&(et.late_penalty=20,et.penalty_type=ae.Q.Percent),et.unified_setting||(et.unified_late=!1,et.unified_anonymous_comment=!1,et.unified_anonymous_appeal=!1),zt=JSON.parse(JSON.stringify(dt.group_settings.map(Dn=>ot(ke({},Dn),{group_name:[Dn.group_name]})).filter(Dn=>Dn.publish_time!==null))),$t=JSON.parse(JSON.stringify(dt.allow_late_settings.map(Dn=>ot(ke({},Dn),{group_name:[Dn.group_name]})).filter(Dn=>Dn.late_time!==null))),Nt(ke({},et));const Ht=(0,y.QE)((zt==null?void 0:zt.length)>0?zt:[]);an([...Ht]),($t==null?void 0:$t.length)<=0?Ye([{penalty_type:ae.Q.Percent,late_penalty:20}]):Ye([...$t])},[dt]);const ea=()=>gt(void 0,null,function*(){var Ht,Dn;if(((Ht=Pn==null?void 0:Pn.userInfo)==null?void 0:Ht.user_status)===2){(0,le.Rd)();return}const Wn=JSON.parse(JSON.stringify(et));if(Wn.challenge_settings.filter(ta=>!ta.hide),Wn.categoryId=rt.categoryId,(Dn=Wn.challenge_settings)!=null&&Dn.every(ta=>!ta.checked)){Fe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(zt),!et.unified_setting)zt=zt==null?void 0:zt.map(ta=>{var za;if(!ta.publish_time||!ta.end_time)throw Fe.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!ta.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ta.group_name=typeof(ta==null?void 0:ta.group_name)=="string"?[ta==null?void 0:ta.group_name]:ta==null?void 0:ta.group_name,ta.group_id=(za=dt.group_settings)==null?void 0:za.filter(Ao=>{var Ar;return(Ar=ta==null?void 0:ta.group_name)==null?void 0:Ar.includes(Ao.group_name)}).map(Ao=>Ao.group_id||Ao.id).toString().split(","),ta});else if(!et.publish_time||!et.end_time)throw Fe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(Wn.group_settings=zt,et.allow_late)if(et.unified_late){if(et.late_penalty===null||et.late_penalty===void 0||et.late_penalty<0||et.late_penalty>100)throw Fe.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!et.late_time)throw Fe.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else $t=$t==null?void 0:$t.map(ta=>{var za,Ao;if(ta.late_penalty===null||ta.late_penalty===void 0||ta.late_penalty<0||ta.late_penalty>100)throw Fe.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!ta.late_time)throw Fe.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!ta.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ta.group_name=typeof(ta==null?void 0:ta.group_name)=="string"?[ta==null?void 0:ta.group_name]:ta==null?void 0:ta.group_name,ta.group_id=(Ao=(za=ta==null?void 0:ta.group_name)==null?void 0:za.map(Ar=>{var Dr,Na;let xt=(Na=(Dr=dt.group_settings)==null?void 0:Dr.filter(It=>(It==null?void 0:It.group_name)===Ar))==null?void 0:Na[0];return xt==null?void 0:xt.group_id}))==null?void 0:Ao.toString().split(","),ta}),Wn.allow_late_settings=$t;let fa=yield(0,se.Tr)({homework_common_ids:[parseInt(rt.categoryId)],course_id:rt.coursesId,type:"homework_common"});(fa==null?void 0:fa.student_count)===0?xa(Wn):(Fn(Wn),gn(fa))}),xa=Ht=>{var Dn;if(Ht.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Ht!=null&&Ht.work_efficiency&&Ht.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Wn=Ht.challenge_settings.reduce((za,Ao)=>za+Number(Ao.challenge_score),0);if((Wn==null?void 0:Wn.toFixed(10))!==((Dn=Ht.total_score-Ht.eff_score)==null?void 0:Dn.toFixed(10))){Fe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Ht.total_score}\u5206`);return}const fa={shixun_evaluation:Ht.shixun_evaluation,challenge_settings:Ht.challenge_settings};let ta=()=>{var za;const Ao=()=>gt(void 0,null,function*(){en(!0),(yield(0,a.ZP)(`/api/homework_commons/${rt.categoryId}/publish_setting.json`,{method:"post",body:ke({},Ht)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),jn(),Lt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:ke({},rt)})),en(!1)});!(0,E.isEqual)($e,fa)&&!((za=lt==null?void 0:lt.homework_status)!=null&&za.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Ao}):Ao()};dt!=null&&dt.high_resources_consume&&!(dt!=null&&dt.high_resources_consume_permission)?Lt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:rt.coursesId,type:"shixun",type_id:rt.categoryId,name:dt.homework_name,fn:()=>{ta()}}}):ta()},rn=(Ht,Dn,Wn="group_id")=>{var fa;return Dn?Dn.find(ta=>ta[Wn]===Ht):(fa=dt==null?void 0:dt.group_settings)==null?void 0:fa.find(ta=>ta.group_id[0]===Ht)},Sa=(dt==null?void 0:dt.allow_late)||(dt==null?void 0:dt.anonymous_comment),ro=Ht=>{var Dn,Wn;const fa=rn(Ht,dt==null?void 0:dt.allow_late_settings,"id"),ta=rn(Ht,dt==null?void 0:dt.anonymous_comment_settings),za=rn(Ht);return(dt==null?void 0:dt.allow_late)&&fa&&me()(fa==null?void 0:fa.late_time)<=me()()||(dt==null?void 0:dt.anonymous_comment)&&ta&&(ta==null?void 0:ta.evaluation_start)!==null||((Wn=(me()(za==null?void 0:za.end_time)<=me()()&&((Dn=dt==null?void 0:dt.allow_late_settings)==null?void 0:Dn.filter(Ao=>Ao.group_id.includes(Ht))))[0])==null?void 0:Wn.late_time)!=null},oa=(0,x.useMemo)(()=>(dt==null?void 0:dt.allow_late)||(dt==null?void 0:dt.all_group_late),[dt,lt]),xn=dt==null?void 0:dt.anonymous_comment,wa=Ht=>{if(!Ht)return!1;const Dn=rn(Ht,dt==null?void 0:dt.anonymous_comment_settings);return(dt==null?void 0:dt.anonymous_comment)&&Dn&&(Dn==null?void 0:Dn.evaluation_start)!==null},Da=(Ht,Dn)=>{var Wn,fa,ta;Lt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Ht,index:Dn,rangePickerDisabled:Ze||(me()()<=me()((fa=rn((Wn=Ht==null?void 0:Ht.group_id)==null?void 0:Wn[0]))==null?void 0:fa.publish_time)?!1:[!0,ro((ta=Ht==null?void 0:Ht.group_id)==null?void 0:ta[0])]),disabledDate:dt==null?void 0:dt.course_end_date}})};return ce.createElement("section",{className:z.Z.form},ce.createElement("div",{className:z.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ce.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),ce.createElement("div",null,ce.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ce.createElement(xe.ZP.Group,{disabled:Ze||!((ze=lt==null?void 0:lt.homework_status)!=null&&ze.includes("\u672A\u53D1\u5E03"))||(0,oe.Rm)()&&!((At=mt.AssistantObject.practice)!=null&&At.can_publish),value:et.unified_setting,onChange:Ht=>{var Dn;if(!((Dn=lt==null?void 0:lt.homework_status)!=null&&Dn.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(et.unified_setting=!et.unified_setting,et.unified_setting||(et.unified_late=!1,Ye([{late_penalty:5}])),Nt(Object.assign({},et)),et.unified_setting===!1&&zt==""){an(zt.concat({}));return}et.unified_setting&&(an([]),Ye([{late_penalty:5}]))}},ce.createElement(xe.ZP,{value:!0,disabled:Ze||!(dt!=null&&dt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ce.createElement(xe.ZP,{disabled:Ze||!((Wt=dt==null?void 0:dt.group_settings)!=null&&Wt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((tn=dt==null?void 0:dt.group_settings)==null?void 0:tn.length)===0&&ce.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),et.unified_setting&&ce.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ce.createElement(ue.Z,{align:"middle"},ce.createElement(Oe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ce.createElement(Oe.Z,{className:"ml10"},ce.createElement(re.default,{size:"large",disabled:Ze||!((En=lt==null?void 0:lt.homework_status)!=null&&En.includes("\u672A\u53D1\u5E03")||(ut=lt==null?void 0:lt.homework_status)!=null&&ut.includes("\u672A\u5F00\u59CB"))||(0,oe.Rm)()&&!((ft=mt.AssistantObject.practice)!=null&&ft.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Ht=>nt(Ht,dt==null?void 0:dt.course_end_date),disabledTime:Ht=>Xe(Ht),value:et.publish_time?me()(et.publish_time):"",onChange:(Ht,Dn)=>{et.publish_time=Dn,(et.end_time==""||!et.end_time)&&et.unified_setting&&(et.end_time=me()(Ht).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Nt(Object.assign({},et))}}))),ce.createElement(ue.Z,{align:"middle",className:"pl30"},ce.createElement(Oe.Z,null,"\u622A\u6B62\u65F6\u95F4"),ce.createElement(Oe.Z,{className:"ml10"},ce.createElement(re.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,y.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(dt==null?void 0:dt.allow_late)&&(dt==null?void 0:dt.homework_status.includes("\u5DF2\u622A\u6B62"))||Ze||(dt==null?void 0:dt.allow_late)&&me()()>=me()(dt==null?void 0:dt.end_time)||(0,oe.Rm)()&&!((_e=mt.AssistantObject.practice)!=null&&_e.can_publish),disabledDate:Ht=>nt(Ht,dt==null?void 0:dt.course_end_date,et.publish_time),disabledTime:Ht=>Xe(Ht,et.publish_time),value:et.end_time?me()(et.end_time):"",onChange:(Ht,Dn)=>{et.end_time=Dn,Nt(Object.assign({},et))}})))),!et.unified_setting&&(zt==null?void 0:zt.length)>0&&ce.createElement(ue.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},zt&&zt.map(function(Ht,Dn){var Wn,fa,ta,za,Ao,Ar,Dr;return ce.createElement(Oe.Z,{span:24,key:Dn},ce.createElement(ue.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Dn==(zt==null?void 0:zt.length)-1?"0px":"10px"}},ce.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Dn+1),ce.createElement(Pe.default,{disabled:Ze||((Wn=lt==null?void 0:lt.homework_status)!=null&&Wn.includes("\u672A\u53D1\u5E03")&&Ht.id||me()(){var xt;if((0,oe.Rm)()&&!((xt=mt.AssistantObject.practice)!=null&&xt.can_publish)){Fe.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}zt[Dn].group_name=Na,zt[Dn].group_id=Ht.group_id;const It=(0,E.flattenDeep)(zt.map(In=>In.group_name)),Dt=$t.map(In=>{let na=(In==null?void 0:In.group_name)||[];return ot(ke({},In),{group_name:(0,E.remove)(na,Hn=>It.includes(Hn))})});Ye(Dt),an(zt.slice())},maxTagCount:4,maxTagPlaceholder:Na=>ce.createElement("div",{style:{cursor:"pointer"},onClick:()=>Da(Ht,Dn)},"+",Na==null?void 0:Na.length)},dt.group_settings&&dt.group_settings.map(function(Na){if(!zt.map(It=>It.group_name).flat().includes(Na.group_name))return ce.createElement(He,{value:Na.group_name,key:Na.id},Na.group_name)})),ce.createElement("div",{className:"ml20"},ce.createElement(St,{size:"large",ranges:{\u6B64\u523B:[Ht.publish_time?me()(Ht.publish_time):me()(),me()()]},allowClear:!1,disabled:Ze||(me()()<=me()((za=rn((ta=Ht==null?void 0:Ht.group_id)==null?void 0:ta[0]))==null?void 0:za.publish_time)?!1:[!0,ro((Ao=Ht==null?void 0:Ht.group_id)==null?void 0:Ao[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Na=>nt(Na,dt==null?void 0:dt.course_end_date),disabledTime:Na=>Xe(Na),showTime:{showNow:!0,format:"HH:mm",defaultValue:[me()((0,y.U6)(),"HH:mm"),me()((0,y.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Ht.publish_time&&[me()(Ht.publish_time),Ht.end_time?me()(Ht.end_time):void 0],onChange:(Na,xt)=>{var It;if((0,oe.Rm)()&&!((It=mt.AssistantObject.practice)!=null&&It.can_publish)){Fe.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}zt[Dn].publish_time=xt[0],!Ht.end_time&&xt[0]?zt[Dn].end_time=me()(xt[0]).add(7,"days"):zt[Dn].end_time=xt[1],an([...zt])},onCalendarChange:(Na,xt,It)=>{if(xt!=null&&xt[0]&&!xt[1]){const Dt=me()(xt[0]).add(7,"days");zt[Dn].publish_time=xt[0],zt[Dn].end_time=Dt,an([...zt])}}})),!Ze&&ce.createElement("div",{style:{display:"flex",width:"50px"}},((Ar=Ht==null?void 0:Ht.group_id)==null?void 0:Ar.length)>1&&ce.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},ce.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Da(Ht,Dn)})),zt.length<((Dr=dt==null?void 0:dt.group_settings)==null?void 0:Dr.length)&&ce.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Na;if((0,oe.Rm)()&&!((Na=mt.AssistantObject.practice)!=null&&Na.can_publish)){Fe.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}an(zt.concat({}))}}),((Ht==null?void 0:Ht.publish_time)&&me()(){const Na=(0,E.cloneDeep)($t);Na.forEach((xt,It)=>{xt.group_name&&(xt.group_name=xt.group_name.filter(Dt=>{var In;return!((In=zt[Dn].group_name)!=null&&In.includes(Dt))}))}),zt=zt.filter((xt,It)=>Dn!==It),Ye(Na),an(zt.slice()),setTimeout(()=>an(zt.slice()),10)}}))))}))),ce.createElement(ue.Z,null,ce.createElement(Oe.Z,null,ce.createElement("div",{className:z.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ce.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),ce.createElement(Oe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ce.createElement(Ie.default,{checked:et.allow_late,disabled:Ze||oa,onChange:Ht=>{var Dn;if((0,oe.Rm)()&&!((Dn=mt.AssistantObject.practice)!=null&&Dn.can_late)){Fe.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}Ht.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ce.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ce.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),ce.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ce.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),et.allow_late=!et.allow_late,$t==""&&Ye([{late_penalty:5}]),Nt(Object.assign({},et))}},ce.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(et==null?void 0:et.allow_late)&&ce.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ce.createElement("div",{style:{display:"flex"}},ce.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ce.createElement(xe.ZP.Group,{style:{marginLeft:"20px"},disabled:Ze||(dt==null?void 0:dt.anonymous_comment)||(dt==null?void 0:dt.allow_late),value:et.unified_late,onChange:Ht=>{var Dn;if((0,oe.Rm)()&&!((Dn=mt.AssistantObject.practice)!=null&&Dn.can_late)){Fe.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}et.unified_late=Ht.target.value,$t==""&&!Ht.target.value&&Ye([{penalty_type:ae.Q.Percent,late_penalty:20}]),Nt(ke({},et))}},(et==null?void 0:et.unified_setting)&&ce.createElement(xe.ZP,{value:!0,disabled:!(dt!=null&&dt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Be=dt==null?void 0:dt.group_settings)==null?void 0:Be.length)>0&&ce.createElement(xe.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),et!=null&&et.unified_late?ce.createElement(ce.Fragment,null,ce.createElement(ue.Z,{align:"middle",style:{marginTop:"10px"}},ce.createElement(Oe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ce.createElement(Oe.Z,{className:"ml20"},ce.createElement(ae.Z,{disabled:Ze||xn,value:{type:et.penalty_type,inputValue:et.late_penalty},onChange:Ht=>{var Dn;if((0,oe.Rm)()&&!((Dn=mt.AssistantObject.practice)!=null&&Dn.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nt(ot(ke({},et),{late_penalty:Ht.inputValue,penalty_type:Ht.type}))}})),ce.createElement(Oe.Z,{flex:"1",className:"ml5"},ce.createElement("span",{className:"c-grey-c ml10"},et.penalty_type===ae.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),ce.createElement(ue.Z,{align:"middle",style:{marginTop:"15px"}},ce.createElement(Oe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ce.createElement(Oe.Z,{className:"ml20"},ce.createElement(re.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,y.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Ze||xn,value:et.late_time?me()(et.late_time):"",disabledDate:Ht=>nt(Ht,dt==null?void 0:dt.course_end_date),onChange:(Ht,Dn)=>{var Wn;if((0,oe.Rm)()&&!((Wn=mt.AssistantObject.practice)!=null&&Wn.can_late)){Fe.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}et.late_time=Dn,Nt(Object.assign({},et))}})))):$t.map(function(Ht,Dn){var Wn;return ce.createElement(Oe.Z,{span:24,key:Dn},ce.createElement(ue.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ce.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Dn+1),ce.createElement(Pe.default,{disabled:Ze||!((Wn=lt==null?void 0:lt.homework_status)!=null&&Wn.includes("\u672A\u53D1\u5E03"))&&Ht.id||(dt==null?void 0:dt.anonymous_comment),mode:"multiple",className:z.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Ht.group_name=="string"?[Ht.group_name]:Ht.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:fa=>{var ta;if((0,oe.Rm)()&&!((ta=mt.AssistantObject.practice)!=null&&ta.can_late)){Fe.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}$t[Dn].group_name=fa,$t[Dn].group_id=Ht.group_id,Ye($t.slice())}},dt.group_settings&&dt.group_settings.map(function(fa){const ta=$t.map(Ao=>Ao.group_name).flat(),za=zt.map(Ao=>Ao.group_name).flat();if(et!=null&&et.unified_setting){if(!ta.includes(fa.group_name))return ce.createElement(He,{value:fa.group_name,key:fa.id},fa.group_name)}else if(za.includes(fa.group_name)&&!ta.includes(fa.group_name))return ce.createElement(He,{value:fa.group_name,key:fa.id},fa.group_name)})),ce.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ce.createElement(ae.Z,{disabled:Ze||wa(Ht.id),value:{type:Ht.penalty_type,inputValue:Ht.late_penalty},onChange:fa=>{var ta;if((0,oe.Rm)()&&!((ta=mt.AssistantObject.practice)!=null&&ta.can_late)){Fe.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}$t[Dn].late_penalty=fa.inputValue,$t[Dn].penalty_type=fa.type,Ye([...$t])}}),ce.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ce.createElement(re.default,{size:"large",disabled:Ze||wa(Ht.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:me()((0,y.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:fa=>nt(fa,dt==null?void 0:dt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Ht!=null&&Ht.late_time?me()(Ht.late_time):void 0,onChange:(fa,ta)=>{var za;if((0,oe.Rm)()&&!((za=mt.AssistantObject.practice)!=null&&za.can_late)){Fe.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}$t[Dn].late_time=ta,Ye([...$t])}}),!Ze&&ce.createElement("div",{style:{display:"flex",width:"50px"}},ce.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var fa;if((0,oe.Rm)()&&!((fa=mt.AssistantObject.practice)!=null&&fa.can_late)){Fe.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}Ye($t.concat({penalty_type:ae.Q.Percent,late_penalty:20}))}}),Dn>0&&!Ht.id&&ce.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var fa;if((0,oe.Rm)()&&!((fa=mt.AssistantObject.practice)!=null&&fa.can_late)){Fe.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}$t=$t.filter((ta,za)=>Dn!==za),Ye($t.slice()),setTimeout(()=>Ye($t.slice()),10)}}))))})),!Ze&&ce.createElement(ce.Fragment,null,ce.createElement(Ne.ZP,{type:"primary",size:"large",loading:An,style:{width:"138px",marginTop:"30px"},onClick:()=>ea()},"\u4FDD\u5B58")),ce.createElement(ie.Z,{onConfirm:(Ht,Dn)=>{zt.splice(Ht,0,...Dn),zt.splice(Ht+Dn.length,1);const Wn=(0,y.QE)([...zt]);an([...Wn])}}),ce.createElement(de.Z,{resdata:Gt,type:"shixun",okloading:An,oktext:(Gt==null?void 0:Gt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Ht=>gt(void 0,null,function*(){en(!0);let Dn=yield(0,a.ZP)(`/api/courses/${rt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(rt.categoryId)]}});en(!1),(Dn==null?void 0:Dn.status)===0&&xa(Rt)})}))};Qe.ZP=(0,ne.connect)(({shixunHomeworks:Ge,classroomList:pt,loading:Lt,user:mt})=>({shixunHomeworks:Ge,classroomList:pt,loading:Lt.effects,user:mt}))(Te)},61604:function(at,Qe,te){"use strict";var x=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(65582),Oe=te(74128),je=te(84511),Ie=te(38147),Ne=te(56656),De=te.n(Ne),me=te(65862),oe=te(59301),a=Object.defineProperty,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(de,se,ce)=>se in de?a(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ce}):de[se]=ce,ne=(de,se)=>{for(var ce in se||(se={}))b.call(se,ce)&&z(de,ce,se[ce]);if(E)for(var ce of E(se))y.call(se,ce)&&z(de,ce,se[ce]);return de},ae=(de,se,ce)=>new Promise((ge,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?ge(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const{Dragger:le}=re.default,ie=({classroomList:de,dispatch:se,onOk:ce})=>{const ge=(0,ue.useParams)(),[ve]=Pe.default.useForm(),[Ee,Je]=(0,x.useState)(),[Me,Ue]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{Je("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:ke=>ae(void 0,null,function*(){return Je(ke),!1})};return(0,x.useEffect)(()=>{ve.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,me.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ae(void 0,null,function*(){ve.submit()}),onCancel:()=>{ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(Pe.default,{form:ve,onFinish:ke=>ae(void 0,null,function*(){var ot,gt,it;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ue(!0);let nt=new FormData;nt.append("type",de.actionTabs.type),nt.append("file",Ee);let Xe;window.location.href.indexOf("exercise")>-1?Xe=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Xe=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let St=yield(0,Ie.ZP)(Xe,{method:"post",body:nt},!0);Ue(!1),(St==null?void 0:St.status)===0&&(ce(),ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}}),((gt=(ot=St==null?void 0:St.data)==null?void 0:ot.fail)==null?void 0:gt.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(xe.default,{pagination:!1,dataSource:(it=St==null?void 0:St.data)==null?void 0:it.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,me.FH)("",Oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},oe.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),oe.createElement(Pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:Oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(Pe.default.Item,{style:{marginBottom:0}},oe.createElement(le,ne({},Le),oe.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,ue.connect)(({classroomList:de})=>({classroomList:de}))(ie)},62686:function(at,Qe,te){"use strict";var x=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(92832),Oe=te(95237),je=te(43604),Ie=te(5871),Ne=te(5083),De=te(65582),me=te(96565),oe=te(74128),a=te(84511),E=te(38147),b=te(99981),y=te(56656),z=te.n(y),ne=te(65862),ae=te(59301),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Me,Ue,Le)=>Ue in Me?le(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,ge=(Me,Ue)=>{for(var Le in Ue||(Ue={}))de.call(Ue,Le)&&ce(Me,Le,Ue[Le]);if(ie)for(var Le of ie(Ue))se.call(Ue,Le)&&ce(Me,Le,Ue[Le]);return Me},ve=(Me,Ue,Le)=>new Promise((ke,ot)=>{var gt=Xe=>{try{nt(Le.next(Xe))}catch(St){ot(St)}},it=Xe=>{try{nt(Le.throw(Xe))}catch(St){ot(St)}},nt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(gt,it);nt((Le=Le.apply(Me,Ue)).next())});const{Dragger:Ee}=re.default,Je=({classroomList:Me,dispatch:Ue,onOk:Le})=>{const ke=(0,De.useParams)(),[ot]=Pe.default.useForm(),[gt,it]=(0,x.useState)(),[nt,Xe]=(0,x.useState)(!1),St={height:100,onRemove:()=>{it("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:He=>ve(void 0,null,function*(){return it(He),!1})};return(0,x.useEffect)(()=>{ot.setFieldsValue({publish_time:z()(z()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:z()(z()(new Date((0,ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),ae.createElement(Fe.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:nt},onOk:()=>ve(void 0,null,function*(){ot.submit()}),onCancel:()=>{ot.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement(Pe.default,{form:ot,colon:!1,onFinish:He=>ve(void 0,null,function*(){var Te,Ge,pt;if(!(gt!=null&>.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let Lt=new FormData;Lt.append("name",He.name),Lt.append("type",Me.actionTabs.type),Lt.append("category_id",(ke==null?void 0:ke.categoryId)||null),Me.actionTabs.type==="exercise"?(Lt.append("time",He.time||""),Lt.append("total_score",He.total_score)):Lt.append("description",He.description||""),Lt.append("publish_time",z()(He.publish_time).format("YYYY-MM-DD HH:mm")),Lt.append("end_time",z()(He.end_time).format("YYYY-MM-DD HH:mm")),Lt.append("file",gt);let mt=yield(0,E.ZP)(`/api/courses/${ke.coursesId}/export_external_score_homework.json`,{method:"post",body:Lt},!0);Xe(!1),(mt==null?void 0:mt.status)===0&&(ot.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}}),Le(),((Ge=(Te=mt==null?void 0:mt.data)==null?void 0:Te.fail)==null?void 0:Ge.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ae.createElement(xe.default,{pagination:!1,dataSource:(pt=mt==null?void 0:mt.data)==null?void 0:pt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ne.FH)("",oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Me.actionTabs.type}`)}}))})},ae.createElement(Pe.default.Item,{label:Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},ae.createElement(ue.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Me.actionTabs.type!=="exercise"&&ae.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},ae.createElement(me.Z,{watch:!0})),Me.actionTabs.type==="exercise"&&ae.createElement(Oe.Z,{style:{marginLeft:6}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},ae.createElement(ue.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},ae.createElement(Ie.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),ae.createElement(Oe.Z,{style:{marginLeft:6,marginBottom:12}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:He=>(0,b.Q8)(He),disabledTime:He=>(0,b.d0)(He),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:He=>(0,b.Q8)(He,"",ot.getFieldValue("publish_time")),disabledTime:He=>(0,b.d0)(He,ot.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),ae.createElement(Pe.default.Item,{style:{marginBottom:0},label:ae.createElement("div",null,ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ae.createElement("div",null,ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:a.Z.downloadbutton,href:oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Me.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ae.createElement(Pe.default.Item,{style:{marginBottom:0}},ae.createElement(Ee,ge({},St),ae.createElement("a",{className:a.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("br",null),ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,De.connect)(({classroomList:Me})=>({classroomList:Me}))(Je)},48436:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var x=te(59301),re=te(20834),Pe=te(92832),Fe=te(24905),be=te(3113),xe=te(38854),ue={bottomControlContainer:"bottomControlContainer___woAeo",buttonWrap:"buttonWrap___iRw4K",moveCategory:"moveCategory___oiQqw"},Oe=te(41867),je=te(84105),Ne=({buttonDataSource:De,onButtonClick:me,useBatchStatus:oe,allSelect:a,setAllSelect:E,selectArrs:b,onMenuClick:y,setSeleArr:z,catalogue:ne,addCatalogue:ae})=>{const[le,ie]=(0,x.useState)(!1),[de,se]=(0,x.useState)("");console.log("---",ne);const ce=x.createElement("div",{className:ue.moveCategory,onMouseLeave:ge=>ie(!1)},x.createElement(re.default,{onClick:y,style:{maxHeight:300,width:240,overflow:"auto"}},x.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},x.createElement(Pe.default,{onChange:ge=>{se(ge.target.value)}})),ne==null?void 0:ne.map(function(ge,ve){var Ee;if(!(de!==""&&ge.category_name.indexOf(de)<0))return x.createElement(x.Fragment,null,x.createElement(re.default.Item,{className:"multi-llipsis1e",key:ge.category_id,title:ge.category_name},ge.category_name),(Ee=ge==null?void 0:ge.third_category)==null?void 0:Ee.map(Je=>x.createElement(re.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Je.category_id,title:Je.category_name},Je.category_name)))}),ae&&x.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:ae},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return x.createElement("div",{className:ue.bottomControlContainer},x.createElement("div",null,x.createElement("div",null,x.createElement(Fe.default,{checked:a,onChange:E},"\u5168\u9009\u672C\u9875\uFF08",b.length,"\uFF09")),(0,Oe.GJ)()&&De.map(ge=>x.createElement("div",{key:ge.name},x.createElement(be.ZP,{type:"primary",icon:ge.icon,className:ue.buttonWrap,onClick:()=>me(ge)},ge.name))),(0,Oe.GJ)()&&(ae||ne)&&x.createElement("div",null,x.createElement(xe.Z,{open:le,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ce,getPopupContainer:ge=>ge.parentNode},x.createElement("span",{className:"ant-dropdown-link",onMouseEnter:ge=>ie(!0)},x.createElement(be.ZP,{type:"primary",className:ue.buttonWrap,icon:x.createElement("i",{className:"iconfont icon-yidongmulu"})},x.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",x.createElement(je.Z,null))))))),x.createElement("div",null,x.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{oe(!1),z([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},42656:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return E}});var x=te(59301),re=te(65582),Pe=te(5083),Fe=te(43418),be=te(92832),xe=te(95237),ue=te(43604),Oe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},je=te(56656),Ie=te.n(je),Ne=te(65862),De=te(2524),me=te(59301);const{RangePicker:oe}=Pe.default,a=({dispatch:b,classroomList:y,onConfirm:z})=>{const[ne,ae]=(0,x.useState)([]),[le,ie]=(0,x.useState)([]),[de,se]=(0,x.useState)("");(0,x.useEffect)(()=>{var ve;if(y.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ee=y.actionTabs.data;console.log("data",Ee);let Je=(ve=Ee==null?void 0:Ee.group_name)==null?void 0:ve.map((Me,Ue)=>{var Le;return{group_id:Ee==null?void 0:Ee.group_id[Ue],group_name:Ee==null?void 0:Ee.group_name[Ue],is_admin:Ee==null?void 0:Ee.is_admin,end_time:Ee==null?void 0:Ee.end_time,publish_time:Array.isArray(Ee==null?void 0:Ee.publish_time)?(Le=Ee==null?void 0:Ee.publish_time)==null?void 0:Le[0]:Ee==null?void 0:Ee.publish_time}});Je&&(ae([...Je]),ie([...Je]))}},[y.actionTabs]);const ce=()=>{b({type:"classroomList/setActionTabs",payload:{}}),se("")},ge=ve=>{if(ve){const Ee=le==null?void 0:le.filter(Je=>{var Me,Ue;return(Ue=(Me=Je==null?void 0:Je.group_name)==null?void 0:Me.toLowerCase())==null?void 0:Ue.includes(ve==null?void 0:ve.toLowerCase())});ae(Ee)}else ae(le)};return me.createElement(Fe.default,{width:980,title:me.createElement("div",{style:{fontWeight:"bold",display:"flex"}},me.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",me.createElement("span",{className:Oe.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),me.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:de,onChange:ve=>{se(ve.target.value.trim()),ge(ve.target.value.trim())}})),centered:!0,maskClosable:!1,open:y.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>ce(),onOk:()=>{var ve;z((ve=y.actionTabs)==null?void 0:ve.index,le),ce()}},me.createElement("div",{className:Oe.modal_con},me.createElement(xe.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ne==null?void 0:ne.length)>0?ne.map(function(ve,Ee){var Je,Me;return me.createElement(ue.Z,{span:24,key:Ee},me.createElement(xe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ee==(ne==null?void 0:ne.length)-1?"0px":"10px"}},me.createElement("div",{className:Oe.multiple_select,title:ve.group_name},ve.group_name),me.createElement("div",{className:"ml20"},me.createElement(oe,{size:"large",ranges:{\u6B64\u523B:[ve.publish_time?Ie()(ve.publish_time):Ie()(),Ie()()]},allowClear:!1,disabled:(Je=y.actionTabs)==null?void 0:Je.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Ue=>{var Le;return(0,Ne.Q8)(Ue,(Le=y.actionTabs)==null?void 0:Le.disabledDate)},disabledTime:Ue=>(0,Ne.d0)(Ue),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ie()((0,Ne.U6)(),"HH:mm"),Ie()((0,Ne.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:ve.publish_time&&[Ie()(ve.publish_time),ve.end_time?Ie()(ve.end_time):void 0],onChange:(Ue,Le)=>{ne[Ee].publish_time=Le[0],ne[Ee].end_time=Le[1],ae([...ne]),le.forEach(ke=>{ke.group_id===ve.group_id&&(ke.publish_time=Le[0],ke.end_time=Le[1])}),ie([...le])}})),(Me=y.actionTabs)!=null&&Me.rangePickerDisabled?me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ne.splice(Ee,1),ae([...ne]),le.forEach((Ue,Le)=>{Ue.group_id===ve.group_id&&le.splice(Le,1)}),ie([...le])}})))}):me.createElement(De.Z,null))))};var E=(0,re.connect)(({classroomList:b})=>({classroomList:b}))(a)},37497:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return y}});var x=te(59301),re=te(20834),Pe=te(24905),Fe=te(3113),be=te(38854),xe=te(6848),ue=te(57809),Oe=te(92832),je={searchSortControllerContainer:"searchSortControllerContainer___Xca1m",btn:"btn___sNJPX",btnSort:"btnSort___Fx9OM",tips:"tips___LrmpR"},Ie=te(41867),Ne=te(87395),De=te(84105),me=te(26724),oe=te.n(me),a=te(65582),E=(z,ne,ae)=>new Promise((le,ie)=>{var de=ge=>{try{ce(ae.next(ge))}catch(ve){ie(ve)}},se=ge=>{try{ce(ae.throw(ge))}catch(ve){ie(ve)}},ce=ge=>ge.done?le(ge.value):Promise.resolve(ge.value).then(de,se);ce((ae=ae.apply(z,ne)).next())}),y=({isAdmin:z,dataSource:ne,batchStatus:ae,SortMenuName:le,setSortMenuName:ie,detailCourseGroupsList:de,onSearch:se,onBoard:ce,onSort:ge,isboard:ve,dispatch:Ee,onBatch:Je,SortMenus:Me,isShowMode:Ue=!1,onModeChange:Le})=>{const[ke,ot]=(0,x.useState)(!1),[gt,it]=(0,x.useState)([]),[nt,Xe]=(0,x.useState)(!0);let[St,He]=(0,x.useState)([]);const[Te,Ge]=(0,x.useState)(1),[pt,Lt]=(0,x.useState)(!1),mt=(0,a.useParams)(),Pn=tn=>{ie(tn.name),ge(tn)};(0,x.useEffect)(()=>{ve&&ze()},[ve]);const ze=()=>E(void 0,null,function*(){var tn;if(nt&&!pt){Lt(!0),Ge(Te+1);const En=yield Ee({type:"classroomList/getCourseGroupsList",payload:{page:Te,id:mt.coursesId,limit:20,nonenavigate:!0}});let ut=[...(En==null?void 0:En.course_groups)||[]];((tn=En==null?void 0:En.course_groups)==null?void 0:tn.length)<20&&(Xe(!1),ut.push({id:0,name:"\u672A\u5206\u73ED"})),Lt(!1),He([...St,...ut])}}),At=x.createElement("section",{className:je.dropmenu},x.createElement("div",{style:{maxHeight:200,overflow:"auto"}},x.createElement(oe(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:tn=>{ze()},hasMore:nt,useWindow:!1},x.createElement(re.default,{style:{width:240,zIndex:10}},(de==null?void 0:de.group_count)>0&&(St==null?void 0:St.filter(tn=>tn.edit_auth||tn.name==="\u672A\u5206\u73ED").map(function(tn,En){return x.createElement(re.default.Item,{key:tn.id},x.createElement(Pe.default,{checked:gt.includes(tn.id),value:tn.id,onChange:ut=>{let ft=gt.indexOf(tn.id);gt.indexOf(tn.id)>-1?it(gt.filter(_e=>_e!==tn.id)):it(gt.concat(tn.id))}},tn.name))}))))),x.createElement("aside",{style:{background:"#fff"}},x.createElement("div",null,x.createElement(Fe.ZP,{type:"link",onClick:()=>{ce(gt)}},"\u786E\u5B9A"),x.createElement(Fe.ZP,{type:"link",onClick:()=>{it([])}},"\u91CD\u7F6E")))),Wt=le==="\u9ED8\u8BA4\u6392\u5E8F";return x.createElement("div",{className:je.searchSortControllerContainer},!!(Me!=null&&Me.length)&&x.createElement("div",null,x.createElement(be.Z,{dropdownRender:()=>x.createElement(re.default,{selectedKeys:[le]},Me.map(tn=>x.createElement(re.default.Item,{key:tn.name,onClick:()=>Pn(tn)},tn.name)))},x.createElement("div",null,x.createElement("span",{className:`${je.btn} ${Wt?je.btnSort:""}`},x.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),le)))),Wt&&x.createElement(xe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},x.createElement("span",{className:je.tips},x.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Ue&&x.createElement(ue.default,{defaultValue:"",onChange:Le,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),x.createElement(Oe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:se,style:{width:220,marginLeft:Ue?"":"auto"}}),(0,Ie.eB)()&&ve&&x.createElement(be.Z,{dropdownRender:()=>At,open:ke,onOpenChange:tn=>{ot(tn)}},x.createElement("a",null,"\u5206\u73ED",ke?x.createElement(Ne.Z,{style:{marginLeft:6}}):x.createElement(De.Z,{style:{marginLeft:6}}))))}},95651:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return De}});var x=te(59301),re=te(95237),Pe=te(43604),Fe=te(20834),be=te(38854),xe=te(8591),ue=te(6848),Oe={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},je=te(65582),Ie=te(41867),De=({isLoading:me,addText:oe,tabDataSource:a,isAdmin:E,dispatch:b,classroomList:y,type:z,isExercise:ne,defaultSelectedKeys:ae,onTabMenuClick:le,getDropdownMenu:ie,showControlButton:de,buttonText:se,buttonIcon:ce="icon-tianjiadaohang",extraNode:ge,user:ve,onButtonClick:Ee,isModelUser:Je,menuItemWidth:Me=125})=>{var Ue,Le,ke,ot,gt;const it=(0,je.useParams)();return x.createElement("div",{className:Oe.tabMenuContainer},x.createElement(re.Z,null,x.createElement(Pe.Z,{flex:"1"},x.createElement(Fe.default,{onSelect:nt=>me?{}:le(nt),mode:"horizontal",selectedKeys:ae},a.map(nt=>x.createElement(Fe.default.Item,{style:{width:Me},key:typeof nt.index=="number"?nt.index:nt.id},x.createElement("span",{className:"c-grey-666"},nt.name),nt.total!==void 0&&E&&x.createElement("span",{className:"c-grey-999 ml20"},nt.total||0))))),E&&ne&&x.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{b({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),E&&x.createElement(Pe.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},ne&&x.createElement(be.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>x.createElement(Fe.default,null,x.createElement(Fe.default.Item,{key:1,onClick:()=>{var nt;if((0,Ie.Rm)()&&!((nt=y.AssistantObject.exercise)!=null&&nt.can_download)){xe.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}b({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:z,exportType:"exercise",category_id:it.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),x.createElement(Fe.default.Item,{key:3,onClick:()=>{var nt;if((0,Ie.Rm)()&&!((nt=y.AssistantObject.exercise)!=null&&nt.can_download)){xe.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}je.history.push(`/classrooms/${it==null?void 0:it.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},x.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},x.createElement("span",{style:{color:"#666666",cursor:"pointer"}},x.createElement("i",{className:"iconfont icon-xiazai6"})))),x.createElement("div",{className:Oe.control},x.createElement("div",{className:Oe.extra},ge),de&&(se=="\u6DFB\u52A0\u76F4\u64AD"?x.createElement(be.Z,{menu:{items:(Le=(Ue=[{label:x.createElement("div",{onClick:()=>{Ee("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Je&&{label:x.createElement("div",{onClick:()=>{Ee("\u5934\u6B4C")}},"\u5934\u6B4C\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Ue.filter(nt=>nt==null?void 0:nt.show))==null?void 0:Le.map(nt=>({label:nt==null?void 0:nt.label,key:nt==null?void 0:nt.key}))}},x.createElement("span",{className:Oe.selectBtn},x.createElement("span",null,x.createElement("i",{className:`iconfont ${ce}`})),x.createElement("span",null,se))):x.createElement("span",{onClick:Ee,style:{cursor:"pointer"},className:Oe.selectBtn},x.createElement("span",null,x.createElement("i",{className:`iconfont ${ce}`})),x.createElement("span",null,se))),!!ie&&x.createElement(be.Z,{disabled:((ke=ve==null?void 0:ve.userInfo)==null?void 0:ke.user_status)===2,className:"ml10",dropdownRender:ie},x.createElement("span",{className:((ot=ve==null?void 0:ve.userInfo)==null?void 0:ot.user_status)===2?Oe.selectBtn1:Oe.selectBtn},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-tianjiadaohang"})),x.createElement(ue.Z,{title:((gt=ve==null?void 0:ve.userInfo)==null?void 0:gt.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},x.createElement("span",null,oe||"\u521B\u5EFA\u8BD5\u5377"))))))))}},28617:function(at,Qe,te){"use strict";te.r(Qe),te.d(Qe,{default:function(){return vs}});var x=te(2337),re=te(59301),Pe=te(65582),Fe=te(43418),be=te(20834),xe=te(8591),ue=te(61621),Oe=te(58421),je=te(81228),Ie=te(3113),Ne=te(24905),De=te(56656),me=te.n(De),oe=te(41867),a=te(65862),E=te(2524),b=te(38147),y=te(99313),z=te(78241),ne=te(6848),ae=te(5871),le=te(57809),ie=te(92832),de=te(26724),se=te.n(de),ce=te(49018),ge={flex_box_center:"flex_box_center___aIYEA",flex_space_between:"flex_space_between___hCKPx",flex_box_vertical_center:"flex_box_vertical_center___K6UJb",flex_box_center_end:"flex_box_center_end___BVN_k",flex_box_column:"flex_box_column___S4apM",bg:"bg___Pox5v",containerTitle:"containerTitle___laevg",containerDesc:"containerDesc___IIMRX",menus:"menus___atKNl",listItem:"listItem___zDBVK",info:"info___k52wj",title:"title___zq7AS",titleLeft:"titleLeft___efDI2",titleRight:"titleRight___uQt6L",acitons:"acitons___Vg6al",move:"move___Ga0E4",hideHeadCheckbox:"hideHeadCheckbox___pLoYs",moveCategory:"moveCategory___eZPjj",tabSearch:"tabSearch___IlcNp",warpModal:"warpModal___hzRTF",modalColumn:"modalColumn___Rcl4F",modalRow:"modalRow___rzx2r",sup:"sup___cAGuY",name:"name___flQya"},ve=te(66457),Ee=te(35479),Je=te(79274),Me=te(90463),Ue=te(83028),Le=te(60979),ke=te(59301),ot=Object.defineProperty,gt=Object.defineProperties,it=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,He=(ee,he,fe)=>he in ee?ot(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Te=(ee,he)=>{for(var fe in he||(he={}))Xe.call(he,fe)&&He(ee,fe,he[fe]);if(nt)for(var fe of nt(he))St.call(he,fe)&&He(ee,fe,he[fe]);return ee},Ge=(ee,he)=>gt(ee,it(he)),pt=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const{TabPane:Lt}=y.default,mt=({classroomList:ee,exercise:he,loading:fe,dispatch:We})=>{var Vt;const yt=(0,Pe.useParams)(),bt=(0,Pe.useLocation)(),[fn]=z.default.useForm(),{brankList:vt}=he;let[Zt,nr]=(0,re.useState)(!0),[Zo,Co]=(0,re.useState)(!1);const[da,Ho]=(0,re.useState)("myself");let[Qn,Ja]=(0,re.useState)([]),[Ga,ja]=(0,re.useState)([]),[vr,Xo]=(0,re.useState)(),[qo,$o]=(0,re.useState)([]);const ur=(0,re.useRef)(null),[Vo,Va]=(0,re.useState)(!1),[Ro,Jn]=(0,re.useState)(""),[_t,bl]=(0,re.useState)(""),[ko,zn]=(0,re.useState)(!1),[Wo,Tr]=(0,re.useState)({}),on=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(Xt,$a,br)=>ke.createElement("div",{style:{display:"flex",alignItems:"center"}},ke.createElement(ne.Z,{title:Xt},ke.createElement("div",{title:Xt,className:ge.name},Xt)),($a==null?void 0:$a.high_resources_consume)&&ke.createElement(Me.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:Xt=>ke.createElement(ne.Z,{title:Xt},ke.createElement("span",null,Xt))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:Xt=>Xt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(Xt,$a)=>ke.createElement("a",{href:Xt?`/randompaper/detail/${$a.id}`:`/paperlibrary/see/${$a.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[la,vo]=(0,re.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,re.useEffect)(()=>{he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(er(),$o([]),Ta())},[he.actionTabs.key]);const Ta=()=>pt(void 0,null,function*(){const Xt=yield We({type:"paperlibrary/getTeachGroupData"});ja(Xt)}),jt=Xt=>{const $a=parseInt(Xt);return isNaN($a)?"":$a},er=()=>pt(void 0,null,function*(){var Xt,$a;if(Zt){++la.page,nr(!1);const br=yield We({type:"exercise/getBrankList",payload:Ge(Te({},la),{search:(Xt=la.search)==null?void 0:Xt.trim()})});Qn=br!=null&&br.object_list?[...Qn.concat(br==null?void 0:br.object_list)]:Qn,la.filter==="public"?Xo(br.is_teacher):Xo(!0),(($a=br.object_list)==null?void 0:$a.length){ur.current.scrollTop=0,Qn=[],la.page=0,la.group_id=Xt,Zt=!0,$o([]),vo(Te({},la)),er()},Sl={selectedRowKeys:qo,onChange:Xt=>{$o(Xt)},type:"radio"},Rr=()=>{vo(Te({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),Ja([]),nr(!0),Ho("myself"),We({type:"exercise/setActionTabs",payload:{}}),Co(!1)},[jl,Br,Mt,Ft]=(0,Ee.P)(),ln=Xt=>pt(void 0,null,function*(){let $a=!1;Qn.forEach(Or=>{qo.includes(Or.id)&&($a=Or.is_random)});const br=Xt.map(Or=>({shixun_id:Or.id,is_use:Or.is_use,is_copy:Or.is_copy}));if(!$a){zn(!0);const Or=yield We({type:"exercise/saveBanks",payload:{course_id:yt.coursesId,category_id:(yt==null?void 0:yt.categoryId)||null,object_type:"examination_bank",bank_id:qo,shixuns_info:br}});zn(!1),(Or==null?void 0:Or.status)===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),We({type:"classroomList/getClassroomExercisesList",payload:Te({},he.actionTabs.params)}),We({type:"classroomList/getClassroomLeftMenus",payload:{id:yt.coursesId}}),Jn(`/classrooms/${yt.coursesId}/exercise/${Or.exercise_id}/detail?random=${Or.is_random}&tabs=3`),bl(`/classrooms/${yt.coursesId}/exercise/add/${Or.exercise_id}?random=${Or.is_random}&type=2`),Va(!0),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Br(),Rr());return}zn(!0),setTimeout(()=>{zn(!1)},500),We({type:"exercise/setActionTabs",payload:{}});let Dl=1,zl=Fe.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:ke.createElement("div",{className:ge.modalColumn},ke.createElement("div",{className:ge.modalRow},ke.createElement("sup",{className:ge.sup},"*"),ke.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),ke.createElement(ae.Z,{parser:jt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Dl,onChange:Or=>{Dl=Or;const Ai=document.getElementById("model_error");Dl<1||Dl>50?Ai.style.display="block":Ai.style.display="none"}})),ke.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:Rr,onOk:()=>pt(void 0,null,function*(){if(Dl<1||Dl>50){const Ai=document.getElementById("model_error");return Ai.style.display="block",Promise.reject()}zl.update({cancelButtonProps:{disabled:!0}});const Or=yield We({type:"exercise/saveBanks",payload:{course_id:yt.coursesId,object_type:"examination_bank",bank_id:qo,shixuns_info:br,num:Dl}});zl.update({cancelButtonProps:{disabled:!1}}),Or&&Or.status===0?((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Fe.default.destroyAll(),We({type:"classroomList/getClassroomExercisesList",payload:Te({},he.actionTabs.params)}),Rr(),Br(),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(Rr(),Br())})})});return ke.createElement(ke.Fragment,null,ke.createElement(Fe.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:he.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Zo,bodyStyle:{minHeight:200},wrapClassName:ge.warpModal,onOk:()=>pt(void 0,null,function*(){var Xt;if(!qo.length){xe.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Co(!0);let $a=!1,br=!1;if(Qn.forEach(zl=>{qo.includes(zl.id)&&zl.need_authorize&&($a=zl.need_authorize),qo.includes(zl.id)&&(br=zl.is_random)}),$a){(0,ve.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let Dl=yield(0,Le.Tr)({id:`${qo[0]}`,course_id:(Xt=ee.detailTopBanner)==null?void 0:Xt.course_id,type:"examination_bank"});Co(!1),(Dl==null?void 0:Dl.student_count)===0?ln([]):Tr(Dl)}),onCancel:Rr},ke.createElement(y.default,{activeKey:da,onTabClick:Xt=>pt(void 0,null,function*(){ur.current.scrollTop=0,Qn=[],da!==Xt&&$o([]),Ho(Xt),la.page=0,la.filter=Xt,la.group_id=null,Zt=!0,er()})},ke.createElement(Lt,{tab:ke.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),ke.createElement(Lt,{tab:ke.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),ke.createElement(Lt,{tab:ke.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),ke.createElement("div",{className:ge.tabSearch},da==="teacher"&&ke.createElement(le.default,{value:la.group_id,onChange:vl,size:"middle",style:{width:200,marginRight:30}},ke.createElement(le.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Vt=Ga==null?void 0:Ga.groups)==null?void 0:Vt.map(Xt=>ke.createElement(le.default.Option,{key:Xt==null?void 0:Xt.group_id,value:Xt==null?void 0:Xt.group_id},Xt==null?void 0:Xt.name))),ke.createElement(ie.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:la.search,onChange:Xt=>{la.search=Xt.target.value,vo(Te({},la))},onSearch:Xt=>{ur.current.scrollTop=0,Qn=[],la.page=0,Zt=!0,$o([]),Xt&&(0,Je.tk)({name:Xt,copywriting:Xt,position:"Exercise"}),er()}})),ke.createElement("div",{ref:ur,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!vr&&da==="public"&&ke.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},ke.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),ke.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),ke.createElement(se(),{initialLoad:!1,pageStart:0,loadMore:()=>{er()},hasMore:Zt,useWindow:!1},he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&vr&&ke.createElement(ce.Z,{className:ge.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:Qn,onRow:Xt=>({onClick:()=>{$o([Xt==null?void 0:Xt.id])}}),resColumns:on,rowSelection:Sl})))),ke.createElement(Fe.default,{title:"\u63D0\u793A",open:Vo,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:ke.createElement("div",null,ke.createElement(Ie.ZP,{onClick:()=>{Va(!1),Pe.history.push(_t)}},"\u4FEE\u6539\u8BD5\u5377"),ke.createElement(Ie.ZP,{type:"primary",onClick:()=>{Pe.history.push(Ro),Va(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Va(!1)}},ke.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),ke.createElement(Ue.Z,{resdata:Wo,type:"exercise",okloading:ko,oktext:(Wo==null?void 0:Wo.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Xt=>{ln(Xt)}}),ke.createElement(Ee.Z,{inPaper:!0,visible:jl,onCancel:Br,onOk:ln,renderData:Mt,modalType:"multiple",type:"examination_bank"}))};var Pn=(0,Pe.connect)(({exercise:ee,loading:he,classroomList:fe})=>({exercise:ee,loading:he,classroomList:fe}))(mt),ze=te(71418),At=te(95237),Wt=te(5112),tn=te(5083),En=te(78673),ut=te(87513),ft=te(70414),_e=te(44304),Be=te(43604),rt=te(1710),dt=te(3918),Re={cstuModal:"cstuModal___aXQ_6",removeStyle:"removeStyle___fT_EI",bottom:"bottom___yocae",yes:"yes___Iw504",no:"no___yeWHC",Onerow:"Onerow___hvTnk",searchMember:"searchMember____guvA",searchMemberHeader:"searchMemberHeader___NdQj2"},we=te(96622),lt=te(59301),$e=Object.defineProperty,Ze=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,an=(ee,he,fe)=>he in ee?$e(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,$t=(ee,he)=>{for(var fe in he||(he={}))en.call(he,fe)&&an(ee,fe,he[fe]);if(An)for(var fe of An(he))zt.call(he,fe)&&an(ee,fe,he[fe]);return ee},Ye=(ee,he)=>Ze(ee,ht(he)),et=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Nt=({visible:ee,setVisible:he,onK:fe,selectKeys:We,selectRows:Vt,appointStudent:yt,modalParams:bt,courseId:fn})=>{const vt=(0,Pe.useParams)(),[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1),[da,Ho]=(0,re.useState)([]),[Qn,Ja]=(0,re.useState)([]),[Ga,ja]=(0,re.useState)([]),[vr,Xo]=(0,re.useState)("all"),[qo,$o]=(0,re.useState)("all");let[ur,Vo]=(0,re.useState)(!0);const[Va,Ro]=(0,re.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[Jn,_t]=(0,re.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),bl={selectedRowKeys:Qn,columnWidth:40,hideSelectAll:!0,onSelect:(on,la,vo)=>{let Ta=!0;for(let jt=0;jt{if(on&&vo.length>0){vo.forEach(Ta=>{Qn.push(Ta.user_id),Ga.push(Ta)}),Ja([...Qn]),ja([...Ga]);return}if(!on&&vo.length>0){let Ta=[],jt=[];const er=new Set(vo),vl=new Set(Qn),Sl=new Set(Ga);Ta=[...vl].filter(Rr=>[...er].every(jl=>jl.user_id!==Rr)),jt=[...Sl].filter(Rr=>[...er].every(jl=>jl.user_id!==Rr.user_id)),Ja([...Ta]),ja([...jt])}}};(0,re.useEffect)(()=>{ee&&We&&(Ja([...We]),ja(Vt))},[ee,We]),(0,re.useEffect)(()=>{ee&&(!yt&&bt?Jn.status=bt:Jn.status=null,_t($t({},Jn)),zn())},[ee,yt,bt]);const ko=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(on,la,vo)=>lt.createElement("span",{style:{color:"#333"}},vo+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(on,la,vo)=>lt.createElement("span",null,on)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(on,la,vo)=>lt.createElement("span",{style:{color:"#666"}},on)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(on,la)=>lt.createElement("span",null,on)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(on,la)=>lt.createElement("span",null,on||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(on,la)=>lt.createElement("span",null,on)}].filter(on=>bt===1||bt===2?on.title!=="\u72B6\u6001":!0),zn=()=>et(void 0,null,function*(){var on,la,vo;Co(!0);const Ta=yield(0,b.ZP)(`/api/exercises/${vt.categoryId||fn}/wait_make_up_students.json`,{method:"get",params:Ye($t({},Jn),{keywords:(on=Jn==null?void 0:Jn.keywords)==null?void 0:on.trim()})});if(Ta.status===0){const jt=((vo=(la=Ta==null?void 0:Ta.data)==null?void 0:la.all_course_groups)==null?void 0:vo.map(er=>({value:er==null?void 0:er.id,label:er==null?void 0:er.name})))||[];Ro([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...jt]),Ho(Ta.data)}Co(!1)}),Wo=()=>{Jn.page=1,Jn.status=null,Jn.course_group_id=null,Jn.keywords="",Xo("all"),$o("all"),Ja([]),ja([]),_t($t({},Jn)),yt&&fe(Qn==null?void 0:Qn.length,Qn,Ga)},Tr=()=>{Jn.page=1,Jn.status=null,Jn.course_group_id=null,Jn.keywords="",_t($t({},Jn)),Xo("all"),$o("all"),Ja([]),ja([]),he(!1)};return lt.createElement(Fe.default,{centered:!0,className:Re.cstuModal,title:bt===1?"\u7F3A\u8003\u5B66\u751F":bt===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ee,width:1200,footer:null,onCancel:()=>{Tr()}},lt.createElement(At.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},lt.createElement(At.Z,null,lt.createElement(Be.Z,null,lt.createElement(le.default,{size:"large",value:vr,style:{width:200,marginRight:20},onChange:on=>{Xo(on),on==="all"?Jn.course_group_id=null:Jn.course_group_id=on,Jn.page=1,_t($t({},Jn)),zn()},options:Va})),yt&<.createElement(Be.Z,null,lt.createElement(le.default,{size:"large",value:qo,style:{width:200},onChange:on=>{$o(on),on==="all"?Jn.status=null:Jn.status=on,Jn.page=1,_t($t({},Jn)),zn()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),lt.createElement(Be.Z,null,lt.createElement(dt.t7,{style:{width:300,marginLeft:15},value:Jn.keywords,allowClear:!0,onChange:on=>{Jn.keywords=on,Jn.page=1,_t($t({},Jn)),zn()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),lt.createElement(At.Z,{align:"middle",className:"mb30"},lt.createElement(Be.Z,{span:14},lt.createElement("div",{className:"flexd-table-header"},lt.createElement(rt.default,{pagination:!1,dataSource:[],columns:ko,rowSelection:yt?bl:null,rowKey:on=>on.user_id})),lt.createElement("div",null,lt.createElement(rt.default,{rowSelection:yt?bl:null,columns:ko,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:on=>on.user_id,loading:Zo,dataSource:da==null?void 0:da.exercise_users,onChange:(on,la,vo)=>{Jn.page=on==null?void 0:on.current,Jn.limit=on==null?void 0:on.pageSize,vo!=null&&vo.order?(Jn.sort_by=vo==null?void 0:vo.field,Jn.direction=(vo==null?void 0:vo.order)==="ascend"?"asc":"desc"):(Jn.sort_by=null,Jn.direction=null),_t($t({},Jn)),zn()},pagination:!1}))),lt.createElement(Be.Z,{span:1},lt.createElement("img",{src:we,style:{marginLeft:10}})),lt.createElement(Be.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},lt.createElement("div",{className:Re.searchMember,style:{width:550}},lt.createElement(At.Z,{className:Re.searchMemberHeader},lt.createElement(Be.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),lt.createElement(Be.Z,{flex:"110px"},"\u5B66\u53F7"),lt.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),lt.createElement("div",{style:{overflow:"auto",height:390}},Ga==null?void 0:Ga.map((on,la)=>lt.createElement(At.Z,{key:la,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},lt.createElement(Be.Z,{flex:"100px"},on.user_name),lt.createElement(Be.Z,{flex:"110px"},on.student_id),lt.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},on.user_group_name),lt.createElement(Be.Z,{style:{marginLeft:10}},lt.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{ja(Ga.filter(vo=>vo.user_id!=on.user_id)),Ja(Qn.filter(vo=>vo!=on.user_id))}})))))))),!(bt===1||bt===2)&<.createElement("div",{className:Re.bottom},lt.createElement(Ie.ZP,{className:Re.no,onClick:()=>{Tr()}},"\u53D6\u6D88"),lt.createElement(Ie.ZP,{loading:Zt,type:"primary",onClick:()=>{Wo()}},"\u786E\u5B9A")))};var Gt=(0,Pe.connect)(({})=>({}))(Nt),gn={contentInterval:"contentInterval___X53PP",numberInput:"numberInput___WtIey",minorRuleText:"minorRuleText___CPyNm",failedList:"failedList___OOvHs",name:"name___PGVi5",publish:"publish___BGtTv"},Rt=te(59301),Fn=Object.defineProperty,jn=Object.defineProperties,ea=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,Sa=Object.prototype.propertyIsEnumerable,ro=(ee,he,fe)=>he in ee?Fn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,oa=(ee,he)=>{for(var fe in he||(he={}))rn.call(he,fe)&&ro(ee,fe,he[fe]);if(xa)for(var fe of xa(he))Sa.call(he,fe)&&ro(ee,fe,he[fe]);return ee},xn=(ee,he)=>jn(ee,ea(he)),wa=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});function Da(ee,he){const fe=[];for(let We=ee;We{let he=new Date;const fe=me()(ee).format("HH");if(me()(ee).isSame(me()(he),"day")){const We=me()(he).format("HH"),Vt=me()(he).format("mm");return{disabledHours:()=>Da(0,24).splice(1,We*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",fe,We),me()(ee).isSame(me()(he),"hour")&&fe<=We?Da(0,60).splice(0,Vt):Da(60,60))}}else if(me()(ee).isSame(me()(),"day")){const We=me()().format("HH"),Vt=me()().format("mm");return{disabledHours:()=>Da(0,24).splice(0,We),disabledMinutes:()=>fe<=We?Da(0,Vt):Da(60,60)}}else return!1},Dn=({exercise:ee,dispatch:he})=>{var fe,We,Vt,yt,bt,fn,vt,Zt,nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur;const Vo=(0,Pe.useParams)(),[Va]=z.default.useForm(),[Ro,Jn]=(0,re.useState)(1),[_t,bl]=(0,re.useState)([]),[ko,zn]=(0,re.useState)(!0),[Wo,Tr]=(0,re.useState)([]),[on,la]=(0,re.useState)(!0),[vo,Ta]=(0,re.useState)(!1),{workSetting:jt}=ee,[er,vl]=(0,re.useState)(!1),[Sl,Rr]=(0,re.useState)([]),[jl,Br]=(0,re.useState)([]),[Mt,Ft]=(0,re.useState)(!1),[ln,Xt]=(0,re.useState)(!1),[$a,br]=(0,re.useState)(!1),[Dl,zl]=(0,re.useState)(null),[Or,Ai]=(0,re.useState)(1),[nu,zi]=(0,re.useState)({}),[yu,au]=(0,re.useState)({}),[Iu,ou]=(0,re.useState)(!1);(0,re.useEffect)(()=>{var ma;if(ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(ya(),Zi(),ee.actionTabs.type===2)){const no=(ma=ee.actionTabs)==null?void 0:ma.unified_setting;la(no)}},[ee.actionTabs]),(0,re.useEffect)(()=>{var ma,no,ba,Lo,ga,Ua,Cr;(ma=jt==null?void 0:jt.exercise)!=null&&ma.publish_time&&Va.setFieldsValue({publish_time:me()((no=jt==null?void 0:jt.exercise)==null?void 0:no.publish_time)}),(ba=jt==null?void 0:jt.exercise)!=null&&ba.end_time&&Va.setFieldsValue({end_time:me()((Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.end_time)}),Va.setFieldsValue({exercise_type:(ga=jt==null?void 0:jt.exercise)==null?void 0:ga.exercise_type,simulate_exercise_num:(Ua=jt==null?void 0:jt.exercise)==null?void 0:Ua.simulate_exercise_num}),Ai((Cr=jt==null?void 0:jt.exercise)==null?void 0:Cr.exercise_type)},[ee]);const kt=ma=>{var no;const ba=Va.getFieldValue("publish_time");if(!ba||(no=jt==null?void 0:jt.exercise)!=null&&no.publish_time)return;let Lo;ma===1?Lo=me()(ba).add(120,"minutes"):Lo=me()(ba).add(7,"days"),Va.setFieldsValue({end_time:Lo})},ya=ma=>wa(void 0,null,function*(){var no,ba;zn(!0);const Lo=yield(0,ut.N3)({coursesId:Vo.coursesId,check_ids:[...((no=ee.actionTabs.selectArrs)==null?void 0:no.map(Ua=>Number(Ua)))||[]]});console.log(Lo,"res");const ga=((ba=Lo==null?void 0:Lo.course_info)==null?void 0:ba.map((Ua,Cr)=>xn(oa({},Ua),{key:Ua.course_group_id,title:Ua.course_group_name,name:Ua.course_group_name,disabled:!!Ua.is_published})))||[];if((Lo==null?void 0:Lo.status)!==-1){bl([...ga]);const Ua=me()();Va.setFieldsValue({publish_time:Ua}),(Va.getFieldValue("exercise_type")||1)===1?Va.setFieldsValue({end_time:me()(Ua).add(120,"minutes")}):Va.setFieldsValue({end_time:me()(Ua).add(7,"days")})}zn(!1)});(0,re.useEffect)(()=>{var ma,no,ba,Lo,ga,Ua;if((ma=jt==null?void 0:jt.exercise)!=null&&ma.is_appoint_user){const Cr=((ba=(no=jt==null?void 0:jt.exercise)==null?void 0:no.all_exercise_users)==null?void 0:ba.map(ho=>ho.user_id))||[];Rr([...Cr])}Ft((Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.is_appoint_user),Xt((ga=jt==null?void 0:jt.exercise)==null?void 0:ga.is_miss_exam_user),br((Ua=jt==null?void 0:jt.exercise)==null?void 0:Ua.is_no_passing_user)},[jt]),(0,re.useEffect)(()=>{var ma,no,ba,Lo,ga,Ua,Cr,ho;(no=(ma=ee==null?void 0:ee.actionTabs)==null?void 0:ma.selectArrs)!=null&&no[0]&&ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&he({type:"exercise/getWorkSetting",payload:{categoryId:(Lo=(ba=ee==null?void 0:ee.actionTabs)==null?void 0:ba.selectArrs)==null?void 0:Lo[0],category:(Ua=(ga=ee==null?void 0:ee.actionTabs)==null?void 0:ga.selectArrs)==null?void 0:Ua[0],coursesId:(ho=(Cr=ee==null?void 0:ee.actionTabs)==null?void 0:Cr.params)==null?void 0:ho.id}})},[(fe=ee==null?void 0:ee.actionTabs)==null?void 0:fe.selectArrs]);const yl=()=>wa(void 0,null,function*(){var ma,no,ba,Lo,ga,Ua,Cr;const ho=oa({},Va.getFieldsValue()),Pu=me()(me()(ho.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),cc=me()(me()(ho.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Pu,Pu,33),cc<=Pu){xe.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((Wo==null?void 0:Wo.length)<=0&&!on&&_t.length>0&&!((ma=jt==null?void 0:jt.exercise)!=null&&ma.is_make_up_exercise)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const xc=_t.map(ul=>ul.key),Jl={check_ids:[...((no=ee.actionTabs.selectArrs)==null?void 0:no.map(ul=>Number(ul)))||[]],end_time:me()(ho.end_time).format("YYYY-MM-DD HH:mm"),publish_time:me()(ho.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:Wo.map(ul=>ul.course_group_id),unified_setting:!Wo.length,exercise_type:ho.exercise_type,simulate_exercise_num:ho.simulate_exercise_num};if(((ba=ee.actionTabs.selectArrsAll)==null?void 0:ba.length)>0&&ee.actionTabs.type===1&&(Jl.check_ids=[...((ga=(Lo=ee.actionTabs.selectArrsAll)==null?void 0:Lo.filter(ul=>!ul.high_resources_consume||ul.high_resources_consume_permission))==null?void 0:ga.map(ul=>Number(ul==null?void 0:ul.id)))||[]]),(Ua=jt==null?void 0:jt.exercise)!=null&&Ua.is_make_up_exercise){if(Mt&&Sl.length<=0||!Mt&&!(ln||$a)){xe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Jl.is_appoint_user=Mt,Jl.is_miss_exam_user=ln,Jl.is_no_passing_user=$a,Mt?Jl.make_up_exercise_users=Sl.map(ul=>({user_id:ul})):Jl.make_up_exercise_user=[]}let{is_locked:dc,open_camera:gc,screen_open:mc,login_restrict:fc,ip_bind:pc,ip_limit:Ks,is_random:Us,id:Vs,identity_verify:vc,open_phone_video_recording:hc}=jt==null?void 0:jt.exercise;if(ee.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(dc||gc||mc||fc||pc||Ks=="pub"||Ks=="inner"||vc||hc)&&ho.exercise_type==2){if(he({type:"exercise/setActionTabs",payload:{}}),ee.actionTabs.type==2){let ul=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:Rt.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",Rt.createElement("span",{style:{color:"#FA6400"}}," ",(0,a.hi)(jt==null?void 0:jt.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>wa(void 0,null,function*(){var Au;ou(!0);let Yi=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Vo.coursesId,type:"exercise"});if((Yi==null?void 0:Yi.student_count)===0){if((yield vi(Jl))&&ee.actionTabs.isRouter){ul.destroy(),Pe.history.push(`/classrooms/${Vo.coursesId}/exercise/${Vs}/detail?random=${Us}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else au(Jl),zi(Yi)}),onCancel:()=>{ul.destroy(),ou(!1),vi(Jl)}})}else{let ul=Fe.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:Rt.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>wa(void 0,null,function*(){var Au;ou(!0);let Yi=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Vo.coursesId,type:"exercise"});if((Yi==null?void 0:Yi.student_count)===0){if((yield vi(Jl))&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Vo.coursesId}/exercise/${Vs}/detail?random=${Us}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else au(Jl),zi(Yi)})})}return}let hs=yield(0,Le.Tr)({exercise_ids:[...((Cr=ee.actionTabs.selectArrs)==null?void 0:Cr.map(ul=>Number(ul)))||[]],course_id:Vo.coursesId,type:"exercise"});(hs==null?void 0:hs.student_count)===0?vi(Jl):(au(Jl),zi(hs))}),cl=()=>{var ma;let no=[...(ma=ee.actionTabs.selectArrsAll)==null?void 0:ma.filter(ba=>ba.high_resources_consume&&!ba.high_resources_consume_permission)];(no==null?void 0:no.length)>0&&ee.actionTabs.type===1&&Fe.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:Rt.createElement("div",null,Rt.createElement("div",{className:gn.tipcontent},Rt.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",no==null?void 0:no.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),Rt.createElement("div",{className:"mt20 mb20"},no==null?void 0:no.map(ba=>Rt.createElement("div",{className:gn.failedList,key:ba.id},Rt.createElement("div",{className:gn.name},ba==null?void 0:ba.exercise_name),Rt.createElement("div",{className:gn.publish,onClick:()=>{(0,a.xg)(`/classrooms/${Vo.coursesId}/exercise/${ba.id}/detail?random=${ba.is_random}`)}},"\u53D1\u5E03"))))))})},vi=ma=>wa(void 0,null,function*(){var no,ba,Lo;if(ee.actionTabs.type===1){let Cr=[...(no=ee.actionTabs.selectArrsAll)==null?void 0:no.filter(ho=>ho.high_resources_consume&&!ho.high_resources_consume_permission)];if((Cr==null?void 0:Cr.length)==ee.actionTabs.selectArrsAll.length){he({type:"exercise/setActionTabs",payload:{}}),cl();return}}let ga=!1;return Ta(!0),(yield(0,b.ZP)(`/api/courses/${Vo.coursesId}/exercises/publish.json`,{method:"post",body:ma})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Zi(),xe.ZP.success("\u53D1\u5E03\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),(ba=ee==null?void 0:ee.actionTabs)!=null&&ba.cb?(Lo=ee==null?void 0:ee.actionTabs)==null||Lo.cb():he({type:"classroomList/getClassroomExercisesList",payload:oa({},ee.actionTabs.params)}),ga=!0,ee.actionTabs.type===1&&cl()),Ta(!1),ga}),Zi=()=>{Jn(1),bl([]),Tr([])},fu=(ma,no,ba)=>{ma<=0?xe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(Rr(no),Br(ba),vl(!1))};return Rt.createElement(Fe.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:yl,confirmLoading:vo||ko,onCancel:()=>{Zi(),he({type:"exercise/setActionTabs",payload:{}})}},Rt.createElement(ze.Z,{spinning:ko},_t&&Rt.createElement(z.default,{form:Va},!!((We=ee==null?void 0:ee.actionTabs)!=null&&We.disabled)&&Rt.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},Rt.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((Vt=jt==null?void 0:jt.exercise)!=null&&Vt.is_make_up_exercise)&&Rt.createElement(Rt.Fragment,null,Rt.createElement(At.Z,null,Rt.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},Rt.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),Rt.createElement(z.default.Item,{name:"exercise_type"},Rt.createElement(Wt.ZP.Group,{disabled:((yt=jt==null?void 0:jt.exercise)==null?void 0:yt.exercise_status)>1,onChange:ma=>{Ai(ma.target.value),kt(ma.target.value)}},Rt.createElement(Wt.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),Rt.createElement(Wt.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Or==2&&Rt.createElement(At.Z,{className:`${gn.contentInterval}`},Rt.createElement("span",{className:`${gn.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),Rt.createElement(z.default.Item,{name:"simulate_exercise_num"},Rt.createElement(ae.Z,{className:gn.numberInput,style:{width:145},precision:0,size:"middle",disabled:((bt=jt==null?void 0:jt.exercise)==null?void 0:bt.exercise_status)>1,min:1,max:999})),Rt.createElement("span",null,"\u6B21",Rt.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),Rt.createElement(At.Z,null,Rt.createElement("span",{className:"mr10 mt5"},Rt.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),Rt.createElement(z.default.Item,{name:"publish_time"},Rt.createElement(tn.default,{style:{width:170},disabledDate:ma=>ma&&ma<=me()().subtract(0,"days"),disabledTime:Ht,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),Rt.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),Rt.createElement(z.default.Item,{name:"end_time"},Rt.createElement(tn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,a.U6)(),"HH:mm")},disabledDate:ma=>ma&&ma{var ba,Lo,ga,Ua,Cr;if(Ft(ma),ma)if((ba=jt==null?void 0:jt.exercise)!=null&&ba.is_appoint_user){const ho=(ga=(Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.all_exercise_users)==null?void 0:ga.map(Pu=>Pu.user_id);Rr([...ho])}else Rr([]),Xt(!1),br(!1);else Xt((Ua=jt==null?void 0:jt.exercise)==null?void 0:Ua.is_miss_exam_user),br((Cr=jt==null?void 0:jt.exercise)==null?void 0:Cr.is_no_passing_user)},disabled:((vt=jt==null?void 0:jt.exercise)==null?void 0:vt.exercise_status)!==1}),Rt.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Mt&&Rt.createElement(At.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},Rt.createElement(Ne.default,{checked:ln,disabled:((Zt=jt==null?void 0:jt.exercise)==null?void 0:Zt.exercise_status)!==1||((nr=jt==null?void 0:jt.exercise)==null?void 0:nr.miss_exam_count)<=0,onChange:ma=>{Xt(ma.target.checked)}},Rt.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),Rt.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{zl(1),Ft(!1),vl(!0)}},"\uFF08",`${(Zo=jt==null?void 0:jt.exercise)==null?void 0:Zo.miss_exam_count}\u4EBA`,"\uFF09"),Rt.createElement(Ne.default,{checked:$a,disabled:((Co=jt==null?void 0:jt.exercise)==null?void 0:Co.exercise_status)!==1||((da=jt==null?void 0:jt.exercise)==null?void 0:da.no_passing_count)<=0,onChange:ma=>{br(ma.target.checked)}},Rt.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),Rt.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{zl(2),Ft(!1),vl(!0)}},"\uFF08",`${(Ho=jt==null?void 0:jt.exercise)==null?void 0:Ho.no_passing_count}\u4EBA`,"\uFF09")),Mt&&Rt.createElement(At.Z,{className:"mt20",style:{paddingLeft:"90px"}},Rt.createElement(Ie.ZP,{type:"primary",ghost:!0,disabled:((Qn=jt==null?void 0:jt.exercise)==null?void 0:Qn.exercise_status)!==1,onClick:()=>{vl(!0),zl(void 0)}},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),Rt.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),Rt.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${Sl.length||0} \u4EBA`,"\uFF09"))),ee.actionTabs.type===2&&!((Ja=jt==null?void 0:jt.exercise)!=null&&Ja.is_make_up_exercise)&&Rt.createElement(At.Z,{style:{marginBottom:"10px"}},Rt.createElement("span",{className:"mr10"},Rt.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),Rt.createElement(Wt.ZP.Group,{value:on,onChange:ma=>{la(ma.target.value),Tr([])}},Rt.createElement(Wt.ZP,{disabled:!!((Ga=ee==null?void 0:ee.actionTabs)!=null&&Ga.disabled)||_t.some(ma=>ma==null?void 0:ma.is_published)||!((ja=ee==null?void 0:ee.actionTabs)!=null&&ja.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),Rt.createElement(Wt.ZP,{disabled:_t.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),_t.length<=0&&ee.actionTabs.type===2&&!((vr=jt==null?void 0:jt.exercise)!=null&&vr.is_make_up_exercise)&&Rt.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ee.actionTabs.type===1||!on)&&!((Xo=jt==null?void 0:jt.exercise)!=null&&Xo.is_make_up_exercise)&&_t.length>0&&Rt.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},Rt.createElement("span",{style:{flex:1}},Rt.createElement(Ne.default,{checked:Wo.length===_t.length,onChange:ma=>{Wo.length===_t.length?Tr([]):Tr(_t)}},"\u5168\u9009")),Rt.createElement("span",{style:{width:16}}),Rt.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Wo.length||0,"\u4E2A\u5206\u73ED")),(ee.actionTabs.type===1||!on)&&!((qo=jt==null?void 0:jt.exercise)!=null&&qo.is_make_up_exercise)&&_t.length>0&&Rt.createElement(_e.Z,{data:_t,selectedRowKeys:Wo,setSelectedRowKeys:Tr})),Rt.createElement(Gt,{visible:er,setVisible:vl,onK:fu,selectKeys:Sl,selectRows:jl,appointStudent:Mt,modalParams:Dl,courseId:Vo.categoryId||((ur=($o=ee==null?void 0:ee.actionTabs)==null?void 0:$o.selectArrs)==null?void 0:ur[0])})),Rt.createElement(Ue.Z,{resdata:nu,type:"exercisepush",okloading:vo,oktext:(nu==null?void 0:nu.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ma=>wa(void 0,null,function*(){var no,ba,Lo;Ta(!0);let ga=yield(0,b.ZP)(`/api/courses/${Vo.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((no=ee.actionTabs.selectArrs)==null?void 0:no.map(Ua=>Number(Ua)))||[]]}});if(Ta(!1),(ga==null?void 0:ga.status)===0)if(Iu){let Ua=yield vi(yu);if(Fe.default.destroyAll(),Ua&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Vo.coursesId}/exercise/${(ba=jt==null?void 0:jt.exercise)==null?void 0:ba.id}/detail?random=${(Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.is_random}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else vi(yu)})}))};var Wn=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Dn),fa=Object.defineProperty,ta=Object.defineProperties,za=Object.getOwnPropertyDescriptors,Ao=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Na=(ee,he,fe)=>he in ee?fa(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,xt=(ee,he)=>{for(var fe in he||(he={}))Ar.call(he,fe)&&Na(ee,fe,he[fe]);if(Ao)for(var fe of Ao(he))Dr.call(he,fe)&&Na(ee,fe,he[fe]);return ee},It=(ee,he)=>ta(ee,za(he)),Dt=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});function In(ee,he){const fe=[];for(let We=ee;We{let he=new Date;const fe=me()(ee).format("HH");if(me()(ee).isSame(me()(he),"day")){const We=me()(he).format("HH"),Vt=me()(he).format("mm");return{disabledHours:()=>In(0,24).splice(1,We*1-1),disabledMinutes:()=>me()(ee).isSame(me()(he),"hour")&&fe<=We?In(0,60).splice(0,Vt):In(60,60)}}else if(me()(ee).isSame(me()(),"day")){const We=me()().format("HH"),Vt=me()().format("mm");return{disabledHours:()=>In(0,24).splice(0,We),disabledMinutes:()=>fe<=We?In(0,Vt):In(60,60)}}else return!1},Hn=({exercise:ee,dispatch:he})=>{var fe;const We=(0,Pe.useParams)(),[Vt]=z.default.useForm(),[yt,bt]=(0,re.useState)(1),[fn,vt]=(0,re.useState)([]),[Zt,nr]=(0,re.useState)(!0),[Zo,Co]=(0,re.useState)([]),[da,Ho]=(0,re.useState)(!0),[Qn,Ja]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Ga()},[ee.actionTabs]);const Ga=Xo=>Dt(void 0,null,function*(){var qo,$o;nr(!0);const ur=yield he({type:"exercise/getEndGroups",payload:It(xt({},We),{check_ids:[...((qo=ee.actionTabs.selectArrs)==null?void 0:qo.map(Va=>Number(Va)))||[]]})}),Vo=($o=ur==null?void 0:ur.course_info)==null?void 0:$o.map((Va,Ro)=>It(xt({},Va),{key:Va.course_group_id,title:Va.course_group_name,name:Va.course_group_name,disabled:!!Va.is_published}));ur&&(ur!=null&&ur.course_info)&&(vt([...Vo]),Vt.setFieldsValue({end_time:me()(me()(new Date((0,a.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),nr(!1)}),ja=()=>Dt(void 0,null,function*(){var Xo,qo,$o,ur;const Vo=xt({},Vt.getFieldsValue());if((Zo==null?void 0:Zo.length)<=0&&fn.length>0&&!((Xo=ee.actionTabs)!=null&&Xo.unified_setting)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}Ja(!0);const Va={check_ids:[...((qo=ee.actionTabs.selectArrs)==null?void 0:qo.map(Jn=>Number(Jn)))||[]],group_ids:Zo};da||(Va.end_time=me()(Vo.end_time).format("YYYY-MM-DD HH:mm")),Va.group_ids=Zo.map(Jn=>Jn.course_group_id),(yield(0,b.ZP)(`/api/courses/${We.coursesId}/exercises/end_exercise.json`,{method:"post",body:Va})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),he({type:"exercise/setActionTabs",payload:{}}),($o=ee==null?void 0:ee.actionTabs)!=null&&$o.cb?(ur=ee==null?void 0:ee.actionTabs)==null||ur.cb():he({type:"classroomList/getClassroomExercisesList",payload:xt({},ee.actionTabs.params)})),Ja(!1)}),vr=()=>{bt(1),vt([]),Co([]),Ho(!0)};return re.createElement(Fe.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:ja,width:680,confirmLoading:Qn||Zt,onCancel:()=>{vr(),he({type:"exercise/setActionTabs",payload:{}})}},re.createElement(ze.Z,{spinning:Zt},fn&&re.createElement(z.default,{form:Vt},re.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},re.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),re.createElement(At.Z,{className:"mt20 mb10"},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),re.createElement(Wt.ZP.Group,{value:da,onChange:Xo=>{Ho(Xo.target.value),Co([])}},re.createElement(Wt.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),re.createElement(Wt.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),re.createElement(z.default.Item,{name:"end_time",style:{marginTop:-3,visibility:da?"hidden":"visible"}},re.createElement(tn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,a.U6)(),"HH:mm")},disabledDate:Xo=>Xo&&Xo0&&!((fe=ee.actionTabs)!=null&&fe.unified_setting)&&re.createElement(At.Z,{style:{marginBottom:"10px"}},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),re.createElement("div",null,fn.length>0&&re.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},re.createElement("span",{style:{flex:1}},re.createElement(Ne.default,{checked:Zo.length===fn.length,onChange:Xo=>{Zo.length===fn.length?Co([]):Co(fn)}},"\u5168\u9009")," "),re.createElement("span",{style:{width:16}}),re.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Zo.length||0,"\u4E2A\u5206\u73ED")),re.createElement(_e.Z,{data:fn,selectedRowKeys:Zo,setSelectedRowKeys:Co}))))))};var Qo=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Hn),Oa=Object.defineProperty,lo=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,ao=Object.prototype.propertyIsEnumerable,Zn=(ee,he,fe)=>he in ee?Oa(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,sr=(ee,he)=>{for(var fe in he||(he={}))hr.call(he,fe)&&Zn(ee,fe,he[fe]);if(lo)for(var fe of lo(he))ao.call(he,fe)&&Zn(ee,fe,he[fe]);return ee},Gr=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Er=({exercise:ee,dispatch:he})=>{const fe=(0,Pe.useParams)();return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ee.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Gr(void 0,null,function*(){(yield(0,b.ZP)(`/api/courses/${fe.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ee.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),he({type:"classroomList/getClassroomExercisesList",payload:sr({},ee.actionTabs.params)}))}),onCancel:()=>{he({type:"exercise/setActionTabs",payload:{}})}},re.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",re.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Go=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Er),Et=te(71067),pn=Object.defineProperty,vn=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,mn=(ee,he,fe)=>he in ee?pn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,hn=(ee,he)=>{for(var fe in he||(he={}))qt.call(he,fe)&&mn(ee,fe,he[fe]);if(vn)for(var fe of vn(he))Sn.call(he,fe)&&mn(ee,fe,he[fe]);return ee},yn=(ee,he)=>{var fe={};for(var We in ee)qt.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&vn)for(var We of vn(ee))he.indexOf(We)<0&&Sn.call(ee,We)&&(fe[We]=ee[We]);return fe},pa=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Pa=ee=>{var he=ee,{exercise:fe,dispatch:We,user:Vt}=he,yt=yn(he,["exercise","dispatch","user"]),bt,fn;const vt=(0,Pe.useParams)(),[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1),da=(0,re.useRef)(null);(0,re.useEffect)(()=>{var Qn,Ja;if(fe.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,oe.j5)()){Co(!0);return}const Ga={hasNum:0,noHasNum:0};(Ja=(Qn=fe==null?void 0:fe.actionTabs)==null?void 0:Qn.selectArrsAll)==null||Ja.map(ja=>{var vr;ja.author_login===((vr=Vt.userInfo)==null?void 0:vr.login)?++Ga.hasNum:++Ga.noHasNum}),Ga.noHasNum>0?Fe.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:re.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",re.createElement("span",{className:"c-blue"},Ga.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",re.createElement("span",{className:"c-red"},Ga.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",re.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Ho()}}):Co(!0)}else Co(!1)},[fe.actionTabs.key]);const Ho=()=>{We({type:"exercise/setActionTabs",payload:{}})};return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:Zo,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Zt,destroyOnClose:!0,onOk:()=>pa(void 0,null,function*(){var Qn;if((Qn=da.current)!=null&&Qn.onVerify())return;nr(!0);const Ja=yield(0,b.ZP)(`/api/courses/${vt.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...fe.actionTabs.selectArrs]}});nr(!1),Ja.status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),xe.ZP.success("\u5220\u9664\u6210\u529F"),We({type:"exercise/setActionTabs",payload:{}}),We({type:"classroomList/getClassroomExercisesList",payload:hn({},fe.actionTabs.params)}),We({type:"classroomList/getClassroomLeftMenus",payload:hn({},fe.actionTabs.params)}))}),onCancel:()=>{We({type:"exercise/setActionTabs",payload:{}})}},!((bt=fe==null?void 0:fe.actionTabs)!=null&&bt.status)||!["\u672A\u5F00\u59CB"].includes((fn=fe==null?void 0:fe.actionTabs)==null?void 0:fn.status)?re.createElement(re.Fragment,null,re.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),re.createElement(Et.Z,{ref:Qn=>da.current=Qn})):re.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var nn=(0,Pe.connect)(({exercise:ee,user:he})=>({exercise:ee,user:he}))(Pa),fr=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,Sr=(ee,he)=>{var fe={};for(var We in ee)wr.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&fr)for(var We of fr(ee))he.indexOf(We)<0&&Xr.call(ee,We)&&(fe[We]=ee[We]);return fe},Xn=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Ia=ee=>{var he=ee,{exercise:fe,dispatch:We}=he,Vt=Sr(he,["exercise","dispatch"]);const yt=(0,Pe.useParams)();return yt.id=yt.coursesId,(0,re.useEffect)(()=>{fe.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>Xn(void 0,null,function*(){(yield(0,b.ZP)(`/api/courses/${yt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...fe.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),xe.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),We({type:"exercise/setActionTabs",payload:{}})}))},[fe.actionTabs.key]),re.createElement(re.Fragment,null)};var bo=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Ia),La=te(60324),io={flex_box_center:"flex_box_center___NMFRx",flex_space_between:"flex_space_between___i7LoA",flex_box_vertical_center:"flex_box_vertical_center___NUJyY",flex_box_center_end:"flex_box_center_end___JGVs2",flex_box_column:"flex_box_column___Han0X",bg:"bg___xTQcX",containerTitle:"containerTitle___wfDxe",containerDesc:"containerDesc___BlZJT",tablestyle:"tablestyle___cIMKp",listItem:"listItem___teS92",info:"info___I8amz",title:"title___Ng3Cg",titleLeft:"titleLeft___dxjAr",titleRight:"titleRight___bo2N2",flexBox:"flexBox___G5iQZ",iconV:"iconV___sw5ZY",acitons:"acitons___ADyk9",moveCategory:"moveCategory___cxRgz",name:"name___mRHCb",categoryName:"categoryName___sGz21",schedule:"schedule___vRew6",fnSign:"fnSign___kCGts",spanSize:"spanSize___ZvQiA",classromediv:"classromediv___zHcjq",glow:"glow___zqQTK",popover:"popover___FlwhL",dot:"dot___saRu_",moni:"moni___sRpNk",authorized:"authorized___XYNsR"},dr=Object.defineProperty,Oo=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,ri=(ee,he,fe)=>he in ee?dr(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,_l=(ee,he)=>{for(var fe in he||(he={}))Wr.call(he,fe)&&ri(ee,fe,he[fe]);if(Oo)for(var fe of Oo(he))qr.call(he,fe)&&ri(ee,fe,he[fe]);return ee};const Kr=ee=>React.createElement("svg",_l({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var si="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Wl=Object.defineProperty,mi=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,xl=(ee,he,fe)=>he in ee?Wl(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ci=(ee,he)=>{for(var fe in he||(he={}))Li.call(he,fe)&&xl(ee,fe,he[fe]);if(mi)for(var fe of mi(he))Xl.call(he,fe)&&xl(ee,fe,he[fe]);return ee};const Mi=ee=>React.createElement("svg",ci({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var bi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMD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hhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z",ti=te(12971),fi=te(36254),gr=te(82896),dl=te(21390),Cl=te(69429),ni=Object.defineProperty,ql=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,Hi=(ee,he,fe)=>he in ee?ni(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Ol=(ee,he)=>{for(var fe in he||(he={}))xi.call(he,fe)&&Hi(ee,fe,he[fe]);if(ql)for(var fe of ql(he))Qi.call(he,fe)&&Hi(ee,fe,he[fe]);return ee};const Nl=ee=>React.createElement("svg",Ol({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var Ii="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",Rn=te(59301),ru=Object.defineProperty,lu=Object.defineProperties,Eo=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,Lr=(ee,he,fe)=>he in ee?ru(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,gl=(ee,he)=>{for(var fe in he||(he={}))Wa.call(he,fe)&&Lr(ee,fe,he[fe]);if(Ba)for(var fe of Ba(he))Za.call(he,fe)&&Lr(ee,fe,he[fe]);return ee},wl=(ee,he)=>lu(ee,Eo(he)),$r=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Kl=({v:ee,k:he,selectArrs:fe,setSelectArrs:We,dispatch:Vt,params:yt,classroomList:bt,batchStatus:fn,manageAllGroup:vt,user:Zt})=>{var nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur,Vo,Va,Ro,Jn;const[_t,bl]=(0,re.useState)([]),[ko,zn]=(0,re.useState)(!1),Wo=(0,re.useRef)(),Tr=(0,re.useRef)();var on=!1;const la="YYYY-MM-DD",vo=me()("2020-11-15",la);function Ta(){return $r(this,null,function*(){console.log(yt,222);let Mt=yield(0,b.ZP)(`/api/courses/${yt==null?void 0:yt.coursesId}/exercises/group_use_list.json`,{method:"get",params:wl(gl({},yt),{id:ee.id})});bl((Mt==null?void 0:Mt.groups)||[])})}const jt=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Rn.createElement(Rn.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ee!=null&&ee.appraise_label&&(on=!0);const er=(Mt,Ft=!1)=>{var ln;Pe.history.push(`/classrooms/${yt.coursesId}/exercisenotice/${Mt.id}/users/${(ln=(0,oe.eY)())==null?void 0:ln.login}`)},vl=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Mt,Ft)=>Ft.exercise_status===Mt,render:(Mt,Ft)=>Rn.createElement("div",null,Mt===1&&Rn.createElement("span",null,Rn.createElement("i",{className:io.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Mt===2&&Rn.createElement("span",null,Rn.createElement("i",{className:io.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Mt===3&&Rn.createElement("span",null,Rn.createElement("i",{className:io.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:yt.order_by==="publish_time"?yt.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:yt.order_by==="end_time"?yt.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Mt,Ft)=>Ft.exercise_status===1?"-":Rn.createElement("span",null,Mt,"/",Ft.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Mt,Ft)=>Ft.exercise_status===1?"-":Mt===0?Rn.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Mt):Rn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${Ft.course_group_id}`)},Mt)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Mt,Ft)=>Ft.exercise_status===1?Rn.createElement("img",{style:{cursor:"not-allowed"},src:si}):Rn.createElement(ne.Z,{title:"\u8BC4\u9605"},Rn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${Ft.course_group_id}`)},Rn.createElement("img",{src:bi})))}],Sl=Mt=>{if(on)return Rn.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Mt!=null&&Mt.includes("\u672A\u5F00\u59CB"))return Rn.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Mt!=null&&Mt.includes("\u8003\u8BD5\u4E2D"))return Rn.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Mt!=null&&Mt.includes("\u5DF2\u622A\u6B62"))return Rn.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Mt!=null&&Mt.includes("\u5BFC\u5165"))return Rn.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},Rr=()=>{const Mt=(ee==null?void 0:ee.simulate_exercise_num)-(ee==null?void 0:ee.user_simulate_num);return Mt>=0?Mt:0},jl=(Mt=ee)=>{var Ft,ln,Xt;if(Mt!=null&&Mt.is_encrypt){Vt({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Mt==null?void 0:Mt.id,phone:(Ft=Zt==null?void 0:Zt.userInfo)==null?void 0:Ft.phone,login:(ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.login}});return}(Xt=Zt==null?void 0:Zt.userInfo)!=null&&Xt.phone?Vt({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Mt==null?void 0:Mt.id}}):Vt({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Br=Mt=>{var Ft,ln,Xt;if(((Ft=Zt==null?void 0:Zt.userInfo)==null?void 0:Ft.login)!==(ee==null?void 0:ee.author_login)){xe.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Vt({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ee==null?void 0:ee.id,phone:(ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.phone,login:(Xt=Zt==null?void 0:Zt.userInfo)==null?void 0:Xt.login,onFinish:Mt}})};return Rn.createElement("div",{className:io.listItem,onClick:Mt=>{const Ft=()=>{(!(0,oe.GJ)()||(0,oe.GJ)()&&Tr.current&&!Tr.current.contains(Mt.target))&&(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()}},(0,oe.GJ)()&&Rn.createElement("span",{ref:Tr},Rn.createElement(Ne.default,{checked:fe.includes(ee.id),value:ee.id,style:{padding:"10px"},onClick:Mt=>{Mt.stopPropagation()},disabled:(ee==null?void 0:ee.is_encrypt)||(ee==null?void 0:ee.is_make_up_exercise),onChange:Mt=>{let Ft=fe.indexOf(ee.id);fe.indexOf(ee.id)>-1?We(fe.filter(ln=>ln!==ee.id)):We(fe.concat(ee.id))}})),Rn.createElement("div",{className:io.info},Rn.createElement("div",{className:io.title},Rn.createElement("div",{className:io.titleLeft,style:{marginRight:15}},Sl(ee==null?void 0:ee.exercise_tips),(ee==null?void 0:ee.is_make_up_exercise)&&Rn.createElement("img",{src:hi,width:44,height:24,style:{marginRight:10}}),Rn.createElement(ne.Z,{title:ee.exercise_name},Rn.createElement("span",{className:io.name},ee.exercise_name)),(ee==null?void 0:ee.high_resources_consume)&&!(ee!=null&&ee.high_resources_consume_permission)&&Rn.createElement(Me.Z,{type:"exercise",style:{marginLeft:10}}),(ee==null?void 0:ee.high_resources_consume)&&(ee==null?void 0:ee.high_resources_consume_permission)&&Rn.createElement("span",{className:io.authorized},"\u5DF2\u6388\u6743"),((nr=ee==null?void 0:ee.exercise_tips)==null?void 0:nr.includes("\u5DF2\u622A\u6B62"))&&((Zo=bt==null?void 0:bt.detailTopBanner)==null?void 0:Zo.forbid_end_exercise)&&Rn.createElement(ne.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},Rn.createElement("img",{src:Ii,width:20,className:"ml10"})),!ee.is_public&&(0,oe.GJ)()&&Rn.createElement(ne.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},Rn.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ee==null?void 0:ee.exercise_type)==2&&Rn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:io.moni},Rn.createElement("img",{src:ti,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((Co=ee==null?void 0:ee.exercise_tips)==null?void 0:Co.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&Rn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),((da=ee==null?void 0:ee.exercise_tips)==null?void 0:da.includes("\u5DF2\u622A\u6B62"))&&((Ho=ee==null?void 0:ee.exercise_tips)==null?void 0:Ho.includes("\u672A\u63D0\u4EA4"))&&Rn.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ee==null?void 0:ee.is_encrypt)&&Rn.createElement(ne.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",Rn.createElement("img",{src:Cl,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),Rn.createElement("div",{className:io.titleRight,onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault()}},(ee==null?void 0:ee.appraise_setting)&&Rn.createElement("span",{className:io.flexBox,style:{marginRight:"16px"},onClick:()=>$r(void 0,null,function*(){const Mt=()=>$r(void 0,null,function*(){Vt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const Ft=yield(0,b.ZP)(`/api/exercises/${ee.id}/create_appraise_students.json`,{method:"get"});Vt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee.id}/centralizeReview/${Ft==null?void 0:Ft.login}`)});if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()})},Rn.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),Rn.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&(!(ee!=null&&ee.is_make_up_exercise)||(ee==null?void 0:ee.is_make_up_exercise)&&(ee==null?void 0:ee.exercise_status)===1&&(ee==null?void 0:ee.allow_create_make_up))&&Rn.createElement(fi.Z,{tips:ee==null?void 0:ee.open_appraise},Rn.createElement("span",{className:io.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{var Ft,ln,Xt;if(((Ft=Zt==null?void 0:Zt.userInfo)==null?void 0:Ft.user_status)===2){(0,ve.Rd)();return}if((0,oe.Rm)()&&!((Xt=(ln=bt==null?void 0:bt.AssistantObject)==null?void 0:ln.exercise)!=null&&Xt.can_publish)){xe.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}if((ee==null?void 0:ee.exercise_question_count)===0){xe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let $a=()=>{Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ee.id],unified_setting:ee.unified_setting,params:yt,disabled:ee.exercise_status!==1,type:2,manage_all_group:vt,isRouter:!0}})};ee!=null&&ee.high_resources_consume&&!(ee!=null&&ee.high_resources_consume_permission)?Vt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:yt.coursesId,type:"exercise",type_id:ee.id,name:ee.exercise_name,fn:()=>{Vt({type:"classroomList/getClassroomExercisesList",payload:gl({},yt)}),$a()}}}):$a()};if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()}},Rn.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),Rn.createElement("div",null,"\u53D1\u5E03"))),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&!(0,a._m)()&&ee.assistant_auth&&Rn.createElement("span",{className:io.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation();const Ft=()=>{var ln,Xt;if((0,oe.Rm)()&&!((Xt=(ln=bt==null?void 0:bt.AssistantObject)==null?void 0:ln.exercise)!=null&&Xt.can_preview)){xe.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 $a=me()(ee.created_at,la);me()(vo).diff(me()($a),"days")>0&&(ee!=null&&ee.is_random)?jt():ee!=null&&ee.is_random?(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/random/preview?random=${ee.is_random}`):(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=2`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()}},Rn.createElement("i",{className:"iconfont icon-yulan3"}),Rn.createElement("div",null,"\u9884\u89C8")),(0,oe.RV)()&&Rn.createElement("span",{className:io.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()}},Rn.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Rn.createElement("div",null,"\u8BE6\u60C5")),(0,oe.GJ)()&&!(0,a._m)()&&Rn.createElement(La.Z,{placement:"bottom",content:Rn.createElement("div",{className:io.popover},!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("p",{onClick:Mt=>$r(void 0,null,function*(){const Ft=()=>{(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=3`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u89C4\u5219\u8BBE\u7F6E"),(ee==null?void 0:ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("p",{onClick:Mt=>$r(void 0,null,function*(){const Ft=()=>{Vt({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ee==null?void 0:ee.exercise_name,id:ee==null?void 0:ee.id,type:"hack"}})};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u8865\u5145\u6210\u7EE9"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&ee.is_random&&ee.assistant_auth&&Rn.createElement("p",{onClick:Mt=>{Mt.stopPropagation();const Ft=()=>{const ln=me()(ee.created_at,la);me()(vo).diff(me()(ln),"days")>0&&(ee!=null&&ee.is_random)?jt():(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/random/edit?type=settings`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()}},"\u7F16\u8F91\u8003\u8BD5"),Rn.createElement("p",{onClick:Mt=>$r(void 0,null,function*(){const Ft=()=>{var ln;Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ee.id],selectArrsAll:[ee],params:yt,status:(ln=ee==null?void 0:ee.exercise_tips)==null?void 0:ln[0]}})};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u5220\u9664\u8BD5\u5377"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("p",{onClick:()=>{const Mt=()=>{Vt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ee.id],params:yt}})};if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((Qn=ee==null?void 0:ee.exercise_tips)==null?void 0:Qn.includes("\u672A\u5F00\u59CB"))&&(ee==null?void 0:ee.author_login)===((Ja=Zt==null?void 0:Zt.userInfo)==null?void 0:Ja.login)&&Rn.createElement("p",{onClick:Mt=>$r(void 0,null,function*(){jl(ee)})}," ",ee!=null&&ee.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&((0,oe.GJ)()||((ja=(Ga=bt==null?void 0:bt.AssistantObject)==null?void 0:Ga.exercise)==null?void 0:ja.can_stop))&&![1,3].includes(ee==null?void 0:ee.exercise_status)&&Rn.createElement("p",{onClick:Mt=>$r(void 0,null,function*(){const Ft=()=>{var ln,Xt;if((0,oe.Rm)()&&!((Xt=(ln=bt==null?void 0:bt.AssistantObject)==null?void 0:ln.exercise)!=null&&Xt.can_stop)){xe.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}Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ee.id],params:yt,unified_setting:ee.unified_setting}})};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u7ED3\u675F\u8003\u8BD5"))},Rn.createElement("span",{onClick:Mt=>Mt.stopPropagation(),className:io.flexBox,style:{cursor:"default"}},Rn.createElement("i",{className:"iconfont icon-gengduo4"}),Rn.createElement("div",null,"\u66F4\u591A"))),(0,oe.dE)()&&Rn.createElement(Rn.Fragment,null,!!ee.off_limits&&Rn.createElement(ne.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ee==null?void 0:ee.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},Rn.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===0&&ee.exercise_status>1&&!((vr=ee.exercise_tips)!=null&&vr.includes("\u5DF2\u622A\u6B62"))&&Rn.createElement("a",{className:io.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),er(ee,!0)},href:""},Rn.createElement("i",{className:"iconfont icon-jixukaoshi"}),Rn.createElement("div",null,(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((Xo=ee.exercise_tips)!=null&&Xo.includes("\u5DF2\u622A\u6B62"))&&(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&Rn.createElement("a",{className:io.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),er(ee,!0)},href:""},Rn.createElement("i",{className:"iconfont icon-jixukaoshi"}),Rn.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ee.off_limits&&ee.current_status===1&&(ee==null?void 0:ee.screen_used_num)<(ee==null?void 0:ee.screen_total_num)&&ee.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ee==null?void 0:ee.exercise_type)==2&&(ee==null?void 0:ee.exercise_status)!=3)&&Rn.createElement("span",{className:io.flexBox,style:{marginRight:"16px"},onClick:Mt=>$r(void 0,null,function*(){var Ft;if(Mt.stopPropagation(),!(ee!=null&&ee.answered_open)){xe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,gr.w)(yt.coursesId,ee.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/users/${(Ft=(0,oe.eY)())==null?void 0:Ft.login}?check=true`)})},Rn.createElement("i",{className:"iconfont icon-chakankaoshi"}),Rn.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===2&&ee.exercise_status>1&&!((qo=ee.exercise_tips)!=null&&qo.includes("\u5DF2\u622A\u6B62"))&&Rn.createElement("a",{className:io.flexBox,style:{marginRight:"16px",color:(ee==null?void 0:ee.is_redo)===1&&"red"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),er(ee)},href:""},Rn.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),Rn.createElement("div",null,(ee==null?void 0:ee.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==2&&!ee.off_limits&&ee.exercise_status>1&&!(($o=ee.exercise_tips)!=null&&$o.includes("\u5DF2\u622A\u6B62"))&&Rn.createElement(ne.Z,{title:Rn.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ee==null?void 0:ee.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",Rr(),"\u6B21")},Rn.createElement("a",{className:io.flexBox,onClick:Mt=>{Rr()==0&&(ee==null?void 0:ee.current_status)!=0||(Mt.stopPropagation(),Mt.preventDefault(),er(ee))},href:""},Rn.createElement("i",{className:`iconfont ${(ee==null?void 0:ee.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),Rn.createElement("div",null,(ee==null?void 0:ee.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5")))))),(0,oe.GJ)()&&Rn.createElement("p",{style:{display:"flex"}},Rn.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:ee.author},ee.author),Rn.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",me()(ee.created_at).format("YYYY-MM-DD HH:mm:ss")),((ur=ee==null?void 0:ee.exercise_tips)==null?void 0:ur.includes("\u672A\u5F00\u59CB"))&&ee.publish_time&&Rn.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",me()(ee.publish_time).format("YYYY-MM-DD HH:mm:ss")),Rn.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),Rn.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",ee.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Vo=ee==null?void 0:ee.exercise_tips)!=null&&Vo.includes("\u672A\u5F00\u59CB"))&&!(ee!=null&&ee.is_make_up_exercise)&&!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Rn.createElement("span",{className:io.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Mt=>$r(void 0,null,function*(){Mt.stopPropagation(),Mt.preventDefault(),ko||Ta(),zn(!ko)})},Rn.createElement(ne.Z,{title:`${ko?"\u6536\u8D77":"\u5C55\u5F00"}`},Rn.createElement("i",{className:`iconfont icon-${ko?"shouqi":"xiala2"}`})))),(0,oe.dE)()&&Rn.createElement("p",{style:{display:"flex"}},Rn.createElement("span",{className:"c-grey-333"},ee.author),Rn.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),!!(ee!=null&&ee.exercise_left_time)&&Rn.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ee==null?void 0:ee.exercise_left_time),!!(ee!=null&&ee.before_start)&&Rn.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ee==null?void 0:ee.before_start)),(0,oe.GJ)()&&!((Va=ee==null?void 0:ee.exercise_tips)!=null&&Va.includes("\u672A\u5F00\u59CB"))&&Rn.createElement("p",null,Rn.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",Rn.createElement("span",null,ee==null?void 0:ee.unanswer_users)),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",Rn.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ee==null?void 0:ee.answering_users)),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",Rn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.answer_users)),Rn.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",Rn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.commit_with_no_answers_users))),(0,oe.GJ)()&&!((Ro=ee==null?void 0:ee.exercise_tips)!=null&&Ro.includes("\u672A\u5F00\u59CB"))&&ko&&_t.length>5&&Rn.createElement(rt.default,{scroll:{y:240},pagination:!1,dataSource:_t,onRow:Mt=>({onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault()}}),onHeaderRow:(Mt,Ft)=>({onClick:ln=>{ln.stopPropagation(),ln.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Mt,Ft,ln)=>{ln.field&&(yt.order_by=ln.field),ln.order||(yt.sort_direction="asc"),ln.order==="ascend"&&(yt.sort_direction="asc"),ln.order==="descend"&&(yt.sort_direction="desc"),ln.order||(yt.sort_direction="asc"),Ta()},columns:vl}),(0,oe.GJ)()&&!((Jn=ee==null?void 0:ee.exercise_tips)!=null&&Jn.includes("\u672A\u5F00\u59CB"))&&ko&&_t.length<6&&_t.length>0&&Rn.createElement(rt.default,{rowKey:"course_group_id",pagination:!1,onRow:Mt=>({onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault()}}),onHeaderRow:(Mt,Ft)=>({onClick:ln=>{ln.stopPropagation(),ln.preventDefault()}}),dataSource:_t,style:{marginTop:"10px"},onChange:(Mt,Ft,ln)=>{ln.field&&(yt.order_by=ln.field),ln.order||(yt.sort_direction="asc"),ln.order==="ascend"&&(yt.sort_direction="asc"),ln.order==="descend"&&(yt.sort_direction="desc"),ln.order||(yt.sort_direction="asc"),Ta()},columns:vl}),(ee==null?void 0:ee.total)!==void 0&&Rn.createElement("p",null,Rn.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",Rn.createElement("span",null,ee==null?void 0:ee.total)),Rn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",Rn.createElement("span",{style:{color:"#4EACFF"}},ee==null?void 0:ee.finish_total)),Rn.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",Rn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.unfinished_total)))),Rn.createElement(dl.Z,{closable:!0,successCb:()=>er(Wo.current)}))};var Yl=(0,Pe.connect)(({classroomList:ee})=>({classroomList:ee}))(Kl),Di=te(31797),$l=te(27158),or=te(61527),co=te(59301),ml=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const{Countdown:Ur}=Di.default,Vr=({value:ee,onChange:he,MaxMinutes:fe})=>co.createElement(co.Fragment,null,co.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",co.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",co.createElement("br",null)),co.createElement(ae.Z,{value:ee,onChange:he,min:0,precision:0,max:fe,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${fe}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),Qt=({exercise:ee,successCb:he,dispatch:fe})=>{var We,Vt,yt,bt;const fn=(0,Pe.useParams)(),[vt]=z.default.useForm(),Zt=z.default.useWatch("time",vt),[nr,Zo]=(0,re.useState)(!1),Co=(0,re.useRef)(),{actionTabs:da}=ee,[Ho,Qn]=(0,re.useState)(),[,Ja,Ga,ja]=(0,or.U)(ut.n7,{id:fn.categoryId}),[,vr,Xo]=(0,or.U)(ut.Cd,{});(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&(Zo(!1),vt.resetFields())},[ee.actionTabs.key]);const qo=()=>new Promise(ko=>ml(void 0,null,function*(){var zn,Wo;return Co.current=yield(0,$l.y)({ip_limit:(zn=da==null?void 0:da.exerciseParams)==null?void 0:zn.ip_limit,ip_bind:(Wo=da==null?void 0:da.exerciseParams)==null?void 0:Wo.ip_bind_type}),ko()})),$o=()=>ml(void 0,null,function*(){var ko,zn,Wo,Tr,on;yield vt.validateFields();const la=vt.getFieldsValue();if(Zo(!0),(((ko=da==null?void 0:da.exerciseParams)==null?void 0:ko.ip_limit)!=="no"||(zn=da==null?void 0:da.exerciseParams)!=null&&zn.ip_bind_type)&&(yield qo()),(yield(0,ut.ZD)((Wo=da==null?void 0:da.exerciseParams)==null?void 0:Wo.id,{exercise_user_id:(Tr=da==null?void 0:da.exerciseParams)==null?void 0:Tr.exercise_user_id,unlock_key:la.unlock_key,time:la.time,ip:Co.current})).status===0){if(he){fe({type:"exercise/setActionTabs",payload:{}}),he();return}const Ta=da==null?void 0:da.exerciseParams;(0,a.nr)({inner_ip:Ta.inner_ip,public_ip:Ta.public_ip,open_camera:Ta.open_camera,ip_limit:Ta.ip_limit,ip_bind:Ta.ip_bind,ip_bind_type:Ta.ip_bind_type,exercise_tips:Ta.exercise_tips,exerciseId:Ta.id,screen_open:Ta.screen_open,screen_num:Ta.screen_num,screen_sec:Ta.screen_sec,coursesId:fn.coursesId,login:(on=(0,oe.eY)())==null?void 0:on.login,history,identity_verify:Ta.identity_verify,open_phone_video_recording:Ta.open_phone_video_recording,current_status:Ta.current_status}),fe({type:"exercise/setActionTabs",payload:{}})}Zo(!1)}),ur=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:ko=>co.createElement("span",{className:ko.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ko)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ko=>co.createElement("span",{className:ko.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ko)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Vo=((We=da==null?void 0:da.exerciseParams)==null?void 0:We.errorMessage)&&typeof((Vt=da==null?void 0:da.exerciseParams)==null?void 0:Vt.errorMessage)=="object";(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&ml(void 0,null,function*(){const ko=yield Xo(fn);yield Ga({}),ko.status||Qn(ko)})},[ee.actionTabs.key]);const{time:Va,end_time:Ro}=(Ho==null?void 0:Ho.exercise)||{},Jn=ja!=null&&ja.user_end_time?me()(ja==null?void 0:ja.user_end_time).add(1,"minutes"):me()(),_t=me()(ja==null?void 0:ja.user_total_end_time)>Jn?Math.round(me().duration(me()(ja==null?void 0:ja.user_total_end_time).diff(Jn.startOf("minute"))).asMinutes()):0,bl=((ja==null?void 0:ja.student_left_minutes)||0)+(Zt||0);return co.createElement(co.Fragment,null,co.createElement(Fe.default,{width:514,centered:!0,closable:!!((yt=da==null?void 0:da.exerciseParams)!=null&&yt.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ee.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{fe({type:"exercise/setActionTabs",payload:{}})}},co.createElement(ze.Z,{spinning:Ja||vr},Vo&&co.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Vo&&co.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Vo&&co.createElement(rt.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((bt=da==null?void 0:da.exerciseParams)==null?void 0:bt.errorMessage)||{}],columns:ur}),co.createElement("div",{className:""},co.createElement(z.default,{form:vt,layout:"vertical",autoComplete:"off"},co.createElement(z.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},co.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Va!==-1?co.createElement(co.Fragment,null,co.createElement(z.default.Item,{name:"time",label:co.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",co.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",me()(ja==null?void 0:ja.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},co.createElement(Vr,{MaxMinutes:_t})),co.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",co.createElement("span",{className:"ml5"},Ja||vr?"--":bl),"\u5206\u949F",bl!==0&&(ja==null?void 0:ja.user_end_time)&&co.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",co.createElement("span",{className:"ml5"},me()(ja==null?void 0:ja.user_end_time).add(Zt||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):co.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",me()(Ro).format("YYYY-MM-DD HH:mm")))),co.createElement(At.Z,{justify:"space-between",align:"middle"},co.createElement(Be.Z,null),co.createElement(Be.Z,null,co.createElement(Ie.ZP,{loading:nr,onClick:$o},"\u8FDB\u5165\u8003\u8BD5"))))))};var Tt=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Qt),cn=te(24776),Yn=te(42554),uo=te(64575),xo=te(59301),Tn=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const eo=({exercise:ee,dispatch:he,init:fe,haveInit:We=!1})=>{const Vt=(0,Pe.useParams)(),[yt,bt]=(0,re.useState)(!1);let[fn,vt]=(0,re.useState)();const[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&da()},[ee.actionTabs]);function da(){return Tn(this,null,function*(){var Ho,Qn;let Ja=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});if(((Ho=Ja==null?void 0:Ja.cover_exercises)==null?void 0:Ho.length)>0)bt(!0),vt((Qn=Ja==null?void 0:Ja.cover_exercises)==null?void 0:Qn[0]);else{let Ga=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});he({type:"exercise/setActionTabs",payload:{key:""}}),(Ga==null?void 0:Ga.status)===0&&(We&&fe(),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}})}return xo.createElement("div",null,xo.createElement(Fe.default,{open:yt,centered:!0,onCancel:Ho=>Tn(void 0,null,function*(){if(Ho.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){nr(!0);let Qn=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs,update:1}});he({type:"exercise/setActionTabs",payload:{key:""}}),nr(!1),(Qn==null?void 0:Qn.status)===0&&(We&&fe(),bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}else bt(!1)}),cancelButtonProps:{loading:Zt},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:Zo},onOk:()=>Tn(void 0,null,function*(){Co(!0);let Ho=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});Co(!1),(Ho==null?void 0:Ho.status)===0&&(We&&fe(),he({type:"exercise/setActionTabs",payload:{key:""}}),bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},xo.createElement("div",null,xo.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),xo.createElement("div",null,xo.createElement("div",null,"\u8BD5\u5377\uFF1A",fn==null?void 0:fn.origin_exercise_nam),xo.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",xo.createElement("a",{href:`/paperlibrary/see/${fn==null?void 0:fn.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},fn==null?void 0:fn.examination_bank_name))))))};var jo=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(eo),mr=te(87169),No=te(90588),va=te(18682),Ko=te(9516),ua=te(59301),Ll=Object.defineProperty,Io=Object.defineProperties,Yo=Object.getOwnPropertyDescriptors,Yr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,Ci=(ee,he,fe)=>he in ee?Ll(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,el=(ee,he)=>{for(var fe in he||(he={}))jr.call(he,fe)&&Ci(ee,fe,he[fe]);if(Yr)for(var fe of Yr(he))Tl.call(he,fe)&&Ci(ee,fe,he[fe]);return ee},Ti=(ee,he)=>Io(ee,Yo(he)),Ji=(ee,he)=>{var fe={};for(var We in ee)jr.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&Yr)for(var We of Yr(ee))he.indexOf(We)<0&&Tl.call(ee,We)&&(fe[We]=ee[We]);return fe},_i=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const pu=ee=>{var he=ee,{user:fe,classroomList:We,globalSetting:Vt,loading:yt,dispatch:bt}=he,fn=Ji(he,["user","classroomList","globalSetting","loading","dispatch"]),vt,Zt,nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur,Vo,Va;const Ro=(0,Pe.useParams)(),[Jn]=(0,Pe.useSearchParams)(),[_t,bl]=(0,re.useState)(()=>Ti(el({},Ro),{limit:20})),ko=(0,Pe.useLocation)(),{detailExerciseList:zn,detailTopBanner:Wo,detailLeftMenus:Tr}=We,[on,la]=(0,re.useState)([]),[vo,Ta]=(0,re.useState)(!1),[jt,er]=(0,re.useState)([]),[vl,Sl]=(0,re.useState)(!1),[Rr,jl]=(0,re.useState)(!1),[Br,Mt]=(0,re.useState)(!1),[Ft,ln]=(0,re.useState)(!1),[Xt,$a]=(0,re.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),br=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];_t.type=Jn.get("tabs")==="all"?"":Jn.get("tabs")||"",_t.id=_t.coursesId,(0,re.useEffect)(()=>{var kt,ya,yl;if((kt=fe==null?void 0:fe.userInfo)!=null&&kt.login){if((0,oe.GJ)()){const cl=a.cX.getItem(`${(ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.login}Teacher`,"Exercise");cl&&(_t.sort_by=cl==null?void 0:cl.type,_t.sort_direction=cl==null?void 0:cl.direction,$a(cl==null?void 0:cl.name))}bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})}else(yl=fe==null?void 0:fe.userInfo)!=null&&yl.username&&bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)});Ta(!1)},[(vt=fe==null?void 0:fe.userInfo)==null?void 0:vt.login,ko.pathname]),(0,re.useEffect)(()=>{We.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})},[We.actionTabs.key]),(0,re.useEffect)(()=>{We.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(Sl(!0),jl(Wo==null?void 0:Wo.show_unstart_exercise),Mt(Wo==null?void 0:Wo.forbid_end_exercise))},[We.actionTabs.key]),(0,re.useEffect)(()=>{la([])},[zn]);const Dl=(kt,ya)=>{la([]),_t.page=kt,_t.limit=ya,bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})},zl=kt=>{_t.type=kt.id==="all"?"":kt.id,_t.page=1,Pe.history.replace(`${ko.pathname}?tabs=${kt.id}`),ln(!1),bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})};(0,re.useEffect)(()=>{Jn.get("tabs")==="all"&&(_t.type="",_t.page=1)},[Jn.get("tabs")]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&bt({type:"classroomList/getAssistantPermissions",payload:{course_id:_t.coursesId}})},[(Zt=fe==null?void 0:fe.userInfo)==null?void 0:Zt.username]),(0,re.useEffect)(()=>{const kt=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),Fe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:ua.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ua.createElement("br",null),"1\u3001\u5728",ua.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ua.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ua.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ua.createElement("br",null),"2\u3001\u5728",ua.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ua.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ua.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ua.createElement("br",null),kt==="allowRouter"&&ua.createElement(ua.Fragment,null,"3\u3001",ua.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&bt({type:"classroomList/getAssistantPermissions",payload:{course_id:_t.coursesId}})},[(nr=fe==null?void 0:fe.userInfo)==null?void 0:nr.login]);const Or=[{name:"\u5168\u90E8",id:"all",total:(Zo=zn.exercises_counts)==null?void 0:Zo.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(Co=zn.exercises_counts)==null?void 0:Co.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(da=zn.exercises_counts)==null?void 0:da.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Ho=zn.exercises_counts)==null?void 0:Ho.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(Qn=zn.exercises_counts)==null?void 0:Qn.end_counts}],Ai=[{name:"\u6279\u91CF\u53D1\u5E03",icon:ua.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:ua.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:ua.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:ua.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:ua.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(kt=>(0,oe.GJ)()?!0:kt.name!=="\u6279\u91CF\u5220\u9664").filter(kt=>Wo.is_public?!0:kt.name!=="\u8BBE\u4E3A\u516C\u5F00"),nu=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:ua.createElement(ua.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),zi="YYYY-MM-DD",yu=me()("2020-11-15",zi),au=kt=>{var ya;_t.sort_by=kt.type,_t.sort_direction=kt.direction,(0,oe.GJ)()&&a.cX.setItem(`${(ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.login}Teacher`,kt,"Exercise"),_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:el({},_t)}),$a(kt.name)},Iu=()=>ua.createElement(be.default,null,ua.createElement(be.default.Item,{key:1,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We==null?void 0:We.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}bt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:_t}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),ua.createElement(be.default.Item,{key:2,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We==null?void 0:We.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}window.scrollTo(0,0),Pe.history.push(`/classrooms/${_t.coursesId}/exercise/add?catalogue=${(Ro==null?void 0:Ro.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),ua.createElement(be.default.Item,{key:3,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We.AssistantObject)==null?void 0:kt.practice)!=null&&ya.can_create)){xe.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}bt({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),ou=kt=>_i(void 0,null,function*(){var ya,yl,cl,vi,Zi,fu,ma,no;const ba=kt.name;if(((ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.user_status)===2&&kt.name==="\u6279\u91CF\u53D1\u5E03"){(0,ve.Rd)();return}const Lo=[];if((yl=zn.exercises)==null||yl.map(ga=>{if(on.includes(ga.id)&&ga.is_random){const Ua=me()(ga.created_at,zi);me()(yu).diff(me()(Ua),"days")>0&&(ga!=null&&ga.is_random)&&Lo.push(ga)}}),on==""){let ga="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(ga="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),xe.ZP.error(ga)}else if(Lo.length)nu();else{if(ba==="\u6279\u91CF\u53D1\u5E03"){if((0,oe.Rm)()&&!((vi=(cl=We==null?void 0:We.AssistantObject)==null?void 0:cl.exercise)!=null&&vi.can_publish)){xe.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}let ga=!1;zn.exercises.forEach(ho=>{on.includes(ho.id)&&ho.total_num===0&&ho.is_random&&(ga=!0)});let Ua;if(Ua=(fu=(Zi=zn.exercises.filter(ho=>on.includes(ho==null?void 0:ho.id)).filter(ho=>(ho==null?void 0:ho.exercise_question_count)===0))==null?void 0:Zi[0])==null?void 0:fu.exercise_name,(Ua==null?void 0:Ua.length)>0){xe.ZP.warning(`${Ua}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(ga){xe.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let Cr=!1;if(zn.exercises.forEach(ho=>{on.includes(ho.id)&&ho.exercise_status!==1&&(Cr=!0)}),Cr){xe.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const ga=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...on]}});if(((ma=ga==null?void 0:ga.cover_exercises)==null?void 0:ma.length)>0){er(ga==null?void 0:ga.cover_exercises);return}}bt({type:"exercise/setActionTabs",payload:{key:ba,selectArrs:on,selectArrsAll:(no=zn.exercises)==null?void 0:no.filter(ga=>on.includes(ga.id)),params:_t,type:1}})}});return ua.createElement("section",{className:"minH500"},ua.createElement(cn.Z,{isLoading:yt["classroomList/getClassroomExercisesList"],tabDataSource:Or,isAdmin:(0,oe.GJ)(),dispatch:bt,type:zn==null?void 0:zn.main_category_name,isExercise:!0,user:fe,getDropdownMenu:Iu,onTabMenuClick:zl,classroomList:We,defaultSelectedKeys:[_t.type||"all"]}),ua.createElement(Yn.Z,{dataSource:zn.exercises||[],isAdmin:(0,oe.GJ)(),batchStatus:Ft,SortMenuName:Xt,setSortMenuName:$a,SortMenus:br,onSearch:kt=>{_t.search=kt.trim(),_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:el({},_t)})},isShowMode:!0,onModeChange:kt=>{_t.is_normal=kt,_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:el({},_t)})},onSort:au,onBatch:kt=>ln(kt)}),ua.createElement(ue.Z,{loading:yt["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30 px-20px"},(Ja=zn.exercises_counts)!=null&&Ja.exercises_all_counts?zn.exercises.map(function(kt,ya){return ua.createElement(Yl,{key:ya,v:kt,k:ya,batchStatus:Ft,selectArrs:on,setSelectArrs:la,dispatch:bt,params:_t,user:fe,manageAllGroup:zn.manage_all_group})}):ua.createElement(E.Z,null),ua.createElement("aside",{className:"tc mb50 mt30 px-20px"},((Ga=zn.exercises_counts)==null?void 0:Ga.exercises_all_counts)>0&&ua.createElement(Oe.Z,{showTotal:kt=>{var ya;return`\u5171 ${(ya=zn==null?void 0:zn.exercises_counts)==null?void 0:ya.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:Dl,defaultCurrent:_t.page,current:_t.page||1,pageSize:_t.limit||20,total:zn.exercises_counts&&zn.exercises_counts.exercises_all_counts}))),on.length>0&&(0,oe.GJ)()&&ua.createElement(je.Z,{offsetBottom:0},ua.createElement(uo.Z,{buttonDataSource:Ai,onButtonClick:ou,useBatchStatus:ln,setSeleArr:la,catalogue:((vr=(ja=Tr==null?void 0:Tr.course_modules)==null?void 0:ja.find(kt=>kt.type==="exercise"))==null?void 0:vr.second_category)||[],addCatalogue:kt=>{kt.preventDefault(),bt({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:_t,selectArrs:{category_id:zn==null?void 0:zn.main_category_id,type:"exercise"}}})},allSelect:on.length?on.length===((qo=(Xo=zn.exercises)==null?void 0:Xo.filter(kt=>!kt.is_make_up_exercise))==null?void 0:qo.length):!1,setAllSelect:kt=>{var ya;kt.target.checked?la((ya=zn==null?void 0:zn.exercises)==null?void 0:ya.filter(yl=>!yl.is_make_up_exercise).map(yl=>yl.id)):la([])},selectArrs:on,onMenuClick:kt=>_i(void 0,[kt],function*({key:ya}){if(on=="")return xe.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:on,new_category_id:ya}})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),bt({type:"classroomList/getClassroomExercisesList",payload:el({},Ro)}))})})),ua.createElement(Wn,null),ua.createElement(Qo,null),ua.createElement(nn,null),ua.createElement(Go,null),ua.createElement(No.Z,{onOk:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:el({},Ro)})}}),ua.createElement(va.Z,{onOk:()=>{}}),ua.createElement(Pn,{cb:()=>la([])}),ua.createElement(bo,null),ua.createElement(Tt,null),ua.createElement(Fe.default,{title:ua.createElement("span",null,ua.createElement(mr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:jt.length>0,footer:!1,onCancel:()=>{er([])}},ua.createElement("div",{style:{height:300,overflow:"auto"}},ua.createElement("div",null,"\u6709",jt==null?void 0:jt.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),jt==null?void 0:jt.map(kt=>ua.createElement("div",{style:{marginTop:25}},ua.createElement("div",null,"\u8BD5\u5377\uFF1A",kt==null?void 0:kt.origin_exercise_nam),ua.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ua.createElement("a",{href:`/paperlibrary/see/${kt==null?void 0:kt.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},kt==null?void 0:kt.examination_bank_name))))),ua.createElement("div",{style:{textAlign:"end"}},ua.createElement(Ie.ZP,{style:{height:30},onClick:()=>_i(void 0,null,function*(){const kt=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...on],update:1}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u8986\u76D6\u6210\u529F"),er([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),ua.createElement(Ie.ZP,{type:"primary",onClick:()=>_i(void 0,null,function*(){const kt=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...on]}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u5F62\u6210\u6210\u529F"),er([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),ua.createElement(Fe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:vl,centered:!0,onOk:()=>_i(void 0,null,function*(){let kt=yield(0,b.ZP)(`/api/courses/${_t.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:Rr,forbid_end_exercise:Br}});(kt==null?void 0:kt.status)===0&&(Sl(!1),bt({type:"classroomList/setActionTabs",payload:{key:""}}),bt({type:"classroomList/getClassroomTopBanner",payload:{id:_t.coursesId}}),xe.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{Sl(!1),bt({type:"classroomList/setActionTabs",payload:{key:""}})}},ua.createElement(Ne.default,{checked:Rr,onChange:kt=>{jl(kt.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",ua.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),ua.createElement(Ne.default,{className:"mt20",checked:Br,onChange:kt=>{Mt(kt.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),ua.createElement(jo,null),ua.createElement(ua.Fragment,null,ua.createElement(Ko.T$,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:Ti(el({},We==null?void 0:We.actionTabs),{open:""})})},open:(($o=We==null?void 0:We.actionTabs)==null?void 0:$o.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),ua.createElement(Ko.$i,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:Ti(el({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})},open:((ur=We==null?void 0:We.actionTabs)==null?void 0:ur.open)==="\u8BD5\u5377\u5C01\u5B58",Data:Ti(el({},We==null?void 0:We.actionTabs),{type:"exercise"})}),ua.createElement(Ko.K1,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:Ti(el({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})},open:((Vo=We==null?void 0:We.actionTabs)==null?void 0:Vo.open)==="\u89E3\u5C01",Data:Ti(el({},We==null?void 0:We.actionTabs),{type:"exercise"})}),ua.createElement(Ko.O7,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:Ti(el({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:el(el({},_t),Ro)})},open:((Va=We==null?void 0:We.actionTabs)==null?void 0:Va.open)==="\u63D0\u793A",Data:Ti(el({},We==null?void 0:We.actionTabs),{type:"exercise"})})))};var Ru=(0,Pe.connect)(({user:ee,classroomList:he,loading:fe,globalSetting:We})=>({user:ee,classroomList:he,globalSetting:We,loading:fe.effects}))(pu),Ei={flex_box_center:"flex_box_center___I2Zor",flex_space_between:"flex_space_between___Ht3Hg",flex_box_vertical_center:"flex_box_vertical_center___l37KN",flex_box_center_end:"flex_box_center_end___O7U5A",flex_box_column:"flex_box_column___QIoOH",containerTitle:"containerTitle___JCYrV",containerDesc:"containerDesc___OW8kv",menus:"menus___X1BVx",listItem:"listItem___QQnG2",info:"info___TwB7l",title:"title___l4jJE",titleLeft:"titleLeft___xwSdb",titleRight:"titleRight___b3ucs",acitons:"acitons___M5Z8n",move:"move___ez_Md",hideHeadCheckbox:"hideHeadCheckbox___kvvPQ",moveCategory:"moveCategory___dZlgC",tabSearch:"tabSearch___FCjLv",warpModal:"warpModal___gzw5T",modalColumn:"modalColumn___togI3",modalRow:"modalRow___HVpN2",sup:"sup___yOXrk",name:"name___jYQZy"},pr=te(59301),Cu=Object.defineProperty,Fu=Object.defineProperties,ji=Object.getOwnPropertyDescriptors,Fi=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,ju=(ee,he,fe)=>he in ee?Cu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Bi=(ee,he)=>{for(var fe in he||(he={}))iu.call(he,fe)&&ju(ee,fe,he[fe]);if(Fi)for(var fe of Fi(he))ku.call(he,fe)&&ju(ee,fe,he[fe]);return ee},Bu=(ee,he)=>Fu(ee,ji(he)),uu=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const{TabPane:Ju}=y.default,Ki=({classroomList:ee,exercise:he,loading:fe,dispatch:We})=>{var Vt;const yt=(0,Pe.useParams)(),bt=(0,Pe.useLocation)(),[fn]=z.default.useForm(),{brankList:vt}=he;let[Zt,nr]=(0,re.useState)(!0),[Zo,Co]=(0,re.useState)(!1);const[da,Ho]=(0,re.useState)("myself");let[Qn,Ja]=(0,re.useState)([]),[Ga,ja]=(0,re.useState)([]),[vr,Xo]=(0,re.useState)(),[qo,$o]=(0,re.useState)([]);const ur=(0,re.useRef)(null),[Vo,Va]=(0,re.useState)(!1),[Ro,Jn]=(0,re.useState)(""),[_t,bl]=(0,re.useState)(""),[ko,zn]=(0,re.useState)(!1),[Wo,Tr]=(0,re.useState)({}),on=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(Xt,$a,br)=>pr.createElement("div",{style:{display:"flex",alignItems:"center"}},pr.createElement(ne.Z,{title:Xt},pr.createElement("div",{title:Xt,className:Ei.name},Xt)),($a==null?void 0:$a.high_resources_consume)&&pr.createElement(Me.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:Xt=>pr.createElement(ne.Z,{title:Xt},pr.createElement("span",null,Xt))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:Xt=>Xt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(Xt,$a)=>pr.createElement("a",{href:Xt?`/randompaper/detail/${$a.id}`:`/paperlibrary/see/${$a.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[la,vo]=(0,re.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,re.useEffect)(()=>{he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(er(),$o([]),Ta())},[he.actionTabs.key]);const Ta=()=>uu(void 0,null,function*(){const Xt=yield We({type:"paperlibrary/getTeachGroupData"});ja(Xt)}),jt=Xt=>{const $a=parseInt(Xt);return isNaN($a)?"":$a},er=()=>uu(void 0,null,function*(){var Xt,$a;if(Zt){++la.page,nr(!1);const br=yield We({type:"exercise/getBrankList",payload:Bu(Bi({},la),{search:(Xt=la.search)==null?void 0:Xt.trim()})});Qn=br!=null&&br.object_list?[...Qn.concat(br==null?void 0:br.object_list)]:Qn,la.filter==="public"?Xo(br.is_teacher):Xo(!0),(($a=br.object_list)==null?void 0:$a.length){ur.current.scrollTop=0,Qn=[],la.page=0,la.group_id=Xt,Zt=!0,$o([]),vo(Bi({},la)),er()},Sl={selectedRowKeys:qo,onChange:Xt=>{$o(Xt)},type:"radio"},Rr=()=>{vo(Bi({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),Ja([]),nr(!0),Ho("myself"),We({type:"exercise/setActionTabs",payload:{}}),Co(!1)},[jl,Br,Mt,Ft]=(0,Ee.P)(),ln=Xt=>uu(void 0,null,function*(){let $a=!1;Qn.forEach(Or=>{qo.includes(Or.id)&&($a=Or.is_random)});const br=Xt.map(Or=>({shixun_id:Or.id,is_use:Or.is_use,is_copy:Or.is_copy}));if(!$a){zn(!0);const Or=yield We({type:"exercise/saveBanks",payload:{course_id:yt.coursesId,category_id:(yt==null?void 0:yt.categoryId)||null,object_type:"examination_bank",bank_id:qo,shixuns_info:br}});zn(!1),(Or==null?void 0:Or.status)===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),We({type:"classroomList/getClassroomExercisesList",payload:Bi({},he.actionTabs.params)}),We({type:"classroomList/getClassroomLeftMenus",payload:{id:yt.coursesId}}),Jn(`/classrooms/${yt.coursesId}/exercise/${Or.exercise_id}/detail?random=${Or.is_random}&tabs=3`),bl(`/classrooms/${yt.coursesId}/exercise/add/${Or.exercise_id}?random=${Or.is_random}&type=2`),Va(!0),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Br(),Rr());return}zn(!0),setTimeout(()=>{zn(!1)},500),We({type:"exercise/setActionTabs",payload:{}});let Dl=1,zl=Fe.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:pr.createElement("div",{className:Ei.modalColumn},pr.createElement("div",{className:Ei.modalRow},pr.createElement("sup",{className:Ei.sup},"*"),pr.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),pr.createElement(ae.Z,{parser:jt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Dl,onChange:Or=>{Dl=Or;const Ai=document.getElementById("model_error");Dl<1||Dl>50?Ai.style.display="block":Ai.style.display="none"}})),pr.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:Rr,onOk:()=>uu(void 0,null,function*(){if(Dl<1||Dl>50){const Ai=document.getElementById("model_error");return Ai.style.display="block",Promise.reject()}zl.update({cancelButtonProps:{disabled:!0}});const Or=yield We({type:"exercise/saveBanks",payload:{course_id:yt.coursesId,object_type:"examination_bank",bank_id:qo,shixuns_info:br,num:Dl}});zl.update({cancelButtonProps:{disabled:!1}}),Or&&Or.status===0?((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Fe.default.destroyAll(),We({type:"classroomList/getClassroomExercisesList",payload:Bi({},he.actionTabs.params)}),Rr(),Br(),xe.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(Rr(),Br())})})});return pr.createElement(pr.Fragment,null,pr.createElement(Fe.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:he.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Zo,bodyStyle:{minHeight:200},wrapClassName:Ei.warpModal,onOk:()=>uu(void 0,null,function*(){var Xt;if(!qo.length){xe.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Co(!0);let $a=!1,br=!1;if(Qn.forEach(zl=>{qo.includes(zl.id)&&zl.need_authorize&&($a=zl.need_authorize),qo.includes(zl.id)&&(br=zl.is_random)}),$a){(0,ve.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let Dl=yield(0,Le.Tr)({id:`${qo[0]}`,course_id:(Xt=ee.detailTopBanner)==null?void 0:Xt.course_id,type:"examination_bank"});Co(!1),(Dl==null?void 0:Dl.student_count)===0?ln([]):Tr(Dl)}),onCancel:Rr},pr.createElement(y.default,{activeKey:da,onTabClick:Xt=>uu(void 0,null,function*(){ur.current.scrollTop=0,Qn=[],da!==Xt&&$o([]),Ho(Xt),la.page=0,la.filter=Xt,la.group_id=null,Zt=!0,er()})},pr.createElement(Ju,{tab:pr.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),pr.createElement(Ju,{tab:pr.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),pr.createElement(Ju,{tab:pr.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),pr.createElement("div",{className:Ei.tabSearch},da==="teacher"&&pr.createElement(le.default,{value:la.group_id,onChange:vl,size:"middle",style:{width:200,marginRight:30}},pr.createElement(le.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Vt=Ga==null?void 0:Ga.groups)==null?void 0:Vt.map(Xt=>pr.createElement(le.default.Option,{key:Xt==null?void 0:Xt.group_id,value:Xt==null?void 0:Xt.group_id},Xt==null?void 0:Xt.name))),pr.createElement(ie.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:la.search,onChange:Xt=>{la.search=Xt.target.value,vo(Bi({},la))},onSearch:Xt=>{ur.current.scrollTop=0,Qn=[],la.page=0,Zt=!0,$o([]),Xt&&(0,Je.tk)({name:Xt,copywriting:Xt,position:"Exercise"}),er()}})),pr.createElement("div",{ref:ur,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!vr&&da==="public"&&pr.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},pr.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),pr.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),pr.createElement(se(),{initialLoad:!1,pageStart:0,loadMore:()=>{er()},hasMore:Zt,useWindow:!1},he.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&vr&&pr.createElement(ce.Z,{className:Ei.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:Qn,onRow:Xt=>({onClick:()=>{$o([Xt==null?void 0:Xt.id])}}),resColumns:on,rowSelection:Sl})))),pr.createElement(Fe.default,{title:"\u63D0\u793A",open:Vo,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:pr.createElement("div",null,pr.createElement(Ie.ZP,{onClick:()=>{Va(!1),Pe.history.push(_t)}},"\u4FEE\u6539\u8BD5\u5377"),pr.createElement(Ie.ZP,{type:"primary",onClick:()=>{Pe.history.push(Ro),Va(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Va(!1)}},pr.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),pr.createElement(Ue.Z,{resdata:Wo,type:"exercise",okloading:ko,oktext:(Wo==null?void 0:Wo.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Xt=>{ln(Xt)}}),pr.createElement(Ee.Z,{inPaper:!0,visible:jl,onCancel:Br,onOk:ln,renderData:Mt,modalType:"multiple",type:"examination_bank"}))};var Xu=(0,Pe.connect)(({exercise:ee,loading:he,classroomList:fe})=>({exercise:ee,loading:he,classroomList:fe}))(Ki),zu=te(79792),vu={cstuModal:"cstuModal___Lk_O4",removeStyle:"removeStyle___PEQ8_",bottom:"bottom___x2sdD",yes:"yes___DNALK",no:"no___lzotc",Onerow:"Onerow___gJgKh",searchMember:"searchMember___jzYuJ",searchMemberHeader:"searchMemberHeader___v8IBY"},zr=te(59301),Es=Object.defineProperty,Qs=Object.defineProperties,Ss=Object.getOwnPropertyDescriptors,ys=Object.getOwnPropertySymbols,Ts=Object.prototype.hasOwnProperty,qu=Object.prototype.propertyIsEnumerable,Ou=(ee,he,fe)=>he in ee?Es(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Ri=(ee,he)=>{for(var fe in he||(he={}))Ts.call(he,fe)&&Ou(ee,fe,he[fe]);if(ys)for(var fe of ys(he))qu.call(he,fe)&&Ou(ee,fe,he[fe]);return ee},Nu=(ee,he)=>Qs(ee,Ss(he)),Ps=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Rs=({visible:ee,setVisible:he,onK:fe,selectKeys:We,selectRows:Vt,appointStudent:yt,modalParams:bt,courseId:fn})=>{const vt=(0,Pe.useParams)(),[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1),[da,Ho]=(0,re.useState)([]),[Qn,Ja]=(0,re.useState)([]),[Ga,ja]=(0,re.useState)([]),[vr,Xo]=(0,re.useState)("all"),[qo,$o]=(0,re.useState)("all");let[ur,Vo]=(0,re.useState)(!0);const[Va,Ro]=(0,re.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[Jn,_t]=(0,re.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),bl={selectedRowKeys:Qn,columnWidth:40,hideSelectAll:!0,onSelect:(on,la,vo)=>{let Ta=!0;for(let jt=0;jt{if(on&&vo.length>0){vo.forEach(Ta=>{Qn.push(Ta.user_id),Ga.push(Ta)}),Ja([...Qn]),ja([...Ga]);return}if(!on&&vo.length>0){let Ta=[],jt=[];const er=new Set(vo),vl=new Set(Qn),Sl=new Set(Ga);Ta=[...vl].filter(Rr=>[...er].every(jl=>jl.user_id!==Rr)),jt=[...Sl].filter(Rr=>[...er].every(jl=>jl.user_id!==Rr.user_id)),Ja([...Ta]),ja([...jt])}}};(0,re.useEffect)(()=>{ee&&We&&(Ja([...We]),ja(Vt))},[ee,We]),(0,re.useEffect)(()=>{ee&&(!yt&&bt?Jn.status=bt:Jn.status=null,_t(Ri({},Jn)),zn())},[ee,yt,bt]);const ko=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(on,la,vo)=>zr.createElement("span",{style:{color:"#333"}},vo+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(on,la,vo)=>zr.createElement("span",null,on)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(on,la,vo)=>zr.createElement("span",{style:{color:"#666"}},on)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(on,la)=>zr.createElement("span",null,on)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(on,la)=>zr.createElement("span",null,on||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(on,la)=>zr.createElement("span",null,on)}].filter(on=>bt===1||bt===2?on.title!=="\u72B6\u6001":!0),zn=()=>Ps(void 0,null,function*(){var on,la,vo;Co(!0);const Ta=yield(0,b.ZP)(`/api/exercises/${vt.categoryId||fn}/wait_make_up_students.json`,{method:"get",params:Nu(Ri({},Jn),{keywords:(on=Jn==null?void 0:Jn.keywords)==null?void 0:on.trim()})});if(Ta.status===0){const jt=((vo=(la=Ta==null?void 0:Ta.data)==null?void 0:la.all_course_groups)==null?void 0:vo.map(er=>({value:er==null?void 0:er.id,label:er==null?void 0:er.name})))||[];Ro([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...jt]),Ho(Ta.data)}Co(!1)}),Wo=()=>{Jn.page=1,Jn.status=null,Jn.course_group_id=null,Jn.keywords="",Xo("all"),$o("all"),Ja([]),ja([]),_t(Ri({},Jn)),yt&&fe(Qn==null?void 0:Qn.length,Qn,Ga)},Tr=()=>{Jn.page=1,Jn.status=null,Jn.course_group_id=null,Jn.keywords="",_t(Ri({},Jn)),Xo("all"),$o("all"),Ja([]),ja([]),he(!1)};return zr.createElement(Fe.default,{centered:!0,className:vu.cstuModal,title:bt===1?"\u7F3A\u8003\u5B66\u751F":bt===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ee,width:1200,footer:null,onCancel:()=>{Tr()}},zr.createElement(At.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},zr.createElement(At.Z,null,zr.createElement(Be.Z,null,zr.createElement(le.default,{size:"large",value:vr,style:{width:200,marginRight:20},onChange:on=>{Xo(on),on==="all"?Jn.course_group_id=null:Jn.course_group_id=on,Jn.page=1,_t(Ri({},Jn)),zn()},options:Va})),yt&&zr.createElement(Be.Z,null,zr.createElement(le.default,{size:"large",value:qo,style:{width:200},onChange:on=>{$o(on),on==="all"?Jn.status=null:Jn.status=on,Jn.page=1,_t(Ri({},Jn)),zn()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),zr.createElement(Be.Z,null,zr.createElement(dt.t7,{style:{width:300,marginLeft:15},value:Jn.keywords,allowClear:!0,onChange:on=>{Jn.keywords=on,Jn.page=1,_t(Ri({},Jn)),zn()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),zr.createElement(At.Z,{align:"middle",className:"mb30"},zr.createElement(Be.Z,{span:14},zr.createElement("div",{className:"flexd-table-header"},zr.createElement(rt.default,{pagination:!1,dataSource:[],columns:ko,rowSelection:yt?bl:null,rowKey:on=>on.user_id})),zr.createElement("div",null,zr.createElement(rt.default,{rowSelection:yt?bl:null,columns:ko,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:on=>on.user_id,loading:Zo,dataSource:da==null?void 0:da.exercise_users,onChange:(on,la,vo)=>{Jn.page=on==null?void 0:on.current,Jn.limit=on==null?void 0:on.pageSize,vo!=null&&vo.order?(Jn.sort_by=vo==null?void 0:vo.field,Jn.direction=(vo==null?void 0:vo.order)==="ascend"?"asc":"desc"):(Jn.sort_by=null,Jn.direction=null),_t(Ri({},Jn)),zn()},pagination:!1}))),zr.createElement(Be.Z,{span:1},zr.createElement("img",{src:we,style:{marginLeft:10}})),zr.createElement(Be.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},zr.createElement("div",{className:vu.searchMember,style:{width:550}},zr.createElement(At.Z,{className:vu.searchMemberHeader},zr.createElement(Be.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),zr.createElement(Be.Z,{flex:"110px"},"\u5B66\u53F7"),zr.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),zr.createElement("div",{style:{overflow:"auto",height:390}},Ga==null?void 0:Ga.map((on,la)=>zr.createElement(At.Z,{key:la,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},zr.createElement(Be.Z,{flex:"100px"},on.user_name),zr.createElement(Be.Z,{flex:"110px"},on.student_id),zr.createElement(Be.Z,{flex:"120px",style:{marginLeft:5}},on.user_group_name),zr.createElement(Be.Z,{style:{marginLeft:10}},zr.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{ja(Ga.filter(vo=>vo.user_id!=on.user_id)),Ja(Qn.filter(vo=>vo!=on.user_id))}})))))))),!(bt===1||bt===2)&&zr.createElement("div",{className:vu.bottom},zr.createElement(Ie.ZP,{className:vu.no,onClick:()=>{Tr()}},"\u53D6\u6D88"),zr.createElement(Ie.ZP,{loading:Zt,type:"primary",onClick:()=>{Wo()}},"\u786E\u5B9A")))};var As=(0,Pe.connect)(({})=>({}))(Rs),Xi={contentInterval:"contentInterval___exfzZ",numberInput:"numberInput___uwvXH",minorRuleText:"minorRuleText___Mp9Y2",failedList:"failedList___XUK6Y",name:"name___dS7W9",publish:"publish___Qpw4v"},mo=te(59301),xs=Object.defineProperty,$u=Object.defineProperties,ks=Object.getOwnPropertyDescriptors,Cs=Object.getOwnPropertySymbols,js=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,hu=(ee,he,fe)=>he in ee?xs(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,su=(ee,he)=>{for(var fe in he||(he={}))js.call(he,fe)&&hu(ee,fe,he[fe]);if(Cs)for(var fe of Cs(he))Fs.call(he,fe)&&hu(ee,fe,he[fe]);return ee},Zu=(ee,he)=>$u(ee,ks(he)),bu=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});function Du(ee,he){const fe=[];for(let We=ee;We{let he=new Date;const fe=me()(ee).format("HH");if(me()(ee).isSame(me()(he),"day")){const We=me()(he).format("HH"),Vt=me()(he).format("mm");return{disabledHours:()=>Du(0,24).splice(1,We*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",fe,We),me()(ee).isSame(me()(he),"hour")&&fe<=We?Du(0,60).splice(0,Vt):Du(60,60))}}else if(me()(ee).isSame(me()(),"day")){const We=me()().format("HH"),Vt=me()().format("mm");return{disabledHours:()=>Du(0,24).splice(0,We),disabledMinutes:()=>fe<=We?Du(0,Vt):Du(60,60)}}else return!1},Se=({exercise:ee,dispatch:he})=>{var fe,We,Vt,yt,bt,fn,vt,Zt,nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur;const Vo=(0,Pe.useParams)(),[Va]=z.default.useForm(),[Ro,Jn]=(0,re.useState)(1),[_t,bl]=(0,re.useState)([]),[ko,zn]=(0,re.useState)(!0),[Wo,Tr]=(0,re.useState)([]),[on,la]=(0,re.useState)(!0),[vo,Ta]=(0,re.useState)(!1),{workSetting:jt}=ee,[er,vl]=(0,re.useState)(!1),[Sl,Rr]=(0,re.useState)([]),[jl,Br]=(0,re.useState)([]),[Mt,Ft]=(0,re.useState)(!1),[ln,Xt]=(0,re.useState)(!1),[$a,br]=(0,re.useState)(!1),[Dl,zl]=(0,re.useState)(null),[Or,Ai]=(0,re.useState)(1),[nu,zi]=(0,re.useState)({}),[yu,au]=(0,re.useState)({}),[Iu,ou]=(0,re.useState)(!1);(0,re.useEffect)(()=>{var ma;if(ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(ya(),Zi(),ee.actionTabs.type===2)){const no=(ma=ee.actionTabs)==null?void 0:ma.unified_setting;la(no)}},[ee.actionTabs]),(0,re.useEffect)(()=>{var ma,no,ba,Lo,ga,Ua,Cr;(ma=jt==null?void 0:jt.exercise)!=null&&ma.publish_time&&Va.setFieldsValue({publish_time:me()((no=jt==null?void 0:jt.exercise)==null?void 0:no.publish_time)}),(ba=jt==null?void 0:jt.exercise)!=null&&ba.end_time&&Va.setFieldsValue({end_time:me()((Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.end_time)}),Va.setFieldsValue({exercise_type:(ga=jt==null?void 0:jt.exercise)==null?void 0:ga.exercise_type,simulate_exercise_num:(Ua=jt==null?void 0:jt.exercise)==null?void 0:Ua.simulate_exercise_num}),Ai((Cr=jt==null?void 0:jt.exercise)==null?void 0:Cr.exercise_type)},[ee]);const kt=ma=>{var no;const ba=Va.getFieldValue("publish_time");if(!ba||(no=jt==null?void 0:jt.exercise)!=null&&no.publish_time)return;let Lo;ma===1?Lo=me()(ba).add(120,"minutes"):Lo=me()(ba).add(7,"days"),Va.setFieldsValue({end_time:Lo})},ya=ma=>bu(void 0,null,function*(){var no,ba;zn(!0);const Lo=yield(0,ut.N3)({coursesId:Vo.coursesId,check_ids:[...((no=ee.actionTabs.selectArrs)==null?void 0:no.map(Ua=>Number(Ua)))||[]]});console.log(Lo,"res");const ga=((ba=Lo==null?void 0:Lo.course_info)==null?void 0:ba.map((Ua,Cr)=>Zu(su({},Ua),{key:Ua.course_group_id,title:Ua.course_group_name,name:Ua.course_group_name,disabled:!!Ua.is_published})))||[];if((Lo==null?void 0:Lo.status)!==-1){bl([...ga]);const Ua=me()();Va.setFieldsValue({publish_time:Ua}),(Va.getFieldValue("exercise_type")||1)===1?Va.setFieldsValue({end_time:me()(Ua).add(120,"minutes")}):Va.setFieldsValue({end_time:me()(Ua).add(7,"days")})}zn(!1)});(0,re.useEffect)(()=>{var ma,no,ba,Lo,ga,Ua;if((ma=jt==null?void 0:jt.exercise)!=null&&ma.is_appoint_user){const Cr=((ba=(no=jt==null?void 0:jt.exercise)==null?void 0:no.all_exercise_users)==null?void 0:ba.map(ho=>ho.user_id))||[];Rr([...Cr])}Ft((Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.is_appoint_user),Xt((ga=jt==null?void 0:jt.exercise)==null?void 0:ga.is_miss_exam_user),br((Ua=jt==null?void 0:jt.exercise)==null?void 0:Ua.is_no_passing_user)},[jt]),(0,re.useEffect)(()=>{var ma,no,ba,Lo,ga,Ua,Cr,ho;(no=(ma=ee==null?void 0:ee.actionTabs)==null?void 0:ma.selectArrs)!=null&&no[0]&&ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&he({type:"exercise/getWorkSetting",payload:{categoryId:(Lo=(ba=ee==null?void 0:ee.actionTabs)==null?void 0:ba.selectArrs)==null?void 0:Lo[0],category:(Ua=(ga=ee==null?void 0:ee.actionTabs)==null?void 0:ga.selectArrs)==null?void 0:Ua[0],coursesId:(ho=(Cr=ee==null?void 0:ee.actionTabs)==null?void 0:Cr.params)==null?void 0:ho.id}})},[(fe=ee==null?void 0:ee.actionTabs)==null?void 0:fe.selectArrs]);const yl=()=>bu(void 0,null,function*(){var ma,no,ba,Lo,ga,Ua,Cr;const ho=su({},Va.getFieldsValue()),Pu=me()(me()(ho.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),cc=me()(me()(ho.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Pu,Pu,33),cc<=Pu){xe.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((Wo==null?void 0:Wo.length)<=0&&!on&&_t.length>0&&!((ma=jt==null?void 0:jt.exercise)!=null&&ma.is_make_up_exercise)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const xc=_t.map(ul=>ul.key),Jl={check_ids:[...((no=ee.actionTabs.selectArrs)==null?void 0:no.map(ul=>Number(ul)))||[]],end_time:me()(ho.end_time).format("YYYY-MM-DD HH:mm"),publish_time:me()(ho.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:Wo.map(ul=>ul.course_group_id),unified_setting:!Wo.length,exercise_type:ho.exercise_type,simulate_exercise_num:ho.simulate_exercise_num};if(((ba=ee.actionTabs.selectArrsAll)==null?void 0:ba.length)>0&&ee.actionTabs.type===1&&(Jl.check_ids=[...((ga=(Lo=ee.actionTabs.selectArrsAll)==null?void 0:Lo.filter(ul=>!ul.high_resources_consume||ul.high_resources_consume_permission))==null?void 0:ga.map(ul=>Number(ul==null?void 0:ul.id)))||[]]),(Ua=jt==null?void 0:jt.exercise)!=null&&Ua.is_make_up_exercise){if(Mt&&Sl.length<=0||!Mt&&!(ln||$a)){xe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Jl.is_appoint_user=Mt,Jl.is_miss_exam_user=ln,Jl.is_no_passing_user=$a,Mt?Jl.make_up_exercise_users=Sl.map(ul=>({user_id:ul})):Jl.make_up_exercise_user=[]}let{is_locked:dc,open_camera:gc,screen_open:mc,login_restrict:fc,ip_bind:pc,ip_limit:Ks,is_random:Us,id:Vs,identity_verify:vc,open_phone_video_recording:hc}=jt==null?void 0:jt.exercise;if(ee.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(dc||gc||mc||fc||pc||Ks=="pub"||Ks=="inner"||vc||hc)&&ho.exercise_type==2){if(he({type:"exercise/setActionTabs",payload:{}}),ee.actionTabs.type==2){let ul=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:mo.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",mo.createElement("span",{style:{color:"#FA6400"}}," ",(0,a.hi)(jt==null?void 0:jt.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>bu(void 0,null,function*(){var Au;ou(!0);let Yi=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Vo.coursesId,type:"exercise"});if((Yi==null?void 0:Yi.student_count)===0){if((yield vi(Jl))&&ee.actionTabs.isRouter){ul.destroy(),Pe.history.push(`/classrooms/${Vo.coursesId}/exercise/${Vs}/detail?random=${Us}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else au(Jl),zi(Yi)}),onCancel:()=>{ul.destroy(),ou(!1),vi(Jl)}})}else{let ul=Fe.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:mo.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>bu(void 0,null,function*(){var Au;ou(!0);let Yi=yield(0,Le.Tr)({exercise_ids:[...((Au=ee.actionTabs.selectArrs)==null?void 0:Au.map(xu=>Number(xu)))||[]],course_id:Vo.coursesId,type:"exercise"});if((Yi==null?void 0:Yi.student_count)===0){if((yield vi(Jl))&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Vo.coursesId}/exercise/${Vs}/detail?random=${Us}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else au(Jl),zi(Yi)})})}return}let hs=yield(0,Le.Tr)({exercise_ids:[...((Cr=ee.actionTabs.selectArrs)==null?void 0:Cr.map(ul=>Number(ul)))||[]],course_id:Vo.coursesId,type:"exercise"});(hs==null?void 0:hs.student_count)===0?vi(Jl):(au(Jl),zi(hs))}),cl=()=>{var ma;let no=[...(ma=ee.actionTabs.selectArrsAll)==null?void 0:ma.filter(ba=>ba.high_resources_consume&&!ba.high_resources_consume_permission)];(no==null?void 0:no.length)>0&&ee.actionTabs.type===1&&Fe.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:mo.createElement("div",null,mo.createElement("div",{className:Xi.tipcontent},mo.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",no==null?void 0:no.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),mo.createElement("div",{className:"mt20 mb20"},no==null?void 0:no.map(ba=>mo.createElement("div",{className:Xi.failedList,key:ba.id},mo.createElement("div",{className:Xi.name},ba==null?void 0:ba.exercise_name),mo.createElement("div",{className:Xi.publish,onClick:()=>{(0,a.xg)(`/classrooms/${Vo.coursesId}/exercise/${ba.id}/detail?random=${ba.is_random}`)}},"\u53D1\u5E03"))))))})},vi=ma=>bu(void 0,null,function*(){var no,ba,Lo;if(ee.actionTabs.type===1){let Cr=[...(no=ee.actionTabs.selectArrsAll)==null?void 0:no.filter(ho=>ho.high_resources_consume&&!ho.high_resources_consume_permission)];if((Cr==null?void 0:Cr.length)==ee.actionTabs.selectArrsAll.length){he({type:"exercise/setActionTabs",payload:{}}),cl();return}}let ga=!1;return Ta(!0),(yield(0,b.ZP)(`/api/courses/${Vo.coursesId}/exercises/publish.json`,{method:"post",body:ma})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Zi(),xe.ZP.success("\u53D1\u5E03\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),(ba=ee==null?void 0:ee.actionTabs)!=null&&ba.cb?(Lo=ee==null?void 0:ee.actionTabs)==null||Lo.cb():he({type:"classroomList/getClassroomExercisesList",payload:su({},ee.actionTabs.params)}),ga=!0,ee.actionTabs.type===1&&cl()),Ta(!1),ga}),Zi=()=>{Jn(1),bl([]),Tr([])},fu=(ma,no,ba)=>{ma<=0?xe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(Rr(no),Br(ba),vl(!1))};return mo.createElement(Fe.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u53D1\u5E03",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:yl,confirmLoading:vo||ko,onCancel:()=>{Zi(),he({type:"exercise/setActionTabs",payload:{}})}},mo.createElement(ze.Z,{spinning:ko},_t&&mo.createElement(z.default,{form:Va},!!((We=ee==null?void 0:ee.actionTabs)!=null&&We.disabled)&&mo.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},mo.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((Vt=jt==null?void 0:jt.exercise)!=null&&Vt.is_make_up_exercise)&&mo.createElement(mo.Fragment,null,mo.createElement(At.Z,null,mo.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},mo.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),mo.createElement(z.default.Item,{name:"exercise_type"},mo.createElement(Wt.ZP.Group,{disabled:((yt=jt==null?void 0:jt.exercise)==null?void 0:yt.exercise_status)>1,onChange:ma=>{Ai(ma.target.value),kt(ma.target.value)}},mo.createElement(Wt.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),mo.createElement(Wt.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Or==2&&mo.createElement(At.Z,{className:`${Xi.contentInterval}`},mo.createElement("span",{className:`${Xi.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),mo.createElement(z.default.Item,{name:"simulate_exercise_num"},mo.createElement(ae.Z,{className:Xi.numberInput,style:{width:145},precision:0,size:"middle",disabled:((bt=jt==null?void 0:jt.exercise)==null?void 0:bt.exercise_status)>1,min:1,max:999})),mo.createElement("span",null,"\u6B21",mo.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),mo.createElement(At.Z,null,mo.createElement("span",{className:"mr10 mt5"},mo.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),mo.createElement(z.default.Item,{name:"publish_time"},mo.createElement(tn.default,{style:{width:170},disabledDate:ma=>ma&&ma<=me()().subtract(0,"days"),disabledTime:pe,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),mo.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),mo.createElement(z.default.Item,{name:"end_time"},mo.createElement(tn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,a.U6)(),"HH:mm")},disabledDate:ma=>ma&&ma{var ba,Lo,ga,Ua,Cr;if(Ft(ma),ma)if((ba=jt==null?void 0:jt.exercise)!=null&&ba.is_appoint_user){const ho=(ga=(Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.all_exercise_users)==null?void 0:ga.map(Pu=>Pu.user_id);Rr([...ho])}else Rr([]),Xt(!1),br(!1);else Xt((Ua=jt==null?void 0:jt.exercise)==null?void 0:Ua.is_miss_exam_user),br((Cr=jt==null?void 0:jt.exercise)==null?void 0:Cr.is_no_passing_user)},disabled:((vt=jt==null?void 0:jt.exercise)==null?void 0:vt.exercise_status)!==1}),mo.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Mt&&mo.createElement(At.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},mo.createElement(Ne.default,{checked:ln,disabled:((Zt=jt==null?void 0:jt.exercise)==null?void 0:Zt.exercise_status)!==1||((nr=jt==null?void 0:jt.exercise)==null?void 0:nr.miss_exam_count)<=0,onChange:ma=>{Xt(ma.target.checked)}},mo.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),mo.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{zl(1),Ft(!1),vl(!0)}},"\uFF08",`${(Zo=jt==null?void 0:jt.exercise)==null?void 0:Zo.miss_exam_count}\u4EBA`,"\uFF09"),mo.createElement(Ne.default,{checked:$a,disabled:((Co=jt==null?void 0:jt.exercise)==null?void 0:Co.exercise_status)!==1||((da=jt==null?void 0:jt.exercise)==null?void 0:da.no_passing_count)<=0,onChange:ma=>{br(ma.target.checked)}},mo.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),mo.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{zl(2),Ft(!1),vl(!0)}},"\uFF08",`${(Ho=jt==null?void 0:jt.exercise)==null?void 0:Ho.no_passing_count}\u4EBA`,"\uFF09")),Mt&&mo.createElement(At.Z,{className:"mt20",style:{paddingLeft:"90px"}},mo.createElement(Ie.ZP,{type:"primary",ghost:!0,disabled:((Qn=jt==null?void 0:jt.exercise)==null?void 0:Qn.exercise_status)!==1,onClick:()=>{vl(!0),zl(void 0)}},mo.createElement("span",null,mo.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),mo.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),mo.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${Sl.length||0} \u4EBA`,"\uFF09"))),ee.actionTabs.type===2&&!((Ja=jt==null?void 0:jt.exercise)!=null&&Ja.is_make_up_exercise)&&mo.createElement(At.Z,{style:{marginBottom:"10px"}},mo.createElement("span",{className:"mr10"},mo.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),mo.createElement(Wt.ZP.Group,{value:on,onChange:ma=>{la(ma.target.value),Tr([])}},mo.createElement(Wt.ZP,{disabled:!!((Ga=ee==null?void 0:ee.actionTabs)!=null&&Ga.disabled)||_t.some(ma=>ma==null?void 0:ma.is_published)||!((ja=ee==null?void 0:ee.actionTabs)!=null&&ja.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),mo.createElement(Wt.ZP,{disabled:_t.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),_t.length<=0&&ee.actionTabs.type===2&&!((vr=jt==null?void 0:jt.exercise)!=null&&vr.is_make_up_exercise)&&mo.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ee.actionTabs.type===1||!on)&&!((Xo=jt==null?void 0:jt.exercise)!=null&&Xo.is_make_up_exercise)&&_t.length>0&&mo.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},mo.createElement("span",{style:{flex:1}},mo.createElement(Ne.default,{checked:Wo.length===_t.length,onChange:ma=>{Wo.length===_t.length?Tr([]):Tr(_t)}},"\u5168\u9009")),mo.createElement("span",{style:{width:16}}),mo.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Wo.length||0,"\u4E2A\u5206\u73ED")),(ee.actionTabs.type===1||!on)&&!((qo=jt==null?void 0:jt.exercise)!=null&&qo.is_make_up_exercise)&&_t.length>0&&mo.createElement(zu.Z,{data:_t,selectedRowKeys:Wo,setSelectedRowKeys:Tr})),mo.createElement(As,{visible:er,setVisible:vl,onK:fu,selectKeys:Sl,selectRows:jl,appointStudent:Mt,modalParams:Dl,courseId:Vo.categoryId||((ur=($o=ee==null?void 0:ee.actionTabs)==null?void 0:$o.selectArrs)==null?void 0:ur[0])})),mo.createElement(Ue.Z,{resdata:nu,type:"exercisepush",okloading:vo,oktext:(nu==null?void 0:nu.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ma=>bu(void 0,null,function*(){var no,ba,Lo;Ta(!0);let ga=yield(0,b.ZP)(`/api/courses/${Vo.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((no=ee.actionTabs.selectArrs)==null?void 0:no.map(Ua=>Number(Ua)))||[]]}});if(Ta(!1),(ga==null?void 0:ga.status)===0)if(Iu){let Ua=yield vi(yu);if(Fe.default.destroyAll(),Ua&&ee.actionTabs.isRouter){Pe.history.push(`/classrooms/${Vo.coursesId}/exercise/${(ba=jt==null?void 0:jt.exercise)==null?void 0:ba.id}/detail?random=${(Lo=jt==null?void 0:jt.exercise)==null?void 0:Lo.is_random}&tabs=3&childrenTabs=2`);return}he({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else vi(yu)})}))};var Ae=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Se),qe=Object.defineProperty,tt=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Cn=(ee,he,fe)=>he in ee?qe(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,$n=(ee,he)=>{for(var fe in he||(he={}))dn.call(he,fe)&&Cn(ee,fe,he[fe]);if(Pt)for(var fe of Pt(he))un.call(he,fe)&&Cn(ee,fe,he[fe]);return ee},Mn=(ee,he)=>tt(ee,Ot(he)),On=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});function _n(ee,he){const fe=[];for(let We=ee;We{let he=new Date;const fe=me()(ee).format("HH");if(me()(ee).isSame(me()(he),"day")){const We=me()(he).format("HH"),Vt=me()(he).format("mm");return{disabledHours:()=>_n(0,24).splice(1,We*1-1),disabledMinutes:()=>me()(ee).isSame(me()(he),"hour")&&fe<=We?_n(0,60).splice(0,Vt):_n(60,60)}}else if(me()(ee).isSame(me()(),"day")){const We=me()().format("HH"),Vt=me()().format("mm");return{disabledHours:()=>_n(0,24).splice(0,We),disabledMinutes:()=>fe<=We?_n(0,Vt):_n(60,60)}}else return!1},sn=({exercise:ee,dispatch:he})=>{var fe;const We=(0,Pe.useParams)(),[Vt]=z.default.useForm(),[yt,bt]=(0,re.useState)(1),[fn,vt]=(0,re.useState)([]),[Zt,nr]=(0,re.useState)(!0),[Zo,Co]=(0,re.useState)([]),[da,Ho]=(0,re.useState)(!0),[Qn,Ja]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Ga()},[ee.actionTabs]);const Ga=Xo=>On(void 0,null,function*(){var qo,$o;nr(!0);const ur=yield he({type:"exercise/getEndGroups",payload:Mn($n({},We),{check_ids:[...((qo=ee.actionTabs.selectArrs)==null?void 0:qo.map(Va=>Number(Va)))||[]]})}),Vo=($o=ur==null?void 0:ur.course_info)==null?void 0:$o.map((Va,Ro)=>Mn($n({},Va),{key:Va.course_group_id,title:Va.course_group_name,name:Va.course_group_name,disabled:!!Va.is_published}));ur&&(ur!=null&&ur.course_info)&&(vt([...Vo]),Vt.setFieldsValue({end_time:me()(me()(new Date((0,a.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),nr(!1)}),ja=()=>On(void 0,null,function*(){var Xo,qo,$o,ur;const Vo=$n({},Vt.getFieldsValue());if((Zo==null?void 0:Zo.length)<=0&&fn.length>0&&!((Xo=ee.actionTabs)!=null&&Xo.unified_setting)){xe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}Ja(!0);const Va={check_ids:[...((qo=ee.actionTabs.selectArrs)==null?void 0:qo.map(Jn=>Number(Jn)))||[]],group_ids:Zo};da||(Va.end_time=me()(Vo.end_time).format("YYYY-MM-DD HH:mm")),Va.group_ids=Zo.map(Jn=>Jn.course_group_id),(yield(0,b.ZP)(`/api/courses/${We.coursesId}/exercises/end_exercise.json`,{method:"post",body:Va})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),he({type:"exercise/setActionTabs",payload:{}}),($o=ee==null?void 0:ee.actionTabs)!=null&&$o.cb?(ur=ee==null?void 0:ee.actionTabs)==null||ur.cb():he({type:"classroomList/getClassroomExercisesList",payload:$n({},ee.actionTabs.params)})),Ja(!1)}),vr=()=>{bt(1),vt([]),Co([]),Ho(!0)};return re.createElement(Fe.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:ee.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:ja,width:680,confirmLoading:Qn||Zt,onCancel:()=>{vr(),he({type:"exercise/setActionTabs",payload:{}})}},re.createElement(ze.Z,{spinning:Zt},fn&&re.createElement(z.default,{form:Vt},re.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},re.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ft.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),re.createElement(At.Z,{className:"mt20 mb10"},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),re.createElement(Wt.ZP.Group,{value:da,onChange:Xo=>{Ho(Xo.target.value),Co([])}},re.createElement(Wt.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),re.createElement(Wt.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),re.createElement(z.default.Item,{name:"end_time",style:{marginTop:-3,visibility:da?"hidden":"visible"}},re.createElement(tn.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:me()((0,a.U6)(),"HH:mm")},disabledDate:Xo=>Xo&&Xo0&&!((fe=ee.actionTabs)!=null&&fe.unified_setting)&&re.createElement(At.Z,{style:{marginBottom:"10px"}},re.createElement("span",{className:"mr10"},re.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),re.createElement("div",null,fn.length>0&&re.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},re.createElement("span",{style:{flex:1}},re.createElement(Ne.default,{checked:Zo.length===fn.length,onChange:Xo=>{Zo.length===fn.length?Co([]):Co(fn)}},"\u5168\u9009")," "),re.createElement("span",{style:{width:16}}),re.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Zo.length||0,"\u4E2A\u5206\u73ED")),re.createElement(zu.Z,{data:fn,selectedRowKeys:Zo,setSelectedRowKeys:Co}))))))};var wn=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(sn),Vn=Object.defineProperty,Ra=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,Xa=(ee,he,fe)=>he in ee?Vn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Ya=(ee,he)=>{for(var fe in he||(he={}))Ca.call(he,fe)&&Xa(ee,fe,he[fe]);if(Ra)for(var fe of Ra(he))Ha.call(he,fe)&&Xa(ee,fe,he[fe]);return ee},Aa=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const xr=({exercise:ee,dispatch:he})=>{const fe=(0,Pe.useParams)();return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ee.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Aa(void 0,null,function*(){(yield(0,b.ZP)(`/api/courses/${fe.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ee.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),he({type:"classroomList/getClassroomExercisesList",payload:Ya({},ee.actionTabs.params)}))}),onCancel:()=>{he({type:"exercise/setActionTabs",payload:{}})}},re.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",re.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Jo=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(xr),Fr=Object.defineProperty,Nr=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Rl=(ee,he,fe)=>he in ee?Fr(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,nl=(ee,he)=>{for(var fe in he||(he={}))rl.call(he,fe)&&Rl(ee,fe,he[fe]);if(Nr)for(var fe of Nr(he))hl.call(he,fe)&&Rl(ee,fe,he[fe]);return ee},kr=(ee,he)=>{var fe={};for(var We in ee)rl.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&Nr)for(var We of Nr(ee))he.indexOf(We)<0&&hl.call(ee,We)&&(fe[We]=ee[We]);return fe},Zr=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const fl=ee=>{var he=ee,{exercise:fe,dispatch:We,user:Vt}=he,yt=kr(he,["exercise","dispatch","user"]),bt,fn;const vt=(0,Pe.useParams)(),[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1),da=(0,re.useRef)(null);(0,re.useEffect)(()=>{var Qn,Ja;if(fe.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,oe.j5)()){Co(!0);return}const Ga={hasNum:0,noHasNum:0};(Ja=(Qn=fe==null?void 0:fe.actionTabs)==null?void 0:Qn.selectArrsAll)==null||Ja.map(ja=>{var vr;ja.author_login===((vr=Vt.userInfo)==null?void 0:vr.login)?++Ga.hasNum:++Ga.noHasNum}),Ga.noHasNum>0?Fe.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:re.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",re.createElement("span",{className:"c-blue"},Ga.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",re.createElement("span",{className:"c-red"},Ga.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",re.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Ho()}}):Co(!0)}else Co(!1)},[fe.actionTabs.key]);const Ho=()=>{We({type:"exercise/setActionTabs",payload:{}})};return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:Zo,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Zt,destroyOnClose:!0,onOk:()=>Zr(void 0,null,function*(){var Qn;if((Qn=da.current)!=null&&Qn.onVerify())return;nr(!0);const Ja=yield(0,b.ZP)(`/api/courses/${vt.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...fe.actionTabs.selectArrs]}});nr(!1),Ja.status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),xe.ZP.success("\u5220\u9664\u6210\u529F"),We({type:"exercise/setActionTabs",payload:{}}),We({type:"classroomList/getClassroomExercisesList",payload:nl({},fe.actionTabs.params)}),We({type:"classroomList/getClassroomLeftMenus",payload:nl({},fe.actionTabs.params)}))}),onCancel:()=>{We({type:"exercise/setActionTabs",payload:{}})}},!((bt=fe==null?void 0:fe.actionTabs)!=null&&bt.status)||!["\u672A\u5F00\u59CB"].includes((fn=fe==null?void 0:fe.actionTabs)==null?void 0:fn.status)?re.createElement(re.Fragment,null,re.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),re.createElement(Et.Z,{ref:Qn=>da.current=Qn})):re.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var Pl=(0,Pe.connect)(({exercise:ee,user:he})=>({exercise:ee,user:he}))(fl),Qr=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,Ul=(ee,he)=>{var fe={};for(var We in ee)al.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&Qr)for(var We of Qr(ee))he.indexOf(We)<0&&ai.call(ee,We)&&(fe[We]=ee[We]);return fe},ye=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Ce=ee=>{var he=ee,{exercise:fe,dispatch:We}=he,Vt=Ul(he,["exercise","dispatch"]);const yt=(0,Pe.useParams)();return yt.id=yt.coursesId,(0,re.useEffect)(()=>{fe.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>ye(void 0,null,function*(){(yield(0,b.ZP)(`/api/courses/${yt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...fe.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),xe.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),We({type:"exercise/setActionTabs",payload:{}})}))},[fe.actionTabs.key]),re.createElement(re.Fragment,null)};var Ke=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Ce),Ve={flex_box_center:"flex_box_center___CNQHU",flex_space_between:"flex_space_between___qsDOu",flex_box_vertical_center:"flex_box_vertical_center___iKKg9",flex_box_center_end:"flex_box_center_end___aCmKh",flex_box_column:"flex_box_column___mXBIE",bg:"bg___FnTgr",containerTitle:"containerTitle___HZdw3",containerDesc:"containerDesc___MrGYv",tablestyle:"tablestyle___Ef1u5",listItem:"listItem___ol4Bd",info:"info___Uc7Ha",title:"title___AlzFu",titleLeft:"titleLeft___Avinm",titleRight:"titleRight___AYJHU",flexBox:"flexBox___IGR6d",iconV:"iconV___WirdJ",acitons:"acitons___VhyxD",moveCategory:"moveCategory___QQQOY",name:"name___cKK1Q",categoryName:"categoryName___EsAA9",schedule:"schedule___asfSm",fnSign:"fnSign___vsajc",spanSize:"spanSize___MqQy2",classromediv:"classromediv___j4dHG",glow:"glow___fcHVY",popover:"popover___bOtgn",dot:"dot___uMZO4",moni:"moni___KMHkN",authorized:"authorized___awAlQ"},st=Object.defineProperty,ct=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Ct=(ee,he,fe)=>he in ee?st(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Jt=(ee,he)=>{for(var fe in he||(he={}))wt.call(he,fe)&&Ct(ee,fe,he[fe]);if(ct)for(var fe of ct(he))Bt.call(he,fe)&&Ct(ee,fe,he[fe]);return ee};const Yt=ee=>React.createElement("svg",Jt({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var Ut="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",bn=Object.defineProperty,Bn=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Gn=(ee,he,fe)=>he in ee?bn(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,aa=(ee,he)=>{for(var fe in he||(he={}))Ln.call(he,fe)&&Gn(ee,fe,he[fe]);if(Bn)for(var fe of Bn(he))Un.call(he,fe)&&Gn(ee,fe,he[fe]);return ee};const qn=ee=>React.createElement("svg",aa({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var sa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41Mj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sLh1KseTYuOyGP5bkFVbm8zowJJ07wQCjH2Bf1K8aO7WK57azo3P6vV+0cZzm6hz59bSNvWyYtW2O+cX5pjlvTBUDZciLHXxyLARC+Q4+gWEVne9GsdQHKfyTcn/QOo7vUqbqS7sqqy/kzyA2Ttyp/LUtfoUmaOqHAVtj9sYbq1F/OlQxBvsCJ84/STL274zDWODWOD/uF8xlwpf6v2flucwfSU6+tXZAsBYsSX5wh6TQ+o/zoHygTub4zP+vSs7X2BWZ9+2vyyHOh/orU2G6/sPeSOntWeNpYpLmQ/XObrBP7g/XU3ikL2v8AIAf8etAcp/JNxxxyddj4b5J3GSmF6y3TheG4qWOHGPTX2rosmtKoiMdkJxA1t++BGa0idji4YDQlSF8z4PY6FkfxlWWUG259vIPiGwcfoKU4gNDAssOZcTIRWhaOQUU35lHZIQpWuOwciOqDV7h9zmNb0sGHZHpivpY0fNdbZJkd7HLJcaxq83fSwZ4nmeSMI0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z",fo=Object.defineProperty,ka=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable,ha=(ee,he,fe)=>he in ee?fo(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,_a=(ee,he)=>{for(var fe in he||(he={}))so.call(he,fe)&&ha(ee,fe,he[fe]);if(ka)for(var fe of ka(he))zo.call(he,fe)&&ha(ee,fe,he[fe]);return ee};const Fa=ee=>React.createElement("svg",_a({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var ra="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zy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LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",ca=te(42882),Kt=te(59301),tr=Object.defineProperty,_o=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Uo=Object.getOwnPropertySymbols,rr=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,ar=(ee,he,fe)=>he in ee?tr(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ll=(ee,he)=>{for(var fe in he||(he={}))rr.call(he,fe)&&ar(ee,fe,he[fe]);if(Uo)for(var fe of Uo(he))cr.call(he,fe)&&ar(ee,fe,he[fe]);return ee},yr=(ee,he)=>_o(ee,Qa(he)),oo=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const El=({v:ee,k:he,selectArrs:fe,setSelectArrs:We,dispatch:Vt,params:yt,classroomList:bt,batchStatus:fn,manageAllGroup:vt,user:Zt})=>{var nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur,Vo,Va,Ro,Jn;const[_t,bl]=(0,re.useState)([]),[ko,zn]=(0,re.useState)(!1),Wo=(0,re.useRef)(),Tr=(0,re.useRef)();var on=!1;const la="YYYY-MM-DD",vo=me()("2020-11-15",la);function Ta(){return oo(this,null,function*(){console.log(yt,222);let Mt=yield(0,b.ZP)(`/api/courses/${yt==null?void 0:yt.coursesId}/exercises/group_use_list.json`,{method:"get",params:yr(ll({},yt),{id:ee.id})});bl((Mt==null?void 0:Mt.groups)||[])})}const jt=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Kt.createElement(Kt.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ee!=null&&ee.appraise_label&&(on=!0);const er=(Mt,Ft=!1)=>{var ln;Pe.history.push(`/classrooms/${yt.coursesId}/exercisenotice/${Mt.id}/users/${(ln=(0,oe.eY)())==null?void 0:ln.login}`)},vl=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Mt,Ft)=>Ft.exercise_status===Mt,render:(Mt,Ft)=>Kt.createElement("div",null,Mt===1&&Kt.createElement("span",null,Kt.createElement("i",{className:Ve.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Mt===2&&Kt.createElement("span",null,Kt.createElement("i",{className:Ve.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Mt===3&&Kt.createElement("span",null,Kt.createElement("i",{className:Ve.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:yt.order_by==="publish_time"?yt.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:yt.order_by==="end_time"?yt.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Mt,Ft)=>Ft.exercise_status===1?"-":Kt.createElement("span",null,Mt,"/",Ft.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Mt,Ft)=>Ft.exercise_status===1?"-":Mt===0?Kt.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Mt):Kt.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${Ft.course_group_id}`)},Mt)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Mt,Ft)=>Ft.exercise_status===1?Kt.createElement("img",{style:{cursor:"not-allowed"},src:Ut}):Kt.createElement(ne.Z,{title:"\u8BC4\u9605"},Kt.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${Ft.course_group_id}`)},Kt.createElement("img",{src:sa})))}],Sl=Mt=>{if(on)return Kt.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Mt!=null&&Mt.includes("\u672A\u5F00\u59CB"))return Kt.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Mt!=null&&Mt.includes("\u8003\u8BD5\u4E2D"))return Kt.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Mt!=null&&Mt.includes("\u5DF2\u622A\u6B62"))return Kt.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Mt!=null&&Mt.includes("\u5BFC\u5165"))return Kt.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},Rr=()=>{const Mt=(ee==null?void 0:ee.simulate_exercise_num)-(ee==null?void 0:ee.user_simulate_num);return Mt>=0?Mt:0},jl=(Mt=ee)=>{var Ft,ln,Xt;if(Mt!=null&&Mt.is_encrypt){Vt({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Mt==null?void 0:Mt.id,phone:(Ft=Zt==null?void 0:Zt.userInfo)==null?void 0:Ft.phone,login:(ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.login}});return}(Xt=Zt==null?void 0:Zt.userInfo)!=null&&Xt.phone?Vt({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Mt==null?void 0:Mt.id}}):Vt({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Br=Mt=>{var Ft,ln,Xt;if(((Ft=Zt==null?void 0:Zt.userInfo)==null?void 0:Ft.login)!==(ee==null?void 0:ee.author_login)){xe.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Vt({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ee==null?void 0:ee.id,phone:(ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.phone,login:(Xt=Zt==null?void 0:Zt.userInfo)==null?void 0:Xt.login,onFinish:Mt}})};return Kt.createElement("div",{className:Ve.listItem,onClick:Mt=>{const Ft=()=>{(!(0,oe.GJ)()||(0,oe.GJ)()&&Tr.current&&!Tr.current.contains(Mt.target))&&(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()}},(0,oe.GJ)()&&Kt.createElement("span",{ref:Tr},Kt.createElement(Ne.default,{checked:fe.includes(ee.id),value:ee.id,style:{padding:"10px"},onClick:Mt=>{Mt.stopPropagation()},disabled:(ee==null?void 0:ee.is_encrypt)||(ee==null?void 0:ee.is_make_up_exercise),onChange:Mt=>{let Ft=fe.indexOf(ee.id);fe.indexOf(ee.id)>-1?We(fe.filter(ln=>ln!==ee.id)):We(fe.concat(ee.id))}})),Kt.createElement("div",{className:Ve.info},Kt.createElement("div",{className:Ve.title},Kt.createElement("div",{className:Ve.titleLeft,style:{marginRight:15}},Sl(ee==null?void 0:ee.exercise_tips),(ee==null?void 0:ee.is_make_up_exercise)&&Kt.createElement("img",{src:to,width:44,height:24,style:{marginRight:10}}),Kt.createElement(ne.Z,{title:ee.exercise_name},Kt.createElement("span",{className:Ve.name},ee.exercise_name)),(ee==null?void 0:ee.high_resources_consume)&&!(ee!=null&&ee.high_resources_consume_permission)&&Kt.createElement(Me.Z,{type:"exercise",style:{marginLeft:10}}),(ee==null?void 0:ee.high_resources_consume)&&(ee==null?void 0:ee.high_resources_consume_permission)&&Kt.createElement("span",{className:Ve.authorized},"\u5DF2\u6388\u6743"),((nr=ee==null?void 0:ee.exercise_tips)==null?void 0:nr.includes("\u5DF2\u622A\u6B62"))&&((Zo=bt==null?void 0:bt.detailTopBanner)==null?void 0:Zo.forbid_end_exercise)&&Kt.createElement(ne.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},Kt.createElement("img",{src:ra,width:20,className:"ml10"})),!ee.is_public&&(0,oe.GJ)()&&Kt.createElement(ne.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},Kt.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ee==null?void 0:ee.exercise_type)==2&&Kt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:Ve.moni},Kt.createElement("img",{src:ti,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((Co=ee==null?void 0:ee.exercise_tips)==null?void 0:Co.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&Kt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),((da=ee==null?void 0:ee.exercise_tips)==null?void 0:da.includes("\u5DF2\u622A\u6B62"))&&((Ho=ee==null?void 0:ee.exercise_tips)==null?void 0:Ho.includes("\u672A\u63D0\u4EA4"))&&Kt.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ee==null?void 0:ee.is_encrypt)&&Kt.createElement(ne.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",Kt.createElement("img",{src:Cl,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),Kt.createElement("div",{className:Ve.titleRight,onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault()}},(ee==null?void 0:ee.appraise_setting)&&Kt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:()=>oo(void 0,null,function*(){const Mt=()=>oo(void 0,null,function*(){Vt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const Ft=yield(0,b.ZP)(`/api/exercises/${ee.id}/create_appraise_students.json`,{method:"get"});Vt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee.id}/centralizeReview/${Ft==null?void 0:Ft.login}`)});if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()})},Kt.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),Kt.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&(!(ee!=null&&ee.is_make_up_exercise)||(ee==null?void 0:ee.is_make_up_exercise)&&(ee==null?void 0:ee.exercise_status)===1&&(ee==null?void 0:ee.allow_create_make_up))&&Kt.createElement(fi.Z,{tips:ee==null?void 0:ee.open_appraise},Kt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{var Ft,ln,Xt;if(((Ft=Zt==null?void 0:Zt.userInfo)==null?void 0:Ft.user_status)===2){(0,ve.Rd)();return}if((0,oe.Rm)()&&!((Xt=(ln=bt==null?void 0:bt.AssistantObject)==null?void 0:ln.exercise)!=null&&Xt.can_publish)){xe.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}if((ee==null?void 0:ee.exercise_question_count)===0){xe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let $a=()=>{Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ee.id],unified_setting:ee.unified_setting,params:yt,disabled:ee.exercise_status!==1,type:2,manage_all_group:vt,isRouter:!0}})};ee!=null&&ee.high_resources_consume&&!(ee!=null&&ee.high_resources_consume_permission)?Vt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:yt.coursesId,type:"exercise",type_id:ee.id,name:ee.exercise_name,fn:()=>{Vt({type:"classroomList/getClassroomExercisesList",payload:ll({},yt)}),$a()}}}):$a()};if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()}},Kt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),Kt.createElement("div",null,"\u53D1\u5E03"))),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&!(0,a._m)()&&ee.assistant_auth&&Kt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation();const Ft=()=>{var ln,Xt;if((0,oe.Rm)()&&!((Xt=(ln=bt==null?void 0:bt.AssistantObject)==null?void 0:ln.exercise)!=null&&Xt.can_preview)){xe.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 $a=me()(ee.created_at,la);me()(vo).diff(me()($a),"days")>0&&(ee!=null&&ee.is_random)?jt():ee!=null&&ee.is_random?(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/random/preview?random=${ee.is_random}`):(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=2`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()}},Kt.createElement("i",{className:"iconfont icon-yulan3"}),Kt.createElement("div",null,"\u9884\u89C8")),(0,oe.RV)()&&Kt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:()=>{const Mt=()=>{(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()}},Kt.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Kt.createElement("div",null,"\u8BE6\u60C5")),(0,oe.GJ)()&&!(0,a._m)()&&Kt.createElement(La.Z,{placement:"bottom",content:Kt.createElement("div",{className:Ve.popover},!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Kt.createElement("p",{onClick:Mt=>oo(void 0,null,function*(){const Ft=()=>{(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=3`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u89C4\u5219\u8BBE\u7F6E"),(ee==null?void 0:ee.exercise_tips.includes("\u5BFC\u5165"))&&Kt.createElement("p",{onClick:Mt=>oo(void 0,null,function*(){const Ft=()=>{Vt({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ee==null?void 0:ee.exercise_name,id:ee==null?void 0:ee.id,type:"hack"}})};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u8865\u5145\u6210\u7EE9"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&ee.is_random&&ee.assistant_auth&&Kt.createElement("p",{onClick:Mt=>{Mt.stopPropagation();const Ft=()=>{const ln=me()(ee.created_at,la);me()(vo).diff(me()(ln),"days")>0&&(ee!=null&&ee.is_random)?jt():(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/random/edit?type=settings`)};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()}},"\u7F16\u8F91\u8003\u8BD5"),Kt.createElement("p",{onClick:Mt=>oo(void 0,null,function*(){const Ft=()=>{var ln;Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ee.id],selectArrsAll:[ee],params:yt,status:(ln=ee==null?void 0:ee.exercise_tips)==null?void 0:ln[0]}})};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u5220\u9664\u8BD5\u5377"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Kt.createElement("p",{onClick:()=>{const Mt=()=>{Vt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ee.id],params:yt}})};if(ee!=null&&ee.is_encrypt){Br(Mt);return}Mt()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((Qn=ee==null?void 0:ee.exercise_tips)==null?void 0:Qn.includes("\u672A\u5F00\u59CB"))&&(ee==null?void 0:ee.author_login)===((Ja=Zt==null?void 0:Zt.userInfo)==null?void 0:Ja.login)&&Kt.createElement("p",{onClick:Mt=>oo(void 0,null,function*(){jl(ee)})}," ",ee!=null&&ee.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&((0,oe.GJ)()||((ja=(Ga=bt==null?void 0:bt.AssistantObject)==null?void 0:Ga.exercise)==null?void 0:ja.can_stop))&&![1,3].includes(ee==null?void 0:ee.exercise_status)&&Kt.createElement("p",{onClick:Mt=>oo(void 0,null,function*(){const Ft=()=>{var ln,Xt;if((0,oe.Rm)()&&!((Xt=(ln=bt==null?void 0:bt.AssistantObject)==null?void 0:ln.exercise)!=null&&Xt.can_stop)){xe.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}Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ee.id],params:yt,unified_setting:ee.unified_setting}})};if(ee!=null&&ee.is_encrypt){Br(Ft);return}Ft()})},"\u7ED3\u675F\u8003\u8BD5"))},Kt.createElement("span",{onClick:Mt=>Mt.stopPropagation(),className:Ve.flexBox,style:{cursor:"default"}},Kt.createElement("i",{className:"iconfont icon-gengduo4"}),Kt.createElement("div",null,"\u66F4\u591A"))),(0,oe.dE)()&&Kt.createElement(Kt.Fragment,null,!!ee.off_limits&&Kt.createElement(ne.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ee==null?void 0:ee.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},Kt.createElement("b",{className:"font16"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===0&&ee.exercise_status>1&&!((vr=ee.exercise_tips)!=null&&vr.includes("\u5DF2\u622A\u6B62"))&&Kt.createElement("a",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),er(ee,!0)},href:""},Kt.createElement("i",{className:"iconfont icon-jixukaoshi"}),Kt.createElement("div",null,(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((Xo=ee.exercise_tips)!=null&&Xo.includes("\u5DF2\u622A\u6B62"))&&(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&Kt.createElement("a",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),er(ee,!0)},href:""},Kt.createElement("i",{className:"iconfont icon-jixukaoshi"}),Kt.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ee.off_limits&&ee.current_status===1&&(ee==null?void 0:ee.screen_used_num)<(ee==null?void 0:ee.screen_total_num)&&ee.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ee==null?void 0:ee.exercise_type)==2&&(ee==null?void 0:ee.exercise_status)!=3)&&Kt.createElement("span",{className:Ve.flexBox,style:{marginRight:"16px"},onClick:Mt=>oo(void 0,null,function*(){var Ft;if(Mt.stopPropagation(),!(ee!=null&&ee.answered_open)){xe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,gr.w)(yt.coursesId,ee.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/users/${(Ft=(0,oe.eY)())==null?void 0:Ft.login}?check=true`)})},Kt.createElement("i",{className:"iconfont icon-chakankaoshi"}),Kt.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===2&&ee.exercise_status>1&&!((qo=ee.exercise_tips)!=null&&qo.includes("\u5DF2\u622A\u6B62"))&&Kt.createElement("a",{className:Ve.flexBox,style:{marginRight:"16px",color:(ee==null?void 0:ee.is_redo)===1&&"red"},onClick:Mt=>{Mt.stopPropagation(),Mt.preventDefault(),er(ee)},href:""},Kt.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),Kt.createElement("div",null,(ee==null?void 0:ee.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==2&&!ee.off_limits&&ee.exercise_status>1&&!(($o=ee.exercise_tips)!=null&&$o.includes("\u5DF2\u622A\u6B62"))&&Kt.createElement(ne.Z,{title:Kt.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ee==null?void 0:ee.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",Rr(),"\u6B21")},Kt.createElement("a",{className:Ve.flexBox,onClick:Mt=>{Rr()==0&&(ee==null?void 0:ee.current_status)!=0||(Mt.stopPropagation(),Mt.preventDefault(),er(ee))},href:""},Kt.createElement("i",{className:`iconfont ${(ee==null?void 0:ee.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),Kt.createElement("div",null,(ee==null?void 0:ee.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5")))))),(0,oe.GJ)()&&Kt.createElement("p",{style:{display:"flex",color:"#B6BFC2"}},Kt.createElement("span",{style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1,color:"#fff"},title:ee.author},ee.author),Kt.createElement("span",{className:"ml30"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",me()(ee.created_at).format("YYYY-MM-DD HH:mm:ss")),((ur=ee==null?void 0:ee.exercise_tips)==null?void 0:ur.includes("\u672A\u5F00\u59CB"))&&ee.publish_time&&Kt.createElement("span",{className:"ml30"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",me()(ee.publish_time).format("YYYY-MM-DD HH:mm:ss")),Kt.createElement("span",{className:"ml30"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),Kt.createElement("span",{className:"ml30"},"\u7C7B\u578B\uFF1A",ee.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Vo=ee==null?void 0:ee.exercise_tips)!=null&&Vo.includes("\u672A\u5F00\u59CB"))&&!(ee!=null&&ee.is_make_up_exercise)&&!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&Kt.createElement("span",{className:Ve.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Mt=>oo(void 0,null,function*(){Mt.stopPropagation(),Mt.preventDefault(),ko||Ta(),zn(!ko)})},Kt.createElement(ne.Z,{title:`${ko?"\u6536\u8D77":"\u5C55\u5F00"}`},Kt.createElement("i",{className:`iconfont icon-${ko?"shouqi":"xiala2"}`})))),(0,oe.dE)()&&Kt.createElement("p",{style:{display:"flex",color:"#B6BFC2"}},Kt.createElement("span",{style:{color:"#fff"}},ee.author),Kt.createElement("span",{className:"ml30 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),!!(ee!=null&&ee.exercise_left_time)&&Kt.createElement("span",{className:"ml15"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ee==null?void 0:ee.exercise_left_time),!!(ee!=null&&ee.before_start)&&Kt.createElement("span",{className:"ml15"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ee==null?void 0:ee.before_start)),(0,oe.GJ)()&&!((Va=ee==null?void 0:ee.exercise_tips)!=null&&Va.includes("\u672A\u5F00\u59CB"))&&Kt.createElement("p",null,Kt.createElement("span",{style:{letterSpacing:2},className:"mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),Kt.createElement("span",{className:"mr20"},"\u672A\u5F00\u59CB ",Kt.createElement("span",null,ee==null?void 0:ee.unanswer_users)),Kt.createElement("span",{className:"mr20"},"\u8003\u8BD5\u4E2D ",Kt.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ee==null?void 0:ee.answering_users)),Kt.createElement("span",{className:"mr20"},"\u5DF2\u4EA4\u5377 ",Kt.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.answer_users)),Kt.createElement("span",null,"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",Kt.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.commit_with_no_answers_users))),(0,oe.GJ)()&&!((Ro=ee==null?void 0:ee.exercise_tips)!=null&&Ro.includes("\u672A\u5F00\u59CB"))&&ko&&_t.length>5&&Kt.createElement(rt.default,{className:ca.Z.threeTableSty,scroll:{y:240},pagination:!1,dataSource:_t,onRow:Mt=>({onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault()}}),onHeaderRow:(Mt,Ft)=>({onClick:ln=>{ln.stopPropagation(),ln.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Mt,Ft,ln)=>{ln.field&&(yt.order_by=ln.field),ln.order||(yt.sort_direction="asc"),ln.order==="ascend"&&(yt.sort_direction="asc"),ln.order==="descend"&&(yt.sort_direction="desc"),ln.order||(yt.sort_direction="asc"),Ta()},columns:vl}),(0,oe.GJ)()&&!((Jn=ee==null?void 0:ee.exercise_tips)!=null&&Jn.includes("\u672A\u5F00\u59CB"))&&ko&&_t.length<6&&_t.length>0&&Kt.createElement(rt.default,{className:ca.Z.threeTableSty,rowKey:"course_group_id",pagination:!1,onRow:Mt=>({onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault()}}),onHeaderRow:(Mt,Ft)=>({onClick:ln=>{ln.stopPropagation(),ln.preventDefault()}}),dataSource:_t,style:{marginTop:"10px"},onChange:(Mt,Ft,ln)=>{ln.field&&(yt.order_by=ln.field),ln.order||(yt.sort_direction="asc"),ln.order==="ascend"&&(yt.sort_direction="asc"),ln.order==="descend"&&(yt.sort_direction="desc"),ln.order||(yt.sort_direction="asc"),Ta()},columns:vl}),(ee==null?void 0:ee.total)!==void 0&&Kt.createElement("p",null,Kt.createElement("span",{className:"mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),Kt.createElement("span",{className:"mr20"},"\u603B\u8BC4\u6570",Kt.createElement("span",null,ee==null?void 0:ee.total)),Kt.createElement("span",{className:"mr20"},"\u5DF2\u8BC4\u9605 ",Kt.createElement("span",{style:{color:"#4EACFF"}},ee==null?void 0:ee.finish_total)),Kt.createElement("span",null,"\u5F85\u8BC4\u9605 ",Kt.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.unfinished_total)))),Kt.createElement(dl.Z,{closable:!0,successCb:()=>er(Wo.current)}))};var Fo=(0,Pe.connect)(({classroomList:ee})=>({classroomList:ee}))(El),So=te(59301),Ir=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const{Countdown:Gl}=Di.default,Bo=({value:ee,onChange:he,MaxMinutes:fe})=>So.createElement(So.Fragment,null,So.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",So.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",So.createElement("br",null)),So.createElement(ae.Z,{value:ee,onChange:he,min:0,precision:0,max:fe,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${fe}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),po=({exercise:ee,successCb:he,dispatch:fe})=>{var We,Vt,yt,bt;const fn=(0,Pe.useParams)(),[vt]=z.default.useForm(),Zt=z.default.useWatch("time",vt),[nr,Zo]=(0,re.useState)(!1),Co=(0,re.useRef)(),{actionTabs:da}=ee,[Ho,Qn]=(0,re.useState)(),[,Ja,Ga,ja]=(0,or.U)(ut.n7,{id:fn.categoryId}),[,vr,Xo]=(0,or.U)(ut.Cd,{});(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&(Zo(!1),vt.resetFields())},[ee.actionTabs.key]);const qo=()=>new Promise(ko=>Ir(void 0,null,function*(){var zn,Wo;return Co.current=yield(0,$l.y)({ip_limit:(zn=da==null?void 0:da.exerciseParams)==null?void 0:zn.ip_limit,ip_bind:(Wo=da==null?void 0:da.exerciseParams)==null?void 0:Wo.ip_bind_type}),ko()})),$o=()=>Ir(void 0,null,function*(){var ko,zn,Wo,Tr,on;yield vt.validateFields();const la=vt.getFieldsValue();if(Zo(!0),(((ko=da==null?void 0:da.exerciseParams)==null?void 0:ko.ip_limit)!=="no"||(zn=da==null?void 0:da.exerciseParams)!=null&&zn.ip_bind_type)&&(yield qo()),(yield(0,ut.ZD)((Wo=da==null?void 0:da.exerciseParams)==null?void 0:Wo.id,{exercise_user_id:(Tr=da==null?void 0:da.exerciseParams)==null?void 0:Tr.exercise_user_id,unlock_key:la.unlock_key,time:la.time,ip:Co.current})).status===0){if(he){fe({type:"exercise/setActionTabs",payload:{}}),he();return}const Ta=da==null?void 0:da.exerciseParams;(0,a.nr)({inner_ip:Ta.inner_ip,public_ip:Ta.public_ip,open_camera:Ta.open_camera,ip_limit:Ta.ip_limit,ip_bind:Ta.ip_bind,ip_bind_type:Ta.ip_bind_type,exercise_tips:Ta.exercise_tips,exerciseId:Ta.id,screen_open:Ta.screen_open,screen_num:Ta.screen_num,screen_sec:Ta.screen_sec,coursesId:fn.coursesId,login:(on=(0,oe.eY)())==null?void 0:on.login,history,identity_verify:Ta.identity_verify,open_phone_video_recording:Ta.open_phone_video_recording,current_status:Ta.current_status}),fe({type:"exercise/setActionTabs",payload:{}})}Zo(!1)}),ur=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:ko=>So.createElement("span",{className:ko.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ko)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ko=>So.createElement("span",{className:ko.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ko)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Vo=((We=da==null?void 0:da.exerciseParams)==null?void 0:We.errorMessage)&&typeof((Vt=da==null?void 0:da.exerciseParams)==null?void 0:Vt.errorMessage)=="object";(0,re.useEffect)(()=>{ee.actionTabs.key==="student-unlock"&&Ir(void 0,null,function*(){const ko=yield Xo(fn);yield Ga({}),ko.status||Qn(ko)})},[ee.actionTabs.key]);const{time:Va,end_time:Ro}=(Ho==null?void 0:Ho.exercise)||{},Jn=ja!=null&&ja.user_end_time?me()(ja==null?void 0:ja.user_end_time).add(1,"minutes"):me()(),_t=me()(ja==null?void 0:ja.user_total_end_time)>Jn?Math.round(me().duration(me()(ja==null?void 0:ja.user_total_end_time).diff(Jn.startOf("minute"))).asMinutes()):0,bl=((ja==null?void 0:ja.student_left_minutes)||0)+(Zt||0);return So.createElement(So.Fragment,null,So.createElement(Fe.default,{width:514,centered:!0,closable:!!((yt=da==null?void 0:da.exerciseParams)!=null&&yt.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ee.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{fe({type:"exercise/setActionTabs",payload:{}})}},So.createElement(ze.Z,{spinning:Ja||vr},Vo&&So.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Vo&&So.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Vo&&So.createElement(rt.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((bt=da==null?void 0:da.exerciseParams)==null?void 0:bt.errorMessage)||{}],columns:ur}),So.createElement("div",{className:""},So.createElement(z.default,{form:vt,layout:"vertical",autoComplete:"off"},So.createElement(z.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},So.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Va!==-1?So.createElement(So.Fragment,null,So.createElement(z.default.Item,{name:"time",label:So.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",So.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",me()(ja==null?void 0:ja.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},So.createElement(Bo,{MaxMinutes:_t})),So.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",So.createElement("span",{className:"ml5"},Ja||vr?"--":bl),"\u5206\u949F",bl!==0&&(ja==null?void 0:ja.user_end_time)&&So.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",So.createElement("span",{className:"ml5"},me()(ja==null?void 0:ja.user_end_time).add(Zt||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):So.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",me()(Ro).format("YYYY-MM-DD HH:mm")))),So.createElement(At.Z,{justify:"space-between",align:"middle"},So.createElement(Be.Z,null),So.createElement(Be.Z,null,So.createElement(Ie.ZP,{loading:nr,onClick:$o},"\u8FDB\u5165\u8003\u8BD5"))))))};var yo=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(po),qa=te(25136),Ma=te(96241),Nn=te(79006),ia=te(59301),Mo=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const lr=({exercise:ee,dispatch:he,init:fe,haveInit:We=!1})=>{const Vt=(0,Pe.useParams)(),[yt,bt]=(0,re.useState)(!1);let[fn,vt]=(0,re.useState)();const[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1);(0,re.useEffect)(()=>{ee.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&da()},[ee.actionTabs]);function da(){return Mo(this,null,function*(){var Ho,Qn;let Ja=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});if(((Ho=Ja==null?void 0:Ja.cover_exercises)==null?void 0:Ho.length)>0)bt(!0),vt((Qn=Ja==null?void 0:Ja.cover_exercises)==null?void 0:Qn[0]);else{let Ga=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});he({type:"exercise/setActionTabs",payload:{key:""}}),(Ga==null?void 0:Ga.status)===0&&(We&&fe(),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}})}return ia.createElement("div",null,ia.createElement(Fe.default,{open:yt,centered:!0,onCancel:Ho=>Mo(void 0,null,function*(){if(Ho.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){nr(!0);let Qn=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs,update:1}});he({type:"exercise/setActionTabs",payload:{key:""}}),nr(!1),(Qn==null?void 0:Qn.status)===0&&(We&&fe(),bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}else bt(!1)}),cancelButtonProps:{loading:Zt},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:Zo},onOk:()=>Mo(void 0,null,function*(){Co(!0);let Ho=yield(0,b.ZP)(`/api/courses/${Vt==null?void 0:Vt.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ee.actionTabs.selectArrs}});Co(!1),(Ho==null?void 0:Ho.status)===0&&(We&&fe(),he({type:"exercise/setActionTabs",payload:{key:""}}),bt(!1),Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Pe.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ia.createElement("div",null,ia.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ia.createElement("div",null,ia.createElement("div",null,"\u8BD5\u5377\uFF1A",fn==null?void 0:fn.origin_exercise_nam),ia.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ia.createElement("a",{href:`/paperlibrary/see/${fn==null?void 0:fn.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},fn==null?void 0:fn.examination_bank_name))))))};var li=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(lr),Vl=te(92521),Oi=te(27269),Ea=te(59301),Fl=Object.defineProperty,Po=Object.defineProperties,di=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertySymbols,Hr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,Bl=(ee,he,fe)=>he in ee?Fl(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ir=(ee,he)=>{for(var fe in he||(he={}))Hr.call(he,fe)&&Bl(ee,fe,he[fe]);if(oi)for(var fe of oi(he))Jr.call(he,fe)&&Bl(ee,fe,he[fe]);return ee},pl=(ee,he)=>Po(ee,di(he)),Pr=(ee,he)=>{var fe={};for(var We in ee)Hr.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&oi)for(var We of oi(ee))he.indexOf(We)<0&&Jr.call(ee,We)&&(fe[We]=ee[We]);return fe},ei=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const ii=ee=>{var he=ee,{user:fe,classroomList:We,globalSetting:Vt,loading:yt,dispatch:bt}=he,fn=Pr(he,["user","classroomList","globalSetting","loading","dispatch"]),vt,Zt,nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur,Vo,Va;const Ro=(0,Pe.useParams)(),[Jn]=(0,Pe.useSearchParams)(),[_t,bl]=(0,re.useState)(()=>pl(ir({},Ro),{limit:20})),ko=(0,Pe.useLocation)(),{detailExerciseList:zn,detailTopBanner:Wo,detailLeftMenus:Tr}=We,[on,la]=(0,re.useState)([]),[vo,Ta]=(0,re.useState)(!1),[jt,er]=(0,re.useState)([]),[vl,Sl]=(0,re.useState)(!1),[Rr,jl]=(0,re.useState)(!1),[Br,Mt]=(0,re.useState)(!1),[Ft,ln]=(0,re.useState)(!1),[Xt,$a]=(0,re.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),br=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];_t.type=Jn.get("tabs")==="all"?"":Jn.get("tabs")||"",_t.id=_t.coursesId,(0,re.useEffect)(()=>{var kt,ya,yl;if((kt=fe==null?void 0:fe.userInfo)!=null&&kt.login){if((0,oe.GJ)()){const cl=a.cX.getItem(`${(ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.login}Teacher`,"Exercise");cl&&(_t.sort_by=cl==null?void 0:cl.type,_t.sort_direction=cl==null?void 0:cl.direction,$a(cl==null?void 0:cl.name))}bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})}else(yl=fe==null?void 0:fe.userInfo)!=null&&yl.username&&bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)});Ta(!1)},[(vt=fe==null?void 0:fe.userInfo)==null?void 0:vt.login,ko.pathname]),(0,re.useEffect)(()=>{We.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})},[We.actionTabs.key]),(0,re.useEffect)(()=>{We.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(Sl(!0),jl(Wo==null?void 0:Wo.show_unstart_exercise),Mt(Wo==null?void 0:Wo.forbid_end_exercise))},[We.actionTabs.key]),(0,re.useEffect)(()=>{la([])},[zn]);const Dl=(kt,ya)=>{la([]),_t.page=kt,_t.limit=ya,bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})},zl=kt=>{_t.type=kt.key==="all"?"":kt.key,_t.page=1,Pe.history.replace(`${ko.pathname}?tabs=${kt.key}`),ln(!1),bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})};(0,re.useEffect)(()=>{Jn.get("tabs")==="all"&&(_t.type="",_t.page=1)},[Jn.get("tabs")]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&bt({type:"classroomList/getAssistantPermissions",payload:{course_id:_t.coursesId}})},[(Zt=fe==null?void 0:fe.userInfo)==null?void 0:Zt.username]),(0,re.useEffect)(()=>{const kt=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),Fe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:Ea.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Ea.createElement("br",null),"1\u3001\u5728",Ea.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",Ea.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",Ea.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Ea.createElement("br",null),"2\u3001\u5728",Ea.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",Ea.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",Ea.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Ea.createElement("br",null),kt==="allowRouter"&&Ea.createElement(Ea.Fragment,null,"3\u3001",Ea.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&bt({type:"classroomList/getAssistantPermissions",payload:{course_id:_t.coursesId}})},[(nr=fe==null?void 0:fe.userInfo)==null?void 0:nr.login]);const Or=[{name:"\u5168\u90E8",id:"all",total:(Zo=zn.exercises_counts)==null?void 0:Zo.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(Co=zn.exercises_counts)==null?void 0:Co.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(da=zn.exercises_counts)==null?void 0:da.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Ho=zn.exercises_counts)==null?void 0:Ho.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(Qn=zn.exercises_counts)==null?void 0:Qn.end_counts}],Ai=[{name:"\u6279\u91CF\u53D1\u5E03",icon:Ea.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:Ea.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:Ea.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:Ea.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:Ea.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(kt=>(0,oe.GJ)()?!0:kt.name!=="\u6279\u91CF\u5220\u9664").filter(kt=>Wo.is_public?!0:kt.name!=="\u8BBE\u4E3A\u516C\u5F00"),nu=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Ea.createElement(Ea.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),zi="YYYY-MM-DD",yu=me()("2020-11-15",zi),au=kt=>{var ya;_t.sort_by=kt.type,_t.sort_direction=kt.direction,(0,oe.GJ)()&&a.cX.setItem(`${(ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.login}Teacher`,kt,"Exercise"),_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:ir({},_t)}),$a(kt.name)},Iu=()=>Ea.createElement(be.default,null,Ea.createElement(be.default.Item,{key:1,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We==null?void 0:We.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}bt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:_t}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),Ea.createElement(be.default.Item,{key:2,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We==null?void 0:We.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}window.scrollTo(0,0),Pe.history.push(`/classrooms/${_t.coursesId}/exercise/add?catalogue=${(Ro==null?void 0:Ro.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),Ea.createElement(be.default.Item,{key:3,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We.AssistantObject)==null?void 0:kt.practice)!=null&&ya.can_create)){xe.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}bt({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),ou=kt=>ei(void 0,null,function*(){var ya,yl,cl,vi,Zi,fu,ma,no;const ba=kt.name;if(((ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.user_status)===2&&kt.name==="\u6279\u91CF\u53D1\u5E03"){(0,ve.Rd)();return}const Lo=[];if((yl=zn.exercises)==null||yl.map(ga=>{if(on.includes(ga.id)&&ga.is_random){const Ua=me()(ga.created_at,zi);me()(yu).diff(me()(Ua),"days")>0&&(ga!=null&&ga.is_random)&&Lo.push(ga)}}),on==""){let ga="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(ga="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),xe.ZP.error(ga)}else if(Lo.length)nu();else{if(ba==="\u6279\u91CF\u53D1\u5E03"){if((0,oe.Rm)()&&!((vi=(cl=We==null?void 0:We.AssistantObject)==null?void 0:cl.exercise)!=null&&vi.can_publish)){xe.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}let ga=!1;zn.exercises.forEach(ho=>{on.includes(ho.id)&&ho.total_num===0&&ho.is_random&&(ga=!0)});let Ua;if(Ua=(fu=(Zi=zn.exercises.filter(ho=>on.includes(ho==null?void 0:ho.id)).filter(ho=>(ho==null?void 0:ho.exercise_question_count)===0))==null?void 0:Zi[0])==null?void 0:fu.exercise_name,(Ua==null?void 0:Ua.length)>0){xe.ZP.warning(`${Ua}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(ga){xe.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let Cr=!1;if(zn.exercises.forEach(ho=>{on.includes(ho.id)&&ho.exercise_status!==1&&(Cr=!0)}),Cr){xe.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const ga=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...on]}});if(((ma=ga==null?void 0:ga.cover_exercises)==null?void 0:ma.length)>0){er(ga==null?void 0:ga.cover_exercises);return}}bt({type:"exercise/setActionTabs",payload:{key:ba,selectArrs:on,selectArrsAll:(no=zn.exercises)==null?void 0:no.filter(ga=>on.includes(ga.id)),params:_t,type:1}})}});return Ea.createElement("section",{className:"minH500"},Ea.createElement(qa.Z,{isLoading:yt["classroomList/getClassroomExercisesList"],tabDataSource:Or,isAdmin:(0,oe.GJ)(),dispatch:bt,type:zn==null?void 0:zn.main_category_name,isExercise:!0,user:fe,getDropdownMenu:Iu,onTabMenuClick:zl,classroomList:We,defaultSelectedKeys:[_t.type||"all"]}),Ea.createElement(Ma.Z,{dataSource:zn.exercises||[],isAdmin:(0,oe.GJ)(),batchStatus:Ft,SortMenuName:Xt,setSortMenuName:$a,SortMenus:br,onSearch:kt=>{_t.search=kt.trim(),_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:ir({},_t)})},isShowMode:!0,onModeChange:kt=>{_t.is_normal=kt,_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:ir({},_t)})},onSort:au,onBatch:kt=>ln(kt)}),Ea.createElement(ue.Z,{loading:yt["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(Ja=zn.exercises_counts)!=null&&Ja.exercises_all_counts?zn.exercises.map(function(kt,ya){return Ea.createElement(Fo,{key:ya,v:kt,k:ya,batchStatus:Ft,selectArrs:on,setSelectArrs:la,dispatch:bt,params:_t,user:fe,manageAllGroup:zn.manage_all_group})}):Ea.createElement(E.Z,null),Ea.createElement("aside",{className:"tc mb50 mt30"},((Ga=zn.exercises_counts)==null?void 0:Ga.exercises_all_counts)>0&&Ea.createElement(Oe.Z,{showTotal:kt=>{var ya;return Ea.createElement("div",{style:{color:"#B6BFC2"}},"\u5171",Ea.createElement("span",{style:{margin:"0 3px",color:"#00DDC7"}},(ya=zn==null?void 0:zn.exercises_counts)==null?void 0:ya.exercises_all_counts),"\u6761")},showSizeChanger:!0,onChange:Dl,defaultCurrent:_t.page,current:_t.page||1,pageSize:_t.limit||20,total:zn.exercises_counts&&zn.exercises_counts.exercises_all_counts}))),on.length>0&&(0,oe.GJ)()&&Ea.createElement(je.Z,{offsetBottom:0},Ea.createElement(Nn.Z,{buttonDataSource:Ai,onButtonClick:ou,useBatchStatus:ln,setSeleArr:la,catalogue:((vr=(ja=Tr==null?void 0:Tr.course_modules)==null?void 0:ja.find(kt=>kt.type==="exercise"))==null?void 0:vr.second_category)||[],addCatalogue:kt=>{kt.preventDefault(),bt({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:_t,selectArrs:{category_id:zn==null?void 0:zn.main_category_id,type:"exercise"}}})},allSelect:on.length?on.length===((qo=(Xo=zn.exercises)==null?void 0:Xo.filter(kt=>!kt.is_make_up_exercise))==null?void 0:qo.length):!1,setAllSelect:kt=>{var ya;kt.target.checked?la((ya=zn==null?void 0:zn.exercises)==null?void 0:ya.filter(yl=>!yl.is_make_up_exercise).map(yl=>yl.id)):la([])},selectArrs:on,onMenuClick:kt=>ei(void 0,[kt],function*({key:ya}){if(on=="")return xe.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:on,new_category_id:ya}})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),bt({type:"classroomList/getClassroomExercisesList",payload:ir({},Ro)}))})})),Ea.createElement(Ae,null),Ea.createElement(wn,null),Ea.createElement(Pl,null),Ea.createElement(Jo,null),Ea.createElement(Vl.Z,{onOk:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:ir({},Ro)})}}),Ea.createElement(Oi.Z,{onOk:()=>{}}),Ea.createElement(Xu,{cb:()=>la([])}),Ea.createElement(Ke,null),Ea.createElement(yo,null),Ea.createElement(Fe.default,{title:Ea.createElement("span",null,Ea.createElement(mr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:jt.length>0,footer:!1,onCancel:()=>{er([])}},Ea.createElement("div",{style:{height:300,overflow:"auto"}},Ea.createElement("div",null,"\u6709",jt==null?void 0:jt.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),jt==null?void 0:jt.map(kt=>Ea.createElement("div",{style:{marginTop:25}},Ea.createElement("div",null,"\u8BD5\u5377\uFF1A",kt==null?void 0:kt.origin_exercise_nam),Ea.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Ea.createElement("a",{href:`/paperlibrary/see/${kt==null?void 0:kt.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},kt==null?void 0:kt.examination_bank_name))))),Ea.createElement("div",{style:{textAlign:"end"}},Ea.createElement(Ie.ZP,{style:{height:30},onClick:()=>ei(void 0,null,function*(){const kt=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...on],update:1}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u8986\u76D6\u6210\u529F"),er([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),Ea.createElement(Ie.ZP,{type:"primary",onClick:()=>ei(void 0,null,function*(){const kt=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...on]}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u5F62\u6210\u6210\u529F"),er([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),Ea.createElement(Fe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:vl,centered:!0,onOk:()=>ei(void 0,null,function*(){let kt=yield(0,b.ZP)(`/api/courses/${_t.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:Rr,forbid_end_exercise:Br}});(kt==null?void 0:kt.status)===0&&(Sl(!1),bt({type:"classroomList/setActionTabs",payload:{key:""}}),bt({type:"classroomList/getClassroomTopBanner",payload:{id:_t.coursesId}}),xe.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{Sl(!1),bt({type:"classroomList/setActionTabs",payload:{key:""}})}},Ea.createElement(Ne.default,{checked:Rr,onChange:kt=>{jl(kt.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",Ea.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),Ea.createElement(Ne.default,{className:"mt20",checked:Br,onChange:kt=>{Mt(kt.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),Ea.createElement(li,null),Ea.createElement(Ea.Fragment,null,Ea.createElement(Ko.T$,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:pl(ir({},We==null?void 0:We.actionTabs),{open:""})})},open:(($o=We==null?void 0:We.actionTabs)==null?void 0:$o.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),Ea.createElement(Ko.$i,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:pl(ir({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})},open:((ur=We==null?void 0:We.actionTabs)==null?void 0:ur.open)==="\u8BD5\u5377\u5C01\u5B58",Data:pl(ir({},We==null?void 0:We.actionTabs),{type:"exercise"})}),Ea.createElement(Ko.K1,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:pl(ir({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})},open:((Vo=We==null?void 0:We.actionTabs)==null?void 0:Vo.open)==="\u89E3\u5C01",Data:pl(ir({},We==null?void 0:We.actionTabs),{type:"exercise"})}),Ea.createElement(Ko.O7,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:pl(ir({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:ir(ir({},_t),Ro)})},open:((Va=We==null?void 0:We.actionTabs)==null?void 0:Va.open)==="\u63D0\u793A",Data:pl(ir({},We==null?void 0:We.actionTabs),{type:"exercise"})})))};var tl=(0,Pe.connect)(({user:ee,classroomList:he,loading:fe,globalSetting:We})=>({user:ee,classroomList:he,globalSetting:We,loading:fe.effects}))(ii),Do=te(5318),Zl=te(72936),gi=te(24528),qi=Object.defineProperty,Ni=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable,Hl=(ee,he,fe)=>he in ee?qi(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,kl=(ee,he)=>{for(var fe in he||(he={}))wi.call(he,fe)&&Hl(ee,fe,he[fe]);if(Ni)for(var fe of Ni(he))Si.call(he,fe)&&Hl(ee,fe,he[fe]);return ee},Ui=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const cu=({exercise:ee,dispatch:he})=>{const fe=(0,Pe.useParams)();return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:ee.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ui(void 0,null,function*(){(yield(0,b.ZP)(`/api/courses/${fe.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ee.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),he({type:"exercise/setActionTabs",payload:{}}),he({type:"classroomList/getClassroomExercisesList",payload:kl({},ee.actionTabs.params)}))}),onCancel:()=>{he({type:"exercise/setActionTabs",payload:{}})}},re.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",re.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Gi=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(cu),Vi=Object.defineProperty,du=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,sl=(ee,he,fe)=>he in ee?Vi(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ui=(ee,he)=>{for(var fe in he||(he={}))Hu.call(he,fe)&&sl(ee,fe,he[fe]);if(du)for(var fe of du(he))Mr.call(he,fe)&&sl(ee,fe,he[fe]);return ee},Il=(ee,he)=>{var fe={};for(var We in ee)Hu.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&du)for(var We of du(ee))he.indexOf(We)<0&&Mr.call(ee,We)&&(fe[We]=ee[We]);return fe},yi=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Pi=ee=>{var he=ee,{exercise:fe,dispatch:We,user:Vt}=he,yt=Il(he,["exercise","dispatch","user"]),bt,fn;const vt=(0,Pe.useParams)(),[Zt,nr]=(0,re.useState)(!1),[Zo,Co]=(0,re.useState)(!1),da=(0,re.useRef)(null);(0,re.useEffect)(()=>{var Qn,Ja;if(fe.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,oe.j5)()){Co(!0);return}const Ga={hasNum:0,noHasNum:0};(Ja=(Qn=fe==null?void 0:fe.actionTabs)==null?void 0:Qn.selectArrsAll)==null||Ja.map(ja=>{var vr;ja.author_login===((vr=Vt.userInfo)==null?void 0:vr.login)?++Ga.hasNum:++Ga.noHasNum}),Ga.noHasNum>0?Fe.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:re.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",re.createElement("span",{className:"c-blue"},Ga.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",re.createElement("span",{className:"c-red"},Ga.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",re.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Ho()}}):Co(!0)}else Co(!1)},[fe.actionTabs.key]);const Ho=()=>{We({type:"exercise/setActionTabs",payload:{}})};return re.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:Zo,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Zt,destroyOnClose:!0,onOk:()=>yi(void 0,null,function*(){var Qn;if((Qn=da.current)!=null&&Qn.onVerify())return;nr(!0);const Ja=yield(0,b.ZP)(`/api/courses/${vt.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...fe.actionTabs.selectArrs]}});nr(!1),Ja.status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),xe.ZP.success("\u5220\u9664\u6210\u529F"),We({type:"exercise/setActionTabs",payload:{}}),We({type:"classroomList/getClassroomExercisesList",payload:ui({},fe.actionTabs.params)}),We({type:"classroomList/getClassroomLeftMenus",payload:ui({},fe.actionTabs.params)}))}),onCancel:()=>{We({type:"exercise/setActionTabs",payload:{}})}},!((bt=fe==null?void 0:fe.actionTabs)!=null&&bt.status)||!["\u672A\u5F00\u59CB"].includes((fn=fe==null?void 0:fe.actionTabs)==null?void 0:fn.status)?re.createElement(re.Fragment,null,re.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),re.createElement(Et.Z,{ref:Qn=>da.current=Qn})):re.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var pi=(0,Pe.connect)(({exercise:ee,user:he})=>({exercise:ee,user:he}))(Pi),Wi=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,ts=(ee,he)=>{var fe={};for(var We in ee)es.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&Wi)for(var We of Wi(ee))he.indexOf(We)<0&&zs.call(ee,We)&&(fe[We]=ee[We]);return fe},Zs=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Bs=ee=>{var he=ee,{exercise:fe,dispatch:We}=he,Vt=ts(he,["exercise","dispatch"]);const yt=(0,Pe.useParams)();return yt.id=yt.coursesId,(0,re.useEffect)(()=>{fe.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>Zs(void 0,null,function*(){(yield(0,b.ZP)(`/api/courses/${yt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...fe.actionTabs.selectArrs]}})).status===0&&((0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),xe.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),We({type:"exercise/setActionTabs",payload:{}})}))},[fe.actionTabs.key]),re.createElement(re.Fragment,null)};var _u=(0,Pe.connect)(({exercise:ee})=>({exercise:ee}))(Bs),Al={flex_box_center:"flex_box_center___VejG5",flex_space_between:"flex_space_between___RwAiX",flex_box_vertical_center:"flex_box_vertical_center___N5QNs",flex_box_center_end:"flex_box_center_end___SUMZc",flex_box_column:"flex_box_column___ombQA",bg:"bg___i74VI",containerTitle:"containerTitle___eAbbs",containerDesc:"containerDesc___WeE4m",tablestyle:"tablestyle___uKNiL",listItem:"listItem___aJrbL",info:"info___X9HlC",title:"title___ZDroC",titleLeft:"titleLeft___JzNZc",titleRight:"titleRight___RP0gb",flexBox:"flexBox___txRbA",iconV:"iconV___JMCv9",acitons:"acitons___iqFGc",moveCategory:"moveCategory___Rihfv",name:"name___LdzGg",categoryName:"categoryName___Tz45n",schedule:"schedule___a20T3",fnSign:"fnSign___gsn3j",spanSize:"spanSize___jht3F",classromediv:"classromediv___T7h_f",glow:"glow___LU7dg",popover:"popover___Qeg0P",dot:"dot___c9Vwj",moni:"moni___LBVeo",ErrorPushTag:"ErrorPushTag___F0OTF",authorized:"authorized___yQPQx"},Eu=Object.defineProperty,ns=Object.getOwnPropertySymbols,bs=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,Gu=(ee,he,fe)=>he in ee?Eu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Wu=(ee,he)=>{for(var fe in he||(he={}))bs.call(he,fe)&&Gu(ee,fe,he[fe]);if(ns)for(var fe of ns(he))as.call(he,fe)&&Gu(ee,fe,he[fe]);return ee};const os=ee=>React.createElement("svg",Wu({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var Hs="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Yu=Object.defineProperty,Ku=Object.getOwnPropertySymbols,_s=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable,Ds=(ee,he,fe)=>he in ee?Yu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ws=(ee,he)=>{for(var fe in he||(he={}))_s.call(he,fe)&&Ds(ee,fe,he[fe]);if(Ku)for(var fe of Ku(he))rs.call(he,fe)&&Ds(ee,fe,he[fe]);return ee};const ls=ee=>React.createElement("svg",ws({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var Uu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44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Pjwvc3ZnPg==",is=te(41727),Ls=Object.defineProperty,us=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,Ms=(ee,he,fe)=>he in ee?Ls(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ds=(ee,he)=>{for(var fe in he||(he={}))ss.call(he,fe)&&Ms(ee,fe,he[fe]);if(us)for(var fe of us(he))cs.call(he,fe)&&Ms(ee,fe,he[fe]);return ee};const Os=ee=>React.createElement("svg",ds({width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},ee),React.createElement("title",null,"3"),React.createElement("defs",null,React.createElement("path",{id:"ErrorPushIcon_svg__a",d:"M0 0h24v24H0z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"ErrorPushIcon_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#ErrorPushIcon_svg__a"})),React.createElement("use",{fill:"#F4F8FF",opacity:.01,xlinkHref:"#ErrorPushIcon_svg__a"}),React.createElement("g",{mask:"url(#ErrorPushIcon_svg__b)",fillRule:"nonzero"},React.createElement("path",{d:"M7.598 2.582 2.8 3.428A1.701 1.701 0 0 0 1.42 5.396l2.92 16.562a1.695 1.695 0 0 0 1.969 1.38l1.564-.277a1.152 1.152 0 0 1-.276-.749V2.582Z",fill:"#AEF0FF"}),React.createElement("path",{d:"M21.863 1.403H8.755c-.639 0-1.156.518-1.157 1.156v19.752a1.159 1.159 0 0 0 1.157 1.157h13.108a.14.14 0 0 0 .14-.14V1.542a.14.14 0 0 0-.14-.14Zm-3.575 6.67h-6.493V4.928h6.493v3.145Z",fill:"#EF6A6A"}),React.createElement("path",{fill:"#F9DB91",d:"M11.795 4.928h6.493v3.146h-6.493z"}),React.createElement("path",{d:"M21.863 1.073H8.755c-.721 0-1.339.517-1.464 1.228l-4.548.8a2.029 2.029 0 0 0-1.645 2.353l2.92 16.56a2.027 2.027 0 0 0 2.35 1.647l1.392-.246c.273.247.627.383.995.382h13.108c.26 0 .47-.21.47-.47V1.543a.47.47 0 0 0-.47-.47ZM6.253 23.01a1.366 1.366 0 0 1-1.587-1.112L1.746 5.34a1.37 1.37 0 0 1 1.11-1.587l4.412-.777v1.534c-.85.061-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.534v1.193c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.475 1.522 1.535v1.192c-.85.06-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.535v1.192c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.474 1.522 1.535v1.95c0 .171.03.342.089.505l-1.105.193Zm1.014-17.84v1.746c-.486-.055-.862-.425-.862-.872 0-.448.377-.818.863-.874Zm0 4.261v1.747c-.486-.056-.862-.426-.862-.874 0-.447.377-.818.863-.873Zm0 4.261v1.746c-.486-.056-.862-.426-.862-.873s.377-.818.863-.873Zm0 4.26V19.7c-.486-.056-.862-.426-.862-.873 0-.448.377-.818.863-.874Zm14.406 5.185H8.755a.828.828 0 0 1-.827-.827v-4.226c.274.157.456.431.456.742a.79.79 0 0 1-.121.422.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.25-1.115-1.456v-3.545c.273.156.456.43.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.249-1.115-1.456V9.564c.273.156.456.43.456.74 0 .15-.042.296-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.497.22-.77 0-.674-.467-1.249-1.115-1.456V5.303c.273.156.456.431.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.23.22-.497.22-.769 0-.675-.467-1.25-1.115-1.457V2.56c0-.456.37-.826.827-.827h12.918v21.406Z",fill:"#512C56"}),React.createElement("path",{d:"M11.565 8.402h6.953a.101.101 0 0 0 .1-.101V4.699a.101.101 0 0 0-.1-.101h-6.953a.101.101 0 0 0-.101.101v3.605a.1.1 0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gyNi44MjctLjgyN2gxMi45MTh2MjEuNDA2WiIgZmlsbD0iIzUxMkM1NiIvPjxwYXRoIGQ9Ik0xMS41NjUgOC40MDJoNi45NTNhLjEwMS4xMDEgMCAwIDAgLjEtLjEwMVY0LjY5OWEuMTAxLjEwMSAwIDAgMC0uMS0uMTAxaC02Ljk1M2EuMTAxLjEwMSAwIDAgMC0uMTAxLjEwMXYzLjYwNWEuMS4xIDAgMCAwIC4xMDEuMDk4Wm0uNTU4LTMuMTQ0aDUuODMzdjIuNDg1aC01LjgzM1Y1LjI1OFptNS4xNjMgMTEuODloLTQuNDg5YS4zMy4zMyAwIDEgMCAwIC42NTloNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2Wm0wIDIuMzM0aC00LjQ4OWEuMzMuMzMgMCAwIDAgMCAuNjZoNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2WiIgZmlsbD0iIzUxMkM1NiIvPjwvZz48L2c+PC9zdmc+",Vu=Object.defineProperty,Qu=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,Ml=(ee,he,fe)=>he in ee?Vu(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,ki=(ee,he)=>{for(var fe in he||(he={}))Gs.call(he,fe)&&Ml(ee,fe,he[fe]);if(Qu)for(var fe of Qu(he))ol.call(he,fe)&&Ml(ee,fe,he[fe]);return ee};const gu=ee=>React.createElement("svg",ki({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var $i="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",kn=te(59301),ms=Object.defineProperty,fs=Object.defineProperties,ps=Object.getOwnPropertyDescriptors,wu=Object.getOwnPropertySymbols,ac=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable,Ns=(ee,he,fe)=>he in ee?ms(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Su=(ee,he)=>{for(var fe in he||(he={}))ac.call(he,fe)&&Ns(ee,fe,he[fe]);if(wu)for(var fe of wu(he))oc.call(he,fe)&&Ns(ee,fe,he[fe]);return ee},Js=(ee,he)=>fs(ee,ps(he)),eu=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const Xs=({v:ee,k:he,selectArrs:fe,setSelectArrs:We,dispatch:Vt,params:yt,classroomList:bt,batchStatus:fn,manageAllGroup:vt,user:Zt})=>{var nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur,Vo,Va,Ro,Jn,_t;const[bl,ko]=(0,re.useState)([]),[zn,Wo]=(0,re.useState)(!1),Tr=(0,re.useRef)(),on=(0,re.useRef)();var la=!1;const vo="YYYY-MM-DD",Ta=me()("2020-11-15",vo);function jt(){return eu(this,null,function*(){console.log(yt,222);let Ft=yield(0,b.ZP)(`/api/courses/${yt==null?void 0:yt.coursesId}/exercises/group_use_list.json`,{method:"get",params:Js(Su({},yt),{id:ee.id})});ko((Ft==null?void 0:Ft.groups)||[])})}const er=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:kn.createElement(kn.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ee!=null&&ee.appraise_label&&(la=!0);const vl=(Ft,ln=!1)=>{var Xt;Pe.history.push(`/classrooms/${yt.coursesId}/exercisenotice/${Ft.id}/users/${(Xt=(0,oe.eY)())==null?void 0:Xt.login}`)},Sl=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Ft,ln)=>ln.exercise_status===Ft,render:(Ft,ln)=>kn.createElement("div",null,Ft===1&&kn.createElement("span",null,kn.createElement("i",{className:Al.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Ft===2&&kn.createElement("span",null,kn.createElement("i",{className:Al.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Ft===3&&kn.createElement("span",null,kn.createElement("i",{className:Al.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:yt.order_by==="publish_time"?yt.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:yt.order_by==="end_time"?yt.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Ft,ln)=>ln.exercise_status===1?"-":kn.createElement("span",null,Ft,"/",ln.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Ft,ln)=>ln.exercise_status===1?"-":Ft===0?kn.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Ft):kn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${ln.course_group_id}`)},Ft)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Ft,ln)=>ln.exercise_status===1?kn.createElement("img",{style:{cursor:"not-allowed"},src:Hs}):kn.createElement(ne.Z,{title:"\u8BC4\u9605"},kn.createElement("a",{onClick:()=>(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee==null?void 0:ee.id}/detail?random=false&exercise_group_id=${ln.course_group_id}`)},kn.createElement("img",{src:Uu})))}],Rr=Ft=>{if(la)return kn.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Ft!=null&&Ft.includes("\u672A\u5F00\u59CB"))return kn.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Ft!=null&&Ft.includes("\u8003\u8BD5\u4E2D"))return kn.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Ft!=null&&Ft.includes("\u5DF2\u622A\u6B62"))return kn.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Ft!=null&&Ft.includes("\u5BFC\u5165"))return kn.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},jl=()=>{const Ft=(ee==null?void 0:ee.simulate_exercise_num)-(ee==null?void 0:ee.user_simulate_num);return Ft>=0?Ft:0},Br=(Ft=ee)=>{var ln,Xt,$a;if(Ft!=null&&Ft.is_encrypt){Vt({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Ft==null?void 0:Ft.id,phone:(ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.phone,login:(Xt=Zt==null?void 0:Zt.userInfo)==null?void 0:Xt.login}});return}($a=Zt==null?void 0:Zt.userInfo)!=null&&$a.phone?Vt({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Ft==null?void 0:Ft.id}}):Vt({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Mt=Ft=>{var ln,Xt,$a;if(((ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.login)!==(ee==null?void 0:ee.author_login)){xe.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Vt({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ee==null?void 0:ee.id,phone:(Xt=Zt==null?void 0:Zt.userInfo)==null?void 0:Xt.phone,login:($a=Zt==null?void 0:Zt.userInfo)==null?void 0:$a.login,onFinish:Ft}})};return kn.createElement("div",{className:Al.listItem,onClick:Ft=>{const ln=()=>{(!(0,oe.GJ)()||(0,oe.GJ)()&&on.current&&!on.current.contains(Ft.target))&&(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()}},(0,oe.GJ)()&&kn.createElement("span",{ref:on},kn.createElement(Ne.default,{checked:fe.includes(ee.id),value:ee.id,style:{padding:"10px"},onClick:Ft=>{Ft.stopPropagation()},disabled:(ee==null?void 0:ee.is_encrypt)||(ee==null?void 0:ee.is_make_up_exercise),onChange:Ft=>{let ln=fe.indexOf(ee.id);fe.indexOf(ee.id)>-1?We(fe.filter(Xt=>Xt!==ee.id)):We(fe.concat(ee.id))}})),kn.createElement("div",{className:Al.info},kn.createElement("div",{className:Al.title},kn.createElement("div",{className:Al.titleLeft,style:{marginRight:15}},Rr(ee==null?void 0:ee.exercise_tips),(ee==null?void 0:ee.is_make_up_exercise)&&kn.createElement("img",{src:is,width:44,height:24,style:{marginRight:10}}),kn.createElement(ne.Z,{title:ee.exercise_name},kn.createElement("span",{className:Al.name},ee.exercise_name)),(ee==null?void 0:ee.high_resources_consume)&&!(ee!=null&&ee.high_resources_consume_permission)&&kn.createElement(Me.Z,{type:"exercise",style:{marginLeft:10}}),(ee==null?void 0:ee.high_resources_consume)&&(ee==null?void 0:ee.high_resources_consume_permission)&&kn.createElement("span",{className:Al.authorized},"\u5DF2\u6388\u6743"),((nr=ee==null?void 0:ee.exercise_tips)==null?void 0:nr.includes("\u5DF2\u622A\u6B62"))&&((Zo=bt==null?void 0:bt.detailTopBanner)==null?void 0:Zo.forbid_end_exercise)&&kn.createElement(ne.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},kn.createElement("img",{src:$i,width:20,className:"ml10"})),!ee.is_public&&(0,oe.GJ)()&&kn.createElement(ne.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},kn.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ee==null?void 0:ee.exercise_type)==2&&kn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:Al.moni},kn.createElement("img",{src:ti,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((Co=ee==null?void 0:ee.exercise_tips)==null?void 0:Co.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&kn.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),(ee==null?void 0:ee.ai_push_wrong_question)&&kn.createElement("span",{className:Al.ErrorPushTag},kn.createElement("img",{src:gs,width:12,className:"mr5"}),"AI\u9519\u9898\u63A8\u9001"),((da=ee==null?void 0:ee.exercise_tips)==null?void 0:da.includes("\u5DF2\u622A\u6B62"))&&((Ho=ee==null?void 0:ee.exercise_tips)==null?void 0:Ho.includes("\u672A\u63D0\u4EA4"))&&kn.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ee==null?void 0:ee.is_encrypt)&&kn.createElement(ne.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",kn.createElement("img",{src:Cl,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),kn.createElement("div",{className:Al.titleRight,onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault()}},(ee==null?void 0:ee.appraise_setting)&&kn.createElement("span",{className:Al.flexBox,style:{marginRight:"16px"},onClick:()=>eu(void 0,null,function*(){const Ft=()=>eu(void 0,null,function*(){Vt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const ln=yield(0,b.ZP)(`/api/exercises/${ee.id}/create_appraise_students.json`,{method:"get"});Vt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,a.xg)(`/classrooms/${yt==null?void 0:yt.coursesId}/exercise/${ee.id}/centralizeReview/${ln==null?void 0:ln.login}`)});if(ee!=null&&ee.is_encrypt){Mt(Ft);return}Ft()})},kn.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),kn.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&(!(ee!=null&&ee.is_make_up_exercise)||(ee==null?void 0:ee.is_make_up_exercise)&&(ee==null?void 0:ee.exercise_status)===1&&(ee==null?void 0:ee.allow_create_make_up))&&kn.createElement(fi.Z,{tips:ee==null?void 0:ee.open_appraise},kn.createElement("span",{className:Al.flexBox,style:{marginRight:"16px"},onClick:()=>{const Ft=()=>{var ln,Xt,$a;if(((ln=Zt==null?void 0:Zt.userInfo)==null?void 0:ln.user_status)===2){(0,ve.Rd)();return}if((0,oe.Rm)()&&!(($a=(Xt=bt==null?void 0:bt.AssistantObject)==null?void 0:Xt.exercise)!=null&&$a.can_publish)){xe.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}if((ee==null?void 0:ee.exercise_question_count)===0){xe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let br=()=>{Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ee.id],selectArrsAll:[ee],unified_setting:ee.unified_setting,params:yt,disabled:ee.exercise_status!==1,type:2,manage_all_group:vt,isRouter:!0}})};ee!=null&&ee.high_resources_consume&&!(ee!=null&&ee.high_resources_consume_permission)?Vt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:yt.coursesId,type:"exercise",type_id:ee.id,name:ee.exercise_name,fn:()=>{Vt({type:"classroomList/getClassroomExercisesList",payload:Su({},yt)}),br()}}}):br()};if(ee!=null&&ee.is_encrypt){Mt(Ft);return}Ft()}},kn.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),kn.createElement("div",null,"\u53D1\u5E03"))),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&!(0,a._m)()&&ee.assistant_auth&&kn.createElement("span",{className:Al.flexBox,style:{marginRight:"16px"},onClick:Ft=>{Ft.stopPropagation();const ln=()=>{var Xt,$a;if((0,oe.Rm)()&&!(($a=(Xt=bt==null?void 0:bt.AssistantObject)==null?void 0:Xt.exercise)!=null&&$a.can_preview)){xe.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 br=me()(ee.created_at,vo);me()(Ta).diff(me()(br),"days")>0&&(ee!=null&&ee.is_random)?er():ee!=null&&ee.is_random?(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/random/preview?random=${ee.is_random}`):(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=2`)};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()}},kn.createElement("i",{className:"iconfont icon-yulan3"}),kn.createElement("div",null,"\u9884\u89C8")),(0,oe.RV)()&&kn.createElement("span",{className:Al.flexBox,style:{marginRight:"16px"},onClick:()=>{const Ft=()=>{(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}`)};if(ee!=null&&ee.is_encrypt){Mt(Ft);return}Ft()}},kn.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),kn.createElement("div",null,"\u8BE6\u60C5")),(0,oe.GJ)()&&!(0,a._m)()&&kn.createElement(La.Z,{placement:"bottom",content:kn.createElement("div",{className:Al.popover},!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&kn.createElement("p",{onClick:Ft=>eu(void 0,null,function*(){const ln=()=>{(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/detail?random=${ee.is_random}&tabs=3`)};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()})},"\u89C4\u5219\u8BBE\u7F6E"),(ee==null?void 0:ee.exercise_tips.includes("\u5BFC\u5165"))&&kn.createElement("p",{onClick:Ft=>eu(void 0,null,function*(){const ln=()=>{Vt({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ee==null?void 0:ee.exercise_name,id:ee==null?void 0:ee.id,type:"hack"}})};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()})},"\u8865\u5145\u6210\u7EE9"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&(0,oe.GJ)()&&ee.is_random&&ee.assistant_auth&&kn.createElement("p",{onClick:Ft=>{Ft.stopPropagation();const ln=()=>{const Xt=me()(ee.created_at,vo);me()(Ta).diff(me()(Xt),"days")>0&&(ee!=null&&ee.is_random)?er():(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/random/edit?type=settings`)};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()}},"\u7F16\u8F91\u8003\u8BD5"),kn.createElement("p",{onClick:Ft=>eu(void 0,null,function*(){const ln=()=>{var Xt;Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ee.id],selectArrsAll:[ee],params:yt,status:(Xt=ee==null?void 0:ee.exercise_tips)==null?void 0:Xt[0]}})};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()})},"\u5220\u9664\u8BD5\u5377"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&kn.createElement("p",{onClick:()=>{const Ft=()=>{Vt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ee.id],params:yt}})};if(ee!=null&&ee.is_encrypt){Mt(Ft);return}Ft()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((Qn=ee==null?void 0:ee.exercise_tips)==null?void 0:Qn.includes("\u672A\u5F00\u59CB"))&&(ee==null?void 0:ee.author_login)===((Ja=Zt==null?void 0:Zt.userInfo)==null?void 0:Ja.login)&&kn.createElement("p",{onClick:Ft=>eu(void 0,null,function*(){Br(ee)})}," ",ee!=null&&ee.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&((0,oe.GJ)()||((ja=(Ga=bt==null?void 0:bt.AssistantObject)==null?void 0:Ga.exercise)==null?void 0:ja.can_stop))&&![1,3].includes(ee==null?void 0:ee.exercise_status)&&kn.createElement("p",{onClick:Ft=>eu(void 0,null,function*(){const ln=()=>{var Xt,$a;if((0,oe.Rm)()&&!(($a=(Xt=bt==null?void 0:bt.AssistantObject)==null?void 0:Xt.exercise)!=null&&$a.can_stop)){xe.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}Vt({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ee.id],params:yt,unified_setting:ee.unified_setting}})};if(ee!=null&&ee.is_encrypt){Mt(ln);return}ln()})},"\u7ED3\u675F\u8003\u8BD5"))},kn.createElement("span",{onClick:Ft=>Ft.stopPropagation(),className:Al.flexBox,style:{cursor:"default"}},kn.createElement("i",{className:"iconfont icon-gengduo4"}),kn.createElement("div",null,"\u66F4\u591A"))),(0,oe.dE)()&&kn.createElement(kn.Fragment,null,!!ee.off_limits&&kn.createElement(ne.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ee==null?void 0:ee.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},kn.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===0&&ee.exercise_status>1&&!((vr=ee.exercise_tips)!=null&&vr.includes("\u5DF2\u622A\u6B62"))&&kn.createElement("a",{className:Al.flexBox,style:{marginRight:"16px"},onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault(),vl(ee,!0)},href:""},kn.createElement("i",{className:"iconfont icon-jixukaoshi"}),kn.createElement("div",null,(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((Xo=ee.exercise_tips)!=null&&Xo.includes("\u5DF2\u622A\u6B62"))&&(ee==null?void 0:ee.screen_used_num)>(ee==null?void 0:ee.screen_total_num)&&kn.createElement("a",{className:Al.flexBox,style:{marginRight:"16px"},onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault(),vl(ee,!0)},href:""},kn.createElement("i",{className:"iconfont icon-jixukaoshi"}),kn.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ee.off_limits&&ee.current_status===1&&(ee==null?void 0:ee.screen_used_num)<(ee==null?void 0:ee.screen_total_num)&&ee.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ee==null?void 0:ee.exercise_type)==2&&(ee==null?void 0:ee.exercise_status)!=3)&&kn.createElement("span",{className:Al.flexBox,style:{marginRight:"16px"},onClick:Ft=>eu(void 0,null,function*(){var ln;if(Ft.stopPropagation(),!(ee!=null&&ee.answered_open)){xe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,gr.w)(yt.coursesId,ee.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/users/${(ln=(0,oe.eY)())==null?void 0:ln.login}?check=true`)})},kn.createElement("i",{className:"iconfont icon-chakankaoshi"}),kn.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==1&&!ee.off_limits&&ee.current_status===2&&ee.exercise_status>1&&!((qo=ee.exercise_tips)!=null&&qo.includes("\u5DF2\u622A\u6B62"))&&kn.createElement("a",{className:Al.flexBox,style:{marginRight:"16px",color:(ee==null?void 0:ee.is_redo)===1&&"red"},onClick:Ft=>{Ft.stopPropagation(),Ft.preventDefault(),vl(ee)},href:""},kn.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),kn.createElement("div",null,(ee==null?void 0:ee.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ee==null?void 0:ee.exercise_type)==2&&!ee.off_limits&&ee.exercise_status>1&&!(($o=ee.exercise_tips)!=null&&$o.includes("\u5DF2\u622A\u6B62"))&&kn.createElement(ne.Z,{title:kn.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ee==null?void 0:ee.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",jl(),"\u6B21")},kn.createElement("a",{className:Al.flexBox,onClick:Ft=>{jl()==0&&(ee==null?void 0:ee.current_status)!=0||(Ft.stopPropagation(),Ft.preventDefault(),vl(ee))},href:""},kn.createElement("i",{className:`iconfont ${(ee==null?void 0:ee.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),kn.createElement("div",null,(ee==null?void 0:ee.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5"))),(ee==null?void 0:ee.ai_push_wrong_question)&&(ee==null?void 0:ee.whole_exercise_status)===3&&!((ur=ee==null?void 0:ee.exercise_tips)!=null&&ur.includes("\u672A\u63D0\u4EA4"))&&kn.createElement("span",{className:Al.flexBox,style:{marginRight:"16px"},onClick:Ft=>eu(void 0,null,function*(){var ln,Xt;if(Ft.stopPropagation(),(ee==null?void 0:ee.wrong_questions_size)===0){xe.ZP.warning("\u672C\u6B21\u8003\u8BD5\u4F60\u65E0\u9700\u8FDB\u884C\u9519\u9898\u5DE9\u56FA\uFF5E");return}if(((ln=ee==null?void 0:ee.progress)==null?void 0:ln.stat)===1){xe.ZP.warning("\u63A8\u8350\u8BD5\u9898\u6B63\u5728\u751F\u6210\u4E2D\uFF0C\u8BF7\u7B49\u5F85\u751F\u6210\u5B8C\u6210\u540E\u518D\u5F00\u59CB\u5DE9\u56FA");return}(0,a.xg)(`/classrooms/${yt.coursesId}/exercise/${ee.id}/wrongAnswer/${(Xt=(0,oe.eY)())==null?void 0:Xt.login}`)})},kn.createElement("i",{className:"iconfont icon-cuotigonggu"}),kn.createElement("div",null,"\u9519\u9898\u5DE9\u56FA"))))),(0,oe.GJ)()&&kn.createElement("p",{style:{display:"flex"}},kn.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:ee.author},ee.author),kn.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",me()(ee.created_at).format("YYYY-MM-DD HH:mm:ss")),((Vo=ee==null?void 0:ee.exercise_tips)==null?void 0:Vo.includes("\u672A\u5F00\u59CB"))&&ee.publish_time&&kn.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",me()(ee.publish_time).format("YYYY-MM-DD HH:mm:ss")),kn.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),kn.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",ee.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Va=ee==null?void 0:ee.exercise_tips)!=null&&Va.includes("\u672A\u5F00\u59CB"))&&!(ee!=null&&ee.is_make_up_exercise)&&!(ee!=null&&ee.exercise_tips.includes("\u5BFC\u5165"))&&kn.createElement("span",{className:Al.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Ft=>eu(void 0,null,function*(){Ft.stopPropagation(),Ft.preventDefault(),zn||jt(),Wo(!zn)})},kn.createElement(ne.Z,{title:`${zn?"\u6536\u8D77":"\u5C55\u5F00"}`},kn.createElement("i",{className:`iconfont icon-${zn?"shouqi":"xiala2"}`})))),(0,oe.dE)()&&kn.createElement("p",{style:{display:"flex"}},kn.createElement("span",{className:"c-grey-333"},ee.author),kn.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ee.time===null?"\u4E0D\u9650":`${ee.time}\u5206\u949F`),!!(ee!=null&&ee.exercise_left_time)&&kn.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ee==null?void 0:ee.exercise_left_time),!!(ee!=null&&ee.before_start)&&kn.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ee==null?void 0:ee.before_start)),(0,oe.GJ)()&&!((Ro=ee==null?void 0:ee.exercise_tips)!=null&&Ro.includes("\u672A\u5F00\u59CB"))&&kn.createElement("p",null,kn.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),kn.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",kn.createElement("span",null,ee==null?void 0:ee.unanswer_users)),kn.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",kn.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ee==null?void 0:ee.answering_users)),kn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",kn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.answer_users)),kn.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",kn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.commit_with_no_answers_users))),(0,oe.GJ)()&&!((Jn=ee==null?void 0:ee.exercise_tips)!=null&&Jn.includes("\u672A\u5F00\u59CB"))&&zn&&bl.length>5&&kn.createElement(rt.default,{scroll:{y:240},pagination:!1,dataSource:bl,onRow:Ft=>({onClick:ln=>{ln.stopPropagation(),ln.preventDefault()}}),onHeaderRow:(Ft,ln)=>({onClick:Xt=>{Xt.stopPropagation(),Xt.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Ft,ln,Xt)=>{Xt.field&&(yt.order_by=Xt.field),Xt.order||(yt.sort_direction="asc"),Xt.order==="ascend"&&(yt.sort_direction="asc"),Xt.order==="descend"&&(yt.sort_direction="desc"),Xt.order||(yt.sort_direction="asc"),jt()},columns:Sl}),(0,oe.GJ)()&&!((_t=ee==null?void 0:ee.exercise_tips)!=null&&_t.includes("\u672A\u5F00\u59CB"))&&zn&&bl.length<6&&bl.length>0&&kn.createElement(rt.default,{rowKey:"course_group_id",pagination:!1,onRow:Ft=>({onClick:ln=>{ln.stopPropagation(),ln.preventDefault()}}),onHeaderRow:(Ft,ln)=>({onClick:Xt=>{Xt.stopPropagation(),Xt.preventDefault()}}),dataSource:bl,style:{marginTop:"10px"},onChange:(Ft,ln,Xt)=>{Xt.field&&(yt.order_by=Xt.field),Xt.order||(yt.sort_direction="asc"),Xt.order==="ascend"&&(yt.sort_direction="asc"),Xt.order==="descend"&&(yt.sort_direction="desc"),Xt.order||(yt.sort_direction="asc"),jt()},columns:Sl}),(ee==null?void 0:ee.total)!==void 0&&kn.createElement("p",null,kn.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),kn.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",kn.createElement("span",null,ee==null?void 0:ee.total)),kn.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",kn.createElement("span",{style:{color:"#4EACFF"}},ee==null?void 0:ee.finish_total)),kn.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",kn.createElement("span",{style:{color:"#FC2D6B"}},ee==null?void 0:ee.unfinished_total)))),kn.createElement(dl.Z,{closable:!0,successCb:()=>vl(Tr.current)}))};var qs=(0,Pe.connect)(({classroomList:ee})=>({classroomList:ee}))(Xs),rc=te(95651),lc=te(37497),ic=te(48436),$s=te(12586),uc=te(62686),sc=te(61604),To=te(59301),ec=Object.defineProperty,Ws=Object.defineProperties,Ys=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,wo=(ee,he,fe)=>he in ee?ec(ee,he,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[he]=fe,Ka=(ee,he)=>{for(var fe in he||(he={}))tc.call(he,fe)&&wo(ee,fe,he[fe]);if(Is)for(var fe of Is(he))il.call(he,fe)&&wo(ee,fe,he[fe]);return ee},_r=(ee,he)=>Ws(ee,Ys(he)),Ql=(ee,he)=>{var fe={};for(var We in ee)tc.call(ee,We)&&he.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&Is)for(var We of Is(ee))he.indexOf(We)<0&&il.call(ee,We)&&(fe[We]=ee[We]);return fe},mu=(ee,he,fe)=>new Promise((We,Vt)=>{var yt=vt=>{try{fn(fe.next(vt))}catch(Zt){Vt(Zt)}},bt=vt=>{try{fn(fe.throw(vt))}catch(Zt){Vt(Zt)}},fn=vt=>vt.done?We(vt.value):Promise.resolve(vt.value).then(yt,bt);fn((fe=fe.apply(ee,he)).next())});const tu=ee=>{var he=ee,{user:fe,classroomList:We,globalSetting:Vt,loading:yt,dispatch:bt}=he,fn=Ql(he,["user","classroomList","globalSetting","loading","dispatch"]),vt,Zt,nr,Zo,Co,da,Ho,Qn,Ja,Ga,ja,vr,Xo,qo,$o,ur,Vo,Va;const Ro=(0,Pe.useParams)(),[Jn]=(0,Pe.useSearchParams)(),[_t,bl]=(0,re.useState)(()=>_r(Ka({},Ro),{limit:20})),ko=(0,Pe.useLocation)(),{detailExerciseList:zn,detailTopBanner:Wo,detailLeftMenus:Tr}=We,[on,la]=(0,re.useState)([]),[vo,Ta]=(0,re.useState)(!1),[jt,er]=(0,re.useState)([]),[vl,Sl]=(0,re.useState)(!1),[Rr,jl]=(0,re.useState)(!1),[Br,Mt]=(0,re.useState)(!1),[Ft,ln]=(0,re.useState)(!1),[Xt,$a]=(0,re.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),br=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];_t.type=Jn.get("tabs")==="all"?"":Jn.get("tabs")||"",_t.id=_t.coursesId,(0,re.useEffect)(()=>{var kt,ya,yl;if((kt=fe==null?void 0:fe.userInfo)!=null&&kt.login){if((0,oe.GJ)()){const cl=a.cX.getItem(`${(ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.login}Teacher`,"Exercise");cl&&(_t.sort_by=cl==null?void 0:cl.type,_t.sort_direction=cl==null?void 0:cl.direction,$a(cl==null?void 0:cl.name))}bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})}else(yl=fe==null?void 0:fe.userInfo)!=null&&yl.username&&bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)});Ta(!1)},[(vt=fe==null?void 0:fe.userInfo)==null?void 0:vt.login,ko.pathname]),(0,re.useEffect)(()=>{We.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})},[We.actionTabs.key]),(0,re.useEffect)(()=>{We.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(Sl(!0),jl(Wo==null?void 0:Wo.show_unstart_exercise),Mt(Wo==null?void 0:Wo.forbid_end_exercise))},[We.actionTabs.key]),(0,re.useEffect)(()=>{la([])},[zn]);const Dl=(kt,ya)=>{la([]),_t.page=kt,_t.limit=ya,bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})},zl=kt=>{_t.type=kt.key==="all"?"":kt.key,_t.page=1,Pe.history.replace(`${ko.pathname}?tabs=${kt.key}`),ln(!1),bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})};(0,re.useEffect)(()=>{Jn.get("tabs")==="all"&&(_t.type="",_t.page=1)},[Jn.get("tabs")]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&bt({type:"classroomList/getAssistantPermissions",payload:{course_id:_t.coursesId}})},[(Zt=fe==null?void 0:fe.userInfo)==null?void 0:Zt.username]),(0,re.useEffect)(()=>{const kt=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),Fe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:To.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",To.createElement("br",null),"1\u3001\u5728",To.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",To.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",To.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",To.createElement("br",null),"2\u3001\u5728",To.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",To.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",To.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",To.createElement("br",null),kt==="allowRouter"&&To.createElement(To.Fragment,null,"3\u3001",To.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,re.useEffect)(()=>{(0,oe.Rm)()&&bt({type:"classroomList/getAssistantPermissions",payload:{course_id:_t.coursesId}})},[(nr=fe==null?void 0:fe.userInfo)==null?void 0:nr.login]);const Or=[{name:"\u5168\u90E8",id:"all",total:(Zo=zn.exercises_counts)==null?void 0:Zo.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(Co=zn.exercises_counts)==null?void 0:Co.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(da=zn.exercises_counts)==null?void 0:da.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Ho=zn.exercises_counts)==null?void 0:Ho.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(Qn=zn.exercises_counts)==null?void 0:Qn.end_counts}],Ai=[{name:"\u6279\u91CF\u53D1\u5E03",icon:To.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:To.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:To.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:To.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:To.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(kt=>(0,oe.GJ)()?!0:kt.name!=="\u6279\u91CF\u5220\u9664").filter(kt=>Wo.is_public?!0:kt.name!=="\u8BBE\u4E3A\u516C\u5F00"),nu=()=>Fe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:To.createElement(To.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),zi="YYYY-MM-DD",yu=me()("2020-11-15",zi),au=kt=>{var ya;_t.sort_by=kt.type,_t.sort_direction=kt.direction,(0,oe.GJ)()&&a.cX.setItem(`${(ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.login}Teacher`,kt,"Exercise"),_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:Ka({},_t)}),$a(kt.name)},Iu=()=>To.createElement(be.default,null,To.createElement(be.default.Item,{key:1,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We==null?void 0:We.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}bt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:_t}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),To.createElement(be.default.Item,{key:2,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We==null?void 0:We.AssistantObject)==null?void 0:kt.exercise)!=null&&ya.can_create)){xe.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}window.scrollTo(0,0),Pe.history.push(`/classrooms/${_t.coursesId}/exercise/add?catalogue=${(Ro==null?void 0:Ro.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),To.createElement(be.default.Item,{key:3,onClick:()=>{var kt,ya;if((0,oe.Rm)()&&!((ya=(kt=We.AssistantObject)==null?void 0:kt.practice)!=null&&ya.can_create)){xe.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}bt({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),ou=kt=>mu(void 0,null,function*(){var ya,yl,cl,vi,Zi,fu,ma,no;const ba=kt.name;if(((ya=fe==null?void 0:fe.userInfo)==null?void 0:ya.user_status)===2&&kt.name==="\u6279\u91CF\u53D1\u5E03"){(0,ve.Rd)();return}const Lo=[];if((yl=zn.exercises)==null||yl.map(ga=>{if(on.includes(ga.id)&&ga.is_random){const Ua=me()(ga.created_at,zi);me()(yu).diff(me()(Ua),"days")>0&&(ga!=null&&ga.is_random)&&Lo.push(ga)}}),on==""){let ga="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(ga="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),xe.ZP.error(ga)}else if(Lo.length)nu();else{if(ba==="\u6279\u91CF\u53D1\u5E03"){if((0,oe.Rm)()&&!((vi=(cl=We==null?void 0:We.AssistantObject)==null?void 0:cl.exercise)!=null&&vi.can_publish)){xe.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}let ga=!1;zn.exercises.forEach(ho=>{on.includes(ho.id)&&ho.total_num===0&&ho.is_random&&(ga=!0)});let Ua;if(Ua=(fu=(Zi=zn.exercises.filter(ho=>on.includes(ho==null?void 0:ho.id)).filter(ho=>(ho==null?void 0:ho.exercise_question_count)===0))==null?void 0:Zi[0])==null?void 0:fu.exercise_name,(Ua==null?void 0:Ua.length)>0){xe.ZP.warning(`${Ua}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(ga){xe.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let Cr=!1;if(zn.exercises.forEach(ho=>{on.includes(ho.id)&&ho.exercise_status!==1&&(Cr=!0)}),Cr){xe.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const ga=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...on]}});if(((ma=ga==null?void 0:ga.cover_exercises)==null?void 0:ma.length)>0){er(ga==null?void 0:ga.cover_exercises);return}}bt({type:"exercise/setActionTabs",payload:{key:ba,selectArrs:on,selectArrsAll:(no=zn.exercises)==null?void 0:no.filter(ga=>on.includes(ga.id)),params:_t,type:1}})}});return To.createElement("section",{className:"minH500"},To.createElement(rc.Z,{isLoading:yt["classroomList/getClassroomExercisesList"],tabDataSource:Or,isAdmin:(0,oe.GJ)(),dispatch:bt,type:zn==null?void 0:zn.main_category_name,isExercise:!0,user:fe,getDropdownMenu:Iu,onTabMenuClick:zl,classroomList:We,defaultSelectedKeys:[_t.type||"all"]}),To.createElement(lc.Z,{dataSource:zn.exercises||[],isAdmin:(0,oe.GJ)(),batchStatus:Ft,SortMenuName:Xt,setSortMenuName:$a,SortMenus:br,onSearch:kt=>{_t.search=kt.trim(),_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:Ka({},_t)})},isShowMode:!0,onModeChange:kt=>{_t.is_normal=kt,_t.page=1,bt({type:"classroomList/getClassroomExercisesList",payload:Ka({},_t)})},onSort:au,onBatch:kt=>ln(kt)}),To.createElement(ue.Z,{loading:yt["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(Ja=zn.exercises_counts)!=null&&Ja.exercises_all_counts?zn.exercises.map(function(kt,ya){return To.createElement(qs,{key:ya,v:kt,k:ya,batchStatus:Ft,selectArrs:on,setSelectArrs:la,dispatch:bt,params:_t,user:fe,manageAllGroup:zn.manage_all_group})}):To.createElement(E.Z,null),To.createElement("aside",{className:"tc mb50 mt30"},((Ga=zn.exercises_counts)==null?void 0:Ga.exercises_all_counts)>0&&To.createElement(Oe.Z,{showTotal:kt=>{var ya;return`\u5171 ${(ya=zn==null?void 0:zn.exercises_counts)==null?void 0:ya.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:Dl,defaultCurrent:_t.page,current:_t.page||1,pageSize:_t.limit||20,total:zn.exercises_counts&&zn.exercises_counts.exercises_all_counts}))),on.length>0&&(0,oe.GJ)()&&To.createElement(je.Z,{offsetBottom:0},To.createElement(ic.Z,{buttonDataSource:Ai,onButtonClick:ou,useBatchStatus:ln,setSeleArr:la,catalogue:((vr=(ja=Tr==null?void 0:Tr.course_modules)==null?void 0:ja.find(kt=>kt.type==="exercise"))==null?void 0:vr.second_category)||[],addCatalogue:kt=>{kt.preventDefault(),bt({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:_t,selectArrs:{category_id:zn==null?void 0:zn.main_category_id,type:"exercise"}}})},allSelect:on.length?on.length===((qo=(Xo=zn.exercises)==null?void 0:Xo.filter(kt=>!kt.is_make_up_exercise))==null?void 0:qo.length):!1,setAllSelect:kt=>{var ya;kt.target.checked?la((ya=zn==null?void 0:zn.exercises)==null?void 0:ya.filter(yl=>!yl.is_make_up_exercise).map(yl=>yl.id)):la([])},selectArrs:on,onMenuClick:kt=>mu(void 0,[kt],function*({key:ya}){if(on=="")return xe.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:on,new_category_id:ya}})).status===0&&(xe.ZP.success("\u64CD\u4F5C\u6210\u529F"),bt({type:"classroomList/getClassroomExercisesList",payload:Ka({},Ro)}))})})),To.createElement(Zl.Z,null),To.createElement(gi.Z,null),To.createElement(pi,null),To.createElement(Gi,null),To.createElement(uc.Z,{onOk:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:Ka({},Ro)})}}),To.createElement(sc.Z,{onOk:()=>{}}),To.createElement(Do.Z,{cb:()=>la([])}),To.createElement(_u,null),To.createElement(dl.Z,null),To.createElement(Fe.default,{title:To.createElement("span",null,To.createElement(mr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:jt.length>0,footer:!1,onCancel:()=>{er([])}},To.createElement("div",{style:{height:300,overflow:"auto"}},To.createElement("div",null,"\u6709",jt==null?void 0:jt.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),jt==null?void 0:jt.map(kt=>To.createElement("div",{style:{marginTop:25}},To.createElement("div",null,"\u8BD5\u5377\uFF1A",kt==null?void 0:kt.origin_exercise_nam),To.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",To.createElement("a",{href:`/paperlibrary/see/${kt==null?void 0:kt.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},kt==null?void 0:kt.examination_bank_name))))),To.createElement("div",{style:{textAlign:"end"}},To.createElement(Ie.ZP,{style:{height:30},onClick:()=>mu(void 0,null,function*(){const kt=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...on],update:1}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u8986\u76D6\u6210\u529F"),er([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),To.createElement(Ie.ZP,{type:"primary",onClick:()=>mu(void 0,null,function*(){const kt=yield(0,b.ZP)(`/api/courses/${_t.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...on]}});(kt==null?void 0:kt.status)===0&&(xe.ZP.info("\u5F62\u6210\u6210\u529F"),er([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),To.createElement(Fe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:vl,centered:!0,onOk:()=>mu(void 0,null,function*(){let kt=yield(0,b.ZP)(`/api/courses/${_t.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:Rr,forbid_end_exercise:Br}});(kt==null?void 0:kt.status)===0&&(Sl(!1),bt({type:"classroomList/setActionTabs",payload:{key:""}}),bt({type:"classroomList/getClassroomTopBanner",payload:{id:_t.coursesId}}),xe.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{Sl(!1),bt({type:"classroomList/setActionTabs",payload:{key:""}})}},To.createElement(Ne.default,{checked:Rr,onChange:kt=>{jl(kt.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",To.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),To.createElement(Ne.default,{className:"mt20",checked:Br,onChange:kt=>{Mt(kt.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),To.createElement($s.Z,null),To.createElement(To.Fragment,null,To.createElement(Ko.T$,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:_r(Ka({},We==null?void 0:We.actionTabs),{open:""})})},open:(($o=We==null?void 0:We.actionTabs)==null?void 0:$o.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),To.createElement(Ko.$i,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:_r(Ka({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})},open:((ur=We==null?void 0:We.actionTabs)==null?void 0:ur.open)==="\u8BD5\u5377\u5C01\u5B58",Data:_r(Ka({},We==null?void 0:We.actionTabs),{type:"exercise"})}),To.createElement(Ko.K1,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:_r(Ka({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})},open:((Vo=We==null?void 0:We.actionTabs)==null?void 0:Vo.open)==="\u89E3\u5C01",Data:_r(Ka({},We==null?void 0:We.actionTabs),{type:"exercise"})}),To.createElement(Ko.O7,{onCancel:()=>{bt({type:"classroomList/setActionTabs",payload:_r(Ka({},We==null?void 0:We.actionTabs),{open:""})})},onFinish:()=>{bt({type:"classroomList/getClassroomExercisesList",payload:Ka(Ka({},_t),Ro)})},open:((Va=We==null?void 0:We.actionTabs)==null?void 0:Va.open)==="\u63D0\u793A",Data:_r(Ka({},We==null?void 0:We.actionTabs),{type:"exercise"})})))};var Lu=(0,Pe.connect)(({user:ee,classroomList:he,loading:fe,globalSetting:We})=>({user:ee,classroomList:he,globalSetting:We,loading:fe.effects}))(tu);const Mu=({globalSetting:ee})=>{var he;switch(Number((he=ee==null?void 0:ee.setting)==null?void 0:he.theme)){case x.Fy.THEMEONE:return re.createElement(Ru,null);case x.Fy.THEMETHREE:return re.createElement(tl,null);case x.Fy.DEFAULT:default:return re.createElement(Lu,null)}};var vs=(0,Pe.connect)(({globalSetting:ee})=>({globalSetting:ee}))(Mu)},44304:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ie}});var x=te(59301),re=te(92832),Pe=te(24905),Fe=te(95237),be={leftdiv:"leftdiv___AgbDd",listClass:"listClass___FyD9K",spantitle:"spantitle___U79dv",rightdiv:"rightdiv___F1hgj"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ue=te(2524),Oe=(Ne,De,me)=>new Promise((oe,a)=>{var E=z=>{try{y(me.next(z))}catch(ne){a(ne)}},b=z=>{try{y(me.throw(z))}catch(ne){a(ne)}},y=z=>z.done?oe(z.value):Promise.resolve(z.value).then(E,b);y((me=me.apply(Ne,De)).next())}),Ie=({data:Ne,value:De=[],handleChangePage:me,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:E=()=>{}})=>{const[b,y]=(0,x.useState)([]),[z,ne]=(0,x.useState)([]),[ae,le]=(0,x.useState)([]);let[ie,de]=(0,x.useState)(1),[se,ce]=(0,x.useState)();return(0,x.useEffect)(()=>{y(Ne),ne([]),le([])},[Ne]),(0,x.useEffect)(()=>{oe&&(ne(a),le(a))},[a]),x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{className:be.leftdiv},x.createElement(re.default.Search,{size:"middle",onChange:ge=>Oe(void 0,null,function*(){y(Ne.filter(ve=>{var Ee;return(Ee=ve==null?void 0:ve.name)==null?void 0:Ee.includes(ge.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&x.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),x.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},x.createElement(Pe.default.Group,{value:z.map(ge=>`${ge.course_group_id}`),onChange:ge=>{oe(b.filter(ve=>ge.includes(`${ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((ge,ve)=>x.createElement(Fe.Z,{key:ge.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},x.createElement(Pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:ge.is_published,value:`${ge.course_group_id}`},x.createElement("div",{className:be.listClass},x.createElement("span",{className:be.spantitle,style:{width:ge.is_published?"108px":"170px"}},ge.name),ge.is_published&&x.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),x.createElement("div",{className:be.rightdiv},x.createElement(re.default.Search,{onChange:ge=>{le(z.filter(ve=>ve.name.includes(ge.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ae.length===0&&x.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ae.length>0&&x.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},x.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ae.map((ge,ve)=>x.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:ge.course_group_id},x.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},ge.name),x.createElement("img",{src:xe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(Ee=>`${Ee.course_group_name}`!=`${ge.course_group_name}`))}})))))))}},18682:function(at,Qe,te){"use strict";var x=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(65582),Oe=te(74128),je=te(78677),Ie=te(38147),Ne=te(56656),De=te.n(Ne),me=te(65862),oe=te(59301),a=Object.defineProperty,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(de,se,ce)=>se in de?a(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ce}):de[se]=ce,ne=(de,se)=>{for(var ce in se||(se={}))b.call(se,ce)&&z(de,ce,se[ce]);if(E)for(var ce of E(se))y.call(se,ce)&&z(de,ce,se[ce]);return de},ae=(de,se,ce)=>new Promise((ge,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?ge(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const{Dragger:le}=re.default,ie=({classroomList:de,dispatch:se,onOk:ce})=>{const ge=(0,ue.useParams)(),[ve]=Pe.default.useForm(),[Ee,Je]=(0,x.useState)(),[Me,Ue]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{Je("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:ke=>ae(void 0,null,function*(){return Je(ke),!1})};return(0,x.useEffect)(()=>{ve.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,me.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ae(void 0,null,function*(){ve.submit()}),onCancel:()=>{ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(Pe.default,{form:ve,onFinish:ke=>ae(void 0,null,function*(){var ot,gt,it;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ue(!0);let nt=new FormData;nt.append("type",de.actionTabs.type),nt.append("file",Ee);let Xe;window.location.href.indexOf("exercise")>-1?Xe=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Xe=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let St=yield(0,Ie.ZP)(Xe,{method:"post",body:nt},!0);Ue(!1),(St==null?void 0:St.status)===0&&(ce(),ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}}),((gt=(ot=St==null?void 0:St.data)==null?void 0:ot.fail)==null?void 0:gt.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(xe.default,{pagination:!1,dataSource:(it=St==null?void 0:St.data)==null?void 0:it.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,me.FH)("",Oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},oe.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),oe.createElement(Pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:Oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(Pe.default.Item,{style:{marginBottom:0}},oe.createElement(le,ne({},Le),oe.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,ue.connect)(({classroomList:de})=>({classroomList:de}))(ie)},90588:function(at,Qe,te){"use strict";var x=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(92832),Oe=te(95237),je=te(43604),Ie=te(5871),Ne=te(5083),De=te(65582),me=te(96565),oe=te(74128),a=te(78677),E=te(38147),b=te(99981),y=te(56656),z=te.n(y),ne=te(65862),ae=te(59301),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Me,Ue,Le)=>Ue in Me?le(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,ge=(Me,Ue)=>{for(var Le in Ue||(Ue={}))de.call(Ue,Le)&&ce(Me,Le,Ue[Le]);if(ie)for(var Le of ie(Ue))se.call(Ue,Le)&&ce(Me,Le,Ue[Le]);return Me},ve=(Me,Ue,Le)=>new Promise((ke,ot)=>{var gt=Xe=>{try{nt(Le.next(Xe))}catch(St){ot(St)}},it=Xe=>{try{nt(Le.throw(Xe))}catch(St){ot(St)}},nt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(gt,it);nt((Le=Le.apply(Me,Ue)).next())});const{Dragger:Ee}=re.default,Je=({classroomList:Me,dispatch:Ue,onOk:Le})=>{const ke=(0,De.useParams)(),[ot]=Pe.default.useForm(),[gt,it]=(0,x.useState)(),[nt,Xe]=(0,x.useState)(!1),St={height:100,onRemove:()=>{it("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:He=>ve(void 0,null,function*(){return it(He),!1})};return(0,x.useEffect)(()=>{ot.setFieldsValue({publish_time:z()(z()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:z()(z()(new Date((0,ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),ae.createElement(Fe.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:nt},onOk:()=>ve(void 0,null,function*(){ot.submit()}),onCancel:()=>{ot.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement(Pe.default,{form:ot,colon:!1,onFinish:He=>ve(void 0,null,function*(){var Te,Ge,pt;if(!(gt!=null&>.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let Lt=new FormData;Lt.append("name",He.name),Lt.append("type",Me.actionTabs.type),Lt.append("category_id",(ke==null?void 0:ke.categoryId)||null),Me.actionTabs.type==="exercise"?(Lt.append("time",He.time||""),Lt.append("total_score",He.total_score)):Lt.append("description",He.description||""),Lt.append("publish_time",z()(He.publish_time).format("YYYY-MM-DD HH:mm")),Lt.append("end_time",z()(He.end_time).format("YYYY-MM-DD HH:mm")),Lt.append("file",gt);let mt=yield(0,E.ZP)(`/api/courses/${ke.coursesId}/export_external_score_homework.json`,{method:"post",body:Lt},!0);Xe(!1),(mt==null?void 0:mt.status)===0&&(ot.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}}),Le(),((Ge=(Te=mt==null?void 0:mt.data)==null?void 0:Te.fail)==null?void 0:Ge.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ae.createElement(xe.default,{pagination:!1,dataSource:(pt=mt==null?void 0:mt.data)==null?void 0:pt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ne.FH)("",oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Me.actionTabs.type}`)}}))})},ae.createElement(Pe.default.Item,{label:Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},ae.createElement(ue.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Me.actionTabs.type!=="exercise"&&ae.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},ae.createElement(me.Z,{watch:!0})),Me.actionTabs.type==="exercise"&&ae.createElement(Oe.Z,{style:{marginLeft:6}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},ae.createElement(ue.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},ae.createElement(Ie.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),ae.createElement(Oe.Z,{style:{marginLeft:6,marginBottom:12}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:He=>(0,b.Q8)(He),disabledTime:He=>(0,b.d0)(He),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:He=>(0,b.Q8)(He,"",ot.getFieldValue("publish_time")),disabledTime:He=>(0,b.d0)(He,ot.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),ae.createElement(Pe.default.Item,{style:{marginBottom:0},label:ae.createElement("div",null,ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ae.createElement("div",null,ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:a.Z.downloadbutton,href:oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Me.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ae.createElement(Pe.default.Item,{style:{marginBottom:0}},ae.createElement(Ee,ge({},St),ae.createElement("a",{className:a.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("br",null),ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,De.connect)(({classroomList:Me})=>({classroomList:Me}))(Je)},64575:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var x=te(59301),re=te(20834),Pe=te(92832),Fe=te(24905),be=te(3113),xe=te(38854),ue={bottomControlContainer:"bottomControlContainer___Zu9jI",buttonWrap:"buttonWrap___aWo9e",moveCategory:"moveCategory____Cpq2"},Oe=te(41867),je=te(84105),Ne=({buttonDataSource:De,onButtonClick:me,useBatchStatus:oe,allSelect:a,setAllSelect:E,selectArrs:b,onMenuClick:y,setSeleArr:z,catalogue:ne,addCatalogue:ae})=>{const[le,ie]=(0,x.useState)(!1),[de,se]=(0,x.useState)("");console.log("---",ne);const ce=x.createElement("div",{className:ue.moveCategory,onMouseLeave:ge=>ie(!1)},x.createElement(re.default,{onClick:y,style:{maxHeight:300,width:240,overflow:"auto"}},x.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},x.createElement(Pe.default,{onChange:ge=>{se(ge.target.value)}})),ne==null?void 0:ne.map(function(ge,ve){var Ee;if(!(de!==""&&ge.category_name.indexOf(de)<0))return x.createElement(x.Fragment,null,x.createElement(re.default.Item,{className:"multi-llipsis1e",key:ge.category_id,title:ge.category_name},ge.category_name),(Ee=ge==null?void 0:ge.third_category)==null?void 0:Ee.map(Je=>x.createElement(re.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Je.category_id,title:Je.category_name},Je.category_name)))}),ae&&x.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:ae},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return x.createElement("div",{className:ue.bottomControlContainer},x.createElement("div",null,x.createElement("div",null,x.createElement(Fe.default,{checked:a,onChange:E},"\u5168\u9009\u672C\u9875\uFF08",b.length,"\uFF09")),(0,Oe.GJ)()&&De.map(ge=>x.createElement("div",{key:ge.name},x.createElement(be.ZP,{type:"primary",icon:ge.icon,className:ue.buttonWrap,onClick:()=>me(ge)},ge.name))),(0,Oe.GJ)()&&(ae||ne)&&x.createElement("div",null,x.createElement(xe.Z,{open:le,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ce,getPopupContainer:ge=>ge.parentNode},x.createElement("span",{className:"ant-dropdown-link",onMouseEnter:ge=>ie(!0)},x.createElement(be.ZP,{type:"primary",className:ue.buttonWrap,icon:x.createElement("i",{className:"iconfont icon-yidongmulu"})},x.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",x.createElement(je.Z,null))))))),x.createElement("div",null,x.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{oe(!1),z([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},42554:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return y}});var x=te(59301),re=te(20834),Pe=te(24905),Fe=te(3113),be=te(38854),xe=te(6848),ue=te(57809),Oe=te(92832),je={searchSortControllerContainer:"searchSortControllerContainer___hHmtL",btn:"btn___IGcjw",btnSort:"btnSort___TjGZj",tips:"tips____YGut"},Ie=te(41867),Ne=te(87395),De=te(84105),me=te(26724),oe=te.n(me),a=te(65582),E=(z,ne,ae)=>new Promise((le,ie)=>{var de=ge=>{try{ce(ae.next(ge))}catch(ve){ie(ve)}},se=ge=>{try{ce(ae.throw(ge))}catch(ve){ie(ve)}},ce=ge=>ge.done?le(ge.value):Promise.resolve(ge.value).then(de,se);ce((ae=ae.apply(z,ne)).next())}),y=({isAdmin:z,dataSource:ne,batchStatus:ae,SortMenuName:le,setSortMenuName:ie,detailCourseGroupsList:de,onSearch:se,onBoard:ce,onSort:ge,isboard:ve,dispatch:Ee,onBatch:Je,SortMenus:Me,isShowMode:Ue=!1,onModeChange:Le})=>{const[ke,ot]=(0,x.useState)(!1),[gt,it]=(0,x.useState)([]),[nt,Xe]=(0,x.useState)(!0);let[St,He]=(0,x.useState)([]);const[Te,Ge]=(0,x.useState)(1),[pt,Lt]=(0,x.useState)(!1),mt=(0,a.useParams)(),Pn=tn=>{ie(tn.name),ge(tn)};(0,x.useEffect)(()=>{ve&&ze()},[ve]);const ze=()=>E(void 0,null,function*(){var tn;if(nt&&!pt){Lt(!0),Ge(Te+1);const En=yield Ee({type:"classroomList/getCourseGroupsList",payload:{page:Te,id:mt.coursesId,limit:20,nonenavigate:!0}});let ut=[...(En==null?void 0:En.course_groups)||[]];((tn=En==null?void 0:En.course_groups)==null?void 0:tn.length)<20&&(Xe(!1),ut.push({id:0,name:"\u672A\u5206\u73ED"})),Lt(!1),He([...St,...ut])}}),At=x.createElement("section",{className:je.dropmenu},x.createElement("div",{style:{maxHeight:200,overflow:"auto"}},x.createElement(oe(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:tn=>{ze()},hasMore:nt,useWindow:!1},x.createElement(re.default,{style:{width:240,zIndex:10}},(de==null?void 0:de.group_count)>0&&(St==null?void 0:St.filter(tn=>tn.edit_auth||tn.name==="\u672A\u5206\u73ED").map(function(tn,En){return x.createElement(re.default.Item,{key:tn.id},x.createElement(Pe.default,{checked:gt.includes(tn.id),value:tn.id,onChange:ut=>{let ft=gt.indexOf(tn.id);gt.indexOf(tn.id)>-1?it(gt.filter(_e=>_e!==tn.id)):it(gt.concat(tn.id))}},tn.name))}))))),x.createElement("aside",{style:{background:"#fff"}},x.createElement("div",null,x.createElement(Fe.ZP,{type:"link",onClick:()=>{ce(gt)}},"\u786E\u5B9A"),x.createElement(Fe.ZP,{type:"link",onClick:()=>{it([])}},"\u91CD\u7F6E")))),Wt=le==="\u9ED8\u8BA4\u6392\u5E8F";return x.createElement("div",{className:je.searchSortControllerContainer},!!(Me!=null&&Me.length)&&x.createElement("div",null,x.createElement(be.Z,{dropdownRender:()=>x.createElement(re.default,{selectedKeys:[le]},Me.map(tn=>x.createElement(re.default.Item,{key:tn.name,onClick:()=>Pn(tn)},tn.name)))},x.createElement("div",null,x.createElement("span",{className:`${je.btn} ${Wt?je.btnSort:""}`},x.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),le)))),Wt&&x.createElement(xe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},x.createElement("span",{className:je.tips},x.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Ue&&x.createElement(ue.default,{defaultValue:"",onChange:Le,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),x.createElement(Oe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:se,style:{width:220,marginLeft:Ue?"":"auto"}}),(0,Ie.eB)()&&ve&&x.createElement(be.Z,{dropdownRender:()=>At,open:ke,onOpenChange:tn=>{ot(tn)}},x.createElement("a",null,"\u5206\u73ED",ke?x.createElement(Ne.Z,{style:{marginLeft:6}}):x.createElement(De.Z,{style:{marginLeft:6}}))))}},24776:function(at,Qe,te){"use strict";var x=te(59301),re=te(38854),Pe=te(8591),Fe=te(6848),be=te(65582),xe=te(41867),ue=te(3918),Oe=te(2337);const je=({isLoading:Ie,addText:Ne,tabDataSource:De,isAdmin:me,dispatch:oe,classroomList:a,type:E,isExercise:b,defaultSelectedKeys:y,onTabMenuClick:z,getDropdownMenu:ne,showControlButton:ae,buttonText:le,buttonIcon:ie="icon-tianjiadaohang",extraNode:de,user:se,onButtonClick:ce,isModelUser:ge})=>{var ve,Ee,Je,Me,Ue;const Le=(0,be.useParams)();return x.createElement("div",{className:"flex item-center gap-20px",style:{background:"linear-gradient( 180deg, #E0F1FF 0%, #EFF7FF 100%)",border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0"}},x.createElement("div",{className:"flex gap-4px mr-auto"},De==null?void 0:De.map((ke,ot)=>x.createElement("div",{key:ot,className:`text-16px flex item-center justify-center current ${y==(typeof ke.index=="number"?ke.index:ke.id)?"bg-white font-semibold":"c-grey-333"}`,style:{width:120,height:40,border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0",color:y==(typeof ke.index=="number"?ke.index:ke.id)?"#1890FF":""},onClick:()=>Ie?{}:z(ke)},ke==null?void 0:ke.name,ke.total!==void 0&&me&&x.createElement("span",{className:"ml-4px"},ke.total||0)))),me&&x.createElement("div",{className:"flex item-center gap-20px mr-20px"},b&&x.createElement("span",{className:"iconfont icon-shezhi8 flex item-center current",onClick:()=>{oe({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),b&&x.createElement(re.Z,{arrow:!0,menu:{items:[{key:"1",label:"\u5B66\u751F\u6210\u7EE9"},{key:"3",label:"\u5386\u53F2\u5BFC\u51FA"}],onClick:({key:ke})=>{var ot;if((0,xe.Rm)()&&!((ot=a.AssistantObject.exercise)!=null&&ot.can_download)){Pe.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}ke=="1"&&oe({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:E,exportType:"exercise",category_id:Le.categoryId}}),ke=="3"&&be.history.push(`/classrooms/${Le==null?void 0:Le.coursesId}/exportlist/exercise_score,export_exercise_users`)}}},x.createElement("span",{className:"iconfont icon-xiazai6 current c-grey-666"})),!!de&&x.createElement("div",null,de),ae&&(le=="\u6DFB\u52A0\u76F4\u64AD"?x.createElement(re.Z,{menu:{items:(Ee=(ve=[{label:x.createElement("div",{onClick:()=>{ce("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},{label:x.createElement("div",{onClick:()=>{ce("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:ge}])==null?void 0:ve.filter(ke=>ke==null?void 0:ke.show))==null?void 0:Ee.map(ke=>({label:ke==null?void 0:ke.label,key:ke==null?void 0:ke.key}))}},x.createElement(ue.op,{theme:Oe.Fy.THEMEONE,icon:x.createElement("span",{className:`iconfont ${ie}`})},le)):x.createElement(ue.op,{theme:Oe.Fy.THEMEONE,onClick:ce,icon:x.createElement("span",{className:`iconfont ${ie}`})},le)),!!ne&&x.createElement(re.Z,{disabled:((Je=se==null?void 0:se.userInfo)==null?void 0:Je.user_status)===2,dropdownRender:ne},x.createElement(Fe.Z,{title:((Me=se==null?void 0:se.userInfo)==null?void 0:Me.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},x.createElement(ue.op,{theme:Oe.Fy.THEMEONE,onClick:ce,disabled:((Ue=se==null?void 0:se.userInfo)==null?void 0:Ue.user_status)===2,icon:x.createElement("span",{className:"iconfont icon-tianjiadaohang"})},Ne||"\u521B\u5EFA\u8BD5\u5377")))))};Qe.Z=je},79792:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ie}});var x=te(59301),re=te(92832),Pe=te(24905),Fe=te(95237),be={leftdiv:"leftdiv___DGMku",listClass:"listClass___RzeHz",spantitle:"spantitle___Aarv3",rightdiv:"rightdiv___I2lKV"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ue=te(2524),Oe=(Ne,De,me)=>new Promise((oe,a)=>{var E=z=>{try{y(me.next(z))}catch(ne){a(ne)}},b=z=>{try{y(me.throw(z))}catch(ne){a(ne)}},y=z=>z.done?oe(z.value):Promise.resolve(z.value).then(E,b);y((me=me.apply(Ne,De)).next())}),Ie=({data:Ne,value:De=[],handleChangePage:me,setSelectedRowKeys:oe,selectedRowKeys:a,onChange:E=()=>{}})=>{const[b,y]=(0,x.useState)([]),[z,ne]=(0,x.useState)([]),[ae,le]=(0,x.useState)([]);let[ie,de]=(0,x.useState)(1),[se,ce]=(0,x.useState)();return(0,x.useEffect)(()=>{y(Ne),ne([]),le([])},[Ne]),(0,x.useEffect)(()=>{oe&&(ne(a),le(a))},[a]),x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{className:be.leftdiv},x.createElement(re.default.Search,{size:"middle",onChange:ge=>Oe(void 0,null,function*(){y(Ne.filter(ve=>{var Ee;return(Ee=ve==null?void 0:ve.name)==null?void 0:Ee.includes(ge.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&x.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),x.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},x.createElement(Pe.default.Group,{value:z.map(ge=>`${ge.course_group_id}`),onChange:ge=>{oe(b.filter(ve=>ge.includes(`${ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((ge,ve)=>x.createElement(Fe.Z,{key:ge.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},x.createElement(Pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:ge.is_published,value:`${ge.course_group_id}`},x.createElement("div",{className:be.listClass},x.createElement("span",{className:be.spantitle,style:{width:ge.is_published?"108px":"170px"}},ge.name),ge.is_published&&x.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),x.createElement("div",{className:be.rightdiv},x.createElement(re.default.Search,{onChange:ge=>{le(z.filter(ve=>ve.name.includes(ge.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ae.length===0&&x.createElement(ue.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ae.length>0&&x.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},x.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ae.map((ge,ve)=>x.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:ge.course_group_id},x.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},ge.name),x.createElement("img",{src:xe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{oe(z.filter(Ee=>`${Ee.course_group_name}`!=`${ge.course_group_name}`))}})))))))}},27269:function(at,Qe,te){"use strict";var x=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(65582),Oe=te(74128),je=te(57951),Ie=te(38147),Ne=te(56656),De=te.n(Ne),me=te(65862),oe=te(59301),a=Object.defineProperty,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,z=(de,se,ce)=>se in de?a(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ce}):de[se]=ce,ne=(de,se)=>{for(var ce in se||(se={}))b.call(se,ce)&&z(de,ce,se[ce]);if(E)for(var ce of E(se))y.call(se,ce)&&z(de,ce,se[ce]);return de},ae=(de,se,ce)=>new Promise((ge,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?ge(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const{Dragger:le}=re.default,ie=({classroomList:de,dispatch:se,onOk:ce})=>{const ge=(0,ue.useParams)(),[ve]=Pe.default.useForm(),[Ee,Je]=(0,x.useState)(),[Me,Ue]=(0,x.useState)(!1),Le={height:100,onRemove:()=>{Je("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:ke=>ae(void 0,null,function*(){return Je(ke),!1})};return(0,x.useEffect)(()=>{ve.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,me.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),oe.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ae(void 0,null,function*(){ve.submit()}),onCancel:()=>{ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(Pe.default,{form:ve,onFinish:ke=>ae(void 0,null,function*(){var ot,gt,it;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ue(!0);let nt=new FormData;nt.append("type",de.actionTabs.type),nt.append("file",Ee);let Xe;window.location.href.indexOf("exercise")>-1?Xe=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Xe=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let St=yield(0,Ie.ZP)(Xe,{method:"post",body:nt},!0);Ue(!1),(St==null?void 0:St.status)===0&&(ce(),ve.resetFields(),se({type:"classroomList/setActionTabs",payload:{}}),((gt=(ot=St==null?void 0:St.data)==null?void 0:ot.fail)==null?void 0:gt.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(xe.default,{pagination:!1,dataSource:(it=St==null?void 0:St.data)==null?void 0:it.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,me.FH)("",Oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},oe.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),oe.createElement(Pe.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:je.Z.downloadbutton,href:Oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(Pe.default.Item,{style:{marginBottom:0}},oe.createElement(le,ne({},Le),oe.createElement("a",{className:je.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,ue.connect)(({classroomList:de})=>({classroomList:de}))(ie)},92521:function(at,Qe,te){"use strict";var x=te(59301),re=te(54580),Pe=te(78241),Fe=te(43418),be=te(8591),xe=te(1710),ue=te(92832),Oe=te(95237),je=te(43604),Ie=te(5871),Ne=te(5083),De=te(65582),me=te(96565),oe=te(74128),a=te(57951),E=te(38147),b=te(99981),y=te(56656),z=te.n(y),ne=te(65862),ae=te(59301),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Me,Ue,Le)=>Ue in Me?le(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,ge=(Me,Ue)=>{for(var Le in Ue||(Ue={}))de.call(Ue,Le)&&ce(Me,Le,Ue[Le]);if(ie)for(var Le of ie(Ue))se.call(Ue,Le)&&ce(Me,Le,Ue[Le]);return Me},ve=(Me,Ue,Le)=>new Promise((ke,ot)=>{var gt=Xe=>{try{nt(Le.next(Xe))}catch(St){ot(St)}},it=Xe=>{try{nt(Le.throw(Xe))}catch(St){ot(St)}},nt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(gt,it);nt((Le=Le.apply(Me,Ue)).next())});const{Dragger:Ee}=re.default,Je=({classroomList:Me,dispatch:Ue,onOk:Le})=>{const ke=(0,De.useParams)(),[ot]=Pe.default.useForm(),[gt,it]=(0,x.useState)(),[nt,Xe]=(0,x.useState)(!1),St={height:100,onRemove:()=>{it("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:He=>ve(void 0,null,function*(){return it(He),!1})};return(0,x.useEffect)(()=>{ot.setFieldsValue({publish_time:z()(z()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:z()(z()(new Date((0,ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),ae.createElement(Fe.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Me.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:nt},onOk:()=>ve(void 0,null,function*(){ot.submit()}),onCancel:()=>{ot.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement(Pe.default,{form:ot,colon:!1,onFinish:He=>ve(void 0,null,function*(){var Te,Ge,pt;if(!(gt!=null&>.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Xe(!0);let Lt=new FormData;Lt.append("name",He.name),Lt.append("type",Me.actionTabs.type),Lt.append("category_id",(ke==null?void 0:ke.categoryId)||null),Me.actionTabs.type==="exercise"?(Lt.append("time",He.time||""),Lt.append("total_score",He.total_score)):Lt.append("description",He.description||""),Lt.append("publish_time",z()(He.publish_time).format("YYYY-MM-DD HH:mm")),Lt.append("end_time",z()(He.end_time).format("YYYY-MM-DD HH:mm")),Lt.append("file",gt);let mt=yield(0,E.ZP)(`/api/courses/${ke.coursesId}/export_external_score_homework.json`,{method:"post",body:Lt},!0);Xe(!1),(mt==null?void 0:mt.status)===0&&(ot.resetFields(),Ue({type:"classroomList/setActionTabs",payload:{}}),Le(),((Ge=(Te=mt==null?void 0:mt.data)==null?void 0:Te.fail)==null?void 0:Ge.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ae.createElement(xe.default,{pagination:!1,dataSource:(pt=mt==null?void 0:mt.data)==null?void 0:pt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ne.FH)("",oe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Me.actionTabs.type}`)}}))})},ae.createElement(Pe.default.Item,{label:Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},ae.createElement(ue.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Me.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Me.actionTabs.type!=="exercise"&&ae.createElement(Pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},ae.createElement(me.Z,{watch:!0})),Me.actionTabs.type==="exercise"&&ae.createElement(Oe.Z,{style:{marginLeft:6}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},ae.createElement(ue.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},ae.createElement(Ie.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),ae.createElement(Oe.Z,{style:{marginLeft:6,marginBottom:12}},ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:He=>(0,b.Q8)(He),disabledTime:He=>(0,b.d0)(He),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),ae.createElement(je.Z,{span:12},ae.createElement(Pe.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ae.createElement(Ne.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:He=>(0,b.Q8)(He,"",ot.getFieldValue("publish_time")),disabledTime:He=>(0,b.d0)(He,ot.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),ae.createElement(Pe.default.Item,{style:{marginBottom:0},label:ae.createElement("div",null,ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ae.createElement("div",null,ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:a.Z.downloadbutton,href:oe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Me.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ae.createElement(Pe.default.Item,{style:{marginBottom:0}},ae.createElement(Ee,ge({},St),ae.createElement("a",{className:a.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("br",null),ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};Qe.Z=(0,De.connect)(({classroomList:Me})=>({classroomList:Me}))(Je)},79006:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var x=te(59301),re=te(20834),Pe=te(92832),Fe=te(24905),be=te(3113),xe=te(38854),ue={bottomControlContainer:"bottomControlContainer___EZTEn",buttonWrap:"buttonWrap___pSVAA",moveCategory:"moveCategory___yJ9_E"},Oe=te(41867),je=te(84105),Ne=({buttonDataSource:De,onButtonClick:me,useBatchStatus:oe,allSelect:a,setAllSelect:E,selectArrs:b,onMenuClick:y,setSeleArr:z,catalogue:ne,addCatalogue:ae})=>{const[le,ie]=(0,x.useState)(!1),[de,se]=(0,x.useState)("");console.log("---",ne);const ce=x.createElement("div",{className:ue.moveCategory,onMouseLeave:ge=>ie(!1)},x.createElement(re.default,{onClick:y,style:{maxHeight:300,width:240,overflow:"auto"}},x.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},x.createElement(Pe.default,{onChange:ge=>{se(ge.target.value)}})),ne==null?void 0:ne.map(function(ge,ve){var Ee;if(!(de!==""&&ge.category_name.indexOf(de)<0))return x.createElement(x.Fragment,null,x.createElement(re.default.Item,{className:"multi-llipsis1e",key:ge.category_id,title:ge.category_name},ge.category_name),(Ee=ge==null?void 0:ge.third_category)==null?void 0:Ee.map(Je=>x.createElement(re.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Je.category_id,title:Je.category_name},Je.category_name)))}),ae&&x.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:ae},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return x.createElement("div",{className:ue.bottomControlContainer},x.createElement("div",null,x.createElement("div",null,x.createElement(Fe.default,{checked:a,onChange:E},"\u5168\u9009\u672C\u9875\uFF08",b.length,"\uFF09")),(0,Oe.GJ)()&&De.map(ge=>x.createElement("div",{key:ge.name},x.createElement(be.ZP,{type:"primary",icon:ge.icon,className:ue.buttonWrap,onClick:()=>me(ge)},ge.name))),(0,Oe.GJ)()&&(ae||ne)&&x.createElement("div",null,x.createElement(xe.Z,{open:le,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ce,getPopupContainer:ge=>ge.parentNode},x.createElement("span",{className:"ant-dropdown-link",onMouseEnter:ge=>ie(!0)},x.createElement(be.ZP,{type:"primary",className:ue.buttonWrap,icon:x.createElement("i",{className:"iconfont icon-yidongmulu"})},x.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",x.createElement(je.Z,null))))))),x.createElement("div",null,x.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{oe(!1),z([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},96241:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return z}});var x=te(59301),re=te(20834),Pe=te(24905),Fe=te(3113),be=te(38854),xe=te(6848),ue=te(57809),Oe={searchSortControllerContainer:"searchSortControllerContainer___Q_iVd",btn:"btn___w0a07",btnSort:"btnSort___PZj0I",tips:"tips___WmKpN",myInput:"myInput___I2NgX"},je=te(41867),Ie=te(87395),Ne=te(84105),De=te(26724),me=te.n(De),oe=te(65582),a=te(3918),E=te(42882),b=(ne,ae,le)=>new Promise((ie,de)=>{var se=ve=>{try{ge(le.next(ve))}catch(Ee){de(Ee)}},ce=ve=>{try{ge(le.throw(ve))}catch(Ee){de(Ee)}},ge=ve=>ve.done?ie(ve.value):Promise.resolve(ve.value).then(se,ce);ge((le=le.apply(ne,ae)).next())}),z=({isAdmin:ne,dataSource:ae,batchStatus:le,SortMenuName:ie,setSortMenuName:de,detailCourseGroupsList:se,onSearch:ce,onBoard:ge,onSort:ve,isboard:Ee,dispatch:Je,onBatch:Me,SortMenus:Ue,isShowMode:Le=!1,onModeChange:ke})=>{const[ot,gt]=(0,x.useState)(!1),[it,nt]=(0,x.useState)([]),[Xe,St]=(0,x.useState)(!0);let[He,Te]=(0,x.useState)([]);const[Ge,pt]=(0,x.useState)(1),[Lt,mt]=(0,x.useState)(!1),Pn=(0,oe.useParams)(),ze=En=>{de(En.name),ve(En)};(0,x.useEffect)(()=>{Ee&&At()},[Ee]);const At=()=>b(void 0,null,function*(){var En;if(Xe&&!Lt){mt(!0),pt(Ge+1);const ut=yield Je({type:"classroomList/getCourseGroupsList",payload:{page:Ge,id:Pn.coursesId,limit:20,nonenavigate:!0}});let ft=[...(ut==null?void 0:ut.course_groups)||[]];((En=ut==null?void 0:ut.course_groups)==null?void 0:En.length)<20&&(St(!1),ft.push({id:0,name:"\u672A\u5206\u73ED"})),mt(!1),Te([...He,...ft])}}),Wt=x.createElement("section",{className:Oe.dropmenu},x.createElement("div",{style:{maxHeight:200,overflow:"auto"}},x.createElement(me(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:En=>{At()},hasMore:Xe,useWindow:!1},x.createElement(re.default,{style:{width:240,zIndex:10}},(se==null?void 0:se.group_count)>0&&(He==null?void 0:He.filter(En=>En.edit_auth||En.name==="\u672A\u5206\u73ED").map(function(En,ut){return x.createElement(re.default.Item,{key:En.id},x.createElement(Pe.default,{checked:it.includes(En.id),value:En.id,onChange:ft=>{let _e=it.indexOf(En.id);it.indexOf(En.id)>-1?nt(it.filter(Be=>Be!==En.id)):nt(it.concat(En.id))}},En.name))}))))),x.createElement("aside",{style:{background:"#fff"}},x.createElement("div",null,x.createElement(Fe.ZP,{type:"link",onClick:()=>{ge(it)}},"\u786E\u5B9A"),x.createElement(Fe.ZP,{type:"link",onClick:()=>{nt([])}},"\u91CD\u7F6E")))),tn=ie==="\u9ED8\u8BA4\u6392\u5E8F";return x.createElement("div",{className:Oe.searchSortControllerContainer},!!(Ue!=null&&Ue.length)&&x.createElement("div",null,x.createElement(be.Z,{dropdownRender:()=>x.createElement(re.default,{selectedKeys:[ie]},Ue.map(En=>x.createElement(re.default.Item,{key:En.name,onClick:()=>ze(En)},En.name)))},x.createElement("div",null,x.createElement("span",{className:`${Oe.btn} ${tn?Oe.btnSort:""}`},x.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),ie)))),tn&&x.createElement(xe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},x.createElement("span",{className:Oe.tips},x.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Le&&x.createElement(ue.default,{size:"large",className:E.Z.threeSelectSty,defaultValue:"",onChange:ke,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),x.createElement(a.t7,{className:Oe.myInput,style:{width:220,marginLeft:Le?"":"auto"},onChange:ce,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),(0,je.eB)()&&Ee&&x.createElement(be.Z,{dropdownRender:()=>Wt,open:ot,onOpenChange:En=>{gt(En)}},x.createElement("a",null,"\u5206\u73ED",ot?x.createElement(Ie.Z,{style:{marginLeft:6}}):x.createElement(Ne.Z,{style:{marginLeft:6}}))))}},25136:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return De}});var x=te(59301),re=te(95237),Pe=te(43604),Fe=te(20834),be=te(38854),xe=te(8591),ue=te(6848),Oe={tabMenuContainer:"tabMenuContainer___zroB4",control:"control___m6VFR",iconH:"iconH___d6gB0",selectBtn:"selectBtn___dIpII",selectBtn1:"selectBtn1___sFkNF"},je=te(65582),Ie=te(41867),De=({isLoading:me,addText:oe,tabDataSource:a,isAdmin:E,dispatch:b,classroomList:y,type:z,isExercise:ne,defaultSelectedKeys:ae,onTabMenuClick:le,getDropdownMenu:ie,showControlButton:de,buttonText:se,buttonIcon:ce="icon-tianjiadaohang",extraNode:ge,user:ve,onButtonClick:Ee,isModelUser:Je})=>{var Me,Ue,Le,ke,ot;const gt=(0,je.useParams)();return x.createElement("div",{className:Oe.tabMenuContainer},x.createElement(re.Z,null,x.createElement(Pe.Z,{flex:"1"},x.createElement(Fe.default,{onSelect:it=>me?{}:le(it),mode:"horizontal",selectedKeys:ae},a.map(it=>x.createElement(Fe.default.Item,{key:typeof it.index=="number"?it.index:it.id,style:{color:"#fff"}},x.createElement("span",null,it.name),it.total!==void 0&&E&&x.createElement("span",{className:"ml20"},it.total||0))))),E&&ne&&x.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer",color:"#00DDC7"},onClick:()=>{b({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),E&&x.createElement(Pe.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},ne&&x.createElement(be.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>x.createElement(Fe.default,null,x.createElement(Fe.default.Item,{key:1,onClick:()=>{var it;if((0,Ie.Rm)()&&!((it=y.AssistantObject.exercise)!=null&&it.can_download)){xe.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}b({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:z,exportType:"exercise",category_id:gt.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),x.createElement(Fe.default.Item,{key:3,onClick:()=>{var it;if((0,Ie.Rm)()&&!((it=y.AssistantObject.exercise)!=null&&it.can_download)){xe.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}je.history.push(`/classrooms/${gt==null?void 0:gt.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},x.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},x.createElement("span",{style:{color:"#00DDC7",cursor:"pointer"}},x.createElement("i",{className:"iconfont icon-xiazai6"})))),x.createElement("div",{className:Oe.control},x.createElement("div",{className:Oe.extra},ge),de&&(se=="\u6DFB\u52A0\u76F4\u64AD"?x.createElement(be.Z,{menu:{items:(Ue=(Me=[{label:x.createElement("div",{onClick:()=>{Ee("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Je&&{label:x.createElement("div",{onClick:()=>{Ee("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Me.filter(it=>it==null?void 0:it.show))==null?void 0:Ue.map(it=>({label:it==null?void 0:it.label,key:it==null?void 0:it.key}))}},x.createElement("span",{className:Oe.selectBtn},x.createElement("span",null,x.createElement("i",{className:`iconfont ${ce}`})),x.createElement("span",null,se))):x.createElement("span",{onClick:Ee,style:{cursor:"pointer"},className:Oe.selectBtn},x.createElement("span",null,x.createElement("i",{className:`iconfont ${ce}`})),x.createElement("span",null,se))),!!ie&&x.createElement(be.Z,{disabled:((Le=ve==null?void 0:ve.userInfo)==null?void 0:Le.user_status)===2,className:"ml10",dropdownRender:ie},x.createElement("span",{className:((ke=ve==null?void 0:ve.userInfo)==null?void 0:ke.user_status)===2?Oe.selectBtn1:Oe.selectBtn},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-tianjiadaohang"})),x.createElement(ue.Z,{title:((ot=ve==null?void 0:ve.userInfo)==null?void 0:ot.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},x.createElement("span",null,oe||"\u521B\u5EFA\u8BD5\u5377"))))))))}},9516:function(at,Qe,te){"use strict";te.d(Qe,{$i:function(){return ge},K1:function(){return Ee},O7:function(){return Je},T$:function(){return ce}});var x=te(3918),re=te(29297),Pe=te(87513),Fe=te(89540),be=te(61527),xe=te(43418),ue=te(78241),Oe=te(8591),je=te(92832),Ie=te(95237),Ne=te(43604),De=te(59301),me=te(65582),oe=te(28209),a=te.n(oe),E=te(65862),b=te(59301),y=Object.defineProperty,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Me,Ue,Le)=>Ue in Me?y(Me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Ue]=Le,ie=(Me,Ue)=>{for(var Le in Ue||(Ue={}))ne.call(Ue,Le)&&le(Me,Le,Ue[Le]);if(z)for(var Le of z(Ue))ae.call(Ue,Le)&&le(Me,Le,Ue[Le]);return Me},de=(Me,Ue,Le)=>new Promise((ke,ot)=>{var gt=Xe=>{try{nt(Le.next(Xe))}catch(St){ot(St)}},it=Xe=>{try{nt(Le.throw(Xe))}catch(St){ot(St)}},nt=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(gt,it);nt((Le=Le.apply(Me,Ue)).next())});const se=Me=>{const Ue=a().enc.Utf8.parse("c03f36595bd5610b");return a().AES.encrypt(Me||"",Ue,{iv:Ue,mode:a().mode.CBC}).toString()},ce=({onCancel:Me,open:Ue})=>b.createElement(xe.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Ue,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:Me,onOk:()=>{me.history.push("/account/secure")}},b.createElement("span",null,"\u52A0\u5BC6\u5C01\u5B58\u4E4B\u540E\uFF0C\u5FD8\u8BB0\u5BC6\u7801\u65F6\u9700\u8981\u4F7F\u7528\u624B\u673A\u53F7\u8FDB\u884C\u5BC6\u7801\u91CD\u7F6E\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801")),ge=({onCancel:Me,onFinish:Ue,open:Le,Data:ke})=>{const[ot]=ue.default.useForm(),[,gt,it]=(0,be.U)((ke==null?void 0:ke.type)=="exercise"?Pe.yE:re.yE,{id:ke==null?void 0:ke.id});return(0,De.useEffect)(()=>{Le||ot.resetFields()},[Le]),b.createElement(xe.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:Le,destroyOnClose:!0,confirmLoading:gt,onCancel:Me,onOk:()=>{ot==null||ot.submit()}},b.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},b.createElement("i",{className:"iconfont icon-tishi7"}),b.createElement("span",null,"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58\u540E\uFF0C\u6240\u6709\u7528\u6237\u9700\u8981\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u624D\u80FD\u8FDB\u884C\u67E5\u770B\u3001\u7F16\u8F91\u8BD5\u5377\u7B49\u64CD\u4F5C\uFF01")),b.createElement(ue.default,{form:ot,className:"mt-20px",size:"large",colon:!1,onFinish:nt=>de(void 0,null,function*(){const Xe=yield it({id:ke==null?void 0:ke.id,is_encrypt:!0,pwd:se(nt.pwd),pwd_confirm:se(nt.pwd_confirm)});Xe.status===0?(Oe.ZP.success("\u52A0\u5BC6\u6210\u529F"),Ue==null||Ue(Xe),Me()):ot.setFields([{name:"pwd",errors:[Xe==null?void 0:Xe.message]}])})},b.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},b.createElement(je.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),b.createElement(ue.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:nt})=>({validator(Xe,St){return!St||nt("pwd")===St?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},b.createElement(je.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"}))))},ve=({onCancel:Me,open:Ue,Data:Le})=>{var ke;const[ot]=ue.default.useForm(),[gt]=ue.default.useForm(),[it,nt]=(0,De.useState)(!1),[Xe,St]=(0,De.useState)(0),[,,He]=(0,be.U)(Fe.o1,{type:(Le==null?void 0:Le.type)=="exercise"?12:11}),[,Te,Ge]=(0,be.U)((Le==null?void 0:Le.type)=="exercise"?Pe.dp:re.dp,{id:Le==null?void 0:Le.id}),[,pt,Lt]=(0,be.U)((Le==null?void 0:Le.type)=="exercise"?Pe.Qc:re.Qc,{id:Le==null?void 0:Le.id});return(0,De.useEffect)(()=>{var mt;Le!=null&&Le.phone&&ot.setFieldsValue({login:(mt=Le==null?void 0:Le.phone)==null?void 0:mt.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[Le==null?void 0:Le.phone]),(0,De.useEffect)(()=>{Xe>0&&setTimeout(()=>{St(Xe-1)},1e3)},[Xe]),(0,De.useEffect)(()=>{Ue||(ot.resetFields(),gt.resetFields())},[Ue]),b.createElement(b.Fragment,null,b.createElement(xe.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:Ue,destroyOnClose:!0,confirmLoading:Te,onCancel:Me,onOk:()=>{ot==null||ot.submit()}},b.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),b.createElement(ue.default,{className:"mt20",initialValues:{phone:(ke=Le==null?void 0:Le.phone)==null?void 0:ke.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:ot,size:"large",colon:!1,onFinish:mt=>de(void 0,null,function*(){console.log("allValue",mt);const Pn=yield Ge({code:mt==null?void 0:mt.code,login:Le==null?void 0:Le.phone,id:Le==null?void 0:Le.id});Pn.status===0?(Oe.ZP.success("\u6821\u9A8C\u6210\u529F"),Me==null||Me(),nt(!0)):ot.setFields([{name:"code",errors:[Pn==null?void 0:Pn.message]}])})},b.createElement(ue.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},b.createElement(je.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),b.createElement(Ie.Z,{wrap:!1,gutter:20},b.createElement(Ne.Z,{flex:1},b.createElement(ue.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},b.createElement(je.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),b.createElement(Ne.Z,null,b.createElement(x.op,{openLoading:!0,size:"large",disabled:Xe>0,style:{borderRadius:"4px"},onClick:()=>de(void 0,null,function*(){const mt=yield He({type:(Le==null?void 0:Le.type)=="exercise"?12:11,login:Le==null?void 0:Le.phone,smscode:(0,E.M)(Le==null?void 0:Le.phone)});(mt==null?void 0:mt.status)===1&&(Oe.ZP.success("\u53D1\u9001\u6210\u529F"),St(60))})},Xe===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${Xe})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),b.createElement(xe.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:it,destroyOnClose:!0,confirmLoading:pt,onCancel:()=>{nt(!1)},onOk:()=>{gt==null||gt.submit()}},b.createElement(ue.default,{className:"mt20",form:gt,size:"large",colon:!1,onFinish:mt=>de(void 0,null,function*(){console.log("allValue",mt),(yield Lt(ie({id:Le==null?void 0:Le.id},mt))).status===0&&(Oe.ZP.success("\u91CD\u7F6E\u6210\u529F"),nt(!1))})},b.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},b.createElement(je.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),b.createElement(ue.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:mt})=>({validator(Pn,ze){return!ze||mt("pwd")===ze?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},b.createElement(je.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})))))},Ee=({onCancel:Me,onFinish:Ue,open:Le,Data:ke})=>{const[ot]=ue.default.useForm(),[gt,it]=(0,De.useState)(!1),[,nt,Xe]=(0,be.U)((ke==null?void 0:ke.type)=="exercise"?Pe.yE:re.yE,{id:ke==null?void 0:ke.id});return(0,De.useEffect)(()=>{Le||ot.resetFields()},[Le]),b.createElement(b.Fragment,null,b.createElement(xe.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:Le,destroyOnClose:!0,confirmLoading:nt,onCancel:Me,onOk:()=>{ot==null||ot.submit()}},b.createElement(Ie.Z,{wrap:!1,align:"top",gutter:16},b.createElement(Ne.Z,{flex:1},b.createElement(ue.default,{form:ot,size:"large",colon:!1,onFinish:St=>de(void 0,null,function*(){const He=yield Xe({id:ke==null?void 0:ke.id,is_encrypt:!1,pwd:se(St.pwd)});(He==null?void 0:He.status)===0?(Oe.ZP.success("\u89E3\u5C01\u6210\u529F"),Ue==null||Ue(He),Me==null||Me()):ot.setFields([{name:"pwd",errors:[He==null?void 0:He.message]}])})},b.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},b.createElement(je.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),b.createElement(Ne.Z,null,b.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{it(!0),Me==null||Me()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),b.createElement(ve,{onCancel:()=>{it(!1)},open:gt,Data:ie({},ke)}))},Je=({onCancel:Me,onFinish:Ue,open:Le,Data:ke})=>{const[ot]=ue.default.useForm(),[gt,it]=(0,De.useState)(!1),[,nt,Xe]=(0,be.U)((ke==null?void 0:ke.type)=="exercise"?Pe.yE:re.yE,{id:ke==null?void 0:ke.id});return(0,De.useEffect)(()=>{Le||ot.resetFields()},[Le]),b.createElement(b.Fragment,null,b.createElement(xe.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Le,destroyOnClose:!0,confirmLoading:nt,onCancel:Me,onOk:()=>{ot==null||ot.submit()}},b.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},b.createElement("i",{className:"iconfont icon-tishi7"}),b.createElement("span",null,"\u8BD5\u5377\u5DF2\u8FDB\u884C\u52A0\u5BC6\u5C01\u5B58\uFF0C\u5982\u9700\u8FDB\u884C\u64CD\u4F5C\uFF0C\u8BF7\u5148\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u8FDB\u884C\u89E3\u5C01\uFF01")),b.createElement(ue.default,{form:ot,className:"mt-20px",size:"large",colon:!1,onFinish:St=>de(void 0,null,function*(){const He=yield Xe({id:ke==null?void 0:ke.id,is_encrypt:!1,pwd:se(St.pwd)});(He==null?void 0:He.status)===0?(Oe.ZP.success("\u89E3\u5C01\u6210\u529F"),Ue==null||Ue(He),Me==null||Me()):ot.setFields([{name:"pwd",errors:[He==null?void 0:He.message]}])})},b.createElement(Ie.Z,{wrap:!1,gutter:20},b.createElement(Ne.Z,{flex:1},b.createElement(ue.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},b.createElement(je.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),b.createElement(Ne.Z,null,b.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{it(!0),Me==null||Me()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),b.createElement(ve,{onCancel:()=>{it(!1)},open:gt,Data:ie({},ke)}))}},61527:function(at,Qe,te){"use strict";te.d(Qe,{U:function(){return je}});var x=te(59301),re=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(Ie,Ne,De)=>Ne in Ie?re(Ie,Ne,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Ne]=De,ue=(Ie,Ne)=>{for(var De in Ne||(Ne={}))Fe.call(Ne,De)&&xe(Ie,De,Ne[De]);if(Pe)for(var De of Pe(Ne))be.call(Ne,De)&&xe(Ie,De,Ne[De]);return Ie},Oe=(Ie,Ne,De)=>new Promise((me,oe)=>{var a=y=>{try{b(De.next(y))}catch(z){oe(z)}},E=y=>{try{b(De.throw(y))}catch(z){oe(z)}},b=y=>y.done?me(y.value):Promise.resolve(y.value).then(a,E);b((De=De.apply(Ie,Ne)).next())});function je(Ie,Ne){const[De,me]=(0,x.useState)(Ne),[oe,a]=(0,x.useState)(!1),[E,b]=(0,x.useState)();return[De,oe,(z,ne=!1)=>Oe(this,null,function*(){const ae=ne?Ne:ue(ue({},De),z);a(!0),me(ae);const le=yield Ie(ae);return a(!1),b(le),le}),E,b]}},66457:function(at,Qe,te){"use strict";te.d(Qe,{rX:function(){return ae},pW:function(){return le},gy:function(){return ie},xY:function(){return ne},O5:function(){return z},tJ:function(){return oe},o1:function(){return a},Rd:function(){return y}});var x=te(65582),re=te(43418),Pe=te(28103),Fe=te(8591),be=te(41867),xe=te(65862),ue=te(87169),Oe=te(25510),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CI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PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Ie=te.p+"static/newqrcode.a8740efb.png",Ne=te(32637),De=te(59301),me=(de,se,ce)=>new Promise((ge,ve)=>{var Ee=Ue=>{try{Me(ce.next(Ue))}catch(Le){ve(Le)}},Je=Ue=>{try{Me(ce.throw(Ue))}catch(Le){ve(Le)}},Me=Ue=>Ue.done?ge(Ue.value):Promise.resolve(Ue.value).then(Ee,Je);Me((ce=ce.apply(de,se)).next())});const oe=(de,se=!1)=>!!(a(de)&&E(se)),a=de=>(0,be.bg)()?!0:(de({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),E=(de=!1)=>{var se;const{user:ce}=(0,x.getDvaApp)()._store.getState();return(se=ce.userInfo)!=null&&se.profile_completed?!0:(re.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{re.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},y=()=>{re.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:De.createElement("div",{style:{textAlign:"center"}},De.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),De.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ne}),De.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},z=()=>{var de;const{user:se}=(0,x.getDvaApp)()._store.getState();return(de=se.userInfo)!=null&&de.professional_certification?!0:(re.default.confirm({title:"\u63D0\u793A",centered:!0,content:De.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/certification")}}),!1)},ne=()=>(0,be.V9)()?!0:(re.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:De.createElement("div",{className:"tc",style:{marginLeft:-38}},De.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),De.createElement("img",{src:Ie,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ae=(de,se)=>de?!0:(re.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:De.createElement("div",null,De.createElement("p",null,se||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),De.createElement("div",{style:{marginLeft:"110px"}},De.createElement("img",{src:je,width:200}),De.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,xe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),le=de=>{re.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:De.createElement("div",null,De.createElement("div",null,De.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),De.createElement(Pe.Z,null),De.createElement("p",{style:{color:"#666666",fontSize:12}}," ",De.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",De.createElement("a",null,de),"\u5929\u3002"),De.createElement("p",{style:{color:"#666666",fontSize:12}}," ",De.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),De.createElement("div",{style:{textAlign:"center",marginTop:30}},De.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Oe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ie=(de,se="")=>{const{shixunsDetail:{detail:ce}}=(0,x.getDvaApp)()._store.getState();if((ce==null?void 0:ce.public)===2||(ce==null?void 0:ce.public)===1||(ce==null?void 0:ce.shixun_status)===3){let ge="";return(ce==null?void 0:ce.public)===2&&(ge="\u5DF2\u516C\u5F00"),(ce==null?void 0:ce.public)===1&&(ge="\u5F85\u5BA1\u6838"),(ce==null?void 0:ce.shixun_status)===3&&(ge="\u5DF2\u5173\u95ED"),re.default.info({centered:!0,icon:De.createElement(ue.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:De.createElement("div",{className:"tc",style:{marginLeft:-38}},De.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},De.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ge,"\uFF0C",se,"\u3002"),De.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),De.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Oe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ce==null?void 0:ce.shixun_status)===2?(re.default.confirm({centered:!0,icon:De.createElement(ue.Z,null),title:"\u63D0\u793A",content:De.createElement("div",null,De.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",se,"\u3002"),De.createElement("br",null),De.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{re.default.confirm({width:440,centered:!0,icon:De.createElement(ue.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){(yield de({type:"shixunsDetail/cancelRelease",payload:{id:ce==null?void 0:ce.identifier}})).status!==401&&(Fe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),de({type:"shixunsDetail/getShixunsDetail",payload:{id:ce==null?void 0:ce.identifier}}),de({type:"practiceSetting/getCommonData",payload:{id:ce==null?void 0:ce.identifier}}))})})}}),!0):!1}},50371:function(at,Qe){"use strict";function te(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let re=1;re{const be=Pe[Fe];be!==void 0&&(x[Fe]=be)})}return x}Qe.Z=te},77578:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return x}});const x=re=>re?typeof re=="function"?re():re:null},13845:function(at,Qe,te){"use strict";te.d(Qe,{F:function(){return x},Z:function(){return re}});function x(Pe){return Pe!=null&&Pe===Pe.window}function re(Pe,Fe){var be,xe;if(typeof window=="undefined")return 0;const ue=Fe?"scrollTop":"scrollLeft";let Oe=0;return x(Pe)?Oe=Pe[Fe?"pageYOffset":"pageXOffset"]:Pe instanceof Document?Oe=Pe.documentElement[ue]:(Pe instanceof HTMLElement||Pe)&&(Oe=Pe[ue]),Pe&&!x(Pe)&&typeof Oe!="number"&&(Oe=(xe=((be=Pe.ownerDocument)!==null&&be!==void 0?be:Pe).documentElement)===null||xe===void 0?void 0:xe[ue]),Oe}},56762:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return re}});var x=te(59301);function re(){const[,Pe]=x.useReducer(Fe=>Fe+1,0);return Pe}},68031:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Fe}});var x=te(16089);function re(be,xe,ue,Oe){const je=ue-xe;return be/=Oe/2,be<1?je/2*be*be*be+xe:je/2*((be-=2)*be*be+2)+xe}var Pe=te(13845);function Fe(be){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ue=()=>window,callback:Oe,duration:je=450}=xe,Ie=ue(),Ne=(0,Pe.Z)(Ie,!0),De=Date.now(),me=()=>{const a=Date.now()-De,E=re(a>je?je:a,Ne,be,je);(0,Pe.F)(Ie)?Ie.scrollTo(window.pageXOffset,E):Ie instanceof Document||Ie.constructor.name==="HTMLDocument"?Ie.documentElement.scrollTop=E:Ie.scrollTop=E,a()=>{be=null,Fe.apply(void 0,(0,x.Z)(Oe))},ue=function(){if(be==null){for(var Oe=arguments.length,je=new Array(Oe),Ie=0;Ie{re.Z.cancel(be),be=null},ue}Qe.Z=Pe},81228:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return de}});var x=te(67732),re=te(83652),Pe=te(42403),Fe=te(158),be=te(59301),xe=te(92310),ue=te.n(xe),Oe=te(29301),je=te(2738),Ie=te(27666),Ne=te(36355),De=te(83116),me=te(37613);const oe=se=>{const{componentCls:ce}=se;return{[ce]:{position:"fixed",zIndex:se.zIndexPopup}}};var a=(0,De.Z)("Affix",se=>{const ce=(0,me.TS)(se,{zIndexPopup:se.zIndexBase+10});return[oe(ce)]});function E(se){return se!==window?se.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function b(se,ce,ge){if(ge!==void 0&&ce.top>se.top-ge)return ge+ce.top}function y(se,ce,ge){if(ge!==void 0&&ce.bottom{const Ee=ve.getTargetFunc(),Je=Ee==null?void 0:Ee(),{prevTarget:Me}=ve.state;Me!==Je&&(z.forEach(Ue=>{Me==null||Me.removeEventListener(Ue,ve.lazyUpdatePosition),Je==null||Je.addEventListener(Ue,ve.lazyUpdatePosition)}),ve.updatePosition(),ve.setState({prevTarget:Je}))},ve.removeListeners=()=>{ve.timer&&(clearTimeout(ve.timer),ve.timer=null);const{prevTarget:Ee}=ve.state,Je=ve.getTargetFunc(),Me=Je==null?void 0:Je();z.forEach(Ue=>{Me==null||Me.removeEventListener(Ue,ve.lazyUpdatePosition),Ee==null||Ee.removeEventListener(Ue,ve.lazyUpdatePosition)}),ve.updatePosition.cancel(),ve.lazyUpdatePosition.cancel()},ve.getOffsetTop=()=>{const{offsetBottom:Ee,offsetTop:Je}=ve.props;return Ee===void 0&&Je===void 0?0:Je},ve.getOffsetBottom=()=>ve.props.offsetBottom,ve.measure=()=>{const{status:Ee,lastAffix:Je}=ve.state,{onChange:Me}=ve.props,Ue=ve.getTargetFunc();if(Ee!==ae.Prepare||!ve.fixedNodeRef.current||!ve.placeholderNodeRef.current||!Ue)return;const Le=ve.getOffsetTop(),ke=ve.getOffsetBottom(),ot=Ue();if(ot){const gt={status:ae.None},it=E(ve.placeholderNodeRef.current);if(it.top===0&&it.left===0&&it.width===0&&it.height===0)return;const nt=E(ot),Xe=b(it,nt,Le),St=y(it,nt,ke);Xe!==void 0?(gt.affixStyle={position:"fixed",top:Xe,width:it.width,height:it.height},gt.placeholderStyle={width:it.width,height:it.height}):St!==void 0&&(gt.affixStyle={position:"fixed",bottom:St,width:it.width,height:it.height},gt.placeholderStyle={width:it.width,height:it.height}),gt.lastAffix=!!gt.affixStyle,Me&&Je!==gt.lastAffix&&Me(gt.lastAffix),ve.setState(gt)}},ve.prepareMeasure=()=>{ve.setState({status:ae.Prepare,affixStyle:void 0,placeholderStyle:void 0})},ve.updatePosition=(0,Ie.Z)(()=>{ve.prepareMeasure()}),ve.lazyUpdatePosition=(0,Ie.Z)(()=>{const Ee=ve.getTargetFunc(),{affixStyle:Je}=ve.state;if(Ee&&Je){const Me=ve.getOffsetTop(),Ue=ve.getOffsetBottom(),Le=Ee();if(Le&&ve.placeholderNodeRef.current){const ke=E(Le),ot=E(ve.placeholderNodeRef.current),gt=b(ot,ke,Me),it=y(ot,ke,Ue);if(gt!==void 0&&Je.top===gt||it!==void 0&&Je.bottom===it)return}}ve.prepareMeasure()}),ve}return(0,re.Z)(ge,[{key:"getTargetFunc",value:function(){const{getTargetContainer:Ee}=this.context,{target:Je}=this.props;return Je!==void 0?Je:Ee!=null?Ee:ne}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(Ee){this.addListeners(),(Ee.offsetTop!==this.props.offsetTop||Ee.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:Ee,placeholderStyle:Je}=this.state,{affixPrefixCls:Me,rootClassName:Ue,children:Le}=this.props,ke=ue()(Ee&&Ue,{[Me]:!!Ee});let ot=(0,je.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return be.createElement(Oe.Z,{onResize:this.updatePosition},be.createElement("div",Object.assign({},ot,{ref:this.placeholderNodeRef}),Ee&&be.createElement("div",{style:Je,"aria-hidden":"true"}),be.createElement("div",{className:ke,ref:this.fixedNodeRef,style:Ee},be.createElement(Oe.Z,{onResize:this.updatePosition},Le))))}}]),ge}(be.Component);le.contextType=Ne.E_;var de=(0,be.forwardRef)((se,ce)=>{const{prefixCls:ge,rootClassName:ve}=se,{getPrefixCls:Ee}=(0,be.useContext)(Ne.E_),Je=Ee("affix",ge),[Me,Ue]=a(Je),Le=Object.assign(Object.assign({},se),{affixPrefixCls:Je,rootClassName:ue()(ve,Ue)});return Me(be.createElement(le,Object.assign({},Le,{ref:ce})))})},24905:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return de}});var x=te(92310),re=te.n(x),Pe=te(5630),Fe=te(59301),be=te(36355),xe=te(1684),ue=te(32441),je=Fe.createContext(null),Ie=te(98447),Ne=te(14088),De=te(4572),me=function(se,ce){var ge={};for(var ve in se)Object.prototype.hasOwnProperty.call(se,ve)&&ce.indexOf(ve)<0&&(ge[ve]=se[ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ve=Object.getOwnPropertySymbols(se);Ee{var ge;const{prefixCls:ve,className:Ee,rootClassName:Je,children:Me,indeterminate:Ue=!1,style:Le,onMouseEnter:ke,onMouseLeave:ot,skipGroup:gt=!1,disabled:it}=se,nt=me(se,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Xe,direction:St,checkbox:He}=Fe.useContext(be.E_),Te=Fe.useContext(je),{isFormItemInput:Ge}=Fe.useContext(ue.aM),pt=Fe.useContext(xe.Z),Lt=(ge=(Te==null?void 0:Te.disabled)||it)!==null&&ge!==void 0?ge:pt,mt=Fe.useRef(nt.value);Fe.useEffect(()=>{Te==null||Te.registerValue(nt.value)},[]),Fe.useEffect(()=>{if(!gt)return nt.value!==mt.current&&(Te==null||Te.cancelValue(mt.current),Te==null||Te.registerValue(nt.value),mt.current=nt.value),()=>Te==null?void 0:Te.cancelValue(nt.value)},[nt.value]);const Pn=Xe("checkbox",ve),[ze,At]=(0,Ie.ZP)(Pn),Wt=Object.assign({},nt);Te&&!gt&&(Wt.onChange=function(){nt.onChange&&nt.onChange.apply(nt,arguments),Te.toggleOption&&Te.toggleOption({label:Me,value:nt.value})},Wt.name=Te.name,Wt.checked=Te.value.includes(nt.value));const tn=re()(`${Pn}-wrapper`,{[`${Pn}-rtl`]:St==="rtl",[`${Pn}-wrapper-checked`]:Wt.checked,[`${Pn}-wrapper-disabled`]:Lt,[`${Pn}-wrapper-in-form-item`]:Ge},He==null?void 0:He.className,Ee,Je,At),En=re()({[`${Pn}-indeterminate`]:Ue},De.A,At),ut=Ue?"mixed":void 0;return ze(Fe.createElement(Ne.Z,{component:"Checkbox",disabled:Lt},Fe.createElement("label",{className:tn,style:Object.assign(Object.assign({},He==null?void 0:He.style),Le),onMouseEnter:ke,onMouseLeave:ot},Fe.createElement(Pe.Z,Object.assign({"aria-checked":ut},Wt,{prefixCls:Pn,className:En,disabled:Lt,ref:ce})),Me!==void 0&&Fe.createElement("span",null,Me))))};var E=Fe.forwardRef(oe),b=te(94480),y=te(2738),z=function(se,ce){var ge={};for(var ve in se)Object.prototype.hasOwnProperty.call(se,ve)&&ce.indexOf(ve)<0&&(ge[ve]=se[ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ve=Object.getOwnPropertySymbols(se);Ee{const{defaultValue:ge,children:ve,options:Ee=[],prefixCls:Je,className:Me,rootClassName:Ue,style:Le,onChange:ke}=se,ot=z(se,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:it}=Fe.useContext(be.E_),[nt,Xe]=Fe.useState(ot.value||ge||[]),[St,He]=Fe.useState([]);Fe.useEffect(()=>{"value"in ot&&Xe(ot.value||[])},[ot.value]);const Te=Fe.useMemo(()=>Ee.map(ft=>typeof ft=="string"||typeof ft=="number"?{label:ft,value:ft}:ft),[Ee]),Ge=ft=>{He(_e=>_e.filter(Be=>Be!==ft))},pt=ft=>{He(_e=>[].concat((0,b.Z)(_e),[ft]))},Lt=ft=>{const _e=nt.indexOf(ft.value),Be=(0,b.Z)(nt);_e===-1?Be.push(ft.value):Be.splice(_e,1),"value"in ot||Xe(Be),ke==null||ke(Be.filter(rt=>St.includes(rt)).sort((rt,dt)=>{const Re=Te.findIndex(lt=>lt.value===rt),we=Te.findIndex(lt=>lt.value===dt);return Re-we}))},mt=gt("checkbox",Je),Pn=`${mt}-group`,[ze,At]=(0,Ie.ZP)(mt),Wt=(0,y.Z)(ot,["value","disabled"]),tn=Ee.length?Te.map(ft=>Fe.createElement(E,{prefixCls:mt,key:ft.value.toString(),disabled:"disabled"in ft?ft.disabled:ot.disabled,value:ft.value,checked:nt.includes(ft.value),onChange:ft.onChange,className:`${Pn}-item`,style:ft.style,title:ft.title},ft.label)):ve,En={toggleOption:Lt,value:nt,disabled:ot.disabled,name:ot.name,registerValue:pt,cancelValue:Ge},ut=re()(Pn,{[`${Pn}-rtl`]:it==="rtl"},Me,Ue,At);return ze(Fe.createElement("div",Object.assign({className:ut,style:Le},Wt,{ref:ce}),Fe.createElement(je.Provider,{value:En},tn)))},ae=Fe.forwardRef(ne);var le=Fe.memo(ae);const ie=E;ie.Group=le,ie.__ANT_CHECKBOX=!0;var de=ie},98447:function(at,Qe,te){"use strict";te.d(Qe,{C2:function(){return be}});var x=te(17313),re=te(37613),Pe=te(83116);const Fe=xe=>{const{checkboxCls:ue}=xe,Oe=`${ue}-wrapper`;return[{[`${ue}-group`]:Object.assign(Object.assign({},(0,x.Wf)(xe)),{display:"inline-flex",flexWrap:"wrap",columnGap:xe.marginXS,[`> ${xe.antCls}-row`]:{flex:1}}),[Oe]:Object.assign(Object.assign({},(0,x.Wf)(xe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Oe}`]:{marginInlineStart:0},[`&${Oe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ue]:Object.assign(Object.assign({},(0,x.Wf)(xe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:xe.borderRadiusSM,alignSelf:"center",[`${ue}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ue}-inner`]:Object.assign({},(0,x.oN)(xe))},[`${ue}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:xe.checkboxSize,height:xe.checkboxSize,direction:"ltr",backgroundColor:xe.colorBgContainer,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadiusSM,borderCollapse:"separate",transition:`all ${xe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:xe.checkboxSize/14*5,height:xe.checkboxSize/14*8,border:`${xe.lineWidthBold}px solid ${xe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${xe.motionDurationFast} ${xe.motionEaseInBack}, opacity ${xe.motionDurationFast}`}},"& + span":{paddingInlineStart:xe.paddingXS,paddingInlineEnd:xe.paddingXS}})},{[` - ${Oe}:not(${Oe}-disabled), - ${ue}:not(${ue}-disabled) - `]:{[`&:hover ${ue}-inner`]:{borderColor:xe.colorPrimary}},[`${Oe}:not(${Oe}-disabled)`]:{[`&:hover ${ue}-checked:not(${ue}-disabled) ${ue}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ue}-checked:not(${ue}-disabled):after`]:{borderColor:xe.colorPrimaryHover}}},{[`${ue}-checked`]:{[`${ue}-inner`]:{backgroundColor:xe.colorPrimary,borderColor:xe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${xe.motionDurationMid} ${xe.motionEaseOutBack} ${xe.motionDurationFast}`}}},[` - ${Oe}-checked:not(${Oe}-disabled), - ${ue}-checked:not(${ue}-disabled) - `]:{[`&:hover ${ue}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"}}},{[ue]:{"&-indeterminate":{[`${ue}-inner`]:{backgroundColor:xe.colorBgContainer,borderColor:xe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:xe.fontSizeLG/2,height:xe.fontSizeLG/2,backgroundColor:xe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Oe}-disabled`]:{cursor:"not-allowed"},[`${ue}-disabled`]:{[`&, ${ue}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ue}-inner`]:{background:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,"&:after":{borderColor:xe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:xe.colorTextDisabled},[`&${ue}-indeterminate ${ue}-inner::after`]:{background:xe.colorTextDisabled}}}]};function be(xe,ue){const Oe=(0,re.TS)(ue,{checkboxCls:`.${xe}`,checkboxSize:ue.controlInteractiveSize});return[Fe(Oe)]}Qe.ZP=(0,Pe.Z)("Checkbox",(xe,ue)=>{let{prefixCls:Oe}=ue;return[be(Oe,xe)]})},5083:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return Du}});var x=te(56656),re=te.n(x),Pe=te(48736),Fe=te(27112),be=te.n(Fe),xe=te(54449),ue=te.n(xe),Oe=te(53501),je=te.n(Oe),Ie=te(36867),Ne=te.n(Ie),De=te(71912),me=te.n(De),oe=te(48228),a=te.n(oe);re().extend(a()),re().extend(me()),re().extend(be()),re().extend(ue()),re().extend(je()),re().extend(Ne()),re().extend(function(pe,Se){var Ae=Se.prototype,qe=Ae.format;Ae.format=function(Ot){var Pt=(Ot||"").replace("Wo","wo");return qe.bind(this)(Pt)}});var E={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},b=function(Se){var Ae=E[Se];return Ae||Se.split("_")[0]},y=function(){(0,Pe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return re()()},getFixedDate:function(Se){return re()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var Ae=Se.locale("en");return Ae.weekday()+Ae.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},addYear:function(Se,Ae){return Se.add(Ae,"year")},addMonth:function(Se,Ae){return Se.add(Ae,"month")},addDate:function(Se,Ae){return Se.add(Ae,"day")},setYear:function(Se,Ae){return Se.year(Ae)},setMonth:function(Se,Ae){return Se.month(Ae)},setDate:function(Se,Ae){return Se.date(Ae)},setHour:function(Se,Ae){return Se.hour(Ae)},setMinute:function(Se,Ae){return Se.minute(Ae)},setSecond:function(Se,Ae){return Se.second(Ae)},isAfter:function(Se,Ae){return Se.isAfter(Ae)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return re()().locale(b(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,Ae){return Ae.locale(b(Se)).weekday(0)},getWeek:function(Se,Ae){return Ae.locale(b(Se)).week()},getShortWeekDays:function(Se){return re()().locale(b(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return re()().locale(b(Se)).localeData().monthsShort()},format:function(Se,Ae,qe){return Ae.locale(b(Se)).format(qe)},parse:function(Se,Ae,qe){for(var tt=b(Se),Ot=0;Ot1&&(Pt=Se.addDate(Pt,-7)),Pt}function Ye(pe,Se,Ae){var qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return Ae.addYear(pe,qe*10);case"quarter":case"month":return Ae.addYear(pe,qe);default:return Ae.addMonth(pe,qe)}}function et(pe,Se){var Ae=Se.generateConfig,qe=Se.locale,tt=Se.format;return typeof tt=="function"?tt(pe):Ae.locale.format(qe.locale,pe,tt)}function Nt(pe,Se){var Ae=Se.generateConfig,qe=Se.locale,tt=Se.formatList;return!pe||typeof tt[0]=="function"?null:Ae.locale.parse(qe.locale,pe,tt)}function Gt(pe){var Se=pe.cellDate,Ae=pe.mode,qe=pe.disabledDate,tt=pe.generateConfig;if(!qe)return!1;var Ot=function(Kn,sn,wn){for(var Vn=sn;Vn<=wn;){var Ra=void 0;switch(Kn){case"date":{if(Ra=tt.setDate(Se,Vn),!qe(Ra))return!1;break}case"month":{if(Ra=tt.setMonth(Se,Vn),!Gt({cellDate:Ra,mode:"month",generateConfig:tt,disabledDate:qe}))return!1;break}case"year":{if(Ra=tt.setYear(Se,Vn),!Gt({cellDate:Ra,mode:"year",generateConfig:tt,disabledDate:qe}))return!1;break}}Vn+=1}return!0};switch(Ae){case"date":case"week":return qe(Se);case"month":{var Pt=1,dn=tt.getDate(tt.getEndDate(Se));return Ot("date",Pt,dn)}case"quarter":{var un=Math.floor(tt.getMonth(Se)/3)*3,Cn=un+2;return Ot("month",un,Cn)}case"year":return Ot("month",0,11);case"decade":{var $n=tt.getYear(Se),Mn=Math.floor($n/_e)*_e,On=Mn+_e-1;return Ot("year",Mn,On)}}}function gn(pe,Se){var Ae=Se.formatList,qe=Se.generateConfig,tt=Se.locale;return(0,ut.Z)(function(){if(!pe)return[[""],""];for(var Ot="",Pt=[],dn=0;dn1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Cn.current),Vn){un(wn);return}Cn.current=requestAnimationFrame(function(){un(wn)})}var Mn=gn(dn,{formatList:Ae,generateConfig:qe,locale:tt}),On=(0,Wt.Z)(Mn,2),_n=On[1];function Kn(wn){$n(wn)}function sn(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;$n(null,wn)}return(0,ie.useEffect)(function(){sn(!0)},[pe]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(Cn.current)}},[]),[_n,Kn,sn]}var Fn=te(10228),jn=te(16089),ea=te(94480),xa=te(29194),rn=new Map;function Sa(pe,Se){var Ae;function qe(){(0,xa.Z)(pe)?Se():Ae=(0,jn.Z)(function(){qe()})}return qe(),function(){jn.Z.cancel(Ae)}}function ro(pe,Se,Ae){if(rn.get(pe)&&cancelAnimationFrame(rn.get(pe)),Ae<=0){rn.set(pe,requestAnimationFrame(function(){pe.scrollTop=Se}));return}var qe=Se-pe.scrollTop,tt=qe/Ae*10;rn.set(pe,requestAnimationFrame(function(){pe.scrollTop+=tt,pe.scrollTop!==Se&&ro(pe,Se,Ae-10)}))}function oa(pe,Se){var Ae=Se.onLeftRight,qe=Se.onCtrlLeftRight,tt=Se.onUpDown,Ot=Se.onPageUpDown,Pt=Se.onEnter,dn=pe.which,un=pe.ctrlKey,Cn=pe.metaKey;switch(dn){case Fn.Z.LEFT:if(un||Cn){if(qe)return qe(-1),!0}else if(Ae)return Ae(-1),!0;break;case Fn.Z.RIGHT:if(un||Cn){if(qe)return qe(1),!0}else if(Ae)return Ae(1),!0;break;case Fn.Z.UP:if(tt)return tt(-1),!0;break;case Fn.Z.DOWN:if(tt)return tt(1),!0;break;case Fn.Z.PAGE_UP:if(Ot)return Ot(-1),!0;break;case Fn.Z.PAGE_DOWN:if(Ot)return Ot(1),!0;break;case Fn.Z.ENTER:if(Pt)return Pt(),!0;break}return!1}function xn(pe,Se,Ae,qe){var tt=pe;if(!tt)switch(Se){case"time":tt=qe?"hh:mm:ss a":"HH:mm:ss";break;case"week":tt="gggg-wo";break;case"month":tt="YYYY-MM";break;case"quarter":tt="YYYY-[Q]Q";break;case"year":tt="YYYY";break;default:tt=Ae?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return tt}function wa(pe,Se,Ae){var qe=pe==="time"?8:10,tt=typeof Se=="function"?Se(Ae.getNow()).length:Se.length;return Math.max(qe,tt)+2}var Da=null,Ht=new Set;function Dn(pe){return!Da&&typeof window!="undefined"&&window.addEventListener&&(Da=function(Ae){(0,ea.Z)(Ht).forEach(function(qe){qe(Ae)})},window.addEventListener("mousedown",Da)),Ht.add(pe),function(){Ht.delete(pe),Ht.size===0&&(window.removeEventListener("mousedown",Da),Da=null)}}function Wn(pe){var Se=pe.target;if(pe.composed&&Se.shadowRoot){var Ae;return((Ae=pe.composedPath)===null||Ae===void 0?void 0:Ae.call(pe)[0])||Se}return Se}var fa=function(Se){return Se==="month"||Se==="date"?"year":Se},ta=function(Se){return Se==="date"?"month":Se},za=function(Se){return Se==="month"||Se==="date"?"quarter":Se},Ao=function(Se){return Se==="date"?"week":Se},Ar={year:fa,month:ta,quarter:za,week:Ao,time:null,date:null};function Dr(pe,Se){return pe.some(function(Ae){return Ae&&Ae.contains(Se)})}function Na(pe){var Se=pe.open,Ae=pe.value,qe=pe.isClickOutside,tt=pe.triggerOpen,Ot=pe.forwardKeyDown,Pt=pe.onKeyDown,dn=pe.blurToCancel,un=pe.onSubmit,Cn=pe.onCancel,$n=pe.onFocus,Mn=pe.onBlur,On=pe.changeOnBlur,_n=(0,ie.useState)(!1),Kn=(0,Wt.Z)(_n,2),sn=Kn[0],wn=Kn[1],Vn=(0,ie.useState)(!1),Ra=(0,Wt.Z)(Vn,2),Ca=Ra[0],Ha=Ra[1],Xa=(0,ie.useRef)(!1),Ya=(0,ie.useRef)(!1),Aa=(0,ie.useRef)(!1),xr={onMouseDown:function(){wn(!0),tt(!0)},onKeyDown:function(Fr){var Nr=function(){Aa.current=!0};if(Pt(Fr,Nr),!Aa.current){switch(Fr.which){case Fn.Z.ENTER:{Se?un()!==!1&&wn(!0):tt(!0),Fr.preventDefault();return}case Fn.Z.TAB:{sn&&Se&&!Fr.shiftKey?(wn(!1),Fr.preventDefault()):!sn&&Se&&!Ot(Fr)&&Fr.shiftKey&&(wn(!0),Fr.preventDefault());return}case Fn.Z.ESC:{wn(!0),Cn();return}}!Se&&![Fn.Z.SHIFT].includes(Fr.which)?tt(!0):sn||Ot(Fr)}},onFocus:function(Fr){wn(!0),Ha(!0),$n&&$n(Fr)},onBlur:function(Fr){if(Xa.current||!qe(document.activeElement)){Xa.current=!1;return}dn?setTimeout(function(){for(var Nr=document,rl=Nr.activeElement;rl&&rl.shadowRoot;)rl=rl.shadowRoot.activeElement;qe(rl)&&Cn()},0):Se&&(tt(!1),Ya.current&&un()),Ha(!1),Mn==null||Mn(Fr)}};return(0,ie.useEffect)(function(){Ya.current=!1},[Se]),(0,ie.useEffect)(function(){Ya.current=!0},[Ae]),(0,ie.useEffect)(function(){return Dn(function(Jo){var Fr=Wn(Jo),Nr=qe(Fr);Se&&(Nr?!On&&(!Ca||Nr)&&tt(!1):(Xa.current=!0,(0,jn.Z)(function(){Xa.current=!1})))})}),[xr,{focused:Ca,typing:sn}]}function xt(pe,Se){return ie.useMemo(function(){return pe||(Se?((0,Pe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(Ae){var qe=(0,Wt.Z)(Ae,2),tt=qe[0],Ot=qe[1];return{label:tt,value:Ot}})):[])},[pe,Se])}var It=te(34280);function Dt(pe){var Se=pe.valueTexts,Ae=pe.onTextChange,qe=ie.useState(""),tt=(0,Wt.Z)(qe,2),Ot=tt[0],Pt=tt[1],dn=ie.useRef([]);dn.current=Se;function un($n){Pt($n),Ae($n)}function Cn(){Pt(dn.current[0])}return(0,It.Z)(function(){Se.every(function($n){return $n!==Ot})&&Cn()},[Se.join("||")]),[Ot,un,Cn]}var In=ie.createContext({}),na=In,Hn=te(76190);function Qo(pe){var Se=pe.cellRender,Ae=pe.monthCellRender,qe=pe.dateRender,tt=ie.useMemo(function(){if(Se)return Se;if(!(!Ae&&!qe))return function(Ot,Pt){var dn=Ot;return qe&&Pt.type==="date"?qe(dn,Pt.today):Ae&&Pt.type==="month"?Ae(dn,Pt.locale):Pt.originNode}},[Se,Ae,qe]);return tt}function Oa(pe,Se){for(var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",qe=String(pe);qe.length=1?Ae|0:1,Pt=pe;Pt<=Se;Pt+=Ot)tt.push({label:Oa(Pt,2),value:Pt,disabled:(qe||[]).includes(Pt)});return tt}function Wr(pe){var Se=pe.generateConfig,Ae=pe.prefixCls,qe=pe.operationRef,tt=pe.activeColumnIndex,Ot=pe.value,Pt=pe.showHour,dn=pe.showMinute,un=pe.showSecond,Cn=pe.use12Hours,$n=pe.hourStep,Mn=$n===void 0?1:$n,On=pe.minuteStep,_n=On===void 0?1:On,Kn=pe.secondStep,sn=Kn===void 0?1:Kn,wn=pe.disabledHours,Vn=pe.disabledMinutes,Ra=pe.disabledSeconds,Ca=pe.disabledTime,Ha=pe.hideDisabledOptions,Xa=pe.onSelect,Ya=pe.cellRender,Aa=pe.locale,xr=[],Jo="".concat(Ae,"-content"),Fr="".concat(Ae,"-time-panel"),Nr,rl=Ot?Se.getHour(Ot):-1,hl=rl,Rl=Ot?Se.getMinute(Ot):-1,nl=Ot?Se.getSecond(Ot):-1,kr=Se.getNow(),Zr=ie.useMemo(function(){if(Ca){var Yt=Ca(kr);return[Yt.disabledHours,Yt.disabledMinutes,Yt.disabledSeconds]}return[wn,Vn,Ra]},[wn,Vn,Ra,Ca,kr]),fl=(0,Wt.Z)(Zr,3),Pl=fl[0],Qr=fl[1],al=fl[2],ai=Oo(0,23,Mn,Pl&&Pl()),Ul=(0,ut.Z)(function(){return ai},ai,dr);Cn&&(Nr=hl>=12,hl%=12);var ye=ie.useMemo(function(){if(!Cn)return[!1,!1];var Yt=[!0,!0];return Ul.forEach(function(Ut){var bn=Ut.disabled,Bn=Ut.value;bn||(Bn>=12?Yt[1]=!1:Yt[0]=!1)}),Yt},[Cn,Ul]),Ce=(0,Wt.Z)(ye,2),Ke=Ce[0],Ve=Ce[1],st=ie.useMemo(function(){return Cn?Ul.filter(Nr?function(Yt){return Yt.value>=12}:function(Yt){return Yt.value<12}).map(function(Yt){var Ut=Yt.value%12,bn=Ut===0?"12":Oa(Ut,2);return(0,At.Z)((0,At.Z)({},Yt),{},{label:bn,value:Ut})}):Ul},[Cn,Nr,Ul]),ct=Oo(0,59,_n,Qr&&Qr(rl)),wt=Oo(0,59,sn,al&&al(rl,Rl)),Bt=bo({value:Ot,generateConfig:Se,disabledMinutes:Qr,disabledSeconds:al,minutes:ct,seconds:wt,use12Hours:Cn});qe.current={onUpDown:function(Ut){var bn=xr[tt];if(bn)for(var Bn=bn.units.findIndex(function(aa){return aa.value===bn.value}),Ln=bn.units.length,Un=1;Un2&&arguments[2]!==void 0?arguments[2]:!1;(ca===wn||Mo)&&(to(Nn),xr&&xr(Nn),Bt&&Bt(Nn,ia),Jo&&!zt(un,Nn,sa)&&!(_n!=null&&_n(Nn))&&Jo(Nn))},ar=function(Nn){if(ml.includes(ca)){var ia,Mo,lr=ca==="date";switch(Nn===Fn.Z.PAGE_UP||Nn===Fn.Z.PAGE_DOWN?Mo=lr?un.addMonth:un.addYear:Mo=lr?un.addDate:un.addMonth,Nn){case Fn.Z.LEFT:case Fn.Z.PAGE_UP:ia=Mo(so,-1);break;case Fn.Z.RIGHT:case Fn.Z.PAGE_DOWN:ia=Mo(so,1);break;case Fn.Z.UP:case Fn.Z.DOWN:ia=Mo(so,Number("".concat(Nn===Fn.Z.UP?"-":"").concat(lr?rt:dl)));break}if(ia)return!(_n!=null&&_n(ia))}return!0},ll=function(Nn){if(Un.current&&Un.current.onKeyDown){var ia=!0,Mo=Nn.which;if([Fn.Z.LEFT,Fn.Z.RIGHT,Fn.Z.UP,Fn.Z.DOWN,Fn.Z.PAGE_UP,Fn.Z.PAGE_DOWN,Fn.Z.ENTER].includes(Mo)&&(Nn.preventDefault(),Mo!==Fn.Z.ENTER&&Ra===0&&(ia=ar(Mo))),ia)return Un.current.onKeyDown(Nn)}return(0,Pe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},yr=function(Nn){Un.current&&Un.current.onBlur&&Un.current.onBlur(Nn)};wt&&bn!=="right"&&(wt.current={onKeyDown:ll,onClose:function(){Un.current&&Un.current.onClose&&Un.current.onClose()}}),ie.useEffect(function(){Cn&&!Gn.current&&zo(Cn)},[Cn]),ie.useEffect(function(){Gn.current=!1},[]);var oo,El=Qo({cellRender:ye,monthCellRender:Ul,dateRender:ai}),Fo=(0,At.Z)((0,At.Z)({},pe),{},{cellRender:El,operationRef:Un,prefixCls:tt,viewDate:so,value:sa,onViewDateChange:ha,sourceMode:Qa,onPanelChange:rr,disabledDate:_n});switch(delete Fo.onChange,delete Fo.onSelect,ca){case"decade":oo=ie.createElement(ti,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}));break;case"year":oo=ie.createElement($l,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}));break;case"month":oo=ie.createElement(Qi,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}));break;case"quarter":oo=ie.createElement(Eo,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}));break;case"week":oo=ie.createElement(Wa,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}));break;case"time":delete Fo.showTime,oo=ie.createElement(Kr,(0,le.Z)({},Fo,(0,Hn.Z)(Ha)==="object"?Ha:null,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}));break;default:Ha?oo=ie.createElement(mi,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}})):oo=ie.createElement(Sr,(0,le.Z)({},Fo,{onSelect:function(Nn,ia){ha(Nn),cr(Nn,ia)}}))}var So,Ir,Gl=function(){var Nn=un.getNow(),ia=vn(un.getHour(Nn),un.getMinute(Nn),un.getSecond(Nn),Ke?Zr:1,Ve?Pl:1,st?al:1),Mo=Et(un,Nn,ia[0],ia[1],ia[2]);cr(Mo,"submit")};Ct||(So=or(tt,ca,Ya),Ha&&ca!=="date"?Ir=null:Ir=co({prefixCls:tt,components:Rl,needConfirmButton:Ce,okDisabled:!sa||_n&&_n(sa),locale:dn,showNow:Ca,onNow:Ce&&Gl,onOk:function(){sa&&(cr(sa,"submit",!0),hl&&hl(sa))}}));var Bo;if(Xa&&ca==="date"&&wn==="date"&&!Ha){var po=un.getNow(),yo="".concat(tt,"-today-btn"),qa=_n&&_n(po);Bo=ie.createElement("a",{className:Te()(yo,qa&&"".concat(yo,"-disabled")),"aria-disabled":qa,onClick:function(){qa||cr(po,"mouse",!0)}},dn.today)}return ie.createElement(na.Provider,{value:(0,At.Z)((0,At.Z)({},ct),{},{mode:ca,hideHeader:"hideHeader"in pe?Aa:ct.hideHeader,hidePrevBtn:Ut&&bn==="right",hideNextBtn:Ut&&bn==="left"})},ie.createElement("div",{tabIndex:Ra,className:Te()("".concat(tt,"-panel"),Ot,(Se={},(0,ze.Z)(Se,"".concat(tt,"-panel-has-range"),Bn&&Bn[0]&&Bn[1]),(0,ze.Z)(Se,"".concat(tt,"-panel-has-range-hover"),Ln&&Ln[0]&&Ln[1]),(0,ze.Z)(Se,"".concat(tt,"-panel-rtl"),nl==="rtl"),Se)),style:Pt,onKeyDown:ll,onBlur:yr,onMouseDown:Nr},oo,So||Ir||Bo?ie.createElement("div",{className:"".concat(tt,"-footer")},So,Ir,Bo):null))}var Vr=Ur,Qt=te(35593),Tt={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function cn(pe){var Se,Ae=pe.prefixCls,qe=pe.popupElement,tt=pe.popupStyle,Ot=pe.visible,Pt=pe.dropdownClassName,dn=pe.dropdownAlign,un=pe.transitionName,Cn=pe.getPopupContainer,$n=pe.children,Mn=pe.range,On=pe.popupPlacement,_n=pe.direction,Kn="".concat(Ae,"-dropdown"),sn=function(){return On!==void 0?On:_n==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(Qt.Z,{showAction:[],hideAction:[],popupPlacement:sn(),builtinPlacements:Tt,prefixCls:Kn,popupTransitionName:un,popup:qe,popupAlign:dn,popupVisible:Ot,popupClassName:Te()(Pt,(Se={},(0,ze.Z)(Se,"".concat(Kn,"-range"),Mn),(0,ze.Z)(Se,"".concat(Kn,"-rtl"),_n==="rtl"),Se)),popupStyle:tt,getPopupContainer:Cn},$n)}var Yn=cn;function uo(pe){var Se=pe.prefixCls,Ae=pe.presets,qe=pe.onClick,tt=pe.onHover;return Ae.length?ie.createElement("div",{className:"".concat(Se,"-presets")},ie.createElement("ul",null,Ae.map(function(Ot,Pt){var dn=Ot.label,un=Ot.value;return ie.createElement("li",{key:Pt,onClick:function(){return qe==null?void 0:qe(sr(un))},onMouseEnter:function(){return tt==null?void 0:tt(sr(un))},onMouseLeave:function(){return tt==null?void 0:tt(null)}},dn)}))):null}function xo(pe){var Se=pe.picker,Ae=pe.disabledHours,qe=pe.disabledMinutes,tt=pe.disabledSeconds;Se==="time"&&(Ae||qe||tt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Tn(pe,Se,Ae){var qe=(0,Hn.Z)(Se)==="object"?Se.clearIcon:Ae;return qe||ie.createElement("span",{className:"".concat(pe,"-clear-btn")})}function eo(pe){var Se,Ae=pe,qe=Ae.prefixCls,tt=qe===void 0?"rc-picker":qe,Ot=Ae.id,Pt=Ae.name,dn=Ae.tabIndex,un=Ae.style,Cn=Ae.className,$n=Ae.dropdownClassName,Mn=Ae.dropdownAlign,On=Ae.popupStyle,_n=Ae.transitionName,Kn=Ae.generateConfig,sn=Ae.locale,wn=Ae.inputReadOnly,Vn=Ae.allowClear,Ra=Ae.autoFocus,Ca=Ae.showTime,Ha=Ae.picker,Xa=Ha===void 0?"date":Ha,Ya=Ae.format,Aa=Ae.use12Hours,xr=Ae.value,Jo=Ae.defaultValue,Fr=Ae.presets,Nr=Ae.open,rl=Ae.defaultOpen,hl=Ae.defaultOpenValue,Rl=Ae.suffixIcon,nl=Ae.clearIcon,kr=Ae.disabled,Zr=Ae.disabledDate,fl=Ae.placeholder,Pl=Ae.getPopupContainer,Qr=Ae.pickerRef,al=Ae.panelRender,ai=Ae.onChange,Ul=Ae.onOpenChange,ye=Ae.onFocus,Ce=Ae.onBlur,Ke=Ae.onMouseDown,Ve=Ae.onMouseUp,st=Ae.onMouseEnter,ct=Ae.onMouseLeave,wt=Ae.onContextMenu,Bt=Ae.onClick,Ct=Ae.onKeyDown,Jt=Ae.onSelect,Yt=Ae.direction,Ut=Ae.autoComplete,bn=Ut===void 0?"off":Ut,Bn=Ae.inputRender,Ln=Ae.changeOnBlur,Un=ie.useRef(null),Gn=Xa==="date"&&!!Ca||Xa==="time",aa=xt(Fr),qn=hr(xn(Ya,Xa,Ca,Aa)),sa=ie.useRef(null),to=ie.useRef(null),fo=ie.useRef(null),ka=(0,tn.Z)(null,{value:xr,defaultValue:Jo}),so=(0,Wt.Z)(ka,2),zo=so[0],ha=so[1],_a=ie.useState(zo),Fa=(0,Wt.Z)(_a,2),ra=Fa[0],ca=Fa[1],Kt=ie.useRef(null),tr=(0,tn.Z)(!1,{value:Nr,defaultValue:rl,postState:function(Do){return kr?!1:Do},onChange:function(Do){Ul&&Ul(Do),!Do&&Kt.current&&Kt.current.onClose&&Kt.current.onClose()}}),_o=(0,Wt.Z)(tr,2),Qa=_o[0],Uo=_o[1],rr=gn(ra,{formatList:qn,generateConfig:Kn,locale:sn}),cr=(0,Wt.Z)(rr,2),ar=cr[0],ll=cr[1],yr=Dt({valueTexts:ar,onTextChange:function(Do){var Zl=Nt(Do,{locale:sn,formatList:qn,generateConfig:Kn});Zl&&(!Zr||!Zr(Zl))&&ca(Zl)}}),oo=(0,Wt.Z)(yr,3),El=oo[0],Fo=oo[1],So=oo[2],Ir=function(Do){ca(Do),ha(Do),ai&&!zt(Kn,zo,Do)&&ai(Do,Do?et(Do,{generateConfig:Kn,locale:sn,format:qn[0]}):"")},Gl=function(Do){kr&&Do||Uo(Do)},Bo=function(Do){return Qa&&Kt.current&&Kt.current.onKeyDown?Kt.current.onKeyDown(Do):((0,Pe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},po=function(){for(var Do=arguments.length,Zl=new Array(Do),gi=0;giOn(Cn);case"month":return Mn(sn)>Mn(Cn);case"week":return $n(sn)>$n(Cn);default:return!ht(dn,sn,Cn)&&dn.isAfter(sn,Cn)}return!1},[Ot,Pt[1],Cn,Se]),Kn=ie.useCallback(function(sn){if(Pt[1]||Ot&&Ot(sn))return!0;if(Pt[0]&&un)return!ht(dn,sn,Cn)&&dn.isAfter(un,sn);if(!Se&&un)switch(Ae){case"quarter":return On(sn)0&&arguments[0]!==void 0?arguments[0]:!1,wo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ka=null;Fl&&Eu&&Eu[0]&&Eu[1]&&sn.isAfter(Eu[1],Eu[0])&&(Ka=Eu);var _r=Aa;if(Aa&&(0,Hn.Z)(Aa)==="object"&&Aa.defaultValue){var Ql=Aa.defaultValue;_r=(0,At.Z)((0,At.Z)({},Aa),{},{defaultValue:ao(Ql,Po)||void 0})}return ie.createElement(Go.Provider,{value:{inRange:!0,panelPosition:il,rangedValue:Zs||Ma,hoverRangedValue:Ka}},ie.createElement(Vr,(0,le.Z)({},pe,wo,{cellRender:ac,showTime:_r,mode:lr[Po],generateConfig:sn,style:void 0,direction:so,disabledDate:Po===0?pl:Pr,disabledTime:function(tu){return Zr?Zr(tu,Po===0?"start":"end"):!1},className:Te()((0,ze.Z)({},"".concat(Pt,"-panel-focused"),Po===0?!Qu:!$i)),value:ao(Ma,Po),locale:wn,tabIndex:-1,onPanelChange:function(tu,Lu){Po===0&&os(!0),Po===1&&rs(!0),Vl(Zn(lr,Lu,Po),Zn(Ma,tu,Po));var Mu=tu;il==="right"&&lr[Po]===Lu&&(Mu=Ye(Mu,Lu,sn,-1)),po(Mu,Po)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Po===0?ao(Ma,1):ao(Ma,0)})))}var Su=0,Js=0;if(Po&&tr.current&&Qa.current&&Kt.current&&cr.current){Su=tr.current.offsetWidth+Qa.current.offsetWidth;var eu=cr.current.offsetLeft>Su?cr.current.offsetLeft-Su:cr.current.offsetLeft,Xs=Kt.current.offsetWidth,qs=cr.current.offsetWidth;Xs&&qs&&Su>Xs-qs-(so==="rtl"?0:eu)&&(Js=Su)}var rc=so==="rtl"?{right:Su}:{left:Su};function lc(){var il,wo=or(Pt,lr[Po],Bt),Ka=co({prefixCls:Pt,components:fo,needConfirmButton:ra,okDisabled:!ao(Ma,Po)||kr&&kr(Ma[Po]),locale:wn,onOk:function(){var he=ao(Ma,Po);he&&(gi(Ma,Po),sa==null||sa(Ma),oi(!1,Po,"confirm"))}});if(Ya!=="time"&&!Aa){var _r=Bo(Po),Ql=Ye(_r,Ya,sn),mu=lr[Po],tu=mu===Ya,Lu=Ns(tu?"left":!1,{pickerValue:_r,onPickerValueChange:function(he){po(he,Po)}}),Mu=Ns("right",{pickerValue:Ql,onPickerValueChange:function(he){po(Ye(he,Ya,sn,-1),Po)}});so==="rtl"?il=ie.createElement(ie.Fragment,null,Mu,tu&&Lu):il=ie.createElement(ie.Fragment,null,Lu,tu&&Mu)}else il=Ns();var vs=ie.createElement("div",{className:"".concat(Pt,"-panel-layout")},ie.createElement(uo,{prefixCls:Pt,presets:oc,onClick:function(he){gi(he,null),oi(!1,Po,"preset")},onHover:function(he){Bs(he)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(Pt,"-panels")},il),(wo||Ka)&&ie.createElement("div",{className:"".concat(Pt,"-footer")},wo,Ka)));return al&&(vs=al(vs)),ie.createElement("div",{className:"".concat(Pt,"-panel-container"),style:{marginLeft:Js},ref:Kt,onMouseDown:function(he){he.preventDefault()}},vs)}var ic=ie.createElement("div",{className:Te()("".concat(Pt,"-range-wrapper"),"".concat(Pt,"-").concat(Ya,"-range-wrapper")),style:{minWidth:tl}},ie.createElement("div",{ref:cr,className:"".concat(Pt,"-range-arrow"),style:rc}),lc()),$s;Ke&&($s=ie.createElement("span",{className:"".concat(Pt,"-suffix"),onMouseDown:function(wo){wo.preventDefault()}},Ke));var uc=Tn(Pt,Ce,Ve),sc=ie.createElement("span",{onMouseDown:function(wo){wo.preventDefault(),wo.stopPropagation()},onMouseUp:function(wo){wo.preventDefault(),wo.stopPropagation();var Ka=Fo;yr[0]||(Ka=Zn(Ka,null,0)),yr[1]||(Ka=Zn(Ka,null,1)),gi(Ka,null),oi(!1,Po,"clear")},className:"".concat(Pt,"-clear"),role:"button"},uc),To=Ce&&(ao(Fo,0)&&!yr[0]||ao(Fo,1)&&!yr[1]),ec={size:wa(Ya,ar[0],sn)},Ws=0,Ys=0;tr.current&&_o.current&&Qa.current&&(Po===0?Ys=tr.current.offsetWidth:(Ws=Su,Ys=_o.current.offsetWidth));var Is=so==="rtl"?{right:Ws}:{left:Ws},tc=function(wo,Ka){var _r=Zn(Ma,wo,Po);if(Ka==="submit"||Ka!=="key"&&!ra){gi(_r,Po),Po===0?os():rs();var Ql=Po===0?1:0;yr[Ql]?oi(!1,!1,"confirm"):oi(!1,Po,"confirm")}else Nn(_r)};return ie.createElement(na.Provider,{value:{operationRef:ll,hideHeader:Ya==="time",onDateMouseEnter:Ds,onDateMouseLeave:ws,hideRanges:!0,onSelect:tc,open:Fl}},ie.createElement(Yn,{visible:Fl,popupElement:ic,popupStyle:$n,prefixCls:Pt,dropdownClassName:Mn,dropdownAlign:_n,getPopupContainer:Kn,transitionName:On,range:!0,direction:so},ie.createElement("div",(0,le.Z)({ref:ca,className:Te()(Pt,"".concat(Pt,"-range"),Cn,(Se={},(0,ze.Z)(Se,"".concat(Pt,"-disabled"),yr[0]&&yr[1]),(0,ze.Z)(Se,"".concat(Pt,"-focused"),Po===0?Vu:gu),(0,ze.Z)(Se,"".concat(Pt,"-rtl"),so==="rtl"),Se)),style:un,onClick:kn,onMouseEnter:Gn,onMouseLeave:aa,onMouseDown:ms,onMouseUp:Un},(0,En.Z)(pe,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(Pt,"-input"),(Ae={},(0,ze.Z)(Ae,"".concat(Pt,"-input-active"),Po===0),(0,ze.Z)(Ae,"".concat(Pt,"-input-placeholder"),!!Gu),Ae)),ref:tr},ie.createElement("input",(0,le.Z)({id:dn,disabled:yr[0],readOnly:ct||typeof ar[0]=="function"||!Qu,value:Gu||sl,onChange:function(wo){ui(wo.target.value)},autoFocus:Ra,placeholder:ao(Vn,0)||"",ref:Uo},Os,ec,{autoComplete:_a}))),ie.createElement("div",{className:"".concat(Pt,"-range-separator"),ref:Qa},Fr),ie.createElement("div",{className:Te()("".concat(Pt,"-input"),(qe={},(0,ze.Z)(qe,"".concat(Pt,"-input-active"),Po===1),(0,ze.Z)(qe,"".concat(Pt,"-input-placeholder"),!!Ku),qe)),ref:_o},ie.createElement("input",(0,le.Z)({disabled:yr[1],readOnly:ct||typeof ar[0]=="function"||!$i,value:Ku||pi,onChange:function(wo){Wi(wo.target.value)},placeholder:ao(Vn,1)||"",ref:rr},Ml,ec,{autoComplete:_a}))),ie.createElement("div",{className:"".concat(Pt,"-active-bar"),style:(0,At.Z)((0,At.Z)({},Is),{},{width:Ys,position:"absolute"})}),$s,To&&sc)))}var Ci=function(pe){(0,mt.Z)(Ae,pe);var Se=(0,Pn.Z)(Ae);function Ae(){var qe;(0,Ge.Z)(this,Ae);for(var tt=arguments.length,Ot=new Array(tt),Pt=0;Pt{const{lineHeight:tt}=pe,Ot=Math.floor(Ae*tt)+2,Pt=Math.max((Se-Ot)/2,0),dn=Math.max(Se-Ot-Pt,0);return{padding:`${Pt}px ${qe}px ${dn}px`}},Xu=pe=>{const{componentCls:Se,pickerCellCls:Ae,pickerCellInnerCls:qe,cellHeight:tt,motionDurationSlow:Ot,borderRadiusSM:Pt,motionDurationMid:dn,cellHoverBg:un,lineWidth:Cn,lineType:$n,colorPrimary:Mn,cellActiveWithRangeBg:On,colorTextLightSolid:_n,controlHeightSM:Kn,cellRangeBorderColor:sn,pickerCellBorderGap:wn,cellHoverWithRangeBg:Vn,cellWidth:Ra,colorTextDisabled:Ca,cellBgDisabled:Ha}=pe;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:tt,transform:"translateY(-50%)",transition:`all ${Ot}`,content:'""'},[qe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:tt,height:tt,lineHeight:`${tt}px`,borderRadius:Pt,transition:`background ${dn}, border ${dn}`},"&-range-hover-start, &-range-hover-end":{[qe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Ae}-in-view), - &:hover:not(${Ae}-selected):not(${Ae}-range-start):not(${Ae}-range-end):not(${Ae}-range-hover-start):not(${Ae}-range-hover-end)`]:{[qe]:{background:un}},[`&-in-view${Ae}-today ${qe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Cn}px ${$n} ${Mn}`,borderRadius:Pt,content:'""'}},[`&-in-view${Ae}-in-range`]:{position:"relative","&::before":{background:On}},[`&-in-view${Ae}-selected ${qe}, - &-in-view${Ae}-range-start ${qe}, - &-in-view${Ae}-range-end ${qe}`]:{color:_n,background:Mn},[`&-in-view${Ae}-range-start:not(${Ae}-range-start-single), - &-in-view${Ae}-range-end:not(${Ae}-range-end-single)`]:{"&::before":{background:On}},[`&-in-view${Ae}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Ae}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Ae}-range-hover-start:not(${Ae}-in-range):not(${Ae}-range-start):not(${Ae}-range-end), - &-in-view${Ae}-range-hover-end:not(${Ae}-in-range):not(${Ae}-range-start):not(${Ae}-range-end), - &-in-view${Ae}-range-hover-start${Ae}-range-start-single, - &-in-view${Ae}-range-hover-start${Ae}-range-start${Ae}-range-end${Ae}-range-end-near-hover, - &-in-view${Ae}-range-hover-end${Ae}-range-start${Ae}-range-end${Ae}-range-start-near-hover, - &-in-view${Ae}-range-hover-end${Ae}-range-end-single, - &-in-view${Ae}-range-hover:not(${Ae}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Kn,borderTop:`${Cn}px dashed ${sn}`,borderBottom:`${Cn}px dashed ${sn}`,transform:"translateY(-50%)",transition:`all ${Ot}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:wn},[`&-in-view${Ae}-in-range${Ae}-range-hover::before, - &-in-view${Ae}-in-range${Ae}-range-hover-start::before, - &-in-view${Ae}-in-range${Ae}-range-hover-end::before, - &-in-view${Ae}-range-start${Ae}-range-hover::before, - &-in-view${Ae}-range-end${Ae}-range-hover::before, - &-in-view${Ae}-range-start:not(${Ae}-range-start-single)${Ae}-range-hover-start::before, - &-in-view${Ae}-range-end:not(${Ae}-range-end-single)${Ae}-range-hover-end::before, - ${Se}-panel - > :not(${Se}-date-panel) - &-in-view${Ae}-in-range${Ae}-range-hover-start::before, - ${Se}-panel - > :not(${Se}-date-panel) - &-in-view${Ae}-in-range${Ae}-range-hover-end::before`]:{background:Vn},[`&-in-view${Ae}-range-start:not(${Ae}-range-start-single):not(${Ae}-range-end) ${qe}`]:{borderStartStartRadius:Pt,borderEndStartRadius:Pt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ae}-range-end:not(${Ae}-range-end-single):not(${Ae}-range-start) ${qe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Pt,borderEndEndRadius:Pt},[`&-range-hover${Ae}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Ae}-range-hover:first-child::after, - tr > &-in-view${Ae}-range-hover-end:first-child::after, - &-in-view${Ae}-start${Ae}-range-hover-edge-start${Ae}-range-hover-edge-start-near-range::after, - &-in-view${Ae}-range-hover-edge-start:not(${Ae}-range-hover-edge-start-near-range)::after, - &-in-view${Ae}-range-hover-start::after`]:{insetInlineStart:(Ra-tt)/2,borderInlineStart:`${Cn}px dashed ${sn}`,borderStartStartRadius:Pt,borderEndStartRadius:Pt},[`tr > &-in-view${Ae}-range-hover:last-child::after, - tr > &-in-view${Ae}-range-hover-start:last-child::after, - &-in-view${Ae}-end${Ae}-range-hover-edge-end${Ae}-range-hover-edge-end-near-range::after, - &-in-view${Ae}-range-hover-edge-end:not(${Ae}-range-hover-edge-end-near-range)::after, - &-in-view${Ae}-range-hover-end::after`]:{insetInlineEnd:(Ra-tt)/2,borderInlineEnd:`${Cn}px dashed ${sn}`,borderStartEndRadius:Pt,borderEndEndRadius:Pt},"&-disabled":{color:Ca,pointerEvents:"none",[qe]:{background:"transparent"},"&::before":{background:Ha}},[`&-disabled${Ae}-today ${qe}::before`]:{borderColor:Ca}}},zu=pe=>{const{componentCls:Se,pickerCellCls:Ae,pickerCellInnerCls:qe,pickerYearMonthCellWidth:tt,pickerControlIconSize:Ot,cellWidth:Pt,paddingSM:dn,paddingXS:un,paddingXXS:Cn,colorBgContainer:$n,lineWidth:Mn,lineType:On,borderRadiusLG:_n,colorPrimary:Kn,colorTextHeading:sn,colorSplit:wn,pickerControlIconBorderWidth:Vn,colorIcon:Ra,textHeight:Ca,motionDurationMid:Ha,colorIconHover:Xa,fontWeightStrong:Ya,cellHeight:Aa,pickerCellPaddingVertical:xr,colorTextDisabled:Jo,colorText:Fr,fontSize:Nr,cellHoverWithRangeBg:rl,motionDurationSlow:hl,withoutTimeCellHeight:Rl,pickerQuarterPanelContentHeight:nl,colorLink:kr,colorLinkActive:Zr,colorLinkHover:fl,cellRangeBorderColor:Pl,borderRadiusSM:Qr,colorTextLightSolid:al,cellHoverBg:ai,timeColumnHeight:Ul,timeColumnWidth:ye,timeCellHeight:Ce,controlItemBgActive:Ke,marginXXS:Ve,pickerDatePanelPaddingHorizontal:st}=pe,ct=Pt*7+st*2,wt=(ct-un*2)/3-tt-dn,Bt=(ct-un*2)/4-tt;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:$n,border:`${Mn}px ${On} ${wn}`,borderRadius:_n,outline:"none","&-focused":{borderColor:Kn},"&-rtl":{direction:"rtl",[`${Se}-prev-icon, - ${Se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Se}-next-icon, - ${Se}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ct},"&-header":{display:"flex",padding:`0 ${un}px`,color:sn,borderBottom:`${Mn}px ${On} ${wn}`,"> *":{flex:"none"},button:{padding:0,color:Ra,lineHeight:`${Ca}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ha}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Nr,"&:hover":{color:Xa}},"&-view":{flex:"auto",fontWeight:Ya,lineHeight:`${Ca}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:un},"&:hover":{color:Kn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Ot,height:Ot,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Ot,height:Ot,border:"0 solid currentcolor",borderBlockStartWidth:Vn,borderBlockEndWidth:0,borderInlineStartWidth:Vn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Ot/2),insetInlineStart:Math.ceil(Ot/2),display:"inline-block",width:Ot,height:Ot,border:"0 solid currentcolor",borderBlockStartWidth:Vn,borderBlockEndWidth:0,borderInlineStartWidth:Vn,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Aa,fontWeight:"normal"},th:{height:Aa+xr*2,color:Fr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${xr}px 0`,color:Jo,cursor:"pointer","&-in-view":{color:Fr}},Xu(pe)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${qe}, - &-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${qe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:rl,transition:`all ${hl}`,content:'""'}},[`&-date-panel - ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start - ${qe}::after`]:{insetInlineEnd:-(Pt-Aa)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${qe}::after`]:{insetInlineEnd:0,insetInlineStart:-(Pt-Aa)/2},[`&-range-hover${Se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:Rl*4},[qe]:{padding:`0 ${un}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:nl},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Bt,borderInlineStart:`${Mn}px dashed ${Pl}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Bt,borderInlineEnd:`${Mn}px dashed ${Pl}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Bt,borderInlineEnd:`${Mn}px dashed ${Pl}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Bt,borderInlineStart:`${Mn}px dashed ${Pl}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${Mn}px ${On} ${wn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ca-2*Mn}px`,textAlign:"center","&-extra":{padding:`0 ${dn}px`,lineHeight:`${Ca-2*Mn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Mn}px ${On} ${wn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:kr,"&:hover":{color:fl},"&:active":{color:Zr},[`&${Se}-today-btn-disabled`]:{color:Jo,cursor:"not-allowed"}},"&-decade-panel":{[qe]:{padding:`0 ${un/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${un}px`},[qe]:{width:tt},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:Qr,borderEndStartRadius:Qr,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Qr,borderEndEndRadius:Qr}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Qr,borderEndEndRadius:Qr,[`${Se}-panel-rtl &`]:{borderStartStartRadius:Qr,borderEndStartRadius:Qr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:wt,borderInlineStart:`${Mn}px dashed ${Pl}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:wt,borderInlineEnd:`${Mn}px dashed ${Pl}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:wt,borderInlineEnd:`${Mn}px dashed ${Pl}`,[`${Se}-panel-rtl &`]:{insetInlineStart:wt,borderInlineStart:`${Mn}px dashed ${Pl}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${un}px ${dn}px`},[`${Se}-cell`]:{[`&:hover ${qe}, - &-selected ${qe}, - ${qe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ha}`},"&:first-child:before":{borderStartStartRadius:Qr,borderEndStartRadius:Qr},"&:last-child:before":{borderStartEndRadius:Qr,borderEndEndRadius:Qr}},"&:hover td":{"&:before":{background:ai}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Ae}`]:{"&:before":{background:Kn},[`&${Se}-cell-week`]:{color:new ji.C(al).setAlpha(.5).toHexString()},[qe]:{color:al}}},"&-range-hover td:before":{background:Ke}}},"&-date-panel":{[`${Se}-body`]:{padding:`${un}px ${st}px`},[`${Se}-content`]:{width:Pt*7,th:{width:Pt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${Mn}px ${On} ${wn}`},[`${Se}-date-panel, - ${Se}-time-panel`]:{transition:`opacity ${hl}`},"&-active":{[`${Se}-date-panel, - ${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:Ul},"&-column":{flex:"1 0 auto",width:ye,margin:`${Cn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ha}`,overflowX:"hidden","&::after":{display:"block",height:Ul-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Mn}px ${On} ${wn}`},"&-active":{background:new ji.C(Ke).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:Ve,[`${Se}-time-panel-cell-inner`]:{display:"block",width:ye-2*Ve,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ye-Ce)/2,color:Fr,lineHeight:`${Ce}px`,borderRadius:Qr,cursor:"pointer",transition:`background ${Ha}`,"&:hover":{background:ai}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Ke}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:Jo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:Ul-Ce+Cn*2}}}},vu=pe=>{const{componentCls:Se,colorBgContainer:Ae,colorError:qe,errorActiveShadow:tt,colorWarning:Ot,warningActiveShadow:Pt}=pe;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Ae,borderColor:qe},[`&${Se}-focused, &:focus`]:Object.assign({},(0,Fi.M1)((0,uu.TS)(pe,{activeBorderColor:qe,activeShadow:tt}))),[`${Se}-active-bar`]:{background:qe}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Ae,borderColor:Ot},[`&${Se}-focused, &:focus`]:Object.assign({},(0,Fi.M1)((0,uu.TS)(pe,{activeBorderColor:Ot,activeShadow:Pt}))),[`${Se}-active-bar`]:{background:Ot}}}}},zr=pe=>{const{componentCls:Se,antCls:Ae,controlHeight:qe,fontSize:tt,paddingInline:Ot,colorBgContainer:Pt,lineWidth:dn,lineType:un,colorBorder:Cn,borderRadius:$n,motionDurationMid:Mn,colorBgContainerDisabled:On,colorTextDisabled:_n,colorTextPlaceholder:Kn,controlHeightLG:sn,fontSizeLG:wn,controlHeightSM:Vn,paddingInlineSM:Ra,paddingXS:Ca,marginXS:Ha,colorTextDescription:Xa,lineWidthBold:Ya,lineHeight:Aa,colorPrimary:xr,motionDurationSlow:Jo,zIndexPopup:Fr,paddingXXS:Nr,paddingSM:rl,textHeight:hl,cellActiveWithRangeBg:Rl,colorPrimaryBorder:nl,sizePopupArrow:kr,borderRadiusXS:Zr,borderRadiusOuter:fl,colorBgElevated:Pl,borderRadiusLG:Qr,boxShadowSecondary:al,borderRadiusSM:ai,colorSplit:Ul,cellHoverBg:ye,presetsWidth:Ce,presetsMaxWidth:Ke,boxShadowPopoverArrow:Ve,colorTextQuaternary:st}=pe;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,iu.Wf)(pe)),Ki(pe,qe,tt,Ot)),{position:"relative",display:"inline-flex",alignItems:"center",background:Pt,lineHeight:1,border:`${dn}px ${un} ${Cn}`,borderRadius:$n,transition:`border ${Mn}, box-shadow ${Mn}`,"&:hover, &-focused":Object.assign({},(0,Fi.pU)(pe)),"&-focused":Object.assign({},(0,Fi.M1)(pe)),[`&${Se}-disabled`]:{background:On,borderColor:Cn,cursor:"not-allowed",[`${Se}-suffix`]:{color:st}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Fi.ik)(pe)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Kn}}},"&-large":Object.assign(Object.assign({},Ki(pe,sn,wn,Ot)),{[`${Se}-input > input`]:{fontSize:wn}}),"&-small":Object.assign({},Ki(pe,Vn,tt,Ra)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ca/2,color:_n,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ha}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:_n,lineHeight:1,background:Pt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Mn}, color ${Mn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Xa}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:wn,color:_n,fontSize:wn,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:Xa},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:Ot},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-dn,height:Ya,marginInlineStart:Ot,background:xr,opacity:0,transition:`all ${Jo} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${Ca}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Ra},[`${Se}-active-bar`]:{marginInlineStart:Ra}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,iu.Wf)(pe)),zu(pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Fr,[`&${Se}-dropdown-hidden`]:{display:"none"},[`&${Se}-dropdown-placement-bottomLeft`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-topLeft, - &${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-topRight, - &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-topLeft, - &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.Qt},[`&${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft, - &${Ae}-slide-up-enter${Ae}-slide-up-enter-active${Se}-dropdown-placement-bottomRight, - &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-bottomLeft, - &${Ae}-slide-up-appear${Ae}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.fJ},[`&${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-topLeft, - &${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.ly},[`&${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft, - &${Ae}-slide-up-leave${Ae}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:Nr},[`${Se}-ranges`]:{marginBottom:0,padding:`${Nr}px ${rl}px`,overflow:"hidden",lineHeight:`${hl-2*dn-Ca/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${Ae}-tag-blue`]:{color:xr,background:Rl,borderColor:nl,cursor:"pointer"},[`${Se}-ok`]:{marginInlineStart:"auto"}},[`${Se}-range-wrapper`]:{display:"flex",position:"relative"},[`${Se}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Ot*1.5,transition:`left ${Jo} ease-out`},(0,ku.r)(kr,Zr,fl,Pl,Ve)),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Pl,borderRadius:Qr,boxShadow:al,transition:`margin ${Jo}`,[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ce,maxWidth:Ke,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ca,borderInlineEnd:`${dn}px ${un} ${Ul}`,li:Object.assign(Object.assign({},iu.vS),{borderRadius:ai,paddingInline:Ca,paddingBlock:(Vn-Math.round(tt*Aa))/2,cursor:"pointer",transition:`all ${Jo}`,"+ li":{marginTop:Ha},"&:hover":{background:ye}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Se}-panel`]:{borderWidth:`0 0 ${dn}px`},"&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:Cn}}}}),"&-dropdown-range":{padding:`${kr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Bi.oN)(pe,"slide-up"),(0,Bi.oN)(pe,"slide-down"),(0,Bu.Fm)(pe,"move-up"),(0,Bu.Fm)(pe,"move-down")]},Es=pe=>{const{componentCls:Se,controlHeightLG:Ae,paddingXXS:qe,padding:tt}=pe;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:Ae*1.5,pickerQuarterPanelContentHeight:Ae*1.4,pickerCellPaddingVertical:qe+qe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:tt+qe/2}},Qs=pe=>({cellHoverBg:pe.controlItemBgHover,cellActiveWithRangeBg:pe.controlItemBgActive,cellHoverWithRangeBg:new ji.C(pe.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ji.C(pe.colorPrimary).lighten(20).toHexString(),cellBgDisabled:pe.colorBgContainerDisabled,timeColumnWidth:pe.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:pe.controlHeightSM*1.5,cellHeight:pe.controlHeightSM,textHeight:pe.controlHeightLG,withoutTimeCellHeight:pe.controlHeightLG*1.65});var Ss=(0,Ju.Z)("DatePicker",pe=>{const Se=(0,uu.TS)((0,Fi.e5)(pe),Es(pe));return[zr(Se),vu(Se),(0,ju.c)(pe,{focusElCls:`${pe.componentCls}-focused`})]},pe=>Object.assign(Object.assign(Object.assign({},(0,Fi.TM)(pe)),Qs(pe)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:pe.zIndexPopupBase+50}));function ys(pe,Se,Ae){return Ae!==void 0?Ae:Se==="year"&&pe.lang.yearPlaceholder?pe.lang.yearPlaceholder:Se==="quarter"&&pe.lang.quarterPlaceholder?pe.lang.quarterPlaceholder:Se==="month"&&pe.lang.monthPlaceholder?pe.lang.monthPlaceholder:Se==="week"&&pe.lang.weekPlaceholder?pe.lang.weekPlaceholder:Se==="time"&&pe.timePickerLocale.placeholder?pe.timePickerLocale.placeholder:pe.lang.placeholder}function Ts(pe,Se,Ae){return Ae!==void 0?Ae:Se==="year"&&pe.lang.yearPlaceholder?pe.lang.rangeYearPlaceholder:Se==="quarter"&&pe.lang.quarterPlaceholder?pe.lang.rangeQuarterPlaceholder:Se==="month"&&pe.lang.monthPlaceholder?pe.lang.rangeMonthPlaceholder:Se==="week"&&pe.lang.weekPlaceholder?pe.lang.rangeWeekPlaceholder:Se==="time"&&pe.timePickerLocale.placeholder?pe.timePickerLocale.rangePlaceholder:pe.lang.rangePlaceholder}function qu(pe,Se){const Ae={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Ae};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Ae};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Ae};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Ae};default:return{points:pe==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Ae}}}function Ou(pe){return pe?Array.isArray(pe)?pe:[pe]:[]}function Ri(pe){const{format:Se,picker:Ae,showHour:qe,showMinute:tt,showSecond:Ot,use12Hours:Pt}=pe,dn=Ou(Se)[0],un=Object.assign({},pe);return Se&&Array.isArray(Se)&&(un.format=dn),dn&&typeof dn=="string"&&(!dn.includes("s")&&Ot===void 0&&(un.showSecond=!1),!dn.includes("m")&&tt===void 0&&(un.showMinute=!1),!dn.includes("H")&&!dn.includes("h")&&!dn.includes("K")&&!dn.includes("k")&&qe===void 0&&(un.showHour=!1),(dn.includes("a")||dn.includes("A"))&&Pt===void 0&&(un.use12Hours=!0)),Ae==="time"?un:(typeof dn=="function"&&delete un.format,{showTime:un})}function Nu(pe,Se,Ae){if(pe===!1)return!1;const qe={clearIcon:Se!=null?Se:Ae};return typeof pe=="object"?Object.assign(Object.assign({},qe),pe):qe}var Ps=te(3113);function Rs(pe){return ie.createElement(Ps.ZP,Object.assign({size:"small",type:"primary"},pe))}var Xi={button:Rs},mo=function(pe,Se){var Ae={};for(var qe in pe)Object.prototype.hasOwnProperty.call(pe,qe)&&Se.indexOf(qe)<0&&(Ae[qe]=pe[qe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,qe=Object.getOwnPropertySymbols(pe);tt{const{prefixCls:tt,getPopupContainer:Ot,className:Pt,placement:dn,size:un,disabled:Cn,bordered:$n=!0,placeholder:Mn,popupClassName:On,dropdownClassName:_n,status:Kn,clearIcon:sn,allowClear:wn,rootClassName:Vn}=Ae,Ra=mo(Ae,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ca=ie.useRef(null),{getPrefixCls:Ha,direction:Xa,getPopupContainer:Ya}=(0,ie.useContext)(_i.E_),Aa=Ha("picker",tt),{compactSize:xr,compactItemClassnames:Jo}=(0,Cu.ri)(Aa,Xa),{format:Fr,showTime:Nr,picker:rl}=Ae,hl=Ha(),[Rl,nl]=Ss(Aa),kr=Object.assign(Object.assign({},Nr?Ri(Object.assign({format:Fr,picker:rl},Nr)):{}),rl==="time"?Ri(Object.assign(Object.assign({format:Fr},Ae),{picker:rl})):{}),Zr=(0,Ru.Z)(Ve=>{var st;return(st=un!=null?un:xr)!==null&&st!==void 0?st:Ve}),fl=ie.useContext(pu.Z),Pl=Cn!=null?Cn:fl,Qr=(0,ie.useContext)(Ei.aM),{hasFeedback:al,status:ai,feedbackIcon:Ul}=Qr,ye=ie.createElement(ie.Fragment,null,rl==="time"?ie.createElement(ke,null):ie.createElement(Ee,null),al&&Ul);(0,ie.useImperativeHandle)(qe,()=>({focus:()=>{var Ve;return(Ve=Ca.current)===null||Ve===void 0?void 0:Ve.focus()},blur:()=>{var Ve;return(Ve=Ca.current)===null||Ve===void 0?void 0:Ve.blur()}}));const[Ce]=(0,pr.Z)("Calendar",Fu.Z),Ke=Object.assign(Object.assign({},Ce),Ae.locale);return Rl(ie.createElement(el,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${Aa}-separator`},ie.createElement(St,null)),disabled:Pl,ref:Ca,dropdownAlign:qu(Xa,dn),placeholder:Ts(Ke,rl,Mn),suffixIcon:ye,prevIcon:ie.createElement("span",{className:`${Aa}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Aa}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Aa}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Aa}-super-next-icon`}),transitionName:`${hl}-slide-up`},Ra,kr,{className:Te()({[`${Aa}-${Zr}`]:Zr,[`${Aa}-borderless`]:!$n},(0,Ji.Z)(Aa,(0,Ji.F)(ai,Kn),al),nl,Jo,Pt,Vn),locale:Ke.lang,prefixCls:Aa,getPopupContainer:Ot||Ya,generateConfig:pe,components:Xi,direction:Xa,dropdownClassName:Te()(nl,On||_n,Vn),allowClear:Nu(wn,sn,ie.createElement(ot.Z,null))})))})}var $u=function(pe,Se){var Ae={};for(var qe in pe)Object.prototype.hasOwnProperty.call(pe,qe)&&Se.indexOf(qe)<0&&(Ae[qe]=pe[qe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,qe=Object.getOwnPropertySymbols(pe);tt{const{prefixCls:Kn,getPopupContainer:sn,style:wn,className:Vn,rootClassName:Ra,size:Ca,bordered:Ha=!0,placement:Xa,placeholder:Ya,popupClassName:Aa,dropdownClassName:xr,disabled:Jo,status:Fr,clearIcon:Nr,allowClear:rl}=On,hl=$u(On,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Rl,direction:nl,getPopupContainer:kr,[$n]:Zr}=(0,ie.useContext)(_i.E_),fl=Rl("picker",Kn),{compactSize:Pl,compactItemClassnames:Qr}=(0,Cu.ri)(fl,nl),al=ie.useRef(null),{format:ai,showTime:Ul}=On,[ye,Ce]=Ss(fl);(0,ie.useImperativeHandle)(_n,()=>({focus:()=>{var Gn;return(Gn=al.current)===null||Gn===void 0?void 0:Gn.focus()},blur:()=>{var Gn;return(Gn=al.current)===null||Gn===void 0?void 0:Gn.blur()}}));const Ke={showToday:!0};let Ve={};un&&(Ve.picker=un);const st=un||On.picker;Ve=Object.assign(Object.assign(Object.assign({},Ve),Ul?Ri(Object.assign({format:ai,picker:st},Ul)):{}),st==="time"?Ri(Object.assign(Object.assign({format:ai},On),{picker:st})):{});const ct=Rl(),wt=(0,Ru.Z)(Gn=>{var aa;return(aa=Ca!=null?Ca:Pl)!==null&&aa!==void 0?aa:Gn}),Bt=ie.useContext(pu.Z),Ct=Jo!=null?Jo:Bt,Jt=(0,ie.useContext)(Ei.aM),{hasFeedback:Yt,status:Ut,feedbackIcon:bn}=Jt,Bn=ie.createElement(ie.Fragment,null,st==="time"?ie.createElement(ke,null):ie.createElement(Ee,null),Yt&&bn),[Ln]=(0,pr.Z)("DatePicker",Fu.Z),Un=Object.assign(Object.assign({},Ln),On.locale);return ye(ie.createElement(Ti,Object.assign({ref:al,placeholder:ys(Un,st,Ya),suffixIcon:Bn,dropdownAlign:qu(nl,Xa),prevIcon:ie.createElement("span",{className:`${fl}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${fl}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${fl}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${fl}-super-next-icon`}),transitionName:`${ct}-slide-up`},Ke,hl,Ve,{locale:Un.lang,className:Te()({[`${fl}-${wt}`]:wt,[`${fl}-borderless`]:!Ha},(0,Ji.Z)(fl,(0,Ji.F)(Ut,Fr),Yt),Ce,Qr,Zr==null?void 0:Zr.className,Vn,Ra),style:Object.assign(Object.assign({},Zr==null?void 0:Zr.style),wn),prefixCls:fl,getPopupContainer:sn||kr,generateConfig:pe,components:Xi,direction:nl,disabled:Ct,dropdownClassName:Te()(Ce,Ra,Aa||xr),allowClear:Nu(rl,Nr,ie.createElement(ot.Z,null))})))});return Cn&&(Mn.displayName=Cn),Mn}const Ae=Se(),qe=Se("week","WeekPicker"),tt=Se("month","MonthPicker"),Ot=Se("year","YearPicker"),Pt=Se("time","TimePicker"),dn=Se("quarter","QuarterPicker");return{DatePicker:Ae,WeekPicker:qe,MonthPicker:tt,YearPicker:Ot,TimePicker:Pt,QuarterPicker:dn}}const Cs=null;function js(pe){const{DatePicker:Se,WeekPicker:Ae,MonthPicker:qe,YearPicker:tt,TimePicker:Ot,QuarterPicker:Pt}=ks(pe),dn=xs(pe),un=Se;return un.WeekPicker=Ae,un.MonthPicker=qe,un.YearPicker=tt,un.RangePicker=dn,un.TimePicker=Ot,un.QuarterPicker=Pt,un}var Fs=js;const hu=Fs(ne);function su(pe){const Se=qu(pe.direction,pe.placement);return Se.overflow.adjustY=!1,Se.overflow.adjustX=!1,Object.assign(Object.assign({},pe),{dropdownAlign:Se})}const Zu=(0,ae.Z)(hu,"picker",null,su);hu._InternalPanelDoNotUseOrYouWillBeFired=Zu;const bu=(0,ae.Z)(hu.RangePicker,"picker",null,su);hu._InternalRangePanelDoNotUseOrYouWillBeFired=bu,hu.generatePicker=Fs;var Du=hu},28103:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return De}});var x=te(92310),re=te.n(x),Pe=te(59301),Fe=te(36355),be=te(17313),xe=te(83116),ue=te(37613);const Oe=me=>{const{componentCls:oe,sizePaddingEdgeHorizontal:a,colorSplit:E,lineWidth:b,textPaddingInline:y,orientationMargin:z,verticalMarginInline:ne}=me;return{[oe]:Object.assign(Object.assign({},(0,be.Wf)(me)),{borderBlockStart:`${b}px solid ${E}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${E}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${me.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${me.dividerHorizontalWithTextGutterMargin}px 0`,color:me.colorTextHeading,fontWeight:500,fontSize:me.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${E}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${oe}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:E,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:me.colorText,fontWeight:"normal",fontSize:me.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:a}}})}};var je=(0,xe.Z)("Divider",me=>{const oe=(0,ue.TS)(me,{dividerHorizontalWithTextGutterMargin:me.margin,dividerHorizontalGutterMargin:me.marginLG,sizePaddingEdgeHorizontal:0});return[Oe(oe)]},me=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:me.marginXS})),Ie=function(me,oe){var a={};for(var E in me)Object.prototype.hasOwnProperty.call(me,E)&&oe.indexOf(E)<0&&(a[E]=me[E]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,E=Object.getOwnPropertySymbols(me);b{const{getPrefixCls:oe,direction:a,divider:E}=Pe.useContext(Fe.E_),{prefixCls:b,type:y="horizontal",orientation:z="center",orientationMargin:ne,className:ae,rootClassName:le,children:ie,dashed:de,plain:se,style:ce}=me,ge=Ie(me,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ve=oe("divider",b),[Ee,Je]=je(ve),Me=z.length>0?`-${z}`:z,Ue=!!ie,Le=z==="left"&&ne!=null,ke=z==="right"&&ne!=null,ot=re()(ve,E==null?void 0:E.className,Je,`${ve}-${y}`,{[`${ve}-with-text`]:Ue,[`${ve}-with-text${Me}`]:Ue,[`${ve}-dashed`]:!!de,[`${ve}-plain`]:!!se,[`${ve}-rtl`]:a==="rtl",[`${ve}-no-default-orientation-margin-left`]:Le,[`${ve}-no-default-orientation-margin-right`]:ke},ae,le),gt=Pe.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),it=Object.assign(Object.assign({},Le&&{marginLeft:gt}),ke&&{marginRight:gt});return Ee(Pe.createElement("div",Object.assign({className:ot,style:Object.assign(Object.assign({},E==null?void 0:E.style),ce)},ge,{role:"separator"}),ie&&y!=="vertical"&&Pe.createElement("span",{className:`${ve}-inner-text`,style:it},ie)))}},91857:function(at,Qe,te){"use strict";var x=te(59301),re=te(38819),Pe=te(92310),Fe=te.n(Pe),be=te(31561),xe=te(70425),ue=te(18929),Oe=te(2738),je=te(79676),Ie=te(53487),Ne=te(92343),De=te(36355),me=te(20834),oe=te(40875),a=te(88088),E=te(47211);const b=null,y=le=>{const{menu:ie,arrow:de,prefixCls:se,children:ce,trigger:ge,disabled:ve,dropdownRender:Ee,getPopupContainer:Je,overlayClassName:Me,rootClassName:Ue,open:Le,onOpenChange:ke,visible:ot,onVisibleChange:gt,mouseEnterDelay:it=.15,mouseLeaveDelay:nt=.1,autoAdjustOverflow:Xe=!0,placement:St="",overlay:He,transitionName:Te}=le,{getPopupContainer:Ge,getPrefixCls:pt,direction:Lt}=x.useContext(De.E_),mt=x.useMemo(()=>{const Ze=pt();return Te!==void 0?Te:St.includes("top")?`${Ze}-slide-down`:`${Ze}-slide-up`},[pt,St,Te]),Pn=x.useMemo(()=>St?St.includes("Center")?St.slice(0,St.indexOf("Center")):St:Lt==="rtl"?"bottomRight":"bottomLeft",[St,Lt]),ze=pt("dropdown",se),[At,Wt]=(0,E.Z)(ze),[,tn]=(0,a.Z)(),En=x.Children.only(ce),ut=(0,Ne.Tm)(En,{className:Fe()(`${ze}-trigger`,{[`${ze}-rtl`]:Lt==="rtl"},En.props.className),disabled:ve}),ft=ve?[]:ge;let _e;ft&&ft.includes("contextMenu")&&(_e=!0);const[Be,rt]=(0,ue.Z)(!1,{value:Le!=null?Le:ot}),dt=(0,xe.useEvent)(Ze=>{ke==null||ke(Ze),gt==null||gt(Ze),rt(Ze)}),Re=Fe()(Me,Ue,Wt,{[`${ze}-rtl`]:Lt==="rtl"}),we=(0,je.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:Xe,offset:tn.marginXXS,arrowWidth:de?tn.sizePopupArrow:0,borderRadius:tn.borderRadius}),lt=x.useCallback(()=>{rt(!1)},[]),$e=()=>{let Ze;return ie!=null&&ie.items?Ze=x.createElement(me.default,Object.assign({},ie)):typeof He=="function"?Ze=He():Ze=He,Ee&&(Ze=Ee(Ze)),Ze=x.Children.only(typeof Ze=="string"?x.createElement("span",null,Ze):Ze),x.createElement(oe.J,{prefixCls:`${ze}-menu`,expandIcon:x.createElement("span",{className:`${ze}-menu-submenu-arrow`},x.createElement(re.Z,{className:`${ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:lt,validator:ht=>{let{mode:An}=ht}},Ze)};return At(x.createElement(be.Z,Object.assign({alignPoint:_e},(0,Oe.Z)(le,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:nt,visible:Be,builtinPlacements:we,arrow:!!de,overlayClassName:Re,prefixCls:ze,getPopupContainer:Je||Ge,transitionName:mt,trigger:ft,overlay:$e,placement:Pn,onVisibleChange:dt}),ut))};function z(le){return Object.assign(Object.assign({},le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ie.Z)(y,"dropdown",le=>le,z),ae=le=>x.createElement(ne,Object.assign({},le),x.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=ae,Qe.Z=y},38854:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return a}});var x=te(91857),re=te(92310),Pe=te.n(re),Fe=te(59301),be=te(18785),xe=te(3113),ue=te(36355),Oe=te(81327),je=te(33234),Ie=te(47211),Ne=function(E,b){var y={};for(var z in E)Object.prototype.hasOwnProperty.call(E,z)&&b.indexOf(z)<0&&(y[z]=E[z]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(E);ne{const{getPopupContainer:b,getPrefixCls:y,direction:z}=Fe.useContext(ue.E_),{prefixCls:ne,type:ae="default",danger:le,disabled:ie,loading:de,onClick:se,htmlType:ce,children:ge,className:ve,menu:Ee,arrow:Je,autoFocus:Me,overlay:Ue,trigger:Le,align:ke,open:ot,onOpenChange:gt,placement:it,getPopupContainer:nt,href:Xe,icon:St=Fe.createElement(be.Z,null),title:He,buttonsRender:Te=$e=>$e,mouseEnterDelay:Ge,mouseLeaveDelay:pt,overlayClassName:Lt,overlayStyle:mt,destroyPopupOnHide:Pn,dropdownRender:ze}=E,At=Ne(E,["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"]),Wt=y("dropdown",ne),tn=`${Wt}-button`,[En,ut]=(0,Ie.Z)(Wt),ft={menu:Ee,arrow:Je,autoFocus:Me,align:ke,disabled:ie,trigger:ie?[]:Le,onOpenChange:gt,getPopupContainer:nt||b,mouseEnterDelay:Ge,mouseLeaveDelay:pt,overlayClassName:Lt,overlayStyle:mt,destroyPopupOnHide:Pn,dropdownRender:ze},{compactSize:_e,compactItemClassnames:Be}=(0,je.ri)(Wt,z),rt=Pe()(tn,Be,ve,ut);"overlay"in E&&(ft.overlay=Ue),"open"in E&&(ft.open=ot),"placement"in E?ft.placement=it:ft.placement=z==="rtl"?"bottomLeft":"bottomRight";const dt=Fe.createElement(xe.ZP,{type:ae,danger:le,disabled:ie,loading:de,onClick:se,htmlType:ce,href:Xe,title:He},ge),Re=Fe.createElement(xe.ZP,{type:ae,danger:le,icon:St}),[we,lt]=Te([dt,Re]);return En(Fe.createElement(Oe.Z.Compact,Object.assign({className:rt,size:_e,block:!0},At),we,Fe.createElement(x.Z,Object.assign({},ft),lt)))};De.__ANT_BUTTON=!0;var me=De;const oe=x.Z;oe.Button=me;var a=oe},47211:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return Ne}});var x=te(17313),re=te(13826),Pe=te(92899),Fe=te(29878),be=te(19447),xe=te(83116),ue=te(37613),je=De=>{const{componentCls:me,menuCls:oe,colorError:a,colorTextLightSolid:E}=De,b=`${oe}-item`;return{[`${me}, ${me}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:E,backgroundColor:a}}}}}};const Ie=De=>{const{componentCls:me,menuCls:oe,zIndexPopup:a,dropdownArrowDistance:E,sizePopupArrow:b,antCls:y,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:ae,fontSize:le,dropdownEdgeChildPadding:ie,colorTextDisabled:de,fontSizeIcon:se,controlPaddingHorizontal:ce,colorBgElevated:ge}=De;return[{[me]:Object.assign(Object.assign({},(0,x.Wf)(De)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-E+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:se}},[`${me}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:se},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${me}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${me}-placement-bottomLeft, - &${y}-slide-down-appear${y}-slide-down-appear-active${me}-placement-bottomLeft, - &${y}-slide-down-enter${y}-slide-down-enter-active${me}-placement-bottom, - &${y}-slide-down-appear${y}-slide-down-appear-active${me}-placement-bottom, - &${y}-slide-down-enter${y}-slide-down-enter-active${me}-placement-bottomRight, - &${y}-slide-down-appear${y}-slide-down-appear-active${me}-placement-bottomRight`]:{animationName:re.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${me}-placement-topLeft, - &${y}-slide-up-appear${y}-slide-up-appear-active${me}-placement-topLeft, - &${y}-slide-up-enter${y}-slide-up-enter-active${me}-placement-top, - &${y}-slide-up-appear${y}-slide-up-appear-active${me}-placement-top, - &${y}-slide-up-enter${y}-slide-up-enter-active${me}-placement-topRight, - &${y}-slide-up-appear${y}-slide-up-appear-active${me}-placement-topRight`]:{animationName:re.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${me}-placement-bottomLeft, - &${y}-slide-down-leave${y}-slide-down-leave-active${me}-placement-bottom, - &${y}-slide-down-leave${y}-slide-down-leave-active${me}-placement-bottomRight`]:{animationName:re.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${me}-placement-topLeft, - &${y}-slide-up-leave${y}-slide-up-leave-active${me}-placement-top, - &${y}-slide-up-leave${y}-slide-up-leave-active${me}-placement-topRight`]:{animationName:re.ly}})},(0,be.ZP)(De,{colorBg:ge,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${me} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${me}, ${me}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:ge,backgroundClip:"padding-box",borderRadius:De.borderRadiusLG,outline:"none",boxShadow:De.boxShadowSecondary},(0,x.Qy)(De)),{[`${oe}-item-group-title`]:{padding:`${ae}px ${ce}px`,color:De.colorTextDescription,transition:`all ${ne}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:le,marginInlineEnd:De.marginXS,fontSize:De.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${ce}px`,color:De.colorText,fontWeight:"normal",fontSize:le,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:De.borderRadiusSM,"&:hover, &-active":{backgroundColor:De.controlItemBgHover}},(0,x.Qy)(De)),{"&-selected":{color:De.colorPrimary,backgroundColor:De.controlItemBgActive,"&:hover, &-active":{backgroundColor:De.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:ge,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${De.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:De.colorSplit},[`${me}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:De.paddingXS,[`${me}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:De.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${De.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:ce+De.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${me}-menu-submenu-title`]:{[`&, ${me}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:ge,cursor:"not-allowed"}},[`${oe}-submenu-selected ${me}-menu-submenu-title`]:{color:De.colorPrimary}})}},[(0,re.oN)(De,"slide-up"),(0,re.oN)(De,"slide-down"),(0,Pe.Fm)(De,"move-up"),(0,Pe.Fm)(De,"move-down"),(0,Fe._y)(De,"zoom-big")]]};var Ne=(0,xe.Z)("Dropdown",(De,me)=>{let{rootPrefixCls:oe}=me;const{marginXXS:a,sizePopupArrow:E,controlHeight:b,fontSize:y,lineHeight:z,paddingXXS:ne,componentCls:ae,borderRadiusLG:le}=De,ie=(b-y*z)/2,{dropdownArrowOffset:de}=(0,be.fS)({contentRadius:le}),se=(0,ue.TS)(De,{menuCls:`${ae}-menu`,rootPrefixCls:oe,dropdownArrowDistance:E/2+a,dropdownArrowOffset:de,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:ne});return[Ie(se),je(se)]},De=>({zIndexPopup:De.zIndexPopupBase+50}))},8628:function(at,Qe,te){"use strict";var x=te(59301),re=te(34280),Pe=te(56762),Fe=te(69507);function be(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ue=(0,x.useRef)({}),Oe=(0,Pe.Z)(),je=(0,Fe.ZP)();return(0,re.Z)(()=>{const Ie=je.subscribe(Ne=>{ue.current=Ne,xe&&Oe()});return()=>je.unsubscribe(Ie)},[]),ue.current}Qe.Z=be},45818:function(at,Qe,te){"use strict";te.d(Qe,{D:function(){return ne},Z:function(){return ie}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(se,ce){return re.createElement(be.Z,(0,x.Z)({},se,{ref:ce,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(33853),Ie=te(38819),Ne=te(92310),De=te.n(Ne),me=te(2738),a=de=>!isNaN(parseFloat(de))&&isFinite(de),E=te(36355),b=te(84966),y=function(de,se){var ce={};for(var ge in de)Object.prototype.hasOwnProperty.call(de,ge)&&se.indexOf(ge)<0&&(ce[ge]=de[ge]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ge=Object.getOwnPropertySymbols(de);ve{let de=0;return function(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${se}${de}`}})();var ie=re.forwardRef((de,se)=>{const{prefixCls:ce,className:ge,trigger:ve,children:Ee,defaultCollapsed:Je=!1,theme:Me="dark",style:Ue={},collapsible:Le=!1,reverseArrow:ke=!1,width:ot=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:it,breakpoint:nt,onCollapse:Xe,onBreakpoint:St}=de,He=y(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Te}=(0,re.useContext)(b.Gs),[Ge,pt]=(0,re.useState)("collapsed"in de?de.collapsed:Je),[Lt,mt]=(0,re.useState)(!1);(0,re.useEffect)(()=>{"collapsed"in de&&pt(de.collapsed)},[de.collapsed]);const Pn=(ut,ft)=>{"collapsed"in de||pt(ut),Xe==null||Xe(ut,ft)},ze=(0,re.useRef)();ze.current=ut=>{mt(ut.matches),St==null||St(ut.matches),Ge!==ut.matches&&Pn(ut.matches,"responsive")},(0,re.useEffect)(()=>{function ut(_e){return ze.current(_e)}let ft;if(typeof window!="undefined"){const{matchMedia:_e}=window;if(_e&&nt&&nt in z){ft=_e(`(max-width: ${z[nt]})`);try{ft.addEventListener("change",ut)}catch(Be){ft.addListener(ut)}ut(ft)}}return()=>{try{ft==null||ft.removeEventListener("change",ut)}catch(_e){ft==null||ft.removeListener(ut)}}},[nt]),(0,re.useEffect)(()=>{const ut=ae("ant-sider-");return Te.addSider(ut),()=>Te.removeSider(ut)},[]);const At=()=>{Pn(!Ge,"clickTrigger")},{getPrefixCls:Wt}=(0,re.useContext)(E.E_),tn=()=>{const ut=Wt("layout-sider",ce),ft=(0,me.Z)(He,["collapsed"]),_e=Ge?gt:ot,Be=a(_e)?`${_e}px`:String(_e),rt=parseFloat(String(gt||0))===0?re.createElement("span",{onClick:At,className:De()(`${ut}-zero-width-trigger`,`${ut}-zero-width-trigger-${ke?"right":"left"}`),style:it},ve||re.createElement(Oe,null)):null,we={expanded:ke?re.createElement(Ie.Z,null):re.createElement(je.Z,null),collapsed:ke?re.createElement(je.Z,null):re.createElement(Ie.Z,null)}[Ge?"collapsed":"expanded"],lt=ve!==null?rt||re.createElement("div",{className:`${ut}-trigger`,onClick:At,style:{width:Be}},ve||we):null,$e=Object.assign(Object.assign({},Ue),{flex:`0 0 ${Be}`,maxWidth:Be,minWidth:Be,width:Be}),Ze=De()(ut,`${ut}-${Me}`,{[`${ut}-collapsed`]:!!Ge,[`${ut}-has-trigger`]:Le&&ve!==null&&!rt,[`${ut}-below`]:!!Lt,[`${ut}-zero-width`]:parseFloat(Be)===0},ge);return re.createElement("aside",Object.assign({className:Ze},ft,{style:$e,ref:se}),re.createElement("div",{className:`${ut}-children`},Ee),Le||Lt&&rt?lt:null)},En=re.useMemo(()=>({siderCollapsed:Ge}),[Ge]);return re.createElement(ne.Provider,{value:En},tn())})},84966:function(at,Qe,te){"use strict";te.d(Qe,{VY:function(){return ne},$_:function(){return z},h4:function(){return y},Gs:function(){return me},ZP:function(){return ae}});var x=te(94480),re=te(92310),Pe=te.n(re),Fe=te(2738),be=te(59301),xe=te(36355),ue=te(83116),je=le=>{const{componentCls:ie,bodyBg:de,lightSiderBg:se,lightTriggerBg:ce,lightTriggerColor:ge}=le;return{[`${ie}-sider-light`]:{background:se,[`${ie}-sider-trigger`]:{color:ge,background:ce},[`${ie}-sider-zero-width-trigger`]:{color:ge,background:ce,border:`1px solid ${de}`,borderInlineStart:0}}}};const Ie=le=>{const{antCls:ie,componentCls:de,colorText:se,triggerColor:ce,footerBg:ge,triggerBg:ve,headerHeight:Ee,headerPadding:Je,headerColor:Me,footerPadding:Ue,triggerHeight:Le,zeroTriggerHeight:ke,zeroTriggerWidth:ot,motionDurationMid:gt,motionDurationSlow:it,fontSize:nt,borderRadius:Xe,bodyBg:St,headerBg:He,siderBg:Te}=le;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:St,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:Te,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:ce,lineHeight:`${Le}px`,textAlign:"center",background:ve,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ee,insetInlineEnd:-ot,zIndex:1,width:ot,height:ke,color:ce,fontSize:le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Te,borderStartStartRadius:0,borderStartEndRadius:Xe,borderEndEndRadius:Xe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ot,borderStartStartRadius:Xe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Xe}}}}},je(le)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:Ee,padding:Je,color:Me,lineHeight:`${Ee}px`,background:He,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Ue,color:se,fontSize:nt,background:ge},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Ne=(0,ue.Z)("Layout",le=>[Ie(le)],le=>{const{colorBgLayout:ie,controlHeight:de,controlHeightLG:se,colorText:ce,controlHeightSM:ge,marginXXS:ve,colorTextLightSolid:Ee,colorBgContainer:Je}=le,Me=se*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Me}px`,headerColor:ce,footerPadding:`${ge}px ${Me}px`,footerBg:ie,siderBg:"#001529",triggerHeight:se+ve*2,triggerBg:"#002140",triggerColor:Ee,zeroTriggerWidth:se,zeroTriggerHeight:se,lightSiderBg:Je,lightTriggerBg:Je,lightTriggerColor:ce}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),De=function(le,ie){var de={};for(var se in le)Object.prototype.hasOwnProperty.call(le,se)&&ie.indexOf(se)<0&&(de[se]=le[se]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,se=Object.getOwnPropertySymbols(le);cenull,removeSider:()=>null}});function oe(le){let{suffixCls:ie,tagName:de,displayName:se}=le;return ce=>be.forwardRef((ve,Ee)=>be.createElement(ce,Object.assign({ref:Ee,suffixCls:ie,tagName:de},ve)))}const a=be.forwardRef((le,ie)=>{const{prefixCls:de,suffixCls:se,className:ce,tagName:ge}=le,ve=De(le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=be.useContext(xe.E_),Je=Ee("layout",de),[Me,Ue]=Ne(Je),Le=se?`${Je}-${se}`:Je;return Me(be.createElement(ge,Object.assign({className:Pe()(de||Le,ce,Ue),ref:ie},ve)))}),E=be.forwardRef((le,ie)=>{const{direction:de}=be.useContext(xe.E_),[se,ce]=be.useState([]),{prefixCls:ge,className:ve,rootClassName:Ee,children:Je,hasSider:Me,tagName:Ue,style:Le}=le,ke=De(le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ot=(0,Fe.Z)(ke,["suffixCls"]),{getPrefixCls:gt,layout:it}=be.useContext(xe.E_),nt=gt("layout",ge),[Xe,St]=Ne(nt),He=Pe()(nt,{[`${nt}-has-sider`]:typeof Me=="boolean"?Me:se.length>0,[`${nt}-rtl`]:de==="rtl"},it==null?void 0:it.className,ve,Ee,St),Te=be.useMemo(()=>({siderHook:{addSider:Ge=>{ce(pt=>[].concat((0,x.Z)(pt),[Ge]))},removeSider:Ge=>{ce(pt=>pt.filter(Lt=>Lt!==Ge))}}}),[]);return Xe(be.createElement(me.Provider,{value:Te},be.createElement(Ue,Object.assign({ref:ie,className:He,style:Object.assign(Object.assign({},it==null?void 0:it.style),Le)},ot),Je)))}),b=oe({tagName:"div",displayName:"Layout"})(E),y=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ne=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ae=b},40875:function(at,Qe,te){"use strict";te.d(Qe,{J:function(){return xe}});var x=te(59301),re=te(33234),Pe=te(70425),Fe=function(ue,Oe){var je={};for(var Ie in ue)Object.prototype.hasOwnProperty.call(ue,Ie)&&Oe.indexOf(Ie)<0&&(je[Ie]=ue[Ie]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ie=Object.getOwnPropertySymbols(ue);Ne{const{children:je}=ue,Ie=Fe(ue,["children"]),Ne=x.useContext(be),De=x.useMemo(()=>Object.assign(Object.assign({},Ne),Ie),[Ne,Ie.prefixCls,Ie.mode,Ie.selectable]);return x.createElement(be.Provider,{value:De},x.createElement(re.BR,null,(0,Pe.supportNodeRef)(je)?x.cloneElement(je,{ref:Oe}):je))});Qe.Z=be},20834:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return En}});var x=te(15285),re=te(59301),Pe=te(45818),Fe=te(92310),be=te.n(Fe),xe=te(36355),ue=function(ut,ft){var _e={};for(var Be in ut)Object.prototype.hasOwnProperty.call(ut,Be)&&ft.indexOf(Be)<0&&(_e[Be]=ut[Be]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Be=Object.getOwnPropertySymbols(ut);rt{const{prefixCls:ft,className:_e,dashed:Be}=ut,rt=ue(ut,["prefixCls","className","dashed"]),{getPrefixCls:dt}=re.useContext(xe.E_),Re=dt("menu",ft),we=be()({[`${Re}-item-divider-dashed`]:!!Be},_e);return re.createElement(x.iz,Object.assign({className:we},rt))},Ie=te(11592),Ne=te(2738),De=te(6848),me=te(92343),a=(0,re.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=ut=>{var ft;const{className:_e,children:Be,icon:rt,title:dt,danger:Re}=ut,{prefixCls:we,firstLevel:lt,direction:$e,disableMenuItemTitleTooltip:Ze,inlineCollapsed:ht}=re.useContext(a),An=et=>{const Nt=re.createElement("span",{className:`${we}-title-content`},Be);return(!rt||(0,me.l$)(Be)&&Be.type==="span")&&Be&&et&<&&typeof Be=="string"?re.createElement("div",{className:`${we}-inline-collapsed-noicon`},Be.charAt(0)):Nt},{siderCollapsed:en}=re.useContext(Pe.D);let zt=dt;typeof dt=="undefined"?zt=lt?Be:"":dt===!1&&(zt="");const an={title:zt};!en&&!ht&&(an.title=null,an.open=!1);const $t=(0,Ie.Z)(Be).length;let Ye=re.createElement(x.ck,Object.assign({},(0,Ne.Z)(ut,["title","icon","danger"]),{className:be()({[`${we}-item-danger`]:Re,[`${we}-item-only-child`]:(rt?$t+1:$t)===1},_e),title:typeof dt=="string"?dt:void 0}),(0,me.Tm)(rt,{className:be()((0,me.l$)(rt)?(ft=rt.props)===null||ft===void 0?void 0:ft.className:"",`${we}-item-icon`)}),An(ht));return Ze||(Ye=re.createElement(De.Z,Object.assign({},an,{placement:$e==="rtl"?"left":"right",overlayClassName:`${we}-inline-collapsed-tooltip`}),Ye)),Ye},z=ut=>{var ft;const{popupClassName:_e,icon:Be,title:rt,theme:dt}=ut,Re=re.useContext(a),{prefixCls:we,inlineCollapsed:lt,theme:$e}=Re,Ze=(0,x.Xl)();let ht;if(!Be)ht=lt&&!Ze.length&&rt&&typeof rt=="string"?re.createElement("div",{className:`${we}-inline-collapsed-noicon`},rt.charAt(0)):re.createElement("span",{className:`${we}-title-content`},rt);else{const en=(0,me.l$)(rt)&&rt.type==="span";ht=re.createElement(re.Fragment,null,(0,me.Tm)(Be,{className:be()((0,me.l$)(Be)?(ft=Be.props)===null||ft===void 0?void 0:ft.className:"",`${we}-item-icon`)}),en?rt:re.createElement("span",{className:`${we}-title-content`},rt))}const An=re.useMemo(()=>Object.assign(Object.assign({},Re),{firstLevel:!1}),[Re]);return re.createElement(a.Provider,{value:An},re.createElement(x.Wd,Object.assign({},(0,Ne.Z)(ut,["icon"]),{title:ht,popupClassName:be()(we,_e,`${we}-${dt||$e}`)})))},ne=te(18785),ae=te(70425),le=te(62892),ie=te(40875),de=function(ut,ft){var _e={};for(var Be in ut)Object.prototype.hasOwnProperty.call(ut,Be)&&ft.indexOf(Be)<0&&(_e[Be]=ut[Be]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Be=Object.getOwnPropertySymbols(ut);rt{if(ft&&typeof ft=="object"){const Be=ft,{label:rt,children:dt,key:Re,type:we}=Be,lt=de(Be,["label","children","key","type"]),$e=Re!=null?Re:`tmp-${_e}`;return dt||we==="group"?we==="group"?re.createElement(x.BW,Object.assign({key:$e},lt,{title:rt}),se(dt)):re.createElement(z,Object.assign({key:$e},lt,{title:rt}),se(dt)):we==="divider"?re.createElement(je,Object.assign({key:$e},lt)):re.createElement(b,Object.assign({key:$e},lt),rt)}return null}).filter(ft=>ft)}function ce(ut){return re.useMemo(()=>ut&&se(ut),[ut])}var ge=te(64993),ve=te(17313),Ee=te(8378),Je=te(13826),Me=te(29878),Ue=te(83116),Le=te(37613),ot=ut=>{const{componentCls:ft,motionDurationSlow:_e,horizontalLineHeight:Be,colorSplit:rt,lineWidth:dt,lineType:Re,itemPaddingInline:we}=ut;return{[`${ft}-horizontal`]:{lineHeight:Be,border:0,borderBottom:`${dt}px ${Re} ${rt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ft}-item, ${ft}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:we},[`> ${ft}-item:hover, - > ${ft}-item-active, - > ${ft}-submenu ${ft}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ft}-item, ${ft}-submenu-title`]:{transition:[`border-color ${_e}`,`background ${_e}`].join(",")},[`${ft}-submenu-arrow`]:{display:"none"}}}},it=ut=>{let{componentCls:ft,menuArrowOffset:_e}=ut;return{[`${ft}-rtl`]:{direction:"rtl"},[`${ft}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ft}-rtl${ft}-vertical, - ${ft}-submenu-rtl ${ft}-vertical`]:{[`${ft}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${_e})`},"&::after":{transform:`rotate(45deg) translateY(${_e})`}}}}};const nt=ut=>Object.assign({},(0,ve.oN)(ut));var St=(ut,ft)=>{const{componentCls:_e,itemColor:Be,itemSelectedColor:rt,groupTitleColor:dt,itemBg:Re,subMenuItemBg:we,itemSelectedBg:lt,activeBarHeight:$e,activeBarWidth:Ze,activeBarBorderWidth:ht,motionDurationSlow:An,motionEaseInOut:en,motionEaseOut:zt,itemPaddingInline:an,motionDurationMid:$t,itemHoverColor:Ye,lineType:et,colorSplit:Nt,itemDisabledColor:Gt,dangerItemColor:gn,dangerItemHoverColor:Rt,dangerItemSelectedColor:Fn,dangerItemActiveBg:jn,dangerItemSelectedBg:ea,itemHoverBg:xa,itemActiveBg:rn,menuSubMenuBg:Sa,horizontalItemSelectedColor:ro,horizontalItemSelectedBg:oa,horizontalItemBorderRadius:xn,horizontalItemHoverBg:wa,popupBg:Da}=ut;return{[`${_e}-${ft}, ${_e}-${ft} > ${_e}`]:{color:Be,background:Re,[`&${_e}-root:focus-visible`]:Object.assign({},nt(ut)),[`${_e}-item-group-title`]:{color:dt},[`${_e}-submenu-selected`]:{[`> ${_e}-submenu-title`]:{color:rt}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{color:`${Gt} !important`},[`${_e}-item:not(${_e}-item-selected):not(${_e}-submenu-selected)`]:{[`&:hover, > ${_e}-submenu-title:hover`]:{color:Ye}},[`&:not(${_e}-horizontal)`]:{[`${_e}-item:not(${_e}-item-selected)`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:rn}},[`${_e}-submenu-title`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:rn}}},[`${_e}-item-danger`]:{color:gn,[`&${_e}-item:hover`]:{[`&:not(${_e}-item-selected):not(${_e}-submenu-selected)`]:{color:Rt}},[`&${_e}-item:active`]:{background:jn}},[`${_e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${_e}-item-selected`]:{color:rt,[`&${_e}-item-danger`]:{color:Fn},"a, a:hover":{color:"inherit"}},[`& ${_e}-item-selected`]:{backgroundColor:lt,[`&${_e}-item-danger`]:{backgroundColor:ea}},[`${_e}-item, ${_e}-submenu-title`]:{[`&:not(${_e}-item-disabled):focus-visible`]:Object.assign({},nt(ut))},[`&${_e}-submenu > ${_e}`]:{backgroundColor:Sa},[`&${_e}-popup > ${_e}`]:{backgroundColor:Da},[`&${_e}-horizontal`]:Object.assign(Object.assign({},ft==="dark"?{borderBottom:0}:{}),{[`> ${_e}-item, > ${_e}-submenu`]:{top:ht,marginTop:-ht,marginBottom:0,borderRadius:xn,"&::after":{position:"absolute",insetInline:an,bottom:0,borderBottom:`${$e}px solid transparent`,transition:`border-color ${An} ${en}`,content:'""'},"&:hover, &-active, &-open":{background:wa,"&::after":{borderBottomWidth:$e,borderBottomColor:ro}},"&-selected":{color:ro,backgroundColor:oa,"&:hover":{backgroundColor:oa},"&::after":{borderBottomWidth:$e,borderBottomColor:ro}}}}),[`&${_e}-root`]:{[`&${_e}-inline, &${_e}-vertical`]:{borderInlineEnd:`${ht}px ${et} ${Nt}`}},[`&${_e}-inline`]:{[`${_e}-sub${_e}-inline`]:{background:we},[`${_e}-item, ${_e}-submenu-title`]:ht&&Ze?{width:`calc(100% + ${ht}px)`}:{},[`${_e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ze}px solid ${rt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${$t} ${zt}`,`opacity ${$t} ${zt}`].join(","),content:'""'},[`&${_e}-item-danger`]:{"&::after":{borderInlineEndColor:Fn}}},[`${_e}-selected, ${_e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${$t} ${en}`,`opacity ${$t} ${en}`].join(",")}}}}}};const He=ut=>{const{componentCls:ft,itemHeight:_e,itemMarginInline:Be,padding:rt,menuArrowSize:dt,marginXS:Re,itemMarginBlock:we}=ut,lt=rt+dt+Re;return{[`${ft}-item`]:{position:"relative",overflow:"hidden"},[`${ft}-item, ${ft}-submenu-title`]:{height:_e,lineHeight:`${_e}px`,paddingInline:rt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Be,marginBlock:we,width:`calc(100% - ${Be*2}px)`},[`> ${ft}-item, - > ${ft}-submenu > ${ft}-submenu-title`]:{height:_e,lineHeight:`${_e}px`},[`${ft}-item-group-list ${ft}-submenu-title, - ${ft}-submenu-title`]:{paddingInlineEnd:lt}}};var Ge=ut=>{const{componentCls:ft,iconCls:_e,itemHeight:Be,colorTextLightSolid:rt,dropdownWidth:dt,controlHeightLG:Re,motionDurationMid:we,motionEaseOut:lt,paddingXL:$e,itemMarginInline:Ze,fontSizeLG:ht,motionDurationSlow:An,paddingXS:en,boxShadowSecondary:zt,collapsedWidth:an,collapsedIconSize:$t}=ut,Ye={height:Be,lineHeight:`${Be}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ft]:{"&-inline, &-vertical":Object.assign({[`&${ft}-root`]:{boxShadow:"none"}},He(ut))},[`${ft}-submenu-popup`]:{[`${ft}-vertical`]:Object.assign(Object.assign({},He(ut)),{boxShadow:zt})}},{[`${ft}-submenu-popup ${ft}-vertical${ft}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${Re*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ft}-inline`]:{width:"100%",[`&${ft}-root`]:{[`${ft}-item, ${ft}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${An}`,`background ${An}`,`padding ${we} ${lt}`].join(","),[`> ${ft}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ft}-sub${ft}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ft}-submenu > ${ft}-submenu-title`]:Ye,[`& ${ft}-item-group-title`]:{paddingInlineStart:$e}},[`${ft}-item`]:Ye}},{[`${ft}-inline-collapsed`]:{width:an,[`&${ft}-root`]:{[`${ft}-item, ${ft}-submenu ${ft}-submenu-title`]:{[`> ${ft}-inline-collapsed-noicon`]:{fontSize:ht,textAlign:"center"}}},[`> ${ft}-item, - > ${ft}-item-group > ${ft}-item-group-list > ${ft}-item, - > ${ft}-item-group > ${ft}-item-group-list > ${ft}-submenu > ${ft}-submenu-title, - > ${ft}-submenu > ${ft}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${ht/2}px - ${Ze}px)`,textOverflow:"clip",[` - ${ft}-submenu-arrow, - ${ft}-submenu-expand-icon - `]:{opacity:0},[`${ft}-item-icon, ${_e}`]:{margin:0,fontSize:$t,lineHeight:`${Be}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ft}-item-icon, ${_e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ft}-item-icon, ${_e}`]:{display:"none"},"a, a:hover":{color:rt}},[`${ft}-item-group-title`]:Object.assign(Object.assign({},ve.vS),{paddingInline:en})}}]};const pt=ut=>{const{componentCls:ft,motionDurationSlow:_e,motionDurationMid:Be,motionEaseInOut:rt,motionEaseOut:dt,iconCls:Re,iconSize:we,iconMarginInlineEnd:lt}=ut;return{[`${ft}-item, ${ft}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${_e}`,`background ${_e}`,`padding ${_e} ${rt}`].join(","),[`${ft}-item-icon, ${Re}`]:{minWidth:we,fontSize:we,transition:[`font-size ${Be} ${dt}`,`margin ${_e} ${rt}`,`color ${_e}`].join(","),"+ span":{marginInlineStart:lt,opacity:1,transition:[`opacity ${_e} ${rt}`,`margin ${_e}`,`color ${_e}`].join(",")}},[`${ft}-item-icon`]:Object.assign({},(0,ve.Ro)()),[`&${ft}-item-only-child`]:{[`> ${Re}, > ${ft}-item-icon`]:{marginInlineEnd:0}}},[`${ft}-item-disabled, ${ft}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ft}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Lt=ut=>{const{componentCls:ft,motionDurationSlow:_e,motionEaseInOut:Be,borderRadius:rt,menuArrowSize:dt,menuArrowOffset:Re}=ut;return{[`${ft}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ut.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${_e} ${Be}, opacity ${_e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:rt,transition:[`background ${_e} ${Be}`,`transform ${_e} ${Be}`,`top ${_e} ${Be}`,`color ${_e} ${Be}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Re})`},"&::after":{transform:`rotate(-45deg) translateY(${Re})`}}}}},mt=ut=>{const{antCls:ft,componentCls:_e,fontSize:Be,motionDurationSlow:rt,motionDurationMid:dt,motionEaseInOut:Re,paddingXS:we,padding:lt,colorSplit:$e,lineWidth:Ze,zIndexPopup:ht,borderRadiusLG:An,subMenuItemBorderRadius:en,menuArrowSize:zt,menuArrowOffset:an,lineType:$t,menuPanelMaskInset:Ye,groupTitleLineHeight:et,groupTitleFontSize:Nt}=ut;return[{"":{[`${_e}`]:Object.assign(Object.assign({},(0,ve.dF)()),{"&-hidden":{display:"none"}})},[`${_e}-submenu-hidden`]:{display:"none"}},{[_e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ve.Wf)(ut)),(0,ve.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Be,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${rt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${_e}-item`]:{flex:"none"}},[`${_e}-item, ${_e}-submenu, ${_e}-submenu-title`]:{borderRadius:ut.itemBorderRadius},[`${_e}-item-group-title`]:{padding:`${we}px ${lt}px`,fontSize:Nt,lineHeight:et,transition:`all ${rt}`},[`&-horizontal ${_e}-submenu`]:{transition:[`border-color ${rt} ${Re}`,`background ${rt} ${Re}`].join(",")},[`${_e}-submenu, ${_e}-submenu-inline`]:{transition:[`border-color ${rt} ${Re}`,`background ${rt} ${Re}`,`padding ${dt} ${Re}`].join(",")},[`${_e}-submenu ${_e}-sub`]:{cursor:"initial",transition:[`background ${rt} ${Re}`,`padding ${rt} ${Re}`].join(",")},[`${_e}-title-content`]:{transition:`color ${rt}`},[`${_e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${_e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:$e,borderStyle:$t,borderWidth:0,borderTopWidth:Ze,marginBlock:Ze,padding:0,"&-dashed":{borderStyle:"dashed"}}}),pt(ut)),{[`${_e}-item-group`]:{[`${_e}-item-group-list`]:{margin:0,padding:0,[`${_e}-item, ${_e}-submenu-title`]:{paddingInline:`${Be*2}px ${lt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:ht,borderRadius:An,boxShadow:"none",transformOrigin:"0 0",[`&${_e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ye}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ye},"\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:ut.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ut.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ut.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ut.paddingXS},[`> ${_e}`]:Object.assign(Object.assign(Object.assign({borderRadius:An},pt(ut)),Lt(ut)),{[`${_e}-item, ${_e}-submenu > ${_e}-submenu-title`]:{borderRadius:en},[`${_e}-submenu-title::after`]:{transition:`transform ${rt} ${Re}`}})}}),Lt(ut)),{[`&-inline-collapsed ${_e}-submenu-arrow, - &-inline ${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${an})`},"&::after":{transform:`rotate(45deg) translateX(-${an})`}},[`${_e}-submenu-open${_e}-submenu-inline > ${_e}-submenu-title > ${_e}-submenu-arrow`]:{transform:`translateY(-${zt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${an})`},"&::before":{transform:`rotate(45deg) translateX(${an})`}}})},{[`${ft}-layout-header`]:{[_e]:{lineHeight:"inherit"}}}]};var Pn=(ut,ft)=>(0,Ue.Z)("Menu",Be=>{if(ft===!1)return[];const{colorBgElevated:rt,colorPrimary:dt,colorTextLightSolid:Re,controlHeightLG:we,fontSize:lt,darkItemColor:$e,darkDangerItemColor:Ze,darkItemBg:ht,darkSubMenuItemBg:An,darkItemSelectedColor:en,darkItemSelectedBg:zt,darkDangerItemSelectedBg:an,darkItemHoverBg:$t,darkGroupTitleColor:Ye,darkItemHoverColor:et,darkItemDisabledColor:Nt,darkDangerItemHoverColor:Gt,darkDangerItemSelectedColor:gn,darkDangerItemActiveBg:Rt}=Be,Fn=lt/7*5,jn=(0,Le.TS)(Be,{menuArrowSize:Fn,menuHorizontalHeight:we*1.15,menuArrowOffset:`${Fn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:rt}),ea=(0,Le.TS)(jn,{itemColor:$e,itemHoverColor:et,groupTitleColor:Ye,itemSelectedColor:en,itemBg:ht,popupBg:ht,subMenuItemBg:An,itemActiveBg:"transparent",itemSelectedBg:zt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:$t,itemDisabledColor:Nt,dangerItemColor:Ze,dangerItemHoverColor:Gt,dangerItemSelectedColor:gn,dangerItemActiveBg:Rt,dangerItemSelectedBg:an,menuSubMenuBg:An,horizontalItemSelectedColor:Re,horizontalItemSelectedBg:dt});return[mt(jn),ot(jn),Ge(jn),St(jn,"light"),St(ea,"dark"),it(jn),(0,Ee.Z)(jn),(0,Je.oN)(jn,"slide-up"),(0,Je.oN)(jn,"slide-down"),(0,Me._y)(jn,"zoom-big")]},Be=>{const{colorPrimary:rt,colorError:dt,colorTextDisabled:Re,colorErrorBg:we,colorText:lt,colorTextDescription:$e,colorBgContainer:Ze,colorFillAlter:ht,colorFillContent:An,lineWidth:en,lineWidthBold:zt,controlItemBgActive:an,colorBgTextHover:$t,controlHeightLG:Ye,lineHeight:et,colorBgElevated:Nt,marginXXS:Gt,padding:gn,fontSize:Rt,controlHeightSM:Fn,fontSizeLG:jn,colorTextLightSolid:ea,colorErrorHover:xa}=Be,rn=new ge.C(ea).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Be.zIndexPopupBase+50,radiusItem:Be.borderRadiusLG,itemBorderRadius:Be.borderRadiusLG,radiusSubMenuItem:Be.borderRadiusSM,subMenuItemBorderRadius:Be.borderRadiusSM,colorItemText:lt,itemColor:lt,colorItemTextHover:lt,itemHoverColor:lt,colorItemTextHoverHorizontal:rt,horizontalItemHoverColor:rt,colorGroupTitle:$e,groupTitleColor:$e,colorItemTextSelected:rt,itemSelectedColor:rt,colorItemTextSelectedHorizontal:rt,horizontalItemSelectedColor:rt,colorItemBg:Ze,itemBg:Ze,colorItemBgHover:$t,itemHoverBg:$t,colorItemBgActive:An,itemActiveBg:an,colorSubItemBg:ht,subMenuItemBg:ht,colorItemBgSelected:an,itemSelectedBg:an,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:zt,activeBarHeight:zt,colorActiveBarBorderSize:en,activeBarBorderWidth:en,colorItemTextDisabled:Re,itemDisabledColor:Re,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:we,dangerItemActiveBg:we,colorDangerItemBgSelected:we,dangerItemSelectedBg:we,itemMarginInline:Be.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ye,groupTitleLineHeight:et,collapsedWidth:Ye*2,popupBg:Nt,itemMarginBlock:Gt,itemPaddingInline:gn,horizontalLineHeight:`${Ye*1.15}px`,iconSize:Rt,iconMarginInlineEnd:Fn-Rt,collapsedIconSize:jn,groupTitleFontSize:Rt,darkItemDisabledColor:new ge.C(ea).setAlpha(.25).toRgbString(),darkItemColor:rn,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ea,darkItemSelectedBg:rt,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:rn,darkItemHoverColor:ea,darkDangerItemHoverColor:xa,darkDangerItemSelectedColor:ea,darkDangerItemActiveBg:dt}},{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"]]})(ut),ze=function(ut,ft){var _e={};for(var Be in ut)Object.prototype.hasOwnProperty.call(ut,Be)&&ft.indexOf(Be)<0&&(_e[Be]=ut[Be]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Be=Object.getOwnPropertySymbols(ut);rt{var _e,Be;const rt=re.useContext(ie.Z),dt=rt||{},{getPrefixCls:Re,getPopupContainer:we,direction:lt,menu:$e}=re.useContext(xe.E_),Ze=Re(),{prefixCls:ht,className:An,style:en,theme:zt="light",expandIcon:an,_internalDisableMenuItemTitleTooltip:$t,inlineCollapsed:Ye,siderCollapsed:et,items:Nt,children:Gt,rootClassName:gn,mode:Rt,selectable:Fn,onClick:jn,overflowedIndicatorPopupClassName:ea}=ut,xa=ze(ut,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),rn=(0,Ne.Z)(xa,["collapsedWidth"]),Sa=ce(Nt)||Gt;(_e=dt.validator)===null||_e===void 0||_e.call(dt,{mode:Rt});const ro=(0,ae.useEvent)(function(){var Ao;jn==null||jn.apply(void 0,arguments),(Ao=dt.onClick)===null||Ao===void 0||Ao.call(dt)}),oa=dt.mode||Rt,xn=Fn!=null?Fn:dt.selectable,wa=re.useMemo(()=>et!==void 0?et:Ye,[Ye,et]),Da={horizontal:{motionName:`${Ze}-slide-up`},inline:(0,le.Z)(Ze),other:{motionName:`${Ze}-zoom-big`}},Ht=Re("menu",ht||dt.prefixCls),[Dn,Wn]=Pn(Ht,!rt),fa=be()(`${Ht}-${zt}`,$e==null?void 0:$e.className,An);let ta;if(typeof an=="function")ta=an;else if(an===null||an===!1)ta=null;else if(dt.expandIcon===null||dt.expandIcon===!1)ta=null;else{const Ao=an!=null?an:dt.expandIcon;ta=(0,me.Tm)(Ao,{className:be()(`${Ht}-submenu-expand-icon`,(0,me.l$)(Ao)?(Be=Ao.props)===null||Be===void 0?void 0:Be.className:"")})}const za=re.useMemo(()=>({prefixCls:Ht,inlineCollapsed:wa||!1,direction:lt,firstLevel:!0,theme:zt,mode:oa,disableMenuItemTitleTooltip:$t}),[Ht,wa,lt,$t,zt]);return Dn(re.createElement(ie.Z.Provider,{value:null},re.createElement(a.Provider,{value:za},re.createElement(x.ZP,Object.assign({getPopupContainer:we,overflowedIndicator:re.createElement(ne.Z,null),overflowedIndicatorPopupClassName:be()(Ht,`${Ht}-${zt}`,ea),mode:oa,selectable:xn,onClick:ro},rn,{inlineCollapsed:wa,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),en),className:fa,prefixCls:Ht,direction:lt,defaultMotions:Da,expandIcon:ta,ref:ft,rootClassName:be()(gn,Wn)}),Sa))))});const tn=(0,re.forwardRef)((ut,ft)=>{const _e=(0,re.useRef)(null),Be=re.useContext(Pe.D);return(0,re.useImperativeHandle)(ft,()=>({menu:_e.current,focus:rt=>{var dt;(dt=_e.current)===null||dt===void 0||dt.focus(rt)}})),re.createElement(Wt,Object.assign({ref:_e},ut,Be))});tn.Item=b,tn.SubMenu=z,tn.Divider=je,tn.ItemGroup=x.BW;var En=tn},58421:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return dt}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(we,lt){return re.createElement(be.Z,(0,x.Z)({},we,{ref:lt,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(49198),Ie=te(33853),Ne=te(38819),De=te(92310),me=te.n(De),oe=te(20068),a=te(33885),E=te(67732),b=te(83652),y=te(42403),z=te(158),ne=te(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},le=ae,ie=te(91735),de=function(Re){(0,y.Z)(lt,Re);var we=(0,z.Z)(lt);function lt(){var $e;(0,E.Z)(this,lt);for(var Ze=arguments.length,ht=new Array(Ze),An=0;An=0||en.relatedTarget.className.indexOf("".concat(Ye,"-item"))>=0))&&$t($e.getValidValue()))},$e.go=function(en){var zt=$e.state.goInputText;zt!==""&&(en.keyCode===le.ENTER||en.type==="click")&&($e.setState({goInputText:""}),$e.props.quickGo($e.getValidValue()))},$e}return(0,b.Z)(lt,[{key:"getPageSizeOptions",value:function(){var Ze=this.props,ht=Ze.pageSize,An=Ze.pageSizeOptions;return An.some(function(en){return en.toString()===ht.toString()})?An:An.concat([ht.toString()]).sort(function(en,zt){var an=Number.isNaN(Number(en))?0:Number(en),$t=Number.isNaN(Number(zt))?0:Number(zt);return an-$t})}},{key:"render",value:function(){var Ze=this,ht=this.props,An=ht.pageSize,en=ht.locale,zt=ht.rootPrefixCls,an=ht.changeSize,$t=ht.quickGo,Ye=ht.goButton,et=ht.selectComponentClass,Nt=ht.buildOptionText,Gt=ht.selectPrefixCls,gn=ht.disabled,Rt=this.state.goInputText,Fn="".concat(zt,"-options"),jn=et,ea=null,xa=null,rn=null;if(!an&&!$t)return null;var Sa=this.getPageSizeOptions();if(an&&jn){var ro=Sa.map(function(oa,xn){return re.createElement(jn.Option,{key:xn,value:oa.toString()},(Nt||Ze.buildOptionText)(oa))});ea=re.createElement(jn,{disabled:gn,prefixCls:Gt,showSearch:!1,className:"".concat(Fn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(An||Sa[0]).toString(),onChange:this.changeSize,getPopupContainer:function(xn){return xn.parentNode},"aria-label":en.page_size,defaultOpen:!1},ro)}return $t&&(Ye&&(rn=typeof Ye=="boolean"?re.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:gn,className:"".concat(Fn,"-quick-jumper-button")},en.jump_to_confirm):re.createElement("span",{onClick:this.go,onKeyUp:this.go},Ye)),xa=re.createElement("div",{className:"".concat(Fn,"-quick-jumper")},en.jump_to,re.createElement("input",{disabled:gn,type:"text",value:Rt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":en.page}),en.page,rn)),re.createElement("li",{className:"".concat(Fn)},ea,xa)}}]),lt}(re.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var se=de,ce=function(we){var lt,$e=we.rootPrefixCls,Ze=we.page,ht=we.active,An=we.className,en=we.showTitle,zt=we.onClick,an=we.onKeyPress,$t=we.itemRender,Ye="".concat($e,"-item"),et=me()(Ye,"".concat(Ye,"-").concat(Ze),(lt={},(0,oe.Z)(lt,"".concat(Ye,"-active"),ht),(0,oe.Z)(lt,"".concat(Ye,"-disabled"),!Ze),(0,oe.Z)(lt,we.className,An),lt)),Nt=function(){zt(Ze)},Gt=function(Fn){an(Fn,zt,Ze)},gn=$t(Ze,"page",re.createElement("a",{rel:"nofollow"},Ze));return gn?re.createElement("li",{title:en?Ze.toString():null,className:et,onClick:Nt,onKeyPress:Gt,tabIndex:0},gn):null},ge=ce;function ve(){}function Ee(Re){var we=Number(Re);return typeof we=="number"&&!Number.isNaN(we)&&isFinite(we)&&Math.floor(we)===we}var Je=function(we,lt,$e){return $e};function Me(Re,we,lt){var $e=typeof Re=="undefined"?we.pageSize:Re;return Math.floor((lt.total-1)/$e)+1}var Ue=function(Re){(0,y.Z)(lt,Re);var we=(0,z.Z)(lt);function lt($e){var Ze;(0,E.Z)(this,lt),Ze=we.call(this,$e),Ze.paginationNode=re.createRef(),Ze.getJumpPrevPage=function(){return Math.max(1,Ze.state.current-(Ze.props.showLessItems?3:5))},Ze.getJumpNextPage=function(){return Math.min(Me(void 0,Ze.state,Ze.props),Ze.state.current+(Ze.props.showLessItems?3:5))},Ze.getItemIcon=function(an,$t){var Ye=Ze.props.prefixCls,et=an||re.createElement("button",{type:"button","aria-label":$t,className:"".concat(Ye,"-item-link")});return typeof an=="function"&&(et=re.createElement(an,(0,a.Z)({},Ze.props))),et},Ze.isValid=function(an){var $t=Ze.props.total;return Ee(an)&&an!==Ze.state.current&&Ee($t)&&$t>0},Ze.shouldDisplayQuickJumper=function(){var an=Ze.props,$t=an.showQuickJumper,Ye=an.total,et=Ze.state.pageSize;return Ye<=et?!1:$t},Ze.handleKeyDown=function(an){(an.keyCode===le.ARROW_UP||an.keyCode===le.ARROW_DOWN)&&an.preventDefault()},Ze.handleKeyUp=function(an){var $t=Ze.getValidValue(an),Ye=Ze.state.currentInputValue;$t!==Ye&&Ze.setState({currentInputValue:$t}),an.keyCode===le.ENTER?Ze.handleChange($t):an.keyCode===le.ARROW_UP?Ze.handleChange($t-1):an.keyCode===le.ARROW_DOWN&&Ze.handleChange($t+1)},Ze.handleBlur=function(an){var $t=Ze.getValidValue(an);Ze.handleChange($t)},Ze.changePageSize=function(an){var $t=Ze.state.current,Ye=Me(an,Ze.state,Ze.props);$t=$t>Ye?Ye:$t,Ye===0&&($t=Ze.state.current),typeof an=="number"&&("pageSize"in Ze.props||Ze.setState({pageSize:an}),"current"in Ze.props||Ze.setState({current:$t,currentInputValue:$t})),Ze.props.onShowSizeChange($t,an),"onChange"in Ze.props&&Ze.props.onChange&&Ze.props.onChange($t,an)},Ze.handleChange=function(an){var $t=Ze.props,Ye=$t.disabled,et=$t.onChange,Nt=Ze.state,Gt=Nt.pageSize,gn=Nt.current,Rt=Nt.currentInputValue;if(Ze.isValid(an)&&!Ye){var Fn=Me(void 0,Ze.state,Ze.props),jn=an;return an>Fn?jn=Fn:an<1&&(jn=1),"current"in Ze.props||Ze.setState({current:jn}),jn!==Rt&&Ze.setState({currentInputValue:jn}),et(jn,Gt),jn}return gn},Ze.prev=function(){Ze.hasPrev()&&Ze.handleChange(Ze.state.current-1)},Ze.next=function(){Ze.hasNext()&&Ze.handleChange(Ze.state.current+1)},Ze.jumpPrev=function(){Ze.handleChange(Ze.getJumpPrevPage())},Ze.jumpNext=function(){Ze.handleChange(Ze.getJumpNextPage())},Ze.hasPrev=function(){return Ze.state.current>1},Ze.hasNext=function(){return Ze.state.current2?Ye-2:0),Nt=2;Nt=An?zt=An:zt=Number(ht),zt}},{key:"getShowSizeChanger",value:function(){var Ze=this.props,ht=Ze.showSizeChanger,An=Ze.total,en=Ze.totalBoundaryShowSizeChanger;return typeof ht!="undefined"?ht:An>en}},{key:"render",value:function(){var Ze=this.props,ht=Ze.prefixCls,An=Ze.className,en=Ze.style,zt=Ze.disabled,an=Ze.hideOnSinglePage,$t=Ze.total,Ye=Ze.locale,et=Ze.showQuickJumper,Nt=Ze.showLessItems,Gt=Ze.showTitle,gn=Ze.showTotal,Rt=Ze.simple,Fn=Ze.itemRender,jn=Ze.showPrevNextJumpers,ea=Ze.jumpPrevIcon,xa=Ze.jumpNextIcon,rn=Ze.selectComponentClass,Sa=Ze.selectPrefixCls,ro=Ze.pageSizeOptions,oa=this.state,xn=oa.current,wa=oa.pageSize,Da=oa.currentInputValue;if(an===!0&&$t<=wa)return null;var Ht=Me(void 0,this.state,this.props),Dn=[],Wn=null,fa=null,ta=null,za=null,Ao=null,Ar=et&&et.goButton,Dr=Nt?1:2,Na=xn-1>0?xn-1:0,xt=xn+1$t?$t:xn*wa]));if(Rt){Ar&&(typeof Ar=="boolean"?Ao=re.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ye.jump_to_confirm):Ao=re.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ar),Ao=re.createElement("li",{title:Gt?"".concat(Ye.jump_to).concat(xn,"/").concat(Ht):null,className:"".concat(ht,"-simple-pager")},Ao));var In=this.renderPrev(Na);return re.createElement("ul",(0,x.Z)({className:me()(ht,"".concat(ht,"-simple"),(0,oe.Z)({},"".concat(ht,"-disabled"),zt),An),style:en,ref:this.paginationNode},It),Dt,In?re.createElement("li",{title:Gt?Ye.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:me()("".concat(ht,"-prev"),(0,oe.Z)({},"".concat(ht,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},In):null,re.createElement("li",{title:Gt?"".concat(xn,"/").concat(Ht):null,className:"".concat(ht,"-simple-pager")},re.createElement("input",{type:"text",value:Da,disabled:zt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),re.createElement("span",{className:"".concat(ht,"-slash")},"/"),Ht),re.createElement("li",{title:Gt?Ye.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:me()("".concat(ht,"-next"),(0,oe.Z)({},"".concat(ht,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(xt)),Ao)}if(Ht<=3+Dr*2){var na={locale:Ye,rootPrefixCls:ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Gt,itemRender:Fn};Ht||Dn.push(re.createElement(ge,(0,x.Z)({},na,{key:"noPager",page:1,className:"".concat(ht,"-item-disabled")})));for(var Hn=1;Hn<=Ht;Hn+=1){var Qo=xn===Hn;Dn.push(re.createElement(ge,(0,x.Z)({},na,{key:Hn,page:Hn,active:Qo})))}}else{var Oa=Nt?Ye.prev_3:Ye.prev_5,lo=Nt?Ye.next_3:Ye.next_5,hr=Fn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ea,"prev page")),ao=Fn(this.getJumpNextPage(),"jump-next",this.getItemIcon(xa,"next page"));jn&&(Wn=hr?re.createElement("li",{title:Gt?Oa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:me()("".concat(ht,"-jump-prev"),(0,oe.Z)({},"".concat(ht,"-jump-prev-custom-icon"),!!ea))},hr):null,fa=ao?re.createElement("li",{title:Gt?lo:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:me()("".concat(ht,"-jump-next"),(0,oe.Z)({},"".concat(ht,"-jump-next-custom-icon"),!!xa))},ao):null),za=re.createElement(ge,{locale:Ye,last:!0,rootPrefixCls:ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ht,page:Ht,active:!1,showTitle:Gt,itemRender:Fn}),ta=re.createElement(ge,{locale:Ye,rootPrefixCls:ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Gt,itemRender:Fn});var Zn=Math.max(1,xn-Dr),sr=Math.min(xn+Dr,Ht);xn-1<=Dr&&(sr=1+Dr*2),Ht-xn<=Dr&&(Zn=Ht-Dr*2);for(var Gr=Zn;Gr<=sr;Gr+=1){var Er=xn===Gr;Dn.push(re.createElement(ge,{locale:Ye,rootPrefixCls:ht,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Gr,page:Gr,active:Er,showTitle:Gt,itemRender:Fn}))}xn-1>=Dr*2&&xn!==3&&(Dn[0]=(0,re.cloneElement)(Dn[0],{className:"".concat(ht,"-item-after-jump-prev")}),Dn.unshift(Wn)),Ht-xn>=Dr*2&&xn!==Ht-2&&(Dn[Dn.length-1]=(0,re.cloneElement)(Dn[Dn.length-1],{className:"".concat(ht,"-item-before-jump-next")}),Dn.push(fa)),Zn!==1&&Dn.unshift(ta),sr!==Ht&&Dn.push(za)}var Go=!this.hasPrev()||!Ht,Et=!this.hasNext()||!Ht,pn=this.renderPrev(Na),vn=this.renderNext(xt);return re.createElement("ul",(0,x.Z)({className:me()(ht,An,(0,oe.Z)({},"".concat(ht,"-disabled"),zt)),style:en,ref:this.paginationNode},It),Dt,pn?re.createElement("li",{title:Gt?Ye.prev_page:null,onClick:this.prev,tabIndex:Go?null:0,onKeyPress:this.runIfEnterPrev,className:me()("".concat(ht,"-prev"),(0,oe.Z)({},"".concat(ht,"-disabled"),Go)),"aria-disabled":Go},pn):null,Dn,vn?re.createElement("li",{title:Gt?Ye.next_page:null,onClick:this.next,tabIndex:Et?null:0,onKeyPress:this.runIfEnterNext,className:me()("".concat(ht,"-next"),(0,oe.Z)({},"".concat(ht,"-disabled"),Et)),"aria-disabled":Et},vn):null,re.createElement(se,{disabled:zt,locale:Ye,rootPrefixCls:ht,selectComponentClass:rn,selectPrefixCls:Sa,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:xn,pageSize:wa,pageSizeOptions:ro,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ar}))}}],[{key:"getDerivedStateFromProps",value:function(Ze,ht){var An={};if("current"in Ze&&(An.current=Ze.current,Ze.current!==ht.current&&(An.currentInputValue=An.current)),"pageSize"in Ze&&Ze.pageSize!==ht.pageSize){var en=ht.current,zt=Me(Ze.pageSize,ht,Ze);en=en>zt?zt:en,"current"in Ze||(An.current=en,An.currentInputValue=en),An.pageSize=Ze.pageSize}return An}}]),lt}(re.Component);Ue.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ve,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ve,locale:ie.Z,style:{},itemRender:Je,totalBoundaryShowSizeChanger:50};var Le=Ue,ke=te(22075),ot=te(36355),gt=te(19716),it=te(8628),nt=te(9763),Xe=te(57809);const St=Re=>re.createElement(Xe.default,Object.assign({},Re,{showSearch:!0,size:"small"})),He=Re=>re.createElement(Xe.default,Object.assign({},Re,{showSearch:!0,size:"middle"}));St.Option=Xe.default.Option,He.Option=Xe.default.Option;var Te=te(9937),Ge=te(17313),pt=te(83116),Lt=te(37613);const mt=Re=>{const{componentCls:we}=Re;return{[`${we}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${we}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${we}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}}},[`&${we}-disabled`]:{cursor:"not-allowed",[`${we}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Re.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Re.colorBorder,backgroundColor:Re.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Re.itemActiveBgDisabled},a:{color:Re.itemActiveColorDisabled}}},[`${we}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${we}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${we}-simple-pager`]:{color:Re.colorTextDisabled},[`${we}-jump-prev, ${we}-jump-next`]:{[`${we}-item-link-icon`]:{opacity:0},[`${we}-item-ellipsis`]:{opacity:1}}},[`&${we}-simple`]:{[`${we}-prev, ${we}-next`]:{[`&${we}-disabled ${we}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Pn=Re=>{const{componentCls:we}=Re;return{[`&${we}-mini ${we}-total-text, &${we}-mini ${we}-simple-pager`]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`},[`&${we}-mini ${we}-item`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM-2}px`},[`&${we}-mini:not(${we}-disabled) ${we}-item:not(${we}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},[`&${we}-mini ${we}-prev, &${we}-mini ${we}-next`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM}px`},[`&${we}-mini:not(${we}-disabled)`]:{[`${we}-prev, ${we}-next`]:{[`&:hover ${we}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${we}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${we}-disabled:hover ${we}-item-link`]:{backgroundColor:"transparent"}}},[` - &${we}-mini ${we}-prev ${we}-item-link, - &${we}-mini ${we}-next ${we}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}},[`&${we}-mini ${we}-jump-prev, &${we}-mini ${we}-jump-next`]:{height:Re.itemSizeSM,marginInlineEnd:0,lineHeight:`${Re.itemSizeSM}px`},[`&${we}-mini ${we}-options`]:{marginInlineStart:Re.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Re.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Te.x0)(Re)),{width:Re.paginationMiniQuickJumperInputWidth,height:Re.controlHeightSM})}}}},ze=Re=>{const{componentCls:we}=Re;return{[` - &${we}-simple ${we}-prev, - &${we}-simple ${we}-next - `]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,verticalAlign:"top",[`${we}-item-link`]:{height:Re.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive},"&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}}},[`&${we}-simple ${we}-simple-pager`]:{display:"inline-block",height:Re.itemSizeSM,marginInlineEnd:Re.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Re.marginXS,padding:`0 ${Re.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Re.itemInputBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadius,outline:"none",transition:`border-color ${Re.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Re.colorPrimary},"&:focus":{borderColor:Re.colorPrimaryHover,boxShadow:`${Re.inputOutlineOffset}px 0 ${Re.controlOutlineWidth}px ${Re.controlOutline}`},"&[disabled]":{color:Re.colorTextDisabled,backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,cursor:"not-allowed"}}}}},At=Re=>{const{componentCls:we}=Re;return{[`${we}-jump-prev, ${we}-jump-next`]:{outline:0,[`${we}-item-container`]:{position:"relative",[`${we}-item-link-icon`]:{color:Re.colorPrimary,fontSize:Re.fontSizeSM,opacity:0,transition:`all ${Re.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${we}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Re.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Re.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Re.paginationEllipsisTextIndent,opacity:1,transition:`all ${Re.motionDurationMid}`}},"&:hover":{[`${we}-item-link-icon`]:{opacity:1},[`${we}-item-ellipsis`]:{opacity:0}}},[` - ${we}-prev, - ${we}-jump-prev, - ${we}-jump-next - `]:{marginInlineEnd:Re.marginXS},[` - ${we}-prev, - ${we}-next, - ${we}-jump-prev, - ${we}-jump-next - `]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,color:Re.colorText,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Re.borderRadius,cursor:"pointer",transition:`all ${Re.motionDurationMid}`},[`${we}-prev, ${we}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Re.colorText,cursor:"pointer",userSelect:"none"},[`${we}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Re.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:"none",transition:`all ${Re.motionDurationMid}`},[`&:hover ${we}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${we}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${we}-disabled:hover`]:{[`${we}-item-link`]:{backgroundColor:"transparent"}}},[`${we}-slash`]:{marginInlineEnd:Re.paginationSlashMarginInlineEnd,marginInlineStart:Re.paginationSlashMarginInlineStart},[`${we}-options`]:{display:"inline-block",marginInlineStart:Re.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Re.controlHeight,marginInlineStart:Re.marginXS,lineHeight:`${Re.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Te.ik)(Re)),{width:Re.controlHeightLG*1.25,height:Re.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Re.marginXS,marginInlineEnd:Re.marginXS})}}}},Wt=Re=>{const{componentCls:we}=Re;return{[`${we}-item`]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,marginInlineEnd:Re.marginXS,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Re.paginationItemPaddingInline}px`,color:Re.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${we}-item-active)`]:{"&:hover":{transition:`all ${Re.motionDurationMid}`,backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},"&-active":{fontWeight:Re.fontWeightStrong,backgroundColor:Re.itemActiveBg,borderColor:Re.colorPrimary,a:{color:Re.colorPrimary},"&:hover":{borderColor:Re.colorPrimaryHover},"&:hover a":{color:Re.colorPrimaryHover}}}}},tn=Re=>{const{componentCls:we}=Re;return{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(Re)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${we}-total-text`]:{display:"inline-block",height:Re.itemSize,marginInlineEnd:Re.marginXS,lineHeight:`${Re.itemSize-2}px`,verticalAlign:"middle"}}),Wt(Re)),At(Re)),ze(Re)),Pn(Re)),mt(Re)),{[`@media only screen and (max-width: ${Re.screenLG}px)`]:{[`${we}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Re.screenSM}px)`]:{[`${we}-options`]:{display:"none"}}}),[`&${Re.componentCls}-rtl`]:{direction:"rtl"}}},En=Re=>{const{componentCls:we}=Re;return{[`${we}${we}-disabled:not(${we}-mini)`]:{"&, &:hover":{[`${we}-item-link`]:{borderColor:Re.colorBorder}},"&:focus-visible":{[`${we}-item-link`]:{borderColor:Re.colorBorder}},[`${we}-item, ${we}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,[`&:hover:not(${we}-item-active)`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,a:{color:Re.colorTextDisabled}},[`&${we}-item-active`]:{backgroundColor:Re.itemActiveBgDisabled}},[`${we}-prev, ${we}-next`]:{"&:hover button":{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,color:Re.colorTextDisabled},[`${we}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder}}},[`${we}:not(${we}-mini)`]:{[`${we}-prev, ${we}-next`]:{"&:hover button":{borderColor:Re.colorPrimaryHover,backgroundColor:Re.itemBg},[`${we}-item-link`]:{backgroundColor:Re.itemLinkBg,borderColor:Re.colorBorder},[`&:hover ${we}-item-link`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,color:Re.colorPrimary},[`&${we}-disabled`]:{[`${we}-item-link`]:{borderColor:Re.colorBorder,color:Re.colorTextDisabled}}},[`${we}-item`]:{backgroundColor:Re.itemBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,[`&:hover:not(${we}-item-active)`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,a:{color:Re.colorPrimary}},"&-active":{borderColor:Re.colorPrimary}}}}},ut=Re=>{const{componentCls:we}=Re;return{[`${we}:not(${we}-disabled)`]:{[`${we}-item`]:Object.assign({},(0,Ge.Qy)(Re)),[`${we}-jump-prev, ${we}-jump-next`]:{"&:focus-visible":Object.assign({[`${we}-item-link-icon`]:{opacity:1},[`${we}-item-ellipsis`]:{opacity:0}},(0,Ge.oN)(Re))},[`${we}-prev, ${we}-next`]:{[`&:focus-visible ${we}-item-link`]:Object.assign({},(0,Ge.oN)(Re))}}}};var ft=(0,pt.Z)("Pagination",Re=>{const we=(0,Lt.TS)(Re,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Re.marginXXS/2,paginationMiniQuickJumperInputWidth:Re.controlHeightLG*1.1,paginationItemPaddingInline:Re.marginXXS*1.5,paginationEllipsisLetterSpacing:Re.marginXXS/2,paginationSlashMarginInlineStart:Re.marginXXS,paginationSlashMarginInlineEnd:Re.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Te.e5)(Re),(0,Te.TM)(Re));return[tn(we),ut(we),Re.wireframe&&En(we)]},Re=>({itemBg:Re.colorBgContainer,itemSize:Re.controlHeight,itemSizeSM:Re.controlHeightSM,itemActiveBg:Re.colorBgContainer,itemLinkBg:Re.colorBgContainer,itemActiveColorDisabled:Re.colorTextDisabled,itemActiveBgDisabled:Re.controlItemBgActiveDisabled,itemInputBg:Re.colorBgContainer,miniOptionsSizeChangerTop:0})),_e=function(Re,we){var lt={};for(var $e in Re)Object.prototype.hasOwnProperty.call(Re,$e)&&we.indexOf($e)<0&&(lt[$e]=Re[$e]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,$e=Object.getOwnPropertySymbols(Re);Ze<$e.length;Ze++)we.indexOf($e[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Re,$e[Ze])&&(lt[$e[Ze]]=Re[$e[Ze]]);return lt},rt=Re=>{const{prefixCls:we,selectPrefixCls:lt,className:$e,rootClassName:Ze,style:ht,size:An,locale:en,selectComponentClass:zt,responsive:an,showSizeChanger:$t}=Re,Ye=_e(Re,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:et}=(0,it.Z)(an),{getPrefixCls:Nt,direction:Gt,pagination:gn={}}=re.useContext(ot.E_),Rt=Nt("pagination",we),[Fn,jn]=ft(Rt),ea=$t!=null?$t:gn.showSizeChanger,xa=re.useMemo(()=>{const Ht=re.createElement("span",{className:`${Rt}-item-ellipsis`},"\u2022\u2022\u2022"),Dn=re.createElement("button",{className:`${Rt}-item-link`,type:"button",tabIndex:-1},Gt==="rtl"?re.createElement(Ne.Z,null):re.createElement(Ie.Z,null)),Wn=re.createElement("button",{className:`${Rt}-item-link`,type:"button",tabIndex:-1},Gt==="rtl"?re.createElement(Ie.Z,null):re.createElement(Ne.Z,null)),fa=re.createElement("a",{className:`${Rt}-item-link`},re.createElement("div",{className:`${Rt}-item-container`},Gt==="rtl"?re.createElement(je.Z,{className:`${Rt}-item-link-icon`}):re.createElement(Oe,{className:`${Rt}-item-link-icon`}),Ht)),ta=re.createElement("a",{className:`${Rt}-item-link`},re.createElement("div",{className:`${Rt}-item-container`},Gt==="rtl"?re.createElement(Oe,{className:`${Rt}-item-link-icon`}):re.createElement(je.Z,{className:`${Rt}-item-link-icon`}),Ht));return{prevIcon:Dn,nextIcon:Wn,jumpPrevIcon:fa,jumpNextIcon:ta}},[Gt,Rt]),[rn]=(0,nt.Z)("Pagination",ke.Z),Sa=Object.assign(Object.assign({},rn),en),ro=(0,gt.Z)(An),oa=ro==="small"||!!(et&&!ro&&an),xn=Nt("select",lt),wa=me()({[`${Rt}-mini`]:oa,[`${Rt}-rtl`]:Gt==="rtl"},gn==null?void 0:gn.className,$e,Ze,jn),Da=Object.assign(Object.assign({},gn==null?void 0:gn.style),ht);return Fn(re.createElement(Le,Object.assign({},xa,Ye,{style:Da,prefixCls:Rt,selectPrefixCls:xn,className:wa,selectComponentClass:zt||(oa?St:He),locale:Sa,showSizeChanger:ea})))},dt=rt},39722:function(at,Qe,te){"use strict";te.d(Qe,{t5:function(){return Ie}});var x=te(92310),re=te.n(x),Pe=te(55477),Fe=te(59301),be=te(36355),xe=te(77578),ue=te(17356),Oe=function(De,me){var oe={};for(var a in De)Object.prototype.hasOwnProperty.call(De,a)&&me.indexOf(a)<0&&(oe[a]=De[a]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(De);E{if(!(!me&&!oe))return Fe.createElement(Fe.Fragment,null,me&&Fe.createElement("div",{className:`${De}-title`},(0,xe.Z)(me)),Fe.createElement("div",{className:`${De}-inner-content`},(0,xe.Z)(oe)))},Ie=De=>{const{hashId:me,prefixCls:oe,className:a,style:E,placement:b="top",title:y,content:z,children:ne}=De;return Fe.createElement("div",{className:re()(me,oe,`${oe}-pure`,`${oe}-placement-${b}`,a),style:E},Fe.createElement("div",{className:`${oe}-arrow`}),Fe.createElement(Pe.G,Object.assign({},De,{className:me,prefixCls:oe}),ne||je(oe,y,z)))},Ne=De=>{const{prefixCls:me}=De,oe=Oe(De,["prefixCls"]),{getPrefixCls:a}=Fe.useContext(be.E_),E=a("popover",me),[b,y]=(0,ue.Z)(E);return b(Fe.createElement(Ie,Object.assign({},oe,{prefixCls:E,hashId:y})))};Qe.ZP=Ne},60324:function(at,Qe,te){"use strict";var x=te(92310),re=te.n(x),Pe=te(59301),Fe=te(77578),be=te(62892),xe=te(36355),ue=te(6848),Oe=te(39722),je=te(17356),Ie=function(me,oe){var a={};for(var E in me)Object.prototype.hasOwnProperty.call(me,E)&&oe.indexOf(E)<0&&(a[E]=me[E]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,E=Object.getOwnPropertySymbols(me);b{let{title:oe,content:a,prefixCls:E}=me;return Pe.createElement(Pe.Fragment,null,oe&&Pe.createElement("div",{className:`${E}-title`},(0,Fe.Z)(oe)),Pe.createElement("div",{className:`${E}-inner-content`},(0,Fe.Z)(a)))},De=Pe.forwardRef((me,oe)=>{const{prefixCls:a,title:E,content:b,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:le=.1,overlayStyle:ie={}}=me,de=Ie(me,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:se}=Pe.useContext(xe.E_),ce=se("popover",a),[ge,ve]=(0,je.Z)(ce),Ee=se(),Je=re()(y,ve);return ge(Pe.createElement(ue.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:ae,mouseLeaveDelay:le,overlayStyle:ie},de,{prefixCls:ce,overlayClassName:Je,ref:oe,overlay:E||b?Pe.createElement(Ne,{prefixCls:ce,title:E,content:b}):null,transitionName:(0,be.m)(Ee,"zoom-big",de.transitionName),"data-popover-inject":!0})))});De._InternalPanelDoNotUseOrYouWillBeFired=Oe.ZP,Qe.Z=De},17356:function(at,Qe,te){"use strict";var x=te(17313),re=te(29878),Pe=te(19447),Fe=te(33166),be=te(83116),xe=te(37613);const ue=Ie=>{const{componentCls:Ne,popoverColor:De,minWidth:me,fontWeightStrong:oe,popoverPadding:a,boxShadowSecondary:E,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:ae,popoverBg:le}=Ie;return[{[Ne]:Object.assign(Object.assign({},(0,x.Wf)(Ie)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Ne}-content`]:{position:"relative"},[`${Ne}-inner`]:{backgroundColor:le,backgroundClip:"padding-box",borderRadius:y,boxShadow:E,padding:a},[`${Ne}-title`]:{minWidth:me,marginBottom:ne,color:b,fontWeight:oe},[`${Ne}-inner-content`]:{color:De}})},(0,Pe.ZP)(Ie,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ne}-pure`]:{position:"relative",maxWidth:"none",margin:Ie.sizePopupArrow,display:"inline-block",[`${Ne}-content`]:{display:"inline-block"}}}]},Oe=Ie=>{const{componentCls:Ne}=Ie;return{[Ne]:Fe.i.map(De=>{const me=Ie[`${De}6`];return{[`&${Ne}-${De}`]:{"--antd-arrow-background-color":me,[`${Ne}-inner`]:{backgroundColor:me},[`${Ne}-arrow`]:{background:"transparent"}}}})}},je=Ie=>{const{componentCls:Ne,lineWidth:De,lineType:me,colorSplit:oe,paddingSM:a,controlHeight:E,fontSize:b,lineHeight:y,padding:z}=Ie,ne=E-Math.round(b*y),ae=ne/2,le=ne/2-De,ie=z;return{[Ne]:{[`${Ne}-inner`]:{padding:0},[`${Ne}-title`]:{margin:0,padding:`${ae}px ${ie}px ${le}px`,borderBottom:`${De}px ${me} ${oe}`},[`${Ne}-inner-content`]:{padding:`${a}px ${ie}px`}}}};Qe.Z=(0,be.Z)("Popover",Ie=>{const{colorBgElevated:Ne,colorText:De,wireframe:me}=Ie,oe=(0,xe.TS)(Ie,{popoverPadding:12,popoverBg:Ne,popoverColor:De});return[ue(oe),Oe(oe),me&&je(oe),(0,re._y)(oe,"zoom-big")]},Ie=>({width:177,minWidth:177,zIndexPopup:Ie.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return $t}});var x=te(59301),re=te(29679),Pe=te(40001),Fe=te(19248),be=te(99267),xe=te(92310),ue=te.n(xe),Oe=te(2738),je=te(36355),Ie=te(54476),Ne=te(33885),De=te(75931),me={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var et=(0,x.useRef)([]),Nt=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Gt=Date.now(),gn=!1;et.current.forEach(function(Rt){if(Rt){gn=!0;var Fn=Rt.style;Fn.transitionDuration=".3s, .3s, .3s, .06s",Nt.current&&Gt-Nt.current<100&&(Fn.transitionDuration="0s, 0s")}}),gn&&(Nt.current=Date.now())}),et.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],E=function(et){var Nt=(0,Ne.Z)((0,Ne.Z)({},me),et),Gt=Nt.className,gn=Nt.percent,Rt=Nt.prefixCls,Fn=Nt.strokeColor,jn=Nt.strokeLinecap,ea=Nt.strokeWidth,xa=Nt.style,rn=Nt.trailColor,Sa=Nt.trailWidth,ro=Nt.transition,oa=(0,De.Z)(Nt,a);delete oa.gapPosition;var xn=Array.isArray(gn)?gn:[gn],wa=Array.isArray(Fn)?Fn:[Fn],Da=oe(),Ht=ea/2,Dn=100-ea/2,Wn="M ".concat(jn==="round"?Ht:0,",").concat(Ht,` - L `).concat(jn==="round"?Dn:100,",").concat(Ht),fa="0 0 100 ".concat(ea),ta=0;return x.createElement("svg",(0,Ie.Z)({className:ue()("".concat(Rt,"-line"),Gt),viewBox:fa,preserveAspectRatio:"none",style:xa},oa),x.createElement("path",{className:"".concat(Rt,"-line-trail"),d:Wn,strokeLinecap:jn,stroke:rn,strokeWidth:Sa||ea,fillOpacity:"0"}),xn.map(function(za,Ao){var Ar=1;switch(jn){case"round":Ar=1-ea/100;break;case"square":Ar=1-ea/2/100;break;default:Ar=1;break}var Dr={strokeDasharray:"".concat(za*Ar,"px, 100px"),strokeDashoffset:"-".concat(ta,"px"),transition:ro||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Na=wa[Ao]||wa[wa.length-1];return ta+=za,x.createElement("path",{key:Ao,className:"".concat(Rt,"-line-path"),d:Wn,strokeLinecap:jn,stroke:Na,strokeWidth:ea,fillOpacity:"0",ref:function(It){Da[Ao]=It},style:Dr})}))},b=E,y=te(76190),z=te(42978),ne=te(47273),ae=0,le=(0,ne.Z)();function ie(){var Ye;return le?(Ye=ae,ae+=1):Ye="TEST_OR_SSR",Ye}var de=function(Ye){var et=x.useState(),Nt=(0,z.Z)(et,2),Gt=Nt[0],gn=Nt[1];return x.useEffect(function(){gn("rc_progress_".concat(ie()))},[]),Ye||Gt},se=function(et){var Nt=et.bg,Gt=et.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Nt}},Gt)};function ce(Ye,et){return Object.keys(Ye).map(function(Nt){var Gt=parseFloat(Nt),gn="".concat(Math.floor(Gt*et),"%");return"".concat(Ye[Nt]," ").concat(gn)})}var ge=x.forwardRef(function(Ye,et){var Nt=Ye.prefixCls,Gt=Ye.color,gn=Ye.gradientId,Rt=Ye.radius,Fn=Ye.style,jn=Ye.ptg,ea=Ye.strokeLinecap,xa=Ye.strokeWidth,rn=Ye.size,Sa=Ye.gapDegree,ro=Gt&&(0,y.Z)(Gt)==="object",oa=ro?"#FFF":void 0,xn=rn/2,wa=x.createElement("circle",{className:"".concat(Nt,"-circle-path"),r:Rt,cx:xn,cy:xn,stroke:oa,strokeLinecap:ea,strokeWidth:xa,opacity:jn===0?0:1,style:Fn,ref:et});if(!ro)return wa;var Da="".concat(gn,"-conic"),Ht=Sa?"".concat(180+Sa/2,"deg"):"0deg",Dn=ce(Gt,(360-Sa)/360),Wn=ce(Gt,1),fa="conic-gradient(from ".concat(Ht,", ").concat(Dn.join(", "),")"),ta="linear-gradient(to ".concat(Sa?"bottom":"top",", ").concat(Wn.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Da},wa),x.createElement("foreignObject",{x:0,y:0,width:rn,height:rn,mask:"url(#".concat(Da,")")},x.createElement(se,{bg:ta},x.createElement(se,{bg:fa}))))}),ve=ge,Ee=100,Je=function(et,Nt,Gt,gn,Rt,Fn,jn,ea,xa,rn){var Sa=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ro=Gt/100*360*((360-Fn)/360),oa=Fn===0?0:{bottom:0,top:180,left:90,right:-90}[jn],xn=(100-gn)/100*Nt;xa==="round"&&gn!==100&&(xn+=rn/2,xn>=Nt&&(xn=Nt-.01));var wa=Ee/2;return{stroke:typeof ea=="string"?ea:void 0,strokeDasharray:"".concat(Nt,"px ").concat(et),strokeDashoffset:xn+Sa,transform:"rotate(".concat(Rt+ro+oa,"deg)"),transformOrigin:"".concat(wa,"px ").concat(wa,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Me=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ue(Ye){var et=Ye!=null?Ye:[];return Array.isArray(et)?et:[et]}var Le=function(et){var Nt=(0,Ne.Z)((0,Ne.Z)({},me),et),Gt=Nt.id,gn=Nt.prefixCls,Rt=Nt.steps,Fn=Nt.strokeWidth,jn=Nt.trailWidth,ea=Nt.gapDegree,xa=ea===void 0?0:ea,rn=Nt.gapPosition,Sa=Nt.trailColor,ro=Nt.strokeLinecap,oa=Nt.style,xn=Nt.className,wa=Nt.strokeColor,Da=Nt.percent,Ht=(0,De.Z)(Nt,Me),Dn=Ee/2,Wn=de(Gt),fa="".concat(Wn,"-gradient"),ta=Dn-Fn/2,za=Math.PI*2*ta,Ao=xa>0?90+xa/2:-90,Ar=za*((360-xa)/360),Dr=(0,y.Z)(Rt)==="object"?Rt:{count:Rt,space:2},Na=Dr.count,xt=Dr.space,It=Ue(Da),Dt=Ue(wa),In=Dt.find(function(ao){return ao&&(0,y.Z)(ao)==="object"}),na=In&&(0,y.Z)(In)==="object",Hn=na?"butt":ro,Qo=Je(za,Ar,0,100,Ao,xa,rn,Sa,Hn,Fn),Oa=oe(),lo=function(){var Zn=0;return It.map(function(sr,Gr){var Er=Dt[Gr]||Dt[Dt.length-1],Go=Je(za,Ar,Zn,sr,Ao,xa,rn,Er,Hn,Fn);return Zn+=sr,x.createElement(ve,{key:Gr,color:Er,ptg:sr,radius:ta,prefixCls:gn,gradientId:fa,style:Go,strokeLinecap:Hn,strokeWidth:Fn,gapDegree:xa,ref:function(pn){Oa[Gr]=pn},size:Ee})}).reverse()},hr=function(){var Zn=Math.round(Na*(It[0]/100)),sr=100/Na,Gr=0;return new Array(Na).fill(null).map(function(Er,Go){var Et=Go<=Zn-1?Dt[0]:Sa,pn=Et&&(0,y.Z)(Et)==="object"?"url(#".concat(fa,")"):void 0,vn=Je(za,Ar,Gr,sr,Ao,xa,rn,Et,"butt",Fn,xt);return Gr+=(Ar-vn.strokeDashoffset+xt)*100/Ar,x.createElement("circle",{key:Go,className:"".concat(gn,"-circle-path"),r:ta,cx:Dn,cy:Dn,stroke:pn,strokeWidth:Fn,opacity:1,style:vn,ref:function(Sn){Oa[Go]=Sn}})})};return x.createElement("svg",(0,Ie.Z)({className:ue()("".concat(gn,"-circle"),xn),viewBox:"0 0 ".concat(Ee," ").concat(Ee),style:oa,id:Gt,role:"presentation"},Ht),!Na&&x.createElement("circle",{className:"".concat(gn,"-circle-trail"),r:ta,cx:Dn,cy:Dn,stroke:Sa,strokeLinecap:Hn,strokeWidth:jn||Fn,style:Qo}),Na?hr():lo())},ke=Le,ot={Line:b,Circle:ke},gt=te(6848),it=te(30071);function nt(Ye){return!Ye||Ye<0?0:Ye>100?100:Ye}function Xe(Ye){let{success:et,successPercent:Nt}=Ye,Gt=Nt;return et&&"progress"in et&&(Gt=et.progress),et&&"percent"in et&&(Gt=et.percent),Gt}const St=Ye=>{let{percent:et,success:Nt,successPercent:Gt}=Ye;const gn=nt(Xe({success:Nt,successPercent:Gt}));return[gn,nt(nt(et)-gn)]},He=Ye=>{let{success:et={},strokeColor:Nt}=Ye;const{strokeColor:Gt}=et;return[Gt||it.presetPrimaryColors.green,Nt||null]},Te=(Ye,et,Nt)=>{var Gt,gn,Rt,Fn;let jn=-1,ea=-1;if(et==="step"){const xa=Nt.steps,rn=Nt.strokeWidth;typeof Ye=="string"||typeof Ye=="undefined"?(jn=Ye==="small"?2:14,ea=rn!=null?rn:8):typeof Ye=="number"?[jn,ea]=[Ye,Ye]:[jn=14,ea=8]=Ye,jn*=xa}else if(et==="line"){const xa=Nt==null?void 0:Nt.strokeWidth;typeof Ye=="string"||typeof Ye=="undefined"?ea=xa||(Ye==="small"?6:8):typeof Ye=="number"?[jn,ea]=[Ye,Ye]:[jn=-1,ea=8]=Ye}else(et==="circle"||et==="dashboard")&&(typeof Ye=="string"||typeof Ye=="undefined"?[jn,ea]=Ye==="small"?[60,60]:[120,120]:typeof Ye=="number"?[jn,ea]=[Ye,Ye]:(jn=(gn=(Gt=Ye[0])!==null&&Gt!==void 0?Gt:Ye[1])!==null&&gn!==void 0?gn:120,ea=(Fn=(Rt=Ye[0])!==null&&Rt!==void 0?Rt:Ye[1])!==null&&Fn!==void 0?Fn:120));return[jn,ea]},Ge=3,pt=Ye=>Ge/Ye*100;var mt=Ye=>{const{prefixCls:et,trailColor:Nt=null,strokeLinecap:Gt="round",gapPosition:gn,gapDegree:Rt,width:Fn=120,type:jn,children:ea,success:xa,size:rn=Fn}=Ye,[Sa,ro]=Te(rn,"circle");let{strokeWidth:oa}=Ye;oa===void 0&&(oa=Math.max(pt(Sa),6));const xn={width:Sa,height:ro,fontSize:Sa*.15+6},wa=x.useMemo(()=>{if(Rt||Rt===0)return Rt;if(jn==="dashboard")return 75},[Rt,jn]),Da=gn||jn==="dashboard"&&"bottom"||void 0,Ht=Object.prototype.toString.call(Ye.strokeColor)==="[object Object]",Dn=He({success:xa,strokeColor:Ye.strokeColor}),Wn=ue()(`${et}-inner`,{[`${et}-circle-gradient`]:Ht}),fa=x.createElement(ke,{percent:St(Ye),strokeWidth:oa,trailWidth:oa,strokeColor:Dn,strokeLinecap:Gt,trailColor:Nt,prefixCls:et,gapDegree:wa,gapPosition:Da});return x.createElement("div",{className:Wn,style:xn},Sa<=20?x.createElement(gt.Z,{title:ea},x.createElement("span",null,fa)):x.createElement(x.Fragment,null,fa,ea))},Pn=function(Ye,et){var Nt={};for(var Gt in Ye)Object.prototype.hasOwnProperty.call(Ye,Gt)&&et.indexOf(Gt)<0&&(Nt[Gt]=Ye[Gt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gn=0,Gt=Object.getOwnPropertySymbols(Ye);gn{let et=[];return Object.keys(Ye).forEach(Nt=>{const Gt=parseFloat(Nt.replace(/%/g,""));isNaN(Gt)||et.push({key:Gt,value:Ye[Nt]})}),et=et.sort((Nt,Gt)=>Nt.key-Gt.key),et.map(Nt=>{let{key:Gt,value:gn}=Nt;return`${gn} ${Gt}%`}).join(", ")},At=(Ye,et)=>{const{from:Nt=it.presetPrimaryColors.blue,to:Gt=it.presetPrimaryColors.blue,direction:gn=et==="rtl"?"to left":"to right"}=Ye,Rt=Pn(Ye,["from","to","direction"]);if(Object.keys(Rt).length!==0){const Fn=ze(Rt);return{backgroundImage:`linear-gradient(${gn}, ${Fn})`}}return{backgroundImage:`linear-gradient(${gn}, ${Nt}, ${Gt})`}};var tn=Ye=>{const{prefixCls:et,direction:Nt,percent:Gt,size:gn,strokeWidth:Rt,strokeColor:Fn,strokeLinecap:jn="round",children:ea,trailColor:xa=null,success:rn}=Ye,Sa=Fn&&typeof Fn!="string"?At(Fn,Nt):{backgroundColor:Fn},ro=jn==="square"||jn==="butt"?0:void 0,oa={backgroundColor:xa||void 0,borderRadius:ro},xn=gn!=null?gn:[-1,Rt||(gn==="small"?6:8)],[wa,Da]=Te(xn,"line",{strokeWidth:Rt}),Ht=Object.assign({width:`${nt(Gt)}%`,height:Da,borderRadius:ro},Sa),Dn=Xe(Ye),Wn={width:`${nt(Dn)}%`,height:Da,borderRadius:ro,backgroundColor:rn==null?void 0:rn.strokeColor},fa={width:wa<0?"100%":wa,height:Da};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${et}-outer`,style:fa},x.createElement("div",{className:`${et}-inner`,style:oa},x.createElement("div",{className:`${et}-bg`,style:Ht}),Dn!==void 0?x.createElement("div",{className:`${et}-success-bg`,style:Wn}):null)),ea)},ut=Ye=>{const{size:et,steps:Nt,percent:Gt=0,strokeWidth:gn=8,strokeColor:Rt,trailColor:Fn=null,prefixCls:jn,children:ea}=Ye,xa=Math.round(Nt*(Gt/100)),rn=et==="small"?2:14,Sa=et!=null?et:[rn,gn],[ro,oa]=Te(Sa,"step",{steps:Nt,strokeWidth:gn}),xn=ro/Nt,wa=new Array(Nt);for(let Da=0;Da{const et=Ye?"100%":"-100%";return new ft.Keyframes(`antProgress${Ye?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${et}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${et}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Re=Ye=>{const{componentCls:et,iconCls:Nt}=Ye;return{[et]:Object.assign(Object.assign({},(0,_e.Wf)(Ye)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ye.fontSize,marginInlineEnd:Ye.marginXS,marginBottom:Ye.marginXS},[`${et}-outer`]:{display:"inline-block",width:"100%"},[`&${et}-show-info`]:{[`${et}-outer`]:{marginInlineEnd:`calc(-2em - ${Ye.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ye.paddingXS}px)`}},[`${et}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ye.remainingColor,borderRadius:Ye.lineBorderRadius},[`${et}-inner:not(${et}-circle-gradient)`]:{[`${et}-circle-path`]:{stroke:Ye.defaultColor}},[`${et}-success-bg, ${et}-bg`]:{position:"relative",backgroundColor:Ye.defaultColor,borderRadius:Ye.lineBorderRadius,transition:`all ${Ye.motionDurationSlow} ${Ye.motionEaseInOutCirc}`},[`${et}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ye.colorSuccess},[`${et}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ye.marginXS,color:Ye.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nt]:{fontSize:Ye.fontSize}},[`&${et}-status-active`]:{[`${et}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ye.colorBgContainer,borderRadius:Ye.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:Ye.progressActiveMotionDuration,animationTimingFunction:Ye.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${et}-rtl${et}-status-active`]:{[`${et}-bg::before`]:{animationName:dt(!0)}},[`&${et}-status-exception`]:{[`${et}-bg`]:{backgroundColor:Ye.colorError},[`${et}-text`]:{color:Ye.colorError}},[`&${et}-status-exception ${et}-inner:not(${et}-circle-gradient)`]:{[`${et}-circle-path`]:{stroke:Ye.colorError}},[`&${et}-status-success`]:{[`${et}-bg`]:{backgroundColor:Ye.colorSuccess},[`${et}-text`]:{color:Ye.colorSuccess}},[`&${et}-status-success ${et}-inner:not(${et}-circle-gradient)`]:{[`${et}-circle-path`]:{stroke:Ye.colorSuccess}}})}},we=Ye=>{const{componentCls:et,iconCls:Nt}=Ye;return{[et]:{[`${et}-circle-trail`]:{stroke:Ye.remainingColor},[`&${et}-circle ${et}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${et}-circle ${et}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ye.circleTextColor,fontSize:Ye.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nt]:{fontSize:`${Ye.fontSize/Ye.fontSizeSM}em`}},[`${et}-circle&-status-exception`]:{[`${et}-text`]:{color:Ye.colorError}},[`${et}-circle&-status-success`]:{[`${et}-text`]:{color:Ye.colorSuccess}}},[`${et}-inline-circle`]:{lineHeight:1,[`${et}-inner`]:{verticalAlign:"bottom"}}}},lt=Ye=>{const{componentCls:et}=Ye;return{[et]:{[`${et}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ye.progressStepMinWidth,marginInlineEnd:Ye.progressStepMarginInlineEnd,backgroundColor:Ye.remainingColor,transition:`all ${Ye.motionDurationSlow}`,"&-active":{backgroundColor:Ye.defaultColor}}}}}},$e=Ye=>{const{componentCls:et,iconCls:Nt}=Ye;return{[et]:{[`${et}-small&-line, ${et}-small&-line ${et}-text ${Nt}`]:{fontSize:Ye.fontSizeSM}}}};var Ze=(0,Be.Z)("Progress",Ye=>{const et=Ye.marginXXS/2,Nt=(0,rt.TS)(Ye,{progressStepMarginInlineEnd:et,progressStepMinWidth:et,progressActiveMotionDuration:"2.4s"});return[Re(Nt),we(Nt),lt(Nt),$e(Nt)]},Ye=>({circleTextColor:Ye.colorText,defaultColor:Ye.colorInfo,remainingColor:Ye.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),ht=function(Ye,et){var Nt={};for(var Gt in Ye)Object.prototype.hasOwnProperty.call(Ye,Gt)&&et.indexOf(Gt)<0&&(Nt[Gt]=Ye[Gt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gn=0,Gt=Object.getOwnPropertySymbols(Ye);gn{const{prefixCls:Nt,className:Gt,rootClassName:gn,steps:Rt,strokeColor:Fn,percent:jn=0,size:ea="default",showInfo:xa=!0,type:rn="line",status:Sa,format:ro,style:oa}=Ye,xn=ht(Ye,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),wa=x.useMemo(()=>{var It,Dt;const In=Xe(Ye);return parseInt(In!==void 0?(It=In!=null?In:0)===null||It===void 0?void 0:It.toString():(Dt=jn!=null?jn:0)===null||Dt===void 0?void 0:Dt.toString(),10)},[jn,Ye.success,Ye.successPercent]),Da=x.useMemo(()=>!en.includes(Sa)&&wa>=100?"success":Sa||"normal",[Sa,wa]),{getPrefixCls:Ht,direction:Dn,progress:Wn}=x.useContext(je.E_),fa=Ht("progress",Nt),[ta,za]=Ze(fa),Ao=x.useMemo(()=>{if(!xa)return null;const It=Xe(Ye);let Dt;const In=ro||(Hn=>`${Hn}%`),na=rn==="line";return ro||Da!=="exception"&&Da!=="success"?Dt=In(nt(jn),nt(It)):Da==="exception"?Dt=na?x.createElement(Fe.Z,null):x.createElement(be.Z,null):Da==="success"&&(Dt=na?x.createElement(re.Z,null):x.createElement(Pe.Z,null)),x.createElement("span",{className:`${fa}-text`,title:typeof Dt=="string"?Dt:void 0},Dt)},[xa,jn,wa,Da,rn,fa,ro]),Ar=Array.isArray(Fn)?Fn[0]:Fn,Dr=typeof Fn=="string"||Array.isArray(Fn)?Fn:void 0;let Na;rn==="line"?Na=Rt?x.createElement(ut,Object.assign({},Ye,{strokeColor:Dr,prefixCls:fa,steps:Rt}),Ao):x.createElement(tn,Object.assign({},Ye,{strokeColor:Ar,prefixCls:fa,direction:Dn}),Ao):(rn==="circle"||rn==="dashboard")&&(Na=x.createElement(mt,Object.assign({},Ye,{strokeColor:Ar,prefixCls:fa,progressStatus:Da}),Ao));const xt=ue()(fa,`${fa}-status-${Da}`,`${fa}-${rn==="dashboard"&&"circle"||Rt&&"steps"||rn}`,{[`${fa}-inline-circle`]:rn==="circle"&&Te(ea,"circle")[0]<=20,[`${fa}-show-info`]:xa,[`${fa}-${ea}`]:typeof ea=="string",[`${fa}-rtl`]:Dn==="rtl"},Wn==null?void 0:Wn.className,Gt,gn,za);return ta(x.createElement("div",Object.assign({ref:et,style:Object.assign(Object.assign({},Wn==null?void 0:Wn.style),oa),className:xt,role:"progressbar","aria-valuenow":wa},(0,Oe.Z)(xn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Na))}),$t=an},13570:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return nt}});var x=te(54476),re=te(59301),Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Fe=Pe,be=te(7657),xe=function(St,He){return re.createElement(be.Z,(0,x.Z)({},St,{ref:He,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(92310),Ie=te.n(je),Ne=te(20068),De=te(42978),me=te(75931),oe=te(18929),a=te(10228),E=te(26112);function b(Xe,St){var He=Xe.disabled,Te=Xe.prefixCls,Ge=Xe.character,pt=Xe.characterRender,Lt=Xe.index,mt=Xe.count,Pn=Xe.value,ze=Xe.allowHalf,At=Xe.focused,Wt=Xe.onHover,tn=Xe.onClick,En=function(we){Wt(we,Lt)},ut=function(we){tn(we,Lt)},ft=function(we){we.keyCode===a.Z.ENTER&&tn(we,Lt)},_e=Lt+1,Be=new Set([Te]);Pn===0&&Lt===0&&At?Be.add("".concat(Te,"-focused")):ze&&Pn+.5>=_e&&Pn<_e?(Be.add("".concat(Te,"-half")),Be.add("".concat(Te,"-active")),At&&Be.add("".concat(Te,"-focused"))):(_e<=Pn?Be.add("".concat(Te,"-full")):Be.add("".concat(Te,"-zero")),_e===Pn&&At&&Be.add("".concat(Te,"-focused")));var rt=typeof Ge=="function"?Ge(Xe):Ge,dt=re.createElement("li",{className:Ie()(Array.from(Be)),ref:St},re.createElement("div",{onClick:He?null:ut,onKeyDown:He?null:ft,onMouseMove:He?null:En,role:"radio","aria-checked":Pn>Lt?"true":"false","aria-posinset":Lt+1,"aria-setsize":mt,tabIndex:He?-1:0},re.createElement("div",{className:"".concat(Te,"-first")},rt),re.createElement("div",{className:"".concat(Te,"-second")},rt)));return pt&&(dt=pt(dt,Xe)),dt}var y=re.forwardRef(b);function z(){var Xe=re.useRef({});function St(Te){return Xe.current[Te]}function He(Te){return function(Ge){Xe.current[Te]=Ge}}return[St,He]}function ne(Xe){var St=Xe.pageXOffset,He="scrollLeft";if(typeof St!="number"){var Te=Xe.document;St=Te.documentElement[He],typeof St!="number"&&(St=Te.body[He])}return St}function ae(Xe){var St,He,Te=Xe.ownerDocument,Ge=Te.body,pt=Te&&Te.documentElement,Lt=Xe.getBoundingClientRect();return St=Lt.left,He=Lt.top,St-=pt.clientLeft||Ge.clientLeft||0,He-=pt.clientTop||Ge.clientTop||0,{left:St,top:He}}function le(Xe){var St=ae(Xe),He=Xe.ownerDocument,Te=He.defaultView||He.parentWindow;return St.left+=ne(Te),St.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(Xe,St){var He,Te=Xe.prefixCls,Ge=Te===void 0?"rc-rate":Te,pt=Xe.className,Lt=Xe.defaultValue,mt=Xe.value,Pn=Xe.count,ze=Pn===void 0?5:Pn,At=Xe.allowHalf,Wt=At===void 0?!1:At,tn=Xe.allowClear,En=tn===void 0?!0:tn,ut=Xe.character,ft=ut===void 0?"\u2605":ut,_e=Xe.characterRender,Be=Xe.disabled,rt=Xe.direction,dt=rt===void 0?"ltr":rt,Re=Xe.tabIndex,we=Re===void 0?0:Re,lt=Xe.autoFocus,$e=Xe.onHoverChange,Ze=Xe.onChange,ht=Xe.onFocus,An=Xe.onBlur,en=Xe.onKeyDown,zt=Xe.onMouseLeave,an=(0,me.Z)(Xe,ie),$t=z(),Ye=(0,De.Z)($t,2),et=Ye[0],Nt=Ye[1],Gt=re.useRef(null),gn=function(){if(!Be){var Hn;(Hn=Gt.current)===null||Hn===void 0||Hn.focus()}};re.useImperativeHandle(St,function(){return{focus:gn,blur:function(){if(!Be){var Hn;(Hn=Gt.current)===null||Hn===void 0||Hn.blur()}}}});var Rt=(0,oe.Z)(Lt||0,{value:mt}),Fn=(0,De.Z)(Rt,2),jn=Fn[0],ea=Fn[1],xa=(0,oe.Z)(null),rn=(0,De.Z)(xa,2),Sa=rn[0],ro=rn[1],oa=function(Hn,Qo){var Oa=dt==="rtl",lo=Hn+1;if(Wt){var hr=et(Hn),ao=le(hr),Zn=hr.clientWidth;(Oa&&Qo-ao>Zn/2||!Oa&&Qo-ao0&&!Oa||Qo===a.Z.RIGHT&&lo>0&&Oa?(Wt?lo-=.5:lo-=1,xn(lo),Hn.preventDefault()):Qo===a.Z.LEFT&&lo{const{componentCls:St}=Xe;return{[`${St}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Xe.marginXS},"> div":{transition:`all ${Xe.motionDurationMid}, outline 0s`,"&:hover":{transform:Xe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Xe.lineWidth}px dashed ${Xe.starColor}`,transform:Xe.starHoverScale}},"&-first, &-second":{color:Xe.starBg,transition:`all ${Xe.motionDurationMid}`,userSelect:"none",[Xe.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${St}-star-first, &-half ${St}-star-second`]:{opacity:1},[`&-half ${St}-star-first, &-full ${St}-star-second`]:{color:"inherit"}}}},Le=Xe=>({[`&-rtl${Xe.componentCls}`]:{direction:"rtl"}}),ke=Xe=>{const{componentCls:St}=Xe;return{[St]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Xe)),{display:"inline-block",margin:0,padding:0,color:Xe.starColor,fontSize:Xe.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${St} ${St}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ue(Xe)),{[`+ ${St}-text`]:{display:"inline-block",marginInlineStart:Xe.marginXS,fontSize:Xe.fontSize}}),Le(Xe))}};var ot=(0,Je.Z)("Rate",Xe=>{const St=(0,Me.TS)(Xe,{});return[ke(St)]},Xe=>({starColor:Xe.yellow6,starSize:Xe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Xe.colorFillContent})),gt=function(Xe,St){var He={};for(var Te in Xe)Object.prototype.hasOwnProperty.call(Xe,Te)&&St.indexOf(Te)<0&&(He[Te]=Xe[Te]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Te=Object.getOwnPropertySymbols(Xe);Ge{const{prefixCls:He,className:Te,rootClassName:Ge,style:pt,tooltips:Lt,character:mt=re.createElement(Oe,null)}=Xe,Pn=gt(Xe,["prefixCls","className","rootClassName","style","tooltips","character"]),ze=(Be,rt)=>{let{index:dt}=rt;return Lt?re.createElement(ve.Z,{title:Lt[dt]},Be):Be},{getPrefixCls:At,direction:Wt,rate:tn}=re.useContext(ge.E_),En=At("rate",He),[ut,ft]=ot(En),_e=Object.assign(Object.assign({},tn==null?void 0:tn.style),pt);return ut(re.createElement(ce,Object.assign({ref:St,character:mt,characterRender:ze},Pn,{className:Ie()(Te,Ge,ft,tn==null?void 0:tn.className),style:_e,prefixCls:En,direction:Wt})))})},61621:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return ft}});var x=te(92310),re=te.n(x),Pe=te(59301),Fe=te(36355),be=te(2738),ue=_e=>{const{prefixCls:Be,className:rt,style:dt,size:Re,shape:we}=_e,lt=re()({[`${Be}-lg`]:Re==="large",[`${Be}-sm`]:Re==="small"}),$e=re()({[`${Be}-circle`]:we==="circle",[`${Be}-square`]:we==="square",[`${Be}-round`]:we==="round"}),Ze=Pe.useMemo(()=>typeof Re=="number"?{width:Re,height:Re,lineHeight:`${Re}px`}:{},[Re]);return Pe.createElement("span",{className:re()(Be,lt,$e,rt),style:Object.assign(Object.assign({},Ze),dt)})},Oe=te(36237),je=te(83116),Ie=te(37613);const Ne=new Oe.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),De=_e=>({height:_e,lineHeight:`${_e}px`}),me=_e=>Object.assign({width:_e},De(_e)),oe=_e=>({background:_e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ne,animationDuration:_e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=_e=>Object.assign({width:_e*5,minWidth:_e*5},De(_e)),E=_e=>{const{skeletonAvatarCls:Be,gradientFromColor:rt,controlHeight:dt,controlHeightLG:Re,controlHeightSM:we}=_e;return{[`${Be}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:rt},me(dt)),[`${Be}${Be}-circle`]:{borderRadius:"50%"},[`${Be}${Be}-lg`]:Object.assign({},me(Re)),[`${Be}${Be}-sm`]:Object.assign({},me(we))}},b=_e=>{const{controlHeight:Be,borderRadiusSM:rt,skeletonInputCls:dt,controlHeightLG:Re,controlHeightSM:we,gradientFromColor:lt}=_e;return{[`${dt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:lt,borderRadius:rt},a(Be)),[`${dt}-lg`]:Object.assign({},a(Re)),[`${dt}-sm`]:Object.assign({},a(we))}},y=_e=>Object.assign({width:_e},De(_e)),z=_e=>{const{skeletonImageCls:Be,imageSizeBase:rt,gradientFromColor:dt,borderRadiusSM:Re}=_e;return{[`${Be}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:dt,borderRadius:Re},y(rt*2)),{[`${Be}-path`]:{fill:"#bfbfbf"},[`${Be}-svg`]:Object.assign(Object.assign({},y(rt)),{maxWidth:rt*4,maxHeight:rt*4}),[`${Be}-svg${Be}-svg-circle`]:{borderRadius:"50%"}}),[`${Be}${Be}-circle`]:{borderRadius:"50%"}}},ne=(_e,Be,rt)=>{const{skeletonButtonCls:dt}=_e;return{[`${rt}${dt}-circle`]:{width:Be,minWidth:Be,borderRadius:"50%"},[`${rt}${dt}-round`]:{borderRadius:Be}}},ae=_e=>Object.assign({width:_e*2,minWidth:_e*2},De(_e)),le=_e=>{const{borderRadiusSM:Be,skeletonButtonCls:rt,controlHeight:dt,controlHeightLG:Re,controlHeightSM:we,gradientFromColor:lt}=_e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${rt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:lt,borderRadius:Be,width:dt*2,minWidth:dt*2},ae(dt))},ne(_e,dt,rt)),{[`${rt}-lg`]:Object.assign({},ae(Re))}),ne(_e,Re,`${rt}-lg`)),{[`${rt}-sm`]:Object.assign({},ae(we))}),ne(_e,we,`${rt}-sm`))},ie=_e=>{const{componentCls:Be,skeletonAvatarCls:rt,skeletonTitleCls:dt,skeletonParagraphCls:Re,skeletonButtonCls:we,skeletonInputCls:lt,skeletonImageCls:$e,controlHeight:Ze,controlHeightLG:ht,controlHeightSM:An,gradientFromColor:en,padding:zt,marginSM:an,borderRadius:$t,titleHeight:Ye,blockRadius:et,paragraphLiHeight:Nt,controlHeightXS:Gt,paragraphMarginTop:gn}=_e;return{[`${Be}`]:{display:"table",width:"100%",[`${Be}-header`]:{display:"table-cell",paddingInlineEnd:zt,verticalAlign:"top",[`${rt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:en},me(Ze)),[`${rt}-circle`]:{borderRadius:"50%"},[`${rt}-lg`]:Object.assign({},me(ht)),[`${rt}-sm`]:Object.assign({},me(An))},[`${Be}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${dt}`]:{width:"100%",height:Ye,background:en,borderRadius:et,[`+ ${Re}`]:{marginBlockStart:An}},[`${Re}`]:{padding:0,"> li":{width:"100%",height:Nt,listStyle:"none",background:en,borderRadius:et,"+ li":{marginBlockStart:Gt}}},[`${Re}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Be}-content`]:{[`${dt}, ${Re} > li`]:{borderRadius:$t}}},[`${Be}-with-avatar ${Be}-content`]:{[`${dt}`]:{marginBlockStart:an,[`+ ${Re}`]:{marginBlockStart:gn}}},[`${Be}${Be}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},le(_e)),E(_e)),b(_e)),z(_e)),[`${Be}${Be}-block`]:{width:"100%",[`${we}`]:{width:"100%"},[`${lt}`]:{width:"100%"}},[`${Be}${Be}-active`]:{[` - ${dt}, - ${Re} > li, - ${rt}, - ${we}, - ${lt}, - ${$e} - `]:Object.assign({},oe(_e))}}};var de=(0,je.Z)("Skeleton",_e=>{const{componentCls:Be}=_e,rt=(0,Ie.TS)(_e,{skeletonAvatarCls:`${Be}-avatar`,skeletonTitleCls:`${Be}-title`,skeletonParagraphCls:`${Be}-paragraph`,skeletonButtonCls:`${Be}-button`,skeletonInputCls:`${Be}-input`,skeletonImageCls:`${Be}-image`,imageSizeBase:_e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${_e.gradientFromColor} 25%, ${_e.gradientToColor} 37%, ${_e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(rt)]},_e=>{const{colorFillContent:Be,colorFill:rt}=_e,dt=Be,Re=rt;return{color:dt,colorGradientEnd:Re,gradientFromColor:dt,gradientToColor:Re,titleHeight:_e.controlHeight/2,blockRadius:_e.borderRadiusSM,paragraphMarginTop:_e.marginLG+_e.marginXXS,paragraphLiHeight:_e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ce=_e=>{const{prefixCls:Be,className:rt,rootClassName:dt,active:Re,shape:we="circle",size:lt="default"}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),Ze=$e("skeleton",Be),[ht,An]=de(Ze),en=(0,be.Z)(_e,["prefixCls","className"]),zt=re()(Ze,`${Ze}-element`,{[`${Ze}-active`]:Re},rt,dt,An);return ht(Pe.createElement("div",{className:zt},Pe.createElement(ue,Object.assign({prefixCls:`${Ze}-avatar`,shape:we,size:lt},en))))},ve=_e=>{const{prefixCls:Be,className:rt,rootClassName:dt,active:Re,block:we=!1,size:lt="default"}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),Ze=$e("skeleton",Be),[ht,An]=de(Ze),en=(0,be.Z)(_e,["prefixCls"]),zt=re()(Ze,`${Ze}-element`,{[`${Ze}-active`]:Re,[`${Ze}-block`]:we},rt,dt,An);return ht(Pe.createElement("div",{className:zt},Pe.createElement(ue,Object.assign({prefixCls:`${Ze}-button`,size:lt},en))))};const Ee="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 Me=_e=>{const{prefixCls:Be,className:rt,rootClassName:dt,style:Re,active:we}=_e,{getPrefixCls:lt}=Pe.useContext(Fe.E_),$e=lt("skeleton",Be),[Ze,ht]=de($e),An=re()($e,`${$e}-element`,{[`${$e}-active`]:we},rt,dt,ht);return Ze(Pe.createElement("div",{className:An},Pe.createElement("div",{className:re()(`${$e}-image`,rt),style:Re},Pe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${$e}-image-svg`},Pe.createElement("path",{d:Ee,className:`${$e}-image-path`})))))},Le=_e=>{const{prefixCls:Be,className:rt,rootClassName:dt,active:Re,block:we,size:lt="default"}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),Ze=$e("skeleton",Be),[ht,An]=de(Ze),en=(0,be.Z)(_e,["prefixCls"]),zt=re()(Ze,`${Ze}-element`,{[`${Ze}-active`]:Re,[`${Ze}-block`]:we},rt,dt,An);return ht(Pe.createElement("div",{className:zt},Pe.createElement(ue,Object.assign({prefixCls:`${Ze}-input`,size:lt},en))))},ke=te(54476),ot={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"},gt=ot,it=te(7657),nt=function(Be,rt){return Pe.createElement(it.Z,(0,ke.Z)({},Be,{ref:rt,icon:gt}))},Xe=Pe.forwardRef(nt),St=Xe,Te=_e=>{const{prefixCls:Be,className:rt,rootClassName:dt,style:Re,active:we,children:lt}=_e,{getPrefixCls:$e}=Pe.useContext(Fe.E_),Ze=$e("skeleton",Be),[ht,An]=de(Ze),en=re()(Ze,`${Ze}-element`,{[`${Ze}-active`]:we},An,rt,dt),zt=lt!=null?lt:Pe.createElement(St,null);return ht(Pe.createElement("div",{className:en},Pe.createElement("div",{className:re()(`${Ze}-image`,rt),style:Re},zt)))},Ge=te(94480),Lt=_e=>{const Be=$e=>{const{width:Ze,rows:ht=2}=_e;if(Array.isArray(Ze))return Ze[$e];if(ht-1===$e)return Ze},{prefixCls:rt,className:dt,style:Re,rows:we}=_e,lt=(0,Ge.Z)(Array(we)).map(($e,Ze)=>Pe.createElement("li",{key:Ze,style:{width:Be(Ze)}}));return Pe.createElement("ul",{className:re()(rt,dt),style:Re},lt)},Pn=_e=>{let{prefixCls:Be,className:rt,width:dt,style:Re}=_e;return Pe.createElement("h3",{className:re()(Be,rt),style:Object.assign({width:dt},Re)})};function ze(_e){return _e&&typeof _e=="object"?_e:{}}function At(_e,Be){return _e&&!Be?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Wt(_e,Be){return!_e&&Be?{width:"38%"}:_e&&Be?{width:"50%"}:{}}function tn(_e,Be){const rt={};return(!_e||!Be)&&(rt.width="61%"),!_e&&Be?rt.rows=3:rt.rows=2,rt}const En=_e=>{const{prefixCls:Be,loading:rt,className:dt,rootClassName:Re,style:we,children:lt,avatar:$e=!1,title:Ze=!0,paragraph:ht=!0,active:An,round:en}=_e,{getPrefixCls:zt,direction:an,skeleton:$t}=Pe.useContext(Fe.E_),Ye=zt("skeleton",Be),[et,Nt]=de(Ye);if(rt||!("loading"in _e)){const Gt=!!$e,gn=!!Ze,Rt=!!ht;let Fn;if(Gt){const xa=Object.assign(Object.assign({prefixCls:`${Ye}-avatar`},At(gn,Rt)),ze($e));Fn=Pe.createElement("div",{className:`${Ye}-header`},Pe.createElement(ue,Object.assign({},xa)))}let jn;if(gn||Rt){let xa;if(gn){const Sa=Object.assign(Object.assign({prefixCls:`${Ye}-title`},Wt(Gt,Rt)),ze(Ze));xa=Pe.createElement(Pn,Object.assign({},Sa))}let rn;if(Rt){const Sa=Object.assign(Object.assign({prefixCls:`${Ye}-paragraph`},tn(Gt,gn)),ze(ht));rn=Pe.createElement(Lt,Object.assign({},Sa))}jn=Pe.createElement("div",{className:`${Ye}-content`},xa,rn)}const ea=re()(Ye,{[`${Ye}-with-avatar`]:Gt,[`${Ye}-active`]:An,[`${Ye}-rtl`]:an==="rtl",[`${Ye}-round`]:en},$t==null?void 0:$t.className,dt,Re,Nt);return et(Pe.createElement("div",{className:ea,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),we)},Fn,jn))}return typeof lt!="undefined"?lt:null};En.Button=ve,En.Avatar=ce,En.Input=Le,En.Image=Me,En.Node=Te;var ut=En,ft=ut},31797:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return de}});var x=te(59301),re=te(56762),Pe=te(92343),Fe=te(92310),be=te.n(Fe),xe=te(36355),ue=te(61621),je=se=>{const{value:ce,formatter:ge,precision:ve,decimalSeparator:Ee,groupSeparator:Je="",prefixCls:Me}=se;let Ue;if(typeof ge=="function")Ue=ge(ce);else{const Le=String(ce),ke=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||Le==="-")Ue=Le;else{const ot=ke[1];let gt=ke[2]||"0",it=ke[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,Je),typeof ve=="number"&&(it=it.padEnd(ve,"0").slice(0,ve>0?ve:0)),it&&(it=`${Ee}${it}`),Ue=[x.createElement("span",{key:"int",className:`${Me}-content-value-int`},ot,gt),it&&x.createElement("span",{key:"decimal",className:`${Me}-content-value-decimal`},it)]}}return x.createElement("span",{className:`${Me}-content-value`},Ue)},Ie=te(17313),Ne=te(83116),De=te(37613);const me=se=>{const{componentCls:ce,marginXXS:ge,padding:ve,colorTextDescription:Ee,titleFontSize:Je,colorTextHeading:Me,contentFontSize:Ue,fontFamily:Le}=se;return{[`${ce}`]:Object.assign(Object.assign({},(0,Ie.Wf)(se)),{[`${ce}-title`]:{marginBottom:ge,color:Ee,fontSize:Je},[`${ce}-skeleton`]:{paddingTop:ve},[`${ce}-content`]:{color:Me,fontSize:Ue,fontFamily:Le,[`${ce}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ce}-content-prefix, ${ce}-content-suffix`]:{display:"inline-block"},[`${ce}-content-prefix`]:{marginInlineEnd:ge},[`${ce}-content-suffix`]:{marginInlineStart:ge}}})}};var oe=(0,Ne.Z)("Statistic",se=>{const ce=(0,De.TS)(se,{});return[me(ce)]},se=>{const{fontSizeHeading3:ce,fontSize:ge}=se;return{titleFontSize:ge,contentFontSize:ce}}),E=se=>{const{prefixCls:ce,className:ge,rootClassName:ve,style:Ee,valueStyle:Je,value:Me=0,title:Ue,valueRender:Le,prefix:ke,suffix:ot,loading:gt=!1,onMouseEnter:it,onMouseLeave:nt,decimalSeparator:Xe=".",groupSeparator:St=","}=se,{getPrefixCls:He,direction:Te,statistic:Ge}=x.useContext(xe.E_),pt=He("statistic",ce),[Lt,mt]=oe(pt),Pn=x.createElement(je,Object.assign({decimalSeparator:Xe,groupSeparator:St,prefixCls:pt},se,{value:Me})),ze=be()(pt,{[`${pt}-rtl`]:Te==="rtl"},Ge==null?void 0:Ge.className,ge,ve,mt);return Lt(x.createElement("div",{className:ze,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Ee),onMouseEnter:it,onMouseLeave:nt},Ue&&x.createElement("div",{className:`${pt}-title`},Ue),x.createElement(ue.Z,{paragraph:!1,loading:gt,className:`${pt}-skeleton`},x.createElement("div",{style:Je,className:`${pt}-content`},ke&&x.createElement("span",{className:`${pt}-content-prefix`},ke),Le?Le(Pn):Pn,ot&&x.createElement("span",{className:`${pt}-content-suffix`},ot)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function y(se,ce){let ge=se;const ve=/\[[^\]]*]/g,Ee=(ce.match(ve)||[]).map(Le=>Le.slice(1,-1)),Je=ce.replace(ve,"[]"),Me=b.reduce((Le,ke)=>{let[ot,gt]=ke;if(Le.includes(ot)){const it=Math.floor(ge/gt);return ge-=it*gt,Le.replace(new RegExp(`${ot}+`,"g"),nt=>{const Xe=nt.length;return it.toString().padStart(Xe,"0")})}return Le},Je);let Ue=0;return Me.replace(ve,()=>{const Le=Ee[Ue];return Ue+=1,Le})}function z(se,ce){const{format:ge=""}=ce,ve=new Date(se).getTime(),Ee=Date.now(),Je=Math.max(ve-Ee,0);return y(Je,ge)}const ne=1e3/30;function ae(se){return new Date(se).getTime()}const le=se=>{const{value:ce,format:ge="HH:mm:ss",onChange:ve,onFinish:Ee}=se,Je=(0,re.Z)(),Me=x.useRef(null),Ue=()=>{Ee==null||Ee(),Me.current&&(clearInterval(Me.current),Me.current=null)},Le=()=>{const gt=ae(ce);gt>=Date.now()&&(Me.current=setInterval(()=>{Je(),ve==null||ve(gt-Date.now()),gt(Le(),()=>{Me.current&&(clearInterval(Me.current),Me.current=null)}),[ce]);const ke=(gt,it)=>z(gt,Object.assign(Object.assign({},it),{format:ge})),ot=gt=>(0,Pe.Tm)(gt,{title:void 0});return x.createElement(E,Object.assign({},se,{valueRender:ot,formatter:ke}))};var ie=x.memo(le);E.Countdown=ie;var de=E},15969:function(at,Qe,te){"use strict";te.d(Qe,{N:function(){return x}});const x=re=>({color:re.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${re.motionDurationSlow}`,"&:focus, &:hover":{color:re.colorLinkHover},"&:active":{color:re.colorLinkActive}})},1710:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return Ul}});var x={},re="rc-table-internal-hook",Pe=te(42978),Fe=te(6089),be=te(34280),xe=te(13697),ue=te(59301),Oe=te(4676);function je(ye){var Ce=ue.createContext(void 0),Ke=function(st){var ct=st.value,wt=st.children,Bt=ue.useRef(ct);Bt.current=ct;var Ct=ue.useState(function(){return{getValue:function(){return Bt.current},listeners:new Set}}),Jt=(0,Pe.Z)(Ct,1),Yt=Jt[0];return(0,be.Z)(function(){(0,Oe.unstable_batchedUpdates)(function(){Yt.listeners.forEach(function(Ut){Ut(ct)})})},[ct]),ue.createElement(Ce.Provider,{value:Yt},wt)};return{Context:Ce,Provider:Ke,defaultValue:ye}}function Ie(ye,Ce){var Ke=(0,Fe.Z)(typeof Ce=="function"?Ce:function(Ut){if(Ce===void 0)return Ut;if(!Array.isArray(Ce))return Ut[Ce];var bn={};return Ce.forEach(function(Bn){bn[Bn]=Ut[Bn]}),bn}),Ve=ue.useContext(ye==null?void 0:ye.Context),st=Ve||{},ct=st.listeners,wt=st.getValue,Bt=ue.useRef();Bt.current=Ke(Ve?wt():ye==null?void 0:ye.defaultValue);var Ct=ue.useState({}),Jt=(0,Pe.Z)(Ct,2),Yt=Jt[1];return(0,be.Z)(function(){if(!Ve)return;function Ut(bn){var Bn=Ke(bn);(0,xe.Z)(Bt.current,Bn,!0)||Yt({})}return ct.add(Ut),function(){ct.delete(Ut)}},[Ve]),Bt.current}var Ne=te(54476),De=te(8654);function me(){var ye=ue.createContext(null);function Ce(){return ue.useContext(ye)}function Ke(st,ct){var wt=(0,De.Yr)(st),Bt=function(Jt,Yt){var Ut=wt?{ref:Yt}:{},bn=ue.useRef(0),Bn=ue.useRef(Jt),Ln=Ce();return Ln!==null?ue.createElement(st,(0,Ne.Z)({},Jt,Ut)):((!ct||ct(Bn.current,Jt))&&(bn.current+=1),Bn.current=Jt,ue.createElement(ye.Provider,{value:bn.current},ue.createElement(st,(0,Ne.Z)({},Jt,Ut))))};return wt?ue.forwardRef(Bt):Bt}function Ve(st,ct){var wt=(0,De.Yr)(st),Bt=function(Jt,Yt){var Ut=wt?{ref:Yt}:{};return Ce(),ue.createElement(st,(0,Ne.Z)({},Jt,Ut))};return wt?ue.memo(ue.forwardRef(Bt),ct):ue.memo(Bt,ct)}return{makeImmutable:Ke,responseImmutable:Ve,useImmutableMark:Ce}}var oe=me(),a=oe.makeImmutable,E=oe.responseImmutable,b=oe.useImmutableMark,y=me(),z=y.makeImmutable,ne=y.responseImmutable,ae=y.useImmutableMark,le=je(),ie=le;function de(ye,Ce){var Ke=ue.useRef(0);Ke.current+=1;var Ve=ue.useRef(ye),st=[];Object.keys(ye||{}).map(function(wt){var Bt;(ye==null?void 0:ye[wt])!==((Bt=Ve.current)===null||Bt===void 0?void 0:Bt[wt])&&st.push(wt)}),Ve.current=ye;var ct=ue.useRef([]);return st.length&&(ct.current=st),ue.useDebugValue(Ke.current),ue.useDebugValue(ct.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Ke.current,ct.current),Ke.current}var se=null,ce=ue.memo(function(){var ye=de();return ue.createElement("h1",null,"Render Times: ",ye)});ce.displayName="RenderBlock";var ge=te(76190),ve=te(33885),Ee=te(20068),Je=te(92310),Me=te.n(Je),Ue=te(80547),Le=te(97938),ke=te(48736),ot=ue.createContext({renderWithProps:!1}),gt=ot,it="RC_TABLE_KEY";function nt(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function Xe(ye){var Ce=[],Ke={};return ye.forEach(function(Ve){for(var st=Ve||{},ct=st.key,wt=st.dataIndex,Bt=ct||nt(wt).join("-")||it;Ke[Bt];)Bt="".concat(Bt,"_next");Ke[Bt]=!0,Ce.push(Bt)}),Ce}function St(ye){return ye!=null}function He(ye){return ye&&(0,ge.Z)(ye)==="object"&&!Array.isArray(ye)&&!ue.isValidElement(ye)}function Te(ye,Ce,Ke,Ve,st,ct){var wt=ue.useContext(gt),Bt=ae(),Ct=(0,Ue.Z)(function(){if(St(Ve))return[Ve];var Jt=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],Yt=(0,Le.Z)(ye,Jt),Ut=Yt,bn=void 0;if(st){var Bn=st(Yt,ye,Ke);He(Bn)?(Ut=Bn.children,bn=Bn.props,wt.renderWithProps=!0):Ut=Bn}return[Ut,bn]},[Bt,ye,Ve,Ce,st,Ke],function(Jt,Yt){if(ct){var Ut=(0,Pe.Z)(Jt,2),bn=Ut[1],Bn=(0,Pe.Z)(Yt,2),Ln=Bn[1];return ct(Ln,bn)}return wt.renderWithProps?!0:!(0,xe.Z)(Jt,Yt,!0)});return Ct}function Ge(ye,Ce,Ke,Ve){var st=ye+Ce-1;return ye<=Ve&&st>=Ke}function pt(ye,Ce){return Ie(ie,function(Ke){var Ve=Ge(ye,Ce||1,Ke.hoverStartRow,Ke.hoverEndRow);return[Ve,Ke.onHover]})}var Lt=function(Ce){var Ke=Ce.ellipsis,Ve=Ce.rowType,st=Ce.children,ct,wt=Ke===!0?{showTitle:!0}:Ke;return wt&&(wt.showTitle||Ve==="header")&&(typeof st=="string"||typeof st=="number"?ct=st.toString():ue.isValidElement(st)&&typeof st.props.children=="string"&&(ct=st.props.children)),ct};function mt(ye){var Ce,Ke,Ve,st,ct,wt,Bt,Ct,Jt=ye.component,Yt=ye.children,Ut=ye.ellipsis,bn=ye.scope,Bn=ye.prefixCls,Ln=ye.className,Un=ye.align,Gn=ye.record,aa=ye.render,qn=ye.dataIndex,sa=ye.renderIndex,to=ye.shouldCellUpdate,fo=ye.index,ka=ye.rowType,so=ye.colSpan,zo=ye.rowSpan,ha=ye.fixLeft,_a=ye.fixRight,Fa=ye.firstFixLeft,ra=ye.lastFixLeft,ca=ye.firstFixRight,Kt=ye.lastFixRight,tr=ye.appendNode,_o=ye.additionalProps,Qa=_o===void 0?{}:_o,Uo=ye.isSticky,rr="".concat(Bn,"-cell"),cr=Ie(ie,["supportSticky","allColumnsFixedLeft"]),ar=cr.supportSticky,ll=cr.allColumnsFixedLeft,yr=Te(Gn,qn,sa,Yt,aa,to),oo=(0,Pe.Z)(yr,2),El=oo[0],Fo=oo[1],So={},Ir=typeof ha=="number"&&ar,Gl=typeof _a=="number"&&ar;Ir&&(So.position="sticky",So.left=ha),Gl&&(So.position="sticky",So.right=_a);var Bo=(Ce=(Ke=(Ve=Fo==null?void 0:Fo.colSpan)!==null&&Ve!==void 0?Ve:Qa.colSpan)!==null&&Ke!==void 0?Ke:so)!==null&&Ce!==void 0?Ce:1,po=(st=(ct=(wt=Fo==null?void 0:Fo.rowSpan)!==null&&wt!==void 0?wt:Qa.rowSpan)!==null&&ct!==void 0?ct:zo)!==null&&st!==void 0?st:1,yo=pt(fo,po),qa=(0,Pe.Z)(yo,2),Ma=qa[0],Nn=qa[1],ia=function(Po){var di;Gn&&Nn(fo,fo+po-1),Qa==null||(di=Qa.onMouseEnter)===null||di===void 0||di.call(Qa,Po)},Mo=function(Po){var di;Gn&&Nn(-1,-1),Qa==null||(di=Qa.onMouseLeave)===null||di===void 0||di.call(Qa,Po)};if(Bo===0||po===0)return null;var lr=(Bt=Qa.title)!==null&&Bt!==void 0?Bt:Lt({rowType:ka,ellipsis:Ut,children:El}),li=Me()(rr,Ln,(Ct={},(0,Ee.Z)(Ct,"".concat(rr,"-fix-left"),Ir&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-fix-left-first"),Fa&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-fix-left-last"),ra&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-fix-left-all"),ra&&ll&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-fix-right"),Gl&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-fix-right-first"),ca&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-fix-right-last"),Kt&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-ellipsis"),Ut),(0,Ee.Z)(Ct,"".concat(rr,"-with-append"),tr),(0,Ee.Z)(Ct,"".concat(rr,"-fix-sticky"),(Ir||Gl)&&Uo&&ar),(0,Ee.Z)(Ct,"".concat(rr,"-row-hover"),!Fo&&Ma),Ct),Qa.className,Fo==null?void 0:Fo.className),Vl={};Un&&(Vl.textAlign=Un);var Oi=(0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)({},So),Qa.style),Vl),Fo==null?void 0:Fo.style),Ea=El;return(0,ge.Z)(Ea)==="object"&&!Array.isArray(Ea)&&!ue.isValidElement(Ea)&&(Ea=null),Ut&&(ra||ca)&&(Ea=ue.createElement("span",{className:"".concat(rr,"-content")},Ea)),ue.createElement(Jt,(0,Ne.Z)({},Fo,Qa,{className:li,style:Oi,title:lr,scope:bn,onMouseEnter:ia,onMouseLeave:Mo,colSpan:Bo!==1?Bo:null,rowSpan:po!==1?po:null}),tr,Ea)}var Pn=ue.memo(mt);function ze(ye,Ce,Ke,Ve,st,ct){var wt=Ke[ye]||{},Bt=Ke[Ce]||{},Ct,Jt;wt.fixed==="left"?Ct=Ve.left[st==="rtl"?Ce:ye]:Bt.fixed==="right"&&(Jt=Ve.right[st==="rtl"?ye:Ce]);var Yt=!1,Ut=!1,bn=!1,Bn=!1,Ln=Ke[Ce+1],Un=Ke[ye-1],Gn=!(ct!=null&&ct.children);if(st==="rtl"){if(Ct!==void 0){var aa=Un&&Un.fixed==="left";Bn=!aa&&Gn}else if(Jt!==void 0){var qn=Ln&&Ln.fixed==="right";bn=!qn&&Gn}}else if(Ct!==void 0){var sa=Ln&&Ln.fixed==="left";Yt=!sa&&Gn}else if(Jt!==void 0){var to=Un&&Un.fixed==="right";Ut=!to&&Gn}return{fixLeft:Ct,fixRight:Jt,lastFixLeft:Yt,firstFixRight:Ut,lastFixRight:bn,firstFixLeft:Bn,isSticky:Ve.isSticky}}var At=ue.createContext({}),Wt=At;function tn(ye){var Ce=ye.className,Ke=ye.index,Ve=ye.children,st=ye.colSpan,ct=st===void 0?1:st,wt=ye.rowSpan,Bt=ye.align,Ct=Ie(ie,["prefixCls","direction"]),Jt=Ct.prefixCls,Yt=Ct.direction,Ut=ue.useContext(Wt),bn=Ut.scrollColumnIndex,Bn=Ut.stickyOffsets,Ln=Ut.flattenColumns,Un=Ut.columns,Gn=Ke+ct-1,aa=Gn+1===bn?ct+1:ct,qn=ze(Ke,Ke+aa-1,Ln,Bn,Yt,Un==null?void 0:Un[Ke]);return ue.createElement(Pn,(0,Ne.Z)({className:Ce,index:Ke,component:"td",prefixCls:Jt,record:null,dataIndex:null,align:Bt,colSpan:aa,rowSpan:wt,render:function(){return Ve}},qn))}var En=te(75931),ut=["children"];function ft(ye){var Ce=ye.children,Ke=(0,En.Z)(ye,ut);return ue.createElement("tr",Ke,Ce)}function _e(ye){var Ce=ye.children;return Ce}_e.Row=ft,_e.Cell=tn;var Be=_e;function rt(ye){var Ce=ye.children,Ke=ye.stickyOffsets,Ve=ye.flattenColumns,st=ye.columns,ct=Ie(ie,"prefixCls"),wt=Ve.length-1,Bt=Ve[wt],Ct=ue.useMemo(function(){return{stickyOffsets:Ke,flattenColumns:Ve,scrollColumnIndex:Bt!=null&&Bt.scrollbar?wt:null,columns:st}},[Bt,Ve,wt,Ke,st]);return ue.createElement(Wt.Provider,{value:Ct},ue.createElement("tfoot",{className:"".concat(ct,"-summary")},Ce))}var dt=ne(rt),Re=Be,we=te(70425),lt=te(29301),$e=te(29194),Ze=te(3465),ht=te(75152),An=te(26112);function en(ye,Ce,Ke,Ve,st,ct,wt){ye.push({record:Ce,indent:Ke,index:wt});var Bt=ct(Ce),Ct=st==null?void 0:st.has(Bt);if(Ce&&Array.isArray(Ce[Ve])&&Ct)for(var Jt=0;Jt1?Fa-1:0),ca=1;ca=0;Bt-=1){var Ct=Ce[Bt],Jt=Ke&&Ke[Bt],Yt=Jt&&Jt[xa];if(Ct||Yt||wt){var Ut=Yt||{},bn=Ut.columnType,Bn=(0,En.Z)(Ut,Sa);st.unshift(ue.createElement("col",(0,Ne.Z)({key:Bt,style:{width:Ct}},Bn))),wt=!0}}return ue.createElement("colgroup",null,st)}var oa=ro,xn=te(94480),wa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Da(ye,Ce){return(0,ue.useMemo)(function(){for(var Ke=[],Ve=0;Ve1?"colgroup":"col":null,ellipsis:Gn.ellipsis,align:Gn.align,component:Gn.title?ct:wt,prefixCls:Yt,key:Bn[Un]},aa,{additionalProps:qn,rowType:"header"}))}))}Wn.displayName="HeaderRow";var fa=Wn;function ta(ye){var Ce=[];function Ke(wt,Bt){var Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[Ct]=Ce[Ct]||[];var Jt=Bt,Yt=wt.filter(Boolean).map(function(Ut){var bn={key:Ut.key,className:Ut.className||"",children:Ut.title,column:Ut,colStart:Jt},Bn=1,Ln=Ut.children;return Ln&&Ln.length>0&&(Bn=Ke(Ln,Jt,Ct+1).reduce(function(Un,Gn){return Un+Gn},0),bn.hasSubColumns=!0),"colSpan"in Ut&&(Bn=Ut.colSpan),"rowSpan"in Ut&&(bn.rowSpan=Ut.rowSpan),bn.colSpan=Bn,bn.colEnd=bn.colStart+Bn-1,Ce[Ct].push(bn),Jt+=Bn,Bn});return Yt}Ke(ye,0);for(var Ve=Ce.length,st=function(Bt){Ce[Bt].forEach(function(Ct){!("rowSpan"in Ct)&&!Ct.hasSubColumns&&(Ct.rowSpan=Ve-Bt)})},ct=0;ct1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ce=="number"?Ce:Ce.endsWith("%")?ye*parseFloat(Ce)/100:null}function Na(ye,Ce){return ue.useMemo(function(){if(Ce&&Ce>0){var Ke=0,Ve=0;ye.forEach(function(Jt){var Yt=Dr(Ce,Jt.width);Yt?Ke+=Yt:Ve+=1});var st=Ce-Ke,ct=Ve,wt=st/Ve,Bt=0,Ct=ye.map(function(Jt){var Yt=(0,ve.Z)({},Jt),Ut=Dr(Ce,Yt.width);if(Ut)Yt.width=Ut;else{var bn=Math.floor(wt);Yt.width=ct===1?st:bn,st-=bn,ct-=1}return Bt+=Yt.width,Yt});return[Ct,Bt]}return[ye,Ce]},[ye,Ce])}var xt=["children"],It=["fixed"];function Dt(ye){return(0,Ar.Z)(ye).filter(function(Ce){return ue.isValidElement(Ce)}).map(function(Ce){var Ke=Ce.key,Ve=Ce.props,st=Ve.children,ct=(0,En.Z)(Ve,xt),wt=(0,ve.Z)({key:Ke},ct);return st&&(wt.children=Dt(st)),wt})}function In(ye){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ye.filter(function(Ke){return Ke&&(0,ge.Z)(Ke)==="object"}).reduce(function(Ke,Ve,st){var ct=Ve.fixed,wt=ct===!0?"left":ct,Bt="".concat(Ce,"-").concat(st),Ct=Ve.children;return Ct&&Ct.length>0?[].concat((0,xn.Z)(Ke),(0,xn.Z)(In(Ct,Bt).map(function(Jt){return(0,ve.Z)({fixed:wt},Jt)}))):[].concat((0,xn.Z)(Ke),[(0,ve.Z)((0,ve.Z)({key:Bt},Ve),{},{fixed:wt})])},[])}function na(ye){for(var Ce=!0,Ke=0;Ke=0;ct-=1){var wt=ye[ct];if(st&&wt.fixed!=="right")st=!1;else if(!st&&wt.fixed==="right"){warning(!1,"Index ".concat(ct+1," of `columns` missing `fixed='right'` prop."));break}}}function Hn(ye){return ye.map(function(Ce){var Ke=Ce.fixed,Ve=(0,En.Z)(Ce,It),st=Ke;return Ke==="left"?st="right":Ke==="right"&&(st="left"),(0,ve.Z)({fixed:st},Ve)})}function Qo(ye,Ce){var Ke=ye.prefixCls,Ve=ye.columns,st=ye.children,ct=ye.expandable,wt=ye.expandedKeys,Bt=ye.columnTitle,Ct=ye.getRowKey,Jt=ye.onTriggerExpand,Yt=ye.expandIcon,Ut=ye.rowExpandable,bn=ye.expandIconColumnIndex,Bn=ye.direction,Ln=ye.expandRowByClick,Un=ye.columnWidth,Gn=ye.fixed,aa=ye.scrollWidth,qn=ue.useMemo(function(){return Ve||Dt(st)},[Ve,st]),sa=ue.useMemo(function(){if(ct){var _a,Fa=qn.slice();if(!Fa.includes(x)){var ra=bn||0;ra>=0&&Fa.splice(ra,0,x)}var ca=Fa.indexOf(x);Fa=Fa.filter(function(Qa,Uo){return Qa!==x||Uo===ca});var Kt=qn[ca],tr;(Gn==="left"||Gn)&&!bn?tr="left":(Gn==="right"||Gn)&&bn===qn.length?tr="right":tr=Kt?Kt.fixed:null;var _o=(_a={},(0,Ee.Z)(_a,xa,{className:"".concat(Ke,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ee.Z)(_a,"title",Bt),(0,Ee.Z)(_a,"fixed",tr),(0,Ee.Z)(_a,"className","".concat(Ke,"-row-expand-icon-cell")),(0,Ee.Z)(_a,"width",Un),(0,Ee.Z)(_a,"render",function(Uo,rr,cr){var ar=Ct(rr,cr),ll=wt.has(ar),yr=Ut?Ut(rr):!0,oo=Yt({prefixCls:Ke,expanded:ll,expandable:yr,record:rr,onExpand:Jt});return Ln?ue.createElement("span",{onClick:function(Fo){return Fo.stopPropagation()}},oo):oo}),_a);return Fa.map(function(Qa){return Qa===x?_o:Qa})}return qn.filter(function(Qa){return Qa!==x})},[ct,qn,Ct,wt,Yt,Bn]),to=ue.useMemo(function(){var _a=sa;return Ce&&(_a=Ce(_a)),_a.length||(_a=[{render:function(){return null}}]),_a},[Ce,sa,Bn]),fo=ue.useMemo(function(){return Bn==="rtl"?Hn(In(to)):In(to)},[to,Bn,aa]),ka=Na(fo,aa),so=(0,Pe.Z)(ka,2),zo=so[0],ha=so[1];return[to,zo,ha]}var Oa=Qo;function lo(ye){var Ce,Ke=ye.prefixCls,Ve=ye.record,st=ye.onExpand,ct=ye.expanded,wt=ye.expandable,Bt="".concat(Ke,"-row-expand-icon");if(!wt)return ue.createElement("span",{className:Me()(Bt,"".concat(Ke,"-row-spaced"))});var Ct=function(Yt){st(Ve,Yt),Yt.stopPropagation()};return ue.createElement("span",{className:Me()(Bt,(Ce={},(0,Ee.Z)(Ce,"".concat(Ke,"-row-expanded"),ct),(0,Ee.Z)(Ce,"".concat(Ke,"-row-collapsed"),!ct),Ce)),onClick:Ct})}function hr(ye,Ce,Ke){var Ve=[];function st(ct){(ct||[]).forEach(function(wt,Bt){Ve.push(Ce(wt,Bt)),st(wt[Ke])})}return st(ye),Ve}function ao(ye,Ce,Ke){var Ve=rn(ye),st=Ve.expandIcon,ct=Ve.expandedRowKeys,wt=Ve.defaultExpandedRowKeys,Bt=Ve.defaultExpandAllRows,Ct=Ve.expandedRowRender,Jt=Ve.onExpand,Yt=Ve.onExpandedRowsChange,Ut=Ve.childrenColumnName,bn=st||lo,Bn=Ut||"children",Ln=ue.useMemo(function(){return Ct?"row":ye.expandable&&ye.internalHooks===re&&ye.expandable.__PARENT_RENDER_ICON__||Ce.some(function(fo){return fo&&(0,ge.Z)(fo)==="object"&&fo[Bn]})?"nest":!1},[!!Ct,Ce]),Un=ue.useState(function(){return wt||(Bt?hr(Ce,Ke,Bn):[])}),Gn=(0,Pe.Z)(Un,2),aa=Gn[0],qn=Gn[1],sa=ue.useMemo(function(){return new Set(ct||aa||[])},[ct,aa]),to=ue.useCallback(function(fo){var ka=Ke(fo,Ce.indexOf(fo)),so,zo=sa.has(ka);zo?(sa.delete(ka),so=(0,xn.Z)(sa)):so=[].concat((0,xn.Z)(sa),[ka]),qn(so),Jt&&Jt(!zo,fo),Yt&&Yt(so)},[Ke,sa,Ce,Jt,Yt]);return[Ve,Ln,sa,bn,Bn,to]}function Zn(ye,Ce,Ke,Ve){var st=ye.map(function(ct,wt){return ze(wt,wt,ye,Ce,Ke,Ve==null?void 0:Ve[wt])});return(0,Ue.Z)(function(){return st},[st],function(ct,wt){return!(0,xe.Z)(ct,wt)})}function sr(ye){var Ce=(0,ue.useRef)(ye),Ke=(0,ue.useState)({}),Ve=(0,Pe.Z)(Ke,2),st=Ve[1],ct=(0,ue.useRef)(null),wt=(0,ue.useRef)([]);function Bt(Ct){wt.current.push(Ct);var Jt=Promise.resolve();ct.current=Jt,Jt.then(function(){if(ct.current===Jt){var Yt=wt.current,Ut=Ce.current;wt.current=[],Yt.forEach(function(bn){Ce.current=bn(Ce.current)}),ct.current=null,Ut!==Ce.current&&st({})}})}return(0,ue.useEffect)(function(){return function(){ct.current=null}},[]),[Ce.current,Bt]}function Gr(ye){var Ce=(0,ue.useRef)(ye||null),Ke=(0,ue.useRef)();function Ve(){window.clearTimeout(Ke.current)}function st(wt){Ce.current=wt,Ve(),Ke.current=window.setTimeout(function(){Ce.current=null,Ke.current=void 0},100)}function ct(){return Ce.current}return(0,ue.useEffect)(function(){return Ve},[]),[st,ct]}function Er(){var ye=ue.useState(-1),Ce=(0,Pe.Z)(ye,2),Ke=Ce[0],Ve=Ce[1],st=ue.useState(-1),ct=(0,Pe.Z)(st,2),wt=ct[0],Bt=ct[1],Ct=ue.useCallback(function(Jt,Yt){Ve(Jt),Bt(Yt)},[]);return[Ke,wt,Ct]}var Go=te(47273),Et=(0,Go.Z)()?window:null;function pn(ye,Ce){var Ke=(0,ge.Z)(ye)==="object"?ye:{},Ve=Ke.offsetHeader,st=Ve===void 0?0:Ve,ct=Ke.offsetSummary,wt=ct===void 0?0:ct,Bt=Ke.offsetScroll,Ct=Bt===void 0?0:Bt,Jt=Ke.getContainer,Yt=Jt===void 0?function(){return Et}:Jt,Ut=Yt()||Et;return ue.useMemo(function(){var bn=!!ye;return{isSticky:bn,stickyClassName:bn?"".concat(Ce,"-sticky-holder"):"",offsetHeader:st,offsetSummary:wt,offsetScroll:Ct,container:Ut}},[Ct,st,wt,Ce,Ut])}function vn(ye,Ce,Ke){var Ve=(0,ue.useMemo)(function(){for(var st=[],ct=[],wt=0,Bt=0,Ct=0;Ct=Ut&&(Qa=Ut-bn),wt({scrollLeft:Qa/Ut*(Yt+2)}),qn.current.x=ca.pageX},_a=function(){if(ct.current){var ca=(0,yn.os)(ct.current).top,Kt=ca+ct.current.offsetHeight,tr=Ct===window?document.documentElement.scrollTop+window.innerHeight:(0,yn.os)(Ct).top+Ct.clientHeight;Kt-(0,ht.Z)()<=tr||ca>=tr-Bt?aa(function(_o){return(0,ve.Z)((0,ve.Z)({},_o),{},{isHiddenScrollBar:!0})}):aa(function(_o){return(0,ve.Z)((0,ve.Z)({},_o),{},{isHiddenScrollBar:!1})})}},Fa=function(ca){aa(function(Kt){return(0,ve.Z)((0,ve.Z)({},Kt),{},{scrollLeft:ca/Yt*Ut||0})})};return ue.useImperativeHandle(Ke,function(){return{setScrollLeft:Fa}}),ue.useEffect(function(){var ra=(0,hn.Z)(document.body,"mouseup",so,!1),ca=(0,hn.Z)(document.body,"mousemove",ha,!1);return _a(),function(){ra.remove(),ca.remove()}},[bn,fo]),ue.useEffect(function(){var ra=(0,hn.Z)(Ct,"scroll",_a,!1),ca=(0,hn.Z)(window,"resize",_a,!1);return function(){ra.remove(),ca.remove()}},[Ct]),ue.useEffect(function(){Gn.isHiddenScrollBar||aa(function(ra){var ca=ct.current;return ca?(0,ve.Z)((0,ve.Z)({},ra),{},{scrollLeft:ca.scrollLeft/ca.scrollWidth*ca.clientWidth}):ra})},[Gn.isHiddenScrollBar]),Yt<=Ut||!bn||Gn.isHiddenScrollBar?null:ue.createElement("div",{style:{height:(0,ht.Z)(),width:Ut,bottom:Bt},className:"".concat(Jt,"-sticky-scroll")},ue.createElement("div",{onMouseDown:zo,ref:Bn,className:Me()("".concat(Jt,"-sticky-scroll-bar"),(0,Ee.Z)({},"".concat(Jt,"-sticky-scroll-bar-active"),fo)),style:{width:"".concat(bn,"px"),transform:"translate3d(".concat(Gn.scrollLeft,"px, 0, 0)")}}))},Pa=ue.forwardRef(pa);function nn(ye){return null}var fr=nn;function wr(ye){return null}var Xr=wr,Sr="rc-table",Xn=[],Ia={};function bo(){return"No Data"}function La(ye){var Ce,Ke=(0,ve.Z)({rowKey:"key",prefixCls:Sr,emptyText:bo},ye),Ve=Ke.prefixCls,st=Ke.className,ct=Ke.rowClassName,wt=Ke.style,Bt=Ke.data,Ct=Ke.rowKey,Jt=Ke.scroll,Yt=Ke.tableLayout,Ut=Ke.direction,bn=Ke.title,Bn=Ke.footer,Ln=Ke.summary,Un=Ke.caption,Gn=Ke.id,aa=Ke.showHeader,qn=Ke.components,sa=Ke.emptyText,to=Ke.onRow,fo=Ke.onHeaderRow,ka=Ke.internalHooks,so=Ke.transformColumns,zo=Ke.internalRefs,ha=Ke.tailor,_a=Ke.sticky,Fa=Bt||Xn,ra=!!Fa.length,ca=ka===re,Kt=ue.useCallback(function(ol,Ml){return(0,Le.Z)(qn,ol)||Ml},[qn]),tr=ue.useMemo(function(){return typeof Ct=="function"?Ct:function(ol){var Ml=ol&&ol[Ct];return Ml}},[Ct]),_o=Kt(["body"]),Qa=Er(),Uo=(0,Pe.Z)(Qa,3),rr=Uo[0],cr=Uo[1],ar=Uo[2],ll=ao(Ke,Fa,tr),yr=(0,Pe.Z)(ll,6),oo=yr[0],El=yr[1],Fo=yr[2],So=yr[3],Ir=yr[4],Gl=yr[5],Bo=Jt==null?void 0:Jt.x,po=ue.useState(0),yo=(0,Pe.Z)(po,2),qa=yo[0],Ma=yo[1],Nn=Oa((0,ve.Z)((0,ve.Z)((0,ve.Z)({},Ke),oo),{},{expandable:!!oo.expandedRowRender,columnTitle:oo.columnTitle,expandedKeys:Fo,getRowKey:tr,onTriggerExpand:Gl,expandIcon:So,expandIconColumnIndex:oo.expandIconColumnIndex,direction:Ut,scrollWidth:ca&&ha&&typeof Bo=="number"?Bo:null}),ca?so:null),ia=(0,Pe.Z)(Nn,3),Mo=ia[0],lr=ia[1],li=ia[2],Vl=li!=null?li:Bo,Oi=ue.useMemo(function(){return{columns:Mo,flattenColumns:lr}},[Mo,lr]),Ea=ue.useRef(),Fl=ue.useRef(),Po=ue.useRef(),di=ue.useRef(),oi=ue.useRef(),Hr=ue.useState(!1),Jr=(0,Pe.Z)(Hr,2),Bl=Jr[0],ir=Jr[1],pl=ue.useState(!1),Pr=(0,Pe.Z)(pl,2),ei=Pr[0],ii=Pr[1],tl=sr(new Map),Do=(0,Pe.Z)(tl,2),Zl=Do[0],gi=Do[1],qi=Xe(lr),Ni=qi.map(function(ol){return Zl.get(ol)}),wi=ue.useMemo(function(){return Ni},[Ni.join("_")]),Si=qt(wi,lr.length,Ut),Hl=Jt&&St(Jt.y),kl=Jt&&St(Vl)||!!oo.fixed,Ui=kl&&lr.some(function(ol){var Ml=ol.fixed;return Ml}),cu=ue.useRef(),Gi=pn(_a,Ve),Vi=Gi.isSticky,du=Gi.offsetHeader,Hu=Gi.offsetSummary,Mr=Gi.offsetScroll,sl=Gi.stickyClassName,ui=Gi.container,Il=ue.useMemo(function(){return Ln==null?void 0:Ln(Fa)},[Ln,Fa]),yi=(Hl||Vi)&&ue.isValidElement(Il)&&Il.type===Be&&Il.props.fixed,Pi,pi,Wi;Hl&&(pi={overflowY:"scroll",maxHeight:Jt.y}),kl&&(Pi={overflowX:"auto"},Hl||(pi={overflowY:"hidden"}),Wi={width:Vl===!0?"auto":Vl,minWidth:"100%"});var es=ue.useCallback(function(ol,Ml){(0,$e.Z)(Ea.current)&&gi(function(ki){if(ki.get(ol)!==Ml){var gu=new Map(ki);return gu.set(ol,Ml),gu}return ki})},[]),zs=Gr(null),ts=(0,Pe.Z)(zs,2),Zs=ts[0],Bs=ts[1];function _u(ol,Ml){Ml&&(typeof Ml=="function"?Ml(ol):Ml.scrollLeft!==ol&&(Ml.scrollLeft=ol,Ml.scrollLeft!==ol&&setTimeout(function(){Ml.scrollLeft=ol},0)))}var Al=(0,Fe.Z)(function(ol){var Ml=ol.currentTarget,ki=ol.scrollLeft,gu=Ut==="rtl",$i=typeof ki=="number"?ki:Ml.scrollLeft,kn=Ml||Ia;if(!Bs()||Bs()===kn){var ms;Zs(kn),_u($i,Fl.current),_u($i,Po.current),_u($i,oi.current),_u($i,(ms=cu.current)===null||ms===void 0?void 0:ms.setScrollLeft)}var fs=Ml||Fl.current;if(fs){var ps=fs.scrollWidth,wu=fs.clientWidth;if(ps===wu){ir(!1),ii(!1);return}gu?(ir(-$i0)):(ir($i>0),ii($i1?Un-ca:0,tr=(0,ve.Z)((0,ve.Z)((0,ve.Z)({},so),Ct),{},{flex:"0 0 ".concat(ca,"px"),width:"".concat(ca,"px"),marginRight:Kt,pointerEvents:"auto"}),_o=ue.useMemo(function(){return Yt?Fa<=1:ha===0||Fa===0||Fa>1},[Fa,ha,Yt]);_o?tr.visibility="hidden":Yt&&(tr.height=Ut==null?void 0:Ut(Fa));var Qa=_o?function(){return null}:bn,Uo={};return(Fa===0||ha===0)&&(Uo.rowSpan=1,Uo.colSpan=1),ue.createElement(Pn,(0,Ne.Z)({className:Me()(Ln,Jt),ellipsis:Ke.ellipsis,align:Ke.align,scope:Ke.rowScope,component:"div",prefixCls:Ce.prefixCls,key:sa,record:Bt,index:ct,renderIndex:wt,dataIndex:Bn,render:Qa,shouldCellUpdate:Ke.shouldCellUpdate},to,{appendNode:fo,additionalProps:(0,ve.Z)((0,ve.Z)({},ka),{},{style:tr},Uo)}))}var si=Kr,Wl=["data","index","className","rowKey","style","extra","getHeight"],mi=ue.forwardRef(function(ye,Ce){var Ke=ye.data,Ve=ye.index,st=ye.className,ct=ye.rowKey,wt=ye.style,Bt=ye.extra,Ct=ye.getHeight,Jt=(0,En.Z)(ye,Wl),Yt=Ke.record,Ut=Ke.indent,bn=Ke.index,Bn=Ie(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ln=Bn.scrollX,Un=Bn.flattenColumns,Gn=Bn.prefixCls,aa=Bn.fixColumn,qn=Bn.componentWidth,sa=Ye(Yt,ct,Ve,Ut),to=sa.rowSupportExpand,fo=sa.expanded,ka=sa.rowProps,so=sa.expandedRowRender,zo=sa.expandedRowClassName,ha;if(to&&fo){var _a=so(Yt,Ve,Ut+1,fo),Fa=zo==null?void 0:zo(Yt,Ve,Ut),ra={};aa&&(ra={style:(0,Ee.Z)({},"--virtual-width","".concat(qn,"px"))});var ca="".concat(Gn,"-expanded-row-cell");ha=ue.createElement("div",{className:Me()("".concat(Gn,"-expanded-row"),"".concat(Gn,"-expanded-row-level-").concat(Ut+1),Fa)},ue.createElement(Pn,{component:"div",prefixCls:Gn,className:Me()(ca,(0,Ee.Z)({},"".concat(ca,"-fixed"),aa)),additionalProps:ra},_a))}var Kt=(0,ve.Z)((0,ve.Z)({},wt),{},{width:Ln});Bt&&(Kt.position="absolute",Kt.pointerEvents="none");var tr=ue.createElement("div",(0,Ne.Z)({},ka,Jt,{ref:to?null:Ce,className:Me()(st,"".concat(Gn,"-row"),ka==null?void 0:ka.className,(0,Ee.Z)({},"".concat(Gn,"-row-extra"),Bt)),style:(0,ve.Z)((0,ve.Z)({},Kt),ka==null?void 0:ka.style)}),Un.map(function(_o,Qa){return ue.createElement(si,{key:Qa,rowInfo:sa,column:_o,colIndex:Qa,indent:Ut,index:Ve,renderIndex:bn,record:Yt,inverse:Bt,getHeight:Ct})}));return to?ue.createElement("div",{ref:Ce},tr,ha):tr}),Li=ne(mi),Xl=Li,xl=ue.forwardRef(function(ye,Ce){var Ke=ye.data,Ve=ye.onScroll,st=Ie(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ct=st.flattenColumns,wt=st.onColumnResize,Bt=st.getRowKey,Ct=st.expandedKeys,Jt=st.prefixCls,Yt=st.childrenColumnName,Ut=st.emptyNode,bn=st.scrollX,Bn=Ie(qr),Ln=Bn.scrollY,Un=Bn.listItemHeight,Gn=ue.useRef(),aa=zt(Ke,Yt,Ct,Bt),qn=ue.useMemo(function(){var ha=0;return ct.map(function(_a){var Fa=_a.width,ra=_a.key;return ha+=Fa,[ra,Fa,ha]})},[ct]),sa=ue.useMemo(function(){return qn.map(function(ha){return ha[2]})},[qn]);ue.useEffect(function(){qn.forEach(function(ha){var _a=(0,Pe.Z)(ha,2),Fa=_a[0],ra=_a[1];wt(Fa,ra)})},[qn]),ue.useImperativeHandle(Ce,function(){var ha={};return Object.defineProperty(ha,"scrollLeft",{get:function(){var Fa;return((Fa=Gn.current)===null||Fa===void 0?void 0:Fa.getScrollInfo().x)||0},set:function(Fa){var ra;(ra=Gn.current)===null||ra===void 0||ra.scrollTo({left:Fa})}}),ha});var to=function(_a,Fa){var ra,ca=(ra=aa[Fa])===null||ra===void 0?void 0:ra.record,Kt=_a.onCell;if(Kt){var tr,_o=Kt(ca,Fa);return(tr=_o==null?void 0:_o.rowSpan)!==null&&tr!==void 0?tr:1}return 1},fo=function(_a){var Fa=_a.start,ra=_a.end,ca=_a.getSize,Kt=_a.offsetY;if(ra<0)return null;for(var tr=ct.filter(function(Bo){return to(Bo,Fa)===0}),_o=Fa,Qa=function(po){if(tr=tr.filter(function(yo){return to(yo,po)===0}),!tr.length)return _o=po,"break"},Uo=Fa;Uo>=0;Uo-=1){var rr=Qa(Uo);if(rr==="break")break}for(var cr=ct.filter(function(Bo){return to(Bo,ra)!==1}),ar=ra,ll=function(po){if(cr=cr.filter(function(yo){return to(yo,po)!==1}),!cr.length)return ar=Math.max(po-1,ra),"break"},yr=ra;yr1})&&El.push(po)},So=_o;So<=ar;So+=1)var Ir=Fo(So);var Gl=El.map(function(Bo){var po=aa[Bo],yo=Bt(po.record,Bo),qa=function(ia){var Mo=Bo+ia-1,lr=Bt(aa[Mo].record,Mo),li=ca(yo,lr);return li.bottom-li.top},Ma=ca(yo);return ue.createElement(Xl,{key:Bo,data:po,rowKey:yo,index:Bo,style:{top:-Kt+Ma.top},extra:!0,getHeight:qa})});return Gl},ka=ue.useMemo(function(){return{columnsOffset:sa}},[sa]),so="".concat(Jt,"-tbody"),zo;return aa.length?zo=ue.createElement(Wr.Z,{fullHeight:!1,ref:Gn,className:Me()(so,"".concat(so,"-virtual")),height:Ln,itemHeight:Un||24,data:aa,itemKey:function(_a){return Bt(_a.record)},scrollWidth:bn,onVirtualScroll:function(_a){var Fa=_a.x;Ve({scrollLeft:Fa})},extraRender:fo},function(ha,_a,Fa){var ra=Bt(ha.record,_a);return ue.createElement(Xl,(0,Ne.Z)({data:ha,rowKey:ra,index:_a},Fa))}):zo=ue.createElement("div",{className:Me()("".concat(Jt,"-placeholder"))},ue.createElement(Pn,{component:"div",prefixCls:Jt},Ut)),ue.createElement(ri.Provider,{value:ka},zo)}),ci=ne(xl),Mi=ci,bi=function(Ce,Ke){var Ve=Ke.ref,st=Ke.onScroll;return ue.createElement(Mi,{ref:Ve,data:Ce,onScroll:st})},hi=100;function ti(ye){var Ce=ye.columns,Ke=ye.scroll,Ve=ye.prefixCls,st=Ve===void 0?Sr:Ve,ct=ye.className,wt=ye.listItemHeight,Bt=Ke||{},Ct=Bt.x,Jt=Bt.y;typeof Ct!="number"&&(Ct=((Ce||[]).length+1)*hi),typeof Jt!="number"&&(Jt=500);var Yt=ue.useMemo(function(){return{scrollY:Jt,listItemHeight:wt}},[Jt,wt]);return ue.createElement(qr.Provider,{value:Yt},ue.createElement(Oo,(0,Ne.Z)({},ye,{className:Me()(ct,"".concat(st,"-virtual")),scroll:(0,ve.Z)((0,ve.Z)({},Ke),{},{x:Ct}),components:{body:bi},columns:Ce,internalHooks:re,tailor:!0})))}function fi(ye){return z(ti,ye)}var gr=fi(),dl=null;function Cl(ye){return null}var ni=Cl;function ql(ye){return null}var xi=ql,Qi=te(2738),Hi=te(68031),Ol=te(36355),Nl=te(93891),Ii=te(19716),Rn=te(8628),ru=te(31724),lu=te(58421),Eo=te(71418),Ba=te(88088);function Wa(ye){return function(Ke){let{prefixCls:Ve,onExpand:st,record:ct,expanded:wt,expandable:Bt}=Ke;const Ct=`${Ve}-row-expand-icon`;return ue.createElement("button",{type:"button",onClick:Jt=>{st(ct,Jt),Jt.stopPropagation()},className:Me()(Ct,{[`${Ct}-spaced`]:!Bt,[`${Ct}-expanded`]:Bt&&wt,[`${Ct}-collapsed`]:Bt&&!wt}),"aria-label":wt?ye.collapse:ye.expand,"aria-expanded":wt})}}var Za=Wa;function Lr(ye,Ce){return"key"in ye&&ye.key!==void 0&&ye.key!==null?ye.key:ye.dataIndex?Array.isArray(ye.dataIndex)?ye.dataIndex.join("."):ye.dataIndex:Ce}function gl(ye,Ce){return Ce?`${Ce}-${ye}`:`${ye}`}function wl(ye,Ce){return typeof ye=="function"?ye(Ce):ye}function $r(ye,Ce){const Ke=wl(ye,Ce);return Object.prototype.toString.call(Ke)==="[object Object]"?"":Ke}var Kl={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"},Yl=Kl,Di=te(7657),$l=function(Ce,Ke){return ue.createElement(Di.Z,(0,Ne.Z)({},Ce,{ref:Ke,icon:Yl}))},or=ue.forwardRef($l),co=or,ml=te(56762);function Ur(ye){const Ce=ue.useRef(ye),Ke=(0,ml.Z)();return[()=>Ce.current,Ve=>{Ce.current=Ve,Ke()}]}var Vr=te(3113),Qt=te(24905),Tt=te(38854),cn=te(64165),Yn=te(20834),uo=te(40875),xo=te(5112),Tn=te(17574),eo=te(47472),jo=te(92832);function mr(ye){let{value:Ce,onChange:Ke,filterSearch:Ve,tablePrefixCls:st,locale:ct}=ye;return Ve?ue.createElement("div",{className:`${st}-filter-dropdown-search`},ue.createElement(jo.default,{prefix:ue.createElement(eo.Z,null),placeholder:ct.filterSearchPlaceholder,onChange:Ke,value:Ce,htmlSize:1,className:`${st}-filter-dropdown-search-input`})):null}var No=mr,va=te(10228);const Ko=ye=>{const{keyCode:Ce}=ye;Ce===va.Z.ENTER&&ye.stopPropagation()};var Ll=ue.forwardRef((ye,Ce)=>ue.createElement("div",{className:ye.className,onClick:Ke=>Ke.stopPropagation(),onKeyDown:Ko,ref:Ce},ye.children));function Io(ye){let Ce=[];return(ye||[]).forEach(Ke=>{let{value:Ve,children:st}=Ke;Ce.push(Ve),st&&(Ce=[].concat((0,xn.Z)(Ce),(0,xn.Z)(Io(st))))}),Ce}function Yo(ye){return ye.some(Ce=>{let{children:Ke}=Ce;return Ke})}function Yr(ye,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(ye.trim().toLowerCase()):!1}function jr(ye){let{filters:Ce,prefixCls:Ke,filteredKeys:Ve,filterMultiple:st,searchValue:ct,filterSearch:wt}=ye;return Ce.map((Bt,Ct)=>{const Jt=String(Bt.value);if(Bt.children)return{key:Jt||Ct,label:Bt.text,popupClassName:`${Ke}-dropdown-submenu`,children:jr({filters:Bt.children,prefixCls:Ke,filteredKeys:Ve,filterMultiple:st,searchValue:ct,filterSearch:wt})};const Yt=st?Qt.default:xo.ZP,Ut={key:Bt.value!==void 0?Jt:Ct,label:ue.createElement(ue.Fragment,null,ue.createElement(Yt,{checked:Ve.includes(Jt)}),ue.createElement("span",null,Bt.text))};return ct.trim()?typeof wt=="function"?wt(ct,Bt)?Ut:null:Yr(ct,Bt.text)?Ut:null:Ut})}function Tl(ye){var Ce,Ke;const{tablePrefixCls:Ve,prefixCls:st,column:ct,dropdownPrefixCls:wt,columnKey:Bt,filterMultiple:Ct,filterMode:Jt="menu",filterSearch:Yt=!1,filterState:Ut,triggerFilter:bn,locale:Bn,children:Ln,getPopupContainer:Un}=ye,{filterDropdownOpen:Gn,onFilterDropdownOpenChange:aa,filterResetToDefaultFilteredValue:qn,defaultFilteredValue:sa,filterDropdownVisible:to,onFilterDropdownVisibleChange:fo}=ct,[ka,so]=ue.useState(!1),zo=!!(Ut&&(!((Ce=Ut.filteredKeys)===null||Ce===void 0)&&Ce.length||Ut.forceFiltered)),ha=Nn=>{so(Nn),aa==null||aa(Nn),fo==null||fo(Nn)},_a=(Ke=Gn!=null?Gn:to)!==null&&Ke!==void 0?Ke:ka,Fa=Ut==null?void 0:Ut.filteredKeys,[ra,ca]=Ur(Fa||[]),Kt=Nn=>{let{selectedKeys:ia}=Nn;ca(ia)},tr=(Nn,ia)=>{let{node:Mo,checked:lr}=ia;Kt(Ct?{selectedKeys:Nn}:{selectedKeys:lr&&Mo.key?[Mo.key]:[]})};ue.useEffect(()=>{ka&&Kt({selectedKeys:Fa||[]})},[Fa]);const[_o,Qa]=ue.useState([]),Uo=Nn=>{Qa(Nn)},[rr,cr]=ue.useState(""),ar=Nn=>{const{value:ia}=Nn.target;cr(ia)};ue.useEffect(()=>{ka||cr("")},[ka]);const ll=Nn=>{const ia=Nn&&Nn.length?Nn:null;if(ia===null&&(!Ut||!Ut.filteredKeys)||(0,xe.Z)(ia,Ut==null?void 0:Ut.filteredKeys,!0))return null;bn({column:ct,key:Bt,filteredKeys:ia})},yr=()=>{ha(!1),ll(ra())},oo=function(){let{confirm:Nn,closeDropdown:ia}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Nn&&ll([]),ia&&ha(!1),cr(""),ca(qn?(sa||[]).map(Mo=>String(Mo)):[])},El=function(){let{closeDropdown:Nn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Nn&&ha(!1),ll(ra())},Fo=Nn=>{Nn&&Fa!==void 0&&ca(Fa||[]),ha(Nn),!Nn&&!ct.filterDropdown&&yr()},So=Me()({[`${wt}-menu-without-submenu`]:!Yo(ct.filters||[])}),Ir=Nn=>{if(Nn.target.checked){const ia=Io(ct==null?void 0:ct.filters).map(Mo=>String(Mo));ca(ia)}else ca([])},Gl=Nn=>{let{filters:ia}=Nn;return(ia||[]).map((Mo,lr)=>{const li=String(Mo.value),Vl={title:Mo.text,key:Mo.value!==void 0?li:lr};return Mo.children&&(Vl.children=Gl({filters:Mo.children})),Vl})},Bo=Nn=>{var ia;return Object.assign(Object.assign({},Nn),{text:Nn.title,value:Nn.key,children:((ia=Nn.children)===null||ia===void 0?void 0:ia.map(Mo=>Bo(Mo)))||[]})};let po;if(typeof ct.filterDropdown=="function")po=ct.filterDropdown({prefixCls:`${wt}-custom`,setSelectedKeys:Nn=>Kt({selectedKeys:Nn}),selectedKeys:ra(),confirm:El,clearFilters:oo,filters:ct.filters,visible:_a,close:()=>{ha(!1)}});else if(ct.filterDropdown)po=ct.filterDropdown;else{const Nn=ra()||[],ia=()=>(ct.filters||[]).length===0?ue.createElement(cn.Z,{image:cn.Z.PRESENTED_IMAGE_SIMPLE,description:Bn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Jt==="tree"?ue.createElement(ue.Fragment,null,ue.createElement(No,{filterSearch:Yt,value:rr,onChange:ar,tablePrefixCls:Ve,locale:Bn}),ue.createElement("div",{className:`${Ve}-filter-dropdown-tree`},Ct?ue.createElement(Qt.default,{checked:Nn.length===Io(ct.filters).length,indeterminate:Nn.length>0&&Nn.lengthtypeof Yt=="function"?Yt(rr,Bo(lr)):Yr(rr,lr.title):void 0}))):ue.createElement(ue.Fragment,null,ue.createElement(No,{filterSearch:Yt,value:rr,onChange:ar,tablePrefixCls:Ve,locale:Bn}),ue.createElement(Yn.default,{selectable:!0,multiple:Ct,prefixCls:`${wt}-menu`,className:So,onSelect:Kt,onDeselect:Kt,selectedKeys:Nn,getPopupContainer:Un,openKeys:_o,onOpenChange:Uo,items:jr({filters:ct.filters||[],filterSearch:Yt,prefixCls:st,filteredKeys:ra(),filterMultiple:Ct,searchValue:rr})})),Mo=()=>qn?(0,xe.Z)((sa||[]).map(lr=>String(lr)),Nn,!0):Nn.length===0;po=ue.createElement(ue.Fragment,null,ia(),ue.createElement("div",{className:`${st}-dropdown-btns`},ue.createElement(Vr.ZP,{type:"link",size:"small",disabled:Mo(),onClick:()=>oo()},Bn.filterReset),ue.createElement(Vr.ZP,{type:"primary",size:"small",onClick:yr},Bn.filterConfirm)))}ct.filterDropdown&&(po=ue.createElement(uo.J,{selectable:void 0},po));const yo=()=>ue.createElement(Ll,{className:`${st}-dropdown`},po);let qa;typeof ct.filterIcon=="function"?qa=ct.filterIcon(zo):ct.filterIcon?qa=ct.filterIcon:qa=ue.createElement(co,null);const{direction:Ma}=ue.useContext(Ol.E_);return ue.createElement("div",{className:`${st}-column`},ue.createElement("span",{className:`${Ve}-column-title`},Ln),ue.createElement(Tt.Z,{dropdownRender:yo,trigger:["click"],open:_a,onOpenChange:Fo,getPopupContainer:Un,placement:Ma==="rtl"?"bottomLeft":"bottomRight"},ue.createElement("span",{role:"button",tabIndex:-1,className:Me()(`${st}-trigger`,{active:zo}),onClick:Nn=>{Nn.stopPropagation()}},qa)))}var Ci=Tl;function el(ye,Ce,Ke){let Ve=[];return(ye||[]).forEach((st,ct)=>{var wt;const Bt=gl(ct,Ke);if(st.filters||"filterDropdown"in st||"onFilter"in st)if("filteredValue"in st){let Ct=st.filteredValue;"filterDropdown"in st||(Ct=(wt=Ct==null?void 0:Ct.map(String))!==null&&wt!==void 0?wt:Ct),Ve.push({column:st,key:Lr(st,Bt),filteredKeys:Ct,forceFiltered:st.filtered})}else Ve.push({column:st,key:Lr(st,Bt),filteredKeys:Ce&&st.defaultFilteredValue?st.defaultFilteredValue:void 0,forceFiltered:st.filtered});"children"in st&&(Ve=[].concat((0,xn.Z)(Ve),(0,xn.Z)(el(st.children,Ce,Bt))))}),Ve}function Ti(ye,Ce,Ke,Ve,st,ct,wt,Bt){return Ke.map((Ct,Jt)=>{const Yt=gl(Jt,Bt),{filterMultiple:Ut=!0,filterMode:bn,filterSearch:Bn}=Ct;let Ln=Ct;if(Ln.filters||Ln.filterDropdown){const Un=Lr(Ln,Yt),Gn=Ve.find(aa=>{let{key:qn}=aa;return Un===qn});Ln=Object.assign(Object.assign({},Ln),{title:aa=>ue.createElement(Ci,{tablePrefixCls:ye,prefixCls:`${ye}-filter`,dropdownPrefixCls:Ce,column:Ln,columnKey:Un,filterState:Gn,filterMultiple:Ut,filterMode:bn,filterSearch:Bn,triggerFilter:ct,locale:st,getPopupContainer:wt},wl(Ct.title,aa))})}return"children"in Ln&&(Ln=Object.assign(Object.assign({},Ln),{children:Ti(ye,Ce,Ln.children,Ve,st,ct,wt,Yt)})),Ln})}function Ji(ye){const Ce={};return ye.forEach(Ke=>{let{key:Ve,filteredKeys:st,column:ct}=Ke;const{filters:wt,filterDropdown:Bt}=ct;if(Bt)Ce[Ve]=st||null;else if(Array.isArray(st)){const Ct=Io(wt);Ce[Ve]=Ct.filter(Jt=>st.includes(String(Jt)))}else Ce[Ve]=null}),Ce}function _i(ye,Ce){return Ce.reduce((Ke,Ve)=>{const{column:{onFilter:st,filters:ct},filteredKeys:wt}=Ve;return st&&wt&&wt.length?Ke.filter(Bt=>wt.some(Ct=>{const Jt=Io(ct),Yt=Jt.findIndex(bn=>String(bn)===String(Ct)),Ut=Yt!==-1?Jt[Yt]:Ct;return st(Ut,Bt)})):Ke},ye)}const pu=ye=>ye.flatMap(Ce=>"children"in Ce?[Ce].concat((0,xn.Z)(pu(Ce.children||[]))):[Ce]);function Ru(ye){let{prefixCls:Ce,dropdownPrefixCls:Ke,mergedColumns:Ve,onFilterChange:st,getPopupContainer:ct,locale:wt}=ye;const Bt=ue.useMemo(()=>pu(Ve||[]),[Ve]),[Ct,Jt]=ue.useState(()=>el(Bt,!0)),Yt=ue.useMemo(()=>{const Ln=el(Bt,!1);if(Ln.length===0)return Ln;let Un=!0,Gn=!0;if(Ln.forEach(aa=>{let{filteredKeys:qn}=aa;qn!==void 0?Un=!1:Gn=!1}),Un){const aa=(Bt||[]).map((qn,sa)=>Lr(qn,gl(sa)));return Ct.filter(qn=>{let{key:sa}=qn;return aa.includes(sa)}).map(qn=>{const sa=Bt[aa.findIndex(to=>to===qn.key)];return Object.assign(Object.assign({},qn),{column:Object.assign(Object.assign({},qn.column),sa),forceFiltered:sa.filtered})})}return Ln},[Bt,Ct]),Ut=ue.useMemo(()=>Ji(Yt),[Yt]),bn=Ln=>{const Un=Yt.filter(Gn=>{let{key:aa}=Gn;return aa!==Ln.key});Un.push(Ln),Jt(Un),st(Ji(Un),Un)};return[Ln=>Ti(Ce,Ke,Ln,Yt,wt,bn,ct),Yt,Ut]}var Ei=Ru;function pr(ye,Ce,Ke){const Ve=ue.useRef({});function st(ct){if(!Ve.current||Ve.current.data!==ye||Ve.current.childrenColumnName!==Ce||Ve.current.getRowKey!==Ke){let Bt=function(Ct){Ct.forEach((Jt,Yt)=>{const Ut=Ke(Jt,Yt);wt.set(Ut,Jt),Jt&&typeof Jt=="object"&&Ce in Jt&&Bt(Jt[Ce]||[])})};const wt=new Map;Bt(ye),Ve.current={data:ye,childrenColumnName:Ce,kvMap:wt,getRowKey:Ke}}return Ve.current.kvMap.get(ct)}return[st]}var Cu=te(50371),Fu=function(ye,Ce){var Ke={};for(var Ve in ye)Object.prototype.hasOwnProperty.call(ye,Ve)&&Ce.indexOf(Ve)<0&&(Ke[Ve]=ye[Ve]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ve=Object.getOwnPropertySymbols(ye);st{const ct=ye[st];typeof ct!="function"&&(Ke[st]=ct)}),Ke}function iu(ye,Ce,Ke){const Ve=Ke&&typeof Ke=="object"?Ke:{},{total:st=0}=Ve,ct=Fu(Ve,["total"]),[wt,Bt]=(0,ue.useState)(()=>({current:"defaultCurrent"in ct?ct.defaultCurrent:1,pageSize:"defaultPageSize"in ct?ct.defaultPageSize:ji})),Ct=(0,Cu.Z)(wt,ct,{total:st>0?st:ye}),Jt=Math.ceil((st||ye)/Ct.pageSize);Ct.current>Jt&&(Ct.current=Jt||1);const Yt=(bn,Bn)=>{Bt({current:bn!=null?bn:1,pageSize:Bn||Ct.pageSize})},Ut=(bn,Bn)=>{var Ln;Ke&&((Ln=Ke.onChange)===null||Ln===void 0||Ln.call(Ke,bn,Bn)),Yt(bn,Bn),Ce(bn,Bn||(Ct==null?void 0:Ct.pageSize))};return Ke===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ct),{onChange:Ut}),Yt]}var ku=iu,ju=te(84105),Bi=te(35654),Bu=te(90782),uu=te(71430),Ju=te(18929);const Ki={},Xu="SELECT_ALL",zu="SELECT_INVERT",vu="SELECT_NONE",zr=[],Es=(ye,Ce)=>{let Ke=[];return(Ce||[]).forEach(Ve=>{Ke.push(Ve),Ve&&typeof Ve=="object"&&ye in Ve&&(Ke=[].concat((0,xn.Z)(Ke),(0,xn.Z)(Es(ye,Ve[ye]))))}),Ke};var Ss=(ye,Ce)=>{const{preserveSelectedRowKeys:Ke,selectedRowKeys:Ve,defaultSelectedRowKeys:st,getCheckboxProps:ct,onChange:wt,onSelect:Bt,onSelectAll:Ct,onSelectInvert:Jt,onSelectNone:Yt,onSelectMultiple:Ut,columnWidth:bn,type:Bn,selections:Ln,fixed:Un,renderCell:Gn,hideSelectAll:aa,checkStrictly:qn=!0}=Ce||{},{prefixCls:sa,data:to,pageData:fo,getRecordByKey:ka,getRowKey:so,expandType:zo,childrenColumnName:ha,locale:_a,getPopupContainer:Fa}=ye,[ra,ca]=(0,Ju.Z)(Ve||st||zr,{value:Ve}),Kt=ue.useRef(new Map),tr=(0,ue.useCallback)(Bo=>{if(Ke){const po=new Map;Bo.forEach(yo=>{let qa=ka(yo);!qa&&Kt.current.has(yo)&&(qa=Kt.current.get(yo)),po.set(yo,qa)}),Kt.current=po}},[ka,Ke]);ue.useEffect(()=>{tr(ra)},[ra]);const{keyEntities:_o}=(0,ue.useMemo)(()=>{if(qn)return{keyEntities:null};let Bo=to;if(Ke){const po=new Set(to.map((qa,Ma)=>so(qa,Ma))),yo=Array.from(Kt.current).reduce((qa,Ma)=>{let[Nn,ia]=Ma;return po.has(Nn)?qa:qa.concat(ia)},[]);Bo=[].concat((0,xn.Z)(Bo),(0,xn.Z)(yo))}return(0,uu.I8)(Bo,{externalGetKey:so,childrenPropName:ha})},[to,so,qn,ha,Ke]),Qa=(0,ue.useMemo)(()=>Es(ha,fo),[ha,fo]),Uo=(0,ue.useMemo)(()=>{const Bo=new Map;return Qa.forEach((po,yo)=>{const qa=so(po,yo),Ma=(ct?ct(po):null)||{};Bo.set(qa,Ma)}),Bo},[Qa,so,ct]),rr=(0,ue.useCallback)(Bo=>{var po;return!!(!((po=Uo.get(so(Bo)))===null||po===void 0)&&po.disabled)},[Uo,so]),[cr,ar]=(0,ue.useMemo)(()=>{if(qn)return[ra||[],[]];const{checkedKeys:Bo,halfCheckedKeys:po}=(0,Bu.S)(ra,!0,_o,rr);return[Bo||[],po]},[ra,qn,_o,rr]),ll=(0,ue.useMemo)(()=>{const Bo=Bn==="radio"?cr.slice(0,1):cr;return new Set(Bo)},[cr,Bn]),yr=(0,ue.useMemo)(()=>Bn==="radio"?new Set:new Set(ar),[ar,Bn]),[oo,El]=(0,ue.useState)(null);ue.useEffect(()=>{Ce||ca(zr)},[!!Ce]);const Fo=(0,ue.useCallback)((Bo,po)=>{let yo,qa;tr(Bo),Ke?(yo=Bo,qa=Bo.map(Ma=>Kt.current.get(Ma))):(yo=[],qa=[],Bo.forEach(Ma=>{const Nn=ka(Ma);Nn!==void 0&&(yo.push(Ma),qa.push(Nn))})),ca(yo),wt==null||wt(yo,qa,{type:po})},[ca,ka,wt,Ke]),So=(0,ue.useCallback)((Bo,po,yo,qa)=>{if(Bt){const Ma=yo.map(Nn=>ka(Nn));Bt(ka(Bo),po,Ma,qa)}Fo(yo,"single")},[Bt,ka,Fo]),Ir=(0,ue.useMemo)(()=>!Ln||aa?null:(Ln===!0?[Xu,zu,vu]:Ln).map(po=>po===Xu?{key:"all",text:_a.selectionAll,onSelect(){Fo(to.map((yo,qa)=>so(yo,qa)).filter(yo=>{const qa=Uo.get(yo);return!(qa!=null&&qa.disabled)||ll.has(yo)}),"all")}}:po===zu?{key:"invert",text:_a.selectInvert,onSelect(){const yo=new Set(ll);fo.forEach((Ma,Nn)=>{const ia=so(Ma,Nn),Mo=Uo.get(ia);Mo!=null&&Mo.disabled||(yo.has(ia)?yo.delete(ia):yo.add(ia))});const qa=Array.from(yo);Jt&&Jt(qa),Fo(qa,"invert")}}:po===vu?{key:"none",text:_a.selectNone,onSelect(){Yt==null||Yt(),Fo(Array.from(ll).filter(yo=>{const qa=Uo.get(yo);return qa==null?void 0:qa.disabled}),"none")}}:po).map(po=>Object.assign(Object.assign({},po),{onSelect:function(){for(var yo,qa,Ma=arguments.length,Nn=new Array(Ma),ia=0;ia{var po;if(!Ce)return Bo.filter(Hr=>Hr!==Ki);let yo=(0,xn.Z)(Bo);const qa=new Set(ll),Ma=Qa.map(so).filter(Hr=>!Uo.get(Hr).disabled),Nn=Ma.every(Hr=>qa.has(Hr)),ia=Ma.some(Hr=>qa.has(Hr)),Mo=()=>{const Hr=[];Nn?Ma.forEach(Bl=>{qa.delete(Bl),Hr.push(Bl)}):Ma.forEach(Bl=>{qa.has(Bl)||(qa.add(Bl),Hr.push(Bl))});const Jr=Array.from(qa);Ct==null||Ct(!Nn,Jr.map(Bl=>ka(Bl)),Hr.map(Bl=>ka(Bl))),Fo(Jr,"all"),El(null)};let lr;if(Bn!=="radio"){let Hr;if(Ir){const Pr={getPopupContainer:Fa,items:Ir.map((ei,ii)=>{const{key:tl,text:Do,onSelect:Zl}=ei;return{key:tl!=null?tl:ii,onClick:()=>{Zl==null||Zl(Ma)},label:Do}})};Hr=ue.createElement("div",{className:`${sa}-selection-extra`},ue.createElement(Tt.Z,{menu:Pr,getPopupContainer:Fa},ue.createElement("span",null,ue.createElement(ju.Z,null))))}const Jr=Qa.map((Pr,ei)=>{const ii=so(Pr,ei),tl=Uo.get(ii)||{};return Object.assign({checked:qa.has(ii)},tl)}).filter(Pr=>{let{disabled:ei}=Pr;return ei}),Bl=!!Jr.length&&Jr.length===Qa.length,ir=Bl&&Jr.every(Pr=>{let{checked:ei}=Pr;return ei}),pl=Bl&&Jr.some(Pr=>{let{checked:ei}=Pr;return ei});lr=!aa&&ue.createElement("div",{className:`${sa}-selection`},ue.createElement(Qt.default,{checked:Bl?ir:!!Qa.length&&Nn,indeterminate:Bl?!ir&&pl:!Nn&&ia,onChange:Mo,disabled:Qa.length===0||Bl,"aria-label":Hr?"Custom selection":"Select all",skipGroup:!0}),Hr)}let li;Bn==="radio"?li=(Hr,Jr,Bl)=>{const ir=so(Jr,Bl),pl=qa.has(ir);return{node:ue.createElement(xo.ZP,Object.assign({},Uo.get(ir),{checked:pl,onClick:Pr=>Pr.stopPropagation(),onChange:Pr=>{qa.has(ir)||So(ir,!0,[ir],Pr.nativeEvent)}})),checked:pl}}:li=(Hr,Jr,Bl)=>{var ir;const pl=so(Jr,Bl),Pr=qa.has(pl),ei=yr.has(pl),ii=Uo.get(pl);let tl;return zo==="nest"?tl=ei:tl=(ir=ii==null?void 0:ii.indeterminate)!==null&&ir!==void 0?ir:ei,{node:ue.createElement(Qt.default,Object.assign({},ii,{indeterminate:tl,checked:Pr,skipGroup:!0,onClick:Do=>Do.stopPropagation(),onChange:Do=>{let{nativeEvent:Zl}=Do;const{shiftKey:gi}=Zl;let qi=-1,Ni=-1;if(gi&&qn){const wi=new Set([oo,pl]);Ma.some((Si,Hl)=>{if(wi.has(Si))if(qi===-1)qi=Hl;else return Ni=Hl,!0;return!1})}if(Ni!==-1&&qi!==Ni&&qn){const wi=Ma.slice(qi,Ni+1),Si=[];Pr?wi.forEach(kl=>{qa.has(kl)&&(Si.push(kl),qa.delete(kl))}):wi.forEach(kl=>{qa.has(kl)||(Si.push(kl),qa.add(kl))});const Hl=Array.from(qa);Ut==null||Ut(!Pr,Hl.map(kl=>ka(kl)),Si.map(kl=>ka(kl))),Fo(Hl,"multiple")}else{const wi=cr;if(qn){const Si=Pr?(0,Bi._5)(wi,pl):(0,Bi.L0)(wi,pl);So(pl,!Pr,Si,Zl)}else{const Si=(0,Bu.S)([].concat((0,xn.Z)(wi),[pl]),!0,_o,rr),{checkedKeys:Hl,halfCheckedKeys:kl}=Si;let Ui=Hl;if(Pr){const cu=new Set(Hl);cu.delete(pl),Ui=(0,Bu.S)(Array.from(cu),{checked:!1,halfCheckedKeys:kl},_o,rr).checkedKeys}So(pl,!Pr,Ui,Zl)}}El(Pr?null:pl)}})),checked:Pr}};const Vl=(Hr,Jr,Bl)=>{const{node:ir,checked:pl}=li(Hr,Jr,Bl);return Gn?Gn(pl,Jr,Bl,ir):ir};if(!yo.includes(Ki))if(yo.findIndex(Hr=>{var Jr;return((Jr=Hr[xa])===null||Jr===void 0?void 0:Jr.columnType)==="EXPAND_COLUMN"})===0){const[Hr,...Jr]=yo;yo=[Hr,Ki].concat((0,xn.Z)(Jr))}else yo=[Ki].concat((0,xn.Z)(yo));const Oi=yo.indexOf(Ki);yo=yo.filter((Hr,Jr)=>Hr!==Ki||Jr===Oi);const Ea=yo[Oi-1],Fl=yo[Oi+1];let Po=Un;Po===void 0&&((Fl==null?void 0:Fl.fixed)!==void 0?Po=Fl.fixed:(Ea==null?void 0:Ea.fixed)!==void 0&&(Po=Ea.fixed)),Po&&Ea&&((po=Ea[xa])===null||po===void 0?void 0:po.columnType)==="EXPAND_COLUMN"&&Ea.fixed===void 0&&(Ea.fixed=Po);const di=Me()(`${sa}-selection-col`,{[`${sa}-selection-col-with-dropdown`]:Ln&&Bn==="checkbox"}),oi={fixed:Po,width:bn,className:`${sa}-selection-column`,title:Ce.columnTitle||lr,render:Vl,onCell:Ce.onCell,[xa]:{className:di}};return yo.map(Hr=>Hr===Ki?oi:Hr)},[so,Qa,Ce,cr,ll,yr,bn,Ir,zo,oo,Uo,Ut,So,rr]),ll]},ys=te(89489),Ts=te(59477),qu=te(6848);const Ou="ascend",Ri="descend";function Nu(ye){return typeof ye.sorter=="object"&&typeof ye.sorter.multiple=="number"?ye.sorter.multiple:!1}function Ps(ye){return typeof ye=="function"?ye:ye&&typeof ye=="object"&&ye.compare?ye.compare:!1}function Rs(ye,Ce){return Ce?ye[ye.indexOf(Ce)+1]:ye[0]}function As(ye,Ce,Ke){let Ve=[];function st(ct,wt){Ve.push({column:ct,key:Lr(ct,wt),multiplePriority:Nu(ct),sortOrder:ct.sortOrder})}return(ye||[]).forEach((ct,wt)=>{const Bt=gl(wt,Ke);ct.children?("sortOrder"in ct&&st(ct,Bt),Ve=[].concat((0,xn.Z)(Ve),(0,xn.Z)(As(ct.children,Ce,Bt)))):ct.sorter&&("sortOrder"in ct?st(ct,Bt):Ce&&ct.defaultSortOrder&&Ve.push({column:ct,key:Lr(ct,Bt),multiplePriority:Nu(ct),sortOrder:ct.defaultSortOrder}))}),Ve}function Xi(ye,Ce,Ke,Ve,st,ct,wt,Bt){return(Ce||[]).map((Ct,Jt)=>{const Yt=gl(Jt,Bt);let Ut=Ct;if(Ut.sorter){const bn=Ut.sortDirections||st,Bn=Ut.showSorterTooltip===void 0?wt:Ut.showSorterTooltip,Ln=Lr(Ut,Yt),Un=Ke.find(zo=>{let{key:ha}=zo;return ha===Ln}),Gn=Un?Un.sortOrder:null,aa=Rs(bn,Gn);let qn;if(Ct.sortIcon)qn=Ct.sortIcon({sortOrder:Gn});else{const zo=bn.includes(Ou)&&ue.createElement(Ts.Z,{className:Me()(`${ye}-column-sorter-up`,{active:Gn===Ou})}),ha=bn.includes(Ri)&&ue.createElement(ys.Z,{className:Me()(`${ye}-column-sorter-down`,{active:Gn===Ri})});qn=ue.createElement("span",{className:Me()(`${ye}-column-sorter`,{[`${ye}-column-sorter-full`]:!!(zo&&ha)})},ue.createElement("span",{className:`${ye}-column-sorter-inner`,"aria-hidden":"true"},zo,ha))}const{cancelSort:sa,triggerAsc:to,triggerDesc:fo}=ct||{};let ka=sa;aa===Ri?ka=fo:aa===Ou&&(ka=to);const so=typeof Bn=="object"?Bn:{title:ka};Ut=Object.assign(Object.assign({},Ut),{className:Me()(Ut.className,{[`${ye}-column-sort`]:Gn}),title:zo=>{const ha=ue.createElement("div",{className:`${ye}-column-sorters`},ue.createElement("span",{className:`${ye}-column-title`},wl(Ct.title,zo)),qn);return Bn?ue.createElement(qu.Z,Object.assign({},so),ha):ha},onHeaderCell:zo=>{const ha=Ct.onHeaderCell&&Ct.onHeaderCell(zo)||{},_a=ha.onClick,Fa=ha.onKeyDown;ha.onClick=Kt=>{Ve({column:Ct,key:Ln,sortOrder:aa,multiplePriority:Nu(Ct)}),_a==null||_a(Kt)},ha.onKeyDown=Kt=>{Kt.keyCode===va.Z.ENTER&&(Ve({column:Ct,key:Ln,sortOrder:aa,multiplePriority:Nu(Ct)}),Fa==null||Fa(Kt))};const ra=$r(Ct.title,{}),ca=ra==null?void 0:ra.toString();return Gn?ha["aria-sort"]=Gn==="ascend"?"ascending":"descending":ha["aria-label"]=ca||"",ha.className=Me()(ha.className,`${ye}-column-has-sorters`),ha.tabIndex=0,Ct.ellipsis&&(ha.title=(ra!=null?ra:"").toString()),ha}})}return"children"in Ut&&(Ut=Object.assign(Object.assign({},Ut),{children:Xi(ye,Ut.children,Ke,Ve,st,ct,wt,Yt)})),Ut})}function mo(ye){const{column:Ce,sortOrder:Ke}=ye;return{column:Ce,order:Ke,field:Ce.dataIndex,columnKey:Ce.key}}function xs(ye){const Ce=ye.filter(Ke=>{let{sortOrder:Ve}=Ke;return Ve}).map(mo);return Ce.length===0&&ye.length?Object.assign(Object.assign({},mo(ye[ye.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function $u(ye,Ce,Ke){const Ve=Ce.slice().sort((wt,Bt)=>Bt.multiplePriority-wt.multiplePriority),st=ye.slice(),ct=Ve.filter(wt=>{let{column:{sorter:Bt},sortOrder:Ct}=wt;return Ps(Bt)&&Ct});return ct.length?st.sort((wt,Bt)=>{for(let Ct=0;Ct{const Bt=wt[Ke];return Bt?Object.assign(Object.assign({},wt),{[Ke]:$u(Bt,Ce,Ke)}):wt}):st}function ks(ye){let{prefixCls:Ce,mergedColumns:Ke,onSorterChange:Ve,sortDirections:st,tableLocale:ct,showSorterTooltip:wt}=ye;const[Bt,Ct]=ue.useState(As(Ke,!0)),Jt=ue.useMemo(()=>{let Ln=!0;const Un=As(Ke,!1);if(!Un.length)return Bt;const Gn=[];function aa(sa){Ln?Gn.push(sa):Gn.push(Object.assign(Object.assign({},sa),{sortOrder:null}))}let qn=null;return Un.forEach(sa=>{qn===null?(aa(sa),sa.sortOrder&&(sa.multiplePriority===!1?Ln=!1:qn=!0)):(qn&&sa.multiplePriority!==!1||(Ln=!1),aa(sa))}),Gn},[Ke,Bt]),Yt=ue.useMemo(()=>{const Ln=Jt.map(Un=>{let{column:Gn,sortOrder:aa}=Un;return{column:Gn,order:aa}});return{sortColumns:Ln,sortColumn:Ln[0]&&Ln[0].column,sortOrder:Ln[0]&&Ln[0].order}},[Jt]);function Ut(Ln){let Un;Ln.multiplePriority===!1||!Jt.length||Jt[0].multiplePriority===!1?Un=[Ln]:Un=[].concat((0,xn.Z)(Jt.filter(Gn=>{let{key:aa}=Gn;return aa!==Ln.key})),[Ln]),Ct(Un),Ve(xs(Un),Un)}return[Ln=>Xi(Ce,Ln,Jt,Ut,st,ct,wt),Jt,Yt,()=>xs(Jt)]}function Cs(ye,Ce){return ye.map(Ke=>{const Ve=Object.assign({},Ke);return Ve.title=wl(Ke.title,Ce),"children"in Ve&&(Ve.children=Cs(Ve.children,Ce)),Ve})}function js(ye){return[ue.useCallback(Ke=>Cs(Ke,ye),[ye])]}var Fs=io((ye,Ce)=>{const{_renderTimes:Ke}=ye,{_renderTimes:Ve}=Ce;return Ke!==Ve}),hu=fi((ye,Ce)=>{const{_renderTimes:Ke}=ye,{_renderTimes:Ve}=Ce;return Ke!==Ve}),su=te(64993),Zu=te(17313),bu=te(83116),Du=te(37613),Se=ye=>{const{componentCls:Ce}=ye,Ke=`${ye.lineWidth}px ${ye.lineType} ${ye.tableBorderColor}`,Ve=(st,ct,wt)=>({[`&${Ce}-${st}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${ct}px -${wt+ye.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Ke,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Ke,borderTop:Ke,[` - > ${Ce}-content, - > ${Ce}-header, - > ${Ce}-body, - > ${Ce}-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:Ke},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ke},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:Ke}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${ye.tablePaddingVertical}px -${ye.tablePaddingHorizontal+ye.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ye.lineWidth,bottom:0,borderInlineEnd:Ke,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[` - > tr${Ce}-expanded-row, - > tr${Ce}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},Ve("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle)),Ve("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:Ke,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ye.lineWidth}px 0 ${ye.lineWidth}px ${ye.tableHeaderBg}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:Ke}}}},qe=ye=>{const{componentCls:Ce}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},Zu.vS),{wordBreak:"keep-all",[` - &${Ce}-cell-fix-left-last, - &${Ce}-cell-fix-right-first - `]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ot=ye=>{const{componentCls:Ce}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ye.colorBgContainer}}}}},Pt=te(15969),un=ye=>{const{componentCls:Ce,antCls:Ke,controlInteractiveSize:Ve,motionDurationSlow:st,lineWidth:ct,paddingXS:wt,lineType:Bt,tableBorderColor:Ct,tableExpandIconBg:Jt,tableExpandColumnWidth:Yt,borderRadius:Ut,fontSize:bn,fontSizeSM:Bn,lineHeight:Ln,tablePaddingVertical:Un,tablePaddingHorizontal:Gn,tableExpandedRowBg:aa,paddingXXS:qn}=ye,sa=Ve/2-ct,to=sa*2+ct*3,fo=`${ct}px ${Bt} ${Ct}`,ka=qn-ct;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:Yt},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Pt.N)(ye)),{position:"relative",float:"left",boxSizing:"border-box",width:to,height:to,padding:0,color:"inherit",lineHeight:`${to}px`,background:Jt,border:fo,borderRadius:Ut,transform:`scale(${Ve/to})`,transition:`all ${st}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${st} ease-out`,content:'""'},"&::before":{top:sa,insetInlineEnd:ka,insetInlineStart:ka,height:ct},"&::after":{top:ka,bottom:ka,insetInlineStart:sa,width:ct,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"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:(bn*Ln-ct*3)/2-Math.ceil((Bn*1.4-ct*3)/2),marginInlineEnd:wt},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:aa}},[`${Ke}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Un}px -${Gn}px`,padding:`${Un}px ${Gn}px`}}}},$n=ye=>{const{componentCls:Ce,antCls:Ke,iconCls:Ve,tableFilterDropdownWidth:st,tableFilterDropdownSearchWidth:ct,paddingXXS:wt,paddingXS:Bt,colorText:Ct,lineWidth:Jt,lineType:Yt,tableBorderColor:Ut,tableHeaderIconColor:bn,fontSizeSM:Bn,tablePaddingHorizontal:Ln,borderRadius:Un,motionDurationSlow:Gn,colorTextDescription:aa,colorPrimary:qn,tableHeaderFilterActiveBg:sa,colorTextDisabled:to,tableFilterDropdownBg:fo,tableFilterDropdownHeight:ka,controlItemBgHover:so,controlItemBgActive:zo,boxShadowSecondary:ha,filterDropdownMenuBg:_a}=ye,Fa=`${Ke}-dropdown`,ra=`${Ce}-filter-dropdown`,ca=`${Ke}-tree`,Kt=`${Jt}px ${Yt} ${Ut}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-wt,marginInline:`${wt}px ${-Ln/2}px`,padding:`0 ${wt}px`,color:bn,fontSize:Bn,borderRadius:Un,cursor:"pointer",transition:`all ${Gn}`,"&:hover":{color:aa,background:sa},"&.active":{color:qn}}}},{[`${Ke}-dropdown`]:{[ra]:Object.assign(Object.assign({},(0,Zu.Wf)(ye)),{minWidth:st,backgroundColor:fo,borderRadius:Un,boxShadow:ha,overflow:"hidden",[`${Fa}-menu`]:{maxHeight:ka,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_a,"&:empty::after":{display:"block",padding:`${Bt}px 0`,color:to,fontSize:Bn,textAlign:"center",content:'"Not Found"'}},[`${ra}-tree`]:{paddingBlock:`${Bt}px 0`,paddingInline:Bt,[ca]:{padding:0},[`${ca}-treenode ${ca}-node-content-wrapper:hover`]:{backgroundColor:so},[`${ca}-treenode-checkbox-checked ${ca}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zo}}},[`${ra}-search`]:{padding:Bt,borderBottom:Kt,"&-input":{input:{minWidth:ct},[Ve]:{color:to}}},[`${ra}-checkall`]:{width:"100%",marginBottom:wt,marginInlineStart:wt},[`${ra}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Bt-Jt}px ${Bt}px`,overflow:"hidden",borderTop:Kt}})}},{[`${Ke}-dropdown ${ra}, ${ra}-submenu`]:{[`${Ke}-checkbox-wrapper + span`]:{paddingInlineStart:Bt,color:Ct},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},On=ye=>{const{componentCls:Ce,lineWidth:Ke,colorSplit:Ve,motionDurationSlow:st,zIndexTableFixed:ct,tableBg:wt,zIndexTableSticky:Bt}=ye,Ct=Ve;return{[`${Ce}-wrapper`]:{[` - ${Ce}-cell-fix-left, - ${Ce}-cell-fix-right - `]:{position:"sticky !important",zIndex:ct,background:wt},[` - ${Ce}-cell-fix-left-first::after, - ${Ce}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ke,width:30,transform:"translateX(100%)",transition:`box-shadow ${st}`,content:'""',pointerEvents:"none"},[`${Ce}-cell-fix-left-all::after`]:{display:"none"},[` - ${Ce}-cell-fix-right-first::after, - ${Ce}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-Ke,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${st}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Bt+1,width:30,transition:`box-shadow ${st}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ct}`}},[` - ${Ce}-cell-fix-left-first::after, - ${Ce}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${Ct}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ct}`}},[` - ${Ce}-cell-fix-right-first::after, - ${Ce}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${Ct}`}}}}},Kn=ye=>{const{componentCls:Ce,antCls:Ke}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Ke}-pagination`]:{margin:`${ye.margin}px 0`},[`${Ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},wn=ye=>{const{componentCls:Ce,tableRadius:Ke}=ye;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${Ke}px ${Ke}px 0 0`},[`${Ce}-title + ${Ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ce}-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:Ke,borderStartEndRadius:Ke,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ke},"> *:last-child":{borderStartEndRadius:Ke}}},"&-footer":{borderRadius:`0 0 ${Ke}px ${Ke}px`}}}}},Ra=ye=>{const{componentCls:Ce}=ye;return{[`${Ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ce}-pagination-left`]:{justifyContent:"flex-end"},[`${Ce}-pagination-right`]:{justifyContent:"flex-start"},[`${Ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ce}-row-indent`]:{float:"right"}}}}},Ha=ye=>{const{componentCls:Ce,antCls:Ke,iconCls:Ve,fontSizeIcon:st,padding:ct,paddingXS:wt,tableHeaderIconColor:Bt,tableHeaderIconColorHover:Ct,tableSelectionColumnWidth:Jt}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:Jt,[`&${Ce}-selection-col-with-dropdown`]:{width:Jt+st+ct/4}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:Jt+wt*2,[`&${Ce}-selection-col-with-dropdown`]:{width:Jt+st+ct/4+wt*2}},[` - table tr th${Ce}-selection-column, - table tr td${Ce}-selection-column - `]:{paddingInlineEnd:ye.paddingXS,paddingInlineStart:ye.paddingXS,textAlign:"center",[`${Ke}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:ye.zIndexTableFixed+1},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ye.tablePaddingHorizontal/4}px`,[Ve]:{color:Bt,fontSize:st,verticalAlign:"baseline","&:hover":{color:Ct}}}}}},Ya=ye=>{const{componentCls:Ce}=ye,Ke=(Ve,st,ct,wt)=>({[`${Ce}${Ce}-${Ve}`]:{fontSize:wt,[` - ${Ce}-title, - ${Ce}-footer, - ${Ce}-cell, - ${Ce}-thead > tr > th, - ${Ce}-tbody > tr > th, - ${Ce}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${st}px ${ct}px`},[`${Ce}-filter-trigger`]:{marginInlineEnd:`-${ct/2}px`},[`${Ce}-expanded-row-fixed`]:{margin:`-${st}px -${ct}px`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:`-${st}px`,marginInline:`${ye.tableExpandColumnWidth-ct}px -${ct}px`}},[`${Ce}-selection-column`]:{paddingInlineStart:`${ct/4}px`}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Ke("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle,ye.tableFontSizeMiddle)),Ke("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall,ye.tableFontSizeSmall))}},xr=ye=>{const{componentCls:Ce,marginXXS:Ke,fontSizeIcon:Ve,tableHeaderIconColor:st,tableHeaderIconColorHover:ct}=ye;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,"&:hover":{background:ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ye.colorPrimary},[` - &${Ce}-cell-fix-left:hover, - &${Ce}-cell-fix-right:hover - `]:{background:ye.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:ye.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorter`]:{marginInlineStart:Ke,color:st,fontSize:0,transition:`color ${ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ve,"&.active":{color:ye.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:ct}}}},Fr=ye=>{const{componentCls:Ce,opacityLoading:Ke,tableScrollThumbBg:Ve,tableScrollThumbBgHover:st,tableScrollThumbSize:ct,tableScrollBg:wt,zIndexTableSticky:Bt,stickyScrollBarBorderRadius:Ct}=ye,Jt=`${ye.lineWidth}px ${ye.lineType} ${ye.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Bt,background:ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ct}px !important`,zIndex:Bt,display:"flex",alignItems:"center",background:wt,borderTop:Jt,opacity:Ke,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ct,backgroundColor:Ve,borderRadius:Ct,transition:`all ${ye.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:st}}}}}}},rl=ye=>{const{componentCls:Ce,lineWidth:Ke,tableBorderColor:Ve}=ye,st=`${Ke}px ${ye.lineType} ${Ve}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:ye.zIndexTableFixed,background:ye.tableBg,"> tr":{"> th, > td":{borderBottom:st}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Ke}px 0 ${Ve}`}}}},Rl=ye=>{const{componentCls:Ce}=ye,Ke=`${ye.lineWidth}px ${ye.lineType} ${ye.tableBorderColor}`,Ve=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Ke},[`${Ce}-expanded-row`]:{[`${Ve}${Ve}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ye.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ke,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Ke,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ye.lineWidth,borderInlineStart:Ke}}}}}}};const nl=ye=>{const{componentCls:Ce,fontWeightStrong:Ke,tablePaddingVertical:Ve,tablePaddingHorizontal:st,lineWidth:ct,lineType:wt,tableBorderColor:Bt,tableFontSize:Ct,tableBg:Jt,tableRadius:Yt,tableHeaderTextColor:Ut,motionDurationMid:bn,tableHeaderBg:Bn,tableHeaderCellSplitColor:Ln,tableRowHoverBg:Un,tableSelectedRowBg:Gn,tableSelectedRowHoverBg:aa,tableFooterTextColor:qn,tableFooterBg:sa,paddingContentVerticalLG:to}=ye,fo=`${ct}px ${wt} ${Bt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Zu.dF)()),{[Ce]:Object.assign(Object.assign({},(0,Zu.Wf)(ye)),{fontSize:Ct,background:Jt,borderRadius:`${Yt}px ${Yt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Yt}px ${Yt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${Ce}-cell, - ${Ce}-thead > tr > th, - ${Ce}-tbody > tr > th, - ${Ce}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${to}px ${st}px`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${Ve}px ${st}px`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ut,fontWeight:Ke,textAlign:"start",background:Bn,borderBottom:fo,transition:`background ${bn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ce}-selection-column):not(${Ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ln,transform:"translateY(-50%)",transition:`background-color ${bn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${bn}, border-color ${bn}`,borderBottom:fo,[` - > ${Ce}-wrapper:only-child, - > ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child - `]:{[Ce]:{marginBlock:`-${Ve}px`,marginInline:`${ye.tableExpandColumnWidth-st}px -${st}px`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ut,fontWeight:Ke,textAlign:"start",background:Bn,borderBottom:fo,transition:`background ${bn} ease`},[` - &${Ce}-row:hover > th, - &${Ce}-row:hover > td, - > th${Ce}-cell-row-hover, - > td${Ce}-cell-row-hover - `]:{background:Un},[`&${Ce}-row-selected`]:{"> th, > td":{background:Gn},"&:hover > th, &:hover > td":{background:aa}}}},[`${Ce}-footer`]:{padding:`${Ve}px ${st}px`,color:qn,background:sa}})}};var kr=(0,bu.Z)("Table",ye=>{const{colorTextHeading:Ce,colorSplit:Ke,colorIcon:Ve,colorIconHover:st,opacityLoading:ct,colorBgContainer:wt,controlInteractiveSize:Bt,headerBg:Ct,headerColor:Jt,headerSortActiveBg:Yt,headerSortHoverBg:Ut,bodySortBg:bn,rowHoverBg:Bn,rowSelectedBg:Ln,rowSelectedHoverBg:Un,rowExpandedBg:Gn,cellPaddingBlock:aa,cellPaddingInline:qn,cellPaddingBlockMD:sa,cellPaddingInlineMD:to,cellPaddingBlockSM:fo,cellPaddingInlineSM:ka,borderColor:so,footerBg:zo,footerColor:ha,headerBorderRadius:_a,cellFontSize:Fa,cellFontSizeMD:ra,cellFontSizeSM:ca,headerSplitColor:Kt,fixedHeaderSortActiveBg:tr,headerFilterHoverBg:_o,filterDropdownBg:Qa,expandIconBg:Uo,selectionColumnWidth:rr,stickyScrollBarBg:cr}=ye,ar=new su.C(Ve),ll=new su.C(st),yr=2,oo=(0,Du.TS)(ye,{tableFontSize:Fa,tableBg:wt,tableRadius:_a,tablePaddingVertical:aa,tablePaddingHorizontal:qn,tablePaddingVerticalMiddle:sa,tablePaddingHorizontalMiddle:to,tablePaddingVerticalSmall:fo,tablePaddingHorizontalSmall:ka,tableBorderColor:so,tableHeaderTextColor:Jt,tableHeaderBg:Ct,tableFooterTextColor:ha,tableFooterBg:zo,tableHeaderCellSplitColor:Kt,tableHeaderSortBg:Yt,tableHeaderSortHoverBg:Ut,tableHeaderIconColor:ar.clone().setAlpha(ar.getAlpha()*ct).toRgbString(),tableHeaderIconColorHover:ll.clone().setAlpha(ll.getAlpha()*ct).toRgbString(),tableBodySortBg:bn,tableFixedHeaderSortActiveBg:tr,tableHeaderFilterActiveBg:_o,tableFilterDropdownBg:Qa,tableRowHoverBg:Bn,tableSelectedRowBg:Ln,tableSelectedRowHoverBg:Un,zIndexTableFixed:yr,zIndexTableSticky:yr+1,tableFontSizeMiddle:ra,tableFontSizeSmall:ca,tableSelectionColumnWidth:rr,tableExpandIconBg:Uo,tableExpandColumnWidth:Bt+2*ye.padding,tableExpandedRowBg:Gn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:cr,tableScrollThumbBgHover:Ce,tableScrollBg:Ke});return[nl(oo),Kn(oo),rl(oo),xr(oo),$n(oo),Se(oo),wn(oo),un(oo),rl(oo),Ot(oo),Ha(oo),On(oo),Fr(oo),qe(oo),Ya(oo),Ra(oo),Rl(oo)]},ye=>{const{colorFillAlter:Ce,colorBgContainer:Ke,colorTextHeading:Ve,colorFillSecondary:st,colorFillContent:ct,controlItemBgActive:wt,controlItemBgActiveHover:Bt,padding:Ct,paddingSM:Jt,paddingXS:Yt,colorBorderSecondary:Ut,borderRadiusLG:bn,fontSize:Bn,controlHeight:Ln,colorTextPlaceholder:Un}=ye,Gn=new su.C(st).onBackground(Ke).toHexShortString(),aa=new su.C(ct).onBackground(Ke).toHexShortString(),qn=new su.C(Ce).onBackground(Ke).toHexShortString();return{headerBg:qn,headerColor:Ve,headerSortActiveBg:Gn,headerSortHoverBg:aa,bodySortBg:qn,rowHoverBg:qn,rowSelectedBg:wt,rowSelectedHoverBg:Bt,rowExpandedBg:Ce,cellPaddingBlock:Ct,cellPaddingInline:Ct,cellPaddingBlockMD:Jt,cellPaddingInlineMD:Yt,cellPaddingBlockSM:Yt,cellPaddingInlineSM:Yt,borderColor:Ut,headerBorderRadius:bn,footerBg:qn,footerColor:Ve,cellFontSize:Bn,cellFontSizeMD:Bn,cellFontSizeSM:Bn,headerSplitColor:Ut,fixedHeaderSortActiveBg:Gn,headerFilterHoverBg:ct,filterDropdownMenuBg:Ke,filterDropdownBg:Ke,expandIconBg:Ke,selectionColumnWidth:Ln,stickyScrollBarBg:Un,stickyScrollBarBorderRadius:100}});const Zr=[],fl=(ye,Ce)=>{const{prefixCls:Ke,className:Ve,rootClassName:st,style:ct,size:wt,bordered:Bt,dropdownPrefixCls:Ct,dataSource:Jt,pagination:Yt,rowSelection:Ut,rowKey:bn="key",rowClassName:Bn,columns:Ln,children:Un,childrenColumnName:Gn,onChange:aa,getPopupContainer:qn,loading:sa,expandIcon:to,expandable:fo,expandedRowRender:ka,expandIconColumnIndex:so,indentSize:zo,scroll:ha,sortDirections:_a,locale:Fa,showSorterTooltip:ra=!0,virtual:ca}=ye,Kt=ue.useMemo(()=>Ln||Dt(Un),[Ln,Un]),tr=ue.useMemo(()=>Kt.some(Mr=>Mr.responsive),[Kt]),_o=(0,Rn.Z)(tr),Qa=ue.useMemo(()=>{const Mr=new Set(Object.keys(_o).filter(sl=>_o[sl]));return Kt.filter(sl=>!sl.responsive||sl.responsive.some(ui=>Mr.has(ui)))},[Kt,_o]),Uo=(0,Qi.Z)(ye,["className","style","columns"]),{locale:rr=ru.Z,direction:cr,table:ar,renderEmpty:ll,getPrefixCls:yr,getPopupContainer:oo}=ue.useContext(Ol.E_),El=(0,Ii.Z)(wt),Fo=Object.assign(Object.assign({},rr.Table),Fa),So=Jt||Zr,Ir=yr("table",Ke),Gl=yr("dropdown",Ct),Bo=Object.assign({childrenColumnName:Gn,expandIconColumnIndex:so},fo),{childrenColumnName:po="children"}=Bo,yo=ue.useMemo(()=>So.some(Mr=>Mr==null?void 0:Mr[po])?"nest":ka||fo&&fo.expandedRowRender?"row":null,[So]),qa={body:ue.useRef()},Ma=ue.useMemo(()=>typeof bn=="function"?bn:Mr=>Mr==null?void 0:Mr[bn],[bn]),[Nn]=pr(So,po,Ma),ia={},Mo=function(Mr,sl){let ui=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Il,yi,Pi;const pi=Object.assign(Object.assign({},ia),Mr);ui&&((Il=ia.resetPagination)===null||Il===void 0||Il.call(ia),!((yi=pi.pagination)===null||yi===void 0)&&yi.current&&(pi.pagination.current=1),Yt&&Yt.onChange&&Yt.onChange(1,(Pi=pi.pagination)===null||Pi===void 0?void 0:Pi.pageSize)),ha&&ha.scrollToFirstRowOnChange!==!1&&qa.body.current&&(0,Hi.Z)(0,{getContainer:()=>qa.body.current}),aa==null||aa(pi.pagination,pi.filters,pi.sorter,{currentDataSource:_i($u(So,pi.sorterStates,po),pi.filterStates),action:sl})},lr=(Mr,sl)=>{Mo({sorter:Mr,sorterStates:sl},"sort",!1)},[li,Vl,Oi,Ea]=ks({prefixCls:Ir,mergedColumns:Qa,onSorterChange:lr,sortDirections:_a||["ascend","descend"],tableLocale:Fo,showSorterTooltip:ra}),Fl=ue.useMemo(()=>$u(So,Vl,po),[So,Vl]);ia.sorter=Ea(),ia.sorterStates=Vl;const Po=(Mr,sl)=>{Mo({filters:Mr,filterStates:sl},"filter",!0)},[di,oi,Hr]=Ei({prefixCls:Ir,locale:Fo,dropdownPrefixCls:Gl,mergedColumns:Qa,onFilterChange:Po,getPopupContainer:qn||oo}),Jr=_i(Fl,oi);ia.filters=Hr,ia.filterStates=oi;const Bl=ue.useMemo(()=>{const Mr={};return Object.keys(Hr).forEach(sl=>{Hr[sl]!==null&&(Mr[sl]=Hr[sl])}),Object.assign(Object.assign({},Oi),{filters:Mr})},[Oi,Hr]),[ir]=js(Bl),pl=(Mr,sl)=>{Mo({pagination:Object.assign(Object.assign({},ia.pagination),{current:Mr,pageSize:sl})},"paginate")},[Pr,ei]=ku(Jr.length,pl,Yt);ia.pagination=Yt===!1?{}:Fi(Pr,Yt),ia.resetPagination=ei;const ii=ue.useMemo(()=>{if(Yt===!1||!Pr.pageSize)return Jr;const{current:Mr=1,total:sl,pageSize:ui=ji}=Pr;return Jr.lengthui?Jr.slice((Mr-1)*ui,Mr*ui):Jr:Jr.slice((Mr-1)*ui,Mr*ui)},[!!Yt,Jr,Pr&&Pr.current,Pr&&Pr.pageSize,Pr&&Pr.total]),[tl,Do]=Ss({prefixCls:Ir,data:Jr,pageData:ii,getRowKey:Ma,getRecordByKey:Nn,expandType:yo,childrenColumnName:po,locale:Fo,getPopupContainer:qn||oo},Ut),Zl=(Mr,sl,ui)=>{let Il;return typeof Bn=="function"?Il=Me()(Bn(Mr,sl,ui)):Il=Me()(Bn),Me()({[`${Ir}-row-selected`]:Do.has(Ma(Mr,sl))},Il)};Bo.__PARENT_RENDER_ICON__=Bo.expandIcon,Bo.expandIcon=Bo.expandIcon||to||Za(Fo),yo==="nest"&&Bo.expandIconColumnIndex===void 0?Bo.expandIconColumnIndex=Ut?1:0:Bo.expandIconColumnIndex>0&&Ut&&(Bo.expandIconColumnIndex-=1),typeof Bo.indentSize!="number"&&(Bo.indentSize=typeof zo=="number"?zo:15);const gi=ue.useCallback(Mr=>ir(tl(di(li(Mr)))),[li,di,tl]);let qi,Ni;if(Yt!==!1&&(Pr!=null&&Pr.total)){let Mr;Pr.size?Mr=Pr.size:Mr=El==="small"||El==="middle"?"small":void 0;const sl=yi=>ue.createElement(lu.Z,Object.assign({},Pr,{className:Me()(`${Ir}-pagination ${Ir}-pagination-${yi}`,Pr.className),size:Mr})),ui=cr==="rtl"?"left":"right",{position:Il}=Pr;if(Il!==null&&Array.isArray(Il)){const yi=Il.find(Wi=>Wi.includes("top")),Pi=Il.find(Wi=>Wi.includes("bottom")),pi=Il.every(Wi=>`${Wi}`=="none");!yi&&!Pi&&!pi&&(Ni=sl(ui)),yi&&(qi=sl(yi.toLowerCase().replace("top",""))),Pi&&(Ni=sl(Pi.toLowerCase().replace("bottom","")))}else Ni=sl(ui)}let wi;typeof sa=="boolean"?wi={spinning:sa}:typeof sa=="object"&&(wi=Object.assign({spinning:!0},sa));const[Si,Hl]=kr(Ir),[,kl]=(0,Ba.Z)(),Ui=Me()(`${Ir}-wrapper`,ar==null?void 0:ar.className,{[`${Ir}-wrapper-rtl`]:cr==="rtl"},Ve,st,Hl),cu=Object.assign(Object.assign({},ar==null?void 0:ar.style),ct),Gi=Fa&&Fa.emptyText||(ll==null?void 0:ll("Table"))||ue.createElement(Nl.Z,{componentName:"Table"}),Vi=ca?hu:Fs,du={},Hu=ue.useMemo(()=>{const{fontSize:Mr,lineHeight:sl,padding:ui,paddingXS:Il,paddingSM:yi}=kl,Pi=Math.floor(Mr*sl);switch(El){case"large":return ui*2+Pi;case"small":return Il*2+Pi;default:return yi*2+Pi}},[kl,El]);return ca&&(du.listItemHeight=Hu),Si(ue.createElement("div",{ref:Ce,className:Ui,style:cu},ue.createElement(Eo.Z,Object.assign({spinning:!1},wi),qi,ue.createElement(Vi,Object.assign({},du,Uo,{columns:Qa,direction:cr,expandable:Bo,prefixCls:Ir,className:Me()({[`${Ir}-middle`]:El==="middle",[`${Ir}-small`]:El==="small",[`${Ir}-bordered`]:Bt,[`${Ir}-empty`]:So.length===0}),data:ii,rowKey:Ma,rowClassName:Zl,emptyText:Gi,internalHooks:re,internalRefs:qa,transformColumns:gi})),Ni)))};var Pl=ue.forwardRef(fl);const Qr=(ye,Ce)=>{const Ke=ue.useRef(0);return Ke.current+=1,ue.createElement(Pl,Object.assign({},ye,{ref:Ce,_renderTimes:Ke.current}))},al=ue.forwardRef(Qr);al.SELECTION_COLUMN=Ki,al.EXPAND_COLUMN=x,al.SELECTION_ALL=Xu,al.SELECTION_INVERT=zu,al.SELECTION_NONE=vu,al.Column=ni,al.ColumnGroup=xi,al.Summary=Re;var ai=al,Ul=ai},17574:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return it}});var x=te(60091),re=te(94480),Pe=te(52671),Fe=te(8657),be=te(54476),xe=te(59301),ue={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"},Oe=ue,je=te(7657),Ie=function(Xe,St){return xe.createElement(je.Z,(0,be.Z)({},Xe,{ref:St,icon:Oe}))},Ne=xe.forwardRef(Ie),De=Ne,me=te(92310),oe=te.n(me),a=te(35654),E=te(71430),b=te(36355),y=te(56082),z=te(62892),ne=te(20648);const ae=4;function le(nt){const{dropPosition:Xe,dropLevelOffset:St,prefixCls:He,indent:Te,direction:Ge="ltr"}=nt,pt=Ge==="ltr"?"left":"right",Lt=Ge==="ltr"?"right":"left",mt={[pt]:-St*Te+ae,[Lt]:0};switch(Xe){case-1:mt.top=-3;break;case 1:mt.bottom=-3;break;default:mt.bottom=-3,mt[pt]=Te+ae;break}return xe.createElement("div",{style:mt,className:`${He}-drop-indicator`})}var ie=te(71997),se=xe.forwardRef((nt,Xe)=>{const{getPrefixCls:St,direction:He,virtual:Te,tree:Ge}=xe.useContext(b.E_),{prefixCls:pt,className:Lt,showIcon:mt=!1,showLine:Pn,switcherIcon:ze,blockNode:At=!1,children:Wt,checkable:tn=!1,selectable:En=!0,draggable:ut,motion:ft,style:_e}=nt,Be=St("tree",pt),rt=St(),dt=ft!=null?ft:Object.assign(Object.assign({},(0,z.Z)(rt)),{motionAppear:!1}),Re=Object.assign(Object.assign({},nt),{checkable:tn,selectable:En,showIcon:mt,motion:dt,blockNode:At,showLine:!!Pn,dropIndicatorRender:le}),[we,lt]=(0,ne.ZP)(Be),$e=xe.useMemo(()=>{if(!ut)return!1;let ht={};switch(typeof ut){case"function":ht.nodeDraggable=ut;break;case"object":ht=Object.assign({},ut);break;default:break}return ht.icon!==!1&&(ht.icon=ht.icon||xe.createElement(y.Z,null)),ht},[ut]),Ze=ht=>xe.createElement(ie.Z,{prefixCls:Be,switcherIcon:ze,treeNodeProps:ht,showLine:Pn});return we(xe.createElement(x.Z,Object.assign({itemHeight:20,ref:Xe,virtual:Te},Re,{style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),_e),prefixCls:Be,className:oe()({[`${Be}-icon-hide`]:!mt,[`${Be}-block-node`]:At,[`${Be}-unselectable`]:!En,[`${Be}-rtl`]:He==="rtl"},Ge==null?void 0:Ge.className,Lt,lt),direction:He,checkable:tn&&xe.createElement("span",{className:`${Be}-checkbox-inner`}),selectable:En,switcherIcon:Ze,draggable:$e}),Wt))}),ce;(function(nt){nt[nt.None=0]="None",nt[nt.Start=1]="Start",nt[nt.End=2]="End"})(ce||(ce={}));function ge(nt,Xe){function St(He){const{key:Te,children:Ge}=He;Xe(Te,He)!==!1&&ge(Ge||[],Xe)}nt.forEach(St)}function ve(nt){let{treeData:Xe,expandedKeys:St,startKey:He,endKey:Te}=nt;const Ge=[];let pt=ce.None;if(He&&He===Te)return[He];if(!He||!Te)return[];function Lt(mt){return mt===He||mt===Te}return ge(Xe,mt=>{if(pt===ce.End)return!1;if(Lt(mt)){if(Ge.push(mt),pt===ce.None)pt=ce.Start;else if(pt===ce.Start)return pt=ce.End,!1}else pt===ce.Start&&Ge.push(mt);return St.includes(mt)}),Ge}function Ee(nt,Xe){const St=(0,re.Z)(Xe),He=[];return ge(nt,(Te,Ge)=>{const pt=St.indexOf(Te);return pt!==-1&&(He.push(Ge),St.splice(pt,1)),!!St.length}),He}var Je=function(nt,Xe){var St={};for(var He in nt)Object.prototype.hasOwnProperty.call(nt,He)&&Xe.indexOf(He)<0&&(St[He]=nt[He]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,He=Object.getOwnPropertySymbols(nt);Te{var{defaultExpandAll:St,defaultExpandParent:He,defaultExpandedKeys:Te}=nt,Ge=Je(nt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const pt=xe.useRef(),Lt=xe.useRef(),mt=()=>{const{keyEntities:$e}=(0,E.I8)(Ue(Ge));let Ze;return St?Ze=Object.keys($e):He?Ze=(0,a.r7)(Ge.expandedKeys||Te||[],$e):Ze=Ge.expandedKeys||Te,Ze},[Pn,ze]=xe.useState(Ge.selectedKeys||Ge.defaultSelectedKeys||[]),[At,Wt]=xe.useState(()=>mt());xe.useEffect(()=>{"selectedKeys"in Ge&&ze(Ge.selectedKeys)},[Ge.selectedKeys]),xe.useEffect(()=>{"expandedKeys"in Ge&&Wt(Ge.expandedKeys)},[Ge.expandedKeys]);const tn=($e,Ze)=>{var ht;return"expandedKeys"in Ge||Wt($e),(ht=Ge.onExpand)===null||ht===void 0?void 0:ht.call(Ge,$e,Ze)},En=($e,Ze)=>{var ht;const{multiple:An}=Ge,{node:en,nativeEvent:zt}=Ze,{key:an=""}=en,$t=Ue(Ge),Ye=Object.assign(Object.assign({},Ze),{selected:!0}),et=(zt==null?void 0:zt.ctrlKey)||(zt==null?void 0:zt.metaKey),Nt=zt==null?void 0:zt.shiftKey;let Gt;An&&et?(Gt=$e,pt.current=an,Lt.current=Gt,Ye.selectedNodes=Ee($t,Gt)):An&&Nt?(Gt=Array.from(new Set([].concat((0,re.Z)(Lt.current||[]),(0,re.Z)(ve({treeData:$t,expandedKeys:At,startKey:an,endKey:pt.current}))))),Ye.selectedNodes=Ee($t,Gt)):(Gt=[an],pt.current=an,Lt.current=Gt,Ye.selectedNodes=Ee($t,Gt)),(ht=Ge.onSelect)===null||ht===void 0||ht.call(Ge,Gt,Ye),"selectedKeys"in Ge||ze(Gt)},{getPrefixCls:ut,direction:ft}=xe.useContext(b.E_),{prefixCls:_e,className:Be,showIcon:rt=!0,expandAction:dt="click"}=Ge,Re=Je(Ge,["prefixCls","className","showIcon","expandAction"]),we=ut("tree",_e),lt=oe()(`${we}-directory`,{[`${we}-directory-rtl`]:ft==="rtl"},Be);return xe.createElement(se,Object.assign({icon:Me,ref:Xe,blockNode:!0},Re,{showIcon:rt,expandAction:dt,prefixCls:we,className:lt,expandedKeys:At,selectedKeys:Pn,onSelect:En,onExpand:tn}))};var ot=xe.forwardRef(Le);const gt=se;gt.DirectoryTree=ot,gt.TreeNode=x.O;var it=gt},20648:function(at,Qe,te){"use strict";te.d(Qe,{TM:function(){return me},Yk:function(){return De}});var x=te(36237),re=te(98447),Pe=te(17313),Fe=te(8378),be=te(37613),xe=te(83116);const ue=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Oe=(oe,a)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),je=(oe,a)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ie=(oe,a)=>{const{treeCls:E,treeNodeCls:b,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:ae}=a,le=a.paddingXS;return{[E]:Object.assign(Object.assign({},(0,Pe.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${E}-rtl`]:{[`${E}-switcher`]:{"&_close":{[`${E}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${E}-active-focused)`]:Object.assign({},(0,Pe.oN)(a)),[`${E}-list-holder-inner`]:{alignItems:"flex-start"},[`&${E}-block-node`]:{[`${E}-list-holder-inner`]:{alignItems:"stretch",[`${E}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ue,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${E}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${E}-node-content-wrapper`]:Object.assign({},(0,Pe.oN)(a)),[`&:not(${b}-disabled).filter-node ${E}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${E}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${E}-draggable-icon`]:{visibility:"hidden"}}}},[`${E}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${E}-draggable-icon`]:{visibility:"hidden"},[`${E}-switcher`]:Object.assign(Object.assign({},Oe(oe,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${E}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${E}-checkbox`]:{top:"initial",marginInlineEnd:le},[`${E}-node-content-wrapper, ${E}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${E}-node-selected`]:{backgroundColor:ne},[`${E}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${E}-unselectable ${E}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${E}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},je(oe,a)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${E}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${E}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${E}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Ne=oe=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=oe;return{[`${a}${a}-directory`]:{[E]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},De=(oe,a)=>{const E=`.${oe}`,b=`${E}-treenode`,y=a.paddingXS/2,z=(0,be.TS)(a,{treeCls:E,treeNodeCls:b,treeNodePadding:y});return[Ie(oe,z),Ne(z)]},me=oe=>{const{controlHeightSM:a}=oe;return{titleHeight:a,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Qe.ZP=(0,xe.Z)("Tree",(oe,a)=>{let{prefixCls:E}=a;return[{[oe.componentCls]:(0,re.C2)(`${E}-checkbox`,oe)},De(E,oe),(0,Fe.Z)(oe)]},oe=>{const{colorTextLightSolid:a,colorPrimary:E}=oe;return Object.assign(Object.assign({},me(oe)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:E})})},71997:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return b}});var x=te(54476),re=te(59301),Pe={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"},Fe=Pe,be=te(7657),xe=function(z,ne){return re.createElement(be.Z,(0,x.Z)({},z,{ref:ne,icon:Fe}))},ue=re.forwardRef(xe),Oe=ue,je=te(52671),Ie=te(58617),Ne=te(15075),De=te(43531),me=te(92310),oe=te.n(me),a=te(92343),b=y=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:ae,showLine:le}=y,{isLeaf:ie,expanded:de,loading:se}=ae;if(se)return re.createElement(Ie.Z,{className:`${z}-switcher-loading-icon`});let ce;if(le&&typeof le=="object"&&(ce=le.showLeafIcon),ie){if(!le)return null;if(typeof ce!="boolean"&&ce){const Ee=typeof ce=="function"?ce(ae):ce,Je=`${z}-switcher-line-custom-icon`;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:oe()(Ee.props.className||"",Je)}):Ee}return ce?re.createElement(je.Z,{className:`${z}-switcher-line-icon`}):re.createElement("span",{className:`${z}-switcher-leaf-line`})}const ge=`${z}-switcher-icon`,ve=typeof ne=="function"?ne(ae):ne;return(0,a.l$)(ve)?(0,a.Tm)(ve,{className:oe()(ve.props.className||"",ge)}):ve!==void 0?ve:le?de?re.createElement(Ne.Z,{className:`${z}-switcher-line-icon`}):re.createElement(De.Z,{className:`${z}-switcher-line-icon`}):re.createElement(Oe,{className:ge})}},54580:function(at,Qe,te){"use strict";te.d(Qe,{default:function(){return Go}});var x=te(59301),re=te(94480),Pe=te(92310),Fe=te.n(Pe),be=te(54476),xe=te(67732),ue=te(83652),Oe=te(42403),je=te(158),Ie=te(20068),Ne=te(75931),De=te(75044),me=te(76190),oe=te(3202),a=te(26112);function E(Et,pn){var vn="cannot ".concat(Et.method," ").concat(Et.action," ").concat(pn.status,"'"),qt=new Error(vn);return qt.status=pn.status,qt.method=Et.method,qt.url=Et.action,qt}function b(Et){var pn=Et.responseText||Et.response;if(!pn)return pn;try{return JSON.parse(pn)}catch(vn){return pn}}function y(Et){var pn=new XMLHttpRequest;Et.onProgress&&pn.upload&&(pn.upload.onprogress=function(mn){mn.total>0&&(mn.percent=mn.loaded/mn.total*100),Et.onProgress(mn)});var vn=new FormData;Et.data&&Object.keys(Et.data).forEach(function(Sn){var mn=Et.data[Sn];if(Array.isArray(mn)){mn.forEach(function(hn){vn.append("".concat(Sn,"[]"),hn)});return}vn.append(Sn,mn)}),Et.file instanceof Blob?vn.append(Et.filename,Et.file,Et.file.name):vn.append(Et.filename,Et.file),pn.onerror=function(mn){Et.onError(mn)},pn.onload=function(){return pn.status<200||pn.status>=300?Et.onError(E(Et,pn),b(pn)):Et.onSuccess(b(pn),pn)},pn.open(Et.method,Et.action,!0),Et.withCredentials&&"withCredentials"in pn&&(pn.withCredentials=!0);var qt=Et.headers||{};return qt["X-Requested-With"]!==null&&pn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(qt).forEach(function(Sn){qt[Sn]!==null&&pn.setRequestHeader(Sn,qt[Sn])}),pn.send(vn),{abort:function(){pn.abort()}}}var z=+new Date,ne=0;function ae(){return"rc-upload-".concat(z,"-").concat(++ne)}var le=te(48736),ie=function(Et,pn){if(Et&&pn){var vn=Array.isArray(pn)?pn:pn.split(","),qt=Et.name||"",Sn=Et.type||"",mn=Sn.replace(/\/.*$/,"");return vn.some(function(hn){var yn=hn.trim();if(/^\*(\/\*)?$/.test(hn))return!0;if(yn.charAt(0)==="."){var pa=qt.toLowerCase(),Pa=yn.toLowerCase(),nn=[Pa];return(Pa===".jpg"||Pa===".jpeg")&&(nn=[".jpg",".jpeg"]),nn.some(function(fr){return pa.endsWith(fr)})}return/\/\*$/.test(yn)?mn===yn.replace(/\/.*$/,""):Sn===yn?!0:/^\w+$/.test(yn)?((0,le.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(yn,"'.Skip for check.")),!0):!1})}return!0};function de(Et,pn){var vn=Et.createReader(),qt=[];function Sn(){vn.readEntries(function(mn){var hn=Array.prototype.slice.apply(mn);qt=qt.concat(hn);var yn=!hn.length;yn?pn(qt):Sn()})}Sn()}var se=function(pn,vn,qt){var Sn=function mn(hn,yn){hn&&(hn.path=yn||"",hn.isFile?hn.file(function(pa){qt(pa)&&(hn.fullPath&&!pa.webkitRelativePath&&(Object.defineProperties(pa,{webkitRelativePath:{writable:!0}}),pa.webkitRelativePath=hn.fullPath.replace(/^\//,""),Object.defineProperties(pa,{webkitRelativePath:{writable:!1}})),vn([pa]))}):hn.isDirectory&&de(hn,function(pa){pa.forEach(function(Pa){mn(Pa,"".concat(yn).concat(hn.name,"/"))})}))};pn.forEach(function(mn){Sn(mn.webkitGetAsEntry())})},ce=se,ge=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ve=function(Et){(0,Oe.Z)(vn,Et);var pn=(0,je.Z)(vn);function vn(){var qt;(0,xe.Z)(this,vn);for(var Sn=arguments.length,mn=new Array(Sn),hn=0;hn{let{uid:mn}=Sn;return mn===Et.uid});return qt===-1?vn.push(Et):vn[qt]=Et,vn}function ht(Et,pn){const vn=Et.uid!==void 0?"uid":"name";return pn.filter(qt=>qt[vn]===Et[vn])[0]}function An(Et,pn){const vn=Et.uid!==void 0?"uid":"name",qt=pn.filter(Sn=>Sn[vn]!==Et[vn]);return qt.length===pn.length?null:qt}const en=function(){const pn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),qt=pn[pn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(qt)||[""])[0]},zt=Et=>Et.indexOf("image/")===0,an=Et=>{if(Et.type&&!Et.thumbUrl)return zt(Et.type);const pn=Et.thumbUrl||Et.url||"",vn=en(pn);return/^data:image\//.test(pn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(vn)?!0:!(/^data:/.test(pn)||vn)},$t=200;function Ye(Et){return new Promise(pn=>{if(!Et.type||!zt(Et.type)){pn("");return}const vn=document.createElement("canvas");vn.width=$t,vn.height=$t,vn.style.cssText=`position: fixed; left: 0; top: 0; width: ${$t}px; height: ${$t}px; z-index: 9999; display: none;`,document.body.appendChild(vn);const qt=vn.getContext("2d"),Sn=new Image;if(Sn.onload=()=>{const{width:mn,height:hn}=Sn;let yn=$t,pa=$t,Pa=0,nn=0;mn>hn?(pa=hn*($t/mn),nn=-(pa-yn)/2):(yn=mn*($t/hn),Pa=-(yn-pa)/2),qt.drawImage(Sn,Pa,nn,yn,pa);const fr=vn.toDataURL();document.body.removeChild(vn),window.URL.revokeObjectURL(Sn.src),pn(fr)},Sn.crossOrigin="anonymous",Et.type.startsWith("image/svg+xml")){const mn=new FileReader;mn.onload=()=>{mn.result&&(Sn.src=mn.result)},mn.readAsDataURL(Et)}else if(Et.type.startsWith("image/gif")){const mn=new FileReader;mn.onload=()=>{mn.result&&pn(mn.result)},mn.readAsDataURL(Et)}else Sn.src=window.URL.createObjectURL(Et)})}var et=te(26227),Nt=te(41464),Gt=te(15277),gn=te(93948),Rt=te(6848),jn=x.forwardRef((Et,pn)=>{let{prefixCls:vn,className:qt,style:Sn,locale:mn,listType:hn,file:yn,items:pa,progress:Pa,iconRender:nn,actionIconRender:fr,itemRender:wr,isImgUrl:Xr,showPreviewIcon:Sr,showRemoveIcon:Xn,showDownloadIcon:Ia,previewIcon:bo,removeIcon:La,downloadIcon:io,onPreview:dr,onDownload:Oo,onClose:Wr}=Et;var qr,ri;const{status:_l}=yn,[Kr,si]=x.useState(_l);x.useEffect(()=>{_l!=="removed"&&si(_l)},[_l]);const[Wl,mi]=x.useState(!1);x.useEffect(()=>{const Ol=setTimeout(()=>{mi(!0)},300);return()=>{clearTimeout(Ol)}},[]);const Li=nn(yn);let Xl=x.createElement("div",{className:`${vn}-icon`},Li);if(hn==="picture"||hn==="picture-card"||hn==="picture-circle")if(Kr==="uploading"||!yn.thumbUrl&&!yn.url){const Ol=Fe()(`${vn}-list-item-thumbnail`,{[`${vn}-list-item-file`]:Kr!=="uploading"});Xl=x.createElement("div",{className:Ol},Li)}else{const Ol=Xr!=null&&Xr(yn)?x.createElement("img",{src:yn.thumbUrl||yn.url,alt:yn.name,className:`${vn}-list-item-image`,crossOrigin:yn.crossOrigin}):Li,Nl=Fe()(`${vn}-list-item-thumbnail`,{[`${vn}-list-item-file`]:Xr&&!Xr(yn)});Xl=x.createElement("a",{className:Nl,onClick:Ii=>dr(yn,Ii),href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ol)}const xl=Fe()(`${vn}-list-item`,`${vn}-list-item-${Kr}`),ci=typeof yn.linkProps=="string"?JSON.parse(yn.linkProps):yn.linkProps,Mi=Xn?fr((typeof La=="function"?La(yn):La)||x.createElement(et.Z,null),()=>Wr(yn),vn,mn.removeFile):null,bi=Ia&&Kr==="done"?fr((typeof io=="function"?io(yn):io)||x.createElement(Nt.Z,null),()=>Oo(yn),vn,mn.downloadFile):null,hi=hn!=="picture-card"&&hn!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Fe()(`${vn}-list-item-actions`,{picture:hn==="picture"})},bi,Mi),ti=Fe()(`${vn}-list-item-name`),fi=yn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ti,title:yn.name},ci,{href:yn.url,onClick:Ol=>dr(yn,Ol)}),yn.name),hi]:[x.createElement("span",{key:"view",className:ti,onClick:Ol=>dr(yn,Ol),title:yn.name},yn.name),hi],gr={pointerEvents:"none",opacity:.5},dl=Sr?x.createElement("a",{href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:yn.url||yn.thumbUrl?void 0:gr,onClick:Ol=>dr(yn,Ol),title:mn.previewFile},typeof bo=="function"?bo(yn):bo||x.createElement(Gt.Z,null)):null,Cl=(hn==="picture-card"||hn==="picture-circle")&&Kr!=="uploading"&&x.createElement("span",{className:`${vn}-list-item-actions`},dl,Kr==="done"&&bi,Mi),{getPrefixCls:ni}=x.useContext(gt.E_),ql=ni(),xi=x.createElement("div",{className:xl},Xl,fi,Cl,Wl&&x.createElement(rt.default,{motionName:`${ql}-fade`,visible:Kr==="uploading",motionDeadline:2e3},Ol=>{let{className:Nl}=Ol;const Ii="percent"in yn?x.createElement(gn.Z,Object.assign({},Pa,{type:"line",percent:yn.percent,"aria-label":yn["aria-label"],"aria-labelledby":yn["aria-labelledby"]})):null;return x.createElement("div",{className:Fe()(`${vn}-list-item-progress`,Nl)},Ii)})),Qi=yn.response&&typeof yn.response=="string"?yn.response:((qr=yn.error)===null||qr===void 0?void 0:qr.statusText)||((ri=yn.error)===null||ri===void 0?void 0:ri.message)||mn.uploadError,Hi=Kr==="error"?x.createElement(Rt.Z,{title:Qi,getPopupContainer:Ol=>Ol.parentNode},xi):xi;return x.createElement("div",{className:Fe()(`${vn}-list-item-container`,qt),style:Sn,ref:pn},wr?wr(Hi,yn,pa,{download:Oo.bind(null,yn),preview:dr.bind(null,yn),remove:Wr.bind(null,yn)}):Hi)});const ea=(Et,pn)=>{const{listType:vn="text",previewFile:qt=Ye,onPreview:Sn,onDownload:mn,onRemove:hn,locale:yn,iconRender:pa,isImageUrl:Pa=an,prefixCls:nn,items:fr=[],showPreviewIcon:wr=!0,showRemoveIcon:Xr=!0,showDownloadIcon:Sr=!1,removeIcon:Xn,previewIcon:Ia,downloadIcon:bo,progress:La={size:[-1,2],showInfo:!1},appendAction:io,appendActionVisible:dr=!0,itemRender:Oo,disabled:Wr}=Et,qr=(0,dt.Z)(),[ri,_l]=x.useState(!1);x.useEffect(()=>{vn!=="picture"&&vn!=="picture-card"&&vn!=="picture-circle"||(fr||[]).forEach(gr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(gr.originFileObj instanceof File||gr.originFileObj instanceof Blob)||gr.thumbUrl!==void 0||(gr.thumbUrl="",qt&&qt(gr.originFileObj).then(dl=>{gr.thumbUrl=dl||"",qr()}))})},[vn,fr,qt]),x.useEffect(()=>{_l(!0)},[]);const Kr=(gr,dl)=>{if(Sn)return dl==null||dl.preventDefault(),Sn(gr)},si=gr=>{typeof mn=="function"?mn(gr):gr.url&&window.open(gr.url)},Wl=gr=>{hn==null||hn(gr)},mi=gr=>{if(pa)return pa(gr,vn);const dl=gr.status==="uploading",Cl=Pa&&Pa(gr)?x.createElement(Be,null):x.createElement(Lt,null);let ni=dl?x.createElement(mt.Z,null):x.createElement(tn,null);return vn==="picture"?ni=dl?x.createElement(mt.Z,null):Cl:(vn==="picture-card"||vn==="picture-circle")&&(ni=dl?yn.uploading:Cl),ni},Li=(gr,dl,Cl,ni)=>{const ql={type:"text",size:"small",title:ni,onClick:xi=>{dl(),(0,we.l$)(gr)&&gr.props.onClick&&gr.props.onClick(xi)},className:`${Cl}-list-item-action`,disabled:Wr};if((0,we.l$)(gr)){const xi=(0,we.Tm)(gr,Object.assign(Object.assign({},gr.props),{onClick:()=>{}}));return x.createElement(lt.ZP,Object.assign({},ql,{icon:xi}))}return x.createElement(lt.ZP,Object.assign({},ql),x.createElement("span",null,gr))};x.useImperativeHandle(pn,()=>({handlePreview:Kr,handleDownload:si}));const{getPrefixCls:Xl}=x.useContext(gt.E_),xl=Xl("upload",nn),ci=Xl(),Mi=Fe()(`${xl}-list`,`${xl}-list-${vn}`),bi=(0,re.Z)(fr.map(gr=>({key:gr.uid,file:gr})));let ti={motionDeadline:2e3,motionName:`${xl}-${vn==="picture-card"||vn==="picture-circle"?"animate-inline":"animate"}`,keys:bi,motionAppear:ri};const fi=x.useMemo(()=>{const gr=Object.assign({},(0,Re.Z)(ci));return delete gr.onAppearEnd,delete gr.onEnterEnd,delete gr.onLeaveEnd,gr},[ci]);return vn!=="picture-card"&&vn!=="picture-circle"&&(ti=Object.assign(Object.assign({},fi),ti)),x.createElement("div",{className:Mi},x.createElement(rt.CSSMotionList,Object.assign({},ti,{component:!1}),gr=>{let{key:dl,file:Cl,className:ni,style:ql}=gr;return x.createElement(jn,{key:dl,locale:yn,prefixCls:xl,className:ni,style:ql,file:Cl,items:fr,progress:La,listType:vn,isImgUrl:Pa,showPreviewIcon:wr,showRemoveIcon:Xr,showDownloadIcon:Sr,removeIcon:Xn,previewIcon:Ia,downloadIcon:bo,iconRender:mi,actionIconRender:Li,itemRender:Oo,onPreview:Kr,onDownload:si,onClose:Wl})}),io&&x.createElement(rt.default,Object.assign({},ti,{visible:dr,forceRender:!0}),gr=>{let{className:dl,style:Cl}=gr;return(0,we.Tm)(io,ni=>({className:Fe()(ni.className,dl),style:Object.assign(Object.assign(Object.assign({},Cl),{pointerEvents:dl?"none":void 0}),ni.style)}))}))};var rn=x.forwardRef(ea),Sa=te(17313),ro=te(8378),oa=te(83116),xn=te(37613),Da=Et=>{const{componentCls:pn,iconCls:vn}=Et;return{[`${pn}-wrapper`]:{[`${pn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Et.colorFillAlter,border:`${Et.lineWidth}px dashed ${Et.colorBorder}`,borderRadius:Et.borderRadiusLG,cursor:"pointer",transition:`border-color ${Et.motionDurationSlow}`,[pn]:{padding:`${Et.padding}px 0`},[`${pn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${pn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${pn}-disabled):hover`]:{borderColor:Et.colorPrimaryHover},[`p${pn}-drag-icon`]:{marginBottom:Et.margin,[vn]:{color:Et.colorPrimary,fontSize:Et.uploadThumbnailSize}},[`p${pn}-text`]:{margin:`0 0 ${Et.marginXXS}px`,color:Et.colorTextHeading,fontSize:Et.fontSizeLG},[`p${pn}-hint`]:{color:Et.colorTextDescription,fontSize:Et.fontSize},[`&${pn}-disabled`]:{cursor:"not-allowed",[`p${pn}-drag-icon ${vn}, - p${pn}-text, - p${pn}-hint - `]:{color:Et.colorTextDisabled}}}}}},Dn=Et=>{const{componentCls:pn,antCls:vn,iconCls:qt,fontSize:Sn,lineHeight:mn}=Et,hn=`${pn}-list-item`,yn=`${hn}-actions`,pa=`${hn}-action`,Pa=Math.round(Sn*mn);return{[`${pn}-wrapper`]:{[`${pn}-list`]:Object.assign(Object.assign({},(0,Sa.dF)()),{lineHeight:Et.lineHeight,[hn]:{position:"relative",height:Et.lineHeight*Sn,marginTop:Et.marginXS,fontSize:Sn,display:"flex",alignItems:"center",transition:`background-color ${Et.motionDurationSlow}`,"&:hover":{backgroundColor:Et.controlItemBgHover},[`${hn}-name`]:Object.assign(Object.assign({},Sa.vS),{padding:`0 ${Et.paddingXS}px`,lineHeight:mn,flex:"auto",transition:`all ${Et.motionDurationSlow}`}),[yn]:{[pa]:{opacity:0},[`${pa}${vn}-btn-sm`]:{height:Pa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${pa}:focus-visible, - &.picture ${pa} - `]:{opacity:1},[qt]:{color:Et.actionsColor,transition:`all ${Et.motionDurationSlow}`},[`&:hover ${qt}`]:{color:Et.colorText}},[`${pn}-icon ${qt}`]:{color:Et.colorTextDescription,fontSize:Sn},[`${hn}-progress`]:{position:"absolute",bottom:-Et.uploadProgressOffset,width:"100%",paddingInlineStart:Sn+Et.paddingXS,fontSize:Sn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${hn}:hover ${pa}`]:{opacity:1,color:Et.colorText},[`${hn}-error`]:{color:Et.colorError,[`${hn}-name, ${pn}-icon ${qt}`]:{color:Et.colorError},[yn]:{[`${qt}, ${qt}:hover`]:{color:Et.colorError},[pa]:{opacity:1}}},[`${pn}-list-item-container`]:{transition:`opacity ${Et.motionDurationSlow}, height ${Et.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Wn=te(36237),fa=te(1950);const ta=new Wn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),za=new Wn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ar=Et=>{const{componentCls:pn}=Et,vn=`${pn}-animate-inline`;return[{[`${pn}-wrapper`]:{[`${vn}-appear, ${vn}-enter, ${vn}-leave`]:{animationDuration:Et.motionDurationSlow,animationTimingFunction:Et.motionEaseInOutCirc,animationFillMode:"forwards"},[`${vn}-appear, ${vn}-enter`]:{animationName:ta},[`${vn}-leave`]:{animationName:za}}},{[`${pn}-wrapper`]:(0,fa.J$)(Et)},ta,za]},Dr=te(30071),Na=te(64993);const xt=Et=>{const{componentCls:pn,iconCls:vn,uploadThumbnailSize:qt,uploadProgressOffset:Sn}=Et,mn=`${pn}-list`,hn=`${mn}-item`;return{[`${pn}-wrapper`]:{[` - ${mn}${mn}-picture, - ${mn}${mn}-picture-card, - ${mn}${mn}-picture-circle - `]:{[hn]:{position:"relative",height:qt+Et.lineWidth*2+Et.paddingXS*2,padding:Et.paddingXS,border:`${Et.lineWidth}px ${Et.lineType} ${Et.colorBorder}`,borderRadius:Et.borderRadiusLG,"&:hover":{background:"transparent"},[`${hn}-thumbnail`]:Object.assign(Object.assign({},Sa.vS),{width:qt,height:qt,lineHeight:`${qt+Et.paddingSM}px`,textAlign:"center",flex:"none",[vn]:{fontSize:Et.fontSizeHeading2,color:Et.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${hn}-progress`]:{bottom:Sn,width:`calc(100% - ${Et.paddingSM*2}px)`,marginTop:0,paddingInlineStart:qt+Et.paddingXS}},[`${hn}-error`]:{borderColor:Et.colorError,[`${hn}-thumbnail ${vn}`]:{[`svg path[fill='${Dr.blue[0]}']`]:{fill:Et.colorErrorBg},[`svg path[fill='${Dr.blue.primary}']`]:{fill:Et.colorError}}},[`${hn}-uploading`]:{borderStyle:"dashed",[`${hn}-name`]:{marginBottom:Sn}}},[`${mn}${mn}-picture-circle ${hn}`]:{[`&, &::before, ${hn}-thumbnail`]:{borderRadius:"50%"}}}}},It=Et=>{const{componentCls:pn,iconCls:vn,fontSizeLG:qt,colorTextLightSolid:Sn}=Et,mn=`${pn}-list`,hn=`${mn}-item`,yn=Et.uploadPicCardSize;return{[` - ${pn}-wrapper${pn}-picture-card-wrapper, - ${pn}-wrapper${pn}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Sa.dF)()),{display:"inline-block",width:"100%",[`${pn}${pn}-select`]:{width:yn,height:yn,marginInlineEnd:Et.marginXS,marginBottom:Et.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Et.colorFillAlter,border:`${Et.lineWidth}px dashed ${Et.colorBorder}`,borderRadius:Et.borderRadiusLG,cursor:"pointer",transition:`border-color ${Et.motionDurationSlow}`,[`> ${pn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${pn}-disabled):hover`]:{borderColor:Et.colorPrimary}},[`${mn}${mn}-picture-card, ${mn}${mn}-picture-circle`]:{[`${mn}-item-container`]:{display:"inline-block",width:yn,height:yn,marginBlock:`0 ${Et.marginXS}px`,marginInline:`0 ${Et.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[hn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Et.paddingXS*2}px)`,height:`calc(100% - ${Et.paddingXS*2}px)`,backgroundColor:Et.colorBgMask,opacity:0,transition:`all ${Et.motionDurationSlow}`,content:'" "'}},[`${hn}:hover`]:{[`&::before, ${hn}-actions`]:{opacity:1}},[`${hn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Et.motionDurationSlow}`,[`${vn}-eye, ${vn}-download, ${vn}-delete`]:{zIndex:10,width:qt,margin:`0 ${Et.marginXXS}px`,fontSize:qt,cursor:"pointer",transition:`all ${Et.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${hn}-actions, ${hn}-actions:hover`]:{[`${vn}-eye, ${vn}-download, ${vn}-delete`]:{color:new Na.C(Sn).setAlpha(.65).toRgbString(),"&:hover":{color:Sn}}},[`${hn}-thumbnail, ${hn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${hn}-name`]:{display:"none",textAlign:"center"},[`${hn}-file + ${hn}-name`]:{position:"absolute",bottom:Et.margin,display:"block",width:`calc(100% - ${Et.paddingXS*2}px)`},[`${hn}-uploading`]:{[`&${hn}`]:{backgroundColor:Et.colorFillAlter},[`&::before, ${vn}-eye, ${vn}-download, ${vn}-delete`]:{display:"none"}},[`${hn}-progress`]:{bottom:Et.marginXL,width:`calc(100% - ${Et.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${pn}-wrapper${pn}-picture-circle-wrapper`]:{[`${pn}${pn}-select`]:{borderRadius:"50%"}}}};var In=Et=>{const{componentCls:pn}=Et;return{[`${pn}-rtl`]:{direction:"rtl"}}};const na=Et=>{const{componentCls:pn,colorTextDisabled:vn}=Et;return{[`${pn}-wrapper`]:Object.assign(Object.assign({},(0,Sa.Wf)(Et)),{[pn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${pn}-select`]:{display:"inline-block"},[`${pn}-disabled`]:{color:vn,cursor:"not-allowed"}})}};var Hn=(0,oa.Z)("Upload",Et=>{const{fontSizeHeading3:pn,fontSize:vn,lineHeight:qt,lineWidth:Sn,controlHeightLG:mn}=Et,hn=Math.round(vn*qt),yn=(0,xn.TS)(Et,{uploadThumbnailSize:pn*2,uploadProgressOffset:hn/2+Sn,uploadPicCardSize:mn*2.55});return[na(yn),Da(yn),xt(yn),It(yn),Dn(yn),Ar(yn),In(yn),(0,ro.Z)(yn)]},Et=>({actionsColor:Et.colorTextDescription})),Qo=function(Et,pn,vn,qt){function Sn(mn){return mn instanceof vn?mn:new vn(function(hn){hn(mn)})}return new(vn||(vn=Promise))(function(mn,hn){function yn(nn){try{Pa(qt.next(nn))}catch(fr){hn(fr)}}function pa(nn){try{Pa(qt.throw(nn))}catch(fr){hn(fr)}}function Pa(nn){nn.done?mn(nn.value):Sn(nn.value).then(yn,pa)}Pa((qt=qt.apply(Et,pn||[])).next())})};const Oa=`__LIST_IGNORE_${Date.now()}__`,lo=(Et,pn)=>{const{fileList:vn,defaultFileList:qt,onRemove:Sn,showUploadList:mn=!0,listType:hn="text",onPreview:yn,onDownload:pa,onChange:Pa,onDrop:nn,previewFile:fr,disabled:wr,locale:Xr,iconRender:Sr,isImageUrl:Xn,progress:Ia,prefixCls:bo,className:La,type:io="select",children:dr,style:Oo,itemRender:Wr,maxCount:qr,data:ri={},multiple:_l=!1,action:Kr="",accept:si="",supportServerRender:Wl=!0,rootClassName:mi}=Et,Li=x.useContext(it.Z),Xl=wr!=null?wr:Li,[xl,ci]=(0,ke.Z)(qt||[],{value:vn,postState:or=>or!=null?or:[]}),[Mi,bi]=x.useState("drop"),hi=x.useRef(null);x.useMemo(()=>{const or=Date.now();(vn||[]).forEach((co,ml)=>{!co.uid&&!Object.isFrozen(co)&&(co.uid=`__AUTO__${or}_${ml}__`)})},[vn]);const ti=(or,co,ml)=>{let Ur=(0,re.Z)(co),Vr=!1;qr===1?Ur=Ur.slice(-1):qr&&(Vr=Ur.length>qr,Ur=Ur.slice(0,qr)),(0,ot.flushSync)(()=>{ci(Ur)});const Qt={file:or,fileList:Ur};ml&&(Qt.event=ml),(!Vr||Ur.some(Tt=>Tt.uid===or.uid))&&(0,ot.flushSync)(()=>{Pa==null||Pa(Qt)})},fi=(or,co)=>Qo(void 0,void 0,void 0,function*(){const{beforeUpload:ml,transformFile:Ur}=Et;let Vr=or;if(ml){const Qt=yield ml(or,co);if(Qt===!1)return!1;if(delete or[Oa],Qt===Oa)return Object.defineProperty(or,Oa,{value:!0,configurable:!0}),!1;typeof Qt=="object"&&Qt&&(Vr=Qt)}return Ur&&(Vr=yield Ur(Vr)),Vr}),gr=or=>{const co=or.filter(Vr=>!Vr.file[Oa]);if(!co.length)return;const ml=co.map(Vr=>$e(Vr.file));let Ur=(0,re.Z)(xl);ml.forEach(Vr=>{Ur=Ze(Vr,Ur)}),ml.forEach((Vr,Qt)=>{let Tt=Vr;if(co[Qt].parsedFile)Vr.status="uploading";else{const{originFileObj:cn}=Vr;let Yn;try{Yn=new File([cn],cn.name,{type:cn.type})}catch(uo){Yn=new Blob([cn],{type:cn.type}),Yn.name=cn.name,Yn.lastModifiedDate=new Date,Yn.lastModified=new Date().getTime()}Yn.uid=Vr.uid,Tt=Yn}ti(Tt,Ur)})},dl=(or,co,ml)=>{try{typeof or=="string"&&(or=JSON.parse(or))}catch(Qt){}if(!ht(co,xl))return;const Ur=$e(co);Ur.status="done",Ur.percent=100,Ur.response=or,Ur.xhr=ml;const Vr=Ze(Ur,xl);ti(Ur,Vr)},Cl=(or,co)=>{if(!ht(co,xl))return;const ml=$e(co);ml.status="uploading",ml.percent=or.percent;const Ur=Ze(ml,xl);ti(ml,Ur,or)},ni=(or,co,ml)=>{if(!ht(ml,xl))return;const Ur=$e(ml);Ur.error=or,Ur.response=co,Ur.status="error";const Vr=Ze(Ur,xl);ti(Ur,Vr)},ql=or=>{let co;Promise.resolve(typeof Sn=="function"?Sn(or):Sn).then(ml=>{var Ur;if(ml===!1)return;const Vr=An(or,xl);Vr&&(co=Object.assign(Object.assign({},or),{status:"removed"}),xl==null||xl.forEach(Qt=>{const Tt=co.uid!==void 0?"uid":"name";Qt[Tt]===co[Tt]&&!Object.isFrozen(Qt)&&(Qt.status="removed")}),(Ur=hi.current)===null||Ur===void 0||Ur.abort(co),ti(co,Vr))})},xi=or=>{bi(or.type),or.type==="drop"&&(nn==null||nn(or))};x.useImperativeHandle(pn,()=>({onBatchStart:gr,onSuccess:dl,onProgress:Cl,onError:ni,fileList:xl,upload:hi.current}));const{getPrefixCls:Qi,direction:Hi,upload:Ol}=x.useContext(gt.E_),Nl=Qi("upload",bo),Ii=Object.assign(Object.assign({onBatchStart:gr,onError:ni,onProgress:Cl,onSuccess:dl},Et),{data:ri,multiple:_l,action:Kr,accept:si,supportServerRender:Wl,prefixCls:Nl,disabled:Xl,beforeUpload:fi,onChange:void 0});delete Ii.className,delete Ii.style,(!dr||Xl)&&delete Ii.id;const[Rn,ru]=Hn(Nl),[lu]=(0,nt.Z)("Upload",Xe.Z.Upload),{showRemoveIcon:Eo,showPreviewIcon:Ba,showDownloadIcon:Wa,removeIcon:Za,previewIcon:Lr,downloadIcon:gl}=typeof mn=="boolean"?{}:mn,wl=(or,co)=>mn?x.createElement(rn,{prefixCls:Nl,listType:hn,items:xl,previewFile:fr,onPreview:yn,onDownload:pa,onRemove:ql,showRemoveIcon:!Xl&&Eo,showPreviewIcon:Ba,showDownloadIcon:Wa,removeIcon:Za,previewIcon:Lr,downloadIcon:gl,iconRender:Sr,locale:Object.assign(Object.assign({},lu),Xr),isImageUrl:Xn,progress:Ia,appendAction:or,appendActionVisible:co,itemRender:Wr,disabled:Xl}):or,$r=Fe()(`${Nl}-wrapper`,La,mi,ru,Ol==null?void 0:Ol.className,{[`${Nl}-rtl`]:Hi==="rtl",[`${Nl}-picture-card-wrapper`]:hn==="picture-card",[`${Nl}-picture-circle-wrapper`]:hn==="picture-circle"}),Kl=Object.assign(Object.assign({},Ol==null?void 0:Ol.style),Oo);if(io==="drag"){const or=Fe()(ru,Nl,`${Nl}-drag`,{[`${Nl}-drag-uploading`]:xl.some(co=>co.status==="uploading"),[`${Nl}-drag-hover`]:Mi==="dragover",[`${Nl}-disabled`]:Xl,[`${Nl}-rtl`]:Hi==="rtl"});return Rn(x.createElement("span",{className:$r},x.createElement("div",{className:or,style:Kl,onDrop:xi,onDragOver:xi,onDragLeave:xi},x.createElement(Le,Object.assign({},Ii,{ref:hi,className:`${Nl}-btn`}),x.createElement("div",{className:`${Nl}-drag-container`},dr))),wl()))}const Yl=Fe()(Nl,`${Nl}-select`,{[`${Nl}-disabled`]:Xl}),$l=(or=>x.createElement("div",{className:Yl,style:or},x.createElement(Le,Object.assign({},Ii,{ref:hi}))))(dr?void 0:{display:"none"});return Rn(hn==="picture-card"||hn==="picture-circle"?x.createElement("span",{className:$r},wl($l,!!dr)):x.createElement("span",{className:$r},$l,wl()))};var ao=x.forwardRef(lo),Zn=function(Et,pn){var vn={};for(var qt in Et)Object.prototype.hasOwnProperty.call(Et,qt)&&pn.indexOf(qt)<0&&(vn[qt]=Et[qt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Sn=0,qt=Object.getOwnPropertySymbols(Et);Sn{var{style:vn,height:qt}=Et,Sn=Zn(Et,["style","height"]);return x.createElement(ao,Object.assign({ref:pn},Sn,{type:"drag",style:Object.assign(Object.assign({},vn),{height:qt})}))});const Er=ao;Er.Dragger=Gr,Er.LIST_IGNORE=Oa;var Go=Er},14625:function(at){function Qe(x){var re,Pe,Fe="";if(typeof x=="string"||typeof x=="number")Fe+=x;else if(typeof x=="object")if(Array.isArray(x)){var be=x.length;for(re=0;re0&&arguments[0]!==void 0?arguments[0]:[],ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],_e=ut.length,Be=ft.length;if(Math.abs(_e-Be)!==1)return{add:!1,key:null};function rt(dt,Re){var we=new Map;dt.forEach(function($e){we.set($e,!0)});var lt=Re.filter(function($e){return!we.has($e)});return lt.length===1?lt[0]:null}return _e ").concat(ft);return ft}var pt=E.forwardRef(function(ut,ft){var _e=ut.prefixCls,Be=ut.data,rt=ut.selectable,dt=ut.checkable,Re=ut.expandedKeys,we=ut.selectedKeys,lt=ut.checkedKeys,$e=ut.loadedKeys,Ze=ut.loadingKeys,ht=ut.halfCheckedKeys,An=ut.keyEntities,en=ut.disabled,zt=ut.dragging,an=ut.dragOverNodeKey,$t=ut.dropPosition,Ye=ut.motion,et=ut.height,Nt=ut.itemHeight,Gt=ut.virtual,gn=ut.focusable,Rt=ut.activeItem,Fn=ut.focused,jn=ut.tabIndex,ea=ut.onKeyDown,xa=ut.onFocus,rn=ut.onBlur,Sa=ut.onActiveChange,ro=ut.onListChangeStart,oa=ut.onListChangeEnd,xn=(0,ae.Z)(ut,ke),wa=E.useRef(null),Da=E.useRef(null);E.useImperativeHandle(ft,function(){return{scrollTo:function(Go){wa.current.scrollTo(Go)},getIndentWidth:function(){return Da.current.offsetWidth}}});var Ht=E.useState(Re),Dn=(0,ne.Z)(Ht,2),Wn=Dn[0],fa=Dn[1],ta=E.useState(Be),za=(0,ne.Z)(ta,2),Ao=za[0],Ar=za[1],Dr=E.useState(Be),Na=(0,ne.Z)(Dr,2),xt=Na[0],It=Na[1],Dt=E.useState([]),In=(0,ne.Z)(Dt,2),na=In[0],Hn=In[1],Qo=E.useState(null),Oa=(0,ne.Z)(Qo,2),lo=Oa[0],hr=Oa[1],ao=E.useRef(Be);ao.current=Be;function Zn(){var Er=ao.current;Ar(Er),It(Er),Hn([]),hr(null),oa()}(0,le.Z)(function(){fa(Re);var Er=Ue(Wn,Re);if(Er.key!==null)if(Er.add){var Go=Ao.findIndex(function(mn){var hn=mn.key;return hn===Er.key}),Et=He(Le(Ao,Be,Er.key),Gt,et,Nt),pn=Ao.slice();pn.splice(Go+1,0,St),It(pn),Hn(Et),hr("show")}else{var vn=Be.findIndex(function(mn){var hn=mn.key;return hn===Er.key}),qt=He(Le(Be,Ao,Er.key),Gt,et,Nt),Sn=Be.slice();Sn.splice(vn+1,0,St),It(Sn),Hn(qt),hr("hide")}else Ao!==Be&&(Ar(Be),It(Be))},[Re,Be]),E.useEffect(function(){zt||Zn()},[zt]);var sr=Ye?xt:Be,Gr={expandedKeys:Re,selectedKeys:we,loadedKeys:$e,loadingKeys:Ze,checkedKeys:lt,halfCheckedKeys:ht,dragOverNodeKey:an,dropPosition:$t,keyEntities:An};return E.createElement(E.Fragment,null,Fn&&Rt&&E.createElement("span",{style:ot,"aria-live":"assertive"},Ge(Rt)),E.createElement("div",null,E.createElement("input",{style:ot,disabled:gn===!1||en,tabIndex:gn!==!1?jn:null,onKeyDown:ea,onFocus:xa,onBlur:rn,value:"",onChange:gt,"aria-label":"for screen reader"})),E.createElement("div",{className:"".concat(_e,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},E.createElement("div",{className:"".concat(_e,"-indent")},E.createElement("div",{ref:Da,className:"".concat(_e,"-indent-unit")}))),E.createElement(ie.Z,(0,x.Z)({},xn,{data:sr,itemKey:Te,height:et,fullHeight:!1,virtual:Gt,itemHeight:Nt,prefixCls:"".concat(_e,"-list"),ref:wa,onVisibleChange:function(Go,Et){var pn=new Set(Go),vn=Et.filter(function(qt){return!pn.has(qt)});vn.some(function(qt){return Te(qt)===it})&&Zn()}}),function(Er){var Go=Er.pos,Et=(0,x.Z)({},(z(Er.data),Er.data)),pn=Er.title,vn=Er.key,qt=Er.isStart,Sn=Er.isEnd,mn=(0,ge.km)(vn,Go);delete Et.key,delete Et.children;var hn=(0,ge.H8)(mn,Gr);return E.createElement(Me,(0,x.Z)({},Et,hn,{title:pn,active:!!Rt&&vn===Rt.key,pos:Go,data:Er.data,isStart:qt,isEnd:Sn,motion:Ye,motionNodes:vn===it?na:null,motionType:lo,onMotionStart:ro,onMotionEnd:Zn,treeNodeRequiredProps:Gr,onMouseMove:function(){Sa(null)}}))}))});pt.displayName="NodeList";var Lt=pt,mt=te(35654),Pn=te(90782),ze=te(67841),At=10,Wt=function(ut){(0,je.Z)(_e,ut);var ft=(0,Ie.Z)(_e);function _e(){var Be;(0,xe.Z)(this,_e);for(var rt=arguments.length,dt=new Array(rt),Re=0;Re2&&arguments[2]!==void 0?arguments[2]:!1,ht=Be.state,An=ht.dragChildrenKeys,en=ht.dropPosition,zt=ht.dropTargetKey,an=ht.dropTargetPos,$t=ht.dropAllowed;if($t){var Ye=Be.props.onDrop;if(Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),zt!==null){var et=(0,Fe.Z)((0,Fe.Z)({},(0,ge.H8)(zt,Be.getTreeNodeRequiredProps())),{},{active:(($e=Be.getActiveItem())===null||$e===void 0?void 0:$e.key)===zt,data:(0,ze.Z)(Be.state.keyEntities,zt).node}),Nt=An.indexOf(zt)!==-1;(0,a.ZP)(!Nt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Gt=(0,mt.yx)(an),gn={event:we,node:(0,ge.F)(et),dragNode:Be.dragNode?(0,ge.F)(Be.dragNode.props):null,dragNodesKeys:[Be.dragNode.props.eventKey].concat(An),dropToGap:en!==0,dropPosition:en+Number(Gt[Gt.length-1])};Ze||Ye==null||Ye(gn),Be.dragNode=null}}},Be.cleanDragState=function(){var we=Be.state.draggingNodeKey;we!==null&&Be.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Be.dragStartMousePosition=null,Be.currentMouseOverDroppableNodeKey=null},Be.triggerExpandActionExpand=function(we,lt){var $e=Be.state,Ze=$e.expandedKeys,ht=$e.flattenNodes,An=lt.expanded,en=lt.key,zt=lt.isLeaf;if(!(zt||we.shiftKey||we.metaKey||we.ctrlKey)){var an=ht.filter(function(Ye){return Ye.key===en})[0],$t=(0,ge.F)((0,Fe.Z)((0,Fe.Z)({},(0,ge.H8)(en,Be.getTreeNodeRequiredProps())),{},{data:an.data}));Be.setExpandedKeys(An?(0,mt._5)(Ze,en):(0,mt.L0)(Ze,en)),Be.onNodeExpand(we,$t)}},Be.onNodeClick=function(we,lt){var $e=Be.props,Ze=$e.onClick,ht=$e.expandAction;ht==="click"&&Be.triggerExpandActionExpand(we,lt),Ze==null||Ze(we,lt)},Be.onNodeDoubleClick=function(we,lt){var $e=Be.props,Ze=$e.onDoubleClick,ht=$e.expandAction;ht==="doubleClick"&&Be.triggerExpandActionExpand(we,lt),Ze==null||Ze(we,lt)},Be.onNodeSelect=function(we,lt){var $e=Be.state.selectedKeys,Ze=Be.state,ht=Ze.keyEntities,An=Ze.fieldNames,en=Be.props,zt=en.onSelect,an=en.multiple,$t=lt.selected,Ye=lt[An.key],et=!$t;et?an?$e=(0,mt.L0)($e,Ye):$e=[Ye]:$e=(0,mt._5)($e,Ye);var Nt=$e.map(function(Gt){var gn=(0,ze.Z)(ht,Gt);return gn?gn.node:null}).filter(function(Gt){return Gt});Be.setUncontrolledState({selectedKeys:$e}),zt==null||zt($e,{event:"select",selected:et,node:lt,selectedNodes:Nt,nativeEvent:we.nativeEvent})},Be.onNodeCheck=function(we,lt,$e){var Ze=Be.state,ht=Ze.keyEntities,An=Ze.checkedKeys,en=Ze.halfCheckedKeys,zt=Be.props,an=zt.checkStrictly,$t=zt.onCheck,Ye=lt.key,et,Nt={event:"check",node:lt,checked:$e,nativeEvent:we.nativeEvent};if(an){var Gt=$e?(0,mt.L0)(An,Ye):(0,mt._5)(An,Ye),gn=(0,mt._5)(en,Ye);et={checked:Gt,halfChecked:gn},Nt.checkedNodes=Gt.map(function(rn){return(0,ze.Z)(ht,rn)}).filter(function(rn){return rn}).map(function(rn){return rn.node}),Be.setUncontrolledState({checkedKeys:Gt})}else{var Rt=(0,Pn.S)([].concat((0,be.Z)(An),[Ye]),!0,ht),Fn=Rt.checkedKeys,jn=Rt.halfCheckedKeys;if(!$e){var ea=new Set(Fn);ea.delete(Ye);var xa=(0,Pn.S)(Array.from(ea),{checked:!1,halfCheckedKeys:jn},ht);Fn=xa.checkedKeys,jn=xa.halfCheckedKeys}et=Fn,Nt.checkedNodes=[],Nt.checkedNodesPositions=[],Nt.halfCheckedKeys=jn,Fn.forEach(function(rn){var Sa=(0,ze.Z)(ht,rn);if(Sa){var ro=Sa.node,oa=Sa.pos;Nt.checkedNodes.push(ro),Nt.checkedNodesPositions.push({node:ro,pos:oa})}}),Be.setUncontrolledState({checkedKeys:Fn},!1,{halfCheckedKeys:jn})}$t==null||$t(et,Nt)},Be.onNodeLoad=function(we){var lt=we.key,$e=new Promise(function(Ze,ht){Be.setState(function(An){var en=An.loadedKeys,zt=en===void 0?[]:en,an=An.loadingKeys,$t=an===void 0?[]:an,Ye=Be.props,et=Ye.loadData,Nt=Ye.onLoad;if(!et||zt.indexOf(lt)!==-1||$t.indexOf(lt)!==-1)return null;var Gt=et(we);return Gt.then(function(){var gn=Be.state.loadedKeys,Rt=(0,mt.L0)(gn,lt);Nt==null||Nt(Rt,{event:"load",node:we}),Be.setUncontrolledState({loadedKeys:Rt}),Be.setState(function(Fn){return{loadingKeys:(0,mt._5)(Fn.loadingKeys,lt)}}),Ze()}).catch(function(gn){if(Be.setState(function(Fn){return{loadingKeys:(0,mt._5)(Fn.loadingKeys,lt)}}),Be.loadingRetryTimes[lt]=(Be.loadingRetryTimes[lt]||0)+1,Be.loadingRetryTimes[lt]>=At){var Rt=Be.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Be.setUncontrolledState({loadedKeys:(0,mt.L0)(Rt,lt)}),Ze()}ht(gn)}),{loadingKeys:(0,mt.L0)($t,lt)}})});return $e.catch(function(){}),$e},Be.onNodeMouseEnter=function(we,lt){var $e=Be.props.onMouseEnter;$e==null||$e({event:we,node:lt})},Be.onNodeMouseLeave=function(we,lt){var $e=Be.props.onMouseLeave;$e==null||$e({event:we,node:lt})},Be.onNodeContextMenu=function(we,lt){var $e=Be.props.onRightClick;$e&&(we.preventDefault(),$e({event:we,node:lt}))},Be.onFocus=function(){var we=Be.props.onFocus;Be.setState({focused:!0});for(var lt=arguments.length,$e=new Array(lt),Ze=0;Ze1&&arguments[1]!==void 0?arguments[1]:!1,$e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Be.destroyed){var Ze=!1,ht=!0,An={};Object.keys(we).forEach(function(en){if(en in Be.props){ht=!1;return}Ze=!0,An[en]=we[en]}),Ze&&(!lt||ht)&&Be.setState((0,Fe.Z)((0,Fe.Z)({},An),$e))}},Be.scrollTo=function(we){Be.listRef.current.scrollTo(we)},Be}return(0,ue.Z)(_e,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var rt=this.props.activeKey;rt!==void 0&&rt!==this.state.activeKey&&(this.setState({activeKey:rt}),rt!==null&&this.scrollTo({key:rt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var rt,dt=this.state,Re=dt.focused,we=dt.flattenNodes,lt=dt.keyEntities,$e=dt.draggingNodeKey,Ze=dt.activeKey,ht=dt.dropLevelOffset,An=dt.dropContainerKey,en=dt.dropTargetKey,zt=dt.dropPosition,an=dt.dragOverNodeKey,$t=dt.indent,Ye=this.props,et=Ye.prefixCls,Nt=Ye.className,Gt=Ye.style,gn=Ye.showLine,Rt=Ye.focusable,Fn=Ye.tabIndex,jn=Fn===void 0?0:Fn,ea=Ye.selectable,xa=Ye.showIcon,rn=Ye.icon,Sa=Ye.switcherIcon,ro=Ye.draggable,oa=Ye.checkable,xn=Ye.checkStrictly,wa=Ye.disabled,Da=Ye.motion,Ht=Ye.loadData,Dn=Ye.filterTreeNode,Wn=Ye.height,fa=Ye.itemHeight,ta=Ye.virtual,za=Ye.titleRender,Ao=Ye.dropIndicatorRender,Ar=Ye.onContextMenu,Dr=Ye.onScroll,Na=Ye.direction,xt=Ye.rootClassName,It=Ye.rootStyle,Dt=(0,oe.Z)(this.props,{aria:!0,data:!0}),In;return ro&&((0,Pe.Z)(ro)==="object"?In=ro:typeof ro=="function"?In={nodeDraggable:ro}:In={}),E.createElement(b.k.Provider,{value:{prefixCls:et,selectable:ea,showIcon:xa,icon:rn,switcherIcon:Sa,draggable:In,draggingNodeKey:$e,checkable:oa,checkStrictly:xn,disabled:wa,keyEntities:lt,dropLevelOffset:ht,dropContainerKey:An,dropTargetKey:en,dropPosition:zt,dragOverNodeKey:an,indent:$t,direction:Na,dropIndicatorRender:Ao,loadData:Ht,filterTreeNode:Dn,titleRender:za,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},E.createElement("div",{role:"tree",className:De()(et,Nt,xt,(rt={},(0,re.Z)(rt,"".concat(et,"-show-line"),gn),(0,re.Z)(rt,"".concat(et,"-focused"),Re),(0,re.Z)(rt,"".concat(et,"-active-focused"),Ze!==null),rt)),style:It},E.createElement(Lt,(0,x.Z)({ref:this.listRef,prefixCls:et,style:Gt,data:we,disabled:wa,selectable:ea,checkable:!!oa,motion:Da,dragging:$e!==null,height:Wn,itemHeight:fa,virtual:ta,focusable:Rt,focused:Re,tabIndex:jn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ar,onScroll:Dr},this.getTreeNodeRequiredProps(),Dt))))}}],[{key:"getDerivedStateFromProps",value:function(rt,dt){var Re=dt.prevProps,we={prevProps:rt};function lt(Rt){return!Re&&Rt in rt||Re&&Re[Rt]!==rt[Rt]}var $e,Ze=dt.fieldNames;if(lt("fieldNames")&&(Ze=(0,ge.w$)(rt.fieldNames),we.fieldNames=Ze),lt("treeData")?$e=rt.treeData:lt("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),$e=(0,ge.zn)(rt.children)),$e){we.treeData=$e;var ht=(0,ge.I8)($e,{fieldNames:Ze});we.keyEntities=(0,Fe.Z)((0,re.Z)({},it,Xe),ht.keyEntities)}var An=we.keyEntities||dt.keyEntities;if(lt("expandedKeys")||Re&<("autoExpandParent"))we.expandedKeys=rt.autoExpandParent||!Re&&rt.defaultExpandParent?(0,mt.r7)(rt.expandedKeys,An):rt.expandedKeys;else if(!Re&&rt.defaultExpandAll){var en=(0,Fe.Z)({},An);delete en[it],we.expandedKeys=Object.keys(en).map(function(Rt){return en[Rt].key})}else!Re&&rt.defaultExpandedKeys&&(we.expandedKeys=rt.autoExpandParent||rt.defaultExpandParent?(0,mt.r7)(rt.defaultExpandedKeys,An):rt.defaultExpandedKeys);if(we.expandedKeys||delete we.expandedKeys,$e||we.expandedKeys){var zt=(0,ge.oH)($e||dt.treeData,we.expandedKeys||dt.expandedKeys,Ze);we.flattenNodes=zt}if(rt.selectable&&(lt("selectedKeys")?we.selectedKeys=(0,mt.BT)(rt.selectedKeys,rt):!Re&&rt.defaultSelectedKeys&&(we.selectedKeys=(0,mt.BT)(rt.defaultSelectedKeys,rt))),rt.checkable){var an;if(lt("checkedKeys")?an=(0,mt.E6)(rt.checkedKeys)||{}:!Re&&rt.defaultCheckedKeys?an=(0,mt.E6)(rt.defaultCheckedKeys)||{}:$e&&(an=(0,mt.E6)(rt.checkedKeys)||{checkedKeys:dt.checkedKeys,halfCheckedKeys:dt.halfCheckedKeys}),an){var $t=an,Ye=$t.checkedKeys,et=Ye===void 0?[]:Ye,Nt=$t.halfCheckedKeys,Gt=Nt===void 0?[]:Nt;if(!rt.checkStrictly){var gn=(0,Pn.S)(et,!0,An);et=gn.checkedKeys,Gt=gn.halfCheckedKeys}we.checkedKeys=et,we.halfCheckedKeys=Gt}}return lt("loadedKeys")&&(we.loadedKeys=rt.loadedKeys),we}}]),_e}(E.Component);Wt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:y,allowDrop:function(){return!0},expandAction:!1},Wt.TreeNode=se.Z;var tn=Wt,En=tn},35654:function(at,Qe,te){"use strict";te.d(Qe,{BT:function(){return E},E6:function(){return z},L0:function(){return Ie},OM:function(){return a},_5:function(){return je},r7:function(){return ne},wA:function(){return De},yx:function(){return Ne}});var x=te(94480),re=te(76190),Pe=te(48736),Fe=te(59301),be=te(39417),xe=te(67841),ue=te(71430),Oe=null;function je(ae,le){if(!ae)return[];var ie=ae.slice(),de=ie.indexOf(le);return de>=0&&ie.splice(de,1),ie}function Ie(ae,le){var ie=(ae||[]).slice();return ie.indexOf(le)===-1&&ie.push(le),ie}function Ne(ae){return ae.split("-")}function De(ae,le){var ie=[],de=(0,xe.Z)(le,ae);function se(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ce.forEach(function(ge){var ve=ge.key,Ee=ge.children;ie.push(ve),se(Ee)})}return se(de.children),ie}function me(ae){if(ae.parent){var le=Ne(ae.pos);return Number(le[le.length-1])===ae.parent.children.length-1}return!1}function oe(ae){var le=Ne(ae.pos);return Number(le[le.length-1])===0}function a(ae,le,ie,de,se,ce,ge,ve,Ee,Je){var Me,Ue=ae.clientX,Le=ae.clientY,ke=ae.target.getBoundingClientRect(),ot=ke.top,gt=ke.height,it=(Je==="rtl"?-1:1)*(((se==null?void 0:se.x)||0)-Ue),nt=(it-12)/de,Xe=(0,xe.Z)(ve,ie.props.eventKey);if(Le-1.5?ce({dragNode:At,dropNode:Wt,dropPosition:1})?mt=1:tn=!1:ce({dragNode:At,dropNode:Wt,dropPosition:0})?mt=0:ce({dragNode:At,dropNode:Wt,dropPosition:1})?mt=1:tn=!1:ce({dragNode:At,dropNode:Wt,dropPosition:1})?mt=1:tn=!1,{dropPosition:mt,dropLevelOffset:Pn,dropTargetKey:Xe.key,dropTargetPos:Xe.pos,dragOverNodeKey:Lt,dropContainerKey:mt===0?null:((Me=Xe.parent)===null||Me===void 0?void 0:Me.key)||null,dropAllowed:tn}}function E(ae,le){if(ae){var ie=le.multiple;return ie?ae.slice():ae.length?[ae[0]]:ae}}var b=function(le){return le};function y(ae,le){if(!ae)return[];var ie=le||{},de=ie.processProps,se=de===void 0?b:de,ce=Array.isArray(ae)?ae:[ae];return ce.map(function(ge){var ve=ge.children,Ee=_objectWithoutProperties(ge,Oe),Je=y(ve,le);return React.createElement(TreeNode,_extends({key:Ee.key},se(Ee)),Je)})}function z(ae){if(!ae)return null;var le;if(Array.isArray(ae))le={checkedKeys:ae,halfCheckedKeys:void 0};else if((0,re.Z)(ae)==="object")le={checkedKeys:ae.checked||void 0,halfCheckedKeys:ae.halfChecked||void 0};else return(0,Pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return le}function ne(ae,le){var ie=new Set;function de(se){if(!ie.has(se)){var ce=(0,xe.Z)(le,se);if(ce){ie.add(se);var ge=ce.parent,ve=ce.node;ve.disabled||ge&&de(ge.key)}}}return(ae||[]).forEach(function(se){de(se)}),(0,x.Z)(ie)}},90782:function(at,Qe,te){"use strict";te.d(Qe,{S:function(){return ue}});var x=te(48736),re=te(67841);function Pe(Oe,je){var Ie=new Set;return Oe.forEach(function(Ne){je.has(Ne)||Ie.add(Ne)}),Ie}function Fe(Oe){var je=Oe||{},Ie=je.disabled,Ne=je.disableCheckbox,De=je.checkable;return!!(Ie||Ne)||De===!1}function be(Oe,je,Ie,Ne){for(var De=new Set(Oe),me=new Set,oe=0;oe<=Ie;oe+=1){var a=je.get(oe)||new Set;a.forEach(function(z){var ne=z.key,ae=z.node,le=z.children,ie=le===void 0?[]:le;De.has(ne)&&!Ne(ae)&&ie.filter(function(de){return!Ne(de.node)}).forEach(function(de){De.add(de.key)})})}for(var E=new Set,b=Ie;b>=0;b-=1){var y=je.get(b)||new Set;y.forEach(function(z){var ne=z.parent,ae=z.node;if(!(Ne(ae)||!z.parent||E.has(z.parent.key))){if(Ne(z.parent.node)){E.add(ne.key);return}var le=!0,ie=!1;(ne.children||[]).filter(function(de){return!Ne(de.node)}).forEach(function(de){var se=de.key,ce=De.has(se);le&&!ce&&(le=!1),!ie&&(ce||me.has(se))&&(ie=!0)}),le&&De.add(ne.key),ie&&me.add(ne.key),E.add(ne.key)}})}return{checkedKeys:Array.from(De),halfCheckedKeys:Array.from(Pe(me,De))}}function xe(Oe,je,Ie,Ne,De){for(var me=new Set(Oe),oe=new Set(je),a=0;a<=Ne;a+=1){var E=Ie.get(a)||new Set;E.forEach(function(ne){var ae=ne.key,le=ne.node,ie=ne.children,de=ie===void 0?[]:ie;!me.has(ae)&&!oe.has(ae)&&!De(le)&&de.filter(function(se){return!De(se.node)}).forEach(function(se){me.delete(se.key)})})}oe=new Set;for(var b=new Set,y=Ne;y>=0;y-=1){var z=Ie.get(y)||new Set;z.forEach(function(ne){var ae=ne.parent,le=ne.node;if(!(De(le)||!ne.parent||b.has(ne.parent.key))){if(De(ne.parent.node)){b.add(ae.key);return}var ie=!0,de=!1;(ae.children||[]).filter(function(se){return!De(se.node)}).forEach(function(se){var ce=se.key,ge=me.has(ce);ie&&!ge&&(ie=!1),!de&&(ge||oe.has(ce))&&(de=!0)}),ie||me.delete(ae.key),de&&oe.add(ae.key),b.add(ae.key)}})}return{checkedKeys:Array.from(me),halfCheckedKeys:Array.from(Pe(oe,me))}}function ue(Oe,je,Ie,Ne){var De=[],me;Ne?me=Ne:me=Fe;var oe=new Set(Oe.filter(function(y){var z=!!(0,re.Z)(Ie,y);return z||De.push(y),z})),a=new Map,E=0;Object.keys(Ie).forEach(function(y){var z=Ie[y],ne=z.level,ae=a.get(ne);ae||(ae=new Set,a.set(ne,ae)),ae.add(z),E=Math.max(E,ne)}),(0,x.ZP)(!De.length,"Tree missing follow keys: ".concat(De.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var b;return je===!0?b=be(oe,a,E,me):b=xe(oe,je.halfCheckedKeys,a,E,me),b}},67841:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return x}});function x(re,Pe){return re[Pe]}},71430:function(at,Qe,te){"use strict";te.d(Qe,{F:function(){return ne},H8:function(){return z},I8:function(){return y},km:function(){return De},oH:function(){return E},w$:function(){return me},zn:function(){return a}});var x=te(76190),re=te(94480),Pe=te(33885),Fe=te(75931),be=te(11592),xe=te(2738),ue=te(48736),Oe=te(67841),je=["children"];function Ie(ae,le){return"".concat(ae,"-").concat(le)}function Ne(ae){return ae&&ae.type&&ae.type.isTreeNode}function De(ae,le){return ae!=null?ae:le}function me(ae){var le=ae||{},ie=le.title,de=le._title,se=le.key,ce=le.children,ge=ie||"title";return{title:ge,_title:de||[ge],key:se||"key",children:ce||"children"}}function oe(ae,le){var ie=new Map;function de(se){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(se||[]).forEach(function(ge){var ve=ge[le.key],Ee=ge[le.children];warning(ve!=null,"Tree node must have a certain key: [".concat(ce).concat(ve,"]"));var Je=String(ve);warning(!ie.has(Je)||ve===null||ve===void 0,"Same 'key' exist in the Tree: ".concat(Je)),ie.set(Je,!0),de(Ee,"".concat(ce).concat(Je," > "))})}de(ae)}function a(ae){function le(ie){var de=(0,be.Z)(ie);return de.map(function(se){if(!Ne(se))return(0,ue.ZP)(!se,"Tree/TreeNode can only accept TreeNode as children."),null;var ce=se.key,ge=se.props,ve=ge.children,Ee=(0,Fe.Z)(ge,je),Je=(0,Pe.Z)({key:ce},Ee),Me=le(ve);return Me.length&&(Je.children=Me),Je}).filter(function(se){return se})}return le(ae)}function E(ae,le,ie){var de=me(ie),se=de._title,ce=de.key,ge=de.children,ve=new Set(le===!0?[]:le),Ee=[];function Je(Me){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Me.map(function(Le,ke){for(var ot=Ie(Ue?Ue.pos:"0",ke),gt=De(Le[ce],ot),it,nt=0;nt1&&arguments[1]!==void 0?arguments[1]:{},ie=le.initWrapper,de=le.processEntity,se=le.onProcessFinished,ce=le.externalGetKey,ge=le.childrenPropName,ve=le.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,Je=ce||Ee,Me={},Ue={},Le={posEntities:Me,keyEntities:Ue};return ie&&(Le=ie(Le)||Le),b(ae,function(ke){var ot=ke.node,gt=ke.index,it=ke.pos,nt=ke.key,Xe=ke.parentPos,St=ke.level,He=ke.nodes,Te={node:ot,nodes:He,index:gt,key:nt,pos:it,level:St},Ge=De(nt,it);Me[it]=Te,Ue[Ge]=Te,Te.parent=Me[Xe],Te.parent&&(Te.parent.children=Te.parent.children||[],Te.parent.children.push(Te)),de&&de(Te,Le)},{externalGetKey:Je,childrenPropName:ge,fieldNames:ve}),se&&se(Le),Le}function z(ae,le){var ie=le.expandedKeys,de=le.selectedKeys,se=le.loadedKeys,ce=le.loadingKeys,ge=le.checkedKeys,ve=le.halfCheckedKeys,Ee=le.dragOverNodeKey,Je=le.dropPosition,Me=le.keyEntities,Ue=(0,Oe.Z)(Me,ae),Le={eventKey:ae,expanded:ie.indexOf(ae)!==-1,selected:de.indexOf(ae)!==-1,loaded:se.indexOf(ae)!==-1,loading:ce.indexOf(ae)!==-1,checked:ge.indexOf(ae)!==-1,halfChecked:ve.indexOf(ae)!==-1,pos:String(Ue?Ue.pos:""),dragOver:Ee===ae&&Je===0,dragOverGapTop:Ee===ae&&Je===-1,dragOverGapBottom:Ee===ae&&Je===1};return Le}function ne(ae){var le=ae.data,ie=ae.expanded,de=ae.selected,se=ae.checked,ce=ae.loaded,ge=ae.loading,ve=ae.halfChecked,Ee=ae.dragOver,Je=ae.dragOverGapTop,Me=ae.dragOverGapBottom,Ue=ae.pos,Le=ae.active,ke=ae.eventKey,ot=(0,Pe.Z)((0,Pe.Z)({},le),{},{expanded:ie,selected:de,checked:se,loaded:ce,loading:ge,halfChecked:ve,dragOver:Ee,dragOverGapTop:Je,dragOverGapBottom:Me,pos:Ue,active:Le,key:ke});return"props"in ot||Object.defineProperty(ot,"props",{get:function(){return(0,ue.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ae}}),ot}},8224:function(at,Qe,te){"use strict";te.d(Qe,{Z:function(){return re}});var x=te(4676);function re(Pe,Fe,be,xe){var ue=x.unstable_batchedUpdates?function(je){x.unstable_batchedUpdates(be,je)}:be;return Pe!=null&&Pe.addEventListener&&Pe.addEventListener(Fe,ue,xe),{remove:function(){Pe!=null&&Pe.removeEventListener&&Pe.removeEventListener(Fe,ue,xe)}}}},55468:function(at,Qe,te){"use strict";te.d(Qe,{g1:function(){return Ne},os:function(){return me}});var x=/margin|padding|width|height|max|min|offset/,re={left:!0,top:!0},Pe={cssFloat:1,styleFloat:1,float:1};function Fe(oe){return oe.nodeType===1?oe.ownerDocument.defaultView.getComputedStyle(oe,null):{}}function be(oe,a,E){if(a=a.toLowerCase(),E==="auto"){if(a==="height")return oe.offsetHeight;if(a==="width")return oe.offsetWidth}return a in re||(re[a]=x.test(a)),re[a]?parseFloat(E)||0:E}function xe(oe,a){var E=arguments.length,b=Fe(oe);return a=Pe[a]?"cssFloat"in oe.style?"cssFloat":"styleFloat":a,E===1?b:be(oe,a,b[a]||oe.style[a])}function ue(oe,a,E){var b=arguments.length;if(a=Pe[a]?"cssFloat"in oe.style?"cssFloat":"styleFloat":a,b===3)return typeof E=="number"&&x.test(a)&&(E="".concat(E,"px")),oe.style[a]=E,E;for(var y in a)a.hasOwnProperty(y)&&ue(oe,y,a[y]);return Fe(oe)}function Oe(oe){return oe===document.body?document.documentElement.clientWidth:oe.offsetWidth}function je(oe){return oe===document.body?window.innerHeight||document.documentElement.clientHeight:oe.offsetHeight}function Ie(){var oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:oe,height:a}}function Ne(){var oe=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:a}}function De(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function me(oe){var a=oe.getBoundingClientRect(),E=document.documentElement;return{left:a.left+(window.pageXOffset||E.scrollLeft)-(E.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||E.scrollTop)-(E.clientTop||document.body.clientTop||0)}}},3465:function(at,Qe,te){"use strict";te.d(Qe,{G:function(){return Fe}});var x=te(47273),re=function(xe){if((0,x.Z)()&&window.document.documentElement){var ue=Array.isArray(xe)?xe:[xe],Oe=window.document.documentElement;return ue.some(function(je){return je in Oe.style})}return!1},Pe=function(xe,ue){if(!re(xe))return!1;var Oe=document.createElement("div"),je=Oe.style[xe];return Oe.style[xe]=ue,Oe.style[xe]!==je};function Fe(be,xe){return!Array.isArray(be)&&xe!==void 0?Pe(be,xe):re(be)}},51353:function(at,Qe,te){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Object.defineProperty(Qe,"DraggableCore",{enumerable:!0,get:function(){return Oe.default}}),Qe.default=void 0;var x=Ne(te(59301)),re=Ie(te(12708)),Pe=Ie(te(4676)),Fe=te(14625),be=te(77026),xe=te(22013),ue=te(80217),Oe=Ie(te(68555)),je=Ie(te(97510));function Ie(b){return b&&b.__esModule?b:{default:b}}function Ne(b,y){if(typeof WeakMap=="function")var z=new WeakMap,ne=new WeakMap;return(Ne=function(ae,le){if(!le&&ae&&ae.__esModule)return ae;var ie,de,se={__proto__:null,default:ae};if(ae===null||typeof ae!="object"&&typeof ae!="function")return se;if(ie=le?ne:z){if(ie.has(ae))return ie.get(ae);ie.set(ae,se)}for(const ce in ae)ce!=="default"&&{}.hasOwnProperty.call(ae,ce)&&((de=(ie=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ae,ce))&&(de.get||de.set)?ie(se,ce,de):se[ce]=ae[ce]);return se})(b,y)}function De(){return De=Object.assign?Object.assign.bind():function(b){for(var y=1;y{if((0,je.default)("Draggable: onDragStart: %j",ne),this.props.onStart(z,(0,xe.createDraggableData)(this,ne))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),me(this,"onDrag",(z,ne)=>{if(!this.state.dragging)return!1;(0,je.default)("Draggable: onDrag: %j",ne);const ae=(0,xe.createDraggableData)(this,ne),le={x:ae.x,y:ae.y,slackX:0,slackY:0};if(this.props.bounds){const{x:de,y:se}=le;le.x+=this.state.slackX,le.y+=this.state.slackY;const[ce,ge]=(0,xe.getBoundPosition)(this,le.x,le.y);le.x=ce,le.y=ge,le.slackX=this.state.slackX+(de-le.x),le.slackY=this.state.slackY+(se-le.y),ae.x=le.x,ae.y=le.y,ae.deltaX=le.x-this.state.x,ae.deltaY=le.y-this.state.y}if(this.props.onDrag(z,ae)===!1)return!1;this.setState(le)}),me(this,"onDragStop",(z,ne)=>{if(!this.state.dragging||this.props.onStop(z,(0,xe.createDraggableData)(this,ne))===!1)return!1;(0,je.default)("Draggable: onDragStop: %j",ne);const le={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:de,y:se}=this.props.position;le.x=de,le.y=se}this.setState(le)}),this.state={dragging:!1,dragged:!1,x:y.position?y.position.x:y.defaultPosition.x,y:y.position?y.position.y:y.defaultPosition.y,prevPropsPosition:Tu({},y.position),slackX:0,slackY:0,isElementSVG:!1},y.position&&!(y.onDrag||y.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var y,z,ne;return(ne=(z=(y=this.props)==null?void 0:y.nodeRef)==null?void 0:z.current)!=null?ne:Pe.default.findDOMNode(this)}render(){const gt=this.props,{axis:y,bounds:z,children:ne,defaultPosition:ae,defaultClassName:le,defaultClassNameDragging:ie,defaultClassNameDragged:de,position:se,positionOffset:ce,scale:ge}=gt,ve=Ac(gt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ee={},Je=null;const Ue=!!!se||this.state.dragging,Le=se||ae,ke={x:(0,xe.canDragX)(this)&&Ue?this.state.x:Le.x,y:(0,xe.canDragY)(this)&&Ue?this.state.y:Le.y};this.state.isElementSVG?Je=(0,be.createSVGTransform)(ke,ce):Ee=(0,be.createCSSTransform)(ke,ce);const ot=(0,Fe.clsx)(ne.props.className||"",le,{[ie]:this.state.dragging,[de]:this.state.dragged});return x.createElement(Oe.default,De({},ve,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),x.cloneElement(x.Children.only(ne),{className:ot,style:Tu(Tu({},ne.props.style),Ee),transform:Je}))}}Qe.default=E,me(E,"displayName","Draggable"),me(E,"propTypes",Ec(Tu({},Oe.default.propTypes),{axis:re.default.oneOf(["both","x","y","none"]),bounds:re.default.oneOfType([re.default.shape({left:re.default.number,right:re.default.number,top:re.default.number,bottom:re.default.number}),re.default.string,re.default.oneOf([!1])]),defaultClassName:re.default.string,defaultClassNameDragging:re.default.string,defaultClassNameDragged:re.default.string,defaultPosition:re.default.shape({x:re.default.number,y:re.default.number}),positionOffset:re.default.shape({x:re.default.oneOfType([re.default.number,re.default.string]),y:re.default.oneOfType([re.default.number,re.default.string])}),position:re.default.shape({x:re.default.number,y:re.default.number}),className:ue.dontSetMe,style:ue.dontSetMe,transform:ue.dontSetMe})),me(E,"defaultProps",Ec(Tu({},Oe.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(at,Qe,te){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.default=void 0;var x=je(te(59301)),re=Oe(te(12708)),Pe=Oe(te(4676)),Fe=te(77026),be=te(22013),xe=te(80217),ue=Oe(te(97510));function Oe(E){return E&&E.__esModule?E:{default:E}}function je(E,b){if(typeof WeakMap=="function")var y=new WeakMap,z=new WeakMap;return(je=function(ne,ae){if(!ae&&ne&&ne.__esModule)return ne;var le,ie,de={__proto__:null,default:ne};if(ne===null||typeof ne!="object"&&typeof ne!="function")return de;if(le=ae?z:y){if(le.has(ne))return le.get(ne);le.set(ne,de)}for(const se in ne)se!=="default"&&{}.hasOwnProperty.call(ne,se)&&((ie=(le=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ne,se))&&(ie.get||ie.set)?le(de,se,ie):de[se]=ne[se]);return de})(E,b)}function Ie(E,b,y){return(b=Ne(b))in E?Object.defineProperty(E,b,{value:y,enumerable:!0,configurable:!0,writable:!0}):E[b]=y,E}function Ne(E){var b=De(E,"string");return typeof b=="symbol"?b:b+""}function De(E,b){if(typeof E!="object"||!E)return E;var y=E[Symbol.toPrimitive];if(y!==void 0){var z=y.call(E,b||"default");if(typeof z!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(E)}const me={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let oe=me.mouse;class a extends x.Component{constructor(){super(...arguments),Ie(this,"dragging",!1),Ie(this,"lastX",NaN),Ie(this,"lastY",NaN),Ie(this,"touchIdentifier",null),Ie(this,"mounted",!1),Ie(this,"handleDragStart",b=>{if(this.props.onMouseDown(b),!this.props.allowAnyClick&&typeof b.button=="number"&&b.button!==0)return!1;const y=this.findDOMNode();if(!y||!y.ownerDocument||!y.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:z}=y;if(this.props.disabled||!(b.target instanceof z.defaultView.Node)||this.props.handle&&!(0,Fe.matchesSelectorAndParentsTo)(b.target,this.props.handle,y)||this.props.cancel&&(0,Fe.matchesSelectorAndParentsTo)(b.target,this.props.cancel,y))return;b.type==="touchstart"&&!this.props.allowMobileScroll&&b.preventDefault();const ne=(0,Fe.getTouchIdentifier)(b);this.touchIdentifier=ne;const ae=(0,be.getControlPosition)(b,ne,this);if(ae==null)return;const{x:le,y:ie}=ae,de=(0,be.createCoreData)(this,le,ie);(0,ue.default)("DraggableCore: handleDragStart: %j",de),(0,ue.default)("calling",this.props.onStart),!(this.props.onStart(b,de)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Fe.addUserSelectStyles)(z),this.dragging=!0,this.lastX=le,this.lastY=ie,(0,Fe.addEvent)(z,oe.move,this.handleDrag),(0,Fe.addEvent)(z,oe.stop,this.handleDragStop))}),Ie(this,"handleDrag",b=>{const y=(0,be.getControlPosition)(b,this.touchIdentifier,this);if(y==null)return;let{x:z,y:ne}=y;if(Array.isArray(this.props.grid)){let ie=z-this.lastX,de=ne-this.lastY;if([ie,de]=(0,be.snapToGrid)(this.props.grid,ie,de),!ie&&!de)return;z=this.lastX+ie,ne=this.lastY+de}const ae=(0,be.createCoreData)(this,z,ne);if((0,ue.default)("DraggableCore: handleDrag: %j",ae),this.props.onDrag(b,ae)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(ie){const de=document.createEvent("MouseEvents");de.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(de)}return}this.lastX=z,this.lastY=ne}),Ie(this,"handleDragStop",b=>{if(!this.dragging)return;const y=(0,be.getControlPosition)(b,this.touchIdentifier,this);if(y==null)return;let{x:z,y:ne}=y;if(Array.isArray(this.props.grid)){let de=z-this.lastX||0,se=ne-this.lastY||0;[de,se]=(0,be.snapToGrid)(this.props.grid,de,se),z=this.lastX+de,ne=this.lastY+se}const ae=(0,be.createCoreData)(this,z,ne);if(this.props.onStop(b,ae)===!1||this.mounted===!1)return!1;const ie=this.findDOMNode();ie&&this.props.enableUserSelectHack&&(0,Fe.scheduleRemoveUserSelectStyles)(ie.ownerDocument),(0,ue.default)("DraggableCore: handleDragStop: %j",ae),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,ie&&((0,ue.default)("DraggableCore: Removing handlers"),(0,Fe.removeEvent)(ie.ownerDocument,oe.move,this.handleDrag),(0,Fe.removeEvent)(ie.ownerDocument,oe.stop,this.handleDragStop))}),Ie(this,"onMouseDown",b=>(oe=me.mouse,this.handleDragStart(b))),Ie(this,"onMouseUp",b=>(oe=me.mouse,this.handleDragStop(b))),Ie(this,"onTouchStart",b=>(oe=me.touch,this.handleDragStart(b))),Ie(this,"onTouchEnd",b=>(oe=me.touch,this.handleDragStop(b)))}componentDidMount(){this.mounted=!0;const b=this.findDOMNode();b&&(0,Fe.addEvent)(b,me.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const b=this.findDOMNode();if(b){const{ownerDocument:y}=b;(0,Fe.removeEvent)(y,me.mouse.move,this.handleDrag),(0,Fe.removeEvent)(y,me.touch.move,this.handleDrag),(0,Fe.removeEvent)(y,me.mouse.stop,this.handleDragStop),(0,Fe.removeEvent)(y,me.touch.stop,this.handleDragStop),(0,Fe.removeEvent)(b,me.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Fe.scheduleRemoveUserSelectStyles)(y)}}findDOMNode(){var b,y,z;return(b=this.props)!=null&&b.nodeRef?(z=(y=this.props)==null?void 0:y.nodeRef)==null?void 0:z.current:Pe.default.findDOMNode(this)}render(){return x.cloneElement(x.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Qe.default=a,Ie(a,"displayName","DraggableCore"),Ie(a,"propTypes",{allowAnyClick:re.default.bool,allowMobileScroll:re.default.bool,children:re.default.node.isRequired,disabled:re.default.bool,enableUserSelectHack:re.default.bool,offsetParent:function(E,b){if(E[b]&&E[b].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:re.default.arrayOf(re.default.number),handle:re.default.string,cancel:re.default.string,nodeRef:re.default.object,onStart:re.default.func,onDrag:re.default.func,onStop:re.default.func,onMouseDown:re.default.func,scale:re.default.number,className:xe.dontSetMe,style:xe.dontSetMe,transform:xe.dontSetMe}),Ie(a,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(at,Qe,te){"use strict";const{default:x,DraggableCore:re}=te(51353);at.exports=x,at.exports.default=x,at.exports.DraggableCore=re},77026:function(at,Qe,te){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.addClassName=le,Qe.addEvent=ue,Qe.addUserSelectStyles=z,Qe.createCSSTransform=oe,Qe.createSVGTransform=a,Qe.getTouch=b,Qe.getTouchIdentifier=y,Qe.getTranslation=E,Qe.innerHeight=Ne,Qe.innerWidth=De,Qe.matchesSelector=be,Qe.matchesSelectorAndParentsTo=xe,Qe.offsetXYFromParent=me,Qe.outerHeight=je,Qe.outerWidth=Ie,Qe.removeClassName=ie,Qe.removeEvent=Oe,Qe.scheduleRemoveUserSelectStyles=ne;var x=te(80217),re=Pe(te(76172));function Pe(de,se){if(typeof WeakMap=="function")var ce=new WeakMap,ge=new WeakMap;return(Pe=function(ve,Ee){if(!Ee&&ve&&ve.__esModule)return ve;var Je,Me,Ue={__proto__:null,default:ve};if(ve===null||typeof ve!="object"&&typeof ve!="function")return Ue;if(Je=Ee?ge:ce){if(Je.has(ve))return Je.get(ve);Je.set(ve,Ue)}for(const Le in ve)Le!=="default"&&{}.hasOwnProperty.call(ve,Le)&&((Me=(Je=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ve,Le))&&(Me.get||Me.set)?Je(Ue,Le,Me):Ue[Le]=ve[Le]);return Ue})(de,se)}let Fe="";function be(de,se){return Fe||(Fe=(0,x.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(ce){return(0,x.isFunction)(de[ce])})),(0,x.isFunction)(de[Fe])?de[Fe](se):!1}function xe(de,se,ce){let ge=de;do{if(be(ge,se))return!0;if(ge===ce)return!1;ge=ge.parentNode}while(ge);return!1}function ue(de,se,ce,ge){if(!de)return;const ve=Tu({capture:!0},ge);de.addEventListener?de.addEventListener(se,ce,ve):de.attachEvent?de.attachEvent("on"+se,ce):de["on"+se]=ce}function Oe(de,se,ce,ge){if(!de)return;const ve=Tu({capture:!0},ge);de.removeEventListener?de.removeEventListener(se,ce,ve):de.detachEvent?de.detachEvent("on"+se,ce):de["on"+se]=null}function je(de){let se=de.clientHeight;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se+=(0,x.int)(ce.borderTopWidth),se+=(0,x.int)(ce.borderBottomWidth),se}function Ie(de){let se=de.clientWidth;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se+=(0,x.int)(ce.borderLeftWidth),se+=(0,x.int)(ce.borderRightWidth),se}function Ne(de){let se=de.clientHeight;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se-=(0,x.int)(ce.paddingTop),se-=(0,x.int)(ce.paddingBottom),se}function De(de){let se=de.clientWidth;const ce=de.ownerDocument.defaultView.getComputedStyle(de);return se-=(0,x.int)(ce.paddingLeft),se-=(0,x.int)(ce.paddingRight),se}function me(de,se,ce){const ve=se===se.ownerDocument.body?{left:0,top:0}:se.getBoundingClientRect(),Ee=(de.clientX+se.scrollLeft-ve.left)/ce,Je=(de.clientY+se.scrollTop-ve.top)/ce;return{x:Ee,y:Je}}function oe(de,se){const ce=E(de,se,"px");return{[(0,re.browserPrefixToKey)("transform",re.default)]:ce}}function a(de,se){return E(de,se,"")}function E(de,se,ce){let{x:ge,y:ve}=de,Ee=`translate(${ge}${ce},${ve}${ce})`;if(se){const Je=`${typeof se.x=="string"?se.x:se.x+ce}`,Me=`${typeof se.y=="string"?se.y:se.y+ce}`;Ee=`translate(${Je}, ${Me})`+Ee}return Ee}function b(de,se){return de.targetTouches&&(0,x.findInArray)(de.targetTouches,ce=>se===ce.identifier)||de.changedTouches&&(0,x.findInArray)(de.changedTouches,ce=>se===ce.identifier)}function y(de){if(de.targetTouches&&de.targetTouches[0])return de.targetTouches[0].identifier;if(de.changedTouches&&de.changedTouches[0])return de.changedTouches[0].identifier}function z(de){if(!de)return;let se=de.getElementById("react-draggable-style-el");se||(se=de.createElement("style"),se.type="text/css",se.id="react-draggable-style-el",se.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} -`,se.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,de.getElementsByTagName("head")[0].appendChild(se)),de.body&&le(de.body,"react-draggable-transparent-selection")}function ne(de){window.requestAnimationFrame?window.requestAnimationFrame(()=>{ae(de)}):ae(de)}function ae(de){if(de)try{if(de.body&&ie(de.body,"react-draggable-transparent-selection"),de.selection)de.selection.empty();else{const se=(de.defaultView||window).getSelection();se&&se.type!=="Caret"&&se.removeAllRanges()}}catch(se){}}function le(de,se){de.classList?de.classList.add(se):de.className.match(new RegExp(`(?:^|\\s)${se}(?!\\S)`))||(de.className+=` ${se}`)}function ie(de,se){de.classList?de.classList.remove(se):de.className=de.className.replace(new RegExp(`(?:^|\\s)${se}(?!\\S)`,"g"),"")}},76172:function(at,Qe){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.browserPrefixToKey=re,Qe.browserPrefixToStyle=Pe,Qe.default=void 0,Qe.getPrefix=x;const te=["Moz","Webkit","O","ms"];function x(){var Oe,je;let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ue=(je=(Oe=window.document)==null?void 0:Oe.documentElement)==null?void 0:je.style;if(!ue||xe in ue)return"";for(let Ie=0;Ie: Unmounted during event!");return me}},80217:function(at,Qe){"use strict";Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.dontSetMe=Fe,Qe.findInArray=te,Qe.int=Pe,Qe.isFunction=x,Qe.isNum=re;function te(be,xe){for(let ue=0,Oe=be.length;ue=0||Object.prototype.hasOwnProperty.call(De,a)&&(oe[a]=De[a]);return oe}function Oe(De,me){if(!(De instanceof me))throw new TypeError("Cannot call a class as a function")}function je(De,me){if(!De)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:De}function Ie(De,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);De.prototype=Object.create(me&&me.prototype,{constructor:{value:De,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(De,me):De.__proto__=me)}var Ne=function(De){Ie(me,De);function me(oe){Oe(this,me);var a=je(this,(me.__proto__||Object.getPrototypeOf(me)).call(this,oe));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return x(me,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,E={get passive(){a=!0}};try{document.addEventListener("test",null,E),document.removeEventListener("test",null,E)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var E=this.props.getScrollParent&&this.props.getScrollParent();return E!=null?E:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var E=window;this.props.useWindow===!1&&(E=a),E.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),E.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),E.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,E=window,b=this.getParentElement(a),y=void 0;if(this.props.useWindow){var z=document.documentElement||document.body.parentNode||document.body,ne=E.pageYOffset!==void 0?E.pageYOffset:z.scrollTop;this.props.isReverse?y=ne:y=this.calculateOffset(a,ne)}else this.props.isReverse?y=b.scrollTop:y=a.scrollHeight-b.scrollTop-b.clientHeight;y=0)&&(E[y]=oe[y]);return E}function Ie(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function Ne(oe,a){oe.prototype=Object.create(a.prototype),oe.prototype.constructor=oe,oe.__proto__=a}function De(oe,a,E){return a in oe?Object.defineProperty(oe,a,{value:E,enumerable:!0,configurable:!0,writable:!0}):oe[a]=E,oe}var me=function(oe){Ne(a,oe);function a(){for(var b,y=arguments.length,z=new Array(y),ne=0;ne=0)&&(z[ae]=b[ae]);return z}function me(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function oe(b,y){b.prototype=Object.create(y.prototype),b.prototype.constructor=b,b.__proto__=y}function a(b,y,z){return y in b?Object.defineProperty(b,y,{value:z,enumerable:!0,configurable:!0,writable:!0}):b[y]=z,b}var E=function(b){oe(y,b);function y(){for(var ne,ae=arguments.length,le=new Array(ae),ie=0;ieat in vt?Ks(vt,at,{enumerable:!0,configurable:!0,writable:!0,value:fe}):vt[at]=fe,Go=(vt,at)=>{for(var fe in at||(at={}))rs.call(at,fe)&&ns(vt,fe,at[fe]);if(yi)for(var fe of yi(at))as.call(at,fe)&&ns(vt,fe,at[fe]);return vt},Ii=(vt,at)=>Vs(vt,Qs(at));var os=(vt,at)=>{var fe={};for(var ae in vt)rs.call(vt,ae)&&at.indexOf(ae)<0&&(fe[ae]=vt[ae]);if(vt!=null&&yi)for(var ae of yi(vt))at.indexOf(ae)<0&&as.call(vt,ae)&&(fe[ae]=vt[ae]);return fe};(self.webpackChunk=self.webpackChunk||[]).push([[1783,6270],{89489:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},59477:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},26227:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},49198:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},41464:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},87169:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},52671:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},8657:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},56082:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},33853:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},15075:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},43531:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},38819:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ye=E,he=fe(7657),le=function(ue,ie){return Ae.createElement(he.Z,(0,ae.Z)({},ue,{ref:ie,icon:ye}))},ne=Ae.forwardRef(le),se=ne},96408:function(vt,at){"use strict";at.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},5006:function(vt,at){"use strict";at.Z={flex_box_center:"flex_box_center___iyIe6",flex_space_between:"flex_space_between___g2WjG",flex_box_vertical_center:"flex_box_vertical_center___Tde0v",flex_box_center_end:"flex_box_center_end___W1D5W",flex_box_column:"flex_box_column___ZiFvs",bg:"bg___T2R2s",containerTitle:"containerTitle___yARn_",containerDesc:"containerDesc___fKSYF",menus:"menus___e8wtg",listItem:"listItem___s7xhg",info:"info___Hx2bW",title:"title___W7a1R",titleLeft:"titleLeft___C5r0w",titleRight:"titleRight___g5GZv",acitons:"acitons___H0RU0",move:"move___qYkSy",hideHeadCheckbox:"hideHeadCheckbox___Hq5gw",moveCategory:"moveCategory___bZSGQ",tabSearch:"tabSearch___NaKI4",warpModal:"warpModal___HLUgh",modalColumn:"modalColumn___F7R5w",modalRow:"modalRow___L6ghw",sup:"sup___VGKXV",name:"name___QMvgh"}},25492:function(vt,at){"use strict";at.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},96601:function(vt,at){"use strict";at.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},829:function(){"use strict"},96435:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(de,ue,ie)=>ue in de?Ae(de,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[ue]=ie,ne=(de,ue)=>{for(var ie in ue||(ue={}))ye.call(ue,ie)&&le(de,ie,ue[ie]);if(E)for(var ie of E(ue))he.call(ue,ie)&&le(de,ie,ue[ie]);return de};const se=de=>React.createElement("svg",ne({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},de),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));at.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},70414:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(de,ue,ie)=>ue in de?Ae(de,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[ue]=ie,ne=(de,ue)=>{for(var ie in ue||(ue={}))ye.call(ue,ie)&&le(de,ie,ue[ie]);if(E)for(var ie of E(ue))he.call(ue,ie)&&le(de,ie,ue[ie]);return de};const se=de=>React.createElement("svg",ne({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},de),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));at.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},64303:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(de,ue,ie)=>ue in de?Ae(de,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[ue]=ie,ne=(de,ue)=>{for(var ie in ue||(ue={}))ye.call(ue,ie)&&le(de,ie,ue[ie]);if(E)for(var ie of E(ue))he.call(ue,ie)&&le(de,ie,ue[ie]);return de};const se=de=>React.createElement("svg",ne({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},de),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));at.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},81747:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(de,ue,ie)=>ue in de?Ae(de,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[ue]=ie,ne=(de,ue)=>{for(var ie in ue||(ue={}))ye.call(ue,ie)&&le(de,ie,ue[ie]);if(E)for(var ie of E(ue))he.call(ue,ie)&&le(de,ie,ue[ie]);return de};const se=de=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},de),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));at.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},51976:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(de,ue,ie)=>ue in de?Ae(de,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[ue]=ie,ne=(de,ue)=>{for(var ie in ue||(ue={}))ye.call(ue,ie)&&le(de,ie,ue[ie]);if(E)for(var ie of E(ue))he.call(ue,ie)&&le(de,ie,ue[ie]);return de};const se=de=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},de),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));at.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},25863:function(){"use strict";function vt(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(vt.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(vt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(vt.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(vt.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof vt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var at=[];function fe(z,a){var y=at.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function ae(){var z=at.pop();return z===void 0?new go.Point:z}function Ae(z){at.push(z)}function E(z,a,y,x,b,ee,te,ce,me){me||(me=new go.Point);var ve=z-y,ge=b-te,pe=NaN,Se=NaN;if(ve===0)if(ge===0)z===y&&(pe=z,Se=a);else{var be=(ee-ce)/ge,Ee=ee-be*b;pe=z,Se=be*pe+Ee}else if(ge===0){var Ce=(a-x)/ve,De=a-Ce*z;pe=b,Se=Ce*pe+De}else{var Ce=(a-x)/ve,be=(ee-ce)/ge,De=a-Ce*z,Ee=ee-be*b;pe=(Ee-De)/(Ce-be),Se=Ce*pe+De}return me.x=pe,me.y=Se,me}function ye(z,a,y,x,b,ee,te,ce,me,ve,ge,pe,Se,be){var Ee=1-me,Ce=me,De=z*Ee+y*Ce,we=a*Ee+x*Ce,Fe=y*Ee+b*Ce,Pe=x*Ee+ee*Ce,Le=b*Ee+te*Ce,Oe=ee*Ee+ce*Ce,We=De*Ee+Fe*Ce,Te=we*Ee+Pe*Ce,Ue=Fe*Ee+Le*Ce,He=Pe*Ee+Oe*Ce,Qe=We*Ee+Ue*Ce,Ge=Te*Ee+He*Ce;ve.x=De,ve.y=we,ge.x=We,ge.y=Te,pe.x=Qe,pe.y=Ge,Se.x=Ue,Se.y=He,be.x=Le,be.y=Oe}var he=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ne=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new vt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(z,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(z,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=he,b.spot2=le,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ne*a,0,a,(1-ne)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ne*y,(1-ne)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ne*y,ne*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ne)*a,0,0,(1-ne)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new vt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),ee.spot1=he,ee.spot2=le,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new vt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new vt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var te=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,ee,te,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=ne/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,te=y/2,ce=Math.atan2(y,a),me=x-Math.min(Math.cos(ce)*x/2,ee),ve=x-Math.min(Math.sin(ce)*x/2,te),b=new go.Geometry,ge=new go.PathFigure(me,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a-me,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,ve)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,a,y-ve)),ge.add(new go.PathSegment(go.PathSegment.Line,a-me,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),ge.add(new go.PathSegment(go.PathSegment.Line,me,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y-ve)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ve).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new vt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new vt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ne*a,0,a,(.5-ne/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ne/2)*y,ne*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,te=.3,ce=0,me=ee*ne;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ce)*y,(.5-ee+te)*a,(.5+me+ce)*y,(.5-me+te)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ce)*y,(.5+me+te)*a,(.5+ee+ce)*y,(.5+ee+te)*a,(.5+me+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ce)*y,(1-.5+ee+te)*a,(.5-me+ce)*y,(.5+me+te)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-me+te)*a,(.5-ee+ce)*y,(.5-ee+te+.05)*a,(.5-me+ce-.02)*y)),ee=.2,te=0,ce=-.3,me=ee*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ce)*y,(.5+me+te)*a,(.5+ee+ce)*y,(.5+ee+te)*a,(.5+me+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ce)*y,(1-.5+ee+te)*a,(.5-me+ce)*y,(.5+me+te)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ce)*y,(.5-me+te)*a,(.5-ee+ce)*y,(.5-ee+te)*a,(.5-me+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+te)*a,(.5+ee+ce)*y,(.5-ee+te)*a,(.5+me+ce)*y,(.5-me+te)*a,(.5+ee+ce)*y)),ee=.2,te=-.3,ce=0,me=ee*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ce)*y,(1-.5+ee+te-.05)*a,(.5-me+ce-.02)*y,(.5+me+te)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ce)*y,(.5-me+te)*a,(.5-ee+ce)*y,(.5-ee+te)*a,(.5-me+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ce)*y,(.5-ee+te)*a,(.5+me+ce)*y,(.5-me+te)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+me+te)*a,(.5+ee+ce)*y,(.5+ee+te)*a,(.5+me+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,te=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ce,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((te+ee)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ce,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=.5,ce=.5,me=new go.PathFigure(te*a,(ce-ee)*y);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ee=.4,b=ne*.4;var ve=ae(),ge=ae(),pe=ae(),Se=ae();ye(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.42,ve,ge,pe,Se,Se);var be=ae(),Ee=ae(),Ce=ae();ye(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.58,Se,Se,Ce,be,Ee);var De=ae(),we=ae(),Fe=ae();ye(te,ce+ee,te-b,ce+ee,te-ee,ce+b,te-ee,ce,.42,De,we,Fe,Se,Se);var Pe=ae(),Le=ae(),Oe=ae();return ye(te,ce+ee,te-b,ce+ee,te-ee,ce+b,te-ee,ce,.58,Se,Se,Oe,Pe,Le),me.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,Pe.x*a,Pe.y*y,Le.x*a,Le.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,Fe.x*a,Fe.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,be.x*a,be.y*y,Ee.x*a,Ee.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Fe.x*a,Fe.y*y,De.x*a,De.y*y,we.x*a,we.y*y).close()),Ae(ve),Ae(ge),Ae(pe),Ae(Se),Ae(be),Ae(Ee),Ae(Ce),Ae(De),Ae(we),Ae(Fe),Ae(Pe),Ae(Le),Ae(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(z,a,y){var x=new go.Geometry,b=ne*.4,ee=.4,te=.5,ce=.5,me=ae(),ve=ae(),ge=ae(),pe=ae(),Se=new go.PathFigure((te-ee)*a,ce*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),ye(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.44,ge,pe,ve,me,me),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y));var be=fe(ve.x,ve.y);ye(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.56,me,me,ve,ge,pe);var Ee=fe(ve.x,ve.y);Se.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*a,be.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,be.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),ee=.35,b=ne*.35;var Ce=new go.PathFigure(te*a,(ce-ee)*y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y));var De=new go.PathFigure((te-ee)*a,ce*y,!1);return x.add(De),Ae(me),Ae(ve),Ae(ge),Ae(pe),Ae(be),Ae(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,ee=0,te=-.125,ce=b*ne,me=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ce+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ce+te)*y,(.5+ce+ee)*a,(.5-b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ce+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ce+te)*y,(.5-ce+ee)*a,(.5+b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,te=-.125,ce=b*ne;var me=new go.PathFigure((1-.5+b+ee)*a,(.5+te)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ce+te)*y,(.5+ce+ee)*a,(.5+b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ce+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ce+te)*y,(.5-ce+ee)*a,(.5-b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ce+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ce+te)*y));var me=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);return x.add(me),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(z,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new vt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new vt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,te=(.5-b/2)*y,ce=(.5+b/2)*y,me=new go.Geometry,ve=new go.PathFigure(0,te,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),me.spot1=new go.Spot(0,te/y);var ge=E(0,ce/y,1,ce/y,ee/a,1,1,.5,ae());return me.spot2=new go.Spot(ge.x,ge.y),Ae(ge),me}),go.Shape.setFigureParameter("Arrow2",0,new vt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new vt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,te=(y-b)/2,ce=te+b,me=new go.Geometry,ve=new go.PathFigure(0,te,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),me.spot1=new go.Spot(0,te/y);var ge=E(0,ce/y,1,ce/y,ee/a,1,1,.5,ae());return me.spot2=new go.Spot(ge.x,ge.y),Ae(ge),me}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new vt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var me=E(0,.5,.3,0,0,b/y,.1,b/y,ae());return te.spot1=new go.Spot(me.x,me.y),me=E(.7,1,1,.5,0,ee/y,1,ee/y,me),te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new vt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new vt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,ce=(y-b)/2,me=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ce=0,me=y):(ee=0,te=y,ce=0,me=y));var ve=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);ve.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,ee/y,1,ee/y,ae());return ve.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,me/y,1,.5,0,te/y,1,te/y,pe),ve.spot2=new go.Spot(pe.x,pe.y),Ae(pe),ve}),go.Shape.setFigureParameter("IBeamArrow",0,new vt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var me=E(.7,1,1,.5,0,ee/y,1,ee/y,ae());return te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new vt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new vt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,ce=(y-b)/2,me=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ce=0,me=y):(ee=0,te=y,ce=0,me=y));var ve=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);ve.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,0,me)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),ve.spot1=new go.Spot(0,ee/y);var pe=E(.7,me/y,1,.5,0,te/y,1,te/y,ae());return ve.spot2=new go.Spot(pe.x,pe.y),Ae(pe),ve}),go.Shape.setFigureParameter("Pointer",0,new vt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(te.x,te.y),Ae(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new vt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(te.x,te.y),Ae(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new vt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var me=E(.7,1,1,.5,0,ee/y,1,ee/y,ae());return te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new vt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var me=E(.7,1,1,.5,0,ee/y,1,ee/y,ae());return te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("SquareArrow",0,new vt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ne*x,(.5+ee)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ne*x,(.5+ee)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ne*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ne*x,(.5+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ne*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ne*x,(.5-ee)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ne*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ne*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ne*x,0,2*x,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ne*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ne*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ne*x,0,a-2*x,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ne*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,b=.2,ee=.1,te=ne*b,ce=ne*ee,me=.5,ve=.1,ge=new go.PathFigure(me*a,(ve+ee)*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me-b)*a,ve*y,(me-te)*a,(ve+ee)*y,(me-b)*a,(ve+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-ee)*y,(me-b)*a,(ve-ce)*y,(me-te)*a,(ve-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me+b)*a,ve*y,(me+te)*a,(ve-ee)*y,(me+b)*a,(ve-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+ee)*y,(me+b)*a,(ve+ce)*y,(me+te)*a,(ve+ee)*y));var pe=.05,Se=ne*pe;me=.05,ve=.25;var be=new go.PathFigure(.5*a,.2*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),me=.95,ve=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(me+pe)*a,ve*y,(me+Se)*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,Se=ne*pe,me=.825,ve=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y,(me+Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ve*y,(me-Se)*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,Se=ne*pe,me=.5,ve=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y,(me+Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ve*y,(me-Se)*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,Se=ne*pe,me=.175,ve=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y,(me+Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ve*y,(me-Se)*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,Se=ne*pe,me=.05,ve=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y,(me-Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new vt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=ne*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=ne*.5,ce=.5,me=new go.PathFigure(a,ce*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+te)*y,(ce+te)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-te)*a,y,0,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-te)*y,(ce-te)*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+te)*a,0,a,(ce-te)*y));var ve=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ve.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ce=new go.PathFigure(a,ee*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var me=new go.PathFigure(.8*a,.75*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,a,y){var x=new go.Geometry,b=ne*.1,ee=.1,te=.9,ce=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ve=new go.PathFigure((te+ee)*a,ce*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.4,te=ne*.1,ce=.1,me=.9,ve=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var pe=new go.PathFigure((me+ce)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+ce)*y,(me+ce)*a,(ve+te)*y,(me+te)*a,(ve+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce)*a,ve*y,(me-te)*a,(ve+ce)*y,(me-ce)*a,(ve+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-ce)*y,(me-ce)*a,(ve-te)*y,(me-te)*a,(ve-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce)*a,ve*y,(me+te)*a,(ve-ce)*y,(me+ce)*a,(ve-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=0,ce=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=ne*.1,te=.9,ce=.5;var ve=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=0,ce=.5,me=new go.PathFigure(0,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee+ee)*a,(ce-b)*y,.8*a,(ce-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+ee)*y,(te+ee+ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=.2,ce=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=ne*.1,te=.9,ce=.5;var ge=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=.2,ce=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ve=new go.PathFigure(.2*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee)*a,(ce-b)*y,.9*a,(ce-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,a,y){var x=new go.Geometry,b=ne*.1,ee=.1,te=.1,ce=.5,me=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.3,me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.5,me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.9,me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+ee)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=.5,ce=.5,me=new go.PathFigure((te-ee)*a,ce*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,ce*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,ce*y,te*a,(ce-ee)*y,te*a,(ce+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var te=ne*.8,ce=.8,me=0,ve=.5,ge=(b-a)/2,pe=(ee-y)/2,Se=new go.PathFigure(me*a+ge,(ve+ce)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce)*a+ge,ve*y+pe,(me-te)*a+ge,(ve+ce)*y+pe,(me-ce)*a+ge,(ve+te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ce)*y+pe,(me-ce)*a+ge,(ve-te)*y+pe,(me-te)*a+ge,(ve-ce)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce+te*.5)*a+ge,ve*y+pe,me*a+ge,(ve-ce)*y+pe,(me-ce+te*.5)*a+ge,(ve-te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ce)*y+pe,(me-ce+te*.5)*a+ge,(ve+te)*y+pe,me*a+ge,(ve+ce)*y+pe).close()),te=ne*.4,ce=.4,me=.2,ve=.5;var be=new go.PathFigure(me*a+ge,(ve+ce)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce)*a+ge,ve*y+pe,(me-te)*a+ge,(ve+ce)*y+pe,(me-ce)*a+ge,(ve+te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ce)*y+pe,(me-ce)*a+ge,(ve-te)*y+pe,(me-te)*a+ge,(ve-ce)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce+te*.5)*a+ge,ve*y+pe,me*a+ge,(ve-ce)*y+pe,(me-ce+te*.5)*a+ge,(ve-te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ce)*y+pe,(me-ce+te*.5)*a+ge,(ve+te)*y+pe,me*a+ge,(ve+ce)*y+pe).close()),te=ne*.2,ce=.2,me=.5,ve=.5;var Ee=new go.PathFigure((me-ce)*a+ge,ve*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ce)*y+pe,(me-ce)*a+ge,(ve-te)*y+pe,(me-te)*a+ge,(ve-ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce)*a+ge,ve*y+pe,(me+te)*a+ge,(ve-ce)*y+pe,(me+ce)*a+ge,(ve-te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ce)*y+pe,(me+ce)*a+ge,(ve+te)*y+pe,(me+te)*a+ge,(ve+ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce)*a+ge,ve*y+pe,(me-te)*a+ge,(ve+ce)*y+pe,(me-ce)*a+ge,(ve+te)*y+pe)),te=ne*.4,ce=.4,me=.8,ve=.5;var Ce=new go.PathFigure(me*a+ge,(ve-ce)*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce)*a+ge,ve*y+pe,(me+te)*a+ge,(ve-ce)*y+pe,(me+ce)*a+ge,(ve-te)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ce)*y+pe,(me+ce)*a+ge,(ve+te)*y+pe,(me+te)*a+ge,(ve+ce)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce-te*.5)*a+ge,ve*y+pe,me*a+ge,(ve+ce)*y+pe,(me+ce-te*.5)*a+ge,(ve+te)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ce)*y+pe,(me+ce-te*.5)*a+ge,(ve-te)*y+pe,me*a+ge,(ve-ce)*y+pe).close()),te=ne*.8,ce=.8,me=1,ve=.5;var De=new go.PathFigure(me*a+ge,(ve-ce)*y+pe,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce)*a+ge,ve*y+pe,(me+te)*a+ge,(ve-ce)*y+pe,(me+ce)*a+ge,(ve-te)*y+pe)),De.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ce)*y+pe,(me+ce)*a+ge,(ve+te)*y+pe,(me+te)*a+ge,(ve+ce)*y+pe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce-te*.5)*a+ge,ve*y+pe,me*a+ge,(ve+ce)*y+pe,(me+ce-te*.5)*a+ge,(ve+te)*y+pe)),De.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ce)*y+pe,(me+ce-te*.5)*a+ge,(ve-te)*y+pe,me*a+ge,(ve-ce)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=ne*.4,ee=.4,te=.5,ce=.5,me=ae(),ve=ae(),ge=ae(),pe=ae();ye(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.5,me,me,ve,ge,pe);var Se=fe(ve.x,ve.y),be=new go.PathFigure(ve.x*a,ve.y*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),ye(te-ee,ce,te-ee,ce-b,te-b,ce-ee,te,ce-ee,.5,ge,pe,ve,me,me),be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),b=ne*.3,ee=.3,ye(te-ee,ce,te-ee,ce-b,te-b,ce-ee,te,ce-ee,.5,ge,pe,ve,me,me),be.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ye(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.5,me,me,ve,ge,pe),be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y).close());var be=new go.PathFigure(.45*a,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ae(me),Ae(ve),Ae(ge),Ae(pe),Ae(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(te,ce,me){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+me)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+me)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+me)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+me)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,a,y){var x=new go.Geometry,b=.5,ee=0,te=0,ce=b*ne,me=.4*Math.SQRT2/2+.5,ve=.5-.5*Math.SQRT2/2,ge=1,pe=.5,Se=.5,be=0,Ee=new go.PathFigure(me*a,(1-ve)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,pe*y,ge*a,.7*y,ge*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ee)*a,(be+ee)*y,(.5+b+ee)*a,(.5-ce+ee)*y,(.5+ce+ee)*a,(.5-b+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ce+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ce+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ce+te)*y,(.5-ce+ee)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ce=.5,me=te,ve=Math.PI/4,ge=4*(1-Math.cos(ve))/(3*Math.sin(ve)),pe=ge*.5,Se=te,be=te,Ee=ge*Se,Ce=ge*be;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Se)*a,me*y,(ce-(Ee+Se)/2)*a,(me+(be+Ce)/2)*y,(ce-Se)*a,(me+Ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-be)*y,(ce-Se)*a,(me-Ce)*y,(ce-Ee)*a,(me-be)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Se)*a,me*y,(ce+Ee)*a,(me-be)*y,(ce+Se)*a,(me-Ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+Se)*a,(me+Ce)*y,(ce+(Ee+Se)/2)*a,(me+(be+Ce)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ce=ne*.1,me=.2,ve=.9,ge=new go.PathFigure((me-te)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-te)*y,(me-te)*a,(ve-ce)*y,(me-ce)*a,(ve-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me+te)*a,ve*y,(me+ce)*a,(ve-te)*y,(me+te)*a,(ve-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+te)*y,(me+te)*a,(ve+ce)*y,(me+ce)*a,(ve+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me-te)*a,ve*y,(me-ce)*a,(ve+te)*y,(me-te)*a,(ve+ce)*y).close()),te=.1,ce=ne*.1,me=.8,ve=.9;var pe=new go.PathFigure((me-te)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-te)*y,(me-te)*a,(ve-ce)*y,(me-ce)*a,(ve-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+te)*a,ve*y,(me+ce)*a,(ve-te)*y,(me+te)*a,(ve-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+te)*y,(me+te)*a,(ve+ce)*y,(me+ce)*a,(ve+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-te)*a,ve*y,(me-ce)*a,(ve+te)*y,(me-te)*a,(ve+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var me=.1,ve=ne*.1,ge=.1,pe=.9,Se=new go.PathFigure((ge-me)*a,pe*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-me)*y,(ge-me)*a,(pe-ve)*y,(ge-ve)*a,(pe-me)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+me)*a,pe*y,(ge+ve)*a,(pe-me)*y,(ge+me)*a,(pe-ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+me)*y,(ge+me)*a,(pe+ve)*y,(ge+ve)*a,(pe+me)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,pe*y,(ge-ve)*a,(pe+me)*y,(ge-me)*a,(pe+ve)*y)),me=.1,ve=ne*.1,ge=.4,pe=.9;var be=new go.PathFigure((ge-me)*a,pe*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-me)*y,(ge-me)*a,(pe-ve)*y,(ge-ve)*a,(pe-me)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+me)*a,pe*y,(ge+ve)*a,(pe-me)*y,(ge+me)*a,(pe-ve)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+me)*y,(ge+me)*a,(pe+ve)*y,(ge+ve)*a,(pe+me)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,pe*y,(ge-ve)*a,(pe+me)*y,(ge-me)*a,(pe+ve)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ge=.05,pe=ne*.05,Se=.175,be=.95,ce=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y));var ge=.05,pe=ne*.05,Se=.375,be=.95,me=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y));var ge=.05,pe=ne*.05,Se=.625,be=.95,ve=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y));var ge=.05,pe=ne*.05,Se=.825,be=.95,Ee=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y).close());var Ce=new go.PathFigure(0,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,me=ne*.05,ve=.35,ge=.775,pe=new go.PathFigure((ve-ce)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-ce)*y,(ve-ce)*a,(ge-me)*y,(ve-me)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ce)*a,ge*y,(ve+me)*a,(ge-ce)*y,(ve+ce)*a,(ge-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+ce)*y,(ve+ce)*a,(ge+me)*y,(ve+me)*a,(ge+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ce)*a,ge*y,(ve-me)*a,(ge+ce)*y,(ve-ce)*a,(ge+me)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(z,a,y){var x=new go.Geometry,b=.3,ee=ne*.3,te=.5,ce=.7,me=new go.PathFigure((te-b)*a,ce*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y));var ve=new go.PathFigure(0,.7*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*.5,te=.5,ce=.5,me=new go.PathFigure((te-b)*a,ce*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y));var ve=new go.PathFigure(.15*a,.5*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*.5,te=.5,ce=.5,me=new go.PathFigure((te-b)*a,ce*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y).close()),b=.05,ee=ne*.05,te=.5,ce=.8;var ve=new go.PathFigure((te-b)*a,ce*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y).close()),ve.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var me=new go.PathFigure(.5*a,.1*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),me.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var me=new go.PathFigure(a*.816,y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var me=new go.PathFigure(a*1,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var me=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,ee=b*ne,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var me=new go.PathFigure(a*.83,y*1,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),me.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),me.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ve=new go.PathFigure(a*.78,y*.05,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ve.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,ee=y*.8,te=new go.Geometry,ce=new go.PathFigure(x,0,!0);return te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,ee=b*ne,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var vt={},at="5.0",fe={},ae=null,Ae=!1,E=!1,ye=null,he=!1,le=null,ne=null,se=0;se4?parseFloat(ze):5};vt.setHTML5Codebase=function(ze,_e){ne=ze,He(ze,_e)},vt.setJavaCodebase=vt.setJavaCodebaseVersion=vt.isCompiledInstalled=vt.setPreCompiledScriptPath=vt.setPreCompiledResourcePath=function(){},vt.setHTML5CodebaseVersion=function(ze,_e){var Ve=parseFloat(ze);if(Ve!==NaN&&Ve<5){console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead.");return}le=ze,Ue(ze,_e)},vt.getHTML5CodebaseVersion=function(){return z},vt.getParameters=function(){return fe},vt.setFontsCSSURL=function(ze){te=ze},vt.setGiacJSURL=function(ze){},vt.setJNLPFile=function(ze){ue=ze},vt.setJNLPBaseDir=function(ze){},vt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _e="auto",Ve=fe.id,tt,Xe=!1,lt=0;lt=5)return!0;var ze=vt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},vt.startAnimation=function(){var ze=vt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},vt.stopAnimation=function(){var ze=vt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},vt.getAppletObject=function(){var ze=fe.id!==void 0?fe.id:"ggbApplet";return window[ze]},vt.resize=function(){};var Ee=function(ze,_e,Ve){var tt=document.createElement("param");tt.setAttribute("name",_e),tt.setAttribute("value",Ve),ze.appendChild(tt)},Ce=function(ze){return ze&&ze!=="false"},De=function(ze,_e,Ve){me(z)<=4.2&&(Ve=!0);var tt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(tt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xe=document.createElement("div");Xe.classList.add("appletParameters","notranslate");var lt=_e.width,Je=_e.height;if(_e.disableAutoScale=_e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_e.disableAutoScale,_e.width!==void 0)if(me(z)<=4.4)Ce(_e.showToolBar)&&(_e.height-=7),Ce(_e.showAlgebraInput)&&(_e.height-=37),_e.width<605&&Ce(_e.showToolBar)&&(_e.width=605,lt=605);else{var Ke=100;(Ce(_e.showToolBar)||Ce(_e.showMenuBar))&&(_e.hasOwnProperty("customToolBar")&&(_e.customToolbar=_e.customToolBar),Ke=Ce(_e.showMenuBar)?245:155),lt=5?(_e.appletOnLoad=function(Ze){var rt=ze.querySelector(".ggb_preview");rt&&rt.parentNode.removeChild(rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ie),window.GGBT_wsf_view&&$(window).trigger("resize"),et(Ze)},Re||Ie.appendChild(qe)):Xe.appendChild(qe),Ie.appendChild(Xe),Re||ze.appendChild(Ie),setTimeout(function(){vt.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Xe),ze.appendChild(Ye),_e.appletOnLoad=function(Ze){vt.resize(),et(Ze)}}function ke(Ze,rt){rt&&typeof rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ze,rt.appletOnLoad):renderGGBElement(Ze),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",rt)}function xe(Ze,rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ze,params:rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(yt){ke(yt.article,yt.params)}),html5AppletsToProcess=null)},me(z)<5&&(Ze.className+=" geogebraweb")):ke(Ze,rt)}if(tt){scriptLoadStarted=!0;for(var Ne=0;Ne0?(Me.remove(),Ie.attr("id","fullscreencontent").show(),jQuery(et).append(Ie),window.dispatchEvent(new Event("resize"))):De(Me,_e,!1),window.GGBT_wsf_view.launchFullScreen(et)}else re=tt,De(ze,_e,!1);if(!window.GGBT_wsf_view)for(Je=0;Jeze/4*3&&(Me=ze/4*3),et=Me/5.8,Ke.setAttribute("src",b),Ke.setAttribute("width",Me),Ke.setAttribute("height",et);var Ie=(ze-Me)/2,Re=(_e-et)/2;Ke.style.left=Ie+"px",Ke.style.top=Re+"px",Xe.appendChild(Ke)}}return Xe.appendChild(Je),Xe},We=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Ue=function(ze,_e){if(z=ze,_e){He(z,!0);return}var Ve=!Ae;if(Ve){var tt=me(z);!isNaN(tt)&&tt<4.4&&(Ve=!1)}var Xe,lt;window.location.protocol.substr(0,4)==="http"?Xe=window.location.protocol:Xe="http:";var Je=z.indexOf("//");Je>0?lt=z:Je===0?lt=Xe+z:lt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ke in Te)if(z.slice(Te[Ke].length*-1)===Te[Ke]||z.slice((Te[Ke].length+1)*-1)===Te[Ke]+"/"){He(lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ve&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Ce(fe.showToolBar)&&!Ce(fe.showMenuBar)&&!Ce(fe.showAlgebraInput)&&!Ce(fe.enableRightClick)&&(!fe.appName||fe.appName=="classic")?lt+="webSimple/":lt+="web3d/",He(lt,!1)},He=function(ze,_e){if(ze.requirejs){ie=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ie=ze,_e===null&&(_e=ze.indexOf("http")===-1),oe=_e,a="web.nocache.js",y=!1;var Ve=ie.split("/");Ve.length>1&&(!_e&&Ve[Ve.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Ve[Ve.length-2])>=0&&(a=Ve[Ve.length-2]+".nocache.js")),Ve=ze.split("/"),z=Ve[Ve.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var tt=parseFloat(z);tt!==NaN&&tt<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tt+" is deprecated. Using version latest instead."),Ue("5.0",_e))},Qe=function(ze,_e){window.console&&window.console.log&&(!_e||typeof _e.showLogging=="undefined"||_e.showLogging&&_e.showLogging!=="false")&&console.log(ze)};fe.material_id!==void 0?pe(Ge):Ge();function Ge(){var ze=at;le!==null?ze=le:parseFloat(ze)<5&&(ze="5.0"),Ue(ze,!1),ne!==null&&He(ne,oe),he=!0}return vt},GGBAppletUtils=function(){"use strict";function vt(){return window.GGBT_wsf_edit!==void 0}function at(he,le){le!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+le+","+le+")",he.style.webkitTransform="scale("+le+","+le+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function fe(he,le,ne,se,de,ue){var ie=null;if(ue!=null&&ue!="")for(var oe=he.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ue+" ")>-1){ie=oe;break}else oe=oe.parentNode;var re=0,z=0,a=0,y=0,x=0,b=0,ee=0;if(ie)re=ie.offsetWidth,z=Math.max(se?ie.offsetWidth:0,ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(re=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=re):(re=window.innerWidth,z=window.innerHeight,a=window.innerWidth),he){var te=he.getBoundingClientRect();te.left>0&&te.left<=re&&(de===void 0||!de)&&(document.dir==="rtl"?(x=re-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return he&&((ne===void 0||!ne)&&le>0&&le+y1&&(ue=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))de=ae(he,le,ue,ne,he.scaleContainerClass);else return se;return ue&&(!he.hasOwnProperty("scale")||se===1)?de:Math.min(se,de)}function E(he){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),se=he.getBoundingClientRect(),de=(le-se.width)/2,ue=(ne-se.height)/2;ue<0&&(ue=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?he.style.left="40px":he.style.left=de+"px",he.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?he.style.top="40px":he.style.top=ue+"px",he.style.left=de+"px")}function ye(he,le){var ne=he.querySelector(".appletParameters");if(ne){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ne.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(ne.parentElement&&/fullscreen/.test(ne.parentElement.className))return;var se=Ae(le,he);vt()&&ne.setAttribute("data-param-scale",se);for(var de=null,ue=0;ue=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(vt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(vt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(vt){var at=c[vt];return at==null?null:at},r=d,webModule.__errFn=e}function B(){function vt(he){var le=he.lastIndexOf(rb);le==-1&&(le=he.length);var ne=he.indexOf(sb);ne==-1&&(ne=he.length);var se=he.lastIndexOf(tb,Math.min(ne,le));return se>=O?he.substring(O,se+P):W}function at(he){if(!he.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=he+vb,he=vt(le.src)}return he}function fe(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ae(){for(var he=o.getElementsByTagName(_),le=O;leO?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var ye=fe();return ye==W&&(ye=ae()),ye==W&&(ye=Ae()),ye==W&&E()&&(ye=vt(o.location.href)),ye=at(ye),ye}function C(vt){return vt.match(/^\//)||vt.match(/^[a-zA-Z]+:\/\//)?vt:webModule.__moduleBase+vt}function D(){var vt=[],at=O,fe=[],ae=[];function Ae(he){var le=ae[he](),ne=fe[he];if(le in ne)return le;var se=[];for(var de in ne)se[ne[de]]=de;throw r&&r(he,se,le),null}if(__gwt_isKnownPropertyValue=function(he,le){return le in fe[he]},webModule.__getPropMap=function(){var he={};for(var le in fe)fe.hasOwnProperty(le)&&(he[le]=Ae(le));return he},webModule.__computePropValue=Ae,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ye=E.indexOf(Db);ye!=-1&&(at=parseInt(E.substring(ye+P),$),E=E.substring(O,ye))}catch(he){}return webModule.__softPermutationId=at,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(vt,at,fe){"use strict";fe.d(at,{Ax:function(){return ye},Ds:function(){return he},KI:function(){return ne},SI:function(){return E},f1:function(){return Ae}});var ae=fe(74128);function Ae(se){let de=!0;if(se.length>0){for(let ue=0;uey in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ue=(a,y)=>{for(var x in y||(y={}))ne.call(y,x)&&de(a,x,y[x]);if(le)for(var x of le(y))se.call(y,x)&&de(a,x,y[x]);return a},ie=(a,y)=>ye(a,he(y)),oe=(a,y)=>{var x={};for(var b in a)ne.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&le)for(var b of le(a))y.indexOf(b)<0&&se.call(a,b)&&(x[b]=a[b]);return x},re=(a,y,x)=>new Promise((b,ee)=>{var te=ve=>{try{me(x.next(ve))}catch(ge){ee(ge)}},ce=ve=>{try{me(x.throw(ve))}catch(ge){ee(ge)}},me=ve=>ve.done?b(ve.value):Promise.resolve(ve.value).then(te,ce);me((x=x.apply(a,y)).next())});const z=a=>{var y=a,{children:x}=y,b=oe(y,["children"]);const[ee,te]=(0,Ae.useState)(!1);return Ae.createElement(ae.ZP,ie(ue({},b),{loading:ee,onClick:ce=>re(void 0,null,function*(){try{te(!0),yield b.onClick(ce),te(!1)}catch(me){console.error(me),te(!1)}})}),x)}},35195:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ce},U:function(){return Se}});var ae=fe(59301),Ae=fe(31797),E=fe(43418),ye=fe(1710),he=fe(84056),le=fe(87513),ne=fe(56656),se=fe.n(ne),de={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+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iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",oe=fe(65862),re=fe(65582),z=fe(65808),a=fe(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,me=(De,we,Fe)=>we in De?y(De,we,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):De[we]=Fe,ve=(De,we)=>{for(var Fe in we||(we={}))te.call(we,Fe)&&me(De,Fe,we[Fe]);if(ee)for(var Fe of ee(we))ce.call(we,Fe)&&me(De,Fe,we[Fe]);return De},ge=(De,we)=>x(De,b(we)),pe=(De,we,Fe)=>new Promise((Pe,Le)=>{var Oe=Ue=>{try{Te(Fe.next(Ue))}catch(He){Le(He)}},We=Ue=>{try{Te(Fe.throw(Ue))}catch(He){Le(He)}},Te=Ue=>Ue.done?Pe(Ue.value):Promise.resolve(Ue.value).then(Oe,We);Te((Fe=Fe.apply(De,we)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:be}=Ae.default,Ee=({exercise:De,socket:we,dispatch:Fe,onStartScreenshot:Pe,onCloseScreenshot:Le,handleToDetail:Oe})=>{const[We,Te]=E.default.useModal(),Ue=(0,ae.useRef)(),[He,Qe]=(0,ae.useState)(!0),Ge=(0,ae.useRef)(!1),ze=(0,re.useParams)();(0,ae.useEffect)(()=>{var Be,je,$e;if(document.addEventListener((0,he.gH)(),xe,!1),window.addEventListener("blur",Ye,!1),(Be=De.exerciseUserInfo)!=null&&Be.screen_open&&(0,he.vp)()&&Qe(!1),(je=De.exerciseUserInfo)!=null&&je.screen_open&&!(0,he.vp)()){(0,oe.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?De.exerciseUserInfo.screen_sec+3:De.exerciseUserInfo.screen_sec+10+1;Ue.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,z._V)(z.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},De.exerciseUserInfo.screen_num-De.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(be,{onFinish:()=>pe(void 0,null,function*(){var Ze;const rt=yield ke();(Ze=Ue.current)==null||Ze.destroy(),rt.used_screen_num&&Ie(rt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var Ze;(0,oe.RG)(" ",!0),(Ze=Ue.current)==null||Ze.destroy(),Qe(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ve,!1)}})}return($e=De.exerciseUserInfo)!=null&&$e.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ve,!1),()=>{document.getElementById("root").removeEventListener("click",Ve,!1),document.removeEventListener((0,he.gH)(),xe,!1),window.removeEventListener("blur",Ye,!1)}},[]),(0,ae.useEffect)(()=>{setTimeout(()=>{De.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ve,!1),document.removeEventListener((0,he.gH)(),xe,!1))},500),tt()},[De.actionTabs]),(0,ae.useEffect)(()=>{setTimeout(()=>{De.exerciseUserInfo.used_screen_num>De.exerciseUserInfo.screen_num&&Re()},500)},[De.exerciseUserInfo]);const _e=()=>pe(void 0,null,function*(){const Be=yield ke();setTimeout(()=>{var je,$e;(je=Ue.current)==null||je.destroy(),Ue.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Be.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},($e=De.exerciseUserInfo)==null?void 0:$e.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ve=Be=>{!(0,he.vp)()&&Be.target.nodeName!=="A"&&Be.target.nodeName!=="BUTTON"&&Be.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},tt=()=>pe(void 0,null,function*(){const Be=yield Fe({type:"exercise/getExerciseUserInfo",payload:ve({},ze)});return Be==null?void 0:Be.data}),Xe=Be=>pe(void 0,null,function*(){var je;if((je=De.exerciseUserInfo)!=null&&je.screen_at){const nt=yield(0,le.ck)(ge(ve({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const $e=yield(0,le.oy)({id:ze.categoryId});if($e!=null&&$e.is_commit){E.default.destroyAll(),yield lt(),qe(!0);return}else Ie(Be+1)}),lt=()=>pe(void 0,null,function*(){var Be;const je=se()(),$e=De.exerciseUserInfo.screen_sec;if(Me.current.length>0){const nt=je.format("YYYY-MM-DD HH:mm:ss");let Ze=Math.floor(je.diff(se()(Me.current[0].start))/1e3);const rt=Me.current.length;Ze/$e>>0>rt&&(Ze=(rt+1)*$e-1),yield(0,le.P8)(ze.categoryId,{exercise_user_id:(Be=De.exerciseUserInfo)==null?void 0:Be.exercise_user_id,time:nt,time_long:Ze,count:rt})}Me.current=[]}),Je=(0,ae.useRef)(0),Ke=(0,ae.useRef)(0),Me=(0,ae.useRef)([]),et=(0,ae.useRef)(!1),Ie=Be=>pe(void 0,null,function*(){var je;Ge.current||(Pe(),E.default.destroyAll(),Je.current=se()().valueOf(),et.current=!0,Ue.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:de.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:a.createElement("div",{className:de.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:de.warningIcon}),a.createElement("div",{className:de.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),a.createElement("span",{className:de.warningText},((je=De.exerciseUserInfo)==null?void 0:je.screen_num)+1),(0,z._V)(z.CP.recordScreen12),a.createElement("span",{className:de.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),a.createElement("span",{className:de.warningText},Be-1),(0,z._V)(z.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(be,{className:de.countdownWrapper,onFinish:()=>{Ke.current=se()().valueOf(),Me.current.push({start:Je.current,end:Ke.current}),Xe(Be)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(De.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),lt(),(0,he.Dj)(document.body),Le(),Ue.current.destroy(),et.current=!1}}))}),Re=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,le.VL)({categoryId:ze.categoryId,commit_method:1}))&&qe()}),qe=(Be=!1)=>pe(void 0,null,function*(){var je,$e;if(document.removeEventListener((0,he.gH)(),xe,!1),(0,he.BU)(),E.default.destroyAll(),Ge.current=!0,Be){const nt=yield(0,le.Yu)(ze.categoryId,{exercise_user_id:(je=De.exerciseUserInfo)==null?void 0:je.exercise_user_id});We.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:de.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:de.forcedModalContent},a.createElement("img",{src:ie,alt:""}),a.createElement("div",{className:de.forcedText},(0,z._V)(z.CP.recordScreen17)),a.createElement("div",{className:de.screenNumText},(0,z._V)(z.CP.recordScreen18),($e=De.exerciseUserInfo)==null?void 0:$e.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(ye.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Le(),Oe()},onOk:()=>{re.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else We.info({content:a.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),a.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{Oe()}})}),Ye=Be=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!et.current&&(0,he.BU)()},ke=()=>pe(void 0,null,function*(){var Be;if((Be=De.exerciseUserInfo)!=null&&Be.screen_at){const nt=yield(0,le.ck)(ge(ve({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const je=yield(0,le.oy)({id:ze.categoryId});if(je!=null&&je.is_commit){qe();return}return yield tt()}),xe=()=>pe(void 0,null,function*(){var Be;if((0,oe.RG)(" ",!0),(0,he.vp)()){if((Be=De.exerciseUserInfo)!=null&&Be.screen_at){var je=yield(0,le.ck)(ge(ve({},ze),{reset:!0}));if((je==null?void 0:je.status)===-6)return}}else if(!et.current){var je=yield(0,le.ck)(ve({},ze));if((je==null?void 0:je.status)===-6)return;const nt=yield tt();Ie(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ne=()=>pe(void 0,null,function*(){(0,le.ck)(ve({},ze));const Be=yield tt();Ie(Be.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Te)};var Ce=(0,re.connect)(({exercise:De,globalSetting:we})=>({globalSetting:we,exercise:De}))(Ee)},90463:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return le}});var ae=fe(60324),Ae={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},E=fe(32637),ye=fe(59301),le=({type:ne,style:se})=>{const de=ye.createElement("div",{className:Ae.wrap,onClick:ue=>{ue.preventDefault(),ue.stopPropagation()}},ye.createElement("p",null,ne==="shixun"||ne==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",ye.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ne==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),ye.createElement("div",{className:Ae.contact},ye.createElement("div",{className:Ae.img},ye.createElement("img",{src:E,width:"124px",height:"124px"})),ye.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return ye.createElement(ae.Z,{content:de},ye.createElement("span",{className:Ae.text,style:se},"\u9AD8\u6D88\u8017"))}},42217:function(vt,at,fe){"use strict";fe.d(at,{X:function(){return ye},y:function(){return E}});var ae=fe(59301),Ae=fe(8591);const E=he=>{(0,ae.useEffect)(()=>{if(he){const le=se=>{se.key==="F12"&&(se.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},ne=se=>{se.preventDefault()};return document.addEventListener("keydown",le),document.addEventListener("contextmenu",ne),()=>{document.removeEventListener("keydown",le),document.removeEventListener("contextmenu",ne)}}},[he])},ye=()=>{const[he,le]=(0,ae.useState)(!1),ne=se=>{const{keyCode:de,ctrlKey:ue,metaKey:ie,type:oe}=se;(oe==="paste"||(de===67||de===86)&&(ie||ue))&&(Ae.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),se.preventDefault(),se.stopPropagation())};return(0,ae.useEffect)(()=>(he&&(window.addEventListener("keydown",ne,!0),window.addEventListener("paste",ne,!0)),()=>{window.removeEventListener("keydown",ne,!0),window.removeEventListener("paste",ne,!0)}),[he]),{setOpenDisableCopyAndPaste:le,disableCopyAndPaste:he}}},16750:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ie}});var ae=fe(59301),Ae={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=fe(92310),ye=fe.n(E),he=fe(71418),le=fe(2859),ne=fe(38147),se=fe(65862),de=(oe,re,z)=>new Promise((a,y)=>{var x=te=>{try{ee(z.next(te))}catch(ce){y(ce)}},b=te=>{try{ee(z.throw(te))}catch(ce){y(ce)}},ee=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);ee((z=z.apply(oe,re)).next())}),ie=({data:oe,className:re,fullWidth:z,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const te=(0,ae.useRef)(null),ce=(0,ae.useRef)(null),me=(0,ae.useRef)(null),ve=(0,ae.useRef)(null),[ge,pe]=(0,ae.useState)(!1),[Se,be]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{me.current||(me.current=document.createElement("style"),document.head.appendChild(me.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),me.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Ee()):(document.body.removeAttribute("data-custom"),me.current&&(document.head.removeChild(me.current),me.current=null))},[oe==null?void 0:oe.visible]);const Ee=()=>de(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Pe=yield(0,se.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=Pe,te.current.onload=function(){Fe()},pe(!1),be("")}),Ce=()=>{document.body.removeAttribute("data-custom"),me.current.innerHTML=" ",y()},De=Pe=>de(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Le=yield(0,ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Pe.dataUrl}});Le!=null&&Le.id&&!ee?(yield(0,ne.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Le==null?void 0:Le.id,settings:JSON.stringify(Pe.state)}})).status===0&&x():Le!=null&&Le.id&&x(Le),document.body.removeAttribute("data-custom"),me.current.innerHTML=" ",pe(!1),be("")}),we=()=>{const Pe=document.querySelector('a[href="https://markerjs.com/"]');Pe&&Pe.parentNode&&(Pe.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(Oe=>{const We=document.querySelector(Oe.name);We&&We.setAttribute("title",Oe.title)})},Fe=()=>{ce.current=new le.hP(te.current),ce.current.targetRoot=ve.current,ce.current.addEventListener("render",De),ce.current.addEventListener("beforeclose",Ce),b&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),oe!=null&&oe.snapshotData&&ce.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),we()},300)};return ae.createElement(ae.Fragment,null,(oe==null?void 0:oe.visible)&&ae.createElement(he.Z,{spinning:ge,tip:Se,style:{position:"absolute"}},ae.createElement("div",{ref:ve,className:ye()(Ae.imageDimensions,re,z?Ae.fullWidth:""),style:a},ae.createElement("img",{className:Ae.img,ref:te}))))}},27687:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(96408),E=fe(48136),ye=fe(99298),he=fe(43418),le=fe(59301);const ne=(0,ae.forwardRef)(({callback:se,width:de,onChange:ue,disabled:ie,readOnly:oe,type:re="",value:z="",style:a={}},y)=>{const x=(0,ae.useRef)(),b=(0,ae.useRef)(),[ee,te]=(0,ae.useState)(0),[ce,me]=(0,ae.useState)(0),[ve,ge]=(0,ae.useState)(!1),pe=()=>{var Ce=document.createElement("div");Ce.innerHTML=x.current.getValue();var De=Ce.innerText;return se&&se(De),De};(0,ae.useImperativeHandle)(y,()=>({getData:pe}));const Se=Ce=>{Ce.preventDefault();const De=Ce.clientX-ee,we=Ce.clientY-ce;document.body.onmousemove=Fe=>{let Pe=Fe.clientX-De,Le=Fe.clientY-we;const Oe=document.getElementsByClassName("markdown-popup-form")[0],We=window.innerWidth-Oe.offsetWidth,Te=window.innerHeight-Oe.offsetHeight;Pe=Math.max(0,Math.min(Pe,We)),Le=Math.max(0,Math.min(Le,Te)),be(Fe.clientX,Fe.clientY,De,we)&&(te(Pe),me(Le))},document.body.onmouseup=function(){document.body.onmousemove=null}},be=(Ce,De,we,Fe)=>{const Pe=document.body.clientHeight,Le=document.body.clientWidth;return Ce<20&&we>Ce||Ce>Le-20&&weDe||De>Pe-20&&Fe{ve&&setTimeout(()=>{const Ce=document.getElementsByClassName("markdown-popup-form")[0],De=window.innerWidth/2-Ce.offsetWidth/2,we=window.innerHeight/2-Ce.offsetHeight/2;te(De),me(we)},0)},[ve]);const Ee=()=>{ie||oe||ge(!0)};return le.createElement("div",{style:a},le.createElement("div",{style:{width:de||"100%",position:"relative"},className:`${Ae.Z.mathFillWrap} ${ie||oe?"cursorDefault":""}`,onClick:()=>Ee()},le.createElement("math-field",{disabled:ie,locale:"zh_cn",class:`${Ae.Z.mathField} ${re}`,readOnly:oe,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:z?18:14},value:z||""})),le.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:ce},title:le.createElement("div",{style:{cursor:"move"},onMouseDown:Se},"\u8F93\u5165\u516C\u5F0F"),open:ve,onOk:()=>{const Ce=b.current.getData();x.current.setValue(Ce),ue(Ce),ge(!1)},onCancel:()=>{ge(!1)},destroyOnClose:!0,className:"markdown-popup-form"},le.createElement(ye.Z,{value:z,ref:b,onChange:ue,showSaveButton:!1})))});at.Z=ne},99298:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(95237),E=fe(43604),ye=fe(99313),he=fe(3113),le=fe(6339),ne=fe(96408),se=fe(48136),de=fe(59301);const ue=(0,ae.forwardRef)(({callback:ie,showSaveButton:oe,value:re=""},z)=>{const a=(0,ae.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r - x=a + r\\text{cos}\\theta \\ \r - y=b + r\\text{sin}\\theta \r -\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r - \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r - \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r - x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r - x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r -\\end{array} `},{value:`\\begin{array}{l} \r - a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r - \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r - \\left\\{\\begin{matrix} \r - \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r - \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r - \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r -\\end{matrix}\\right. \r -\\end{array} `},{value:`\\begin{array}{l} \r - a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r - \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r - \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r - \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r - \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r - \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r -\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r - a \\perp \\alpha \\ \r - b \\perp \\alpha \r -\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r - \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r - a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r - a \\parallel \\partial ,b \\parallel \\partial \r -\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r - m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r - a \\perp m,a \\perp n \r -\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r - \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r - a^{2}+b^{2}=c^{2} \r -\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r - a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r - a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r -\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r - a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r - \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r -\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r -\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r - a,b \\in R^{+} \\ \r - \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r - \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r -\\end{array}`},{value:`\\begin{array}{c} \r - a,b \\in R \\ \r - \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r - \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r -\\end{array}`},{value:`\\begin{array}{c} \r - H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r -\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r - \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r - \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r -\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r - P \\left( \\emptyset \\right) =0 \\\\ \r - P \\left( S \\right) =1 \r -\\end{array}`},{value:`\\begin{array}{c} \r - \\forall A \\in S \\\\ \r - P \\left( A \\right) \\ge 0 \r -\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r - S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r - P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r -\\end{array}`},{value:`\\begin{array}{c} \r - P_{n}=n! \\\\ \r - A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=ce=>{a.current.setValue(a.current.getValue()+" "+ce.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:de.createElement(Ae.Z,{className:ne.Z.lists,gutter:[10,10]},y.map((ce,me)=>de.createElement(E.Z,{flex:"110px",className:ne.Z.item},de.createElement("div",null,de.createElement(le.Z,{value:`$$${ce.value}$$`}),ce.name),de.createElement("div",{className:ne.Z.children},ce.children.map((ve,ge)=>de.createElement("div",{key:ge},de.createElement("h1",null,ve.name),de.createElement(Ae.Z,{gutter:[10,10]},ve.data.map((pe,Se)=>de.createElement(E.Z,{key:Se,onClick:()=>b(pe),className:ne.Z.diamond},de.createElement(le.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:de.createElement(Ae.Z,{className:ne.Z.lists,gutter:[10,10]},x.map((ce,me)=>de.createElement(E.Z,{flex:"110px",className:ne.Z.item},de.createElement("div",null,de.createElement(le.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),de.createElement("div",{className:ne.Z.children},ce.children.map((ve,ge)=>de.createElement("div",{key:ge},ve.name&&de.createElement("h1",null,ve.name),de.createElement(Ae.Z,{gutter:[10,10]},ve.data.map((pe,Se)=>de.createElement(E.Z,{key:Se,onClick:()=>b(pe),className:ne.Z.diamond},de.createElement(le.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],te=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var me=ce.innerText;return ie&&ie(me),me};return(0,ae.useImperativeHandle)(z,()=>({getData:te})),de.createElement("div",{className:ne.Z.mathWrap},de.createElement(ye.default,{defaultActiveKey:"1",items:ee}),de.createElement("math-field",{locale:"zh_cn",className:ne.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},re||""),oe&&de.createElement("div",{className:ne.Z.button},de.createElement(he.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});at.Z=ue},49018:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ge}});var ae=fe(59301),Ae=fe(9221),E=Object.defineProperty,ye=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ne=(pe,Se,be)=>Se in pe?E(pe,Se,{enumerable:!0,configurable:!0,writable:!0,value:be}):pe[Se]=be,se=(pe,Se)=>{for(var be in Se||(Se={}))he.call(Se,be)&&ne(pe,be,Se[be]);if(ye)for(var be of ye(Se))le.call(Se,be)&&ne(pe,be,Se[be]);return pe},de=(pe,Se)=>{var be={};for(var Ee in pe)he.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&ye)for(var Ee of ye(pe))Se.indexOf(Ee)<0&&le.call(pe,Ee)&&(be[Ee]=pe[Ee]);return be};const ie={header:{cell:pe=>{var Se=pe,{onResize:be,width:Ee}=Se,Ce=de(Se,["onResize","width"]);return Ee?ae.createElement(Ae.Resizable,{width:Ee,height:0,handle:ae.createElement("span",{className:"react-resizable-handle",onClick:De=>{De.stopPropagation()}}),onResize:be,draggableOpts:{enableUserSelectHack:!1}},ae.createElement("th",se({},Ce))):ae.createElement("th",se({},Ce))}}};var oe=fe(1710),re=Object.defineProperty,z=Object.defineProperties,a=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,ee=(pe,Se,be)=>Se in pe?re(pe,Se,{enumerable:!0,configurable:!0,writable:!0,value:be}):pe[Se]=be,te=(pe,Se)=>{for(var be in Se||(Se={}))x.call(Se,be)&&ee(pe,be,Se[be]);if(y)for(var be of y(Se))b.call(Se,be)&&ee(pe,be,Se[be]);return pe},ce=(pe,Se)=>z(pe,a(Se)),me=(pe,Se)=>{var be={};for(var Ee in pe)x.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&y)for(var Ee of y(pe))Se.indexOf(Ee)<0&&b.call(pe,Ee)&&(be[Ee]=pe[Ee]);return be},ge=pe=>{var Se=pe,{pagination:be,resColumns:Ee,dataSource:Ce,onRow:De}=Se,we=me(Se,["pagination","resColumns","dataSource","onRow"]);const[Fe,Pe]=(0,ae.useState)(!1),[Le,Oe]=(0,ae.useState)([{}]),We=(0,ae.useRef)(null);(0,ae.useEffect)(()=>{let Ue=Ee;Ue=Ue.map((He,Qe)=>ce(te({},He),{onHeaderCell:Ge=>({width:Ge.width,onResize:Te(Qe)})})),Oe(Ue)},[]),(0,ae.useEffect)(()=>{We.current=Le},[Le]);const Te=Ue=>(He,{size:Qe})=>{const Ge=[...We.current];Ge[Ue]=ce(te({},Ge[Ue]),{width:Qe.width}),Oe(Ge)};return ae.createElement("div",null,ae.createElement(oe.default,ce(te({bordered:!0,components:ie,columns:Le,dataSource:Ce,pagination:be,loading:Fe,onRow:De},we),{rowKey:Ue=>Ue.key||Ue.id})))}},35479:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Se},P:function(){return ve}});var ae=fe(59301),Ae=fe(78241),E=fe(43418),ye=fe(5112),he=fe(92832),le=fe(1710),ne={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},se=fe(60979),de=Object.defineProperty,ue=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(be,Ee,Ce)=>Ee in be?de(be,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):be[Ee]=Ce,y=(be,Ee)=>{for(var Ce in Ee||(Ee={}))re.call(Ee,Ce)&&a(be,Ce,Ee[Ce]);if(oe)for(var Ce of oe(Ee))z.call(Ee,Ce)&&a(be,Ce,Ee[Ce]);return be},x=(be,Ee)=>ue(be,ie(Ee)),b=(be,Ee)=>{var Ce={};for(var De in be)re.call(be,De)&&Ee.indexOf(De)<0&&(Ce[De]=be[De]);if(be!=null&&oe)for(var De of oe(be))Ee.indexOf(De)<0&&z.call(be,De)&&(Ce[De]=be[De]);return Ce},ee=(be,Ee,Ce)=>new Promise((De,we)=>{var Fe=Oe=>{try{Le(Ce.next(Oe))}catch(We){we(We)}},Pe=Oe=>{try{Le(Ce.throw(Oe))}catch(We){we(We)}},Le=Oe=>Oe.done?De(Oe.value):Promise.resolve(Oe.value).then(Fe,Pe);Le((Ce=Ce.apply(be,Ee)).next())});const te=({studentNames:be,total:Ee})=>{const Ce=["","\u4E00","\u4E24","\u4E09"];return Ee>3?ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:ne.orangeColor},be==null?void 0:be.join("\u3001")),"\u7B49",ae.createElement("span",{className:ne.orangeColor},Ee),"\u540D\u5B66\u751F"):ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:ne.orangeColor},be==null?void 0:be.join("\u3001")),Ce[Ee],"\u540D\u5B66\u751F")},ce=({used:be,copy:Ee,canNotCopy:Ce,studentNames:De,studentCount:we,inPaper:Fe,is_random:Pe=!1,position:Le=""})=>{const Oe=()=>{if(Ee>0&&Ce>0)return ae.createElement(ae.Fragment,null,"\u5176\u4E2D",ae.createElement("span",{className:ne.orangeColor},Ee),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",ae.createElement("span",{className:ne.orangeColor},Ce),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(Ee>0&&Ce===0)return ae.createElement(ae.Fragment,null,"\u5176\u4E2D",ae.createElement("span",{className:ne.orangeColor},Ee),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(Ee===0&&Ce>0)return ae.createElement(ae.Fragment,null,"\u5176\u4E2D",ae.createElement("span",{className:ne.orangeColor},Ce),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},We=Le||(Fe?"\u8BD5\u5377":"\u8BFE\u7A0B");return ae.createElement("span",null,ae.createElement(te,{studentNames:De,total:we}),"\u5B66\u4E60\u8FC7",We,"\u4E2D\u7684",ae.createElement("span",{className:ne.orangeColor},be),"\u4E2A\u9879\u76EE\uFF0C",Oe(),"\u3002\u8BF7\u9009\u62E9",Pe?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},me=({onCancel:be,onOk:Ee,visible:Ce,inPaper:De,renderData:we,type:Fe,isMultipleCourse:Pe=!1})=>{const[Le]=Ae.default.useForm(),[Oe,We]=(0,ae.useState)(1),[Te,Ue]=(0,ae.useState)(!1),He=(0,ae.useMemo)(()=>(we==null?void 0:we.total_num)===1&&(we==null?void 0:we.can_copy_num)===1,[we]),Qe=(0,ae.useMemo)(()=>{var Ge;return(Ge=we==null?void 0:we.course_data_list)==null?void 0:Ge.filter(ze=>ze.is_show)},[we]);return ae.createElement(ae.Fragment,null,He?ae.createElement(E.default,{centered:!0,closable:!0,open:Ce,destroyOnClose:!0,title:"\u63D0\u793A",className:ne.antdModal,width:682,confirmLoading:Te,onCancel:be,onOk:()=>ee(void 0,null,function*(){var Ge;Ue(!0);let ze=Oe;if(Pe){const _e=y({},Le.getFieldsValue());ze=(Ge=we==null?void 0:we.course_data_list)==null?void 0:Ge.map(Ve=>_e[Ve.id]!==void 0?x(y({},Ve),{is_copy:_e[Ve.id]}):Ve)}yield Ee(ze),Ue(!1)})},ae.createElement("div",{className:ne.content,style:{marginBottom:20}},Pe?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":ae.createElement(ae.Fragment,null,ae.createElement(te,{studentNames:we==null?void 0:we.student_names,total:we==null?void 0:we.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Pe?ae.createElement(Ae.default,{form:Le,preserve:!1},Qe==null?void 0:Qe.map(Ge=>ae.createElement(ae.Fragment,{key:Ge.id},ae.createElement("h3",{className:"ml15 mb5"},Ge.name),ae.createElement(Ae.default.Item,{name:Ge.id,initialValue:1},ae.createElement(ye.ZP.Group,{className:ne.content},ae.createElement(ye.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),ae.createElement(ye.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):ae.createElement(ye.ZP.Group,{value:Oe,onChange:Ge=>We(Ge.target.value),className:ne.content,style:{marginBottom:30}},ae.createElement(ye.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),ae.createElement(ye.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),ae.createElement("div",null,ae.createElement("div",{className:ne.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),ae.createElement("div",{className:ne.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),ae.createElement("div",{className:`${ne.content} ${ne.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):ae.createElement(E.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Ce,confirmLoading:Te,title:"\u63D0\u793A",width:682,onCancel:be,onOk:()=>ee(void 0,null,function*(){var Ge;Ue(!0);let ze=0;if(Pe){const _e=y({},Le.getFieldsValue());ze=(Ge=we==null?void 0:we.course_data_list)==null?void 0:Ge.map(Ve=>_e[Ve.id]!==void 0?x(y({},Ve),{is_use:_e[Ve.id]}):Ve)}yield Ee(ze),Ue(!1)})},ae.createElement("div",{className:ne.content},ae.createElement(te,{studentNames:we==null?void 0:we.student_names,total:we==null?void 0:we.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Pe?ae.createElement(Ae.default,{form:Le,preserve:!1},ae.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Qe==null?void 0:Qe.map(Ge=>ae.createElement(ae.Fragment,{key:Ge.id},ae.createElement("h3",{className:"ml15 mb5"},Ge.name),ae.createElement(Ae.default.Item,{name:Ge.id,initialValue:1},ae.createElement(ye.ZP.Group,{className:ne.content},ae.createElement(ye.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),ae.createElement(ye.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):ae.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",ae.createElement("span",{className:ne.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ve=function(){const[be,Ee]=(0,ae.useState)(!1),[Ce,De]=(0,ae.useState)();return[be,()=>Ee(!1),Ce,Pe=>ee(this,null,function*(){var Le;const Oe=Pe,{isImportMultipleCourse:We=!1}=Oe,Te=b(Oe,["isImportMultipleCourse"]);console.log(Pe);const Ue=(Pe==null?void 0:Pe.result)||(yield(0,se.Tr)(Te));return"status"in Ue?!1:We?((Le=Ue==null?void 0:Ue.course_data_list)==null?void 0:Le.some(Qe=>Qe.is_show))?(De(Ue),Ee(!0),!0):Ue.course_data_list||[]:Ue.student_count===0?!1:(De(Ue),Ee(!0),!0)})]},ge=be=>{const[Ee]=Ae.default.useForm(),[Ce,De]=(0,ae.useState)(!1),{onCancel:we,onOk:Fe,visible:Pe,inPaper:Le=!1,renderData:Oe,type:We,isMultipleCourse:Te=!1,position:Ue}=be;let He=(0,ae.useMemo)(()=>Le?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ne.tableCell,render(ze,_e){return ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(ze,_e)=>ae.createElement(ae.Fragment,null,ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],initialValue:1},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426"))),ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],hidden:!0,initialValue:1},ae.createElement(he.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ne.tableCell,render(ze,_e){return ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(ze,_e)=>ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],initialValue:1},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(ze,_e)=>ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],initialValue:1},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426")))}],[Le]),Qe=(0,ae.useMemo)(()=>Le?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ne.tableCell,align:"center",ellipsis:!0,render:(ze,_e)=>ae.createElement(ae.Fragment,null,ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze),ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],hidden:!0,initialValue:0},ae.createElement(he.default,{type:"hidden"})),ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],hidden:!0,initialValue:1},ae.createElement(he.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ne.tableCell,ellipsis:!0,align:"center",render:(ze,_e)=>ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(ze,_e)=>ae.createElement(ae.Fragment,null,ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],initialValue:0},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426"))),ae.createElement(Ae.default.Item,{name:[`${We==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],hidden:!0,initialValue:0},ae.createElement(he.default,{type:"hidden"})))}],[Le]);if(Te){const ze={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:ne.tableCell,render:(_e,Ve)=>ae.createElement("a",{href:`/classrooms/${Ve.course_id}`},_e)};He=[ze,...He],Qe=[ze,...Qe]}const Ge=(0,ae.useMemo)(()=>ce({used:Oe==null?void 0:Oe.repeat_shixun_num,copy:Oe==null?void 0:Oe.can_copy_num,canNotCopy:Oe==null?void 0:Oe.no_copy_num,studentNames:Oe==null?void 0:Oe.student_names,studentCount:Oe==null?void 0:Oe.student_count,is_random:Oe==null?void 0:Oe.is_random,inPaper:Le,position:Ue}),[Oe,Le,Ue]);return ae.createElement(E.default,{title:"\u63D0\u793A",centered:!0,open:Pe,confirmLoading:Ce,onOk:()=>ee(void 0,null,function*(){De(!0);const ze=Ee.getFieldsValue(),_e=Object.keys(ze).map(Ve=>({id:parseInt(Ve.split("_")[0]),course_id:parseInt(Ve.split("_")[1]),is_use:ze[Ve].is_use,is_copy:ze[Ve].is_copy}));yield Fe(_e),De(!1)}),onCancel:we,width:880,okText:"\u786E\u8BA4",className:ne.antdModal,destroyOnClose:!0},ae.createElement(Ae.default,{form:Ee,preserve:!1},ae.createElement("div",{className:ne.brief},Ge),ae.createElement("div",{style:{marginBottom:30}},ae.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),ae.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),ae.createElement("div",{className:ne.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(Oe==null?void 0:Oe.can_copy_num)>0&&ae.createElement("div",null,ae.createElement("div",{className:ne.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),ae.createElement(le.default,{columns:He,className:ne.antdTable,dataSource:Oe==null?void 0:Oe.can_copy_list,rowKey:We==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(Oe==null?void 0:Oe.no_copy_num)>0&&ae.createElement("div",null,ae.createElement("div",{className:ne.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),ae.createElement(le.default,{columns:Qe,className:ne.antdTable,dataSource:Oe==null?void 0:Oe.no_copy_list,rowKey:We==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(Oe==null?void 0:Oe.no_use_list.length)>0&&(Oe==null?void 0:Oe.no_use_list.map(ze=>ae.createElement("div",{key:We==="subject"?ze.stage_shixun_id:ze.shixun_course_id||ze.id},ae.createElement(Ae.default.Item,{name:[`${We==="subject"?ze==null?void 0:ze.stage_shixun_id:ze.shixun_course_id||ze.id}`,"is_copy"],hidden:!0,initialValue:0},ae.createElement(he.default,{type:"hidden"})),ae.createElement(Ae.default.Item,{name:[`${We==="subject"?ze==null?void 0:ze.stage_shixun_id:ze.shixun_course_id||ze.id}`,"is_use"],hidden:!0,initialValue:1},ae.createElement(he.default,{type:"hidden"})))))))};var Se=be=>{const{modalType:Ee}=be;return Ee==="multiple"?ae.createElement(ge,y({},be)):ae.createElement(me,y({},be))}},83028:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return se}});var ae=fe(59301),Ae={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},E=fe(43418),ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUF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C",le=(de,ue,ie)=>new Promise((oe,re)=>{var z=x=>{try{y(ie.next(x))}catch(b){re(b)}},a=x=>{try{y(ie.throw(x))}catch(b){re(b)}},y=x=>x.done?oe(x.value):Promise.resolve(x.value).then(z,a);y((ie=ie.apply(de,ue)).next())}),se=({type:de,resdata:ue,onok:ie,oktext:oe,okloading:re})=>{const[z,a]=(0,ae.useState)(!1),{can_copy_list:y,can_copy_num:x,challenge_type:b,course_data_list:ee,no_copy_list:te,no_copy_num:ce,no_use_list:me,no_use_num:ve,repeat_shixun_num:ge,student_count:pe,total_num:Se,use_num:be}=ue;let Ee=x>0||de==="exercise";(0,ae.useEffect)(()=>{(ue==null?void 0:ue.student_count)>0&&a(!0)},[ue]),console.log("---11",re),(0,ae.useEffect)(()=>{re||a(!1)},[re]);const Ce=()=>{if(de==="exercise"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(de==="exercise"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="shixun"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="shixun"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="subject"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="subject"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ae.createElement("span",{className:Ae.orangeColor},pe)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ae.createElement("span",{className:Ae.orangeColor},be)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="exercisepush")return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(de==="shixunpush"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="shixunpush"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},De=()=>{if(de==="exercise"||de==="subject"||de==="exercisepush"||de==="shixunpush")return ae.createElement("div",{style:{marginTop:20}},ce>0&&ae.createElement("div",null,ae.createElement("span",{className:Ae.flex},ae.createElement("img",{src:he,style:{width:14}}),ae.createElement("span",{className:Ae.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Ae.statusbody},de==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(de==="subject"||de==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ee&&ae.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),de==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ee&&ae.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),ae.createElement("div",null,te==null?void 0:te.map((we,Fe)=>ae.createElement("a",{href:`/shixuns/${we.identifier}/challenges`,target:"_blank"},"\u300A",we==null?void 0:we.name,"\u300B",Fe+1!==ce&&"\u3001"))))),x>0&&ae.createElement("div",{style:{marginTop:20}},ae.createElement("span",{className:Ae.flex},ae.createElement("img",{src:ye,style:{width:14}}),ae.createElement("span",{className:Ae.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Ae.statusbody},de==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(de==="subject"||de==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),de==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),ae.createElement("div",null,y==null?void 0:y.map((we,Fe)=>ae.createElement("a",{href:`/shixuns/${we.identifier}/challenges`,target:"_blank"},"\u300A",we==null?void 0:we.name,"\u300B",Fe+1!==x&&"\u3001"))))));if(de==="shixun")return ae.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return ae.createElement(E.default,{open:z,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ee&&"none"}},zIndex:1003,confirmLoading:re,okText:Ee?oe:"\u6211\u77E5\u9053\u4E86",onOk:()=>le(void 0,null,function*(){Ee?yield ie([...y,...me]):a(!1)})},ae.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ce(),De()))}},42678:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ye}});var ae=fe(65582),Ae={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=fe(59301),ye=({message:he,className:le,children:ne,style:se={}})=>E.createElement("div",{className:`custom-spinner ${Ae.idsRingWrapper} ${le}`},E.createElement("div",{className:Ae.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:se},he):null,ne,E.createElement(ae.Outlet,null))},29584:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ye}});var ae=fe(59301),Ae=fe(77254),E=fe(59301),ye=({defaultX:he="40%",leftChild:le,rightChild:ne,className:se,hideResize:de=!1})=>{const[ue,ie]=(0,ae.useState)(he),oe=(0,ae.useRef)();function re(){oe.current=!0}(0,ae.useEffect)(()=>{function y(b){oe.current&&(Ae.Z.publish("resize-move-bar",b),ie(b.pageX))}function x(){oe.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const z=typeof ue=="number"&&ue!==.01?`${ue}px`:he,a=`calc(100% - ${de?"0px":"4px"} - ${z})`;return E.createElement("div",{className:`split-panel-container ${se}`},E.createElement("section",{style:{width:z,display:ue===.01?"none":""}},le),E.createElement("section",{className:"resize-x-bar",onMouseDown:re},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},ne))}},51908:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return le}});var ae=fe(59301),Ae={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=fe(92310),ye=fe.n(E),le=({className:ne,style:se={},leftNode:de,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ie,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>ae.createElement("div",{className:ye()(Ae.result,ne),style:se},ae.createElement("div",{className:Ae.left},ae.createElement("div",{className:Ae.title},ae.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ae.createElement("span",null,ue)),ae.createElement("div",{className:Ae.leftNode},de)),ae.createElement("div",{className:Ae.right},ae.createElement("div",{className:Ae.title},ae.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ae.createElement("span",null,oe)),ae.createElement("div",{className:Ae.rightNode},ie)))},22744:function(vt,at,fe){"use strict";var ae=fe(59301);const Ae=ye=>String(ye).length===1?`0${ye}`:ye,E=({className:ye="",onChange:he,defaultValue:le=0})=>{const[ne,se]=(0,ae.useState)(le);(0,ae.useEffect)(()=>{const oe=setTimeout(()=>{se(ne+1e3)},1e3);return he(ne+1e3),()=>{clearInterval(oe)}},[ne]);const de=parseInt(ne/(60*6e4))||"00",ue=parseInt(ne%(60*6e4)/6e4)||"00",ie=parseInt(ne%6e4/1e3)||"00";return ae.createElement("div",{className:ye},Ae(de),":",Ae(ue),":",Ae(ie))};at.Z=E},33276:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(43418),E=fe(1710);const ye=({dataSource:he,visible:le,onClose:ne=()=>{},onSuccess:se=()=>{},text:de,okText:ue})=>{var ie;return ae.createElement(Ae.default,{centered:!0,destroyOnClose:!0,open:!!le,title:"\u63D0\u793A",width:"600px",okText:ue,cancelText:"\u53D6\u6D88",onCancel:ne,onOk:se},le==="single"&&ae.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",ae.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(ie=he==null?void 0:he[0])==null?void 0:ie.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",de),le==="multiple"&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",de),ae.createElement(E.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:he,scroll:(he==null?void 0:he.length)>7?{y:300}:{},pagination:!1})))};at.Z=ye},30214:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ye}});var ae=fe(59301),Ae=fe(77254),E=fe(11611),ye=()=>{const[he,le]=(0,ae.useState)(""),[ne,se]=(0,ae.useState)(0);let[de,ue]=(0,ae.useState)(),[ie,oe]=(0,ae.useState)();const[re,z]=(0,ae.useState)(!1),a=(0,ae.useRef)("");(0,ae.useEffect)(()=>Ae.Z.subscribe("preview-image",Se=>{le(Se),console.log(ve.current),document.body.style.overflow="hidden"}),[]),(0,ae.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ae.useEffect)(()=>{a.current=he},[he]);function y(pe){pe.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ue(void 0),oe(void 0),se(0),le("")}function b(){se(ne+90)}function ee(){de=ve.current.width*1.1,ie=ve.current.height*1.1,oe(ie),ue(de)}function te(){de=ve.current.width/1.1,ie=ve.current.height/1.1,oe(ie),ue(de)}const ce=(0,ae.useRef)(),me=(0,ae.useRef)(),ve=(0,ae.useRef)(),ge=pe=>{(pe.nativeEvent.target===ce.current||pe.nativeEvent.target===me.current)&&x()};return ae.createElement(ae.Fragment,null,he?ae.createElement("div",null,ae.createElement("div",{className:"preview-wrp-group",ref:me},ae.createElement(E.Z,{className:"image-preview",src:he,style:{display:"none"},preview:{visible:!0,src:he,movable:!1,onVisibleChange:pe=>{le("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(vt,at,fe){"use strict";fe.d(at,{h:function(){return ce}});var ae=fe(59301),Ae=fe(57809),E=fe(78241),ye=fe(3113),he=fe(89780),le=fe.n(he),ne=fe(45559),se=fe(42313),de=Object.defineProperty,ue=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(me,ve,ge)=>ve in me?de(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):me[ve]=ge,y=(me,ve)=>{for(var ge in ve||(ve={}))re.call(ve,ge)&&a(me,ge,ve[ge]);if(oe)for(var ge of oe(ve))z.call(ve,ge)&&a(me,ge,ve[ge]);return me},x=(me,ve)=>ue(me,ie(ve));const b=Ae.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};at.Z=({callback:me,onCancel:ve})=>{const[ge,pe]=(0,ae.useState)("python");function Se(Ee){pe(te[Ee][1])}function be(Ee){me(Ee)}return ae.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),ae.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(Ae.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:Se},Object.keys(te).map(Ee=>ae.createElement(b,{key:Ee,value:Ee},te[Ee][0])))),ae.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(ce,{mode:ge})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ye.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))};function ce({value:me,onChange:ve,mode:ge,options:pe={}}){const Se=(0,ae.useRef)(),[be,Ee]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(be){let Ce=function(De){const we=De.getValue();ve&&ve(we)};return be.on("change",Ce),()=>{be.off("change",Ce)}}},[be,ve]),(0,ae.useEffect)(()=>{be&&be.setOption("mode",ge)},[be,ge]),(0,ae.useEffect)(()=>{be&&(me!==be.getValue()||me==="")&&setTimeout(()=>{be.setValue(me||"")},300)},[be,me]),(0,ae.useEffect)(()=>{if(Se.current&&!be){const Ce=le().fromTextArea(Se.current,y({mode:ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Ee(Ce)}},[Se.current,be]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Se}))}},96565:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Vt}});var ae=fe(59301),Ae=fe(89780),E=fe.n(Ae),ye=fe(76374),he=fe(45559),le=fe(6313),ne=fe(25717),se=fe(99498),de=fe(25419),ue=fe(67549),ie=fe(6339),oe=({value:pt="",className:wt,showTextOnly:xt,showLines:Ut,style:fn={}})=>{const Qt=(0,ae.useMemo)(()=>"",[pt]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Qt}}))},re=fe(59301),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(pt,wt,xt)=>wt in pt?z(pt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):pt[wt]=xt,ce=(pt,wt)=>{for(var xt in wt||(wt={}))b.call(wt,xt)&&te(pt,xt,wt[xt]);if(x)for(var xt of x(wt))ee.call(wt,xt)&&te(pt,xt,wt[xt]);return pt},me=(pt,wt)=>a(pt,y(wt));let ve=[{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 ge({onActionCallback:pt,title:wt,icon:xt,actionName:Ut,className:fn="",children:Qt}){function _n(){pt(Ut)}return re.createElement("a",{title:wt,className:fn,onClick:_n},re.createElement("i",{className:`${xt}`}),Qt)}var pe=({watch:pt,showNullButton:wt,showNullProgramButton:xt,onActionCallback:Ut,fullScreen:fn,insertTemp:Qt,hidetoolBar:_n,extraUse:wn})=>{const Mt=[...ve,{title:`${pt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${pt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return re.createElement("ul",{className:"markdown-toolbar-container"},!_n&&Mt.map((Lt,Jt)=>re.createElement("li",{key:Jt},Lt.actionName?re.createElement(ge,me(ce({},Lt),{onActionCallback:Ut})):re.createElement("span",{className:"v-line"}))),wt?re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ut},re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xt?re.createElement(re.Fragment,null,re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ut},re.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ut},re.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qt&&re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qt}`,onActionCallback:Ut},re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),wn&&re.createElement("li",null,wn),re.createElement("li",{className:"btn-full-screen"},re.createElement(ge,{icon:`${fn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:fn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ut})))},Se=fe(57261),be=fe(78241),Ee=fe(92832),Ce=fe(3113),De=Object.defineProperty,we=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,We=(pt,wt,xt)=>wt in pt?De(pt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):pt[wt]=xt,Te=(pt,wt)=>{for(var xt in wt||(wt={}))Le.call(wt,xt)&&We(pt,xt,wt[xt]);if(Pe)for(var xt of Pe(wt))Oe.call(wt,xt)&&We(pt,xt,wt[xt]);return pt},Ue=(pt,wt)=>we(pt,Fe(wt));const He={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:pt,onCancel:wt})=>{function xt(Ut){pt(Ut)}return ae.createElement(be.default,Ue(Te({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xt,style:{width:500}}),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(Ee.default,null)),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(Ee.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ce.ZP,{type:"ghost",onClick:wt},"\u53D6\u6D88")))},Ge=fe(85533),ze=fe(45053),_e=fe(43418),Ve=fe(95237),tt=fe(16750),Xe=fe(59301),lt=({callback:pt,onCancel:wt})=>{const xt=document.createElement("canvas"),Ut=xt.getContext("2d");xt.width=1e3,xt.height=800,Ut.fillStyle="#ffffff",Ut.fillRect(0,0,xt.width,xt.height);const fn=xt.toDataURL("image/png");return Xe.createElement(_e.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Xe.createElement(Ve.Z,{style:{height:"100vh"}},Xe.createElement(tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:fn,visible:!0,title:String(Date.now())},onOk:Qt=>{pt({src:Qt.url})},onClose:wt})))},Je=fe(12378);function Ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ke,go.CommandHandler),Ke.prototype.canAlignSelection=function(){var pt=this.diagram;return!(pt===null||pt.isReadOnly||pt.isModelReadOnly||pt.selection.count<2)},Ke.prototype.alignLeft=function(){var pt=this.diagram;pt.startTransaction("aligning left");var wt=1/0;pt.selection.each(function(xt){xt instanceof go.Link||(wt=Math.min(xt.position.x,wt))}),pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(wt,xt.position.y))}),pt.commitTransaction("aligning left")},Ke.prototype.alignRight=function(){var pt=this.diagram;pt.startTransaction("aligning right");var wt=-1/0;pt.selection.each(function(xt){if(!(xt instanceof go.Link)){var Ut=xt.actualBounds.x+xt.actualBounds.width;wt=Math.max(Ut,wt)}}),pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(wt-xt.actualBounds.width,xt.position.y))}),pt.commitTransaction("aligning right")},Ke.prototype.alignTop=function(){var pt=this.diagram;pt.startTransaction("alignTop");var wt=1/0;pt.selection.each(function(xt){xt instanceof go.Link||(wt=Math.min(xt.position.y,wt))}),pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,wt))}),pt.commitTransaction("alignTop")},Ke.prototype.alignBottom=function(){var pt=this.diagram;pt.startTransaction("aligning bottom");var wt=-1/0;pt.selection.each(function(xt){if(!(xt instanceof go.Link)){var Ut=xt.actualBounds.y+xt.actualBounds.height;wt=Math.max(Ut,wt)}}),pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,wt-xt.actualBounds.height))}),pt.commitTransaction("aligning bottom")},Ke.prototype.alignCenterX=function(){var pt=this.diagram,wt=pt.selection.first();if(wt){pt.startTransaction("aligning Center X");var xt=wt.actualBounds.x+wt.actualBounds.width/2;pt.selection.each(function(Ut){Ut instanceof go.Link||Ut.move(new go.Point(xt-Ut.actualBounds.width/2,Ut.actualBounds.y))}),pt.commitTransaction("aligning Center X")}},Ke.prototype.alignCenterY=function(){var pt=this.diagram,wt=pt.selection.first();if(wt){pt.startTransaction("aligning Center Y");var xt=wt.actualBounds.y+wt.actualBounds.height/2;pt.selection.each(function(Ut){Ut instanceof go.Link||Ut.move(new go.Point(Ut.actualBounds.x,xt-Ut.actualBounds.height/2))}),pt.commitTransaction("aligning Center Y")}},Ke.prototype.alignColumn=function(pt){var wt=this.diagram;wt.startTransaction("align Column"),pt===void 0&&(pt=0),pt=parseFloat(pt);var xt=new Array;wt.selection.each(function(wn){wn instanceof go.Link||xt.push(wn)});for(var Ut=0;Ut0){for(var wn=Qt.elt(_n-1);wn!==null&&wn.isTreeExpanded&&!wn.isTreeLeaf;){var Mt=this._sortTreeChildrenByY(wn);wn=Mt.last()}wn!==null&&pt.select(wn)}else pt.select(fn)}}else if(xt.key==="Down")if(wt.isTreeExpanded&&!wt.isTreeLeaf){var Ut=this._sortTreeChildrenByY(wt).first();Ut!==null&&pt.select(Ut)}else for(;wt!==null;){var fn=wt.findTreeParentNode();if(fn===null)break;var Qt=this._sortTreeChildrenByY(fn),_n=Qt.indexOf(wt);if(_nQt.y?1:fn.xQt.x?1:0}),wt},Ke.prototype.copyToClipboard=function(pt){go.CommandHandler.prototype.copyToClipboard.call(this,pt),this._lastPasteOffset.set(this.pasteOffset)},Ke.prototype.pasteFromClipboard=function(){var pt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(pt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),pt},Object.defineProperty(Ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(pt){if(pt!=="move"&&pt!=="select"&&pt!=="scroll"&&pt!=="tree"&&pt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+pt);this._arrowKeyBehavior=pt}}),Object.defineProperty(Ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(pt){if(!(pt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+pt);this._pasteOffset.set(pt)}});var Me=Ke,et=fe(25863),Ie=fe(43604),Re=fe(38147),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=fe(59301),ke=(pt,wt,xt)=>new Promise((Ut,fn)=>{var Qt=Mt=>{try{wn(xt.next(Mt))}catch(Lt){fn(Lt)}},_n=Mt=>{try{wn(xt.throw(Mt))}catch(Lt){fn(Lt)}},wn=Mt=>Mt.done?Ut(Mt.value):Promise.resolve(Mt.value).then(Qt,_n);wn((xt=xt.apply(pt,wt)).next())});function xe({onCancel:pt,callback:wt}){let xt=(0,ae.useRef)(),Ut=(0,ae.useRef)(),fn=(0,ae.useRef)(),Qt=(0,ae.useRef)(!1);const _n=(0,ae.useRef)(!1),[wn,Mt]=(0,ae.useState)(0);function Lt(){const jt=Je.bx.make,bn={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};xt.current=new Je.S0(Ut.current,{padding:20,grid:jt(Je.s_,"Grid",jt(Je.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Je.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ln=>{var Rn=Ln.diagram.commandHandler.addTopLevelParts(Ln.diagram.selection,!0);Rn||Ln.diagram.currentTool.doCancel()},commandHandler:jt(Me),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ln=>{var Rn=Ln.subject;Rn.location=Rn.location.copy().snapToGridPoint(Ln.diagram.grid.gridOrigin,Ln.diagram.grid.gridCellSize),setTimeout(()=>{Ln.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ln=>{var Rn=Ln.subject;setTimeout(()=>{Ln.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ln=>{var Rn=Ln.parameter.part;Rn.invalidateConnectedLinks();var $n=Ln.subject;Ln.diagram.toolManager.linkingTool.isForwards?$n.toNode.invalidateConnectedLinks():$n.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xt.current.nodeTemplate=jt(Je.NB,"Auto",{locationSpot:Je.z6.Center,locationObjectName:"SHAPE",desiredSize:new Je.$u(120,60),minSize:new Je.$u(40,40),resizable:!0,resizeCellSize:new Je.$u(10,10),rotatable:!0},new Je.KX("location","loc",Je.E9.parse).makeTwoWay(Je.E9.stringify),new Je.KX("desiredSize","size",Je.$u.parse).makeTwoWay(Je.$u.stringify),jt(Je.bn,{name:"SHAPE",fill:bn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Je.z6.AllSides,toSpot:Je.z6.AllSides},new Je.KX("figure"),new Je.KX("fill"),new Je.KX("stroke","borderColor"),new Je.KX("strokeWidth","thickness"),new Je.KX("strokeDashArray","dash")),jt(Je.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),jt(Je.al,{margin:1,textAlign:"center",overflow:Je.al.OverflowEllipsis,editable:!0},new Je.KX("text").makeTwoWay(),new Je.KX("stroke","color"))),xt.current.nodeTemplate.toolTip=jt("ToolTip",jt(Je.s_,"Vertical",{maxSize:new Je.$u(200,NaN)},jt(Je.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Je.KX("text")),jt(Je.al,{font:"10pt sans-serif",textAlign:"center"},new Je.KX("text","details"))));function Dn(Ln,Rn){var $n=(Tn,ur)=>{Tn.handled=!0,Tn.diagram.model.commit(Sr=>{var lr=ur.part.adornedPart,Ir=new Je.E9().setRectSpot(lr.actualBounds,Ln);Ir.subtract(lr.location),Ir.scale(2,2),Ir.x+=Math.sign(Ir.x)*130,Ir.y+=Math.sign(Ir.y)*130,Ir.add(lr.location),Ir.snapToGridPoint(Tn.diagram.grid.gridOrigin,Tn.diagram.grid.gridCellSize);var Er=Sr.copyNodeData(lr.data);Sr.setGroupKeyForNodeData(Er,Sr.getGroupKeyForNodeData(lr.data)),Sr.addNodeData(Er);var $r={from:lr.key,to:Sr.getKeyForNodeData(Er)};Sr.addLinkData($r);var na=Tn.diagram.findNodeForData(Er);na.location=Ir,Tn.diagram.select(na),setTimeout(()=>{Tn.diagram.commandHandler.editTextBlock()},20)})};return jt(Je.bn,{figure:Rn,alignment:Ln,alignmentFocus:Ln.opposite(),width:Ln.equals(Je.z6.Top)||Ln.equals(Je.z6.Bottom)?25:18,height:Ln.equals(Je.z6.Top)||Ln.equals(Je.z6.Bottom)?18:25,fill:"orange",stroke:bn.white,strokeWidth:4,mouseEnter:(Tn,ur)=>ur.fill="dodgerblue",mouseLeave:(Tn,ur)=>ur.fill="orange",isActionable:!0,click:$n,contextClick:$n})}function Hn(Ln){return jt(Je.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:(Rn,$n)=>$n.fill="dodgerblue",mouseLeave:(Rn,$n)=>$n.fill="orange",click:(Rn,$n)=>{Rn.diagram.commandHandler.showContextMenu($n.part.adornedPart)}},Ln||{})}xt.current.nodeTemplate.selectionAdornmentTemplate=jt(Je.uz,"Spot",jt(Je.Vm,{padding:10}),Dn(Je.z6.Top,"TriangleUp"),Dn(Je.z6.Left,"TriangleLeft"),Dn(Je.z6.Right,"TriangleRight"),Dn(Je.z6.Bottom,"TriangleDown"),Hn({alignment:new Je.z6(.75,0)}));function rn(Ln,Rn){return($n,Tn)=>{$n.handled=!0,$n.diagram.model.commit(ur=>{ur.set(Tn.part.adornedPart.data,Ln,Rn)})}}function Pt(Ln,Rn){return Rn||(Rn="color"),jt(Je.bn,{width:16,height:16,stroke:"lightgray",fill:Ln,margin:1,background:"transparent",mouseEnter:($n,Tn)=>Tn.stroke="dodgerblue",mouseLeave:($n,Tn)=>Tn.stroke="lightgray",click:rn(Rn,Ln),contextClick:rn(Rn,Ln)})}function gt(){return[jt("ContextMenuButton",jt(Je.s_,"Horizontal",Pt(bn.white,"fill"),Pt(bn.beige,"fill"),Pt(bn.extralightblue,"fill"),Pt(bn.extralightred,"fill"))),jt("ContextMenuButton",jt(Je.s_,"Horizontal",Pt(bn.lightgray,"fill"),Pt(bn.lightgreen,"fill"),Pt(bn.lightblue,"fill"),Pt(bn.lightred,"fill")))]}function St(){return[jt("ContextMenuButton",jt(Je.s_,"Horizontal",Pt(bn.black),Pt(bn.green),Pt(bn.blue),Pt(bn.red))),jt("ContextMenuButton",jt(Je.s_,"Horizontal",Pt(bn.white),Pt(bn.magenta),Pt(bn.purple),Pt(bn.orange)))]}function At(Ln,Rn){return Rn||(Rn="thickness"),jt(Je.bn,"LineH",{width:16,height:16,strokeWidth:Ln,margin:1,background:"transparent",mouseEnter:($n,Tn)=>Tn.background="dodgerblue",mouseLeave:($n,Tn)=>Tn.background="transparent",click:rn(Rn,Ln),contextClick:rn(Rn,Ln)})}function zt(Ln,Rn){return Rn||(Rn="dash"),jt(Je.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ln,margin:1,background:"transparent",mouseEnter:($n,Tn)=>Tn.background="dodgerblue",mouseLeave:($n,Tn)=>Tn.background="transparent",click:rn(Rn,Ln),contextClick:rn(Rn,Ln)})}function Zt(){return[jt("ContextMenuButton",jt(Je.s_,"Horizontal",At(1),At(2),At(3),At(4))),jt("ContextMenuButton",jt(Je.s_,"Horizontal",zt(null),zt([2,4]),zt([4,4])))]}function $t(Ln,Rn){return Rn||(Rn="figure"),jt(Je.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ln,margin:1,background:"transparent",mouseEnter:($n,Tn)=>Tn.fill="dodgerblue",mouseLeave:($n,Tn)=>Tn.fill="lightgray",click:rn(Rn,Ln),contextClick:rn(Rn,Ln)})}xt.current.nodeTemplate.contextMenu=jt("ContextMenu",jt("ContextMenuButton",jt(Je.s_,"Horizontal",$t("Rectangle"),$t("RoundedRectangle"),$t("Ellipse"),$t("Diamond"))),jt("ContextMenuButton",jt(Je.s_,"Horizontal",$t("Parallelogram2"),$t("ManualOperation"),$t("Procedure"),$t("Cylinder1"))),jt("ContextMenuButton",jt(Je.s_,"Horizontal",$t("Terminator"),$t("CreateRequest"),$t("Document"),$t("TriangleDown"))),gt(),St(),Zt()),xt.current.groupTemplate=jt(Je.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Je.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ln,Rn)=>{var $n=Rn.addMembers(Rn.diagram.selection,!0);$n||Rn.diagram.currentTool.doCancel()},avoidable:!1},new Je.KX("location","loc",Je.E9.parse).makeTwoWay(Je.E9.stringify),jt(Je.s_,"Auto",{name:"BODY"},jt(Je.bn,{parameter1:10,fill:bn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Je.z6.AllSides,toSpot:Je.z6.AllSides},new Je.KX("fill"),new Je.KX("stroke","color"),new Je.KX("strokeWidth","thickness"),new Je.KX("strokeDashArray","dash")),jt(Je.Vm,{background:"transparent",margin:20})),jt(Je.al,{alignment:Je.z6.Top,alignmentFocus:Je.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Je.KX("text"),new Je.KX("stroke","color"))),xt.current.groupTemplate.selectionAdornmentTemplate=jt(Je.uz,"Spot",jt(Je.s_,"Auto",jt(Je.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),jt(Je.Vm,{margin:1.5})),Hn({alignment:Je.z6.TopRight,alignmentFocus:Je.z6.BottomRight})),xt.current.groupTemplate.contextMenu=jt("ContextMenu",gt(),St(),Zt()),xt.current.linkTemplate=jt(Je.rU,{layerName:"Foreground",routing:Je.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Je.KX("fromSpot","fromSpot",Je.z6.parse),new Je.KX("toSpot","toSpot",Je.z6.parse),new Je.KX("fromShortLength","dir",Ln=>Ln>=1?10:0),new Je.KX("toShortLength","dir",Ln=>Ln>=1?10:0),new Je.KX("points").makeTwoWay(),jt(Je.bn,{strokeWidth:2},new Je.KX("stroke","color"),new Je.KX("strokeWidth","thickness"),new Je.KX("strokeDashArray","dash")),jt(Je.bn,{segmentIndex:0,segmentOffset:new Je.E9(15,0),segmentOrientation:Je.rU.OrientAlong,alignmentFocus:Je.z6.Right,figure:"circle",width:10,strokeWidth:0},new Je.KX("fill","color"),new Je.KX("visible","dir",Ln=>Ln===1)),jt(Je.bn,{segmentIndex:-1,segmentOffset:new Je.E9(-10,6),segmentOrientation:Je.rU.OrientPlus90,alignmentFocus:Je.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Je.KX("fill","color"),new Je.KX("visible","dir",Ln=>Ln>=1),new Je.KX("width","thickness",Ln=>7+3*Ln),new Je.KX("height","thickness",Ln=>7+3*Ln),new Je.KX("segmentOffset","thickness",Ln=>new Je.E9(-15,4+1.5*Ln))),jt(Je.bn,{segmentIndex:0,segmentOffset:new Je.E9(15,-6),segmentOrientation:Je.rU.OrientMinus90,alignmentFocus:Je.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Je.KX("fill","color"),new Je.KX("visible","dir",Ln=>Ln===2),new Je.KX("width","thickness",Ln=>7+3*Ln),new Je.KX("height","thickness",Ln=>7+3*Ln),new Je.KX("segmentOffset","thickness",Ln=>new Je.E9(-15,4+1.5*Ln))),jt(Je.al,{alignmentFocus:new Je.z6(0,1,-4,0),editable:!0},new Je.KX("text").makeTwoWay(),new Je.KX("stroke","color"))),xt.current.linkTemplate.selectionAdornmentTemplate=jt(Je.uz,jt(Je.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ln(2)},new Je.KX("pathPattern","thickness",ln)),Hn({alignmentFocus:new Je.z6(0,0,-6,-4)}));function ln(Ln){return jt(Je.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ln+4).toString()+" H3"})}function Pn(Ln){var Rn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ln===0?Rn="M0 0 M16 16 M0 8 L16 8":Ln===2&&(Rn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),jt(Je.bn,{geometryString:Rn,margin:2,background:"transparent",mouseEnter:($n,Tn)=>Tn.background="dodgerblue",mouseLeave:($n,Tn)=>Tn.background="transparent",click:rn("dir",Ln),contextClick:rn("dir",Ln)})}function zn(Ln){var Rn=($n,Tn)=>{$n.handled=!0,$n.diagram.model.commit(ur=>{var Sr=Tn.part.adornedPart;ur.set(Sr.data,Ln?"toSpot":"fromSpot",Je.z6.stringify(Je.z6.AllSides)),(Ln?Sr.toNode:Sr.fromNode).invalidateConnectedLinks()})};return jt(Je.bn,{width:12,height:12,fill:"transparent",mouseEnter:($n,Tn)=>Tn.background="dodgerblue",mouseLeave:($n,Tn)=>Tn.background="transparent",click:Rn,contextClick:Rn})}function Gt(Ln,Rn){var $n=0,Tn=Je.z6.RightSide;Ln.equals(Je.z6.Top)?($n=270,Tn=Je.z6.TopSide):Ln.equals(Je.z6.Left)?($n=180,Tn=Je.z6.LeftSide):Ln.equals(Je.z6.Bottom)&&($n=90,Tn=Je.z6.BottomSide),Rn||($n-=180);var ur=(Sr,lr)=>{Sr.handled=!0,Sr.diagram.model.commit(Ir=>{var Er=lr.part.adornedPart;Ir.set(Er.data,Rn?"toSpot":"fromSpot",Je.z6.stringify(Tn)),(Rn?Er.toNode:Er.fromNode).invalidateConnectedLinks()})};return jt(Je.bn,{alignment:Ln,alignmentFocus:Ln.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:$n,background:"transparent",mouseEnter:(Sr,lr)=>lr.background="dodgerblue",mouseLeave:(Sr,lr)=>lr.background="transparent",click:ur,contextClick:ur})}xt.current.linkTemplate.contextMenu=jt("ContextMenu",St(),Zt(),jt("ContextMenuButton",jt(Je.s_,"Horizontal",Pn(0),Pn(1),Pn(2))),jt("ContextMenuButton",jt(Je.s_,"Horizontal",jt(Je.s_,"Spot",zn(!1),Gt(Je.z6.Top,!1),Gt(Je.z6.Left,!1),Gt(Je.z6.Right,!1),Gt(Je.z6.Bottom,!1)),jt(Je.s_,"Spot",{margin:new Je.Zt(0,0,0,2)},zn(!0),Gt(Je.z6.Top,!0),Gt(Je.z6.Left,!0),Gt(Je.z6.Right,!0),Gt(Je.z6.Bottom,!0)))));const tr=`{ "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 ir=["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 sr(Ln){return console.log("shapeName:",Ln),ir.indexOf(Ln)>=0}var vr=new Je.YI(fn.current,{maxSelectionCount:1,linkTemplate:jt(Je.rU,{locationSpot:Je.z6.Center,selectionAdornmentTemplate:jt(Je.uz,"Link",{locationSpot:Je.z6.Center},jt(Je.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),jt(Je.bn,{toArrow:"Standard",stroke:null}))},{routing:Je.rU.AvoidsNodes,curve:Je.rU.JumpOver,corner:5,toShortLength:4},new Je.KX("points"),jt(Je.bn,{isPanelMain:!0,strokeWidth:2}),jt(Je.bn,{toArrow:"Standard",stroke:null})),model:new Je.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Je.bn.getFigureGenerators().toArray().map(Ln=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Ln.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(Ln){var Rn;const $n=Ln.subject.part;var Tn=(Rn=document.activeElement)==null?void 0:Rn.value;typeof Tn=="string"&&Tn.trim()===""&&xt.current.model.commit(function(ur){ur.set($n.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),vr.nodeTemplate=jt(Je.NB,"Auto",{locationSpot:Je.z6.Center},new Je.KX("location","location",Je.E9.parse).makeTwoWay(Je.E9.stringify),jt(Je.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 Je.KX("stroke").makeTwoWay(),new Je.KX("fill").makeTwoWay(),new Je.KX("figure")),jt(Je.al,{margin:new Je.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Je.$u(16,16),maxSize:new Je.$u(10,NaN),textAlign:"center",editable:!0},new Je.KX("key").makeTwoWay())),setTimeout(()=>{xt.current.grid=jt(Je.s_,"Grid",jt(Je.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Je.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),xt.current.grid.visible=!0,xt.current.grid.gridCellStroke="darkgray",xt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=xt.current,xt.current}const Jt=()=>ke(this,null,function*(){var jt=xt.current.makeImage();const bn=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:jt.src}});wt({src:bn.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Lt()},500),Mt(wn+1),()=>{xt.current=null}),[]),Ye.createElement("div",{ref:_n,className:Qt.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(_e.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!wn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Ve.Z,null,Ye.createElement(Ie.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(Ie.Z,{onClick:()=>{var jt,bn,Dn=xt.current.selection.first();if(Qt.current=!Qt.current,document.activeElement&&Dn){let Hn=(bn=(jt=document.activeElement)==null?void 0:jt.value)==null?void 0:bn.trim();typeof Hn=="string"&&xt.current.model.commit(function(rn){rn.set(Dn.data,"text",Hn||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}Mt(wn+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:pt},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:qe.myPaletteDiv,ref:fn})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:Ut,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Ce.ZP,{size:"large",onClick:Jt,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ne=xe,Be=fe(5112),je=fe(5871);const $e=Be.ZP.Group,nt={margin:"0 8px"};var Ze=({callback:pt,onCancel:wt})=>{function xt(Ut){pt(Ut)}return ae.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xt},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:nt},"\u884C\u6570"),ae.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(je.Z,null)),ae.createElement("span",{style:nt},"\u5217\u6570"),ae.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(je.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(be.default.Item,{name:"align"},ae.createElement($e,null,ae.createElement(Be.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(Be.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(Be.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(Be.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ce.ZP,{type:"ghost",onClick:wt},"\u53D6\u6D88")))},rt=fe(78673),yt=fe(93510),ct=fe.n(yt),dt=(0,ae.forwardRef)(({use3d:pt,width:wt,height:xt,callback:Ut,showSaveButton:fn},Qt)=>{const _n=(0,ae.useRef)(),wn=(0,ae.useRef)(),[Mt,Lt]=(0,ae.useState)(!1),Jt=(0,ae.useRef)({id:_n,appName:"graphing",width:wt||1e3,height:xt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{wn.current=new(ct())(Jt.current,!0),window.onload=function(){wn.current.inject("applet_container")}},[]);const jt=()=>{var bn=window.ggbApplet.getPNGBase64(1,!0,72);return Ut&&Ut(bn),bn};return(0,ae.useEffect)(()=>{Jt.current.appName=Mt?"3D":"graphing",wn.current.inject("applet_container")},[Mt]),(0,ae.useEffect)(()=>{Lt(pt)},[pt]),(0,ae.useImperativeHandle)(Qt,()=>({getImgData:jt})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:_n}),ae.createElement(Ve.Z,{align:"middle"},ae.createElement(Ie.Z,{flex:1},ae.createElement(rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Mt,onChange:bn=>Lt(bn)})),ae.createElement(Ie.Z,null,ae.createElement(Ce.ZP,{size:"large",onClick:jt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ht=fe(99298),ot=fe(1012),ut=fe(8591);const mt="link",Ct="upload-image",Bt="add-flowchart",It="draw-image",Ht="add-flowchart",qt="code-block",yn="add-table",In="------------",En={default:In,left:`:${In}`,center:`:${In}:`,right:`${In}:`};var pn=fe(31103),Qn=(pt,wt,xt)=>new Promise((Ut,fn)=>{var Qt=Mt=>{try{wn(xt.next(Mt))}catch(Lt){fn(Lt)}},_n=Mt=>{try{wn(xt.throw(Mt))}catch(Lt){fn(Lt)}},wn=Mt=>Mt.done?Ut(Mt.value):Promise.resolve(Mt.value).then(Qt,_n);wn((xt=xt.apply(pt,wt)).next())});function Bn(){}let un=0;const Yn=1e4,_t="\u2581",tn="@\u2581\u2581@",cn="@\u2581@",Ot=` -**\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`,ft=["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 Ft(pt){return/^\d+$/.test(pt)?`${pt}px`:pt}const Xt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",an={[Xt+"-B"]:"bold",[Xt+"-I"]:"italic"},en={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[qt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ct]:"\u6DFB\u52A0\u56FE\u7247",[It]:"\u6DFB\u52A0\u753B\u56FE",[Bt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[yn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Vt=({defaultValue:pt="",onChange:wt,width:xt="100%",height:Ut=400,miniToolbar:fn=!1,isFocus:Qt=!1,watch:_n,insertTemp:wn,mode:Mt="markdown",id:Lt="markdown-editor-id",showResizeBar:Jt=!1,noStorage:jt=!1,showNullButton:bn=!1,showNullProgramButton:Dn=!1,hidetoolBar:Hn=!1,fullScreen:rn=!1,onBlur:Pt,onCMBeforeChange:gt,onFullScreen:St,className:At="",disablePaste:zt=!1,disabled:Zt=!1,disabledFill:$t=!1,placeholder:ln="",values:Pn="",extraUse:zn})=>{const[Gt,tr]=(0,ae.useState)(null),[ir,sr]=(0,ae.useState)(pt),[vr,Ln]=(0,ae.useState)(_n),[Rn,$n]=(0,ae.useState)(rn),[Tn,ur]=(0,ae.useState)(""),[Sr,lr]=(0,ae.useState)(0),[Ir,Er]=(0,ae.useState)(Ut),[$r,na]=(0,ae.useState)(!1),ca=(0,ae.useRef)((0,ot.Z)()),Kn=(0,ae.useRef)(!1),Xn=(0,ae.useRef)(),[Fn,Hr]=(0,ae.useState)(0),[Jr,Tr]=(0,ae.useState)(0),Or=(0,ae.useRef)(),Ur=(0,ae.useRef)(),sa=(0,ae.useRef)(),ra=(0,ae.useRef)(),xr=()=>Qn(void 0,null,function*(){var Mn;const An=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ca.current}});(Mn=An==null?void 0:An.attachments)!=null&&Mn.length&&(console.log("cm:",Gt,Or),An.attachments.map(mn=>{mn.content_type.indexOf("image")>-1?Gt.replaceSelection(`![,](/api/attachments/${mn.id}?type=${mn.content_type})`):mn.content_type.indexOf("video")>-1?Gt.replaceSelection(``):mn.content_type.indexOf("pdf")>-1?Gt.replaceSelection(`${mn.name}`):Gt.replaceSelection(`[${mn.name}](${ENV.API_SERVER}/api/attachments/${mn.id}?type=${mn.content_type})`)}))});(0,ae.useEffect)(()=>{const Mn=window.scrollY||window.pageYOffset;sr(Pn),Gt==null||Gt.setValue(Pn),window.scrollTo(0,Mn)},[Pn]),(0,ae.useEffect)(()=>{St==null||St(Rn)},[Rn]),(0,ae.useEffect)(()=>{if(Or.current){let Mn=function(mn,Sn){var On;if(zt){Sn.preventDefault();return}const jn=Sn.clipboardData;if(jn){const ar=jn.types.toString(),Vn=jn.items;if(ar==="Files"||jn.types.indexOf("Files")>-1){if(Sn.preventDefault(),Mt=="stex")return;try{let Gr=Vn[1];((On=Vn[0])==null?void 0:On.kind)==="file"&&(Gr=Vn[0]);const hr=Gr.getAsFile(),pa=hr.name.split(".").pop();(0,ze.I)(hr,Rr=>{var gr,_r,Kr;Rr.id?((gr=hr==null?void 0:hr.type)==null?void 0:gr.indexOf("image"))>-1?An.replaceSelection(``):((_r=hr==null?void 0:hr.type)==null?void 0:_r.indexOf("video"))>-1?An.replaceSelection(``):((Kr=hr==null?void 0:hr.type)==null?void 0:Kr.indexOf("pdf"))>-1?An.replaceSelection(`${hr.name}`):ft.includes(pa)?An.replaceSelection(`${hr.name}`):An.replaceSelection(`[${hr.name}](/api/attachments/${Rr.id}?type=${Rr.content_type})`):(Rr==null?void 0:Rr.status)===401&&(ut.ZP.warning((Rr==null?void 0:Rr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Gr){ut.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const An=E().fromTextArea(Or.current,{mode:Mt,lineNumbers:!fn,lineWrapping:!0,value:pt,autoCloseTags:!Dn,autoCloseBrackets:!0});return An.on("keyup",function(mn,Sn){Sn.keyCode===8&&(mn.getValue()==""?An.setOption("placeholder",ln):An.setOption("placeholder",null))}),An.on("keydown",function(mn,Sn){if(Sn.keyCode===8){var On=Br(mn);On&&Sn.preventDefault()}}),Qt&&An.focus(),An.on("paste",Mn),An.on("dragleave",function(mn,Sn){Ur.current.classList.remove("mouse-hover-md")}),Zt&&An.on("beforeChange",function(mn,Sn){(Sn.origin==="paste"||Sn.origin==="+input")&&Sn.cancel()}),tr(An),()=>{An.off("paste",Mn)}}},[]);const wr=(0,ae.useCallback)(()=>{if(Ur.current)try{}catch(Mn){console.log(Mn,"---- to set md editor body height")}},[Ir,Ur,Rn]);(0,ae.useEffect)(()=>{function Mn(){let An=new ye.Z(mn=>{for(let Sn of mn)(Sn.target.offsetHeight>0||Sn.target.offsetWidth>0)&&(wr(),Gt.setSize("100%","100%"),Gt.refresh())});return An.observe(Or.current.parentElement),An}if(Gt){const An=Mn();return()=>{var mn,Sn;(mn=Or.current)!=null&&mn.parentElement&&An.unobserve((Sn=Or.current)==null?void 0:Sn.parentElement)}}},[Gt,wr]),(0,ae.useEffect)(()=>{if(Gt){let Mn=[];for(const[An,mn]of Object.entries(an)){let Sn={[An]:()=>{Mr(mn)}};Mn.push(Sn),Gt.addKeyMap(Sn)}return Xn.current=setInterval(()=>{Kn.current&&xr()},4e3),()=>{clearInterval(Xn.current);for(let An of Mn)Gt.removeKeyMap(An)}}},[Gt]),(0,ae.useEffect)(()=>{rn!==Rn&&$n(rn)},[rn]),(0,pn.Z)(()=>{if(!jt&&Sr>0){let Mn=new Date().getTime(),An=window.sessionStorage.getItem(Lt);Mn>=Sr+Yn&&(!An||An!==ir)&&(window.sessionStorage.setItem(Lt,ir),na(!0))}},Yn),(0,ae.useEffect)(()=>{Ln(_n)},[Gt,_n]),(0,ae.useEffect)(()=>{Gt&&Qt&&Gt.focus()},[Gt,Qt]),(0,ae.useEffect)(()=>{if(vr&&Gt){let Mn=function(mn){let Sn=mn.target;if(ra.current){let On=Sn.scrollTop/Sn.scrollHeight;ra.current.scrollTop=ra.current.scrollHeight*On}};const An=Gt.getScrollerElement();return An.addEventListener("scroll",Mn),()=>{An.removeEventListener("scroll",Mn)}}},[Gt,vr]),(0,ae.useEffect)(()=>{if(Gt&>){let Mn=function(An,mn){gt(An,mn)};return Gt.on("beforeChange",Mn),()=>{Gt.off("beforeChange",Mn)}}},[Gt,gt]),(0,ae.useEffect)(()=>{if(Gt&&Pt){let Mn=function(){Pt(Gt.getValue())};return Gt.on("blur",Mn),()=>{Gt.off("blur",Mn)}}},[Gt,Pt]);function Br(Mn,An){var mn=Mn.getDoc(),Sn=mn.getCursor(),On=mn.getLine(Sn.line),jn=On.charAt(Sn.ch-1),ar=On.lastIndexOf("@\u2581@",Sn.ch),Vn=On.lastIndexOf("@\u2581\u2581@",Sn.ch),Gr=ar>Vn?ar:Vn,hr=ar>Vn?3:4;if(tn.indexOf(jn)===-1)return null;if(console.log("change1:",An,Mn,On,Sn,Gr,ar,Vn,jn),Gr>=0&&Sn.ch-Gr<5){var pa=Gr+hr;return mn.replaceRange("",{line:Sn.line,ch:Gr},{line:Sn.line,ch:pa}),{line:Sn.line,ch:pa}}return null}(0,ae.useEffect)(()=>{if(Gt){let Mn=function(An,mn){const Sn=An.getValue();sr(Sn),lr(new Date().getTime()),An.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),wt&&(Dn?wt(Sn,ya(Sn)):wt(Sn))};return Gt.on("change",Mn),()=>{Gt.off("change",Mn)}}},[Gt,wt]),(0,ae.useEffect)(()=>{if(Gt)if(pt==null)Gt.setValue(""),sr("");else{const Mn=window.scrollY||window.pageYOffset;pt!==Gt.getValue()&&(Gt.setValue(pt),sr(pt),Gt.setCursor(Zt?1:Gt.lineCount(),0),window.scrollTo(0,Mn))}},[Gt,pt]);const Mr=(0,ae.useCallback)(Mn=>{const An=Gt.getCursor(),mn=Gt.getSelection();let Sn=mn.split(` -`);switch(Mn){case"bold":return Gt.replaceSelection("**"+mn+"**"),mn===""&&Gt.setCursor(An.line,An.ch+2),Gt.focus();case"italic":return Gt.replaceSelection("*"+mn+"*"),mn===""&&Gt.setCursor(An.line,An.ch+1),Gt.focus();case"code":return Gt.replaceSelection("`"+mn+"`"),mn===""&&Gt.setCursor(An.line,An.ch+1),Gt.focus();case"inline-latex":return ur("inline-latex"),Gt.focus();case"latex":return Gt.replaceSelection("```latex\n"+mn+"\n```"),Gt.setCursor(An.line+1,mn.length+1),Gt.focus();case"line-break":return Gt.replaceSelection(`
-`),Gt.focus();case"list-ul":return mn===""?Gt.replaceSelection("- "+mn):Gt.replaceSelection(Sn.map(On=>On===""?"":`- ${On}`).join(` -`)),Gt.focus();case"list-ol":return mn===""?Gt.replaceSelection("1. "+mn):Gt.replaceSelection(Sn.map((On,jn)=>On===""?"":`${jn+1}. ${On}`).join(` -`)),Gt.focus();case"add-null-ch":return mn===""&&Gt.setCursor(An.line,An.ch),Gt.replaceSelection(_t),Gt.focus();case"add-signal":return mn===""&&Gt.setCursor(An.line,An.ch),Gt.replaceSelection(cn),Gt.focus();case"add-multiple":return mn===""&&Gt.setCursor(An.line,An.ch),Gt.replaceSelection(tn),Gt.focus();case"inster-template-1":return mn===""&&Gt.setCursor(An.line,An.ch),Gt.replaceSelection(Ot),Gt.focus();case"eraser":return Gt.setValue(""),Gt.focus();case"trigger-watch":return Ln(!vr),Gt.focus();case"trigger-full-screen":return $n(!Rn),Gt.focus();case mt:ur(mt);return;case qt:ur(qt);return;case Ct:ur(Ct);return;case It:ur(It);return;case"maths-latex":ur("maths-latex");return;case Bt:ur(Bt);return;case yn:ur(yn);return;default:throw new Error}},[Gt,vr,Rn]),Wr=(0,ae.useCallback)((Mn,An)=>{var mn,Sn,On,jn,ar,Vn;switch(ur(""),Tn){case mt:const{title:gr,link:_r}=Mn;return Gt.replaceSelection(`[${gr}](${_r})`),Gt.focus();case qt:const{language:Kr,content:Un}=Mn;return Gt.replaceSelection(["```"+Kr,Un,"```"].join(` -`)),Gt.focus();case"maths-latex":for(var Gr=atob(Mn),hr=new Uint8Array(Gr.length),pa=0;pa{nr.id?Gt.replaceSelection(`![,](/api/attachments/${nr.id}?type=${nr.content_type})`):(nr==null?void 0:nr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Gt.replaceSelection("`$$"+Mn+"$$`");break;case Ct:case It:case Ht:const{src:mr,alt:Wt}=Mn,Rt=An,Kt=(On=(Sn=(mn=Rt==null?void 0:Rt.name)==null?void 0:mn.split("."))==null?void 0:Sn.pop)==null?void 0:On.call(Sn);return((jn=Rt==null?void 0:Rt.type)==null?void 0:jn.indexOf("image"))>-1||!(Rt!=null&&Rt.type)?Rt.align||Rt.width?Gt.replaceSelection(`

${Wt||

`):Gt.replaceSelection(`${Wt||`):((ar=Rt==null?void 0:Rt.type)==null?void 0:ar.indexOf("video"))>-1?Gt.replaceSelection(``):((Vn=Rt==null?void 0:Rt.type)==null?void 0:Vn.indexOf("pdf"))>-1?Gt.replaceSelection(`${Rt.name}`):ft.includes(Kt)?Gt.replaceSelection(`${Rt.name}`):Gt.replaceSelection(`[${Rt.name}](${mr})`),Gt.focus();case yn:const{row:gn,col:Gn,align:qn}=Mn;let Cn=` -`;for(let nr=0;nr{switch(Tn){case mt:return ae.createElement(Qe,{callback:Wr,onCancel:wa});case qt:return ae.createElement(Ge.Z,{callback:Wr,onCancel:wa});case Ct:return ae.createElement(ze.Z,{callback:Wr,onCancel:wa});case Bt:return ae.createElement(Ne,{callback:Wr,onCancel:wa});case yn:return ae.createElement(Ze,{callback:Wr,onCancel:wa});case"maths-latex":return ae.createElement(dt,{showSaveButton:!0,callback:Wr});case"inline-latex":return ae.createElement(ht.Z,{showSaveButton:!0,callback:Wr});default:return null}},[Tn]);function wa(){ur("")}(0,ae.useEffect)(()=>{if(sa.current){let Mn=function(ar){On=!0,jn=ar.pageY},An=function(){On=!1},mn=function(ar){if(On){let Vn=ar.pageY-jn;Vn<0&&(Vn=0),Vn>300&&(Vn=300);let Gr=Ut+Vn+"px";Er(Gr)}},Sn=sa.current,On=!1,jn=0;return Sn.addEventListener("mousedown",Mn),document.addEventListener("mousemove",mn),document.addEventListener("mouseup",An),()=>{Sn.removeEventListener("mousedown",Mn),document.removeEventListener("mousemove",mn),document.removeEventListener("mouseup",An)}}},[Gt,sa]),(0,ae.useEffect)(()=>{Er(Ut)},[Ut]);const Ia=Ft(xt),ka=Ft(Ir),Na={width:Ia,height:ka},da=(0,ae.useMemo)(()=>{if(Sr){let Mn=new Date(Sr),An=Mn.getHours(),mn=Mn.getMinutes(),Sn=Mn.getSeconds();return An=An<10?"0"+An:An,mn=mn<10?"0"+mn:mn,Sn=Sn<10?"0"+Sn:Sn,`${An}:${mn}:${Sn}`}return 0},[Sr]),ya=Mn=>{const An=[];if(Dn){let mn=-1;Mn=Mn.replace(/(@▁▁@|@▁@)/g,function(Sn,On,jn){An.push({multiLine:Sn!==cn})})}return An};function za(){window.sessionStorage.removeItem(Lt),na(!1),lr(0)}function Yt(){na(!1),lr(0),Gt.setValue(window.sessionStorage.getItem(Lt))}(0,ae.useEffect)(()=>{en[Tn]&&Tn!==It&&Tn!==Bt&&setTimeout(()=>{const Mn=document.getElementsByClassName("markdown-popup-form")[0],An=window.innerWidth/2-Mn.offsetWidth/2,mn=window.innerHeight/2-Mn.offsetHeight/2;Hr(An),Tr(mn)},0)},[Tn]);const hn=Mn=>{Mn.preventDefault();const An=Mn.clientX-Fn,mn=Mn.clientY-Jr;document.body.onmousemove=Sn=>{let On=Sn.clientX-An,jn=Sn.clientY-mn;const ar=document.getElementsByClassName("markdown-popup-form")[0],Vn=window.innerWidth-ar.offsetWidth,Gr=window.innerHeight-ar.offsetHeight;On=Math.max(0,Math.min(On,Vn)),jn=Math.max(0,Math.min(jn,Gr)),Nn(Sn.clientX,Sn.clientY,An,mn)&&(Hr(On),Tr(jn))},document.body.onmouseup=function(){document.body.onmousemove=null}},Nn=(Mn,An,mn,Sn)=>{const On=document.body.clientHeight,jn=document.body.clientWidth;return Mn<20&&mn>Mn||Mn>jn-20&&mnAn||An>On-20&&SnEe in be?oe(be,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):be[Ee]=Ce,ee=(be,Ee)=>{for(var Ce in Ee||(Ee={}))y.call(Ee,Ce)&&b(be,Ce,Ee[Ce]);if(a)for(var Ce of a(Ee))x.call(Ee,Ce)&&b(be,Ce,Ee[Ce]);return be},te=(be,Ee)=>re(be,z(Ee));const{useForm:ce}=ae.default,me={width:280,marginRight:10},ve={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:be,onCancel:Ee})=>{const[Ce]=ce();let De=(0,de.useRef)();function we(Le){De.current.width=Ce.getFieldValue("width"),De.current.align=Ce.getFieldValue("align"),be(Le,De.current)}function Fe(Le,Oe){if(Le.status===-1){Ae.ZP.error(Le.message);return}Ce.setFieldsValue({src:`/api/attachments/${Le.id}`,type:Oe.type})}function Pe(Le){let Oe=Le.target.files[0];De.current=Oe,Se(Oe,Fe)}return ie.createElement(ae.default,te(ee({form:Ce},ve),{className:"upload-image-panel",onFinish:we,style:{width:470,overflow:"hidden"}}),ie.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ie.createElement("div",{className:"flex-container"},ie.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ie.createElement(E.default,{style:me})),ie.createElement(pe,{onFileChange:Pe}))),ie.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ie.createElement(E.default,{style:{width:264}})),ie.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ie.createElement(ye.Z,null,ie.createElement(ae.default.Item,{name:"width",style:{margin:0}},ie.createElement(he.Z,{style:{width:264}})),ie.createElement("span",{className:"ml8"},"%"))),ie.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ie.createElement(le.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ie.createElement("aside",null,ie.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ie.createElement(ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ie.createElement(ne.ZP,{type:"default",onClick:Ee},"\u53D6\u6D88"))))};function pe({onFileChange:be}){return ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ie.createElement("input",{type:"file",onChange:be}))}function Se(be,Ee){if(!be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw Ae.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ce=new FormData;Ce.append("editormd-image-file",be),Ce.append("file_param_name","editormd-image-file"),Ce.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(we){Ee(JSON.parse(we.target.responseText),be)},!1),De.addEventListener("error",function(we){console.error(we)},!1),De.open("POST",`${se.KI}/api/attachments.json`),De.send(Ce)}},57261:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return E}});var ae=fe(59301),Ae=fe(4676);class E extends ae.Component{constructor(he){super(he);const le=window.document;this.node=le.createElement("div"),le.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,Ae.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},77825:function(vt,at,fe){"use strict";var ae=fe(829),Ae=fe(57809),E=fe(78673),ye=fe(59301);const he=Ae.default.Option;at.Z=({isTheoretical:le,onFontSizeChange:ne,cmFontSize:se,cmCodeMode:de,autoFormat:ue,onCodeModeChange:ie,onTabToSpace:oe,onAutoFormat:re,formatDocument:z,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee,shixun_environment_id:te,shixun_environments:ce})=>{var me;const ve={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},ge=(me=ce==null?void 0:ce.find(pe=>pe.shixun_environment_id===te))==null?void 0:me.program_language;return ye.createElement("div",{className:`tpi-code-setting ${a}`},ye.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),ye.createElement(Ae.default,{bordered:!1,size:"small",value:de,onChange:ie},ye.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),ye.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!le&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),ye.createElement(Ae.default,{bordered:!1,size:"small",value:se,onChange:ne},ye.createElement(he,{value:12},"12px"),ye.createElement(he,{value:14},"14px"),ye.createElement(he,{value:16},"16px"),ye.createElement(he,{value:18},"18px"),ye.createElement(he,{value:20},"20px"),ye.createElement(he,{value:22},"22px"))),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"Tab\u8F6C\u6362"),ye.createElement(E.Z,{checked:y,onChange:oe})),ye.createElement("div",{className:"file-item",onClick:z},ye.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!le&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),ye.createElement("span",null,"Ctrl + S")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),ye.createElement("span",null,"F1 / Alt + F1")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),ye.createElement("span",null,"Ctrl + ]/[")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),ye.createElement("span",null,"Ctrl + Shift + \\")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),ye.createElement("span",null,"Home")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),ye.createElement("span",null,"End"))),x),!le&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ge&&ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),ye.createElement("span",null,ge)),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),ye.createElement("span",null,ve[ee==null?void 0:ee.difficulty])),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),ye.createElement("span",null,b==null?void 0:b.name)),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),ye.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},61584:function(vt,at,fe){"use strict";fe.d(at,{i:function(){return ve},Z:function(){return pe}});var ae={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},Ae=fe(71418),E=fe(6848),ye=fe(93948),he=fe(92310),le=fe.n(he),ne=fe(65862),se=fe(2524),de=fe(41867),ue=fe(79005),ie=fe(20345),oe=fe(77882),re=fe(31081),z=fe(75309),a=fe(71979),y=fe(47558),x=fe(42922),b=fe(66832),ee=fe(96593),te=fe(19664),ce=fe(91833),me=fe(59301);const ve=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ue,swimg:ie},{name:"101\u8BA1\u5212",ptimg:oe,swimg:re},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:z,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:ce}];var pe=({className:Se,dataSource:be=[],col:Ee=4,right:Ce,bottom:De=23,precision:we=0,wrapWidth:Fe=1200,trackEventItems:Pe,loading:Le,onRemove:Oe=()=>{},isCurrent:We=!0,showAlias:Te=!1,showProgress:Ue=!1})=>{const He=Math.floor((Fe-(Ee-1)*Ce)/Ee),Qe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Ge=>(window.ENV==="build"&&(Ge.ptimg=`/react/build${Ge.ptimg}`,Ge.swimg=`/react/build${Ge.swimg}`),Ge));return me.createElement(Ae.Z,{spinning:Le},me.createElement("div",{className:le()(ae.list,Se)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((Ge,ze)=>{var _e,Ve,tt,Xe,lt,Je;const{name:Ke,id:Me,identifier:et,featured:Ie,school_name:Re,image_url:qe,excellent:Ye,is_plan:ke}=Ge;return me.createElement("div",{key:Me,className:We&&Ue?ae.wrapisCurrent:ae.wrap,style:{width:He,marginRight:(1+ze)%Ee===0?0:Ce+we,marginBottom:De}},me.createElement("a",{className:ae.li,onClick:xe=>{xe.preventDefault(),xe.stopPropagation(),Pe&&(0,ne.L9)([Pe]),(0,ne.xg)(`/paths/${et}`)}},me.createElement("div",{className:ae.img},me.createElement("img",{className:ae.cover,src:`${qe}`}),We&&(0,de.bg)()&&(Ge==null?void 0:Ge.studying)&&me.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:xe=>{xe.stopPropagation(),Oe(Ge)}},me.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),me.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_e=Ge==null?void 0:Ge.subject_tags)==null?void 0:_e.map((xe,Ne)=>{var Be,je;if(Ne===0){const nt=(Be=Qe.find(Ze=>Ze.name==xe))==null?void 0:Be.swimg;return me.createElement("img",{className:ae.sign,src:nt,style:{left:"-4px"}})}const $e=(je=Qe.find(nt=>nt.name==xe))==null?void 0:je.ptimg;return me.createElement("img",{className:ae.sign,src:$e,style:{left:`${48+52*(Ne-1)+2*Ne}px`}})}),me.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ge==null?void 0:Ge.excellent)&&me.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),me.createElement("div",{className:ae.name},me.createElement(E.Z,{title:Te&&(Ge!=null&&Ge.excellent_alias_name)?me.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ke}`,me.createElement("br",null),me.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ge==null?void 0:Ge.excellent_alias_name}`)):Ke},me.createElement("span",{className:ae.e},Te&&(Ge==null?void 0:Ge.excellent_alias_name)||Ke))),We&&Ue&&((Ve=Ge==null?void 0:Ge.progress)==null?void 0:Ve.all_score)!=0&&me.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},me.createElement(ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((tt=Ge==null?void 0:Ge.progress)==null?void 0:tt.my_score)/((Xe=Ge==null?void 0:Ge.progress)==null?void 0:Xe.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(lt=Ge==null?void 0:Ge.progress)==null?void 0:lt.my_score,"/",(Je=Ge==null?void 0:Ge.progress)==null?void 0:Je.all_score),(!We||!Ue)&&me.createElement("div",{className:ae.tags},me.createElement("div",null,me.createElement(E.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),me.createElement("span",null,Ge.stages_count))),me.createElement(E.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),me.createElement("span",null,Ge.members_count)))))))})),!be.length&&me.createElement(se.Z,null)))}},3918:function(vt,at,fe){"use strict";fe.d(at,{jL:function(){return he},w9:function(){return Ft},vv:function(){return xt},dN:function(){return en},QD:function(){return Kn},cQ:function(){return Ne.Z},vg:function(){return _t},Oz:function(){return En},op:function(){return lr},O5:function(){return da},_b:function(){return Or},t7:function(){return De},tT:function(){return Pe},Gi:function(){return Hn},YG:function(){return _n},Ed:function(){return bn},kT:function(){return Lt},qp:function(){return x},Um:function(){return ve},K3:function(){return te},vr:function(){return Hr},qE:function(){return $r},Je:function(){return We},wb:function(){return Je},rC:function(){return xe},lB:function(){return et},cq:function(){return zt},kO:function(){return Pn},tp:function(){return Se},Si:function(){return Yt},k8:function(){return mr},Du:function(){return jn}});var ae=fe(59301),Ae={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWot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WCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",he=({dataSource:Wt=[],img:Rt,imgWidth:Kt=346,title:gn,sunTitle:Gn,bannerExtraContent:qn})=>ae.createElement("div",{className:Ae.banner},ae.createElement("div",{className:Ae.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,gn),ae.createElement("span",null,Gn)),Wt.length>0&&ae.createElement("div",{className:Ae.btns},Wt.map((Cn,nr)=>ae.createElement("div",{key:nr,onClick:Cn.click},Cn.name,Cn.sign?ae.createElement("img",{src:E,width:39}):null))),qn),Rt&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:Rt,width:Kt}))),le={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ne=fe(92310),se=fe.n(ne),de=fe(89392),ue=Object.defineProperty,ie=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,z=(Wt,Rt,Kt)=>Rt in Wt?ue(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Wt[Rt]=Kt,a=(Wt,Rt)=>{for(var Kt in Rt||(Rt={}))oe.call(Rt,Kt)&&z(Wt,Kt,Rt[Kt]);if(ie)for(var Kt of ie(Rt))re.call(Rt,Kt)&&z(Wt,Kt,Rt[Kt]);return Wt},x=({dataSource:Wt=[],value:Rt,onChange:Kt,onTitleChange:gn,className:Gn,title:qn,titleWidth:Cn=41,style:nr={},fontColor:yr="#6A7283",showCount:Qr,classNameActive:fr,styleItem:er={}})=>{const[aa,oa]=(0,ae.useState)(0),[Ea,Cr]=(0,ae.useState)(!1),Jn=(0,ae.useRef)(null),Dr=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var la;Wt.length!==0&&(((la=Jn==null?void 0:Jn.current)==null?void 0:la.clientHeight)>97?oa(1):oa(0)),Wt.length===0&&oa(0),Cr(!1)},[Wt]),ae.createElement("div",{className:se()(le.row,Gn),style:nr},ae.createElement("div",{onClick:(0,de.throttle)(()=>gn==null?void 0:gn(),2e3),style:{width:Cn,marginTop:Ea?12:4},className:`${le.title} ${gn?"current":""}`},qn),ae.createElement("div",{className:Ea?`${le.tagsWrap} ${le.tagsBorderWrap}`:le.tagsWrap},ae.createElement("div",{className:le.bar,ref:Dr,style:aa>0?{height:aa===1?97:"auto",overflow:aa===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:le.tag,ref:Jn},Wt==null?void 0:Wt.map(la=>ae.createElement("span",{onClick:()=>Kt(la.id),key:la.id,style:a(a({color:yr},er),(la==null?void 0:la.style)||{}),className:Rt===la.id?se()(fr||le.active,la.classNameActive):""},ae.createElement("span",{title:la.name,className:le.name},la.name),!!Qr&&ae.createElement("span",{className:le.num},la.count))))),!!aa&&ae.createElement(ae.Fragment,null,aa===1?ae.createElement("div",{onClick:()=>{var la;oa(2),((la=Jn==null?void 0:Jn.current)==null?void 0:la.clientHeight)>245?Cr(!0):Cr(!1)},className:le.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Dr.current.scrollTop=0,oa(1),Cr(!1)},className:le.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Wt=[],value:Rt,onChange:Kt,onTitleChange:gn,className:Gn,title:qn,titleWidth:Cn=41,style:nr={},fontColor:yr="#6A7283",showCount:Qr,expand:fr=!0})=>{const[er,aa]=(0,ae.useState)(0),[oa,Ea]=(0,ae.useState)(!1),Cr=(0,ae.useRef)(null),Jn=(0,ae.useRef)(null),[Dr,la]=(0,ae.useState)(fr);return ae.createElement("div",{className:se()(b.row,Gn),style:nr},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,de.throttle)(()=>gn==null?void 0:gn(),2e3),style:{width:Cn,marginTop:oa?12:4},className:`${b.title} ${gn?"current":""}`},qn),ae.createElement("i",{className:`iconfont ${Dr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Dr?8:10},onClick:()=>la(!Dr)})),Dr&&ae.createElement("div",{className:oa?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},ae.createElement("div",{className:b.fenge}),ae.createElement("div",{className:b.bar,ref:Jn},ae.createElement("div",{className:b.tag,ref:Cr},Wt==null?void 0:Wt.map(xa=>ae.createElement("span",{onClick:()=>Kt(xa.id),key:xa.id,style:{color:yr},className:Rt===xa.id?b.active:""},ae.createElement("span",{title:xa.name,className:b.name},xa.name),!!Qr&&ae.createElement("span",{className:b.num},xa.count)))))))},ce={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ve=({dataSource:Wt=[],value:Rt,onChange:Kt,onTitleChange:gn,className:Gn,title:qn,titleWidth:Cn=41,style:nr={},fontColor:yr="#fff",showCount:Qr,expand:fr=!0})=>{const[er,aa]=(0,ae.useState)(0),[oa,Ea]=(0,ae.useState)(!1),Cr=(0,ae.useRef)(null),Jn=(0,ae.useRef)(null),[Dr,la]=(0,ae.useState)(fr);return ae.createElement("div",{className:se()(ce.row,Gn),style:nr},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,de.throttle)(()=>gn==null?void 0:gn(),2e3),style:{width:Cn},className:`${ce.title} ${gn?"current":""}`},qn),ae.createElement("i",{className:`iconfont ${Dr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Dr?"#00DDC7":"#037F74",fontSize:Dr?10:12},onClick:()=>la(!Dr)})),Dr&&ae.createElement("div",{className:oa?`${ce.tagsWrap} ${ce.tagsBorderWrap}`:ce.tagsWrap},ae.createElement("div",{className:ce.bar,ref:Jn},ae.createElement("div",{className:ce.tag,ref:Cr},Wt==null?void 0:Wt.map(xa=>ae.createElement("span",{onClick:()=>Kt(xa.id),key:xa.id,style:{color:yr},className:Rt===xa.id?ce.active:""},ae.createElement("span",{title:xa.name,className:ce.name},xa.name),!!Qr&&ae.createElement("span",{className:ce.num},xa.count)))))))},ge={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Se=({dataSource:Wt=[],value:Rt,onChange:Kt,className:gn,style:Gn={}})=>ae.createElement("div",{style:Gn,className:se()(ge.tabs,gn)},Wt.map(qn=>ae.createElement("span",{onClick:()=>Kt(qn.id),className:Rt===qn.id?ge.active:"",key:qn.id},qn.name))),be={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ee=fe(92832),De=({dataSource:Wt=[],value:Rt="",onChange:Kt,onInputChange:gn=()=>{},className:Gn,style:qn={},placeholder:Cn,allowClear:nr=!1})=>{var yr;const[Qr,fr]=(0,ae.useState)(""),[er,aa]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Cr;let Jn=Rt;(Cr=JSON.stringify(Rt))!=null&&Cr.includes("{")&&(fr(Rt.id),Jn=Rt.value||"");try{aa(decodeURIComponent(Jn||""))}catch(Dr){aa(decodeURIComponent(Jn||""))}},[Rt]);const oa=()=>{Kt(encodeURIComponent(er),Qr||null)},Ea=Cr=>{Cr!==Qr&&(fr(Cr),Kt(encodeURIComponent(er),Cr))};return ae.createElement("div",{className:se()(be.input,Gn),style:qn},!!Wt.length&&ae.createElement("div",{className:be.dropdown},ae.createElement("div",{className:be.text},(yr=Wt.find(Cr=>Cr.id===Qr))==null?void 0:yr.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:be.b1}),ae.createElement("b",{className:be.b2})),ae.createElement("div",{className:be.menu},Wt.map((Cr,Jn)=>ae.createElement("div",{key:Jn,onClick:()=>Ea(Cr.id)},Cr.name)))),ae.createElement(Ee.default,{onPressEnter:oa,value:er,onChange:Cr=>{aa(Cr.target.value),gn(encodeURIComponent(Cr.target.value),Qr||null)},bordered:!1,placeholder:Cn}),ae.createElement("i",{onClick:oa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},we={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Pe=({dataSource:Wt=[],value:Rt="",onChange:Kt,onInputChange:gn=()=>{},className:Gn,style:qn={},placeholder:Cn,allowClear:nr=!1})=>{var yr;const[Qr,fr]=(0,ae.useState)(""),[er,aa]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Cr;let Jn=Rt;(Cr=JSON.stringify(Rt))!=null&&Cr.includes("{")&&(fr(Rt.id),Jn=Rt.value||"");try{aa(decodeURIComponent(Jn||""))}catch(Dr){aa(decodeURIComponent(Jn||""))}},[Rt]);const oa=()=>{Kt(encodeURIComponent(er),Qr||null)},Ea=Cr=>{Cr!==Qr&&(fr(Cr),Kt(encodeURIComponent(er),Cr))};return ae.createElement("div",{className:se()(we.input,Gn),style:qn},!!Wt.length&&ae.createElement("div",{className:we.dropdown},ae.createElement("div",{className:we.text},(yr=Wt.find(Cr=>Cr.id===Qr))==null?void 0:yr.name,ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ae.createElement("div",{className:we.menu},Wt.map((Cr,Jn)=>ae.createElement("div",{key:Jn,onClick:()=>Ea(Cr.id)},Cr.name)))),ae.createElement(Ee.default,{onPressEnter:oa,value:er,onChange:Cr=>{aa(Cr.target.value),gn(encodeURIComponent(Cr.target.value),Qr||null)},bordered:!1,placeholder:Cn}),ae.createElement("i",{onClick:oa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Le={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},We=({value:Wt,onChange:Rt,className:Kt,total:gn,pageSize:Gn,style:qn={}})=>{const Cn=Wt<2,nr=Wt>=Math.ceil(gn/Gn);return gn<=Gn?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:se()(Le.quickPager,Kt),style:qn},ae.createElement("div",{onClick:()=>{Cn||Rt(Wt-1,"prev")},className:Cn?Le.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{nr||Rt(Wt+1,"next")},className:nr?Le.disabled:""},"\u4E0B\u4E00\u9875"))},Te={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Ue=fe(71418),He=fe(6848),Qe=fe(13570),Ge=fe(74128),ze=fe(65862),_e=fe(96908),Ve=fe(57177),tt=fe(81378),Xe=fe(2524),Je=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,trackEventItems:nr,loading:yr})=>{const Qr=Math.floor((Cn-(Kt-1)*gn)/Kt);return ae.createElement(Ue.Z,{spinning:yr},ae.createElement("div",{className:se()(Te.list,Wt)},!!Rt.length&&Rt.map((fr,er)=>{const{name:aa,id:oa,identifier:Ea,power:Cr,cover_image_id:Jn,pic:Dr}=fr;return ae.createElement("div",{className:Te.wrap,key:oa,style:{width:Qr,marginRight:(1+er)%Kt===0?0:gn+qn,marginBottom:Gn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Ea}/challenges`,className:Te.li,onClick:la=>{la.preventDefault(),nr&&(0,ze.L9)([nr]),Cr&&(0,ze.xg)(`/shixuns/${Ea}/challenges`)}},ae.createElement("div",{className:Te.img},ae.createElement("img",{className:Te.cover,src:`${Dr}`}),fr.is_jupyter&&ae.createElement("img",{className:Te.sign,src:_e}),fr.is_jupyter_lab&&ae.createElement("img",{className:Te.sign,src:Ve}),fr.is_unity_3d&&ae.createElement("img",{className:Te.sign,src:tt})),ae.createElement("div",{className:Te.name},ae.createElement(He.Z,{title:aa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Te.e},aa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:Te.tags},ae.createElement(He.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,fr.challenges_count))),!!fr.myshixuns_count&&ae.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,fr.myshixuns_count))),ae.createElement(He.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,fr.level))),ae.createElement("div",{className:Te.rate},ae.createElement(Qe.Z,{allowHalf:!0,disabled:!0,defaultValue:fr.score_info}),ae.createElement("span",null,"\xA0",fr.score_info?`${fr.score_info}\u5206`:"5\u5206")))),!Cr&&ae.createElement("div",{className:Te.lockWrap},ae.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Rt.length&&ae.createElement(Xe.Z,null)))},Ke={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},et=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,wrapClassName:nr,trackEventItems:yr,loading:Qr})=>{const fr=Math.floor((Cn-(Kt-1)*gn)/Kt);return ae.createElement(Ue.Z,{spinning:Qr},ae.createElement("div",{className:se()(Ke.list,Wt)},!!Rt.length&&Rt.map((er,aa)=>{const{name:oa,id:Ea,identifier:Cr,power:Jn,cover_image_id:Dr,pic:la}=er;return ae.createElement("div",{className:se()(Ke.wrap,nr),key:Ea,style:{width:fr,marginRight:(1+aa)%Kt===0?0:gn+qn,marginBottom:Gn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Cr}/challenges`,className:Ke.li,onClick:xa=>{xa.preventDefault(),yr&&(0,ze.L9)([yr]),Jn&&(0,ze.xg)(`/shixuns/${Cr}/challenges`)}},ae.createElement("img",{src:fe(47621),className:Ke.titleBg}),ae.createElement("div",{className:Ke.name},ae.createElement(He.Z,{title:oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Ke.e},oa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:Ke.img},ae.createElement("img",{className:Ke.cover,src:Dr?`${Ge.Z.API_SERVER}/api/attachments/${Dr}`:`${Ge.Z.IMG_SERVER+la}`}),er.is_jupyter&&ae.createElement("div",{className:Ke.bq},"Jupyter"),er.is_jupyter_lab&&ae.createElement("div",{className:Ke.bq},"JupyterLab"),er.is_unity_3d&&ae.createElement("div",{className:Ke.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ae.createElement("div",{className:"mt20 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Ke.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Ke.value},er.myshixuns_count)),ae.createElement("div",null,ae.createElement("span",{className:Ke.text},"\u56F0\u96BE\u7B49\u7EA7"),ae.createElement("span",{className:Ke.value},er.level))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Ke.text},"\u5173\u5361\u6570"),ae.createElement("span",{className:Ke.value},er.challenges_count)),ae.createElement("div",{className:Ke.rate},ae.createElement(Qe.Z,{allowHalf:!0,disabled:!0,defaultValue:er.score_info}),ae.createElement("span",{className:Ke.value,style:{color:"#FF9C00"}},"\xA0",er.score_info?`${er.score_info}\u5206`:"5\u5206"))))),!Jn&&ae.createElement("div",{className:Ke.lockWrap},ae.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Rt.length&&ae.createElement(Xe.Z,null)))},Ie={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8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C7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",xe=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,trackEventItems:nr,loading:yr,wrapClassName:Qr,imgClassName:fr})=>{const er=Math.floor((Cn-(Kt-1)*gn)/Kt);return ae.createElement(Ue.Z,{spinning:yr},ae.createElement("div",{className:se()(Ie.list,Wt)},!!Rt.length&&Rt.map((aa,oa)=>{const{name:Ea,id:Cr,identifier:Jn,power:Dr,cover_image_id:la,pic:xa}=aa;return ae.createElement("div",{className:se()(Ie.wrap,Qr),key:Cr,style:{width:er,marginRight:(1+oa)%Kt===0?0:gn+qn,marginBottom:Gn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Jn}/challenges`,className:Ie.li,onClick:no=>{no.preventDefault(),nr&&(0,ze.L9)([nr]),Dr&&(0,ze.xg)(`/shixuns/${Jn}/challenges`)}},ae.createElement("div",{className:se()(Ie.img,fr)},ae.createElement("img",{className:Ie.cover,src:la?`${Ge.Z.API_SERVER}/api/attachments/${la}`:`${Ge.Z.IMG_SERVER+xa}`}),aa.is_jupyter&&ae.createElement("img",{className:Ie.sign,src:Re}),aa.is_jupyter_lab&&ae.createElement("img",{className:Ie.sign,src:qe}),aa.is_unity_3d&&ae.createElement("img",{className:Ie.sign,src:Ye})),ae.createElement("div",{className:Ie.name},ae.createElement(He.Z,{title:Ea||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Ie.e},Ea||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:Ie.tags},ae.createElement(He.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,aa.challenges_count))),!!aa.myshixuns_count&&ae.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,aa.myshixuns_count))),ae.createElement(He.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,aa.level))),ae.createElement("div",{className:Ie.rate},ae.createElement(Qe.Z,{allowHalf:!0,disabled:!0,defaultValue:aa.score_info}),ae.createElement("span",null,"\xA0",aa.score_info?`${aa.score_info}\u5206`:"5\u5206")))),!Dr&&ae.createElement("div",{className:Ie.lockWrap},ae.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Rt.length&&ae.createElement(Xe.Z,null)))},Ne=fe(61584),Be={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},je=fe(79005),$e=fe(20345),nt=fe(77882),Ze=fe(31081),rt=fe(75309),yt=fe(71979),ct=fe(47558),bt=fe(42922),dt=fe(66832),ht=fe(96593),ot=fe(19664),ut=fe(91833),mt=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Ht=(Wt,Rt,Kt)=>Rt in Wt?mt(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Wt[Rt]=Kt,qt=(Wt,Rt)=>{for(var Kt in Rt||(Rt={}))Bt.call(Rt,Kt)&&Ht(Wt,Kt,Rt[Kt]);if(Ct)for(var Kt of Ct(Rt))It.call(Rt,Kt)&&Ht(Wt,Kt,Rt[Kt]);return Wt};const yn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:je,swimg:$e},{name:"101\u8BA1\u5212",ptimg:nt,swimg:Ze},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:rt,swimg:yt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ct,swimg:bt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:dt,swimg:ht},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ot,swimg:ut}];var En=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,trackEventItems:nr,loading:yr,wrapClassName:Qr,imgClassName:fr,isArrow:er=!1,imgStyle:aa={}})=>{const oa=Math.floor((Cn-(Kt-1)*gn)/Kt),[Ea,Cr]=(0,ae.useState)(),[Jn,Dr]=(0,ae.useState)(),la=no=>Cr(no),xa=()=>Cr(-1);return ae.createElement(Ue.Z,{spinning:yr},ae.createElement("div",{className:se()(Be.list,Wt)},!!(Rt!=null&&Rt.length)&&(Rt==null?void 0:Rt.map((no,Eo)=>{var jo;const{name:Zo,id:Ko,identifier:Vo,featured:ko,school_name:Ao,image_url:_o,excellent:Fo,is_plan:Qo}=no;return ae.createElement("div",{key:Ko,className:se()(Be.wrap,Qr),style:{width:oa,marginRight:(1+Eo)%Kt===0?0:gn+qn,marginBottom:Gn}},ae.createElement("a",{target:"_blank",href:`/paths/${Vo}`,className:Be.li,onClick:Po=>{Po.preventDefault(),nr&&(0,ze.L9)([nr]),(0,ze.xg)(`/paths/${Vo}`)}},ae.createElement("img",{src:fe(39057),className:Be.titleBg}),ae.createElement("div",{className:Be.name},ae.createElement(He.Z,{title:Zo},ae.createElement("span",{className:Be.e,style:{color:er&&Ea===Eo?"#145DFF":"#000000"},onMouseEnter:()=>{la(Eo)},onMouseLeave:xa},Zo))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:se()(Be.img,fr)},ae.createElement("img",{className:Be.cover,style:qt({},aa),src:`${Ge.Z.IMG_SERVER+_o}`}),(jo=no==null?void 0:no.subject_tags)==null?void 0:jo.map((Po,Co)=>{var Yo,ai;if(Co===0){const Xo=(Yo=yn.find(ti=>ti.name==Po))==null?void 0:Yo.swimg;return ae.createElement("img",{className:Be.sign,src:Xo,style:{left:"-4px"}})}const ii=(ai=yn.find(Xo=>Xo.name==Po))==null?void 0:ai.ptimg;return ae.createElement("img",{className:Be.sign,src:ii,style:{left:`${48+52*(Co-1)+2*Co}px`}})}),ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(no==null?void 0:no.excellent)&&ae.createElement("div",{className:Be.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Be.text},"\u7AE0\u8282\u6570"),ae.createElement("span",{className:Be.value},no.stages_count)),ae.createElement("div",null,ae.createElement("span",{className:Be.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Be.value},no.members_count))))))})),!Rt.length&&ae.createElement(Xe.Z,null)))},pn={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Qn=fe(41867),Bn=fe(59301);const un=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:je,swimg:$e},{name:"101\u8BA1\u5212",ptimg:nt,swimg:Ze},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:rt,swimg:yt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ct,swimg:bt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:dt,swimg:ht},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ot,swimg:ut}];var _t=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,trackEventItems:nr,loading:yr,onRemove:Qr=()=>{},isCurrent:fr=!0,showAlias:er=!1,wrapClassName:aa,imgClassName:oa})=>{const Ea=Math.floor((Cn-(Kt-1)*gn)/Kt),Cr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Jn=>(window.ENV==="build"&&(Jn.ptimg=`/react/build${Jn.ptimg}`,Jn.swimg=`/react/build${Jn.swimg}`),Jn));return Bn.createElement(Ue.Z,{spinning:yr},Bn.createElement("div",{className:se()(pn.list,Wt)},!!(Rt!=null&&Rt.length)&&(Rt==null?void 0:Rt.map((Jn,Dr)=>{var la;const{name:xa,id:no,identifier:Eo,featured:jo,school_name:Zo,image_url:Ko,excellent:Vo,is_plan:ko}=Jn;return Bn.createElement("div",{key:no,className:se()(pn.wrap,aa),style:{width:Ea,marginRight:(1+Dr)%Kt===0?0:gn+qn,marginBottom:Gn}},Bn.createElement("a",{className:pn.li,onClick:Ao=>{Ao.preventDefault(),Ao.stopPropagation(),nr&&(0,ze.L9)([nr]),(0,ze.xg)(`/paths/${Eo}`)}},Bn.createElement("div",{className:se()(pn.img,oa)},Bn.createElement("img",{className:pn.cover,src:`${Ge.Z.IMG_SERVER+Ko}`}),fr&&(0,Qn.bg)()&&(Jn==null?void 0:Jn.studying)&&Bn.createElement("div",{className:`${pn.movebq} user-path-items`,onClick:Ao=>{Ao.stopPropagation(),Qr(Jn)}},Bn.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Bn.createElement("span",{className:"c-red"},"\u79FB\u9664")),(la=Jn==null?void 0:Jn.subject_tags)==null?void 0:la.map((Ao,_o)=>{var Fo,Qo;if(_o===0){const Co=(Fo=Cr.find(Yo=>Yo.name==Ao))==null?void 0:Fo.swimg;return Bn.createElement("img",{className:pn.sign,src:Co,style:{left:"-4px"}})}const Po=(Qo=Cr.find(Co=>Co.name==Ao))==null?void 0:Qo.ptimg;return Bn.createElement("img",{className:pn.sign,src:Po,style:{left:`${48+52*(_o-1)+2*_o}px`}})}),Bn.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Jn==null?void 0:Jn.excellent)&&Bn.createElement("div",{className:pn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Bn.createElement("div",{className:pn.name},Bn.createElement(He.Z,{title:er&&(Jn!=null&&Jn.excellent_alias_name)?Bn.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${xa}`,Bn.createElement("br",null),Bn.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Jn==null?void 0:Jn.excellent_alias_name}`)):xa},Bn.createElement("span",{className:pn.e},er&&(Jn==null?void 0:Jn.excellent_alias_name)||xa))),Bn.createElement("div",{className:pn.tags},Bn.createElement("div",null,Bn.createElement(He.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Bn.createElement("span",null,Bn.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Bn.createElement("span",null,Jn.stages_count))),Bn.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Bn.createElement("span",null,Bn.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Bn.createElement("span",null,Jn.members_count)))))))})),!Rt.length&&Bn.createElement(Xe.Z,null)))},tn={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k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XVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ot=fe(59301),Ft=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,trackEventItems:nr,loading:yr})=>{const Qr=Math.floor((Cn-(Kt-1)*gn)/Kt);return Ot.createElement(Ue.Z,{spinning:yr},Ot.createElement("div",{className:se()(tn.list,Wt)},!!Rt.length&&Rt.map((fr,er)=>{const{subject_identifier:aa,id:oa,identifier:Ea,power:Cr}=fr,Jn=fr.is_public!=0&&fr.is_public;return Ot.createElement("div",{className:tn.wrap,key:oa,style:{width:Qr,marginRight:(1+er)%Kt===0?0:gn+qn,marginBottom:Gn}},Ot.createElement("a",{className:tn.li,onClick:Dr=>{Dr.preventDefault(),nr&&(0,ze.L9)([nr]),(0,ze.xg)(fr.first_category_url)}},Ot.createElement("div",{className:tn.top},Ot.createElement(He.Z,{title:fr.name},Ot.createElement("div",{className:tn.name},fr.name)),Ot.createElement("img",{className:tn.img,src:Ge.Z.IMG_SERVER+"/images/"+fr.avatar_url}),Ot.createElement("div",{className:tn.text,title:fr.creator},fr.creator),aa&&Ot.createElement("div",{className:tn.btns},Ot.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ot.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Jn&&Ot.createElement("div",{className:tn.sign},"\u516C\u5F00")),Ot.createElement("div",{className:tn.bottom},fr.visits>0&&Ot.createElement(He.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ot.createElement("span",null,Ot.createElement("i",{className:"iconfont icon-liulanyan"}),Ot.createElement("span",null,fr.visits))),fr.course_members_count>0&&Ot.createElement(He.Z,{title:"\u6210\u5458",placement:"bottom"},Ot.createElement("span",null,Ot.createElement("i",{className:"iconfont icon-chengyuan"}),fr.course_members_count)),fr.tasks_count>0&&Ot.createElement(He.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ot.createElement("span",null,Ot.createElement("i",{className:"iconfont icon-zuoye"}),fr.tasks_count)),fr.is_end?Ot.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ot.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!fr.is_accessible&&Ot.createElement("div",{className:tn.lockWrap},Ot.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ot.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rt.length&&Ot.createElement(Xe.Z,null)))},kt={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ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vAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",en=({className:Wt,dataSource:Rt=[],col:Kt=4,right:gn,bottom:Gn=23,precision:qn=0,wrapWidth:Cn=1200,wrapClassName:nr,trackEventItems:yr,loading:Qr})=>{const fr=Math.floor((Cn-(Kt-1)*gn)/Kt);return ae.createElement(Ue.Z,{spinning:Qr},ae.createElement("div",{className:se()(kt.list,Wt)},!!Rt.length&&Rt.map((er,aa)=>{const{subject_identifier:oa,id:Ea,identifier:Cr,power:Jn}=er,Dr=er.is_public!=0&&er.is_public;return ae.createElement("div",{className:se()(`${kt.wrap} ${er.is_accessible?"":kt.warpStyle}`,nr),key:Ea,style:{width:fr,marginRight:(1+aa)%Kt===0?0:gn+qn,marginBottom:Gn}},ae.createElement("a",{className:kt.li,onClick:la=>{la.preventDefault(),yr&&(0,ze.L9)([yr]),(0,ze.xg)(er.first_category_url)}},ae.createElement("div",{className:kt.creator},ae.createElement("img",{className:kt.img,src:Ge.Z.IMG_SERVER+"/images/"+er.avatar_url}),ae.createElement("div",{className:kt.text,title:er.creator},er.creator)),ae.createElement("div",{className:kt.top},ae.createElement(He.Z,{title:er.name},ae.createElement("div",{className:kt.name},er.name)),Dr&&ae.createElement("div",{className:kt.sign},"\u516C\u5F00")),ae.createElement("div",{className:kt.middle},ae.createElement("div",{className:kt.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:kt.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:kt.value},(er==null?void 0:er.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:kt.text},"\u6210\u5458"),ae.createElement("span",{className:kt.value},(er==null?void 0:er.course_members_count)||0))),ae.createElement("div",{className:kt.row},ae.createElement("div",null,ae.createElement("span",{className:kt.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:kt.value},(er==null?void 0:er.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:kt.text},"\u72B6\u6001"),er.is_end?ae.createElement("span",{className:kt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:kt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),oa&&ae.createElement("div",{className:kt.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!er.is_accessible&&ae.createElement("div",{className:kt.lockWrap},ae.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rt.length&&ae.createElement(Xe.Z,null)))},Vt={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1L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:nr,trackEventItems:yr,loading:Qr})=>{const fr=Math.floor((Cn-(Kt-1)*gn)/Kt);return ae.createElement(Ue.Z,{spinning:Qr},ae.createElement("div",{className:se()(Vt.list,Wt)},!!Rt.length&&Rt.map((er,aa)=>{const{subject_identifier:oa,id:Ea,identifier:Cr,power:Jn}=er,Dr=er.is_public!=0&&er.is_public;return ae.createElement("div",{className:se()(`${Vt.wrap} ${er.is_accessible?"":Vt.warpStyle}`,nr),key:Ea,style:{width:fr,marginRight:(1+aa)%Kt===0?0:gn+qn,marginBottom:Gn}},ae.createElement("a",{className:Vt.li,onClick:la=>{la.preventDefault(),yr&&(0,ze.L9)([yr]),(0,ze.xg)(er.first_category_url)}},ae.createElement("div",{className:Vt.creator},ae.createElement("img",{className:Vt.img,src:Ge.Z.IMG_SERVER+"/images/"+er.avatar_url}),ae.createElement("div",{className:Vt.text,title:er.creator},er.creator)),ae.createElement("div",{className:Vt.top},ae.createElement(He.Z,{title:er.name},ae.createElement("div",{className:Vt.name},er.name)),Dr&&ae.createElement("div",{className:Vt.sign})),ae.createElement("div",{className:Vt.middle},ae.createElement("div",{className:Vt.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:Vt.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:Vt.value},(er==null?void 0:er.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:Vt.text},"\u6210\u5458"),ae.createElement("span",{className:Vt.value},(er==null?void 0:er.course_members_count)||0))),ae.createElement("div",{className:Vt.row},ae.createElement("div",null,ae.createElement("span",{className:Vt.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:Vt.value},(er==null?void 0:er.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:Vt.text},"\u72B6\u6001"),er.is_end?ae.createElement("span",{className:Vt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:Vt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),oa&&ae.createElement("div",{className:Vt.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!er.is_accessible&&ae.createElement("div",{className:Vt.lockWrap},ae.createElement("img",{src:`${Ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rt.length&&ae.createElement(Xe.Z,null)))},Ut={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},fn=fe(65582),_n=({dataSource:Wt=[],value:Rt,onChange:Kt,className:gn,style:Gn={},tabBarExtraContent:qn})=>ae.createElement("div",{className:se()(Ut.tabs,gn),style:Gn},ae.createElement("div",{className:Ut.tabsWrap},Wt.map((Cn,nr)=>ae.createElement("aside",{className:Ut.tab,onClick:()=>{Kt(Cn.id),Cn.link&&fn.history.push(Cn.link)},key:nr},ae.createElement("div",{className:Rt===Cn.id?Ut.active:""},Cn.name),(Cn==null?void 0:Cn.resetCount)==null&&(Cn==null?void 0:Cn.total)!==void 0&&ae.createElement("span",null,"\uFF08",Cn==null?void 0:Cn.total,"\uFF09"),(Cn==null?void 0:Cn.resetCount)!==void 0&&(Cn==null?void 0:Cn.total)!==void 0&&ae.createElement(He.Z,{title:(Cn==null?void 0:Cn.tip)!=null?Cn==null?void 0:Cn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Cn==null?void 0:Cn.resetCount),"/",ae.createElement("span",null,Cn==null?void 0:Cn.total),"\uFF09"))))),ae.createElement("div",{className:Ut.tabBar},qn)),wn={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Lt=({dataSource:Wt=[],value:Rt,onChange:Kt,className:gn,style:Gn={},tabBarExtraContent:qn})=>ae.createElement("div",{className:se()(wn.tabs,gn),style:Gn},ae.createElement("div",{className:wn.tabsWrap},Wt.map((Cn,nr)=>ae.createElement("aside",{className:wn.tab,onClick:()=>{Kt(Cn.id),Cn.link&&fn.history.push(Cn.link)},key:nr},ae.createElement("div",{className:Rt===Cn.id?wn.active:""},Cn.name),(Cn==null?void 0:Cn.resetCount)==null&&(Cn==null?void 0:Cn.total)!==void 0&&ae.createElement("span",null,"\uFF08",Cn==null?void 0:Cn.total,"\uFF09"),(Cn==null?void 0:Cn.resetCount)!==void 0&&(Cn==null?void 0:Cn.total)!==void 0&&ae.createElement(He.Z,{title:(Cn==null?void 0:Cn.tip)!=null?Cn==null?void 0:Cn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Cn==null?void 0:Cn.resetCount),"/",ae.createElement("span",null,Cn==null?void 0:Cn.total),"\uFF09"))))),ae.createElement("div",{className:wn.tabBar},qn)),Jt={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},bn=({dataSource:Wt=[],value:Rt,onChange:Kt,className:gn,style:Gn={},tabBarExtraContent:qn})=>ae.createElement("div",{className:se()(Jt.tabs,gn),style:Gn},ae.createElement("div",{className:Jt.tabsWrap},Wt.map((Cn,nr)=>ae.createElement("aside",{className:`${Jt.tab} ${Rt===Cn.id?Jt.active:""}`,onClick:()=>{Kt(Cn.id),Cn.link&&fn.history.push(Cn.link)},key:nr},ae.createElement("div",null,Cn.name),(Cn==null?void 0:Cn.resetCount)==null&&(Cn==null?void 0:Cn.total)!==void 0&&ae.createElement("span",null,"\uFF08",Cn==null?void 0:Cn.total,"\uFF09"),(Cn==null?void 0:Cn.resetCount)!==void 0&&(Cn==null?void 0:Cn.total)!==void 0&&ae.createElement(He.Z,{title:(Cn==null?void 0:Cn.tip)!=null?Cn==null?void 0:Cn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Cn==null?void 0:Cn.resetCount),"/",ae.createElement("span",null,Cn==null?void 0:Cn.total),"\uFF09"))))),ae.createElement("div",{className:Jt.tabBar},qn)),Hn=({className:Wt,style:Rt={},children:Kt})=>ae.createElement("div",{className:se()(Wt),style:Rt},Kt),rn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Pt=fe(38854),gt=fe(20834);const St=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var zt=({sortValue:Wt,dropValue:Rt,className:Kt,onSort:gn,onDrop:Gn,dataSource:qn=St})=>{var Cn;return ae.createElement("div",{className:se()(rn.orderWrap,Kt)},ae.createElement(Pt.Z,{dropdownRender:()=>ae.createElement(gt.default,null,qn.map((nr,yr)=>ae.createElement(gt.default.Item,{key:yr,onClick:()=>Gn(nr.id)},nr.name)))},ae.createElement("span",{className:rn.orderTextWrap},(Cn=qn.find(nr=>Rt===nr.id))==null?void 0:Cn.name)),ae.createElement("span",{className:rn.orderIconWrap},ae.createElement("span",{className:rn.orderAsc},ae.createElement("i",{className:Wt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${rn.cursorPointer} ${rn.active}`:`iconfont icon-sanjiaoxing-up font12 ${rn.cursorPointer}`,onClick:()=>gn(Wt==="asc"?"desc":"asc")})),ae.createElement("span",{className:rn.orderDesc},ae.createElement("i",{className:Wt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${rn.cursorPointer} ${rn.active}`:`iconfont icon-sanjiaoxing-down font12 ${rn.cursorPointer}`,onClick:()=>gn(Wt==="asc"?"desc":"asc")}))))},Zt={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const $t=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Pn=({sortValue:Wt,dropValue:Rt,className:Kt,onSort:gn,onDrop:Gn,dataSource:qn=$t})=>{var Cn;return ae.createElement("div",{className:se()(Zt.orderWrap,Kt)},ae.createElement(Pt.Z,{dropdownRender:()=>ae.createElement(gt.default,null,qn.map((nr,yr)=>ae.createElement(gt.default.Item,{key:yr,onClick:()=>Gn(nr.id)},nr.name)))},ae.createElement("span",{className:Zt.orderTextWrap},(Cn=qn.find(nr=>Rt===nr.id))==null?void 0:Cn.name)),ae.createElement("span",{className:Zt.orderIconWrap},ae.createElement("span",{className:Zt.orderAsc},ae.createElement("i",{className:Wt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>gn(Wt==="asc"?"desc":"asc")})),ae.createElement("span",{className:Zt.orderDesc},ae.createElement("i",{className:Wt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>gn(Wt==="asc"?"desc":"asc")}))))},zn={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Gt=fe(3113),tr=fe(2337),ir=Object.defineProperty,sr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Rn=(Wt,Rt,Kt)=>Rt in Wt?ir(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Wt[Rt]=Kt,$n=(Wt,Rt)=>{for(var Kt in Rt||(Rt={}))vr.call(Rt,Kt)&&Rn(Wt,Kt,Rt[Kt]);if(sr)for(var Kt of sr(Rt))Ln.call(Rt,Kt)&&Rn(Wt,Kt,Rt[Kt]);return Wt},Tn=(Wt,Rt)=>{var Kt={};for(var gn in Wt)vr.call(Wt,gn)&&Rt.indexOf(gn)<0&&(Kt[gn]=Wt[gn]);if(Wt!=null&&sr)for(var gn of sr(Wt))Rt.indexOf(gn)<0&&Ln.call(Wt,gn)&&(Kt[gn]=Wt[gn]);return Kt},ur=(Wt,Rt,Kt)=>new Promise((gn,Gn)=>{var qn=yr=>{try{nr(Kt.next(yr))}catch(Qr){Gn(Qr)}},Cn=yr=>{try{nr(Kt.throw(yr))}catch(Qr){Gn(Qr)}},nr=yr=>yr.done?gn(yr.value):Promise.resolve(yr.value).then(qn,Cn);nr((Kt=Kt.apply(Wt,Rt)).next())}),lr=Wt=>{var Rt=Wt,{className:Kt,style:gn,children:Gn,loading:qn=!1,openLoading:Cn,onClick:nr=()=>{},size:yr="middle",shape:Qr="round",theme:fr}=Rt,er=Tn(Rt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[aa,oa]=(0,ae.useState)(!1),Ea=(0,ae.useMemo)(()=>{switch(fr){case tr.Fy.THEMEONE:return zn.ThemeOne;case tr.Fy.DEFAULT:default:return zn.btn}},[fr]);return ae.createElement(Gt.ZP,$n({onClick:(0,de.throttle)(Cr=>ur(void 0,null,function*(){Cn&&oa(!0);try{yield nr(Cr)}catch(Jn){console.log("error",Jn)}Cn&&oa(!1)}),2e3,{leading:!0,trailing:!1}),className:se()(Ea,zn[`${yr}-${Qr}`],Kt),style:gn,size:yr,shape:Qr,loading:aa||qn},er),Gn)},Ir={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},$r=({className:Wt,style:Rt,children:Kt=null,onClick:gn,title:Gn})=>ae.createElement("div",{className:se()(Ir.head,Wt),style:Rt},ae.createElement("span",{className:"primary-hover",onClick:gn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:Gn},Gn),ae.createElement("div",{className:Ir.node},Kt)),na={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Kn=({confirmShow:Wt=!0,confirmTitle:Rt,confirmClick:Kt,cancelShow:gn=!0,cancelTitle:Gn,cancelClick:qn,className:Cn,style:nr,confirmLoading:yr=!1})=>ae.createElement("div",{className:se()(na.btns,Cn),style:nr},Wt&&ae.createElement(Gt.ZP,{loading:yr,onClick:Kt,type:"primary",className:na.confirm},Rt),gn&&ae.createElement(Gt.ZP,{onClick:qn,className:na.cancel},Gn)),Xn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Hr=({className:Wt,style:Rt={},LeftContent:Kt,children:gn,RightContent:Gn})=>ae.createElement("div",{className:se()(Xn.fixedBottom,Wt),style:Rt},ae.createElement("div",{className:Xn.wrap},ae.createElement("div",{className:Xn.left},Kt),ae.createElement("div",{className:Xn.center},gn),ae.createElement("div",{className:Xn.right},Gn))),Jr={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Or=({className:Wt,style:Rt={},dataSource:Kt=[]})=>ae.createElement("div",{className:se()(Jr.crumbs,Wt),style:Rt},Kt.map((gn,Gn)=>Gnfn.history.push(gn.path)},gn.name):ae.createElement("span",null,gn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:Gn,style:{color:"#5F6368"}},gn.name))),Ur=fe(31797),sa=Object.defineProperty,ra=Object.defineProperties,xr=Object.getOwnPropertyDescriptors,wr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,Wr=(Wt,Rt,Kt)=>Rt in Wt?sa(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Wt[Rt]=Kt,ha=(Wt,Rt)=>{for(var Kt in Rt||(Rt={}))Br.call(Rt,Kt)&&Wr(Wt,Kt,Rt[Kt]);if(wr)for(var Kt of wr(Rt))Mr.call(Rt,Kt)&&Wr(Wt,Kt,Rt[Kt]);return Wt},wa=(Wt,Rt)=>ra(Wt,xr(Rt)),Ia=(Wt,Rt)=>{var Kt={};for(var gn in Wt)Br.call(Wt,gn)&&Rt.indexOf(gn)<0&&(Kt[gn]=Wt[gn]);if(Wt!=null&&wr)for(var gn of wr(Wt))Rt.indexOf(gn)<0&&Mr.call(Wt,gn)&&(Kt[gn]=Wt[gn]);return Kt};const{Countdown:ka}=Ur.default;var da=Wt=>{var Rt=Wt,{onChange:Kt}=Rt,gn=Ia(Rt,["onChange"]);const[Gn,qn]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof Gn=="number"&&Gn>=0&&Kt(Gn)},[Gn]);const Cn=nr=>{const yr=Math.floor(nr/1e3);qn(yr)};return ae.createElement(ka,wa(ha({},gn),{onChange:Cn}))},ya={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Yt=({DataProps:Wt,className:Rt,style:Kt={}})=>{var gn;return ae.createElement("div",{className:se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ya.ClassRoomItem,Rt),style:Kt,onClick:()=>{(0,ze.xg)(Wt==null?void 0:Wt.first_category_url)}},ae.createElement("div",{className:"flex flex-col item-center"},ae.createElement("img",{src:`${(gn=Ge.Z)==null?void 0:gn.IMG_SERVER}/images/${Wt==null?void 0:Wt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Wt==null?void 0:Wt.subject_identifier)&&ae.createElement("div",{className:"mt-40px"},ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Wt!=null&&Wt.is_public)&&ae.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ae.createElement("span",{className:se()("text-16px font-medium",ya.TitleDom)},Wt==null?void 0:Wt.name)),ae.createElement("div",{className:"c-grey-333 font-medium"},Wt==null?void 0:Wt.creator),ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Wt==null?void 0:Wt.course_members_count),ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Wt==null?void 0:Wt.tasks_count),Wt!=null&&Wt.is_end?ae.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},hn=Object.defineProperty,Nn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,mn=(Wt,Rt,Kt)=>Rt in Wt?hn(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Wt[Rt]=Kt,Sn=(Wt,Rt)=>{for(var Kt in Rt||(Rt={}))Mn.call(Rt,Kt)&&mn(Wt,Kt,Rt[Kt]);if(Nn)for(var Kt of Nn(Rt))An.call(Rt,Kt)&&mn(Wt,Kt,Rt[Kt]);return Wt},jn=({DataProps:Wt=[],selectValue:Rt,onChange:Kt,className:gn,style:Gn={},extra:qn,classNameItem:Cn,styleItem:nr={},barHidden:yr})=>{const[Qr,fr]=(0,ae.useState)();return(0,ae.useEffect)(()=>{fr(Array.isArray(Rt)?Rt:[Rt])},[Rt]),ae.createElement("div",{className:se()("flex px-20px py-10px gap-40px",gn),style:Sn({borderBottom:"1px solid #D3F0FF"},Gn)},Wt==null?void 0:Wt.map(er=>ae.createElement("div",{key:er==null?void 0:er.id,className:se()("flex item-center justify-center current c-grey-333 text-16 relative",Cn,er==null?void 0:er.className),style:Sn(Sn({color:Qr!=null&&Qr.includes(er==null?void 0:er.id)?"#1890FF":"",minWidth:88},nr),(er==null?void 0:er.style)||{}),onClick:aa=>{Kt==null||Kt({domEvent:aa,item:er}),er!=null&&er.link&&fn.history.push(er==null?void 0:er.link)}},er==null?void 0:er.name,!yr&&(Qr==null?void 0:Qr.includes(er==null?void 0:er.id))&&ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ae.createElement("div",{className:"ml-auto"},qn))},ar=Object.defineProperty,Vn=Object.defineProperties,Gr=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,gr=(Wt,Rt,Kt)=>Rt in Wt?ar(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Wt[Rt]=Kt,_r=(Wt,Rt)=>{for(var Kt in Rt||(Rt={}))pa.call(Rt,Kt)&&gr(Wt,Kt,Rt[Kt]);if(hr)for(var Kt of hr(Rt))Rr.call(Rt,Kt)&&gr(Wt,Kt,Rt[Kt]);return Wt},Kr=(Wt,Rt)=>Vn(Wt,Gr(Rt)),mr=({value:Wt,onChange:Rt,onInputChange:Kt,className:gn,style:Gn={},InputProps:qn})=>{const[Cn,nr]=(0,ae.useState)(Wt);return ae.createElement("div",{className:se()("flex item-center rounded-full px-10px py-2px",gn),style:_r({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Gn)},ae.createElement(Ee.default,Kr(_r({bordered:!1},qn),{onChange:yr=>{nr(yr.target.value),Kt==null||Kt(encodeURIComponent(yr.target.value))},onPressEnter:yr=>{Rt==null||Rt({domEvent:yr,item:{value:Cn}})}})),ae.createElement("img",{className:"h-22px current",src:fe(25365),height:22,onClick:yr=>{Rt==null||Rt({domEvent:yr,item:{value:Cn}})}}))}},31103:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ae}});var ae=fe(59301);function Ae(E,ye){const he=(0,ae.useRef)();(0,ae.useEffect)(()=>{he.current=E}),(0,ae.useEffect)(()=>{function le(){he.current()}if(ye!==null){let ne=setInterval(le,ye);return()=>clearInterval(ne)}},[ye])}},70868:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return tt}});var ae=fe(59301),Ae=fe(78241),E=fe(8591),ye=fe(43418),he=fe(99313),le=fe(57809),ne=fe(19842),se=fe(98228),de=fe(92832),ue=fe(1710),ie=fe(6848),oe=fe(58421),re=fe(3113),z=fe(38147),a={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},y=fe(3033),x={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"},b=fe(6339),ee=fe(65862),te=fe(24334);const ce=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var ve=({qitem:Xe})=>{var lt,Je,Ke,Me,et,Ie,Re,qe,Ye,ke;return ae.createElement("div",{className:x.warp},ae.createElement("div",{className:x.mainPart},ae.createElement("div",{className:x.qcount},(Xe==null?void 0:Xe.question_type)===8&&ae.createElement(b.Z,{className:x.content,showProgramFill:!0,value:(lt=Xe==null?void 0:Xe.program_attr)==null?void 0:lt.description}),(Xe==null?void 0:Xe.question_type)!=8&&ae.createElement(b.Z,{className:x.qtitle,value:(Xe==null?void 0:Xe.name)||(Xe==null?void 0:Xe.title)})),((Xe==null?void 0:Xe.question_type)===0||(Xe==null?void 0:Xe.question_type)===2)&&ae.createElement("div",null,(Je=Xe==null?void 0:Xe.choices)==null?void 0:Je.map((xe,Ne)=>ae.createElement("div",{className:x.redio},!(xe!=null&&xe.is_answer)&&ae.createElement("span",{className:x.redioitem}),(xe==null?void 0:xe.is_answer)&&ae.createElement("i",{className:`${x.redioitemyes} icon-duigou1`}),ae.createElement(b.Z,{className:xe!=null&&xe.is_answer?x.titleyes:x.title,value:ce[Ne]+(xe==null?void 0:xe.choice_text)}),(xe==null?void 0:xe.is_answer)&&ae.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(Xe==null?void 0:Xe.question_type)===1&&ae.createElement("div",null,(Ke=Xe==null?void 0:Xe.choices)==null?void 0:Ke.map((xe,Ne)=>ae.createElement("div",{className:x.checkbox},!(xe!=null&&xe.is_answer)&&ae.createElement("span",{className:x.checkboxitem}),(xe==null?void 0:xe.is_answer)&&ae.createElement("i",{className:`${x.checkboxitemyes} icon-duigou1`}),ae.createElement(b.Z,{className:xe!=null&&xe.is_answer?x.titleyes:x.title,value:ce[Ne]+(xe==null?void 0:xe.choice_text)}),(xe==null?void 0:xe.is_answer)&&ae.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(Xe==null?void 0:Xe.question_type)===3&&ae.createElement("div",{className:x.completion},(Me=Xe==null?void 0:Xe.standard_answer)==null?void 0:Me.map((xe,Ne)=>{var Be;return ae.createElement("div",{style:{display:"flex"}},ae.createElement("span",{className:x.title},"\u586B\u7A7A\u9879",Ne+1),ae.createElement("div",{className:x.content},(Be=xe==null?void 0:xe.answer_text)==null?void 0:Be.map((je,$e)=>ae.createElement("div",{className:x.items},je))))})),(Xe==null?void 0:Xe.question_type)===4&&ae.createElement("div",{className:x.simple},ae.createElement("div",{className:x.title},"\u53C2\u8003\u7B54\u6848"),ae.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(et=Xe==null?void 0:Xe.answer_texts)!=null&&et[0]?ae.createElement(b.Z,{className:x.content,value:(Ie=Xe==null?void 0:Xe.answer_texts)==null?void 0:Ie[0]}):ae.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(Xe==null?void 0:Xe.question_type)===5&&((Re=Xe==null?void 0:Xe.challenge_names)==null?void 0:Re.map((xe,Ne)=>ae.createElement("div",{className:x.shixun},ae.createElement("span",{className:x.qtitle},ae.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ee.EM)(Ne+1),"\u9898"),xe)))),(Xe==null?void 0:Xe.question_type)===6&&ae.createElement("div",{className:x.simple},ae.createElement(b.Z,{className:x.content,value:((qe=Xe==null?void 0:Xe.program_attr)==null?void 0:qe.description)||"- -"})),(Xe==null?void 0:Xe.question_type)===7&&((Ye=Xe==null?void 0:Xe.sub_item_banks)==null?void 0:Ye.map((xe,Ne)=>{var Be,je,$e,nt,Ze;return ae.createElement("div",null,ae.createElement("div",{className:x.combination},ae.createElement("span",{className:x.qtitle},xe==null?void 0:xe.name)),ae.createElement("div",{className:x.warp,style:{padding:"0px",paddingTop:20}},ae.createElement("div",null,((xe==null?void 0:xe.item_type)=="SINGLE"||(xe==null?void 0:xe.item_type)=="JUDGMENT")&&((Be=xe==null?void 0:xe.choices)==null?void 0:Be.map((rt,yt)=>ae.createElement("div",{className:x.redio},!(rt!=null&&rt.is_answer)&&ae.createElement("span",{className:x.redioitem}),(rt==null?void 0:rt.is_answer)&&ae.createElement("i",{className:`${x.redioitemyes} icon-duigou1`}),ae.createElement(b.Z,{className:rt!=null&&rt.is_answer?x.titleyes:x.title,value:ce[yt]+(rt==null?void 0:rt.choice_text)}),(rt==null?void 0:rt.is_answer)&&ae.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(xe==null?void 0:xe.item_type)=="MULTIPLE"&&((je=xe==null?void 0:xe.choices)==null?void 0:je.map((rt,yt)=>ae.createElement("div",{className:x.checkbox},!(rt!=null&&rt.is_answer)&&ae.createElement("span",{className:x.checkboxitem}),(rt==null?void 0:rt.is_answer)&&ae.createElement("i",{className:`${x.checkboxitemyes} icon-duigou1`}),ae.createElement(b.Z,{className:rt!=null&&rt.is_answer?x.titleyes:x.title,value:ce[yt]+(rt==null?void 0:rt.choice_text)}),(rt==null?void 0:rt.is_answer)&&ae.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(xe==null?void 0:xe.item_type)=="COMPLETION"&&ae.createElement("div",{className:x.completion},($e=xe==null?void 0:xe.standard_answer)==null?void 0:$e.map((rt,yt)=>{var ct;return ae.createElement("div",{style:{display:"flex"}},ae.createElement("span",{className:x.title},"\u586B\u7A7A\u9879",yt+1),ae.createElement("div",{className:x.content},(ct=rt==null?void 0:rt.answer_text)==null?void 0:ct.map((bt,dt)=>ae.createElement("div",{className:x.items},bt))))})),(xe==null?void 0:xe.item_type)=="SUBJECTIVE"&&ae.createElement("div",{className:x.simple},ae.createElement("div",{className:x.title},"\u53C2\u8003\u7B54\u6848"),ae.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(nt=xe==null?void 0:xe.answer_texts)!=null&&nt[0]?ae.createElement(b.Z,{className:x.content,value:(Ze=xe==null?void 0:xe.answer_texts)==null?void 0:Ze[0]}):ae.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(Xe==null?void 0:Xe.question_type)===8&&ae.createElement("div",null,ae.createElement(b.Z,{disabledFill:!0,className:x.content,showProgramFill:!0,value:te.Base64.decode(((ke=Xe==null?void 0:Xe.program_attr)==null?void 0:ke.code)||"")})),(Xe==null?void 0:Xe.question_type)===5&&ae.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},ae.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},ae.createElement("div",{style:{marginRight:30}},ae.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),ae.createElement("span",{style:{color:"#000000"}},(Xe==null?void 0:Xe.author_name)||"- -")),ae.createElement("div",{style:{marginRight:30}},ae.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),ae.createElement("span",{style:{color:"#000000"}},(Xe==null?void 0:Xe.author_school_name)||"- -")),ae.createElement("div",{style:{marginRight:30}},ae.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{style:{color:"#000000"}},(Xe==null?void 0:Xe.study_count)||"0"))),ae.createElement("a",{className:x.shixunbutton,href:`/shixuns/${Xe==null?void 0:Xe.identifier}/challenges?exercise=true`,target:"_blank"},ae.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((Xe==null?void 0:Xe.question_type)<=4||[6,8].includes(Xe==null?void 0:Xe.question_type))&&ae.createElement("div",{className:x.bottom},ae.createElement("div",{className:x.bottomitem},ae.createElement("span",{className:x.left},"\u89E3\u6790"),ae.createElement("span",{className:x.right},Xe!=null&&Xe.analysis?ae.createElement(b.Z,{value:Xe==null?void 0:Xe.analysis}):ae.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ae.createElement("div",{className:x.bottomitem},ae.createElement("span",{className:x.left},"\u96BE\u5EA6"),ae.createElement("span",{className:x.right},(Xe==null?void 0:Xe.difficulty)===1?"\u7B80\u5355":(Xe==null?void 0:Xe.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ae.createElement("div",{className:x.bottomitem},ae.createElement("span",{className:x.left},"\u77E5\u8BC6\u70B9"),ae.createElement("span",{className:x.right},Xe!=null&&Xe.tag_discipline?Xe==null?void 0:Xe.tag_discipline:ae.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},ge=fe(64303),pe=fe(96435),Se=fe(35479),be=fe(65582),Ee=fe(61485),Ce=fe(90463),De=fe(11517),we=fe(83028),Fe=fe(60979),Pe=fe(59301),Le=Object.defineProperty,Oe=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Qe=(Xe,lt,Je)=>lt in Xe?Le(Xe,lt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Xe[lt]=Je,Ge=(Xe,lt)=>{for(var Je in lt||(lt={}))Ue.call(lt,Je)&&Qe(Xe,Je,lt[Je]);if(Te)for(var Je of Te(lt))He.call(lt,Je)&&Qe(Xe,Je,lt[Je]);return Xe},ze=(Xe,lt)=>Oe(Xe,We(lt)),_e=(Xe,lt,Je)=>new Promise((Ke,Me)=>{var et=qe=>{try{Re(Je.next(qe))}catch(Ye){Me(Ye)}},Ie=qe=>{try{Re(Je.throw(qe))}catch(Ye){Me(Ye)}},Re=qe=>qe.done?Ke(qe.value):Promise.resolve(qe.value).then(et,Ie);Re((Je=Je.apply(Xe,lt)).next())});const Ve=({setScoreShow:Xe,ScoreShow:lt,onOk:Je,isshixuns:Ke,isloadings:Me,dispatch:et,shixunsDetail:Ie,exercise:Re})=>{var qe,Ye,ke;let[xe,Ne]=(0,ae.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[Be,je]=(0,ae.useState)([]),[$e,nt]=(0,ae.useState)([]),[Ze,rt]=(0,ae.useState)([]),[yt,ct]=(0,ae.useState)([]);const[bt,dt]=(0,ae.useState)(!1),[ht]=Ae.default.useForm(),[ot,ut]=(0,ae.useState)(),[mt,Ct]=(0,ae.useState)(!1);let[Bt,It]=(0,ae.useState)(Ke);const[Ht,qt]=(0,ae.useState)([]),[yn,In]=(0,ae.useState)(!0),[En,pn]=(0,ae.useState)([]),[Qn,Bn]=(0,ae.useState)(0),[un,Yn]=(0,ae.useState)([]),_t=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[tn,cn]=(0,ae.useState)({});(0,ae.useEffect)(()=>{var gt,St,At,zt,Zt,$t,ln,Pn,zn,Gt;(((At=(St=(gt=Re==null?void 0:Re.editData)==null?void 0:gt.exercise)==null?void 0:St.exist_item_bank_ids)==null?void 0:At.length)>0||(($t=(Zt=(zt=Re==null?void 0:Re.editData)==null?void 0:zt.exercise)==null?void 0:Zt.exist_item_bank_shixun_ids)==null?void 0:$t.length)>0)&&Yn([...(Pn=(ln=Re==null?void 0:Re.editData)==null?void 0:ln.exercise)==null?void 0:Pn.exist_item_bank_ids,...(Gt=(zn=Re==null?void 0:Re.editData)==null?void 0:zn.exercise)==null?void 0:Gt.exist_item_bank_shixun_ids])},[(Ye=(qe=Re==null?void 0:Re.editData)==null?void 0:qe.exercise)==null?void 0:Ye.exist_item_bank_ids]);const Ot=(0,ae.useRef)(new Set),ft=(0,ae.useRef)(new Set);let[Ft,kt]=(0,ae.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Xt=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],an=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],en=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Vt,pt]=(0,ae.useState)(!1),wt=()=>{ht.resetFields(),Bt=!1,It(!1),pt(!1),ht.submit()};(0,ae.useEffect)(()=>{Qn>0&&setTimeout(()=>{Bn(0)},2e3)},[Qn]),(0,ae.useEffect)(()=>{lt&&(ht.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),yn&&Bt&&(ht.setFieldsValue({item_type:"SHIXUN"}),xe.item_type="SHIXUN",Ne(Ge({},xe)),In(!1)),xt(xe),fn(),Ut({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[lt]);function xt(gt){return _e(this,null,function*(){var St,At,zt;if(dt(!0),Ne(gt),(Ze==null?void 0:Ze.length)<=0&>.type==="5"){ct([]),dt(!1);return}let Zt=gt.type==="5"?Ze==null?void 0:Ze.filter(Pn=>!Ht.includes(Pn)):null,$t=gt.type==="5"?Ze==null?void 0:Ze.filter(Pn=>Ht.includes(Pn)):null,ln=yield(0,z.ZP)("/api/item_banks.json",{method:"get",params:ze(Ge({},gt),{discipline_id:((St=gt==null?void 0:gt.courseid)==null?void 0:St[0])||null,sub_discipline_id:((At=gt==null?void 0:gt.courseid)==null?void 0:At[1])||null,ids:Zt,shixun_ids:$t,group_id:((zt=gt.group_id)==null?void 0:zt.map(Pn=>Pn==null?void 0:Pn.value))||null,keyword:gt.keyword?encodeURIComponent(gt.keyword):gt.keyword,include_shixuns:!0,type:gt.type==="5"?null:gt.type,clazz:gt.type==="3"?"ItemBanksGroup":null})});ct(ln),dt(!1)})}function Ut(gt){return _e(this,null,function*(){var St;let At=yield(0,z.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:gt}),zt=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(St=At==null?void 0:At.data)==null?void 0:St.map(Zt=>({title:Zt.name,id:Zt.id,pid:Zt.id,value:Zt.id,key:Zt.id,isLeaf:!Zt.have_child}))}];pn(zt)})}function fn(){return _e(this,null,function*(){let gt=yield(0,z.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:xe.type==="5"?null:xe.type,clazz:"ItemBanksGroup"}});je((0,y.L)(gt==null?void 0:gt.disciplines))})}function Qt(gt){return _e(this,null,function*(){var St,At,zt,Zt;dt(!0);let $t=(St=gt.list)==null?void 0:St.filter(zn=>!Ht.includes(zn)),ln=(At=gt.list)==null?void 0:At.filter(zn=>Ht.includes(zn));if($t.length===0&&ln.length===0){dt(!1),ct([]);return}let Pn=yield(0,z.ZP)("/api/item_banks.json",{method:"get",params:ze(Ge({},gt),{discipline_id:((zt=gt==null?void 0:gt.courseid)==null?void 0:zt[0])||null,sub_discipline_id:((Zt=gt==null?void 0:gt.courseid)==null?void 0:Zt[1])||null,ids:$t,shixun_ids:ln,type:gt.type==="5"?null:gt.type,clazz:gt.type==="3"?"ItemBanksGroup":null})});dt(!1),ct(Pn)})}const _n=(0,be.useParams)(),[wn,Mt,Lt,Jt]=(0,Se.P)(),jt=gt=>_e(void 0,null,function*(){const St=yield et({type:"shixunsDetail/release",payload:{id:gt}});let At=St==null?void 0:St.tag_position,zt=(St==null?void 0:St.evaluation_set_position)||[],Zt=St.status;return Zt===0?(E.ZP.success("\u53D1\u5E03\u6210\u529F"),xt(xe),!0):(Zt===2?E.ZP.error(`\u7B2C${zt.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Zt===3?E.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${At.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):E.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),bn=gt=>(gt==null?void 0:gt.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Dn=(gt,St,At)=>gt.map(zt=>zt.key===St?Ge(Ge({},zt),At):zt.children?ze(Ge({},zt),{children:Dn(zt.children,St,At)}):zt),Hn=gt=>_e(void 0,null,function*(){const{key:St}=gt;let At=xe.type;const zt=yield(0,De.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(St),type:At}),{data:Zt,total_count:$t}=zt||{};$t>0&&pn(ln=>Dn(ln,St,{children:Zt.map(Pn=>({title:Pn.name,id:Pn.id,pid:Pn.id,value:Pn.id,key:Pn.id,isLeaf:!Pn.have_child}))}))});function rn(gt){console.log("----",xe),gt==="1"&&(Ft.gg=Ge({},xe)),gt==="2"&&(Ft.scj=Ge({},xe)),gt==="3"&&(Ft.ttgx=Ge({},xe)),gt==="0"&&(Ft.wcjd=Ge({},xe)),gt==="5"&&(Ft.yx=Ge({},xe)),kt(Ge({},Ft))}function Pt(){xe.type==="1"&&(xe=Ft.gg),xe.type==="2"&&(xe=Ft.scj),xe.type==="3"&&(xe=Ft.ttgx),xe.type==="0"&&(xe=Ft.wcjd),xe.type==="5"&&(xe=Ft.yx),(xe==null?void 0:xe.item_type)==="SHIXUN"?(Bt=!0,It(!0)):(Bt=!1,It(!1)),ht.setFieldsValue(Ge({},xe)),Ne(Ge({},xe)),xt(Ge({},xe))}return Pe.createElement("div",null,Pe.createElement(ye.default,{title:!1,footer:!1,open:lt,width:1200,centered:!0,className:a.scoremodal,onCancel:()=>{Xe(!1)}},Pe.createElement("div",{style:{display:"flex",alignItems:"center"}},Pe.createElement("div",{className:a.title},"\u9898\u5E93\u9009\u9898")),Pe.createElement(he.default,{className:a.tabWrap,activeKey:xe.type,onChange:gt=>{gt==="3"?(xe.show_all_share=!0,Ut({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):xe.show_all_share=null,gt==="0"&&Ut({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),rn(xe.type),xe.type=gt,(xe==null?void 0:xe.item_type)==="SHIXUN"&&xe.type!=="5"&&(Bt=!0,It(!0)),pt(!1),xe.type==="5"&&(Bt=!1,It(!1)),Pt(),fn()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Pe.createElement("div",null,"\u5DF2\u9009",Ze.length>0&&Pe.createElement("span",{className:a.titlecount},Ze.length),Qn>0&&Pe.createElement("span",{className:a.add},"+",Qn)),key:"5"}]}),Pe.createElement(Ae.default,{layout:"inline",form:ht,onValuesChange:(gt,St)=>{var At,zt;const Zt=Object.values(St).some(ln=>ln!==null&&ln!==""&&ln!==void 0),$t=St.keyword==="";if(pt(Zt||!$t),xe.page=1,xe.keyword=(zt=(At=xe.keyword)==null?void 0:At.replace)==null?void 0:zt.call(At,/^\s+|\s+$/g,""),(St==null?void 0:St.item_type)==="SHIXUN"){if(xe.type==="5"?It(!1):It(!0),gt.keyword||gt.keyword==="")return;ht.submit()}else{if(gt!=null&>.courseid&&ht.setFieldsValue({tag_discipline_id:""}),It(!1),gt.keyword||gt.keyword==="")return;ht.submit()}},onFinish:gt=>{var St;xe.type==="3"&&(!gt.group_id||((St=gt==null?void 0:gt.group_id)==null?void 0:St.length)===0)?xe.show_all_share=!0:xe.show_all_share=null,Ne(Ge(Ge({},xe),gt)),xt(Ge(Ge({},xe),gt))}},Pe.createElement(Ae.default.Item,{name:"item_type"},Pe.createElement(le.default,{className:a.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},_t.map(gt=>Pe.createElement(le.default.Option,{key:gt.value},gt.name)))),Pe.createElement(Ae.default.Item,{name:"courseid"},Pe.createElement(ne.Z,{className:a.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Be})),!Bt&&Pe.createElement(Ae.default.Item,{name:"tag_discipline_id"},Pe.createElement(le.default,{className:a.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(ke=yt==null?void 0:yt.tag_disciplines)==null?void 0:ke.map(gt=>Pe.createElement(le.default.Option,{key:gt.id},gt.name)))),Pe.createElement(Ae.default.Item,{name:Bt?"diff":"difficulty"},Pe.createElement(le.default,{className:a.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Bt&&Xt.map(gt=>Pe.createElement(le.default.Option,{key:gt.value},gt.name)),Bt&&an.map(gt=>Pe.createElement(le.default.Option,{key:gt.value},gt.name)))),Bt&&Pe.createElement(Ae.default.Item,{name:"shixun_publish_status"},Pe.createElement(le.default,{className:a.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},en.map(gt=>Pe.createElement(le.default.Option,{key:gt.value},gt.name)))),(xe.type==="3"||xe.type==="0")&&!Bt&&Pe.createElement(Ae.default.Item,{name:"group_id"},Pe.createElement(se.default,{treeDataSimpleMode:!0,style:{width:118},className:a.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(gt,St)=>St.title.toUpperCase().indexOf(gt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Hn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:En})),Vt&&Pe.createElement("span",{className:a.allqingchu,onClick:wt},Pe.createElement("i",{className:"iconfont icon-guanbi4"}),Pe.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Pe.createElement(Ae.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Pe.createElement(de.default.Search,{className:a.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Pe.createElement("i",{className:`iconfont icon-sousuo9 font14 ${a.searchIcon}`,onClick:()=>ht.submit()}),onSearch:gt=>{ht.submit()}}))),Pe.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Pe.createElement("div",{onClick:()=>{xe.updated_at==="asc"?xe.updated_at="desc":xe.updated_at="asc",Ne(ze(Ge({},xe),{page:1})),xt(ze(Ge({},xe),{page:1}))}}," ",xe.updated_at?Pe.createElement("img",{src:xe.updated_at==="asc"?ge.Z:pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Pe.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Pe.createElement("div",{onClick:()=>{xe.quotes==="asc"?xe.quotes="desc":xe.quotes="asc",Ne(ze(Ge({},xe),{page:1})),xt(ze(Ge({},xe),{page:1}))},style:{marginLeft:20}}," ",xe.quotes?Pe.createElement("img",{src:xe.quotes==="asc"?ge.Z:pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Pe.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Pe.createElement(ue.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(yt==null?void 0:yt.items)||(yt==null?void 0:yt.shixun_list),pagination:!1,loading:bt,rowKey:gt=>gt.id,rowSelection:{type:"checkbox",selectedRowKeys:[...$e,...un],getCheckboxProps:gt=>({disabled:gt.shixun_tag_num===1||(un==null?void 0:un.find(St=>gt.id===St))}),onSelect(gt,St,At){if(console.log("---",At,St,gt),St)(Bt||gt!=null&>.challenge_names)&&qt([...Ht,gt.id]),nt([...$e,gt.id]),gt.identifier?Ot.current.add(gt.id):ft.current.add(gt.id),Bn(1),rt([...Ze,gt.id]);else{gt.identifier?Ot.current.delete(gt.id):ft.current.delete(gt.id);let zt=Ze.filter(Zt=>Zt!==gt.id);if(nt(zt),rt(zt),Bt||gt!=null&>.challenge_names){let Zt=Ht.filter($t=>$t!==gt.id);qt([...Zt])}if(xe.type==="5"){Qt(ze(Ge({},xe),{list:[...zt]}));return}}},onSelectAll(gt,St,At){var zt,Zt;if(console.log("----",At),gt){const $t=At.map(Pn=>Pn.id),ln=(Zt=At==null?void 0:At.filter(Pn=>Pn==null?void 0:Pn.challenge_names))==null?void 0:Zt.map(Pn=>Pn.id);qt([...Ht,...ln]),nt([...$e,...$t]),rt([...Ze,...$t]);for(const Pn of At)Pn.identifier?Ot.current.add(Pn.id):ft.current.add(Pn.id)}else{const $t=At.map(Gt=>Gt.id),ln=$e.filter(Gt=>!$t.some(tr=>tr===Gt)),Pn=(zt=At==null?void 0:At.filter(Gt=>Gt==null?void 0:Gt.challenge_names))==null?void 0:zt.map(Gt=>Gt.id);nt([...ln]),rt([...ln]);let zn=Ht.filter(Gt=>!Pn.some(tr=>tr===Gt.id));qt([...zn]),xe.type==="5"&&Qt(ze(Ge({},xe),{list:[...ln]}));for(const Gt of $t)Gt.identifier?Ot.current.delete(Gt):ft.current.delete(Gt)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(gt,St,At)=>{var zt,Zt;return Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("div",null,Bt||St!=null&&St.challenge_names?"\u5B9E\u8BAD\u9898":(Zt=(zt=_t==null?void 0:_t.filter($t=>$t.value===gt))==null?void 0:zt[0])==null?void 0:Zt.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Bt?"30%":"60%",key:"name",render:(gt,St,At)=>{var zt;return Pe.createElement("div",{style:{display:"flex",alignItems:"center"}},Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("span",null,Pe.createElement(b.Z,{key:1,showLines:1,showTextOnly:!0,value:Bt||St!=null&&St.challenge_names?St!=null&&St.title||gt===null?"--":gt:(St==null?void 0:St.item_type)=="BPROGRAM"?(zt=St==null?void 0:St.program_attr)==null?void 0:zt.description:gt}))),(St==null?void 0:St.high_resources_consume)&&Pe.createElement(Ce.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Bt,render:(gt,St,At)=>{var zt;return Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("span",null,gt?(zt=gt==null?void 0:gt.split("\u3001"))==null?void 0:zt[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Bt,render:(gt,St,At)=>Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("span",null,gt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(gt,St,At)=>{var zt,Zt,$t,ln;return Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("div",null,Bt||St!=null&&St.challenge_names?(St==null?void 0:St.level)||((Zt=(zt=Xt==null?void 0:Xt.filter(Pn=>Pn.value===gt))==null?void 0:zt[0])==null?void 0:Zt.name):(ln=($t=Xt==null?void 0:Xt.filter(Pn=>Pn.value===gt))==null?void 0:$t[0])==null?void 0:ln.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Bt,render:(gt,St,At)=>Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("div",null,gt||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(gt,St,At)=>Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("div",null,Bt||St!=null&&St.challenge_names?(St==null?void 0:St.study_count)||(St==null?void 0:St.stu_num):gt))},{title:Pe.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Pe.createElement(ie.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Pe.createElement(Ee.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Bt,render:(gt,St,At)=>Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("div",null,gt||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(gt,St,At)=>Pe.createElement(ie.Z,{title:bn(St)},Pe.createElement("div",{style:{flex:1,textAlign:"start"}},Pe.createElement("a",{onClick:()=>{var zt,Zt;ut(ze(Ge({},St),{question_type:Bt||St!=null&&St.challenge_names?5:(Zt=(zt=_t==null?void 0:_t.filter($t=>$t.value===(St==null?void 0:St.item_type)))==null?void 0:zt[0])==null?void 0:Zt.question_type})),Ct(!0)}},"\u67E5\u770B"),(St==null?void 0:St.shixun_tag_num)===1&&Pe.createElement("a",{style:{marginLeft:10},onClick:()=>{ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Pe.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Pe.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${St==null?void 0:St.identifier}/challenges`)}},(St==null?void 0:St.shixun_name)||"--"),"\uFF1F"),onOk:()=>_e(void 0,null,function*(){if(!jt(St==null?void 0:St.identifier))return new Promise((zt,Zt)=>{Zt()})})})}},"\u53D1\u5E03")))}].filter(gt=>!gt.hidden)}),Pe.createElement(oe.Z,{current:xe.page,total:(yt==null?void 0:yt.items_count)||(yt==null?void 0:yt.shixuns_count),style:{marginBottom:20},defaultPageSize:xe.per_page,showTotal:gt=>Pe.createElement("span",null,"\u5171\xA0",Pe.createElement("span",{style:{color:"#165DFF"}},gt),"\xA0\u6761\u6570\u636E"),pageSize:xe.per_page,onChange:(gt,St)=>{xe.page=gt,xe.per_page=St,Ne(Ge({},xe)),xt(Ge({},xe))}}),Pe.createElement("div",{className:a.bottom},Pe.createElement(re.ZP,{className:a.no,onClick:()=>{Xe(!1)}},"\u53D6\u6D88"),Pe.createElement(re.ZP,{loading:Me,style:{width:Me&&75},className:a.yes,onClick:()=>_e(void 0,null,function*(){if((Ze==null?void 0:Ze.length)<=0){E.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let gt=yield(0,Fe.Tr)({id:[...Ze==null?void 0:Ze.filter(St=>Ht.includes(St))],course_id:_n.coursesId,type:"shixun"});(gt==null?void 0:gt.student_count)===0?Je([...ft.current],[...Ze==null?void 0:Ze.filter(St=>Ht.includes(St))],!0,Ze==null?void 0:Ze.length):cn(gt)})},"\u786E\u8BA4"))),Pe.createElement(ye.default,{open:mt,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:a.previewModal,width:1e3,centered:!0,onCancel:()=>{Ct(!1)},onOk:()=>{Ct(!1)}},Pe.createElement(ve,{qitem:ot})),Pe.createElement(we.Z,{resdata:tn,type:"exercise",okloading:Me,oktext:(tn==null?void 0:tn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:gt=>_e(void 0,null,function*(){const St=[],At=[];for(const zt of tn==null?void 0:tn.can_copy_list)St.push(zt.id);Mt(),yield Je([...ft.current],[...Ot.current].filter(zt=>!At.includes(zt)),!0,Ze==null?void 0:Ze.length,St)})}))};var tt=(0,be.connect)(({shixunsDetail:Xe,exercise:lt})=>({shixunsDetail:Xe,exercise:lt}))(Ve)},5318:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(99313),E=fe(78241),ye=fe(6848),he=fe(8591),le=fe(43418),ne=fe(5871),se=fe(57809),de=fe(92832),ue=fe(3113),ie=fe(26724),oe=fe.n(ie),re=fe(49018),z=fe(5006),a=fe(66457),y=fe(65862),x=fe(35479),b=fe(79274),ee=fe(65582),te=fe(90463),ce=fe(83028),me=fe(60979),ve=fe(59301),ge=Object.defineProperty,pe=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,De=(We,Te,Ue)=>Te in We?ge(We,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):We[Te]=Ue,we=(We,Te)=>{for(var Ue in Te||(Te={}))Ee.call(Te,Ue)&&De(We,Ue,Te[Ue]);if(be)for(var Ue of be(Te))Ce.call(Te,Ue)&&De(We,Ue,Te[Ue]);return We},Fe=(We,Te)=>pe(We,Se(Te)),Pe=(We,Te,Ue)=>new Promise((He,Qe)=>{var Ge=Ve=>{try{_e(Ue.next(Ve))}catch(tt){Qe(tt)}},ze=Ve=>{try{_e(Ue.throw(Ve))}catch(tt){Qe(tt)}},_e=Ve=>Ve.done?He(Ve.value):Promise.resolve(Ve.value).then(Ge,ze);_e((Ue=Ue.apply(We,Te)).next())});const{TabPane:Le}=Ae.default,Oe=({classroomList:We,exercise:Te,loading:Ue,dispatch:He})=>{var Qe;const Ge=(0,ee.useParams)(),ze=(0,ee.useLocation)(),[_e]=E.default.useForm(),{brankList:Ve}=Te;let[tt,Xe]=(0,ae.useState)(!0),[lt,Je]=(0,ae.useState)(!1);const[Ke,Me]=(0,ae.useState)("myself");let[et,Ie]=(0,ae.useState)([]),[Re,qe]=(0,ae.useState)([]),[Ye,ke]=(0,ae.useState)(),[xe,Ne]=(0,ae.useState)([]);const Be=(0,ae.useRef)(null),[je,$e]=(0,ae.useState)(!1),[nt,Ze]=(0,ae.useState)(""),[rt,yt]=(0,ae.useState)(""),[ct,bt]=(0,ae.useState)(!1),[dt,ht]=(0,ae.useState)({}),ot=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(un,Yn,_t)=>ve.createElement("div",{style:{display:"flex",alignItems:"center"}},ve.createElement(ye.Z,{title:un},ve.createElement("div",{title:un,className:z.Z.name},un)),(Yn==null?void 0:Yn.high_resources_consume)&&ve.createElement(te.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:un=>ve.createElement(ye.Z,{title:un},ve.createElement("span",null,un))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:un=>un?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(un,Yn)=>ve.createElement("a",{href:un?`/randompaper/detail/${Yn.id}`:`/paperlibrary/see/${Yn.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[ut,mt]=(0,ae.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,ae.useEffect)(()=>{Te.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(It(),Ne([]),Ct())},[Te.actionTabs.key]);const Ct=()=>Pe(void 0,null,function*(){const un=yield He({type:"paperlibrary/getTeachGroupData"});qe(un)}),Bt=un=>{const Yn=parseInt(un);return isNaN(Yn)?"":Yn},It=()=>Pe(void 0,null,function*(){var un,Yn;if(tt){++ut.page,Xe(!1);const _t=yield He({type:"exercise/getBrankList",payload:Fe(we({},ut),{search:(un=ut.search)==null?void 0:un.trim()})});et=_t!=null&&_t.object_list?[...et.concat(_t==null?void 0:_t.object_list)]:et,ut.filter==="public"?ke(_t.is_teacher):ke(!0),((Yn=_t.object_list)==null?void 0:Yn.length){Be.current.scrollTop=0,et=[],ut.page=0,ut.group_id=un,tt=!0,Ne([]),mt(we({},ut)),It()},qt={selectedRowKeys:xe,onChange:un=>{Ne(un)},type:"radio"},yn=()=>{mt(we({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),Ie([]),Xe(!0),Me("myself"),He({type:"exercise/setActionTabs",payload:{}}),Je(!1)},[In,En,pn,Qn]=(0,x.P)(),Bn=un=>Pe(void 0,null,function*(){let Yn=!1;et.forEach(Ot=>{xe.includes(Ot.id)&&(Yn=Ot.is_random)});const _t=un.map(Ot=>({shixun_id:Ot.id,is_use:Ot.is_use,is_copy:Ot.is_copy}));if(!Yn){bt(!0);const Ot=yield He({type:"exercise/saveBanks",payload:{course_id:Ge.coursesId,category_id:(Ge==null?void 0:Ge.categoryId)||null,object_type:"examination_bank",bank_id:xe,shixuns_info:_t}});bt(!1),(Ot==null?void 0:Ot.status)===0&&((0,y.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),He({type:"classroomList/getClassroomExercisesList",payload:we({},Te.actionTabs.params)}),He({type:"classroomList/getClassroomLeftMenus",payload:{id:Ge.coursesId}}),Ze(`/classrooms/${Ge.coursesId}/exercise/${Ot.exercise_id}/detail?random=${Ot.is_random}&tabs=3`),yt(`/classrooms/${Ge.coursesId}/exercise/add/${Ot.exercise_id}?random=${Ot.is_random}&type=2`),$e(!0),he.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),En(),yn());return}bt(!0),setTimeout(()=>{bt(!1)},500),He({type:"exercise/setActionTabs",payload:{}});let tn=1,cn=le.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:ve.createElement("div",{className:z.Z.modalColumn},ve.createElement("div",{className:z.Z.modalRow},ve.createElement("sup",{className:z.Z.sup},"*"),ve.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),ve.createElement(ne.Z,{parser:Bt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:tn,onChange:Ot=>{tn=Ot;const ft=document.getElementById("model_error");tn<1||tn>50?ft.style.display="block":ft.style.display="none"}})),ve.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:yn,onOk:()=>Pe(void 0,null,function*(){if(tn<1||tn>50){const ft=document.getElementById("model_error");return ft.style.display="block",Promise.reject()}cn.update({cancelButtonProps:{disabled:!0}});const Ot=yield He({type:"exercise/saveBanks",payload:{course_id:Ge.coursesId,object_type:"examination_bank",bank_id:xe,shixuns_info:_t,num:tn}});cn.update({cancelButtonProps:{disabled:!1}}),Ot&&Ot.status===0?((0,y.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),le.default.destroyAll(),He({type:"classroomList/getClassroomExercisesList",payload:we({},Te.actionTabs.params)}),yn(),En(),he.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(yn(),En())})})});return ve.createElement(ve.Fragment,null,ve.createElement(le.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:Te.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:lt,bodyStyle:{minHeight:200},wrapClassName:z.Z.warpModal,onOk:()=>Pe(void 0,null,function*(){var un;if(!xe.length){he.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Je(!0);let Yn=!1,_t=!1;if(et.forEach(cn=>{xe.includes(cn.id)&&cn.need_authorize&&(Yn=cn.need_authorize),xe.includes(cn.id)&&(_t=cn.is_random)}),Yn){(0,a.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}let tn=yield(0,me.Tr)({id:`${xe[0]}`,course_id:(un=We.detailTopBanner)==null?void 0:un.course_id,type:"examination_bank"});Je(!1),(tn==null?void 0:tn.student_count)===0?Bn([]):ht(tn)}),onCancel:yn},ve.createElement(Ae.default,{activeKey:Ke,onTabClick:un=>Pe(void 0,null,function*(){Be.current.scrollTop=0,et=[],Ke!==un&&Ne([]),Me(un),ut.page=0,ut.filter=un,ut.group_id=null,tt=!0,It()})},ve.createElement(Le,{tab:ve.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),ve.createElement(Le,{tab:ve.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),ve.createElement(Le,{tab:ve.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),ve.createElement("div",{className:z.Z.tabSearch},Ke==="teacher"&&ve.createElement(se.default,{value:ut.group_id,onChange:Ht,size:"middle",style:{width:200,marginRight:30}},ve.createElement(se.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Qe=Re==null?void 0:Re.groups)==null?void 0:Qe.map(un=>ve.createElement(se.default.Option,{key:un==null?void 0:un.group_id,value:un==null?void 0:un.group_id},un==null?void 0:un.name))),ve.createElement(de.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:ut.search,onChange:un=>{ut.search=un.target.value,mt(we({},ut))},onSearch:un=>{Be.current.scrollTop=0,et=[],ut.page=0,tt=!0,Ne([]),un&&(0,b.tk)({name:un,copywriting:un,position:"Exercise"}),It()}})),ve.createElement("div",{ref:Be,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!Ye&&Ke==="public"&&ve.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},ve.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),ve.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),ve.createElement(oe(),{initialLoad:!1,pageStart:0,loadMore:()=>{It()},hasMore:tt,useWindow:!1},Te.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&Ye&&ve.createElement(re.Z,{className:z.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:et,onRow:un=>({onClick:()=>{Ne([un==null?void 0:un.id])}}),resColumns:ot,rowSelection:qt})))),ve.createElement(le.default,{title:"\u63D0\u793A",open:je,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:ve.createElement("div",null,ve.createElement(ue.ZP,{onClick:()=>{$e(!1),ee.history.push(rt)}},"\u4FEE\u6539\u8BD5\u5377"),ve.createElement(ue.ZP,{type:"primary",onClick:()=>{ee.history.push(nt),$e(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{$e(!1)}},ve.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),ve.createElement(ce.Z,{resdata:dt,type:"exercise",okloading:ct,oktext:(dt==null?void 0:dt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:un=>{Bn(un)}}),ve.createElement(x.Z,{inPaper:!0,visible:In,onCancel:En,onOk:Bn,renderData:pn,modalType:"multiple",type:"examination_bank"}))};at.Z=(0,ee.connect)(({exercise:We,loading:Te,classroomList:Ue})=>({exercise:We,loading:Te,classroomList:Ue}))(Oe)},21390:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(31797),E=fe(5871),ye=fe(78241),he=fe(43418),le=fe(71418),ne=fe(1710),se=fe(92832),de=fe(95237),ue=fe(43604),ie=fe(3113),oe=fe(87513),re=fe(56656),z=fe.n(re),a=fe(65582),y=fe(65862),x=fe(27158),b=fe(41867),ee=fe(61527),te=fe(59301),ce=(pe,Se,be)=>new Promise((Ee,Ce)=>{var De=Pe=>{try{Fe(be.next(Pe))}catch(Le){Ce(Le)}},we=Pe=>{try{Fe(be.throw(Pe))}catch(Le){Ce(Le)}},Fe=Pe=>Pe.done?Ee(Pe.value):Promise.resolve(Pe.value).then(De,we);Fe((be=be.apply(pe,Se)).next())});const{Countdown:me}=Ae.default,ve=({value:pe,onChange:Se,MaxMinutes:be})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:pe,onChange:Se,min:0,precision:0,max:be,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${be}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),ge=({exercise:pe,successCb:Se,dispatch:be})=>{var Ee,Ce,De,we;const Fe=(0,a.useParams)(),[Pe]=ye.default.useForm(),Le=ye.default.useWatch("time",Pe),[Oe,We]=(0,ae.useState)(!1),Te=(0,ae.useRef)(),{actionTabs:Ue}=pe,[He,Qe]=(0,ae.useState)(),[,Ge,ze,_e]=(0,ee.U)(oe.n7,{id:Fe.categoryId}),[,Ve,tt]=(0,ee.U)(oe.Cd,{});(0,ae.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(We(!1),Pe.resetFields())},[pe.actionTabs.key]);const Xe=()=>new Promise(Ye=>ce(void 0,null,function*(){var ke,xe;return Te.current=yield(0,x.y)({ip_limit:(ke=Ue==null?void 0:Ue.exerciseParams)==null?void 0:ke.ip_limit,ip_bind:(xe=Ue==null?void 0:Ue.exerciseParams)==null?void 0:xe.ip_bind_type}),Ye()})),lt=()=>ce(void 0,null,function*(){var Ye,ke,xe,Ne,Be;yield Pe.validateFields();const je=Pe.getFieldsValue();if(We(!0),(((Ye=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ye.ip_limit)!=="no"||(ke=Ue==null?void 0:Ue.exerciseParams)!=null&&ke.ip_bind_type)&&(yield Xe()),(yield(0,oe.ZD)((xe=Ue==null?void 0:Ue.exerciseParams)==null?void 0:xe.id,{exercise_user_id:(Ne=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ne.exercise_user_id,unlock_key:je.unlock_key,time:je.time,ip:Te.current})).status===0){if(Se){be({type:"exercise/setActionTabs",payload:{}}),Se();return}const nt=Ue==null?void 0:Ue.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:Fe.coursesId,login:(Be=(0,b.eY)())==null?void 0:Be.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),be({type:"exercise/setActionTabs",payload:{}})}We(!1)}),Je=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Ye=>te.createElement("span",{className:Ye.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ye)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Ye=>te.createElement("span",{className:Ye.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ye)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ke=((Ee=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ee.errorMessage)&&typeof((Ce=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ce.errorMessage)=="object";(0,ae.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const Ye=yield tt(Fe);yield ze({}),Ye.status||Qe(Ye)})},[pe.actionTabs.key]);const{time:Me,end_time:et}=(He==null?void 0:He.exercise)||{},Ie=_e!=null&&_e.user_end_time?z()(_e==null?void 0:_e.user_end_time).add(1,"minutes"):z()(),Re=z()(_e==null?void 0:_e.user_total_end_time)>Ie?Math.round(z().duration(z()(_e==null?void 0:_e.user_total_end_time).diff(Ie.startOf("minute"))).asMinutes()):0,qe=((_e==null?void 0:_e.student_left_minutes)||0)+(Le||0);return te.createElement(te.Fragment,null,te.createElement(he.default,{width:514,centered:!0,closable:!!((De=Ue==null?void 0:Ue.exerciseParams)!=null&&De.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{be({type:"exercise/setActionTabs",payload:{}})}},te.createElement(le.Z,{spinning:Ge||Ve},Ke&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ke&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ke&&te.createElement(ne.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((we=Ue==null?void 0:Ue.exerciseParams)==null?void 0:we.errorMessage)||{}],columns:Je}),te.createElement("div",{className:""},te.createElement(ye.default,{form:Pe,layout:"vertical",autoComplete:"off"},te.createElement(ye.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Me!==-1?te.createElement(te.Fragment,null,te.createElement(ye.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(_e==null?void 0:_e.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(ve,{MaxMinutes:Re})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Ge||Ve?"--":qe),"\u5206\u949F",qe!==0&&(_e==null?void 0:_e.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},z()(_e==null?void 0:_e.user_end_time).add(Le||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",z()(et).format("YYYY-MM-DD HH:mm")))),te.createElement(de.Z,{justify:"space-between",align:"middle"},te.createElement(ue.Z,null),te.createElement(ue.Z,null,te.createElement(ie.ZP,{loading:Oe,onClick:lt},"\u8FDB\u5165\u8003\u8BD5"))))))};at.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(ge)},17933:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return a}});var ae=fe(59301),Ae=fe(65582),E=fe(43418),ye=fe(3113),he=fe(71418),le=fe(67172),ne=fe(80443),se=fe(50258),de=fe(24334),ue=fe(56656),ie=fe.n(ue),oe=fe(17124),re=fe(59301),z=(y,x,b)=>new Promise((ee,te)=>{var ce=ge=>{try{ve(b.next(ge))}catch(pe){te(pe)}},me=ge=>{try{ve(b.throw(ge))}catch(pe){te(pe)}},ve=ge=>ge.done?ee(ge.value):Promise.resolve(ge.value).then(ce,me);ve((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,ae.useState)(void 0);console.log((0,Ae.useLocation)(),33);const te=(0,Ae.useLocation)();(0,ae.useEffect)(()=>{y&&function(){return z(this,null,function*(){const Qe=yield(0,le.X6)(y);ee(Qe.data)})}()},[y]);const{status:ce,created_at:me,code:ve,name:ge,language:pe,pass_sets_count:Se,set_count:be,error_msg:Ee,output:Ce,input:De,expected_output:we,execute_memory:Fe,user:Pe,execute_time:Le,input_file_url:Oe,output_file_url:We,is_file:Te,expected_output_file_url:Ue}=b||{};return re.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:re.createElement(ye.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},re.createElement(he.Z,{spinning:!b,delay:500},re.createElement("div",{className:"record-detail-info"},b?re.createElement(re.Fragment,null,re.createElement("div",{className:"record-detail-body"},re.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),re.createElement("ul",{className:"record-info"},re.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",re.createElement("span",{className:ce===0?"c-green":"c-red"},ne.Im[ce])," "),re.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",re.createElement("span",null,ie()(me).format("YYYY-MM-DD HH:mm:ss"))," "),re.createElement("li",null," \u8BED\u8A00\uFF1A",re.createElement("span",null,pe)," "),re.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",re.createElement("span",null,Le*1e3,"ms")," "),re.createElement("li",null," ",`${ce===oe.h.HIDE_COMPILE_STATUS?"--":Se} / ${be} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,ne.gZ)({status:ce,error_msg:Ee,execute_time:Le,output:Ce,input:De,expected_output:we,input_file_url:Oe,output_file_url:We,is_file:Te,expected_output_file_url:Ue}),re.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),re.createElement(se.ZP,{height:"200px",width:"100%",language:pe==null?void 0:pe.toLocaleLowerCase(),value:de.Base64.decode(ve),options:{readOnly:!0}}))):null)))}},88125:function(vt,at,fe){"use strict";fe.d(at,{Im:function(){return be},Y4:function(){return Ce}});var ae=fe(59301),Ae=fe(92832),E=fe(8591),ye=fe(3113),he=fe(10129),le=fe(24334),ne=fe.n(le),se=fe(25492),de=fe(42678),ue=fe(6339),ie=fe(65862),oe=fe(34376),re=fe.n(oe),z=fe(38147),a=fe(65582),y=fe(17933),x=fe(77254),b=fe(67172),ee=fe(56918),te=fe(21185),ce=fe(92310),me=fe.n(ce),ve=fe(84056),ge=fe(59301),pe=(Fe,Pe,Le)=>new Promise((Oe,We)=>{var Te=Qe=>{try{He(Le.next(Qe))}catch(Ge){We(Ge)}},Ue=Qe=>{try{He(Le.throw(Qe))}catch(Ge){We(Ge)}},He=Qe=>Qe.done?Oe(Qe.value):Promise.resolve(Qe.value).then(Te,Ue);He((Le=Le.apply(Fe,Pe)).next())});const{TextArea:Se}=Ae.default,be={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Ee=(Fe=>(Fe[Fe.SET_VISIBLE=0]="SET_VISIBLE",Fe[Fe.SET_TABINDEX=1]="SET_TABINDEX",Fe))(Ee||{});function Ce(Fe){const{status:Pe,error_msg:Le,output:Oe,input:We,expected_output:Te,is_file:Ue,input_file_url:He,output_file_url:Qe,expected_output_file_url:Ge,setMonacoValue:ze,setData:_e}=Fe,Ve=(0,ae.useRef)(),tt=(0,ae.useRef)(),Xe=(0,ae.useRef)();let lt=null;const Je={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ae.useEffect)(()=>{if(Oe&&!Ue&&Ve.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(Ve.current);const Me=(0,ie.pp)(le.Base64.decode(Oe));Ke.write(Me),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(et){}},100)}if(We&&!Ue&&tt.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(tt.current),Ke.write((0,ie.pp)(We)),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Me){}},100)}if(Te&&!Ue&&Xe.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(Xe.current),Ke.write((0,ie.pp)(le.Base64.decode(Te))),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Me){}},100)}},[Oe]),Pe){case he.h.NOMATCH:lt=ge.createElement(ge.Fragment,null,ge.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ue&&ge.createElement("div",{ref:Ve}),Ue&&ge.createElement("div",{style:Je},ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const Ke=yield(0,z.ZP)(Qe,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ke),setTimeout(()=>{_e(Qe)},200)})},Oe)),ge.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ue&&ge.createElement("div",{ref:Xe}),Ue&&ge.createElement("div",{style:Je},ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const Ke=yield fetch(Ge,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ze(yield Ke.text()),setTimeout(()=>{_e(Ge)},200)})},Te)));break;case he.h.EXECUTEFAILURE:lt=ge.createElement(ge.Fragment,null,ge.createElement("div",{style:{border:"1px #F6F7F9 solid"}},ge.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ue&&ge.createElement(ue.Z,{value:We,style:Je}),Ue&&ge.createElement("div",{style:Je},ge.createElement("a",{onClick:()=>(0,ie.LR)(He,We)},We))),ge.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},ge.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:se.Z.error,style:{color:"#E30000",padding:"0 10px"}},le.Base64.decode(Le),"111")));break;case he.h.COMPILEFAILURE:lt=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:se.Z.error},le.Base64.decode(Le)));break;case he.h.PODFAILURE:lt=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:lt=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",lt," ")}function De(Fe){const{status:Pe,error_msg:Le,execute_time:Oe,output:We,input:Te,expected_output:Ue,is_file:He,input_file_url:Qe,output_file_url:Ge,expected_output_file_url:ze}=Fe;let _e=null;switch(Pe){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:_e=ge.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:_e=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:_e=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",_e," ")}function we({value:Fe,className:Pe}){return ge.createElement("span",{className:Pe},Fe)}at.ZP=({input:Fe,is_file:Pe,debuging:Le,submitting:Oe,executingMessage:We,debugResult:Te,onChangeInput:Ue,onDebugCode:He,onSubmitCode:Qe,hack:Ge,user:ze,submitResult:_e,isWhiteTheme:Ve,topDispatch:tt})=>{const[Xe]=(0,a.useSearchParams)(),lt=(0,a.useParams)(),[Je,Ke]=(0,ae.useState)(!1),[Me,et]=(0,ae.useState)(!1),[Ie,Re]=(0,ae.useState)(1),[qe,Ye]=(0,ae.useState)(!1),[ke,xe]=(0,ae.useState)(0),[Ne,Be]=(0,ae.useState)(!1),[je,$e]=(0,ae.useState)(""),[nt,Ze]=(0,ae.useState)(""),rt=(0,ae.useRef)(),yt=(0,ae.useRef)(),ct=(0,ae.useRef)(null),bt=(0,ae.useRef)(null),dt=(0,ae.useRef)(null);console.log(_e,"submitResult",lt);const{status:ht,id:ot,input:ut,output:mt,expected_output:Ct,is_file:Bt,input_file_url:It,output_file_url:Ht,expected_output_file_url:qt,error_msg:yn,hack_sets:In}=_e||{};(0,ae.useEffect)(()=>{ht===0&&(Re(1),xe(0))},[ht,ot]),(0,ae.useEffect)(()=>{pe(void 0,null,function*(){var Ot;const ft=yield(0,b.rX)(lt==null?void 0:lt.id,"submit");(ft==null?void 0:ft.status)===0&&(ft!=null&&ft.data&&((Ot=ft==null?void 0:ft.data)==null?void 0:Ot.status)!==0?(tt({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:ft==null?void 0:ft.data}}),Re(2),xe(320)):(Re(1),xe(0)))})},[lt==null?void 0:lt.id]),(0,ae.useEffect)(()=>{if(rt.current){let cn=function(Vt){kt=Ft.offsetHeight,Xt=!0,an=Vt.pageY,dt.current.style.display="block"},Ot=function(){Xt=!1,dt.current.style.display="none"},ft=function(Vt){if(Xt){En();let pt=an-Vt.pageY,wt=kt+pt;if(wt<0&&(wt=0),wt>window.innerHeight-150&&(wt=window.innerHeight-150),Ie===1){wt<=34?xe(0):xe(wt);return}console.log(wt,"resizeH"),xe(wt)}};const Ft=ct.current;let kt=0,Xt=!1,an=0;const en=document.getElementById("case-y-bar");return en==null||en.addEventListener("mousedown",cn),document.addEventListener("mousemove",ft),document.addEventListener("mouseup",Ot),()=>{const Vt=document.getElementById("case-y-bar");Vt==null||Vt.removeEventListener("mousedown",cn),document.removeEventListener("mousemove",ft),document.removeEventListener("mouseup",Ot)}}},[rt,Ie]),(0,ae.useEffect)(()=>{const cn=x.Z.subscribe("resize-move-bar",En);if(Xe.get("type")!=="exercises")return document.addEventListener((0,ve.gH)(),Bn),()=>{document.removeEventListener((0,ve.gH)(),Bn),cn()}},[]),(0,ae.useEffect)(()=>{});function En(){var cn,Ot,ft,Ft;const kt=document.getElementById("outputResultRef");if(kt){let Xt=kt.dataset.text;yt.current.reset(),yt.current.writeln(Xt);const an=document.getElementById("outputResultRef").offsetWidth-20,en=((Ft=(ft=(Ot=(cn=yt.current)==null?void 0:cn._core)==null?void 0:Ot._renderService)==null?void 0:ft.dimensions)==null?void 0:Ft.actualCellWidth)||10,Vt=Math.ceil(an/en);yt.current.resize(Vt,Math.ceil(kt.clientHeight/16))}}function pn(){Ke(!Je),setTimeout(()=>{En()},300),xe(Je?320:window.innerHeight-150)}function Qn(){Me?(et(!1),(0,ve.BU)()):(et(!0),(0,ve.Dj)(bt.current))}const Bn=cn=>{(0,ve.vp)()||et(!1)},un=(0,ae.useMemo)(()=>{if(Te){const{status:cn,output:Ot,error_msg:ft}=Te;return setTimeout(()=>{let Ft="",kt=document.getElementById("outputResultRef");Ot?Ft=le.Base64.decode(Ot):ft&&(Ft=le.Base64.decode(ft)),yt.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),yt.current.open(kt),yt.current.onKey(function(Xt){var an;if(Xt.domEvent.key.toLocaleUpperCase()==="C"&&Xt.domEvent.ctrlKey){Xt.domEvent.preventDefault();let en=(an=yt.current)==null?void 0:an.getSelection();navigator.clipboard.writeText(en).then(()=>{})}}),kt.dataset.text=Ft,yt.current.setOption("convertEol",!0),En()},300),ge.createElement(ge.Fragment,null,De(Te))}return null},[Te]);function Yn(){var cn,Ot;if(!(Ge!=null&&Ge.code)||((cn=Ge==null?void 0:Ge.code)==null?void 0:cn.trim().length)===0){(Ot=E.ZP)==null||Ot.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Re(1),xe(320),He()}const _t=cn=>pe(void 0,null,function*(){let Ot=yield(0,z.ZP)(`/api/problems/${cn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});Ot&&(window.location.href=`/myproblems/${Ot==null?void 0:Ot.identifier}${window.location.search}`)});function tn(){Bt?navigator.clipboard.writeText(le.Base64.decode(yn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(le.Base64.decode(mt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return ge.createElement(ae.Fragment,null,ge.createElement("div",{className:me()(se.Z.case,Ve&&se.Z.whiteCase),style:{height:ke},ref:ct},ge.createElement("div",{className:se.Z.fullMask,ref:dt}),ge.createElement("div",{className:se.Z["resize-y-bar"],id:"case-y-bar",ref:rt,draggable:!1},Ie===2&&ge.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Ie===1&&(ke<=34?ge.createElement("div",{onClick:()=>{xe(320)},className:se.Z.unfoldBtn},"\u63A7\u5236\u53F0",ge.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):ge.createElement("div",{onClick:()=>{xe(0)},className:se.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",ge.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),ge.createElement("div",null,ge.createElement("div",{className:se.Z.caseHead},ge.createElement("div",{className:se.Z.dot}),ge.createElement("div",{className:se.Z.text},Ie===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Ie===2&&!Oe&&typeof ht=="number"&&ge.createElement(ge.Fragment,null,ht===he.h.OK?ge.createElement("div",{className:se.Z.pass},ge.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):ge.createElement("div",{className:se.Z.noPass},ge.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),be[ht])),ge.createElement("div",{className:se.Z.btns},Ie===2&&!Oe&&ge.createElement(ge.Fragment,null,ht!==he.h.OK&&ge.createElement("div",{onClick:tn},ge.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),ge.createElement("div",{onClick:()=>{Be(ot)}},ge.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),Xe.get("type")!=="exercises"&&ge.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>pn()},ge.createElement("i",{className:`iconfont icon-${Je?"suoxiao1":"fangda"}`})))),ge.createElement("div",{style:{display:Ie===1?"block":"none"}},Le?ge.createElement(de.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ge.createElement("div",{style:{height:ke-34}},ge.createElement("div",{className:se.Z.result},ge.createElement("div",{className:se.Z.left},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ge.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),ge.createElement("div",{className:se.Z.leftNode},ge.createElement(Se,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Pe?"":Fe,onChange:Ue}))),ge.createElement("div",{className:se.Z.right},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ge.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),ge.createElement("div",{className:se.Z.node},Te?un:ge.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),ge.createElement("div",{style:{display:Ie===2?"block":"none"}},Oe?ge.createElement(de.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ge.createElement("div",{style:{height:ke-34,display:"flex",flexDirection:"column",overflow:"hidden"}},ge.createElement("div",{ref:bt,className:se.Z.elseNode},ge.createElement("div",{className:se.Z.nameWrap},ge.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ge.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),ge.createElement("div",{className:se.Z.scroll},ge.createElement("pre",{className:se.Z.scrollBox,style:qe?{height:Me?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Bt&&ge.createElement(we,{value:ut}),Bt&&ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const cn=yield fetch(It,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ze(yield cn.text()),setTimeout(()=>{$e(It)},200)})},ut)),ut&&ge.createElement("div",{className:se.Z.action},ge.createElement("span",{onClick:()=>Ye(!qe)},qe?"\u6536\u8D77":"\u5C55\u5F00"),Xe.get("type")!=="exercises"&&ge.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Qn(),className:`iconfont icon-${Me?"suoxiao1":"fangda"}`})))),ge.createElement("div",{className:se.Z.result,style:{flex:1,overflow:"hidden"}},ge.createElement("div",{className:se.Z.left},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ge.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ge.createElement("div",{className:se.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},ge.createElement("pre",null,!Bt&&ge.createElement(we,{className:"mb10",value:Ct&&le.Base64.decode(Ct)||""}),Bt&&ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const cn=yield fetch(qt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ze(yield cn.text()),setTimeout(()=>{$e(qt)},200)})},Ct)))),ge.createElement("div",{className:se.Z.right},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ge.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),ge.createElement("div",{className:se.Z.node,style:{color:ht===he.h.OK?"#2ABD8C":"#FF2C29"}},ge.createElement("pre",null,(ht===4||ht===5)&&ge.createElement(we,{className:"mb10",value:yn&&le.Base64.decode(yn)||""}),ht!=4&&ht!=5&&(Bt?ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const cn=yield(0,z.ZP)(Ht,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{Ze(cn)}catch(Ot){Ze("")}setTimeout(()=>{$e(Ht)},200)})},mt):ge.createElement(we,{className:"mb10",value:mt&&le.Base64.decode(mt)||""})))))))))),ge.createElement("div",{className:me()(se.Z.footer,Ve&&se.Z.whiteFooter),style:{zIndex:100}},(Ge==null?void 0:Ge.is_program)&&(Ge==null?void 0:Ge.above_question)&&ge.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>_t(Ge==null?void 0:Ge.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ge==null?void 0:Ge.is_program)&&(Ge==null?void 0:Ge.under_question)&&ge.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>_t(Ge==null?void 0:Ge.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),ge.createElement(ye.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Le||Oe,loading:Le,color:"#2ABD8C",className:"mr10",onClick:Yn},"\u8C03\u8BD5\u4EE3\u7801"),Xe.get("qtype")!=="8"&&ge.createElement(ye.ZP,{className:se.Z.disabled,type:"primary",icon:ge.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Le||Oe,onClick:()=>{var cn,Ot;if(!(Ge!=null&&Ge.code)||((cn=Ge==null?void 0:Ge.code)==null?void 0:cn.trim().length)===0){(Ot=E.ZP)==null||Ot.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Re(2),xe(320),Qe()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),ge.createElement(y.Z,{onClose:Be,open:Ne}),ge.createElement(te.Z,{close:!0,data:je,type:je.length?"txt":"",onClose:()=>$e(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},56918:function(vt,at,fe){"use strict";fe.r(at),fe.d(at,{Types:function(){return wa},default:function(){return da}});var ae=fe(59301),Ae=fe(65582),E=fe(31797),ye=fe(43418),he=fe(71418),le=fe(3113),ne=fe(6848),se=fe(95237),de=fe(67172),ue=fe(87513),ie=fe(84056),oe=fe(29584),re=fe(74128),z=fe(87169),a=fe(43428),y=fe(50258),x=fe(57261),b=fe(42926),ee=fe(77825),te=fe(8591),ce={list:"list___IRN6i",copy:"copy___qCn9B"},me=fe(56102),ve=fe(38147),ge=(Yt,hn,Nn)=>new Promise((Mn,An)=>{var mn=jn=>{try{On(Nn.next(jn))}catch(ar){An(ar)}},Sn=jn=>{try{On(Nn.throw(jn))}catch(ar){An(ar)}},On=jn=>jn.done?Mn(jn.value):Promise.resolve(jn.value).then(mn,Sn);On((Nn=Nn.apply(Yt,hn)).next())}),Se=({showResourceCentre:Yt,identifier:hn})=>{const Nn=(0,Ae.useParams)(),[Mn,An]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{Yt&&mn()},[Yt]);const mn=()=>ge(void 0,null,function*(){const Sn=yield(0,ve.ZP)(`/api/problems/${hn}/attachment_list.json`,{method:"get"});(Sn==null?void 0:Sn.status)==0&&An(Sn.data||[])});return ae.createElement("div",{className:"tpi-code-setting"},ae.createElement("h3",null,"\u8D44\u6E90\u4E2D\u5FC3"),!(Mn!=null&&Mn.length)&&ae.createElement("div",{className:"tc mt50 c-grey-999"},"\u6682\u65E0\u8D44\u6E90\u6570\u636E"),Mn==null?void 0:Mn.map((Sn,On)=>ae.createElement("dl",{className:ce.list,key:On},ae.createElement(ne.Z,{title:Sn.title},ae.createElement("dt",null,ae.createElement("i",{className:"icon-wenjian4 mr5"}),Sn.title)),ae.createElement("dd",null,ae.createElement(me.CopyToClipboard,{text:Sn.saved_file_path,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},ae.createElement("span",{className:`${ce.copy} current`},"\u70B9\u51FB\u590D\u5236"))))))},be=fe(59301),Ee=Object.defineProperty,Ce=Object.defineProperties,De=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Le=(Yt,hn,Nn)=>hn in Yt?Ee(Yt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Yt[hn]=Nn,Oe=(Yt,hn)=>{for(var Nn in hn||(hn={}))Fe.call(hn,Nn)&&Le(Yt,Nn,hn[Nn]);if(we)for(var Nn of we(hn))Pe.call(hn,Nn)&&Le(Yt,Nn,hn[Nn]);return Yt},We=(Yt,hn)=>Ce(Yt,De(hn));const Te={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var Ue=(Yt=>(Yt[Yt.set_font_size=0]="set_font_size",Yt[Yt.set_theme=1]="set_theme",Yt[Yt.on_tab_to_space=2]="on_tab_to_space",Yt[Yt.set_show_editor_setting=3]="set_show_editor_setting",Yt[Yt.set_show_respurce_center=4]="set_show_respurce_center",Yt))(Ue||{});function He(Yt,hn){switch(hn.type){case 3:return We(Oe({},Yt),{showEditorSetting:hn.payload});case 1:return We(Oe({},Yt),{theme:hn.payload});case 0:return We(Oe({},Yt),{fontSize:hn.payload});case 2:return We(Oe({},Yt),{tabToSpace:hn.payload});case 4:return We(Oe({},Yt),{showResourceCentre:hn.payload});default:throw new Error}}var Qe=({isLoading:Yt,value:hn,onChange:Nn,language:Mn,onUpdateCode:An,ActionBarRender:mn,setIsWhiteTheme:Sn,identifier:On})=>{const[jn,ar]=(0,ae.useReducer)(He,Te),{theme:Vn,fontSize:Gr,showEditorSetting:hr,tabToSpace:pa,showResourceCentre:Rr}=jn,gr=(0,ae.useRef)(),_r=(0,ae.useRef)();(0,ae.useEffect)(()=>{Sn(Vn==="vs")},[Vn]);const Kr={onFontSizeChange:gn=>{ar({type:0,payload:gn}),(0,b.t)("cmFontSize",gn)},tabToSpace:pa,cmFontSize:Gr,className:"oj",cmCodeMode:Vn,onTabToSpace:gn=>{ar({type:2,payload:gn}),(0,b.t)("cmTabToSpace",gn)},onCodeModeChange:gn=>{ar({type:1,payload:gn}),(0,b.t)("ProgrammingCodeMode",gn)}};function Un(){ar({type:3,payload:!1})}function mr(){ar({type:3,payload:!0})}function Wt(){ar({type:4,payload:!1})}function Rt(){ar({type:4,payload:!0})}const Kt={value:hn,language:Mn,theme:Vn,options:{fontSize:Gr,insertSpaces:pa},onChange:gn=>{Nn(gn),_r.current=gn,clearTimeout(gr.current),gr.current=setTimeout(()=>{An(_r.current)},1e4)},onEditBlur:gn=>{_r.current&&An(_r.current)}};return be.createElement(ae.Fragment,null,mn(mr,Rt),be.createElement("div",{style:{flex:1,overflow:"hidden"}},!Yt&&be.createElement(y.ZP,Oe({},Kt))),be.createElement(x.Z,null,be.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:hr,onClose:Un},be.createElement(ee.Z,Oe({},Kr)))),be.createElement(x.Z,null,be.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Rr,onClose:Wt},be.createElement(Se,{showResourceCentre:Rr,identifier:On}))))},Ge=fe(60141),ze=fe(24334),_e=fe(88125),Ve={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},tt={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},Xe=fe(1710),lt=fe(58421),Je=fe(58617),Ke=fe(17933),Me=fe(56656),et=fe.n(Me),Ie=fe(59301);const{Column:Re}=Xe.default;var qe=({submitResult:Yt,submitting:hn,submitRecords:Nn,page:Mn,onPageChange:An,topicId:mn})=>{const[Sn]=(0,Ae.useSearchParams)(),{records:On,records_count:jn}=Nn||{},[ar,Vn]=(0,ae.useState)(!1),Gr=Sn.get("type")==="1";return Ie.createElement(he.Z,{spinning:hn,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ie.createElement(Je.Z,{style:{fontSize:24},spin:!0})},(On==null?void 0:On.length)>0?Ie.createElement(Xe.default,{dataSource:On,rowKey:"id",pagination:!1},Ie.createElement(Re,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(hr,pa)=>Ie.createElement("span",null," ",et()(hr).format("YYYY-MM-DD HH:mm:ss"))}),Ie.createElement(Re,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(hr,pa)=>{var Rr;return Ie.createElement("span",{className:`${hr===0?"c-green":"c-red"} current`,onClick:()=>{Vn(pa.id)}},(Rr=_e.Im[hr])==null?void 0:Rr.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ie.createElement(Re,{title:`\u6267\u884C\u7528\u65F6 (${Gr?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:hr=>hr?Gr?hr:hr/1e3:""}),Ie.createElement(Re,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Gr?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:hr=>hr?Gr?hr:parseFloat((hr/1024).toFixed(2)):""}),Ie.createElement(Re,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ie.createElement(Re,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(hr,pa)=>Ie.createElement("span",{className:"c-light-primary current",onClick:()=>{Vn(pa.id)}},"\u67E5\u770B")})):Ie.createElement("div",{style:{height:300,width:"100%"}}),Ie.createElement(Ke.Z,{onClose:Vn,open:ar}),jn>15?Ie.createElement(lt.Z,{className:tt.pagination,current:Mn,pageSize:15,total:jn,onChange:An}):null)},Ye=fe(2524),ke=fe(12563),xe={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ne=fe(6339),Be=fe(59301);const je={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var $e=({hack:Yt})=>{const{language:hn,difficult:Nn,time_limit:Mn,description:An}=Yt,[mn]=(0,Ae.useSearchParams)(),Sn=je[Nn];return Be.createElement(Be.Fragment,null,Be.createElement("ul",{className:xe.info},Be.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Be.createElement("b",{className:xe.info_tag},hn)),Be.createElement("li",null,Be.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Be.createElement(ke.Z,{color:Sn==null?void 0:Sn.color},Sn==null?void 0:Sn.name)),Be.createElement("li",null,Be.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Be.createElement("span",{style:{color:"#333333"}},Mn,"\u79D2"))),mn.get("qtype")==="8"?Be.createElement(Ne.Z,{value:An,showProgramFill:!0,className:xe.desc}):Be.createElement(Ne.Z,{value:An,className:xe.desc}))},nt={},Ze=fe(59301),rt=({hack:Yt,current_user:hn})=>Ze.createElement("div",{className:nt.answer},Yt!=null&&Yt.answer_text?Ze.createElement(Ne.Z,{style:{padding:"13px 0"},value:(Yt==null?void 0:Yt.answer_text)||""}):Ze.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),yt=fe(77254);function ct(Yt,hn){return(0,ve.U2)(`/problems/${Yt}/comments.json`,{page:hn,limit:10})}function bt(Yt){return(0,ve.v_)(`/discusses/${Yt}/plus.json`,{container_type:"Discuss",type:1})}function dt(Yt,hn,Nn){return(0,ve.v_)(`/problems/${Yt}/comments/reply.json`,{comments:{content:Nn,parent_id:hn}})}function ht(Yt,hn){return(0,ve.v_)(`/problems/${Yt}/comments.json`,{comments:{content:hn}})}function ot(Yt,hn,Nn){return(0,ve.v_)(`/problems/${Yt}/comments/${hn}/hidden.json`,Nn)}function ut(Yt,hn){return(0,ve.IV)(`/problems/${Yt}/comments/${hn}`)}var mt=fe(83554);function Ct({author:Yt}){return ae.createElement("a",{href:`/users/${Yt.login}`,target:"_blank"},ae.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${re.Z.IMG_SERVER}/images/${Yt.image_url}`,width:"50"}))}function Bt({data:Yt,index:hn,parentDiscussIndex:Nn,user:Mn,onSetActionType:An}){const{author:mn,can_delete:Sn,content:On,id:jn,time:ar}=Yt;function Vn(){An({id:jn,index:hn,type:"delete-discuss",parentDiscussIndex:Nn,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Gr=Mn.admin||Sn||mn.user_id===Mn.user_id;return ae.createElement("div",{className:"discuss-item-container second-discuss "},ae.createElement(Ct,{author:mn}),ae.createElement("section",null,ae.createElement("div",{className:"discuss-info"},ae.createElement("a",{href:`/users/${mn.login}`,target:"_blank"},mn.name),ae.createElement("span",{className:"grey"},ar),ae.createElement("div",{className:"btn-group",style:{marginBottom:0}},Gr?ae.createElement("a",{onClick:Vn,title:"\u5220\u9664"},ae.createElement("i",{className:"iconfont icon-shanchu"})):null)),ae.createElement(Ne.Z,{className:"discuss-content",value:On})))}var It=({user:Yt,data:hn,index:Nn,onPlusDiscuss:Mn,onSetActionType:An,activeDiscussIndex:mn,onReplyDiscuss:Sn,onSetActiveDiscussIndex:On})=>{const{content:jn,children:ar,hidden:Vn,id:Gr,praise_count:hr,time:pa,user_praise:Rr,can_delete:gr,author:_r}=hn;function Kr(){On(Gr)}function Un(){Mn(Gr,!Rr,Nn)}function mr(){An({id:Gr,index:Nn,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Wt(){An({id:Gr,index:Nn,params:{hidden:Vn?"0":"1"},type:"hidden-discuss",message:Vn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Rt=Yt.admin||Yt.user_id===_r.user_id;return ae.createElement("div",{className:"discuss-item-container",key:Gr},ae.createElement(Ct,{author:_r}),ae.createElement("section",null,ae.createElement("div",{className:"discuss-info"},ae.createElement("a",{href:`/users/${_r.login}`,target:"_blank"}," ",_r.name," "),ae.createElement("span",{className:"grey"},pa)),ae.createElement(Ne.Z,{className:"discuss-content",value:jn}),ar&&ar.length>0?ae.createElement("div",{className:"reply-discuss-container"},ar.map((Kt,gn)=>ae.createElement(Bt,{key:Kt.id,data:Kt,index:gn,user:Yt,onSetActionType:An,parentDiscussIndex:Nn}))):null,ae.createElement("div",{className:"btn-group"},Rt?ae.createElement("a",{onClick:Wt,title:Vn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ae.createElement("i",{className:Vn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,gr&&(!ar||ar.length==0)?ae.createElement("a",{onClick:mr,title:"\u5220\u9664"},ae.createElement("i",{className:"iconfont icon-shanchu"})):null,ae.createElement("a",{onClick:Kr,title:"\u56DE\u590D"}," ",ae.createElement("i",{className:"iconfont icon-huifu1"})," "),ae.createElement("a",{onClick:Un,className:Rr?"c-orange":""},ae.createElement("i",{className:Rr?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ae.createElement("span",null,hr||""))),ae.createElement(mt.Z,{id:Gr,activeDiscussIndex:mn,onReplyDiscuss:Sn})))},Ht=fe(30214),qt={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},yn=fe(96565),In=(Yt,hn,Nn)=>new Promise((Mn,An)=>{var mn=jn=>{try{On(Nn.next(jn))}catch(ar){An(ar)}},Sn=jn=>{try{On(Nn.throw(jn))}catch(ar){An(ar)}},On=jn=>jn.done?Mn(jn.value):Promise.resolve(jn.value).then(mn,Sn);On((Nn=Nn.apply(Yt,hn)).next())}),En=({user_praise:Yt,praise_count:hn,praisePlus:Nn,onCreateDiscuss:Mn,discuss_count:An})=>{const[mn,Sn]=(0,ae.useState)(!1),[On,jn]=(0,ae.useState)("");function ar(pa){jn(pa)}function Vn(){Sn(!0)}function Gr(){Sn(!1)}function hr(){return In(this,null,function*(){Mn(On),jn(""),Sn(!1)})}return ae.createElement("div",{className:`${qt["dis-input-editor-container"]} ${mn?qt.active:""} `},ae.createElement("div",{className:mn?`hide ${qt["text-area"]}`:qt["text-area"]},ae.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Vn}),ae.createElement("a",null," ",ae.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",An," "),ae.createElement("a",{className:"c-light-black",onClick:Nn,title:Yt?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ae.createElement("i",{className:`mr3 ${Yt?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),hn?ae.createElement("span",null,hn):"")),mn?ae.createElement("div",{className:qt["input-mask"],onClick:Gr}):null,ae.createElement("div",{className:mn?qt["md-container"]:`${qt["md-container"]} hide`},ae.createElement(yn.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:On,height:240,onChange:ar}),ae.createElement("div",{className:qt["tip-container"],onClick:Gr},ae.createElement("a",{className:qt["btn-send"],onClick:hr}," \u53D1\u9001 "))))},pn=fe(59301),Qn=Object.defineProperty,Bn=Object.defineProperties,un=Object.getOwnPropertyDescriptors,Yn=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,cn=(Yt,hn,Nn)=>hn in Yt?Qn(Yt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Yt[hn]=Nn,Ot=(Yt,hn)=>{for(var Nn in hn||(hn={}))_t.call(hn,Nn)&&cn(Yt,Nn,hn[Nn]);if(Yn)for(var Nn of Yn(hn))tn.call(hn,Nn)&&cn(Yt,Nn,hn[Nn]);return Yt},ft=(Yt,hn)=>Bn(Yt,un(hn)),Ft=(Yt,hn,Nn)=>new Promise((Mn,An)=>{var mn=jn=>{try{On(Nn.next(jn))}catch(ar){An(ar)}},Sn=jn=>{try{On(Nn.throw(jn))}catch(ar){An(ar)}},On=jn=>jn.done?Mn(jn.value):Promise.resolve(jn.value).then(mn,Sn);On((Nn=Nn.apply(Yt,hn)).next())});const kt={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Xt=(Yt=>(Yt[Yt.GET_DISCUSSES=0]="GET_DISCUSSES",Yt[Yt.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",Yt[Yt.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",Yt[Yt.PLUS_DISCUSS=3]="PLUS_DISCUSS",Yt[Yt.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",Yt[Yt.SET_PAGE=5]="SET_PAGE",Yt[Yt.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",Yt))(Xt||{});function an(Yt,hn){switch(hn.type){case 6:return ft(Ot({},Yt),{loading:!0});case 0:return Ot(Ot({},Yt),hn.payload);case 1:return Ot(Ot({},Yt),hn.payload);case 4:return Ot(Ot({},Yt),hn.payload);case 3:return Ot(Ot({},Yt),hn.payload);case 5:return ft(Ot({},Yt),{page:hn.payload});case 2:return Ot(Ot({},Yt),hn.payload);default:throw new Error}}var en=({user:Yt,identifier:hn,hack:Nn,onTriggerPraise:Mn,activeIndex:An})=>{const[mn,Sn]=(0,ae.useReducer)(an,kt),{loading:On,page:jn,data:ar,count:Vn,actionType:Gr,activeDiscussIndex:hr}=mn,pa=(0,ae.useCallback)(()=>Ft(void 0,null,function*(){Sn({type:6});const Kt=yield ct(hn,jn),{comments:gn,disscuss_count:Gn}=Kt;Sn({type:0,payload:{data:gn,count:Gn,loading:!1}})}),[jn,hn]);(0,ae.useEffect)(()=>{An==="2"&&pa()},[hn,jn,An]);function Rr(Kt){Sn({type:5,payload:Kt})}function gr(Kt){Sn({type:4,payload:{actionType:Kt}})}function _r(Kt){Sn(hr===Kt?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Kt}})}function Kr(Kt,gn,Gn){return Ft(this,null,function*(){try{const qn=yield bt(Kt);ar[Gn].user_praise=gn,ar[Gn].praise_count=qn.praise_count,Sn({type:3,payload:{data:[...ar]}})}catch(qn){console.log(qn)}})}function Un(){return Ft(this,null,function*(){const{id:Kt,params:gn,type:Gn,index:qn,parentDiscussIndex:Cn}=Gr;if(Gn==="hidden-discuss"&&(yield ot(hn,Kt,gn),Cn?ar[Cn].children[qn].hidden=gn.hidden==1:ar[qn].hidden=gn.hidden==1,Sn({type:4,payload:{actionType:null,data:[...ar]}})),Gn==="delete-discuss"){if(yield ut(hn,Kt),Cn||Cn===0){let nr=ar[Cn].children;for(let yr=nr.length-1;yr>=0;yr--)if(nr[yr].id===Kt){nr.splice(yr,1);break}ar[Cn].children=nr}else for(let nr=ar.length-1;nr>=0;nr--)if(ar[nr].id===Kt){ar.splice(nr,1);break}Sn({type:4,payload:{actionType:null,data:[...ar]}})}})}function mr(){Sn({type:4,payload:{actionType:null}})}function Wt(Kt,gn){return Ft(this,null,function*(){try{yield dt(hn,Kt,gn),pa()}catch(Gn){console.log(Gn)}})}function Rt(Kt){return Ft(this,null,function*(){Sn({type:6}),yield ht(hn,Kt),pa()})}return pn.createElement(pn.Fragment,null,pn.createElement("div",{className:"discuss-panel"},ar.length===0?pn.createElement(Ye.Z,null):ar.map((Kt,gn)=>pn.createElement(It,{onReplyDiscuss:Wt,onPlusDiscuss:Kr,onSetActiveDiscussIndex:_r,onSetActionType:gr,data:Kt,index:gn,user:Yt,activeDiscussIndex:hr})),Vn>10?pn.createElement("div",{className:"pagination-container"},pn.createElement(lt.Z,{showQuickJumper:!0,onChange:Rr,current:jn,total:Vn})):null),pn.createElement(En,{user_praise:Nn.user_praise,praise_count:Nn.praises_count,praisePlus:Mn,discuss_count:Nn.comments_count,onCreateDiscuss:Rt}),pn.createElement(x.Z,null,pn.createElement(ye.default,{centered:!0,title:"\u63D0\u793A",open:!!Gr,onOk:Un,onCancel:mr},pn.createElement("p",null,Gr?Gr.message:"")),pn.createElement(Ht.Z,null)))},Vt=fe(57809),pt=fe(92832),wt=fe(65615),xt={},Ut=fe(59301),fn=({hack:Yt,current_user:hn})=>Ut.createElement("div",{className:xt.answer},Yt!=null&&Yt.analysis?Ut.createElement(Ne.Z,{style:{padding:"13px 0"},value:(Yt==null?void 0:Yt.analysis)||""}):Ut.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Qt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},_n=fe(36381),wn=fe(43604),Mt=fe(78241),Lt=fe(5871),Jt=fe(12088),jt=fe(59301);const{TextArea:bn}=pt.default,{Panel:Dn}=_n.default;var Hn=({data:Yt,hack:hn})=>(console.log(Yt,hn,"data"),hn!=null&&hn.is_file?jt.createElement(Jt.Y2,{disabled:!0,className:Qt.uploadTableWrapper,showScore:!hn.test_set_score,data:Yt,isProgramHomework:!0}):jt.createElement("div",{className:Qt.hackSets},Yt==null?void 0:Yt.map((Nn,Mn)=>jt.createElement(_n.default,{accordion:!0,bordered:!1,key:Mn,defaultActiveKey:Mn===0&&Nn.id,className:Qt.collapseWrapper,expandIcon:({isActive:An})=>jt.createElement("i",{className:`iconfont icon-weizhankai ${An?Qt.open:Qt.close}`,style:{fontSize:14,transition:"all .2s"}})},jt.createElement(Dn,{key:Nn.id,header:jt.createElement(se.Z,{align:"middle",justify:"space-between",wrap:!1},jt.createElement(wn.Z,{className:Qt.panelHeader},jt.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Mn+1)),jt.createElement(wn.Z,{flex:1},jt.createElement(se.Z,{align:"middle",justify:"end",wrap:!1},!(hn!=null&&hn.test_set_score)&&jt.createElement(wn.Z,{className:Qt.rateInput},jt.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),jt.createElement("div",null,jt.createElement(Mt.default.Item,{noStyle:!0},jt.createElement(Lt.Z,{value:Nn==null?void 0:Nn.score,className:Qt.baseFormItem,min:0,max:100,disabled:!0}))),jt.createElement("span",{className:"ml10"},"%")))))},jt.createElement(Mt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},jt.createElement(bn,{readOnly:!0,value:Nn==null?void 0:Nn.input,rows:4})),jt.createElement(Mt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},jt.createElement(bn,{readOnly:!0,value:Nn==null?void 0:Nn.output,rows:4}))))))),rn={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Pt=fe(59301),St=(0,ae.forwardRef)(({data:Yt=[]},hn)=>{var Nn;const[Mn,An]=(0,ae.useState)(),mn=Yt.filter(On=>On.show);(0,ae.useEffect)(()=>{mn.length&&An(mn[0].id)},[Yt==null?void 0:Yt.length]);const Sn=((Nn=mn.find(On=>On.id===Mn))==null?void 0:Nn.element)||null;return(0,ae.useImperativeHandle)(hn,()=>({setActiveTab:On=>An(On)})),Pt.createElement("div",{className:rn.tabs},Pt.createElement("div",{className:rn.tabWarp},mn.map(On=>Pt.createElement("div",{onClick:()=>An(On.id),className:`${rn.tab} ${On.id===Mn?rn.active:""}`,key:On.id},On.name))),Pt.createElement("div",{className:rn.content},Sn))}),At=fe(59301),zt=Object.defineProperty,Zt=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,Gt=(Yt,hn,Nn)=>hn in Yt?zt(Yt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Yt[hn]=Nn,tr=(Yt,hn)=>{for(var Nn in hn||(hn={}))Pn.call(hn,Nn)&&Gt(Yt,Nn,hn[Nn]);if(ln)for(var Nn of ln(hn))zn.call(hn,Nn)&&Gt(Yt,Nn,hn[Nn]);return Yt},ir=(Yt,hn)=>Zt(Yt,$t(hn)),sr=(Yt,hn,Nn)=>new Promise((Mn,An)=>{var mn=jn=>{try{On(Nn.next(jn))}catch(ar){An(ar)}},Sn=jn=>{try{On(Nn.throw(jn))}catch(ar){An(ar)}},On=jn=>jn.done?Mn(jn.value):Promise.resolve(jn.value).then(mn,Sn);On((Nn=Nn.apply(Yt,hn)).next())});const vr={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Ln={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Rn=({hack:Yt,onTriggerPraise:hn,topicId:Nn,page:Mn,onPageChange:An,user:mn,current_user:Sn,submitRecords:On,submitting:jn,submitResult:ar,setActiveIndex:Vn,hack_sets:Gr})=>{var hr,pa;const[Rr]=(0,Ae.useSearchParams)(),[gr,_r]=(0,ae.useState)("0"),Kr=(0,Ae.useLocation)(),[Un,mr]=(0,ae.useState)(!1),[Wt,Rt]=(0,ae.useState)(null),[Kt,gn]=(0,ae.useState)([]),[Gn,qn]=(0,ae.useState)([]),[Cn,nr]=(0,ae.useState)({page:1,limit:10}),yr=(0,ae.useRef)(null),Qr=(0,ae.useRef)(null);console.log(mn,"user");let[fr,er]=(0,ae.useState)(ir(tr({},(0,Ae.useParams)()),{page:1,per_page:20,name:""}));(0,ae.useEffect)(()=>{Qr.current&&(Yt==null?void 0:Yt.is_close_tips)===!1&&Wt===null&&Rt(!0)},[Qr.current,Yt==null?void 0:Yt.is_close_tips,Wt]);function aa(){return sr(this,null,function*(){yield(0,ve.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ae.useEffect)(()=>{Vn(gr)},[gr]);function oa(Dr){return sr(this,null,function*(){let la=Dr.target.id;if(la==="1"){let xa=yield(0,ve.ZP)(`/api/myproblems/${fr.id}/redo_logs.json`,{method:"get",params:tr({},Cn)});(xa==null?void 0:xa.status)===0&&qn(xa==null?void 0:xa.data)}_r(la)})}(0,ae.useEffect)(()=>yt.Z.subscribe("to-commit-info",()=>{_r("1"),yr.current&&yr.current.setActiveTab("1")}),[]),(0,ae.useEffect)(()=>yt.Z.subscribe("to-reset-info",()=>{oa({target:{id:"1"}}),yr.current&&yr.current.setActiveTab("2")}),[]);function Ea(){_r("2")}function Cr(){return sr(this,null,function*(){let Dr=yield(0,ve.ZP)("/api/problems/my_hack_list.json",{method:"get",params:tr({identifier:fr==null?void 0:fr.id},fr)});gn(Dr)})}const Jn=[{title:null,description:At.createElement("div",null,At.createElement("b",{onClick:()=>{Rt(!1),aa(),mr(!0),Cr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),At.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),At.createElement(le.ZP,{onClick:()=>{Rt(!1),aa()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Qr.current}];return At.createElement("div",{className:Ve["left-panel"]},At.createElement("ul",{className:`${Ve["s-navs"]} ${Ve["bg-white"]} ${Ve.b1}`},(Yt==null?void 0:Yt.is_program)&&!Rr.get("pageId")&&At.createElement(ne.Z,{title:"\u9898\u76EE\u5217\u8868"},At.createElement("div",{onClick:()=>{Cr(),mr(!0)},className:Ve.btns,ref:Qr,style:Wt?{pointerEvents:"none"}:{}},At.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),At.createElement("li",{style:{marginLeft:20}},At.createElement("a",{className:gr==="0"?Ve.active:"",id:"0",onClick:oa},"\u9898\u76EE\u63CF\u8FF0")),At.createElement("li",null,At.createElement("a",{className:gr==="1"?Ve.active:"",id:"1",onClick:oa},"\u64CD\u4F5C\u8BB0\u5F55")),(Rr.get("type")!=="exercises"&&(Yt==null?void 0:Yt.answer_text_show)||Rr.get("type")!=="exercises"&&(Yt==null?void 0:Yt.analysis_show))&&At.createElement("li",null,At.createElement("a",{className:gr==="4"?Ve.active:"",id:"4",onClick:oa},"\u89E3\u7B54\u53C2\u8003")),Rr.get("type")!=="exercises"&&At.createElement("li",null,At.createElement("a",{className:gr==="2"?Ve.active:"",id:"2",onClick:oa},"\u8BC4\u8BBA")),!!(Gr!=null&&Gr.length)&&Rr.get("type")!=="exercises"&&Rr.get("type")!=="1"&&At.createElement("li",null,At.createElement("a",{className:gr==="5"?Ve.active:"",id:"5",onClick:oa},"\u6D4B\u8BD5\u7528\u4F8B"))),At.createElement("div",{className:`${Ve["tab-panel-body"]} ${gr==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},At.createElement($e,{hack:Yt,onTriggerPraise:hn,toDiscuss:Ea})),At.createElement("div",{style:{padding:"12px"},className:`${Ve["tab-panel-body"]} ${gr==="1"?"":"hide"}`},At.createElement(St,{ref:yr,data:[{id:"1",show:Rr.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:At.createElement(At.Fragment,null,On!=null&&On.records_count||jn?At.createElement(qe,{page:Mn,onPageChange:An,topicId:Nn,submitting:jn,key:(ar==null?void 0:ar.id)||1,submitRecords:On,submitResult:ar}):At.createElement(Ye.Z,null))},{id:"2",show:Rr.get("type")==="exercises"||(Yt==null?void 0:Yt.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:At.createElement(At.Fragment,null,At.createElement(Xe.default,{pagination:!1,dataSource:Gn==null?void 0:Gn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Dr,la,xa)=>et()(Dr).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Dr,la,xa)=>{var no;return(no=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(Eo=>Eo.id===Dr))==null?void 0:no.name}}]}),At.createElement(lt.Z,{style:{marginTop:10},current:Cn.page,total:Gn==null?void 0:Gn.count,hideOnSinglePage:!0,onChange:Dr=>sr(void 0,null,function*(){Cn.page=Dr,nr(Cn);let la=yield(0,ve.ZP)(`/api/myproblems/${fr.id}/redo_logs.json`,{method:"get",params:ir(tr({},Cn),{courseId:fr.courseId})});(la==null?void 0:la.status)===0&&qn(la==null?void 0:la.data)})}))}]})),At.createElement("div",{style:{padding:"12px"},className:`${Ve["tab-panel-body"]} ${gr==="4"?"":"hide"}`},At.createElement(St,{data:[{id:"1",show:Rr.get("type")!=="exercises"&&(Yt==null?void 0:Yt.answer_text_show),name:"\u7B54\u6848",element:At.createElement(At.Fragment,null,At.createElement(rt,{hack:Yt,current_user:Sn}))},{id:"2",show:Rr.get("type")!=="exercises"&&(Yt==null?void 0:Yt.analysis_show),name:"\u89E3\u6790",element:At.createElement(At.Fragment,null,At.createElement(fn,{hack:Yt,current_user:Sn}))}]})),At.createElement("div",{className:`${Ve["tab-panel-body"]} ${gr==="2"?"":"hide"}`,style:{padding:0}},At.createElement(en,{user:mn,activeIndex:gr,identifier:Yt.identifier,hack:Yt,onTriggerPraise:hn})),At.createElement("div",{className:`${Ve["tab-panel-body"]} ${gr==="5"?"":"hide"}`,style:{padding:12}},At.createElement(Hn,{data:Gr||[],hack:Yt})),At.createElement(a.Z,{rootClassName:Ve.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>mr(!1),open:Un},At.createElement(se.Z,null,At.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),At.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Kt==null?void 0:Kt.total_count,"\u9898\xA0[\xA0",Kt==null?void 0:Kt.total_score,"\u5206\xA0]\xA0"),!(mn!=null&&mn.hack_manager)&&At.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Kt==null?void 0:Kt.work_score,"\u5206")),At.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),At.createElement(se.Z,{align:"middle",className:"mt10 mb10"},!(mn!=null&&mn.hack_manager)&&At.createElement(Vt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Dr=>{fr.page=1,fr.finish_status=Dr,er(tr({},fr)),Cr()}},At.createElement(Vt.default.Option,{value:""},"\u5168\u90E8"),At.createElement(Vt.default.Option,{value:0},"\u672A\u5F00\u59CB"),At.createElement(Vt.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),At.createElement(Vt.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),At.createElement(Vt.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Dr=>{fr.page=1,fr.difficult=Dr||null,er(tr({},fr)),Cr()}},At.createElement(Vt.default.Option,{value:0},"\u5168\u90E8"),At.createElement(Vt.default.Option,{value:1},"\u7B80\u5355"),At.createElement(Vt.default.Option,{value:2},"\u9002\u4E2D"),At.createElement(Vt.default.Option,{value:3},"\u56F0\u96BE")),At.createElement(pt.default.Search,{size:"large",onSearch:Dr=>{fr.name=Dr,fr.page=1,er(tr({},fr)),Cr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),At.createElement("div",{className:Ve.list,style:{height:36,background:"#3D445C"}},!(mn!=null&&mn.hack_manager)&&At.createElement("span",null,"\u72B6\u6001"),At.createElement("span",null,"\u5E8F\u53F7"),At.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),At.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),At.createElement("div",{style:{overflow:"auto",flex:1}},(hr=Kt==null?void 0:Kt.data)!=null&&hr.length?(pa=Kt==null?void 0:Kt.data)==null?void 0:pa.map((Dr,la)=>At.createElement("div",{onClick:()=>sr(void 0,null,function*(){let xa=yield(0,ve.ZP)(`/api/problems/${Dr==null?void 0:Dr.identifier}/start.json`,{method:"get",params:{hack_user_id:mn==null?void 0:mn.user_id}});xa&&(window.location.href=`/myproblems/${xa==null?void 0:xa.identifier}${window.location.search}`)}),className:`${Ve.list} ${Dr!=null&&Dr.checked?Ve.active:""}`},!(mn!=null&&mn.hack_manager)&&At.createElement(At.Fragment,null,!(Dr!=null&&Dr.opened)&&At.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Dr==null?void 0:Dr.opened)&&!(Dr!=null&&Dr.passed)&&At.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Dr==null?void 0:Dr.opened)&&(Dr==null?void 0:Dr.passed)&&At.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),At.createElement("span",null,(fr.page-1)*20+(la+1)),At.createElement("span",{style:{flex:1},title:Dr.name},`[${Dr==null?void 0:Dr.score}\u5206]`,"\xA0",Dr.name),At.createElement("span",{style:{flexBasis:48,paddingRight:0}},vr[Dr.difficult]))):At.createElement(Ye.Z,null)),At.createElement(lt.Z,{current:fr.page,className:"mt20",hideOnSinglePage:!0,total:Kt==null?void 0:Kt.count,pageSize:fr.per_page,onChange:(Dr,la)=>{fr.page=Dr,fr.per_page=la,Cr()}})),At.createElement(wt.Z,{rootClassName:Ve.tour,closeIcon:!1,open:!!Wt,steps:Jn,gap:{offset:3,radius:2}}))},$n=fe(62522),Tn=fe(27158),ur=fe(22744),Sr=fe(21390),lr=fe(72530),Ir=fe(35195),Er=fe(25492),$r=fe(92310),na=fe.n($r),ca=fe(42217),Kn=fe(81747),Xn=fe(51976),Fn=fe(59301),Hr=Object.defineProperty,Jr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Ur=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable,ra=(Yt,hn,Nn)=>hn in Yt?Hr(Yt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Yt[hn]=Nn,xr=(Yt,hn)=>{for(var Nn in hn||(hn={}))Ur.call(hn,Nn)&&ra(Yt,Nn,hn[Nn]);if(Or)for(var Nn of Or(hn))sa.call(hn,Nn)&&ra(Yt,Nn,hn[Nn]);return Yt},wr=(Yt,hn)=>Jr(Yt,Tr(hn)),Br=(Yt,hn)=>{var Nn={};for(var Mn in Yt)Ur.call(Yt,Mn)&&hn.indexOf(Mn)<0&&(Nn[Mn]=Yt[Mn]);if(Yt!=null&&Or)for(var Mn of Or(Yt))hn.indexOf(Mn)<0&&sa.call(Yt,Mn)&&(Nn[Mn]=Yt[Mn]);return Nn},Mr=(Yt,hn,Nn)=>new Promise((Mn,An)=>{var mn=jn=>{try{On(Nn.next(jn))}catch(ar){An(ar)}},Sn=jn=>{try{On(Nn.throw(jn))}catch(ar){An(ar)}},On=jn=>jn.done?Mn(jn.value):Promise.resolve(jn.value).then(mn,Sn);On((Nn=Nn.apply(Yt,hn)).next())});const{Countdown:Wr}=E.default,ha={Java:"java",C:"c",Python:"py","C++":"c"};var wa=(Yt=>(Yt[Yt.SET_LOADING=0]="SET_LOADING",Yt[Yt.GET_DATA=1]="GET_DATA",Yt[Yt.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",Yt[Yt.SET_DATA=3]="SET_DATA",Yt[Yt.SET_DEBUGING=4]="SET_DEBUGING",Yt[Yt.SET_SUBMITING=5]="SET_SUBMITING",Yt[Yt.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",Yt[Yt.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",Yt[Yt.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",Yt[Yt.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",Yt[Yt.SET_PAGE=10]="SET_PAGE",Yt))(wa||{});function Ia(){return new Date().getTime()}const ka={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Na(Yt,hn){switch(hn.type){case 1:return xr(xr({},Yt),hn.payload);case 3:return wr(xr({},Yt),{data:hn.payload});case 0:return wr(xr({},Yt),{loading:hn.payload});case 9:return wr(xr({},Yt),{showNote:hn.payload});case 4:return wr(xr({},Yt),{debuging:hn.payload});case 5:return wr(xr({},Yt),{submitting:hn.payload});case 2:return wr(xr({},Yt),{submitRecords:hn.payload});case 10:return wr(xr({},Yt),{submitRecordPage:hn.payload});case 6:return wr(xr({},Yt),{executingMessage:hn.payload});case 7:return xr(xr({},Yt),hn.payload);case 8:return xr(xr({},Yt),hn.payload);default:throw new Error}}var da=({children:Yt})=>{var hn,Nn,Mn,An,mn;const[Sn,On]=(0,ae.useReducer)(Na,ka),{id:jn}=(0,Ae.useParams)(),ar=(0,Ae.useLocation)(),[Vn]=(0,Ae.useSearchParams)(),{loading:Gr,data:hr,debugResult:pa,submitResult:Rr,submitRecords:gr,submitRecordPage:_r,showNote:Kr,debuging:Un,submitting:mr,executingMessage:Wt}=Sn,[Rt,Kt]=(0,ae.useState)("#37AD83"),[gn,Gn]=(0,ae.useState)(null),[qn,Cn]=(0,ae.useState)({}),[nr,yr]=(0,ae.useState)(!0),[Qr,fr]=(0,ae.useState)(!1),[er,aa]=(0,ae.useState)(!1),oa=(0,ae.useRef)(null),Ea=(0,ae.useRef)(0),Cr=hr==null?void 0:hr.user,Jn=hr==null?void 0:hr.hack,[Dr,la]=(0,ae.useState)(!1),xa=(0,ae.useRef)(1),no=(0,ae.useRef)(!1);(0,ca.y)(Vn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Eo}=(0,ca.X)(),[jo,Zo]=(0,ae.useState)(""),Ko=(0,lr._)(qn);(0,ae.useEffect)(()=>{function Vr(){return Mr(this,null,function*(){var Sa,oo,yo,Jo,zo;yr(!0);const bo=yield(0,de.fu)(jn,{exercise_id:Vn.get("exercisesId")});if(setTimeout(()=>{yr(!1)},800),bo.status!==401){try{bo.hack.code=ze.Base64.decode(bo.hack.code)}catch(Ya){console.log(Ya)}bo.hack=wr(xr({},bo.hack),{is_program:Vn.get("type")==="1"}),On({type:1,payload:{loading:!1,data:bo}})}if(Vn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Ya;Vn.get("coursesId")=="coursesId"?Ya=yield(0,ue._F)({categoryId:Vn.get("exercisesId"),login:Vn.get("login")}):Ya=yield(0,ue._B)({categoryId:Vn.get("exercisesId"),login:Vn.get("login")}),Cn(xr({},Ya)),Eo((Sa=Ya==null?void 0:Ya.exercise)==null?void 0:Sa.forbid_copy),typeof((oo=Ya==null?void 0:Ya.exercise)==null?void 0:oo.left_time)=="number"&&(Gn(Date.now()+((yo=Ya==null?void 0:Ya.exercise)==null?void 0:yo.left_time)*1e3),setTimeout(()=>{Kt("red")},(((Jo=Ya==null?void 0:Ya.exercise)==null?void 0:Jo.left_time)-300>0?((zo=Ya==null?void 0:Ya.exercise)==null?void 0:zo.left_time)-300:0)*1e3))}})}jn&&Vr()},[jn]),(0,ae.useEffect)(()=>{var Vr;return Vn.get("type")==="exercises"&&((Vr=qn==null?void 0:qn.exercise)!=null&&Vr.screen_open)&&(window.removeEventListener("blur",ko,!1),Ir.U.forEach((Sa,oo)=>{window.addEventListener(Sa,ko,!1)}),window.addEventListener("blur",ko,!1),window.focus()),()=>{document.removeEventListener((0,ie.gH)(),ko)}},[qn]),(0,ae.useEffect)(()=>{jo==="1"&&jn&&Jn!=null&&Jn.language&&Ao()},[jn,_r,Jn==null?void 0:Jn.language,jo]),(0,ae.useEffect)(()=>(Jn!=null&&Jn.is_program&&(Ea.current=0,oa.current=setInterval(()=>{Vo()},15e3)),()=>{clearInterval(oa.current)}),[Jn==null?void 0:Jn.is_program]);const Vo=()=>Mr(void 0,null,function*(){let Vr=yield(0,ve.ZP)(`/api/myproblems/${jn}/save_long_time.json`,{method:"get",params:{answer_long_time:Ea.current}})}),ko=()=>{no.current||(0,ie.BU)(),window.parent.postMessage("backExercise","*")};function Ao(){return Mr(this,null,function*(){try{const Vr=yield(0,de.zO)(jn,{limit:15,page:_r,language:Jn==null?void 0:Jn.language});On({type:2,payload:Vr})}catch(Vr){console.log(Vr)}})}function _o(Vr){On({type:10,payload:Vr})}function Fo(Vr){return Mr(this,null,function*(){var Sa;let oo;(Vn.get("ip_limit")==="inner"||Vn.get("ip_bind_type")==="true")&&(oo=yield(0,Tn.y)({ip_limit:Vn.get("ip_limit"),ip_bind:Vn.get("ip_bind_type")==="true"}));const yo=yield(0,de.n4)(jn,{code:ze.Base64.encode(Vr||Jn.code),language:Jn==null?void 0:Jn.language,exercise_id:Vn.get("exercisesId"),question_id:Vn.get("questionId"),ip:oo});return yo.status===-5&&(0,Ae.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:wr(xr({errorMessage:yo==null?void 0:yo.message},(qn==null?void 0:qn.exercise)||{}),{exercise_user_id:(Sa=qn==null?void 0:qn.exercise)==null?void 0:Sa.exercise_user_id,id:Vn.get("exercisesId")})}}),yo})}function Qo(){return Mr(this,null,function*(){if(xa.current=2,!mr){On({type:5,payload:!0});try{yt.Z.publish("to-commit-info");const Vr=yield Fo();if(console.log(Vr,1),Vr.status===0){let bo=function(){return Mr(this,null,function*(){const{status:Ya,data:wo}=yield(0,de.rX)(jn,"submit"),To=Ia()-zo>(yo*Jo+30)*1e3;if(Ya!==0&&!To&&setTimeout(bo,1e3),To&&Ya!==0){ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),On({type:5,payload:!1});return}if(Ya===0){wo.status===2&&ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(wo==null?void 0:wo.status)===0&&Vn.get("type")==="1"&&aa(!0);const fi=yield(0,de.zO)(jn,{limit:15,page:_r,language:Jn==null?void 0:Jn.language});On({type:8,payload:wr(xr({},Sn),{submitResult:wo,submitting:!1,submitRecords:fi})})}})},Sa={};Vn.get("type")==="exercises"&&(Sa.extras={exercise_id:Vn.get("exercisesId"),question_id:Vn.get("questionId")},(Vn.get("ip_limit")==="inner"||Vn.get("ip_bind_type")==="true")&&(Sa.extras.ip=yield(0,Tn.y)({ip_limit:Vn.get("ip_limit"),ip_bind:Vn.get("ip_bind_type")==="true"})));const oo=yield(0,de.bM)(jn,Sa);if(oo.status===-1&&Vn.get("exercisesId")){window.parent.location.href=`/classrooms/${Vn.get("coursesId")}/exercise/${Vn.get("exercisesId")}/detail`;return}const{time_limit:yo,test_case_size:Jo}=Jn,zo=Ia();oo.status>-1?bo():On({type:5,payload:!1})}else On({type:5,payload:!1})}catch(Vr){console.log(Vr),On({type:5,payload:!1})}la(!1)}})}function Po(){return Mr(this,null,function*(){xa.current=1,Sn.debuging=!0,On({type:4,payload:!0});try{if((yield Fo()).status===0){let zo=function(){return Mr(this,null,function*(){const{status:bo,message:Ya,data:wo}=yield(0,de.rX)(jn,"debug"),To=Ia()-Jo>(Sa+30)*1e3;if(bo!==0&&!To&&(On({type:6,payload:Ya}),setTimeout(zo,1e3)),To){ye.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),On({type:4,payload:!1}),On({type:7,payload:wr(xr({},Sn),{debugResult:{status:2},debuging:!1})});return}bo===0&&(wo.status===2&&ye.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),On({type:4,payload:!1}),On({type:7,payload:wr(xr({},Sn),{debugResult:wo,debuging:!1})}))})};const{time_limit:Sa}=Jn;let oo={input:encodeURIComponent(hr.test_case.input)};Vn.get("type")==="exercises"&&(oo.exercise_id=Vn.get("exercisesId"));const yo=yield(0,de.MU)(jn,oo);if(yo.status===-1&&Vn.get("exercisesId")){window.parent.location.href=`/classrooms/${Vn.get("coursesId")}/exercise/${Vn.get("exercisesId")}/detail`;return}const Jo=Ia();(yo==null?void 0:yo.status)>-1?zo():On({type:4,payload:!1})}else On({type:4,payload:!1})}catch(Vr){console.log(Vr)}finally{}})}function Co(Vr,Sa){const oo=Sa?{modify_code:!1}:{};On({type:3,payload:wr(xr({},hr),{hack:xr(wr(xr({},Jn),{code:Vr}),oo)})}),la(!0)}const Yo=Vr=>Mr(void 0,null,function*(){let Sa=yield(0,ve.ZP)(`/api/problems/${Jn==null?void 0:Jn.identifier}/start.json`,{method:"get",params:{language:Vr==="C++"||Vr==="c++"?encodeURIComponent(Vr):Vr,hack_user_id:Cr==null?void 0:Cr.user_id}});Sa.status!==-1&&Ae.history.replace(`/myproblems/${Sa==null?void 0:Sa.identifier}${window.location.search}`)});function ai(Vr){let Sa=Vr.target.value;On({type:3,payload:wr(xr({},hr),{test_case:{input:Sa}})})}function ii(){return Mr(this,null,function*(){try{let Vr={};Vn.get("type")==="exercises"?Vr.exercise_id=Vn.get("exercisesId"):Jn!=null&&Jn.homework_common_id&&(Vr.homework_common_id=Jn==null?void 0:Jn.homework_common_id);const Sa=yield(0,de.H7)(jn,xr({},Vr));Sa.status===401||(Co(ze.Base64.decode(Sa.code)),(Vn.get("type")==="exercises"||Jn!=null&&Jn.homework_common_id)&&yt.Z.publish("to-reset-info"))}catch(Vr){console.log(Vr)}})}function Xo(){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Fn.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Fn.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Mr(this,null,function*(){const Vr=yield(0,de.fi)(jn);Vr.status===401||Co(ze.Base64.decode(Vr.code),!0)})}})}function ti(){On({type:9,payload:!0})}function bi(){On({type:9,payload:!1})}function Si(Vr){return Mr(this,null,function*(){yield(0,de.MK)(jn,Vr),On({type:1,payload:{showNote:!1,data:wr(xr({},hr),{hack:wr(xr({},Jn),{notes:Vr.notes})})}})})}const Io={hack:Jn,isLoading:nr,input:(hn=hr==null?void 0:hr.test_case)==null?void 0:hn.input,is_file:(Nn=hr==null?void 0:hr.test_case)==null?void 0:Nn.is_file,identifier:Jn==null?void 0:Jn.identifier,attachments_count:hr==null?void 0:hr.attachments_count,language:Jn==null?void 0:Jn.language,code:Jn==null?void 0:Jn.code,title:"main."+ha[Jn==null?void 0:Jn.language],modify_code:Jn==null?void 0:Jn.modify_code,notes:Jn==null?void 0:Jn.notes,debugResult:pa,debuging:Un,submitting:mr,submitResult:Rr,executingMessage:Wt,onCancelNote:bi,onAddNote:Si,showNote:Kr,user:Cr,onShowNote:ti,onSubmitCode:Qo,onChangeCode:Co,onChangeInput:ai,onDebugCode:Po,onResetCode:ii,onSyncCode:Xo,onUpdateCode:Fo,onChangeLanguage:Yo,isWhiteTheme:Qr,setIsWhiteTheme:fr,topDispatch:On};function si(){return Mr(this,null,function*(){const{praise_count:Vr}=yield(0,de.vl)(Jn.id,{container_type:"Hack",type:1});let Sa=wr(xr({},hr),{hack:wr(xr({},Jn),{praises_count:Vr,user_praise:!Jn.user_praise})});On({type:3,payload:Sa})})}const li={topicId:jn,submitResult:Rr,submitRecords:gr,submitting:mr,page:_r,onPageChange:_o,hack:Jn,user:hr==null?void 0:hr.user,hack_sets:hr==null?void 0:hr.hack_sets,current_user:hr==null?void 0:hr.current_user,onTriggerPraise:si,setActiveIndex:Zo};return console.log(qn),Fn.createElement(Fn.Fragment,null,Fn.createElement(he.Z,{spinning:Gr,delay:500},hr?Fn.createElement(Fn.Fragment,null,Fn.createElement("header",{className:na()(Er.Z.header,Qr&&Er.Z.whiteHeader)},Vn.get("type")!=="exercises"&&Fn.createElement("div",null,Fn.createElement("img",{src:`${re.Z.IMG_SERVER}/images/${Cr==null?void 0:Cr.image_url}`,alt:"user",width:36}),Fn.createElement("span",{style:{color:Qr?"#333":"#B2BACB",fontSize:16}},Cr==null?void 0:Cr.name)),Vn.get("type")==="exercises"&&Fn.createElement("div",null,Fn.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Fn.createElement("span",{className:"ml10"},(Mn=qn==null?void 0:qn.exercise)==null?void 0:Mn.user_name)),Fn.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Fn.createElement("span",{className:"ml10"},(An=qn==null?void 0:qn.exercise)==null?void 0:An.student_id))),Fn.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Fn.createElement("div",null,Jn.name)),(Jn==null?void 0:Jn.is_program)&&Fn.createElement(ur.Z,{defaultValue:Jn==null?void 0:Jn.answer_long_time,onChange:Vr=>{Ea.current=Vr},className:Er.Z.timepiece}),Cr!=null&&Cr.hack_manager?Fn.createElement(Ae.Link,{className:Er.Z.btn_edit,to:Vn.get("type")==="1"?Vn.get("pageId")?`/problems/newedit/${Jn.identifier}?type=1&pageId=${Vn.get("pageId")}&backUrl=${Vn.get("backUrl")}`:`/problems/newedit/${Jn.identifier}?type=1`:`/problems/newedit/${Jn.identifier}`}," ",Fn.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((mn=qn==null?void 0:qn.exercise)!=null&&mn.left_time)&&Fn.createElement(Fn.Fragment,null,Fn.createElement("span",{style:{color:Rt,marginRight:6},className:`iconfont icon-daojishi ${Er.Z.djs}`}),Fn.createElement("span",{className:"c-white mr20"},Fn.createElement(Wr,{valueStyle:{color:Rt,fontSize:20,fontWeight:500},title:Fn.createElement("span",{style:{color:Rt,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:gn,onFinish:()=>Mr(void 0,null,function*(){const Vr=yield(0,ue.VL)({categoryId:Vn.get("exercisesId"),commit_method:2});if((Vr==null?void 0:Vr.status)===0&&(Fo(),ye.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Fn.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Fn.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Mr(void 0,null,function*(){window.parent.location.href=`/classrooms/${Vn.get("coursesId")}/exercise/${Vn.get("exercisesId")}/detail`})})),(Vr==null?void 0:Vr.status)===-3){const Sa=parseInt(Vr==null?void 0:Vr.message);Gn(Date.now()+Sa*1e3)}})}))),Vn.get("type")==="exercises"?Fn.createElement(le.ZP,{type:"primary",onClick:()=>{const Vr=()=>Mr(void 0,null,function*(){yield Fo(),la(!1),Ko(),no.current=!0,ko()});if(!(gr!=null&&gr.records_count)||Dr){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Fn.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:Vr});return}Vr()}},Fn.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Fn.createElement("span",{onClick:()=>{var Vr;if(Vn.get("backUrl"))Ae.history.push(Vn.get("backUrl"));else if(Vn.get("type")==="1"){let Sa=(Vr=localStorage.getItem("program_homework"))==null?void 0:Vr.split(",");Ae.history.push(`/classrooms/${Sa==null?void 0:Sa[0]}/program_homework/${Sa==null?void 0:Sa[1]}/detail`)}else Ae.history.push("/problemset")}},Fn.createElement(ne.Z,{title:"\u5173\u95ED"},Fn.createElement("i",{style:{color:Qr?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Fn.createElement(he.Z,{size:"large",spinning:nr},Fn.createElement(oe.Z,{className:na()(Er.Z.myProblems,Qr&&Er.Z.whiteMyProblems),leftChild:Fn.createElement(Rn,xr({},li)),rightChild:Fn.createElement(za,xr({},Io))}))):null,Fn.createElement(ye.default,{centered:!0,closable:!1,width:680,footer:null,open:er,className:"oj-modal"},Fn.createElement("section",{className:"oj-modal-content"},Fn.createElement("div",{className:"oj-modal-head"},Fn.createElement("img",{src:$n,alt:""}),Fn.createElement("i",{onClick:()=>aa(!1),className:"iconfont icon-guanbi1"})),Fn.createElement("aside",null,Fn.createElement("img",{className:"mr30",src:Xn.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Fn.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Rr==null?void 0:Rr.execute_time,"ms"),"\u4F18\u4E8E",Fn.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Rr==null?void 0:Rr.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Fn.createElement("aside",{className:"mb50"},Fn.createElement("img",{src:Kn.Z,className:"mr30"}),Fn.createElement("span",{className:"oj-modal-tt"},Fn.createElement("span",null,Fn.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Fn.createElement("span",{className:"c-light-primary"},Rr==null?void 0:Rr.execute_memory,"kb")),Fn.createElement("span",null,Fn.createElement("span",null))),"\u4F18\u4E8E",Fn.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Rr==null?void 0:Rr.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Fn.createElement("div",{id:"oj-modal-next",onClick:()=>Mr(void 0,null,function*(){var Vr;if(Rr!=null&&Rr.next_identifier){let Sa=yield(0,ve.ZP)(`/api/problems/${Rr==null?void 0:Rr.next_identifier}/start.json`,{method:"get",params:{hack_user_id:Cr==null?void 0:Cr.user_id}});Sa&&(window.location.href=`/myproblems/${Sa==null?void 0:Sa.identifier}${window.location.search}`)}else{let Sa=(Vr=localStorage.getItem("program_homework"))==null?void 0:Vr.split(",");Ae.history.push(`/classrooms/${Sa==null?void 0:Sa[0]}/program_homework/${Sa==null?void 0:Sa[1]}/detail`)}}),className:"oj-modal-btn"},Rr!=null&&Rr.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),Fn.createElement(Sr.Z,{successCb:()=>{xa.current===1?Po():Qo()}}))};function ya({title:Yt,modify_code:hn,onSyncCode:Nn,onShowCodeSetting:Mn,onResetCode:An,hack:mn,onChangeLanguage:Sn,isWhiteTheme:On,onShowResourceCentre:jn,attachments_count:ar}){var Vn;const Gr=()=>{ye.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Fn.createElement(z.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:An})},[hr]=(0,Ae.useSearchParams)(),pa=hr.get("language"),Rr=gr=>gr==="1"?"c++":gr==="2"?"C++":gr;return(0,ae.useEffect)(()=>{pa&&Sn(Rr(pa))},[]),(0,ae.useEffect)(()=>{mn!=null&&mn.tpm_code_modified&&ye.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Fn.createElement(z.Z,null),content:Fn.createElement("div",null,Fn.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Fn.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Fn.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>An()})},[mn==null?void 0:mn.language]),console.log(mn,On,"hack"),Fn.createElement("div",{className:`${Er.Z.codeHead} ${On?Er.Z.whiteCodeHead:""}`},Fn.createElement("div",{className:Er.Z.navWrap},(Vn=mn==null?void 0:mn.all_language)==null?void 0:Vn.map(gr=>Fn.createElement("div",{className:`${Er.Z.nav} ${gr===(mn==null?void 0:mn.language)?Er.Z.active:""}`,key:gr,onClick:()=>Sn(gr)},Fn.createElement(ne.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Fn.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Fn.createElement("span",null,gr)))),Fn.createElement(se.Z,{align:"middle",style:{marginLeft:"auto"}},hn?Fn.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Nn},Fn.createElement("img",{src:Ge,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,ar>0&&Fn.createElement("a",{onClick:jn},Fn.createElement(ne.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},Fn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),Fn.createElement("a",{onClick:Gr},Fn.createElement(ne.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Fn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Fn.createElement("a",{onClick:Mn},Fn.createElement(ne.Z,{title:"\u8BBE\u7F6E"},Fn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function za(Yt){var hn=Yt,{input:Nn,is_file:Mn,identifier:An,showNote:mn,onShowNote:Sn,notes:On,onCancelNote:jn,onAddNote:ar,debugResult:Vn,language:Gr,debuging:hr,submitting:pa,executingMessage:Rr,code:gr,onSubmitCode:_r,onDebugCode:Kr,onChangeCode:Un,onChangeInput:mr,onUpdateCode:Wt,user:Rt,isLoading:Kt,submitResult:gn}=hn,Gn=Br(hn,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function qn(nr,yr){return Fn.createElement(ya,wr(xr({},Gn),{onShowCodeSetting:nr,onShowResourceCentre:yr}))}const Cn=xr({input:Nn,is_file:Mn,debugResult:Vn,debuging:hr,submitting:pa,executingMessage:Rr,onDebugCode:Kr,onChangeCode:Un,onSubmitCode:_r,onChangeInput:mr,user:Rt,submitResult:gn},Gn);return Fn.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Fn.createElement(Qe,{setIsWhiteTheme:Gn==null?void 0:Gn.setIsWhiteTheme,isLoading:Kt,language:Gr,value:gr,identifier:An,onChange:Un,onUpdateCode:Wt,ActionBarRender:qn}),Fn.createElement(_e.ZP,xr({},Cn)))}},10129:function(vt,at,fe){"use strict";fe.d(at,{h:function(){return ae}});var ae=(Ae=>(Ae[Ae.NOMATCH=-1]="NOMATCH",Ae[Ae.OK=0]="OK",Ae[Ae.TIMEOUT=2]="TIMEOUT",Ae[Ae.PODFAILURE=3]="PODFAILURE",Ae[Ae.COMPILEFAILURE=4]="COMPILEFAILURE",Ae[Ae.EXECUTEFAILURE=5]="EXECUTEFAILURE",Ae[Ae.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Ae))(ae||{})},67172:function(vt,at,fe){"use strict";fe.d(at,{H7:function(){return a},MK:function(){return z},MU:function(){return ue},X6:function(){return oe},bM:function(){return de},fi:function(){return y},fu:function(){return se},n4:function(){return x},rX:function(){return re},vl:function(){return b},zO:function(){return ie}});var ae=fe(38147),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(ee,te,ce)=>te in ee?Ae(ee,te,{enumerable:!0,configurable:!0,writable:!0,value:ce}):ee[te]=ce,ne=(ee,te)=>{for(var ce in te||(te={}))ye.call(te,ce)&&le(ee,ce,te[ce]);if(E)for(var ce of E(te))he.call(te,ce)&&le(ee,ce,te[ce]);return ee};function se(ee,te){return(0,ae.U2)(`myproblems/${ee}.json`,ne({hidePopLogin:!0},te||{}))}function de(ee,te){return(0,ae.v_)(`myproblems/${ee}/code_submit.json`,te)}function ue(ee,te){return(0,ae.v_)(`myproblems/${ee}/code_debug.json`,te)}function ie(ee,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,ae.U2)(`myproblems/${ee}/submit_records.json`,te)}function oe(ee){return(0,ae.U2)("myproblems/record_detail.json",{id:ee})}function re(ee,te){return(0,ae.U2)(`myproblems/${ee}/result.json`,{mode:te})}function z(ee,te){return(0,ae.v_)(`myproblems/${ee}/add_notes.json`,te)}function a(ee,te){return(0,ae.v_)(`myproblems/${ee}/restore_initial_code.json`,te)}function y(ee){return(0,ae.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,te){return(0,ae.v_)(`myproblems/${ee}/update_code.json`,te)}function b(ee,te){return(0,ae.v_)(`discusses/${ee}/plus.json`,te)}},9748:function(vt,at,fe){"use strict";fe.d(at,{a:function(){return We}});var ae=fe(59301),Ae=fe(43418),E=fe(8591),ye=fe(20834),he=fe(95237),le=fe(24905),ne=fe(43604),se=fe(6848),de=fe(71418),ue=fe(38854),ie=fe(65582),oe=fe(56656),re=fe.n(oe),z={itemWrap:"itemWrap___KEbZ9",checkBoxWrapper:"checkBoxWrapper___Y_kuj",listWrap:"listWrap___VlWgM",list:"list___XIr6d",flexCenter:"flexCenter___eacyI",flexRow:"flexRow___A_mOc",imgWrap:"imgWrap___KI9io",img:"img___vjS11",contentWrap:"contentWrap___NI0Vt",titleWrap:"titleWrap___SlBWX",title:"title___KGh5v",content:"content___B0PxW",bottomWrap:"bottomWrap___WVJb4",updateTime:"updateTime___sxvSt",useCount:"useCount___puqPx",actionBtn:"actionBtn___JUWfj",actionButton:"actionButton___jabv3",actionBar:"actionBar___I1pC8",typeIcon:"typeIcon___bramC",private:"private___sdERX",public:"public___noSmD",random:"random___l2hTA",actionLinkWrapper:"actionLinkWrapper___Him3y",actionLink:"actionLink___rWBLq",actionIcon:"actionIcon___lMmL7",line:"line___HQJlK",b1:"b1___Y4KZd",b2:"b2___QxMOG",actionLeftItem:"actionLeftItem___Fnq4b",export_type_modal:"export_type_modal___ISAzV",export_type_modal_con:"export_type_modal_con___qw5B2",type_item:"type_item___pdMxs",img_warp:"img_warp___cDH7f",img_warp_active:"img_warp_active___rLrYN",menu:"menu___Q2PXr"},a=fe(41867),y=fe(87513),x=fe(66457),b=fe(89392),ee=fe(84454),te=fe(65862),ce=fe(69429),me=fe(9516),ve=fe(90463),ge=fe(59301),pe=Object.defineProperty,Se=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,we=(Te,Ue,He)=>Ue in Te?pe(Te,Ue,{enumerable:!0,configurable:!0,writable:!0,value:He}):Te[Ue]=He,Fe=(Te,Ue)=>{for(var He in Ue||(Ue={}))Ce.call(Ue,He)&&we(Te,He,Ue[He]);if(Ee)for(var He of Ee(Ue))De.call(Ue,He)&&we(Te,He,Ue[He]);return Te},Pe=(Te,Ue)=>Se(Te,be(Ue)),Le=(Te,Ue,He)=>new Promise((Qe,Ge)=>{var ze=tt=>{try{Ve(He.next(tt))}catch(Xe){Ge(Xe)}},_e=tt=>{try{Ve(He.throw(tt))}catch(Xe){Ge(Xe)}},Ve=tt=>tt.done?Qe(tt.value):Promise.resolve(tt.value).then(ze,_e);Ve((He=He.apply(Te,Ue)).next())});const Oe={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},We=({showCheckbox:Te=!1,data:Ue,user:He,authRole:Qe,activeTabsKey:Ge,selectIds:ze=[],onSetSelectIds:_e=()=>{},onPublicReview:Ve=()=>{},onSetPublic:tt=()=>{},onCancelPublic:Xe=()=>{},onShare:lt=()=>{},onCancelShare:Je=()=>{},onEdit:Ke=()=>{},onDelete:Me=()=>{},onSendToClass:et=()=>{},onCopy:Ie=()=>{},onEncryptionAndSealing:Re=()=>{},handleReloadData:qe})=>{var Ye,ke,xe,Ne,Be,je;const[$e,nt]=(0,ae.useState)(!1),[Ze,rt]=(0,ae.useState)(!1),[yt,ct]=(0,ae.useState)(!1),[bt,dt]=(0,ae.useState)(""),[ht,ot]=(0,ae.useState)({id:"",open:""}),ut=()=>{Ae.default.warning({centered:!0,width:530,okText:"\u77E5\u9053\u5566",title:"\u63D0\u793A",icon:null,content:ge.createElement("div",{className:"tc font16"},"\u672C\u5957\u8BD5\u5377\u6240\u9009\u7528\u8BD5\u9898\u90E8\u5206\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u5E76\u53CA\u65F6\u8C03\u6574\u3002")})},mt=Ht=>{var qt,yn,In,En;if(((qt=He==null?void 0:He.userInfo)==null?void 0:qt.login)!==((yn=Ue==null?void 0:Ue.author)==null?void 0:yn.login)){E.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}ot({open:"\u63D0\u793A",id:Ue==null?void 0:Ue.id,phone:(In=He==null?void 0:He.userInfo)==null?void 0:In.phone,login:(En=He==null?void 0:He.userInfo)==null?void 0:En.login,onFinish:Ht})},Ct=()=>Le(void 0,null,function*(){var Ht;nt(!0);const qt=yield(0,y.Mb)({categoryId:Ue.id});nt(!1),qt!=null&&qt.exercise_id&&(0,te.xg)(`/classrooms/coursesId/exercise/${qt.exercise_id}/${(Ht=He.userInfo)==null?void 0:Ht.login}/initate_answer`)}),Bt=[{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>lt(Ue.id));return}lt(Ue.id)}},"\u5171\u4EAB"),key:"1",show:!Ue.is_random&&!Ue.is_share&&Ge==="0"},{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>Je(Ue.id));return}Je(Ue.id)}},"\u64A4\u9500\u5171\u4EAB"),key:"2",show:!Ue.is_random&&Ue.is_share&&Ge==="0"},{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>tt(Ue));return}tt(Ue)}},"\u516C\u5F00"),key:"3",show:!Ue.is_random&&!Ue.public&&!Ue.apply&&Ge==="0"},{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>Xe(Ue.id));return}Xe(Ue.id)}},"\u64A4\u9500\u516C\u5F00"),key:"4",show:!Ue.is_random&&Ue.public&&Ge==="0"},{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>Ve());return}Ve()}},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:!Ue.is_random&&!Ue.public&&Ue.apply&&Ge==="0",disabled:!0},{label:ge.createElement("a",{className:z.actionLink,onClick:Ht=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>Ie(Ht,Ue));return}Ie(Ht,Ue)}},"\u590D\u5236"),key:"8",show:Ge==="0"},{label:ge.createElement("a",{className:z.actionLink,onClick:Ht=>{Re(Ue)}},Ue!=null&&Ue.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),key:"9",show:Ge==="0"},{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{const Ht=()=>{Ue.is_random?ct(!0):(dt(""),rt(!0))};if(Ue!=null&&Ue.is_encrypt){mt(Ht);return}Ht()}},"\u5BFC\u51FA\u8BD5\u5377"),key:"6",show:!0},{label:ge.createElement("a",{className:z.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>Me(Ue.id));return}Me(Ue.id)}}," \u5220\u9664 "),key:"7",show:!Ue.public||Ge==="1"&&((Ye=Ue.author)==null?void 0:Ye.login)!==((ke=He.userInfo)==null?void 0:ke.login)&&(0,a.fn)()}].filter(Ht=>Ht.show),It=ge.createElement(ye.default,{forceSubMenuRender:!0,className:z.menu,items:Bt});return ge.createElement("div",{className:z.itemWrap},ge.createElement("div",{className:z.listWrap},ge.createElement("div",{className:`${z.list} ${z.flexCenter}`},ge.createElement("div",{className:z.contentWrap},ge.createElement(he.Z,{align:"top"},Te&&ge.createElement(le.default,{disabled:Ue==null?void 0:Ue.is_encrypt,className:`${z.checkBoxWrapper} mr10`,checked:ze.includes(Ue.id),onChange:Ht=>{_e(Ue.id)}}),ge.createElement(ne.Z,null,ge.createElement(he.Z,{align:"middle",className:z.titleWrap},ge.createElement("a",{onClick:()=>{const Ht=()=>{if(Qe){const qt=Ue.is_random?`/randompaper/detail/${Ue.id}`:`/paperlibrary/see/${Ue.id}?defaultActiveKey=${Ge}`;ie.history.push(qt)}};if(Ue!=null&&Ue.is_encrypt){mt(Ht);return}Ht()}},ge.createElement("p",{className:z.title,title:Ue.name},Ue.name)),ge.createElement(he.Z,{align:"middle"},(Ge==="0"||Ge==="2")&&ge.createElement(ge.Fragment,null,Ue.public?ge.createElement("div",{className:`${z.typeIcon} ${z.public}`},"\u5DF2\u516C\u5F00"):ge.createElement("div",{className:`${z.typeIcon} ${z.private}`},"\u81EA\u7528"),Ue.is_random&&ge.createElement("div",{className:`${z.typeIcon} ${z.random}`},"\u968F\u673A")),(Ge==="1"&&(0,a.ag)()||Ge==="0")&&Ue.changed&&ge.createElement("i",{className:"iconfont icon-jinggao1 c-red font16 ml10 current",onClick:ut})),(Ue==null?void 0:Ue.is_encrypt)&&ge.createElement(se.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"},ge.createElement("img",{src:ce,width:21,height:26,className:"ml10"})),(Ue==null?void 0:Ue.high_resources_consume)&&ge.createElement(ve.Z,{type:"exercise",style:{marginLeft:10,borderRadius:13,padding:"0 10px",width:"auto"}})),ge.createElement("div",{className:`${z.flexRow}`},ge.createElement("div",{className:z.content},"\u8BD5\u9898\u6570",ge.createElement("span",null,Ue.question_count)),ge.createElement("div",{className:z.content},"\u603B\u5206",ge.createElement("span",null,Ue.total_score)),ge.createElement("div",{className:z.content},"\u96BE\u5EA6",ge.createElement("span",null,Oe[Ue.difficulty]))))),ge.createElement("div",null,Qe&&ge.createElement("a",{className:`${z.actionBtn}`,onClick:()=>{const Ht=()=>{if(Ue!=null&&Ue.need_authorize){(0,x.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}et(Ue.id,Ue)};if(Ue!=null&&Ue.is_encrypt){mt(Ht);return}Ht()}},"\u53D1\u9001\u81F3\u8BFE\u5802")))),ge.createElement("div",{className:z.actionBar},ge.createElement("div",{className:z.flexRow},ge.createElement("div",{className:z.actionLeftItem},"\u66F4\u65B0",ge.createElement("span",null,Ue.update_time?re()(Ue.update_time).format("YYYY-MM-DD"):"")),ge.createElement("div",{className:z.actionLeftItem},"\u4F7F\u7528\u6B21\u6570",ge.createElement("span",null,Ue.quotes)),Ge==="1"&&ge.createElement("div",{className:z.actionLeftItem},"\u521B\u5EFA\u8005",ge.createElement("span",null,(xe=Ue.author)==null?void 0:xe.name)),Ge==="2"&&ge.createElement("div",{className:z.actionLeftItem},"\u5206\u4EAB\u4EBA",ge.createElement("span",null,(Ne=Ue.author)==null?void 0:Ne.name))),ge.createElement("div",{className:z.flexRow},((Ge==="0"||Ge==="2")&&!Ue.public||Ge==="1"&&((Be=Ue.author)==null?void 0:Be.login)!==((je=He.userInfo)==null?void 0:je.login)&&(0,a.ag)())&&ge.createElement(he.Z,{align:"middle",className:z.actionLinkWrapper},ge.createElement("div",{className:z.line},ge.createElement("b",{className:z.b1}),ge.createElement("b",{className:z.b2})),ge.createElement("a",{className:`${z.actionLink}`,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){mt(()=>Ke(Ue.id,Ue.is_random));return}Ke(Ue.id,Ue.is_random)}},ge.createElement("i",{className:`iconfont icon-bianji10 ${z.actionIcon}`}),"\u7F16\u8F91")),Qe&&ge.createElement(he.Z,{align:"middle",className:z.actionLinkWrapper},ge.createElement("div",{className:z.line},ge.createElement("b",{className:z.b1}),ge.createElement("b",{className:z.b2})),ge.createElement(de.Z,{spinning:$e},ge.createElement("a",{className:`${z.actionLink}`,type:"primary",onClick:(0,b.throttle)(()=>{if(Ue!=null&&Ue.is_encrypt){mt(Ct);return}Ct()},3500)},ge.createElement("i",{className:`iconfont icon-monikaoshi2 ${z.actionIcon}`}),"\u6A21\u62DF\u8003\u8BD5"))),(Ge==="0"||Ge==="2")&&ge.createElement(ue.Z,{dropdownRender:()=>It},ge.createElement(he.Z,{align:"middle",className:z.actionLinkWrapper},ge.createElement("div",{className:z.line},ge.createElement("b",{className:z.b1}),ge.createElement("b",{className:z.b2})),ge.createElement("a",{className:`${z.actionLink}`},ge.createElement("i",{className:`iconfont icon-gengduo5 font14 mr5 ${z.actionIcon}`}),"\u66F4\u591A")))))),ge.createElement(ge.Fragment,null,ge.createElement(me.O7,{onCancel:()=>{ot(Pe(Fe({},ht),{open:""}))},onFinish:()=>{var Ht;qe==null||qe(),(Ht=ht==null?void 0:ht.onFinish)==null||Ht.call(ht)},open:(ht==null?void 0:ht.open)==="\u63D0\u793A",Data:Fe({},ht)})),ge.createElement(Ae.default,{width:450,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u7A7A\u767D\u8BD5\u5377\u683C\u5F0F",open:Ze,onCancel:()=>rt(!1),onOk:()=>Le(void 0,null,function*(){if(bt==""){E.ZP.info("\u8BF7\u9009\u62E9\u4E00\u79CD\u5BFC\u51FA\u683C\u5F0F");return}else if(bt=="pdf"){const Ht=`/paperlibrary/see/${Ue.id}?defaultActiveKey=${Ge}&exportPDF=true`;ie.history.push({pathname:Ht,state:{}})}else bt=="word"&&(0,ee.ON)({id:Ue==null?void 0:Ue.id,middle_export:1,export_type:0});rt(!1)})},ge.createElement("div",{className:z.export_type_modal},ge.createElement("div",{className:z.export_type_modal_con},ge.createElement("div",{className:z.type_item},ge.createElement("div",{className:`${z.img_warp} ${bt=="pdf"?z.img_warp_active:""}`,onClick:()=>dt("pdf")},ge.createElement("img",{src:fe(45614),width:70,height:70})),"pdf\u683C\u5F0F"),ge.createElement("div",{className:z.type_item},ge.createElement("div",{className:`${z.img_warp} ${bt=="word"?z.img_warp_active:""}`,onClick:()=>dt("word")},ge.createElement("img",{src:fe(38347),width:70,height:70})),"word\u683C\u5F0F")))),ge.createElement(Ae.default,{width:450,title:"\u63D0\u793A",open:yt,centered:!0,okText:"\u53D1\u9001\u81F3\u8BFE\u5802",onCancel:()=>ct(!1),onOk:()=>Le(void 0,null,function*(){if(Ue!=null&&Ue.need_authorize){(0,x.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}et(Ue.id,Ue),ct(!1)})},"\u7531\u4E8E\u8BE5\u8BD5\u5377\u4E3A\u968F\u673A\u7EC4\u5377\uFF0C\u8BF7\u53D1\u9001\u81F3\u8BFE\u5802\u540E\u518D\u8FDB\u884C\u5BFC\u51FA"))}},9516:function(vt,at,fe){"use strict";fe.d(at,{$i:function(){return be},K1:function(){return Ce},O7:function(){return De},T$:function(){return Se}});var ae=fe(3918),Ae=fe(29297),E=fe(87513),ye=fe(89540),he=fe(61527),le=fe(43418),ne=fe(78241),se=fe(8591),de=fe(92832),ue=fe(95237),ie=fe(43604),oe=fe(59301),re=fe(65582),z=fe(28209),a=fe.n(z),y=fe(65862),x=fe(59301),b=Object.defineProperty,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,me=(we,Fe,Pe)=>Fe in we?b(we,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):we[Fe]=Pe,ve=(we,Fe)=>{for(var Pe in Fe||(Fe={}))te.call(Fe,Pe)&&me(we,Pe,Fe[Pe]);if(ee)for(var Pe of ee(Fe))ce.call(Fe,Pe)&&me(we,Pe,Fe[Pe]);return we},ge=(we,Fe,Pe)=>new Promise((Le,Oe)=>{var We=He=>{try{Ue(Pe.next(He))}catch(Qe){Oe(Qe)}},Te=He=>{try{Ue(Pe.throw(He))}catch(Qe){Oe(Qe)}},Ue=He=>He.done?Le(He.value):Promise.resolve(He.value).then(We,Te);Ue((Pe=Pe.apply(we,Fe)).next())});const pe=we=>{const Fe=a().enc.Utf8.parse("c03f36595bd5610b");return a().AES.encrypt(we||"",Fe,{iv:Fe,mode:a().mode.CBC}).toString()},Se=({onCancel:we,open:Fe})=>x.createElement(le.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Fe,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:we,onOk:()=>{re.history.push("/account/secure")}},x.createElement("span",null,"\u52A0\u5BC6\u5C01\u5B58\u4E4B\u540E\uFF0C\u5FD8\u8BB0\u5BC6\u7801\u65F6\u9700\u8981\u4F7F\u7528\u624B\u673A\u53F7\u8FDB\u884C\u5BC6\u7801\u91CD\u7F6E\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801")),be=({onCancel:we,onFinish:Fe,open:Pe,Data:Le})=>{const[Oe]=ne.default.useForm(),[,We,Te]=(0,he.U)((Le==null?void 0:Le.type)=="exercise"?E.yE:Ae.yE,{id:Le==null?void 0:Le.id});return(0,oe.useEffect)(()=>{Pe||Oe.resetFields()},[Pe]),x.createElement(le.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:Pe,destroyOnClose:!0,confirmLoading:We,onCancel:we,onOk:()=>{Oe==null||Oe.submit()}},x.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},x.createElement("i",{className:"iconfont icon-tishi7"}),x.createElement("span",null,"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58\u540E\uFF0C\u6240\u6709\u7528\u6237\u9700\u8981\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u624D\u80FD\u8FDB\u884C\u67E5\u770B\u3001\u7F16\u8F91\u8BD5\u5377\u7B49\u64CD\u4F5C\uFF01")),x.createElement(ne.default,{form:Oe,className:"mt-20px",size:"large",colon:!1,onFinish:Ue=>ge(void 0,null,function*(){const He=yield Te({id:Le==null?void 0:Le.id,is_encrypt:!0,pwd:pe(Ue.pwd),pwd_confirm:pe(Ue.pwd_confirm)});He.status===0?(se.ZP.success("\u52A0\u5BC6\u6210\u529F"),Fe==null||Fe(He),we()):Oe.setFields([{name:"pwd",errors:[He==null?void 0:He.message]}])})},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),x.createElement(ne.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:Ue})=>({validator(He,Qe){return!Qe||Ue("pwd")===Qe?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"}))))},Ee=({onCancel:we,open:Fe,Data:Pe})=>{var Le;const[Oe]=ne.default.useForm(),[We]=ne.default.useForm(),[Te,Ue]=(0,oe.useState)(!1),[He,Qe]=(0,oe.useState)(0),[,,Ge]=(0,he.U)(ye.o1,{type:(Pe==null?void 0:Pe.type)=="exercise"?12:11}),[,ze,_e]=(0,he.U)((Pe==null?void 0:Pe.type)=="exercise"?E.dp:Ae.dp,{id:Pe==null?void 0:Pe.id}),[,Ve,tt]=(0,he.U)((Pe==null?void 0:Pe.type)=="exercise"?E.Qc:Ae.Qc,{id:Pe==null?void 0:Pe.id});return(0,oe.useEffect)(()=>{var Xe;Pe!=null&&Pe.phone&&Oe.setFieldsValue({login:(Xe=Pe==null?void 0:Pe.phone)==null?void 0:Xe.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[Pe==null?void 0:Pe.phone]),(0,oe.useEffect)(()=>{He>0&&setTimeout(()=>{Qe(He-1)},1e3)},[He]),(0,oe.useEffect)(()=>{Fe||(Oe.resetFields(),We.resetFields())},[Fe]),x.createElement(x.Fragment,null,x.createElement(le.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:Fe,destroyOnClose:!0,confirmLoading:ze,onCancel:we,onOk:()=>{Oe==null||Oe.submit()}},x.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),x.createElement(ne.default,{className:"mt20",initialValues:{phone:(Le=Pe==null?void 0:Pe.phone)==null?void 0:Le.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:Oe,size:"large",colon:!1,onFinish:Xe=>ge(void 0,null,function*(){console.log("allValue",Xe);const lt=yield _e({code:Xe==null?void 0:Xe.code,login:Pe==null?void 0:Pe.phone,id:Pe==null?void 0:Pe.id});lt.status===0?(se.ZP.success("\u6821\u9A8C\u6210\u529F"),we==null||we(),Ue(!0)):Oe.setFields([{name:"code",errors:[lt==null?void 0:lt.message]}])})},x.createElement(ne.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},x.createElement(de.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),x.createElement(ue.Z,{wrap:!1,gutter:20},x.createElement(ie.Z,{flex:1},x.createElement(ne.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},x.createElement(de.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),x.createElement(ie.Z,null,x.createElement(ae.op,{openLoading:!0,size:"large",disabled:He>0,style:{borderRadius:"4px"},onClick:()=>ge(void 0,null,function*(){const Xe=yield Ge({type:(Pe==null?void 0:Pe.type)=="exercise"?12:11,login:Pe==null?void 0:Pe.phone,smscode:(0,y.M)(Pe==null?void 0:Pe.phone)});(Xe==null?void 0:Xe.status)===1&&(se.ZP.success("\u53D1\u9001\u6210\u529F"),Qe(60))})},He===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${He})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),x.createElement(le.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:Te,destroyOnClose:!0,confirmLoading:Ve,onCancel:()=>{Ue(!1)},onOk:()=>{We==null||We.submit()}},x.createElement(ne.default,{className:"mt20",form:We,size:"large",colon:!1,onFinish:Xe=>ge(void 0,null,function*(){console.log("allValue",Xe),(yield tt(ve({id:Pe==null?void 0:Pe.id},Xe))).status===0&&(se.ZP.success("\u91CD\u7F6E\u6210\u529F"),Ue(!1))})},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),x.createElement(ne.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:Xe})=>({validator(lt,Je){return!Je||Xe("pwd")===Je?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})))))},Ce=({onCancel:we,onFinish:Fe,open:Pe,Data:Le})=>{const[Oe]=ne.default.useForm(),[We,Te]=(0,oe.useState)(!1),[,Ue,He]=(0,he.U)((Le==null?void 0:Le.type)=="exercise"?E.yE:Ae.yE,{id:Le==null?void 0:Le.id});return(0,oe.useEffect)(()=>{Pe||Oe.resetFields()},[Pe]),x.createElement(x.Fragment,null,x.createElement(le.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:Pe,destroyOnClose:!0,confirmLoading:Ue,onCancel:we,onOk:()=>{Oe==null||Oe.submit()}},x.createElement(ue.Z,{wrap:!1,align:"top",gutter:16},x.createElement(ie.Z,{flex:1},x.createElement(ne.default,{form:Oe,size:"large",colon:!1,onFinish:Qe=>ge(void 0,null,function*(){const Ge=yield He({id:Le==null?void 0:Le.id,is_encrypt:!1,pwd:pe(Qe.pwd)});(Ge==null?void 0:Ge.status)===0?(se.ZP.success("\u89E3\u5C01\u6210\u529F"),Fe==null||Fe(Ge),we==null||we()):Oe.setFields([{name:"pwd",errors:[Ge==null?void 0:Ge.message]}])})},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),x.createElement(ie.Z,null,x.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Te(!0),we==null||we()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),x.createElement(Ee,{onCancel:()=>{Te(!1)},open:We,Data:ve({},Le)}))},De=({onCancel:we,onFinish:Fe,open:Pe,Data:Le})=>{const[Oe]=ne.default.useForm(),[We,Te]=(0,oe.useState)(!1),[,Ue,He]=(0,he.U)((Le==null?void 0:Le.type)=="exercise"?E.yE:Ae.yE,{id:Le==null?void 0:Le.id});return(0,oe.useEffect)(()=>{Pe||Oe.resetFields()},[Pe]),x.createElement(x.Fragment,null,x.createElement(le.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Pe,destroyOnClose:!0,confirmLoading:Ue,onCancel:we,onOk:()=>{Oe==null||Oe.submit()}},x.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},x.createElement("i",{className:"iconfont icon-tishi7"}),x.createElement("span",null,"\u8BD5\u5377\u5DF2\u8FDB\u884C\u52A0\u5BC6\u5C01\u5B58\uFF0C\u5982\u9700\u8FDB\u884C\u64CD\u4F5C\uFF0C\u8BF7\u5148\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u8FDB\u884C\u89E3\u5C01\uFF01")),x.createElement(ne.default,{form:Oe,className:"mt-20px",size:"large",colon:!1,onFinish:Qe=>ge(void 0,null,function*(){const Ge=yield He({id:Le==null?void 0:Le.id,is_encrypt:!1,pwd:pe(Qe.pwd)});(Ge==null?void 0:Ge.status)===0?(se.ZP.success("\u89E3\u5C01\u6210\u529F"),Fe==null||Fe(Ge),we==null||we()):Oe.setFields([{name:"pwd",errors:[Ge==null?void 0:Ge.message]}])})},x.createElement(ue.Z,{wrap:!1,gutter:20},x.createElement(ie.Z,{flex:1},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),x.createElement(ie.Z,null,x.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Te(!0),we==null||we()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),x.createElement(Ee,{onCancel:()=>{Te(!1)},open:We,Data:ve({},Le)}))}},74609:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return He}});var ae=fe(59301),Ae=fe(65582),E=fe(92832),ye=fe(8591),he=fe(43418),le=fe(5871),ne=fe(61621),se=fe(1710),de=fe(3113),ue=fe(70414),ie=Object.defineProperty,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(Qe,Ge,ze)=>Ge in Qe?ie(Qe,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Qe[Ge]=ze,y=(Qe,Ge)=>{for(var ze in Ge||(Ge={}))re.call(Ge,ze)&&a(Qe,ze,Ge[ze]);if(oe)for(var ze of oe(Ge))z.call(Ge,ze)&&a(Qe,ze,Ge[ze]);return Qe};const x=Qe=>React.createElement("svg",y({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Qe),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",fill:"#68C79F",fillRule:"nonzero"}));var b="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",ee={flex_box_center:"flex_box_center___LsrKL",flex_space_between:"flex_space_between___sZBht",flex_box_vertical_center:"flex_box_vertical_center___QNt7D",flex_box_center_end:"flex_box_center_end___S9zs3",flex_box_column:"flex_box_column___Y5tcm",title:"title___t4qlt",tip:"tip___MtKbx",radioWrap:"radioWrap___fp3kY",row:"row___IoDN5",radio:"radio___vuEDI",colorFF0000:"colorFF0000____5DYm",pagination:"pagination___bvqCI",modalColumn:"modalColumn___szBPb",modalRow:"modalRow___mtd9M",sup:"sup___JDuYL",search:"search___wNY_F",bottom:"bottom___HvFhF",yes:"yes___xmznh",no:"no___vEJlu"},te=fe(65862),ce={sendToClass:"sendToClass___le_BX"},me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AA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KyX//Bq6OeT6YKyB71jBLOk5wnQaaK+bA9w1YZKVtdkRn56rhkA8Br70I0kPyeEYIpAWR9zBvTxXiQilvbM+GT1h12hTHfmSg48OXgi8P9z9v3KCDWsrnCQiOm7rK6wJGdvC285z6pKUA4qSyn9Ne9AQURcoY3pEJzswt4gnhi8IrChPO/et5TBLvJcGxw6YkDOQH+FA0ZCCPa8zPlj3oPA5PlymiMnwPDBK8EGQ5FgliivFPO+H/IglSU4S2/OMmLXIafXWSP0ihCCE6vn5fH/AynvqKbJosiLAAAAAElFTkSuQmCC",pe=({createState:Qe,refreshLoading:Ge,onRefresh:ze=()=>{},onCreate:_e=()=>{}})=>ae.createElement("div",{className:ce.sendToClass},Qe?ae.createElement(ae.Fragment,null,ae.createElement("img",{src:me,alt:"\u7A7A"}),ae.createElement("div",null,"\u60A8\u8FD8\u6CA1\u6709\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF0C\u65E0\u6CD5\u5C06\u8BD5\u5377\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u3002"),ae.createElement(de.ZP,{onClick:_e,type:"primary",ghost:!0},"\u7ACB\u5373\u521B\u5EFA")):ae.createElement(ae.Fragment,null,ae.createElement("img",{src:ve,alt:"\u7A7A"}),ae.createElement("div",null,"\u5DF2\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF1F\u8BF7\u5237\u65B0\u5217\u8868"),ae.createElement(de.ZP,{loading:Ge,onClick:ze,type:"primary",ghost:!0},"\u7ACB\u5373\u5237\u65B0"))),Se=fe(60979),be=fe(96935),Ee=fe(89392),Ce=fe(83028),De=fe(33276),we=fe(59301),Fe=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(Qe,Ge)=>{var ze={};for(var _e in Qe)Pe.call(Qe,_e)&&Ge.indexOf(_e)<0&&(ze[_e]=Qe[_e]);if(Qe!=null&&Fe)for(var _e of Fe(Qe))Ge.indexOf(_e)<0&&Le.call(Qe,_e)&&(ze[_e]=Qe[_e]);return ze},We=(Qe,Ge,ze)=>new Promise((_e,Ve)=>{var tt=Je=>{try{lt(ze.next(Je))}catch(Ke){Ve(Ke)}},Xe=Je=>{try{lt(ze.throw(Je))}catch(Ke){Ve(Ke)}},lt=Je=>Je.done?_e(Je.value):Promise.resolve(Je.value).then(tt,Xe);lt((ze=ze.apply(Qe,Ge)).next())});const Te=E.default.Search,Ue=Qe=>{var Ge=Qe,{paperlibrary:ze,globalSetting:_e,loading:Ve,dispatch:tt}=Ge,Xe=Oe(Ge,["paperlibrary","globalSetting","loading","dispatch"]),lt,Je,Ke,Me;const[et,Ie]=(0,ae.useState)(""),[Re,qe]=(0,ae.useState)([]),[Ye,ke]=(0,ae.useState)([]),[xe,Ne]=(0,ae.useState)(!1),[Be,je]=(0,ae.useState)(!0),[$e,nt]=(0,ae.useState)(!0),[Ze,rt]=(0,ae.useState)(!0),[yt,ct]=(0,ae.useState)(!1),[bt,dt]=(0,ae.useState)(!1),ht=(Ke=(Je=(lt=ze.actionTabs)==null?void 0:lt.params)==null?void 0:Je.data)==null?void 0:Ke.is_random,[ot,ut]=(0,ae.useState)(!1),[mt,Ct]=(0,ae.useState)({}),[Bt,It]=(0,ae.useState)(!1),[Ht,qt]=(0,ae.useState)(!1),[yn,In]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var tn;if(ze.actionTabs.key==="Paperlibrary-SendToClass"){const{dataSource:cn=[],type:Ot}=((tn=ze.actionTabs)==null?void 0:tn.params)||{},ft=cn.filter(Ft=>![100,120,150].includes(Ft.total_score));ft.length?(qt(Ot),In(ft)):It(!0)}},[(Me=ze==null?void 0:ze.actionTabs)==null?void 0:Me.key]),(0,ae.useEffect)(()=>{pn()},[]);const En=()=>{ke([]),Ie(""),pn(!0),It(!1),qt(!1),tt({type:"paperlibrary/setActionTabs",payload:{}})},pn=tn=>We(void 0,null,function*(){nt(!0);const cn=yield tt({type:"paperlibrary/getCourseList",payload:{search:tn?"":et}});cn&&(qe((cn==null?void 0:cn.courses)||[]),je(!0),ct(!1)),nt(!1),rt(!1)}),Qn=tn=>{const cn=parseInt(tn);return(0,Ee.isNaN)(cn)?"":cn},Bn=()=>We(void 0,null,function*(){var tn,cn,Ot,ft,Ft,kt,Xt;if(!Ye.length){ye.ZP.info("\u60A8\u9700\u8981\u9009\u62E9\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),Ne(!0);return}const an=yield tt({type:"paperlibrary/postExistCourse",payload:{course_id:ht?Ye==null?void 0:Ye[0]:Ye,examination_bank_ids:((cn=(tn=ze.actionTabs)==null?void 0:tn.params)==null?void 0:cn.examination_bank_ids)||((ft=(Ot=ze.actionTabs)==null?void 0:Ot.params)==null?void 0:ft.id)}}),en=()=>We(void 0,null,function*(){var Vt,pt,wt,xt,Ut,fn;dt(!0);let Qt=yield(0,Se.Tr)({id:(pt=(Vt=ze.actionTabs)==null?void 0:Vt.params)==null?void 0:pt.id,course_id:ht?Ye==null?void 0:Ye[0]:Ye,type:(xt=(wt=ze.actionTabs)==null?void 0:wt.params)!=null&&xt.isBatch?"batch_examination_bank":"examination_bank",examination_bank_ids:(fn=(Ut=ze.actionTabs)==null?void 0:Ut.params)==null?void 0:fn.examination_bank_ids});dt(!1),(Qt==null?void 0:Qt.student_count)===0?yield un([]):Ct(Qt),yield new Promise(_n=>setTimeout(()=>_n(),1e3))});if(an.status==0&&((Ft=an.data)==null?void 0:Ft.count)>0){he.default.confirm({icon:null,title:"\u63D0\u793A",centered:!0,width:596,content:we.createElement("div",{style:{userSelect:"none"}},"\u5F53\u524D\u6559\u5B66\u8BFE\u5802\u4E2D\u5DF2\u5B58\u5728\u8BD5\u5377",(Xt=(kt=an.data)==null?void 0:kt.list)==null?void 0:Xt.map((Vt,pt)=>{var wt;return we.createElement(we.Fragment,null,we.createElement("span",{style:{color:"#FA6400"}},"\u300A",Vt==null?void 0:Vt.name,"\u300B"),pt!==((wt=an.data)==null?void 0:wt.count)-1&&we.createElement("span",null,"\u3001"))}),"\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u9700\u8981\u91CD\u590D\u53D1\u9001\uFF1F"),onOk:()=>We(void 0,null,function*(){yield en()})}),yield new Promise(Vt=>setTimeout(()=>Vt(),1e3));return}yield en()}),un=tn=>We(void 0,null,function*(){var cn,Ot,ft,Ft,kt,Xt;if(!ht){ut(!0);const pt=yield tt({type:(Ot=(cn=ze.actionTabs)==null?void 0:cn.params)!=null&&Ot.isBatch?"paperlibrary/postBatchSendToCourse":"paperlibrary/sendToClass",payload:{course_id:ht?Ye==null?void 0:Ye[0]:Ye,id:(Ft=(ft=ze.actionTabs)==null?void 0:ft.params)==null?void 0:Ft.id,examination_bank_ids:(Xt=(kt=ze.actionTabs)==null?void 0:kt.params)==null?void 0:Xt.examination_bank_ids,shixuns_info:tn.map(wt=>({shixun_id:wt.id,is_copy:wt.is_copy,is_use:wt.is_use,course_id:wt.course_id}))}});ut(!1),pt&&pt.status===0&&(It(!1),tt({type:"paperlibrary/setActionTabs",payload:{}}),ke([]),he.default.confirm({title:"\u63D0\u793A",okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",width:480,centered:!0,closable:!0,onOk:()=>{window.location.href=`${pt.data[0].first_category_url}`},content:we.createElement("p",null,"\u8BD5\u5377\u53D1\u9001\u6210\u529F\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u524D\u5F80\u6559\u5B66\u8BFE\u5802\u8FDB\u884C\u53D1\u5E03\uFF1F")}),ye.ZP.success("\u53D1\u9001\u6210\u529F"));return}ut(!0),setTimeout(()=>{ut(!1)},500);const an=Re.find(pt=>pt.course_id===(Ye==null?void 0:Ye[0]));let en=1,Vt=he.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:we.createElement("div",{className:ee.modalColumn},we.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},we.createElement("img",{style:{marginRight:5},src:ue.Z}),"\u968F\u673A\u7EC4\u5377\u7C7B\u578B\u7684\u8BD5\u5377\u6309\u7167\u51FA\u5377\u6570\u91CF\u5BF9\u6307\u5B9A\u8BFE\u5802\u751F\u6210\u4E0D\u91CD\u590D\u7684\u8BD5\u5377\u3002"),we.createElement("div",{style:{paddingLeft:18}},"\u8BFE\u5802\u540D\u79F0: ",an==null?void 0:an.course_name),we.createElement("div",{style:{paddingLeft:9},className:ee.modalRow},we.createElement("sup",{className:ee.sup},"*"),we.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),we.createElement(le.Z,{parser:Qn,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:en,onChange:pt=>{en=pt;const wt=document.getElementById("model_error");en<1||en>50?wt.style.display="block":wt.style.display="none"}})),we.createElement("div",{style:{display:"none",marginLeft:115},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:En,onOk:()=>We(void 0,null,function*(){var pt,wt;if(en<1||en>50){const Ut=document.getElementById("model_error");return Ut.style.display="block",Promise.reject()}Vt.update({cancelButtonProps:{disabled:!0}});const xt=yield tt({type:"paperlibrary/sendToClass",payload:{course_id:Ye==null?void 0:Ye[0],id:(wt=(pt=ze.actionTabs)==null?void 0:pt.params)==null?void 0:wt.id,num:en,shixuns_info:tn.map(Ut=>({shixun_id:Ut.id,is_copy:Ut.is_copy,is_use:Ut.is_use}))}});Vt.update({cancelButtonProps:{disabled:!1}}),xt&&xt.status===0&&(he.default.destroyAll(),he.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,title:"\u63D0\u793A",content:we.createElement("div",{className:ee.modalColumn},we.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},we.createElement("img",{style:{marginRight:5},src:b}),"\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01")),okText:"\u524D\u5F80\u8BFE\u5802",cancelText:"\u8FD4\u56DE\u8BD5\u5377\u5E93",onCancel:()=>{En()},onOk:()=>{En(),setTimeout(()=>{var Ut,fn;const Qt=(fn=(Ut=xt==null?void 0:xt.first_category_url)==null?void 0:Ut.split("/"))==null?void 0:fn[2];(0,te.xg)(`/classrooms/${Qt}/exercise`)},1e3)}}))})})}),Yn=()=>We(void 0,null,function*(){ct(!0),yield pn()}),_t=[{title:"\u8BFE\u5802\u540D\u79F0",dataIndex:"course_name",ellipsis:!0},{title:"\u5206\u73ED\u6570\u91CF",dataIndex:"course_group_count",width:90,ellipsis:!0},{title:"\u5B66\u5458\u4EBA\u6570",dataIndex:"course_member_count",width:90,ellipsis:!0}];return we.createElement("div",null,we.createElement(he.default,{centered:!0,keyboard:!1,closable:!1,open:Bt,title:"\u53D1\u9001\u81F3\u8BFE\u5802",maskClosable:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Ve["paperlibrary/sendToClass"]||bt||!!Ve["paperlibrary/postExistCourse"],width:752,footer:!1,onOk:Bn,destroyOnClose:!0,onCancel:En},we.createElement("div",{className:ee.wrap},we.createElement("div",{className:"mb10"},we.createElement(Te,{placeholder:"\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:et,className:ee.search,onChange:tn=>{Ie(tn.target.value),tn.target.value||pn(!0)},onSearch:tn=>{Ie(tn),pn(),ke([])}})),we.createElement(ne.Z,{loading:Ze},Re.length?we.createElement("div",{className:ee.radioWrap},we.createElement(se.default,{bordered:!1,scroll:(Re==null?void 0:Re.length)<=7?{}:{y:350},loading:$e,rowKey:"course_id",pagination:!1,dataSource:Re,columns:_t,onRow:tn=>({onClick:cn=>{if(ht)ke([tn==null?void 0:tn.course_id]);else{if(!ht&&!Ye.includes(tn.course_id)&&Ye.length>0)return;Ye!=null&&Ye.includes(tn==null?void 0:tn.course_id)?ke(Ye==null?void 0:Ye.filter(Ot=>Ot!==(tn==null?void 0:tn.course_id))):ke([...Ye,tn==null?void 0:tn.course_id])}}}),rowSelection:{type:"radio",hideSelectAll:!0,selectedRowKeys:Ye,onChange:tn=>{ke(tn),Ne(!1)}}})):!et&&!$e&&we.createElement(pe,{createState:Be,refreshLoading:yt,onRefresh:Yn,onCreate:()=>{je(!1),(0,te.xg)("/classrooms/new")}})),xe&&we.createElement("div",{className:ee.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"),we.createElement("div",{className:ee.bottom,style:{display:"flex",alignItems:"center"}},we.createElement("div",{style:{flex:1}},we.createElement("div",{className:ee.title},we.createElement("img",{src:ue.Z,style:{objectFit:"contain"}}),"\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802\u5E76\u4E3A\u73ED\u7EA7\u5B66\u5458\u751F\u6210\u8003\u8BD5\u8BD5\u5377")),we.createElement("div",null,we.createElement(de.ZP,{onClick:En,className:ee.no,style:{marginRight:20}},"\u53D6\u6D88"),we.createElement(be.Z,{onClick:Bn,className:ee.yes},"\u786E\u8BA4"))))),we.createElement(Ce.Z,{resdata:mt,type:"exercise",okloading:ot,oktext:(mt==null?void 0:mt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:tn=>{un(tn)}}),we.createElement(De.Z,{text:"\u662F\u5426\u7EE7\u7EED\u53D1\u9001\u5230\u6559\u5B66\u8BFE\u5802\u4E2D\uFF1F",okText:"\u786E\u8BA4\u53D1\u9001",visible:Ht,dataSource:yn,onSuccess:()=>{qt(!1),It(!0)},onClose:En}))};var He=(0,Ae.connect)(({paperlibrary:Qe,loading:Ge,globalSetting:ze})=>({paperlibrary:Qe,globalSetting:ze,loading:Ge.effects}))(Ue)},47354:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(89392),le=fe.n(he),ne=fe(96601),se=fe(6339),de=fe(24334),ue=fe.n(de),ie=fe(38147),oe=fe(67172),re=fe(88125),z=fe(56656),a=fe.n(z),y=fe(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=(Ee,Ce,De)=>Ce in Ee?x(Ee,Ce,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ee[Ce]=De,ge=(Ee,Ce)=>{for(var De in Ce||(Ce={}))ce.call(Ce,De)&&ve(Ee,De,Ce[De]);if(te)for(var De of te(Ce))me.call(Ce,De)&&ve(Ee,De,Ce[De]);return Ee},pe=(Ee,Ce)=>b(Ee,ee(Ce)),Se=(Ee,Ce,De)=>new Promise((we,Fe)=>{var Pe=We=>{try{Oe(De.next(We))}catch(Te){Fe(Te)}},Le=We=>{try{Oe(De.throw(We))}catch(Te){Fe(Te)}},Oe=We=>We.done?we(We.value):Promise.resolve(We.value).then(Pe,Le);Oe((De=De.apply(Ee,Ce)).next())});const be=({problemset:Ee,dispatch:Ce})=>{var De,we,Fe,Pe,Le;const[Oe,We]=(0,ae.useState)({}),[Te,Ue]=(0,ae.useState)([]),[He,Qe]=(0,ae.useState)(!1),[Ge,ze]=(0,ae.useState)(!1),[_e,Ve]=(0,ae.useState)({}),tt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Ke,Me,et;if(((Ke=Ee==null?void 0:Ee.actionTabs)==null?void 0:Ke.key)==="BPROGRAM"){const Ie=(0,he.cloneDeep)((Me=Ee==null?void 0:Ee.actionTabs)==null?void 0:Me.params);We(Ie),Ue((et=Ie==null?void 0:Ie.standard_answer)==null?void 0:et.map(Re=>({value:"",answer:(Re==null?void 0:Re.answer_text)||[]})))}},[(De=Ee==null?void 0:Ee.actionTabs)==null?void 0:De.key]);function Xe(){return new Date().getTime()}const lt=()=>Se(void 0,null,function*(){var Ke,Me,et,Ie,Re;if(Te.some(ke=>(ke==null?void 0:ke.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const ke=(0,he.cloneDeep)((Ke=Ee==null?void 0:Ee.actionTabs)==null?void 0:Ke.params);Ue([...(Me=ke==null?void 0:ke.standard_answer)==null?void 0:Me.map(xe=>({value:"",answer:(xe==null?void 0:xe.answer_text)||[],type:""}))]),Qe(!He);return}else{let ke=Te==null?void 0:Te.map((xe,Ne)=>pe(ge({},xe),{type:xe.types}));Ue(ke)}console.log(Te),ze(!0);let qe=yield(0,ie.ZP)(`/api/problems/${(et=Oe==null?void 0:Oe.program_attr)==null?void 0:et.identifier}/start.json`,{method:"get"});const Ye=yield(0,oe.n4)(qe==null?void 0:qe.identifier,{code:(Ie=Oe==null?void 0:Oe.program_attr)==null?void 0:Ie.code,language:(Re=Oe==null?void 0:Oe.program_attr)==null?void 0:Re.language,answers:Te==null?void 0:Te.map(ke=>ke.value)});if((Ye==null?void 0:Ye.status)===0){let xe=function(){return Se(this,null,function*(){const{status:Ne,message:Be,data:je}=yield(0,oe.rX)(qe==null?void 0:qe.identifier,"submit"),nt=Xe()-ke>10*1e3*(Te==null?void 0:Te.length);if(Ne!==0&&!nt&&setTimeout(xe,1e3),nt){ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),ze(!1);return}if(Ne===0){ze(!1);let Ze=Te==null?void 0:Te.map((rt,yt)=>pe(ge({},rt),{type:(je==null?void 0:je.right_arr[yt])===1?"success":"warning"}));Ue(Ze),Ve(je),je.status===2&&(ze(!1),ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const ke=Xe();yield(0,oe.bM)(qe==null?void 0:qe.identifier,{}),xe()}else ze(!1);Qe(!He)}),Je=()=>{We({}),Ue([]),Qe(!1),Ce({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:Ee.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:He?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:lt,onCancel:Je,okButtonProps:{loading:Ge}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(se.Z,{value:(we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.description}),((Fe=Oe==null?void 0:Oe.program_attr)==null?void 0:Fe.code)&&y.createElement(se.Z,{showProgramFill:!0,onFillChange:Ke=>{let Me=Ke==null?void 0:Ke.map((et,Ie)=>ge({},et));Ue(Me)},programFillValue:Te,value:de.Base64.decode((Pe=Oe==null?void 0:Oe.program_attr)==null?void 0:Pe.code)}),He&&y.createElement(ae.Fragment,null,y.createElement("div",{className:ne.Z.line}),(Le=Oe==null?void 0:Oe.standard_answer)==null?void 0:Le.map((Ke,Me)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Me+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ke==null?void 0:Ke.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(_e==null?void 0:_e.id)&&_e.status!==2&&y.createElement(ye.default,{open:(_e==null?void 0:_e.id)&&_e.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ve({})},onCancel:()=>{Ve({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:_e.status!==0&&"#E30000"}},re.Im[_e.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(_e.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},_e.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},_e.execute_time,"ms"))),y.createElement(re.Y4,ge({},_e)))))};at.Z=(0,Ae.connect)(({problemset:Ee})=>({problemset:Ee}))(be)},14833:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(92832),le=fe(89392),ne=fe.n(le),se=fe(96601),de=fe(6339),ue=fe(27687),ie=fe(59301),oe=Object.defineProperty,re=Object.defineProperties,z=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ve,ge,pe)=>ge in ve?oe(ve,ge,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[ge]=pe,ee=(ve,ge)=>{for(var pe in ge||(ge={}))y.call(ge,pe)&&b(ve,pe,ge[pe]);if(a)for(var pe of a(ge))x.call(ge,pe)&&b(ve,pe,ge[pe]);return ve},te=(ve,ge)=>re(ve,z(ge)),ce=(ve,ge,pe)=>new Promise((Se,be)=>{var Ee=we=>{try{De(pe.next(we))}catch(Fe){be(Fe)}},Ce=we=>{try{De(pe.throw(we))}catch(Fe){be(Fe)}},De=we=>we.done?Se(we.value):Promise.resolve(we.value).then(Ee,Ce);De((pe=pe.apply(ve,ge)).next())});const me=({problemset:ve,dispatch:ge})=>{var pe,Se;const[be,Ee]=(0,ae.useState)({}),[Ce,De]=(0,ae.useState)([]),[we,Fe]=(0,ae.useState)(!1),Pe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Te,Ue,He;if(((Te=ve==null?void 0:ve.actionTabs)==null?void 0:Te.key)==="COMPLETION"){const Qe=(0,le.cloneDeep)((Ue=ve==null?void 0:ve.actionTabs)==null?void 0:Ue.params);Ee(Qe),De((He=Qe==null?void 0:Qe.standard_answer)==null?void 0:He.map(Ge=>ee({value:"",answer:(Ge==null?void 0:Ge.answer_text)||[]},Ge)))}},[(pe=ve==null?void 0:ve.actionTabs)==null?void 0:pe.key]);const Le=()=>ce(void 0,null,function*(){var Te,Ue;if(Ce.some(He=>(He==null?void 0:He.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(we){const He=(0,le.cloneDeep)((Te=ve==null?void 0:ve.actionTabs)==null?void 0:Te.params);De((Ue=He==null?void 0:He.standard_answer)==null?void 0:Ue.map(Qe=>ee({value:"",answer:(Qe==null?void 0:Qe.answer_text)||[]},Qe)))}Fe(!we)}),Oe=(Te,Ue)=>{const He=Ce.map((Qe,Ge)=>te(ee({},Qe),{value:Ge===Ue?Te.target.value:Qe.value}));De(He)},We=()=>{Ee({}),De([]),Fe(!1),ge({type:"problemset/setActionTabs",payload:{}})};return ie.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:ve.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:we?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Le,onCancel:We},ie.createElement("div",null,ie.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ie.createElement(de.Z,{value:be==null?void 0:be.name}),Ce==null?void 0:Ce.map((Te,Ue)=>{const{value:He,answer:Qe}=Te;let Ge="";return we&&(Qe!=null&&Qe.includes(He))&&(Ge=se.Z.green),we&&!(Qe!=null&&Qe.includes(He))&&(Ge=se.Z.red),ie.createElement("div",{key:Ue,style:{pointerEvents:we?"none":"auto",marginTop:10},className:`${se.Z.row} ${Ge}`},ie.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ue+1,"\u7B54\u6848:"),(Te==null?void 0:Te.model)===1?ie.createElement(he.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:ze=>Oe(ze,Ue),value:He}):ie.createElement(ue.Z,{value:He,onChange:ze=>{const _e=Ce.map((Ve,tt)=>te(ee({},Ve),{value:tt===Ue?ze:Ve.value}));De(_e)}}),we&&(Qe==null?void 0:Qe.includes(He))&&ie.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),we&&!(Qe!=null&&Qe.includes(He))&&ie.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),we&&ie.createElement(ae.Fragment,null,ie.createElement("div",{className:se.Z.line}),(Se=be==null?void 0:be.standard_answer)==null?void 0:Se.map((Te,Ue)=>{var He,Qe;return ie.createElement("div",{className:"c-grey-333 mb5"},ie.createElement("b",null,"\u586B\u7A7A",Ue+1,"\u7B54\u6848:\xA0"),(Te==null?void 0:Te.model)===1?((He=Te==null?void 0:Te.answer_text)==null?void 0:He.join("\u3001"))||"":ie.createElement(ue.Z,{value:(Qe=Te==null?void 0:Te.answer_text)==null?void 0:Qe.join("\u3001"),disabled:!0}))}),ie.createElement("div",{className:"c-grey-333 mb10"},ie.createElement("b",null,"\u89E3\u6790:\xA0"),(be==null?void 0:be.analysis)||"\u6682\u65E0\u89E3\u6790"))))};at.Z=(0,Ae.connect)(({problemset:ve})=>({problemset:ve}))(me)},26519:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(5112),le=fe(89392),ne=fe.n(le),se=fe(96601),de=fe(6339),ue=Object.defineProperty,ie=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ce,me,ve)=>me in ce?ue(ce,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[me]=ve,x=(ce,me)=>{for(var ve in me||(me={}))z.call(me,ve)&&y(ce,ve,me[ve]);if(re)for(var ve of re(me))a.call(me,ve)&&y(ce,ve,me[ve]);return ce},b=(ce,me)=>ie(ce,oe(me)),ee=(ce,me,ve)=>new Promise((ge,pe)=>{var Se=Ce=>{try{Ee(ve.next(Ce))}catch(De){pe(De)}},be=Ce=>{try{Ee(ve.throw(Ce))}catch(De){pe(De)}},Ee=Ce=>Ce.done?ge(Ce.value):Promise.resolve(Ce.value).then(Se,be);Ee((ve=ve.apply(ce,me)).next())});const te=({problemset:ce,dispatch:me})=>{var ve,ge;const[pe,Se]=(0,ae.useState)({}),[be,Ee]=(0,ae.useState)([]),[Ce,De]=(0,ae.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Oe,We;if(((Oe=ce==null?void 0:ce.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Te=(0,le.cloneDeep)((We=ce==null?void 0:ce.actionTabs)==null?void 0:We.params);Se(Te),Ee(Te.choices)}},[(ve=ce==null?void 0:ce.actionTabs)==null?void 0:ve.key]);const Fe=()=>ee(void 0,null,function*(){var Oe;if(!be.some(We=>We==null?void 0:We.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const We=(0,le.cloneDeep)((Oe=ce==null?void 0:ce.actionTabs)==null?void 0:Oe.params);Ee(We.choices)}De(!Ce)}),Pe=(Oe,We)=>{console.log(Oe.target.checked);const Te=be.map((Ue,He)=>b(x({},Ue),{checked:He===We?Oe.target.checked:!1}));Ee(Te)},Le=()=>{Se({}),Ee([]),De(!1),me({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:ce.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Fe,onCancel:Le},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ae.createElement(de.Z,{value:pe==null?void 0:pe.name}),be==null?void 0:be.map((Oe,We)=>{const{is_answer:Te,checked:Ue,choice_text:He}=Oe;let Qe="";return Ce&&Te&&(Qe=se.Z.green),Ce&&!Te&&Ue&&(Qe=se.Z.red),ae.createElement("div",{key:We,style:{pointerEvents:Ce?"none":"auto"},className:`${se.Z.row} ${Qe}`},ae.createElement(he.ZP,{onChange:Ge=>Pe(Ge,We),checked:Ue}),ae.createElement(de.Z,{className:se.Z.html,value:He}),Ce&&Te&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!Te&&Ue&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:se.Z.line}),ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(ge=be.find(Oe=>Oe.is_answer))==null?void 0:ge.choice_text),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(pe==null?void 0:pe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};at.Z=(0,Ae.connect)(({problemset:ce})=>({problemset:ce}))(te)},47389:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(24905),le=fe(89392),ne=fe.n(le),se=fe(96601),de=fe(6339),ue=Object.defineProperty,ie=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ce,me,ve)=>me in ce?ue(ce,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[me]=ve,x=(ce,me)=>{for(var ve in me||(me={}))z.call(me,ve)&&y(ce,ve,me[ve]);if(re)for(var ve of re(me))a.call(me,ve)&&y(ce,ve,me[ve]);return ce},b=(ce,me)=>ie(ce,oe(me)),ee=(ce,me,ve)=>new Promise((ge,pe)=>{var Se=Ce=>{try{Ee(ve.next(Ce))}catch(De){pe(De)}},be=Ce=>{try{Ee(ve.throw(Ce))}catch(De){pe(De)}},Ee=Ce=>Ce.done?ge(Ce.value):Promise.resolve(Ce.value).then(Se,be);Ee((ve=ve.apply(ce,me)).next())});const te=({problemset:ce,dispatch:me})=>{var ve;const[ge,pe]=(0,ae.useState)({}),[Se,be]=(0,ae.useState)([]),[Ee,Ce]=(0,ae.useState)(!1),De=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Oe,We;if(((Oe=ce==null?void 0:ce.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Te=(0,le.cloneDeep)((We=ce==null?void 0:ce.actionTabs)==null?void 0:We.params);pe(Te),be(Te.choices)}},[(ve=ce==null?void 0:ce.actionTabs)==null?void 0:ve.key]);const we=()=>ee(void 0,null,function*(){var Oe;if(!Se.some(We=>We==null?void 0:We.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const We=(0,le.cloneDeep)((Oe=ce==null?void 0:ce.actionTabs)==null?void 0:Oe.params);be(We.choices)}Ce(!Ee)}),Fe=(Oe,We)=>{console.log(Oe.target.checked);const Te=Se.map((Ue,He)=>b(x({},Ue),{checked:He===We?Oe.target.checked:Ue.checked}));be(Te)},Pe=()=>{pe({}),be([]),Ce(!1),me({type:"problemset/setActionTabs",payload:{}})},Le=()=>{let Oe="";return Se.forEach((We,Te)=>{We.is_answer&&(Oe=Oe+De[Te])}),Oe};return ae.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:ce.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:we,onCancel:Pe},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ae.createElement(de.Z,{value:ge==null?void 0:ge.name}),Se==null?void 0:Se.map((Oe,We)=>{const{is_answer:Te,checked:Ue,choice_text:He}=Oe;let Qe="";return Ee&&Te&&(Qe=se.Z.green),Ee&&!Te&&Ue&&(Qe=se.Z.red),ae.createElement("div",{key:We,style:{pointerEvents:Ee?"none":"auto"},className:`${se.Z.row} ${Qe}`},ae.createElement(he.default,{style:{padding:3},onChange:Ge=>Fe(Ge,We),checked:Ue}),ae.createElement("span",null,De[We],".\xA0"),ae.createElement(de.Z,{className:se.Z.html,value:He}),Ee&&Te&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Te&&Ue&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:se.Z.line}),ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Le()),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ge==null?void 0:ge.analysis)||"\u6682\u65E0\u89E3\u6790"))))};at.Z=(0,Ae.connect)(({problemset:ce})=>({problemset:ce}))(te)},73878:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(5112),le=fe(89392),ne=fe.n(le),se=fe(96601),de=fe(6339),ue=fe(59301),ie=Object.defineProperty,oe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(me,ve,ge)=>ve in me?ie(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):me[ve]=ge,b=(me,ve)=>{for(var ge in ve||(ve={}))a.call(ve,ge)&&x(me,ge,ve[ge]);if(z)for(var ge of z(ve))y.call(ve,ge)&&x(me,ge,ve[ge]);return me},ee=(me,ve)=>oe(me,re(ve)),te=(me,ve,ge)=>new Promise((pe,Se)=>{var be=De=>{try{Ce(ge.next(De))}catch(we){Se(we)}},Ee=De=>{try{Ce(ge.throw(De))}catch(we){Se(we)}},Ce=De=>De.done?pe(De.value):Promise.resolve(De.value).then(be,Ee);Ce((ge=ge.apply(me,ve)).next())});const ce=({problemset:me,dispatch:ve})=>{var ge;const[pe,Se]=(0,ae.useState)({}),[be,Ee]=(0,ae.useState)([]),[Ce,De]=(0,ae.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Oe,We;if(((Oe=me==null?void 0:me.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Te=(0,le.cloneDeep)((We=me==null?void 0:me.actionTabs)==null?void 0:We.params);Se(Te),Ee(Te.choices)}},[(ge=me==null?void 0:me.actionTabs)==null?void 0:ge.key]);const Fe=()=>te(void 0,null,function*(){var Oe;if(!be.some(We=>We==null?void 0:We.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const We=(0,le.cloneDeep)((Oe=me==null?void 0:me.actionTabs)==null?void 0:Oe.params);Ee(We.choices)}De(!Ce)}),Pe=(Oe,We)=>{console.log(Oe.target.checked);const Te=be.map((Ue,He)=>ee(b({},Ue),{checked:He===We?Oe.target.checked:!1}));Ee(Te)},Le=()=>{Se({}),Ee([]),De(!1),ve({type:"problemset/setActionTabs",payload:{}})};return ue.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:me.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Fe,onCancel:Le},ue.createElement("div",null,ue.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),ue.createElement(de.Z,{value:pe==null?void 0:pe.name}),be==null?void 0:be.map((Oe,We)=>{const{is_answer:Te,checked:Ue,choice_text:He}=Oe;let Qe="";return Ce&&Te&&(Qe=se.Z.green),Ce&&!Te&&Ue&&(Qe=se.Z.red),ue.createElement("div",{key:We,style:{pointerEvents:Ce?"none":"auto"},className:`${se.Z.row} ${Qe}`},ue.createElement(he.ZP,{onChange:Ge=>Pe(Ge,We),checked:Ue}),ue.createElement("span",null,we[We],".\xA0"),ue.createElement(de.Z,{className:se.Z.html,value:He}),Ce&&Te&&ue.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!Te&&Ue&&ue.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ue.createElement(ae.Fragment,null,ue.createElement("div",{className:se.Z.line}),ue.createElement("div",{className:"c-grey-333 mb5"},ue.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),we[be.findIndex(Oe=>Oe.is_answer)]),ue.createElement("div",{className:"c-grey-333 mb10"},ue.createElement("b",null,"\u89E3\u6790:\xA0"),(pe==null?void 0:pe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};at.Z=(0,Ae.connect)(({problemset:me})=>({problemset:me}))(ce)},75408:function(vt,at,fe){"use strict";fe.d(at,{N:function(){return te},Z:function(){return ce}});var ae=fe(59301),Ae=fe(6339),E=fe(5112),ye=fe(6848),he=fe(95237),le=fe(43604),ne=fe(24905),se=fe(20834),de=fe(38854),ue={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ie=fe(41867),oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfHq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Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy003fSxvNhsLOuGlJfwOMp/85MeD1wxpK3V+yLVybPcC6nqr87sXZIUQAXW91fkhVhyLAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACbQH1/X11Pn1QroC63ur8crVJU9e71/nBwyw33viR3O8a03nN7x4zt5PMzTd/OnjNkLZS54dcK8d2L6Cutzq/e0FWCBFQ11udH2LFsQgggAACCCCAAAIIIIAAAggggAACCCCAAAIIINAWUN/fV+fTB+UKqOutzi9XmzR1vXudHzzM8qEP3ZC3mi3Lbe65SvM94axaTeyzn/1M8JohbaXOD7lWju1eQF1vdX73gqwQIqCutzo/xIpjEUAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoC2gvr+vzqcPyhVQ11udX642aep69zo/eJjluuuuf2kyxv/KrzD3Nc9zu+WWfwxeM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7z//dfkzUbjoP1j/COX/KOWqtWqffnLtwavGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo7yfgdZPyQTKVSse9//3vBa4a0lTo/5Fo5tnsBdb3V+d0LskKIgLre6vwQK45FAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBtoD6/r46nz4oV0Bdb3V+udqkqevd6/zgYZazzz4nbzQaxXBMsXuM74liB5mk2EXm0UcfCV4zpK3U+SHXyrHdC6jrrc7vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1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OVJ51PlHuj7+vrcC6nqr83uryWpHElDXW51/JB/+HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBF4uoL6/r86nJ8oVUNdbnV+uNmnqer+S+f8HabRiLm3R4IUAAAAASUVORK5CYII=",re=fe(24334),z=fe(27687),a=fe(65862),y=(me,ve,ge)=>new Promise((pe,Se)=>{var be=De=>{try{Ce(ge.next(De))}catch(we){Se(we)}},Ee=De=>{try{Ce(ge.throw(De))}catch(we){Se(we)}},Ce=De=>De.done?pe(De.value):Promise.resolve(De.value).then(be,Ee);Ce((ge=ge.apply(me,ve)).next())});const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ee=({data:me,selectIds:ve,onSelectCheckBox:ge=()=>{},showCheckbox:pe=!0})=>{var Se,be,Ee;const[Ce,De]=(0,ae.useState)(!1),we=(0,ae.useRef)(),Fe=()=>{var Te,Ue;return me.item_type==="JUDGMENT"?ae.createElement("div",{className:ue.judgmentContent},me.choices.map((He,Qe)=>ae.createElement(E.ZP,{key:Qe,disabled:!0},He.choice_text))):me.item_type==="PROGRAM"?ae.createElement("div",{className:ue.programContent},ae.createElement(Ae.Z,{value:(Te=me.program_attr)==null?void 0:Te.description})):me.item_type==="COMBINATION"?ae.createElement("div",{className:ue.combinationContent},(Ue=me==null?void 0:me.sub_item_banks)==null?void 0:Ue.map((He,Qe)=>{var Ge,ze,_e,Ve,tt,Xe;const lt=`(\u9898\u76EE${Qe+1}-${(He==null?void 0:He.item_type)=="SINGLE"?"\u5355\u9009\u9898":(He==null?void 0:He.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(He==null?void 0:He.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(He==null?void 0:He.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{marginTop:10,marginBottom:10}},ae.createElement(Ae.Z,{value:lt+He.name})),((He==null?void 0:He.item_type)=="SINGLE"||(He==null?void 0:He.item_type)=="MULTIPLE")&&He.choices.map((Je,Ke)=>ae.createElement("div",{key:Ke,className:ue.otherContentItem},ae.createElement("p",null,x[Ke]),ae.createElement(Ae.Z,{className:ue.otehrContentHtml,value:Je.choice_text}))),(He==null?void 0:He.item_type)=="JUDGMENT"&&ae.createElement("div",{style:{display:"flex",marginBottom:10}},He.choices.map((Je,Ke)=>ae.createElement(E.ZP,{key:Ke,disabled:!0},Je.choice_text))),ae.createElement("div",{className:ue.con},(He==null?void 0:He.item_type)=="SINGLE"&&ae.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(Ge=He==null?void 0:He.choices)==null?void 0:Ge.findIndex(Je=>Je==null?void 0:Je.is_answer)]," "),(He==null?void 0:He.item_type)=="COMPLETION"&&((ze=He==null?void 0:He.standard_answer)==null?void 0:ze.map((Je,Ke)=>{var Me;return ae.createElement("div",{key:Ke,className:ue.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Je.position}\uFF09\uFF1A${(Me=Je==null?void 0:Je.answer_text)==null?void 0:Me.join("\u3001")}`)})),(He==null?void 0:He.item_type)=="MULTIPLE"&&ae.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(_e=He==null?void 0:He.choices)==null?void 0:_e.map((Je,Ke)=>{if(Je!=null&&Je.is_answer)return(b==null?void 0:b[Ke])+" "})," "),(He==null?void 0:He.item_type)=="JUDGMENT"&&ae.createElement("div",null,"\u7B54\u6848\uFF1A",(tt=(Ve=He==null?void 0:He.choices)==null?void 0:Ve.find(Je=>Je.is_answer))==null?void 0:tt.choice_text),(He==null?void 0:He.item_type)=="SUBJECTIVE"&&ae.createElement("div",null,"\u7B54\u6848\uFF1A",(Xe=He==null?void 0:He.answer_texts)==null?void 0:Xe[0]),ae.createElement("div",null,ae.createElement("span",null,"\u89E3\u6790\uFF1A"),ae.createElement(Ae.Z,{className:ue.parseAnswerHtml,value:He.analysis||"\u6682\u65E0\u89E3\u6790"})),ae.createElement("div",null,ae.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ae.createElement(ye.Z,{title:(me==null?void 0:me.tag_discipline)||"--"},ae.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(me==null?void 0:me.tag_discipline)||"--")))))})):ae.createElement("div",{className:ue.otherContent},me.choices.map((He,Qe)=>ae.createElement("div",{key:Qe,className:ue.otherContentItem},ae.createElement("p",null,x[Qe]),ae.createElement(Ae.Z,{className:ue.otehrContentHtml,value:He.choice_text}))))},Pe=()=>{var Te;if((me==null?void 0:me.item_type)!=="BPROGRAM")return ae.createElement("div",null,(Te=me.standard_answer)==null?void 0:Te.map((Ue,He)=>{var Qe,Ge;return ae.createElement("div",{key:He,className:ue.answerHtml},(Ue==null?void 0:Ue.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${(Qe=Ue==null?void 0:Ue.answer_text)==null?void 0:Qe.join("\u3001")}`:ae.createElement("div",{style:{display:"flex",alignItems:"center"}},ae.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Ue.position,"\uFF09\uFF1A"),ae.createElement(z.Z,{value:(Ge=Ue==null?void 0:Ue.answer_text)==null?void 0:Ge.join("\u3001"),readOnly:!0})))}))},Le=()=>{var Te,Ue,He,Qe,Ge,ze;const _e={SUBJECTIVE:(Te=me.answer_texts)==null?void 0:Te[0],JUDGMENT:(He=(Ue=me.choices)==null?void 0:Ue.find(et=>et.is_answer))==null?void 0:He.choice_text},Ve=me.choices.map(et=>et.is_answer).findIndex(et=>et),tt=Ve>-1?b[Ve]:"";let Xe="";me.choices.map((et,Ie)=>{et.is_answer&&(Xe+=b[Ie])});const lt=_e[me.item_type];let Je=((Qe=me==null?void 0:me.program_attr)==null?void 0:Qe.code)||"";try{Je=re.Base64.decode(((Ge=me==null?void 0:me.program_attr)==null?void 0:Ge.code)||"")}catch(et){}const Ke={SINGLE:ae.createElement(Ae.Z,{className:ue.answerHtml,value:`\u7B54\u6848\uFF1A${tt||"\u65E0"}`}),MULTIPLE:ae.createElement(Ae.Z,{className:ue.answerHtml,value:`\u7B54\u6848\uFF1A${Xe||"\u65E0"}`}),COMPLETION:Pe(),BPROGRAM:ae.createElement("div",null,ae.createElement(Ae.Z,{className:ue.answerHtml,showProgramFill:!0,value:Je}),(ze=me.standard_answer)==null?void 0:ze.map((et,Ie)=>ae.createElement("div",{key:Ie,className:ue.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${et.position}\uFF09\uFF1A${et==null?void 0:et.answer_text}`)))},Me=ae.createElement(he.Z,null,ae.createElement(le.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ae.createElement(le.Z,{flex:1},ae.createElement(Ae.Z,{className:ue.answerHtml,value:`${lt||"\u65E0"}`})));return Ke[me.item_type]||Me},Oe=Te=>{let Ue=[...ve];Te.target.checked?Ue.push(me.id):Ue=Ue.filter(He=>He!==me.id),ge(Ue)},We=Te=>y(void 0,null,function*(){if(!Te&&!(ve!=null&&ve.length))return message.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u9898");we.current=[0],Modal.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u79FB\u52A8\u5230",maskClosable:!0,className:"custom-modal-divider",icon:null,content:ae.createElement("div",{className:`font14 ${ue.overflow}`,style:{maxHeight:500,overflow:"auto"}},ae.createElement("div",{className:ue.tips},ae.createElement("div",null,"\u63D0\u793A\uFF1A"),ae.createElement("div",null,"1.\u82E5\u5C06\u5DF2\u5171\u4EAB\u8BD5\u9898\u79FB\u5165\u6587\u4EF6\u5939\uFF0C\u5219\u4F1A\u64A4\u9500\u6B64\u8BD5\u9898\u539F\u6709\u7684\u5171\u4EAB\u9009\u9879\uFF0C\u4EE5\u6587\u4EF6\u5939\u7684\u5171\u4EAB\u9009\u9879\u4E3A\u4E3B\uFF1B"),ae.createElement("div",null,"2.\u82E5\u5C06\u5DF2\u5171\u4EAB\u6587\u4EF6\u5939\u5185\u7684\u8BD5\u9898\u79FB\u51FA\u81F3\u6839\u76EE\u5F55\uFF0C\u5219\u4F1A\u64A4\u9500\u8BD5\u9898\u6240\u6709\u7684\u5171\u4EAB\u9009\u9879\u3002")),ae.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u9700\u8981\u79FB\u52A8\u5230\u7684\u6587\u4EF6\u5939"),ae.createElement(CustomTree,{defaultValue:!0,value:we.current,onChange:Ue=>we.current=Ue})),onOk:()=>y(void 0,null,function*(){var Ue;const He=yield batchGroup({ids:Te?[Te]:ve,groups_ids:(Ue=we.current)==null?void 0:Ue[0]});console.log("\u79FB\u52A8\u8BD5\u9898\u5230\u6307\u5B9A\u6587\u4EF6\u5939\u7684res",He),we.current=[],He==null||He.status})})});return ae.createElement("div",{className:ue.itemWrap},ae.createElement("div",{className:ue.list},pe&&ae.createElement(ne.default,{className:"mr10",onChange:Oe,checked:ve.includes(me.id)}),ae.createElement("div",{onClick:()=>De(!Ce),className:ue.title},ae.createElement(Ae.Z,{key:1,showLines:1,showTextOnly:!0,className:ue.topicTitleContent,value:(me==null?void 0:me.item_type)==="BPROGRAM"?(Se=me==null?void 0:me.program_attr)==null?void 0:Se.description:me.name})),ae.createElement("div",{onClick:()=>De(!Ce),className:ue.tr},ae.createElement("i",{style:{transform:Ce?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ae.createElement("aside",{style:Ce?{display:"block"}:{display:"none"},className:ue.itemDetail},ae.createElement("div",{style:{marginBottom:44}},ae.createElement(Ae.Z,{key:2,className:ue.topicTitleContent,value:(me==null?void 0:me.item_type)==="BPROGRAM"?(be=me==null?void 0:me.program_attr)==null?void 0:be.description:me.name}),ae.createElement("div",{className:`${ue.row} mt15`},Fe()),ae.createElement("div",{className:ue.row},ae.createElement("div",{className:ue.updateTimeRow},ae.createElement("div",{className:ue.updateTimeWrap},me.item_type==="PROGRAM"&&ae.createElement("p",{className:ue.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Ee=me==null?void 0:me.languages)==null?void 0:Ee.join("/")))))),me.item_type!=="COMBINATION"&&ae.createElement("div",{className:ue.answerWrapper},ae.createElement("img",{src:oe,alt:"",className:ue.decoration}),ae.createElement("div",{className:ue.answer},Le()),ae.createElement("div",{className:ue.parse},ae.createElement("div",{className:ue.parseText},"\u89E3\u6790\uFF1A"),ae.createElement("div",{className:ue.parseAnswer},me.analysis?ae.createElement(Ae.Z,{className:ue.parseAnswerHtml,value:me.analysis}):"\u6682\u65E0\u89E3\u6790")),ae.createElement("div",{className:ue.parse},ae.createElement("div",{className:ue.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ae.createElement(ye.Z,{title:(me==null?void 0:me.tag_discipline)||"--"},ae.createElement("div",{className:ue.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(me==null?void 0:me.tag_discipline)||"--"))))))},te=({SubjectShare:me,isProblemset:ve,data:ge,user:pe,page:Se,activeTabsKey:be,onPublicReview:Ee=()=>{},onStartExperience:Ce=()=>{},onSetPrivate:De=()=>{},onCorrection:we=()=>{},onChangeTag:Fe=()=>{},onCollect:Pe=()=>{},onSetPublic:Le=()=>{},onDelete:Oe=()=>{},onCancel:We=()=>{},onSelect:Te=()=>{},onMoveTo:Ue=()=>{},addProblemset:He=()=>{},onSetShare:Qe=()=>{},onCancelShare:Ge=()=>{},onPublish:ze=()=>{},onCancelPublish:_e=()=>{},onCopy:Ve=()=>{}})=>{var tt,Xe,lt,Je,Ke,Me,et,Ie,Re,qe,Ye,ke,xe,Ne,Be;const je=ge.item_type==="PROGRAM"?`/problems/newedit/${(tt=ge.program_attr)==null?void 0:tt.identifier}?tabs_key=${be}&page=${Se}`:ge.item_type==="BPROGRAM"?`/problemset/edit/${(Xe=ge.program_attr)==null?void 0:Xe.identifier}?type=1&tabs_key=${be}&page=${Se}`:`/problemset/edit/${ge.id}?tabs_key=${be}&page=${Se}`,$e=be==="0"&&!ge.public&&!ge.apply&&(ge.item_type==="PROGRAM"&&((lt=ge.program_attr)==null?void 0:lt.status)!==0||ge.item_type!=="PROGRAM"),nt=[{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Ve(ge.id,!1)},"\u590D\u5236"),key:"2",show:be==="0"},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>{var ct;return _e((ct=ge==null?void 0:ge.program_attr)==null?void 0:ct.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(be==="0"||be==="3")&&ge.item_type==="PROGRAM"&&((Je=ge.program_attr)==null?void 0:Je.status)!==0&&!ge.public&&((Ke=ge.author)==null?void 0:Ke.login)===((Me=pe.userInfo)==null?void 0:Me.login)},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Ue(ge.id)},"\u79FB\u52A8\u5230"),key:"1",show:be==="0"},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>{ge.is_share?Ge(ge.id):Qe(ge.id)}},"\u5171\u4EAB"),key:"3",show:be==="0"&&me},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Le(ge)},"\u516C\u5F00"),key:"4",show:$e},{label:ae.createElement("a",{className:ue.reviewFlag,onClick:Ee},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:be==="0"&&!ge.public&&ge.apply&&(ge.item_type==="PROGRAM"&&ge.program_attr.status!==0||ge.item_type!=="PROGRAM")},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>De(ge.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(be==="0"||be==="1")&&ge.public&&((et=ge.author)==null?void 0:et.login)===((Ie=pe.userInfo)==null?void 0:Ie.login)||be==="1"&&(0,ie.ag)()},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Pe(ge.id,ge.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:be==="2"},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>{var ct;return ze((ct=ge==null?void 0:ge.program_attr)==null?void 0:ct.identifier)}},"\u53D1\u5E03"),key:"8",show:(be==="0"||be==="3")&&ge.item_type==="PROGRAM"&&((Re=ge.program_attr)==null?void 0:Re.status)===0&&!ge.public&&((qe=ge.author)==null?void 0:qe.login)===((Ye=pe.userInfo)==null?void 0:Ye.login)},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Pe(ge.id,ge.is_collected)},ge.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(be==="1"||be==="3")&&!(0,ie.ag)()&&!(0,ie.JA)()&&((ke=ge.author)==null?void 0:ke.login)!==((xe=pe.userInfo)==null?void 0:xe.login)},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>we(ge.id)},"\u7EA0\u9519"),key:"10",show:be!=="0"&&!(0,ie.ag)()&&!(0,ie.JA)()},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Fe(ge)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:be==="0"||be==="3"&&(ge==null?void 0:ge.edit_item_bank)},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>Oe(ge.id)},"\u5220\u9664"),key:"11",show:be==="0"&&!ge.public||be==="1"&&(0,ie.ag)()&&((Ne=ge.author)==null?void 0:Ne.login)!==((Be=pe.userInfo)==null?void 0:Be.login)},{label:ae.createElement("a",{className:ue.actionLink,onClick:()=>He(ge.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:be==="1"||be==="3"}].filter(ct=>ct.show),Ze=ae.createElement(se.default,{forceSubMenuRender:!0,className:ue.menu,items:nt}),rt=ae.createElement(se.default,{forceSubMenuRender:!0,className:ue.menu},ae.createElement(se.default.Item,{key:"10"},ae.createElement("a",{className:ue.actionLink,onClick:()=>we(ge.id)},"\u7EA0\u9519"))),yt=be!=="0"&&!(0,ie.ag)()&&!(0,ie.JA)();return ae.createElement(ae.Fragment,null,ve?ae.createElement(ae.Fragment,null,(be==="0"||be==="3"&&(ge==null?void 0:ge.edit_item_bank))&&!ge.public&&ae.createElement("span",{className:ue.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(je);const ct=document.getElementById(ge.id),bt=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",ct.getBoundingClientRect().top+bt+"")}},ae.createElement("div",{className:ue.line},ae.createElement("b",{className:ue.b1}),ae.createElement("b",{className:ue.b2})),ae.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ae.createElement("span",{className:ue.textBtn,style:{cursor:"pointer"},onClick:()=>Ce(ge)},ae.createElement("div",{className:ue.line},ae.createElement("b",{className:ue.b1}),ae.createElement("b",{className:ue.b2})),ae.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ae.createElement("div",{className:ue.line},ae.createElement("b",{className:ue.b1}),ae.createElement("b",{className:ue.b2}))),nt.length>0&&ae.createElement(de.Z,{dropdownRender:()=>Ze},ae.createElement("span",{style:{cursor:"default",width:"105px"},onClick:ct=>ct.preventDefault()},ae.createElement("span",{className:ue.textBtn},ae.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ae.createElement("div",{className:ue.line},ae.createElement("b",{className:ue.b1}),ae.createElement("b",{className:ue.b2})))))):yt?ae.createElement(de.Z,{className:"ml40",dropdownRender:()=>rt},ae.createElement("span",{style:{cursor:"default",width:"105px"},onClick:ct=>ct.preventDefault()},ae.createElement("span",{className:ue.textBtn},ae.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ae.createElement("div",{className:ue.line},ae.createElement("b",{className:ue.b1}),ae.createElement("b",{className:ue.b2}))))):ae.createElement("span",null))};var ce=ee},80443:function(vt,at,fe){"use strict";fe.d(at,{Im:function(){return be},ZP:function(){return Pe},gZ:function(){return we}});var ae=fe(59301),Ae=fe(92832),E=fe(3113),ye=fe(84105),he=fe(87395),le=fe(17124),ne=fe(24334),se=fe(42678),de=fe(6339),ue=fe(65862),ie=fe(51908),oe=fe(34376),re=fe(92310),z=fe.n(re),a=fe(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,me=(Le,Oe,We)=>Oe in Le?y(Le,Oe,{enumerable:!0,configurable:!0,writable:!0,value:We}):Le[Oe]=We,ve=(Le,Oe)=>{for(var We in Oe||(Oe={}))te.call(Oe,We)&&me(Le,We,Oe[We]);if(ee)for(var We of ee(Oe))ce.call(Oe,We)&&me(Le,We,Oe[We]);return Le},ge=(Le,Oe)=>x(Le,b(Oe));const{TextArea:pe}=Ae.default,Se={visible:!1,tabIndex:"0"},be={[le.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[le.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[le.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Ee=(Le=>(Le[Le.SET_VISIBLE=0]="SET_VISIBLE",Le[Le.SET_TABINDEX=1]="SET_TABINDEX",Le))(Ee||{});function Ce(Le,Oe){switch(Oe.type){case 0:return ge(ve({},Le),{visible:Oe.payload});case 1:return ge(ve({},Le),{tabIndex:Oe.payload});default:throw new Error}}function De({value:Le,className:Oe}){const[We,Te]=(0,ae.useState)(!1),Ue=(0,ae.useRef)(),He=(0,ae.useRef)();return(0,ae.useEffect)(()=>{We&&(He.current.reset(),He.current.write((0,ue.pp)(Le||"")))},[Le,We]),(0,ae.useEffect)(()=>{var Qe,Ge,ze,_e;if(Ue.current){He.current=new oe.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Ue.current);const Ve=Ue.current.offsetWidth-14,tt=((_e=(ze=(Ge=(Qe=He.current)==null?void 0:Qe._core)==null?void 0:Ge._renderService)==null?void 0:ze.dimensions)==null?void 0:_e.actualCellWidth)||9.5,Xe=Math.ceil(Ve/tt);He.current.resize(Xe,8),Te(!0)}},[]),a.createElement("div",{ref:Ue,className:z()("XtermText-valueRef",Oe)})}function we(Le){const{status:Oe,error_msg:We,output:Te,input:Ue,expected_output:He,is_file:Qe,input_file_url:Ge,output_file_url:ze,expected_output_file_url:_e}=Le;let Ve=null;const tt={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case le.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Qe&&a.createElement(De,{className:"mb10",value:Ue}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(Ge,Ue)},Ue)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Qe&&a.createElement(De,{className:"mb10",value:Te&&ne.Base64.decode(Te)||""}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(ze,Te)},Te)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Qe&&a.createElement(De,{className:"mb10",value:He&&ne.Base64.decode(He)||""}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(_e,He)},He)));break;case le.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&a.createElement(de.Z,{value:Ue,style:tt}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(Ge,Ue)},Ue)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(We)));break;case le.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&a.createElement(de.Z,{value:Ue,style:tt}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(Ge,Ue)},Ue)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(We)));break;case le.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}function Fe(Le){const{status:Oe,error_msg:We,execute_time:Te,output:Ue,input:He,expected_output:Qe,is_file:Ge,input_file_url:ze,output_file_url:_e,expected_output_file_url:Ve}=Le;let tt=null;switch(Oe){case le.h.OK:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Te,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,ne.Base64.decode(Ue)));break;case le.h.NOMATCH:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Ue&&ne.Base64.decode(Ue)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Qe&&ne.Base64.decode(Qe)));break;case le.h.EXECUTEFAILURE:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(We)));break;case le.h.COMPILEFAILURE:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(We)));break;case le.h.PODFAILURE:tt=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:tt=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",tt," ")}var Pe=({id:Le,is_file:Oe,input:We,debuging:Te,submitting:Ue,executingMessage:He,debugResult:Qe,onChangeInput:Ge,onDebugCode:ze,onSubmitCode:_e})=>{const[Ve,tt]=(0,ae.useReducer)(Ce,Se),{visible:Xe,tabIndex:lt}=Ve;(0,ae.useEffect)(()=>{tt({type:0,payload:!1})},[Le]);function Je(Ie){let Re=Ie.target.id;tt({type:1,payload:Re})}function Ke(){tt({type:0,payload:!Xe})}const Me=(0,ae.useMemo)(()=>{if(Qe){const{status:Ie}=Qe;return a.createElement(a.Fragment,null,Fe(Qe))}return null},[Qe]);function et(){tt({type:0,payload:!0}),tt({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${Xe?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ie.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(pe,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Oe?"":We,onChange:Ge}),rightNode:Te?a.createElement(se.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Qe?Me:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${Xe?"up":""}`,onClick:Ke},Xe?a.createElement(ye.Z,null):a.createElement(he.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Te,onClick:et},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Ue,disabled:Ue,onClick:()=>{tt({type:0,payload:!1}),_e()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},17124:function(vt,at,fe){"use strict";fe.d(at,{h:function(){return ae}});var ae=(Ae=>(Ae[Ae.NOMATCH=-1]="NOMATCH",Ae[Ae.OK=0]="OK",Ae[Ae.TIMEOUT=2]="TIMEOUT",Ae[Ae.PODFAILURE=3]="PODFAILURE",Ae[Ae.COMPILEFAILURE=4]="COMPILEFAILURE",Ae[Ae.EXECUTEFAILURE=5]="EXECUTEFAILURE",Ae[Ae.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Ae))(ae||{})},12088:function(vt,at,fe){"use strict";fe.d(at,{Y2:function(){return Pe},ZP:function(){return Le}});var ae=fe(59301),Ae=fe(54580),E=fe(8591),ye=fe(43418),he=fe(95237),le=fe(5112),ne=fe(3113),se=fe(24905),de=fe(6848),ue=fe(92832),ie={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrg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8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",re=fe(47257),z=fe.n(re),a=fe(38147),y=fe(1012),x=fe(65862),b=fe(21185),ee=fe(59301),te=Object.defineProperty,ce=Object.defineProperties,me=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Se=(Oe,We,Te)=>We in Oe?te(Oe,We,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Oe[We]=Te,be=(Oe,We)=>{for(var Te in We||(We={}))ge.call(We,Te)&&Se(Oe,Te,We[Te]);if(ve)for(var Te of ve(We))pe.call(We,Te)&&Se(Oe,Te,We[Te]);return Oe},Ee=(Oe,We)=>ce(Oe,me(We)),Ce=(Oe,We,Te)=>new Promise((Ue,He)=>{var Qe=_e=>{try{ze(Te.next(_e))}catch(Ve){He(Ve)}},Ge=_e=>{try{ze(Te.throw(_e))}catch(Ve){He(Ve)}},ze=_e=>_e.done?Ue(_e.value):Promise.resolve(_e.value).then(Qe,Ge);ze((Te=Te.apply(Oe,We)).next())});const{Dragger:De}=Ae.default,we=Oe=>{const We=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Te=[...Oe],Ue=0,He=[],Qe=0;Qe{if(Ve.forEach(tt=>{let Xe=tt.name.split(/\.(?=[^\.]+$)/);tt.name=`${Xe[0]}.${Xe[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},Fe=({onClose:Oe,onOK:We,visible:Te,wrapClassName:Ue,rootIdentifier:He,multiple:Qe=!1,defaultMultipleValue:Ge=!0})=>{const[ze,_e]=(0,ae.useState)([]),[Ve,tt]=(0,ae.useState)({}),[Xe,lt]=(0,ae.useState)(!1),[Je,Ke]=(0,ae.useState)(!0),[Me,et]=(0,ae.useState)(null),Ie=(0,ae.useRef)([]),Re=(0,ae.useRef)(0),qe=()=>{Oe()};(0,ae.useEffect)(()=>{Ye()},[]),(0,ae.useEffect)(()=>{Te&&(Ie.current=[],Re.current=0,_e([]),Ke(Ge))},[Te]);const Ye=()=>Ce(void 0,null,function*(){try{et(!0)}catch(Ze){}}),ke=Ze=>Ze&&Ze.substring(0,Ze.lastIndexOf(".")),xe=Ze=>{var rt,yt;const ct=ke((rt=Ze[0])==null?void 0:rt.name)||ke((yt=Ze[1])==null?void 0:yt.name),bt=ze.filter(dt=>ke(dt.name)!==ct);Ie.current=[...bt],_e([...bt])},Ne=Ze=>{if(!Je){const ht=new FormData;ht.append("file",Ze.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ht},!0).then(ut=>{if(ut.status===0){Re.current=Re.current+1;const mt=Ie.current.map(Ct=>{var Bt;if(Ct.name===Ze.name){const It=be({},Ct);return(Bt=Ze==null?void 0:Ze.name)!=null&&Bt.includes(".in")?It.input=ut==null?void 0:ut.content:It.output=ut==null?void 0:ut.content,It}return Ct});if(Ie.current=[...mt],_e([...mt]),Re.current>0&&Re.current===ze.length){lt(!1);let Ct=we(mt);Ct=Ct.filter(Bt=>{var It,Ht;return!!((It=Bt[0])!=null&&It.name&&((Ht=Bt[1])!=null&&Ht.name))}),Ct=Ct.map(Bt=>Ee(be(be({},Bt[0]),Bt[1]),{is_file:!1})),We(Ct),Oe()}}else lt(!1),Oe()});return}if(Me){const ht=new FormData;ht.append("file",Ze.file),He===null?ht.append("identifier","testsets"):ht.append("identifier",He),(0,a.ZP)("/api/attachments.json",{method:"post",body:ht},!0).then(ut=>{if(ut.filename){Re.current=Re.current+1;const mt=Ie.current.map(Ct=>{var Bt;if(Ct.name===(ut==null?void 0:ut.filename)){const It=Ee(be({},Ct),{is_oss:!Me});return(Bt=ut==null?void 0:ut.filename)!=null&&Bt.includes(".in")?(It.in_object_key=ut==null?void 0:ut.object,It.in_object_size=ut==null?void 0:ut.size,It.input=ut==null?void 0:ut.filename,It.in_file=Ze):(It.out_object_key=ut==null?void 0:ut.object,It.out_object_size=ut==null?void 0:ut.size,It.output=ut==null?void 0:ut.filename,It.out_file=Ze),It}return Ct});if(Ie.current=[...mt],_e([...mt]),Re.current>0&&Re.current===ze.length){lt(!1);let Ct=we(mt);Ct=Ct.filter(Bt=>{var It,Ht;return!!((It=Bt[0])!=null&&It.name&&((Ht=Bt[1])!=null&&Ht.name))}),Ct=Ct.map(Bt=>Ee(be(be({},Bt[0]),Bt[1]),{is_file:!0})),We(Ct),Oe()}}else lt(!1),Oe()});return}const rt=new(z())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),yt=Ze.name,ct={container_type:"TestSet",file_name:yt},bt=(0,y.Z)();let dt=`testsets/${He}/${bt}${yt.indexOf(".")>-1?"."+yt.split(".").pop():""}`;He===null&&(dt=`testsets/${bt}${yt.indexOf(".")>-1?"."+yt.split(".").pop():""}`),rt.multipartUpload(dt,new Blob([Ze.file],{type:Ze.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:yt+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ct)}}).then(function(ht){if(ht.data.status===0){Re.current=Re.current+1;const ot=Ie.current.map(ut=>{var mt,Ct,Bt,It,Ht,qt,yn,In,En,pn,Qn,Bn,un,Yn,_t,tn,cn;if(ut.name===((Ct=(mt=ht.data)==null?void 0:mt.data)==null?void 0:Ct.file_name)){const Ot=Ee(be({},ut),{is_oss:!Me});return(Ht=(It=(Bt=ht.data)==null?void 0:Bt.data)==null?void 0:It.file_name)!=null&&Ht.includes(".in")?(Ot.in_object_key=(yn=(qt=ht.data)==null?void 0:qt.data)==null?void 0:yn.object,Ot.in_object_size=(En=(In=ht.data)==null?void 0:In.data)==null?void 0:En.size,Ot.input=(Qn=(pn=ht.data)==null?void 0:pn.data)==null?void 0:Qn.file_name,Ot.in_file=Ze):(Ot.out_object_key=(un=(Bn=ht.data)==null?void 0:Bn.data)==null?void 0:un.object,Ot.out_object_size=(_t=(Yn=ht.data)==null?void 0:Yn.data)==null?void 0:_t.size,Ot.output=(cn=(tn=ht.data)==null?void 0:tn.data)==null?void 0:cn.file_name,Ot.out_file=Ze),Ot}return ut});if(Ie.current=[...ot],_e([...ot]),Re.current>0&&Re.current===ze.length){lt(!1);let ut=we(ot);ut=ut.filter(mt=>{var Ct,Bt;return!!((Ct=mt[0])!=null&&Ct.name&&((Bt=mt[1])!=null&&Bt.name))}),ut=ut.map(mt=>Ee(be(be({},mt[0]),mt[1]),{is_file:!0})),We(ut),Oe()}}})},Be=Ze=>new Promise((rt,yt)=>{let ct=0,bt=[];for(let dt=0;dt{ct++,ct===Ze.length&&(bt.length?(E.ZP.warning(`${bt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),yt()):rt(Ze))}).catch(ht=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ht),ct++,bt.push(Ze[dt].name),ct===Ze.length&&(bt.length?(E.ZP.warning(`${bt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),yt()):rt(Ze))})}),je=()=>Ce(void 0,null,function*(){if(ze.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Be(ze),lt(!0),we(ze).some(rt=>{var yt,ct;return!((yt=rt[0])!=null&&yt.name&&((ct=rt[1])!=null&&ct.name))})){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Ce(void 0,null,function*(){ze.map(rt=>Ce(void 0,null,function*(){Ne(rt)}))}),onCancel:()=>{lt(!1)}});return}ze.map(rt=>Ce(void 0,null,function*(){Ne(rt)}))}),$e={name:"file",fileList:ze,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:Ze=>{if(ze!=null&&ze.some(yt=>yt.name===Ze.name))return E.ZP.info(`${Ze.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(Ze.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(Ze.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const rt={name:Ze.name,uid:Ze.uid,file:Ze,percent:0};return ze.push(rt),Ie.current=[...ze],_e([...ze]),!1}},nt=we(ze);return console.log(ze,nt,"fileList"),ee.createElement(ye.default,{open:Te,wrapClassName:Ue,onOk:je,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:Xe},onCancel:qe,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},ee.createElement("div",{className:ie.wrap},ze.length?ee.createElement("div",null,ee.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},ee.createElement("div",{style:{visibility:Qe?"visible":"hidden"}},ee.createElement("span",{className:ie.greyText},"\u7528\u4F8B\u7C7B\u578B"),ee.createElement(le.ZP.Group,{className:`ml20 ${ie.testCaseRadio}`,optionType:"button",value:Je,onChange:Ze=>Ke(Ze.target.value)},ee.createElement(le.ZP,{value:!1},"\u6587\u672C"),ee.createElement(le.ZP,{value:!0},"\u6587\u4EF6"))),ee.createElement(Ae.default,be({},$e),ee.createElement(ne.ZP,{type:"primary",className:ie.btnS},ee.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),ee.createElement(Pe,{data:nt,onRemove:xe})):ee.createElement("div",{className:`${ie.noData} mb30`},ee.createElement(Ae.default.Dragger,Ee(be({},$e),{className:ie.dragger}),ee.createElement("img",{src:oe,alt:"",className:"mb20"}),ee.createElement("div",null,ee.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),ee.createElement("span",{className:ie.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),ee.createElement("div",{className:ie.text},ee.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),ee.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",ee.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",ee.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",ee.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",ee.createElement("br",null))))},Pe=({data:Oe=[],onRemove:We,width:Te="auto",showScore:Ue=!1,disabled:He=!1,inputChange:Qe,onEvaluatingChange:Ge,onSelectAll:ze,checkAll1:_e,checkAll2:Ve,checkAll3:tt,checkAll4:Xe,checkAll5:lt,showEvaluatingSetting:Je=!1,className:Ke="",isProgramHomework:Me=!1})=>{const et={value:"",filename:"",dataUrl:""},[Ie,Re]=(0,ae.useState)(be({},et)),qe=xe=>{let Ne=document.createElement("a");document.body.appendChild(Ne);let Be=URL.createObjectURL(xe.file);Ne.href=Be,Ne.download=xe.name,Ne.click(),URL.revokeObjectURL(Be),document.body.removeChild(Ne)},Ye=(xe,Ne)=>{(0,x.LR)(xe,Ne)},ke=(xe,Ne)=>{ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ee.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{We(xe,Ne)},onCancel:()=>{}})};return Oe.length?ee.createElement("div",{className:Ke,style:{width:Te}},ee.createElement("div",{className:`${Me?ie.headProgram:ie.head}`},Je&&ee.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},ee.createElement(se.default,{checked:_e,onChange:xe=>{ze(xe.target.checked,"hidden")}}),ee.createElement(de.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{style:{width:Me?"25%":"15%"}},"\u7528\u4F8B"),ee.createElement("div",{style:{width:Ue?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),ee.createElement("div",{style:{width:Ue?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Ue&&ee.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Je&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(se.default,{checked:Xe,onChange:xe=>{ze(xe.target.checked,"input_visible")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Je&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(se.default,{checked:Ve,onChange:xe=>{ze(xe.target.checked,"is_invisible")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Je&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(se.default,{checked:lt,onChange:xe=>{ze(xe.target.checked,"actual_output_visible")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Je&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(se.default,{checked:tt,onChange:xe=>{ze(xe.target.checked,"last_match_rule")}}),ee.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{className:ie.operation,style:Me?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),ee.createElement("div",{className:ie.listWrapper,style:{boxShadow:Me?"0px 2px 4px 0px #EAEEF4":"unset"}},Oe.map((xe,Ne)=>{var Be,je,$e,nt;return ee.createElement("div",{key:Ne,className:ie.list,style:Me?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Je&&ee.createElement("div",{style:{width:"15%"}},ee.createElement(se.default,{checked:!!xe.hidden,onChange:Ze=>{Ge(Ze.target.checked,Ne,"hidden")}})),ee.createElement("div",{style:{width:Me?"25%":"15%",paddingLeft:Me?"5px":"0px",paddingRight:Me?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Ne+1),ee.createElement("div",{className:ie.info,style:{width:Ue?Me?"20%":"15%":"25%"}},ee.createElement("span",{title:xe.input||((Be=xe[0])==null?void 0:Be.name),onClick:()=>Ce(void 0,null,function*(){let Ze;xe.input?xe.input_file_url?Ze=xe.input_file_url:Ze=xe.in_file:Ze=xe[0];let rt;typeof Ze=="string"?(rt=yield fetch(Ze,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Re({value:yield rt.text(),filename:"",dataUrl:Ze})):(rt=yield(0,x.db)(Ze.file),Re({value:rt.text,filename:Ze.name,dataUrl:rt.link}))})},xe.input||((je=xe[0])==null?void 0:je.name))),ee.createElement("div",{className:ie.info,style:{width:Ue?Me?"20%":"15%":"25%"}},ee.createElement("span",{title:xe.output||(($e=xe[1])==null?void 0:$e.name),onClick:()=>Ce(void 0,null,function*(){let Ze;xe.input?xe.output_file_url?Ze=xe.output_file_url:Ze=xe.out_file:Ze=xe[1];let rt;typeof Ze=="string"?(rt=yield fetch(Ze,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Re({value:yield rt.text(),filename:"",dataUrl:Ze})):(rt=yield(0,x.db)(Ze.file),Re({value:rt.text,filename:Ze.name,dataUrl:rt.link}))})},xe.output||((nt=xe[1])==null?void 0:nt.name))),Ue&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ue.default,{size:"large",addonAfter:Me?"%":null,disabled:He,style:{width:"80%"},onChange:Ze=>Qe(Ze,Ne),value:xe.score}),!Me&&ee.createElement("span",null,"\xA0%")),Je&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(se.default,{checked:xe.input_visible||!1,onChange:Ze=>{Ge(Ze.target.checked,Ne,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Je&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(se.default,{checked:xe.is_invisible||!1,onChange:Ze=>{Ge(Ze.target.checked,Ne,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Je&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(se.default,{checked:xe.actual_output_visible||!1,onChange:Ze=>{Ge(Ze.target.checked,Ne,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Je&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(se.default,{checked:xe.last_match_rule||!1,onChange:Ze=>{Ge(Ze.target.checked,Ne,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),ee.createElement("div",{onClick:()=>ke(xe,Ne),style:Me?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},ee.createElement("span",{className:ie.del},"\u5220\u9664")))})),ee.createElement(b.Z,{close:!0,data:Ie.dataUrl,filename:Ie.filename,type:Ie.dataUrl.length?"txt":"",onClose:()=>Re(be({},et)),monacoEditor:{value:Ie.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):ee.createElement(ee.Fragment,null)};var Le=Fe},83554:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return re}});var ae=fe(59301),Ae=fe(8591),E=fe(6848),ye=fe(71418),he=fe(95237),le=fe(43604),ne=fe(58421),se=fe(3113),de=fe(96565),ue=fe(38147),ie=fe(6339),oe=(a,y,x)=>new Promise((b,ee)=>{var te=ve=>{try{me(x.next(ve))}catch(ge){ee(ge)}},ce=ve=>{try{me(x.throw(ve))}catch(ge){ee(ge)}},me=ve=>ve.done?b(ve.value):Promise.resolve(ve.value).then(te,ce);me((x=x.apply(a,y)).next())}),re=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,te]=(0,ae.useState)(""),[ce,me]=(0,ae.useState)(!1);function ve(pe){te(pe)}function ge(){if(!ee){Ae.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),te("")}return(0,ae.useEffect)(()=>{y!=a&&me(!1)},[y]),ae.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ae.createElement(de.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ve,extraUse:b&&ae.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ce,activeDiscussIndex:y,onChange:ve,setIsOpen:me}),overlayStyle:{maxWidth:600}},ae.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>me(!ce)},ae.createElement("i",{className:"iconfont icon-dianzan11"})))}),ae.createElement("a",{onClick:ge,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,ae.useState)(!1),[b,ee]=(0,ae.useState)([]),[te,ce]=(0,ae.useState)(1);(0,ae.useEffect)(()=>{a!=null&&a.isOpen?me():(ce(1),ee([]))},[a==null?void 0:a.isOpen]);const me=()=>oe(void 0,null,function*(){x(!0);const ve=yield(0,ue.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ve==null?void 0:ve.status)==0&&ee(ve==null?void 0:ve.answer),x(!1)});return ae.createElement(ye.Z,{spinning:y},ae.createElement("div",{style:{color:"#000"}},ae.createElement(ie.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),ae.createElement(he.Z,{justify:"end",align:"middle"},ae.createElement(le.Z,null,ae.createElement(ne.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ve=>{ce(ve)}})),ae.createElement(le.Z,null,ae.createElement(se.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},96322:function(vt,at,fe){"use strict";fe.r(at),fe.d(at,{default:function(){return cn}});var ae=fe(59301),Ae=fe(65582),E={wrap:"wrap___O1tn7"},ye=fe(3918),he=fe(8591),le=fe(43418),ne=fe(38854),se=fe(71418),de=fe(58421),ue=fe(35965),ie=fe(92832),oe=fe(78241),re=fe(43428),z=fe(3113),a=fe(95237),y=fe(43604),x=fe(24905),b=fe(6848),ee=fe(28103),te={flex_box_center:"flex_box_center___aqHcx",flex_space_between:"flex_space_between___CONGd",flex_box_vertical_center:"flex_box_vertical_center___lVyEh",flex_box_center_end:"flex_box_center_end___sI_Vv",flex_box_column:"flex_box_column___kaVXu",wrp:"wrp___rtMqf",drawer:"drawer___A_PEI",menu:"menu___K7LJA",actived:"actived___jzUGM",actived2:"actived2___UNcoI",subTag:"subTag___E54g9",directionName:"directionName___EyQuv",menuDirection:"menuDirection___qmHXv",listItem:"listItem___ZO5AA",info:"info___raEGy",title:"title___TE8wt",titleLeft:"titleLeft___cyNcR",titleRight:"titleRight___N91L3",search:"search___SLT83",description:"description___xhaap",menuCourse:"menuCourse___jXQvt",paginationWrap:"paginationWrap___lwYL6"},ce=fe(60979),me=fe(2524),ve=fe(66457),ge=fe(41867),pe=Object.defineProperty,Se=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Ce=(Ot,ft,Ft)=>ft in Ot?pe(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Ot[ft]=Ft,De=(Ot,ft)=>{for(var Ft in ft||(ft={}))be.call(ft,Ft)&&Ce(Ot,Ft,ft[Ft]);if(Se)for(var Ft of Se(ft))Ee.call(ft,Ft)&&Ce(Ot,Ft,ft[Ft]);return Ot},we=(Ot,ft,Ft)=>new Promise((kt,Xt)=>{var an=pt=>{try{Vt(Ft.next(pt))}catch(wt){Xt(wt)}},en=pt=>{try{Vt(Ft.throw(pt))}catch(wt){Xt(wt)}},Vt=pt=>pt.done?kt(pt.value):Promise.resolve(pt.value).then(an,en);Vt((Ft=Ft.apply(Ot,ft)).next())});const{Search:Fe}=ie.default,Pe={id:"type",name:"\u6765\u6E90",children:[{name:"\u5168\u90E8",id:"all",type:"type"},{name:"\u6211\u7684",id:"mine",type:"type"}]},Le={id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]},Oe=({classroomList:Ot,loading:ft,dispatch:Ft,cb:kt,shixunIds:Xt=[]})=>{var an,en,Vt,pt;const wt=(0,Ae.useParams)(),xt=(0,Ae.useLocation)(),{actionTabs:Ut}=Ot,[fn]=oe.default.useForm(),{shixunLists:Qt}=Ot,[_n,wn]=(0,ae.useState)([]),[Mt,Lt]=(0,ae.useState)([]),[Jt,jt]=(0,ae.useState)({page:1,type:"all",diff:0,status:"published",order:"desc",limit:10,sort:"myshixuns_count",tag_level:null,sub_discipline_id:null,discipline_id:null});(0,ae.useEffect)(()=>{Ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&Ft({type:"classroomList/getShixunLists",payload:De({},Jt)})},[Ot.actionTabs.key,Jt]),(0,ae.useEffect)(()=>{bn()},[wt]);const bn=()=>we(void 0,null,function*(){const rn=yield(0,ce.I_)({});Lt((rn==null?void 0:rn.disciplines)||[])}),Dn=(rn,Pt,gt)=>{Jt.tag_level=rn,Jt.sub_discipline_id=Pt,Jt.discipline_id=gt,jt(De({},Jt)),Ft({type:"classroomList/getShixunLists",payload:De({},Jt)})},Hn=()=>{Ft({type:"classroomList/setActionTabs",payload:{}}),jt({page:1,type:"all",diff:0,status:"all",order:"desc",limit:10,sort:"myshixuns_count",tag_level:null,sub_discipline_id:null,discipline_id:null})};return Ot.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:ae.createElement(re.Z,{placement:"bottom",height:"100%",closable:!0,onClose:Hn,open:Ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:te.drawer,footer:ae.createElement("div",{className:"tc"},ae.createElement(z.ZP,{size:"middle",onClick:()=>{Hn(),wn([])},style:{marginRight:8}},"\u53D6\u6D88"),ae.createElement(z.ZP,{size:"middle",onClick:()=>we(void 0,null,function*(){var rn,Pt;for(let gt=0;gt<(_n==null?void 0:_n.length);gt++){const St=_n[gt];if(Xt.includes(St)){he.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(Pt=(rn=Qt==null?void 0:Qt.shixun_list)==null?void 0:rn.find(At=>At.id===St))==null?void 0:Pt.title}`);return}}Hn(),kt(_n),wn([])}),type:"primary"},"\u786E\u5B9A"))},ae.createElement("section",{className:"tc"},ae.createElement(Fe,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:te.search,onSearch:rn=>{Jt.keyword=rn,Jt.page=1,Ft({type:"classroomList/getShixunLists",payload:De({},Jt)})}})),ae.createElement("section",{className:"edu-container"},ae.createElement("ul",{className:te.menu},ae.createElement("li",null,Pe.name),(an=Pe==null?void 0:Pe.children)==null?void 0:an.map((rn,Pt)=>ae.createElement("li",{className:Jt[Pe.id]==rn.id?te.actived:"",onClick:()=>{Jt[Pe.id]=rn.id,jt(De({},Jt)),Ft({type:"classroomList/getShixunLists",payload:De({},Jt)})}},ae.createElement("strong",null,rn.name)))),ae.createElement("ul",{className:te.menuDirection},ae.createElement("li",{className:te.directionName},"\u65B9\u5411"),ae.createElement("li",{className:Jt.discipline_id?"":te.actived,onClick:()=>{Dn(null,null,null)}},ae.createElement("strong",null,"\u5168\u90E8")),Mt==null?void 0:Mt.map(function(rn,Pt){return ae.createElement("li",{key:Pt,className:Jt.discipline_id==rn.id?te.actived:""},ae.createElement("strong",{onClick:()=>{Dn(1,null,rn.id)}},rn.name),ae.createElement("div",null,rn.sub_disciplines.map(function(gt,St){return ae.createElement("div",{key:St,className:"mt5"},ae.createElement("div",{className:Jt.sub_discipline_id==gt.id?`${te.actived2} ${te.subTag}`:te.subTag,onClick:()=>{Dn(2,gt.id,rn.id)}},gt.name),ae.createElement("ul",{className:"mt5"},gt.tags&>.tags.map(function(At,zt){return ae.createElement("li",{key:zt,className:Jt.sub_discipline_id==At.id&&Jt.tag_level===3?te.actived2:"",onClick:()=>{Dn(3,At.id,rn.id)}},At.name)})))})))})),ae.createElement("ul",{className:te.menu},ae.createElement("li",null,Le.name),(en=Le==null?void 0:Le.children)==null?void 0:en.map((rn,Pt)=>ae.createElement("li",{className:Jt[Le.id]==rn.id?te.actived:"",onClick:()=>{Jt[Le.id]=rn.id,jt(De({},Jt)),Ft({type:"classroomList/getShixunLists",payload:De({},Jt)})}},ae.createElement("strong",null,rn.name)))),ae.createElement(a.Z,null,ae.createElement(y.Z,{flex:"1"},ae.createElement("div",{className:te.menuCourse,style:{margin:"0px 15px"}},ae.createElement("ul",null,ae.createElement("li",null,"\u5DF2\u9009",ae.createElement("span",{className:"c-blue"},_n.length),"\u4E2A\u5B9E\u8BAD"),ae.createElement("li",null,"\u5171",ae.createElement("span",{className:"c-blue"},Qt.shixuns_count),"\u4E2A\u8BFE\u7A0B"),ae.createElement("li",{className:"current",onClick:()=>{Jt.order=Jt.order==="asc"?"desc":"asc",jt(De({},Jt))}},"\u5B66\u4E60\u4EBA\u6570",ae.createElement("p",{className:`edu-sorter current ${Jt.order}`},Jt.order==="asc"?ae.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}):ae.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))))),ae.createElement(y.Z,{className:"c-grey-999"},"\u4EC5\u5DF2\u53D1\u5E03\u7684\u5B9E\u8BAD\u8FDB\u5165\u672C\u5217\u8868\u5907\u9009")),(Vt=Qt==null?void 0:Qt.shixun_list)==null?void 0:Vt.map(function(rn,Pt){return ae.createElement("div",{className:te.listItem,key:Pt},ae.createElement(x.default,{checked:_n.includes(rn.id),value:rn.id,disabled:rn==null?void 0:rn.need_authorize,onChange:gt=>{let St=_n.indexOf(rn.id);_n.indexOf(rn.id)>-1?wn(_n.filter(At=>At!==rn.id)):wn(_n.concat(rn.id))}}),ae.createElement("div",{className:te.info},ae.createElement("div",{className:te.title},ae.createElement("div",{className:te.titleLeft},ae.createElement("a",{className:"c-black",href:`/shixuns/${rn==null?void 0:rn.identifier}/challenges`,target:"_blank"},ae.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:rn.title}})),(rn==null?void 0:rn.need_authorize)&&ae.createElement("span",{onClick:()=>{(0,ve.rX)(!1)},style:{marginRight:"auto"},className:"tag-style bg-pink current ml10"},"\u9700\u6388\u6743"),(0,ge.Ny)()&&(rn==null?void 0:rn.mark_status)===1&&ae.createElement(b.Z,{title:rn==null?void 0:rn.mark_content},ae.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,ge.Ny)()&&(rn==null?void 0:rn.mark_status)===2&&ae.createElement(b.Z,{title:rn==null?void 0:rn.mark_content},ae.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,ge.Ny)()&&(rn==null?void 0:rn.mark_status)===3&&ae.createElement(b.Z,{title:rn==null?void 0:rn.mark_content},ae.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),ae.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},ae.createElement("span",{className:te.description,dangerouslySetInnerHTML:{__html:rn.description}})),ae.createElement("div",{className:" mt15"},rn.challenge_names.map(function(gt,St){return ae.createElement("span",{key:St,className:"mr30 font12"},"\u7B2C",St+1,"\u5173 ",gt," ")})),ae.createElement(ee.Z,{dashed:!0}),ae.createElement("div",{className:"c-light-black mt20 font12"},ae.createElement("span",null,rn.author_name),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,rn.author_school_name),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570 ",rn.level),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570 "),ae.createElement("span",null,rn.study_count))))}),((pt=Qt==null?void 0:Qt.shixun_list)==null?void 0:pt.length)===0&&ae.createElement(me.Z,null),ae.createElement("p",null)),ae.createElement("div",{className:"tc mt20"},ae.createElement(de.Z,{defaultCurrent:1,hideOnSinglePage:!0,defaultPageSize:20,showSizeChanger:!1,current:Jt.page||1,showQuickJumper:!0,total:Qt==null?void 0:Qt.shixuns_count,onChange:rn=>{Jt.page=rn,jt(De({},Jt))}})))};var We=(0,Ae.connect)(({classroomList:Ot,loading:ft})=>({classroomList:Ot,loading:ft}))(Oe),Te=fe(5112),Ue={flex_box_center:"flex_box_center___TJ6ml",flex_space_between:"flex_space_between___KILKX",flex_box_vertical_center:"flex_box_vertical_center___RppSx",flex_box_center_end:"flex_box_center_end___LPGnq",flex_box_column:"flex_box_column___jU2Jl",wrp:"wrp___zKb7p",drawer:"drawer___TIdMd",menu:"menu___auLdF",actived:"actived___zYS5Q",actived2:"actived2___OGoZn",subTag:"subTag___b2h92",listItem:"listItem___xctQk",listItem2:"listItem2___s8hCO",info:"info___TVoda",title:"title___tbgwQ",titleLeft:"titleLeft___itHF1",titleRight:"titleRight___iEOIZ",search:"search___p3840",filter:"filter___M4Wxe",description:"description___QUPVu",menuCourse:"menuCourse___SpFbG"},He=fe(79274),Qe=Object.defineProperty,Ge=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ve=(Ot,ft,Ft)=>ft in Ot?Qe(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Ot[ft]=Ft,tt=(Ot,ft)=>{for(var Ft in ft||(ft={}))ze.call(ft,Ft)&&Ve(Ot,Ft,ft[Ft]);if(Ge)for(var Ft of Ge(ft))_e.call(ft,Ft)&&Ve(Ot,Ft,ft[Ft]);return Ot},Xe=(Ot,ft,Ft)=>new Promise((kt,Xt)=>{var an=pt=>{try{Vt(Ft.next(pt))}catch(wt){Xt(wt)}},en=pt=>{try{Vt(Ft.throw(pt))}catch(wt){Xt(wt)}},Vt=pt=>pt.done?kt(pt.value):Promise.resolve(pt.value).then(an,en);Vt((Ft=Ft.apply(Ot,ft)).next())});const{Search:lt}=ie.default,Je=({classroomList:Ot,loading:ft,dispatch:Ft,onOk:kt})=>{var Xt,an;const[en,Vt]=(0,ae.useState)(tt({},(0,Ae.useParams)())),{coursesLists:pt}=Ot,[wt,xt]=(0,ae.useState)([]),[Ut,fn]=(0,ae.useState)({page:1,type:"all",order:"desc",limit:20,sort:"myshixuns_count"});return(0,ae.useEffect)(()=>{Ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"&&(Ft({type:"classroomList/getCoursesLists",payload:tt({},Ut)}),xt([]))},[Ot.actionTabs.key,en.categoryId,Ut]),Ot.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"?null:ae.createElement(re.Z,{placement:"bottom",height:"100%",closable:!0,onClose:()=>{Ft({type:"classroomList/setActionTabs",payload:{key:""}})},open:Ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B",key:"bottom",rootClassName:Ue.drawer,footer:ae.createElement("div",{className:"tc",style:{height:"64px",display:"flex",alignItems:"center",justifyContent:"center"}},ae.createElement(z.ZP,{size:"middle",onClick:()=>{Ft({type:"classroomList/setActionTabs",payload:{key:""}})},style:{marginRight:8,width:"120px",height:"40px",fontSize:"16px",borderRadius:"4px"}},"\u53D6\u6D88"),ae.createElement(z.ZP,{style:{width:"120px",height:"40px",fontSize:"16px",borderRadius:"4px"},size:"middle",loading:ft["classroomList/createCoursesHomework"],onClick:()=>Xe(void 0,null,function*(){var Qt;if((wt==null?void 0:wt.length)===0)return he.ZP.error("\u8BF7\u9009\u62E9\u4E00\u4E2A\u5B9E\u8DF5\u8BFE\u7A0B"),!1;kt((Qt=wt[0])==null?void 0:Qt.id),Ft({type:"classroomList/setActionTabs",payload:{key:""}})}),type:"primary"},"\u786E\u5B9A"))},ae.createElement("section",{className:"tc"},ae.createElement(lt,{placeholder:"\u8BFE\u7A0B\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Ue.search,onSearch:Qt=>{Ut.keyword=Qt,Qt&&(0,He.tk)({name:Qt,copywriting:Qt,position:"Subject"}),fn(tt({},Ut))}})),ae.createElement("section",{className:"edu-container"},ae.createElement(se.Z,{spinning:ft["classroomList/getCoursesLists"]},ae.createElement("aside",null,ae.createElement("div",{className:Ue.menuCourse},ae.createElement("ul",null,ae.createElement("li",null,"\u5DF2\u9009",ae.createElement("span",{className:"c-blue"},wt.length),"\u8BFE\u7A0B"),ae.createElement("li",null,"\u5171",ae.createElement("span",{className:"c-blue"},pt.subjects_count),"\u4E2A\u8BFE\u7A0B"),ae.createElement("li",{className:"current",onClick:()=>{Ut.order=Ut.order==="asc"?"desc":"asc",Ut.sort="shixuns_count",fn(tt({},Ut))}},"\u5B9E\u8BAD\u6570",ae.createElement("p",{className:`edu-sorter current ${Ut.sort==="shixuns_count"&&Ut.order}`},ae.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),ae.createElement("span",{className:"iconfont icon-sanjiaoxing-down"}))),ae.createElement("li",{className:"current",onClick:()=>{Ut.order=Ut.order==="asc"?"desc":"asc",Ut.sort="myshixuns_count",fn(tt({},Ut))}},"\u5B66\u4E60\u4EBA\u6570",ae.createElement("p",{className:`edu-sorter current ${Ut.sort==="myshixuns_count"&&Ut.order}`},ae.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),ae.createElement("span",{className:"iconfont icon-sanjiaoxing-down"}))),ae.createElement("li",{className:`${Ut.type==="all"&&"c-blue"} current`,onClick:()=>{Ut.type="all",fn(tt({},Ut))}},"\u5168\u90E8\u8BFE\u7A0B"),ae.createElement("li",{className:`${Ut.type==="mine"&&"c-blue"} current`,onClick:()=>{Ut.type="mine",fn(tt({},Ut))}},"\u6211\u7684\u8BFE\u7A0B"))),((Xt=pt==null?void 0:pt.subject_list)==null?void 0:Xt.length)===0&&ae.createElement(me.Z,null),(an=pt==null?void 0:pt.subject_list)==null?void 0:an.map(function(Qt,_n){var wn,Mt,Lt;return ae.createElement("div",{className:Ue.listItem,key:Qt.id,style:{cursor:"auto"}},ae.createElement(Te.ZP,{checked:wt.map(Jt=>Jt.id).includes(Qt.id),value:Qt.id,style:{marginTop:"1px"},disabled:Qt==null?void 0:Qt.need_authorize,onChange:Jt=>{xt([{id:Qt.id,identifier:Qt.identifier}])}}),ae.createElement("div",{className:Ue.info},ae.createElement("div",{className:Ue.title},ae.createElement("div",{className:Ue.titleLeft},ae.createElement(Ae.Link,{to:`/paths/${Qt.id}`,target:"_blank"},ae.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:Qt.title}})),(Qt==null?void 0:Qt.need_authorize)&&ae.createElement("span",{onClick:()=>{(0,ve.rX)(!1,"\u8BE5\u8BFE\u7A0B\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002")},style:{marginRight:"auto"},className:"tag-style bg-pink current ml10"},"\u9700\u6388\u6743"),ae.createElement(z.ZP,{ghost:!0,href:`/paths/${Qt.id}`,type:"primary",target:"_blank",style:{borderRadius:"50px"}},"\u4F53\u9A8C\u8BFE\u7A0B"))),ae.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},ae.createElement("span",{className:Ue.description,dangerouslySetInnerHTML:{__html:Qt.description}})),ae.createElement(ee.Z,{dashed:!0}),ae.createElement("div",{className:"c-light-black mt20"},(wn=Qt==null?void 0:Qt.content)!=null&&wn.author_name?ae.createElement("span",{dangerouslySetInnerHTML:{__html:(Lt=(Mt=Qt==null?void 0:Qt.content)==null?void 0:Mt.author_name)==null?void 0:Lt[0]}}):ae.createElement("span",null,Qt.author_name),ae.createElement("span",{className:"ml15 mr15"},"|"),Qt.author_school_name&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,Qt.author_school_name),ae.createElement("span",{className:"ml15 mr15"},"|")),ae.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),ae.createElement("span",null,Qt.myshixuns_count),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u7AE0\u8282:",Qt.stage_count),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u5B9E\u8BAD:",Qt.shixuns_count))))})))),ae.createElement("div",{className:"tc mt20"},ae.createElement(de.Z,{defaultCurrent:1,hideOnSinglePage:!0,defaultPageSize:20,current:Ut.page||1,showQuickJumper:!0,total:pt==null?void 0:pt.subjects_count,onChange:Qt=>{Ut.page=Qt,Ft({type:"classroomList/getCoursesLists",payload:tt({},Ut)})}})))};var Ke=(0,Ae.connect)(({classroomList:Ot,loading:ft})=>({classroomList:Ot,loading:ft.effects}))(Je),Me=fe(13570),et=fe(74128),Ie={itemWrapper:"itemWrapper___FDtjf",imgWrapper:"imgWrapper___kuAby",infoWrapper:"infoWrapper___kPiaa",name:"name___s6_8x",info:"info___f4ohA",smallText:"smallText___NUbDW",rate:"rate___uCfIz",btnWrapper:"btnWrapper___oEyAe",removeBtn:"removeBtn____Ucrs",textEllipsis:"textEllipsis___dla3G",mr6:"mr6___BYwoU",modalWrapper:"modalWrapper___Xvqvn",okBtn:"okBtn___XoB2t",cancelBtn:"cancelBtn___QjfJN"},Re=fe(65862),qe=(Ot,ft,Ft)=>new Promise((kt,Xt)=>{var an=pt=>{try{Vt(Ft.next(pt))}catch(wt){Xt(wt)}},en=pt=>{try{Vt(Ft.throw(pt))}catch(wt){Xt(wt)}},Vt=pt=>pt.done?kt(pt.value):Promise.resolve(pt.value).then(an,en);Vt((Ft=Ft.apply(Ot,ft)).next())});const Ye=({data:Ot,refreshData:ft,virtualClassroomId:Ft,user:kt,isCreator:Xt})=>{const{name:an,user_name:en,school_name:Vt,challenges_count:pt,stu_num:wt,level:xt,score_info:Ut,pic:fn,identifier:Qt,id:_n,is_self:wn}=Ot||{},Mt=()=>qe(void 0,null,function*(){le.default.confirm({title:"\u79FB\u51FA\u5B9E\u8DF5\u9879\u76EE",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:Ie.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u5B9E\u8DF5\u9879\u76EE\u300A",an,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:Ie.okBtn},cancelButtonProps:{className:Ie.cancelBtn},onOk:()=>qe(void 0,null,function*(){(yield(0,ue.Ps)({virtual_classroom_id:Ft,shixun_id:_n})).status===0&&ft()})})}),Lt=()=>{(0,Re.xg)(`/shixuns/${Qt}/challenges`)};return ae.createElement(a.Z,{className:`${Ie.itemWrapper} mb20`,wrap:!1,onClick:Lt},ae.createElement(y.Z,{flex:"0 0 auto",className:Ie.imgWrapper},ae.createElement("img",{src:`${et.Z.IMG_SERVER}/${fn}`,alt:""})),ae.createElement(y.Z,{flex:1,className:`${Ie.infoWrapper} ml20`},ae.createElement(a.Z,{className:Ie.name},ae.createElement("span",{title:an,className:Ie.textEllipsis},an)),ae.createElement(a.Z,{className:Ie.info,align:"middle",wrap:!1},ae.createElement(y.Z,{flex:"72px",className:Ie.textEllipsis,title:en},en),ae.createElement(y.Z,{flex:"140px",className:`ml20 ${Ie.textEllipsis}`,title:Vt},Vt),ae.createElement(y.Z,{flex:"52px",className:`${Ie.smallText} ${Ie.textEllipsis} ml20`},ae.createElement(b.Z,{title:"\u5173\u5361\u6570"},ae.createElement("i",{className:`iconfont icon-shixunguanqia font14 ${Ie.mr6}`})),ae.createElement("span",{title:pt},pt)),ae.createElement(y.Z,{flex:"72px",className:`${Ie.smallText} ${Ie.textEllipsis} ml10`},ae.createElement(b.Z,{title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("i",{className:`iconfont icon-chengyuan font14 ${Ie.mr6}`})),ae.createElement("span",{title:wt},wt)),ae.createElement(y.Z,{flex:"52px",className:`${Ie.smallText} ml10`},xt),ae.createElement(y.Z,{className:"ml10"},ae.createElement(Me.Z,{className:Ie.rate,allowHalf:!0,disabled:!0,defaultValue:Ut})),ae.createElement(y.Z,{className:`${Ie.smallText} ml5`},Ut))),ae.createElement(y.Z,{className:Ie.btnWrapper},ae.createElement(ye.op,{onClick:Jt=>{Jt.stopPropagation(),Lt()}},ae.createElement("i",{className:"iconfont icon-shiyantixi font14",style:{marginRight:4}}),ae.createElement("span",null,"\u6311\u6218")),(wn||Xt||(0,ge.Ny)())&&ae.createElement(ye.op,{className:`ml20 ${Ie.removeBtn}`,onClick:Jt=>{Jt.stopPropagation(),Mt()}},ae.createElement("i",{className:"iconfont icon-shanjian font14",style:{marginRight:4}}),ae.createElement("span",null,"\u79FB\u51FA"))))};var ke=(0,Ae.connect)(({user:Ot})=>({user:Ot}))(Ye),xe={itemWrapper:"itemWrapper___ngbXA",imgWrapper:"imgWrapper___AT5j9",infoWrapper:"infoWrapper___xhMza",name:"name___C2Snj",info:"info___roajb",smallText:"smallText___oUD1O",rate:"rate___FSIj9",btnWrapper:"btnWrapper___d_crD",removeBtn:"removeBtn___ur6lt",textEllipsis:"textEllipsis___BHIv1",mr6:"mr6___yqxpX",modalWrapper:"modalWrapper___kXUHq",okBtn:"okBtn___FmLSD",cancelBtn:"cancelBtn___MZ1Al"},Ne=(Ot,ft,Ft)=>new Promise((kt,Xt)=>{var an=pt=>{try{Vt(Ft.next(pt))}catch(wt){Xt(wt)}},en=pt=>{try{Vt(Ft.throw(pt))}catch(wt){Xt(wt)}},Vt=pt=>pt.done?kt(pt.value):Promise.resolve(pt.value).then(an,en);Vt((Ft=Ft.apply(Ot,ft)).next())});const Be=({data:Ot,refreshData:ft,virtualClassroomId:Ft,user:kt,isCreator:Xt})=>{const{image_url:an,subject_members_names:en,name:Vt,members_count:pt,user_name:wt,school_name:xt,shixuns_count:Ut,stages_count:fn,id:Qt,identifier:_n,is_self:wn}=Ot||{},Mt=()=>Ne(void 0,null,function*(){le.default.confirm({title:"\u79FB\u51FA\u5B9E\u8DF5\u9879\u76EE",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:xe.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u5B9E\u8DF5\u8BFE\u7A0B\u300A",Vt,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:xe.okBtn},cancelButtonProps:{className:xe.cancelBtn},onOk:()=>Ne(void 0,null,function*(){(yield(0,ue.A)({virtual_classroom_id:Ft,subject_id:Qt})).status===0&&ft()})})}),Lt=()=>{(0,Re.xg)(`/paths/${_n}`)};return ae.createElement(a.Z,{className:`${xe.itemWrapper} mb20`,wrap:!1,onClick:Lt},ae.createElement(y.Z,{flex:"0 0 auto",className:xe.imgWrapper},ae.createElement("img",{src:`${et.Z.IMG_SERVER}/${an}`,alt:""})),ae.createElement(y.Z,{flex:1,className:`${xe.infoWrapper} ml20`},ae.createElement(a.Z,{className:xe.name},ae.createElement("span",{title:Vt,className:xe.textEllipsis},Vt)),ae.createElement(a.Z,{className:xe.info,align:"middle",wrap:!1},ae.createElement(y.Z,{flex:"72px",className:xe.textEllipsis,title:wt},wt),ae.createElement(y.Z,{flex:"140px",className:`ml20 ${xe.textEllipsis}`,style:{visibility:xt!=null&&xt.length?"visible":"hidden"}},ae.createElement(b.Z,{title:"\u53D1\u5E03\u5355\u4F4D"},ae.createElement("i",{className:`iconfont icon-danwei1 font14 ${xe.mr6}`})),ae.createElement("span",{title:xt},xt)),ae.createElement(y.Z,{flex:"128px",className:`ml20 ${xe.textEllipsis}`,style:{visibility:en!=null&&en.length?"visible":"hidden"}},ae.createElement(b.Z,{title:"\u5408\u4F5C\u8005"},ae.createElement("i",{className:`iconfont icon-hezuozhe font14 ${xe.mr6}`})),ae.createElement("span",{title:en==null?void 0:en.join("\u3001")},en==null?void 0:en.join("\u3001"))),ae.createElement(y.Z,{flex:"52px",className:`${xe.smallText} ml40`},ae.createElement(b.Z,{title:"\u7AE0\u8282\u6570"},ae.createElement("i",{className:`iconfont icon-zhangjie1 font14 ${xe.mr6}`})),ae.createElement("span",null,fn)),ae.createElement(y.Z,{flex:"52px",className:`${xe.smallText} ml20`},ae.createElement(b.Z,{title:"\u5B9E\u8BAD\u6570\u91CF"},ae.createElement("i",{className:`iconfont icon-xianshangkaoshi font12 ${xe.mr6}`})),ae.createElement("span",null,Ut)),ae.createElement(y.Z,{flex:"72px",className:`${xe.smallText} ${xe.textEllipsis} ml20`},ae.createElement(b.Z,{title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("i",{className:`iconfont icon-chengyuan font14 ${xe.mr6}`})),ae.createElement("span",{title:pt},pt)))),ae.createElement(y.Z,{className:xe.btnWrapper},ae.createElement(ye.op,{onClick:Jt=>{Jt.stopPropagation(),Lt()}},ae.createElement("i",{className:"iconfont icon-xuexi1 font14",style:{marginRight:4}}),ae.createElement("span",null,"\u5B66\u4E60")),(wn||Xt||(0,ge.Ny)())&&ae.createElement(ye.op,{className:`ml20 ${xe.removeBtn}`,onClick:Jt=>{Jt.stopPropagation(),Mt()}},ae.createElement("i",{className:"iconfont icon-shanjian font14",style:{marginRight:4}}),ae.createElement("span",null,"\u79FB\u51FA"))))};var je=(0,Ae.connect)(({user:Ot})=>({user:Ot}))(Be),$e=fe(70868),nt={contentListWrap:"contentListWrap___ZH7d2",li:"li___j_LdE",bottom:"bottom___vg39s",actionLeftItem:"actionLeftItem___G9LXk",questionTypeName:"questionTypeName___JxbiV",more:"more___Zc_dQ",textBtn:"textBtn___vA27R",delBtn:"delBtn___BUYGb",line:"line___D6NTm",b1:"b1___pDdQ9",b2:"b2___VvH5K"},Ze=fe(75408),rt=(Ot,ft,Ft)=>new Promise((kt,Xt)=>{var an=pt=>{try{Vt(Ft.next(pt))}catch(wt){Xt(wt)}},en=pt=>{try{Vt(Ft.throw(pt))}catch(wt){Xt(wt)}},Vt=pt=>pt.done?kt(pt.value):Promise.resolve(pt.value).then(an,en);Vt((Ft=Ft.apply(Ot,ft)).next())});const yt=[{type:"SINGLE",name:"\u5355\u9009\u9898"},{type:"MULTIPLE",name:"\u591A\u9009\u9898"},{type:"JUDGMENT",name:"\u5224\u65AD\u9898"},{type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},{type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},{type:"COMPLETION",name:"\u586B\u7A7A\u9898"},{type:"COMBINATION",name:"\u7EC4\u5408\u9898"},{type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],ct={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},bt=({data:Ot,refreshData:ft,virtualClassroomId:Ft,user:kt,isCreator:Xt,handleStartExperience:an})=>{var en,Vt,pt;const{id:wt,name:xt,author:Ut,item_type:fn,difficulty:Qt,updated_at:_n,quotes:wn}=Ot||{},Mt=Jt=>rt(void 0,null,function*(){le.default.confirm({title:"\u79FB\u51FA\u8BD5\u9898",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:nt.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u8BFE\u7A0B\u8BD5\u9898\u300A",xt,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:nt.okBtn},cancelButtonProps:{className:nt.cancelBtn},onOk:()=>rt(void 0,null,function*(){(yield(0,ue.Lk)({virtual_classroom_id:Ft,id:Jt})).status===0&&ft()})})}),Lt=()=>{(0,Re.xg)(`/paths/${identifier}`)};return ae.createElement("div",{className:nt.contentListWrap},ae.createElement("div",{className:nt.li},ae.createElement("div",{className:nt.top},ae.createElement(Ze.Z,{key:wt,data:Ot,showCheckbox:!1})),ae.createElement("div",{className:nt.bottom},ae.createElement("p",{className:`${nt.actionLeftItem} ${nt.questionTypeName}`},"No.",wt),ae.createElement("p",{className:`${nt.actionLeftItem} ${nt.questionTypeName}`},(en=yt.find(Jt=>Jt.type===fn))==null?void 0:en.name),ae.createElement("p",{className:nt.actionLeftItem},ct[Qt]),ae.createElement("p",{className:nt.actionLeftItem},"\u521B\u5EFA\u8005",ae.createElement(b.Z,{title:Ut==null?void 0:Ut.name},ae.createElement("span",{className:"c-grey-333"},((Vt=Ut==null?void 0:Ut.name)==null?void 0:Vt.length)>6?((pt=Ut==null?void 0:Ut.name)==null?void 0:pt.substr(0,5))+"...":Ut==null?void 0:Ut.name))),ae.createElement("p",{className:nt.actionLeftItem},"\u66F4\u65B0",ae.createElement("span",{className:"c-grey-333"},_n)),ae.createElement("p",{className:nt.actionLeftItem},"\u4F7F\u7528\u6B21\u6570",ae.createElement("span",{className:"c-grey-333"},wn)),ae.createElement("div",{className:nt.more},["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","PROGRAM","BPROGRAM"].includes(fn)&&ae.createElement("span",{className:nt.textBtn,style:{cursor:"pointer"},onClick:()=>an(Ot)},ae.createElement("div",{className:nt.line},ae.createElement("b",{className:nt.b1}),ae.createElement("b",{className:nt.b2})),ae.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ae.createElement("div",{className:nt.line},ae.createElement("b",{className:nt.b1}),ae.createElement("b",{className:nt.b2}))),ae.createElement("span",{className:`${nt.textBtn} ${nt.delBtn}`,onClick:()=>{Mt(wt)}},"\u79FB\u51FA")))))};var dt=(0,Ae.connect)(({user:Ot})=>({user:Ot}))(bt),ht=fe(73878),ot=fe(47389),ut=fe(26519),mt=fe(14833),Ct=fe(47354),Bt=fe(5318),It=fe(9748),Ht=fe(74609),qt=Object.defineProperty,yn=Object.defineProperties,In=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,Bn=(Ot,ft,Ft)=>ft in Ot?qt(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Ot[ft]=Ft,un=(Ot,ft)=>{for(var Ft in ft||(ft={}))pn.call(ft,Ft)&&Bn(Ot,Ft,ft[Ft]);if(En)for(var Ft of En(ft))Qn.call(ft,Ft)&&Bn(Ot,Ft,ft[Ft]);return Ot},Yn=(Ot,ft)=>yn(Ot,In(ft)),_t=(Ot,ft,Ft)=>new Promise((kt,Xt)=>{var an=pt=>{try{Vt(Ft.next(pt))}catch(wt){Xt(wt)}},en=pt=>{try{Vt(Ft.throw(pt))}catch(wt){Xt(wt)}},Vt=pt=>pt.done?kt(pt.value):Promise.resolve(pt.value).then(an,en);Vt((Ft=Ft.apply(Ot,ft)).next())});const tn=({classroomList:Ot,virtualSpaces:ft,user:Ft,dispatch:kt})=>{var Xt,an;const{virtual_spacesId:en}=(0,Ae.useParams)(),{virtualSpacesDetails:Vt}=ft,pt=Vt==null?void 0:Vt.is_creator,wt=(Vt==null?void 0:Vt.is_member)||pt||(0,ge.Ny)(),xt=(an=(Xt=ft==null?void 0:ft.menus)==null?void 0:Xt.find(Kn=>Kn.icon_type==="experiment"))==null?void 0:an.id;(0,ae.useEffect)(()=>{Lt({page:1,limit:10}),Er({page:1,limit:10}),$t({page:1,limit:10}),vr({page:1,limit:10})},[]);const[Ut,fn]=(0,ae.useState)(!1),[Qt,_n]=(0,ae.useState)({page:1,limit:10}),[wn,Mt]=(0,ae.useState)(),Lt=Kn=>_t(void 0,null,function*(){fn(!0);const Xn=yield(0,ue.rV)(en,Kn);"status"in Xn||(Mt(Xn),fn(!1))}),[Jt,jt]=(0,ae.useState)(!1),[bn,Dn]=(0,ae.useState)({page:1,limit:10}),[Hn,rn]=(0,ae.useState)(),[Pt,gt]=(0,ae.useState)(!1),[St,At]=(0,ae.useState)(!1),[zt,Zt]=(0,ae.useState)(!1),$t=Kn=>_t(void 0,null,function*(){jt(!0);const Xn=yield(0,ue.eb)(un({virtual_classroom_id:en},Kn));(Xn==null?void 0:Xn.status)===0&&rn(Xn),jt(!1)}),ln=Kn=>_t(void 0,null,function*(){console.log(Kn,"gather");const{item_type:Xn}=Kn;if(Xn==="PROGRAM"){const{program_attr:{identifier:Fn}}=Kn,Hr=yield kt({type:"problemset/startExperience",payload:{id:Fn}});if(Hr.status===0){const Jr=Hr.identifier;(0,Re.xg)(`/myproblems/${Jr}`);return}he.ZP.warning(Hr==null?void 0:Hr.message);return}kt({type:"problemset/setActionTabs",payload:{key:Xn,params:Kn}})}),[Pn,zn]=(0,ae.useState)(!1),[Gt,tr]=(0,ae.useState)({page:1,limit:10}),[ir,sr]=(0,ae.useState)(),vr=Kn=>_t(void 0,null,function*(){zn(!0);const Xn=yield(0,ue.NZ)(un({virtual_classroom_id:en},Kn));(Xn==null?void 0:Xn.status)===0&&sr(Xn),zn(!1)}),Ln=Kn=>_t(void 0,null,function*(){le.default.confirm({title:"\u79FB\u51FA\u8BD5\u5377",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:E.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u8BFE\u7A0B\u8BD5\u5377\u300A",Kn==null?void 0:Kn.name,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:E.okBtn},cancelButtonProps:{className:E.cancelBtn},onOk:()=>_t(void 0,null,function*(){(yield(0,ue.Np)({virtual_classroom_id:en,id:Kn==null?void 0:Kn.id})).status===0&&vr({page:1,limit:10})})})}),Rn=(Kn,Xn)=>{console.log(Xn,"data"),kt({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:Kn,data:Xn}}})},[$n,Tn]=(0,ae.useState)(!1),[ur,Sr]=(0,ae.useState)({page:1,limit:10}),[lr,Ir]=(0,ae.useState)(),Er=Kn=>_t(void 0,null,function*(){Tn(!0);const Xn=yield(0,ue.tS)(en,Kn);"status"in Xn||(Ir(Xn),Tn(!1))}),[$r,na]=(0,ae.useState)("shixun"),ca={shixun:ae.createElement(ne.Z,{placement:"bottom",menu:{items:[{label:"\u4ECE\u5B9E\u8DF5\u9879\u76EE\u9009\u7528",key:"fromShixun"},{label:"\u4ECE\u5B9E\u8DF5\u8BFE\u7A0B\u9009\u7528",key:"fromSubject"}],onClick:({key:Kn})=>{kt(Kn==="fromShixun"?{type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"}}:{type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"}})}}},ae.createElement("div",null,ae.createElement(ye.op,null,"\u9009\u7528\u5B9E\u9A8C"))),subject:ae.createElement(ye.op,{onClick:()=>{kt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"}})}},"\u6DFB\u52A0\u5B9E\u8DF5\u8BFE\u7A0B"),topic:ae.createElement(ye.op,{onClick:()=>{gt(!0)}},"\u52A0\u5165\u8BD5\u9898"),paper:ae.createElement(ye.op,{onClick:()=>{kt({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528"}})}},"\u52A0\u5165\u8BD5\u5377")};return ae.createElement("section",{className:E.wrap},ae.createElement(se.Z,{spinning:Ut||$n||Jt||Pn},ae.createElement(ye.YG,{value:$r,onChange:Kn=>{na(Kn)},tabBarExtraContent:wt?ca[$r]:null,dataSource:[{id:"shixun",name:"\u5B9E\u8DF5\u9879\u76EE",total:wn==null?void 0:wn.total_count},{id:"subject",name:"\u5B9E\u8DF5\u8BFE\u7A0B",total:lr==null?void 0:lr.total_count},{id:"topic",name:"\u8BFE\u7A0B\u8BD5\u9898",total:Hn==null?void 0:Hn.total_count},{id:"paper",name:"\u8BFE\u7A0B\u8BD5\u5377",total:ir==null?void 0:ir.total_count}]}),$r==="shixun"&&ae.createElement("div",{style:{paddingTop:25}},(wn==null?void 0:wn.total_count)===0&&ae.createElement(me.Z,null),(wn==null?void 0:wn.total_count)>0&&ae.createElement("div",null,wn.shixuns.map(Kn=>ae.createElement(ke,{isCreator:pt,key:Kn.id,data:Kn,refreshData:()=>_t(void 0,null,function*(){if(wn.shixuns.length<=1){const Xn=Qt.page>1?Qt.page-1:1;_n({page:Xn,limit:10}),Lt({page:Xn,limit:10})}else Lt(Qt)}),virtualClassroomId:en})),ae.createElement(de.Z,{pageSize:10,hideOnSinglePage:!0,total:wn==null?void 0:wn.total_count,current:Qt.page,onChange:Kn=>{_n(Xn=>Yn(un({},Xn),{page:Kn})),Lt({page:Kn,limit:10})},showQuickJumper:!0}))),$r==="subject"&&ae.createElement("div",{style:{paddingTop:25}},(lr==null?void 0:lr.total_count)===0&&ae.createElement(me.Z,null),(lr==null?void 0:lr.total_count)>0&&ae.createElement("div",null,lr.subjects.map(Kn=>ae.createElement(je,{isCreator:pt,key:Kn.id,data:Kn,refreshData:()=>_t(void 0,null,function*(){if(lr.subjects.length<=1){const Xn=ur.page>1?ur.page-1:1;Sr({page:Xn,limit:10}),Er({page:Xn,limit:10})}else Er(ur)}),virtualClassroomId:en})),ae.createElement(de.Z,{pageSize:10,hideOnSinglePage:!0,total:lr==null?void 0:lr.total_count,current:ur.page,onChange:Kn=>{Sr(Xn=>Yn(un({},Xn),{page:Kn})),Er({page:Kn,limit:10})},showQuickJumper:!0}))),$r==="topic"&&ae.createElement("div",{style:{paddingTop:25}},(Hn==null?void 0:Hn.total_count)===0&&ae.createElement(me.Z,null),(Hn==null?void 0:Hn.total_count)>0&&ae.createElement("div",null,Hn.questions.map(Kn=>ae.createElement(dt,{isCreator:pt,key:Kn.id,data:Kn,refreshData:()=>_t(void 0,null,function*(){if(lr.subjects.length<=1){const Xn=bn.page>1?bn.page-1:1;Dn({page:Xn,limit:10}),$t({page:Xn,limit:10})}else $t(bn)}),virtualClassroomId:en,handleStartExperience:ln})),ae.createElement(de.Z,{pageSize:10,hideOnSinglePage:!0,total:Hn==null?void 0:Hn.total_count,current:bn.page,onChange:Kn=>{Dn(Xn=>Yn(un({},Xn),{page:Kn})),$t({page:Kn,limit:10})},showQuickJumper:!0}))),$r==="paper"&&ae.createElement("div",{style:{paddingTop:25}},(ir==null?void 0:ir.total_count)===0&&ae.createElement(me.Z,null),(ir==null?void 0:ir.total_count)>0&&ae.createElement("div",null,ir.papers.map((Kn,Xn)=>ae.createElement(It.a,{isVtrs:!0,showCheckbox:!1,key:Kn.id,data:Kn,user:Ft,authRole:!0,activeTabsKey:"6",selectIds:[],onSetSelectIds:()=>{},onCancelPublic:()=>{},onCancelShare:()=>{},onPublicReview:()=>{},onEdit:()=>{},onDelete:()=>{},onSendToClass:Rn,handleMoveOut:Ln})),ae.createElement(de.Z,{style:{marginTop:20},pageSize:10,hideOnSinglePage:!0,total:ir==null?void 0:ir.total_count,current:Gt.page,onChange:Kn=>{tr(Xn=>Yn(un({},Xn),{page:Kn})),vr({page:Kn,limit:10})},showQuickJumper:!0})))),Ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&ae.createElement(We,{shixunIds:[],cb:Kn=>_t(void 0,null,function*(){yield(0,ue.LY)(en,{source:"shixun",shixun_ids:Kn,module_id:xt}),yield Lt({page:1,limit:10})})}),Ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"&&ae.createElement(Ke,{onOk:Kn=>_t(void 0,null,function*(){$r==="shixun"?(yield(0,ue.LY)(en,{source:"subject",subject_id:Kn,module_id:xt}),yield Lt({page:1,limit:10})):(yield(0,ue.bq)(en,{subject_ids:[Kn],module_id:xt}),yield Er({page:1,limit:10}))})}),ae.createElement($e.Z,{setScoreShow:gt,isshixuns:St,isloadings:zt,ScoreShow:Pt,checkHasUsedShixun:!1,onOk:(Kn,Xn,Fn,Hr,Jr)=>_t(void 0,null,function*(){Zt(!0);let Tr={virtual_classroom_id:en,question_ids:[...Kn,...Xn],module_id:xt},Or=yield(0,ue.xL)(un({},Tr));Zt(!1),gt(!1),(Or==null?void 0:Or.status)===0&&(he.ZP.info("\u6DFB\u52A0\u6210\u529F"),$t({page:1,limit:10}))})}),ae.createElement(ht.Z,null),ae.createElement(ot.Z,null),ae.createElement(ut.Z,null),ae.createElement(mt.Z,null),ae.createElement(Ct.Z,null),ae.createElement(Bt.Z,{isVtrs:!0,handleVtrsOk:Kn=>_t(void 0,null,function*(){const Xn=yield(0,ue.rM)({virtual_classroom_id:en,paper_ids:Kn,module_id:xt});(Xn==null?void 0:Xn.status)===0&&(kt({type:"exercise/setActionTabs",payload:{key:""}}),he.ZP.success("\u6DFB\u52A0\u6210\u529F"),vr({page:1,limit:10}))})}),ae.createElement(Ht.Z,null))};var cn=(0,Ae.connect)(({classroomList:Ot,virtualSpaces:ft,user:Ft,problemset:kt})=>({classroomList:Ot,virtualSpaces:ft,user:Ft,problemset:kt}))(tn)},65808:function(vt,at,fe){"use strict";fe.d(at,{CP:function(){return E},_V:function(){return le}});var ae=fe(28209),Ae=fe.n(ae);const E={secret:ae.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ae.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},ye={exam:E};function he(ne="",se="exam"){const{secret:de,iv:ue}=ye[se];return AES.encrypt(ne,de,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function le(ne="",se="exam"){const{secret:de,iv:ue}=ye[se];return ae.AES.decrypt(ne,de,{iv:ue,mode:Ae().mode.CBC,padding:Ae().pad.Pkcs7}).toString(ae.enc.Utf8)}},84454:function(vt,at,fe){"use strict";fe.d(at,{AD:function(){return Fe},BA:function(){return Ie},D9:function(){return Ue},Hp:function(){return ve},IM:function(){return Qe},Iy:function(){return ge},KM:function(){return et},KU:function(){return Ve},MJ:function(){return pe},Ne:function(){return He},ON:function(){return Xe},Uj:function(){return Ke},VY:function(){return _e},YO:function(){return Je},YX:function(){return lt},Zn:function(){return a},_g:function(){return te},_k:function(){return We},c6:function(){return De},cr:function(){return y},eV:function(){return we},fi:function(){return x},gh:function(){return Ee},hS:function(){return Ge},iA:function(){return b},j6:function(){return ce},je:function(){return Oe},jj:function(){return me},kS:function(){return tt},o6:function(){return Ce},pO:function(){return Me},rQ:function(){return Pe},sA:function(){return be},xm:function(){return Te},xo:function(){return ze},y8:function(){return Le},yd:function(){return ee}});var ae=fe(33270),Ae=fe(65582),E=fe(65862),ye=fe(8591),he=fe(74128),le=Object.defineProperty,ne=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ue=(Re,qe,Ye)=>qe in Re?le(Re,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Re[qe]=Ye,ie=(Re,qe)=>{for(var Ye in qe||(qe={}))se.call(qe,Ye)&&ue(Re,Ye,qe[Ye]);if(ne)for(var Ye of ne(qe))de.call(qe,Ye)&&ue(Re,Ye,qe[Ye]);return Re},oe=(Re,qe,Ye)=>new Promise((ke,xe)=>{var Ne=$e=>{try{je(Ye.next($e))}catch(nt){xe(nt)}},Be=$e=>{try{je(Ye.throw($e))}catch(nt){xe(nt)}},je=$e=>$e.done?ke($e.value):Promise.resolve($e.value).then(Ne,Be);je((Ye=Ye.apply(Re,qe)).next())});const re=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},z=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Re=>oe(void 0,null,function*(){re(),(yield(0,ae.YR)(ie({},Re))).status===0&&(yield(0,E.QH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),z()}),y=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.yS)(ie({},Re));if(qe.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(qe.status===-2)return qe;qe.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),x=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.W0)(ie({},Re));if(qe.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),b=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.Nl)(ie({},Re));if(qe.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),ee=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.IU)(ie({},Re));if(qe.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),te=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.td)(ie({},Re));if(qe.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-2)return qe;if(qe.status===-3)(0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(qe.status===-4)return qe}}),ce=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.QX)(ie({},Re));if(qe.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),me=(Re,qe)=>oe(void 0,null,function*(){const Ye=yield(0,ae.o_)(ie({},Re));Ye.status===0?(ye.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"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ve=(Re,qe)=>oe(void 0,null,function*(){const Ye=yield(0,ae.ZL)(ie({},Re));Ye.status===0?(ye.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"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),ge=(Re,qe)=>oe(void 0,null,function*(){const Ye=yield(0,ae.aP)(ie({},Re));Ye.status===0?(ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),pe=(Re,qe)=>oe(void 0,null,function*(){const Ye=yield(0,ae.vV)(ie({},Re));Ye.status===0?(ye.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"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/${qe}`))}),Se=Re=>oe(void 0,null,function*(){re(),(yield exportCourseWorkListAppendix(ie({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),z()}),be=Re=>oe(void 0,null,function*(){re(),yield(0,E.QH)("",he.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),z()}),Ee=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),Ce=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),De=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),we=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),Fe=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),Pe=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),Le=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),Oe=Re=>oe(void 0,null,function*(){const qe=yield(0,ae.Uy)(ie({},Re));qe.status===0?(ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):qe.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),We=Re=>oe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),Te=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),Ue=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(qe=>`course_group_id[]=${qe}`).join("&")}`,query:Re}))}),He=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),Qe=Re=>oe(void 0,null,function*(){yield(0,E.FH)(Re==null?void 0:Re.name,(0,E.NY)({url:he.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),Ge=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),ze=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),_e=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),Ve=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/exercises/${Re.categoryId}/rank_list.xlsx`,query:Re}))}),tt=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),Xe=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),lt=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Je=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),Ke=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Me=(Re,qe)=>oe(void 0,null,function*(){yield(0,E.FH)(qe||"",(0,E.NY)({url:he.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),et=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))}),Ie=Re=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/group_homeworks/import_group_template.xlsx`,query:Re}))})},84056:function(vt,at,fe){"use strict";fe.d(at,{BU:function(){return Ae},Dj:function(){return ae},gH:function(){return E},vp:function(){return ye}});function ae(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(le){console.log(le,":e")}}function Ae(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function ye(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,le=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},61527:function(vt,at,fe){"use strict";fe.d(at,{U:function(){return de}});var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,le=(ue,ie,oe)=>ie in ue?Ae(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ie]=oe,ne=(ue,ie)=>{for(var oe in ie||(ie={}))ye.call(ie,oe)&&le(ue,oe,ie[oe]);if(E)for(var oe of E(ie))he.call(ie,oe)&&le(ue,oe,ie[oe]);return ue},se=(ue,ie,oe)=>new Promise((re,z)=>{var a=b=>{try{x(oe.next(b))}catch(ee){z(ee)}},y=b=>{try{x(oe.throw(b))}catch(ee){z(ee)}},x=b=>b.done?re(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ue,ie)).next())});function de(ue,ie){const[oe,re]=(0,ae.useState)(ie),[z,a]=(0,ae.useState)(!1),[y,x]=(0,ae.useState)();return[oe,z,(ee,te=!1)=>se(this,null,function*(){const ce=te?ie:ne(ne({},oe),ee);a(!0),re(ce);const me=yield ue(ce);return a(!1),x(me),me}),y,x]}},72530:function(vt,at,fe){"use strict";fe.d(at,{_:function(){return E}});var ae=fe(59301),Ae=fe(43418);const E=ye=>{var he,le;const ne=(0,ae.useRef)([]),se=()=>{for(const de of ne.current)clearTimeout(de);ne.current=[]};return(0,ae.useEffect)(()=>{var de,ue,ie,oe,re,z;if(se(),(de=ye==null?void 0:ye.exercise)!=null&&de.left_time&&((ie=(ue=ye==null?void 0:ye.exercise)==null?void 0:ue.exercise_events)==null?void 0:ie.length)>0){for(const a of(oe=ye==null?void 0:ye.exercise)==null?void 0:oe.exercise_events)if(((re=ye==null?void 0:ye.exercise)==null?void 0:re.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=ye==null?void 0:ye.exercise)==null?void 0:z.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{Ae.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);ne.current.push(x)}}},[(he=ye==null?void 0:ye.exercise)==null?void 0:he.left_time,(le=ye==null?void 0:ye.exercise)==null?void 0:le.exercise_events]),se}},42926:function(vt,at,fe){"use strict";fe.d(at,{G:function(){return he},t:function(){return ye}});var ae=fe(7062),Ae=fe.n(ae);const E=null;function ye(le,ne){let se=Ae().get("__ec");se||(se={}),se[le]=ne,Ae().set("__ec",se)}function he(le,ne){let se=Ae().get("__ec");return se?se[le]===void 0?ne:se[le]:ne}},66457:function(vt,at,fe){"use strict";fe.d(at,{rX:function(){return ce},pW:function(){return me},gy:function(){return ve},xY:function(){return te},O5:function(){return ee},tJ:function(){return z},o1:function(){return a},Rd:function(){return b}});var ae=fe(65582),Ae=fe(43418),E=fe(28103),ye=fe(8591),he=fe(41867),le=fe(65862),ne=fe(87169),se=fe(25510),de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKP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IezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",ue=fe.p+"static/newqrcode.a8740efb.png",ie=fe(32637),oe=fe(59301),re=(ge,pe,Se)=>new Promise((be,Ee)=>{var Ce=Fe=>{try{we(Se.next(Fe))}catch(Pe){Ee(Pe)}},De=Fe=>{try{we(Se.throw(Fe))}catch(Pe){Ee(Pe)}},we=Fe=>Fe.done?be(Fe.value):Promise.resolve(Fe.value).then(Ce,De);we((Se=Se.apply(ge,pe)).next())});const z=(ge,pe=!1)=>!!(a(ge)&&y(pe)),a=ge=>(0,he.bg)()?!0:(ge({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ge=!1)=>{var pe;const{user:Se}=(0,ae.getDvaApp)()._store.getState();return(pe=Se.userInfo)!=null&&pe.profile_completed?!0:(Ae.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,le.xg)("/account/profile/edit"),x()}}),!1)},x=()=>{Ae.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},b=()=>{Ae.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:oe.createElement("div",{style:{textAlign:"center"}},oe.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),oe.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ie}),oe.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ee=()=>{var ge;const{user:pe}=(0,ae.getDvaApp)()._store.getState();return(ge=pe.userInfo)!=null&&ge.professional_certification?!0:(Ae.default.confirm({title:"\u63D0\u793A",centered:!0,content:oe.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,le.xg)("/account/certification")}}),!1)},te=()=>(0,he.V9)()?!0:(Ae.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:oe.createElement("div",{className:"tc",style:{marginLeft:-38}},oe.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),oe.createElement("img",{src:ue,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ce=(ge,pe)=>ge?!0:(Ae.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:oe.createElement("div",null,oe.createElement("p",null,pe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),oe.createElement("div",{style:{marginLeft:"110px"}},oe.createElement("img",{src:de,width:200}),oe.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,le.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),me=ge=>{Ae.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:oe.createElement("div",null,oe.createElement("div",null,oe.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),oe.createElement(E.Z,null),oe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",oe.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",oe.createElement("a",null,ge),"\u5929\u3002"),oe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",oe.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),oe.createElement("div",{style:{textAlign:"center",marginTop:30}},oe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ve=(ge,pe="")=>{const{shixunsDetail:{detail:Se}}=(0,ae.getDvaApp)()._store.getState();if((Se==null?void 0:Se.public)===2||(Se==null?void 0:Se.public)===1||(Se==null?void 0:Se.shixun_status)===3){let be="";return(Se==null?void 0:Se.public)===2&&(be="\u5DF2\u516C\u5F00"),(Se==null?void 0:Se.public)===1&&(be="\u5F85\u5BA1\u6838"),(Se==null?void 0:Se.shixun_status)===3&&(be="\u5DF2\u5173\u95ED"),Ae.default.info({centered:!0,icon:oe.createElement(ne.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:oe.createElement("div",{className:"tc",style:{marginLeft:-38}},oe.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},oe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",be,"\uFF0C",pe,"\u3002"),oe.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),oe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Se==null?void 0:Se.shixun_status)===2?(Ae.default.confirm({centered:!0,icon:oe.createElement(ne.Z,null),title:"\u63D0\u793A",content:oe.createElement("div",null,oe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",pe,"\u3002"),oe.createElement("br",null),oe.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Ae.default.confirm({width:440,centered:!0,icon:oe.createElement(ne.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>re(void 0,null,function*(){(yield ge({type:"shixunsDetail/cancelRelease",payload:{id:Se==null?void 0:Se.identifier}})).status!==401&&(ye.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ge({type:"shixunsDetail/getShixunsDetail",payload:{id:Se==null?void 0:Se.identifier}}),ge({type:"practiceSetting/getCommonData",payload:{id:Se==null?void 0:Se.identifier}}))})})}}),!0):!1}},47257:function(vt){(function(at){(function(fe){if(1)vt.exports=fe();else var ae})(function(){var fe,ae,Ae;return function(){function E(ye,he,le){function ne(ue,ie){if(!he[ue]){if(!ye[ue]){var oe=void 0;if(!ie&&oe)return require(ue,!0);if(se)return se(ue,!0);var re=new Error("Cannot find module '"+ue+"'");throw re.code="MODULE_NOT_FOUND",re}var z=he[ue]={exports:{}};ye[ue][0].call(z.exports,function(a){var y=ye[ue][1][a];return ne(y||a)},z,z.exports,E,ye,he,le)}return he[ue].exports}for(var se=void 0,de=0;de - - -`.concat(b,` -`),ee&&(me+="".concat(ee,` -`)),me+=` -`,ce.content=me,ce.mime="xml",ce.successStatuses=[200],pe.next=9,this.request(ce);case 9:return ve=pe.sent,pe.abrupt("return",{res:ve.res});case 11:case"end":return pe.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee){var te,ce,me;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",ee),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return ce=ge.sent,me=ce.data.LoggingEnabled,ge.abrupt("return",{enable:!!me,prefix:me&&me.TargetPrefix||null,res:ce.res});case 8:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee){var te,ce;return ne.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",ee),te.successStatuses=[204,200],ve.next=4,this.request(te);case 4:return ce=ve.sent,ve.abrupt("return",{res:ce.res});case 6:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee,te){var ce,me,ve,ge,pe,Se,be,Ee,Ce,De;return ne.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:for(ee=ee||[],de(ee.length,"rules is required"),ee.forEach(function(Pe){de(Pe.allowedOrigin,"allowedOrigin is required"),de(Pe.allowedMethod,"allowedMethod is required")}),ce=this._bucketRequestParams("PUT",b,"cors",te),me=` -`,ve=function(Le){me+="".concat(Le,"")},ge=function(Le){me+="".concat(Le,"")},pe=function(Le){me+="".concat(Le,"")},Se=function(Le){me+="".concat(Le,"")},be=0,Ee=ee.length;be",z(Ce.allowedOrigin).forEach(ve),z(Ce.allowedMethod).forEach(ge),z(Ce.allowedHeader).forEach(pe),z(Ce.exposeHeader).forEach(Se),Ce.maxAgeSeconds&&(me+="".concat(Ce.maxAgeSeconds,"")),me+="";return me+="",ce.content=me,ce.mime="xml",ce.successStatuses=[200],Fe.next=16,this.request(ce);case 16:return De=Fe.sent,Fe.abrupt("return",{res:De.res});case 18:case"end":return Fe.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee){var te,ce,me,ve;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",ee),te.successStatuses=[200],te.xmlResponse=!0,pe.next=5,this.request(te);case 5:return ce=pe.sent,me=[],ce.data&&ce.data.CORSRule&&(ve=ce.data.CORSRule,re(ve)||(ve=[ve]),ve.forEach(function(Se){var be={};Object.keys(Se).forEach(function(Ee){be[Ee.slice(0,1).toLowerCase()+Ee.slice(1,Ee.length)]=Se[Ee]}),me.push(be)})),pe.abrupt("return",{rules:me,res:ce.res});case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee){var te,ce;return ne.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",ee),te.successStatuses=[204],ve.next=4,this.request(te);case 4:return ce=ve.sent,ve.abrupt("return",{res:ce.res});case 6:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee,te,ce){var me,ve,ge,pe;return ne.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(me=this._bucketRequestParams("PUT",b,"referer",ce),ve=` - -`,ve+=" ".concat(ee?"true":"false",` -`),te&&te.length>0){for(ve+=` -`,ge=0;ge".concat(te[ge],` -`);ve+=` -`}else ve+=` -`;return ve+="",me.content=ve,me.mime="xml",me.successStatuses=[200],be.next=10,this.request(me);case 10:return pe=be.sent,be.abrupt("return",{res:pe.res});case 12:case"end":return be.stop()}},x,this)}));function y(x,b,ee,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee){var te,ce,me;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",ee),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return ce=ge.sent,me=ce.data.RefererList.Referer||null,me&&(re(me)||(me=[me])),ge.abrupt("return",{allowEmpty:ce.data.AllowEmptyReferer==="true",referers:me,res:ce.res});case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,se.default)(ne.default.mark(function x(b,ee){return ne.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return ce.abrupt("return",ce.sent);case 3:case"end":return ce.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,ee){return{method:y,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,ye,he){(function(le,ne){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/regenerator")),ue=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ie=E("debug")("ali-oss"),oe=E("xml2js"),re=E("agentkeepalive"),z=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),te=E("../common/signUtils"),ce=E("../common/client/initOptions"),me=E("../common/utils/createRequest"),ve=me.createRequest,ge=E("../common/utils/encoder"),pe=ge.encoder,Se=E("../common/client/getReqUrl"),be=Se.getReqUrl,Ee=E("../common/utils/setSTSToken"),Ce=Ee.setSTSToken,De=E("../common/utils/retry"),we=De.retry,Fe=E("../common/utils/isFunction"),Pe=Fe.isFunction,Le=new re;function Oe(){var Ge=a.name,ze=a.version;Ge&&Ge.toLowerCase&&Ge.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function We(){return location&&location.protocol==="https:"}function Te(Ge,ze){if(Oe(),!(this instanceof Te))return new Te(Ge,ze);Ge&&Ge.inited?this.options=Ge:this.options=Te.initOptions(Ge),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Le),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}ye.exports=Te,Te.initOptions=function(ze){ze.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var _e=Object.assign({secure:We(),useFetch:!1},ze);return ce(_e)};var Ue=Te.prototype;Ue.debug=ie,z(Ue,E("./object")),z(Ue,E("./bucket")),z(Ue,E("../common/bucket/getBucketWebsite")),z(Ue,E("../common/bucket/putBucketWebsite")),z(Ue,E("../common/bucket/deleteBucketWebsite")),z(Ue,E("../common/bucket/getBucketLifecycle")),z(Ue,E("../common/bucket/putBucketLifecycle")),z(Ue,E("../common/bucket/deleteBucketLifecycle")),z(Ue,E("../common/bucket/putBucketVersioning")),z(Ue,E("../common/bucket/getBucketVersioning")),z(Ue,E("../common/bucket/getBucketInventory")),z(Ue,E("../common/bucket/deleteBucketInventory")),z(Ue,E("../common/bucket/listBucketInventory")),z(Ue,E("../common/bucket/putBucketInventory")),z(Ue,E("../common/bucket/abortBucketWorm")),z(Ue,E("../common/bucket/completeBucketWorm")),z(Ue,E("../common/bucket/extendBucketWorm")),z(Ue,E("../common/bucket/getBucketWorm")),z(Ue,E("../common/bucket/initiateBucketWorm")),z(Ue,E("./managed-upload")),z(Ue,E("../common/multipart-copy")),z(Ue,E("../common/multipart")),z(Ue,E("../common/parallel")),Ue.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),te.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},Ue._getReqUrl=be,Ue.authorization=function(ze,_e,Ve,tt){var Xe=te.buildCanonicalString(ze.toUpperCase(),_e,{headers:tt,parameters:Ve});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Xe,this.options.headerEncoding)},Ue.request=function(){var Ge=(0,ue.default)(de.default.mark(function ze(_e){var Ve=this;return de.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(!this.options.retryMax){Xe.next=6;break}return Xe.next=3,we(He.bind(this),this.options.retryMax,{errorHandler:function(Je){var Ke=function(et){if(_e.stream)return!1;var Ie=[-1,-2].includes(et.status),Re=Ve.options.requestErrorRetryHandle||function(){return!0};return Ie&&Re(et)};return!!Ke(Je)}})(_e);case 3:return Xe.abrupt("return",Xe.sent);case 6:return Xe.abrupt("return",He.call(this,_e));case 7:case"end":return Xe.stop()}},ze,this)}));return function(ze){return Ge.apply(this,arguments)}}();function He(Ge){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,ue.default)(de.default.mark(function Ge(ze){var _e,Ve,tt,Xe,lt,Je;return de.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(this.options.stsToken&&Pe(this.options.refreshSTSToken))){Me.next=3;break}return Me.next=3,Ce.call(this);case 3:return _e=ve.call(this,ze),this.options.useFetch||(_e.params.mode="disable-fetch"),Xe=!!ze.stream,Me.prev=6,Me.next=9,this.urllib.request(_e.url,_e.params);case 9:Ve=Me.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,_e.url,Ve.status,Ve.headers,"info"),Me.next=16;break;case 13:Me.prev=13,Me.t0=Me.catch(6),tt=Me.t0;case 16:if(!(Ve&&ze.successStatuses&&ze.successStatuses.indexOf(Ve.status)===-1)){Me.next=28;break}return Me.next=19,this.requestError(Ve);case 19:if(lt=Me.sent,!(lt.code==="RequestTimeTooSkewed"&&!Xe)){Me.next=25;break}return this.options.amendTimeSkewed=+new Date(lt.serverTime)-new Date,Me.next=24,this.request(ze);case 24:return Me.abrupt("return",Me.sent);case 25:lt.params=ze,Me.next=32;break;case 28:if(!tt){Me.next=32;break}return Me.next=31,this.requestError(tt);case 31:lt=Me.sent;case 32:if(!lt){Me.next=34;break}throw lt;case 34:if(!ze.xmlResponse){Me.next=39;break}return Me.next=37,this.parseXML(Ve.data);case 37:Je=Me.sent,Ve.data=Je;case 39:return Me.abrupt("return",Ve);case 40:case"end":return Me.stop()}},Ge,this,[[6,13]])})),Qe.apply(this,arguments)}Ue._getResource=function(ze){var _e="/";return ze.bucket&&(_e+="".concat(ze.bucket,"/")),ze.object&&(_e+=pe(ze.object,this.options.headerEncoding)),_e},Ue._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},Ue._getUserAgent=function(){var ze=ne&&ne.browser?"js":"nodejs",_e="aliyun-sdk-".concat(ze,"/").concat(b.version),Ve=a.description;return!Ve&&ne&&(Ve="Node.js ".concat(ne.version.slice(1)," on ").concat(ne.platform," ").concat(ne.arch)),this._checkUserAgent("".concat(_e," ").concat(Ve))},Ue._checkUserAgent=function(ze){var _e=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return _e},Ue.checkBrowserAndVersion=function(ze,_e){return ee.name===ze&&ee.version.split(".")[0]===_e},Ue.parseXML=function(ze){return new Promise(function(_e,Ve){le.isBuffer(ze)&&(ze=ze.toString()),oe.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(tt,Xe){tt?Ve(tt):_e(Xe)})})},Ue.requestError=function(){var Ge=(0,ue.default)(de.default.mark(function _e(Ve){var tt,Xe,lt,Je;return de.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(tt=null,!(!Ve.data||!Ve.data.length)){Me.next=5;break}Ve.status===-1||Ve.status===-2?(tt=new Error(Ve.message),tt.name=Ve.name,tt.status=Ve.status,tt.code=Ve.name):(Ve.status===404?(tt=new Error("Object not exists"),tt.name="NoSuchKeyError",tt.status=404,tt.code="NoSuchKey"):Ve.status===412?(tt=new Error("Pre condition failed"),tt.name="PreconditionFailedError",tt.status=412,tt.code="PreconditionFailed"):(tt=new Error("Unknow error, status: ".concat(Ve.status)),tt.name="UnknownError",tt.status=Ve.status),tt.requestId=Ve.headers["x-oss-request-id"],tt.host=""),Me.next=32;break;case 5:return Xe=String(Ve.data),this.debug("request response error data: %s",Xe,"error"),Me.prev=7,Me.next=10,this.parseXML(Xe);case 10:if(Me.t0=Me.sent,Me.t0){Me.next=13;break}Me.t0={};case 13:lt=Me.t0,Me.next=23;break;case 16:return Me.prev=16,Me.t1=Me.catch(7),this.debug(Xe,"error"),Me.t1.message+=` -raw xml: `.concat(Xe),Me.t1.status=Ve.status,Me.t1.requestId=Ve.headers["x-oss-request-id"],Me.abrupt("return",Me.t1);case 23:Je=lt.Message||"unknow request error, status: ".concat(Ve.status),lt.Condition&&(Je+=" (condition: ".concat(lt.Condition,")")),tt=new Error(Je),tt.name=lt.Code?"".concat(lt.Code,"Error"):"UnknownError",tt.status=Ve.status,tt.code=lt.Code,tt.requestId=lt.RequestId,tt.hostId=lt.HostId,tt.serverTime=lt.ServerTime;case 32:return this.debug("generate error %j",tt,"error"),Me.abrupt("return",tt);case 34:case"end":return Me.stop()}},_e,this,[[7,16]])}));function ze(_e){return Ge.apply(this,arguments)}return ze}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,ye,he){(function(le){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),se=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var de=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("util"),ie=E("path"),oe=E("mime"),re=E("copy-to"),z=E("../common/utils/isBlob"),a=z.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,te=he;te.multipartUpload=function(){var pe=(0,de.default)(se.default.mark(function be(Ee,Ce){var De,we,Fe,Pe,Le,Oe,We,Te,Ue,He=arguments;return se.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(De=He.length>2&&He[2]!==void 0?He[2]:{},this.resetCancelFlag(),De.disabledMD5=De.disabledMD5===void 0?!0:!!De.disabledMD5,!(De.checkpoint&&De.checkpoint.uploadId)){Ge.next=8;break}return Ce&&x(Ce)&&(De.checkpoint.file=Ce),Ge.next=7,this._resumeMultipart(De.checkpoint,De);case 7:return Ge.abrupt("return",Ge.sent);case 8:return we=102400,De.mime||(x(Ce)?De.mime=oe.getType(ie.extname(Ce.name)):a(Ce)?De.mime=Ce.type:ee(Ce)?De.mime="":De.mime=oe.getType(ie.extname(Ce))),De.headers=De.headers||{},this._convertMetaToHeaders(De.meta,De.headers),Ge.next=14,this._getFileSize(Ce);case 14:if(Fe=Ge.sent,!(Fe0&&re(Oe).to(Te),Ue=this._divideParts(Fe,Pe),He=Ue.length,Qe=!1,Ge=function(Ie,Re){return new Promise(function(){var qe=(0,de.default)(se.default.mark(function Ye(ke,xe){var Ne,Be,je,$e,nt;return se.default.wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:if(rt.prev=0,Ie.isCancel()){rt.next=29;break}return Ne=Ue[Re-1],rt.next=5,Ie._createBuffer(we,Ne.start,Ne.end);case 5:return Be=rt.sent,je={content:Be,size:Ne.end-Ne.start},rt.prev=7,rt.next=10,Ie._uploadPart(We,Le,Re,je,Ce);case 10:$e=rt.sent,rt.next=18;break;case 13:if(rt.prev=13,rt.t0=rt.catch(7),rt.t0.status!==404){rt.next=17;break}throw Ie._makeAbortEvent();case 17:throw rt.t0;case 18:if(!(!Ie.isCancel()&&!Qe)){rt.next=26;break}if(Ee.doneParts.push({number:Re,etag:$e.res.headers.etag}),!Ce.progress){rt.next=23;break}return rt.next=23,Ce.progress(Oe.length/(He+1),Ee,$e.res);case 23:ke({number:Re,etag:$e.res.headers.etag}),rt.next=27;break;case 26:ke();case 27:rt.next=30;break;case 29:ke();case 30:rt.next=41;break;case 32:rt.prev=32,rt.t1=rt.catch(0),nt=new Error,nt.name=rt.t1.name,nt.message=rt.t1.message,nt.stack=rt.t1.stack,nt.partNum=Re,re(rt.t1).to(nt),xe(nt);case 41:case"end":return rt.stop()}},Ye,null,[[0,32],[7,13]])}));return function(Ye,ke){return qe.apply(this,arguments)}}())},ze=Array.from(new Array(He),function(et,Ie){return Ie+1}),_e=Te.map(function(et){return et.number}),Ve=ze.filter(function(et){return _e.indexOf(et)<0}),tt=5,Xe=Ce.parallel||tt,Me.next=17,this._parallel(Ve,Xe,function(et){return new Promise(function(Ie,Re){Ge(De,et).then(function(qe){qe&&Te.push(qe),Ie()}).catch(function(qe){Re(qe)})})});case 17:if(lt=Me.sent,Qe=!0,Je=lt.find(function(et){return et.name==="abort"}),!Je){Me.next=22;break}throw Je;case 22:if(!this.isCancel()){Me.next=25;break}throw Ge=null,this._makeCancelEvent();case 25:if(!(lt&<.length>0)){Me.next=28;break}throw lt[0].message="Failed to upload some parts with error: ".concat(lt[0].toString()," part_num: ").concat(lt[0].partNum),lt[0];case 28:return Me.next=30,this.completeMultipartUpload(We,Le,Te,Ce);case 30:return Me.abrupt("return",Me.sent);case 31:case"end":return Me.stop()}},be,this)}));function Se(be,Ee){return pe.apply(this,arguments)}return Se}(),te._getFileSize=function(){var pe=(0,de.default)(se.default.mark(function be(Ee){return se.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(!ee(Ee)){De.next=4;break}return De.abrupt("return",Ee.length);case 4:if(!(a(Ee)||x(Ee))){De.next=6;break}return De.abrupt("return",Ee.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return De.stop()}},be)}));function Se(be){return pe.apply(this,arguments)}return Se}();var ce=E("stream"),me=ce.Readable;function ve(pe,Se){if(!(this instanceof ve))return new ve(pe,Se);me.call(this,Se),this.file=pe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(ve,me),ve.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var be=!0;be&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:Ce,this.start=Ce,be=this.push(this.fileBuffer.slice(Ee,Ce))}},ve.prototype._read=function(Se){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var be=16*1024;Se=Se||be;var Ee=this;this.reader.onload=function(De){Ee.fileBuffer=le.from(new Uint8Array(De.target.result)),Ee.file=null,Ee.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function ge(pe){return pe.arrayBuffer?pe.arrayBuffer():new Promise(function(Se,be){var Ee=new FileReader;Ee.onload=function(Ce){Se(Ce.target.result)},Ee.onerror=function(Ce){be(Ce)},Ee.readAsArrayBuffer(pe)})}te._createBuffer=function(){var pe=(0,de.default)(se.default.mark(function be(Ee,Ce,De){var we,Fe;return se.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!(a(Ee)||x(Ee))){Le.next=8;break}return we=Ee.slice(Ce,De),Le.next=4,ge(we);case 4:return Fe=Le.sent,Le.abrupt("return",le.from(Fe));case 8:if(!ee(Ee)){Le.next=12;break}return Le.abrupt("return",Ee.subarray(Ce,De));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Le.stop()}},be)}));function Se(be,Ee,Ce){return pe.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,be){var Ee=1e4,Ce=1*1024*1024;be||(be=Ce);var De=Math.ceil(Se/Ee);return be1&&Oe[1]!==void 0?Oe[1]:{},Ce=be["continuation-token"]||be.continuationToken,Ce&&(Ee.subres=Object.assign({"continuation-token":Ce},Ee.subres)),De=this._objectRequestParams("GET","",Ee),De.query=Object.assign({"list-type":2},be),delete De.query["continuation-token"],delete De.query.continuationToken,De.xmlResponse=!0,De.successStatuses=[200],Te.next=11,this.request(De);case 11:return we=Te.sent,Fe=we.data.Contents||[],Pe=this,Fe&&(Array.isArray(Fe)||(Fe=[Fe]),Fe=Fe.map(function(Ue){var He=null;return Ue.Owner&&(He={id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}),{name:Ue.Key,url:Pe._objectUrl(Ue.Key),lastModified:Ue.LastModified,etag:Ue.ETag,type:Ue.Type,size:Number(Ue.Size),storageClass:Ue.StorageClass,owner:He}})),Le=we.data.CommonPrefixes||null,Le&&(Array.isArray(Le)||(Le=[Le]),Le=Le.map(function(Ue){return Ue.Prefix})),Te.abrupt("return",{res:we.res,objects:Fe,prefixes:Le,isTruncated:we.data.IsTruncated==="true",keyCount:+we.data.KeyCount,continuationToken:we.data.ContinuationToken||null,nextContinuationToken:we.data.NextContinuationToken||null});case 18:case"end":return Te.stop()}},Se,this)}));function pe(Se){return ge.apply(this,arguments)}return pe}(),ve.restore=function(){var ge=(0,se.default)(ne.default.mark(function Se(be){var Ee,Ce,De,we,Fe=arguments;return ne.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Ee=Fe.length>1&&Fe[1]!==void 0?Fe[1]:{type:"Archive"},Ee=Ee||{},Ee.subres=Object.assign({restore:""},Ee.subres),Ee.versionId&&(Ee.subres.versionId=Ee.versionId),Ce=this._objectRequestParams("POST",be,Ee),Ee.type==="ColdArchive"&&(De={RestoreRequest:{Days:Ee.Days?Ee.Days:2,JobParameters:{Tier:Ee.JobParameters?Ee.JobParameters:"Standard"}}},Ce.content=me(De,{headers:!0}),Ce.mime="xml"),Ce.successStatuses=[202],Le.next=9,this.request(Ce);case 9:return we=Le.sent,Le.abrupt("return",{res:we.res});case 11:case"end":return Le.stop()}},Se,this)}));function pe(Se){return ge.apply(this,arguments)}return pe}(),ve._objectUrl=function(pe){return this._getReqUrl({bucket:this.options.bucket,object:pe})},ve._objectRequestParams=function(pe,Se,be){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");be=be||{},Se=this._objectName(Se);var Ee={object:Se,bucket:this.options.bucket,method:pe,subres:be&&be.subres,timeout:be&&be.timeout,ctx:be&&be.ctx};return be.headers&&(Ee.headers={},ue(be.headers).to(Ee.headers)),Ee},ve._objectName=function(pe){return pe.replace(/^\/+/,"")},ve._convertMetaToHeaders=function(pe,Se){pe&&Object.keys(pe).forEach(function(be){Se["x-oss-meta-".concat(be)]=pe[be]})},ve._deleteFileSafe=function(pe){var Se=this;return new Promise(function(be){de.exists(pe,function(Ee){Ee?de.unlink(pe,function(Ce){Ce&&Se.debug("unlink %j error: %s",pe,Ce,"error"),be()}):be()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,ye,he){"use strict";he.version="6.18.1"},{}],7:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.abortBucketWorm=void 0;var de=E("../utils/checkBucketName");function ue(oe,re){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function oe(re,z){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return de.checkBucketName(re),a=this._bucketRequestParams("DELETE",re,"worm",z),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ie.apply(this,arguments)}he.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.completeBucketWorm=void 0;var de=E("../utils/checkBucketName");function ue(oe,re,z){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function oe(re,z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return de.checkBucketName(re),y=this._bucketRequestParams("POST",re,{wormId:z},a),ee.next=4,this.request(y);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},oe,this)})),ie.apply(this,arguments)}he.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.deleteBucketInventory=void 0;var de=E("../utils/checkBucketName");function ue(oe,re){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function oe(re,z){var a,y,x,b,ee=arguments;return ne.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return a=ee.length>2&&ee[2]!==void 0?ee[2]:{},y=Object.assign({inventory:"",inventoryId:z},a.subres),de.checkBucketName(re),x=this._bucketRequestParams("DELETE",re,y,a),x.successStatuses=[204],ce.next=7,this.request(x);case 7:return b=ce.sent,ce.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ce.stop()}},oe,this)})),ie.apply(this,arguments)}he.deleteBucketInventory=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=he;ie.deleteBucketLifecycle=function(){var oe=(0,se.default)(ne.default.mark(function z(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=he;ie.deleteBucketWebsite=function(){var oe=(0,se.default)(ne.default.mark(function z(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.extendBucketWorm=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ie(re,z,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(z,a,y,x){var b,ee,te;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return de.checkBucketName(z),b=this._bucketRequestParams("POST",z,{wormExtend:"",wormId:a},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ue.obj2xml(ee,{headers:!0}),b.successStatuses=[200],me.next=8,this.request(b);case 8:return te=me.sent,me.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return me.stop()}},re,this)})),oe.apply(this,arguments)}he.extendBucketWorm=ie},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.getBucketInventory=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ie(re,z){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(z,a){var y,x,b,ee,te=arguments;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),de.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,y),b.successStatuses=[200],b.xmlResponse=!0,me.next=8,this.request(b);case 8:return ee=me.sent,me.abrupt("return",{status:ee.status,res:ee.res,inventory:ue.formatInventoryConfig(ee.data)});case 10:case"end":return me.stop()}},re,this)})),oe.apply(this,arguments)}he.getBucketInventory=ie},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=E("../utils/isArray"),oe=ie.isArray,re=E("../utils/formatObjKey"),z=re.formatObjKey,a=he;a.getBucketLifecycle=function(){var y=(0,se.default)(ne.default.mark(function b(ee,te){var ce,me,ve;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue(ee),ce=this._bucketRequestParams("GET",ee,"lifecycle",te),ce.successStatuses=[200],ce.xmlResponse=!0,pe.next=6,this.request(ce);case 6:return me=pe.sent,ve=me.data.Rule||null,ve&&(oe(ve)||(ve=[ve]),ve=ve.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!oe(Se.Tag)&&(Se.Tag=[Se.Tag]),z(Se,"firstLowerCase")})),pe.abrupt("return",{rules:ve,res:me.res});case 10:case"end":return pe.stop()}},b,this)}));function x(b,ee){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=he;ie.getBucketVersioning=function(){var oe=(0,se.default)(ne.default.mark(function z(a,y){var x,b,ee;return ne.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ce.next=6,this.request(x);case 6:return b=ce.sent,ee=b.data.Status,ce.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return ce.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=E("../utils/isObject"),oe=ie.isObject,re=he;re.getBucketWebsite=function(){var z=(0,se.default)(ne.default.mark(function y(x,b){var ee,te,ce;return ne.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ue(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=6,this.request(ee);case 6:return te=ve.sent,ce=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ce=[te.data.RoutingRules.RoutingRule]:ce=te.data.RoutingRules.RoutingRule),ve.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:ce,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return ve.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.getBucketWorm=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ie(re,z){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return de.checkBucketName(z),y=this._bucketRequestParams("GET",z,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,ee.next=6,this.request(y);case 6:return x=ee.sent,ue.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},re,this)})),oe.apply(this,arguments)}he.getBucketWorm=ie},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.initiateBucketWorm=void 0;var de=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ie(re,z,a){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(z,a,y){var x,b,ee;return ne.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue.checkBucketName(z),x=this._bucketRequestParams("POST",z,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=de.obj2xml(b,{headers:!0}),x.successStatuses=[200],ce.next=8,this.request(x);case 8:return ee=ce.sent,ce.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return ce.stop()}},re,this)})),oe.apply(this,arguments)}he.initiateBucketWorm=ie},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.listBucketInventory=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ie(re){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(z){var a,y,x,b,ee,te,ce,me,ve=arguments;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return a=ve.length>1&&ve[1]!==void 0?ve[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),de.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,a),b.successStatuses=[200],b.xmlResponse=!0,pe.next=9,this.request(b);case 9:return ee=pe.sent,te=ee.data,ce=ee.res,me=ee.status,pe.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ue.formatInventoryConfig(te.InventoryConfiguration,!0),status:me,res:ce});case 12:case"end":return pe.stop()}},re,this)})),oe.apply(this,arguments)}he.listBucketInventory=ie},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.putBucketInventory=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ie(re,z){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(z,a){var y,x,b,ee,te,ce,me,ve,ge,pe,Se,be=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return y=be.length>2&&be[2]!==void 0?be[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),de.checkBucketName(z),b=a.OSSBucketDestination,ee=a.optionalFields,te=a.includedObjectVersions,ce="acs:oss:::",me="acs:ram::".concat(b.accountId,":role/"),ve={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(me).concat(b.rolename),Bucket:"".concat(ce).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},ge=ue.obj2xml(ve,{headers:!0,firstUpperCase:!0}),pe=this._bucketRequestParams("PUT",z,x,y),pe.successStatuses=[200],pe.mime="xml",pe.content=ge,Ce.next=14,this.request(pe);case 14:return Se=Ce.sent,Ce.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return Ce.stop()}},re,this)})),oe.apply(this,arguments)}he.putBucketInventory=ie},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=E("../utils/isArray"),oe=ie.isArray,re=E("../utils/deepCopy"),z=re.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),te=ee.checkObjectTag,ce=E("../utils/getStrBytesCount"),me=ce.getStrBytesCount,ve=he;ve.putBucketLifecycle=function(){var Ee=(0,se.default)(ne.default.mark(function De(we,Fe,Pe){var Le,Oe,We,Te,Ue;return ne.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(ue(we),oe(Fe)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return Le=this._bucketRequestParams("PUT",we,"lifecycle",Pe),Oe=[],We={LifecycleConfiguration:{Rule:Oe}},Fe.forEach(function(Ge){ge(Ge),be(Ge),Ge.id&&(Ge.ID=Ge.id,delete Ge.id),Oe.push(Ge)}),Te=b(We,{headers:!0,firstUpperCase:!0}),Le.content=Te,Le.mime="xml",Le.successStatuses=[200],Qe.next=13,this.request(Le);case 13:return Ue=Qe.sent,Qe.abrupt("return",{res:Ue.res});case 15:case"end":return Qe.stop()}},De,this)}));function Ce(De,we,Fe){return Ee.apply(this,arguments)}return Ce}();function ge(Ee){Ee.days&&(Ee.expiration={days:Ee.days}),Ee.date&&(Ee.expiration={createdBeforeDate:Ee.date})}function pe(Ee,Ce){var De=Ee.days,we=Ee.createdBeforeDate;if(!De&&!we)throw new Error("".concat(Ce," must includes days or createdBeforeDate"));if(De&&!/^[1-9][0-9]*$/.test(De))throw new Error("days must be a positive integer");if(we&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(we))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Ee){if(!oe(Ee)&&!y(Ee))throw new Error("tag must be Object or Array");Ee=y(Ee)?[Ee]:Ee;var Ce={},De=z(Ee);De.forEach(function(we){Ce[we.key]=we.value}),te(Ce)}function be(Ee){if(Ee.id&&me(Ee.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Ee.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Ee.status))throw new Error("Status must be Enabled or Disabled");if(Ee.transition){if(!["IA","Archive"].includes(Ee.transition.storageClass))throw new Error("StorageClass must be IA or Archive");pe(Ee.transition,"Transition")}if(Ee.expiration){if(!Ee.expiration.expiredObjectDeleteMarker)pe(Ee.expiration,"Expiration");else if(Ee.expiration.days||Ee.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Ee.abortMultipartUpload&&pe(Ee.abortMultipartUpload,"AbortMultipartUpload"),!Ee.expiration&&!Ee.abortMultipartUpload&&!Ee.transition&&!Ee.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Ee.tag){if(Ee.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Se(Ee.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=E("../utils/obj2xml"),oe=ie.obj2xml,re=he;re.putBucketVersioning=function(){var z=(0,se.default)(ne.default.mark(function y(x,b){var ee,te,ce,me,ve=arguments;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(ee=ve.length>2&&ve[2]!==void 0?ve[2]:{},ue(x),["Enabled","Suspended"].includes(b)){pe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",ee),ce={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ce,{headers:!0}),pe.next=10,this.request(te);case 10:return me=pe.sent,pe.abrupt("return",{res:me.res,status:me.status});case 12:case"end":return pe.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=E("../utils/obj2xml"),oe=ie.obj2xml,re=E("../utils/isArray"),z=re.isArray,a=he;a.putBucketWebsite=function(){var y=(0,se.default)(ne.default.mark(function b(ee){var te,ce,me,ve,ge,pe,Se,be=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(te=be.length>1&&be[1]!==void 0?be[1]:{},ce=be.length>2?be[2]:void 0,ue(ee),me=this._bucketRequestParams("PUT",ee,"website",ce),ve={Suffix:te.index||"index.html"},ge={IndexDocument:ve},pe={WebsiteConfiguration:ge},te.supportSubDir&&(ve.SupportSubDir=te.supportSubDir),te.type&&(ve.Type=te.type),te.error&&(ge.ErrorDocument={Key:te.error}),te.routingRules===void 0){Ce.next=14;break}if(z(te.routingRules)){Ce.next=13;break}throw new Error("RoutingRules must be Array");case 13:ge.RoutingRules={RoutingRule:te.routingRules};case 14:return pe=oe(pe),me.content=pe,me.mime="xml",me.successStatuses=[200],Ce.next=20,this.request(me);case 20:return Se=Ce.sent,Ce.abrupt("return",{res:Se.res});case 22:case"end":return Ce.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,ye,he){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),he.encodeCallback=function(se,de){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&de.callback){var ue={callbackUrl:encodeURI(de.callback.url),callbackBody:de.callback.body};de.callback.host&&(ue.callbackHost=de.callback.host),de.callback.contentType&&(ue.callbackBodyType=de.callback.contentType);var ie=le.from(JSON.stringify(ue)).toString("base64");if(se.headers["x-oss-callback"]=ie,de.callback.customValue){var oe={};Object.keys(de.callback.customValue).forEach(function(re){oe["x:".concat(re)]=de.callback.customValue[re].toString()}),se.headers["x-oss-callback-var"]=le.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var le=function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(he,"__esModule",{value:!0}),he.getReqUrl=void 0;var ne=le(E("copy-to")),se=le(E("url")),de=le(E("merge-descriptors")),ue=le(E("is-type-of")),ie=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function re(z){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),ne.default(this.options.endpoint,!1).to(a),z.bucket&&!y&&!ie.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(z.bucket,".").concat(a.host));var x="/";z.bucket&&this.options.sldEnable&&(x+="".concat(z.bucket,"/")),z.object&&(x+=this._escape(z.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(z.query&&de.default(b,z.query),z.subres){var ee={};ue.default.string(z.subres)?ee[z.subres]="":ue.default.array(z.subres)?z.subres.forEach(function(te){ee[te]=""}):ee=z.subres,de.default(b,ee)}return a.query=b,se.default.format(a)}he.getReqUrl=re},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var le=E("humanize-ms"),ne=E("url"),se=E("../utils/checkBucketName"),de=se.checkBucketName,ue=E("../utils/setRegion"),ie=ue.setRegion,oe=E("../utils/checkConfigValid"),re=oe.checkConfigValid;function z(a,y){re(a,"endpoint");var x=ne.parse(a);if(x.protocol||(x=ne.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}ye.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&de(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=le(y.timeout)),y.endpoint)y.endpoint=z(y.endpoint,y.secure);else if(y.region)y.endpoint=ie(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,ye,he){"use strict";var le=E("merge-descriptors"),ne=he;le(ne,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ie=E("querystring"),oe=E("js-base64"),re=oe.Base64.encode,z=he;z.processObjectSave=function(){var y=(0,se.default)(ne.default.mark(function b(ee,te,ce,me){var ve,ge,pe,Se;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return a(ee,"sourceObject"),a(te,"targetObject"),a(ce,"process"),te=this._objectName(te),me&&ue(me),ve=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),ge=me?",b_".concat(re(me)):"",te=re(te),pe={"x-oss-process":"".concat(ce,"|sys/saveas,o_").concat(te).concat(ge)},ve.content=ie.stringify(pe),Ee.next=12,this.request(ve);case 12:return Se=Ee.sent,Ee.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Ee.stop()}},b,this)}));function x(b,ee,te,ce){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("debug")("ali-oss:multipart-copy"),ue=E("copy-to"),ie=he;ie.uploadPartCopy=function(){var oe=(0,se.default)(ne.default.mark(function z(a,y,x,b,ee){var te,ce,me,ve,ge,pe=arguments;return ne.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return te=pe.length>5&&pe[5]!==void 0?pe[5]:{},te.headers=te.headers||{},ce=te.versionId||te.subres&&te.subres.versionId||null,ce?me="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(ce):me="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),te.headers["x-oss-copy-source"]=me,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},ve=this._objectRequestParams("PUT",a,te),ve.mime=te.mime,ve.successStatuses=[200],be.next=12,this.request(ve);case 12:return ge=be.sent,be.abrupt("return",{name:a,etag:ge.res.headers.etag,res:ge.res});case 14:case"end":return be.stop()}},z,this)}));function re(z,a,y,x,b){return oe.apply(this,arguments)}return re}(),ie.multipartUploadCopy=function(){var oe=(0,se.default)(ne.default.mark(function z(a,y){var x,b,ee,te,ce,me,ve,ge,pe,Se,be,Ee,Ce=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return x=Ce.length>2&&Ce[2]!==void 0?Ce[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},we.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(ce=we.sent,me=ce.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||me,!(x.checkpoint&&x.checkpoint.uploadId)){we.next=14;break}return we.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return we.abrupt("return",we.sent);case 14:if(ve=102400,ge=y.endOffset-y.startOffset,!(ge0)){Qe.next=40;break}throw Ue=We[0],Ue.message="Failed to copy some parts with error: ".concat(Ue.toString()," part_num: ").concat(Ue.partNum),Ue;case 40:return Qe.next=42,this.completeMultipartUpload(pe,ve,ge,x);case 42:return Qe.abrupt("return",Qe.sent);case 43:case"end":return Qe.stop()}},z,this)}));function re(z,a,y){return oe.apply(this,arguments)}return re}(),ie._divideMultipartCopyParts=function(re,z,a){for(var y=Math.ceil(re/z),x=[],b=0;b - -`,Ee=0;Ee -`,be+="".concat(Ce.number,` -`),be+="".concat(Ce.etag,` -`),be+=` -`;return be+="",pe=pe||{},De={},De=re(pe,function(We){if(a(We))return null}),De.subres={uploadId:ve},De.headers=x(De.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),we=this._objectRequestParams("POST",me,De),ie.encodeCallback(we,De),we.mime="xml",we.content=be,we.headers&&we.headers["x-oss-callback"]||(we.xmlResponse=!0),we.successStatuses=[200],Oe.next=17,this.request(we);case 17:if(Fe=Oe.sent,!pe.progress){Oe.next=21;break}return Oe.next=21,pe.progress(1,null,Fe.res);case 21:return Pe={res:Fe.res,bucket:we.bucket,name:me,etag:Fe.res.headers.etag},we.headers&&we.headers["x-oss-callback"]&&(Pe.data=JSON.parse(Fe.data.toString())),Oe.abrupt("return",Pe);case 24:case"end":return Oe.stop()}},ce,this)}));function te(ce,me,ve,ge){return ee.apply(this,arguments)}return te}(),b._uploadPart=function(){var ee=(0,de.default)(se.default.mark(function ce(me,ve,ge,pe,Se){var be,Ee,Ce,De;return se.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Se=Se||{},be={},ue(Se).to(be),be.headers=be.headers||{},be.headers["Content-Length"]=pe.size,be.headers=x(be.headers,["x-oss-server-side-encryption"]),be.subres={partNumber:ge,uploadId:ve},Ee=this._objectRequestParams("PUT",me,be),Ee.mime=be.mime,Ce=le&&le.browser,Ce?Ee.content=pe.content:Ee.stream=pe.stream,Ee.successStatuses=[200],Ee.disabledMD5=Se.disabledMD5,Fe.next=15,this.request(Ee);case 15:if(De=Fe.sent,De.res.headers.etag){Fe.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS - https://help.aliyun.com/document_detail/32069.html`);case 18:return pe.stream&&(pe.stream=null,Ee.stream=null),Fe.abrupt("return",{name:me,etag:De.res.headers.etag,res:De.res});case 20:case"end":return Fe.stop()}},ce,this)}));function te(ce,me,ve,ge,pe){return ee.apply(this,arguments)}return te}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("url"),ue=E("utility"),ie=E("copy-to"),oe=E("../../common/signUtils"),re=E("../utils/isIP"),z=re.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=he;ee.asyncSignatureUrl=function(){var te=(0,se.default)(ne.default.mark(function me(ve,ge){var pe,Se,be,Ee,Ce;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(!z(this.options.endpoint.hostname)){we.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ge=ge||{},ve=this._objectName(ve),ge.method=ge.method||"GET",pe=ue.timestamp()+(ge.expires||1800),Se={bucket:this.options.bucket,object:ve},be=this._getResource(Se),!(this.options.stsToken&&b(this.options.refreshSTSToken))){we.next=11;break}return we.next=11,y.call(this);case 11:return this.options.stsToken&&(ge["security-token"]=this.options.stsToken),Ee=oe._signatureForURL(this.options.accessKeySecret,ge,be,pe),Ce=de.parse(this._getReqUrl(Se)),Ce.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:Ee.Signature},ie(Ee.subResource).to(Ce.query),we.abrupt("return",Ce.format());case 17:case"end":return we.stop()}},me,this)}));function ce(me,ve){return te.apply(this,arguments)}return ce}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var se=le(E("@babel/runtime/helpers/typeof")),de=le(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("../utils/checkBucketName"),ie=ue.checkBucketName,oe=he,re=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var z=(0,de.default)(ne.default.mark(function y(x,b,ee,te){var ce,me,ve;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return(0,se.default)(ee)==="object"&&(te=ee),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Se){te.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=te.headers[Se]}),(te.meta||Object.keys(te.headers).find(function(Se){return re.includes(Se.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,ee),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,ce=this._objectRequestParams("PUT",x,te),ce.xmlResponse=!0,ce.successStatuses=[200,304],pe.next=14,this.request(ce);case 14:return me=pe.sent,ve=me.data,ve&&(ve={etag:ve.ETag,lastModified:ve.LastModified}),pe.abrupt("return",{data:ve,res:me.res});case 18:case"end":return pe.stop()}},y,this)}));function a(y,x,b,ee){return z.apply(this,arguments)}return a}(),oe._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ie(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.delete=function(){var ue=(0,se.default)(ne.default.mark(function oe(re){var z,a,y,x=arguments;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("DELETE",re,z),a.successStatuses=[204],ee.next=7,this.request(a);case 7:return y=ee.sent,ee.abrupt("return",{res:y.res});case 9:case"end":return ee.stop()}},oe,this)}));function ie(oe){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("utility"),ue=E("../utils/obj2xml"),ie=ue.obj2xml,oe=he;oe.deleteMulti=function(){var re=(0,se.default)(ne.default.mark(function a(y){var x,b,ee,te,ce,me,ve,ge,pe,Se,be,Ee,Ce,De=arguments;return ne.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(x=De.length>1&&De[1]!==void 0?De[1]:{},b=[],!(!y||!y.length)){Fe.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),re=this._objectName(re),a=this._objectRequestParams("DELETE",re,z),a.successStatuses=[204],ee.next=8,this.request(a);case 8:return y=ee.sent,ee.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return ee.stop()}},oe,this)}));function ie(oe){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js");var le=E("url"),ne=E("../utils/isIP"),se=ne.isIP,de=he;de.generateObjectUrl=function(ie,oe){if(se(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var re=le.parse(oe),z=this.options.bucket;re.hostname="".concat(z,".").concat(re.hostname),re.host="".concat(z,".").concat(re.host),oe=re.format()}return oe+this._escape(this._objectName(ie))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,ye,he){(function(le){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),se=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var de=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("fs"),ie=E("is-type-of"),oe=he;oe.get=function(){var re=(0,de.default)(se.default.mark(function a(y,x){var b,ee,te,ce,me,ve,ge,pe,Se=arguments;return se.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return b=Se.length>2&&Se[2]!==void 0?Se[2]:{},ee=null,te=!1,ie.writableStream(x)?ee=x:ie.string(x)?(ee=ue.createWriteStream(x),te=!0):b=x,b=b||{},ce=le&&le.browser,me=b.responseCacheControl===null?"":"no-cache",ve=ce&&me?{"response-cache-control":me}:{},b.subres=Object.assign(ve,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Ee.prev=11,pe=this._objectRequestParams("GET",y,b),pe.writeStream=ee,pe.successStatuses=[200,206,304],Ee.next=17,this.request(pe);case 17:ge=Ee.sent,te&&ee.destroy(),Ee.next=28;break;case 21:if(Ee.prev=21,Ee.t0=Ee.catch(11),!te){Ee.next=27;break}return ee.destroy(),Ee.next=27,this._deleteFileSafe(x);case 27:throw Ee.t0;case 28:return Ee.abrupt("return",{res:ge.res,content:ge.data});case 29:case"end":return Ee.stop()}},a,this,[[11,21]])}));function z(a,y){return re.apply(this,arguments)}return z}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.getACL=function(){var ue=(0,se.default)(ne.default.mark(function oe(re){var z,a,y,x=arguments;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({acl:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,z),a.successStatuses=[200],a.xmlResponse=!0,ee.next=9,this.request(a);case 9:return y=ee.sent,ee.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return ee.stop()}},oe,this)}));function ie(oe){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he,ue=E("../utils/isObject"),ie=ue.isObject,oe=E("../utils/isArray"),re=oe.isArray;de.getBucketVersions=z,de.listObjectVersions=z;function z(){return a.apply(this,arguments)}function a(){return a=(0,se.default)(ne.default.mark(function b(){var ee,te,ce,me,ve,ge,pe,Se,be=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(ee=be.length>0&&be[0]!==void 0?be[0]:{},te=be.length>1&&be[1]!==void 0?be[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){Ce.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ce=this._objectRequestParams("GET","",te),ce.xmlResponse=!0,ce.successStatuses=[200],ce.query=x(ee),Ce.next=12,this.request(ce);case 12:return me=Ce.sent,ve=me.data.Version||[],ge=me.data.DeleteMarker||[],pe=this,ve&&(Array.isArray(ve)||(ve=[ve]),ve=ve.map(function(De){return{name:De.Key,url:pe._objectUrl(De.Key),lastModified:De.LastModified,isLatest:De.IsLatest==="true",versionId:De.VersionId,etag:De.ETag,type:De.Type,size:Number(De.Size),storageClass:De.StorageClass,owner:{id:De.Owner.ID,displayName:De.Owner.DisplayName}}})),ge&&(re(ge)||(ge=[ge]),ge=ge.map(function(De){return{name:De.Key,lastModified:De.LastModified,versionId:De.VersionId,owner:{id:De.Owner.ID,displayName:De.Owner.DisplayName}}})),Se=me.data.CommonPrefixes||null,Se&&(re(Se)||(Se=[Se]),Se=Se.map(function(De){return De.Prefix})),Ce.abrupt("return",{res:me.res,objects:ve,deleteMarker:ge,prefixes:Se,nextMarker:me.data.NextKeyMarker||null,NextVersionIdMarker:me.data.NextVersionIdMarker||null,nextKeyMarker:me.data.NextKeyMarker||null,nextVersionIdMarker:me.data.NextVersionIdMarker||null,isTruncated:me.data.IsTruncated==="true"});case 21:case"end":return Ce.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee={};return ie(b)&&Object.keys(b).forEach(function(te){ee[y(te)]=b[te]}),ee}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.getObjectMeta=function(){var ue=(0,se.default)(ne.default.mark(function oe(re,z){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return z=z||{},re=this._objectName(re),z.subres=Object.assign({objectMeta:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("HEAD",re,z),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},oe,this)}));function ie(oe,re){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he,ue=E("../utils/isObject"),ie=ue.isObject;de.getObjectTagging=function(){var oe=(0,se.default)(ne.default.mark(function z(a){var y,x,b,ee,te,ce,me=arguments;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return y=me.length>1&&me[1]!==void 0?me[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ge.next=8,this.request(x);case 8:return b=ge.sent,ge.next=11,this.parseXML(b.data);case 11:return ee=ge.sent,te=ee.TagSet.Tag,te=te&&ie(te)?[te]:te||[],ce={},te.forEach(function(pe){ce[pe.Key]=pe.Value}),ge.abrupt("return",{status:b.status,res:b.res,tag:ce});case 17:case"end":return ge.stop()}},z,this)}));function re(z){return oe.apply(this,arguments)}return re}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,ye,he){"use strict";var le=E("../utils/isIP"),ne=le.isIP,se=he;se.getObjectUrl=function(ue,ie){if(ne(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ie?ie[ie.length-1]!=="/"&&(ie+="/"):ie=this.options.endpoint.format(),ie+this._escape(this._objectName(ue))}},{"../utils/isIP":69}],43:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.getSymlink=function(){var ue=(0,se.default)(ne.default.mark(function oe(re){var z,a,y,x,b=arguments;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return z=b.length>1&&b[1]!==void 0?b[1]:{},z.subres=Object.assign({symlink:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,z),a.successStatuses=[200],te.next=8,this.request(a);case 8:return y=te.sent,x=y.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return te.stop()}},oe,this)}));function ie(oe){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkEnv"),ue=de.checkEnv,ie=he;ie.head=function(){var oe=(0,se.default)(ne.default.mark(function z(a){var y,x,b,ee,te=arguments;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return y=te.length>1&&te[1]!==void 0?te[1]:{},ue("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],me.next=8,this.request(x);case 8:return b=me.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ve){ve.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ve.substring(11)]=b.headers[ve])}),me.abrupt("return",ee);case 12:case"end":return me.stop()}},z,this)}));function re(z){return oe.apply(this,arguments)}return re}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.putACL=function(){var ue=(0,se.default)(ne.default.mark(function oe(re,z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=z,re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],ee.next=10,this.request(y);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},oe,this)}));function ie(oe,re,z){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/obj2xml"),ue=de.obj2xml,ie=E("../utils/checkObjectTag"),oe=ie.checkObjectTag,re=he;re.putObjectTagging=function(){var z=(0,se.default)(ne.default.mark(function y(x,b){var ee,te,ce,me,ve=arguments;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ee=ve.length>2&&ve[2]!==void 0?ve[2]:{},oe(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,ee),te.successStatuses=[200],b=Object.keys(b).map(function(Se){return{Key:Se,Value:b[Se]}}),ce={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ue(ce),pe.next=13,this.request(te);case 13:return me=pe.sent,pe.abrupt("return",{res:me.res,status:me.status});case 15:case"end":return pe.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.putSymlink=function(){var ue=(0,se.default)(ne.default.mark(function oe(re,z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.headers=a.headers||{},z=this._escape(this._objectName(z)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=z,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],ee.next=13,this.request(y);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},oe,this)}));function ie(oe,re,z){return ue.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,ye,he){"use strict";var le=E("url"),ne=E("utility"),se=E("copy-to"),de=E("../../common/signUtils"),ue=E("../utils/isIP"),ie=ue.isIP,oe=he;oe.signatureUrl=function(z,a){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},z=this._objectName(z),a.method=a.method||"GET";var y=ne.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:z},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var ee=de._signatureForURL(this.options.accessKeySecret,a,b,y),te=le.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:ee.Signature},se(ee.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),de=E("./utils/isArray"),ue=de.isArray,ie=he;ie._parallelNode=function(){var oe=(0,se.default)(ne.default.mark(function z(a,y,x,b){var ee,te,ce,me,ve,ge,pe,Se;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:ee=this,te=[],ce=[],me=a.length/y,ve=a.length%y,ge=ve===0?me:(a.length-ve)/y+1,pe=1,Se=0;case 8:if(!(Se0){me=!0,ve<=0&&x(b);return}ve+=1,Se(Ee.value,ee(pe))}ge=!1}be()})},ie.cancel=function(re){this.options.cancelFlag=!0,ue(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(z){if(z.destroyed===!1){var a={name:"cancel",message:"cancel"};z.destroy(a)}}),this.multipartUploadStreams=[],re&&this.abortMultipartUpload(re.name,re.uploadId,re.options)},ie.isCancel=function(){return this.options.cancelFlag},ie.resetCancelFlag=function(){this.options.cancelFlag=!1},ie._stop=function(){this.options.cancelFlag=!0},ie._makeCancelEvent=function(){var re={status:0,name:"cancel"};return re},ie._makeAbortEvent=function(){var re={status:0,name:"abort",message:"upload task has been abort"};return re}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,ye,he){(function(le){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ne=E("./../../shims/crypto/crypto.js"),se=E("is-type-of"),de=E("./utils/lowercaseKeyHeader"),ue=de.lowercaseKeyHeader;he.buildCanonicalizedResource=function(oe,re){var z="".concat(oe),a="?";if(se.string(re)&&re.trim()!=="")z+=a+re;else if(se.array(re))re.sort(),z+=a+re.join("&");else if(re){var y=function(ee,te){return ee[0]>te[0]?1:ee[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=ne.createHmac("sha1",oe);return a.update(le.from(re,z)).digest("base64")},he.authorization=function(oe,re,z,a){return"OSS ".concat(oe,":").concat(this.computeSignature(re,z,a))},he._signatureForURL=function(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=re.subResource,ee=b===void 0?{}:b;if(re.process){var te="x-oss-process";ee[te]=re.process}if(re.trafficLimit){var ce="x-oss-traffic-limit";ee[ce]=re.trafficLimit}if(re.response&&Object.keys(re.response).forEach(function(pe){var Se="response-".concat(pe.toLowerCase());ee[Se]=re.response[pe]}),Object.keys(re).forEach(function(pe){var Se=pe.toLowerCase(),be=re[pe];Se.indexOf("x-oss-")===0?x[Se]=be:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[pe]=be)}),Object.prototype.hasOwnProperty.call(re,"security-token")&&(ee["security-token"]=re["security-token"]),Object.prototype.hasOwnProperty.call(re,"callback")){var me={callbackUrl:encodeURI(re.callback.url),callbackBody:re.callback.body};if(re.callback.host&&(me.callbackHost=re.callback.host),re.callback.contentType&&(me.callbackBodyType=re.callback.contentType),ee.callback=le.from(JSON.stringify(me)).toString("base64"),re.callback.customValue){var ve={};Object.keys(re.callback.customValue).forEach(function(pe){ve["x:".concat(pe)]=re.callback.customValue[pe]}),ee["callback-var"]=le.from(JSON.stringify(ve)).toString("base64")}}var ge=this.buildCanonicalString(re.method,z,{headers:x,parameters:ee},a.toString());return{Signature:this.computeSignature(oe,ge,y),subResource:ee}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,ye,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkBucketName=void 0,he.checkBucketName=function(le){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=ne?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!se.test(le))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,ye,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkConfigValid=void 0;var le={endpoint:ne,region:/^[a-zA-Z0-9\-_]+$/};function ne(se){return typeof se=="string"?/^[a-zA-Z0-9._:/-]+$/.test(se):se.host?/^[a-zA-Z0-9._:/-]+$/.test(se.host):!1}he.checkConfigValid=function(se,de){if(le[de]){var ue=!0;if(le[de]instanceof Function?ue=le[de](se):ue=le[de].test(se),!ue)throw new Error("The ".concat(de," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,ye,he){(function(le){(function(){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.checkEnv=void 0;function ne(se){le.browser&&console.warn(se)}he.checkEnv=ne}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkObjectTag=void 0;var le=E("./checkValid"),ne=le.checkValid,se=E("./isObject"),de=se.isObject,ue=[{validator:function(z){if(typeof z!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ie={key:[].concat(ue,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ue,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(re){if(!de(re))throw new Error("tag must be Object");var z=Object.entries(re);if(z.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];z.forEach(function(y){y.forEach(function(x,b){ne(x,ie[a[b]])})})}he.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,ye,he){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkValid=void 0;function le(ne,se){se.forEach(function(de){if(de.validator)de.validator(ne);else if(de.pattern&&!de.pattern.test(ne))throw new Error(de.msg)})}he.checkValid=le},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,ye,he){(function(le){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.createRequest=void 0;var ne=E("./../../../shims/crypto/crypto.js"),se=E("debug")("ali-oss"),de=E("mime"),ue=E("dateformat"),ie=E("copy-to"),oe=E("path"),re=E("./encoder"),z=re.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),te=ee.getReqUrl,ce=E("./isDingTalk"),me=ce.isDingTalk;function ve(Se,be){return Se[be]||Se[be.toLowerCase()]}function ge(Se,be){delete Se[be],delete Se[be.toLowerCase()]}function pe(Se){var be=new Date;this.options.amendTimeSkewed&&(be=+new Date+this.options.amendTimeSkewed);var Ee={"x-oss-date":ue(be,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Ee["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Ee["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Ee,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Ee["x-oss-security-token"]=this.options.stsToken),ie(Se.headers).to(Ee),ve(Ee,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Ee["Content-Type"]=Se.mime:me()?Ee["Content-Type"]="application/octet-stream":Ee["Content-Type"]=de.getType(Se.mime||oe.extname(Se.object||""))),ve(Ee,"Content-Type")||ge(Ee,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Ee["Content-MD5"]=ne.createHash("md5").update(le.from(Se.content,"utf8")).digest("base64"):Ee["Content-MD5"]=Se.headers["Content-MD5"]),Ee["Content-Length"]||(Ee["Content-Length"]=Se.content.length));var Ce=Object.prototype.hasOwnProperty;for(var De in Ee)Ee[De]&&Ce.call(Ee,De)&&(Ee[De]=z(String(Ee[De]),this.options.headerEncoding));var we=this._getResource(Se);if(Ee.authorization=this.authorization(Se.method,we,Se.subres,Ee,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Fe=this.options,Pe=Fe.region,Le=Fe.internal,Oe=Fe.secure,We=b(Pe,Le,Oe);Ee.host="".concat(Se.bucket,".").concat(We.host)}var Te=te.bind(this)(Se);se("request %s %s, with headers %j, !!stream: %s",Se.method,Te,Ee,!!Se.stream);var Ue=Se.timeout||this.options.timeout,He={method:Se.method,content:Se.content,stream:Se.stream,headers:Ee,timeout:Ue,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(He.agent=this.agent),this.httpsAgent&&(He.httpsAgent=this.httpsAgent),He.enableProxy=!!this.options.enableProxy,He.proxy=this.options.proxy?this.options.proxy:null,{url:Te,params:He}}he.createRequest=pe}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,ye,he){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.dataFix=void 0;var le=E("./isObject"),ne=["true","TRUE","1",1],se=["false","FALSE","0",0];function de(oe,re,z){if(le.isObject(oe)){var a=re.remove,y=a===void 0?[]:a,x=re.rename,b=x===void 0?{}:x,ee=re.camel,te=ee===void 0?[]:ee,ce=re.bool,me=ce===void 0?[]:ce,ve=re.lowerFirst,ge=ve===void 0?!1:ve;return y.forEach(function(pe){return delete oe[pe]}),Object.entries(b).forEach(function(pe){oe[pe[0]]&&(oe[pe[1]]||(oe[pe[1]]=oe[pe[0]],delete oe[pe[0]]))}),te.forEach(function(pe){if(oe[pe]){var Se=pe.replace(/^(.)/,function(be){return be.toLowerCase()}).replace(/-(\w)/g,function(be,Ee){return Ee.toUpperCase()});oe[Se]||(oe[Se]=oe[pe])}}),me.forEach(function(pe){oe[pe]=ue(oe[pe])}),typeof z=="function"&&z(oe),ie(oe,ge),de}}he.dataFix=de;function ue(oe){return oe?ne.includes(oe)?!0:se.includes(oe)?!1:oe:!1}function ie(oe,re){re&&Object.keys(oe).forEach(function(z){var a=z.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[z],delete oe[z])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ne=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(he,"__esModule",{value:!0}),he.deepCopyWith=he.deepCopy=void 0;var se=E("./isBuffer");he.deepCopy=function(de){if(de===null||(0,ne.default)(de)!=="object")return de;if(se.isBuffer(de))return de.slice();var ue=Array.isArray(de)?[]:{};return Object.keys(de).forEach(function(ie){ue[ie]=he.deepCopy(de[ie])}),ue},he.deepCopyWith=function(de,ue){function ie(oe,re,z){var a=ue(oe,re,z);if(a!==void 0)return a;if(oe===null||(0,ne.default)(oe)!=="object")return oe;if(se.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(x){y[x]=ie(oe[x],x,oe)}),y}return ue?ie(de,"",null):he.deepCopy(de)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,ye,he){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.encoder=void 0;function ne(se){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return de==="utf-8"?se:le.from(se).toString("latin1")}he.encoder=ne}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,ye,he){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.formatInventoryConfig=void 0;var le=E("../utils/dataFix"),ne=E("../utils/isObject"),se=E("../utils/isArray"),de=E("../utils/formatObjKey");function ue(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return re&&ne.isObject(oe)&&(oe=[oe]),se.isArray(oe)?oe=oe.map(ie):oe=ie(oe),oe}he.formatInventoryConfig=ue;function ie(oe){return le.dataFix(oe,{bool:["IsEnabled"]},function(re){var z,a;re.prefix=re.Filter.Prefix,delete re.Filter,re.OSSBucketDestination=re.Destination.OSSBucketDestination,re.OSSBucketDestination.rolename=re.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete re.OSSBucketDestination.RoleArn,re.OSSBucketDestination.bucket=re.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete re.OSSBucketDestination.Bucket,delete re.Destination,re.frequency=re.Schedule.Frequency,delete re.Schedule.Frequency,!((z=re==null?void 0:re.OptionalFields)===null||z===void 0)&&z.Field&&!se.isArray((a=re.OptionalFields)===null||a===void 0?void 0:a.Field)&&(re.OptionalFields.Field=[re.OptionalFields.Field])}),oe=de.formatObjKey(oe,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),oe}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ne=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(he,"__esModule",{value:!0}),he.formatObjKey=void 0;function se(ue,ie,oe){if(ue===null||(0,ne.default)(ue)!=="object")return ue;var re;if(Array.isArray(ue)){re=[];for(var z=0;z -`),ue&&ue.firstUpperCase&&(de=le.formatObjKey(de,"firstUpperCase")),ne(de)==="object"?Object.keys(de).forEach(function(oe){ne(de[oe])!=="undefined"&&ne(de[oe])!=="null"&&(ne(de[oe])==="string"||ne(de[oe])==="number"?ie+="<".concat(oe,">").concat(de[oe],""):ne(de[oe])==="object"?ie+="<".concat(oe,">").concat(se(de[oe]),""):ne(de[oe])==="array"?ie+=de[oe].map(function(re){return"<".concat(oe,">").concat(se(re),"")}).join(""):ie+="<".concat(oe,">").concat(de[oe].toString(),""))}):ie+=de.toString(),ie}he.obj2xml=se},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,ye,he){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function le(ue,ie){var oe=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!oe){if(Array.isArray(ue)||(oe=ne(ue))||ie&&ue&&typeof ue.length=="number"){oe&&(ue=oe);var re=0,z=function(){};return{s:z,n:function(){return re>=ue.length?{done:!0}:{done:!1,value:ue[re++]}},e:function(ee){throw ee},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){oe=oe.call(ue)},n:function(){var ee=oe.next();return a=ee.done,ee},e:function(ee){y=!0,x=ee},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function ne(ue,ie){if(ue){if(typeof ue=="string")return se(ue,ie);var oe=Object.prototype.toString.call(ue).slice(8,-1);if(oe==="Object"&&ue.constructor&&(oe=ue.constructor.name),oe==="Map"||oe==="Set")return Array.from(ue);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return se(ue,ie)}}function se(ue,ie){(ie==null||ie>ue.length)&&(ie=ue.length);for(var oe=0,re=new Array(ie);oe2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ie=de.retryDelay,oe=ie===void 0?500:ie,re=de.errorHandler,z=re===void 0?function(){return!0}:re,a=function y(){for(var x=arguments.length,b=new Array(x),ee=0;ee1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;se.checkConfigValid(ue,"region");var re=oe?"https://":"http://",z=ie?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(z=".aliyuncs.com"),ne.default.parse(re+ue+z)}he.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.checkCredentials=he.setSTSToken=void 0;var de=E("./formatObjKey");function ue(){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function re(){var z,a;return ne.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),z=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+z-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=z,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=de.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),oe(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=z;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},re,this)})),ie.apply(this,arguments)}he.setSTSToken=ue;function oe(re){var z=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(re);z.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}he.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,ye,he){function le(se,de,ue,ie,oe,re,z){try{var a=se[re](z),y=a.value}catch(x){ue(x);return}a.done?de(y):Promise.resolve(y).then(ie,oe)}function ne(se){return function(){var de=this,ue=arguments;return new Promise(function(ie,oe){var re=se.apply(de,ue);function z(y){le(re,ie,oe,z,a,"next",y)}function a(y){le(re,ie,oe,z,a,"throw",y)}z(void 0)})}}ye.exports=ne,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],78:[function(E,ye,he){function le(ne){return ne&&ne.__esModule?ne:{default:ne}}ye.exports=le,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],79:[function(E,ye,he){function le(ne){"@babel/helpers - typeof";return ye.exports=le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},ye.exports.__esModule=!0,ye.exports.default=ye.exports,le(ne)}ye.exports=le,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],80:[function(E,ye,he){ye.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,ye,he){ye.exports=le,ye.exports.HttpsAgent=le;function le(){}},{}],82:[function(E,ye,he){(function(le){(function(){"use strict";var ne=E("object-assign");function se(Pe,Le){if(Pe===Le)return 0;for(var Oe=Pe.length,We=Le.length,Te=0,Ue=Math.min(Oe,We);Te=0){var Qe=Te.indexOf(` -`,He+1);Te=Te.substring(Qe+1)}this.stack=Te}}},ue.inherits(y.AssertionError,Error);function ee(Pe,Le){return typeof Pe=="string"?Pe.length=0;ze--)if(He[ze]!==Qe[ze])return!1;for(ze=He.length-1;ze>=0;ze--)if(Ge=He[ze],!ge(Pe[Ge],Le[Ge],Oe,We))return!1;return!0}y.notDeepEqual=function(Le,Oe,We){ge(Le,Oe,!1)&&me(Le,Oe,We,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=be;function be(Pe,Le,Oe){ge(Pe,Le,!0)&&me(Pe,Le,Oe,"notDeepStrictEqual",be)}y.strictEqual=function(Le,Oe,We){Le!==Oe&&me(Le,Oe,We,"===",y.strictEqual)},y.notStrictEqual=function(Le,Oe,We){Le===Oe&&me(Le,Oe,We,"!==",y.notStrictEqual)};function Ee(Pe,Le){if(!Pe||!Le)return!1;if(Object.prototype.toString.call(Le)=="[object RegExp]")return Le.test(Pe);try{if(Pe instanceof Le)return!0}catch(Oe){}return Error.isPrototypeOf(Le)?!1:Le.call({},Pe)===!0}function Ce(Pe){var Le;try{Pe()}catch(Oe){Le=Oe}return Le}function De(Pe,Le,Oe,We){var Te;if(typeof Le!="function")throw new TypeError('"block" argument must be a function');typeof Oe=="string"&&(We=Oe,Oe=null),Te=Ce(Le),We=(Oe&&Oe.name?" ("+Oe.name+").":".")+(We?" "+We:"."),Pe&&!Te&&me(Te,Oe,"Missing expected exception"+We);var Ue=typeof We=="string",He=!Pe&&ue.isError(Te),Qe=!Pe&&Te&&!Oe;if((He&&Ue&&Ee(Te,Oe)||Qe)&&me(Te,Oe,"Got unwanted exception"+We),Pe&&Te&&Oe&&!Ee(Te,Oe)||!Pe&&Te)throw Te}y.throws=function(Pe,Le,Oe){De(!0,Pe,Le,Oe)},y.doesNotThrow=function(Pe,Le,Oe){De(!1,Pe,Le,Oe)},y.ifError=function(Pe){if(Pe)throw Pe};function we(Pe,Le){Pe||me(Pe,!0,Le,"==",we)}y.strict=ne(we,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Fe=Object.keys||function(Pe){var Le=[];for(var Oe in Pe)ie.call(Pe,Oe)&&Le.push(Oe);return Le}}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,ye,he){typeof Object.create=="function"?ye.exports=function(ne,se){ne.super_=se,ne.prototype=Object.create(se.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}})}:ye.exports=function(ne,se){ne.super_=se;var de=function(){};de.prototype=se.prototype,ne.prototype=new de,ne.prototype.constructor=ne}},{}],84:[function(E,ye,he){ye.exports=function(ne){return ne&&typeof ne=="object"&&typeof ne.copy=="function"&&typeof ne.fill=="function"&&typeof ne.readUInt8=="function"}},{}],85:[function(E,ye,he){(function(le,ne){(function(){var se=/%[sdj%]/g;he.format=function(Qe){if(!Se(Qe)){for(var Ge=[],ze=0;ze=Ve)return lt;switch(lt){case"%s":return String(_e[ze++]);case"%d":return Number(_e[ze++]);case"%j":try{return JSON.stringify(_e[ze++])}catch(Je){return"[Circular]"}default:return lt}}),Xe=_e[ze];ze=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),me(Ge)?ze.showHidden=Ge:Ge&&he._extend(ze,Ge),Ee(ze.showHidden)&&(ze.showHidden=!1),Ee(ze.depth)&&(ze.depth=2),Ee(ze.colors)&&(ze.colors=!1),Ee(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=oe),a(ze,Qe,ze.depth)}he.inspect=ie,ie.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ie.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Qe,Ge){var ze=ie.styles[Ge];return ze?"\x1B["+ie.colors[ze][0]+"m"+Qe+"\x1B["+ie.colors[ze][1]+"m":Qe}function re(Qe,Ge){return Qe}function z(Qe){var Ge={};return Qe.forEach(function(ze,_e){Ge[ze]=!0}),Ge}function a(Qe,Ge,ze){if(Qe.customInspect&&Ge&&Pe(Ge.inspect)&&Ge.inspect!==he.inspect&&!(Ge.constructor&&Ge.constructor.prototype===Ge)){var _e=Ge.inspect(ze,Qe);return Se(_e)||(_e=a(Qe,_e,ze)),_e}var Ve=y(Qe,Ge);if(Ve)return Ve;var tt=Object.keys(Ge),Xe=z(tt);if(Qe.showHidden&&(tt=Object.getOwnPropertyNames(Ge)),Fe(Ge)&&(tt.indexOf("message")>=0||tt.indexOf("description")>=0))return x(Ge);if(tt.length===0){if(Pe(Ge)){var lt=Ge.name?": "+Ge.name:"";return Qe.stylize("[Function"+lt+"]","special")}if(Ce(Ge))return Qe.stylize(RegExp.prototype.toString.call(Ge),"regexp");if(we(Ge))return Qe.stylize(Date.prototype.toString.call(Ge),"date");if(Fe(Ge))return x(Ge)}var Je="",Ke=!1,Me=["{","}"];if(ce(Ge)&&(Ke=!0,Me=["[","]"]),Pe(Ge)){var et=Ge.name?": "+Ge.name:"";Je=" [Function"+et+"]"}if(Ce(Ge)&&(Je=" "+RegExp.prototype.toString.call(Ge)),we(Ge)&&(Je=" "+Date.prototype.toUTCString.call(Ge)),Fe(Ge)&&(Je=" "+x(Ge)),tt.length===0&&(!Ke||Ge.length==0))return Me[0]+Je+Me[1];if(ze<0)return Ce(Ge)?Qe.stylize(RegExp.prototype.toString.call(Ge),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(Ge);var Ie;return Ke?Ie=b(Qe,Ge,ze,Xe,tt):Ie=tt.map(function(Re){return ee(Qe,Ge,ze,Xe,Re,Ke)}),Qe.seen.pop(),te(Ie,Je,Me)}function y(Qe,Ge){if(Ee(Ge))return Qe.stylize("undefined","undefined");if(Se(Ge)){var ze="'"+JSON.stringify(Ge).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize(ze,"string")}if(pe(Ge))return Qe.stylize(""+Ge,"number");if(me(Ge))return Qe.stylize(""+Ge,"boolean");if(ve(Ge))return Qe.stylize("null","null")}function x(Qe){return"["+Error.prototype.toString.call(Qe)+"]"}function b(Qe,Ge,ze,_e,Ve){for(var tt=[],Xe=0,lt=Ge.length;Xe-1&&(tt?lt=lt.split(` -`).map(function(Ke){return" "+Ke}).join(` -`).substr(2):lt=` -`+lt.split(` -`).map(function(Ke){return" "+Ke}).join(` -`))):lt=Qe.stylize("[Circular]","special")),Ee(Xe)){if(tt&&Ve.match(/^\d+$/))return lt;Xe=JSON.stringify(""+Ve),Xe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Xe=Xe.substr(1,Xe.length-2),Xe=Qe.stylize(Xe,"name")):(Xe=Xe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Xe=Qe.stylize(Xe,"string"))}return Xe+": "+lt}function te(Qe,Ge,ze){var _e=0,Ve=Qe.reduce(function(tt,Xe){return _e++,Xe.indexOf(` -`)>=0&&_e++,tt+Xe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ve>60?ze[0]+(Ge===""?"":Ge+` - `)+" "+Qe.join(`, - `)+" "+ze[1]:ze[0]+Ge+" "+Qe.join(", ")+" "+ze[1]}function ce(Qe){return Array.isArray(Qe)}he.isArray=ce;function me(Qe){return typeof Qe=="boolean"}he.isBoolean=me;function ve(Qe){return Qe===null}he.isNull=ve;function ge(Qe){return Qe==null}he.isNullOrUndefined=ge;function pe(Qe){return typeof Qe=="number"}he.isNumber=pe;function Se(Qe){return typeof Qe=="string"}he.isString=Se;function be(Qe){return typeof Qe=="symbol"}he.isSymbol=be;function Ee(Qe){return Qe===void 0}he.isUndefined=Ee;function Ce(Qe){return De(Qe)&&Oe(Qe)==="[object RegExp]"}he.isRegExp=Ce;function De(Qe){return typeof Qe=="object"&&Qe!==null}he.isObject=De;function we(Qe){return De(Qe)&&Oe(Qe)==="[object Date]"}he.isDate=we;function Fe(Qe){return De(Qe)&&(Oe(Qe)==="[object Error]"||Qe instanceof Error)}he.isError=Fe;function Pe(Qe){return typeof Qe=="function"}he.isFunction=Pe;function Le(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}he.isPrimitive=Le,he.isBuffer=E("./support/isBuffer");function Oe(Qe){return Object.prototype.toString.call(Qe)}function We(Qe){return Qe<10?"0"+Qe.toString(10):Qe.toString(10)}var Te=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ue(){var Qe=new Date,Ge=[We(Qe.getHours()),We(Qe.getMinutes()),We(Qe.getSeconds())].join(":");return[Qe.getDate(),Te[Qe.getMonth()],Ge].join(" ")}he.log=function(){console.log("%s - %s",Ue(),he.format.apply(he,arguments))},he.inherits=E("inherits"),he._extend=function(Qe,Ge){if(!Ge||!De(Ge))return Qe;for(var ze=Object.keys(Ge),_e=ze.length;_e--;)Qe[ze[_e]]=Ge[ze[_e]];return Qe};function He(Qe,Ge){return Object.prototype.hasOwnProperty.call(Qe,Ge)}}).call(this)}).call(this,E("_process"),typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,ye,he){(function(le){(function(){"use strict";var ne=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],se=typeof globalThis=="undefined"?le:globalThis;ye.exports=function(){for(var ue=[],ie=0;ie0)throw new Error("Invalid string. Length must be a multiple of 4");var ce=ee.indexOf("=");ce===-1&&(ce=te);var me=ce===te?0:4-ce%4;return[ce,me]}function re(ee){var te=oe(ee),ce=te[0],me=te[1];return(ce+me)*3/4-me}function z(ee,te,ce){return(te+ce)*3/4-ce}function a(ee){var te,ce=oe(ee),me=ce[0],ve=ce[1],ge=new se(z(ee,me,ve)),pe=0,Se=ve>0?me-4:me,be;for(be=0;be>16&255,ge[pe++]=te>>8&255,ge[pe++]=te&255;return ve===2&&(te=ne[ee.charCodeAt(be)]<<2|ne[ee.charCodeAt(be+1)]>>4,ge[pe++]=te&255),ve===1&&(te=ne[ee.charCodeAt(be)]<<10|ne[ee.charCodeAt(be+1)]<<4|ne[ee.charCodeAt(be+2)]>>2,ge[pe++]=te>>8&255,ge[pe++]=te&255),ge}function y(ee){return le[ee>>18&63]+le[ee>>12&63]+le[ee>>6&63]+le[ee&63]}function x(ee,te,ce){for(var me,ve=[],ge=te;geSe?Se:pe+ge));return me===1?(te=ee[ce-1],ve.push(le[te>>2]+le[te<<4&63]+"==")):me===2&&(te=(ee[ce-2]<<8)+ee[ce-1],ve.push(le[te>>10]+le[te>>4&63]+le[te<<2&63]+"=")),ve.join("")}},{}],88:[function(E,ye,he){(function(le,ne,se){typeof ye!="undefined"&&ye.exports?ye.exports=se():typeof fe=="function"&&fe.amd?fe(ne,se):le[ne]=se()})(this,"bowser",function(){var le=!0;function ne(z){function a(Ge){var ze=z.match(Ge);return ze&&ze.length>1&&ze[1]||""}function y(Ge){var ze=z.match(Ge);return ze&&ze.length>1&&ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(z),ee=!b&&/android/i.test(z),te=/nexus\s*[0-6]\s*/i.test(z),ce=!te&&/nexus\s*[0-9]+/i.test(z),me=/CrOS/.test(z),ve=/silk/i.test(z),ge=/sailfish/i.test(z),pe=/tizen/i.test(z),Se=/(web|hpw)(o|0)s/i.test(z),be=/windows phone/i.test(z),Ee=/SamsungBrowser/i.test(z),Ce=!be&&/windows/i.test(z),De=!x&&!ve&&/macintosh/i.test(z),we=!ee&&!ge&&!pe&&!Se&&/linux/i.test(z),Fe=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Pe=a(/version\/(\d+(\.\d+)?)/i),Le=/tablet/i.test(z)&&!/tablet pc/i.test(z),Oe=!Le&&/[^-]mobi/i.test(z),We=/xbox/i.test(z),Te;/opera/i.test(z)?Te={name:"Opera",opera:le,version:Pe||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(z)?Te={name:"Opera",opera:le,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Pe}:/SamsungBrowser/i.test(z)?Te={name:"Samsung Internet for Android",samsungBrowser:le,version:Pe||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(z)?Te={name:"NAVER Whale browser",whale:le,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(z)?Te={name:"MZ Browser",mzbrowser:le,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(z)?Te={name:"Opera Coast",coast:le,version:Pe||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(z)?Te={name:"Focus",focus:le,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(z)?Te={name:"Yandex Browser",yandexbrowser:le,version:Pe||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(z)?Te={name:"UC Browser",ucbrowser:le,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(z)?Te={name:"Maxthon",maxthon:le,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(z)?Te={name:"Epiphany",epiphany:le,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(z)?Te={name:"Puffin",puffin:le,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(z)?Te={name:"Sleipnir",sleipnir:le,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(z)?Te={name:"K-Meleon",kMeleon:le,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:be?(Te={name:"Windows Phone",osname:"Windows Phone",windowsphone:le},Fe?(Te.msedge=le,Te.version=Fe):(Te.msie=le,Te.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(z)?Te={name:"Internet Explorer",msie:le,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:me?Te={name:"Chrome",osname:"Chrome OS",chromeos:le,chromeBook:le,chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(z)?Te={name:"Microsoft Edge",msedge:le,version:Fe}:/vivaldi/i.test(z)?Te={name:"Vivaldi",vivaldi:le,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Pe}:ge?Te={name:"Sailfish",osname:"Sailfish OS",sailfish:le,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(z)?Te={name:"SeaMonkey",seamonkey:le,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(z)?(Te={name:"Firefox",firefox:le,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(z)&&(Te.firefoxos=le,Te.osname="Firefox OS")):ve?Te={name:"Amazon Silk",silk:le,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(z)?Te={name:"PhantomJS",phantom:le,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(z)?Te={name:"SlimerJS",slimer:le,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(z)||/rim\stablet/i.test(z)?Te={name:"BlackBerry",osname:"BlackBerry OS",blackberry:le,version:Pe||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(Te={name:"WebOS",osname:"WebOS",webos:le,version:Pe||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(z)&&(Te.touchpad=le)):/bada/i.test(z)?Te={name:"Bada",osname:"Bada",bada:le,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:pe?Te={name:"Tizen",osname:"Tizen",tizen:le,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Pe}:/qupzilla/i.test(z)?Te={name:"QupZilla",qupzilla:le,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Pe}:/chromium/i.test(z)?Te={name:"Chromium",chromium:le,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Pe}:/chrome|crios|crmo/i.test(z)?Te={name:"Chrome",chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?Te={name:"Android",version:Pe}:/safari|applewebkit/i.test(z)?(Te={name:"Safari",safari:le},Pe&&(Te.version=Pe)):x?(Te={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Pe&&(Te.version=Pe)):/googlebot/i.test(z)?Te={name:"Googlebot",googlebot:le,version:a(/googlebot\/(\d+(\.\d+))/i)||Pe}:Te={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Te.msedge&&/(apple)?webkit/i.test(z)?(/(apple)?webkit\/537\.36/i.test(z)?(Te.name=Te.name||"Blink",Te.blink=le):(Te.name=Te.name||"Webkit",Te.webkit=le),!Te.version&&Pe&&(Te.version=Pe)):!Te.opera&&/gecko\//i.test(z)&&(Te.name=Te.name||"Gecko",Te.gecko=le,Te.version=Te.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Te.windowsphone&&(ee||Te.silk)?(Te.android=le,Te.osname="Android"):!Te.windowsphone&&x?(Te[x]=le,Te.ios=le,Te.osname="iOS"):De?(Te.mac=le,Te.osname="macOS"):We?(Te.xbox=le,Te.osname="Xbox"):Ce?(Te.windows=le,Te.osname="Windows"):we&&(Te.linux=le,Te.osname="Linux");function Ue(Ge){switch(Ge){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var He="";Te.windows?He=Ue(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Te.windowsphone?He=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Te.mac?(He=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),He=He.replace(/[_\s]/g,".")):x?(He=a(/os (\d+([_\s]\d+)*) like mac os x/i),He=He.replace(/[_\s]/g,".")):ee?He=a(/android[ \/-](\d+(\.\d+)*)/i):Te.webos?He=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Te.blackberry?He=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Te.bada?He=a(/bada\/(\d+(\.\d+)*)/i):Te.tizen&&(He=a(/tizen[\/\s](\d+(\.\d+)*)/i)),He&&(Te.osversion=He);var Qe=!Te.windows&&He.split(".")[0];return Le||ce||x=="ipad"||ee&&(Qe==3||Qe>=4&&!Oe)||Te.silk?Te.tablet=le:(Oe||x=="iphone"||x=="ipod"||ee||te||Te.blackberry||Te.webos||Te.bada)&&(Te.mobile=le),Te.msedge||Te.msie&&Te.version>=10||Te.yandexbrowser&&Te.version>=15||Te.vivaldi&&Te.version>=1||Te.chrome&&Te.version>=20||Te.samsungBrowser&&Te.version>=4||Te.whale&&ie([Te.version,"1.0"])===1||Te.mzbrowser&&ie([Te.version,"6.0"])===1||Te.focus&&ie([Te.version,"1.0"])===1||Te.firefox&&Te.version>=20||Te.safari&&Te.version>=6||Te.opera&&Te.version>=10||Te.ios&&Te.osversion&&Te.osversion.split(".")[0]>=6||Te.blackberry&&Te.version>=10.1||Te.chromium&&Te.version>=20?Te.a=le:Te.msie&&Te.version<10||Te.chrome&&Te.version<20||Te.firefox&&Te.version<20||Te.safari&&Te.version<6||Te.opera&&Te.version<10||Te.ios&&Te.osversion&&Te.osversion.split(".")[0]<6||Te.chromium&&Te.version<20?Te.c=le:Te.x=le,Te}var se=ne(typeof navigator!="undefined"&&navigator.userAgent||"");se.test=function(z){for(var a=0;a=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function oe(z,a,y){var x=se;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=ne(y));var b=""+x.version;for(var ee in z)if(z.hasOwnProperty(ee)&&x[ee]){if(typeof z[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(z));return ie([b,z[ee]])<0}return a}function re(z,a,y){return!oe(z,a,y)}return se.isUnsupportedBrowser=oe,se.compareVersions=ie,se.check=re,se._detect=ne,se.detect=ne,se})},{}],89:[function(E,ye,he){},{}],90:[function(E,ye,he){(function(le){(function(){"use strict";var ne=E("base64-js"),se=E("ieee754");he.Buffer=oe,he.SlowBuffer=me,he.INSPECT_MAX_BYTES=50;var de=2147483647;he.kMaxLength=de,oe.TYPED_ARRAY_SUPPORT=ue(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ue(){try{var xe=new Uint8Array(1);return xe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},xe.foo()===42}catch(Ne){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ie(xe){if(xe>de)throw new RangeError('The value "'+xe+'" is invalid for option "size"');var Ne=new Uint8Array(xe);return Ne.__proto__=oe.prototype,Ne}function oe(xe,Ne,Be){if(typeof xe=="number"){if(typeof Ne=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(xe)}return re(xe,Ne,Be)}typeof Symbol!="undefined"&&Symbol.species!=null&&oe[Symbol.species]===oe&&Object.defineProperty(oe,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),oe.poolSize=8192;function re(xe,Ne,Be){if(typeof xe=="string")return x(xe,Ne);if(ArrayBuffer.isView(xe))return b(xe);if(xe==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof xe);if(Ye(xe,ArrayBuffer)||xe&&Ye(xe.buffer,ArrayBuffer))return ee(xe,Ne,Be);if(typeof xe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var je=xe.valueOf&&xe.valueOf();if(je!=null&&je!==xe)return oe.from(je,Ne,Be);var $e=te(xe);if($e)return $e;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof xe[Symbol.toPrimitive]=="function")return oe.from(xe[Symbol.toPrimitive]("string"),Ne,Be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof xe)}oe.from=function(xe,Ne,Be){return re(xe,Ne,Be)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function z(xe){if(typeof xe!="number")throw new TypeError('"size" argument must be of type number');if(xe<0)throw new RangeError('The value "'+xe+'" is invalid for option "size"')}function a(xe,Ne,Be){return z(xe),xe<=0?ie(xe):Ne!==void 0?typeof Be=="string"?ie(xe).fill(Ne,Be):ie(xe).fill(Ne):ie(xe)}oe.alloc=function(xe,Ne,Be){return a(xe,Ne,Be)};function y(xe){return z(xe),ie(xe<0?0:ce(xe)|0)}oe.allocUnsafe=function(xe){return y(xe)},oe.allocUnsafeSlow=function(xe){return y(xe)};function x(xe,Ne){if((typeof Ne!="string"||Ne==="")&&(Ne="utf8"),!oe.isEncoding(Ne))throw new TypeError("Unknown encoding: "+Ne);var Be=ve(xe,Ne)|0,je=ie(Be),$e=je.write(xe,Ne);return $e!==Be&&(je=je.slice(0,$e)),je}function b(xe){for(var Ne=xe.length<0?0:ce(xe.length)|0,Be=ie(Ne),je=0;je=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return xe|0}function me(xe){return+xe!=xe&&(xe=0),oe.alloc(+xe)}oe.isBuffer=function(Ne){return Ne!=null&&Ne._isBuffer===!0&&Ne!==oe.prototype},oe.compare=function(Ne,Be){if(Ye(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),Ye(Be,Uint8Array)&&(Be=oe.from(Be,Be.offset,Be.byteLength)),!oe.isBuffer(Ne)||!oe.isBuffer(Be))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ne===Be)return 0;for(var je=Ne.length,$e=Be.length,nt=0,Ze=Math.min(je,$e);nt2&&arguments[2]===!0;if(!je&&Be===0)return 0;for(var $e=!1;;)switch(Ne){case"ascii":case"latin1":case"binary":return Be;case"utf8":case"utf-8":return Me(xe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Be*2;case"hex":return Be>>>1;case"base64":return Re(xe).length;default:if($e)return je?-1:Me(xe).length;Ne=(""+Ne).toLowerCase(),$e=!0}}oe.byteLength=ve;function ge(xe,Ne,Be){var je=!1;if((Ne===void 0||Ne<0)&&(Ne=0),Ne>this.length||((Be===void 0||Be>this.length)&&(Be=this.length),Be<=0)||(Be>>>=0,Ne>>>=0,Be<=Ne))return"";for(xe||(xe="utf8");;)switch(xe){case"hex":return Qe(this,Ne,Be);case"utf8":case"utf-8":return Oe(this,Ne,Be);case"ascii":return Ue(this,Ne,Be);case"latin1":case"binary":return He(this,Ne,Be);case"base64":return Le(this,Ne,Be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,Ne,Be);default:if(je)throw new TypeError("Unknown encoding: "+xe);xe=(xe+"").toLowerCase(),je=!0}}oe.prototype._isBuffer=!0;function pe(xe,Ne,Be){var je=xe[Ne];xe[Ne]=xe[Be],xe[Be]=je}oe.prototype.swap16=function(){var Ne=this.length;if(Ne%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Be=0;BeBe&&(Ne+=" ... "),""},oe.prototype.compare=function(Ne,Be,je,$e,nt){if(Ye(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(Ne))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ne);if(Be===void 0&&(Be=0),je===void 0&&(je=Ne?Ne.length:0),$e===void 0&&($e=0),nt===void 0&&(nt=this.length),Be<0||je>Ne.length||$e<0||nt>this.length)throw new RangeError("out of range index");if($e>=nt&&Be>=je)return 0;if($e>=nt)return-1;if(Be>=je)return 1;if(Be>>>=0,je>>>=0,$e>>>=0,nt>>>=0,this===Ne)return 0;for(var Ze=nt-$e,rt=je-Be,yt=Math.min(Ze,rt),ct=this.slice($e,nt),bt=Ne.slice(Be,je),dt=0;dt2147483647?Be=2147483647:Be<-2147483648&&(Be=-2147483648),Be=+Be,ke(Be)&&(Be=$e?0:xe.length-1),Be<0&&(Be=xe.length+Be),Be>=xe.length){if($e)return-1;Be=xe.length-1}else if(Be<0)if($e)Be=0;else return-1;if(typeof Ne=="string"&&(Ne=oe.from(Ne,je)),oe.isBuffer(Ne))return Ne.length===0?-1:be(xe,Ne,Be,je,$e);if(typeof Ne=="number")return Ne=Ne&255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(xe,Ne,Be):Uint8Array.prototype.lastIndexOf.call(xe,Ne,Be):be(xe,[Ne],Be,je,$e);throw new TypeError("val must be string, number or Buffer")}function be(xe,Ne,Be,je,$e){var nt=1,Ze=xe.length,rt=Ne.length;if(je!==void 0&&(je=String(je).toLowerCase(),je==="ucs2"||je==="ucs-2"||je==="utf16le"||je==="utf-16le")){if(xe.length<2||Ne.length<2)return-1;nt=2,Ze/=2,rt/=2,Be/=2}function yt(ot,ut){return nt===1?ot[ut]:ot.readUInt16BE(ut*nt)}var ct;if($e){var bt=-1;for(ct=Be;ctZe&&(Be=Ze-rt),ct=Be;ct>=0;ct--){for(var dt=!0,ht=0;ht$e&&(je=$e)):je=$e;var nt=Ne.length;je>nt/2&&(je=nt/2);for(var Ze=0;Ze>>0,isFinite(je)?(je=je>>>0,$e===void 0&&($e="utf8")):($e=je,je=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var nt=this.length-Be;if((je===void 0||je>nt)&&(je=nt),Ne.length>0&&(je<0||Be<0)||Be>this.length)throw new RangeError("Attempt to write outside buffer bounds");$e||($e="utf8");for(var Ze=!1;;)switch($e){case"hex":return Ee(this,Ne,Be,je);case"utf8":case"utf-8":return Ce(this,Ne,Be,je);case"ascii":return De(this,Ne,Be,je);case"latin1":case"binary":return we(this,Ne,Be,je);case"base64":return Fe(this,Ne,Be,je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pe(this,Ne,Be,je);default:if(Ze)throw new TypeError("Unknown encoding: "+$e);$e=(""+$e).toLowerCase(),Ze=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Le(xe,Ne,Be){return Ne===0&&Be===xe.length?ne.fromByteArray(xe):ne.fromByteArray(xe.slice(Ne,Be))}function Oe(xe,Ne,Be){Be=Math.min(xe.length,Be);for(var je=[],$e=Ne;$e239?4:nt>223?3:nt>191?2:1;if($e+rt<=Be){var yt,ct,bt,dt;switch(rt){case 1:nt<128&&(Ze=nt);break;case 2:yt=xe[$e+1],(yt&192)===128&&(dt=(nt&31)<<6|yt&63,dt>127&&(Ze=dt));break;case 3:yt=xe[$e+1],ct=xe[$e+2],(yt&192)===128&&(ct&192)===128&&(dt=(nt&15)<<12|(yt&63)<<6|ct&63,dt>2047&&(dt<55296||dt>57343)&&(Ze=dt));break;case 4:yt=xe[$e+1],ct=xe[$e+2],bt=xe[$e+3],(yt&192)===128&&(ct&192)===128&&(bt&192)===128&&(dt=(nt&15)<<18|(yt&63)<<12|(ct&63)<<6|bt&63,dt>65535&&dt<1114112&&(Ze=dt))}}Ze===null?(Ze=65533,rt=1):Ze>65535&&(Ze-=65536,je.push(Ze>>>10&1023|55296),Ze=56320|Ze&1023),je.push(Ze),$e+=rt}return Te(je)}var We=4096;function Te(xe){var Ne=xe.length;if(Ne<=We)return String.fromCharCode.apply(String,xe);for(var Be="",je=0;jeje)&&(Be=je);for(var $e="",nt=Ne;ntje&&(Ne=je),Be<0?(Be+=je,Be<0&&(Be=0)):Be>je&&(Be=je),BeBe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Ne,Be,je){Ne=Ne>>>0,Be=Be>>>0,je||ze(Ne,Be,this.length);for(var $e=this[Ne],nt=1,Ze=0;++Ze>>0,Be=Be>>>0,je||ze(Ne,Be,this.length);for(var $e=this[Ne+--Be],nt=1;Be>0&&(nt*=256);)$e+=this[Ne+--Be]*nt;return $e},oe.prototype.readUInt8=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,1,this.length),this[Ne]},oe.prototype.readUInt16LE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,2,this.length),this[Ne]|this[Ne+1]<<8},oe.prototype.readUInt16BE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,2,this.length),this[Ne]<<8|this[Ne+1]},oe.prototype.readUInt32LE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,4,this.length),(this[Ne]|this[Ne+1]<<8|this[Ne+2]<<16)+this[Ne+3]*16777216},oe.prototype.readUInt32BE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,4,this.length),this[Ne]*16777216+(this[Ne+1]<<16|this[Ne+2]<<8|this[Ne+3])},oe.prototype.readIntLE=function(Ne,Be,je){Ne=Ne>>>0,Be=Be>>>0,je||ze(Ne,Be,this.length);for(var $e=this[Ne],nt=1,Ze=0;++Ze=nt&&($e-=Math.pow(2,8*Be)),$e},oe.prototype.readIntBE=function(Ne,Be,je){Ne=Ne>>>0,Be=Be>>>0,je||ze(Ne,Be,this.length);for(var $e=Be,nt=1,Ze=this[Ne+--$e];$e>0&&(nt*=256);)Ze+=this[Ne+--$e]*nt;return nt*=128,Ze>=nt&&(Ze-=Math.pow(2,8*Be)),Ze},oe.prototype.readInt8=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,1,this.length),this[Ne]&128?(255-this[Ne]+1)*-1:this[Ne]},oe.prototype.readInt16LE=function(Ne,Be){Ne=Ne>>>0,Be||ze(Ne,2,this.length);var je=this[Ne]|this[Ne+1]<<8;return je&32768?je|4294901760:je},oe.prototype.readInt16BE=function(Ne,Be){Ne=Ne>>>0,Be||ze(Ne,2,this.length);var je=this[Ne+1]|this[Ne]<<8;return je&32768?je|4294901760:je},oe.prototype.readInt32LE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,4,this.length),this[Ne]|this[Ne+1]<<8|this[Ne+2]<<16|this[Ne+3]<<24},oe.prototype.readInt32BE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,4,this.length),this[Ne]<<24|this[Ne+1]<<16|this[Ne+2]<<8|this[Ne+3]},oe.prototype.readFloatLE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,4,this.length),se.read(this,Ne,!0,23,4)},oe.prototype.readFloatBE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,4,this.length),se.read(this,Ne,!1,23,4)},oe.prototype.readDoubleLE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,8,this.length),se.read(this,Ne,!0,52,8)},oe.prototype.readDoubleBE=function(Ne,Be){return Ne=Ne>>>0,Be||ze(Ne,8,this.length),se.read(this,Ne,!1,52,8)};function _e(xe,Ne,Be,je,$e,nt){if(!oe.isBuffer(xe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ne>$e||Nexe.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Ne,Be,je,$e){if(Ne=+Ne,Be=Be>>>0,je=je>>>0,!$e){var nt=Math.pow(2,8*je)-1;_e(this,Ne,Be,je,nt,0)}var Ze=1,rt=0;for(this[Be]=Ne&255;++rt>>0,je=je>>>0,!$e){var nt=Math.pow(2,8*je)-1;_e(this,Ne,Be,je,nt,0)}var Ze=je-1,rt=1;for(this[Be+Ze]=Ne&255;--Ze>=0&&(rt*=256);)this[Be+Ze]=Ne/rt&255;return Be+je},oe.prototype.writeUInt8=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,1,255,0),this[Be]=Ne&255,Be+1},oe.prototype.writeUInt16LE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,2,65535,0),this[Be]=Ne&255,this[Be+1]=Ne>>>8,Be+2},oe.prototype.writeUInt16BE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,2,65535,0),this[Be]=Ne>>>8,this[Be+1]=Ne&255,Be+2},oe.prototype.writeUInt32LE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,4,4294967295,0),this[Be+3]=Ne>>>24,this[Be+2]=Ne>>>16,this[Be+1]=Ne>>>8,this[Be]=Ne&255,Be+4},oe.prototype.writeUInt32BE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,4,4294967295,0),this[Be]=Ne>>>24,this[Be+1]=Ne>>>16,this[Be+2]=Ne>>>8,this[Be+3]=Ne&255,Be+4},oe.prototype.writeIntLE=function(Ne,Be,je,$e){if(Ne=+Ne,Be=Be>>>0,!$e){var nt=Math.pow(2,8*je-1);_e(this,Ne,Be,je,nt-1,-nt)}var Ze=0,rt=1,yt=0;for(this[Be]=Ne&255;++Ze>0)-yt&255;return Be+je},oe.prototype.writeIntBE=function(Ne,Be,je,$e){if(Ne=+Ne,Be=Be>>>0,!$e){var nt=Math.pow(2,8*je-1);_e(this,Ne,Be,je,nt-1,-nt)}var Ze=je-1,rt=1,yt=0;for(this[Be+Ze]=Ne&255;--Ze>=0&&(rt*=256);)Ne<0&&yt===0&&this[Be+Ze+1]!==0&&(yt=1),this[Be+Ze]=(Ne/rt>>0)-yt&255;return Be+je},oe.prototype.writeInt8=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,1,127,-128),Ne<0&&(Ne=255+Ne+1),this[Be]=Ne&255,Be+1},oe.prototype.writeInt16LE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,2,32767,-32768),this[Be]=Ne&255,this[Be+1]=Ne>>>8,Be+2},oe.prototype.writeInt16BE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,2,32767,-32768),this[Be]=Ne>>>8,this[Be+1]=Ne&255,Be+2},oe.prototype.writeInt32LE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,4,2147483647,-2147483648),this[Be]=Ne&255,this[Be+1]=Ne>>>8,this[Be+2]=Ne>>>16,this[Be+3]=Ne>>>24,Be+4},oe.prototype.writeInt32BE=function(Ne,Be,je){return Ne=+Ne,Be=Be>>>0,je||_e(this,Ne,Be,4,2147483647,-2147483648),Ne<0&&(Ne=4294967295+Ne+1),this[Be]=Ne>>>24,this[Be+1]=Ne>>>16,this[Be+2]=Ne>>>8,this[Be+3]=Ne&255,Be+4};function Ve(xe,Ne,Be,je,$e,nt){if(Be+je>xe.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("Index out of range")}function tt(xe,Ne,Be,je,$e){return Ne=+Ne,Be=Be>>>0,$e||Ve(xe,Ne,Be,4,34028234663852886e22,-34028234663852886e22),se.write(xe,Ne,Be,je,23,4),Be+4}oe.prototype.writeFloatLE=function(Ne,Be,je){return tt(this,Ne,Be,!0,je)},oe.prototype.writeFloatBE=function(Ne,Be,je){return tt(this,Ne,Be,!1,je)};function Xe(xe,Ne,Be,je,$e){return Ne=+Ne,Be=Be>>>0,$e||Ve(xe,Ne,Be,8,17976931348623157e292,-17976931348623157e292),se.write(xe,Ne,Be,je,52,8),Be+8}oe.prototype.writeDoubleLE=function(Ne,Be,je){return Xe(this,Ne,Be,!0,je)},oe.prototype.writeDoubleBE=function(Ne,Be,je){return Xe(this,Ne,Be,!1,je)},oe.prototype.copy=function(Ne,Be,je,$e){if(!oe.isBuffer(Ne))throw new TypeError("argument should be a Buffer");if(je||(je=0),!$e&&$e!==0&&($e=this.length),Be>=Ne.length&&(Be=Ne.length),Be||(Be=0),$e>0&&$e=this.length)throw new RangeError("Index out of range");if($e<0)throw new RangeError("sourceEnd out of bounds");$e>this.length&&($e=this.length),Ne.length-Be<$e-je&&($e=Ne.length-Be+je);var nt=$e-je;if(this===Ne&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Be,je,$e);else if(this===Ne&&je=0;--Ze)Ne[Ze+Be]=this[Ze+je];else Uint8Array.prototype.set.call(Ne,this.subarray(je,$e),Be);return nt},oe.prototype.fill=function(Ne,Be,je,$e){if(typeof Ne=="string"){if(typeof Be=="string"?($e=Be,Be=0,je=this.length):typeof je=="string"&&($e=je,je=this.length),$e!==void 0&&typeof $e!="string")throw new TypeError("encoding must be a string");if(typeof $e=="string"&&!oe.isEncoding($e))throw new TypeError("Unknown encoding: "+$e);if(Ne.length===1){var nt=Ne.charCodeAt(0);($e==="utf8"&&nt<128||$e==="latin1")&&(Ne=nt)}}else typeof Ne=="number"&&(Ne=Ne&255);if(Be<0||this.length>>0,je=je===void 0?this.length:je>>>0,Ne||(Ne=0);var Ze;if(typeof Ne=="number")for(Ze=Be;Ze55295&&Be<57344){if(!$e){if(Be>56319){(Ne-=3)>-1&&nt.push(239,191,189);continue}else if(Ze+1===je){(Ne-=3)>-1&&nt.push(239,191,189);continue}$e=Be;continue}if(Be<56320){(Ne-=3)>-1&&nt.push(239,191,189),$e=Be;continue}Be=($e-55296<<10|Be-56320)+65536}else $e&&(Ne-=3)>-1&&nt.push(239,191,189);if($e=null,Be<128){if((Ne-=1)<0)break;nt.push(Be)}else if(Be<2048){if((Ne-=2)<0)break;nt.push(Be>>6|192,Be&63|128)}else if(Be<65536){if((Ne-=3)<0)break;nt.push(Be>>12|224,Be>>6&63|128,Be&63|128)}else if(Be<1114112){if((Ne-=4)<0)break;nt.push(Be>>18|240,Be>>12&63|128,Be>>6&63|128,Be&63|128)}else throw new Error("Invalid code point")}return nt}function et(xe){for(var Ne=[],Be=0;Be>8,$e=Be%256,nt.push($e),nt.push(je);return nt}function Re(xe){return ne.toByteArray(Je(xe))}function qe(xe,Ne,Be,je){for(var $e=0;$e=Ne.length||$e>=xe.length);++$e)Ne[$e+Be]=xe[$e];return $e}function Ye(xe,Ne){return xe instanceof Ne||xe!=null&&xe.constructor!=null&&xe.constructor.name!=null&&xe.constructor.name===Ne.name}function ke(xe){return xe!==xe}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,ye,he){ye.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,ye,he){"use strict";var le=E("get-intrinsic"),ne=E("./"),se=ne(le("String.prototype.indexOf"));ye.exports=function(ue,ie){var oe=le(ue,!!ie);return typeof oe=="function"&&se(ue,".prototype.")>-1?ne(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,ye,he){"use strict";var le=E("function-bind"),ne=E("get-intrinsic"),se=ne("%Function.prototype.apply%"),de=ne("%Function.prototype.call%"),ue=ne("%Reflect.apply%",!0)||le.call(de,se),ie=ne("%Object.getOwnPropertyDescriptor%",!0),oe=ne("%Object.defineProperty%",!0),re=ne("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}ye.exports=function(y){var x=ue(le,de,arguments);if(ie&&oe){var b=ie(x,"length");b.configurable&&oe(x,"length",{value:1+re(0,y.length-(arguments.length-1))})}return x};var z=function(){return ue(le,se,arguments)};oe?oe(ye.exports,"apply",{value:z}):ye.exports.apply=z},{"function-bind":347,"get-intrinsic":348}],94:[function(E,ye,he){"use strict";var le=Array.prototype.slice;ye.exports=ne;function ne(de,ue){if(!(this instanceof ne))return new ne(de,ue);this.src=de,this._withAccess=ue}ne.prototype.withAccess=function(de){return this._withAccess=de!==!1,this},ne.prototype.pick=function(de){return Array.isArray(de)||(de=le.call(arguments)),de.length&&(this.keys=de),this},ne.prototype.to=function(de){if(de=de||{},!this.src)return de;var ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ie=0;ie>8&255]},Me=function(Ze){return[Ze&255,Ze>>8&255,Ze>>16&255,Ze>>24&255]},et=function(Ze){return Ze[3]<<24|Ze[2]<<16|Ze[1]<<8|Ze[0]},Ie=function(Ze){return Xe(Ze,23,4)},Re=function(Ze){return Xe(Ze,52,8)},qe=function(Ze,rt){me(Ze[Pe],rt,{get:function(){return Ce(this)[rt]}})},Ye=function(Ze,rt,yt,ct){var bt=x(yt),dt=Ce(Ze);if(bt+rt>dt.byteLength)throw _e(Oe);var ht=Ce(dt.buffer).bytes,ot=bt+dt.byteOffset,ut=ge(ht,ot,ot+rt);return ct?ut:tt(ut)},ke=function(Ze,rt,yt,ct,bt,dt){var ht=x(yt),ot=Ce(Ze);if(ht+rt>ot.byteLength)throw _e(Oe);for(var ut=Ce(ot.buffer).bytes,mt=ht+ot.byteOffset,Ct=ct(+bt),Bt=0;Btbt)throw _e("Wrong offset");if(ct=ct===void 0?bt-dt:y(ct),dt+ct>bt)throw _e(Le);De(this,{buffer:rt,byteLength:ct,byteOffset:dt}),se||(this.buffer=rt,this.byteLength=ct,this.byteOffset=dt)},Qe=He[Pe],se&&(qe(Te,"byteLength"),qe(He,"buffer"),qe(He,"byteLength"),qe(He,"byteOffset")),oe(Qe,{getInt8:function(rt){return Ye(this,1,rt)[0]<<24>>24},getUint8:function(rt){return Ye(this,1,rt)[0]},getInt16:function(rt){var yt=Ye(this,2,rt,arguments.length>1?arguments[1]:void 0);return(yt[1]<<8|yt[0])<<16>>16},getUint16:function(rt){var yt=Ye(this,2,rt,arguments.length>1?arguments[1]:void 0);return yt[1]<<8|yt[0]},getInt32:function(rt){return et(Ye(this,4,rt,arguments.length>1?arguments[1]:void 0))},getUint32:function(rt){return et(Ye(this,4,rt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(rt){return lt(Ye(this,4,rt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(rt){return lt(Ye(this,8,rt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(rt,yt){ke(this,1,rt,Je,yt)},setUint8:function(rt,yt){ke(this,1,rt,Je,yt)},setInt16:function(rt,yt){ke(this,2,rt,Ke,yt,arguments.length>2?arguments[2]:void 0)},setUint16:function(rt,yt){ke(this,2,rt,Ke,yt,arguments.length>2?arguments[2]:void 0)},setInt32:function(rt,yt){ke(this,4,rt,Me,yt,arguments.length>2?arguments[2]:void 0)},setUint32:function(rt,yt){ke(this,4,rt,Me,yt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(rt,yt){ke(this,4,rt,Ie,yt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(rt,yt){ke(this,8,rt,Re,yt,arguments.length>2?arguments[2]:void 0)}});else{var xe=be&&We.name!==we;if(!re(function(){We(1)})||!re(function(){new We(-1)})||re(function(){return new We,new We(1.5),new We(NaN),xe&&!Ee})){Te=function(rt){return z(this,Ue),new We(x(rt))},Te[Pe]=Ue;for(var Ne=ce(We),Be=0,je;Ne.length>Be;)(je=Ne[Be++])in Te||ie(Te,je,We[je]);Ue.constructor=Te}else xe&&Ee&&ie(We,"name",we);te&&ee(Qe)!==Ge&&te(Qe,Ge);var $e=new He(new Te(2)),nt=ne(Qe.setInt8);$e.setInt8(0,2147483648),$e.setInt8(1,2147483649),($e.getInt8(0)||!$e.getInt8(1))&&oe(Qe,{setInt8:function(rt,yt){nt(this,rt,yt<<24>>24)},setUint8:function(rt,yt){nt(this,rt,yt<<24>>24)}},{unsafe:!0})}pe(Te,we),pe(He,Fe),ye.exports={ArrayBuffer:Te,DataView:He}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,ye,he){"use strict";var le=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=Math.min;ye.exports=[].copyWithin||function(ie,oe){var re=le(this),z=se(re),a=ne(ie,z),y=ne(oe,z),x=arguments.length>2?arguments[2]:void 0,b=de((x===void 0?z:ne(x,z))-y,z-a),ee=1;for(y0;)y in re?re[a]=re[y]:delete re[a],a+=ee,y+=ee;return re}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,ye,he){"use strict";var le=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like");ye.exports=function(ue){for(var ie=le(this),oe=se(ie),re=arguments.length,z=ne(re>1?arguments[1]:void 0,oe),a=re>2?arguments[2]:void 0,y=a===void 0?oe:ne(a,oe);y>z;)ie[z++]=ue;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,ye,he){"use strict";var le=E("../internals/array-iteration").forEach,ne=E("../internals/array-method-is-strict"),se=ne("forEach");ye.exports=se?[].forEach:function(ue){return le(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,ye,he){var le=E("../internals/length-of-array-like");ye.exports=function(ne,se){for(var de=0,ue=le(se),ie=new ne(ue);ue>de;)ie[de]=se[de++];return ie}},{"../internals/length-of-array-like":188}],109:[function(E,ye,he){"use strict";var le=E("../internals/global"),ne=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ie=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),re=E("../internals/length-of-array-like"),z=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=le.Array;ye.exports=function(ee){var te=de(ee),ce=oe(this),me=arguments.length,ve=me>1?arguments[1]:void 0,ge=ve!==void 0;ge&&(ve=ne(ve,me>2?arguments[2]:void 0));var pe=y(te),Se=0,be,Ee,Ce,De,we,Fe;if(pe&&!(this==x&&ie(pe)))for(De=a(te,pe),we=De.next,Ee=ce?new this:[];!(Ce=se(we,De)).done;Se++)Fe=ge?ue(De,ve,[Ce.value,Se],!0):Ce.value,z(Ee,Se,Fe);else for(be=re(te),Ee=ce?new this(be):x(be);be>Se;Se++)Fe=ge?ve(te[Se],Se):te[Se],z(Ee,Se,Fe);return Ee.length=Se,Ee}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,ye,he){var le=E("../internals/to-indexed-object"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=function(ue){return function(ie,oe,re){var z=le(ie),a=se(z),y=ne(re,a),x;if(ue&&oe!=oe){for(;a>y;)if(x=z[y++],x!=x)return!0}else for(;a>y;y++)if((ue||y in z)&&z[y]===oe)return ue||y||0;return!ue&&-1}};ye.exports={includes:de(!0),indexOf:de(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,ye,he){var le=E("../internals/function-bind-context"),ne=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ie=E("../internals/array-species-create"),oe=ne([].push),re=function(z){var a=z==1,y=z==2,x=z==3,b=z==4,ee=z==6,te=z==7,ce=z==5||ee;return function(me,ve,ge,pe){for(var Se=de(me),be=se(Se),Ee=le(ve,ge),Ce=ue(be),De=0,we=pe||ie,Fe=a?we(me,Ce):y||te?we(me,0):void 0,Pe,Le;Ce>De;De++)if((ce||De in be)&&(Pe=be[De],Le=Ee(Pe,De,Se),z))if(a)Fe[De]=Le;else if(Le)switch(z){case 3:return!0;case 5:return Pe;case 6:return De;case 2:oe(Fe,Pe)}else switch(z){case 4:return!1;case 7:oe(Fe,Pe)}return ee?-1:x||b?b:Fe}};ye.exports={forEach:re(0),map:re(1),filter:re(2),some:re(3),every:re(4),find:re(5),findIndex:re(6),filterReject:re(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,ye,he){"use strict";var le=E("../internals/function-apply"),ne=E("../internals/to-indexed-object"),se=E("../internals/to-integer-or-infinity"),de=E("../internals/length-of-array-like"),ue=E("../internals/array-method-is-strict"),ie=Math.min,oe=[].lastIndexOf,re=!!oe&&1/[1].lastIndexOf(1,-0)<0,z=ue("lastIndexOf"),a=re||!z;ye.exports=a?function(x){if(re)return le(oe,this,arguments)||0;var b=ne(this),ee=de(b),te=ee-1;for(arguments.length>1&&(te=ie(te,se(arguments[1]))),te<0&&(te=ee+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:oe},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,ye,he){var le=E("../internals/fails"),ne=E("../internals/well-known-symbol"),se=E("../internals/engine-v8-version"),de=ne("species");ye.exports=function(ue){return se>=51||!le(function(){var ie=[],oe=ie.constructor={};return oe[de]=function(){return{foo:1}},ie[ue](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,ye,he){"use strict";var le=E("../internals/fails");ye.exports=function(ne,se){var de=[][ne];return!!de&&le(function(){de.call(null,se||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/a-callable"),se=E("../internals/to-object"),de=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ie=le.TypeError,oe=function(re){return function(z,a,y,x){ne(a);var b=se(z),ee=de(b),te=ue(b),ce=re?te-1:0,me=re?-1:1;if(y<2)for(;;){if(ce in ee){x=ee[ce],ce+=me;break}if(ce+=me,re?ce<0:te<=ce)throw ie("Reduce of empty array with no initial value")}for(;re?ce>=0:te>ce;ce+=me)ce in ee&&(x=a(x,ee[ce],ce,b));return x}};ye.exports={left:oe(!1),right:oe(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=E("../internals/create-property"),ue=le.Array,ie=Math.max;ye.exports=function(oe,re,z){for(var a=se(oe),y=ne(re,a),x=ne(z===void 0?a:z,a),b=ue(ie(x-y,0)),ee=0;y0;)ie[y]=ie[--y];y!==z++&&(ie[y]=a)}return ie},ue=function(ie,oe,re,z){for(var a=oe.length,y=re.length,x=0,b=0;x0&&oe[0]<4?1:+(oe[0]+oe[1])),!re&&ne&&(oe=ne.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=ne.match(/Chrome\/(\d+)/),oe&&(re=+oe[1]))),ye.exports=re},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,ye,he){var le=E("../internals/engine-user-agent"),ne=le.match(/AppleWebKit\/(\d+)\./);ye.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],148:[function(E,ye,he){ye.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/create-non-enumerable-property"),de=E("../internals/redefine"),ue=E("../internals/set-global"),ie=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");ye.exports=function(re,z){var a=re.target,y=re.global,x=re.stat,b,ee,te,ce,me,ve;if(y?ee=le:x?ee=le[a]||ue(a,{}):ee=(le[a]||{}).prototype,ee)for(te in z){if(me=z[te],re.noTargetGet?(ve=ne(ee,te),ce=ve&&ve.value):ce=ee[te],b=oe(y?te:a+(x?".":"#")+te,re.forced),!b&&ce!==void 0){if(typeof me==typeof ce)continue;ie(me,ce)}(re.sham||ce&&ce.sham)&&se(me,"sham",!0),de(ee,te,me,re)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,ye,he){ye.exports=function(le){try{return!!le()}catch(ne){return!0}}},{}],151:[function(E,ye,he){"use strict";E("../modules/es.regexp.exec");var le=E("../internals/function-uncurry-this"),ne=E("../internals/redefine"),se=E("../internals/regexp-exec"),de=E("../internals/fails"),ue=E("../internals/well-known-symbol"),ie=E("../internals/create-non-enumerable-property"),oe=ue("species"),re=RegExp.prototype;ye.exports=function(z,a,y,x){var b=ue(z),ee=!de(function(){var ve={};return ve[b]=function(){return 7},""[z](ve)!=7}),te=ee&&!de(function(){var ve=!1,ge=/a/;return z==="split"&&(ge={},ge.constructor={},ge.constructor[oe]=function(){return ge},ge.flags="",ge[b]=/./[b]),ge.exec=function(){return ve=!0,null},ge[b](""),!ve});if(!ee||!te||y){var ce=le(/./[b]),me=a(b,""[z],function(ve,ge,pe,Se,be){var Ee=le(ve),Ce=ge.exec;return Ce===se||Ce===re.exec?ee&&!be?{done:!0,value:ce(ge,pe,Se)}:{done:!0,value:Ee(pe,ge,Se)}:{done:!1}});ne(String.prototype,z,me[0]),ne(re,b,me[1])}x&&ie(re[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,ye,he){var le=E("../internals/function-bind-native"),ne=Function.prototype,se=ne.apply,de=ne.call;ye.exports=typeof Reflect=="object"&&Reflect.apply||(le?de.bind(se):function(){return de.apply(se,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/a-callable"),se=E("../internals/function-bind-native"),de=le(le.bind);ye.exports=function(ue,ie){return ne(ue),ie===void 0?ue:se?de(ue,ie):function(){return ue.apply(ie,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,ye,he){var le=E("../internals/fails");ye.exports=!le(function(){var ne=function(){}.bind();return typeof ne!="function"||ne.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,ye,he){var le=E("../internals/function-bind-native"),ne=Function.prototype.call;ye.exports=le?ne.bind(ne):function(){return ne.apply(ne,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/has-own-property"),se=Function.prototype,de=le&&Object.getOwnPropertyDescriptor,ue=ne(se,"name"),ie=ue&&function(){}.name==="something",oe=ue&&(!le||le&&de(se,"name").configurable);ye.exports={EXISTS:ue,PROPER:ie,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,ye,he){var le=E("../internals/function-bind-native"),ne=Function.prototype,se=ne.bind,de=ne.call,ue=le&&se.bind(de,de);ye.exports=le?function(ie){return ie&&ue(ie)}:function(ie){return ie&&function(){return de.apply(ie,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/is-callable"),se=function(de){return ne(de)?de:void 0};ye.exports=function(de,ue){return arguments.length<2?se(le[de]):le[de]&&le[de][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,ye,he){var le=E("../internals/classof"),ne=E("../internals/get-method"),se=E("../internals/iterators"),de=E("../internals/well-known-symbol"),ue=de("iterator");ye.exports=function(ie){if(ie!=null)return ne(ie,ue)||ne(ie,"@@iterator")||se[le(ie)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/an-object"),ue=E("../internals/try-to-string"),ie=E("../internals/get-iterator-method"),oe=le.TypeError;ye.exports=function(re,z){var a=arguments.length<2?ie(re):z;if(se(a))return de(ne(a,re));throw oe(ue(re)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,ye,he){var le=E("../internals/a-callable");ye.exports=function(ne,se){var de=ne[se];return de==null?void 0:le(de)}},{"../internals/a-callable":95}],162:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),se=Math.floor,de=le("".charAt),ue=le("".replace),ie=le("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,re=/\$([$&'`]|\d{1,2})/g;ye.exports=function(z,a,y,x,b,ee){var te=y+z.length,ce=x.length,me=re;return b!==void 0&&(b=ne(b),me=oe),ue(ee,me,function(ve,ge){var pe;switch(de(ge,0)){case"$":return"$";case"&":return z;case"`":return ie(a,0,y);case"'":return ie(a,te);case"<":pe=b[ie(ge,1,-1)];break;default:var Se=+ge;if(Se===0)return ve;if(Se>ce){var be=se(Se/10);return be===0?ve:be<=ce?x[be-1]===void 0?de(ge,1):x[be-1]+de(ge,1):ve}pe=x[Se-1]}return pe===void 0?"":pe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,ye,he){(function(le){(function(){var ne=function(se){return se&&se.Math==Math&&se};ye.exports=ne(typeof globalThis=="object"&&globalThis)||ne(typeof window=="object"&&window)||ne(typeof self=="object"&&self)||ne(typeof le=="object"&&le)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),se=le({}.hasOwnProperty);ye.exports=Object.hasOwn||function(ue,ie){return se(ne(ue),ie)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,ye,he){ye.exports={}},{}],166:[function(E,ye,he){var le=E("../internals/global");ye.exports=function(ne,se){var de=le.console;de&&de.error&&(arguments.length==1?de.error(ne):de.error(ne,se))}},{"../internals/global":163}],167:[function(E,ye,he){var le=E("../internals/get-built-in");ye.exports=le("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/fails"),se=E("../internals/document-create-element");ye.exports=!le&&!ne(function(){return Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,ye,he){var le=E("../internals/global"),ne=le.Array,se=Math.abs,de=Math.pow,ue=Math.floor,ie=Math.log,oe=Math.LN2,re=function(a,y,x){var b=ne(x),ee=x*8-y-1,te=(1<>1,me=y===23?de(2,-24)-de(2,-77):0,ve=a<0||a===0&&1/a<0?1:0,ge=0,pe,Se,be;for(a=se(a),a!=a||a===1/0?(Se=a!=a?1:0,pe=te):(pe=ue(ie(a)/oe),be=de(2,-pe),a*be<1&&(pe--,be*=2),pe+ce>=1?a+=me/be:a+=me*de(2,1-ce),a*be>=2&&(pe++,be/=2),pe+ce>=te?(Se=0,pe=te):pe+ce>=1?(Se=(a*be-1)*de(2,y),pe=pe+ce):(Se=a*de(2,ce-1)*de(2,y),pe=0));y>=8;)b[ge++]=Se&255,Se/=256,y-=8;for(pe=pe<0;)b[ge++]=pe&255,pe/=256,ee-=8;return b[--ge]|=ve*128,b},z=function(a,y){var x=a.length,b=x*8-y-1,ee=(1<>1,ce=b-7,me=x-1,ve=a[me--],ge=ve&127,pe;for(ve>>=7;ce>0;)ge=ge*256+a[me--],ce-=8;for(pe=ge&(1<<-ce)-1,ge>>=-ce,ce+=y;ce>0;)pe=pe*256+a[me--],ce-=8;if(ge===0)ge=1-te;else{if(ge===ee)return pe?NaN:ve?-1/0:1/0;pe=pe+de(2,y),ge=ge-te}return(ve?-1:1)*pe*de(2,ge-y)};ye.exports={pack:re,unpack:z}},{"../internals/global":163}],170:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/classof-raw"),ue=le.Object,ie=ne("".split);ye.exports=se(function(){return!ue("z").propertyIsEnumerable(0)})?function(oe){return de(oe)=="String"?ie(oe,""):ue(oe)}:ue},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,ye,he){var le=E("../internals/is-callable"),ne=E("../internals/is-object"),se=E("../internals/object-set-prototype-of");ye.exports=function(de,ue,ie){var oe,re;return se&&le(oe=ue.constructor)&&oe!==ie&&ne(re=oe.prototype)&&re!==ie.prototype&&se(de,re),de}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/is-callable"),se=E("../internals/shared-store"),de=le(Function.toString);ne(se.inspectSource)||(se.inspectSource=function(ue){return de(ue)}),ye.exports=se.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,ye,he){var le=E("../internals/native-weak-map"),ne=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ie=E("../internals/has-own-property"),oe=E("../internals/shared-store"),re=E("../internals/shared-key"),z=E("../internals/hidden-keys"),a="Object already initialized",y=ne.TypeError,x=ne.WeakMap,b,ee,te,ce=function(Ee){return te(Ee)?ee(Ee):b(Ee,{})},me=function(Ee){return function(Ce){var De;if(!de(Ce)||(De=ee(Ce)).type!==Ee)throw y("Incompatible receiver, "+Ee+" required");return De}};if(le||oe.state){var ve=oe.state||(oe.state=new x),ge=se(ve.get),pe=se(ve.has),Se=se(ve.set);b=function(Ee,Ce){if(pe(ve,Ee))throw new y(a);return Ce.facade=Ee,Se(ve,Ee,Ce),Ce},ee=function(Ee){return ge(ve,Ee)||{}},te=function(Ee){return pe(ve,Ee)}}else{var be=re("state");z[be]=!0,b=function(Ee,Ce){if(ie(Ee,be))throw new y(a);return Ce.facade=Ee,ue(Ee,be,Ce),Ce},ee=function(Ee){return ie(Ee,be)?Ee[be]:{}},te=function(Ee){return ie(Ee,be)}}ye.exports={set:b,get:ee,has:te,enforce:ce,getterFor:me}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,ye,he){var le=E("../internals/well-known-symbol"),ne=E("../internals/iterators"),se=le("iterator"),de=Array.prototype;ye.exports=function(ue){return ue!==void 0&&(ne.Array===ue||de[se]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,ye,he){var le=E("../internals/classof-raw");ye.exports=Array.isArray||function(se){return le(se)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,ye,he){ye.exports=function(le){return typeof le=="function"}},{}],177:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/fails"),se=E("../internals/is-callable"),de=E("../internals/classof"),ue=E("../internals/get-built-in"),ie=E("../internals/inspect-source"),oe=function(){},re=[],z=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=le(a.exec),x=!a.exec(oe),b=function(ce){if(!se(ce))return!1;try{return z(oe,re,ce),!0}catch(me){return!1}},ee=function(ce){if(!se(ce))return!1;switch(de(ce)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ie(ce))}catch(me){return!0}};ee.sham=!0,ye.exports=!z||ne(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?ee:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,ye,he){var le=E("../internals/fails"),ne=E("../internals/is-callable"),se=/#|\.prototype\./,de=function(z,a){var y=ie[ue(z)];return y==re?!0:y==oe?!1:ne(a)?le(a):!!a},ue=de.normalize=function(z){return String(z).replace(se,".").toLowerCase()},ie=de.data={},oe=de.NATIVE="N",re=de.POLYFILL="P";ye.exports=de},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,ye,he){var le=E("../internals/is-object"),ne=Math.floor;ye.exports=Number.isInteger||function(de){return!le(de)&&isFinite(de)&&ne(de)===de}},{"../internals/is-object":180}],180:[function(E,ye,he){var le=E("../internals/is-callable");ye.exports=function(ne){return typeof ne=="object"?ne!==null:le(ne)}},{"../internals/is-callable":176}],181:[function(E,ye,he){ye.exports=!1},{}],182:[function(E,ye,he){var le=E("../internals/is-object"),ne=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),de=se("match");ye.exports=function(ue){var ie;return le(ue)&&((ie=ue[de])!==void 0?!!ie:ne(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/get-built-in"),se=E("../internals/is-callable"),de=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ie=le.Object;ye.exports=ue?function(oe){return typeof oe=="symbol"}:function(oe){var re=ne("Symbol");return se(re)&&de(re.prototype,ie(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/an-object"),ue=E("../internals/try-to-string"),ie=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),re=E("../internals/object-is-prototype-of"),z=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=le.TypeError,b=function(te,ce){this.stopped=te,this.result=ce},ee=b.prototype;ye.exports=function(te,ce,me){var ve=me&&me.that,ge=!!(me&&me.AS_ENTRIES),pe=!!(me&&me.IS_ITERATOR),Se=!!(me&&me.INTERRUPTED),be=ne(ce,ve),Ee,Ce,De,we,Fe,Pe,Le,Oe=function(Te){return Ee&&y(Ee,"normal",Te),new b(!0,Te)},We=function(Te){return ge?(de(Te),Se?be(Te[0],Te[1],Oe):be(Te[0],Te[1])):Se?be(Te,Oe):be(Te)};if(pe)Ee=te;else{if(Ce=a(te),!Ce)throw x(ue(te)+" is not iterable");if(ie(Ce)){for(De=0,we=oe(te);we>De;De++)if(Fe=We(te[De]),Fe&&re(ee,Fe))return Fe;return new b(!1)}Ee=z(te,Ce)}for(Pe=Ee.next;!(Le=se(Pe,Ee)).done;){try{Fe=We(Le.value)}catch(Te){y(Ee,"throw",Te)}if(typeof Fe=="object"&&Fe&&re(ee,Fe))return Fe}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,ye,he){var le=E("../internals/function-call"),ne=E("../internals/an-object"),se=E("../internals/get-method");ye.exports=function(de,ue,ie){var oe,re;ne(de);try{if(oe=se(de,"return"),!oe){if(ue==="throw")throw ie;return ie}oe=le(oe,de)}catch(z){re=!0,oe=z}if(ue==="throw")throw ie;if(re)throw oe;return ne(oe),ie}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,ye,he){"use strict";var le=E("../internals/fails"),ne=E("../internals/is-callable"),se=E("../internals/object-create"),de=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ie=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),re=ie("iterator"),z=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=de(de(x)),y!==Object.prototype&&(a=y)):z=!0);var b=a==null||le(function(){var ee={};return a[re].call(ee)!==ee});b?a={}:oe&&(a=se(a)),ne(a[re])||ue(a,re,function(){return this}),ye.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:z}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,ye,he){arguments[4][165][0].apply(he,arguments)},{dup:165}],188:[function(E,ye,he){var le=E("../internals/to-length");ye.exports=function(ne){return le(ne.length)}},{"../internals/to-length":249}],189:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-bind-context"),se=E("../internals/object-get-own-property-descriptor").f,de=E("../internals/task").set,ue=E("../internals/engine-is-ios"),ie=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),re=E("../internals/engine-is-node"),z=le.MutationObserver||le.WebKitMutationObserver,a=le.document,y=le.process,x=le.Promise,b=se(le,"queueMicrotask"),ee=b&&b.value,te,ce,me,ve,ge,pe,Se,be;ee||(te=function(){var Ee,Ce;for(re&&(Ee=y.domain)&&Ee.exit();ce;){Ce=ce.fn,ce=ce.next;try{Ce()}catch(De){throw ce?ve():me=void 0,De}}me=void 0,Ee&&Ee.enter()},!ue&&!re&&!oe&&z&&a?(ge=!0,pe=a.createTextNode(""),new z(te).observe(pe,{characterData:!0}),ve=function(){pe.data=ge=!ge}):!ie&&x&&x.resolve?(Se=x.resolve(void 0),Se.constructor=x,be=ne(Se.then,Se),ve=function(){be(te)}):re?ve=function(){y.nextTick(te)}:(de=ne(de,le),ve=function(){de(te)})),ye.exports=ee||function(Ee){var Ce={fn:Ee,next:void 0};me&&(me.next=Ce),ce||(ce=Ce,ve()),me=Ce}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,ye,he){var le=E("../internals/native-symbol");ye.exports=le&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,ye,he){var le=E("../internals/engine-v8-version"),ne=E("../internals/fails");ye.exports=!!Object.getOwnPropertySymbols&&!ne(function(){var se=Symbol();return!String(se)||!(Object(se)instanceof Symbol)||!Symbol.sham&&le&&le<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/is-callable"),se=E("../internals/inspect-source"),de=le.WeakMap;ye.exports=ne(de)&&/native code/.test(se(de))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,ye,he){"use strict";var le=E("../internals/a-callable"),ne=function(se){var de,ue;this.promise=new se(function(ie,oe){if(de!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");de=ie,ue=oe}),this.resolve=le(de),this.reject=le(ue)};ye.exports.f=function(se){return new ne(se)}},{"../internals/a-callable":95}],194:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/is-regexp"),se=le.TypeError;ye.exports=function(de){if(ne(de))throw se("The method doesn't accept regular expressions");return de}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,ye,he){"use strict";var le=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),se=E("../internals/function-call"),de=E("../internals/fails"),ue=E("../internals/object-keys"),ie=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),re=E("../internals/to-object"),z=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=ne([].concat);ye.exports=!a||de(function(){if(le&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},ee={},te=Symbol(),ce="abcdefghijklmnopqrst";return b[te]=7,ce.split("").forEach(function(me){ee[me]=me}),a({},b)[te]!=7||ue(a({},ee)).join("")!=ce})?function(ee,te){for(var ce=re(ee),me=arguments.length,ve=1,ge=ie.f,pe=oe.f;me>ve;)for(var Se=z(arguments[ve++]),be=ge?x(ue(Se),ge(Se)):ue(Se),Ee=be.length,Ce=0,De;Ee>Ce;)De=be[Ce++],(!le||se(pe,Se,De))&&(ce[De]=Se[De]);return ce}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,ye,he){var le=E("../internals/an-object"),ne=E("../internals/object-define-properties"),se=E("../internals/enum-bug-keys"),de=E("../internals/hidden-keys"),ue=E("../internals/html"),ie=E("../internals/document-create-element"),oe=E("../internals/shared-key"),re=">",z="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},ee=function(ge){return z+y+re+ge+z+"/"+y+re},te=function(ge){ge.write(ee("")),ge.close();var pe=ge.parentWindow.Object;return ge=null,pe},ce=function(){var ge=ie("iframe"),pe="java"+y+":",Se;return ge.style.display="none",ue.appendChild(ge),ge.src=String(pe),Se=ge.contentWindow.document,Se.open(),Se.write(ee("document.F=Object")),Se.close(),Se.F},me,ve=function(){try{me=new ActiveXObject("htmlfile")}catch(pe){}ve=typeof document!="undefined"?document.domain&&me?te(me):ce():te(me);for(var ge=se.length;ge--;)delete ve[a][se[ge]];return ve()};de[x]=!0,ye.exports=Object.create||function(pe,Se){var be;return pe!==null?(b[a]=le(pe),be=new b,b[a]=null,be[x]=pe):be=ve(),Se===void 0?be:ne.f(be,Se)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/v8-prototype-define-bug"),se=E("../internals/object-define-property"),de=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ie=E("../internals/object-keys");he.f=le&&!ne?Object.defineProperties:function(re,z){de(re);for(var a=ue(z),y=ie(z),x=y.length,b=0,ee;x>b;)se.f(re,ee=y[b++],a[ee]);return re}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/descriptors"),se=E("../internals/ie8-dom-define"),de=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ie=E("../internals/to-property-key"),oe=le.TypeError,re=Object.defineProperty,z=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";he.f=ne?de?function(ee,te,ce){if(ue(ee),te=ie(te),ue(ce),typeof ee=="function"&&te==="prototype"&&"value"in ce&&x in ce&&!ce[x]){var me=z(ee,te);me&&me[x]&&(ee[te]=ce.value,ce={configurable:y in ce?ce[y]:me[y],enumerable:a in ce?ce[a]:me[a],writable:!1})}return re(ee,te,ce)}:re:function(ee,te,ce){if(ue(ee),te=ie(te),ue(ce),se)try{return re(ee,te,ce)}catch(me){}if("get"in ce||"set"in ce)throw oe("Accessors not supported");return"value"in ce&&(ee[te]=ce.value),ee}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/function-call"),se=E("../internals/object-property-is-enumerable"),de=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ie=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),re=E("../internals/ie8-dom-define"),z=Object.getOwnPropertyDescriptor;he.f=le?z:function(y,x){if(y=ue(y),x=ie(x),re)try{return z(y,x)}catch(b){}if(oe(y,x))return de(!ne(se.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,ye,he){var le=E("../internals/classof-raw"),ne=E("../internals/to-indexed-object"),se=E("../internals/object-get-own-property-names").f,de=E("../internals/array-slice-simple"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ie=function(oe){try{return se(oe)}catch(re){return de(ue)}};ye.exports.f=function(re){return ue&&le(re)=="Window"?ie(re):se(ne(re))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,ye,he){var le=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys"),se=ne.concat("length","prototype");he.f=Object.getOwnPropertyNames||function(ue){return le(ue,se)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,ye,he){he.f=Object.getOwnPropertySymbols},{}],203:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/has-own-property"),se=E("../internals/is-callable"),de=E("../internals/to-object"),ue=E("../internals/shared-key"),ie=E("../internals/correct-prototype-getter"),oe=ue("IE_PROTO"),re=le.Object,z=re.prototype;ye.exports=ie?re.getPrototypeOf:function(a){var y=de(a);if(ne(y,oe))return y[oe];var x=y.constructor;return se(x)&&y instanceof x?x.prototype:y instanceof re?z:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,ye,he){var le=E("../internals/function-uncurry-this");ye.exports=le({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/has-own-property"),se=E("../internals/to-indexed-object"),de=E("../internals/array-includes").indexOf,ue=E("../internals/hidden-keys"),ie=le([].push);ye.exports=function(oe,re){var z=se(oe),a=0,y=[],x;for(x in z)!ne(ue,x)&&ne(z,x)&&ie(y,x);for(;re.length>a;)ne(z,x=re[a++])&&(~de(y,x)||ie(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,ye,he){var le=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys");ye.exports=Object.keys||function(de){return le(de,ne)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,ye,he){"use strict";var le={}.propertyIsEnumerable,ne=Object.getOwnPropertyDescriptor,se=ne&&!le.call({1:2},1);he.f=se?function(ue){var ie=ne(this,ue);return!!ie&&ie.enumerable}:le},{}],208:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/an-object"),se=E("../internals/a-possible-prototype");ye.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var de=!1,ue={},ie;try{ie=le(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ie(ue,[]),de=ue instanceof Array}catch(oe){}return function(re,z){return ne(re),se(z),de?ie(re,z):re.__proto__=z,re}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),se=E("../internals/object-keys"),de=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ie=ne(ue),oe=ne([].push),re=function(z){return function(a){for(var y=de(a),x=se(y),b=x.length,ee=0,te=[],ce;b>ee;)ce=x[ee++],(!le||ie(y,ce))&&oe(te,z?[ce,y[ce]]:y[ce]);return te}};ye.exports={entries:re(!0),values:re(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,ye,he){"use strict";var le=E("../internals/to-string-tag-support"),ne=E("../internals/classof");ye.exports=le?{}.toString:function(){return"[object "+ne(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/is-callable"),de=E("../internals/is-object"),ue=le.TypeError;ye.exports=function(ie,oe){var re,z;if(oe==="string"&&se(re=ie.toString)&&!de(z=ne(re,ie))||se(re=ie.valueOf)&&!de(z=ne(re,ie))||oe!=="string"&&se(re=ie.toString)&&!de(z=ne(re,ie)))return z;throw ue("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,ye,he){var le=E("../internals/get-built-in"),ne=E("../internals/function-uncurry-this"),se=E("../internals/object-get-own-property-names"),de=E("../internals/object-get-own-property-symbols"),ue=E("../internals/an-object"),ie=ne([].concat);ye.exports=le("Reflect","ownKeys")||function(re){var z=se.f(ue(re)),a=de.f;return a?ie(z,a(re)):z}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,ye,he){var le=E("../internals/global");ye.exports=le},{"../internals/global":163}],214:[function(E,ye,he){ye.exports=function(le){try{return{error:!1,value:le()}}catch(ne){return{error:!0,value:ne}}}},{}],215:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/promise-native-constructor"),se=E("../internals/is-callable"),de=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ie=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),re=E("../internals/is-pure"),z=E("../internals/engine-v8-version"),a=ne&&ne.prototype,y=ie("species"),x=!1,b=se(le.PromiseRejectionEvent),ee=de("Promise",function(){var te=ue(ne),ce=te!==String(ne);if(!ce&&z===66||re&&!(a.catch&&a.finally))return!0;if(z>=51&&/native code/.test(te))return!1;var me=new ne(function(pe){pe(1)}),ve=function(pe){pe(function(){},function(){})},ge=me.constructor={};return ge[y]=ve,x=me.then(function(){})instanceof ve,x?!ce&&oe&&!b:!0});ye.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,ye,he){var le=E("../internals/global");ye.exports=le.Promise},{"../internals/global":163}],217:[function(E,ye,he){var le=E("../internals/an-object"),ne=E("../internals/is-object"),se=E("../internals/new-promise-capability");ye.exports=function(de,ue){if(le(de),ne(ue)&&ue.constructor===de)return ue;var ie=se.f(de),oe=ie.resolve;return oe(ue),ie.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,ye,he){var le=E("../internals/promise-native-constructor"),ne=E("../internals/check-correctness-of-iteration"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;ye.exports=se||!ne(function(de){le.all(de).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,ye,he){var le=E("../internals/object-define-property").f;ye.exports=function(ne,se,de){de in ne||le(ne,de,{configurable:!0,get:function(){return se[de]},set:function(ue){se[de]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,ye,he){var le=function(){this.head=null,this.tail=null};le.prototype={add:function(ne){var se={item:ne,next:null};this.head?this.tail.next=se:this.head=se,this.tail=se},get:function(){var ne=this.head;if(ne)return this.head=ne.next,this.tail===ne&&(this.tail=null),ne.item}},ye.exports=le},{}],221:[function(E,ye,he){var le=E("../internals/redefine");ye.exports=function(ne,se,de){for(var ue in se)le(ne,ue,se[ue],de);return ne}},{"../internals/redefine":222}],222:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/is-callable"),se=E("../internals/has-own-property"),de=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ie=E("../internals/inspect-source"),oe=E("../internals/internal-state"),re=E("../internals/function-name").CONFIGURABLE,z=oe.get,a=oe.enforce,y=String(String).split("String");(ye.exports=function(x,b,ee,te){var ce=te?!!te.unsafe:!1,me=te?!!te.enumerable:!1,ve=te?!!te.noTargetGet:!1,ge=te&&te.name!==void 0?te.name:b,pe;if(ne(ee)&&(String(ge).slice(0,7)==="Symbol("&&(ge="["+String(ge).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!se(ee,"name")||re&&ee.name!==ge)&&de(ee,"name",ge),pe=a(ee),pe.source||(pe.source=y.join(typeof ge=="string"?ge:""))),x===le){me?x[b]=ee:ue(b,ee);return}else ce?!ve&&x[b]&&(me=!0):delete x[b];me?x[b]=ee:de(x,b,ee)})(Function.prototype,"toString",function(){return ne(this)&&z(this).source||ie(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/an-object"),de=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ie=E("../internals/regexp-exec"),oe=le.TypeError;ye.exports=function(re,z){var a=re.exec;if(de(a)){var y=ne(a,re,z);return y!==null&&se(y),y}if(ue(re)==="RegExp")return ne(ie,re,z);throw oe("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,ye,he){"use strict";var le=E("../internals/function-call"),ne=E("../internals/function-uncurry-this"),se=E("../internals/to-string"),de=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ie=E("../internals/shared"),oe=E("../internals/object-create"),re=E("../internals/internal-state").get,z=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ie("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,ee=ne("".charAt),te=ne("".indexOf),ce=ne("".replace),me=ne("".slice),ve=function(){var be=/a/,Ee=/b*/g;return le(x,be,"a"),le(x,Ee,"a"),be.lastIndex!==0||Ee.lastIndex!==0}(),ge=ue.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,Se=ve||pe||ge||z||a;Se&&(b=function(Ee){var Ce=this,De=re(Ce),we=se(Ee),Fe=De.raw,Pe,Le,Oe,We,Te,Ue,He;if(Fe)return Fe.lastIndex=Ce.lastIndex,Pe=le(b,Fe,we),Ce.lastIndex=Fe.lastIndex,Pe;var Qe=De.groups,Ge=ge&&Ce.sticky,ze=le(de,Ce),_e=Ce.source,Ve=0,tt=we;if(Ge&&(ze=ce(ze,"y",""),te(ze,"g")===-1&&(ze+="g"),tt=me(we,Ce.lastIndex),Ce.lastIndex>0&&(!Ce.multiline||Ce.multiline&&ee(we,Ce.lastIndex-1)!==` -`)&&(_e="(?: "+_e+")",tt=" "+tt,Ve++),Le=new RegExp("^(?:"+_e+")",ze)),pe&&(Le=new RegExp("^"+_e+"$(?!\\s)",ze)),ve&&(Oe=Ce.lastIndex),We=le(x,Ge?Le:Ce,tt),Ge?We?(We.input=me(We.input,Ve),We[0]=me(We[0],Ve),We.index=Ce.lastIndex,Ce.lastIndex+=We[0].length):Ce.lastIndex=0:ve&&We&&(Ce.lastIndex=Ce.global?We.index+We[0].length:Oe),pe&&We&&We.length>1&&le(y,We[0],Le,function(){for(Te=1;Teb)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,ye,he){var le=E("../internals/global"),ne=le.TypeError;ye.exports=function(se){if(se==null)throw ne("Can't call method on "+se);return se}},{"../internals/global":163}],231:[function(E,ye,he){ye.exports=Object.is||function(ne,se){return ne===se?ne!==0||1/ne===1/se:ne!=ne&&se!=se}},{}],232:[function(E,ye,he){var le=E("../internals/global"),ne=Object.defineProperty;ye.exports=function(se,de){try{ne(le,se,{value:de,configurable:!0,writable:!0})}catch(ue){le[se]=de}return de}},{"../internals/global":163}],233:[function(E,ye,he){"use strict";var le=E("../internals/get-built-in"),ne=E("../internals/object-define-property"),se=E("../internals/well-known-symbol"),de=E("../internals/descriptors"),ue=se("species");ye.exports=function(ie){var oe=le(ie),re=ne.f;de&&oe&&!oe[ue]&&re(oe,ue,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,ye,he){var le=E("../internals/object-define-property").f,ne=E("../internals/has-own-property"),se=E("../internals/well-known-symbol"),de=se("toStringTag");ye.exports=function(ue,ie,oe){ue&&!oe&&(ue=ue.prototype),ue&&!ne(ue,de)&&le(ue,de,{configurable:!0,value:ie})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,ye,he){var le=E("../internals/shared"),ne=E("../internals/uid"),se=le("keys");ye.exports=function(de){return se[de]||(se[de]=ne(de))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/set-global"),se="__core-js_shared__",de=le[se]||ne(se,{});ye.exports=de},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,ye,he){var le=E("../internals/is-pure"),ne=E("../internals/shared-store");(ye.exports=function(se,de){return ne[se]||(ne[se]=de!==void 0?de:{})})("versions",[]).push({version:"3.22.1",mode:le?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,ye,he){var le=E("../internals/an-object"),ne=E("../internals/a-constructor"),se=E("../internals/well-known-symbol"),de=se("species");ye.exports=function(ue,ie){var oe=le(ue).constructor,re;return oe===void 0||(re=le(oe)[de])==null?ie:ne(re)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/to-integer-or-infinity"),se=E("../internals/to-string"),de=E("../internals/require-object-coercible"),ue=le("".charAt),ie=le("".charCodeAt),oe=le("".slice),re=function(z){return function(a,y){var x=se(de(a)),b=ne(y),ee=x.length,te,ce;return b<0||b>=ee?z?"":void 0:(te=ie(x,b),te<55296||te>56319||b+1===ee||(ce=ie(x,b+1))<56320||ce>57343?z?ue(x,b):te:z?oe(x,b,b+2):(te-55296<<10)+(ce-56320)+65536)}};ye.exports={codeAt:re(!1),charAt:re(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,ye,he){var le=E("../internals/function-name").PROPER,ne=E("../internals/fails"),se=E("../internals/whitespaces"),de="\u200B\x85\u180E";ye.exports=function(ue){return ne(function(){return!!se[ue]()||de[ue]()!==de||le&&se[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=E("../internals/require-object-coercible"),se=E("../internals/to-string"),de=E("../internals/whitespaces"),ue=le("".replace),ie="["+de+"]",oe=RegExp("^"+ie+ie+"*"),re=RegExp(ie+ie+"*$"),z=function(a){return function(y){var x=se(ne(y));return a&1&&(x=ue(x,oe,"")),a&2&&(x=ue(x,re,"")),x}};ye.exports={start:z(1),end:z(2),trim:z(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,ye,he){var le=E("../internals/function-call"),ne=E("../internals/get-built-in"),se=E("../internals/well-known-symbol"),de=E("../internals/redefine");ye.exports=function(){var ue=ne("Symbol"),ie=ue&&ue.prototype,oe=ie&&ie.valueOf,re=se("toPrimitive");ie&&!ie[re]&&de(ie,re,function(z){return le(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-apply"),se=E("../internals/function-bind-context"),de=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ie=E("../internals/fails"),oe=E("../internals/html"),re=E("../internals/array-slice"),z=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=le.setImmediate,ee=le.clearImmediate,te=le.process,ce=le.Dispatch,me=le.Function,ve=le.MessageChannel,ge=le.String,pe=0,Se={},be="onreadystatechange",Ee,Ce,De,we;try{Ee=le.location}catch(We){}var Fe=function(We){if(ue(Se,We)){var Te=Se[We];delete Se[We],Te()}},Pe=function(We){return function(){Fe(We)}},Le=function(We){Fe(We.data)},Oe=function(We){le.postMessage(ge(We),Ee.protocol+"//"+Ee.host)};(!b||!ee)&&(b=function(Te){a(arguments.length,1);var Ue=de(Te)?Te:me(Te),He=re(arguments,1);return Se[++pe]=function(){ne(Ue,void 0,He)},Ce(pe),pe},ee=function(Te){delete Se[Te]},x?Ce=function(We){te.nextTick(Pe(We))}:ce&&ce.now?Ce=function(We){ce.now(Pe(We))}:ve&&!y?(De=new ve,we=De.port2,De.port1.onmessage=Le,Ce=se(we.postMessage,we)):le.addEventListener&&de(le.postMessage)&&!le.importScripts&&Ee&&Ee.protocol!=="file:"&&!ie(Oe)?(Ce=Oe,le.addEventListener("message",Le,!1)):be in z("script")?Ce=function(We){oe.appendChild(z("script"))[be]=function(){oe.removeChild(this),Fe(We)}}:Ce=function(We){setTimeout(Pe(We),0)}),ye.exports={set:b,clear:ee}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,ye,he){var le=E("../internals/function-uncurry-this");ye.exports=le(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,ye,he){var le=E("../internals/to-integer-or-infinity"),ne=Math.max,se=Math.min;ye.exports=function(de,ue){var ie=le(de);return ie<0?ne(ie+ue,0):se(ie,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),se=E("../internals/to-length"),de=le.RangeError;ye.exports=function(ue){if(ue===void 0)return 0;var ie=ne(ue),oe=se(ie);if(ie!==oe)throw de("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,ye,he){var le=E("../internals/indexed-object"),ne=E("../internals/require-object-coercible");ye.exports=function(se){return le(ne(se))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,ye,he){var le=Math.ceil,ne=Math.floor;ye.exports=function(se){var de=+se;return de!==de||de===0?0:(de>0?ne:le)(de)}},{}],249:[function(E,ye,he){var le=E("../internals/to-integer-or-infinity"),ne=Math.min;ye.exports=function(se){return se>0?ne(le(se),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/require-object-coercible"),se=le.Object;ye.exports=function(de){return se(ne(de))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/to-positive-integer"),se=le.RangeError;ye.exports=function(de,ue){var ie=ne(de);if(ie%ue)throw se("Wrong offset");return ie}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),se=le.RangeError;ye.exports=function(de){var ue=ne(de);if(ue<0)throw se("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/is-object"),de=E("../internals/is-symbol"),ue=E("../internals/get-method"),ie=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),re=le.TypeError,z=oe("toPrimitive");ye.exports=function(a,y){if(!se(a)||de(a))return a;var x=ue(a,z),b;if(x){if(y===void 0&&(y="default"),b=ne(x,a,y),!se(b)||de(b))return b;throw re("Can't convert object to primitive value")}return y===void 0&&(y="number"),ie(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,ye,he){var le=E("../internals/to-primitive"),ne=E("../internals/is-symbol");ye.exports=function(se){var de=le(se,"string");return ne(de)?de:de+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,ye,he){var le=E("../internals/well-known-symbol"),ne=le("toStringTag"),se={};se[ne]="z",ye.exports=String(se)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/classof"),se=le.String;ye.exports=function(de){if(ne(de)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return se(de)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,ye,he){var le=E("../internals/global"),ne=le.String;ye.exports=function(se){try{return ne(se)}catch(de){return"Object"}}},{"../internals/global":163}],258:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/global"),se=E("../internals/function-call"),de=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ie=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),re=E("../internals/an-instance"),z=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),ee=E("../internals/to-offset"),te=E("../internals/to-property-key"),ce=E("../internals/has-own-property"),me=E("../internals/classof"),ve=E("../internals/is-object"),ge=E("../internals/is-symbol"),pe=E("../internals/object-create"),Se=E("../internals/object-is-prototype-of"),be=E("../internals/object-set-prototype-of"),Ee=E("../internals/object-get-own-property-names").f,Ce=E("../internals/typed-array-from"),De=E("../internals/array-iteration").forEach,we=E("../internals/set-species"),Fe=E("../internals/object-define-property"),Pe=E("../internals/object-get-own-property-descriptor"),Le=E("../internals/internal-state"),Oe=E("../internals/inherit-if-required"),We=Le.get,Te=Le.set,Ue=Fe.f,He=Pe.f,Qe=Math.round,Ge=ne.RangeError,ze=oe.ArrayBuffer,_e=ze.prototype,Ve=oe.DataView,tt=ie.NATIVE_ARRAY_BUFFER_VIEWS,Xe=ie.TYPED_ARRAY_CONSTRUCTOR,lt=ie.TYPED_ARRAY_TAG,Je=ie.TypedArray,Ke=ie.TypedArrayPrototype,Me=ie.aTypedArrayConstructor,et=ie.isTypedArray,Ie="BYTES_PER_ELEMENT",Re="Wrong length",qe=function(je,$e){Me(je);for(var nt=0,Ze=$e.length,rt=new je(Ze);Ze>nt;)rt[nt]=$e[nt++];return rt},Ye=function(je,$e){Ue(je,$e,{get:function(){return We(this)[$e]}})},ke=function(je){var $e;return Se(_e,je)||($e=me(je))=="ArrayBuffer"||$e=="SharedArrayBuffer"},xe=function(je,$e){return et(je)&&!ge($e)&&$e in je&&y(+$e)&&$e>=0},Ne=function($e,nt){return nt=te(nt),xe($e,nt)?z(2,$e[nt]):He($e,nt)},Be=function($e,nt,Ze){return nt=te(nt),xe($e,nt)&&ve(Ze)&&ce(Ze,"value")&&!ce(Ze,"get")&&!ce(Ze,"set")&&!Ze.configurable&&(!ce(Ze,"writable")||Ze.writable)&&(!ce(Ze,"enumerable")||Ze.enumerable)?($e[nt]=Ze.value,$e):Ue($e,nt,Ze)};de?(tt||(Pe.f=Ne,Fe.f=Be,Ye(Ke,"buffer"),Ye(Ke,"byteOffset"),Ye(Ke,"byteLength"),Ye(Ke,"length")),le({target:"Object",stat:!0,forced:!tt},{getOwnPropertyDescriptor:Ne,defineProperty:Be}),ye.exports=function(je,$e,nt){var Ze=je.match(/\d+$/)[0]/8,rt=je+(nt?"Clamped":"")+"Array",yt="get"+je,ct="set"+je,bt=ne[rt],dt=bt,ht=dt&&dt.prototype,ot={},ut=function(Bt,It){var Ht=We(Bt);return Ht.view[yt](It*Ze+Ht.byteOffset,!0)},mt=function(Bt,It,Ht){var qt=We(Bt);nt&&(Ht=(Ht=Qe(Ht))<0?0:Ht>255?255:Ht&255),qt.view[ct](It*Ze+qt.byteOffset,Ht,!0)},Ct=function(Bt,It){Ue(Bt,It,{get:function(){return ut(this,It)},set:function(Ht){return mt(this,It,Ht)},enumerable:!0})};tt?ue&&(dt=$e(function(Bt,It,Ht,qt){return re(Bt,ht),Oe(function(){return ve(It)?ke(It)?qt!==void 0?new bt(It,ee(Ht,Ze),qt):Ht!==void 0?new bt(It,ee(Ht,Ze)):new bt(It):et(It)?qe(dt,It):se(Ce,dt,It):new bt(b(It))}(),Bt,dt)}),be&&be(dt,Je),De(Ee(bt),function(Bt){Bt in dt||a(dt,Bt,bt[Bt])}),dt.prototype=ht):(dt=$e(function(Bt,It,Ht,qt){re(Bt,ht);var yn=0,In=0,En,pn,Qn;if(!ve(It))Qn=b(It),pn=Qn*Ze,En=new ze(pn);else if(ke(It)){En=It,In=ee(Ht,Ze);var Bn=It.byteLength;if(qt===void 0){if(Bn%Ze||(pn=Bn-In,pn<0))throw Ge(Re)}else if(pn=x(qt)*Ze,pn+In>Bn)throw Ge(Re);Qn=pn/Ze}else return et(It)?qe(dt,It):se(Ce,dt,It);for(Te(Bt,{buffer:En,byteOffset:In,byteLength:pn,length:Qn,view:new Ve(En)});yn1?arguments[1]:void 0,ce=te!==void 0,me=oe(b),ve,ge,pe,Se,be,Ee;if(me&&!re(me))for(be=ie(b,me),Ee=be.next,b=[];!(Se=ne(Ee,be)).done;)b.push(Se.value);for(ce&&ee>2&&(te=le(te,arguments[2])),ge=ue(b),pe=new(z(x))(ge),ve=0;ge>ve;ve++)pe[ve]=ce?te(b[ve],ve):b[ve];return pe}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,ye,he){var le=E("../internals/array-buffer-view-core"),ne=E("../internals/species-constructor"),se=le.TYPED_ARRAY_CONSTRUCTOR,de=le.aTypedArrayConstructor;ye.exports=function(ue){return de(ne(ue,ue[se]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,ye,he){var le=E("../internals/function-uncurry-this"),ne=0,se=Math.random(),de=le(1 .toString);ye.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+de(++ne+se,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,ye,he){var le=E("../internals/native-symbol");ye.exports=le&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/fails");ye.exports=le&&ne(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,ye,he){var le=E("../internals/global"),ne=le.TypeError;ye.exports=function(se,de){if(se=51||!se(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),ve=a("concat"),ge=function(Se){if(!ue(Se))return!1;var be=Se[b];return be!==void 0?!!be:de(Se)},pe=!me||!ve;le({target:"Array",proto:!0,forced:pe},{concat:function(be){var Ee=ie(this),Ce=z(Ee,0),De=0,we,Fe,Pe,Le,Oe;for(we=-1,Pe=arguments.length;weee)throw ce(te);for(Fe=0;Fe=ee)throw ce(te);re(Ce,De++,Oe)}return Ce.length=De,Ce}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,ye,he){var le=E("../internals/export"),ne=E("../internals/array-fill"),se=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{fill:ne}),se("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/array-iteration").filter,se=E("../internals/array-method-has-species-support"),de=se("filter");le({target:"Array",proto:!0,forced:!de},{filter:function(ie){return ne(this,ie,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/array-iteration").find,se=E("../internals/add-to-unscopables"),de="find",ue=!0;de in[]&&Array(1)[de](function(){ue=!1}),le({target:"Array",proto:!0,forced:ue},{find:function(oe){return ne(this,oe,arguments.length>1?arguments[1]:void 0)}}),se(de)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,ye,he){var le=E("../internals/export"),ne=E("../internals/array-from"),se=E("../internals/check-correctness-of-iteration"),de=!se(function(ue){Array.from(ue)});le({target:"Array",stat:!0,forced:de},{from:ne})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/array-includes").includes,se=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{includes:function(ue){return ne(this,ue,arguments.length>1?arguments[1]:void 0)}}),se("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,ye,he){"use strict";var le=E("../internals/to-indexed-object"),ne=E("../internals/add-to-unscopables"),se=E("../internals/iterators"),de=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ie=E("../internals/define-iterator"),oe=E("../internals/is-pure"),re=E("../internals/descriptors"),z="Array Iterator",a=de.set,y=de.getterFor(z);ye.exports=ie(Array,"Array",function(b,ee){a(this,{type:z,target:le(b),index:0,kind:ee})},function(){var b=y(this),ee=b.target,te=b.kind,ce=b.index++;return!ee||ce>=ee.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ce,done:!1}:te=="values"?{value:ee[ce],done:!1}:{value:[ce,ee[ce]],done:!1}},"values");var x=se.Arguments=se.Array;if(ne("keys"),ne("values"),ne("entries"),!oe&&re&&x.name!=="values")try{ue(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ie=ne([].join),oe=se!=Object,re=ue("join",",");le({target:"Array",proto:!0,forced:oe||!re},{join:function(a){return ie(de(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/array-iteration").map,se=E("../internals/array-method-has-species-support"),de=se("map");le({target:"Array",proto:!0,forced:!de},{map:function(ie){return ne(this,ie,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/global"),se=E("../internals/is-array"),de=E("../internals/is-constructor"),ue=E("../internals/is-object"),ie=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),re=E("../internals/to-indexed-object"),z=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),ee=a("species"),te=ne.Array,ce=Math.max;le({target:"Array",proto:!0,forced:!b},{slice:function(ve,ge){var pe=re(this),Se=oe(pe),be=ie(ve,Se),Ee=ie(ge===void 0?Se:ge,Se),Ce,De,we;if(se(pe)&&(Ce=pe.constructor,de(Ce)&&(Ce===te||se(Ce.prototype))?Ce=void 0:ue(Ce)&&(Ce=Ce[ee],Ce===null&&(Ce=void 0)),Ce===te||Ce===void 0))return x(pe,be,Ee);for(De=new(Ce===void 0?te:Ce)(ce(Ee-be,0)),we=0;be3)){if(y)return!0;if(b)return b<603;var Ee="",Ce,De,we,Fe;for(Ce=65;Ce<76;Ce++){switch(De=String.fromCharCode(Ce),Ce){case 66:case 69:case 70:case 72:we=3;break;case 68:case 71:we=4;break;default:we=2}for(Fe=0;Fe<47;Fe++)ee.push({k:De+Fe,v:we})}for(ee.sort(function(Pe,Le){return Le.v-Pe.v}),Fe=0;Feie(De)?1:-1}};le({target:"Array",proto:!0,forced:Se},{sort:function(Ce){Ce!==void 0&&se(Ce);var De=de(this);if(pe)return Ce===void 0?te(De):te(De,Ce);var we=[],Fe=ue(De),Pe,Le;for(Le=0;Leee)throw y(te);for(De=oe(ge,Ce),we=0;wepe-Ce+Ee;we--)delete ge[we-1]}else if(Ee>Ce)for(we=pe-Ce;we>Se;we--)Fe=we+Ce-1,Pe=we+Ee-1,Fe in ge?ge[Pe]=ge[Fe]:delete ge[Pe];for(we=0;we2){if(Oe=ce(Oe),We=be(Oe,0),We===43||We===45){if(Te=be(Oe,2),Te===88||Te===120)return NaN}else if(We===48){switch(be(Oe,1)){case 66:case 98:Ue=2,He=49;break;case 79:case 111:Ue=8,He=55;break;default:return+Oe}for(Qe=Se(Oe,2),Ge=Qe.length,ze=0;zeHe)return NaN;return parseInt(Qe,Ue)}}return+Oe};if(de(me,!ve(" 0o1")||!ve("0b1")||ve("+0x1"))){for(var De=function(Oe){var We=arguments.length<1?0:ve(Ee(Oe)),Te=this;return re(ge,Te)&&y(function(){te(Te)})?oe(Object(We),Te,De):We},we=le?x(ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Fe=0,Pe;we.length>Fe;Fe++)ie(ve,Pe=we[Fe])&&!ie(De,Pe)&&ee(De,Pe,b(ve,Pe));De.prototype=ge,ge.constructor=De,ue(ne,me,De)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,ye,he){var le=E("../internals/export"),ne=E("../internals/object-assign");le({target:"Object",stat:!0,forced:Object.assign!==ne},{assign:ne})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,ye,he){var le=E("../internals/export"),ne=E("../internals/object-to-array").entries;le({target:"Object",stat:!0},{entries:function(de){return ne(de)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,ye,he){var le=E("../internals/export"),ne=E("../internals/native-symbol"),se=E("../internals/fails"),de=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ie=!ne||se(function(){de.f(1)});le({target:"Object",stat:!0,forced:ie},{getOwnPropertySymbols:function(re){var z=de.f;return z?z(ue(re)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,ye,he){var le=E("../internals/export"),ne=E("../internals/to-object"),se=E("../internals/object-keys"),de=E("../internals/fails"),ue=de(function(){se(1)});le({target:"Object",stat:!0,forced:ue},{keys:function(oe){return se(ne(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,ye,he){var le=E("../internals/to-string-tag-support"),ne=E("../internals/redefine"),se=E("../internals/object-to-string");le||ne(Object.prototype,"toString",se,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ie=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:oe},{all:function(z){var a=this,y=de.f(a),x=y.resolve,b=y.reject,ee=ue(function(){var te=se(a.resolve),ce=[],me=0,ve=1;ie(z,function(ge){var pe=me++,Se=!1;ve++,ne(te,a,ge).then(function(be){Se||(Se=!0,ce[pe]=be,--ve||x(ce))},b)}),--ve||x(ce)});return ee.error&&b(ee.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/is-pure"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-native-constructor"),ue=E("../internals/get-built-in"),ie=E("../internals/is-callable"),oe=E("../internals/redefine"),re=de&&de.prototype;if(le({target:"Promise",proto:!0,forced:se,real:!0},{catch:function(a){return this.then(void 0,a)}}),!ne&&ie(de)){var z=ue("Promise").prototype.catch;re.catch!==z&&oe(re,"catch",z,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/is-pure"),se=E("../internals/engine-is-node"),de=E("../internals/global"),ue=E("../internals/function-call"),ie=E("../internals/redefine"),oe=E("../internals/redefine-all"),re=E("../internals/object-set-prototype-of"),z=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),ee=E("../internals/an-instance"),te=E("../internals/species-constructor"),ce=E("../internals/task").set,me=E("../internals/microtask"),ve=E("../internals/host-report-errors"),ge=E("../internals/perform"),pe=E("../internals/queue"),Se=E("../internals/internal-state"),be=E("../internals/promise-native-constructor"),Ee=E("../internals/promise-constructor-detection"),Ce=E("../internals/new-promise-capability"),De="Promise",we=Ee.CONSTRUCTOR,Fe=Ee.REJECTION_EVENT,Pe=Ee.SUBCLASSING,Le=Se.getterFor(De),Oe=Se.set,We=be&&be.prototype,Te=be,Ue=We,He=de.TypeError,Qe=de.document,Ge=de.process,ze=Ce.f,_e=ze,Ve=!!(Qe&&Qe.createEvent&&de.dispatchEvent),tt="unhandledrejection",Xe="rejectionhandled",lt=0,Je=1,Ke=2,Me=1,et=2,Ie,Re,qe,Ye,ke=function(ct){var bt;return b(ct)&&x(bt=ct.then)?bt:!1},xe=function(ct,bt){var dt=bt.value,ht=bt.state==Je,ot=ht?ct.ok:ct.fail,ut=ct.resolve,mt=ct.reject,Ct=ct.domain,Bt,It,Ht;try{ot?(ht||(bt.rejection===et&&nt(bt),bt.rejection=Me),ot===!0?Bt=dt:(Ct&&Ct.enter(),Bt=ot(dt),Ct&&(Ct.exit(),Ht=!0)),Bt===ct.promise?mt(He("Promise-chain cycle")):(It=ke(Bt))?ue(It,Bt,ut,mt):ut(Bt)):mt(dt)}catch(qt){Ct&&!Ht&&Ct.exit(),mt(qt)}},Ne=function(ct,bt){ct.notified||(ct.notified=!0,me(function(){for(var dt=ct.reactions,ht;ht=dt.get();)xe(ht,ct);ct.notified=!1,bt&&!ct.rejection&&je(ct)}))},Be=function(ct,bt,dt){var ht,ot;Ve?(ht=Qe.createEvent("Event"),ht.promise=bt,ht.reason=dt,ht.initEvent(ct,!1,!0),de.dispatchEvent(ht)):ht={promise:bt,reason:dt},!Fe&&(ot=de["on"+ct])?ot(ht):ct===tt&&ve("Unhandled promise rejection",dt)},je=function(ct){ue(ce,de,function(){var bt=ct.facade,dt=ct.value,ht=$e(ct),ot;if(ht&&(ot=ge(function(){se?Ge.emit("unhandledRejection",dt,bt):Be(tt,bt,dt)}),ct.rejection=se||$e(ct)?et:Me,ot.error))throw ot.value})},$e=function(ct){return ct.rejection!==Me&&!ct.parent},nt=function(ct){ue(ce,de,function(){var bt=ct.facade;se?Ge.emit("rejectionHandled",bt):Be(Xe,bt,ct.value)})},Ze=function(ct,bt,dt){return function(ht){ct(bt,ht,dt)}},rt=function(ct,bt,dt){ct.done||(ct.done=!0,dt&&(ct=dt),ct.value=bt,ct.state=Ke,Ne(ct,!0))},yt=function(ct,bt,dt){if(!ct.done){ct.done=!0,dt&&(ct=dt);try{if(ct.facade===bt)throw He("Promise can't be resolved itself");var ht=ke(bt);ht?me(function(){var ot={done:!1};try{ue(ht,bt,Ze(yt,ot,ct),Ze(rt,ot,ct))}catch(ut){rt(ot,ut,ct)}}):(ct.value=bt,ct.state=Je,Ne(ct,!1))}catch(ot){rt({done:!1},ot,ct)}}};if(we&&(Te=function(bt){ee(this,Ue),y(bt),ue(Ie,this);var dt=Le(this);try{bt(Ze(yt,dt),Ze(rt,dt))}catch(ht){rt(dt,ht)}},Ue=Te.prototype,Ie=function(bt){Oe(this,{type:De,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:lt,value:void 0})},Ie.prototype=oe(Ue,{then:function(bt,dt){var ht=Le(this),ot=ze(te(this,Te));return ht.parent=!0,ot.ok=x(bt)?bt:!0,ot.fail=x(dt)&&dt,ot.domain=se?Ge.domain:void 0,ht.state==lt?ht.reactions.add(ot):me(function(){xe(ot,ht)}),ot.promise}}),Re=function(){var ct=new Ie,bt=Le(ct);this.promise=ct,this.resolve=Ze(yt,bt),this.reject=Ze(rt,bt)},Ce.f=ze=function(ct){return ct===Te||ct===qe?new Re(ct):_e(ct)},!ne&&x(be)&&We!==Object.prototype)){Ye=We.then,Pe||ie(We,"then",function(bt,dt){var ht=this;return new Te(function(ot,ut){ue(Ye,ht,ot,ut)}).then(bt,dt)},{unsafe:!0});try{delete We.constructor}catch(ct){}re&&re(We,Ue)}le({global:!0,wrap:!0,forced:we},{Promise:Te}),z(Te,De,!1,!0),a(De)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,ye,he){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ie=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:oe},{race:function(z){var a=this,y=de.f(a),x=y.reject,b=ue(function(){var ee=se(a.resolve);ie(z,function(te){ne(ee,a,te).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/function-call"),se=E("../internals/new-promise-capability"),de=E("../internals/promise-constructor-detection").CONSTRUCTOR;le({target:"Promise",stat:!0,forced:de},{reject:function(ie){var oe=se.f(this);return ne(oe.reject,void 0,ie),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/get-built-in"),se=E("../internals/is-pure"),de=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ie=E("../internals/promise-resolve"),oe=ne("Promise"),re=se&&!ue;le({target:"Promise",stat:!0,forced:se||ue},{resolve:function(a){return ie(re&&this===oe?de:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,ye,he){var le=E("../internals/descriptors"),ne=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-forced"),ue=E("../internals/inherit-if-required"),ie=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,re=E("../internals/object-is-prototype-of"),z=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),ee=E("../internals/redefine"),te=E("../internals/fails"),ce=E("../internals/has-own-property"),me=E("../internals/internal-state").enforce,ve=E("../internals/set-species"),ge=E("../internals/well-known-symbol"),pe=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),be=ge("match"),Ee=ne.RegExp,Ce=Ee.prototype,De=ne.SyntaxError,we=se(Ce.exec),Fe=se("".charAt),Pe=se("".replace),Le=se("".indexOf),Oe=se("".slice),We=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Te=/a/g,Ue=/a/g,He=new Ee(Te)!==Te,Qe=x.MISSED_STICKY,Ge=x.UNSUPPORTED_Y,ze=le&&(!He||Qe||pe||Se||te(function(){return Ue[be]=!1,Ee(Te)!=Te||Ee(Ue)==Ue||Ee(Te,"i")!="/a/i"})),_e=function(Je){for(var Ke=Je.length,Me=0,et="",Ie=!1,Re;Me<=Ke;Me++){if(Re=Fe(Je,Me),Re==="\\"){et+=Re+Fe(Je,++Me);continue}!Ie&&Re==="."?et+="[\\s\\S]":(Re==="["?Ie=!0:Re==="]"&&(Ie=!1),et+=Re)}return et},Ve=function(Je){for(var Ke=Je.length,Me=0,et="",Ie=[],Re={},qe=!1,Ye=!1,ke=0,xe="",Ne;Me<=Ke;Me++){if(Ne=Fe(Je,Me),Ne==="\\")Ne=Ne+Fe(Je,++Me);else if(Ne==="]")qe=!1;else if(!qe)switch(!0){case Ne==="[":qe=!0;break;case Ne==="(":we(We,Oe(Je,Me+1))&&(Me+=2,Ye=!0),et+=Ne,ke++;continue;case(Ne===">"&&Ye):if(xe===""||ce(Re,xe))throw new De("Invalid capture group name");Re[xe]=!0,Ie[Ie.length]=[xe,ke],Ye=!1,xe="";continue}Ye?xe+=Ne:et+=Ne}return[et,Ie]};if(de("RegExp",ze)){for(var tt=function(Ke,Me){var et=re(Ce,this),Ie=z(Ke),Re=Me===void 0,qe=[],Ye=Ke,ke,xe,Ne,Be,je,$e;if(!et&&Ie&&Re&&Ke.constructor===tt)return Ke;if((Ie||re(Ce,Ke))&&(Ke=Ke.source,Re&&(Me=y(Ye))),Ke=Ke===void 0?"":a(Ke),Me=Me===void 0?"":a(Me),Ye=Ke,pe&&"dotAll"in Te&&(xe=!!Me&&Le(Me,"s")>-1,xe&&(Me=Pe(Me,/s/g,""))),ke=Me,Qe&&"sticky"in Te&&(Ne=!!Me&&Le(Me,"y")>-1,Ne&&Ge&&(Me=Pe(Me,/y/g,""))),Se&&(Be=Ve(Ke),Ke=Be[0],qe=Be[1]),je=ue(Ee(Ke,Me),et?this:Ce,tt),(xe||Ne||qe.length)&&($e=me(je),xe&&($e.dotAll=!0,$e.raw=tt(_e(Ke),ke)),Ne&&($e.sticky=!0),qe.length&&($e.groups=qe)),Ke!==Ye)try{ie(je,"source",Ye===""?"(?:)":Ye)}catch(nt){}return je},Xe=oe(Ee),lt=0;Xe.length>lt;)b(tt,Ee,Xe[lt++]);Ce.constructor=tt,tt.prototype=Ce,ee(ne,"RegExp",tt)}ve("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/regexp-exec");le({target:"RegExp",proto:!0,forced:/./.exec!==ne},{exec:ne})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,ye,he){"use strict";var le=E("../internals/function-name").PROPER,ne=E("../internals/redefine"),se=E("../internals/an-object"),de=E("../internals/to-string"),ue=E("../internals/fails"),ie=E("../internals/regexp-get-flags"),oe="toString",re=RegExp.prototype,z=re[oe],a=ue(function(){return z.call({source:"a",flags:"b"})!="/a/b"}),y=le&&z.name!=oe;(a||y)&&ne(RegExp.prototype,oe,function(){var b=se(this),ee=de(b.source),te=de(ie(b));return"/"+ee+"/"+te},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,ye,he){"use strict";var le=E("../internals/export"),ne=E("../internals/function-uncurry-this"),se=E("../internals/not-a-regexp"),de=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ie=E("../internals/correct-is-regexp-logic"),oe=ne("".indexOf);le({target:"String",proto:!0,forced:!ie("includes")},{includes:function(z){return!!~oe(ue(de(this)),ue(se(z)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,ye,he){"use strict";var le=E("../internals/string-multibyte").charAt,ne=E("../internals/to-string"),se=E("../internals/internal-state"),de=E("../internals/define-iterator"),ue="String Iterator",ie=se.set,oe=se.getterFor(ue);de(String,"String",function(re){ie(this,{type:ue,string:ne(re),index:0})},function(){var z=oe(this),a=z.string,y=z.index,x;return y>=a.length?{value:void 0,done:!0}:(x=le(a,y),z.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,ye,he){"use strict";var le=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/to-length"),ue=E("../internals/to-string"),ie=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),re=E("../internals/advance-string-index"),z=E("../internals/regexp-exec-abstract");ne("match",function(a,y,x){return[function(ee){var te=ie(this),ce=ee==null?void 0:oe(ee,a);return ce?le(ce,ee,te):new RegExp(ee)[a](ue(te))},function(b){var ee=se(this),te=ue(b),ce=x(y,ee,te);if(ce.done)return ce.value;if(!ee.global)return z(ee,te);var me=ee.unicode;ee.lastIndex=0;for(var ve=[],ge=0,pe;(pe=z(ee,te))!==null;){var Se=ue(pe[0]);ve[ge]=Se,Se===""&&(ee.lastIndex=re(te,de(ee.lastIndex),me)),ge++}return ge===0?null:ve}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,ye,he){"use strict";var le=E("../internals/function-apply"),ne=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/fails"),ie=E("../internals/an-object"),oe=E("../internals/is-callable"),re=E("../internals/to-integer-or-infinity"),z=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),ee=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),ce=E("../internals/well-known-symbol"),me=ce("replace"),ve=Math.max,ge=Math.min,pe=se([].concat),Se=se([].push),be=se("".indexOf),Ee=se("".slice),Ce=function(Pe){return Pe===void 0?Pe:String(Pe)},De=function(){return"a".replace(/./,"$0")==="$0"}(),we=function(){return/./[me]?/./[me]("a","$0")==="":!1}(),Fe=!ue(function(){var Pe=/./;return Pe.exec=function(){var Le=[];return Le.groups={a:"7"},Le},"".replace(Pe,"$")!=="7"});de("replace",function(Pe,Le,Oe){var We=we?"$":"$0";return[function(Ue,He){var Qe=y(this),Ge=Ue==null?void 0:b(Ue,me);return Ge?ne(Ge,Ue,Qe,He):ne(Le,a(Qe),Ue,He)},function(Te,Ue){var He=ie(this),Qe=a(Te);if(typeof Ue=="string"&&be(Ue,We)===-1&&be(Ue,"$<")===-1){var Ge=Oe(Le,He,Qe,Ue);if(Ge.done)return Ge.value}var ze=oe(Ue);ze||(Ue=a(Ue));var _e=He.global;if(_e){var Ve=He.unicode;He.lastIndex=0}for(var tt=[];;){var Xe=te(He,Qe);if(Xe===null||(Se(tt,Xe),!_e))break;var lt=a(Xe[0]);lt===""&&(He.lastIndex=x(Qe,z(He.lastIndex),Ve))}for(var Je="",Ke=0,Me=0;Me=Ke&&(Je+=Ee(Qe,Ke,Ie)+xe,Ke=Ie+et.length)}return Je+Ee(Qe,Ke)}]},!Fe||!De||we)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,ye,he){"use strict";var le=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/require-object-coercible"),ue=E("../internals/same-value"),ie=E("../internals/to-string"),oe=E("../internals/get-method"),re=E("../internals/regexp-exec-abstract");ne("search",function(z,a,y){return[function(b){var ee=de(this),te=b==null?void 0:oe(b,z);return te?le(te,b,ee):new RegExp(b)[z](ie(ee))},function(x){var b=se(this),ee=ie(x),te=y(a,b,ee);if(te.done)return te.value;var ce=b.lastIndex;ue(ce,0)||(b.lastIndex=0);var me=re(b,ee);return ue(b.lastIndex,ce)||(b.lastIndex=ce),me===null?-1:me.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,ye,he){"use strict";var le=E("../internals/function-apply"),ne=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/is-regexp"),ie=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),re=E("../internals/species-constructor"),z=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),ee=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),ce=E("../internals/regexp-sticky-helpers"),me=E("../internals/fails"),ve=ce.UNSUPPORTED_Y,ge=4294967295,pe=Math.min,Se=[].push,be=se(/./.exec),Ee=se(Se),Ce=se("".slice),De=!me(function(){var we=/(?:)/,Fe=we.exec;we.exec=function(){return Fe.apply(this,arguments)};var Pe="ab".split(we);return Pe.length!==2||Pe[0]!=="a"||Pe[1]!=="b"});de("split",function(we,Fe,Pe){var Le;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Le=function(Oe,We){var Te=y(oe(this)),Ue=We===void 0?ge:We>>>0;if(Ue===0)return[];if(Oe===void 0)return[Te];if(!ue(Oe))return ne(Fe,Te,Oe,Ue);for(var He=[],Qe=(Oe.ignoreCase?"i":"")+(Oe.multiline?"m":"")+(Oe.unicode?"u":"")+(Oe.sticky?"y":""),Ge=0,ze=new RegExp(Oe.source,Qe+"g"),_e,Ve,tt;(_e=ne(te,ze,Te))&&(Ve=ze.lastIndex,!(Ve>Ge&&(Ee(He,Ce(Te,Ge,_e.index)),_e.length>1&&_e.index=Ue)));)ze.lastIndex===_e.index&&ze.lastIndex++;return Ge===Te.length?(tt||!be(ze,""))&&Ee(He,""):Ee(He,Ce(Te,Ge)),He.length>Ue?b(He,0,Ue):He}:"0".split(void 0,0).length?Le=function(Oe,We){return Oe===void 0&&We===0?[]:ne(Fe,this,Oe,We)}:Le=Fe,[function(We,Te){var Ue=oe(this),He=We==null?void 0:x(We,we);return He?ne(He,We,Ue,Te):ne(Le,y(Ue),We,Te)},function(Oe,We){var Te=ie(this),Ue=y(Oe),He=Pe(Le,Te,Ue,We,Le!==Fe);if(He.done)return He.value;var Qe=re(Te,RegExp),Ge=Te.unicode,ze=(Te.ignoreCase?"i":"")+(Te.multiline?"m":"")+(Te.unicode?"u":"")+(ve?"g":"y"),_e=new Qe(ve?"^(?:"+Te.source+")":Te,ze),Ve=We===void 0?ge:We>>>0;if(Ve===0)return[];if(Ue.length===0)return ee(_e,Ue)===null?[Ue]:[];for(var tt=0,Xe=0,lt=[];Xe2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").every,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("every",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/function-call"),se=E("../internals/array-fill"),de=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("fill",function(oe){var re=arguments.length;return ne(se,de(this),oe,re>1?arguments[1]:void 0,re>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").filter,se=E("../internals/typed-array-from-species-and-list"),de=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("filter",function(oe){var re=ne(de(this),oe,arguments.length>1?arguments[1]:void 0);return se(this,re)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").findIndex,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("findIndex",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").find,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("find",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").forEach,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("forEach",function(ie){ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").includes,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("includes",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").indexOf,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("indexOf",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,ye,he){"use strict";var le=E("../internals/global"),ne=E("../internals/fails"),se=E("../internals/function-uncurry-this"),de=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ie=E("../internals/well-known-symbol"),oe=ie("iterator"),re=le.Uint8Array,z=se(ue.values),a=se(ue.keys),y=se(ue.entries),x=de.aTypedArray,b=de.exportTypedArrayMethod,ee=re&&re.prototype,te=!ne(function(){ee[oe].call([1])}),ce=!!ee&&ee.values&&ee[oe]===ee.values&&ee.values.name==="values",me=function(){return z(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",me,te||!ce,{name:"values"}),b(oe,me,te||!ce,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/function-uncurry-this"),se=le.aTypedArray,de=le.exportTypedArrayMethod,ue=ne([].join);de("join",function(oe){return ue(se(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/function-apply"),se=E("../internals/array-last-index-of"),de=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("lastIndexOf",function(oe){var re=arguments.length;return ne(se,de(this),re>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").map,se=E("../internals/typed-array-species-constructor"),de=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("map",function(oe){return ne(de(this),oe,arguments.length>1?arguments[1]:void 0,function(re,z){return new(se(re))(z)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").right,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("reduceRight",function(ie){var oe=arguments.length;return ne(se(this),ie,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").left,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("reduce",function(ie){var oe=arguments.length;return ne(se(this),ie,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=le.aTypedArray,se=le.exportTypedArrayMethod,de=Math.floor;se("reverse",function(){for(var ie=this,oe=ne(ie).length,re=de(oe/2),z=0,a;z1?arguments[1]:void 0,1),ge=ie(me);if(ee)return ne(y,this,ge,ve);var pe=this.length,Se=de(ge),be=0;if(Se+ve>pe)throw re("Wrong length");for(;beb;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").some,se=le.aTypedArray,de=le.exportTypedArrayMethod;de("some",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,ye,he){"use strict";var le=E("../internals/global"),ne=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/a-callable"),ue=E("../internals/array-sort"),ie=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),re=E("../internals/engine-is-ie-or-edge"),z=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ie.aTypedArray,x=ie.exportTypedArrayMethod,b=le.Uint16Array,ee=b&&ne(b.prototype.sort),te=!!ee&&!(se(function(){ee(new b(2),null)})&&se(function(){ee(new b(2),{})})),ce=!!ee&&!se(function(){if(z)return z<74;if(oe)return oe<67;if(re)return!0;if(a)return a<602;var ve=new b(516),ge=Array(516),pe,Se;for(pe=0;pe<516;pe++)Se=pe%4,ve[pe]=515-pe,ge[pe]=pe-2*Se+3;for(ee(ve,function(be,Ee){return(be/4|0)-(Ee/4|0)}),pe=0;pe<516;pe++)if(ve[pe]!==ge[pe])return!0}),me=function(ve){return function(ge,pe){return ve!==void 0?+ve(ge,pe)||0:pe!==pe?-1:ge!==ge?1:ge===0&&pe===0?1/ge>0&&1/pe<0?1:-1:ge>pe}};x("sort",function(ge){return ge!==void 0&&de(ge),ce?ee(this,ge):ue(y(this),me(ge))},!ce||te)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core"),ne=E("../internals/to-length"),se=E("../internals/to-absolute-index"),de=E("../internals/typed-array-species-constructor"),ue=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("subarray",function(re,z){var a=ue(this),y=a.length,x=se(re,y),b=de(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,ne((z===void 0?y:se(z,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,ye,he){"use strict";var le=E("../internals/global"),ne=E("../internals/function-apply"),se=E("../internals/array-buffer-view-core"),de=E("../internals/fails"),ue=E("../internals/array-slice"),ie=le.Int8Array,oe=se.aTypedArray,re=se.exportTypedArrayMethod,z=[].toLocaleString,a=!!ie&&de(function(){z.call(new ie(1))}),y=de(function(){return[1,2].toLocaleString()!=new ie([1,2]).toLocaleString()})||!de(function(){ie.prototype.toLocaleString.call([1,2])});re("toLocaleString",function(){return ne(z,a?ue(oe(this)):oe(this),ue(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,ye,he){"use strict";var le=E("../internals/array-buffer-view-core").exportTypedArrayMethod,ne=E("../internals/fails"),se=E("../internals/global"),de=E("../internals/function-uncurry-this"),ue=se.Uint8Array,ie=ue&&ue.prototype||{},oe=[].toString,re=de([].join);ne(function(){oe.call({})})&&(oe=function(){return re(this)});var z=ie.toString!=oe;le("toString",oe,z)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,ye,he){var le=E("../internals/typed-array-constructor");le("Uint8",function(ne){return function(de,ue,ie){return ne(this,de,ue,ie)}})},{"../internals/typed-array-constructor":258}],339:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ie=function(re){if(re&&re.forEach!==de)try{ue(re,"forEach",de)}catch(z){re.forEach=de}};for(var oe in ne)ne[oe]&&ie(le[oe]&&le[oe].prototype);ie(se)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,ye,he){var le=E("../internals/global"),ne=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ie=E("../internals/well-known-symbol"),oe=ie("iterator"),re=ie("toStringTag"),z=de.values,a=function(x,b){if(x){if(x[oe]!==z)try{ue(x,oe,z)}catch(te){x[oe]=z}if(x[re]||ue(x,re,b),ne[b]){for(var ee in de)if(x[ee]!==de[ee])try{ue(x,ee,de[ee])}catch(te){x[ee]=de[ee]}}}};for(var y in ne)a(le[y]&&le[y].prototype,y);a(se,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,ye,he){function le(ce){return Array.isArray?Array.isArray(ce):te(ce)==="[object Array]"}he.isArray=le;function ne(ce){return typeof ce=="boolean"}he.isBoolean=ne;function se(ce){return ce===null}he.isNull=se;function de(ce){return ce==null}he.isNullOrUndefined=de;function ue(ce){return typeof ce=="number"}he.isNumber=ue;function ie(ce){return typeof ce=="string"}he.isString=ie;function oe(ce){return typeof ce=="symbol"}he.isSymbol=oe;function re(ce){return ce===void 0}he.isUndefined=re;function z(ce){return te(ce)==="[object RegExp]"}he.isRegExp=z;function a(ce){return typeof ce=="object"&&ce!==null}he.isObject=a;function y(ce){return te(ce)==="[object Date]"}he.isDate=y;function x(ce){return te(ce)==="[object Error]"||ce instanceof Error}he.isError=x;function b(ce){return typeof ce=="function"}he.isFunction=b;function ee(ce){return ce===null||typeof ce=="boolean"||typeof ce=="number"||typeof ce=="string"||typeof ce=="symbol"||typeof ce=="undefined"}he.isPrimitive=ee,he.isBuffer=E("buffer").Buffer.isBuffer;function te(ce){return Object.prototype.toString.call(ce)}},{buffer:90}],342:[function(E,ye,he){(function(le){"use strict";var ne=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,re=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,z=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ie(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(ne.masks[y]||y||ne.masks.default);var ee=y.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(y=y.slice(4),x=!0,ee==="GMT:"&&(b=!0));var te=x?"getUTC":"get",ce=a[te+"Date"](),me=a[te+"Day"](),ve=a[te+"Month"](),ge=a[te+"FullYear"](),pe=a[te+"Hours"](),Se=a[te+"Minutes"](),be=a[te+"Seconds"](),Ee=a[te+"Milliseconds"](),Ce=x?0:a.getTimezoneOffset(),De=de(a),we=ue(a),Fe={d:ce,dd:se(ce),ddd:ne.i18n.dayNames[me],dddd:ne.i18n.dayNames[me+7],m:ve+1,mm:se(ve+1),mmm:ne.i18n.monthNames[ve],mmmm:ne.i18n.monthNames[ve+12],yy:String(ge).slice(2),yyyy:ge,h:pe%12||12,hh:se(pe%12||12),H:pe,HH:se(pe),M:Se,MM:se(Se),s:be,ss:se(be),l:se(Ee,3),L:se(Math.round(Ee/10)),t:pe<12?"a":"p",tt:pe<12?"am":"pm",T:pe<12?"A":"P",TT:pe<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(re)||[""]).pop().replace(z,""),o:(Ce>0?"-":"+")+se(Math.floor(Math.abs(Ce)/60)*100+Math.abs(Ce)%60,4),S:["th","st","nd","rd"][ce%10>3?0:(ce%100-ce%10!=10)*ce%10],W:De,N:we};return y.replace(oe,function(Pe){return Pe in Fe?Fe[Pe]:Pe.slice(1,Pe.length-1)})}}();ne.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},ne.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function se(oe,re){for(oe=String(oe),re=re||2;oe.length]/;ye.exports=ne;function ne(se){var de=""+se,ue=le.exec(de);if(!ue)return de;var ie,oe="",re=0,z=0;for(re=ue.index;re0&&(Fe=Ee[0]),Fe instanceof Error)throw Fe;var Pe=new Error("Unhandled error."+(Fe?" ("+Fe.message+")":""));throw Pe.context=Fe,Pe}var Le=we[be];if(Le===void 0)return!1;if(typeof Le=="function")ne(Le,this,Ee);else for(var Oe=Le.length,We=te(Le,Oe),Ce=0;Ce0&&Fe.length>De&&!Fe.warned){Fe.warned=!0;var Pe=new Error("Possible EventEmitter memory leak detected. "+Fe.length+" "+String(be)+" listeners added. Use emitter.setMaxListeners() to increase limit");Pe.name="MaxListenersExceededWarning",Pe.emitter=Se,Pe.type=be,Pe.count=Fe.length,de(Pe)}return Se}ie.prototype.addListener=function(be,Ee){return a(this,be,Ee,!1)},ie.prototype.on=ie.prototype.addListener,ie.prototype.prependListener=function(be,Ee){return a(this,be,Ee,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(Se,be,Ee){var Ce={fired:!1,wrapFn:void 0,target:Se,type:be,listener:Ee},De=y.bind(Ce);return De.listener=Ee,Ce.wrapFn=De,De}ie.prototype.once=function(be,Ee){return re(Ee),this.on(be,x(this,be,Ee)),this},ie.prototype.prependOnceListener=function(be,Ee){return re(Ee),this.prependListener(be,x(this,be,Ee)),this},ie.prototype.removeListener=function(be,Ee){var Ce,De,we,Fe,Pe;if(re(Ee),De=this._events,De===void 0)return this;if(Ce=De[be],Ce===void 0)return this;if(Ce===Ee||Ce.listener===Ee)--this._eventsCount===0?this._events=Object.create(null):(delete De[be],De.removeListener&&this.emit("removeListener",be,Ce.listener||Ee));else if(typeof Ce!="function"){for(we=-1,Fe=Ce.length-1;Fe>=0;Fe--)if(Ce[Fe]===Ee||Ce[Fe].listener===Ee){Pe=Ce[Fe].listener,we=Fe;break}if(we<0)return this;we===0?Ce.shift():ce(Ce,we),Ce.length===1&&(De[be]=Ce[0]),De.removeListener!==void 0&&this.emit("removeListener",be,Pe||Ee)}return this},ie.prototype.off=ie.prototype.removeListener,ie.prototype.removeAllListeners=function(be){var Ee,Ce,De;if(Ce=this._events,Ce===void 0)return this;if(Ce.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Ce[be]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Ce[be]),this;if(arguments.length===0){var we=Object.keys(Ce),Fe;for(De=0;De=0;De--)this.removeListener(be,Ee[De]);return this};function b(Se,be,Ee){var Ce=Se._events;if(Ce===void 0)return[];var De=Ce[be];return De===void 0?[]:typeof De=="function"?Ee?[De.listener||De]:[De]:Ee?me(De):te(De,De.length)}ie.prototype.listeners=function(be){return b(this,be,!0)},ie.prototype.rawListeners=function(be){return b(this,be,!1)},ie.listenerCount=function(Se,be){return typeof Se.listenerCount=="function"?Se.listenerCount(be):ee.call(Se,be)},ie.prototype.listenerCount=ee;function ee(Se){var be=this._events;if(be!==void 0){var Ee=be[Se];if(typeof Ee=="function")return 1;if(Ee!==void 0)return Ee.length}return 0}ie.prototype.eventNames=function(){return this._eventsCount>0?se(this._events):[]};function te(Se,be){for(var Ee=new Array(be),Ce=0;Ce=3&&(x=y),ne.call(z)==="[object Array]"?de(z,a,x):typeof z=="string"?ue(z,a,x):ie(z,a,x)};ye.exports=oe},{"is-callable":367}],346:[function(E,ye,he){"use strict";var le="Function.prototype.bind called on incompatible ",ne=Array.prototype.slice,se=Object.prototype.toString,de="[object Function]";ye.exports=function(ie){var oe=this;if(typeof oe!="function"||se.call(oe)!==de)throw new TypeError(le+oe);for(var re=ne.call(arguments,1),z,a=function(){if(this instanceof z){var te=oe.apply(this,re.concat(ne.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ie,re.concat(ne.call(arguments)))},y=Math.max(0,oe.length-re.length),x=[],b=0;b1&&typeof We!="boolean")throw new de('"allowMissing" argument must be a boolean');if(Ce(/^%?[^%]*%?$/,Oe)===null)throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Te=Fe(Oe),Ue=Te.length>0?Te[0]:"",He=Pe("%"+Ue+"%",We),Qe=He.name,Ge=He.value,ze=!1,_e=He.alias;_e&&(Ue=_e[0],Se(Te,pe([0,1],_e)));for(var Ve=1,tt=!0;Ve=Te.length){var Ke=ie(Ge,Xe);tt=!!Ke,tt&&"get"in Ke&&!("originalValue"in Ke.get)?Ge=Ke.get:Ge=Ge[Xe]}else tt=ge(Ge,Xe),Ge=Ge[Xe];tt&&!ze&&(ee[Qe]=Ge)}}return Ge}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,ye,he){"use strict";var le=E("get-intrinsic"),ne=le("%Object.getOwnPropertyDescriptor%",!0);if(ne)try{ne([],"length")}catch(se){ne=null}ye.exports=ne},{"get-intrinsic":348}],350:[function(E,ye,he){"use strict";var le={foo:{}},ne=Object;ye.exports=function(){return{__proto__:le}.foo===le.foo&&!({__proto__:null}instanceof ne)}},{}],351:[function(E,ye,he){"use strict";var le=typeof Symbol!="undefined"&&Symbol,ne=E("./shams");ye.exports=function(){return typeof le!="function"||typeof Symbol!="function"||typeof le("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ne()}},{"./shams":352}],352:[function(E,ye,he){"use strict";ye.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ne={},se=Symbol("test"),de=Object(se);if(typeof se=="string"||Object.prototype.toString.call(se)!=="[object Symbol]"||Object.prototype.toString.call(de)!=="[object Symbol]")return!1;var ue=42;ne[se]=ue;for(se in ne)return!1;if(typeof Object.keys=="function"&&Object.keys(ne).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ne).length!==0)return!1;var ie=Object.getOwnPropertySymbols(ne);if(ie.length!==1||ie[0]!==se||!Object.prototype.propertyIsEnumerable.call(ne,se))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(ne,se);if(oe.value!==ue||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,ye,he){"use strict";var le=E("has-symbols/shams");ye.exports=function(){return le()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,ye,he){"use strict";var le=E("function-bind");ye.exports=le.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,ye,he){var le=E("http"),ne=E("url"),se=ye.exports;for(var de in le)le.hasOwnProperty(de)&&(se[de]=le[de]);se.request=function(ie,oe){return ie=ue(ie),le.request.call(this,ie,oe)},se.get=function(ie,oe){return ie=ue(ie),le.get.call(this,ie,oe)};function ue(ie){if(typeof ie=="string"&&(ie=ne.parse(ie)),ie.protocol||(ie.protocol="https:"),ie.protocol!=="https:")throw new Error('Protocol "'+ie.protocol+'" not supported. Expected "https:"');return ie}},{http:468,url:472}],356:[function(E,ye,he){"use strict";var le=E("util"),ne=E("ms");ye.exports=function(se){if(typeof se=="number")return se;var de=ne(se);if(de===void 0){var ue=new Error(le.format("humanize-ms(%j) result undefined",se));console.warn(ue.stack)}return de}},{ms:376,util:419}],357:[function(E,ye,he){he.read=function(le,ne,se,de,ue){var ie,oe,re=ue*8-de-1,z=(1<>1,y=-7,x=se?ue-1:0,b=se?-1:1,ee=le[ne+x];for(x+=b,ie=ee&(1<<-y)-1,ee>>=-y,y+=re;y>0;ie=ie*256+le[ne+x],x+=b,y-=8);for(oe=ie&(1<<-y)-1,ie>>=-y,y+=de;y>0;oe=oe*256+le[ne+x],x+=b,y-=8);if(ie===0)ie=1-a;else{if(ie===z)return oe?NaN:(ee?-1:1)*(1/0);oe=oe+Math.pow(2,de),ie=ie-a}return(ee?-1:1)*oe*Math.pow(2,ie-de)},he.write=function(le,ne,se,de,ue,ie){var oe,re,z,a=ie*8-ue-1,y=(1<>1,b=ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=de?0:ie-1,te=de?1:-1,ce=ne<0||ne===0&&1/ne<0?1:0;for(ne=Math.abs(ne),isNaN(ne)||ne===1/0?(re=isNaN(ne)?1:0,oe=y):(oe=Math.floor(Math.log(ne)/Math.LN2),ne*(z=Math.pow(2,-oe))<1&&(oe--,z*=2),oe+x>=1?ne+=b/z:ne+=b*Math.pow(2,1-x),ne*z>=2&&(oe++,z/=2),oe+x>=y?(re=0,oe=y):oe+x>=1?(re=(ne*z-1)*Math.pow(2,ue),oe=oe+x):(re=ne*Math.pow(2,x-1)*Math.pow(2,ue),oe=0));ue>=8;le[se+ee]=re&255,ee+=te,re/=256,ue-=8);for(oe=oe<0;le[se+ee]=oe&255,ee+=te,oe/=256,a-=8);le[se+ee-te]|=ce*128}},{}],358:[function(E,ye,he){"use strict";var le=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],ne,se,de=-1,ue=[],ie=!1;function oe(){!ne||!se||(ne=!1,se.length?ue=se.concat(ue):de=-1,ue.length&&re())}function re(){if(!ne){ie=!1,ne=!0;for(var ee=ue.length,te=setTimeout(oe);ee;){for(se=ue,ue=[];se&&++de1)for(var ce=1;ce=0&&se(re)!=="[object Array]"&&se(re.callee)==="[object Function]"},ie=function(){return de(arguments)}();de.isLegacyArguments=ue,ye.exports=ie?de:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,ye,he){ye.exports=function(se){return se!=null&&(le(se)||ne(se)||!!se._isBuffer)};function le(se){return!!se.constructor&&typeof se.constructor.isBuffer=="function"&&se.constructor.isBuffer(se)}function ne(se){return typeof se.readFloatLE=="function"&&typeof se.slice=="function"&&le(se.slice(0,0))}},{}],367:[function(E,ye,he){"use strict";var le=Function.prototype.toString,ne=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,se,de;if(typeof ne=="function"&&typeof Object.defineProperty=="function")try{se=Object.defineProperty({},"length",{get:function(){throw de}}),de={},ne(function(){throw 42},null,se)}catch(ge){ge!==de&&(ne=null)}else ne=null;var ue=/^\s*class\b/,ie=function(pe){try{var Se=le.call(pe);return ue.test(Se)}catch(be){return!1}},oe=function(pe){try{return ie(pe)?!1:(le.call(pe),!0)}catch(Se){return!1}},re=Object.prototype.toString,z="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,ce=!(0 in[,]),me=function(){return!1};if(typeof document=="object"){var ve=document.all;re.call(ve)===re.call(document.all)&&(me=function(pe){if((ce||!pe)&&(typeof pe=="undefined"||typeof pe=="object"))try{var Se=re.call(pe);return(Se===x||Se===b||Se===ee||Se===z)&&pe("")==null}catch(be){}return!1})}ye.exports=ne?function(pe){if(me(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;try{ne(pe,null,se)}catch(Se){if(Se!==de)return!1}return!ie(pe)&&oe(pe)}:function(pe){if(me(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;if(te)return oe(pe);if(ie(pe))return!1;var Se=re.call(pe);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(pe)}},{}],368:[function(E,ye,he){"use strict";var le=Object.prototype.toString,ne=Function.prototype.toString,se=/^\s*(?:function)?\*/,de=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ie=function(){if(!de)return!1;try{return Function("return function*() {}")()}catch(re){}},oe;ye.exports=function(z){if(typeof z!="function")return!1;if(se.test(ne.call(z)))return!0;if(!de){var a=le.call(z);return a==="[object GeneratorFunction]"}if(!ue)return!1;if(typeof oe=="undefined"){var y=ie();oe=y?ue(y):!1}return ue(z)===oe}},{"has-tostringtag/shams":353}],369:[function(E,ye,he){"use strict";var le=E("which-typed-array");ye.exports=function(se){return!!le(se)}},{"which-typed-array":420}],370:[function(E,ye,he){var le={}.toString;ye.exports=Array.isArray||function(ne){return le.call(ne)=="[object Array]"}},{}],371:[function(E,ye,he){(function(le){(function(){(function(ne,se){typeof he=="object"&&typeof ye!="undefined"?ye.exports=se(ne):typeof fe=="function"&&fe.amd?fe(se):se(ne)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof le!="undefined"?le:this,function(ne){"use strict";ne=ne||{};var se=ne.Base64,de="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(Oe){for(var We={},Te=0,Ue=Oe.length;Te>>6)+oe(128|We&63):oe(224|We>>>12&15)+oe(128|We>>>6&63)+oe(128|We&63)}else{var We=65536+(Oe.charCodeAt(0)-55296)*1024+(Oe.charCodeAt(1)-56320);return oe(240|We>>>18&7)+oe(128|We>>>12&63)+oe(128|We>>>6&63)+oe(128|We&63)}},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Oe){return Oe.replace(z,re)},y=function(Oe){var We=[0,2,1][Oe.length%3],Te=Oe.charCodeAt(0)<<16|(Oe.length>1?Oe.charCodeAt(1):0)<<8|(Oe.length>2?Oe.charCodeAt(2):0),Ue=[ue.charAt(Te>>>18),ue.charAt(Te>>>12&63),We>=2?"=":ue.charAt(Te>>>6&63),We>=1?"=":ue.charAt(Te&63)];return Ue.join("")},x=ne.btoa&&typeof ne.btoa=="function"?function(Oe){return ne.btoa(Oe)}:function(Oe){if(Oe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Oe.replace(/[\s\S]{1,3}/g,y)},b=function(Oe){return x(a(String(Oe)))},ee=function(Oe){return Oe.replace(/[+\/]/g,function(We){return We=="+"?"-":"_"}).replace(/=/g,"")},te=function(Oe,We){return We?ee(b(Oe)):b(Oe)},ce=function(Oe){return te(Oe,!0)},me;ne.Uint8Array&&(me=function(Oe,We){for(var Te="",Ue=0,He=Oe.length;Ue>>18)+ue.charAt(_e>>>12&63)+(typeof Ge!="undefined"?ue.charAt(_e>>>6&63):"=")+(typeof ze!="undefined"?ue.charAt(_e&63):"=")}return We?ee(Te):Te});var ve=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ge=function(Oe){switch(Oe.length){case 4:var We=(7&Oe.charCodeAt(0))<<18|(63&Oe.charCodeAt(1))<<12|(63&Oe.charCodeAt(2))<<6|63&Oe.charCodeAt(3),Te=We-65536;return oe((Te>>>10)+55296)+oe((Te&1023)+56320);case 3:return oe((15&Oe.charCodeAt(0))<<12|(63&Oe.charCodeAt(1))<<6|63&Oe.charCodeAt(2));default:return oe((31&Oe.charCodeAt(0))<<6|63&Oe.charCodeAt(1))}},pe=function(Oe){return Oe.replace(ve,ge)},Se=function(Oe){var We=Oe.length,Te=We%4,Ue=(We>0?ie[Oe.charAt(0)]<<18:0)|(We>1?ie[Oe.charAt(1)]<<12:0)|(We>2?ie[Oe.charAt(2)]<<6:0)|(We>3?ie[Oe.charAt(3)]:0),He=[oe(Ue>>>16),oe(Ue>>>8&255),oe(Ue&255)];return He.length-=[0,0,2,1][Te],He.join("")},be=ne.atob&&typeof ne.atob=="function"?function(Oe){return ne.atob(Oe)}:function(Oe){return Oe.replace(/\S{1,4}/g,Se)},Ee=function(Oe){return be(String(Oe).replace(/[^A-Za-z0-9\+\/]/g,""))},Ce=function(Oe){return pe(be(Oe))},De=function(Oe){return String(Oe).replace(/[-_]/g,function(We){return We=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},we=function(Oe){return Ce(De(Oe))},Fe;ne.Uint8Array&&(Fe=function(Oe){return Uint8Array.from(Ee(De(Oe)),function(We){return We.charCodeAt(0)})});var Pe=function(){var Oe=ne.Base64;return ne.Base64=se,Oe};if(ne.Base64={VERSION:de,atob:Ee,btoa:x,fromBase64:we,toBase64:te,utob:a,encode:te,encodeURI:ce,btou:pe,decode:we,noConflict:Pe,fromUint8Array:me,toUint8Array:Fe},typeof Object.defineProperty=="function"){var Le=function(Oe){return{value:Oe,enumerable:!1,writable:!0,configurable:!0}};ne.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Le(function(){return we(this)})),Object.defineProperty(String.prototype,"toBase64",Le(function(Oe){return te(this,Oe)})),Object.defineProperty(String.prototype,"toBase64URI",Le(function(){return te(this,!0)}))}}return ne.Meteor&&(Base64=ne.Base64),typeof ye!="undefined"&&ye.exports?ye.exports.Base64=ne.Base64:typeof fe=="function"&&fe.amd&&fe([],function(){return ne.Base64}),{Base64:ne.Base64}})}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,ye,he){"use strict";ye.exports=ne;var le=Object.prototype.hasOwnProperty;function ne(se,de,ue){if(!se)throw new TypeError("argument dest is required");if(!de)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(de).forEach(function(oe){if(!(!ue&&le.call(se,oe))){var re=Object.getOwnPropertyDescriptor(de,oe);Object.defineProperty(se,oe,re)}}),se}},{}],373:[function(E,ye,he){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function le(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ne=0;ne0)return oe(y);if(b==="number"&&isFinite(y))return x.long?z(y):re(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*ie;case"weeks":case"week":case"w":return b*ue;case"days":case"day":case"d":return b*de;case"hours":case"hour":case"hrs":case"hr":case"h":return b*se;case"minutes":case"minute":case"mins":case"min":case"m":return b*ne;case"seconds":case"second":case"secs":case"sec":case"s":return b*le;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function re(y){var x=Math.abs(y);return x>=de?Math.round(y/de)+"d":x>=se?Math.round(y/se)+"h":x>=ne?Math.round(y/ne)+"m":x>=le?Math.round(y/le)+"s":y+"ms"}function z(y){var x=Math.abs(y);return x>=de?a(y,x,de,"day"):x>=se?a(y,x,se,"hour"):x>=ne?a(y,x,ne,"minute"):x>=le?a(y,x,le,"second"):y+" ms"}function a(y,x,b,ee){var te=x>=b*1.5;return Math.round(y/b)+" "+ee+(te?"s":"")}},{}],377:[function(E,ye,he){"use strict";var le=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function de(ie){if(ie==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ie)}function ue(){try{if(!Object.assign)return!1;var ie=new String("abc");if(ie[5]="de",Object.getOwnPropertyNames(ie)[0]==="5")return!1;for(var oe={},re=0;re<10;re++)oe["_"+String.fromCharCode(re)]=re;var z=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(z.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}ye.exports=ue()?Object.assign:function(ie,oe){for(var re,z=de(ie),a,y=1;y2){var ee=re.lastIndexOf("/");if(ee!==re.length-1){ee===-1?(re="",z=0):(re=re.slice(0,ee),z=re.length-1-re.lastIndexOf("/")),a=b,y=0;continue}}else if(re.length===2||re.length===1){re="",z=0,a=b,y=0;continue}}oe&&(re.length>0?re+="/..":re="..",z=2)}else re.length>0?re+="/"+ie.slice(a+1,b):re=ie.slice(a+1,b),z=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return re}function de(ie,oe){var re=oe.dir||oe.root,z=oe.base||(oe.name||"")+(oe.ext||"");return re?re===oe.root?re+z:re+ie+z:z}var ue={resolve:function(){for(var oe="",re=!1,z,a=arguments.length-1;a>=-1&&!re;a--){var y;a>=0?y=arguments[a]:(z===void 0&&(z=le.cwd()),y=z),ne(y),y.length!==0&&(oe=y+"/"+oe,re=y.charCodeAt(0)===47)}return oe=se(oe,!re),re?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(ne(oe),oe.length===0)return".";var re=oe.charCodeAt(0)===47,z=oe.charCodeAt(oe.length-1)===47;return oe=se(oe,!re),oe.length===0&&!re&&(oe="."),oe.length>0&&z&&(oe+="/"),re?"/"+oe:oe},isAbsolute:function(oe){return ne(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,re=0;re0&&(oe===void 0?oe=z:oe+="/"+z)}return oe===void 0?".":ue.normalize(oe)},relative:function(oe,re){if(ne(oe),ne(re),oe===re||(oe=ue.resolve(oe),re=ue.resolve(re),oe===re))return"";for(var z=1;zte){if(re.charCodeAt(x+me)===47)return re.slice(x+me+1);if(me===0)return re.slice(x+me)}else y>te&&(oe.charCodeAt(z+me)===47?ce=me:me===0&&(ce=0));break}var ve=oe.charCodeAt(z+me),ge=re.charCodeAt(x+me);if(ve!==ge)break;ve===47&&(ce=me)}var pe="";for(me=z+ce+1;me<=a;++me)(me===a||oe.charCodeAt(me)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+re.slice(x+ce):(x+=ce,re.charCodeAt(x)===47&&++x,re.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(ne(oe),oe.length===0)return".";for(var re=oe.charCodeAt(0),z=re===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(re=oe.charCodeAt(x),re===47){if(!y){a=x;break}}else y=!1;return a===-1?z?"/":".":z&&a===1?"//":oe.slice(0,a)},basename:function(oe,re){if(re!==void 0&&typeof re!="string")throw new TypeError('"ext" argument must be a string');ne(oe);var z=0,a=-1,y=!0,x;if(re!==void 0&&re.length>0&&re.length<=oe.length){if(re.length===oe.length&&re===oe)return"";var b=re.length-1,ee=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){z=x+1;break}}else ee===-1&&(y=!1,ee=x+1),b>=0&&(te===re.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=ee))}return z===a?a=ee:a===-1&&(a=oe.length),oe.slice(z,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){z=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(z,a)}},extname:function(oe){ne(oe);for(var re=-1,z=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var ee=oe.charCodeAt(b);if(ee===47){if(!y){z=b+1;break}continue}a===-1&&(y=!1,a=b+1),ee===46?re===-1?re=b:x!==1&&(x=1):re!==-1&&(x=-1)}return re===-1||a===-1||x===0||x===1&&re===a-1&&re===z+1?"":oe.slice(re,a)},format:function(oe){if(oe===null||typeof oe!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof oe);return de("/",oe)},parse:function(oe){ne(oe);var re={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return re;var z=oe.charCodeAt(0),a=z===47,y;a?(re.root="/",y=1):y=0;for(var x=-1,b=0,ee=-1,te=!0,ce=oe.length-1,me=0;ce>=y;--ce){if(z=oe.charCodeAt(ce),z===47){if(!te){b=ce+1;break}continue}ee===-1&&(te=!1,ee=ce+1),z===46?x===-1?x=ce:me!==1&&(me=1):x!==-1&&(me=-1)}return x===-1||ee===-1||me===0||me===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&a?re.base=re.name=oe.slice(1,ee):re.base=re.name=oe.slice(b,ee)):(b===0&&a?(re.name=oe.slice(1,x),re.base=oe.slice(1,ee)):(re.name=oe.slice(b,x),re.base=oe.slice(b,ee)),re.ext=oe.slice(x,ee)),b>0?re.dir=oe.slice(0,b-1):a&&(re.dir="/"),re},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,ye.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,ye,he){(function(le){(function(){(function(){"use strict";var ne={function:!0,object:!0},se=ne[typeof window]&&window||this,de=se,ue=ne[typeof he]&&he,ie=ne[typeof ye]&&ye&&!ye.nodeType&&ye,oe=ue&&ie&&typeof le=="object"&≤oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(se=oe);var re=Math.pow(2,53)-1,z=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function ee(we){return we=String(we),we.charAt(0).toUpperCase()+we.slice(1)}function te(we,Fe,Pe){var Le={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Fe&&Pe&&/^Win/i.test(we)&&!/^Windows Phone /i.test(we)&&(Le=Le[/[\d.]+$/.exec(we)])&&(we="Windows "+Le),we=String(we),Fe&&Pe&&(we=we.replace(RegExp(Fe,"i"),Pe)),we=me(we.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),we}function ce(we,Fe){var Pe=-1,Le=we?we.length:0;if(typeof Le=="number"&&Le>-1&&Le<=re)for(;++Pe3&&"WebKit"||/\bOpera\b/.test(Ne)&&(/\bOPR\b/.test(we)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(we)&&!/^(?:Trident|EdgeHTML)$/.test(xe)&&"WebKit"||!xe&&/\bMSIE\b/i.test(we)&&($e=="Mac OS"?"Tasman":"Trident")||xe=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ne)&&"NetFront")&&(xe=[Me]),Ne=="IE"&&(Me=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(we)||0)[1])?(Ne+=" Mobile",$e="Windows Phone "+(/\+$/.test(Me)?Me:Me+".x"),Ie.unshift("desktop mode")):/\bWPDesktop\b/i.test(we)?(Ne="IE Mobile",$e="Windows Phone 8.x",Ie.unshift("desktop mode"),Ye||(Ye=(/\brv:([\d.]+)/.exec(we)||0)[1])):Ne!="IE"&&xe=="Trident"&&(Me=/\brv:([\d.]+)/.exec(we))&&(Ne&&Ie.push("identifying as "+Ne+(Ye?" "+Ye:"")),Ne="IE",Ye=Me[1]),qe){if(pe(Fe,"global"))if(_e&&(Me=_e.lang.System,et=Me.getProperty("os.arch"),$e=$e||Me.getProperty("os.name")+" "+Me.getProperty("os.version")),Ve){try{Ye=Fe.require("ringo/engine").version.join("."),Ne="RingoJS"}catch(ot){(Me=Fe.system)&&Me.global.system==Fe.system&&(Ne="Narwhal",$e||($e=Me[0].os||null))}Ne||(Ne="Rhino")}else typeof Fe.process=="object"&&!Fe.process.browser&&(Me=Fe.process)&&(typeof Me.versions=="object"&&(typeof Me.versions.electron=="string"?(Ie.push("Node "+Me.versions.node),Ne="Electron",Ye=Me.versions.electron):typeof Me.versions.nw=="string"&&(Ie.push("Chromium "+Ye,"Node "+Me.versions.node),Ne="NW.js",Ye=Me.versions.nw)),Ne||(Ne="Node.js",et=Me.arch,$e=Me.platform,Ye=/[\d.]+/.exec(Me.version),Ye=Ye?Ye[0]:null));else ge(Me=Fe.runtime)==He?(Ne="Adobe AIR",$e=Me.flash.system.Capabilities.os):ge(Me=Fe.phantom)==ze?(Ne="PhantomJS",Ye=(Me=Me.version||null)&&Me.major+"."+Me.minor+"."+Me.patch):typeof lt.documentMode=="number"&&(Me=/\bTrident\/(\d+)/i.exec(we))?(Ye=[Ye,lt.documentMode],(Me=+Me[1]+4)!=Ye[1]&&(Ie.push("IE "+Ye[1]+" mode"),xe&&(xe[1]=""),Ye[1]=Me),Ye=Ne=="IE"?String(Ye[1].toFixed(1)):Ye[0]):typeof lt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ne)&&(Ie.push("masking as "+Ne+" "+Ye),Ne="IE",Ye="11.0",xe=["Trident"],$e="Windows");$e=$e&&me($e)}if(Ye&&(Me=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ye)||/(?:alpha|beta)(?: ?\d)?/i.exec(we+";"+(qe&&Le.appMinorVersion))||/\bMinefield\b/i.test(we)&&"a")&&(Re=/b/i.test(Me)?"beta":"alpha",Ye=Ye.replace(RegExp(Me+"\\+?$"),"")+(Re=="beta"?Xe:tt)+(/\d+\+?/.exec(Me)||"")),Ne=="Fennec"||Ne=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test($e))Ne="Firefox Mobile";else if(Ne=="Maxthon"&&Ye)Ye=Ye.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Be))Be=="Xbox 360"&&($e=null),Be=="Xbox 360"&&/\bIEMobile\b/.test(we)&&Ie.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ne)||Ne&&!Be&&!/Browser|Mobi/.test(Ne))&&($e=="Windows CE"||/Mobi/i.test(we)))Ne+=" Mobile";else if(Ne=="IE"&&qe)try{Fe.external===null&&Ie.unshift("platform preview")}catch(ot){Ie.unshift("embedded")}else(/\bBlackBerry\b/.test(Be)||/\bBB10\b/.test(we))&&(Me=(RegExp(Be.replace(/ +/g," *")+"/([.\\d]+)","i").exec(we)||0)[1]||Ye)?(Me=[Me,/BB10/.test(we)],$e=(Me[1]?(Be=null,je="BlackBerry"):"Device Software")+" "+Me[0],Ye=null):this!=ve&&Be!="Wii"&&(qe&&Je||/Opera/.test(Ne)&&/\b(?:MSIE|Firefox)\b/i.test(we)||Ne=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test($e)||Ne=="IE"&&($e&&!/^Win/.test($e)&&Ye>5.5||/\bWindows XP\b/.test($e)&&Ye>8||Ye==8&&!/\bTrident\b/.test(we)))&&!z.test(Me=Ce.call(ve,we.replace(z,"")+";"))&&Me.name&&(Me="ing as "+Me.name+((Me=Me.version)?" "+Me:""),z.test(Ne)?(/\bIE\b/.test(Me)&&$e=="Mac OS"&&($e=null),Me="identify"+Me):(Me="mask"+Me,Ke?Ne=me(Ke.replace(/([a-z])([A-Z])/g,"$1 $2")):Ne="Opera",/\bIE\b/.test(Me)&&($e=null),qe||(Ye=null)),xe=["Presto"],Ie.push(Me));(Me=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(we)||0)[1])&&(Me=[parseFloat(Me.replace(/\.(\d)$/,".0$1")),Me],Ne=="Safari"&&Me[1].slice(-1)=="+"?(Ne="WebKit Nightly",Re="alpha",Ye=Me[1].slice(0,-1)):(Ye==Me[1]||Ye==(Me[2]=(/\bSafari\/([\d.]+\+?)/i.exec(we)||0)[1]))&&(Ye=null),Me[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(we)||0)[1],Me[0]==537.36&&Me[2]==537.36&&parseFloat(Me[1])>=28&&xe=="WebKit"&&(xe=["Blink"]),!qe||!Te&&!Me[1]?(xe&&(xe[1]="like Safari"),Me=(Me=Me[0],Me<400?1:Me<500?2:Me<526?3:Me<533?4:Me<534?"4+":Me<535?5:Me<537?6:Me<538?7:Me<601?8:Me<602?9:Me<604?10:Me<606?11:Me<608?12:"12")):(xe&&(xe[1]="like Chrome"),Me=Me[1]||(Me=Me[0],Me<530?1:Me<532?2:Me<532.05?3:Me<533?4:Me<534.03?5:Me<534.07?6:Me<534.1?7:Me<534.13?8:Me<534.16?9:Me<534.24?10:Me<534.3?11:Me<535.01?12:Me<535.02?"13+":Me<535.07?15:Me<535.11?16:Me<535.19?17:Me<536.05?18:Me<536.1?19:Me<537.01?20:Me<537.11?"21+":Me<537.13?23:Me<537.18?24:Me<537.24?25:Me<537.36?26:xe!="Blink"?"27":"28")),xe&&(xe[1]+=" "+(Me+=typeof Me=="number"?".x":/[.+]/.test(Me)?"":"+")),Ne=="Safari"&&(!Ye||parseInt(Ye)>45)?Ye=Me:Ne=="Chrome"&&/\bHeadlessChrome/i.test(we)&&Ie.unshift("headless")),Ne=="Opera"&&(Me=/\bzbov|zvav$/.exec($e))?(Ne+=" ",Ie.unshift("desktop mode"),Me=="zvav"?(Ne+="Mini",Ye=null):Ne+="Mobile",$e=$e.replace(RegExp(" *"+Me+"$"),"")):Ne=="Safari"&&/\bChrome\b/.exec(xe&&xe[1])?(Ie.unshift("desktop mode"),Ne="Chrome Mobile",Ye=null,/\bOS X\b/.test($e)?(je="Apple",$e="iOS 4.3+"):$e=null):/\bSRWare Iron\b/.test(Ne)&&!Ye&&(Ye=bt("Chrome")),Ye&&Ye.indexOf(Me=/[\d.]+$/.exec($e))==0&&we.indexOf("/"+Me+"-")>-1&&($e=Ee($e.replace(Me,""))),$e&&$e.indexOf(Ne)!=-1&&!RegExp(Ne+" OS").test($e)&&($e=$e.replace(RegExp(" *"+Se(Ne)+" *"),"")),xe&&!/\b(?:Avant|Nook)\b/.test(Ne)&&(/Browser|Lunascape|Maxthon/.test(Ne)||Ne!="Safari"&&/^iOS/.test($e)&&/\bSafari\b/.test(xe[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ne)&&xe[1])&&(Me=xe[xe.length-1])&&Ie.push(Me),Ie.length&&(Ie=["("+Ie.join("; ")+")"]),je&&Be&&Be.indexOf(je)<0&&Ie.push("on "+je),Be&&Ie.push((/^on /.test(Ie[Ie.length-1])?"":"on ")+Be),$e&&(Me=/ ([\d.+]+)$/.exec($e),ke=Me&&$e.charAt($e.length-Me[0].length-1)=="/",$e={architecture:32,family:Me&&!ke?$e.replace(Me[0],""):$e,version:Me?Me[1]:null,toString:function(){var ot=this.version;return this.family+(ot&&!ke?" "+ot:"")+(this.architecture==64?" 64-bit":"")}}),(Me=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(et))&&!/\bi686\b/i.test(et)?($e&&($e.architecture=64,$e.family=$e.family.replace(RegExp(" *"+Me),"")),Ne&&(/\bWOW64\b/i.test(we)||qe&&/\w(?:86|32)$/.test(Le.cpuClass||Le.platform)&&!/\bWin64; x64\b/i.test(we))&&Ie.unshift("32-bit")):$e&&/^OS X/.test($e.family)&&Ne=="Chrome"&&parseFloat(Ye)>=39&&($e.architecture=64),we||(we=null);var ht={};return ht.description=we,ht.layout=xe&&xe[0],ht.manufacturer=je,ht.name=Ne,ht.prerelease=Re,ht.product=Be,ht.ua=we,ht.version=Ne&&Ye,ht.os=$e||{architecture:null,family:null,version:null,toString:function(){return"null"}},ht.parse=Ce,ht.toString=dt,ht.version&&Ie.unshift(Ye),ht.name&&Ie.unshift(Ne),$e&&Ne&&!($e==String($e).split(" ")[0]&&($e==Ne.split(" ")[0]||Be))&&Ie.push(Be?"("+$e+")":"on "+$e),Ie.length&&(ht.description=Ie.join(" ")),ht}var De=Ce();typeof fe=="function"&&typeof fe.amd=="object"&&fe.amd?(se.platform=De,fe(function(){return De})):ue&&ie?ve(De,function(we,Fe){ue[Fe]=we}):se.platform=De}).call(this)}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,ye,he){(function(le){(function(){"use strict";typeof le=="undefined"||!le.version||le.version.indexOf("v0.")===0||le.version.indexOf("v1.")===0&&le.version.indexOf("v1.8.")!==0?ye.exports={nextTick:ne}:ye.exports=le;function ne(se,de,ue,ie){if(typeof se!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,re,z;switch(oe){case 0:case 1:return le.nextTick(se);case 2:return le.nextTick(function(){se.call(null,de)});case 3:return le.nextTick(function(){se.call(null,de,ue)});case 4:return le.nextTick(function(){se.call(null,de,ue,ie)});default:for(re=new Array(oe-1),z=0;z1)for(var ve=1;ve= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=re-z,Se=Math.floor,be=String.fromCharCode,Ee;function Ce(Ge){throw new RangeError(ge[Ge])}function De(Ge,ze){for(var _e=Ge.length,Ve=[];_e--;)Ve[_e]=ze(Ge[_e]);return Ve}function we(Ge,ze){var _e=Ge.split("@"),Ve="";_e.length>1&&(Ve=_e[0]+"@",Ge=_e[1]),Ge=Ge.replace(ve,".");var tt=Ge.split("."),Xe=De(tt,ze).join(".");return Ve+Xe}function Fe(Ge){for(var ze=[],_e=0,Ve=Ge.length,tt,Xe;_e=55296&&tt<=56319&&_e65535&&(ze-=65536,_e+=be(ze>>>10&1023|55296),ze=56320|ze&1023),_e+=be(ze),_e}).join("")}function Le(Ge){return Ge-48<10?Ge-22:Ge-65<26?Ge-65:Ge-97<26?Ge-97:re}function Oe(Ge,ze){return Ge+22+75*(Ge<26)-((ze!=0)<<5)}function We(Ge,ze,_e){var Ve=0;for(Ge=_e?Se(Ge/x):Ge>>1,Ge+=Se(Ge/ze);Ge>pe*a>>1;Ve+=re)Ge=Se(Ge/pe);return Se(Ve+(pe+1)*Ge/(Ge+y))}function Te(Ge){var ze=[],_e=Ge.length,Ve,tt=0,Xe=ee,lt=b,Je,Ke,Me,et,Ie,Re,qe,Ye,ke;for(Je=Ge.lastIndexOf(te),Je<0&&(Je=0),Ke=0;Ke=128&&Ce("not-basic"),ze.push(Ge.charCodeAt(Ke));for(Me=Je>0?Je+1:0;Me<_e;){for(et=tt,Ie=1,Re=re;Me>=_e&&Ce("invalid-input"),qe=Le(Ge.charCodeAt(Me++)),(qe>=re||qe>Se((oe-tt)/Ie))&&Ce("overflow"),tt+=qe*Ie,Ye=Re<=lt?z:Re>=lt+a?a:Re-lt,!(qeSe(oe/ke)&&Ce("overflow"),Ie*=ke;Ve=ze.length+1,lt=We(tt-et,Ve,et==0),Se(tt/Ve)>oe-Xe&&Ce("overflow"),Xe+=Se(tt/Ve),tt%=Ve,ze.splice(tt++,0,Xe)}return Pe(ze)}function Ue(Ge){var ze,_e,Ve,tt,Xe,lt,Je,Ke,Me,et,Ie,Re=[],qe,Ye,ke,xe;for(Ge=Fe(Ge),qe=Ge.length,ze=ee,_e=0,Xe=b,lt=0;lt=ze&&IeSe((oe-_e)/Ye)&&Ce("overflow"),_e+=(Je-ze)*Ye,ze=Je,lt=0;ltoe&&Ce("overflow"),Ie==ze){for(Ke=_e,Me=re;et=Me<=Xe?z:Me>=Xe+a?a:Me-Xe,!(Ke0&&a>z&&(a=z);for(var y=0;y=0?(ee=x.substr(0,b),te=x.substr(b+1)):(ee=x,te=""),ce=decodeURIComponent(ee),me=decodeURIComponent(te),le(oe,ce)?ne(oe[ce])?oe[ce].push(me):oe[ce]=[oe[ce],me]:oe[ce]=me}return oe};var ne=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{}],384:[function(E,ye,he){"use strict";var le=function(ue){switch(typeof ue){case"string":return ue;case"boolean":return ue?"true":"false";case"number":return isFinite(ue)?ue:"";default:return""}};ye.exports=function(ue,ie,oe,re){return ie=ie||"&",oe=oe||"=",ue===null&&(ue=void 0),typeof ue=="object"?se(de(ue),function(z){var a=encodeURIComponent(le(z))+oe;return ne(ue[z])?se(ue[z],function(y){return a+encodeURIComponent(le(y))}).join(ie):a+encodeURIComponent(le(ue[z]))}).join(ie):re?encodeURIComponent(le(re))+oe+encodeURIComponent(le(ue)):""};var ne=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function se(ue,ie){if(ue.map)return ue.map(ie);for(var oe=[],re=0;re0?(typeof Re!="string"&&!xe.objectMode&&Object.getPrototypeOf(Re)!==z.prototype&&(Re=y(Re)),Ye?xe.endEmitted?Ie.emit("error",new Error("stream.unshift() after end event")):Ce(Ie,xe,Re,!0):xe.ended?Ie.emit("error",new Error("stream.push() after EOF")):(xe.reading=!1,xe.decoder&&!qe?(Re=xe.decoder.write(Re),xe.objectMode||Re.length!==0?Ce(Ie,xe,Re,!1):Ue(Ie,xe)):Ce(Ie,xe,Re,!1))):Ye||(xe.reading=!1)}return we(xe)}function Ce(Ie,Re,qe,Ye){Re.flowing&&Re.length===0&&!Re.sync?(Ie.emit("data",qe),Ie.read(0)):(Re.length+=Re.objectMode?1:qe.length,Ye?Re.buffer.unshift(qe):Re.buffer.push(qe),Re.needReadable&&We(Ie)),Ue(Ie,Re)}function De(Ie,Re){var qe;return!x(Re)&&typeof Re!="string"&&Re!==void 0&&!Ie.objectMode&&(qe=new TypeError("Invalid non-string/buffer chunk")),qe}function we(Ie){return!Ie.ended&&(Ie.needReadable||Ie.length=Fe?Ie=Fe:(Ie--,Ie|=Ie>>>1,Ie|=Ie>>>2,Ie|=Ie>>>4,Ie|=Ie>>>8,Ie|=Ie>>>16,Ie++),Ie}function Le(Ie,Re){return Ie<=0||Re.length===0&&Re.ended?0:Re.objectMode?1:Ie!==Ie?Re.flowing&&Re.length?Re.buffer.head.data.length:Re.length:(Ie>Re.highWaterMark&&(Re.highWaterMark=Pe(Ie)),Ie<=Re.length?Ie:Re.ended?Re.length:(Re.needReadable=!0,0))}be.prototype.read=function(Ie){te("read",Ie),Ie=parseInt(Ie,10);var Re=this._readableState,qe=Ie;if(Ie!==0&&(Re.emittedReadable=!1),Ie===0&&Re.needReadable&&(Re.length>=Re.highWaterMark||Re.ended))return te("read: emitReadable",Re.length,Re.ended),Re.length===0&&Re.ended?Ke(this):We(this),null;if(Ie=Le(Ie,Re),Ie===0&&Re.ended)return Re.length===0&&Ke(this),null;var Ye=Re.needReadable;te("need readable",Ye),(Re.length===0||Re.length-Ie0?ke=tt(Ie,Re):ke=null,ke===null?(Re.needReadable=!0,Ie=0):Re.length-=Ie,Re.length===0&&(Re.ended||(Re.needReadable=!0),qe!==Ie&&Re.ended&&Ke(this)),ke!==null&&this.emit("data",ke),ke};function Oe(Ie,Re){if(!Re.ended){if(Re.decoder){var qe=Re.decoder.end();qe&&qe.length&&(Re.buffer.push(qe),Re.length+=Re.objectMode?1:qe.length)}Re.ended=!0,We(Ie)}}function We(Ie){var Re=Ie._readableState;Re.needReadable=!1,Re.emittedReadable||(te("emitReadable",Re.flowing),Re.emittedReadable=!0,Re.sync?se.nextTick(Te,Ie):Te(Ie))}function Te(Ie){te("emit readable"),Ie.emit("readable"),Ve(Ie)}function Ue(Ie,Re){Re.readingMore||(Re.readingMore=!0,se.nextTick(He,Ie,Re))}function He(Ie,Re){for(var qe=Re.length;!Re.reading&&!Re.flowing&&!Re.ended&&Re.length1&&et(Ye.pipes,Ie)!==-1)&&!$e&&(te("false write response, pause",qe._readableState.awaitDrain),qe._readableState.awaitDrain++,Ze=!0),qe.pause())}function yt(ht){te("onerror",ht),dt(),Ie.removeListener("error",yt),oe(Ie,"error")===0&&Ie.emit("error",ht)}pe(Ie,"error",yt);function ct(){Ie.removeListener("finish",bt),dt()}Ie.once("close",ct);function bt(){te("onfinish"),Ie.removeListener("close",ct),dt()}Ie.once("finish",bt);function dt(){te("unpipe"),qe.unpipe(Ie)}return Ie.emit("pipe",qe),Ye.flowing||(te("pipe resume"),qe.resume()),Ie};function Qe(Ie){return function(){var Re=Ie._readableState;te("pipeOnDrain",Re.awaitDrain),Re.awaitDrain&&Re.awaitDrain--,Re.awaitDrain===0&&oe(Ie,"data")&&(Re.flowing=!0,Ve(Ie))}}be.prototype.unpipe=function(Ie){var Re=this._readableState,qe={hasUnpiped:!1};if(Re.pipesCount===0)return this;if(Re.pipesCount===1)return Ie&&Ie!==Re.pipes?this:(Ie||(Ie=Re.pipes),Re.pipes=null,Re.pipesCount=0,Re.flowing=!1,Ie&&Ie.emit("unpipe",this,qe),this);if(!Ie){var Ye=Re.pipes,ke=Re.pipesCount;Re.pipes=null,Re.pipesCount=0,Re.flowing=!1;for(var xe=0;xe=Re.length?(Re.decoder?qe=Re.buffer.join(""):Re.buffer.length===1?qe=Re.buffer.head.data:qe=Re.buffer.concat(Re.length),Re.buffer.clear()):qe=Xe(Ie,Re.buffer,Re.decoder),qe}function Xe(Ie,Re,qe){var Ye;return Iexe.length?xe.length:Ie;if(Ne===xe.length?ke+=xe:ke+=xe.slice(0,Ie),Ie-=Ne,Ie===0){Ne===xe.length?(++Ye,qe.next?Re.head=qe.next:Re.head=Re.tail=null):(Re.head=qe,qe.data=xe.slice(Ne));break}++Ye}return Re.length-=Ye,ke}function Je(Ie,Re){var qe=z.allocUnsafe(Ie),Ye=Re.head,ke=1;for(Ye.data.copy(qe),Ie-=Ye.data.length;Ye=Ye.next;){var xe=Ye.data,Ne=Ie>xe.length?xe.length:Ie;if(xe.copy(qe,qe.length-Ie,0,Ne),Ie-=Ne,Ie===0){Ne===xe.length?(++ke,Ye.next?Re.head=Ye.next:Re.head=Re.tail=null):(Re.head=Ye,Ye.data=xe.slice(Ne));break}++ke}return Re.length-=ke,qe}function Ke(Ie){var Re=Ie._readableState;if(Re.length>0)throw new Error('"endReadable()" called on non-empty stream');Re.endEmitted||(Re.ended=!0,se.nextTick(Me,Re,Ie))}function Me(Ie,Re){!Ie.endEmitted&&Ie.length===0&&(Ie.endEmitted=!0,Re.readable=!1,Re.emit("end"))}function et(Ie,Re){for(var qe=0,Ye=Ie.length;qe-1?se:de.nextTick,re;pe.WritableState=ve;var z=Object.create(E("core-util-is"));z.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=ne.Uint8Array||function(){};function ee(_e){return x.from(_e)}function te(_e){return x.isBuffer(_e)||_e instanceof b}var ce=E("./internal/streams/destroy");z.inherits(pe,y);function me(){}function ve(_e,Ve){re=re||E("./_stream_duplex"),_e=_e||{};var tt=Ve instanceof re;this.objectMode=!!_e.objectMode,tt&&(this.objectMode=this.objectMode||!!_e.writableObjectMode);var Xe=_e.highWaterMark,lt=_e.writableHighWaterMark,Je=this.objectMode?16:16*1024;Xe||Xe===0?this.highWaterMark=Xe:tt&&(lt||lt===0)?this.highWaterMark=lt:this.highWaterMark=Je,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ke=_e.decodeStrings===!1;this.decodeStrings=!Ke,this.defaultEncoding=_e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Me){Pe(Ve,Me)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ie(this)}ve.prototype.getBuffer=function(){for(var Ve=this.bufferedRequest,tt=[];Ve;)tt.push(Ve),Ve=Ve.next;return tt},function(){try{Object.defineProperty(ve.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_e){}}();var ge;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ge=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(_e){return ge.call(this,_e)?!0:this!==pe?!1:_e&&_e._writableState instanceof ve}})):ge=function(_e){return _e instanceof this};function pe(_e){if(re=re||E("./_stream_duplex"),!ge.call(pe,this)&&!(this instanceof re))return new pe(_e);this._writableState=new ve(_e,this),this.writable=!0,_e&&(typeof _e.write=="function"&&(this._write=_e.write),typeof _e.writev=="function"&&(this._writev=_e.writev),typeof _e.destroy=="function"&&(this._destroy=_e.destroy),typeof _e.final=="function"&&(this._final=_e.final)),y.call(this)}pe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(_e,Ve){var tt=new Error("write after end");_e.emit("error",tt),de.nextTick(Ve,tt)}function be(_e,Ve,tt,Xe){var lt=!0,Je=!1;return tt===null?Je=new TypeError("May not write null values to stream"):typeof tt!="string"&&tt!==void 0&&!Ve.objectMode&&(Je=new TypeError("Invalid non-string/buffer chunk")),Je&&(_e.emit("error",Je),de.nextTick(Xe,Je),lt=!1),lt}pe.prototype.write=function(_e,Ve,tt){var Xe=this._writableState,lt=!1,Je=!Xe.objectMode&&te(_e);return Je&&!x.isBuffer(_e)&&(_e=ee(_e)),typeof Ve=="function"&&(tt=Ve,Ve=null),Je?Ve="buffer":Ve||(Ve=Xe.defaultEncoding),typeof tt!="function"&&(tt=me),Xe.ended?Se(this,tt):(Je||be(this,Xe,_e,tt))&&(Xe.pendingcb++,lt=Ce(this,Xe,Je,_e,Ve,tt)),lt},pe.prototype.cork=function(){var _e=this._writableState;_e.corked++},pe.prototype.uncork=function(){var _e=this._writableState;_e.corked&&(_e.corked--,!_e.writing&&!_e.corked&&!_e.finished&&!_e.bufferProcessing&&_e.bufferedRequest&&We(this,_e))},pe.prototype.setDefaultEncoding=function(Ve){if(typeof Ve=="string"&&(Ve=Ve.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ve+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ve);return this._writableState.defaultEncoding=Ve,this};function Ee(_e,Ve,tt){return!_e.objectMode&&_e.decodeStrings!==!1&&typeof Ve=="string"&&(Ve=x.from(Ve,tt)),Ve}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ce(_e,Ve,tt,Xe,lt,Je){if(!tt){var Ke=Ee(Ve,Xe,lt);Xe!==Ke&&(tt=!0,lt="buffer",Xe=Ke)}var Me=Ve.objectMode?1:Xe.length;Ve.length+=Me;var et=Ve.length0?this.tail.next=re:this.head=re,this.tail=re,++this.length},ue.prototype.unshift=function(oe){var re={data:oe,next:this.head};this.length===0&&(this.tail=re),this.head=re,++this.length},ue.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},ue.prototype.clear=function(){this.head=this.tail=null,this.length=0},ue.prototype.join=function(oe){if(this.length===0)return"";for(var re=this.head,z=""+re.data;re=re.next;)z+=oe+re.data;return z},ue.prototype.concat=function(oe){if(this.length===0)return ne.alloc(0);if(this.length===1)return this.head.data;for(var re=ne.allocUnsafe(oe>>>0),z=this.head,a=0;z;)de(z.data,re,a),a+=z.data.length,z=z.next;return re},ue}(),se&&se.inspect&&se.inspect.custom&&(ye.exports.prototype[se.inspect.custom]=function(){var ue=se.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,ye,he){"use strict";var le=E("process-nextick-args");function ne(ue,ie){var oe=this,re=this._readableState&&this._readableState.destroyed,z=this._writableState&&this._writableState.destroyed;return re||z?(ie?ie(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&le.nextTick(de,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ie&&a?(le.nextTick(de,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ie&&ie(a)}),this)}function se(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function de(ue,ie){ue.emit("error",ie)}ye.exports={destroy:ne,undestroy:se}},{"process-nextick-args":380}],393:[function(E,ye,he){ye.exports=E("events").EventEmitter},{events:344}],394:[function(E,ye,he){he=ye.exports=E("./lib/_stream_readable.js"),he.Stream=he,he.Readable=he,he.Writable=E("./lib/_stream_writable.js"),he.Duplex=E("./lib/_stream_duplex.js"),he.Transform=E("./lib/_stream_transform.js"),he.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,ye,he){var le=function(ne){"use strict";var se=Object.prototype,de=se.hasOwnProperty,ue,ie=typeof Symbol=="function"?Symbol:{},oe=ie.iterator||"@@iterator",re=ie.asyncIterator||"@@asyncIterator",z=ie.toStringTag||"@@toStringTag";function a(He,Qe,Ge){return Object.defineProperty(He,Qe,{value:Ge,enumerable:!0,configurable:!0,writable:!0}),He[Qe]}try{a({},"")}catch(He){a=function(Qe,Ge,ze){return Qe[Ge]=ze}}function y(He,Qe,Ge,ze){var _e=Qe&&Qe.prototype instanceof ve?Qe:ve,Ve=Object.create(_e.prototype),tt=new We(ze||[]);return Ve._invoke=Fe(He,Ge,tt),Ve}ne.wrap=y;function x(He,Qe,Ge){try{return{type:"normal",arg:He.call(Qe,Ge)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",ee="suspendedYield",te="executing",ce="completed",me={};function ve(){}function ge(){}function pe(){}var Se={};a(Se,oe,function(){return this});var be=Object.getPrototypeOf,Ee=be&&be(be(Te([])));Ee&&Ee!==se&&de.call(Ee,oe)&&(Se=Ee);var Ce=pe.prototype=ve.prototype=Object.create(Se);ge.prototype=pe,a(Ce,"constructor",pe),a(pe,"constructor",ge),ge.displayName=a(pe,z,"GeneratorFunction");function De(He){["next","throw","return"].forEach(function(Qe){a(He,Qe,function(Ge){return this._invoke(Qe,Ge)})})}ne.isGeneratorFunction=function(He){var Qe=typeof He=="function"&&He.constructor;return Qe?Qe===ge||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},ne.mark=function(He){return Object.setPrototypeOf?Object.setPrototypeOf(He,pe):(He.__proto__=pe,a(He,z,"GeneratorFunction")),He.prototype=Object.create(Ce),He},ne.awrap=function(He){return{__await:He}};function we(He,Qe){function Ge(Ve,tt,Xe,lt){var Je=x(He[Ve],He,tt);if(Je.type==="throw")lt(Je.arg);else{var Ke=Je.arg,Me=Ke.value;return Me&&typeof Me=="object"&&de.call(Me,"__await")?Qe.resolve(Me.__await).then(function(et){Ge("next",et,Xe,lt)},function(et){Ge("throw",et,Xe,lt)}):Qe.resolve(Me).then(function(et){Ke.value=et,Xe(Ke)},function(et){return Ge("throw",et,Xe,lt)})}}var ze;function _e(Ve,tt){function Xe(){return new Qe(function(lt,Je){Ge(Ve,tt,lt,Je)})}return ze=ze?ze.then(Xe,Xe):Xe()}this._invoke=_e}De(we.prototype),a(we.prototype,re,function(){return this}),ne.AsyncIterator=we,ne.async=function(He,Qe,Ge,ze,_e){_e===void 0&&(_e=Promise);var Ve=new we(y(He,Qe,Ge,ze),_e);return ne.isGeneratorFunction(Qe)?Ve:Ve.next().then(function(tt){return tt.done?tt.value:Ve.next()})};function Fe(He,Qe,Ge){var ze=b;return function(Ve,tt){if(ze===te)throw new Error("Generator is already running");if(ze===ce){if(Ve==="throw")throw tt;return Ue()}for(Ge.method=Ve,Ge.arg=tt;;){var Xe=Ge.delegate;if(Xe){var lt=Pe(Xe,Ge);if(lt){if(lt===me)continue;return lt}}if(Ge.method==="next")Ge.sent=Ge._sent=Ge.arg;else if(Ge.method==="throw"){if(ze===b)throw ze=ce,Ge.arg;Ge.dispatchException(Ge.arg)}else Ge.method==="return"&&Ge.abrupt("return",Ge.arg);ze=te;var Je=x(He,Qe,Ge);if(Je.type==="normal"){if(ze=Ge.done?ce:ee,Je.arg===me)continue;return{value:Je.arg,done:Ge.done}}else Je.type==="throw"&&(ze=ce,Ge.method="throw",Ge.arg=Je.arg)}}}function Pe(He,Qe){var Ge=He.iterator[Qe.method];if(Ge===ue){if(Qe.delegate=null,Qe.method==="throw"){if(He.iterator.return&&(Qe.method="return",Qe.arg=ue,Pe(He,Qe),Qe.method==="throw"))return me;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return me}var ze=x(Ge,He.iterator,Qe.arg);if(ze.type==="throw")return Qe.method="throw",Qe.arg=ze.arg,Qe.delegate=null,me;var _e=ze.arg;if(!_e)return Qe.method="throw",Qe.arg=new TypeError("iterator result is not an object"),Qe.delegate=null,me;if(_e.done)Qe[He.resultName]=_e.value,Qe.next=He.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=ue);else return _e;return Qe.delegate=null,me}De(Ce),a(Ce,z,"Generator"),a(Ce,oe,function(){return this}),a(Ce,"toString",function(){return"[object Generator]"});function Le(He){var Qe={tryLoc:He[0]};1 in He&&(Qe.catchLoc=He[1]),2 in He&&(Qe.finallyLoc=He[2],Qe.afterLoc=He[3]),this.tryEntries.push(Qe)}function Oe(He){var Qe=He.completion||{};Qe.type="normal",delete Qe.arg,He.completion=Qe}function We(He){this.tryEntries=[{tryLoc:"root"}],He.forEach(Le,this),this.reset(!0)}ne.keys=function(He){var Qe=[];for(var Ge in He)Qe.push(Ge);return Qe.reverse(),function ze(){for(;Qe.length;){var _e=Qe.pop();if(_e in He)return ze.value=_e,ze.done=!1,ze}return ze.done=!0,ze}};function Te(He){if(He){var Qe=He[oe];if(Qe)return Qe.call(He);if(typeof He.next=="function")return He;if(!isNaN(He.length)){var Ge=-1,ze=function _e(){for(;++Ge=0;--ze){var _e=this.tryEntries[ze],Ve=_e.completion;if(_e.tryLoc==="root")return Ge("end");if(_e.tryLoc<=this.prev){var tt=de.call(_e,"catchLoc"),Xe=de.call(_e,"finallyLoc");if(tt&&Xe){if(this.prev<_e.catchLoc)return Ge(_e.catchLoc,!0);if(this.prev<_e.finallyLoc)return Ge(_e.finallyLoc)}else if(tt){if(this.prev<_e.catchLoc)return Ge(_e.catchLoc,!0)}else if(Xe){if(this.prev<_e.finallyLoc)return Ge(_e.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(He,Qe){for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var ze=this.tryEntries[Ge];if(ze.tryLoc<=this.prev&&de.call(ze,"finallyLoc")&&this.prev=0;--Qe){var Ge=this.tryEntries[Qe];if(Ge.finallyLoc===He)return this.complete(Ge.completion,Ge.afterLoc),Oe(Ge),me}},catch:function(He){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Ge=this.tryEntries[Qe];if(Ge.tryLoc===He){var ze=Ge.completion;if(ze.type==="throw"){var _e=ze.arg;Oe(Ge)}return _e}}throw new Error("illegal catch attempt")},delegateYield:function(He,Qe,Ge){return this.delegate={iterator:Te(He),resultName:Qe,nextLoc:Ge},this.method==="next"&&(this.arg=ue),me}},ne}(typeof ye=="object"?ye.exports:{});try{regeneratorRuntime=le}catch(ne){typeof globalThis=="object"?globalThis.regeneratorRuntime=le:Function("r","regeneratorRuntime = r")(le)}},{}],396:[function(E,ye,he){var le=E("buffer"),ne=le.Buffer;function se(ue,ie){for(var oe in ue)ie[oe]=ue[oe]}ne.from&&ne.alloc&&ne.allocUnsafe&&ne.allocUnsafeSlow?ye.exports=le:(se(le,he),he.Buffer=de);function de(ue,ie,oe){return ne(ue,ie,oe)}se(ne,de),de.from=function(ue,ie,oe){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return ne(ue,ie,oe)},de.alloc=function(ue,ie,oe){if(typeof ue!="number")throw new TypeError("Argument must be a number");var re=ne(ue);return ie!==void 0?typeof oe=="string"?re.fill(ie,oe):re.fill(ie):re.fill(0),re},de.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return ne(ue)},de.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return le.SlowBuffer(ue)}},{buffer:90}],397:[function(E,ye,he){(function(le){(function(){(function(ne){ne.parser=function(Ke,Me){return new de(Ke,Me)},ne.SAXParser=de,ne.SAXStream=y,ne.createStream=a,ne.MAX_BUFFER_LENGTH=64*1024;var se=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ne.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function de(Ke,Me){if(!(this instanceof de))return new de(Ke,Me);var et=this;ie(et),et.q=et.c="",et.bufferCheckPosition=ne.MAX_BUFFER_LENGTH,et.opt=Me||{},et.opt.lowercase=et.opt.lowercase||et.opt.lowercasetags,et.looseCase=et.opt.lowercase?"toLowerCase":"toUpperCase",et.tags=[],et.closed=et.closedRoot=et.sawRoot=!1,et.tag=et.error=null,et.strict=!!Ke,et.noscript=!!(Ke||et.opt.noscript),et.state=we.BEGIN,et.strictEntities=et.opt.strictEntities,et.ENTITIES=et.strictEntities?Object.create(ne.XML_ENTITIES):Object.create(ne.ENTITIES),et.attribList=[],et.opt.xmlns&&(et.ns=Object.create(ce)),et.trackPosition=et.opt.position!==!1,et.trackPosition&&(et.position=et.line=et.column=0),Pe(et,"onready")}Object.create||(Object.create=function(Ke){function Me(){}Me.prototype=Ke;var et=new Me;return et}),Object.keys||(Object.keys=function(Ke){var Me=[];for(var et in Ke)Ke.hasOwnProperty(et)&&Me.push(et);return Me});function ue(Ke){for(var Me=Math.max(ne.MAX_BUFFER_LENGTH,10),et=0,Ie=0,Re=se.length;IeMe)switch(se[Ie]){case"textNode":Oe(Ke);break;case"cdata":Le(Ke,"oncdata",Ke.cdata),Ke.cdata="";break;case"script":Le(Ke,"onscript",Ke.script),Ke.script="";break;default:Te(Ke,"Max buffer length exceeded: "+se[Ie])}et=Math.max(et,qe)}var Ye=ne.MAX_BUFFER_LENGTH-et;Ke.bufferCheckPosition=Ye+Ke.position}function ie(Ke){for(var Me=0,et=se.length;Me"||Se(Ke)}function Ce(Ke,Me){return Ke.test(Me)}function De(Ke,Me){return!Ce(Ke,Me)}var we=0;ne.STATE={BEGIN:we++,BEGIN_WHITESPACE:we++,TEXT:we++,TEXT_ENTITY:we++,OPEN_WAKA:we++,SGML_DECL:we++,SGML_DECL_QUOTED:we++,DOCTYPE:we++,DOCTYPE_QUOTED:we++,DOCTYPE_DTD:we++,DOCTYPE_DTD_QUOTED:we++,COMMENT_STARTING:we++,COMMENT:we++,COMMENT_ENDING:we++,COMMENT_ENDED:we++,CDATA:we++,CDATA_ENDING:we++,CDATA_ENDING_2:we++,PROC_INST:we++,PROC_INST_BODY:we++,PROC_INST_ENDING:we++,OPEN_TAG:we++,OPEN_TAG_SLASH:we++,ATTRIB:we++,ATTRIB_NAME:we++,ATTRIB_NAME_SAW_WHITE:we++,ATTRIB_VALUE:we++,ATTRIB_VALUE_QUOTED:we++,ATTRIB_VALUE_CLOSED:we++,ATTRIB_VALUE_UNQUOTED:we++,ATTRIB_VALUE_ENTITY_Q:we++,ATTRIB_VALUE_ENTITY_U:we++,CLOSE_TAG:we++,CLOSE_TAG_SAW_WHITE:we++,SCRIPT:we++,SCRIPT_ENDING:we++},ne.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ne.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(ne.ENTITIES).forEach(function(Ke){var Me=ne.ENTITIES[Ke],et=typeof Me=="number"?String.fromCharCode(Me):Me;ne.ENTITIES[Ke]=et});for(var Fe in ne.STATE)ne.STATE[ne.STATE[Fe]]=Fe;we=ne.STATE;function Pe(Ke,Me,et){Ke[Me]&&Ke[Me](et)}function Le(Ke,Me,et){Ke.textNode&&Oe(Ke),Pe(Ke,Me,et)}function Oe(Ke){Ke.textNode=We(Ke.opt,Ke.textNode),Ke.textNode&&Pe(Ke,"ontext",Ke.textNode),Ke.textNode=""}function We(Ke,Me){return Ke.trim&&(Me=Me.trim()),Ke.normalize&&(Me=Me.replace(/\s+/g," ")),Me}function Te(Ke,Me){return Oe(Ke),Ke.trackPosition&&(Me+=` -Line: `+Ke.line+` -Column: `+Ke.column+` -Char: `+Ke.c),Me=new Error(Me),Ke.error=Me,Pe(Ke,"onerror",Me),Ke}function Ue(Ke){return Ke.sawRoot&&!Ke.closedRoot&&He(Ke,"Unclosed root tag"),Ke.state!==we.BEGIN&&Ke.state!==we.BEGIN_WHITESPACE&&Ke.state!==we.TEXT&&Te(Ke,"Unexpected end"),Oe(Ke),Ke.c="",Ke.closed=!0,Pe(Ke,"onend"),de.call(Ke,Ke.strict,Ke.opt),Ke}function He(Ke,Me){if(typeof Ke!="object"||!(Ke instanceof de))throw new Error("bad call to strictFail");Ke.strict&&Te(Ke,Me)}function Qe(Ke){Ke.strict||(Ke.tagName=Ke.tagName[Ke.looseCase]());var Me=Ke.tags[Ke.tags.length-1]||Ke,et=Ke.tag={name:Ke.tagName,attributes:{}};Ke.opt.xmlns&&(et.ns=Me.ns),Ke.attribList.length=0,Le(Ke,"onopentagstart",et)}function Ge(Ke,Me){var et=Ke.indexOf(":"),Ie=et<0?["",Ke]:Ke.split(":"),Re=Ie[0],qe=Ie[1];return Me&&Ke==="xmlns"&&(Re="xmlns",qe=""),{prefix:Re,local:qe}}function ze(Ke){if(Ke.strict||(Ke.attribName=Ke.attribName[Ke.looseCase]()),Ke.attribList.indexOf(Ke.attribName)!==-1||Ke.tag.attributes.hasOwnProperty(Ke.attribName)){Ke.attribName=Ke.attribValue="";return}if(Ke.opt.xmlns){var Me=Ge(Ke.attribName,!0),et=Me.prefix,Ie=Me.local;if(et==="xmlns")if(Ie==="xml"&&Ke.attribValue!==ee)He(Ke,"xml: prefix must be bound to "+ee+` -Actual: `+Ke.attribValue);else if(Ie==="xmlns"&&Ke.attribValue!==te)He(Ke,"xmlns: prefix must be bound to "+te+` -Actual: `+Ke.attribValue);else{var Re=Ke.tag,qe=Ke.tags[Ke.tags.length-1]||Ke;Re.ns===qe.ns&&(Re.ns=Object.create(qe.ns)),Re.ns[Ie]=Ke.attribValue}Ke.attribList.push([Ke.attribName,Ke.attribValue])}else Ke.tag.attributes[Ke.attribName]=Ke.attribValue,Le(Ke,"onattribute",{name:Ke.attribName,value:Ke.attribValue});Ke.attribName=Ke.attribValue=""}function _e(Ke,Me){if(Ke.opt.xmlns){var et=Ke.tag,Ie=Ge(Ke.tagName);et.prefix=Ie.prefix,et.local=Ie.local,et.uri=et.ns[Ie.prefix]||"",et.prefix&&!et.uri&&(He(Ke,"Unbound namespace prefix: "+JSON.stringify(Ke.tagName)),et.uri=Ie.prefix);var Re=Ke.tags[Ke.tags.length-1]||Ke;et.ns&&Re.ns!==et.ns&&Object.keys(et.ns).forEach(function(rt){Le(Ke,"onopennamespace",{prefix:rt,uri:et.ns[rt]})});for(var qe=0,Ye=Ke.attribList.length;qe",Ke.tagName="",Ke.state=we.SCRIPT;return}Le(Ke,"onscript",Ke.script),Ke.script=""}var Me=Ke.tags.length,et=Ke.tagName;Ke.strict||(et=et[Ke.looseCase]());for(var Ie=et;Me--;){var Re=Ke.tags[Me];if(Re.name!==Ie)He(Ke,"Unexpected close tag");else break}if(Me<0){He(Ke,"Unmatched closing tag: "+Ke.tagName),Ke.textNode+="",Ke.state=we.TEXT;return}Ke.tagName=et;for(var qe=Ke.tags.length;qe-- >Me;){var Ye=Ke.tag=Ke.tags.pop();Ke.tagName=Ke.tag.name,Le(Ke,"onclosetag",Ke.tagName);var ke={};for(var xe in Ye.ns)ke[xe]=Ye.ns[xe];var Ne=Ke.tags[Ke.tags.length-1]||Ke;Ke.opt.xmlns&&Ye.ns!==Ne.ns&&Object.keys(Ye.ns).forEach(function(Be){var je=Ye.ns[Be];Le(Ke,"onclosenamespace",{prefix:Be,uri:je})})}Me===0&&(Ke.closedRoot=!0),Ke.tagName=Ke.attribValue=Ke.attribName="",Ke.attribList.length=0,Ke.state=we.TEXT}function tt(Ke){var Me=Ke.entity,et=Me.toLowerCase(),Ie,Re="";return Ke.ENTITIES[Me]?Ke.ENTITIES[Me]:Ke.ENTITIES[et]?Ke.ENTITIES[et]:(Me=et,Me.charAt(0)==="#"&&(Me.charAt(1)==="x"?(Me=Me.slice(2),Ie=parseInt(Me,16),Re=Ie.toString(16)):(Me=Me.slice(1),Ie=parseInt(Me,10),Re=Ie.toString(10))),Me=Me.replace(/^0+/,""),isNaN(Ie)||Re.toLowerCase()!==Me?(He(Ke,"Invalid character entity"),"&"+Ke.entity+";"):String.fromCodePoint(Ie))}function Xe(Ke,Me){Me==="<"?(Ke.state=we.OPEN_WAKA,Ke.startTagPosition=Ke.position):Se(Me)||(He(Ke,"Non-whitespace before first tag."),Ke.textNode=Me,Ke.state=we.TEXT)}function lt(Ke,Me){var et="";return Me"?(Le(Me,"onsgmldeclaration",Me.sgmlDecl),Me.sgmlDecl="",Me.state=we.TEXT):(be(Ie)&&(Me.state=we.SGML_DECL_QUOTED),Me.sgmlDecl+=Ie);continue;case we.SGML_DECL_QUOTED:Ie===Me.q&&(Me.state=we.SGML_DECL,Me.q=""),Me.sgmlDecl+=Ie;continue;case we.DOCTYPE:Ie===">"?(Me.state=we.TEXT,Le(Me,"ondoctype",Me.doctype),Me.doctype=!0):(Me.doctype+=Ie,Ie==="["?Me.state=we.DOCTYPE_DTD:be(Ie)&&(Me.state=we.DOCTYPE_QUOTED,Me.q=Ie));continue;case we.DOCTYPE_QUOTED:Me.doctype+=Ie,Ie===Me.q&&(Me.q="",Me.state=we.DOCTYPE);continue;case we.DOCTYPE_DTD:Me.doctype+=Ie,Ie==="]"?Me.state=we.DOCTYPE:be(Ie)&&(Me.state=we.DOCTYPE_DTD_QUOTED,Me.q=Ie);continue;case we.DOCTYPE_DTD_QUOTED:Me.doctype+=Ie,Ie===Me.q&&(Me.state=we.DOCTYPE_DTD,Me.q="");continue;case we.COMMENT:Ie==="-"?Me.state=we.COMMENT_ENDING:Me.comment+=Ie;continue;case we.COMMENT_ENDING:Ie==="-"?(Me.state=we.COMMENT_ENDED,Me.comment=We(Me.opt,Me.comment),Me.comment&&Le(Me,"oncomment",Me.comment),Me.comment=""):(Me.comment+="-"+Ie,Me.state=we.COMMENT);continue;case we.COMMENT_ENDED:Ie!==">"?(He(Me,"Malformed comment"),Me.comment+="--"+Ie,Me.state=we.COMMENT):Me.state=we.TEXT;continue;case we.CDATA:Ie==="]"?Me.state=we.CDATA_ENDING:Me.cdata+=Ie;continue;case we.CDATA_ENDING:Ie==="]"?Me.state=we.CDATA_ENDING_2:(Me.cdata+="]"+Ie,Me.state=we.CDATA);continue;case we.CDATA_ENDING_2:Ie===">"?(Me.cdata&&Le(Me,"oncdata",Me.cdata),Le(Me,"onclosecdata"),Me.cdata="",Me.state=we.TEXT):Ie==="]"?Me.cdata+="]":(Me.cdata+="]]"+Ie,Me.state=we.CDATA);continue;case we.PROC_INST:Ie==="?"?Me.state=we.PROC_INST_ENDING:Se(Ie)?Me.state=we.PROC_INST_BODY:Me.procInstName+=Ie;continue;case we.PROC_INST_BODY:if(!Me.procInstBody&&Se(Ie))continue;Ie==="?"?Me.state=we.PROC_INST_ENDING:Me.procInstBody+=Ie;continue;case we.PROC_INST_ENDING:Ie===">"?(Le(Me,"onprocessinginstruction",{name:Me.procInstName,body:Me.procInstBody}),Me.procInstName=Me.procInstBody="",Me.state=we.TEXT):(Me.procInstBody+="?"+Ie,Me.state=we.PROC_INST_BODY);continue;case we.OPEN_TAG:Ce(ve,Ie)?Me.tagName+=Ie:(Qe(Me),Ie===">"?_e(Me):Ie==="/"?Me.state=we.OPEN_TAG_SLASH:(Se(Ie)||He(Me,"Invalid character in tag name"),Me.state=we.ATTRIB));continue;case we.OPEN_TAG_SLASH:Ie===">"?(_e(Me,!0),Ve(Me)):(He(Me,"Forward-slash in opening tag not followed by >"),Me.state=we.ATTRIB);continue;case we.ATTRIB:if(Se(Ie))continue;Ie===">"?_e(Me):Ie==="/"?Me.state=we.OPEN_TAG_SLASH:Ce(me,Ie)?(Me.attribName=Ie,Me.attribValue="",Me.state=we.ATTRIB_NAME):He(Me,"Invalid attribute name");continue;case we.ATTRIB_NAME:Ie==="="?Me.state=we.ATTRIB_VALUE:Ie===">"?(He(Me,"Attribute without value"),Me.attribValue=Me.attribName,ze(Me),_e(Me)):Se(Ie)?Me.state=we.ATTRIB_NAME_SAW_WHITE:Ce(ve,Ie)?Me.attribName+=Ie:He(Me,"Invalid attribute name");continue;case we.ATTRIB_NAME_SAW_WHITE:if(Ie==="=")Me.state=we.ATTRIB_VALUE;else{if(Se(Ie))continue;He(Me,"Attribute without value"),Me.tag.attributes[Me.attribName]="",Me.attribValue="",Le(Me,"onattribute",{name:Me.attribName,value:""}),Me.attribName="",Ie===">"?_e(Me):Ce(me,Ie)?(Me.attribName=Ie,Me.state=we.ATTRIB_NAME):(He(Me,"Invalid attribute name"),Me.state=we.ATTRIB)}continue;case we.ATTRIB_VALUE:if(Se(Ie))continue;be(Ie)?(Me.q=Ie,Me.state=we.ATTRIB_VALUE_QUOTED):(He(Me,"Unquoted attribute value"),Me.state=we.ATTRIB_VALUE_UNQUOTED,Me.attribValue=Ie);continue;case we.ATTRIB_VALUE_QUOTED:if(Ie!==Me.q){Ie==="&"?Me.state=we.ATTRIB_VALUE_ENTITY_Q:Me.attribValue+=Ie;continue}ze(Me),Me.q="",Me.state=we.ATTRIB_VALUE_CLOSED;continue;case we.ATTRIB_VALUE_CLOSED:Se(Ie)?Me.state=we.ATTRIB:Ie===">"?_e(Me):Ie==="/"?Me.state=we.OPEN_TAG_SLASH:Ce(me,Ie)?(He(Me,"No whitespace between attributes"),Me.attribName=Ie,Me.attribValue="",Me.state=we.ATTRIB_NAME):He(Me,"Invalid attribute name");continue;case we.ATTRIB_VALUE_UNQUOTED:if(!Ee(Ie)){Ie==="&"?Me.state=we.ATTRIB_VALUE_ENTITY_U:Me.attribValue+=Ie;continue}ze(Me),Ie===">"?_e(Me):Me.state=we.ATTRIB;continue;case we.CLOSE_TAG:if(Me.tagName)Ie===">"?Ve(Me):Ce(ve,Ie)?Me.tagName+=Ie:Me.script?(Me.script+=""?Ve(Me):He(Me,"Invalid characters in closing tag");continue;case we.TEXT_ENTITY:case we.ATTRIB_VALUE_ENTITY_Q:case we.ATTRIB_VALUE_ENTITY_U:var Ye,ke;switch(Me.state){case we.TEXT_ENTITY:Ye=we.TEXT,ke="textNode";break;case we.ATTRIB_VALUE_ENTITY_Q:Ye=we.ATTRIB_VALUE_QUOTED,ke="attribValue";break;case we.ATTRIB_VALUE_ENTITY_U:Ye=we.ATTRIB_VALUE_UNQUOTED,ke="attribValue";break}Ie===";"?(Me[ke]+=tt(Me),Me.entity="",Me.state=Ye):Ce(Me.entity.length?pe:ge,Ie)?Me.entity+=Ie:(He(Me,"Invalid character in entity name"),Me[ke]+="&"+Me.entity+Ie,Me.entity="",Me.state=Ye);continue;default:throw new Error(Me,"Unknown state: "+Me.state)}return Me.position>=Me.bufferCheckPosition&&ue(Me),Me}String.fromCodePoint||function(){var Ke=String.fromCharCode,Me=Math.floor,et=function(){var Ie=16384,Re=[],qe,Ye,ke=-1,xe=arguments.length;if(!xe)return"";for(var Ne="";++ke1114111||Me(Be)!==Be)throw RangeError("Invalid code point: "+Be);Be<=65535?Re.push(Be):(Be-=65536,qe=(Be>>10)+55296,Ye=Be%1024+56320,Re.push(qe,Ye)),(ke+1===xe||Re.length>Ie)&&(Ne+=Ke.apply(null,Re),Re.length=0)}return Ne};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:et,configurable:!0,writable:!0}):String.fromCodePoint=et}()})(typeof he=="undefined"?this.sax={}:he)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,ye,he){ye.exports=se;var le=E("events").EventEmitter,ne=E("inherits");ne(se,le),se.Readable=E("readable-stream/lib/_stream_readable.js"),se.Writable=E("readable-stream/lib/_stream_writable.js"),se.Duplex=E("readable-stream/lib/_stream_duplex.js"),se.Transform=E("readable-stream/lib/_stream_transform.js"),se.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),se.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),se.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),se.Stream=se;function se(){le.call(this)}se.prototype.pipe=function(de,ue){var ie=this;function oe(ee){de.writable&&de.write(ee)===!1&&ie.pause&&ie.pause()}ie.on("data",oe);function re(){ie.readable&&ie.resume&&ie.resume()}de.on("drain",re),!de._isStdio&&(!ue||ue.end!==!1)&&(ie.on("end",a),ie.on("close",y));var z=!1;function a(){z||(z=!0,de.end())}function y(){z||(z=!0,typeof de.destroy=="function"&&de.destroy())}function x(ee){if(b(),le.listenerCount(this,"error")===0)throw ee}ie.on("error",x),de.on("error",x);function b(){ie.removeListener("data",oe),de.removeListener("drain",re),ie.removeListener("end",a),ie.removeListener("close",y),ie.removeListener("error",x),de.removeListener("error",x),ie.removeListener("end",b),ie.removeListener("close",b),de.removeListener("close",b)}return ie.on("end",b),ie.on("close",b),de.on("close",b),de.emit("pipe",ie),de}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,ye,he){"use strict";function le(re,z){re.prototype=Object.create(z.prototype),re.prototype.constructor=re,re.__proto__=z}var ne={};function se(re,z,a){a||(a=Error);function y(b,ee,te){return typeof z=="string"?z:z(b,ee,te)}var x=function(b){le(ee,b);function ee(te,ce,me){return b.call(this,y(te,ce,me))||this}return ee}(a);x.prototype.name=a.name,x.prototype.code=re,ne[re]=x}function de(re,z){if(Array.isArray(re)){var a=re.length;return re=re.map(function(y){return String(y)}),a>2?"one of ".concat(z," ").concat(re.slice(0,a-1).join(", "),", or ")+re[a-1]:a===2?"one of ".concat(z," ").concat(re[0]," or ").concat(re[1]):"of ".concat(z," ").concat(re[0])}else return"of ".concat(z," ").concat(String(re))}function ue(re,z,a){return re.substr(!a||a<0?0:+a,z.length)===z}function ie(re,z,a){return(a===void 0||a>re.length)&&(a=re.length),re.substring(a-z.length,a)===z}function oe(re,z,a){return typeof a!="number"&&(a=0),a+z.length>re.length?!1:re.indexOf(z,a)!==-1}se("ERR_INVALID_OPT_VALUE",function(re,z){return'The value "'+z+'" is invalid for option "'+re+'"'},TypeError),se("ERR_INVALID_ARG_TYPE",function(re,z,a){var y;typeof z=="string"&&ue(z,"not ")?(y="must not be",z=z.replace(/^not /,"")):y="must be";var x;if(ie(re," argument"))x="The ".concat(re," ").concat(y," ").concat(de(z,"type"));else{var b=oe(re,".")?"property":"argument";x='The "'.concat(re,'" ').concat(b," ").concat(y," ").concat(de(z,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),se("ERR_METHOD_NOT_IMPLEMENTED",function(re){return"The "+re+" method is not implemented"}),se("ERR_STREAM_PREMATURE_CLOSE","Premature close"),se("ERR_STREAM_DESTROYED",function(re){return"Cannot call "+re+" after a stream was destroyed"}),se("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),se("ERR_STREAM_WRITE_AFTER_END","write after end"),se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),se("ERR_UNKNOWN_ENCODING",function(re){return"Unknown encoding: "+re},TypeError),se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ye.exports.codes=ne},{}],400:[function(E,ye,he){(function(le){(function(){"use strict";var ne=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};ye.exports=re;var se=E("./_stream_readable"),de=E("./_stream_writable");E("inherits")(re,se);for(var ue=ne(de.prototype),ie=0;ie0)if(typeof xe!="string"&&!$e.objectMode&&Object.getPrototypeOf(xe)!==oe.prototype&&(xe=z(xe)),Be)$e.endEmitted?De(ke,new Se):We(ke,$e,xe,!0);else if($e.ended)De(ke,new ge);else{if($e.destroyed)return!1;$e.reading=!1,$e.decoder&&!Ne?(xe=$e.decoder.write(xe),$e.objectMode||xe.length!==0?We(ke,$e,xe,!1):Ve(ke,$e)):We(ke,$e,xe,!1)}else Be||($e.reading=!1,Ve(ke,$e))}return!$e.ended&&($e.length<$e.highWaterMark||$e.length===0)}function We(ke,xe,Ne,Be){xe.flowing&&xe.length===0&&!xe.sync?(xe.awaitDrain=0,ke.emit("data",Ne)):(xe.length+=xe.objectMode?1:Ne.length,Be?xe.buffer.unshift(Ne):xe.buffer.push(Ne),xe.needReadable&&ze(ke)),Ve(ke,xe)}function Te(ke,xe){var Ne;return!a(xe)&&typeof xe!="string"&&xe!==void 0&&!ke.objectMode&&(Ne=new ve("chunk",["string","Buffer","Uint8Array"],xe)),Ne}Le.prototype.isPaused=function(){return this._readableState.flowing===!1},Le.prototype.setEncoding=function(ke){be||(be=E("string_decoder/").StringDecoder);var xe=new be(ke);this._readableState.decoder=xe,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ne=this._readableState.buffer.head,Be="";Ne!==null;)Be+=xe.write(Ne.data),Ne=Ne.next;return this._readableState.buffer.clear(),Be!==""&&this._readableState.buffer.push(Be),this._readableState.length=Be.length,this};var Ue=1073741824;function He(ke){return ke>=Ue?ke=Ue:(ke--,ke|=ke>>>1,ke|=ke>>>2,ke|=ke>>>4,ke|=ke>>>8,ke|=ke>>>16,ke++),ke}function Qe(ke,xe){return ke<=0||xe.length===0&&xe.ended?0:xe.objectMode?1:ke!==ke?xe.flowing&&xe.length?xe.buffer.head.data.length:xe.length:(ke>xe.highWaterMark&&(xe.highWaterMark=He(ke)),ke<=xe.length?ke:xe.ended?xe.length:(xe.needReadable=!0,0))}Le.prototype.read=function(ke){x("read",ke),ke=parseInt(ke,10);var xe=this._readableState,Ne=ke;if(ke!==0&&(xe.emittedReadable=!1),ke===0&&xe.needReadable&&((xe.highWaterMark!==0?xe.length>=xe.highWaterMark:xe.length>0)||xe.ended))return x("read: emitReadable",xe.length,xe.ended),xe.length===0&&xe.ended?Re(this):ze(this),null;if(ke=Qe(ke,xe),ke===0&&xe.ended)return xe.length===0&&Re(this),null;var Be=xe.needReadable;x("need readable",Be),(xe.length===0||xe.length-ke0?je=Ie(ke,xe):je=null,je===null?(xe.needReadable=xe.length<=xe.highWaterMark,ke=0):(xe.length-=ke,xe.awaitDrain=0),xe.length===0&&(xe.ended||(xe.needReadable=!0),Ne!==ke&&xe.ended&&Re(this)),je!==null&&this.emit("data",je),je};function Ge(ke,xe){if(x("onEofChunk"),!xe.ended){if(xe.decoder){var Ne=xe.decoder.end();Ne&&Ne.length&&(xe.buffer.push(Ne),xe.length+=xe.objectMode?1:Ne.length)}xe.ended=!0,xe.sync?ze(ke):(xe.needReadable=!1,xe.emittedReadable||(xe.emittedReadable=!0,_e(ke)))}}function ze(ke){var xe=ke._readableState;x("emitReadable",xe.needReadable,xe.emittedReadable),xe.needReadable=!1,xe.emittedReadable||(x("emitReadable",xe.flowing),xe.emittedReadable=!0,le.nextTick(_e,ke))}function _e(ke){var xe=ke._readableState;x("emitReadable_",xe.destroyed,xe.length,xe.ended),!xe.destroyed&&(xe.length||xe.ended)&&(ke.emit("readable"),xe.emittedReadable=!1),xe.needReadable=!xe.flowing&&!xe.ended&&xe.length<=xe.highWaterMark,et(ke)}function Ve(ke,xe){xe.readingMore||(xe.readingMore=!0,le.nextTick(tt,ke,xe))}function tt(ke,xe){for(;!xe.reading&&!xe.ended&&(xe.length1&&Ye(Be.pipes,ke)!==-1)&&!yt&&(x("false write response, pause",Be.awaitDrain),Be.awaitDrain++),Ne.pause())}function dt(mt){x("onerror",mt),ut(),ke.removeListener("error",dt),ue(ke,"error")===0&&De(ke,mt)}Fe(ke,"error",dt);function ht(){ke.removeListener("finish",ot),ut()}ke.once("close",ht);function ot(){x("onfinish"),ke.removeListener("close",ht),ut()}ke.once("finish",ot);function ut(){x("unpipe"),Ne.unpipe(ke)}return ke.emit("pipe",Ne),Be.flowing||(x("pipe resume"),Ne.resume()),ke};function Xe(ke){return function(){var Ne=ke._readableState;x("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&ue(ke,"data")&&(Ne.flowing=!0,et(ke))}}Le.prototype.unpipe=function(ke){var xe=this._readableState,Ne={hasUnpiped:!1};if(xe.pipesCount===0)return this;if(xe.pipesCount===1)return ke&&ke!==xe.pipes?this:(ke||(ke=xe.pipes),xe.pipes=null,xe.pipesCount=0,xe.flowing=!1,ke&&ke.emit("unpipe",this,Ne),this);if(!ke){var Be=xe.pipes,je=xe.pipesCount;xe.pipes=null,xe.pipesCount=0,xe.flowing=!1;for(var $e=0;$e0,Be.flowing!==!1&&this.resume()):ke==="readable"&&!Be.endEmitted&&!Be.readableListening&&(Be.readableListening=Be.needReadable=!0,Be.flowing=!1,Be.emittedReadable=!1,x("on readable",Be.length,Be.reading),Be.length?ze(this):Be.reading||le.nextTick(Je,this)),Ne},Le.prototype.addListener=Le.prototype.on,Le.prototype.removeListener=function(ke,xe){var Ne=ie.prototype.removeListener.call(this,ke,xe);return ke==="readable"&&le.nextTick(lt,this),Ne},Le.prototype.removeAllListeners=function(ke){var xe=ie.prototype.removeAllListeners.apply(this,arguments);return(ke==="readable"||ke===void 0)&&le.nextTick(lt,this),xe};function lt(ke){var xe=ke._readableState;xe.readableListening=ke.listenerCount("readable")>0,xe.resumeScheduled&&!xe.paused?xe.flowing=!0:ke.listenerCount("data")>0&&ke.resume()}function Je(ke){x("readable nexttick read 0"),ke.read(0)}Le.prototype.resume=function(){var ke=this._readableState;return ke.flowing||(x("resume"),ke.flowing=!ke.readableListening,Ke(this,ke)),ke.paused=!1,this};function Ke(ke,xe){xe.resumeScheduled||(xe.resumeScheduled=!0,le.nextTick(Me,ke,xe))}function Me(ke,xe){x("resume",xe.reading),xe.reading||ke.read(0),xe.resumeScheduled=!1,ke.emit("resume"),et(ke),xe.flowing&&!xe.reading&&ke.read(0)}Le.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function et(ke){var xe=ke._readableState;for(x("flow",xe.flowing);xe.flowing&&ke.read()!==null;);}Le.prototype.wrap=function(ke){var xe=this,Ne=this._readableState,Be=!1;ke.on("end",function(){if(x("wrapped end"),Ne.decoder&&!Ne.ended){var nt=Ne.decoder.end();nt&&nt.length&&xe.push(nt)}xe.push(null)}),ke.on("data",function(nt){if(x("wrapped data"),Ne.decoder&&(nt=Ne.decoder.write(nt)),!(Ne.objectMode&&nt==null)&&!(!Ne.objectMode&&(!nt||!nt.length))){var Ze=xe.push(nt);Ze||(Be=!0,ke.pause())}});for(var je in ke)this[je]===void 0&&typeof ke[je]=="function"&&(this[je]=function(Ze){return function(){return ke[Ze].apply(ke,arguments)}}(je));for(var $e=0;$e=xe.length?(xe.decoder?Ne=xe.buffer.join(""):xe.buffer.length===1?Ne=xe.buffer.first():Ne=xe.buffer.concat(xe.length),xe.buffer.clear()):Ne=xe.buffer.consume(ke,xe.decoder),Ne}function Re(ke){var xe=ke._readableState;x("endReadable",xe.endEmitted),xe.endEmitted||(xe.ended=!0,le.nextTick(qe,xe,ke))}function qe(ke,xe){if(x("endReadableNT",ke.endEmitted,ke.length),!ke.endEmitted&&ke.length===0&&(ke.endEmitted=!0,xe.readable=!1,xe.emit("end"),ke.autoDestroy)){var Ne=xe._writableState;(!Ne||Ne.autoDestroy&&Ne.finished)&&xe.destroy()}}typeof Symbol=="function"&&(Le.from=function(ke,xe){return Ce===void 0&&(Ce=E("./internal/streams/from")),Ce(Le,ke,xe)});function Ye(ke,xe){for(var Ne=0,Be=ke.length;Ne-1))throw new Ee(Ie);return this._writableState.defaultEncoding=Ie,this},Object.defineProperty(Pe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function We(et,Ie,Re){return!et.objectMode&&et.decodeStrings!==!1&&typeof Ie=="string"&&(Ie=re.from(Ie,Re)),Ie}Object.defineProperty(Pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Te(et,Ie,Re,qe,Ye,ke){if(!Re){var xe=We(Ie,qe,Ye);qe!==xe&&(Re=!0,Ye="buffer",qe=xe)}var Ne=Ie.objectMode?1:qe.length;Ie.length+=Ne;var Be=Ie.length0?this.tail.next=ve:this.head=ve,this.tail=ve,++this.length}},{key:"unshift",value:function(me){var ve={data:me,next:this.head};this.length===0&&(this.tail=ve),this.head=ve,++this.length}},{key:"shift",value:function(){if(this.length!==0){var me=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,me}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(me){if(this.length===0)return"";for(var ve=this.head,ge=""+ve.data;ve=ve.next;)ge+=me+ve.data;return ge}},{key:"concat",value:function(me){if(this.length===0)return a.alloc(0);for(var ve=a.allocUnsafe(me>>>0),ge=this.head,pe=0;ge;)ee(ge.data,ve,pe),pe+=ge.data.length,ge=ge.next;return ve}},{key:"consume",value:function(me,ve){var ge;return meSe.length?Se.length:me;if(be===Se.length?pe+=Se:pe+=Se.slice(0,me),me-=be,me===0){be===Se.length?(++ge,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=Se.slice(be));break}++ge}return this.length-=ge,pe}},{key:"_getBuffer",value:function(me){var ve=a.allocUnsafe(me),ge=this.head,pe=1;for(ge.data.copy(ve),me-=ge.data.length;ge=ge.next;){var Se=ge.data,be=me>Se.length?Se.length:me;if(Se.copy(ve,ve.length-me,0,be),me-=be,me===0){be===Se.length?(++pe,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=Se.slice(be));break}++pe}return this.length-=pe,ve}},{key:b,value:function(me,ve){return x(this,ne(ne({},ve),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,ye,he){(function(le){(function(){"use strict";function ne(re,z){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(z?z(re):re&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,le.nextTick(ie,this,re)):le.nextTick(ie,this,re)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(re||null,function(b){!z&&b?a._writableState?a._writableState.errorEmitted?le.nextTick(de,a):(a._writableState.errorEmitted=!0,le.nextTick(se,a,b)):le.nextTick(se,a,b):z?(le.nextTick(de,a),z(b)):le.nextTick(de,a)}),this)}function se(re,z){ie(re,z),de(re)}function de(re){re._writableState&&!re._writableState.emitClose||re._readableState&&!re._readableState.emitClose||re.emit("close")}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ie(re,z){re.emit("error",z)}function oe(re,z){var a=re._readableState,y=re._writableState;a&&a.autoDestroy||y&&y.autoDestroy?re.destroy(z):re.emit("error",z)}ye.exports={destroy:ne,undestroy:ue,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,ye,he){"use strict";var le=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ne(ie){var oe=!1;return function(){if(!oe){oe=!0;for(var re=arguments.length,z=new Array(re),a=0;a0;return re(ge,Se,be,function(Ee){me||(me=Ee),Ee&&ve.forEach(z),!Se&&(ve.forEach(z),ce(me))})});return ee.reduce(a)}ye.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,ye,he){"use strict";var le=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ne(de,ue,ie){return de.highWaterMark!=null?de.highWaterMark:ue?de[ie]:null}function se(de,ue,ie,oe){var re=ne(ue,oe,ie);if(re!=null){if(!(isFinite(re)&&Math.floor(re)===re)||re<0){var z=oe?ie:"highWaterMark";throw new le(z,re)}return Math.floor(re)}return de.objectMode?16:16*1024}ye.exports={getHighWaterMark:se}},{"../../../errors":399}],412:[function(E,ye,he){arguments[4][393][0].apply(he,arguments)},{dup:393,events:344}],413:[function(E,ye,he){"use strict";var le=E("safe-buffer").Buffer,ne=le.isEncoding||function(ve){switch(ve=""+ve,ve&&ve.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function se(ve){if(!ve)return"utf8";for(var ge;;)switch(ve){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ve;default:if(ge)return;ve=(""+ve).toLowerCase(),ge=!0}}function de(ve){var ge=se(ve);if(typeof ge!="string"&&(le.isEncoding===ne||!ne(ve)))throw new Error("Unknown encoding: "+ve);return ge||ve}he.StringDecoder=ue;function ue(ve){this.encoding=de(ve);var ge;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ge=4;break;case"utf8":this.fillLast=z,ge=4;break;case"base64":this.text=ee,this.end=te,ge=3;break;default:this.write=ce,this.end=me;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=le.allocUnsafe(ge)}ue.prototype.write=function(ve){if(ve.length===0)return"";var ge,pe;if(this.lastNeed){if(ge=this.fillLast(ve),ge===void 0)return"";pe=this.lastNeed,this.lastNeed=0}else pe=0;return pe>5===6?2:ve>>4===14?3:ve>>3===30?4:ve>>6===2?-1:-2}function oe(ve,ge,pe){var Se=ge.length-1;if(Se=0?(be>0&&(ve.lastNeed=be-1),be):--Se=0?(be>0&&(ve.lastNeed=be-2),be):--Se=0?(be>0&&(be===2?be=0:ve.lastNeed=be-3),be):0))}function re(ve,ge,pe){if((ge[0]&192)!==128)return ve.lastNeed=0,"\uFFFD";if(ve.lastNeed>1&&ge.length>1){if((ge[1]&192)!==128)return ve.lastNeed=1,"\uFFFD";if(ve.lastNeed>2&&ge.length>2&&(ge[2]&192)!==128)return ve.lastNeed=2,"\uFFFD"}}function z(ve){var ge=this.lastTotal-this.lastNeed,pe=re(this,ve,ge);if(pe!==void 0)return pe;if(this.lastNeed<=ve.length)return ve.copy(this.lastChar,ge,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ve.copy(this.lastChar,ge,0,ve.length),this.lastNeed-=ve.length}function a(ve,ge){var pe=oe(this,ve,ge);if(!this.lastNeed)return ve.toString("utf8",ge);this.lastTotal=pe;var Se=ve.length-(pe-this.lastNeed);return ve.copy(this.lastChar,0,Se),ve.toString("utf8",ge,Se)}function y(ve){var ge=ve&&ve.length?this.write(ve):"";return this.lastNeed?ge+"\uFFFD":ge}function x(ve,ge){if((ve.length-ge)%2===0){var pe=ve.toString("utf16le",ge);if(pe){var Se=pe.charCodeAt(pe.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ve[ve.length-2],this.lastChar[1]=ve[ve.length-1],pe.slice(0,-1)}return pe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ve[ve.length-1],ve.toString("utf16le",ge,ve.length-1)}function b(ve){var ge=ve&&ve.length?this.write(ve):"";if(this.lastNeed){var pe=this.lastTotal-this.lastNeed;return ge+this.lastChar.toString("utf16le",0,pe)}return ge}function ee(ve,ge){var pe=(ve.length-ge)%3;return pe===0?ve.toString("base64",ge):(this.lastNeed=3-pe,this.lastTotal=3,pe===1?this.lastChar[0]=ve[ve.length-1]:(this.lastChar[0]=ve[ve.length-2],this.lastChar[1]=ve[ve.length-1]),ve.toString("base64",ge,ve.length-pe))}function te(ve){var ge=ve&&ve.length?this.write(ve):"";return this.lastNeed?ge+this.lastChar.toString("base64",0,3-this.lastNeed):ge}function ce(ve){return ve.toString(this.encoding)}function me(ve){return ve&&ve.length?this.write(ve):""}},{"safe-buffer":396}],414:[function(E,ye,he){(function(le,ne){(function(){var se=E("process/browser.js").nextTick,de=Function.prototype.apply,ue=Array.prototype.slice,ie={},oe=0;he.setTimeout=function(){return new re(de.call(setTimeout,window,arguments),clearTimeout)},he.setInterval=function(){return new re(de.call(setInterval,window,arguments),clearInterval)},he.clearTimeout=he.clearInterval=function(z){z.close()};function re(z,a){this._id=z,this._clearFn=a}re.prototype.unref=re.prototype.ref=function(){},re.prototype.close=function(){this._clearFn.call(window,this._id)},he.enroll=function(z,a){clearTimeout(z._idleTimeoutId),z._idleTimeout=a},he.unenroll=function(z){clearTimeout(z._idleTimeoutId),z._idleTimeout=-1},he._unrefActive=he.active=function(z){clearTimeout(z._idleTimeoutId);var a=z._idleTimeout;a>=0&&(z._idleTimeoutId=setTimeout(function(){z._onTimeout&&z._onTimeout()},a))},he.setImmediate=typeof le=="function"?le:function(z){var a=oe++,y=arguments.length<2?!1:ue.call(arguments,1);return ie[a]=!0,se(function(){ie[a]&&(y?z.apply(null,y):z.call(null),he.clearImmediate(a))}),a},he.clearImmediate=typeof ne=="function"?ne:function(z){delete ie[z]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,ye,he){var le=E("buffer").Buffer;ye.exports=function(ne){if(ne instanceof Uint8Array){if(ne.byteOffset===0&&ne.byteLength===ne.buffer.byteLength)return ne.buffer;if(typeof ne.buffer.slice=="function")return ne.buffer.slice(ne.byteOffset,ne.byteOffset+ne.byteLength)}if(le.isBuffer(ne)){for(var se=new Uint8Array(ne.length),de=ne.length,ue=0;ue=Je)return et;switch(et){case"%s":return String(lt[Xe++]);case"%d":return Number(lt[Xe++]);case"%j":try{return JSON.stringify(lt[Xe++])}catch(Ie){return"[Circular]"}default:return et}}),Me=lt[Xe];Xe=3&&(Xe.depth=arguments[2]),arguments.length>=4&&(Xe.colors=arguments[3]),ve(tt)?Xe.showHidden=tt:tt&&he._extend(Xe,tt),Ce(Xe.showHidden)&&(Xe.showHidden=!1),Ce(Xe.depth)&&(Xe.depth=2),Ce(Xe.colors)&&(Xe.colors=!1),Ce(Xe.customInspect)&&(Xe.customInspect=!0),Xe.colors&&(Xe.stylize=re),y(Xe,Ve,Xe.depth)}he.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(Ve,tt){var Xe=oe.styles[tt];return Xe?"\x1B["+oe.colors[Xe][0]+"m"+Ve+"\x1B["+oe.colors[Xe][1]+"m":Ve}function z(Ve,tt){return Ve}function a(Ve){var tt={};return Ve.forEach(function(Xe,lt){tt[Xe]=!0}),tt}function y(Ve,tt,Xe){if(Ve.customInspect&&tt&&Le(tt.inspect)&&tt.inspect!==he.inspect&&!(tt.constructor&&tt.constructor.prototype===tt)){var lt=tt.inspect(Xe,Ve);return be(lt)||(lt=y(Ve,lt,Xe)),lt}var Je=x(Ve,tt);if(Je)return Je;var Ke=Object.keys(tt),Me=a(Ke);if(Ve.showHidden&&(Ke=Object.getOwnPropertyNames(tt)),Pe(tt)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return b(tt);if(Ke.length===0){if(Le(tt)){var et=tt.name?": "+tt.name:"";return Ve.stylize("[Function"+et+"]","special")}if(De(tt))return Ve.stylize(RegExp.prototype.toString.call(tt),"regexp");if(Fe(tt))return Ve.stylize(Date.prototype.toString.call(tt),"date");if(Pe(tt))return b(tt)}var Ie="",Re=!1,qe=["{","}"];if(me(tt)&&(Re=!0,qe=["[","]"]),Le(tt)){var Ye=tt.name?": "+tt.name:"";Ie=" [Function"+Ye+"]"}if(De(tt)&&(Ie=" "+RegExp.prototype.toString.call(tt)),Fe(tt)&&(Ie=" "+Date.prototype.toUTCString.call(tt)),Pe(tt)&&(Ie=" "+b(tt)),Ke.length===0&&(!Re||tt.length==0))return qe[0]+Ie+qe[1];if(Xe<0)return De(tt)?Ve.stylize(RegExp.prototype.toString.call(tt),"regexp"):Ve.stylize("[Object]","special");Ve.seen.push(tt);var ke;return Re?ke=ee(Ve,tt,Xe,Me,Ke):ke=Ke.map(function(xe){return te(Ve,tt,Xe,Me,xe,Re)}),Ve.seen.pop(),ce(ke,Ie,qe)}function x(Ve,tt){if(Ce(tt))return Ve.stylize("undefined","undefined");if(be(tt)){var Xe="'"+JSON.stringify(tt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ve.stylize(Xe,"string")}if(Se(tt))return Ve.stylize(""+tt,"number");if(ve(tt))return Ve.stylize(""+tt,"boolean");if(ge(tt))return Ve.stylize("null","null")}function b(Ve){return"["+Error.prototype.toString.call(Ve)+"]"}function ee(Ve,tt,Xe,lt,Je){for(var Ke=[],Me=0,et=tt.length;Me-1&&(Ke?et=et.split(` -`).map(function(Re){return" "+Re}).join(` -`).slice(2):et=` -`+et.split(` -`).map(function(Re){return" "+Re}).join(` -`))):et=Ve.stylize("[Circular]","special")),Ce(Me)){if(Ke&&Je.match(/^\d+$/))return et;Me=JSON.stringify(""+Je),Me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Me=Me.slice(1,-1),Me=Ve.stylize(Me,"name")):(Me=Me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Me=Ve.stylize(Me,"string"))}return Me+": "+et}function ce(Ve,tt,Xe){var lt=0,Je=Ve.reduce(function(Ke,Me){return lt++,Me.indexOf(` -`)>=0&<++,Ke+Me.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Je>60?Xe[0]+(tt===""?"":tt+` - `)+" "+Ve.join(`, - `)+" "+Xe[1]:Xe[0]+tt+" "+Ve.join(", ")+" "+Xe[1]}he.types=E("./support/types");function me(Ve){return Array.isArray(Ve)}he.isArray=me;function ve(Ve){return typeof Ve=="boolean"}he.isBoolean=ve;function ge(Ve){return Ve===null}he.isNull=ge;function pe(Ve){return Ve==null}he.isNullOrUndefined=pe;function Se(Ve){return typeof Ve=="number"}he.isNumber=Se;function be(Ve){return typeof Ve=="string"}he.isString=be;function Ee(Ve){return typeof Ve=="symbol"}he.isSymbol=Ee;function Ce(Ve){return Ve===void 0}he.isUndefined=Ce;function De(Ve){return we(Ve)&&We(Ve)==="[object RegExp]"}he.isRegExp=De,he.types.isRegExp=De;function we(Ve){return typeof Ve=="object"&&Ve!==null}he.isObject=we;function Fe(Ve){return we(Ve)&&We(Ve)==="[object Date]"}he.isDate=Fe,he.types.isDate=Fe;function Pe(Ve){return we(Ve)&&(We(Ve)==="[object Error]"||Ve instanceof Error)}he.isError=Pe,he.types.isNativeError=Pe;function Le(Ve){return typeof Ve=="function"}he.isFunction=Le;function Oe(Ve){return Ve===null||typeof Ve=="boolean"||typeof Ve=="number"||typeof Ve=="string"||typeof Ve=="symbol"||typeof Ve=="undefined"}he.isPrimitive=Oe,he.isBuffer=E("./support/isBuffer");function We(Ve){return Object.prototype.toString.call(Ve)}function Te(Ve){return Ve<10?"0"+Ve.toString(10):Ve.toString(10)}var Ue=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function He(){var Ve=new Date,tt=[Te(Ve.getHours()),Te(Ve.getMinutes()),Te(Ve.getSeconds())].join(":");return[Ve.getDate(),Ue[Ve.getMonth()],tt].join(" ")}he.log=function(){console.log("%s - %s",He(),he.format.apply(he,arguments))},he.inherits=E("inherits"),he._extend=function(Ve,tt){if(!tt||!we(tt))return Ve;for(var Xe=Object.keys(tt),lt=Xe.length;lt--;)Ve[Xe[lt]]=tt[Xe[lt]];return Ve};function Qe(Ve,tt){return Object.prototype.hasOwnProperty.call(Ve,tt)}var Ge=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;he.promisify=function(tt){if(typeof tt!="function")throw new TypeError('The "original" argument must be of type Function');if(Ge&&tt[Ge]){var Xe=tt[Ge];if(typeof Xe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Xe,Ge,{value:Xe,enumerable:!1,writable:!1,configurable:!0}),Xe}function Xe(){for(var lt,Je,Ke=new Promise(function(Ie,Re){lt=Ie,Je=Re}),Me=[],et=0;et-1?ge:ge!=="Object"?!1:ce(ve)}return ie?te(ve):null}}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,ye,he){(function(){"use strict";he.stripBOM=function(le){return le[0]==="\uFEFF"?le.substring(1):le}}).call(this)},{}],422:[function(E,ye,he){(function(){"use strict";var le,ne,se,de,ue,ie={}.hasOwnProperty;le=E("xmlbuilder"),ne=E("./defaults").defaults,de=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ue=function(oe){return""},se=function(oe){return oe.replace("]]>","]]]]>")},he.Builder=function(){function oe(re){var z,a,y;this.options={},a=ne["0.2"];for(z in a)ie.call(a,z)&&(y=a[z],this.options[z]=y);for(z in re)ie.call(re,z)&&(y=re[z],this.options[z]=y)}return oe.prototype.buildObject=function(re){var z,a,y,x,b;return z=this.options.attrkey,a=this.options.charkey,Object.keys(re).length===1&&this.options.rootName===ne["0.2"].rootName?(b=Object.keys(re)[0],re=re[b]):b=this.options.rootName,y=function(ee){return function(te,ce){var me,ve,ge,pe,Se,be;if(typeof ce!="object")ee.options.cdata&&de(ce)?te.raw(ue(ce)):te.txt(ce);else if(Array.isArray(ce)){for(pe in ce)if(ie.call(ce,pe)){ve=ce[pe];for(Se in ve)ge=ve[Se],te=y(te.ele(Se),ge).up()}}else for(Se in ce)if(ie.call(ce,Se))if(ve=ce[Se],Se===z){if(typeof ve=="object")for(me in ve)be=ve[me],te=te.att(me,be)}else if(Se===a)ee.options.cdata&&de(ve)?te=te.raw(ue(ve)):te=te.txt(ve);else if(Array.isArray(ve))for(pe in ve)ie.call(ve,pe)&&(ge=ve[pe],typeof ge=="string"?ee.options.cdata&&de(ge)?te=te.ele(Se).raw(ue(ge)).up():te=te.ele(Se,ge).up():te=y(te.ele(Se),ge).up());else typeof ve=="object"?te=y(te.ele(Se),ve).up():typeof ve=="string"&&ee.options.cdata&&de(ve)?te=te.ele(Se).raw(ue(ve)).up():(ve==null&&(ve=""),te=te.ele(Se,ve.toString()).up());return te}}(this),x=le.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,re).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,ye,he){(function(){he.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` -`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,ye,he){(function(){"use strict";var le,ne,se,de,ue,ie,oe,re,z,a=function(b,ee){return function(){return b.apply(ee,arguments)}},y=function(b,ee){for(var te in ee)x.call(ee,te)&&(b[te]=ee[te]);function ce(){this.constructor=b}return ce.prototype=ee.prototype,b.prototype=new ce,b.__super__=ee.prototype,b},x={}.hasOwnProperty;re=E("sax"),de=E("events"),le=E("./bom"),oe=E("./processors"),z=E("timers").setImmediate,ne=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ie=function(b,ee,te){var ce,me,ve;for(ce=0,me=b.length;ce0&&(Ee[ge.options.childkey]=De),De=Ee;else if(Pe){Pe[ge.options.childkey]=Pe[ge.options.childkey]||[],we={};for(be in De)x.call(De,be)&&se(we,be,De[be]);Pe[ge.options.childkey].push(we),delete De["#name"],Object.keys(De).length===1&&ce in De&&!ge.EXPLICIT_CHARKEY&&(De=De[ce])}}return ve.length>0?ge.assignOrPush(Pe,Ce,De):(ge.options.explicitRoot&&(Fe=De,De={},se(De,Ce,Fe)),ge.resultObject=De,ge.saxParser.ended=!0,ge.emit("end",ge.resultObject))}}(this),me=function(ge){return function(pe){var Se,be;if(be=ve[ve.length-1],be)return be[ce]+=pe,ge.options.explicitChildren&&ge.options.preserveChildrenOrder&&ge.options.charsAsChildren&&(ge.options.includeWhiteChars||pe.replace(/\\n/g,"").trim()!=="")&&(be[ge.options.childkey]=be[ge.options.childkey]||[],Se={"#name":"__text__"},Se[ce]=pe,ge.options.normalize&&(Se[ce]=Se[ce].replace(/\s{2,}/g," ").trim()),be[ge.options.childkey].push(Se)),be}}(this),this.saxParser.ontext=me,this.saxParser.oncdata=function(ge){return function(pe){var Se;if(Se=me(pe),Se)return Se.cdata=!0}}(this)},ee.prototype.parseString=function(te,ce){var me;ce!=null&&typeof ce=="function"&&(this.on("end",function(ve){return this.reset(),ce(null,ve)}),this.on("error",function(ve){return this.reset(),ce(ve)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=le.stripBOM(te),this.options.async?(this.remaining=te,z(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(ve){if(me=ve,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw me}else return this.emit("error",me),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(te){return new Promise(function(ce){return function(me,ve){return ce.parseString(te,function(ge,pe){return ge?ve(ge):me(pe)})}}(this))},ee}(de),he.parseString=function(b,ee,te){var ce,me,ve;return te!=null?(typeof te=="function"&&(ce=te),typeof ee=="object"&&(me=ee)):(typeof ee=="function"&&(ce=ee),me={}),ve=new he.Parser(me),ve.parseString(b,ce)},he.parseStringPromise=function(b,ee){var te,ce;return typeof ee=="object"&&(te=ee),ce=new he.Parser(te),ce.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,ye,he){(function(){"use strict";var le;le=new RegExp(/(?!xmlns)^.*:/),he.normalize=function(ne){return ne.toLowerCase()},he.firstCharLowerCase=function(ne){return ne.charAt(0).toLowerCase()+ne.slice(1)},he.stripPrefix=function(ne){return ne.replace(le,"")},he.parseNumbers=function(ne){return isNaN(ne)||(ne=ne%1===0?parseInt(ne,10):parseFloat(ne)),ne},he.parseBooleans=function(ne){return/^(?:true|false)$/i.test(ne)&&(ne=ne.toLowerCase()==="true"),ne}}).call(this)},{}],426:[function(E,ye,he){(function(){"use strict";var le,ne,se,de,ue=function(oe,re){for(var z in re)ie.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ie={}.hasOwnProperty;ne=E("./defaults"),le=E("./builder"),se=E("./parser"),de=E("./processors"),he.defaults=ne.defaults,he.processors=de,he.ValidationError=function(oe){ue(re,oe);function re(z){this.message=z}return re}(Error),he.Builder=le.Builder,he.Parser=se.Parser,he.parseString=se.parseString,he.parseStringPromise=se.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,ye,he){(function(){ye.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,ye,he){(function(){ye.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,ye,he){(function(){var le,ne,se,de,ue,ie,oe,re=[].slice,z={}.hasOwnProperty;le=function(){var a,y,x,b,ee,te;if(te=arguments[0],ee=2<=arguments.length?re.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=ee.length;a":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},de.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},de}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,ye,he){(function(){var le,ne,se,de=function(ie,oe){for(var re in oe)ue.call(oe,re)&&(ie[re]=oe[re]);function z(){this.constructor=ie}return z.prototype=oe.prototype,ie.prototype=new z,ie.__super__=oe.prototype,ie},ue={}.hasOwnProperty;le=E("./NodeType"),se=E("./XMLCharacterData"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,z){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=le.CData,this.value=this.stringify.cdata(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.cdata(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,ye,he){(function(){var le,ne,se=function(ue,ie){for(var oe in ie)de.call(ie,oe)&&(ue[oe]=ie[oe]);function re(){this.constructor=ue}return re.prototype=ie.prototype,ue.prototype=new re,ue.__super__=ie.prototype,ue},de={}.hasOwnProperty;ne=E("./XMLNode"),ye.exports=le=function(ue){se(ie,ue);function ie(oe){ie.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ie.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ie.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ie.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ie.prototype.clone=function(){return Object.create(this)},ie.prototype.substringData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.insertData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.deleteData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.replaceData=function(oe,re,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.isEqualNode=function(oe){return!(!ie.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ie}(ne)}).call(this)},{"./XMLNode":450}],434:[function(E,ye,he){(function(){var le,ne,se,de=function(ie,oe){for(var re in oe)ue.call(oe,re)&&(ie[re]=oe[re]);function z(){this.constructor=ie}return z.prototype=oe.prototype,ie.prototype=new z,ie.__super__=oe.prototype,ie},ue={}.hasOwnProperty;le=E("./NodeType"),ne=E("./XMLCharacterData"),ye.exports=se=function(ie){de(oe,ie);function oe(re,z){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=le.Comment,this.value=this.stringify.comment(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.comment(this,this.options.writer.filterOptions(re))},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,ye,he){(function(){var le,ne,se;ne=E("./XMLDOMErrorHandler"),se=E("./XMLDOMStringList"),ye.exports=le=function(){function de(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ne,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ue=Object.create(this.defaultParams)}return Object.defineProperty(de.prototype,"parameterNames",{get:function(){return new se(Object.keys(this.defaultParams))}}),de.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},de.prototype.canSetParameter=function(ue,ie){return!0},de.prototype.setParameter=function(ue,ie){return ie!=null?this.params[ue]=ie:delete this.params[ue]},de}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,ye,he){(function(){var le;ye.exports=le=function(){function ne(){}return ne.prototype.handleError=function(se){throw new Error(se)},ne}()}).call(this)},{}],437:[function(E,ye,he){(function(){var le;ye.exports=le=function(){function ne(){}return ne.prototype.hasFeature=function(se,de){return!0},ne.prototype.createDocumentType=function(se,de,ue){throw new Error("This DOM method is not implemented.")},ne.prototype.createDocument=function(se,de,ue){throw new Error("This DOM method is not implemented.")},ne.prototype.createHTMLDocument=function(se){throw new Error("This DOM method is not implemented.")},ne.prototype.getFeature=function(se,de){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],438:[function(E,ye,he){(function(){var le;ye.exports=le=function(){function ne(se){this.arr=se||[]}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.arr.length}}),ne.prototype.item=function(se){return this.arr[se]||null},ne.prototype.contains=function(se){return this.arr.indexOf(se)!==-1},ne}()}).call(this)},{}],439:[function(E,ye,he){(function(){var le,ne,se,de=function(ie,oe){for(var re in oe)ue.call(oe,re)&&(ie[re]=oe[re]);function z(){this.constructor=ie}return z.prototype=oe.prototype,ie.prototype=new z,ie.__super__=oe.prototype,ie},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,z,a,y,x,b){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(z));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(z));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(z));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(z));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(z));this.elementName=this.stringify.name(z),this.type=le.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(re){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,ye,he){(function(){var le,ne,se,de=function(ie,oe){for(var re in oe)ue.call(oe,re)&&(ie[re]=oe[re]);function z(){this.constructor=ie}return z.prototype=oe.prototype,ie.prototype=new z,ie.__super__=oe.prototype,ie},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,z,a){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(z),this.type=le.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(re){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,ye,he){(function(){var le,ne,se,de,ue=function(oe,re){for(var z in re)ie.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ie={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),le=E("./NodeType"),ye.exports=ne=function(oe){ue(re,oe);function re(z,a,y,x){if(re.__super__.constructor.call(this,z),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=le.EntityDeclaration,!de(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(re.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(re.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlVersion",{get:function(){return null}}),re.prototype.toString=function(z){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(z))},re}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,ye,he){(function(){var le,ne,se,de=function(ie,oe){for(var re in oe)ue.call(oe,re)&&(ie[re]=oe[re]);function z(){this.constructor=ie}return z.prototype=oe.prototype,ie.prototype=new z,ie.__super__=oe.prototype,ie},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,z,a){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing DTD notation name. "+this.debugInfo(z));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(z));this.name=this.stringify.name(z),this.type=le.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(re){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,ye,he){(function(){var le,ne,se,de,ue=function(oe,re){for(var z in re)ie.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ie={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),le=E("./NodeType"),ye.exports=ne=function(oe){ue(re,oe);function re(z,a,y,x){var b;re.__super__.constructor.call(this,z),de(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=le.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return re.prototype.toString=function(z){return this.options.writer.declaration(this,this.options.writer.filterOptions(z))},re}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,ye,he){(function(){var le,ne,se,de,ue,ie,oe,re,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility").isObject,re=E("./XMLNode"),le=E("./NodeType"),ne=E("./XMLDTDAttList"),de=E("./XMLDTDEntity"),se=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),ye.exports=ie=function(x){a(b,x);function b(ee,te,ce){var me,ve,ge,pe,Se,be;if(b.__super__.constructor.call(this,ee),this.type=le.DocType,ee.children){for(pe=ee.children,ve=0,ge=pe.length;ve=0;)this.up();return this.onEnd()},we.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},we.prototype.openNode=function(Fe){var Pe,Le,Oe,We;if(!Fe.isOpen){if(!this.root&&this.currentLevel===0&&Fe.type===le.Element&&(this.root=Fe),Le="",Fe.type===le.Element){this.writerOptions.state=ne.OpenTag,Le=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+"<"+Fe.name,We=Fe.attribs;for(Oe in We)De.call(We,Oe)&&(Pe=We[Oe],Le+=this.writer.attribute(Pe,this.writerOptions,this.currentLevel));Le+=(Fe.children?">":"/>")+this.writer.endline(Fe,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.InsideTag}else this.writerOptions.state=ne.OpenTag,Le=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+""),Le+=this.writer.endline(Fe,this.writerOptions,this.currentLevel);return this.onData(Le,this.currentLevel),Fe.isOpen=!0}},we.prototype.closeNode=function(Fe){var Pe;if(!Fe.isClosed)return Pe="",this.writerOptions.state=ne.CloseTag,Fe.type===le.Element?Pe=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+""+this.writer.endline(Fe,this.writerOptions,this.currentLevel):Pe=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Fe,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.None,this.onData(Pe,this.currentLevel),Fe.isClosed=!0},we.prototype.onData=function(Fe,Pe){return this.documentStarted=!0,this.onDataCallback(Fe,Pe+1)},we.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},we.prototype.debugInfo=function(Fe){return Fe==null?"":"node: <"+Fe+">"},we.prototype.ele=function(){return this.element.apply(this,arguments)},we.prototype.nod=function(Fe,Pe,Le){return this.node(Fe,Pe,Le)},we.prototype.txt=function(Fe){return this.text(Fe)},we.prototype.dat=function(Fe){return this.cdata(Fe)},we.prototype.com=function(Fe){return this.comment(Fe)},we.prototype.ins=function(Fe,Pe){return this.instruction(Fe,Pe)},we.prototype.dec=function(Fe,Pe,Le){return this.declaration(Fe,Pe,Le)},we.prototype.dtd=function(Fe,Pe,Le){return this.doctype(Fe,Pe,Le)},we.prototype.e=function(Fe,Pe,Le){return this.element(Fe,Pe,Le)},we.prototype.n=function(Fe,Pe,Le){return this.node(Fe,Pe,Le)},we.prototype.t=function(Fe){return this.text(Fe)},we.prototype.d=function(Fe){return this.cdata(Fe)},we.prototype.c=function(Fe){return this.comment(Fe)},we.prototype.r=function(Fe){return this.raw(Fe)},we.prototype.i=function(Fe,Pe){return this.instruction(Fe,Pe)},we.prototype.att=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.a=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},we.prototype.ent=function(Fe,Pe){return this.entity(Fe,Pe)},we.prototype.pent=function(Fe,Pe){return this.pEntity(Fe,Pe)},we.prototype.not=function(Fe,Pe){return this.notation(Fe,Pe)},we}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,ye,he){(function(){var le,ne,se,de=function(ie,oe){for(var re in oe)ue.call(oe,re)&&(ie[re]=oe[re]);function z(){this.constructor=ie}return z.prototype=oe.prototype,ie.prototype=new z,ie.__super__=oe.prototype,ie},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re){oe.__super__.constructor.call(this,re),this.type=le.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return""},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,ye,he){(function(){var le,ne,se,de,ue,ie,oe,re,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility"),re=z.isObject,oe=z.isFunction,ie=z.getValue,ue=E("./XMLNode"),le=E("./NodeType"),ne=E("./XMLAttribute"),de=E("./XMLNamedNodeMap"),ye.exports=se=function(x){a(b,x);function b(ee,te,ce){var me,ve,ge,pe;if(b.__super__.constructor.call(this,ee),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=le.Element,this.attribs={},this.schemaTypeInfo=null,ce!=null&&this.attribute(ce),ee.type===le.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(pe=ee.children,ve=0,ge=pe.length;ve=me;te=0<=me?++ce:--ce)if(!this.attribs[te].isEqualNode(ee.attribs[te]))return!1;return!0},b}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,ye,he){(function(){var le;ye.exports=le=function(){function ne(se){this.nodes=se}return Object.defineProperty(ne.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.getNamedItem=function(se){return this.nodes[se]},ne.prototype.setNamedItem=function(se){var de;return de=this.nodes[se.nodeName],this.nodes[se.nodeName]=se,de||null},ne.prototype.removeNamedItem=function(se){var de;return de=this.nodes[se],delete this.nodes[se],de||null},ne.prototype.item=function(se){return this.nodes[Object.keys(this.nodes)[se]]||null},ne.prototype.getNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},ne.prototype.setNamedItemNS=function(se){throw new Error("This DOM method is not implemented.")},ne.prototype.removeNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],450:[function(E,ye,he){(function(){var le,ne,se,de,ue,ie,oe,re,z,a,y,x,b,ee,te,ce,me,ve,ge,pe={}.hasOwnProperty;ge=E("./Utility"),ve=ge.isObject,me=ge.isFunction,ce=ge.isEmpty,te=ge.getValue,re=null,se=null,de=null,ue=null,ie=null,b=null,ee=null,x=null,oe=null,ne=null,y=null,z=null,le=null,ye.exports=a=function(){function Se(be){this.parent=be,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,re||(re=E("./XMLElement"),se=E("./XMLCData"),de=E("./XMLComment"),ue=E("./XMLDeclaration"),ie=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),ne=E("./NodeType"),y=E("./XMLNodeList"),z=E("./XMLNamedNodeMap"),le=E("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var be;return be=this.parent.children.indexOf(this),this.parent.children[be-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var be;return be=this.parent.children.indexOf(this),this.parent.children[be+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var be,Ee,Ce,De,we;if(this.nodeType===ne.Element||this.nodeType===ne.DocumentFragment){for(we="",De=this.children,Ee=0,Ce=De.length;Ee":(Ce=this.parent)!=null&&Ce.name?"node: <"+be+">, parent: <"+this.parent.name+">":"node: <"+be+">"},Se.prototype.ele=function(be,Ee,Ce){return this.element(be,Ee,Ce)},Se.prototype.nod=function(be,Ee,Ce){return this.node(be,Ee,Ce)},Se.prototype.txt=function(be){return this.text(be)},Se.prototype.dat=function(be){return this.cdata(be)},Se.prototype.com=function(be){return this.comment(be)},Se.prototype.ins=function(be,Ee){return this.instruction(be,Ee)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(be,Ee,Ce){return this.declaration(be,Ee,Ce)},Se.prototype.e=function(be,Ee,Ce){return this.element(be,Ee,Ce)},Se.prototype.n=function(be,Ee,Ce){return this.node(be,Ee,Ce)},Se.prototype.t=function(be){return this.text(be)},Se.prototype.d=function(be){return this.cdata(be)},Se.prototype.c=function(be){return this.comment(be)},Se.prototype.r=function(be){return this.raw(be)},Se.prototype.i=function(be,Ee){return this.instruction(be,Ee)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(be){return this.importDocument(be)},Se.prototype.replaceChild=function(be,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(be,Ee){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(be){var Ee,Ce;return Ee=this,Ee===be?0:this.document()!==be.document()?(Ce=le.Disconnected|le.ImplementationSpecific,Math.random()<.5?Ce|=le.Preceding:Ce|=le.Following,Ce):Ee.isAncestor(be)?le.Contains|le.Preceding:Ee.isDescendant(be)?le.Contains|le.Following:Ee.isPreceding(be)?le.Preceding:le.Following},Se.prototype.isSameNode=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(be){var Ee,Ce,De;if(be.nodeType!==this.nodeType||be.children.length!==this.children.length)return!1;for(Ee=Ce=0,De=this.children.length-1;0<=De?Ce<=De:Ce>=De;Ee=0<=De?++Ce:--Ce)if(!this.children[Ee].isEqualNode(be.children[Ee]))return!1;return!0},Se.prototype.getFeature=function(be,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(be,Ee,Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(be){return be?be===this||this.isDescendant(be):!1},Se.prototype.isDescendant=function(be){var Ee,Ce,De,we,Fe;for(Fe=this.children,De=0,we=Fe.length;DeCe},Se.prototype.treePosition=function(be){var Ee,Ce;return Ce=0,Ee=!1,this.foreachTreeNode(this.document(),function(De){if(Ce++,!Ee&&De===be)return Ee=!0}),Ee?Ce:-1},Se.prototype.foreachTreeNode=function(be,Ee){var Ce,De,we,Fe,Pe;for(be||(be=this.document()),Fe=be.children,De=0,we=Fe.length;De0){for(this.stream.write(" ["),this.stream.write(this.endline(z,a,y)),a.state=ne.InsideTag,te=z.children,b=0,ee=te.length;b"),this.stream.write(this.endline(z,a,y)),a.state=ne.None,this.closeNode(z,a,y)},re.prototype.element=function(z,a,y){var x,b,ee,te,ce,me,ve,ge,pe,Se;y||(y=0),this.openNode(z,a,y),a.state=ne.OpenTag,this.stream.write(this.indent(z,a,y)+"<"+z.name),pe=z.attribs;for(ve in pe)ie.call(pe,ve)&&(x=pe[ve],this.attribute(x,a,y));if(ee=z.children.length,te=ee===0?null:z.children[0],ee===0||z.children.every(function(be){return(be.type===le.Text||be.type===le.Raw)&&be.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=ne.CloseTag,this.stream.write("")):(a.state=ne.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&ee===1&&(te.type===le.Text||te.type===le.Raw)&&te.value!=null)this.stream.write(">"),a.state=ne.InsideTag,a.suppressPrettyCount++,ge=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,ge=!1,a.state=ne.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(z,a,y)),a.state=ne.InsideTag,Se=z.children,ce=0,me=Se.length;ce")}return this.stream.write(this.endline(z,a,y)),a.state=ne.None,this.closeNode(z,a,y)},re.prototype.processingInstruction=function(z,a,y){return this.stream.write(re.__super__.processingInstruction.call(this,z,a,y))},re.prototype.raw=function(z,a,y){return this.stream.write(re.__super__.raw.call(this,z,a,y))},re.prototype.text=function(z,a,y){return this.stream.write(re.__super__.text.call(this,z,a,y))},re.prototype.dtdAttList=function(z,a,y){return this.stream.write(re.__super__.dtdAttList.call(this,z,a,y))},re.prototype.dtdElement=function(z,a,y){return this.stream.write(re.__super__.dtdElement.call(this,z,a,y))},re.prototype.dtdEntity=function(z,a,y){return this.stream.write(re.__super__.dtdEntity.call(this,z,a,y))},re.prototype.dtdNotation=function(z,a,y){return this.stream.write(re.__super__.dtdNotation.call(this,z,a,y))},re}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,ye,he){(function(){var le,ne,se=function(ue,ie){for(var oe in ie)de.call(ie,oe)&&(ue[oe]=ie[oe]);function re(){this.constructor=ue}return re.prototype=ie.prototype,ue.prototype=new re,ue.__super__=ie.prototype,ue},de={}.hasOwnProperty;ne=E("./XMLWriterBase"),ye.exports=le=function(ue){se(ie,ue);function ie(oe){ie.__super__.constructor.call(this,oe)}return ie.prototype.document=function(oe,re){var z,a,y,x,b;for(re=this.filterOptions(re),x="",b=oe.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(ue))},de.prototype.comment=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ue);return this.assertLegalChar(ue)},de.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},de.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},de.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.insValue=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/\?>/))throw new Error("Invalid processing instruction value: "+ue);return this.assertLegalChar(ue)},de.prototype.xmlVersion=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ue);return ue},de.prototype.xmlEncoding=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ue);return this.assertLegalChar(ue)},de.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},de.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.convertAttKey="@",de.prototype.convertPIKey="?",de.prototype.convertTextKey="#text",de.prototype.convertCDataKey="#cdata",de.prototype.convertCommentKey="#comment",de.prototype.convertRawKey="#raw",de.prototype.assertLegalChar=function(ue){var ie,oe;if(this.options.noValidation)return ue;if(ie="",this.options.version==="1.0"){if(ie=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ie))throw new Error("Invalid character in string: "+ue+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ie=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ie)))throw new Error("Invalid character in string: "+ue+" at index "+oe.index);return ue},de.prototype.assertLegalName=function(ue){var ie;if(this.options.noValidation)return ue;if(this.assertLegalChar(ue),ie=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ue.match(ie))throw new Error("Invalid character in name");return ue},de.prototype.textEscape=function(ue){var ie;return this.options.noValidation?ue:(ie=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ie,"&").replace(//g,">").replace(/\r/g," "))},de.prototype.attEscape=function(ue){var ie;return this.options.noValidation?ue:(ie=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ie,"&").replace(/0)?new Array(Ee).join(Se.indent):""},ge.prototype.endline=function(pe,Se,be){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},ge.prototype.attribute=function(pe,Se,be){var Ee;return this.openAttribute(pe,Se,be),Ee=" "+pe.name+'="'+pe.value+'"',this.closeAttribute(pe,Se,be),Ee},ge.prototype.cdata=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.comment=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.declaration=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+"",Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.docType=function(pe,Se,be){var Ee,Ce,De,we,Fe;if(be||(be=0),this.openNode(pe,Se,be),Se.state=ne.OpenTag,we=this.indent(pe,Se,be),we+="0){for(we+=" [",we+=this.endline(pe,Se,be),Se.state=ne.InsideTag,Fe=pe.children,Ce=0,De=Fe.length;Ce",we+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),we},ge.prototype.element=function(pe,Se,be){var Ee,Ce,De,we,Fe,Pe,Le,Oe,We,Te,Ue,He,Qe,Ge;be||(be=0),Te=!1,Ue="",this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ue+=this.indent(pe,Se,be)+"<"+pe.name,He=pe.attribs;for(We in He)ve.call(He,We)&&(Ee=He[We],Ue+=this.attribute(Ee,Se,be));if(De=pe.children.length,we=De===0?null:pe.children[0],De===0||pe.children.every(function(ze){return(ze.type===le.Text||ze.type===le.Raw)&&ze.value===""}))Se.allowEmpty?(Ue+=">",Se.state=ne.CloseTag,Ue+=""+this.endline(pe,Se,be)):(Se.state=ne.CloseTag,Ue+=Se.spaceBeforeSlash+"/>"+this.endline(pe,Se,be));else if(Se.pretty&&De===1&&(we.type===le.Text||we.type===le.Raw)&&we.value!=null)Ue+=">",Se.state=ne.InsideTag,Se.suppressPrettyCount++,Te=!0,Ue+=this.writeChildNode(we,Se,be+1),Se.suppressPrettyCount--,Te=!1,Se.state=ne.CloseTag,Ue+=""+this.endline(pe,Se,be);else{if(Se.dontPrettyTextNodes){for(Qe=pe.children,Fe=0,Le=Qe.length;Fe"+this.endline(pe,Se,be),Se.state=ne.InsideTag,Ge=pe.children,Pe=0,Oe=Ge.length;Pe",Te&&Se.suppressPrettyCount--,Ue+=this.endline(pe,Se,be),Se.state=ne.None}return this.closeNode(pe,Se,be),Ue},ge.prototype.writeChildNode=function(pe,Se,be){switch(pe.type){case le.CData:return this.cdata(pe,Se,be);case le.Comment:return this.comment(pe,Se,be);case le.Element:return this.element(pe,Se,be);case le.Raw:return this.raw(pe,Se,be);case le.Text:return this.text(pe,Se,be);case le.ProcessingInstruction:return this.processingInstruction(pe,Se,be);case le.Dummy:return"";case le.Declaration:return this.declaration(pe,Se,be);case le.DocType:return this.docType(pe,Se,be);case le.AttributeDeclaration:return this.dtdAttList(pe,Se,be);case le.ElementDeclaration:return this.dtdElement(pe,Se,be);case le.EntityDeclaration:return this.dtdEntity(pe,Se,be);case le.NotationDeclaration:return this.dtdNotation(pe,Se,be);default:throw new Error("Unknown XML node type: "+pe.constructor.name)}},ge.prototype.processingInstruction=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+"",Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.raw=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be),Se.state=ne.InsideTag,Ee+=pe.value,Se.state=ne.CloseTag,Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.text=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be),Se.state=ne.InsideTag,Ee+=pe.value,Se.state=ne.CloseTag,Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdAttList=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdElement=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdEntity=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdNotation=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.openNode=function(pe,Se,be){},ge.prototype.closeNode=function(pe,Se,be){},ge.prototype.openAttribute=function(pe,Se,be){},ge.prototype.closeAttribute=function(pe,Se,be){},ge}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,ye,he){(function(){var le,ne,se,de,ue,ie,oe,re,z,a;a=E("./Utility"),re=a.assign,z=a.isFunction,se=E("./XMLDOMImplementation"),de=E("./XMLDocument"),ue=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ie=E("./XMLStreamWriter"),le=E("./NodeType"),ne=E("./WriterState"),ye.exports.create=function(y,x,b,ee){var te,ce;if(y==null)throw new Error("Root element needs a name.");return ee=re({},x,b,ee),te=new de(ee),ce=te.element(y),ee.headless||(te.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&te.dtd(ee)),ce},ye.exports.begin=function(y,x,b){var ee;return z(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new ue(y,x,b):new de(y)},ye.exports.stringWriter=function(y){return new oe(y)},ye.exports.streamWriter=function(y,x){return new ie(y,x)},ye.exports.implementation=new se,ye.exports.nodeType=le,ye.exports.writerState=ne}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,ye,he){ye.exports=ne;var le=Object.prototype.hasOwnProperty;function ne(){for(var se={},de=0;deue?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,ee=-271733879,te=-1732584194,ce=271733878,me=0;me>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function a(y,x){return y<>>32-x}ye.exports=function(x){return le.hash(x,se,16)}},{"./helpers":462}],464:[function(E,ye,he){"use strict";var le=E("./helpers");function ne(oe,re){oe[re>>5]|=128<<24-re%32,oe[(re+64>>9<<4)+15]=re;for(var z=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,ee=-1009589776,te=0;te>16)+(re>>16)+(z>>16);return a<<16|z&65535}function ie(oe,re){return oe<>>32-re}ye.exports=function(re){return le.hash(re,ne,20,!0)}},{"./helpers":462}],465:[function(E,ye,he){"use strict";ye.exports=function(){return function(){}}},{}],466:[function(E,ye,he){(function(le){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),se=ne(E("@babel/runtime/helpers/typeof")),de=E("stream"),ue=de.Stream,ie=E("../lib/common/utils/isArray"),oe=ie.isArray;ye.exports.string=function(a){return typeof a=="string"},ye.exports.array=oe,ye.exports.buffer=le.isBuffer;function re(z){return z instanceof ue}ye.exports.writableStream=function(a){return re(a)&&typeof a._write=="function"&&(0,se.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,ye,he){"use strict";var le=E("immediate"),ne=ye.exports={};ne.nextTick=le,ne.title="browser",ne.browser=!0,ne.env={},ne.argv=[],ne.version="",ne.versions={};function se(){}ne.on=se,ne.addListener=se,ne.once=se,ne.off=se,ne.removeListener=se,ne.removeAllListeners=se,ne.emit=se,ne.prependListener=se,ne.prependOnceListener=se,ne.listeners=function(de){return[]},ne.binding=function(de){throw new Error("process.binding is not supported")},ne.cwd=function(){return"/"},ne.chdir=function(de){throw new Error("process.chdir is not supported")},ne.umask=function(){return 0}},{immediate:358}],468:[function(E,ye,he){(function(le){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var ne=E("./lib/request"),se=E("./lib/response"),de=E("xtend"),ue=E("builtin-status-codes"),ie=E("url"),oe=he;oe.request=function(re,z){typeof re=="string"?re=ie.parse(re):re=de(re);var a=le.location.protocol.search(/^https?:$/)===-1?"http:":"",y=re.protocol||a,x=re.hostname||re.host,b=re.port,ee=re.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),re.url=(x?y+"//"+x:"")+(b?":"+b:"")+ee,re.method=(re.method||"GET").toUpperCase(),re.headers=re.headers||{};var te=new ne(re);return z&&te.on("response",z),te},oe.get=function(z,a){var y=oe.request(z,a);return y.end(),y},oe.ClientRequest=ne,oe.IncomingMessage=se.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=ue,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,ye,he){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),he.fetch=oe(le.fetch)&&oe(le.ReadableStream),he.writableStream=oe(le.WritableStream),he.abortController=oe(le.AbortController),he.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),he.blobConstructor=!0}catch(re){}var ne;function se(){if(ne!==void 0)return ne;if(le.XMLHttpRequest){ne=new le.XMLHttpRequest;try{ne.open("GET",le.XDomainRequest?"/":"https://example.com")}catch(re){ne=null}}else ne=null;return ne}function de(re){var z=se();if(!z)return!1;try{return z.responseType=re,z.responseType===re}catch(a){}return!1}var ue=typeof le.ArrayBuffer!="undefined",ie=ue&&oe(le.ArrayBuffer.prototype.slice);he.arraybuffer=he.fetch||ue&&de("arraybuffer"),he.msstream=!he.fetch&&ie&&de("ms-stream"),he.mozchunkedarraybuffer=!he.fetch&&ue&&de("moz-chunked-arraybuffer"),he.overrideMimeType=he.fetch||(se()?oe(se().overrideMimeType):!1),he.vbArray=oe(le.VBArray);function oe(re){return typeof re=="function"}ne=null}).call(this)}).call(this,typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,ye,he){(function(le,ne,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var de=E("./capability"),ue=E("inherits"),ie=E("./response"),oe=E("readable-stream"),re=E("to-arraybuffer"),z=ie.IncomingMessage,a=ie.readyStates;function y(te,ce){return de.fetch&&ce?"fetch":de.mozchunkedarraybuffer?"moz-chunked-arraybuffer":de.msstream?"ms-stream":de.arraybuffer&&te?"arraybuffer":de.vbArray&&te?"text:vbarray":"text"}var x=ye.exports=function(te){var ce=this;oe.Writable.call(ce),ce._opts=te,ce._body=[],ce._headers={},te.auth&&ce.setHeader("Authorization","Basic "+new se(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ge){ce.setHeader(ge,te.headers[ge])});var me,ve=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!de.abortController)ve=!1,me=!0;else if(te.mode==="prefer-streaming")me=!1;else if(te.mode==="allow-wrong-content-type")me=!de.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")me=!0;else throw new Error("Invalid value for opts.mode");ce._mode=y(me,ve),ce._fetchTimer=null,ce.on("finish",function(){ce._onFinish()})};ue(x,oe.Writable),x.prototype.setHeader=function(te,ce){var me=this,ve=te.toLowerCase();ee.indexOf(ve)===-1&&(me._headers[ve]={name:te,value:ce})},x.prototype.getHeader=function(te){var ce=this._headers[te.toLowerCase()];return ce?ce.value:null},x.prototype.removeHeader=function(te){var ce=this;delete ce._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ce=te._opts,me=te._headers,ve=null;ce.method!=="GET"&&ce.method!=="HEAD"&&(de.arraybuffer?ve=re(se.concat(te._body)):de.blobConstructor?ve=new ne.Blob(te._body.map(function(Ce){return re(Ce)}),{type:(me["content-type"]||{}).value||""}):ve=se.concat(te._body).toString());var ge=[];if(Object.keys(me).forEach(function(Ce){var De=me[Ce].name,we=me[Ce].value;Array.isArray(we)?we.forEach(function(Fe){ge.push([De,Fe])}):ge.push([De,we])}),te._mode==="fetch"){var pe=null,Se=null;if(de.abortController){var be=new AbortController;pe=be.signal,te._fetchAbortController=be,"requestTimeout"in ce&&ce.requestTimeout!==0&&(te._fetchTimer=ne.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ce.requestTimeout))}ne.fetch(te._opts.url,{method:te._opts.method,headers:ge,body:ve||void 0,mode:"cors",credentials:ce.withCredentials?"include":"same-origin",signal:pe}).then(function(Ce){te._fetchResponse=Ce,te._connect()},function(Ce){ne.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",Ce)})}else{var Ee=te._xhr=new ne.XMLHttpRequest;try{Ee.open(te._opts.method,te._opts.url,!0)}catch(Ce){le.nextTick(function(){te.emit("error",Ce)});return}"responseType"in Ee&&(Ee.responseType=te._mode.split(":")[0]),"withCredentials"in Ee&&(Ee.withCredentials=!!ce.withCredentials),te._mode==="text"&&"overrideMimeType"in Ee&&Ee.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ce&&(Ee.timeout=ce.requestTimeout,Ee.ontimeout=function(){te.emit("requestTimeout")}),ge.forEach(function(Ce){Ee.setRequestHeader(Ce[0],Ce[1])}),te._response=null,Ee.onreadystatechange=function(){switch(Ee.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Ee.onprogress=function(){te._onXHRProgress()}),Ee.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Ee.send(ve)}catch(Ce){le.nextTick(function(){te.emit("error",Ce)});return}}}};function b(te){try{var ce=te.status;return ce!==null&&ce!==0}catch(me){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new z(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(ce){te.emit("error",ce)}),te.emit("response",te._response))},x.prototype._write=function(te,ce,me){var ve=this;ve._body.push(te),me()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,ne.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,ce,me){var ve=this;typeof te=="function"&&(me=te,te=void 0),oe.Writable.prototype.end.call(ve,te,ce,me)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,ye,he){(function(le,ne,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var de=E("./capability"),ue=E("inherits"),ie=E("readable-stream"),oe=he.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},re=he.IncomingMessage=function(z,a,y,x){var b=this;if(ie.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){le.nextTick(function(){b.emit("close")})}),y==="fetch"){var ee=function pe(){ce.read().then(function(Se){if(!b._destroyed){if(Se.done){ne.clearTimeout(x),b.push(null);return}b.push(new se(Se.value)),pe()}}).catch(function(Se){ne.clearTimeout(x),b._destroyed||b.emit("error",Se)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(pe,Se){b.headers[Se.toLowerCase()]=pe,b.rawHeaders.push(Se,pe)}),de.writableStream){var te=new WritableStream({write:function(Se){return new Promise(function(be,Ee){b._destroyed?Ee():b.push(new se(Se))?be():b._resumeFetch=be})},close:function(){ne.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Se){b._destroyed||b.emit("error",Se)}});try{a.body.pipeTo(te).catch(function(pe){ne.clearTimeout(x),b._destroyed||b.emit("error",pe)});return}catch(pe){}}var ce=a.body.getReader();ee()}else{b._xhr=z,b._pos=0,b.url=z.responseURL,b.statusCode=z.status,b.statusMessage=z.statusText;var me=z.getAllResponseHeaders().split(/\r?\n/);if(me.forEach(function(pe){var Se=pe.match(/^([^:]+):\s*(.*)/);if(Se){var be=Se[1].toLowerCase();be==="set-cookie"?(b.headers[be]===void 0&&(b.headers[be]=[]),b.headers[be].push(Se[2])):b.headers[be]!==void 0?b.headers[be]+=", "+Se[2]:b.headers[be]=Se[2],b.rawHeaders.push(Se[1],Se[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var ve=b.rawHeaders["mime-type"];if(ve){var ge=ve.match(/;\s*charset=([^;])(;|$)/);ge&&(b._charset=ge[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(re,ie.Readable),re.prototype._read=function(){var z=this,a=z._resumeFetch;a&&(z._resumeFetch=null,a())},re.prototype._onXHRProgress=function(){var z=this,a=z._xhr,y=null;switch(z._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new ne.VBArray(a.responseBody).toArray()}catch(ce){}if(y!==null){z.push(new se(y));break}case"text":try{y=a.responseText}catch(ce){z._mode="text:vbarray";break}if(y.length>z._pos){var x=y.substr(z._pos);if(z._charset==="x-user-defined"){for(var b=new se(x.length),ee=0;eez._pos&&(z.push(new se(new Uint8Array(te.result.slice(z._pos)))),z._pos=te.result.byteLength)},te.onload=function(){z.push(null)},te.readAsArrayBuffer(y);break}z._xhr.readyState===oe.DONE&&z._mode!=="ms-stream"&&z.push(null)}}).call(this)}).call(this,E("_process"),typeof at!="undefined"?at:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var se=E("punycode"),de=E("./util");he.parse=Se,he.resolve=Ee,he.resolveObject=Ce,he.format=be,he.Url=ue;function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ie=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,re=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,z=["<",">",'"',"`"," ","\r",` -`," "],a=["{","}","|","\\","^","`"].concat(z),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ce=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,me={javascript:!0,"javascript:":!0},ve={javascript:!0,"javascript:":!0},ge={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pe=E("querystring");function Se(De,we,Fe){if(De&&de.isObject(De)&&De instanceof ue)return De;var Pe=new ue;return Pe.parse(De,we,Fe),Pe}ue.prototype.parse=function(De,we,Fe){if(!de.isString(De))throw new TypeError("Parameter 'url' must be a string, not "+(0,ne.default)(De));var Pe=De.indexOf("?"),Le=Pe!==-1&&Pe127?et+="x":et+=Me[Ie];if(!et.match(te)){var qe=Je.slice(0,_e),Ye=Je.slice(_e+1),ke=Me.match(ce);ke&&(qe.push(ke[1]),Ye.unshift(ke[2])),Ye.length&&(Te="/"+Ye.join(".")+Te),this.hostname=qe.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),lt||(this.hostname=se.toASCII(this.hostname));var xe=this.port?":"+this.port:"",Ne=this.hostname||"";this.host=Ne+xe,this.href+=this.host,lt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Te[0]!=="/"&&(Te="/"+Te))}if(!me[Qe])for(var _e=0,Ke=y.length;_e0?Fe.host.split("@"):!1;et&&(Fe.auth=et.shift(),Fe.host=Fe.hostname=et.shift())}return Fe.search=De.search,Fe.query=De.query,(!de.isNull(Fe.pathname)||!de.isNull(Fe.search))&&(Fe.path=(Fe.pathname?Fe.pathname:"")+(Fe.search?Fe.search:"")),Fe.href=Fe.format(),Fe}if(!Je.length)return Fe.pathname=null,Fe.search?Fe.path="/"+Fe.search:Fe.path=null,Fe.href=Fe.format(),Fe;for(var Ie=Je.slice(-1)[0],Re=(Fe.host||De.host||Je.length>1)&&(Ie==="."||Ie==="..")||Ie==="",qe=0,Ye=Je.length;Ye>=0;Ye--)Ie=Je[Ye],Ie==="."?Je.splice(Ye,1):Ie===".."?(Je.splice(Ye,1),qe++):qe&&(Je.splice(Ye,1),qe--);if(!Xe&&!lt)for(;qe--;qe)Je.unshift("..");Xe&&Je[0]!==""&&(!Je[0]||Je[0].charAt(0)!=="/")&&Je.unshift(""),Re&&Je.join("/").substr(-1)!=="/"&&Je.push("");var ke=Je[0]===""||Je[0]&&Je[0].charAt(0)==="/";if(Me){Fe.hostname=Fe.host=ke?"":Je.length?Je.shift():"";var et=Fe.host&&Fe.host.indexOf("@")>0?Fe.host.split("@"):!1;et&&(Fe.auth=et.shift(),Fe.host=Fe.hostname=et.shift())}return Xe=Xe||Fe.host&&Je.length,Xe&&!ke&&Je.unshift(""),Je.length?Fe.pathname=Je.join("/"):(Fe.pathname=null,Fe.path=null),(!de.isNull(Fe.pathname)||!de.isNull(Fe.search))&&(Fe.path=(Fe.pathname?Fe.pathname:"")+(Fe.search?Fe.search:"")),Fe.auth=De.auth||Fe.auth,Fe.slashes=Fe.slashes||De.slashes,Fe.href=Fe.format(),Fe},ue.prototype.parseHost=function(){var De=this.host,we=oe.exec(De);we&&(we=we[0],we!==":"&&(this.port=we.substr(1)),De=De.substr(0,De.length-we.length)),De&&(this.hostname=De)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,ye,he){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),ne=le(E("@babel/runtime/helpers/typeof"));ye.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return(0,ne.default)(de)==="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,ye,he){"use strict";E("core-js/modules/es.number.constructor.js"),he.encodeURIComponent=function(le){try{return encodeURIComponent(le)}catch(ne){return le}},he.escape=E("escape-html"),he.timestamp=function(ne){if(ne){var se=ne;return typeof se=="string"&&(se=Number(se)),String(ne).length===10&&(se*=1e3),new Date(se)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,ye,he){(function(le,ne){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var ue=E("util"),ie=E("url"),oe=E("http"),re=E("https"),z=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ve,ge){return ve===void 0?ge:ve}function te(ve){return ve?ve.split(";")[0].trim().toLowerCase():""}function ce(ve,ge){return function(pe,Se,be){if(pe)return ge(pe);ve({data:Se,status:be.statusCode,headers:be.headers,res:be})}}he.TIMEOUTS=[a("300s"),a("300s")];var me=["json","text"];he.request=function(ge,pe,Se){return arguments.length===2&&typeof pe=="function"&&(Se=pe,pe=null),typeof Se=="function"?he.requestWithCallback(ge,pe,Se):new Promise(function(be,Ee){he.requestWithCallback(ge,pe,ce(be,Ee))})},he.requestWithCallback=function(ge,pe,Se){if(!ge||typeof ge!="string"&&(0,de.default)(ge)!=="object"){var be=ue.format("expect request url to be a string or a http request options, but got %j",ge);throw new Error(be)}arguments.length===2&&typeof pe=="function"&&(Se=pe,pe=null),pe=pe||{},y>=x&&(y=0);var Ee=++y;pe.requestUrls=pe.requestUrls||[];var Ce={requestId:Ee,url:ge,args:pe,ctx:pe.ctx};pe.emitter&&pe.emitter.emit("request",Ce),pe.timeout=pe.timeout||he.TIMEOUTS,pe.maxRedirects=pe.maxRedirects||10,pe.streaming=pe.streaming||pe.customResponse;var De=Date.now(),we;typeof ge=="string"?(b.test(ge)||(ge="https://"+ge),we=ie.parse(ge)):we=ge;var Fe=(pe.type||pe.method||we.method||"GET").toUpperCase(),Pe=we.port||80,Le=oe,Oe=ee(pe.agent,he.agent),We=pe.fixJSONCtlChars;we.protocol==="https:"&&(Le=re,Oe=ee(pe.httpsAgent,he.httpsAgent),we.port||(Pe=443));var Te={host:we.hostname||we.host||"localhost",path:we.path||"/",method:Fe,port:Pe,agent:Oe,headers:pe.headers||{},lookup:pe.lookup};Array.isArray(pe.timeout)?Te.requestTimeout=pe.timeout[pe.timeout.length-1]:typeof pe.timeout!="undefined"&&(Te.requestTimeout=pe.timeout);var Ue=pe.auth||we.auth;Ue&&(Te.auth=Ue);var He=pe.content||pe.data,Qe=Fe==="GET"||Fe==="HEAD"||pe.dataAsQueryString;if(!pe.content&&He&&!(typeof He=="string"||ne.isBuffer(He)))if(Qe)He=pe.nestedQuerystring?qs.stringify(He):querystring.stringify(He);else{var Ge=Te.headers["Content-Type"]||Te.headers["content-type"];Ge||(pe.contentType==="json"?Ge="application/json":Ge="application/x-www-form-urlencoded",Te.headers["Content-Type"]=Ge),te(Ge)==="application/json"?He=JSON.stringify(He):He=pe.nestedQuerystring?qs.stringify(He):querystring.stringify(He)}Qe&&He&&(Te.path+=(we.query?"&":"?")+He,He=null);var ze=0;if(He){var _e=He.length;ne.isBuffer(He)||(_e=ne.byteLength(He)),ze=Te.headers["Content-Length"]=_e}pe.dataType==="json"&&(Te.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(Te);var Ve=null,tt=null,Xe=null,lt=!1,Je=!1,Ke=0,Me=-1,et=!1,Ie="",Re="",qe=null;pe.timing&&(qe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ye(){Ve&&(clearTimeout(Ve),Ve=null)}function ke(){tt&&(clearTimeout(tt),tt=null)}function xe(dt,ht,ot){if(ke(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Ee,le.pid,Te.method,ge),dt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s -stack: %s`,Date(),Ee,le.pid,dt.name,dt.message,dt.stack);return}var ut=Se;Se=null;var mt={};ot&&(Me=ot.statusCode,mt=ot.headers);var Ct=Date.now()-De;qe&&(qe.contentDownload=Ct),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ct,Ke,Me,Te.method,Te.host,Te.path,Je,qe);var Bt={status:Me,statusCode:Me,headers:mt,size:Ke,aborted:et,rt:Ct,keepAliveSocket:Je,data:ht,requestUrls:pe.requestUrls,timing:qe,remoteAddress:Ie,remotePort:Re};if(dt){var It="";Oe&&typeof Oe.getCurrentStatus=="function"&&(It=", agent status: "+JSON.stringify(Oe.getCurrentStatus())),dt.message+=", "+Te.method+" "+ge+" "+Me+" (connected: "+lt+", keepalive socket: "+Je+It+`) -headers: `+JSON.stringify(mt),dt.data=ht,dt.path=Te.path,dt.status=Me,dt.headers=mt,dt.res=Bt}ut(dt,ht,pe.streaming?ot:Bt),pe.emitter&&(Ce.url=ge,Ce.socket=ct&&ct.connection,Ce.options=Te,Ce.size=ze,pe.emitter.emit("response",{requestId:Ee,error:dt,ctx:pe.ctx,req:Ce,res:Bt}))}function Ne(dt){var ht=null;if(pe.followRedirect&&statuses.redirect[dt.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var ot=dt.headers.location;if(!ot)ht=new Error("Got statusCode "+dt.statusCode+" but cannot resolve next location from headers"),ht.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)ht=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ge),ht.name="MaxRedirectError";else{var ut=pe.formatRedirectUrl?pe.formatRedirectUrl(ge,ot):ie.resolve(ge,ot);z("Request#%d %s: `redirected` from %s to %s",Ee,Te.path,ge,ut),ke(),pe.headers&&pe.headers.Host&&b.test(ot)&&(pe.headers.Host=null);var mt=Se;return Se=null,he.requestWithCallback(ut,pe,mt),{redirect:!0,error:null}}}return{redirect:!1,error:ht}}pe.gzip&&!Te.headers["Accept-Encoding"]&&!Te.headers["accept-encoding"]&&(Te.headers["Accept-Encoding"]="gzip");function Be(dt,ht,ot){var ut=dt.headers["content-encoding"];return ot(null,ht,ut)}var je=pe.writeStream;z("Request#%d %s %s with headers %j, options.path: %s",Ee,Fe,ge,Te.headers,Te.path),pe.requestUrls.push(ge);function $e(dt){if(qe&&(qe.waiting=Date.now()-De),z("Request#%d %s `req response` event emit: status %d, headers: %j",Ee,ge,dt.statusCode,dt.headers),pe.streaming){var ht=Ne(dt);if(ht.redirect){dt.resume();return}return ht.error?(dt.resume(),xe(ht.error,null,dt)):xe(null,null,dt)}if(dt.on("close",function(){z("Request#%d %s: `res close` event emit, total size %d",Ee,ge,Ke)}),dt.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Ee,ge,Ke)}),dt.on("aborted",function(){et=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Ee,ge,Ke)}),je){var ot=Ne(dt);if(ot.redirect){dt.resume();return}return ot.error?(dt.resume(),je.end(),xe(ot.error,null,dt)):(pe.consumeWriteStream===!1?dt.on("end",xe.bind(null,null,null,dt)):je.on("close",function(){z("Request#%d %s: writeStream close event emitted",Ee,ge),xe(Xe||null,null,dt)}),dt.pipe(je))}var ut=[];dt.on("data",function(mt){z("Request#%d %s: `res data` event emit, size %d",Ee,ge,mt.length),Ke+=mt.length,ut.push(mt)}),dt.on("end",function(){var mt=ne.concat(ut,Ke);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Ee,ge,Ke,dt._dumped),Xe)return xe(Xe,mt,dt);var Ct=Ne(dt);if(Ct.error)return xe(Ct.error,mt,dt);Ct.redirect||Be(dt,mt,function(Bt,It,Ht){if(Bt)return xe(Bt,mt,dt);if(!Ht&&me.indexOf(pe.dataType)>=0){try{It=decodeBodyByCharset(It,dt)}catch(yn){return z("decodeBodyByCharset error: %s",yn),xe(null,It,dt)}if(pe.dataType==="json")if(Ke===0)It=null;else{var qt=parseJSON(It,We);qt.error?Bt=qt.error:It=qt.data}}et&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Ee,ge),xe(Bt,It,dt)})})}var nt,Ze;Array.isArray(pe.timeout)?(nt=a(pe.timeout[0]),Ze=a(pe.timeout[1])):nt=Ze=a(pe.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",nt,Ze);function rt(){z("Connect timer ticking, timeout: %d",nt),Ve=setTimeout(function(){Ve=null,Me===-1&&(Me=-2);var dt="Connect timeout for "+nt+"ms",ht="ConnectionTimeoutError";ct.socket||(ht="SocketAssignTimeoutError",dt+=", working sockets is full"),Xe=new Error(dt),Xe.name=ht,Xe.requestId=Ee,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Ee,ge,Xe.name,dt,lt),bt()},nt)}function yt(){z("Response timer ticking, timeout: %d",Ze),tt=setTimeout(function(){tt=null;var dt="Response timeout for "+Ze+"ms",ht="ResponseTimeoutError";Xe=new Error(dt),Xe.name=ht,Xe.requestId=Ee,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Ee,ge,Xe.name,dt,lt),bt()},Ze)}var ct;Te.mode=pe.mode?pe.mode:"";try{ct=Le.request(Te,$e)}catch(dt){return xe(dt)}typeof window=="undefined"?rt():ct.on("requestTimeout",function(){Me===-1&&(Me=-2);var dt="Connect timeout for "+nt+"ms",ht="ConnectionTimeoutError";Xe=new Error(dt),Xe.name=ht,Xe.requestId=Ee,bt()});function bt(){z("Request#%d %s abort, connected: %s",Ee,ge,lt),ct.socket||(Xe.noSocket=!0,xe(Xe)),ct.abort()}return qe&&ct.on("finish",function(){qe.requestSent=Date.now()-De}),ct.once("socket",function(dt){qe&&(qe.queuing=Date.now()-De);var ht=dt.readyState;if(ht==="opening"){dt.once("lookup",function(ot,ut,mt){z("Request#%d %s lookup: %s, %s, %s",Ee,ge,ot,ut,mt),qe&&(qe.dnslookup=Date.now()-De),ut&&(Ie=ut)}),dt.once("connect",function(){qe&&(qe.connected=Date.now()-De),Ye(),yt(),z("Request#%d %s new socket connected",Ee,ge),lt=!0,Ie||(Ie=dt.remoteAddress),Re=dt.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Ee,ge,ht),lt=!0,Je=!0,Ie||(Ie=dt.remoteAddress),Re=dt.remotePort,Ye(),yt()}),ct.on("error",function(dt){(dt.name==="Error"||dt.name==="TypeError")&&(dt.name=lt?"ResponseError":"RequestError"),dt.message+=' (req "error")',z("Request#%d %s `req error` event emit, %s: %s",Ee,ge,dt.name,dt.message),xe(Xe||dt)}),je&&je.once("error",function(dt){dt.message+=' (writeStream "error")',Xe=dt,z("Request#%d %s `writeStream error` event emit, %s: %s",Ee,ge,dt.name,dt.message),bt()}),pe.stream?(pe.stream.pipe(ct),pe.stream.once("error",function(dt){dt.message+=' (stream "error")',Xe=dt,z("Request#%d %s `readStream error` event emit, %s: %s",Ee,ge,dt.name,dt.message),bt()})):ct.end(He),ct.requestId=Ee,ct}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(vt,at){"use strict";function fe(){const ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ae=1;Ae{const he=E[ye];he!==void 0&&(ae[ye]=he)})}return ae}at.Z=fe},77578:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ae}});const ae=Ae=>Ae?typeof Ae=="function"?Ae():Ae:null},13845:function(vt,at,fe){"use strict";fe.d(at,{F:function(){return ae},Z:function(){return Ae}});function ae(E){return E!=null&&E===E.window}function Ae(E,ye){var he,le;if(typeof window=="undefined")return 0;const ne=ye?"scrollTop":"scrollLeft";let se=0;return ae(E)?se=E[ye?"pageYOffset":"pageXOffset"]:E instanceof Document?se=E.documentElement[ne]:(E instanceof HTMLElement||E)&&(se=E[ne]),E&&!ae(E)&&typeof se!="number"&&(se=(le=((he=E.ownerDocument)!==null&&he!==void 0?he:E).documentElement)===null||le===void 0?void 0:le[ne]),se}},56762:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ae}});var ae=fe(59301);function Ae(){const[,E]=ae.useReducer(ye=>ye+1,0);return E}},68031:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ye}});var ae=fe(16089);function Ae(he,le,ne,se){const de=ne-le;return he/=se/2,he<1?de/2*he*he*he+le:de/2*((he-=2)*he*he+2)+le}var E=fe(13845);function ye(he){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ne=()=>window,callback:se,duration:de=450}=le,ue=ne(),ie=(0,E.Z)(ue,!0),oe=Date.now(),re=()=>{const a=Date.now()-oe,y=Ae(a>de?de:a,ie,he,de);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a2&&arguments[2]!==void 0?arguments[2]:!1;Mt.forEach(function(jt){if(!(!Qt&&fn!==!1&&fn>0&&_n.length>=fn)){var bn=[].concat((0,ae.Z)(Lt),[jt]),Dn=jt[kt.children],Hn=Jt||jt.disabled;if((!Dn||Dn.length===0||en)&&pt(ft,bn,{label:kt.label})){var rn;_n.push((0,te.Z)((0,te.Z)({},jt),{},(rn={disabled:Hn},(0,ee.Z)(rn,kt.label,xt(ft,bn,Xt,kt)),(0,ee.Z)(rn,ce,bn),(0,ee.Z)(rn,kt.children,void 0),rn)))}Dn&&wn(jt[kt.children],bn,Hn)}})}return wn(Ft,[]),Qt&&_n.sort(function(Mt,Lt){return Qt(Mt[ce],Lt[ce],ft,kt)}),fn!==!1&&fn>0?_n.slice(0,fn):_n},[ft,Ft,kt,Xt,xt,en,pt,Qt,fn])},pe="__RC_CASCADER_SPLIT__",Se="SHOW_PARENT",be="SHOW_CHILD";function Ee(ft){return ft.join(pe)}function Ce(ft){return ft.map(Ee)}function De(ft){return ft.split(pe)}function we(ft){var Ft=ft||{},kt=Ft.label,Xt=Ft.value,an=Ft.children,en=Xt||"value";return{label:kt||"label",value:en,key:en,children:an||"children"}}function Fe(ft,Ft){var kt,Xt;return(kt=ft.isLeaf)!==null&&kt!==void 0?kt:!((Xt=ft[Ft.children])!==null&&Xt!==void 0&&Xt.length)}function Pe(ft){var Ft=ft.parentElement;if(Ft){var kt=ft.offsetTop-Ft.offsetTop;kt-Ft.scrollTop<0?Ft.scrollTo({top:kt}):kt+ft.offsetHeight-Ft.scrollTop>Ft.offsetHeight&&Ft.scrollTo({top:kt+ft.offsetHeight-Ft.offsetHeight})}}function Le(ft,Ft){return ft.map(function(kt){var Xt;return(Xt=kt[ce])===null||Xt===void 0?void 0:Xt.map(function(an){return an[Ft.value]})})}function Oe(ft,Ft,kt){var Xt=new Set(ft),an=Ft();return ft.filter(function(en){var Vt=an[en],pt=Vt?Vt.parent:null,wt=Vt?Vt.children:null;return Vt&&Vt.node.disabled?!0:kt===be?!(wt&&wt.some(function(xt){return xt.key&&Xt.has(xt.key)})):!(pt&&!pt.node.disabled&&Xt.has(pt.key))})}function We(ft,Ft,kt){for(var Xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,an=Ft,en=[],Vt=function(){var xt,Ut,fn,Qt=ft[pt],_n=(xt=an)===null||xt===void 0?void 0:xt.findIndex(function(Mt){var Lt=Mt[kt.value];return Xt?String(Lt)===String(Qt):Lt===Qt}),wn=_n!==-1?(Ut=an)===null||Ut===void 0?void 0:Ut[_n]:null;en.push({value:(fn=wn==null?void 0:wn[kt.value])!==null&&fn!==void 0?fn:Qt,index:_n,option:wn}),an=wn==null?void 0:wn[kt.children]},pt=0;pt1){var Pt=wn.slice(0,-1);jt(Pt)}else xt(!1)},Hn=function(){var Pt,gt=((Pt=Lt[Mt])===null||Pt===void 0?void 0:Pt[kt.children])||[],St=gt.find(function(zt){return!zt.disabled});if(St){var At=[].concat((0,ae.Z)(wn),[St[kt.value]]);jt(At)}};Ae.useImperativeHandle(ft,function(){return{onKeyDown:function(Pt){var gt=Pt.which;switch(gt){case Ke.Z.UP:case Ke.Z.DOWN:{var St=0;gt===Ke.Z.UP?St=-1:gt===Ke.Z.DOWN&&(St=1),St!==0&&bn(St);break}case Ke.Z.LEFT:{if(wt)break;fn?Hn():Dn();break}case Ke.Z.RIGHT:{if(wt)break;fn?Dn():Hn();break}case Ke.Z.BACKSPACE:{wt||Dn();break}case Ke.Z.ENTER:{if(wn.length){var At=Lt[Mt],zt=(At==null?void 0:At[ce])||[];zt.length?en(zt.map(function(Zt){return Zt[kt.value]}),zt[zt.length-1]):en(wn,Lt[Mt])}break}case Ke.Z.ESC:xt(!1),Ut&&Pt.stopPropagation()}},onKeyUp:function(){}}})},et=Ae.forwardRef(function(ft,Ft){var kt,Xt,an,en,Vt=(0,ie.lk)(),pt=Vt.prefixCls,wt=Vt.multiple,xt=Vt.searchValue,Ut=Vt.toggleOpen,fn=Vt.notFoundContent,Qt=Vt.direction,_n=Vt.open,wn=Ae.useRef(),Mt=Qt==="rtl",Lt=Ae.useContext(x),Jt=Lt.options,jt=Lt.values,bn=Lt.halfValues,Dn=Lt.fieldNames,Hn=Lt.changeOnSelect,rn=Lt.onSelect,Pt=Lt.searchOptions,gt=Lt.dropdownPrefixCls,St=Lt.loadData,At=Lt.expandTrigger,zt=gt||pt,Zt=Ae.useState([]),$t=(0,de.Z)(Zt,2),ln=$t[0],Pn=$t[1],zn=function(Xn){if(!(!St||xt)){var Fn=We(Xn,Jt,Dn),Hr=Fn.map(function(Or){var Ur=Or.option;return Ur}),Jr=Hr[Hr.length-1];if(Jr&&!Fe(Jr,Dn)){var Tr=Ee(Xn);Pn(function(Or){return[].concat((0,ae.Z)(Or),[Tr])}),St(Hr)}}};Ae.useEffect(function(){ln.length&&ln.forEach(function(Kn){var Xn=De(Kn),Fn=We(Xn,Jt,Dn,!0).map(function(Jr){var Tr=Jr.option;return Tr}),Hr=Fn[Fn.length-1];(!Hr||Hr[Dn.children]||Fe(Hr,Dn))&&Pn(function(Jr){return Jr.filter(function(Tr){return Tr!==Kn})})})},[Jt,ln,Dn]);var Gt=Ae.useMemo(function(){return new Set(Ce(jt))},[jt]),tr=Ae.useMemo(function(){return new Set(Ce(bn))},[bn]),ir=Je(),sr=(0,de.Z)(ir,2),vr=sr[0],Ln=sr[1],Rn=function(Xn){Ln(Xn),zn(Xn)},$n=function(Xn){var Fn=Xn.disabled,Hr=Fe(Xn,Dn);return!Fn&&(Hr||Hn||wt)},Tn=function(Xn,Fn){var Hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;rn(Xn),!wt&&(Fn||Hn&&(At==="hover"||Hr))&&Ut(!1)},ur=Ae.useMemo(function(){return xt?Pt:Jt},[xt,Pt,Jt]),Sr=Ae.useMemo(function(){for(var Kn=[{options:ur}],Xn=ur,Fn=Le(Xn,Dn),Hr=function(){var Ur=vr[Jr],sa=Xn.find(function(xr,wr){return(Fn[wr]?Ee(Fn[wr]):xr[Dn.value])===Ur}),ra=sa==null?void 0:sa[Dn.children];if(!(ra!=null&&ra.length))return"break";Xn=ra,Kn.push({options:ra})},Jr=0;Jr":ln,zn=ft.loadingIcon,Gt=ft.children,tr=ft.dropdownMatchSelectWidth,ir=tr===void 0?!1:tr,sr=ft.showCheckedStrategy,vr=sr===void 0?Se:sr,Ln=(0,ue.Z)(ft,ke),Rn=(0,oe.ZP)(kt),$n=!!fn,Tn=(0,a.Z)(Vt,{value:pt,postState:Ne}),ur=(0,de.Z)(Tn,2),Sr=ur[0],lr=ur[1],Ir=Ae.useMemo(function(){return we(en)},[JSON.stringify(en)]),Er=Ae.useMemo(function(){return jt||[]},[jt]),$r=He(Er,Ir),na=Ae.useCallback(function(An){var mn=$r();return An.map(function(Sn){var On=mn[Sn].nodes;return On.map(function(jn){return jn[Ir.value]})})},[$r,Ir]),ca=(0,a.Z)("",{value:wn,postState:function(mn){return mn||""}}),Kn=(0,de.Z)(ca,2),Xn=Kn[0],Fn=Kn[1],Hr=function(mn,Sn){Fn(mn),Sn.source!=="blur"&&Mt&&Mt(mn)},Jr=ze(Lt),Tr=(0,de.Z)(Jr,2),Or=Tr[0],Ur=Tr[1],sa=ge(Xn,Er,Ir,bn||an,Ur,wt),ra=Qe(Er,Ir),xr=Ae.useMemo(function(){var An=ra(Sr),mn=(0,de.Z)(An,2),Sn=mn[0],On=mn[1];if(!$n||!Sr.length)return[Sn,[],On];var jn=Ce(Sn),ar=$r(),Vn=(0,re.S)(jn,!0,ar),Gr=Vn.checkedKeys,hr=Vn.halfCheckedKeys;return[na(Gr),na(hr),On]},[$n,Sr,$r,na,ra]),wr=(0,de.Z)(xr,3),Br=wr[0],Mr=wr[1],Wr=wr[2],ha=Ae.useMemo(function(){var An=Ce(Br),mn=Oe(An,$r,vr);return[].concat((0,ae.Z)(Wr),(0,ae.Z)(na(mn)))},[Br,$r,na,Wr,vr]),wa=Te(ha,Er,Ir,$n,Ut),Ia=(0,z.Z)(function(An){if(lr(An),xt){var mn=Ne(An),Sn=mn.map(function(ar){return We(ar,Er,Ir).map(function(Vn){return Vn.option})}),On=$n?mn:mn[0],jn=$n?Sn:Sn[0];xt(On,jn)}}),ka=(0,z.Z)(function(An){if((!$n||_n)&&Fn(""),!$n)Ia(An);else{var mn=Ee(An),Sn=Ce(Br),On=Ce(Mr),jn=Sn.includes(mn),ar=Wr.some(function(Un){return Ee(Un)===mn}),Vn=Br,Gr=Wr;if(ar&&!jn)Gr=Wr.filter(function(Un){return Ee(Un)!==mn});else{var hr=jn?Sn.filter(function(Un){return Un!==mn}):[].concat((0,ae.Z)(Sn),[mn]),pa=$r(),Rr;if(jn){var gr=(0,re.S)(hr,{checked:!1,halfCheckedKeys:On},pa);Rr=gr.checkedKeys}else{var _r=(0,re.S)(hr,!0,pa);Rr=_r.checkedKeys}var Kr=Oe(Rr,$r,vr);Vn=na(Kr)}Ia([].concat((0,ae.Z)(Gr),(0,ae.Z)(Vn)))}}),Na=function(mn,Sn){if(Sn.type==="clear"){Ia([]);return}var On=Sn.values[0],jn=On.valueCells;ka(jn)},da=rn!==void 0?rn:Hn,ya=gt||Pt,za=zt||At,Yt=function(mn){Zt==null||Zt(mn),$t==null||$t(mn)},hn=Ae.useMemo(function(){return{options:Er,fieldNames:Ir,values:Br,halfValues:Mr,changeOnSelect:wt,onSelect:ka,checkable:fn,searchOptions:sa,dropdownPrefixCls:bn,loadData:Dn,expandTrigger:Jt,expandIcon:Pn,loadingIcon:zn,dropdownMenuColumnStyle:St}},[Er,Ir,Br,Mr,wt,ka,fn,sa,bn,Dn,Jt,Pn,zn,St]),Nn=!(Xn?sa:Er).length,Mn=Xn&&Ur.matchInputWidth||Nn?{}:{minWidth:"auto"};return Ae.createElement(x.Provider,{value:hn},Ae.createElement(ie.Ac,(0,se.Z)({},Ln,{ref:Ft,id:Rn,prefixCls:an,autoClearSearchValue:_n,dropdownMatchSelectWidth:ir,dropdownStyle:Mn,displayValues:wa,onDisplayValuesChange:Na,mode:$n?"multiple":void 0,searchValue:Xn,onSearch:Hr,showSearch:Or,OptionList:Ie,emptyOptions:Nn,open:da,dropdownClassName:ya,placement:za,onDropdownVisibleChange:Yt,getRawInputElement:function(){return Gt}})))});Be.SHOW_PARENT=Se,Be.SHOW_CHILD=be;var je=Be,$e=je,nt=fe(2738),Ze=fe(62892),rt=fe(53487),yt=fe(19080),ct=fe(36355),bt=fe(93891),dt=fe(1684),ht=fe(19716),ot=fe(32441),ut=fe(14154),mt=fe(58582),Ct=fe(84443),Bt=fe(66339),It=fe(33234),Ht=fe(98447),qt=fe(17313),yn=fe(74207),In=fe(83116);const En=ft=>{const{prefixCls:Ft,componentCls:kt,antCls:Xt}=ft,an=`${kt}-menu-item`,en=` - &${an}-expand ${an}-expand-icon, - ${an}-loading-icon - `;return[{[kt]:{width:ft.controlWidth}},{[`${kt}-dropdown`]:[(0,Ht.C2)(`${Ft}-checkbox`,ft),{[`&${Xt}-select-dropdown`]:{padding:0}},{[kt]:{"&-checkbox":{top:0,marginInlineEnd:ft.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${kt}-menu-empty`]:{[`${kt}-menu`]:{width:"100%",height:"auto",[an]:{color:ft.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ft.controlItemWidth,height:ft.dropdownHeight,margin:0,padding:ft.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ft.lineWidth}px ${ft.lineType} ${ft.colorSplit}`},"&-item":Object.assign(Object.assign({},qt.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ft.optionPadding,lineHeight:ft.lineHeight,cursor:"pointer",transition:`all ${ft.motionDurationMid}`,borderRadius:ft.borderRadiusSM,"&:hover":{background:ft.controlItemBgHover},"&-disabled":{color:ft.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[en]:{color:ft.colorTextDisabled}},[`&-active:not(${an}-disabled)`]:{"&, &:hover":{fontWeight:ft.optionSelectedFontWeight,backgroundColor:ft.optionSelectedBg}},"&-content":{flex:"auto"},[en]:{marginInlineStart:ft.paddingXXS,color:ft.colorTextDescription,fontSize:ft.fontSizeIcon},"&-keyword":{color:ft.colorHighlight}})}}}]},{[`${kt}-dropdown-rtl`]:{direction:"rtl"}},(0,yn.c)(ft)]};var pn=(0,In.Z)("Cascader",ft=>[En(ft)],ft=>{const Ft=Math.round((ft.controlHeight-ft.fontSize*ft.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ft.controlItemBgActive,optionSelectedFontWeight:ft.fontWeightStrong,optionPadding:`${Ft}px ${ft.paddingSM}px`,menuPadding:ft.paddingXXS}}),Qn=function(ft,Ft){var kt={};for(var Xt in ft)Object.prototype.hasOwnProperty.call(ft,Xt)&&Ft.indexOf(Xt)<0&&(kt[Xt]=ft[Xt]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Xt=Object.getOwnPropertySymbols(ft);anwt===0?[pt]:[].concat((0,ae.Z)(Vt),[Ft,pt]),[]),an=[];let en=0;return Xt.forEach((Vt,pt)=>{const wt=en+Vt.length;let xt=ft.slice(en,wt);en=wt,pt%2===1&&(xt=Ae.createElement("span",{className:`${kt}-menu-item-keyword`,key:`separator-${pt}`},xt)),an.push(xt)}),an}const _t=(ft,Ft,kt,Xt)=>{const an=[],en=ft.toLowerCase();return Ft.forEach((Vt,pt)=>{pt!==0&&an.push(" / ");let wt=Vt[Xt.label];const xt=typeof wt;(xt==="string"||xt==="number")&&(wt=Yn(String(wt),en,kt)),an.push(wt)}),an},tn=Ae.forwardRef((ft,Ft)=>{const{prefixCls:kt,size:Xt,disabled:an,className:en,rootClassName:Vt,multiple:pt,bordered:wt=!0,transitionName:xt,choiceTransitionName:Ut="",popupClassName:fn,dropdownClassName:Qt,expandIcon:_n,placement:wn,showSearch:Mt,allowClear:Lt=!0,notFoundContent:Jt,direction:jt,getPopupContainer:bn,status:Dn,showArrow:Hn,builtinPlacements:rn,style:Pt}=ft,gt=Qn(ft,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),St=(0,nt.Z)(gt,["suffixIcon"]),{getPopupContainer:At,getPrefixCls:zt,renderEmpty:Zt,direction:$t,popupOverflow:ln,cascader:Pn}=Ae.useContext(ct.E_),zn=jt||$t,Gt=zn==="rtl",{status:tr,hasFeedback:ir,isFormItemInput:sr,feedbackIcon:vr}=Ae.useContext(ot.aM),Ln=(0,yt.F)(tr,Dn),Rn=Jt||(Zt==null?void 0:Zt("Cascader"))||Ae.createElement(bt.Z,{componentName:"Cascader"}),$n=zt(),Tn=zt("select",kt),ur=zt("cascader",kt),[Sr,lr]=(0,ut.Z)(Tn),[Ir]=pn(ur),{compactSize:Er,compactItemClassnames:$r}=(0,It.ri)(Tn,jt),na=ne()(fn||Qt,`${ur}-dropdown`,{[`${ur}-dropdown-rtl`]:zn==="rtl"},Vt,lr),ca=Ae.useMemo(()=>{if(!Mt)return Mt;let Wr={render:_t};return typeof Mt=="object"&&(Wr=Object.assign(Object.assign({},Wr),Mt)),Wr},[Mt]),Kn=(0,ht.Z)(Wr=>{var ha;return(ha=Xt!=null?Xt:Er)!==null&&ha!==void 0?ha:Wr}),Xn=Ae.useContext(dt.Z),Fn=an!=null?an:Xn;let Hr=_n;_n||(Hr=Gt?Ae.createElement(E.Z,null):Ae.createElement(he.Z,null));const Jr=Ae.createElement("span",{className:`${Tn}-menu-item-loading-icon`},Ae.createElement(ye.Z,{spin:!0})),Tr=Ae.useMemo(()=>pt?Ae.createElement("span",{className:`${ur}-checkbox-inner`}):!1,[pt]),Or=(0,Ct.Z)(ft.suffixIcon,Hn),{suffixIcon:Ur,removeIcon:sa,clearIcon:ra}=(0,Bt.Z)(Object.assign(Object.assign({},ft),{hasFeedback:ir,feedbackIcon:vr,showSuffixIcon:Or,multiple:pt,prefixCls:Tn,componentName:"Cascader"})),xr=Ae.useMemo(()=>wn!==void 0?wn:Gt?"bottomRight":"bottomLeft",[wn,Gt]),wr=(0,mt.Z)(rn,ln),Br=Lt===!0?{clearIcon:ra}:Lt,Mr=Ae.createElement($e,Object.assign({prefixCls:Tn,className:ne()(!kt&&ur,{[`${Tn}-lg`]:Kn==="large",[`${Tn}-sm`]:Kn==="small",[`${Tn}-rtl`]:Gt,[`${Tn}-borderless`]:!wt,[`${Tn}-in-form-item`]:sr},(0,yt.Z)(Tn,Ln,ir),$r,Pn==null?void 0:Pn.className,en,Vt,lr),disabled:Fn,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),Pt)},St,{builtinPlacements:wr,direction:zn,placement:xr,notFoundContent:Rn,allowClear:Br,showSearch:ca,expandIcon:Hr,suffixIcon:Ur,removeIcon:sa,loadingIcon:Jr,checkable:Tr,dropdownClassName:na,dropdownPrefixCls:kt||ur,choiceTransitionName:(0,Ze.m)($n,"",Ut),transitionName:(0,Ze.m)($n,"slide-up",xt),getPopupContainer:bn||At,ref:Ft}));return Ir(Sr(Mr))}),cn=(0,rt.Z)(tn);tn.SHOW_PARENT=un,tn.SHOW_CHILD=Bn,tn._InternalPanelDoNotUseOrYouWillBeFired=cn;var Ot=tn},24905:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return ge}});var ae=fe(92310),Ae=fe.n(ae),E=fe(5630),ye=fe(59301),he=fe(36355),le=fe(1684),ne=fe(32441),de=ye.createContext(null),ue=fe(98447),ie=fe(14088),oe=fe(4572),re=function(pe,Se){var be={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ee=Object.getOwnPropertySymbols(pe);Ce{var be;const{prefixCls:Ee,className:Ce,rootClassName:De,children:we,indeterminate:Fe=!1,style:Pe,onMouseEnter:Le,onMouseLeave:Oe,skipGroup:We=!1,disabled:Te}=pe,Ue=re(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:He,direction:Qe,checkbox:Ge}=ye.useContext(he.E_),ze=ye.useContext(de),{isFormItemInput:_e}=ye.useContext(ne.aM),Ve=ye.useContext(le.Z),tt=(be=(ze==null?void 0:ze.disabled)||Te)!==null&&be!==void 0?be:Ve,Xe=ye.useRef(Ue.value);ye.useEffect(()=>{ze==null||ze.registerValue(Ue.value)},[]),ye.useEffect(()=>{if(!We)return Ue.value!==Xe.current&&(ze==null||ze.cancelValue(Xe.current),ze==null||ze.registerValue(Ue.value),Xe.current=Ue.value),()=>ze==null?void 0:ze.cancelValue(Ue.value)},[Ue.value]);const lt=He("checkbox",Ee),[Je,Ke]=(0,ue.ZP)(lt),Me=Object.assign({},Ue);ze&&!We&&(Me.onChange=function(){Ue.onChange&&Ue.onChange.apply(Ue,arguments),ze.toggleOption&&ze.toggleOption({label:we,value:Ue.value})},Me.name=ze.name,Me.checked=ze.value.includes(Ue.value));const et=Ae()(`${lt}-wrapper`,{[`${lt}-rtl`]:Qe==="rtl",[`${lt}-wrapper-checked`]:Me.checked,[`${lt}-wrapper-disabled`]:tt,[`${lt}-wrapper-in-form-item`]:_e},Ge==null?void 0:Ge.className,Ce,De,Ke),Ie=Ae()({[`${lt}-indeterminate`]:Fe},oe.A,Ke),Re=Fe?"mixed":void 0;return Je(ye.createElement(ie.Z,{component:"Checkbox",disabled:tt},ye.createElement("label",{className:et,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Pe),onMouseEnter:Le,onMouseLeave:Oe},ye.createElement(E.Z,Object.assign({"aria-checked":Re},Me,{prefixCls:lt,className:Ie,disabled:tt,ref:Se})),we!==void 0&&ye.createElement("span",null,we))))};var y=ye.forwardRef(z),x=fe(94480),b=fe(2738),ee=function(pe,Se){var be={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ee=Object.getOwnPropertySymbols(pe);Ce{const{defaultValue:be,children:Ee,options:Ce=[],prefixCls:De,className:we,rootClassName:Fe,style:Pe,onChange:Le}=pe,Oe=ee(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:We,direction:Te}=ye.useContext(he.E_),[Ue,He]=ye.useState(Oe.value||be||[]),[Qe,Ge]=ye.useState([]);ye.useEffect(()=>{"value"in Oe&&He(Oe.value||[])},[Oe.value]);const ze=ye.useMemo(()=>Ce.map(qe=>typeof qe=="string"||typeof qe=="number"?{label:qe,value:qe}:qe),[Ce]),_e=qe=>{Ge(Ye=>Ye.filter(ke=>ke!==qe))},Ve=qe=>{Ge(Ye=>[].concat((0,x.Z)(Ye),[qe]))},tt=qe=>{const Ye=Ue.indexOf(qe.value),ke=(0,x.Z)(Ue);Ye===-1?ke.push(qe.value):ke.splice(Ye,1),"value"in Oe||He(ke),Le==null||Le(ke.filter(xe=>Qe.includes(xe)).sort((xe,Ne)=>{const Be=ze.findIndex($e=>$e.value===xe),je=ze.findIndex($e=>$e.value===Ne);return Be-je}))},Xe=We("checkbox",De),lt=`${Xe}-group`,[Je,Ke]=(0,ue.ZP)(Xe),Me=(0,b.Z)(Oe,["value","disabled"]),et=Ce.length?ze.map(qe=>ye.createElement(y,{prefixCls:Xe,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:Oe.disabled,value:qe.value,checked:Ue.includes(qe.value),onChange:qe.onChange,className:`${lt}-item`,style:qe.style,title:qe.title},qe.label)):Ee,Ie={toggleOption:tt,value:Ue,disabled:Oe.disabled,name:Oe.name,registerValue:Ve,cancelValue:_e},Re=Ae()(lt,{[`${lt}-rtl`]:Te==="rtl"},we,Fe,Ke);return Je(ye.createElement("div",Object.assign({className:Re,style:Pe},Me,{ref:Se}),ye.createElement(de.Provider,{value:Ie},et)))},ce=ye.forwardRef(te);var me=ye.memo(ce);const ve=y;ve.Group=me,ve.__ANT_CHECKBOX=!0;var ge=ve},98447:function(vt,at,fe){"use strict";fe.d(at,{C2:function(){return he}});var ae=fe(17313),Ae=fe(37613),E=fe(83116);const ye=le=>{const{checkboxCls:ne}=le,se=`${ne}-wrapper`;return[{[`${ne}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(le)),{display:"inline-flex",flexWrap:"wrap",columnGap:le.marginXS,[`> ${le.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,ae.Wf)(le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ne]:Object.assign(Object.assign({},(0,ae.Wf)(le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:le.borderRadiusSM,alignSelf:"center",[`${ne}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ne}-inner`]:Object.assign({},(0,ae.oN)(le))},[`${ne}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:le.checkboxSize,height:le.checkboxSize,direction:"ltr",backgroundColor:le.colorBgContainer,border:`${le.lineWidth}px ${le.lineType} ${le.colorBorder}`,borderRadius:le.borderRadiusSM,borderCollapse:"separate",transition:`all ${le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:le.checkboxSize/14*5,height:le.checkboxSize/14*8,border:`${le.lineWidthBold}px solid ${le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${le.motionDurationFast} ${le.motionEaseInBack}, opacity ${le.motionDurationFast}`}},"& + span":{paddingInlineStart:le.paddingXS,paddingInlineEnd:le.paddingXS}})},{[` - ${se}:not(${se}-disabled), - ${ne}:not(${ne}-disabled) - `]:{[`&:hover ${ne}-inner`]:{borderColor:le.colorPrimary}},[`${se}:not(${se}-disabled)`]:{[`&:hover ${ne}-checked:not(${ne}-disabled) ${ne}-inner`]:{backgroundColor:le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ne}-checked:not(${ne}-disabled):after`]:{borderColor:le.colorPrimaryHover}}},{[`${ne}-checked`]:{[`${ne}-inner`]:{backgroundColor:le.colorPrimary,borderColor:le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${le.motionDurationMid} ${le.motionEaseOutBack} ${le.motionDurationFast}`}}},[` - ${se}-checked:not(${se}-disabled), - ${ne}-checked:not(${ne}-disabled) - `]:{[`&:hover ${ne}-inner`]:{backgroundColor:le.colorPrimaryHover,borderColor:"transparent"}}},{[ne]:{"&-indeterminate":{[`${ne}-inner`]:{backgroundColor:le.colorBgContainer,borderColor:le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:le.fontSizeLG/2,height:le.fontSizeLG/2,backgroundColor:le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${se}-disabled`]:{cursor:"not-allowed"},[`${ne}-disabled`]:{[`&, ${ne}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ne}-inner`]:{background:le.colorBgContainerDisabled,borderColor:le.colorBorder,"&:after":{borderColor:le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:le.colorTextDisabled},[`&${ne}-indeterminate ${ne}-inner::after`]:{background:le.colorTextDisabled}}}]};function he(le,ne){const se=(0,Ae.TS)(ne,{checkboxCls:`.${le}`,checkboxSize:ne.controlInteractiveSize});return[ye(se)]}at.ZP=(0,E.Z)("Checkbox",(le,ne)=>{let{prefixCls:se}=ne;return[he(se,le)]})},36381:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return Me}});var ae=fe(38819),Ae=fe(92310),E=fe.n(Ae),ye=fe(54476),he=fe(94480),le=fe(42978),ne=fe(76190),se=fe(18929),de=fe(48736),ue=fe(59301),ie=fe(75931),oe=fe(11592),re=fe(20068),z=fe(77900),a=fe(10228),y=ue.forwardRef(function(et,Ie){var Re=et.prefixCls,qe=et.forceRender,Ye=et.className,ke=et.style,xe=et.children,Ne=et.isActive,Be=et.role,je=ue.useState(Ne||qe),$e=(0,le.Z)(je,2),nt=$e[0],Ze=$e[1];return ue.useEffect(function(){(qe||Ne)&&Ze(!0)},[qe,Ne]),nt?ue.createElement("div",{ref:Ie,className:E()("".concat(Re,"-content"),(0,re.Z)((0,re.Z)({},"".concat(Re,"-content-active"),Ne),"".concat(Re,"-content-inactive"),!Ne),Ye),style:ke,role:Be},ue.createElement("div",{className:"".concat(Re,"-content-box")},xe)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=ue.forwardRef(function(et,Ie){var Re=et.showArrow,qe=Re===void 0?!0:Re,Ye=et.headerClass,ke=et.isActive,xe=et.onItemClick,Ne=et.forceRender,Be=et.className,je=et.prefixCls,$e=et.collapsible,nt=et.accordion,Ze=et.panelKey,rt=et.extra,yt=et.header,ct=et.expandIcon,bt=et.openMotion,dt=et.destroyInactivePanel,ht=et.children,ot=(0,ie.Z)(et,b),ut=$e==="disabled",mt=$e==="header",Ct=$e==="icon",Bt=rt!=null&&typeof rt!="boolean",It=function(){xe==null||xe(Ze)},Ht=function(Qn){(Qn.key==="Enter"||Qn.keyCode===a.Z.ENTER||Qn.which===a.Z.ENTER)&&It()},qt=typeof ct=="function"?ct(et):ue.createElement("i",{className:"arrow"});qt&&(qt=ue.createElement("div",{className:"".concat(je,"-expand-icon"),onClick:["header","icon"].includes($e)?It:void 0},qt));var yn=E()((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(je,"-item"),!0),"".concat(je,"-item-active"),ke),"".concat(je,"-item-disabled"),ut),Be),In=E()(Ye,(0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(je,"-header"),!0),"".concat(je,"-header-collapsible-only"),mt),"".concat(je,"-icon-collapsible-only"),Ct)),En={className:In,"aria-expanded":ke,"aria-disabled":ut,onKeyDown:Ht};return!mt&&!Ct&&(En.onClick=It,En.role=nt?"tab":"button",En.tabIndex=ut?-1:0),ue.createElement("div",(0,ye.Z)({},ot,{ref:Ie,className:yn}),ue.createElement("div",En,qe&&qt,ue.createElement("span",{className:"".concat(je,"-header-text"),onClick:$e==="header"?It:void 0},yt),Bt&&ue.createElement("div",{className:"".concat(je,"-extra")},rt)),ue.createElement(z.default,(0,ye.Z)({visible:ke,leavedClassName:"".concat(je,"-content-hidden")},bt,{forceRender:Ne,removeOnLeave:dt}),function(pn,Qn){var Bn=pn.className,un=pn.style;return ue.createElement(x,{ref:Qn,prefixCls:je,className:Bn,style:un,isActive:ke,forceRender:Ne,role:nt?"tabpanel":void 0},ht)}))}),te=ee,ce=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],me=function(Ie,Re){var qe=Re.prefixCls,Ye=Re.accordion,ke=Re.collapsible,xe=Re.destroyInactivePanel,Ne=Re.onItemClick,Be=Re.activeKey,je=Re.openMotion,$e=Re.expandIcon;return Ie.map(function(nt,Ze){var rt=nt.children,yt=nt.label,ct=nt.key,bt=nt.collapsible,dt=nt.onItemClick,ht=nt.destroyInactivePanel,ot=(0,ie.Z)(nt,ce),ut=String(ct!=null?ct:Ze),mt=bt!=null?bt:ke,Ct=ht!=null?ht:xe,Bt=function(qt){mt!=="disabled"&&(Ne(qt),dt==null||dt(qt))},It=!1;return Ye?It=Be[0]===ut:It=Be.indexOf(ut)>-1,ue.createElement(te,(0,ye.Z)({},ot,{prefixCls:qe,key:ut,panelKey:ut,isActive:It,accordion:Ye,openMotion:je,expandIcon:$e,header:yt,collapsible:mt,onItemClick:Bt,destroyInactivePanel:Ct}),rt)})},ve=function(Ie,Re,qe){if(!Ie)return null;var Ye=qe.prefixCls,ke=qe.accordion,xe=qe.collapsible,Ne=qe.destroyInactivePanel,Be=qe.onItemClick,je=qe.activeKey,$e=qe.openMotion,nt=qe.expandIcon,Ze=Ie.key||String(Re),rt=Ie.props,yt=rt.header,ct=rt.headerClass,bt=rt.destroyInactivePanel,dt=rt.collapsible,ht=rt.onItemClick,ot=!1;ke?ot=je[0]===Ze:ot=je.indexOf(Ze)>-1;var ut=dt!=null?dt:xe,mt=function(It){ut!=="disabled"&&(Be(It),ht==null||ht(It))},Ct={key:Ze,panelKey:Ze,header:yt,headerClass:ct,isActive:ot,prefixCls:Ye,destroyInactivePanel:bt!=null?bt:Ne,openMotion:$e,accordion:ke,children:Ie.props.children,onItemClick:mt,expandIcon:nt,collapsible:ut};return typeof Ie.type=="string"?Ie:(Object.keys(Ct).forEach(function(Bt){typeof Ct[Bt]=="undefined"&&delete Ct[Bt]}),ue.cloneElement(Ie,Ct))};function ge(et,Ie,Re){return Array.isArray(et)?me(et,Re):(0,oe.Z)(Ie).map(function(qe,Ye){return ve(qe,Ye,Re)})}var pe=ge,Se=fe(26112);function be(et){var Ie=et;if(!Array.isArray(Ie)){var Re=(0,ne.Z)(Ie);Ie=Re==="number"||Re==="string"?[Ie]:[]}return Ie.map(function(qe){return String(qe)})}var Ee=ue.forwardRef(function(et,Ie){var Re=et.prefixCls,qe=Re===void 0?"rc-collapse":Re,Ye=et.destroyInactivePanel,ke=Ye===void 0?!1:Ye,xe=et.style,Ne=et.accordion,Be=et.className,je=et.children,$e=et.collapsible,nt=et.openMotion,Ze=et.expandIcon,rt=et.activeKey,yt=et.defaultActiveKey,ct=et.onChange,bt=et.items,dt=E()(qe,Be),ht=(0,se.Z)([],{value:rt,onChange:function(Ht){return ct==null?void 0:ct(Ht)},defaultValue:yt,postState:be}),ot=(0,le.Z)(ht,2),ut=ot[0],mt=ot[1],Ct=function(Ht){return mt(function(){if(Ne)return ut[0]===Ht?[]:[Ht];var qt=ut.indexOf(Ht),yn=qt>-1;return yn?ut.filter(function(In){return In!==Ht}):[].concat((0,he.Z)(ut),[Ht])})};(0,de.ZP)(!je,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Bt=pe(bt,je,{prefixCls:qe,accordion:Ne,openMotion:nt,expandIcon:Ze,collapsible:$e,destroyInactivePanel:ke,onItemClick:Ct,activeKey:ut});return ue.createElement("div",(0,ye.Z)({ref:Ie,className:dt,style:xe,role:Ne?"tablist":void 0},(0,Se.Z)(et,{aria:!0,data:!0})),Bt)}),Ce=Object.assign(Ee,{Panel:te}),De=Ce,we=Ce.Panel,Fe=fe(2738),Pe=fe(62892),Le=fe(92343),Oe=fe(36355),We=fe(19716),Ue=ue.forwardRef((et,Ie)=>{const{getPrefixCls:Re}=ue.useContext(Oe.E_),{prefixCls:qe,className:Ye,showArrow:ke=!0}=et,xe=Re("collapse",qe),Ne=E()({[`${xe}-no-arrow`]:!ke},Ye);return ue.createElement(De.Panel,Object.assign({ref:Ie},et,{prefixCls:xe,className:Ne}))}),He=fe(17313),Qe=fe(8378),Ge=fe(83116),ze=fe(37613);const _e=et=>{const{componentCls:Ie,contentBg:Re,padding:qe,headerBg:Ye,headerPadding:ke,collapseHeaderPaddingSM:xe,collapseHeaderPaddingLG:Ne,collapsePanelBorderRadius:Be,lineWidth:je,lineType:$e,colorBorder:nt,colorText:Ze,colorTextHeading:rt,colorTextDisabled:yt,fontSize:ct,fontSizeLG:bt,lineHeight:dt,marginSM:ht,paddingSM:ot,paddingLG:ut,paddingXS:mt,motionDurationSlow:Ct,fontSizeIcon:Bt,contentPadding:It}=et,Ht=`${je}px ${$e} ${nt}`;return{[Ie]:Object.assign(Object.assign({},(0,He.Wf)(et)),{backgroundColor:Ye,border:Ht,borderBottom:0,borderRadius:`${Be}px`,"&-rtl":{direction:"rtl"},[`& > ${Ie}-item`]:{borderBottom:Ht,"&:last-child":{[` - &, - & > ${Ie}-header`]:{borderRadius:`0 0 ${Be}px ${Be}px`}},[`> ${Ie}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ke,color:rt,lineHeight:dt,cursor:"pointer",transition:`all ${Ct}, visibility 0s`,[`> ${Ie}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ie}-expand-icon`]:{height:ct*dt,display:"flex",alignItems:"center",paddingInlineEnd:ht},[`${Ie}-arrow`]:Object.assign(Object.assign({},(0,He.Ro)()),{fontSize:Bt,svg:{transition:`transform ${Ct}`}}),[`${Ie}-header-text`]:{marginInlineEnd:"auto"}},[`${Ie}-header-collapsible-only`]:{cursor:"default",[`${Ie}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ie}-icon-collapsible-only`]:{cursor:"default",[`${Ie}-expand-icon`]:{cursor:"pointer"}}},[`${Ie}-content`]:{color:Ze,backgroundColor:Re,borderTop:Ht,[`& > ${Ie}-content-box`]:{padding:It},"&-hidden":{display:"none"}},"&-small":{[`> ${Ie}-item`]:{[`> ${Ie}-header`]:{padding:xe,paddingInlineStart:mt,[`> ${Ie}-expand-icon`]:{marginInlineStart:ot-mt}},[`> ${Ie}-content > ${Ie}-content-box`]:{padding:ot}}},"&-large":{[`> ${Ie}-item`]:{fontSize:bt,[`> ${Ie}-header`]:{padding:Ne,paddingInlineStart:qe,[`> ${Ie}-expand-icon`]:{height:bt*dt,marginInlineStart:ut-qe}},[`> ${Ie}-content > ${Ie}-content-box`]:{padding:ut}}},[`${Ie}-item:last-child`]:{[`> ${Ie}-content`]:{borderRadius:`0 0 ${Be}px ${Be}px`}},[`& ${Ie}-item-disabled > ${Ie}-header`]:{"\n &,\n & > .arrow\n ":{color:yt,cursor:"not-allowed"}},[`&${Ie}-icon-position-end`]:{[`& > ${Ie}-item`]:{[`> ${Ie}-header`]:{[`${Ie}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ht}}}}})}},Ve=et=>{const{componentCls:Ie}=et,Re=`> ${Ie}-item > ${Ie}-header ${Ie}-arrow svg`;return{[`${Ie}-rtl`]:{[Re]:{transform:"rotate(180deg)"}}}},tt=et=>{const{componentCls:Ie,headerBg:Re,paddingXXS:qe,colorBorder:Ye}=et;return{[`${Ie}-borderless`]:{backgroundColor:Re,border:0,[`> ${Ie}-item`]:{borderBottom:`1px solid ${Ye}`},[` - > ${Ie}-item:last-child, - > ${Ie}-item:last-child ${Ie}-header - `]:{borderRadius:0},[`> ${Ie}-item:last-child`]:{borderBottom:0},[`> ${Ie}-item > ${Ie}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ie}-item > ${Ie}-content > ${Ie}-content-box`]:{paddingTop:qe}}}},Xe=et=>{const{componentCls:Ie,paddingSM:Re}=et;return{[`${Ie}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ie}-item`]:{borderBottom:0,[`> ${Ie}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ie}-content-box`]:{paddingBlock:Re}}}}}};var lt=(0,Ge.Z)("Collapse",et=>{const Ie=(0,ze.TS)(et,{collapseHeaderPaddingSM:`${et.paddingXS}px ${et.paddingSM}px`,collapseHeaderPaddingLG:`${et.padding}px ${et.paddingLG}px`,collapsePanelBorderRadius:et.borderRadiusLG});return[_e(Ie),tt(Ie),Xe(Ie),Ve(Ie),(0,Qe.Z)(Ie)]},et=>({headerPadding:`${et.paddingSM}px ${et.padding}px`,headerBg:et.colorFillAlter,contentPadding:`${et.padding}px 16px`,contentBg:et.colorBgContainer})),Ke=Object.assign(ue.forwardRef((et,Ie)=>{const{getPrefixCls:Re,direction:qe,collapse:Ye}=ue.useContext(Oe.E_),{prefixCls:ke,className:xe,rootClassName:Ne,style:Be,bordered:je=!0,ghost:$e,size:nt,expandIconPosition:Ze="start",children:rt,expandIcon:yt}=et,ct=(0,We.Z)(Ht=>{var qt;return(qt=nt!=null?nt:Ht)!==null&&qt!==void 0?qt:"middle"}),bt=Re("collapse",ke),dt=Re(),[ht,ot]=lt(bt),ut=ue.useMemo(()=>Ze==="left"?"start":Ze==="right"?"end":Ze,[Ze]),mt=function(){let Ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const qt=yt?yt(Ht):ue.createElement(ae.Z,{rotate:Ht.isActive?90:void 0});return(0,Le.Tm)(qt,()=>({className:E()(qt.props.className,`${bt}-arrow`)}))},Ct=E()(`${bt}-icon-position-${ut}`,{[`${bt}-borderless`]:!je,[`${bt}-rtl`]:qe==="rtl",[`${bt}-ghost`]:!!$e,[`${bt}-${ct}`]:ct!=="middle"},Ye==null?void 0:Ye.className,xe,Ne,ot),Bt=Object.assign(Object.assign({},(0,Pe.Z)(dt)),{motionAppear:!1,leavedClassName:`${bt}-content-hidden`}),It=ue.useMemo(()=>rt?(0,oe.Z)(rt).map((Ht,qt)=>{var yn,In;if(!((yn=Ht.props)===null||yn===void 0)&&yn.disabled){const En=(In=Ht.key)!==null&&In!==void 0?In:String(qt),{disabled:pn,collapsible:Qn}=Ht.props,Bn=Object.assign(Object.assign({},(0,Fe.Z)(Ht.props,["disabled"])),{key:En,collapsible:Qn!=null?Qn:pn?"disabled":void 0});return(0,Le.Tm)(Ht,Bn)}return Ht}):null,[rt]);return ht(ue.createElement(De,Object.assign({ref:Ie,openMotion:Bt},(0,Fe.Z)(et,["rootClassName"]),{expandIcon:mt,prefixCls:bt,className:Ct,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Be)}),It))}),{Panel:Ue}),Me=Ke},28103:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return oe}});var ae=fe(92310),Ae=fe.n(ae),E=fe(59301),ye=fe(36355),he=fe(17313),le=fe(83116),ne=fe(37613);const se=re=>{const{componentCls:z,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:x,textPaddingInline:b,orientationMargin:ee,verticalMarginInline:te}=re;return{[z]:Object.assign(Object.assign({},(0,he.Wf)(re)),{borderBlockStart:`${x}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${re.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${z}-with-text`]:{display:"flex",alignItems:"center",margin:`${re.dividerHorizontalWithTextGutterMargin}px 0`,color:re.colorTextHeading,fontWeight:500,fontSize:re.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${z}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${z}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${z}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${z}-with-text${z}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${z}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${z}-with-text`]:{color:re.colorText,fontWeight:"normal",fontSize:re.fontSize},[`&-horizontal${z}-with-text-left${z}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${z}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${z}-with-text-right${z}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${z}-inner-text`]:{paddingInlineEnd:a}}})}};var de=(0,le.Z)("Divider",re=>{const z=(0,ne.TS)(re,{dividerHorizontalWithTextGutterMargin:re.margin,dividerHorizontalGutterMargin:re.marginLG,sizePaddingEdgeHorizontal:0});return[se(z)]},re=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:re.marginXS})),ue=function(re,z){var a={};for(var y in re)Object.prototype.hasOwnProperty.call(re,y)&&z.indexOf(y)<0&&(a[y]=re[y]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(re);x{const{getPrefixCls:z,direction:a,divider:y}=E.useContext(ye.E_),{prefixCls:x,type:b="horizontal",orientation:ee="center",orientationMargin:te,className:ce,rootClassName:me,children:ve,dashed:ge,plain:pe,style:Se}=re,be=ue(re,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ee=z("divider",x),[Ce,De]=de(Ee),we=ee.length>0?`-${ee}`:ee,Fe=!!ve,Pe=ee==="left"&&te!=null,Le=ee==="right"&&te!=null,Oe=Ae()(Ee,y==null?void 0:y.className,De,`${Ee}-${b}`,{[`${Ee}-with-text`]:Fe,[`${Ee}-with-text${we}`]:Fe,[`${Ee}-dashed`]:!!ge,[`${Ee}-plain`]:!!pe,[`${Ee}-rtl`]:a==="rtl",[`${Ee}-no-default-orientation-margin-left`]:Pe,[`${Ee}-no-default-orientation-margin-right`]:Le},ce,me),We=E.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),Te=Object.assign(Object.assign({},Pe&&{marginLeft:We}),Le&&{marginRight:We});return Ce(E.createElement("div",Object.assign({className:Oe,style:Object.assign(Object.assign({},y==null?void 0:y.style),Se)},be,{role:"separator"}),ve&&b!=="vertical"&&E.createElement("span",{className:`${Ee}-inner-text`,style:Te},ve)))}},43428:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Je}});var ae=fe(92310),Ae=fe.n(ae),E=fe(33885),ye=fe(42978),he=fe(43403),le=fe(34280),ne=fe(59301),se=ne.createContext(null),de=ne.createContext({}),ue=se,ie=fe(20068),oe=fe(54476),re=fe(77900),z=fe(10228),a=fe(26112),y=fe(70425),x=function(Me){var et=Me.prefixCls,Ie=Me.className,Re=Me.style,qe=Me.children,Ye=Me.containerRef,ke=Me.id,xe=Me.onMouseEnter,Ne=Me.onMouseOver,Be=Me.onMouseLeave,je=Me.onClick,$e=Me.onKeyDown,nt=Me.onKeyUp,Ze={onMouseEnter:xe,onMouseOver:Ne,onMouseLeave:Be,onClick:je,onKeyDown:$e,onKeyUp:nt},rt=ne.useContext(de),yt=rt.panel,ct=(0,y.useComposeRef)(yt,Ye);return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,oe.Z)({id:ke,className:Ae()("".concat(et,"-content"),Ie),style:(0,E.Z)({},Re),"aria-modal":"true",role:"dialog",ref:ct},Ze),qe))},b=x,ee=fe(48736);function te(Ke){return typeof Ke=="string"&&String(Number(Ke))===Ke?((0,ee.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ke)):Ke}function ce(Ke){warning(!("wrapperClassName"in Ke),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ke.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var me={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ve(Ke,Me){var et,Ie,Re,qe,Ye=Ke.prefixCls,ke=Ke.open,xe=Ke.placement,Ne=Ke.inline,Be=Ke.push,je=Ke.forceRender,$e=Ke.autoFocus,nt=Ke.keyboard,Ze=Ke.rootClassName,rt=Ke.rootStyle,yt=Ke.zIndex,ct=Ke.className,bt=Ke.id,dt=Ke.style,ht=Ke.motion,ot=Ke.width,ut=Ke.height,mt=Ke.children,Ct=Ke.contentWrapperStyle,Bt=Ke.mask,It=Ke.maskClosable,Ht=Ke.maskMotion,qt=Ke.maskClassName,yn=Ke.maskStyle,In=Ke.afterOpenChange,En=Ke.onClose,pn=Ke.onMouseEnter,Qn=Ke.onMouseOver,Bn=Ke.onMouseLeave,un=Ke.onClick,Yn=Ke.onKeyDown,_t=Ke.onKeyUp,tn=ne.useRef(),cn=ne.useRef(),Ot=ne.useRef();ne.useImperativeHandle(Me,function(){return tn.current});var ft=function(Lt){var Jt=Lt.keyCode,jt=Lt.shiftKey;switch(Jt){case z.Z.TAB:{if(Jt===z.Z.TAB){if(!jt&&document.activeElement===Ot.current){var bn;(bn=cn.current)===null||bn===void 0||bn.focus({preventScroll:!0})}else if(jt&&document.activeElement===cn.current){var Dn;(Dn=Ot.current)===null||Dn===void 0||Dn.focus({preventScroll:!0})}}break}case z.Z.ESC:{En&&nt&&(Lt.stopPropagation(),En(Lt));break}}};ne.useEffect(function(){if(ke&&$e){var Mt;(Mt=tn.current)===null||Mt===void 0||Mt.focus({preventScroll:!0})}},[ke]);var Ft=ne.useState(!1),kt=(0,ye.Z)(Ft,2),Xt=kt[0],an=kt[1],en=ne.useContext(ue),Vt;Be===!1?Vt={distance:0}:Be===!0?Vt={}:Vt=Be||{};var pt=(et=(Ie=(Re=Vt)===null||Re===void 0?void 0:Re.distance)!==null&&Ie!==void 0?Ie:en==null?void 0:en.pushDistance)!==null&&et!==void 0?et:180,wt=ne.useMemo(function(){return{pushDistance:pt,push:function(){an(!0)},pull:function(){an(!1)}}},[pt]);ne.useEffect(function(){if(ke){var Mt;en==null||(Mt=en.push)===null||Mt===void 0||Mt.call(en)}else{var Lt;en==null||(Lt=en.pull)===null||Lt===void 0||Lt.call(en)}},[ke]),ne.useEffect(function(){return function(){var Mt;en==null||(Mt=en.pull)===null||Mt===void 0||Mt.call(en)}},[]);var xt=Bt&&ne.createElement(re.default,(0,oe.Z)({key:"mask"},Ht,{visible:ke}),function(Mt,Lt){var Jt=Mt.className,jt=Mt.style;return ne.createElement("div",{className:Ae()("".concat(Ye,"-mask"),Jt,qt),style:(0,E.Z)((0,E.Z)({},jt),yn),onClick:It&&ke?En:void 0,ref:Lt})}),Ut=typeof ht=="function"?ht(xe):ht,fn={};if(Xt&&pt)switch(xe){case"top":fn.transform="translateY(".concat(pt,"px)");break;case"bottom":fn.transform="translateY(".concat(-pt,"px)");break;case"left":fn.transform="translateX(".concat(pt,"px)");break;default:fn.transform="translateX(".concat(-pt,"px)");break}xe==="left"||xe==="right"?fn.width=te(ot):fn.height=te(ut);var Qt={onMouseEnter:pn,onMouseOver:Qn,onMouseLeave:Bn,onClick:un,onKeyDown:Yn,onKeyUp:_t},_n=ne.createElement(re.default,(0,oe.Z)({key:"panel"},Ut,{visible:ke,forceRender:je,onVisibleChanged:function(Lt){In==null||In(Lt)},removeOnLeave:!1,leavedClassName:"".concat(Ye,"-content-wrapper-hidden")}),function(Mt,Lt){var Jt=Mt.className,jt=Mt.style;return ne.createElement("div",(0,oe.Z)({className:Ae()("".concat(Ye,"-content-wrapper"),Jt),style:(0,E.Z)((0,E.Z)((0,E.Z)({},fn),jt),Ct)},(0,a.Z)(Ke,{data:!0})),ne.createElement(b,(0,oe.Z)({id:bt,containerRef:Lt,prefixCls:Ye,className:ct,style:dt},Qt),mt))}),wn=(0,E.Z)({},rt);return yt&&(wn.zIndex=yt),ne.createElement(ue.Provider,{value:wt},ne.createElement("div",{className:Ae()(Ye,"".concat(Ye,"-").concat(xe),Ze,(qe={},(0,ie.Z)(qe,"".concat(Ye,"-open"),ke),(0,ie.Z)(qe,"".concat(Ye,"-inline"),Ne),qe)),style:wn,tabIndex:-1,ref:tn,onKeyDown:ft},xt,ne.createElement("div",{tabIndex:0,ref:cn,style:me,"aria-hidden":"true","data-sentinel":"start"}),_n,ne.createElement("div",{tabIndex:0,ref:Ot,style:me,"aria-hidden":"true","data-sentinel":"end"})))}var ge=ne.forwardRef(ve),pe=ge,Se=function(Me){var et=Me.open,Ie=et===void 0?!1:et,Re=Me.prefixCls,qe=Re===void 0?"rc-drawer":Re,Ye=Me.placement,ke=Ye===void 0?"right":Ye,xe=Me.autoFocus,Ne=xe===void 0?!0:xe,Be=Me.keyboard,je=Be===void 0?!0:Be,$e=Me.width,nt=$e===void 0?378:$e,Ze=Me.mask,rt=Ze===void 0?!0:Ze,yt=Me.maskClosable,ct=yt===void 0?!0:yt,bt=Me.getContainer,dt=Me.forceRender,ht=Me.afterOpenChange,ot=Me.destroyOnClose,ut=Me.onMouseEnter,mt=Me.onMouseOver,Ct=Me.onMouseLeave,Bt=Me.onClick,It=Me.onKeyDown,Ht=Me.onKeyUp,qt=Me.panelRef,yn=ne.useState(!1),In=(0,ye.Z)(yn,2),En=In[0],pn=In[1],Qn=ne.useState(!1),Bn=(0,ye.Z)(Qn,2),un=Bn[0],Yn=Bn[1];(0,le.Z)(function(){Yn(!0)},[]);var _t=un?Ie:!1,tn=ne.useRef(),cn=ne.useRef();(0,le.Z)(function(){_t&&(cn.current=document.activeElement)},[_t]);var Ot=function(an){var en;if(pn(an),ht==null||ht(an),!an&&cn.current&&!((en=tn.current)!==null&&en!==void 0&&en.contains(cn.current))){var Vt;(Vt=cn.current)===null||Vt===void 0||Vt.focus({preventScroll:!0})}},ft=ne.useMemo(function(){return{panel:qt}},[qt]);if(!dt&&!En&&!_t&&ot)return null;var Ft={onMouseEnter:ut,onMouseOver:mt,onMouseLeave:Ct,onClick:Bt,onKeyDown:It,onKeyUp:Ht},kt=(0,E.Z)((0,E.Z)({},Me),{},{open:_t,prefixCls:qe,placement:ke,autoFocus:Ne,keyboard:je,width:nt,mask:rt,maskClosable:ct,inline:bt===!1,afterOpenChange:Ot,ref:tn},Ft);return ne.createElement(de.Provider,{value:ft},ne.createElement(he.Z,{open:_t||dt||En,autoDestroy:!1,getContainer:bt,autoLock:rt&&(_t||En)},ne.createElement(pe,kt)))},be=Se,Ee=be,Ce=fe(62892),De=fe(36355),we=fe(32441),Fe=fe(47729),Le=Ke=>{const{prefixCls:Me,title:et,footer:Ie,extra:Re,closeIcon:qe,closable:Ye,onClose:ke,headerStyle:xe,drawerStyle:Ne,bodyStyle:Be,footerStyle:je,children:$e}=Ke,nt=ne.useCallback(bt=>ne.createElement("button",{type:"button",onClick:ke,"aria-label":"Close",className:`${Me}-close`},bt),[ke]),[Ze,rt]=(0,Fe.Z)(Ye,qe,nt,void 0,!0),yt=ne.useMemo(()=>!et&&!Ze?null:ne.createElement("div",{style:xe,className:Ae()(`${Me}-header`,{[`${Me}-header-close-only`]:Ze&&!et&&!Re})},ne.createElement("div",{className:`${Me}-header-title`},rt,et&&ne.createElement("div",{className:`${Me}-title`},et)),Re&&ne.createElement("div",{className:`${Me}-extra`},Re)),[Ze,rt,Re,xe,Me,et]),ct=ne.useMemo(()=>{if(!Ie)return null;const bt=`${Me}-footer`;return ne.createElement("div",{className:bt,style:je},Ie)},[Ie,je,Me]);return ne.createElement("div",{className:`${Me}-wrapper-body`,style:Ne},yt,ne.createElement("div",{className:`${Me}-body`,style:Be},$e),ct)},Oe=fe(33234),We=fe(83116),Te=fe(37613),He=Ke=>{const{componentCls:Me,motionDurationSlow:et}=Ke,Ie={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${et}`}}};return{[Me]:{[`${Me}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${et}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Me}-panel-motion`]:{"&-left":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Qe=Ke=>{const{componentCls:Me,zIndexPopup:et,colorBgMask:Ie,colorBgElevated:Re,motionDurationSlow:qe,motionDurationMid:Ye,padding:ke,paddingLG:xe,fontSizeLG:Ne,lineHeightLG:Be,lineWidth:je,lineType:$e,colorSplit:nt,marginSM:Ze,colorIcon:rt,colorIconHover:yt,colorText:ct,fontWeightStrong:bt,footerPaddingBlock:dt,footerPaddingInline:ht}=Ke,ot=`${Me}-content-wrapper`;return{[Me]:{position:"fixed",inset:0,zIndex:et,pointerEvents:"none","&-pure":{position:"relative",background:Re,[`&${Me}-left`]:{boxShadow:Ke.boxShadowDrawerLeft},[`&${Me}-right`]:{boxShadow:Ke.boxShadowDrawerRight},[`&${Me}-top`]:{boxShadow:Ke.boxShadowDrawerUp},[`&${Me}-bottom`]:{boxShadow:Ke.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Me}-mask`]:{position:"absolute",inset:0,zIndex:et,background:Ie,pointerEvents:"auto"},[ot]:{position:"absolute",zIndex:et,maxWidth:"100vw",transition:`all ${qe}`,"&-hidden":{display:"none"}},[`&-left > ${ot}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ke.boxShadowDrawerLeft},[`&-right > ${ot}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ke.boxShadowDrawerRight},[`&-top > ${ot}`]:{top:0,insetInline:0,boxShadow:Ke.boxShadowDrawerUp},[`&-bottom > ${ot}`]:{bottom:0,insetInline:0,boxShadow:Ke.boxShadowDrawerDown},[`${Me}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Re,pointerEvents:"auto"},[`${Me}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Me}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ke}px ${xe}px`,fontSize:Ne,lineHeight:Be,borderBottom:`${je}px ${$e} ${nt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Me}-extra`]:{flex:"none"},[`${Me}-close`]:{display:"inline-block",marginInlineEnd:Ze,color:rt,fontWeight:bt,fontSize:Ne,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Ye}`,textRendering:"auto","&:focus, &:hover":{color:yt,textDecoration:"none"}},[`${Me}-title`]:{flex:1,margin:0,color:ct,fontWeight:Ke.fontWeightStrong,fontSize:Ne,lineHeight:Be},[`${Me}-body`]:{flex:1,minWidth:0,minHeight:0,padding:xe,overflow:"auto"},[`${Me}-footer`]:{flexShrink:0,padding:`${dt}px ${ht}px`,borderTop:`${je}px ${$e} ${nt}`},"&-rtl":{direction:"rtl"}}}};var Ge=(0,We.Z)("Drawer",Ke=>{const Me=(0,Te.TS)(Ke,{});return[Qe(Me),He(Me)]},Ke=>({zIndexPopup:Ke.zIndexPopupBase,footerPaddingBlock:Ke.paddingXS,footerPaddingInline:Ke.padding})),ze=fe(11575),_e=function(Ke,Me){var et={};for(var Ie in Ke)Object.prototype.hasOwnProperty.call(Ke,Ie)&&Me.indexOf(Ie)<0&&(et[Ie]=Ke[Ie]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ie=Object.getOwnPropertySymbols(Ke);Re{var Me;const{rootClassName:et,width:Ie,height:Re,size:qe="default",mask:Ye=!0,push:ke=tt,open:xe,afterOpenChange:Ne,onClose:Be,prefixCls:je,getContainer:$e,style:nt,className:Ze,visible:rt,afterVisibleChange:yt}=Ke,ct=_e(Ke,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:bt,getPrefixCls:dt,direction:ht,drawer:ot}=ne.useContext(De.E_),ut=dt("drawer",je),[mt,Ct]=Ge(ut),Bt=$e===void 0&&bt?()=>bt(document.body):$e,It=Ae()({"no-mask":!Ye,[`${ut}-rtl`]:ht==="rtl"},et,Ct),Ht=ne.useMemo(()=>Ie!=null?Ie:qe==="large"?736:378,[Ie,qe]),qt=ne.useMemo(()=>Re!=null?Re:qe==="large"?736:378,[Re,qe]),yn={motionName:(0,Ce.m)(ut,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},In=pn=>({motionName:(0,Ce.m)(ut,`panel-motion-${pn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),En=(0,ze.H)();return mt(ne.createElement(Oe.BR,null,ne.createElement(we.Ux,{status:!0,override:!0},ne.createElement(Ee,Object.assign({prefixCls:ut,onClose:Be,maskMotion:yn,motion:In},ct,{open:xe!=null?xe:rt,mask:Ye,push:ke,width:Ht,height:qt,style:Object.assign(Object.assign({},ot==null?void 0:ot.style),nt),className:Ae()(ot==null?void 0:ot.className,Ze),rootClassName:It,getContainer:Bt,afterOpenChange:Ne!=null?Ne:yt,panelRef:En}),ne.createElement(Le,Object.assign({prefixCls:ut},ct,{onClose:Be}))))))},lt=Ke=>{const{prefixCls:Me,style:et,className:Ie,placement:Re="right"}=Ke,qe=_e(Ke,["prefixCls","style","className","placement"]),{getPrefixCls:Ye}=ne.useContext(De.E_),ke=Ye("drawer",Me),[xe,Ne]=Ge(ke),Be=Ae()(ke,`${ke}-pure`,`${ke}-${Re}`,Ne,Ie);return xe(ne.createElement("div",{className:Be,style:et},ne.createElement(Le,Object.assign({prefixCls:ke},qe))))};Xe._InternalPanelDoNotUseOrYouWillBeFired=lt;var Je=Xe},91857:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(38819),E=fe(92310),ye=fe.n(E),he=fe(31561),le=fe(70425),ne=fe(18929),se=fe(2738),de=fe(79676),ue=fe(53487),ie=fe(92343),oe=fe(36355),re=fe(20834),z=fe(40875),a=fe(88088),y=fe(47211);const x=null,b=me=>{const{menu:ve,arrow:ge,prefixCls:pe,children:Se,trigger:be,disabled:Ee,dropdownRender:Ce,getPopupContainer:De,overlayClassName:we,rootClassName:Fe,open:Pe,onOpenChange:Le,visible:Oe,onVisibleChange:We,mouseEnterDelay:Te=.15,mouseLeaveDelay:Ue=.1,autoAdjustOverflow:He=!0,placement:Qe="",overlay:Ge,transitionName:ze}=me,{getPopupContainer:_e,getPrefixCls:Ve,direction:tt}=ae.useContext(oe.E_),Xe=ae.useMemo(()=>{const Ze=Ve();return ze!==void 0?ze:Qe.includes("top")?`${Ze}-slide-down`:`${Ze}-slide-up`},[Ve,Qe,ze]),lt=ae.useMemo(()=>Qe?Qe.includes("Center")?Qe.slice(0,Qe.indexOf("Center")):Qe:tt==="rtl"?"bottomRight":"bottomLeft",[Qe,tt]),Je=Ve("dropdown",pe),[Ke,Me]=(0,y.Z)(Je),[,et]=(0,a.Z)(),Ie=ae.Children.only(Se),Re=(0,ie.Tm)(Ie,{className:ye()(`${Je}-trigger`,{[`${Je}-rtl`]:tt==="rtl"},Ie.props.className),disabled:Ee}),qe=Ee?[]:be;let Ye;qe&&qe.includes("contextMenu")&&(Ye=!0);const[ke,xe]=(0,ne.Z)(!1,{value:Pe!=null?Pe:Oe}),Ne=(0,le.useEvent)(Ze=>{Le==null||Le(Ze),We==null||We(Ze),xe(Ze)}),Be=ye()(we,Fe,Me,{[`${Je}-rtl`]:tt==="rtl"}),je=(0,de.Z)({arrowPointAtCenter:typeof ge=="object"&&ge.pointAtCenter,autoAdjustOverflow:He,offset:et.marginXXS,arrowWidth:ge?et.sizePopupArrow:0,borderRadius:et.borderRadius}),$e=ae.useCallback(()=>{xe(!1)},[]),nt=()=>{let Ze;return ve!=null&&ve.items?Ze=ae.createElement(re.default,Object.assign({},ve)):typeof Ge=="function"?Ze=Ge():Ze=Ge,Ce&&(Ze=Ce(Ze)),Ze=ae.Children.only(typeof Ze=="string"?ae.createElement("span",null,Ze):Ze),ae.createElement(z.J,{prefixCls:`${Je}-menu`,expandIcon:ae.createElement("span",{className:`${Je}-menu-submenu-arrow`},ae.createElement(Ae.Z,{className:`${Je}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:$e,validator:rt=>{let{mode:yt}=rt}},Ze)};return Ke(ae.createElement(he.Z,Object.assign({alignPoint:Ye},(0,se.Z)(me,["rootClassName"]),{mouseEnterDelay:Te,mouseLeaveDelay:Ue,visible:ke,builtinPlacements:je,arrow:!!ge,overlayClassName:Be,prefixCls:Je,getPopupContainer:De||_e,transitionName:Xe,trigger:qe,overlay:nt,placement:lt,onVisibleChange:Ne}),Re))};function ee(me){return Object.assign(Object.assign({},me),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,ue.Z)(b,"dropdown",me=>me,ee),ce=me=>ae.createElement(te,Object.assign({},me),ae.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ce,at.Z=b},38854:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return a}});var ae=fe(91857),Ae=fe(92310),E=fe.n(Ae),ye=fe(59301),he=fe(18785),le=fe(3113),ne=fe(36355),se=fe(81327),de=fe(33234),ue=fe(47211),ie=function(y,x){var b={};for(var ee in y)Object.prototype.hasOwnProperty.call(y,ee)&&x.indexOf(ee)<0&&(b[ee]=y[ee]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(y);te{const{getPopupContainer:x,getPrefixCls:b,direction:ee}=ye.useContext(ne.E_),{prefixCls:te,type:ce="default",danger:me,disabled:ve,loading:ge,onClick:pe,htmlType:Se,children:be,className:Ee,menu:Ce,arrow:De,autoFocus:we,overlay:Fe,trigger:Pe,align:Le,open:Oe,onOpenChange:We,placement:Te,getPopupContainer:Ue,href:He,icon:Qe=ye.createElement(he.Z,null),title:Ge,buttonsRender:ze=nt=>nt,mouseEnterDelay:_e,mouseLeaveDelay:Ve,overlayClassName:tt,overlayStyle:Xe,destroyPopupOnHide:lt,dropdownRender:Je}=y,Ke=ie(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Me=b("dropdown",te),et=`${Me}-button`,[Ie,Re]=(0,ue.Z)(Me),qe={menu:Ce,arrow:De,autoFocus:we,align:Le,disabled:ve,trigger:ve?[]:Pe,onOpenChange:We,getPopupContainer:Ue||x,mouseEnterDelay:_e,mouseLeaveDelay:Ve,overlayClassName:tt,overlayStyle:Xe,destroyPopupOnHide:lt,dropdownRender:Je},{compactSize:Ye,compactItemClassnames:ke}=(0,de.ri)(Me,ee),xe=E()(et,ke,Ee,Re);"overlay"in y&&(qe.overlay=Fe),"open"in y&&(qe.open=Oe),"placement"in y?qe.placement=Te:qe.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Ne=ye.createElement(le.ZP,{type:ce,danger:me,disabled:ve,loading:ge,onClick:pe,htmlType:Se,href:He,title:Ge},be),Be=ye.createElement(le.ZP,{type:ce,danger:me,icon:Qe}),[je,$e]=ze([Ne,Be]);return Ie(ye.createElement(se.Z.Compact,Object.assign({className:xe,size:Ye,block:!0},Ke),je,ye.createElement(ae.Z,Object.assign({},qe),$e)))};oe.__ANT_BUTTON=!0;var re=oe;const z=ae.Z;z.Button=re;var a=z},47211:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ie}});var ae=fe(17313),Ae=fe(13826),E=fe(92899),ye=fe(29878),he=fe(19447),le=fe(83116),ne=fe(37613),de=oe=>{const{componentCls:re,menuCls:z,colorError:a,colorTextLightSolid:y}=oe,x=`${z}-item`;return{[`${re}, ${re}-menu-submenu`]:{[`${z} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=oe=>{const{componentCls:re,menuCls:z,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:ce,fontSize:me,dropdownEdgeChildPadding:ve,colorTextDisabled:ge,fontSizeIcon:pe,controlPaddingHorizontal:Se,colorBgElevated:be}=oe;return[{[re]:Object.assign(Object.assign({},(0,ae.Wf)(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${ee}-down, & > ${b}-btn-icon > ${ee}-down`]:{fontSize:pe}},[`${re}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:pe},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${re}-wrap-open`]:{[`${ee}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomLeft, - &${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomLeft, - &${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottom, - &${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottom, - &${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomRight, - &${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomRight`]:{animationName:Ae.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topLeft, - &${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topLeft, - &${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-top, - &${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-top, - &${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topRight, - &${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topRight`]:{animationName:Ae.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomLeft, - &${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottom, - &${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomRight`]:{animationName:Ae.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topLeft, - &${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-top, - &${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topRight`]:{animationName:Ae.ly}})},(0,he.ZP)(oe,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${re} ${z}`]:{position:"relative",margin:0},[`${z}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${re}, ${re}-menu-submenu`]:{[z]:Object.assign(Object.assign({padding:ve,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,ae.Qy)(oe)),{[`${z}-item-group-title`]:{padding:`${ce}px ${Se}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${z}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${z}-item-icon`]:{minWidth:me,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${z}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${z}-item, ${z}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ce}px ${Se}px`,color:oe.colorText,fontWeight:"normal",fontSize:me,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,ae.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:ge,cursor:"not-allowed","&:hover":{color:ge,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${z}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${z}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${z}-submenu-vertical`]:{position:"relative"},[`${z}-submenu${z}-submenu-disabled ${re}-menu-submenu-title`]:{[`&, ${re}-menu-submenu-arrow-icon`]:{color:ge,backgroundColor:be,cursor:"not-allowed"}},[`${z}-submenu-selected ${re}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,Ae.oN)(oe,"slide-up"),(0,Ae.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,ye._y)(oe,"zoom-big")]]};var ie=(0,le.Z)("Dropdown",(oe,re)=>{let{rootPrefixCls:z}=re;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:ce,borderRadiusLG:me}=oe,ve=(x-b*ee)/2,{dropdownArrowOffset:ge}=(0,he.fS)({contentRadius:me}),pe=(0,ne.TS)(oe,{menuCls:`${ce}-menu`,rootPrefixCls:z,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ge,dropdownPaddingVertical:ve,dropdownEdgeChildPadding:te});return[ue(pe),de(pe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},8628:function(vt,at,fe){"use strict";var ae=fe(59301),Ae=fe(34280),E=fe(56762),ye=fe(69507);function he(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ne=(0,ae.useRef)({}),se=(0,E.Z)(),de=(0,ye.ZP)();return(0,Ae.Z)(()=>{const ue=de.subscribe(ie=>{ne.current=ie,le&&se()});return()=>de.unsubscribe(ue)},[]),ne.current}at.Z=he},11611:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return wn}});var ae=fe(59301),Ae=fe(15277),E=fe(92310),ye=fe.n(E),he=fe(54476),le=fe(33885),ne=fe(20068),se=fe(42978),de=fe(76190),ue=fe(75931),ie=fe(55468),oe=fe(18929),re=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],z=ae.createContext(null),a=0;function y(Mt,Lt){var Jt=ae.useState(function(){return a+=1,String(a)}),jt=(0,se.Z)(Jt,1),bn=jt[0],Dn=ae.useContext(z),Hn={data:Lt,canPreview:Mt};return ae.useEffect(function(){if(Dn)return Dn.register(bn,Hn)},[]),ae.useEffect(function(){Dn&&Dn.register(bn,Hn)},[Mt,Lt]),bn}function x(Mt){return new Promise(function(Lt){var Jt=document.createElement("img");Jt.onerror=function(){return Lt(!1)},Jt.onload=function(){return Lt(!0)},Jt.src=Mt})}function b(Mt){var Lt=Mt.src,Jt=Mt.isCustomPlaceholder,jt=Mt.fallback,bn=(0,ae.useState)(Jt?"loading":"normal"),Dn=(0,se.Z)(bn,2),Hn=Dn[0],rn=Dn[1],Pt=(0,ae.useRef)(!1),gt=Hn==="error";(0,ae.useEffect)(function(){x(Lt).then(function(Zt){Zt||rn("error")})},[Lt]),(0,ae.useEffect)(function(){Jt&&!Pt.current?rn("loading"):gt&&rn("normal")},[Lt]);var St=function(){rn("normal")},At=function($t){Pt.current=!1,Hn==="loading"&&$t!=null&&$t.complete&&($t.naturalWidth||$t.naturalHeight)&&(Pt.current=!0,St())},zt=gt&&jt?{src:jt}:{onLoad:St,src:Lt};return[At,zt,Hn]}var ee=fe(86923),te=fe(8224),ce=fe(10228),me=fe(48736);function ve(Mt,Lt,Jt,jt){var bn=Lt+Jt,Dn=(Jt-jt)/2;if(Jt>jt){if(Lt>0)return(0,ne.Z)({},Mt,Dn);if(Lt<0&&bnjt)return(0,ne.Z)({},Mt,Lt<0?Dn:-Dn);return{}}function ge(Mt,Lt,Jt,jt){var bn=(0,ie.g1)(),Dn=bn.width,Hn=bn.height,rn=null;return Mt<=Dn&&Lt<=Hn?rn={x:0,y:0}:(Mt>Dn||Lt>Hn)&&(rn=(0,le.Z)((0,le.Z)({},ve("x",Jt,Mt,Dn)),ve("y",jt,Lt,Hn))),rn}var pe=fe(13697),Se=fe(16089),be={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Mt,Lt,Jt,jt){var bn=(0,ae.useRef)(null),Dn=(0,ae.useRef)([]),Hn=(0,ae.useState)(be),rn=(0,se.Z)(Hn,2),Pt=rn[0],gt=rn[1],St=function($t){gt(be),jt&&!(0,pe.Z)(be,Pt)&&jt({transform:be,action:$t})},At=function($t,ln){bn.current===null&&(Dn.current=[],bn.current=(0,Se.Z)(function(){gt(function(Pn){var zn=Pn;return Dn.current.forEach(function(Gt){zn=(0,le.Z)((0,le.Z)({},zn),Gt)}),bn.current=null,jt==null||jt({transform:zn,action:ln}),zn})})),Dn.current.push((0,le.Z)((0,le.Z)({},Pt),$t))},zt=function($t,ln,Pn,zn){var Gt=Mt.current,tr=Gt.width,ir=Gt.height,sr=Gt.offsetWidth,vr=Gt.offsetHeight,Ln=Gt.offsetLeft,Rn=Gt.offsetTop,$n=$t,Tn=Pt.scale*$t;Tn>Jt?($n=Jt/Pt.scale,Tn=Jt):Tn1,ra=Ur&&Gt>=1,xr=Ee(Xn,Ln,$n,na),wr=xr.transform,Br=xr.resetTransform,Mr=xr.updateTransform,Wr=xr.dispatchZoomChange,ha=(0,ae.useState)(!0),wa=(0,se.Z)(ha,2),Ia=wa[0],ka=wa[1],Na=wr.rotate,da=wr.scale,ya=wr.x,za=wr.y,Yt=ye()((0,ne.Z)({},"".concat(Jt,"-moving"),Tr));(0,ae.useEffect)(function(){Ia||ka(!0)},[Ia]);var hn=function(){Br("close")},Nn=function(){Wr(Pe+sr,"zoomIn")},Mn=function(){Wr(Pe/(Pe+sr),"zoomOut")},An=function(){Mr({rotate:Na+90},"rotateRight")},mn=function(){Mr({rotate:Na-90},"rotateLeft")},Sn=function(){Mr({flipX:!wr.flipX},"flipX")},On=function(){Mr({flipY:!wr.flipY},"flipY")},jn=function(Un){Un==null||Un.preventDefault(),Un==null||Un.stopPropagation(),Pn>0&&(ka(!1),Br("prev"),ca==null||ca(Pn-1,Pn))},ar=function(Un){Un==null||Un.preventDefault(),Un==null||Un.stopPropagation(),Pn0&&(Rt=Pe/Rt),Wr(Rt,"wheel",Un.clientX,Un.clientY)}},Rr=function(Un){!gt||!sa||(Un.keyCode===ce.Z.LEFT?jn():Un.keyCode===ce.Z.RIGHT&&ar())},gr=function(Un){gt&&(da!==1?Mr({x:0,y:0,scale:1},"doubleClick"):Wr(Pe+sr,"doubleClick",Un.clientX,Un.clientY))};(0,ae.useEffect)(function(){var Kr,Un,mr,Wt;if(rn){mr=(0,te.Z)(window,"mouseup",Vn,!1),Wt=(0,te.Z)(window,"mousemove",hr,!1);try{window.top!==window.self&&(Kr=(0,te.Z)(window.top,"mouseup",Vn,!1),Un=(0,te.Z)(window.top,"mousemove",hr,!1))}catch(Rt){(0,me.Kp)(!1,"[rc-image] ".concat(Rt))}}return function(){var Rt,Kt,gn,Gn;(Rt=mr)===null||Rt===void 0||Rt.remove(),(Kt=Wt)===null||Kt===void 0||Kt.remove(),(gn=Kr)===null||gn===void 0||gn.remove(),(Gn=Un)===null||Gn===void 0||Gn.remove()}},[gt,Tr,ya,za,Na,rn]),(0,ae.useEffect)(function(){var Kr=(0,te.Z)(window,"keydown",Rr,!1);return function(){Kr.remove()}},[gt,sa,Pn]);var _r=ae.createElement(Te,(0,he.Z)({},Er,{width:Lt.width,height:Lt.height,imgRef:Xn,className:"".concat(Jt,"-img"),alt:bn,style:{transform:"translate3d(".concat(wr.x,"px, ").concat(wr.y,"px, 0) scale3d(").concat(wr.flipX?"-":"").concat(da,", ").concat(wr.flipY?"-":"").concat(da,", 1) rotate(").concat(Na,"deg)"),transitionDuration:!Ia&&"0s"},fallback:Dn,src:jt,onWheel:pa,onMouseDown:Gr,onDoubleClick:gr}));return ae.createElement(ae.Fragment,null,ae.createElement(ee.Z,(0,he.Z)({transitionName:ur,maskTransitionName:lr,closable:!1,keyboard:!0,prefixCls:Jt,onClose:Pt,visible:gt,wrapClassName:Yt,rootClassName:zt,getContainer:$t},Kn,{afterClose:hn}),ae.createElement("div",{className:"".concat(Jt,"-img-wrapper")},Ir?Ir(_r,(0,le.Z)({transform:wr},Ur?{current:Pn}:{})):_r)),ae.createElement(Fe,{visible:gt,transform:wr,maskTransitionName:lr,closeIcon:Zt,getContainer:$t,prefixCls:Jt,rootClassName:zt,icons:At,countRender:tr,showSwitch:sa,showProgress:ra,current:Pn,count:Gt,scale:da,minScale:Ln,maxScale:$n,toolbarRender:$r,onSwitchLeft:jn,onSwitchRight:ar,onZoomIn:Nn,onZoomOut:Mn,onRotateRight:An,onRotateLeft:mn,onFlipX:Sn,onFlipY:On,onClose:Pt}))},He=Ue,Qe=fe(94480);function Ge(Mt){var Lt=ae.useState({}),Jt=(0,se.Z)(Lt,2),jt=Jt[0],bn=Jt[1],Dn=ae.useCallback(function(rn,Pt){return bn(function(gt){return(0,le.Z)((0,le.Z)({},gt),{},(0,ne.Z)({},rn,Pt))}),function(){bn(function(gt){var St=(0,le.Z)({},gt);return delete St[rn],St})}},[]),Hn=ae.useMemo(function(){return Mt?Mt.map(function(rn){if(typeof rn=="string")return{data:{src:rn}};var Pt={};return Object.keys(rn).forEach(function(gt){["src"].concat((0,Qe.Z)(re)).includes(gt)&&(Pt[gt]=rn[gt])}),{data:Pt}}):Object.keys(jt).reduce(function(rn,Pt){var gt=jt[Pt],St=gt.canPreview,At=gt.data;return St&&rn.push({data:At,id:Pt}),rn},[])},[Mt,jt]);return[Hn,Dn]}var ze=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],_e=["src"],Ve=function(Lt){var Jt,jt=Lt.previewPrefixCls,bn=jt===void 0?"rc-image-preview":jt,Dn=Lt.children,Hn=Lt.icons,rn=Hn===void 0?{}:Hn,Pt=Lt.items,gt=Lt.preview,St=Lt.fallback,At=(0,de.Z)(gt)==="object"?gt:{},zt=At.visible,Zt=At.onVisibleChange,$t=At.getContainer,ln=At.current,Pn=At.movable,zn=At.minScale,Gt=At.maxScale,tr=At.countRender,ir=At.closeIcon,sr=At.onChange,vr=At.onTransform,Ln=At.toolbarRender,Rn=At.imageRender,$n=(0,ue.Z)(At,ze),Tn=Ge(Pt),ur=(0,se.Z)(Tn,2),Sr=ur[0],lr=ur[1],Ir=(0,oe.Z)(0,{value:ln}),Er=(0,se.Z)(Ir,2),$r=Er[0],na=Er[1],ca=(0,ae.useState)(!1),Kn=(0,se.Z)(ca,2),Xn=Kn[0],Fn=Kn[1],Hr=((Jt=Sr[$r])===null||Jt===void 0?void 0:Jt.data)||{},Jr=Hr.src,Tr=(0,ue.Z)(Hr,_e),Or=(0,oe.Z)(!!zt,{value:zt,onChange:function(Na,da){Zt==null||Zt(Na,da,$r)}}),Ur=(0,se.Z)(Or,2),sa=Ur[0],ra=Ur[1],xr=(0,ae.useState)(null),wr=(0,se.Z)(xr,2),Br=wr[0],Mr=wr[1],Wr=ae.useCallback(function(ka,Na,da){var ya=Sr.findIndex(function(za){return za.id===ka});ra(!0),Mr({x:Na,y:da}),na(ya<0?0:ya),Fn(!0)},[Sr]);ae.useEffect(function(){sa?Xn||na(0):Fn(!1)},[sa]);var ha=function(Na,da){na(Na),sr==null||sr(Na,da)},wa=function(){ra(!1),Mr(null)},Ia=ae.useMemo(function(){return{register:lr,onPreview:Wr}},[lr,Wr]);return ae.createElement(z.Provider,{value:Ia},Dn,ae.createElement(He,(0,he.Z)({"aria-hidden":!sa,movable:Pn,visible:sa,prefixCls:bn,closeIcon:ir,onClose:wa,mousePosition:Br,imgCommonProps:Tr,src:Jr,fallback:St,icons:rn,minScale:zn,maxScale:Gt,getContainer:$t,current:$r,count:Sr.length,countRender:tr,onTransform:vr,toolbarRender:Ln,imageRender:Rn,onChange:ha},$n)))},tt=Ve,Xe=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],lt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Je=function(Lt){var Jt=Lt.src,jt=Lt.alt,bn=Lt.onPreviewClose,Dn=Lt.prefixCls,Hn=Dn===void 0?"rc-image":Dn,rn=Lt.previewPrefixCls,Pt=rn===void 0?"".concat(Hn,"-preview"):rn,gt=Lt.placeholder,St=Lt.fallback,At=Lt.width,zt=Lt.height,Zt=Lt.style,$t=Lt.preview,ln=$t===void 0?!0:$t,Pn=Lt.className,zn=Lt.onClick,Gt=Lt.onError,tr=Lt.wrapperClassName,ir=Lt.wrapperStyle,sr=Lt.rootClassName,vr=(0,ue.Z)(Lt,Xe),Ln=gt&>!==!0,Rn=(0,de.Z)(ln)==="object"?ln:{},$n=Rn.src,Tn=Rn.visible,ur=Tn===void 0?void 0:Tn,Sr=Rn.onVisibleChange,lr=Sr===void 0?bn:Sr,Ir=Rn.getContainer,Er=Ir===void 0?void 0:Ir,$r=Rn.mask,na=Rn.maskClassName,ca=Rn.movable,Kn=Rn.icons,Xn=Rn.scaleStep,Fn=Rn.minScale,Hr=Rn.maxScale,Jr=Rn.imageRender,Tr=Rn.toolbarRender,Or=(0,ue.Z)(Rn,lt),Ur=$n!=null?$n:Jt,sa=(0,oe.Z)(!!ur,{value:ur,onChange:lr}),ra=(0,se.Z)(sa,2),xr=ra[0],wr=ra[1],Br=b({src:Jt,isCustomPlaceholder:Ln,fallback:St}),Mr=(0,se.Z)(Br,3),Wr=Mr[0],ha=Mr[1],wa=Mr[2],Ia=(0,ae.useState)(null),ka=(0,se.Z)(Ia,2),Na=ka[0],da=ka[1],ya=(0,ae.useContext)(z),za=!!ln,Yt=function(){wr(!1),da(null)},hn=ye()(Hn,tr,sr,(0,ne.Z)({},"".concat(Hn,"-error"),wa==="error")),Nn=(0,ae.useMemo)(function(){var Sn={};return re.forEach(function(On){Lt[On]!==void 0&&(Sn[On]=Lt[On])}),Sn},re.map(function(Sn){return Lt[Sn]})),Mn=(0,ae.useMemo)(function(){return(0,le.Z)((0,le.Z)({},Nn),{},{src:Ur})},[Ur,Nn]),An=y(za,Mn),mn=function(On){var jn=(0,ie.os)(On.target),ar=jn.left,Vn=jn.top;ya?ya.onPreview(An,ar,Vn):(da({x:ar,y:Vn}),wr(!0)),zn==null||zn(On)};return ae.createElement(ae.Fragment,null,ae.createElement("div",(0,he.Z)({},vr,{className:hn,onClick:za?mn:zn,style:(0,le.Z)({width:At,height:zt},ir)}),ae.createElement("img",(0,he.Z)({},Nn,{className:ye()("".concat(Hn,"-img"),(0,ne.Z)({},"".concat(Hn,"-img-placeholder"),gt===!0),Pn),style:(0,le.Z)({height:zt},Zt),ref:Wr},ha,{width:At,height:zt,onError:Gt})),wa==="loading"&&ae.createElement("div",{"aria-hidden":"true",className:"".concat(Hn,"-placeholder")},gt),$r&&za&&ae.createElement("div",{className:ye()("".concat(Hn,"-mask"),na),style:{display:(Zt==null?void 0:Zt.display)==="none"?"none":void 0}},$r)),!ya&&za&&ae.createElement(He,(0,he.Z)({"aria-hidden":!xr,visible:xr,prefixCls:Pt,onClose:Yt,mousePosition:Na,src:Ur,alt:jt,fallback:St,getContainer:Er,icons:Kn,movable:ca,scaleStep:Xn,minScale:Fn,maxScale:Hr,rootClassName:sr,imageRender:Jr,imgCommonProps:Nn,toolbarRender:Tr},Or)))};Je.PreviewGroup=tt,Je.displayName="Image";var Ke=Je,Me=Ke,et=fe(62892),Ie=fe(36355),Re=fe(31724),qe=fe(99267),Ye=fe(33853),ke=fe(38819),xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ne=xe,Be=fe(7657),je=function(Lt,Jt){return ae.createElement(Be.Z,(0,he.Z)({},Lt,{ref:Jt,icon:Ne}))},$e=ae.forwardRef(je),nt=$e,Ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},rt=Ze,yt=function(Lt,Jt){return ae.createElement(Be.Z,(0,he.Z)({},Lt,{ref:Jt,icon:rt}))},ct=ae.forwardRef(yt),bt=ct,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},ht=dt,ot=function(Lt,Jt){return ae.createElement(Be.Z,(0,he.Z)({},Lt,{ref:Jt,icon:ht}))},ut=ae.forwardRef(ot),mt=ut,Ct={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Bt=Ct,It=function(Lt,Jt){return ae.createElement(Be.Z,(0,he.Z)({},Lt,{ref:Jt,icon:Bt}))},Ht=ae.forwardRef(It),qt=Ht,yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},In=yn,En=function(Lt,Jt){return ae.createElement(Be.Z,(0,he.Z)({},Lt,{ref:Jt,icon:In}))},pn=ae.forwardRef(En),Qn=pn,Bn=fe(64993),un=fe(73819),Yn=fe(17313),_t=fe(29878),tn=fe(1950),cn=fe(83116),Ot=fe(37613);const ft=Mt=>({position:Mt||"absolute",inset:0}),Ft=Mt=>{const{iconCls:Lt,motionDurationSlow:Jt,paddingXXS:jt,marginXXS:bn,prefixCls:Dn,colorTextLightSolid:Hn}=Mt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Hn,background:new Bn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Jt}`,[`.${Dn}-mask-info`]:Object.assign(Object.assign({},Yn.vS),{padding:`0 ${jt}px`,[Lt]:{marginInlineEnd:bn,svg:{verticalAlign:"baseline"}}})}},kt=Mt=>{const{previewCls:Lt,modalMaskBg:Jt,paddingSM:jt,marginXL:bn,margin:Dn,paddingLG:Hn,previewOperationColorDisabled:rn,previewOperationHoverColor:Pt,motionDurationSlow:gt,iconCls:St,colorTextLightSolid:At}=Mt,zt=new Bn.C(Jt).setAlpha(.1),Zt=zt.clone().setAlpha(.2);return{[`${Lt}-footer`]:{position:"fixed",bottom:bn,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Mt.previewOperationColor},[`${Lt}-progress`]:{marginBottom:Dn},[`${Lt}-close`]:{position:"fixed",top:bn,right:{_skip_check_:!0,value:bn},display:"flex",color:At,backgroundColor:zt.toRgbString(),borderRadius:"50%",padding:jt,outline:0,border:0,cursor:"pointer",transition:`all ${gt}`,"&:hover":{backgroundColor:Zt.toRgbString()},[`& > ${St}`]:{fontSize:Mt.previewOperationSize}},[`${Lt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Hn}px`,backgroundColor:zt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:jt,padding:jt,cursor:"pointer",transition:`all ${gt}`,userSelect:"none",[`&:not(${Lt}-operations-operation-disabled):hover > ${St}`]:{color:Pt},"&-disabled":{color:rn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${St}`]:{fontSize:Mt.previewOperationSize}}}}},Xt=Mt=>{const{modalMaskBg:Lt,iconCls:Jt,previewOperationColorDisabled:jt,previewCls:bn,zIndexPopup:Dn,motionDurationSlow:Hn}=Mt,rn=new Bn.C(Lt).setAlpha(.1),Pt=rn.clone().setAlpha(.2);return{[`${bn}-switch-left, ${bn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Dn+1,display:"flex",alignItems:"center",justifyContent:"center",width:Mt.imagePreviewSwitchSize,height:Mt.imagePreviewSwitchSize,marginTop:-Mt.imagePreviewSwitchSize/2,color:Mt.previewOperationColor,background:rn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Hn}`,userSelect:"none","&:hover":{background:Pt.toRgbString()},"&-disabled":{"&, &:hover":{color:jt,background:"transparent",cursor:"not-allowed",[`> ${Jt}`]:{cursor:"not-allowed"}}},[`> ${Jt}`]:{fontSize:Mt.previewOperationSize}},[`${bn}-switch-left`]:{insetInlineStart:Mt.marginSM},[`${bn}-switch-right`]:{insetInlineEnd:Mt.marginSM}}},an=Mt=>{const{motionEaseOut:Lt,previewCls:Jt,motionDurationSlow:jt,componentCls:bn}=Mt;return[{[`${bn}-preview-root`]:{[Jt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Jt}-body`]:Object.assign(Object.assign({},ft()),{overflow:"hidden"}),[`${Jt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${jt} ${Lt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ft()),{transition:`transform ${jt} ${Lt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Jt}-moving`]:{[`${Jt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${bn}-preview-root`]:{[`${Jt}-wrap`]:{zIndex:Mt.zIndexPopup}}},{[`${bn}-preview-operations-wrapper`]:{position:"fixed",zIndex:Mt.zIndexPopup+1},"&":[kt(Mt),Xt(Mt)]}]},en=Mt=>{const{componentCls:Lt}=Mt;return{[Lt]:{position:"relative",display:"inline-block",[`${Lt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Lt}-img-placeholder`]:{backgroundColor:Mt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Lt}-mask`]:Object.assign({},Ft(Mt)),[`${Lt}-mask:hover`]:{opacity:1},[`${Lt}-placeholder`]:Object.assign({},ft())}}},Vt=Mt=>{const{previewCls:Lt}=Mt;return{[`${Lt}-root`]:(0,_t._y)(Mt,"zoom"),"&":(0,tn.J$)(Mt,!0)}};var pt=(0,cn.Z)("Image",Mt=>{const Lt=`${Mt.componentCls}-preview`,Jt=(0,Ot.TS)(Mt,{previewCls:Lt,modalMaskBg:new Bn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Mt.controlHeightLG});return[en(Jt),an(Jt),(0,un.QA)((0,Ot.TS)(Jt,{componentCls:Lt})),Vt(Jt)]},Mt=>({zIndexPopup:Mt.zIndexPopupBase+80,previewOperationColor:new Bn.C(Mt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Bn.C(Mt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Bn.C(Mt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Mt.fontSizeIcon*1.5})),wt=function(Mt,Lt){var Jt={};for(var jt in Mt)Object.prototype.hasOwnProperty.call(Mt,jt)&&Lt.indexOf(jt)<0&&(Jt[jt]=Mt[jt]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,jt=Object.getOwnPropertySymbols(Mt);bn{var{previewPrefixCls:Lt,preview:Jt}=Mt,jt=wt(Mt,["previewPrefixCls","preview"]);const{getPrefixCls:bn}=ae.useContext(Ie.E_),Dn=bn("image",Lt),Hn=`${Dn}-preview`,rn=bn(),[Pt,gt]=pt(Dn),St=ae.useMemo(()=>{var At;if(Jt===!1)return Jt;const zt=typeof Jt=="object"?Jt:{},Zt=ye()(gt,(At=zt.rootClassName)!==null&&At!==void 0?At:"");return Object.assign(Object.assign({},zt),{transitionName:(0,et.m)(rn,"zoom",zt.transitionName),maskTransitionName:(0,et.m)(rn,"fade",zt.maskTransitionName),rootClassName:Zt})},[Jt]);return Pt(ae.createElement(Me.PreviewGroup,Object.assign({preview:St,previewPrefixCls:Hn,icons:xt},jt)))},Qt=function(Mt,Lt){var Jt={};for(var jt in Mt)Object.prototype.hasOwnProperty.call(Mt,jt)&&Lt.indexOf(jt)<0&&(Jt[jt]=Mt[jt]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,jt=Object.getOwnPropertySymbols(Mt);bn{const{prefixCls:Lt,preview:Jt,className:jt,rootClassName:bn,style:Dn}=Mt,Hn=Qt(Mt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:rn,locale:Pt=Re.Z,getPopupContainer:gt,image:St}=ae.useContext(Ie.E_),At=rn("image",Lt),zt=rn(),Zt=Pt.Image||Re.Z.Image,[$t,ln]=pt(At),Pn=ye()(bn,ln),zn=ye()(jt,ln,St==null?void 0:St.className),Gt=ae.useMemo(()=>{if(Jt===!1)return Jt;const ir=typeof Jt=="object"?Jt:{},{getContainer:sr}=ir,vr=Qt(ir,["getContainer"]);return Object.assign(Object.assign({mask:ae.createElement("div",{className:`${At}-mask-info`},ae.createElement(Ae.Z,null),Zt==null?void 0:Zt.preview),icons:xt},vr),{getContainer:sr||gt,transitionName:(0,et.m)(zt,"zoom",ir.transitionName),maskTransitionName:(0,et.m)(zt,"fade",ir.maskTransitionName)})},[Jt,Zt]),tr=Object.assign(Object.assign({},St==null?void 0:St.style),Dn);return $t(ae.createElement(Me,Object.assign({prefixCls:At,preview:Gt,rootClassName:Pn,className:zn,style:tr},Hn)))};_n.PreviewGroup=fn;var wn=_n},45818:function(vt,at,fe){"use strict";fe.d(at,{D:function(){return te},Z:function(){return ve}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ye=E,he=fe(7657),le=function(pe,Se){return Ae.createElement(he.Z,(0,ae.Z)({},pe,{ref:Se,icon:ye}))},ne=Ae.forwardRef(le),se=ne,de=fe(33853),ue=fe(38819),ie=fe(92310),oe=fe.n(ie),re=fe(2738),a=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),y=fe(36355),x=fe(84966),b=function(ge,pe){var Se={};for(var be in ge)Object.prototype.hasOwnProperty.call(ge,be)&&pe.indexOf(be)<0&&(Se[be]=ge[be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,be=Object.getOwnPropertySymbols(ge);Ee{let ge=0;return function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${pe}${ge}`}})();var ve=Ae.forwardRef((ge,pe)=>{const{prefixCls:Se,className:be,trigger:Ee,children:Ce,defaultCollapsed:De=!1,theme:we="dark",style:Fe={},collapsible:Pe=!1,reverseArrow:Le=!1,width:Oe=200,collapsedWidth:We=80,zeroWidthTriggerStyle:Te,breakpoint:Ue,onCollapse:He,onBreakpoint:Qe}=ge,Ge=b(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ze}=(0,Ae.useContext)(x.Gs),[_e,Ve]=(0,Ae.useState)("collapsed"in ge?ge.collapsed:De),[tt,Xe]=(0,Ae.useState)(!1);(0,Ae.useEffect)(()=>{"collapsed"in ge&&Ve(ge.collapsed)},[ge.collapsed]);const lt=(Re,qe)=>{"collapsed"in ge||Ve(Re),He==null||He(Re,qe)},Je=(0,Ae.useRef)();Je.current=Re=>{Xe(Re.matches),Qe==null||Qe(Re.matches),_e!==Re.matches&<(Re.matches,"responsive")},(0,Ae.useEffect)(()=>{function Re(Ye){return Je.current(Ye)}let qe;if(typeof window!="undefined"){const{matchMedia:Ye}=window;if(Ye&&Ue&&Ue in ee){qe=Ye(`(max-width: ${ee[Ue]})`);try{qe.addEventListener("change",Re)}catch(ke){qe.addListener(Re)}Re(qe)}}return()=>{try{qe==null||qe.removeEventListener("change",Re)}catch(Ye){qe==null||qe.removeListener(Re)}}},[Ue]),(0,Ae.useEffect)(()=>{const Re=ce("ant-sider-");return ze.addSider(Re),()=>ze.removeSider(Re)},[]);const Ke=()=>{lt(!_e,"clickTrigger")},{getPrefixCls:Me}=(0,Ae.useContext)(y.E_),et=()=>{const Re=Me("layout-sider",Se),qe=(0,re.Z)(Ge,["collapsed"]),Ye=_e?We:Oe,ke=a(Ye)?`${Ye}px`:String(Ye),xe=parseFloat(String(We||0))===0?Ae.createElement("span",{onClick:Ke,className:oe()(`${Re}-zero-width-trigger`,`${Re}-zero-width-trigger-${Le?"right":"left"}`),style:Te},Ee||Ae.createElement(se,null)):null,je={expanded:Le?Ae.createElement(ue.Z,null):Ae.createElement(de.Z,null),collapsed:Le?Ae.createElement(de.Z,null):Ae.createElement(ue.Z,null)}[_e?"collapsed":"expanded"],$e=Ee!==null?xe||Ae.createElement("div",{className:`${Re}-trigger`,onClick:Ke,style:{width:ke}},Ee||je):null,nt=Object.assign(Object.assign({},Fe),{flex:`0 0 ${ke}`,maxWidth:ke,minWidth:ke,width:ke}),Ze=oe()(Re,`${Re}-${we}`,{[`${Re}-collapsed`]:!!_e,[`${Re}-has-trigger`]:Pe&&Ee!==null&&!xe,[`${Re}-below`]:!!tt,[`${Re}-zero-width`]:parseFloat(ke)===0},be);return Ae.createElement("aside",Object.assign({className:Ze},qe,{style:nt,ref:pe}),Ae.createElement("div",{className:`${Re}-children`},Ce),Pe||tt&&xe?$e:null)},Ie=Ae.useMemo(()=>({siderCollapsed:_e}),[_e]);return Ae.createElement(te.Provider,{value:Ie},et())})},84966:function(vt,at,fe){"use strict";fe.d(at,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return re},ZP:function(){return ce}});var ae=fe(94480),Ae=fe(92310),E=fe.n(Ae),ye=fe(2738),he=fe(59301),le=fe(36355),ne=fe(83116),de=me=>{const{componentCls:ve,bodyBg:ge,lightSiderBg:pe,lightTriggerBg:Se,lightTriggerColor:be}=me;return{[`${ve}-sider-light`]:{background:pe,[`${ve}-sider-trigger`]:{color:be,background:Se},[`${ve}-sider-zero-width-trigger`]:{color:be,background:Se,border:`1px solid ${ge}`,borderInlineStart:0}}}};const ue=me=>{const{antCls:ve,componentCls:ge,colorText:pe,triggerColor:Se,footerBg:be,triggerBg:Ee,headerHeight:Ce,headerPadding:De,headerColor:we,footerPadding:Fe,triggerHeight:Pe,zeroTriggerHeight:Le,zeroTriggerWidth:Oe,motionDurationMid:We,motionDurationSlow:Te,fontSize:Ue,borderRadius:He,bodyBg:Qe,headerBg:Ge,siderBg:ze}=me;return{[ge]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Qe,"&, *":{boxSizing:"border-box"},[`&${ge}-has-sider`]:{flexDirection:"row",[`> ${ge}, > ${ge}-content`]:{width:0}},[`${ge}-header, &${ge}-footer`]:{flex:"0 0 auto"},[`${ge}-sider`]:{position:"relative",minWidth:0,background:ze,transition:`all ${We}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ve}-menu${ve}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Pe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Pe,color:Se,lineHeight:`${Pe}px`,textAlign:"center",background:Ee,cursor:"pointer",transition:`all ${We}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ce,insetInlineEnd:-Oe,zIndex:1,width:Oe,height:Le,color:Se,fontSize:me.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:He,borderEndEndRadius:He,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Te} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Te}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Oe,borderStartStartRadius:He,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:He}}}}},de(me)),{"&-rtl":{direction:"rtl"}}),[`${ge}-header`]:{height:Ce,padding:De,color:we,lineHeight:`${Ce}px`,background:Ge,[`${ve}-menu`]:{lineHeight:"inherit"}},[`${ge}-footer`]:{padding:Fe,color:pe,fontSize:Ue,background:be},[`${ge}-content`]:{flex:"auto",minHeight:0}}};var ie=(0,ne.Z)("Layout",me=>[ue(me)],me=>{const{colorBgLayout:ve,controlHeight:ge,controlHeightLG:pe,colorText:Se,controlHeightSM:be,marginXXS:Ee,colorTextLightSolid:Ce,colorBgContainer:De}=me,we=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ve,colorBgTrigger:"#002140",bodyBg:ve,headerBg:"#001529",headerHeight:ge*2,headerPadding:`0 ${we}px`,headerColor:Se,footerPadding:`${be}px ${we}px`,footerBg:ve,siderBg:"#001529",triggerHeight:pe+Ee*2,triggerBg:"#002140",triggerColor:Ce,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(me,ve){var ge={};for(var pe in me)Object.prototype.hasOwnProperty.call(me,pe)&&ve.indexOf(pe)<0&&(ge[pe]=me[pe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,pe=Object.getOwnPropertySymbols(me);Senull,removeSider:()=>null}});function z(me){let{suffixCls:ve,tagName:ge,displayName:pe}=me;return Se=>he.forwardRef((Ee,Ce)=>he.createElement(Se,Object.assign({ref:Ce,suffixCls:ve,tagName:ge},Ee)))}const a=he.forwardRef((me,ve)=>{const{prefixCls:ge,suffixCls:pe,className:Se,tagName:be}=me,Ee=oe(me,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ce}=he.useContext(le.E_),De=Ce("layout",ge),[we,Fe]=ie(De),Pe=pe?`${De}-${pe}`:De;return we(he.createElement(be,Object.assign({className:E()(ge||Pe,Se,Fe),ref:ve},Ee)))}),y=he.forwardRef((me,ve)=>{const{direction:ge}=he.useContext(le.E_),[pe,Se]=he.useState([]),{prefixCls:be,className:Ee,rootClassName:Ce,children:De,hasSider:we,tagName:Fe,style:Pe}=me,Le=oe(me,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Oe=(0,ye.Z)(Le,["suffixCls"]),{getPrefixCls:We,layout:Te}=he.useContext(le.E_),Ue=We("layout",be),[He,Qe]=ie(Ue),Ge=E()(Ue,{[`${Ue}-has-sider`]:typeof we=="boolean"?we:pe.length>0,[`${Ue}-rtl`]:ge==="rtl"},Te==null?void 0:Te.className,Ee,Ce,Qe),ze=he.useMemo(()=>({siderHook:{addSider:_e=>{Se(Ve=>[].concat((0,ae.Z)(Ve),[_e]))},removeSider:_e=>{Se(Ve=>Ve.filter(tt=>tt!==_e))}}}),[]);return He(he.createElement(re.Provider,{value:ze},he.createElement(Fe,Object.assign({ref:ve,className:Ge,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),Pe)},Oe),De)))}),x=z({tagName:"div",displayName:"Layout"})(y),b=z({suffixCls:"header",tagName:"header",displayName:"Header"})(a),ee=z({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=z({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ce=x},40875:function(vt,at,fe){"use strict";fe.d(at,{J:function(){return le}});var ae=fe(59301),Ae=fe(33234),E=fe(70425),ye=function(ne,se){var de={};for(var ue in ne)Object.prototype.hasOwnProperty.call(ne,ue)&&se.indexOf(ue)<0&&(de[ue]=ne[ue]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ue=Object.getOwnPropertySymbols(ne);ie{const{children:de}=ne,ue=ye(ne,["children"]),ie=ae.useContext(he),oe=ae.useMemo(()=>Object.assign(Object.assign({},ie),ue),[ie,ue.prefixCls,ue.mode,ue.selectable]);return ae.createElement(he.Provider,{value:oe},ae.createElement(Ae.BR,null,(0,E.supportNodeRef)(de)?ae.cloneElement(de,{ref:se}):de))});at.Z=he},20834:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return Ie}});var ae=fe(15285),Ae=fe(59301),E=fe(45818),ye=fe(92310),he=fe.n(ye),le=fe(36355),ne=function(Re,qe){var Ye={};for(var ke in Re)Object.prototype.hasOwnProperty.call(Re,ke)&&qe.indexOf(ke)<0&&(Ye[ke]=Re[ke]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ke=Object.getOwnPropertySymbols(Re);xe{const{prefixCls:qe,className:Ye,dashed:ke}=Re,xe=ne(Re,["prefixCls","className","dashed"]),{getPrefixCls:Ne}=Ae.useContext(le.E_),Be=Ne("menu",qe),je=he()({[`${Be}-item-divider-dashed`]:!!ke},Ye);return Ae.createElement(ae.iz,Object.assign({className:je},xe))},ue=fe(11592),ie=fe(2738),oe=fe(6848),re=fe(92343),a=(0,Ae.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Re=>{var qe;const{className:Ye,children:ke,icon:xe,title:Ne,danger:Be}=Re,{prefixCls:je,firstLevel:$e,direction:nt,disableMenuItemTitleTooltip:Ze,inlineCollapsed:rt}=Ae.useContext(a),yt=ut=>{const mt=Ae.createElement("span",{className:`${je}-title-content`},ke);return(!xe||(0,re.l$)(ke)&&ke.type==="span")&&ke&&ut&&$e&&typeof ke=="string"?Ae.createElement("div",{className:`${je}-inline-collapsed-noicon`},ke.charAt(0)):mt},{siderCollapsed:ct}=Ae.useContext(E.D);let bt=Ne;typeof Ne=="undefined"?bt=$e?ke:"":Ne===!1&&(bt="");const dt={title:bt};!ct&&!rt&&(dt.title=null,dt.open=!1);const ht=(0,ue.Z)(ke).length;let ot=Ae.createElement(ae.ck,Object.assign({},(0,ie.Z)(Re,["title","icon","danger"]),{className:he()({[`${je}-item-danger`]:Be,[`${je}-item-only-child`]:(xe?ht+1:ht)===1},Ye),title:typeof Ne=="string"?Ne:void 0}),(0,re.Tm)(xe,{className:he()((0,re.l$)(xe)?(qe=xe.props)===null||qe===void 0?void 0:qe.className:"",`${je}-item-icon`)}),yt(rt));return Ze||(ot=Ae.createElement(oe.Z,Object.assign({},dt,{placement:nt==="rtl"?"left":"right",overlayClassName:`${je}-inline-collapsed-tooltip`}),ot)),ot},ee=Re=>{var qe;const{popupClassName:Ye,icon:ke,title:xe,theme:Ne}=Re,Be=Ae.useContext(a),{prefixCls:je,inlineCollapsed:$e,theme:nt}=Be,Ze=(0,ae.Xl)();let rt;if(!ke)rt=$e&&!Ze.length&&xe&&typeof xe=="string"?Ae.createElement("div",{className:`${je}-inline-collapsed-noicon`},xe.charAt(0)):Ae.createElement("span",{className:`${je}-title-content`},xe);else{const ct=(0,re.l$)(xe)&&xe.type==="span";rt=Ae.createElement(Ae.Fragment,null,(0,re.Tm)(ke,{className:he()((0,re.l$)(ke)?(qe=ke.props)===null||qe===void 0?void 0:qe.className:"",`${je}-item-icon`)}),ct?xe:Ae.createElement("span",{className:`${je}-title-content`},xe))}const yt=Ae.useMemo(()=>Object.assign(Object.assign({},Be),{firstLevel:!1}),[Be]);return Ae.createElement(a.Provider,{value:yt},Ae.createElement(ae.Wd,Object.assign({},(0,ie.Z)(Re,["icon"]),{title:rt,popupClassName:he()(je,Ye,`${je}-${Ne||nt}`)})))},te=fe(18785),ce=fe(70425),me=fe(62892),ve=fe(40875),ge=function(Re,qe){var Ye={};for(var ke in Re)Object.prototype.hasOwnProperty.call(Re,ke)&&qe.indexOf(ke)<0&&(Ye[ke]=Re[ke]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ke=Object.getOwnPropertySymbols(Re);xe{if(qe&&typeof qe=="object"){const ke=qe,{label:xe,children:Ne,key:Be,type:je}=ke,$e=ge(ke,["label","children","key","type"]),nt=Be!=null?Be:`tmp-${Ye}`;return Ne||je==="group"?je==="group"?Ae.createElement(ae.BW,Object.assign({key:nt},$e,{title:xe}),pe(Ne)):Ae.createElement(ee,Object.assign({key:nt},$e,{title:xe}),pe(Ne)):je==="divider"?Ae.createElement(de,Object.assign({key:nt},$e)):Ae.createElement(x,Object.assign({key:nt},$e),xe)}return null}).filter(qe=>qe)}function Se(Re){return Ae.useMemo(()=>Re&&pe(Re),[Re])}var be=fe(64993),Ee=fe(17313),Ce=fe(8378),De=fe(13826),we=fe(29878),Fe=fe(83116),Pe=fe(37613),Oe=Re=>{const{componentCls:qe,motionDurationSlow:Ye,horizontalLineHeight:ke,colorSplit:xe,lineWidth:Ne,lineType:Be,itemPaddingInline:je}=Re;return{[`${qe}-horizontal`]:{lineHeight:ke,border:0,borderBottom:`${Ne}px ${Be} ${xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${qe}-item, ${qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:je},[`> ${qe}-item:hover, - > ${qe}-item-active, - > ${qe}-submenu ${qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${qe}-item, ${qe}-submenu-title`]:{transition:[`border-color ${Ye}`,`background ${Ye}`].join(",")},[`${qe}-submenu-arrow`]:{display:"none"}}}},Te=Re=>{let{componentCls:qe,menuArrowOffset:Ye}=Re;return{[`${qe}-rtl`]:{direction:"rtl"},[`${qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${qe}-rtl${qe}-vertical, - ${qe}-submenu-rtl ${qe}-vertical`]:{[`${qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ye})`},"&::after":{transform:`rotate(45deg) translateY(${Ye})`}}}}};const Ue=Re=>Object.assign({},(0,Ee.oN)(Re));var Qe=(Re,qe)=>{const{componentCls:Ye,itemColor:ke,itemSelectedColor:xe,groupTitleColor:Ne,itemBg:Be,subMenuItemBg:je,itemSelectedBg:$e,activeBarHeight:nt,activeBarWidth:Ze,activeBarBorderWidth:rt,motionDurationSlow:yt,motionEaseInOut:ct,motionEaseOut:bt,itemPaddingInline:dt,motionDurationMid:ht,itemHoverColor:ot,lineType:ut,colorSplit:mt,itemDisabledColor:Ct,dangerItemColor:Bt,dangerItemHoverColor:It,dangerItemSelectedColor:Ht,dangerItemActiveBg:qt,dangerItemSelectedBg:yn,itemHoverBg:In,itemActiveBg:En,menuSubMenuBg:pn,horizontalItemSelectedColor:Qn,horizontalItemSelectedBg:Bn,horizontalItemBorderRadius:un,horizontalItemHoverBg:Yn,popupBg:_t}=Re;return{[`${Ye}-${qe}, ${Ye}-${qe} > ${Ye}`]:{color:ke,background:Be,[`&${Ye}-root:focus-visible`]:Object.assign({},Ue(Re)),[`${Ye}-item-group-title`]:{color:Ne},[`${Ye}-submenu-selected`]:{[`> ${Ye}-submenu-title`]:{color:xe}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{color:`${Ct} !important`},[`${Ye}-item:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{[`&:hover, > ${Ye}-submenu-title:hover`]:{color:ot}},[`&:not(${Ye}-horizontal)`]:{[`${Ye}-item:not(${Ye}-item-selected)`]:{"&:hover":{backgroundColor:In},"&:active":{backgroundColor:En}},[`${Ye}-submenu-title`]:{"&:hover":{backgroundColor:In},"&:active":{backgroundColor:En}}},[`${Ye}-item-danger`]:{color:Bt,[`&${Ye}-item:hover`]:{[`&:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{color:It}},[`&${Ye}-item:active`]:{background:qt}},[`${Ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ye}-item-selected`]:{color:xe,[`&${Ye}-item-danger`]:{color:Ht},"a, a:hover":{color:"inherit"}},[`& ${Ye}-item-selected`]:{backgroundColor:$e,[`&${Ye}-item-danger`]:{backgroundColor:yn}},[`${Ye}-item, ${Ye}-submenu-title`]:{[`&:not(${Ye}-item-disabled):focus-visible`]:Object.assign({},Ue(Re))},[`&${Ye}-submenu > ${Ye}`]:{backgroundColor:pn},[`&${Ye}-popup > ${Ye}`]:{backgroundColor:_t},[`&${Ye}-horizontal`]:Object.assign(Object.assign({},qe==="dark"?{borderBottom:0}:{}),{[`> ${Ye}-item, > ${Ye}-submenu`]:{top:rt,marginTop:-rt,marginBottom:0,borderRadius:un,"&::after":{position:"absolute",insetInline:dt,bottom:0,borderBottom:`${nt}px solid transparent`,transition:`border-color ${yt} ${ct}`,content:'""'},"&:hover, &-active, &-open":{background:Yn,"&::after":{borderBottomWidth:nt,borderBottomColor:Qn}},"&-selected":{color:Qn,backgroundColor:Bn,"&:hover":{backgroundColor:Bn},"&::after":{borderBottomWidth:nt,borderBottomColor:Qn}}}}),[`&${Ye}-root`]:{[`&${Ye}-inline, &${Ye}-vertical`]:{borderInlineEnd:`${rt}px ${ut} ${mt}`}},[`&${Ye}-inline`]:{[`${Ye}-sub${Ye}-inline`]:{background:je},[`${Ye}-item, ${Ye}-submenu-title`]:rt&&Ze?{width:`calc(100% + ${rt}px)`}:{},[`${Ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ze}px solid ${xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${ht} ${bt}`,`opacity ${ht} ${bt}`].join(","),content:'""'},[`&${Ye}-item-danger`]:{"&::after":{borderInlineEndColor:Ht}}},[`${Ye}-selected, ${Ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ht} ${ct}`,`opacity ${ht} ${ct}`].join(",")}}}}}};const Ge=Re=>{const{componentCls:qe,itemHeight:Ye,itemMarginInline:ke,padding:xe,menuArrowSize:Ne,marginXS:Be,itemMarginBlock:je}=Re,$e=xe+Ne+Be;return{[`${qe}-item`]:{position:"relative",overflow:"hidden"},[`${qe}-item, ${qe}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`,paddingInline:xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ke,marginBlock:je,width:`calc(100% - ${ke*2}px)`},[`> ${qe}-item, - > ${qe}-submenu > ${qe}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`},[`${qe}-item-group-list ${qe}-submenu-title, - ${qe}-submenu-title`]:{paddingInlineEnd:$e}}};var _e=Re=>{const{componentCls:qe,iconCls:Ye,itemHeight:ke,colorTextLightSolid:xe,dropdownWidth:Ne,controlHeightLG:Be,motionDurationMid:je,motionEaseOut:$e,paddingXL:nt,itemMarginInline:Ze,fontSizeLG:rt,motionDurationSlow:yt,paddingXS:ct,boxShadowSecondary:bt,collapsedWidth:dt,collapsedIconSize:ht}=Re,ot={height:ke,lineHeight:`${ke}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[qe]:{"&-inline, &-vertical":Object.assign({[`&${qe}-root`]:{boxShadow:"none"}},Ge(Re))},[`${qe}-submenu-popup`]:{[`${qe}-vertical`]:Object.assign(Object.assign({},Ge(Re)),{boxShadow:bt})}},{[`${qe}-submenu-popup ${qe}-vertical${qe}-sub`]:{minWidth:Ne,maxHeight:`calc(100vh - ${Be*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${qe}-inline`]:{width:"100%",[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${yt}`,`background ${yt}`,`padding ${je} ${$e}`].join(","),[`> ${qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${qe}-sub${qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${qe}-submenu > ${qe}-submenu-title`]:ot,[`& ${qe}-item-group-title`]:{paddingInlineStart:nt}},[`${qe}-item`]:ot}},{[`${qe}-inline-collapsed`]:{width:dt,[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu ${qe}-submenu-title`]:{[`> ${qe}-inline-collapsed-noicon`]:{fontSize:rt,textAlign:"center"}}},[`> ${qe}-item, - > ${qe}-item-group > ${qe}-item-group-list > ${qe}-item, - > ${qe}-item-group > ${qe}-item-group-list > ${qe}-submenu > ${qe}-submenu-title, - > ${qe}-submenu > ${qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${rt/2}px - ${Ze}px)`,textOverflow:"clip",[` - ${qe}-submenu-arrow, - ${qe}-submenu-expand-icon - `]:{opacity:0},[`${qe}-item-icon, ${Ye}`]:{margin:0,fontSize:ht,lineHeight:`${ke}px`,"+ span":{display:"inline-block",opacity:0}}},[`${qe}-item-icon, ${Ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${qe}-item-icon, ${Ye}`]:{display:"none"},"a, a:hover":{color:xe}},[`${qe}-item-group-title`]:Object.assign(Object.assign({},Ee.vS),{paddingInline:ct})}}]};const Ve=Re=>{const{componentCls:qe,motionDurationSlow:Ye,motionDurationMid:ke,motionEaseInOut:xe,motionEaseOut:Ne,iconCls:Be,iconSize:je,iconMarginInlineEnd:$e}=Re;return{[`${qe}-item, ${qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ye}`,`background ${Ye}`,`padding ${Ye} ${xe}`].join(","),[`${qe}-item-icon, ${Be}`]:{minWidth:je,fontSize:je,transition:[`font-size ${ke} ${Ne}`,`margin ${Ye} ${xe}`,`color ${Ye}`].join(","),"+ span":{marginInlineStart:$e,opacity:1,transition:[`opacity ${Ye} ${xe}`,`margin ${Ye}`,`color ${Ye}`].join(",")}},[`${qe}-item-icon`]:Object.assign({},(0,Ee.Ro)()),[`&${qe}-item-only-child`]:{[`> ${Be}, > ${qe}-item-icon`]:{marginInlineEnd:0}}},[`${qe}-item-disabled, ${qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=Re=>{const{componentCls:qe,motionDurationSlow:Ye,motionEaseInOut:ke,borderRadius:xe,menuArrowSize:Ne,menuArrowOffset:Be}=Re;return{[`${qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:Ne,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ye} ${ke}, opacity ${Ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ne*.6,height:Ne*.15,backgroundColor:"currentcolor",borderRadius:xe,transition:[`background ${Ye} ${ke}`,`transform ${Ye} ${ke}`,`top ${Ye} ${ke}`,`color ${Ye} ${ke}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Be})`},"&::after":{transform:`rotate(-45deg) translateY(${Be})`}}}}},Xe=Re=>{const{antCls:qe,componentCls:Ye,fontSize:ke,motionDurationSlow:xe,motionDurationMid:Ne,motionEaseInOut:Be,paddingXS:je,padding:$e,colorSplit:nt,lineWidth:Ze,zIndexPopup:rt,borderRadiusLG:yt,subMenuItemBorderRadius:ct,menuArrowSize:bt,menuArrowOffset:dt,lineType:ht,menuPanelMaskInset:ot,groupTitleLineHeight:ut,groupTitleFontSize:mt}=Re;return[{"":{[`${Ye}`]:Object.assign(Object.assign({},(0,Ee.dF)()),{"&-hidden":{display:"none"}})},[`${Ye}-submenu-hidden`]:{display:"none"}},{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Re)),(0,Ee.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ke,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ye}-item`]:{flex:"none"}},[`${Ye}-item, ${Ye}-submenu, ${Ye}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${Ye}-item-group-title`]:{padding:`${je}px ${$e}px`,fontSize:mt,lineHeight:ut,transition:`all ${xe}`},[`&-horizontal ${Ye}-submenu`]:{transition:[`border-color ${xe} ${Be}`,`background ${xe} ${Be}`].join(",")},[`${Ye}-submenu, ${Ye}-submenu-inline`]:{transition:[`border-color ${xe} ${Be}`,`background ${xe} ${Be}`,`padding ${Ne} ${Be}`].join(",")},[`${Ye}-submenu ${Ye}-sub`]:{cursor:"initial",transition:[`background ${xe} ${Be}`,`padding ${xe} ${Be}`].join(",")},[`${Ye}-title-content`]:{transition:`color ${xe}`},[`${Ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nt,borderStyle:ht,borderWidth:0,borderTopWidth:Ze,marginBlock:Ze,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ve(Re)),{[`${Ye}-item-group`]:{[`${Ye}-item-group-list`]:{margin:0,padding:0,[`${Ye}-item, ${Ye}-submenu-title`]:{paddingInline:`${ke*2}px ${$e}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:rt,borderRadius:yt,boxShadow:"none",transformOrigin:"0 0",[`&${Ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ot}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ot},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Re.paddingXS},[`> ${Ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:yt},Ve(Re)),tt(Re)),{[`${Ye}-item, ${Ye}-submenu > ${Ye}-submenu-title`]:{borderRadius:ct},[`${Ye}-submenu-title::after`]:{transition:`transform ${xe} ${Be}`}})}}),tt(Re)),{[`&-inline-collapsed ${Ye}-submenu-arrow, - &-inline ${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${dt})`},"&::after":{transform:`rotate(45deg) translateX(-${dt})`}},[`${Ye}-submenu-open${Ye}-submenu-inline > ${Ye}-submenu-title > ${Ye}-submenu-arrow`]:{transform:`translateY(-${bt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${dt})`},"&::before":{transform:`rotate(45deg) translateX(${dt})`}}})},{[`${qe}-layout-header`]:{[Ye]:{lineHeight:"inherit"}}}]};var lt=(Re,qe)=>(0,Fe.Z)("Menu",ke=>{if(qe===!1)return[];const{colorBgElevated:xe,colorPrimary:Ne,colorTextLightSolid:Be,controlHeightLG:je,fontSize:$e,darkItemColor:nt,darkDangerItemColor:Ze,darkItemBg:rt,darkSubMenuItemBg:yt,darkItemSelectedColor:ct,darkItemSelectedBg:bt,darkDangerItemSelectedBg:dt,darkItemHoverBg:ht,darkGroupTitleColor:ot,darkItemHoverColor:ut,darkItemDisabledColor:mt,darkDangerItemHoverColor:Ct,darkDangerItemSelectedColor:Bt,darkDangerItemActiveBg:It}=ke,Ht=$e/7*5,qt=(0,Pe.TS)(ke,{menuArrowSize:Ht,menuHorizontalHeight:je*1.15,menuArrowOffset:`${Ht*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:xe}),yn=(0,Pe.TS)(qt,{itemColor:nt,itemHoverColor:ut,groupTitleColor:ot,itemSelectedColor:ct,itemBg:rt,popupBg:rt,subMenuItemBg:yt,itemActiveBg:"transparent",itemSelectedBg:bt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ht,itemDisabledColor:mt,dangerItemColor:Ze,dangerItemHoverColor:Ct,dangerItemSelectedColor:Bt,dangerItemActiveBg:It,dangerItemSelectedBg:dt,menuSubMenuBg:yt,horizontalItemSelectedColor:Be,horizontalItemSelectedBg:Ne});return[Xe(qt),Oe(qt),_e(qt),Qe(qt,"light"),Qe(yn,"dark"),Te(qt),(0,Ce.Z)(qt),(0,De.oN)(qt,"slide-up"),(0,De.oN)(qt,"slide-down"),(0,we._y)(qt,"zoom-big")]},ke=>{const{colorPrimary:xe,colorError:Ne,colorTextDisabled:Be,colorErrorBg:je,colorText:$e,colorTextDescription:nt,colorBgContainer:Ze,colorFillAlter:rt,colorFillContent:yt,lineWidth:ct,lineWidthBold:bt,controlItemBgActive:dt,colorBgTextHover:ht,controlHeightLG:ot,lineHeight:ut,colorBgElevated:mt,marginXXS:Ct,padding:Bt,fontSize:It,controlHeightSM:Ht,fontSizeLG:qt,colorTextLightSolid:yn,colorErrorHover:In}=ke,En=new be.C(yn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ke.zIndexPopupBase+50,radiusItem:ke.borderRadiusLG,itemBorderRadius:ke.borderRadiusLG,radiusSubMenuItem:ke.borderRadiusSM,subMenuItemBorderRadius:ke.borderRadiusSM,colorItemText:$e,itemColor:$e,colorItemTextHover:$e,itemHoverColor:$e,colorItemTextHoverHorizontal:xe,horizontalItemHoverColor:xe,colorGroupTitle:nt,groupTitleColor:nt,colorItemTextSelected:xe,itemSelectedColor:xe,colorItemTextSelectedHorizontal:xe,horizontalItemSelectedColor:xe,colorItemBg:Ze,itemBg:Ze,colorItemBgHover:ht,itemHoverBg:ht,colorItemBgActive:yt,itemActiveBg:dt,colorSubItemBg:rt,subMenuItemBg:rt,colorItemBgSelected:dt,itemSelectedBg:dt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:bt,activeBarHeight:bt,colorActiveBarBorderSize:ct,activeBarBorderWidth:ct,colorItemTextDisabled:Be,itemDisabledColor:Be,colorDangerItemText:Ne,dangerItemColor:Ne,colorDangerItemTextHover:Ne,dangerItemHoverColor:Ne,colorDangerItemTextSelected:Ne,dangerItemSelectedColor:Ne,colorDangerItemBgActive:je,dangerItemActiveBg:je,colorDangerItemBgSelected:je,dangerItemSelectedBg:je,itemMarginInline:ke.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:ut,collapsedWidth:ot*2,popupBg:mt,itemMarginBlock:Ct,itemPaddingInline:Bt,horizontalLineHeight:`${ot*1.15}px`,iconSize:It,iconMarginInlineEnd:Ht-It,collapsedIconSize:qt,groupTitleFontSize:It,darkItemDisabledColor:new be.C(yn).setAlpha(.25).toRgbString(),darkItemColor:En,darkDangerItemColor:Ne,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:yn,darkItemSelectedBg:xe,darkDangerItemSelectedBg:Ne,darkItemHoverBg:"transparent",darkGroupTitleColor:En,darkItemHoverColor:yn,darkDangerItemHoverColor:In,darkDangerItemSelectedColor:yn,darkDangerItemActiveBg:Ne}},{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"]]})(Re),Je=function(Re,qe){var Ye={};for(var ke in Re)Object.prototype.hasOwnProperty.call(Re,ke)&&qe.indexOf(ke)<0&&(Ye[ke]=Re[ke]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ke=Object.getOwnPropertySymbols(Re);xe{var Ye,ke;const xe=Ae.useContext(ve.Z),Ne=xe||{},{getPrefixCls:Be,getPopupContainer:je,direction:$e,menu:nt}=Ae.useContext(le.E_),Ze=Be(),{prefixCls:rt,className:yt,style:ct,theme:bt="light",expandIcon:dt,_internalDisableMenuItemTitleTooltip:ht,inlineCollapsed:ot,siderCollapsed:ut,items:mt,children:Ct,rootClassName:Bt,mode:It,selectable:Ht,onClick:qt,overflowedIndicatorPopupClassName:yn}=Re,In=Je(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),En=(0,ie.Z)(In,["collapsedWidth"]),pn=Se(mt)||Ct;(Ye=Ne.validator)===null||Ye===void 0||Ye.call(Ne,{mode:It});const Qn=(0,ce.useEvent)(function(){var Xt;qt==null||qt.apply(void 0,arguments),(Xt=Ne.onClick)===null||Xt===void 0||Xt.call(Ne)}),Bn=Ne.mode||It,un=Ht!=null?Ht:Ne.selectable,Yn=Ae.useMemo(()=>ut!==void 0?ut:ot,[ot,ut]),_t={horizontal:{motionName:`${Ze}-slide-up`},inline:(0,me.Z)(Ze),other:{motionName:`${Ze}-zoom-big`}},tn=Be("menu",rt||Ne.prefixCls),[cn,Ot]=lt(tn,!xe),ft=he()(`${tn}-${bt}`,nt==null?void 0:nt.className,yt);let Ft;if(typeof dt=="function")Ft=dt;else if(dt===null||dt===!1)Ft=null;else if(Ne.expandIcon===null||Ne.expandIcon===!1)Ft=null;else{const Xt=dt!=null?dt:Ne.expandIcon;Ft=(0,re.Tm)(Xt,{className:he()(`${tn}-submenu-expand-icon`,(0,re.l$)(Xt)?(ke=Xt.props)===null||ke===void 0?void 0:ke.className:"")})}const kt=Ae.useMemo(()=>({prefixCls:tn,inlineCollapsed:Yn||!1,direction:$e,firstLevel:!0,theme:bt,mode:Bn,disableMenuItemTitleTooltip:ht}),[tn,Yn,$e,ht,bt]);return cn(Ae.createElement(ve.Z.Provider,{value:null},Ae.createElement(a.Provider,{value:kt},Ae.createElement(ae.ZP,Object.assign({getPopupContainer:je,overflowedIndicator:Ae.createElement(te.Z,null),overflowedIndicatorPopupClassName:he()(tn,`${tn}-${bt}`,yn),mode:Bn,selectable:un,onClick:Qn},En,{inlineCollapsed:Yn,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),ct),className:ft,prefixCls:tn,direction:$e,defaultMotions:_t,expandIcon:Ft,ref:qe,rootClassName:he()(Bt,Ot)}),pn))))});const et=(0,Ae.forwardRef)((Re,qe)=>{const Ye=(0,Ae.useRef)(null),ke=Ae.useContext(E.D);return(0,Ae.useImperativeHandle)(qe,()=>({menu:Ye.current,focus:xe=>{var Ne;(Ne=Ye.current)===null||Ne===void 0||Ne.focus(xe)}})),Ae.createElement(Me,Object.assign({ref:Ye},Re,ke))});et.Item=x,et.SubMenu=ee,et.Divider=de,et.ItemGroup=ae.BW;var Ie=et},58421:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ne}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ye=E,he=fe(7657),le=function(je,$e){return Ae.createElement(he.Z,(0,ae.Z)({},je,{ref:$e,icon:ye}))},ne=Ae.forwardRef(le),se=ne,de=fe(49198),ue=fe(33853),ie=fe(38819),oe=fe(92310),re=fe.n(oe),z=fe(20068),a=fe(33885),y=fe(67732),x=fe(83652),b=fe(42403),ee=fe(158),te=fe(26112),ce={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},me=ce,ve=fe(91735),ge=function(Be){(0,b.Z)($e,Be);var je=(0,ee.Z)($e);function $e(){var nt;(0,y.Z)(this,$e);for(var Ze=arguments.length,rt=new Array(Ze),yt=0;yt=0||ct.relatedTarget.className.indexOf("".concat(ot,"-item"))>=0))&&ht(nt.getValidValue()))},nt.go=function(ct){var bt=nt.state.goInputText;bt!==""&&(ct.keyCode===me.ENTER||ct.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return(0,x.Z)($e,[{key:"getPageSizeOptions",value:function(){var Ze=this.props,rt=Ze.pageSize,yt=Ze.pageSizeOptions;return yt.some(function(ct){return ct.toString()===rt.toString()})?yt:yt.concat([rt.toString()]).sort(function(ct,bt){var dt=Number.isNaN(Number(ct))?0:Number(ct),ht=Number.isNaN(Number(bt))?0:Number(bt);return dt-ht})}},{key:"render",value:function(){var Ze=this,rt=this.props,yt=rt.pageSize,ct=rt.locale,bt=rt.rootPrefixCls,dt=rt.changeSize,ht=rt.quickGo,ot=rt.goButton,ut=rt.selectComponentClass,mt=rt.buildOptionText,Ct=rt.selectPrefixCls,Bt=rt.disabled,It=this.state.goInputText,Ht="".concat(bt,"-options"),qt=ut,yn=null,In=null,En=null;if(!dt&&!ht)return null;var pn=this.getPageSizeOptions();if(dt&&qt){var Qn=pn.map(function(Bn,un){return Ae.createElement(qt.Option,{key:un,value:Bn.toString()},(mt||Ze.buildOptionText)(Bn))});yn=Ae.createElement(qt,{disabled:Bt,prefixCls:Ct,showSearch:!1,className:"".concat(Ht,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(yt||pn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(un){return un.parentNode},"aria-label":ct.page_size,defaultOpen:!1},Qn)}return ht&&(ot&&(En=typeof ot=="boolean"?Ae.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Bt,className:"".concat(Ht,"-quick-jumper-button")},ct.jump_to_confirm):Ae.createElement("span",{onClick:this.go,onKeyUp:this.go},ot)),In=Ae.createElement("div",{className:"".concat(Ht,"-quick-jumper")},ct.jump_to,Ae.createElement("input",{disabled:Bt,type:"text",value:It,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ct.page}),ct.page,En)),Ae.createElement("li",{className:"".concat(Ht)},yn,In)}}]),$e}(Ae.Component);ge.defaultProps={pageSizeOptions:["10","20","50","100"]};var pe=ge,Se=function(je){var $e,nt=je.rootPrefixCls,Ze=je.page,rt=je.active,yt=je.className,ct=je.showTitle,bt=je.onClick,dt=je.onKeyPress,ht=je.itemRender,ot="".concat(nt,"-item"),ut=re()(ot,"".concat(ot,"-").concat(Ze),($e={},(0,z.Z)($e,"".concat(ot,"-active"),rt),(0,z.Z)($e,"".concat(ot,"-disabled"),!Ze),(0,z.Z)($e,je.className,yt),$e)),mt=function(){bt(Ze)},Ct=function(Ht){dt(Ht,bt,Ze)},Bt=ht(Ze,"page",Ae.createElement("a",{rel:"nofollow"},Ze));return Bt?Ae.createElement("li",{title:ct?Ze.toString():null,className:ut,onClick:mt,onKeyPress:Ct,tabIndex:0},Bt):null},be=Se;function Ee(){}function Ce(Be){var je=Number(Be);return typeof je=="number"&&!Number.isNaN(je)&&isFinite(je)&&Math.floor(je)===je}var De=function(je,$e,nt){return nt};function we(Be,je,$e){var nt=typeof Be=="undefined"?je.pageSize:Be;return Math.floor(($e.total-1)/nt)+1}var Fe=function(Be){(0,b.Z)($e,Be);var je=(0,ee.Z)($e);function $e(nt){var Ze;(0,y.Z)(this,$e),Ze=je.call(this,nt),Ze.paginationNode=Ae.createRef(),Ze.getJumpPrevPage=function(){return Math.max(1,Ze.state.current-(Ze.props.showLessItems?3:5))},Ze.getJumpNextPage=function(){return Math.min(we(void 0,Ze.state,Ze.props),Ze.state.current+(Ze.props.showLessItems?3:5))},Ze.getItemIcon=function(dt,ht){var ot=Ze.props.prefixCls,ut=dt||Ae.createElement("button",{type:"button","aria-label":ht,className:"".concat(ot,"-item-link")});return typeof dt=="function"&&(ut=Ae.createElement(dt,(0,a.Z)({},Ze.props))),ut},Ze.isValid=function(dt){var ht=Ze.props.total;return Ce(dt)&&dt!==Ze.state.current&&Ce(ht)&&ht>0},Ze.shouldDisplayQuickJumper=function(){var dt=Ze.props,ht=dt.showQuickJumper,ot=dt.total,ut=Ze.state.pageSize;return ot<=ut?!1:ht},Ze.handleKeyDown=function(dt){(dt.keyCode===me.ARROW_UP||dt.keyCode===me.ARROW_DOWN)&&dt.preventDefault()},Ze.handleKeyUp=function(dt){var ht=Ze.getValidValue(dt),ot=Ze.state.currentInputValue;ht!==ot&&Ze.setState({currentInputValue:ht}),dt.keyCode===me.ENTER?Ze.handleChange(ht):dt.keyCode===me.ARROW_UP?Ze.handleChange(ht-1):dt.keyCode===me.ARROW_DOWN&&Ze.handleChange(ht+1)},Ze.handleBlur=function(dt){var ht=Ze.getValidValue(dt);Ze.handleChange(ht)},Ze.changePageSize=function(dt){var ht=Ze.state.current,ot=we(dt,Ze.state,Ze.props);ht=ht>ot?ot:ht,ot===0&&(ht=Ze.state.current),typeof dt=="number"&&("pageSize"in Ze.props||Ze.setState({pageSize:dt}),"current"in Ze.props||Ze.setState({current:ht,currentInputValue:ht})),Ze.props.onShowSizeChange(ht,dt),"onChange"in Ze.props&&Ze.props.onChange&&Ze.props.onChange(ht,dt)},Ze.handleChange=function(dt){var ht=Ze.props,ot=ht.disabled,ut=ht.onChange,mt=Ze.state,Ct=mt.pageSize,Bt=mt.current,It=mt.currentInputValue;if(Ze.isValid(dt)&&!ot){var Ht=we(void 0,Ze.state,Ze.props),qt=dt;return dt>Ht?qt=Ht:dt<1&&(qt=1),"current"in Ze.props||Ze.setState({current:qt}),qt!==It&&Ze.setState({currentInputValue:qt}),ut(qt,Ct),qt}return Bt},Ze.prev=function(){Ze.hasPrev()&&Ze.handleChange(Ze.state.current-1)},Ze.next=function(){Ze.hasNext()&&Ze.handleChange(Ze.state.current+1)},Ze.jumpPrev=function(){Ze.handleChange(Ze.getJumpPrevPage())},Ze.jumpNext=function(){Ze.handleChange(Ze.getJumpNextPage())},Ze.hasPrev=function(){return Ze.state.current>1},Ze.hasNext=function(){return Ze.state.current2?ot-2:0),mt=2;mt=yt?bt=yt:bt=Number(rt),bt}},{key:"getShowSizeChanger",value:function(){var Ze=this.props,rt=Ze.showSizeChanger,yt=Ze.total,ct=Ze.totalBoundaryShowSizeChanger;return typeof rt!="undefined"?rt:yt>ct}},{key:"render",value:function(){var Ze=this.props,rt=Ze.prefixCls,yt=Ze.className,ct=Ze.style,bt=Ze.disabled,dt=Ze.hideOnSinglePage,ht=Ze.total,ot=Ze.locale,ut=Ze.showQuickJumper,mt=Ze.showLessItems,Ct=Ze.showTitle,Bt=Ze.showTotal,It=Ze.simple,Ht=Ze.itemRender,qt=Ze.showPrevNextJumpers,yn=Ze.jumpPrevIcon,In=Ze.jumpNextIcon,En=Ze.selectComponentClass,pn=Ze.selectPrefixCls,Qn=Ze.pageSizeOptions,Bn=this.state,un=Bn.current,Yn=Bn.pageSize,_t=Bn.currentInputValue;if(dt===!0&&ht<=Yn)return null;var tn=we(void 0,this.state,this.props),cn=[],Ot=null,ft=null,Ft=null,kt=null,Xt=null,an=ut&&ut.goButton,en=mt?1:2,Vt=un-1>0?un-1:0,pt=un+1ht?ht:un*Yn]));if(It){an&&(typeof an=="boolean"?Xt=Ae.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ot.jump_to_confirm):Xt=Ae.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},an),Xt=Ae.createElement("li",{title:Ct?"".concat(ot.jump_to).concat(un,"/").concat(tn):null,className:"".concat(rt,"-simple-pager")},Xt));var Ut=this.renderPrev(Vt);return Ae.createElement("ul",(0,ae.Z)({className:re()(rt,"".concat(rt,"-simple"),(0,z.Z)({},"".concat(rt,"-disabled"),bt),yt),style:ct,ref:this.paginationNode},wt),xt,Ut?Ae.createElement("li",{title:Ct?ot.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:re()("".concat(rt,"-prev"),(0,z.Z)({},"".concat(rt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ut):null,Ae.createElement("li",{title:Ct?"".concat(un,"/").concat(tn):null,className:"".concat(rt,"-simple-pager")},Ae.createElement("input",{type:"text",value:_t,disabled:bt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ae.createElement("span",{className:"".concat(rt,"-slash")},"/"),tn),Ae.createElement("li",{title:Ct?ot.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:re()("".concat(rt,"-next"),(0,z.Z)({},"".concat(rt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(pt)),Xt)}if(tn<=3+en*2){var fn={locale:ot,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ct,itemRender:Ht};tn||cn.push(Ae.createElement(be,(0,ae.Z)({},fn,{key:"noPager",page:1,className:"".concat(rt,"-item-disabled")})));for(var Qt=1;Qt<=tn;Qt+=1){var _n=un===Qt;cn.push(Ae.createElement(be,(0,ae.Z)({},fn,{key:Qt,page:Qt,active:_n})))}}else{var wn=mt?ot.prev_3:ot.prev_5,Mt=mt?ot.next_3:ot.next_5,Lt=Ht(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(yn,"prev page")),Jt=Ht(this.getJumpNextPage(),"jump-next",this.getItemIcon(In,"next page"));qt&&(Ot=Lt?Ae.createElement("li",{title:Ct?wn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:re()("".concat(rt,"-jump-prev"),(0,z.Z)({},"".concat(rt,"-jump-prev-custom-icon"),!!yn))},Lt):null,ft=Jt?Ae.createElement("li",{title:Ct?Mt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:re()("".concat(rt,"-jump-next"),(0,z.Z)({},"".concat(rt,"-jump-next-custom-icon"),!!In))},Jt):null),kt=Ae.createElement(be,{locale:ot,last:!0,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tn,page:tn,active:!1,showTitle:Ct,itemRender:Ht}),Ft=Ae.createElement(be,{locale:ot,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ct,itemRender:Ht});var jt=Math.max(1,un-en),bn=Math.min(un+en,tn);un-1<=en&&(bn=1+en*2),tn-un<=en&&(jt=tn-en*2);for(var Dn=jt;Dn<=bn;Dn+=1){var Hn=un===Dn;cn.push(Ae.createElement(be,{locale:ot,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dn,page:Dn,active:Hn,showTitle:Ct,itemRender:Ht}))}un-1>=en*2&&un!==3&&(cn[0]=(0,Ae.cloneElement)(cn[0],{className:"".concat(rt,"-item-after-jump-prev")}),cn.unshift(Ot)),tn-un>=en*2&&un!==tn-2&&(cn[cn.length-1]=(0,Ae.cloneElement)(cn[cn.length-1],{className:"".concat(rt,"-item-before-jump-next")}),cn.push(ft)),jt!==1&&cn.unshift(Ft),bn!==tn&&cn.push(kt)}var rn=!this.hasPrev()||!tn,Pt=!this.hasNext()||!tn,gt=this.renderPrev(Vt),St=this.renderNext(pt);return Ae.createElement("ul",(0,ae.Z)({className:re()(rt,yt,(0,z.Z)({},"".concat(rt,"-disabled"),bt)),style:ct,ref:this.paginationNode},wt),xt,gt?Ae.createElement("li",{title:Ct?ot.prev_page:null,onClick:this.prev,tabIndex:rn?null:0,onKeyPress:this.runIfEnterPrev,className:re()("".concat(rt,"-prev"),(0,z.Z)({},"".concat(rt,"-disabled"),rn)),"aria-disabled":rn},gt):null,cn,St?Ae.createElement("li",{title:Ct?ot.next_page:null,onClick:this.next,tabIndex:Pt?null:0,onKeyPress:this.runIfEnterNext,className:re()("".concat(rt,"-next"),(0,z.Z)({},"".concat(rt,"-disabled"),Pt)),"aria-disabled":Pt},St):null,Ae.createElement(pe,{disabled:bt,locale:ot,rootPrefixCls:rt,selectComponentClass:En,selectPrefixCls:pn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:un,pageSize:Yn,pageSizeOptions:Qn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:an}))}}],[{key:"getDerivedStateFromProps",value:function(Ze,rt){var yt={};if("current"in Ze&&(yt.current=Ze.current,Ze.current!==rt.current&&(yt.currentInputValue=yt.current)),"pageSize"in Ze&&Ze.pageSize!==rt.pageSize){var ct=rt.current,bt=we(Ze.pageSize,rt,Ze);ct=ct>bt?bt:ct,"current"in Ze||(yt.current=ct,yt.currentInputValue=ct),yt.pageSize=Ze.pageSize}return yt}}]),$e}(Ae.Component);Fe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ee,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ee,locale:ve.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var Pe=Fe,Le=fe(22075),Oe=fe(36355),We=fe(19716),Te=fe(8628),Ue=fe(9763),He=fe(57809);const Qe=Be=>Ae.createElement(He.default,Object.assign({},Be,{showSearch:!0,size:"small"})),Ge=Be=>Ae.createElement(He.default,Object.assign({},Be,{showSearch:!0,size:"middle"}));Qe.Option=He.default.Option,Ge.Option=He.default.Option;var ze=fe(9937),_e=fe(17313),Ve=fe(83116),tt=fe(37613);const Xe=Be=>{const{componentCls:je}=Be;return{[`${je}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${je}-item-link`]:{color:Be.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${je}-item-link`]:{color:Be.colorTextDisabled,cursor:"not-allowed"}}},[`&${je}-disabled`]:{cursor:"not-allowed",[`${je}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Be.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Be.colorBorder,backgroundColor:Be.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Be.itemActiveBgDisabled},a:{color:Be.itemActiveColorDisabled}}},[`${je}-item-link`]:{color:Be.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${je}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${je}-simple-pager`]:{color:Be.colorTextDisabled},[`${je}-jump-prev, ${je}-jump-next`]:{[`${je}-item-link-icon`]:{opacity:0},[`${je}-item-ellipsis`]:{opacity:1}}},[`&${je}-simple`]:{[`${je}-prev, ${je}-next`]:{[`&${je}-disabled ${je}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},lt=Be=>{const{componentCls:je}=Be;return{[`&${je}-mini ${je}-total-text, &${je}-mini ${je}-simple-pager`]:{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`},[`&${je}-mini ${je}-item`]:{minWidth:Be.itemSizeSM,height:Be.itemSizeSM,margin:0,lineHeight:`${Be.itemSizeSM-2}px`},[`&${je}-mini:not(${je}-disabled) ${je}-item:not(${je}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Be.colorBgTextHover},"&:active":{backgroundColor:Be.colorBgTextActive}},[`&${je}-mini ${je}-prev, &${je}-mini ${je}-next`]:{minWidth:Be.itemSizeSM,height:Be.itemSizeSM,margin:0,lineHeight:`${Be.itemSizeSM}px`},[`&${je}-mini:not(${je}-disabled)`]:{[`${je}-prev, ${je}-next`]:{[`&:hover ${je}-item-link`]:{backgroundColor:Be.colorBgTextHover},[`&:active ${je}-item-link`]:{backgroundColor:Be.colorBgTextActive},[`&${je}-disabled:hover ${je}-item-link`]:{backgroundColor:"transparent"}}},[` - &${je}-mini ${je}-prev ${je}-item-link, - &${je}-mini ${je}-next ${je}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`}},[`&${je}-mini ${je}-jump-prev, &${je}-mini ${je}-jump-next`]:{height:Be.itemSizeSM,marginInlineEnd:0,lineHeight:`${Be.itemSizeSM}px`},[`&${je}-mini ${je}-options`]:{marginInlineStart:Be.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Be.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ze.x0)(Be)),{width:Be.paginationMiniQuickJumperInputWidth,height:Be.controlHeightSM})}}}},Je=Be=>{const{componentCls:je}=Be;return{[` - &${je}-simple ${je}-prev, - &${je}-simple ${je}-next - `]:{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`,verticalAlign:"top",[`${je}-item-link`]:{height:Be.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Be.colorBgTextHover},"&:active":{backgroundColor:Be.colorBgTextActive},"&::after":{height:Be.itemSizeSM,lineHeight:`${Be.itemSizeSM}px`}}},[`&${je}-simple ${je}-simple-pager`]:{display:"inline-block",height:Be.itemSizeSM,marginInlineEnd:Be.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Be.marginXS,padding:`0 ${Be.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Be.itemInputBg,border:`${Be.lineWidth}px ${Be.lineType} ${Be.colorBorder}`,borderRadius:Be.borderRadius,outline:"none",transition:`border-color ${Be.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Be.colorPrimary},"&:focus":{borderColor:Be.colorPrimaryHover,boxShadow:`${Be.inputOutlineOffset}px 0 ${Be.controlOutlineWidth}px ${Be.controlOutline}`},"&[disabled]":{color:Be.colorTextDisabled,backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,cursor:"not-allowed"}}}}},Ke=Be=>{const{componentCls:je}=Be;return{[`${je}-jump-prev, ${je}-jump-next`]:{outline:0,[`${je}-item-container`]:{position:"relative",[`${je}-item-link-icon`]:{color:Be.colorPrimary,fontSize:Be.fontSizeSM,opacity:0,transition:`all ${Be.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${je}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Be.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Be.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Be.paginationEllipsisTextIndent,opacity:1,transition:`all ${Be.motionDurationMid}`}},"&:hover":{[`${je}-item-link-icon`]:{opacity:1},[`${je}-item-ellipsis`]:{opacity:0}}},[` - ${je}-prev, - ${je}-jump-prev, - ${je}-jump-next - `]:{marginInlineEnd:Be.marginXS},[` - ${je}-prev, - ${je}-next, - ${je}-jump-prev, - ${je}-jump-next - `]:{display:"inline-block",minWidth:Be.itemSize,height:Be.itemSize,color:Be.colorText,fontFamily:Be.fontFamily,lineHeight:`${Be.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Be.borderRadius,cursor:"pointer",transition:`all ${Be.motionDurationMid}`},[`${je}-prev, ${je}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Be.colorText,cursor:"pointer",userSelect:"none"},[`${je}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Be.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Be.lineWidth}px ${Be.lineType} transparent`,borderRadius:Be.borderRadius,outline:"none",transition:`all ${Be.motionDurationMid}`},[`&:hover ${je}-item-link`]:{backgroundColor:Be.colorBgTextHover},[`&:active ${je}-item-link`]:{backgroundColor:Be.colorBgTextActive},[`&${je}-disabled:hover`]:{[`${je}-item-link`]:{backgroundColor:"transparent"}}},[`${je}-slash`]:{marginInlineEnd:Be.paginationSlashMarginInlineEnd,marginInlineStart:Be.paginationSlashMarginInlineStart},[`${je}-options`]:{display:"inline-block",marginInlineStart:Be.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Be.controlHeight,marginInlineStart:Be.marginXS,lineHeight:`${Be.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ze.ik)(Be)),{width:Be.controlHeightLG*1.25,height:Be.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Be.marginXS,marginInlineEnd:Be.marginXS})}}}},Me=Be=>{const{componentCls:je}=Be;return{[`${je}-item`]:{display:"inline-block",minWidth:Be.itemSize,height:Be.itemSize,marginInlineEnd:Be.marginXS,fontFamily:Be.fontFamily,lineHeight:`${Be.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Be.lineWidth}px ${Be.lineType} transparent`,borderRadius:Be.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Be.paginationItemPaddingInline}px`,color:Be.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${je}-item-active)`]:{"&:hover":{transition:`all ${Be.motionDurationMid}`,backgroundColor:Be.colorBgTextHover},"&:active":{backgroundColor:Be.colorBgTextActive}},"&-active":{fontWeight:Be.fontWeightStrong,backgroundColor:Be.itemActiveBg,borderColor:Be.colorPrimary,a:{color:Be.colorPrimary},"&:hover":{borderColor:Be.colorPrimaryHover},"&:hover a":{color:Be.colorPrimaryHover}}}}},et=Be=>{const{componentCls:je}=Be;return{[je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(Be)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${je}-total-text`]:{display:"inline-block",height:Be.itemSize,marginInlineEnd:Be.marginXS,lineHeight:`${Be.itemSize-2}px`,verticalAlign:"middle"}}),Me(Be)),Ke(Be)),Je(Be)),lt(Be)),Xe(Be)),{[`@media only screen and (max-width: ${Be.screenLG}px)`]:{[`${je}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Be.screenSM}px)`]:{[`${je}-options`]:{display:"none"}}}),[`&${Be.componentCls}-rtl`]:{direction:"rtl"}}},Ie=Be=>{const{componentCls:je}=Be;return{[`${je}${je}-disabled:not(${je}-mini)`]:{"&, &:hover":{[`${je}-item-link`]:{borderColor:Be.colorBorder}},"&:focus-visible":{[`${je}-item-link`]:{borderColor:Be.colorBorder}},[`${je}-item, ${je}-item-link`]:{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,[`&:hover:not(${je}-item-active)`]:{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,a:{color:Be.colorTextDisabled}},[`&${je}-item-active`]:{backgroundColor:Be.itemActiveBgDisabled}},[`${je}-prev, ${je}-next`]:{"&:hover button":{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,color:Be.colorTextDisabled},[`${je}-item-link`]:{backgroundColor:Be.colorBgContainerDisabled,borderColor:Be.colorBorder}}},[`${je}:not(${je}-mini)`]:{[`${je}-prev, ${je}-next`]:{"&:hover button":{borderColor:Be.colorPrimaryHover,backgroundColor:Be.itemBg},[`${je}-item-link`]:{backgroundColor:Be.itemLinkBg,borderColor:Be.colorBorder},[`&:hover ${je}-item-link`]:{borderColor:Be.colorPrimary,backgroundColor:Be.itemBg,color:Be.colorPrimary},[`&${je}-disabled`]:{[`${je}-item-link`]:{borderColor:Be.colorBorder,color:Be.colorTextDisabled}}},[`${je}-item`]:{backgroundColor:Be.itemBg,border:`${Be.lineWidth}px ${Be.lineType} ${Be.colorBorder}`,[`&:hover:not(${je}-item-active)`]:{borderColor:Be.colorPrimary,backgroundColor:Be.itemBg,a:{color:Be.colorPrimary}},"&-active":{borderColor:Be.colorPrimary}}}}},Re=Be=>{const{componentCls:je}=Be;return{[`${je}:not(${je}-disabled)`]:{[`${je}-item`]:Object.assign({},(0,_e.Qy)(Be)),[`${je}-jump-prev, ${je}-jump-next`]:{"&:focus-visible":Object.assign({[`${je}-item-link-icon`]:{opacity:1},[`${je}-item-ellipsis`]:{opacity:0}},(0,_e.oN)(Be))},[`${je}-prev, ${je}-next`]:{[`&:focus-visible ${je}-item-link`]:Object.assign({},(0,_e.oN)(Be))}}}};var qe=(0,Ve.Z)("Pagination",Be=>{const je=(0,tt.TS)(Be,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Be.marginXXS/2,paginationMiniQuickJumperInputWidth:Be.controlHeightLG*1.1,paginationItemPaddingInline:Be.marginXXS*1.5,paginationEllipsisLetterSpacing:Be.marginXXS/2,paginationSlashMarginInlineStart:Be.marginXXS,paginationSlashMarginInlineEnd:Be.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ze.e5)(Be),(0,ze.TM)(Be));return[et(je),Re(je),Be.wireframe&&Ie(je)]},Be=>({itemBg:Be.colorBgContainer,itemSize:Be.controlHeight,itemSizeSM:Be.controlHeightSM,itemActiveBg:Be.colorBgContainer,itemLinkBg:Be.colorBgContainer,itemActiveColorDisabled:Be.colorTextDisabled,itemActiveBgDisabled:Be.controlItemBgActiveDisabled,itemInputBg:Be.colorBgContainer,miniOptionsSizeChangerTop:0})),Ye=function(Be,je){var $e={};for(var nt in Be)Object.prototype.hasOwnProperty.call(Be,nt)&&je.indexOf(nt)<0&&($e[nt]=Be[nt]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,nt=Object.getOwnPropertySymbols(Be);Ze{const{prefixCls:je,selectPrefixCls:$e,className:nt,rootClassName:Ze,style:rt,size:yt,locale:ct,selectComponentClass:bt,responsive:dt,showSizeChanger:ht}=Be,ot=Ye(Be,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ut}=(0,Te.Z)(dt),{getPrefixCls:mt,direction:Ct,pagination:Bt={}}=Ae.useContext(Oe.E_),It=mt("pagination",je),[Ht,qt]=qe(It),yn=ht!=null?ht:Bt.showSizeChanger,In=Ae.useMemo(()=>{const tn=Ae.createElement("span",{className:`${It}-item-ellipsis`},"\u2022\u2022\u2022"),cn=Ae.createElement("button",{className:`${It}-item-link`,type:"button",tabIndex:-1},Ct==="rtl"?Ae.createElement(ie.Z,null):Ae.createElement(ue.Z,null)),Ot=Ae.createElement("button",{className:`${It}-item-link`,type:"button",tabIndex:-1},Ct==="rtl"?Ae.createElement(ue.Z,null):Ae.createElement(ie.Z,null)),ft=Ae.createElement("a",{className:`${It}-item-link`},Ae.createElement("div",{className:`${It}-item-container`},Ct==="rtl"?Ae.createElement(de.Z,{className:`${It}-item-link-icon`}):Ae.createElement(se,{className:`${It}-item-link-icon`}),tn)),Ft=Ae.createElement("a",{className:`${It}-item-link`},Ae.createElement("div",{className:`${It}-item-container`},Ct==="rtl"?Ae.createElement(se,{className:`${It}-item-link-icon`}):Ae.createElement(de.Z,{className:`${It}-item-link-icon`}),tn));return{prevIcon:cn,nextIcon:Ot,jumpPrevIcon:ft,jumpNextIcon:Ft}},[Ct,It]),[En]=(0,Ue.Z)("Pagination",Le.Z),pn=Object.assign(Object.assign({},En),ct),Qn=(0,We.Z)(yt),Bn=Qn==="small"||!!(ut&&!Qn&&dt),un=mt("select",$e),Yn=re()({[`${It}-mini`]:Bn,[`${It}-rtl`]:Ct==="rtl"},Bt==null?void 0:Bt.className,nt,Ze,qt),_t=Object.assign(Object.assign({},Bt==null?void 0:Bt.style),rt);return Ht(Ae.createElement(Pe,Object.assign({},In,ot,{style:_t,prefixCls:It,selectPrefixCls:un,className:Yn,selectComponentClass:bt||(Bn?Qe:Ge),locale:pn,showSizeChanger:yn})))},Ne=xe},39722:function(vt,at,fe){"use strict";fe.d(at,{t5:function(){return ue}});var ae=fe(92310),Ae=fe.n(ae),E=fe(55477),ye=fe(59301),he=fe(36355),le=fe(77578),ne=fe(17356),se=function(oe,re){var z={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&re.indexOf(a)<0&&(z[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y{if(!(!re&&!z))return ye.createElement(ye.Fragment,null,re&&ye.createElement("div",{className:`${oe}-title`},(0,le.Z)(re)),ye.createElement("div",{className:`${oe}-inner-content`},(0,le.Z)(z)))},ue=oe=>{const{hashId:re,prefixCls:z,className:a,style:y,placement:x="top",title:b,content:ee,children:te}=oe;return ye.createElement("div",{className:Ae()(re,z,`${z}-pure`,`${z}-placement-${x}`,a),style:y},ye.createElement("div",{className:`${z}-arrow`}),ye.createElement(E.G,Object.assign({},oe,{className:re,prefixCls:z}),te||de(z,b,ee)))},ie=oe=>{const{prefixCls:re}=oe,z=se(oe,["prefixCls"]),{getPrefixCls:a}=ye.useContext(he.E_),y=a("popover",re),[x,b]=(0,ne.Z)(y);return x(ye.createElement(ue,Object.assign({},z,{prefixCls:y,hashId:b})))};at.ZP=ie},60324:function(vt,at,fe){"use strict";var ae=fe(92310),Ae=fe.n(ae),E=fe(59301),ye=fe(77578),he=fe(62892),le=fe(36355),ne=fe(6848),se=fe(39722),de=fe(17356),ue=function(re,z){var a={};for(var y in re)Object.prototype.hasOwnProperty.call(re,y)&&z.indexOf(y)<0&&(a[y]=re[y]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(re);x{let{title:z,content:a,prefixCls:y}=re;return E.createElement(E.Fragment,null,z&&E.createElement("div",{className:`${y}-title`},(0,ye.Z)(z)),E.createElement("div",{className:`${y}-inner-content`},(0,ye.Z)(a)))},oe=E.forwardRef((re,z)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:ee="top",trigger:te="hover",mouseEnterDelay:ce=.1,mouseLeaveDelay:me=.1,overlayStyle:ve={}}=re,ge=ue(re,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:pe}=E.useContext(le.E_),Se=pe("popover",a),[be,Ee]=(0,de.Z)(Se),Ce=pe(),De=Ae()(b,Ee);return be(E.createElement(ne.Z,Object.assign({placement:ee,trigger:te,mouseEnterDelay:ce,mouseLeaveDelay:me,overlayStyle:ve},ge,{prefixCls:Se,overlayClassName:De,ref:z,overlay:y||x?E.createElement(ie,{prefixCls:Se,title:y,content:x}):null,transitionName:(0,he.m)(Ce,"zoom-big",ge.transitionName),"data-popover-inject":!0})))});oe._InternalPanelDoNotUseOrYouWillBeFired=se.ZP,at.Z=oe},17356:function(vt,at,fe){"use strict";var ae=fe(17313),Ae=fe(29878),E=fe(19447),ye=fe(33166),he=fe(83116),le=fe(37613);const ne=ue=>{const{componentCls:ie,popoverColor:oe,minWidth:re,fontWeightStrong:z,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:te,colorBgElevated:ce,popoverBg:me}=ue;return[{[ie]:Object.assign(Object.assign({},(0,ae.Wf)(ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ce,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ie}-content`]:{position:"relative"},[`${ie}-inner`]:{backgroundColor:me,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ie}-title`]:{minWidth:re,marginBottom:te,color:x,fontWeight:z},[`${ie}-inner-content`]:{color:oe}})},(0,E.ZP)(ue,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ie}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow,display:"inline-block",[`${ie}-content`]:{display:"inline-block"}}}]},se=ue=>{const{componentCls:ie}=ue;return{[ie]:ye.i.map(oe=>{const re=ue[`${oe}6`];return{[`&${ie}-${oe}`]:{"--antd-arrow-background-color":re,[`${ie}-inner`]:{backgroundColor:re},[`${ie}-arrow`]:{background:"transparent"}}}})}},de=ue=>{const{componentCls:ie,lineWidth:oe,lineType:re,colorSplit:z,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=ue,te=y-Math.round(x*b),ce=te/2,me=te/2-oe,ve=ee;return{[ie]:{[`${ie}-inner`]:{padding:0},[`${ie}-title`]:{margin:0,padding:`${ce}px ${ve}px ${me}px`,borderBottom:`${oe}px ${re} ${z}`},[`${ie}-inner-content`]:{padding:`${a}px ${ve}px`}}}};at.Z=(0,he.Z)("Popover",ue=>{const{colorBgElevated:ie,colorText:oe,wireframe:re}=ue,z=(0,le.TS)(ue,{popoverPadding:12,popoverBg:ie,popoverColor:oe});return[ne(z),se(z),re&&de(z),(0,Ae._y)(z,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ht}});var ae=fe(59301),Ae=fe(29679),E=fe(40001),ye=fe(19248),he=fe(99267),le=fe(92310),ne=fe.n(le),se=fe(2738),de=fe(36355),ue=fe(54476),ie=fe(33885),oe=fe(75931),re={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var ut=(0,ae.useRef)([]),mt=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var Ct=Date.now(),Bt=!1;ut.current.forEach(function(It){if(It){Bt=!0;var Ht=It.style;Ht.transitionDuration=".3s, .3s, .3s, .06s",mt.current&&Ct-mt.current<100&&(Ht.transitionDuration="0s, 0s")}}),Bt&&(mt.current=Date.now())}),ut.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(ut){var mt=(0,ie.Z)((0,ie.Z)({},re),ut),Ct=mt.className,Bt=mt.percent,It=mt.prefixCls,Ht=mt.strokeColor,qt=mt.strokeLinecap,yn=mt.strokeWidth,In=mt.style,En=mt.trailColor,pn=mt.trailWidth,Qn=mt.transition,Bn=(0,oe.Z)(mt,a);delete Bn.gapPosition;var un=Array.isArray(Bt)?Bt:[Bt],Yn=Array.isArray(Ht)?Ht:[Ht],_t=z(),tn=yn/2,cn=100-yn/2,Ot="M ".concat(qt==="round"?tn:0,",").concat(tn,` - L `).concat(qt==="round"?cn:100,",").concat(tn),ft="0 0 100 ".concat(yn),Ft=0;return ae.createElement("svg",(0,ue.Z)({className:ne()("".concat(It,"-line"),Ct),viewBox:ft,preserveAspectRatio:"none",style:In},Bn),ae.createElement("path",{className:"".concat(It,"-line-trail"),d:Ot,strokeLinecap:qt,stroke:En,strokeWidth:pn||yn,fillOpacity:"0"}),un.map(function(kt,Xt){var an=1;switch(qt){case"round":an=1-yn/100;break;case"square":an=1-yn/2/100;break;default:an=1;break}var en={strokeDasharray:"".concat(kt*an,"px, 100px"),strokeDashoffset:"-".concat(Ft,"px"),transition:Qn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Vt=Yn[Xt]||Yn[Yn.length-1];return Ft+=kt,ae.createElement("path",{key:Xt,className:"".concat(It,"-line-path"),d:Ot,strokeLinecap:qt,stroke:Vt,strokeWidth:yn,fillOpacity:"0",ref:function(wt){_t[Xt]=wt},style:en})}))},x=y,b=fe(76190),ee=fe(42978),te=fe(47273),ce=0,me=(0,te.Z)();function ve(){var ot;return me?(ot=ce,ce+=1):ot="TEST_OR_SSR",ot}var ge=function(ot){var ut=ae.useState(),mt=(0,ee.Z)(ut,2),Ct=mt[0],Bt=mt[1];return ae.useEffect(function(){Bt("rc_progress_".concat(ve()))},[]),ot||Ct},pe=function(ut){var mt=ut.bg,Ct=ut.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:mt}},Ct)};function Se(ot,ut){return Object.keys(ot).map(function(mt){var Ct=parseFloat(mt),Bt="".concat(Math.floor(Ct*ut),"%");return"".concat(ot[mt]," ").concat(Bt)})}var be=ae.forwardRef(function(ot,ut){var mt=ot.prefixCls,Ct=ot.color,Bt=ot.gradientId,It=ot.radius,Ht=ot.style,qt=ot.ptg,yn=ot.strokeLinecap,In=ot.strokeWidth,En=ot.size,pn=ot.gapDegree,Qn=Ct&&(0,b.Z)(Ct)==="object",Bn=Qn?"#FFF":void 0,un=En/2,Yn=ae.createElement("circle",{className:"".concat(mt,"-circle-path"),r:It,cx:un,cy:un,stroke:Bn,strokeLinecap:yn,strokeWidth:In,opacity:qt===0?0:1,style:Ht,ref:ut});if(!Qn)return Yn;var _t="".concat(Bt,"-conic"),tn=pn?"".concat(180+pn/2,"deg"):"0deg",cn=Se(Ct,(360-pn)/360),Ot=Se(Ct,1),ft="conic-gradient(from ".concat(tn,", ").concat(cn.join(", "),")"),Ft="linear-gradient(to ".concat(pn?"bottom":"top",", ").concat(Ot.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:_t},Yn),ae.createElement("foreignObject",{x:0,y:0,width:En,height:En,mask:"url(#".concat(_t,")")},ae.createElement(pe,{bg:Ft},ae.createElement(pe,{bg:ft}))))}),Ee=be,Ce=100,De=function(ut,mt,Ct,Bt,It,Ht,qt,yn,In,En){var pn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Qn=Ct/100*360*((360-Ht)/360),Bn=Ht===0?0:{bottom:0,top:180,left:90,right:-90}[qt],un=(100-Bt)/100*mt;In==="round"&&Bt!==100&&(un+=En/2,un>=mt&&(un=mt-.01));var Yn=Ce/2;return{stroke:typeof yn=="string"?yn:void 0,strokeDasharray:"".concat(mt,"px ").concat(ut),strokeDashoffset:un+pn,transform:"rotate(".concat(It+Qn+Bn,"deg)"),transformOrigin:"".concat(Yn,"px ").concat(Yn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},we=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Fe(ot){var ut=ot!=null?ot:[];return Array.isArray(ut)?ut:[ut]}var Pe=function(ut){var mt=(0,ie.Z)((0,ie.Z)({},re),ut),Ct=mt.id,Bt=mt.prefixCls,It=mt.steps,Ht=mt.strokeWidth,qt=mt.trailWidth,yn=mt.gapDegree,In=yn===void 0?0:yn,En=mt.gapPosition,pn=mt.trailColor,Qn=mt.strokeLinecap,Bn=mt.style,un=mt.className,Yn=mt.strokeColor,_t=mt.percent,tn=(0,oe.Z)(mt,we),cn=Ce/2,Ot=ge(Ct),ft="".concat(Ot,"-gradient"),Ft=cn-Ht/2,kt=Math.PI*2*Ft,Xt=In>0?90+In/2:-90,an=kt*((360-In)/360),en=(0,b.Z)(It)==="object"?It:{count:It,space:2},Vt=en.count,pt=en.space,wt=Fe(_t),xt=Fe(Yn),Ut=xt.find(function(Jt){return Jt&&(0,b.Z)(Jt)==="object"}),fn=Ut&&(0,b.Z)(Ut)==="object",Qt=fn?"butt":Qn,_n=De(kt,an,0,100,Xt,In,En,pn,Qt,Ht),wn=z(),Mt=function(){var jt=0;return wt.map(function(bn,Dn){var Hn=xt[Dn]||xt[xt.length-1],rn=De(kt,an,jt,bn,Xt,In,En,Hn,Qt,Ht);return jt+=bn,ae.createElement(Ee,{key:Dn,color:Hn,ptg:bn,radius:Ft,prefixCls:Bt,gradientId:ft,style:rn,strokeLinecap:Qt,strokeWidth:Ht,gapDegree:In,ref:function(gt){wn[Dn]=gt},size:Ce})}).reverse()},Lt=function(){var jt=Math.round(Vt*(wt[0]/100)),bn=100/Vt,Dn=0;return new Array(Vt).fill(null).map(function(Hn,rn){var Pt=rn<=jt-1?xt[0]:pn,gt=Pt&&(0,b.Z)(Pt)==="object"?"url(#".concat(ft,")"):void 0,St=De(kt,an,Dn,bn,Xt,In,En,Pt,"butt",Ht,pt);return Dn+=(an-St.strokeDashoffset+pt)*100/an,ae.createElement("circle",{key:rn,className:"".concat(Bt,"-circle-path"),r:Ft,cx:cn,cy:cn,stroke:gt,strokeWidth:Ht,opacity:1,style:St,ref:function(zt){wn[rn]=zt}})})};return ae.createElement("svg",(0,ue.Z)({className:ne()("".concat(Bt,"-circle"),un),viewBox:"0 0 ".concat(Ce," ").concat(Ce),style:Bn,id:Ct,role:"presentation"},tn),!Vt&&ae.createElement("circle",{className:"".concat(Bt,"-circle-trail"),r:Ft,cx:cn,cy:cn,stroke:pn,strokeLinecap:Qt,strokeWidth:qt||Ht,style:_n}),Vt?Lt():Mt())},Le=Pe,Oe={Line:x,Circle:Le},We=fe(6848),Te=fe(30071);function Ue(ot){return!ot||ot<0?0:ot>100?100:ot}function He(ot){let{success:ut,successPercent:mt}=ot,Ct=mt;return ut&&"progress"in ut&&(Ct=ut.progress),ut&&"percent"in ut&&(Ct=ut.percent),Ct}const Qe=ot=>{let{percent:ut,success:mt,successPercent:Ct}=ot;const Bt=Ue(He({success:mt,successPercent:Ct}));return[Bt,Ue(Ue(ut)-Bt)]},Ge=ot=>{let{success:ut={},strokeColor:mt}=ot;const{strokeColor:Ct}=ut;return[Ct||Te.presetPrimaryColors.green,mt||null]},ze=(ot,ut,mt)=>{var Ct,Bt,It,Ht;let qt=-1,yn=-1;if(ut==="step"){const In=mt.steps,En=mt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(qt=ot==="small"?2:14,yn=En!=null?En:8):typeof ot=="number"?[qt,yn]=[ot,ot]:[qt=14,yn=8]=ot,qt*=In}else if(ut==="line"){const In=mt==null?void 0:mt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?yn=In||(ot==="small"?6:8):typeof ot=="number"?[qt,yn]=[ot,ot]:[qt=-1,yn=8]=ot}else(ut==="circle"||ut==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[qt,yn]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[qt,yn]=[ot,ot]:(qt=(Bt=(Ct=ot[0])!==null&&Ct!==void 0?Ct:ot[1])!==null&&Bt!==void 0?Bt:120,yn=(Ht=(It=ot[0])!==null&&It!==void 0?It:ot[1])!==null&&Ht!==void 0?Ht:120));return[qt,yn]},_e=3,Ve=ot=>_e/ot*100;var Xe=ot=>{const{prefixCls:ut,trailColor:mt=null,strokeLinecap:Ct="round",gapPosition:Bt,gapDegree:It,width:Ht=120,type:qt,children:yn,success:In,size:En=Ht}=ot,[pn,Qn]=ze(En,"circle");let{strokeWidth:Bn}=ot;Bn===void 0&&(Bn=Math.max(Ve(pn),6));const un={width:pn,height:Qn,fontSize:pn*.15+6},Yn=ae.useMemo(()=>{if(It||It===0)return It;if(qt==="dashboard")return 75},[It,qt]),_t=Bt||qt==="dashboard"&&"bottom"||void 0,tn=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",cn=Ge({success:In,strokeColor:ot.strokeColor}),Ot=ne()(`${ut}-inner`,{[`${ut}-circle-gradient`]:tn}),ft=ae.createElement(Le,{percent:Qe(ot),strokeWidth:Bn,trailWidth:Bn,strokeColor:cn,strokeLinecap:Ct,trailColor:mt,prefixCls:ut,gapDegree:Yn,gapPosition:_t});return ae.createElement("div",{className:Ot,style:un},pn<=20?ae.createElement(We.Z,{title:yn},ae.createElement("span",null,ft)):ae.createElement(ae.Fragment,null,ft,yn))},lt=function(ot,ut){var mt={};for(var Ct in ot)Object.prototype.hasOwnProperty.call(ot,Ct)&&ut.indexOf(Ct)<0&&(mt[Ct]=ot[Ct]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ct=Object.getOwnPropertySymbols(ot);Bt{let ut=[];return Object.keys(ot).forEach(mt=>{const Ct=parseFloat(mt.replace(/%/g,""));isNaN(Ct)||ut.push({key:Ct,value:ot[mt]})}),ut=ut.sort((mt,Ct)=>mt.key-Ct.key),ut.map(mt=>{let{key:Ct,value:Bt}=mt;return`${Bt} ${Ct}%`}).join(", ")},Ke=(ot,ut)=>{const{from:mt=Te.presetPrimaryColors.blue,to:Ct=Te.presetPrimaryColors.blue,direction:Bt=ut==="rtl"?"to left":"to right"}=ot,It=lt(ot,["from","to","direction"]);if(Object.keys(It).length!==0){const Ht=Je(It);return{backgroundImage:`linear-gradient(${Bt}, ${Ht})`}}return{backgroundImage:`linear-gradient(${Bt}, ${mt}, ${Ct})`}};var et=ot=>{const{prefixCls:ut,direction:mt,percent:Ct,size:Bt,strokeWidth:It,strokeColor:Ht,strokeLinecap:qt="round",children:yn,trailColor:In=null,success:En}=ot,pn=Ht&&typeof Ht!="string"?Ke(Ht,mt):{backgroundColor:Ht},Qn=qt==="square"||qt==="butt"?0:void 0,Bn={backgroundColor:In||void 0,borderRadius:Qn},un=Bt!=null?Bt:[-1,It||(Bt==="small"?6:8)],[Yn,_t]=ze(un,"line",{strokeWidth:It}),tn=Object.assign({width:`${Ue(Ct)}%`,height:_t,borderRadius:Qn},pn),cn=He(ot),Ot={width:`${Ue(cn)}%`,height:_t,borderRadius:Qn,backgroundColor:En==null?void 0:En.strokeColor},ft={width:Yn<0?"100%":Yn,height:_t};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${ut}-outer`,style:ft},ae.createElement("div",{className:`${ut}-inner`,style:Bn},ae.createElement("div",{className:`${ut}-bg`,style:tn}),cn!==void 0?ae.createElement("div",{className:`${ut}-success-bg`,style:Ot}):null)),yn)},Re=ot=>{const{size:ut,steps:mt,percent:Ct=0,strokeWidth:Bt=8,strokeColor:It,trailColor:Ht=null,prefixCls:qt,children:yn}=ot,In=Math.round(mt*(Ct/100)),En=ut==="small"?2:14,pn=ut!=null?ut:[En,Bt],[Qn,Bn]=ze(pn,"step",{steps:mt,strokeWidth:Bt}),un=Qn/mt,Yn=new Array(mt);for(let _t=0;_t{const ut=ot?"100%":"-100%";return new qe.Keyframes(`antProgress${ot?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ut}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ut}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Be=ot=>{const{componentCls:ut,iconCls:mt}=ot;return{[ut]:Object.assign(Object.assign({},(0,Ye.Wf)(ot)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ot.fontSize,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS},[`${ut}-outer`]:{display:"inline-block",width:"100%"},[`&${ut}-show-info`]:{[`${ut}-outer`]:{marginInlineEnd:`calc(-2em - ${ot.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ot.paddingXS}px)`}},[`${ut}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ot.remainingColor,borderRadius:ot.lineBorderRadius},[`${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:ot.defaultColor}},[`${ut}-success-bg, ${ut}-bg`]:{position:"relative",backgroundColor:ot.defaultColor,borderRadius:ot.lineBorderRadius,transition:`all ${ot.motionDurationSlow} ${ot.motionEaseInOutCirc}`},[`${ut}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ot.colorSuccess},[`${ut}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ot.marginXS,color:ot.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[mt]:{fontSize:ot.fontSize}},[`&${ut}-status-active`]:{[`${ut}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:Ne(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ut}-rtl${ut}-status-active`]:{[`${ut}-bg::before`]:{animationName:Ne(!0)}},[`&${ut}-status-exception`]:{[`${ut}-bg`]:{backgroundColor:ot.colorError},[`${ut}-text`]:{color:ot.colorError}},[`&${ut}-status-exception ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:ot.colorError}},[`&${ut}-status-success`]:{[`${ut}-bg`]:{backgroundColor:ot.colorSuccess},[`${ut}-text`]:{color:ot.colorSuccess}},[`&${ut}-status-success ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:ot.colorSuccess}}})}},je=ot=>{const{componentCls:ut,iconCls:mt}=ot;return{[ut]:{[`${ut}-circle-trail`]:{stroke:ot.remainingColor},[`&${ut}-circle ${ut}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ut}-circle ${ut}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ot.circleTextColor,fontSize:ot.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[mt]:{fontSize:`${ot.fontSize/ot.fontSizeSM}em`}},[`${ut}-circle&-status-exception`]:{[`${ut}-text`]:{color:ot.colorError}},[`${ut}-circle&-status-success`]:{[`${ut}-text`]:{color:ot.colorSuccess}}},[`${ut}-inline-circle`]:{lineHeight:1,[`${ut}-inner`]:{verticalAlign:"bottom"}}}},$e=ot=>{const{componentCls:ut}=ot;return{[ut]:{[`${ut}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ot.progressStepMinWidth,marginInlineEnd:ot.progressStepMarginInlineEnd,backgroundColor:ot.remainingColor,transition:`all ${ot.motionDurationSlow}`,"&-active":{backgroundColor:ot.defaultColor}}}}}},nt=ot=>{const{componentCls:ut,iconCls:mt}=ot;return{[ut]:{[`${ut}-small&-line, ${ut}-small&-line ${ut}-text ${mt}`]:{fontSize:ot.fontSizeSM}}}};var Ze=(0,ke.Z)("Progress",ot=>{const ut=ot.marginXXS/2,mt=(0,xe.TS)(ot,{progressStepMarginInlineEnd:ut,progressStepMinWidth:ut,progressActiveMotionDuration:"2.4s"});return[Be(mt),je(mt),$e(mt),nt(mt)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),rt=function(ot,ut){var mt={};for(var Ct in ot)Object.prototype.hasOwnProperty.call(ot,Ct)&&ut.indexOf(Ct)<0&&(mt[Ct]=ot[Ct]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ct=Object.getOwnPropertySymbols(ot);Bt{const{prefixCls:mt,className:Ct,rootClassName:Bt,steps:It,strokeColor:Ht,percent:qt=0,size:yn="default",showInfo:In=!0,type:En="line",status:pn,format:Qn,style:Bn}=ot,un=rt(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Yn=ae.useMemo(()=>{var wt,xt;const Ut=He(ot);return parseInt(Ut!==void 0?(wt=Ut!=null?Ut:0)===null||wt===void 0?void 0:wt.toString():(xt=qt!=null?qt:0)===null||xt===void 0?void 0:xt.toString(),10)},[qt,ot.success,ot.successPercent]),_t=ae.useMemo(()=>!ct.includes(pn)&&Yn>=100?"success":pn||"normal",[pn,Yn]),{getPrefixCls:tn,direction:cn,progress:Ot}=ae.useContext(de.E_),ft=tn("progress",mt),[Ft,kt]=Ze(ft),Xt=ae.useMemo(()=>{if(!In)return null;const wt=He(ot);let xt;const Ut=Qn||(Qt=>`${Qt}%`),fn=En==="line";return Qn||_t!=="exception"&&_t!=="success"?xt=Ut(Ue(qt),Ue(wt)):_t==="exception"?xt=fn?ae.createElement(ye.Z,null):ae.createElement(he.Z,null):_t==="success"&&(xt=fn?ae.createElement(Ae.Z,null):ae.createElement(E.Z,null)),ae.createElement("span",{className:`${ft}-text`,title:typeof xt=="string"?xt:void 0},xt)},[In,qt,Yn,_t,En,ft,Qn]),an=Array.isArray(Ht)?Ht[0]:Ht,en=typeof Ht=="string"||Array.isArray(Ht)?Ht:void 0;let Vt;En==="line"?Vt=It?ae.createElement(Re,Object.assign({},ot,{strokeColor:en,prefixCls:ft,steps:It}),Xt):ae.createElement(et,Object.assign({},ot,{strokeColor:an,prefixCls:ft,direction:cn}),Xt):(En==="circle"||En==="dashboard")&&(Vt=ae.createElement(Xe,Object.assign({},ot,{strokeColor:an,prefixCls:ft,progressStatus:_t}),Xt));const pt=ne()(ft,`${ft}-status-${_t}`,`${ft}-${En==="dashboard"&&"circle"||It&&"steps"||En}`,{[`${ft}-inline-circle`]:En==="circle"&&ze(yn,"circle")[0]<=20,[`${ft}-show-info`]:In,[`${ft}-${yn}`]:typeof yn=="string",[`${ft}-rtl`]:cn==="rtl"},Ot==null?void 0:Ot.className,Ct,Bt,kt);return Ft(ae.createElement("div",Object.assign({ref:ut,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),Bn),className:pt,role:"progressbar","aria-valuenow":Yn},(0,se.Z)(un,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Vt))}),ht=dt},13570:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ue}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ye=E,he=fe(7657),le=function(Qe,Ge){return Ae.createElement(he.Z,(0,ae.Z)({},Qe,{ref:Ge,icon:ye}))},ne=Ae.forwardRef(le),se=ne,de=fe(92310),ue=fe.n(de),ie=fe(20068),oe=fe(42978),re=fe(75931),z=fe(18929),a=fe(10228),y=fe(26112);function x(He,Qe){var Ge=He.disabled,ze=He.prefixCls,_e=He.character,Ve=He.characterRender,tt=He.index,Xe=He.count,lt=He.value,Je=He.allowHalf,Ke=He.focused,Me=He.onHover,et=He.onClick,Ie=function(je){Me(je,tt)},Re=function(je){et(je,tt)},qe=function(je){je.keyCode===a.Z.ENTER&&et(je,tt)},Ye=tt+1,ke=new Set([ze]);lt===0&&tt===0&&Ke?ke.add("".concat(ze,"-focused")):Je&<+.5>=Ye&<tt?"true":"false","aria-posinset":tt+1,"aria-setsize":Xe,tabIndex:Ge?-1:0},Ae.createElement("div",{className:"".concat(ze,"-first")},xe),Ae.createElement("div",{className:"".concat(ze,"-second")},xe)));return Ve&&(Ne=Ve(Ne,He)),Ne}var b=Ae.forwardRef(x);function ee(){var He=Ae.useRef({});function Qe(ze){return He.current[ze]}function Ge(ze){return function(_e){He.current[ze]=_e}}return[Qe,Ge]}function te(He){var Qe=He.pageXOffset,Ge="scrollLeft";if(typeof Qe!="number"){var ze=He.document;Qe=ze.documentElement[Ge],typeof Qe!="number"&&(Qe=ze.body[Ge])}return Qe}function ce(He){var Qe,Ge,ze=He.ownerDocument,_e=ze.body,Ve=ze&&ze.documentElement,tt=He.getBoundingClientRect();return Qe=tt.left,Ge=tt.top,Qe-=Ve.clientLeft||_e.clientLeft||0,Ge-=Ve.clientTop||_e.clientTop||0,{left:Qe,top:Ge}}function me(He){var Qe=ce(He),Ge=He.ownerDocument,ze=Ge.defaultView||Ge.parentWindow;return Qe.left+=te(ze),Qe.left}var ve=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ge(He,Qe){var Ge,ze=He.prefixCls,_e=ze===void 0?"rc-rate":ze,Ve=He.className,tt=He.defaultValue,Xe=He.value,lt=He.count,Je=lt===void 0?5:lt,Ke=He.allowHalf,Me=Ke===void 0?!1:Ke,et=He.allowClear,Ie=et===void 0?!0:et,Re=He.character,qe=Re===void 0?"\u2605":Re,Ye=He.characterRender,ke=He.disabled,xe=He.direction,Ne=xe===void 0?"ltr":xe,Be=He.tabIndex,je=Be===void 0?0:Be,$e=He.autoFocus,nt=He.onHoverChange,Ze=He.onChange,rt=He.onFocus,yt=He.onBlur,ct=He.onKeyDown,bt=He.onMouseLeave,dt=(0,re.Z)(He,ve),ht=ee(),ot=(0,oe.Z)(ht,2),ut=ot[0],mt=ot[1],Ct=Ae.useRef(null),Bt=function(){if(!ke){var Qt;(Qt=Ct.current)===null||Qt===void 0||Qt.focus()}};Ae.useImperativeHandle(Qe,function(){return{focus:Bt,blur:function(){if(!ke){var Qt;(Qt=Ct.current)===null||Qt===void 0||Qt.blur()}}}});var It=(0,z.Z)(tt||0,{value:Xe}),Ht=(0,oe.Z)(It,2),qt=Ht[0],yn=Ht[1],In=(0,z.Z)(null),En=(0,oe.Z)(In,2),pn=En[0],Qn=En[1],Bn=function(Qt,_n){var wn=Ne==="rtl",Mt=Qt+1;if(Me){var Lt=ut(Qt),Jt=me(Lt),jt=Lt.clientWidth;(wn&&_n-Jt>jt/2||!wn&&_n-Jt0&&!wn||_n===a.Z.RIGHT&&Mt>0&&wn?(Me?Mt-=.5:Mt-=1,un(Mt),Qt.preventDefault()):_n===a.Z.LEFT&&Mt{const{componentCls:Qe}=He;return{[`${Qe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:He.marginXS},"> div":{transition:`all ${He.motionDurationMid}, outline 0s`,"&:hover":{transform:He.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${He.lineWidth}px dashed ${He.starColor}`,transform:He.starHoverScale}},"&-first, &-second":{color:He.starBg,transition:`all ${He.motionDurationMid}`,userSelect:"none",[He.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Qe}-star-first, &-half ${Qe}-star-second`]:{opacity:1},[`&-half ${Qe}-star-first, &-full ${Qe}-star-second`]:{color:"inherit"}}}},Pe=He=>({[`&-rtl${He.componentCls}`]:{direction:"rtl"}}),Le=He=>{const{componentCls:Qe}=He;return{[Qe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(He)),{display:"inline-block",margin:0,padding:0,color:He.starColor,fontSize:He.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Qe} ${Qe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Fe(He)),{[`+ ${Qe}-text`]:{display:"inline-block",marginInlineStart:He.marginXS,fontSize:He.fontSize}}),Pe(He))}};var Oe=(0,De.Z)("Rate",He=>{const Qe=(0,we.TS)(He,{});return[Le(Qe)]},He=>({starColor:He.yellow6,starSize:He.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:He.colorFillContent})),We=function(He,Qe){var Ge={};for(var ze in He)Object.prototype.hasOwnProperty.call(He,ze)&&Qe.indexOf(ze)<0&&(Ge[ze]=He[ze]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(He);_e{const{prefixCls:Ge,className:ze,rootClassName:_e,style:Ve,tooltips:tt,character:Xe=Ae.createElement(se,null)}=He,lt=We(He,["prefixCls","className","rootClassName","style","tooltips","character"]),Je=(ke,xe)=>{let{index:Ne}=xe;return tt?Ae.createElement(Ee.Z,{title:tt[Ne]},ke):ke},{getPrefixCls:Ke,direction:Me,rate:et}=Ae.useContext(be.E_),Ie=Ke("rate",Ge),[Re,qe]=Oe(Ie),Ye=Object.assign(Object.assign({},et==null?void 0:et.style),Ve);return Re(Ae.createElement(Se,Object.assign({ref:Qe,character:Xe,characterRender:Je},lt,{className:ue()(ze,_e,qe,et==null?void 0:et.className),style:Ye,prefixCls:Ie,direction:Me})))})},61621:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return qe}});var ae=fe(92310),Ae=fe.n(ae),E=fe(59301),ye=fe(36355),he=fe(2738),ne=Ye=>{const{prefixCls:ke,className:xe,style:Ne,size:Be,shape:je}=Ye,$e=Ae()({[`${ke}-lg`]:Be==="large",[`${ke}-sm`]:Be==="small"}),nt=Ae()({[`${ke}-circle`]:je==="circle",[`${ke}-square`]:je==="square",[`${ke}-round`]:je==="round"}),Ze=E.useMemo(()=>typeof Be=="number"?{width:Be,height:Be,lineHeight:`${Be}px`}:{},[Be]);return E.createElement("span",{className:Ae()(ke,$e,nt,xe),style:Object.assign(Object.assign({},Ze),Ne)})},se=fe(36237),de=fe(83116),ue=fe(37613);const ie=new se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=Ye=>({height:Ye,lineHeight:`${Ye}px`}),re=Ye=>Object.assign({width:Ye},oe(Ye)),z=Ye=>({background:Ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ie,animationDuration:Ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ye=>Object.assign({width:Ye*5,minWidth:Ye*5},oe(Ye)),y=Ye=>{const{skeletonAvatarCls:ke,gradientFromColor:xe,controlHeight:Ne,controlHeightLG:Be,controlHeightSM:je}=Ye;return{[`${ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:xe},re(Ne)),[`${ke}${ke}-circle`]:{borderRadius:"50%"},[`${ke}${ke}-lg`]:Object.assign({},re(Be)),[`${ke}${ke}-sm`]:Object.assign({},re(je))}},x=Ye=>{const{controlHeight:ke,borderRadiusSM:xe,skeletonInputCls:Ne,controlHeightLG:Be,controlHeightSM:je,gradientFromColor:$e}=Ye;return{[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:$e,borderRadius:xe},a(ke)),[`${Ne}-lg`]:Object.assign({},a(Be)),[`${Ne}-sm`]:Object.assign({},a(je))}},b=Ye=>Object.assign({width:Ye},oe(Ye)),ee=Ye=>{const{skeletonImageCls:ke,imageSizeBase:xe,gradientFromColor:Ne,borderRadiusSM:Be}=Ye;return{[`${ke}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ne,borderRadius:Be},b(xe*2)),{[`${ke}-path`]:{fill:"#bfbfbf"},[`${ke}-svg`]:Object.assign(Object.assign({},b(xe)),{maxWidth:xe*4,maxHeight:xe*4}),[`${ke}-svg${ke}-svg-circle`]:{borderRadius:"50%"}}),[`${ke}${ke}-circle`]:{borderRadius:"50%"}}},te=(Ye,ke,xe)=>{const{skeletonButtonCls:Ne}=Ye;return{[`${xe}${Ne}-circle`]:{width:ke,minWidth:ke,borderRadius:"50%"},[`${xe}${Ne}-round`]:{borderRadius:ke}}},ce=Ye=>Object.assign({width:Ye*2,minWidth:Ye*2},oe(Ye)),me=Ye=>{const{borderRadiusSM:ke,skeletonButtonCls:xe,controlHeight:Ne,controlHeightLG:Be,controlHeightSM:je,gradientFromColor:$e}=Ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:$e,borderRadius:ke,width:Ne*2,minWidth:Ne*2},ce(Ne))},te(Ye,Ne,xe)),{[`${xe}-lg`]:Object.assign({},ce(Be))}),te(Ye,Be,`${xe}-lg`)),{[`${xe}-sm`]:Object.assign({},ce(je))}),te(Ye,je,`${xe}-sm`))},ve=Ye=>{const{componentCls:ke,skeletonAvatarCls:xe,skeletonTitleCls:Ne,skeletonParagraphCls:Be,skeletonButtonCls:je,skeletonInputCls:$e,skeletonImageCls:nt,controlHeight:Ze,controlHeightLG:rt,controlHeightSM:yt,gradientFromColor:ct,padding:bt,marginSM:dt,borderRadius:ht,titleHeight:ot,blockRadius:ut,paragraphLiHeight:mt,controlHeightXS:Ct,paragraphMarginTop:Bt}=Ye;return{[`${ke}`]:{display:"table",width:"100%",[`${ke}-header`]:{display:"table-cell",paddingInlineEnd:bt,verticalAlign:"top",[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ct},re(Ze)),[`${xe}-circle`]:{borderRadius:"50%"},[`${xe}-lg`]:Object.assign({},re(rt)),[`${xe}-sm`]:Object.assign({},re(yt))},[`${ke}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ne}`]:{width:"100%",height:ot,background:ct,borderRadius:ut,[`+ ${Be}`]:{marginBlockStart:yt}},[`${Be}`]:{padding:0,"> li":{width:"100%",height:mt,listStyle:"none",background:ct,borderRadius:ut,"+ li":{marginBlockStart:Ct}}},[`${Be}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ke}-content`]:{[`${Ne}, ${Be} > li`]:{borderRadius:ht}}},[`${ke}-with-avatar ${ke}-content`]:{[`${Ne}`]:{marginBlockStart:dt,[`+ ${Be}`]:{marginBlockStart:Bt}}},[`${ke}${ke}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},me(Ye)),y(Ye)),x(Ye)),ee(Ye)),[`${ke}${ke}-block`]:{width:"100%",[`${je}`]:{width:"100%"},[`${$e}`]:{width:"100%"}},[`${ke}${ke}-active`]:{[` - ${Ne}, - ${Be} > li, - ${xe}, - ${je}, - ${$e}, - ${nt} - `]:Object.assign({},z(Ye))}}};var ge=(0,de.Z)("Skeleton",Ye=>{const{componentCls:ke}=Ye,xe=(0,ue.TS)(Ye,{skeletonAvatarCls:`${ke}-avatar`,skeletonTitleCls:`${ke}-title`,skeletonParagraphCls:`${ke}-paragraph`,skeletonButtonCls:`${ke}-button`,skeletonInputCls:`${ke}-input`,skeletonImageCls:`${ke}-image`,imageSizeBase:Ye.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ye.gradientFromColor} 25%, ${Ye.gradientToColor} 37%, ${Ye.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ve(xe)]},Ye=>{const{colorFillContent:ke,colorFill:xe}=Ye,Ne=ke,Be=xe;return{color:Ne,colorGradientEnd:Be,gradientFromColor:Ne,gradientToColor:Be,titleHeight:Ye.controlHeight/2,blockRadius:Ye.borderRadiusSM,paragraphMarginTop:Ye.marginLG+Ye.marginXXS,paragraphLiHeight:Ye.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=Ye=>{const{prefixCls:ke,className:xe,rootClassName:Ne,active:Be,shape:je="circle",size:$e="default"}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ze=nt("skeleton",ke),[rt,yt]=ge(Ze),ct=(0,he.Z)(Ye,["prefixCls","className"]),bt=Ae()(Ze,`${Ze}-element`,{[`${Ze}-active`]:Be},xe,Ne,yt);return rt(E.createElement("div",{className:bt},E.createElement(ne,Object.assign({prefixCls:`${Ze}-avatar`,shape:je,size:$e},ct))))},Ee=Ye=>{const{prefixCls:ke,className:xe,rootClassName:Ne,active:Be,block:je=!1,size:$e="default"}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ze=nt("skeleton",ke),[rt,yt]=ge(Ze),ct=(0,he.Z)(Ye,["prefixCls"]),bt=Ae()(Ze,`${Ze}-element`,{[`${Ze}-active`]:Be,[`${Ze}-block`]:je},xe,Ne,yt);return rt(E.createElement("div",{className:bt},E.createElement(ne,Object.assign({prefixCls:`${Ze}-button`,size:$e},ct))))};const Ce="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 we=Ye=>{const{prefixCls:ke,className:xe,rootClassName:Ne,style:Be,active:je}=Ye,{getPrefixCls:$e}=E.useContext(ye.E_),nt=$e("skeleton",ke),[Ze,rt]=ge(nt),yt=Ae()(nt,`${nt}-element`,{[`${nt}-active`]:je},xe,Ne,rt);return Ze(E.createElement("div",{className:yt},E.createElement("div",{className:Ae()(`${nt}-image`,xe),style:Be},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},E.createElement("path",{d:Ce,className:`${nt}-image-path`})))))},Pe=Ye=>{const{prefixCls:ke,className:xe,rootClassName:Ne,active:Be,block:je,size:$e="default"}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ze=nt("skeleton",ke),[rt,yt]=ge(Ze),ct=(0,he.Z)(Ye,["prefixCls"]),bt=Ae()(Ze,`${Ze}-element`,{[`${Ze}-active`]:Be,[`${Ze}-block`]:je},xe,Ne,yt);return rt(E.createElement("div",{className:bt},E.createElement(ne,Object.assign({prefixCls:`${Ze}-input`,size:$e},ct))))},Le=fe(54476),Oe={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"},We=Oe,Te=fe(7657),Ue=function(ke,xe){return E.createElement(Te.Z,(0,Le.Z)({},ke,{ref:xe,icon:We}))},He=E.forwardRef(Ue),Qe=He,ze=Ye=>{const{prefixCls:ke,className:xe,rootClassName:Ne,style:Be,active:je,children:$e}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ze=nt("skeleton",ke),[rt,yt]=ge(Ze),ct=Ae()(Ze,`${Ze}-element`,{[`${Ze}-active`]:je},yt,xe,Ne),bt=$e!=null?$e:E.createElement(Qe,null);return rt(E.createElement("div",{className:ct},E.createElement("div",{className:Ae()(`${Ze}-image`,xe),style:Be},bt)))},_e=fe(94480),tt=Ye=>{const ke=nt=>{const{width:Ze,rows:rt=2}=Ye;if(Array.isArray(Ze))return Ze[nt];if(rt-1===nt)return Ze},{prefixCls:xe,className:Ne,style:Be,rows:je}=Ye,$e=(0,_e.Z)(Array(je)).map((nt,Ze)=>E.createElement("li",{key:Ze,style:{width:ke(Ze)}}));return E.createElement("ul",{className:Ae()(xe,Ne),style:Be},$e)},lt=Ye=>{let{prefixCls:ke,className:xe,width:Ne,style:Be}=Ye;return E.createElement("h3",{className:Ae()(ke,xe),style:Object.assign({width:Ne},Be)})};function Je(Ye){return Ye&&typeof Ye=="object"?Ye:{}}function Ke(Ye,ke){return Ye&&!ke?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Me(Ye,ke){return!Ye&&ke?{width:"38%"}:Ye&&ke?{width:"50%"}:{}}function et(Ye,ke){const xe={};return(!Ye||!ke)&&(xe.width="61%"),!Ye&&ke?xe.rows=3:xe.rows=2,xe}const Ie=Ye=>{const{prefixCls:ke,loading:xe,className:Ne,rootClassName:Be,style:je,children:$e,avatar:nt=!1,title:Ze=!0,paragraph:rt=!0,active:yt,round:ct}=Ye,{getPrefixCls:bt,direction:dt,skeleton:ht}=E.useContext(ye.E_),ot=bt("skeleton",ke),[ut,mt]=ge(ot);if(xe||!("loading"in Ye)){const Ct=!!nt,Bt=!!Ze,It=!!rt;let Ht;if(Ct){const In=Object.assign(Object.assign({prefixCls:`${ot}-avatar`},Ke(Bt,It)),Je(nt));Ht=E.createElement("div",{className:`${ot}-header`},E.createElement(ne,Object.assign({},In)))}let qt;if(Bt||It){let In;if(Bt){const pn=Object.assign(Object.assign({prefixCls:`${ot}-title`},Me(Ct,It)),Je(Ze));In=E.createElement(lt,Object.assign({},pn))}let En;if(It){const pn=Object.assign(Object.assign({prefixCls:`${ot}-paragraph`},et(Ct,Bt)),Je(rt));En=E.createElement(tt,Object.assign({},pn))}qt=E.createElement("div",{className:`${ot}-content`},In,En)}const yn=Ae()(ot,{[`${ot}-with-avatar`]:Ct,[`${ot}-active`]:yt,[`${ot}-rtl`]:dt==="rtl",[`${ot}-round`]:ct},ht==null?void 0:ht.className,Ne,Be,mt);return ut(E.createElement("div",{className:yn,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),je)},Ht,qt))}return typeof $e!="undefined"?$e:null};Ie.Button=Ee,Ie.Avatar=Se,Ie.Input=Pe,Ie.Image=we,Ie.Node=ze;var Re=Ie,qe=Re},31797:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return ge}});var ae=fe(59301),Ae=fe(56762),E=fe(92343),ye=fe(92310),he=fe.n(ye),le=fe(36355),ne=fe(61621),de=pe=>{const{value:Se,formatter:be,precision:Ee,decimalSeparator:Ce,groupSeparator:De="",prefixCls:we}=pe;let Fe;if(typeof be=="function")Fe=be(Se);else{const Pe=String(Se),Le=Pe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Le||Pe==="-")Fe=Pe;else{const Oe=Le[1];let We=Le[2]||"0",Te=Le[4]||"";We=We.replace(/\B(?=(\d{3})+(?!\d))/g,De),typeof Ee=="number"&&(Te=Te.padEnd(Ee,"0").slice(0,Ee>0?Ee:0)),Te&&(Te=`${Ce}${Te}`),Fe=[ae.createElement("span",{key:"int",className:`${we}-content-value-int`},Oe,We),Te&&ae.createElement("span",{key:"decimal",className:`${we}-content-value-decimal`},Te)]}}return ae.createElement("span",{className:`${we}-content-value`},Fe)},ue=fe(17313),ie=fe(83116),oe=fe(37613);const re=pe=>{const{componentCls:Se,marginXXS:be,padding:Ee,colorTextDescription:Ce,titleFontSize:De,colorTextHeading:we,contentFontSize:Fe,fontFamily:Pe}=pe;return{[`${Se}`]:Object.assign(Object.assign({},(0,ue.Wf)(pe)),{[`${Se}-title`]:{marginBottom:be,color:Ce,fontSize:De},[`${Se}-skeleton`]:{paddingTop:Ee},[`${Se}-content`]:{color:we,fontSize:Fe,fontFamily:Pe,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:be},[`${Se}-content-suffix`]:{marginInlineStart:be}}})}};var z=(0,ie.Z)("Statistic",pe=>{const Se=(0,oe.TS)(pe,{});return[re(Se)]},pe=>{const{fontSizeHeading3:Se,fontSize:be}=pe;return{titleFontSize:be,contentFontSize:Se}}),y=pe=>{const{prefixCls:Se,className:be,rootClassName:Ee,style:Ce,valueStyle:De,value:we=0,title:Fe,valueRender:Pe,prefix:Le,suffix:Oe,loading:We=!1,onMouseEnter:Te,onMouseLeave:Ue,decimalSeparator:He=".",groupSeparator:Qe=","}=pe,{getPrefixCls:Ge,direction:ze,statistic:_e}=ae.useContext(le.E_),Ve=Ge("statistic",Se),[tt,Xe]=z(Ve),lt=ae.createElement(de,Object.assign({decimalSeparator:He,groupSeparator:Qe,prefixCls:Ve},pe,{value:we})),Je=he()(Ve,{[`${Ve}-rtl`]:ze==="rtl"},_e==null?void 0:_e.className,be,Ee,Xe);return tt(ae.createElement("div",{className:Je,style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Ce),onMouseEnter:Te,onMouseLeave:Ue},Fe&&ae.createElement("div",{className:`${Ve}-title`},Fe),ae.createElement(ne.Z,{paragraph:!1,loading:We,className:`${Ve}-skeleton`},ae.createElement("div",{style:De,className:`${Ve}-content`},Le&&ae.createElement("span",{className:`${Ve}-content-prefix`},Le),Pe?Pe(lt):lt,Oe&&ae.createElement("span",{className:`${Ve}-content-suffix`},Oe)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(pe,Se){let be=pe;const Ee=/\[[^\]]*]/g,Ce=(Se.match(Ee)||[]).map(Pe=>Pe.slice(1,-1)),De=Se.replace(Ee,"[]"),we=x.reduce((Pe,Le)=>{let[Oe,We]=Le;if(Pe.includes(Oe)){const Te=Math.floor(be/We);return be-=Te*We,Pe.replace(new RegExp(`${Oe}+`,"g"),Ue=>{const He=Ue.length;return Te.toString().padStart(He,"0")})}return Pe},De);let Fe=0;return we.replace(Ee,()=>{const Pe=Ce[Fe];return Fe+=1,Pe})}function ee(pe,Se){const{format:be=""}=Se,Ee=new Date(pe).getTime(),Ce=Date.now(),De=Math.max(Ee-Ce,0);return b(De,be)}const te=1e3/30;function ce(pe){return new Date(pe).getTime()}const me=pe=>{const{value:Se,format:be="HH:mm:ss",onChange:Ee,onFinish:Ce}=pe,De=(0,Ae.Z)(),we=ae.useRef(null),Fe=()=>{Ce==null||Ce(),we.current&&(clearInterval(we.current),we.current=null)},Pe=()=>{const We=ce(Se);We>=Date.now()&&(we.current=setInterval(()=>{De(),Ee==null||Ee(We-Date.now()),We(Pe(),()=>{we.current&&(clearInterval(we.current),we.current=null)}),[Se]);const Le=(We,Te)=>ee(We,Object.assign(Object.assign({},Te),{format:be})),Oe=We=>(0,E.Tm)(We,{title:void 0});return ae.createElement(y,Object.assign({},pe,{valueRender:Oe,formatter:Le}))};var ve=ae.memo(me);y.Countdown=ve;var ge=y},15969:function(vt,at,fe){"use strict";fe.d(at,{N:function(){return ae}});const ae=Ae=>({color:Ae.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ae.motionDurationSlow}`,"&:focus, &:hover":{color:Ae.colorLinkHover},"&:active":{color:Ae.colorLinkActive}})},1710:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return Ms}});var ae={},Ae="rc-table-internal-hook",E=fe(42978),ye=fe(6089),he=fe(34280),le=fe(13697),ne=fe(59301),se=fe(4676);function de(it){var st=ne.createContext(void 0),Et=function(Tt){var Nt=Tt.value,on=Tt.children,sn=ne.useRef(Nt);sn.current=Nt;var nn=ne.useState(function(){return{getValue:function(){return sn.current},listeners:new Set}}),dn=(0,E.Z)(nn,1),xn=dn[0];return(0,he.Z)(function(){(0,se.unstable_batchedUpdates)(function(){xn.listeners.forEach(function(vn){vn(Nt)})})},[Nt]),ne.createElement(st.Provider,{value:xn},on)};return{Context:st,Provider:Et,defaultValue:it}}function ue(it,st){var Et=(0,ye.Z)(typeof st=="function"?st:function(vn){if(st===void 0)return vn;if(!Array.isArray(st))return vn[st];var Zn={};return st.forEach(function(kn){Zn[kn]=vn[kn]}),Zn}),Dt=ne.useContext(it==null?void 0:it.Context),Tt=Dt||{},Nt=Tt.listeners,on=Tt.getValue,sn=ne.useRef();sn.current=Et(Dt?on():it==null?void 0:it.defaultValue);var nn=ne.useState({}),dn=(0,E.Z)(nn,2),xn=dn[1];return(0,he.Z)(function(){if(!Dt)return;function vn(Zn){var kn=Et(Zn);(0,le.Z)(sn.current,kn,!0)||xn({})}return Nt.add(vn),function(){Nt.delete(vn)}},[Dt]),sn.current}var ie=fe(54476),oe=fe(8654);function re(){var it=ne.createContext(null);function st(){return ne.useContext(it)}function Et(Tt,Nt){var on=(0,oe.Yr)(Tt),sn=function(dn,xn){var vn=on?{ref:xn}:{},Zn=ne.useRef(0),kn=ne.useRef(dn),Wn=st();return Wn!==null?ne.createElement(Tt,(0,ie.Z)({},dn,vn)):((!Nt||Nt(kn.current,dn))&&(Zn.current+=1),kn.current=dn,ne.createElement(it.Provider,{value:Zn.current},ne.createElement(Tt,(0,ie.Z)({},dn,vn))))};return on?ne.forwardRef(sn):sn}function Dt(Tt,Nt){var on=(0,oe.Yr)(Tt),sn=function(dn,xn){var vn=on?{ref:xn}:{};return st(),ne.createElement(Tt,(0,ie.Z)({},dn,vn))};return on?ne.memo(ne.forwardRef(sn),Nt):ne.memo(sn,Nt)}return{makeImmutable:Et,responseImmutable:Dt,useImmutableMark:st}}var z=re(),a=z.makeImmutable,y=z.responseImmutable,x=z.useImmutableMark,b=re(),ee=b.makeImmutable,te=b.responseImmutable,ce=b.useImmutableMark,me=de(),ve=me;function ge(it,st){var Et=ne.useRef(0);Et.current+=1;var Dt=ne.useRef(it),Tt=[];Object.keys(it||{}).map(function(on){var sn;(it==null?void 0:it[on])!==((sn=Dt.current)===null||sn===void 0?void 0:sn[on])&&Tt.push(on)}),Dt.current=it;var Nt=ne.useRef([]);return Tt.length&&(Nt.current=Tt),ne.useDebugValue(Et.current),ne.useDebugValue(Nt.current.join(", ")),st&&console.log("".concat(st,":"),Et.current,Nt.current),Et.current}var pe=null,Se=ne.memo(function(){var it=ge();return ne.createElement("h1",null,"Render Times: ",it)});Se.displayName="RenderBlock";var be=fe(76190),Ee=fe(33885),Ce=fe(20068),De=fe(92310),we=fe.n(De),Fe=fe(80547),Pe=fe(97938),Le=fe(48736),Oe=ne.createContext({renderWithProps:!1}),We=Oe,Te="RC_TABLE_KEY";function Ue(it){return it==null?[]:Array.isArray(it)?it:[it]}function He(it){var st=[],Et={};return it.forEach(function(Dt){for(var Tt=Dt||{},Nt=Tt.key,on=Tt.dataIndex,sn=Nt||Ue(on).join("-")||Te;Et[sn];)sn="".concat(sn,"_next");Et[sn]=!0,st.push(sn)}),st}function Qe(it){return it!=null}function Ge(it){return it&&(0,be.Z)(it)==="object"&&!Array.isArray(it)&&!ne.isValidElement(it)}function ze(it,st,Et,Dt,Tt,Nt){var on=ne.useContext(We),sn=ce(),nn=(0,Fe.Z)(function(){if(Qe(Dt))return[Dt];var dn=st==null||st===""?[]:Array.isArray(st)?st:[st],xn=(0,Pe.Z)(it,dn),vn=xn,Zn=void 0;if(Tt){var kn=Tt(xn,it,Et);Ge(kn)?(vn=kn.children,Zn=kn.props,on.renderWithProps=!0):vn=kn}return[vn,Zn]},[sn,it,Dt,st,Tt,Et],function(dn,xn){if(Nt){var vn=(0,E.Z)(dn,2),Zn=vn[1],kn=(0,E.Z)(xn,2),Wn=kn[1];return Nt(Wn,Zn)}return on.renderWithProps?!0:!(0,le.Z)(dn,xn,!0)});return nn}function _e(it,st,Et,Dt){var Tt=it+st-1;return it<=Dt&&Tt>=Et}function Ve(it,st){return ue(ve,function(Et){var Dt=_e(it,st||1,Et.hoverStartRow,Et.hoverEndRow);return[Dt,Et.onHover]})}var tt=function(st){var Et=st.ellipsis,Dt=st.rowType,Tt=st.children,Nt,on=Et===!0?{showTitle:!0}:Et;return on&&(on.showTitle||Dt==="header")&&(typeof Tt=="string"||typeof Tt=="number"?Nt=Tt.toString():ne.isValidElement(Tt)&&typeof Tt.props.children=="string"&&(Nt=Tt.props.children)),Nt};function Xe(it){var st,Et,Dt,Tt,Nt,on,sn,nn,dn=it.component,xn=it.children,vn=it.ellipsis,Zn=it.scope,kn=it.prefixCls,Wn=it.className,cr=it.align,rr=it.record,dr=it.render,or=it.dataIndex,br=it.renderIndex,zr=it.shouldCellUpdate,Zr=it.index,Lr=it.rowType,ia=it.colSpan,ga=it.rowSpan,Ar=it.fixLeft,Nr=it.fixRight,Pr=it.firstFixLeft,pr=it.lastFixLeft,Fr=it.firstFixRight,ta=it.lastFixRight,va=it.appendNode,fa=it.additionalProps,Yr=fa===void 0?{}:fa,ba=it.isSticky,Ca="".concat(kn,"-cell"),ja=ue(ve,["supportSticky","allColumnsFixedLeft"]),Fa=ja.supportSticky,Va=ja.allColumnsFixedLeft,Qa=ze(rr,or,br,xn,dr,zr),ma=(0,E.Z)(Qa,2),Xa=ma[0],Oa=ma[1],Ua={},Ha=typeof Ar=="number"&&Fa,fo=typeof Nr=="number"&&Fa;Ha&&(Ua.position="sticky",Ua.left=Ar),fo&&(Ua.position="sticky",Ua.right=Nr);var ea=(st=(Et=(Dt=Oa==null?void 0:Oa.colSpan)!==null&&Dt!==void 0?Dt:Yr.colSpan)!==null&&Et!==void 0?Et:ia)!==null&&st!==void 0?st:1,qr=(Tt=(Nt=(on=Oa==null?void 0:Oa.rowSpan)!==null&&on!==void 0?on:Yr.rowSpan)!==null&&Nt!==void 0?Nt:ga)!==null&&Tt!==void 0?Tt:1,Xr=Ve(Zr,qr),jr=(0,E.Z)(Xr,2),La=jr[0],kr=jr[1],ua=function(qa){var mo;rr&&kr(Zr,Zr+qr-1),Yr==null||(mo=Yr.onMouseEnter)===null||mo===void 0||mo.call(Yr,qa)},Ba=function(qa){var mo;rr&&kr(-1,-1),Yr==null||(mo=Yr.onMouseLeave)===null||mo===void 0||mo.call(Yr,qa)};if(ea===0||qr===0)return null;var Pa=(sn=Yr.title)!==null&&sn!==void 0?sn:tt({rowType:Lr,ellipsis:vn,children:Xa}),io=we()(Ca,Wn,(nn={},(0,Ce.Z)(nn,"".concat(Ca,"-fix-left"),Ha&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-fix-left-first"),Pr&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-fix-left-last"),pr&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-fix-left-all"),pr&&Va&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-fix-right"),fo&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-fix-right-first"),Fr&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-fix-right-last"),ta&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-ellipsis"),vn),(0,Ce.Z)(nn,"".concat(Ca,"-with-append"),va),(0,Ce.Z)(nn,"".concat(Ca,"-fix-sticky"),(Ha||fo)&&ba&&Fa),(0,Ce.Z)(nn,"".concat(Ca,"-row-hover"),!Oa&&La),nn),Yr.className,Oa==null?void 0:Oa.className),ro={};cr&&(ro.textAlign=cr);var Oo=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},Ua),Yr.style),ro),Oa==null?void 0:Oa.style),Ja=Xa;return(0,be.Z)(Ja)==="object"&&!Array.isArray(Ja)&&!ne.isValidElement(Ja)&&(Ja=null),vn&&(pr||Fr)&&(Ja=ne.createElement("span",{className:"".concat(Ca,"-content")},Ja)),ne.createElement(dn,(0,ie.Z)({},Oa,Yr,{className:io,style:Oo,title:Pa,scope:Zn,onMouseEnter:ua,onMouseLeave:Ba,colSpan:ea!==1?ea:null,rowSpan:qr!==1?qr:null}),va,Ja)}var lt=ne.memo(Xe);function Je(it,st,Et,Dt,Tt,Nt){var on=Et[it]||{},sn=Et[st]||{},nn,dn;on.fixed==="left"?nn=Dt.left[Tt==="rtl"?st:it]:sn.fixed==="right"&&(dn=Dt.right[Tt==="rtl"?it:st]);var xn=!1,vn=!1,Zn=!1,kn=!1,Wn=Et[st+1],cr=Et[it-1],rr=!(Nt!=null&&Nt.children);if(Tt==="rtl"){if(nn!==void 0){var dr=cr&&cr.fixed==="left";kn=!dr&&rr}else if(dn!==void 0){var or=Wn&&Wn.fixed==="right";Zn=!or&&rr}}else if(nn!==void 0){var br=Wn&&Wn.fixed==="left";xn=!br&&rr}else if(dn!==void 0){var zr=cr&&cr.fixed==="right";vn=!zr&&rr}return{fixLeft:nn,fixRight:dn,lastFixLeft:xn,firstFixRight:vn,lastFixRight:Zn,firstFixLeft:kn,isSticky:Dt.isSticky}}var Ke=ne.createContext({}),Me=Ke;function et(it){var st=it.className,Et=it.index,Dt=it.children,Tt=it.colSpan,Nt=Tt===void 0?1:Tt,on=it.rowSpan,sn=it.align,nn=ue(ve,["prefixCls","direction"]),dn=nn.prefixCls,xn=nn.direction,vn=ne.useContext(Me),Zn=vn.scrollColumnIndex,kn=vn.stickyOffsets,Wn=vn.flattenColumns,cr=vn.columns,rr=Et+Nt-1,dr=rr+1===Zn?Nt+1:Nt,or=Je(Et,Et+dr-1,Wn,kn,xn,cr==null?void 0:cr[Et]);return ne.createElement(lt,(0,ie.Z)({className:st,index:Et,component:"td",prefixCls:dn,record:null,dataIndex:null,align:sn,colSpan:dr,rowSpan:on,render:function(){return Dt}},or))}var Ie=fe(75931),Re=["children"];function qe(it){var st=it.children,Et=(0,Ie.Z)(it,Re);return ne.createElement("tr",Et,st)}function Ye(it){var st=it.children;return st}Ye.Row=qe,Ye.Cell=et;var ke=Ye;function xe(it){var st=it.children,Et=it.stickyOffsets,Dt=it.flattenColumns,Tt=it.columns,Nt=ue(ve,"prefixCls"),on=Dt.length-1,sn=Dt[on],nn=ne.useMemo(function(){return{stickyOffsets:Et,flattenColumns:Dt,scrollColumnIndex:sn!=null&&sn.scrollbar?on:null,columns:Tt}},[sn,Dt,on,Et,Tt]);return ne.createElement(Me.Provider,{value:nn},ne.createElement("tfoot",{className:"".concat(Nt,"-summary")},st))}var Ne=te(xe),Be=ke,je=fe(70425),$e=fe(29301),nt=fe(29194),Ze=fe(3465),rt=fe(75152),yt=fe(26112);function ct(it,st,Et,Dt,Tt,Nt,on){it.push({record:st,indent:Et,index:on});var sn=Nt(st),nn=Tt==null?void 0:Tt.has(sn);if(st&&Array.isArray(st[Dt])&&nn)for(var dn=0;dn1?Pr-1:0),Fr=1;Fr=0;sn-=1){var nn=st[sn],dn=Et&&Et[sn],xn=dn&&dn[In];if(nn||xn||on){var vn=xn||{},Zn=vn.columnType,kn=(0,Ie.Z)(vn,pn);Tt.unshift(ne.createElement("col",(0,ie.Z)({key:sn,style:{width:nn}},kn))),on=!0}}return ne.createElement("colgroup",null,Tt)}var Bn=Qn,un=fe(94480),Yn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _t(it,st){return(0,ne.useMemo)(function(){for(var Et=[],Dt=0;Dt1?"colgroup":"col":null,ellipsis:rr.ellipsis,align:rr.align,component:rr.title?Nt:on,prefixCls:xn,key:kn[cr]},dr,{additionalProps:or,rowType:"header"}))}))}Ot.displayName="HeaderRow";var ft=Ot;function Ft(it){var st=[];function Et(on,sn){var nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;st[nn]=st[nn]||[];var dn=sn,xn=on.filter(Boolean).map(function(vn){var Zn={key:vn.key,className:vn.className||"",children:vn.title,column:vn,colStart:dn},kn=1,Wn=vn.children;return Wn&&Wn.length>0&&(kn=Et(Wn,dn,nn+1).reduce(function(cr,rr){return cr+rr},0),Zn.hasSubColumns=!0),"colSpan"in vn&&(kn=vn.colSpan),"rowSpan"in vn&&(Zn.rowSpan=vn.rowSpan),Zn.colSpan=kn,Zn.colEnd=Zn.colStart+kn-1,st[nn].push(Zn),dn+=kn,kn});return xn}Et(it,0);for(var Dt=st.length,Tt=function(sn){st[sn].forEach(function(nn){!("rowSpan"in nn)&&!nn.hasSubColumns&&(nn.rowSpan=Dt-sn)})},Nt=0;Nt1&&arguments[1]!==void 0?arguments[1]:"";return typeof st=="number"?st:st.endsWith("%")?it*parseFloat(st)/100:null}function Vt(it,st){return ne.useMemo(function(){if(st&&st>0){var Et=0,Dt=0;it.forEach(function(dn){var xn=en(st,dn.width);xn?Et+=xn:Dt+=1});var Tt=st-Et,Nt=Dt,on=Tt/Dt,sn=0,nn=it.map(function(dn){var xn=(0,Ee.Z)({},dn),vn=en(st,xn.width);if(vn)xn.width=vn;else{var Zn=Math.floor(on);xn.width=Nt===1?Tt:Zn,Tt-=Zn,Nt-=1}return sn+=xn.width,xn});return[nn,sn]}return[it,st]},[it,st])}var pt=["children"],wt=["fixed"];function xt(it){return(0,an.Z)(it).filter(function(st){return ne.isValidElement(st)}).map(function(st){var Et=st.key,Dt=st.props,Tt=Dt.children,Nt=(0,Ie.Z)(Dt,pt),on=(0,Ee.Z)({key:Et},Nt);return Tt&&(on.children=xt(Tt)),on})}function Ut(it){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return it.filter(function(Et){return Et&&(0,be.Z)(Et)==="object"}).reduce(function(Et,Dt,Tt){var Nt=Dt.fixed,on=Nt===!0?"left":Nt,sn="".concat(st,"-").concat(Tt),nn=Dt.children;return nn&&nn.length>0?[].concat((0,un.Z)(Et),(0,un.Z)(Ut(nn,sn).map(function(dn){return(0,Ee.Z)({fixed:on},dn)}))):[].concat((0,un.Z)(Et),[(0,Ee.Z)((0,Ee.Z)({key:sn},Dt),{},{fixed:on})])},[])}function fn(it){for(var st=!0,Et=0;Et=0;Nt-=1){var on=it[Nt];if(Tt&&on.fixed!=="right")Tt=!1;else if(!Tt&&on.fixed==="right"){warning(!1,"Index ".concat(Nt+1," of `columns` missing `fixed='right'` prop."));break}}}function Qt(it){return it.map(function(st){var Et=st.fixed,Dt=(0,Ie.Z)(st,wt),Tt=Et;return Et==="left"?Tt="right":Et==="right"&&(Tt="left"),(0,Ee.Z)({fixed:Tt},Dt)})}function _n(it,st){var Et=it.prefixCls,Dt=it.columns,Tt=it.children,Nt=it.expandable,on=it.expandedKeys,sn=it.columnTitle,nn=it.getRowKey,dn=it.onTriggerExpand,xn=it.expandIcon,vn=it.rowExpandable,Zn=it.expandIconColumnIndex,kn=it.direction,Wn=it.expandRowByClick,cr=it.columnWidth,rr=it.fixed,dr=it.scrollWidth,or=ne.useMemo(function(){return Dt||xt(Tt)},[Dt,Tt]),br=ne.useMemo(function(){if(Nt){var Nr,Pr=or.slice();if(!Pr.includes(ae)){var pr=Zn||0;pr>=0&&Pr.splice(pr,0,ae)}var Fr=Pr.indexOf(ae);Pr=Pr.filter(function(Yr,ba){return Yr!==ae||ba===Fr});var ta=or[Fr],va;(rr==="left"||rr)&&!Zn?va="left":(rr==="right"||rr)&&Zn===or.length?va="right":va=ta?ta.fixed:null;var fa=(Nr={},(0,Ce.Z)(Nr,In,{className:"".concat(Et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ce.Z)(Nr,"title",sn),(0,Ce.Z)(Nr,"fixed",va),(0,Ce.Z)(Nr,"className","".concat(Et,"-row-expand-icon-cell")),(0,Ce.Z)(Nr,"width",cr),(0,Ce.Z)(Nr,"render",function(ba,Ca,ja){var Fa=nn(Ca,ja),Va=on.has(Fa),Qa=vn?vn(Ca):!0,ma=xn({prefixCls:Et,expanded:Va,expandable:Qa,record:Ca,onExpand:dn});return Wn?ne.createElement("span",{onClick:function(Oa){return Oa.stopPropagation()}},ma):ma}),Nr);return Pr.map(function(Yr){return Yr===ae?fa:Yr})}return or.filter(function(Yr){return Yr!==ae})},[Nt,or,nn,on,xn,kn]),zr=ne.useMemo(function(){var Nr=br;return st&&(Nr=st(Nr)),Nr.length||(Nr=[{render:function(){return null}}]),Nr},[st,br,kn]),Zr=ne.useMemo(function(){return kn==="rtl"?Qt(Ut(zr)):Ut(zr)},[zr,kn,dr]),Lr=Vt(Zr,dr),ia=(0,E.Z)(Lr,2),ga=ia[0],Ar=ia[1];return[zr,ga,Ar]}var wn=_n;function Mt(it){var st,Et=it.prefixCls,Dt=it.record,Tt=it.onExpand,Nt=it.expanded,on=it.expandable,sn="".concat(Et,"-row-expand-icon");if(!on)return ne.createElement("span",{className:we()(sn,"".concat(Et,"-row-spaced"))});var nn=function(xn){Tt(Dt,xn),xn.stopPropagation()};return ne.createElement("span",{className:we()(sn,(st={},(0,Ce.Z)(st,"".concat(Et,"-row-expanded"),Nt),(0,Ce.Z)(st,"".concat(Et,"-row-collapsed"),!Nt),st)),onClick:nn})}function Lt(it,st,Et){var Dt=[];function Tt(Nt){(Nt||[]).forEach(function(on,sn){Dt.push(st(on,sn)),Tt(on[Et])})}return Tt(it),Dt}function Jt(it,st,Et){var Dt=En(it),Tt=Dt.expandIcon,Nt=Dt.expandedRowKeys,on=Dt.defaultExpandedRowKeys,sn=Dt.defaultExpandAllRows,nn=Dt.expandedRowRender,dn=Dt.onExpand,xn=Dt.onExpandedRowsChange,vn=Dt.childrenColumnName,Zn=Tt||Mt,kn=vn||"children",Wn=ne.useMemo(function(){return nn?"row":it.expandable&&it.internalHooks===Ae&&it.expandable.__PARENT_RENDER_ICON__||st.some(function(Zr){return Zr&&(0,be.Z)(Zr)==="object"&&Zr[kn]})?"nest":!1},[!!nn,st]),cr=ne.useState(function(){return on||(sn?Lt(st,Et,kn):[])}),rr=(0,E.Z)(cr,2),dr=rr[0],or=rr[1],br=ne.useMemo(function(){return new Set(Nt||dr||[])},[Nt,dr]),zr=ne.useCallback(function(Zr){var Lr=Et(Zr,st.indexOf(Zr)),ia,ga=br.has(Lr);ga?(br.delete(Lr),ia=(0,un.Z)(br)):ia=[].concat((0,un.Z)(br),[Lr]),or(ia),dn&&dn(!ga,Zr),xn&&xn(ia)},[Et,br,st,dn,xn]);return[Dt,Wn,br,Zn,kn,zr]}function jt(it,st,Et,Dt){var Tt=it.map(function(Nt,on){return Je(on,on,it,st,Et,Dt==null?void 0:Dt[on])});return(0,Fe.Z)(function(){return Tt},[Tt],function(Nt,on){return!(0,le.Z)(Nt,on)})}function bn(it){var st=(0,ne.useRef)(it),Et=(0,ne.useState)({}),Dt=(0,E.Z)(Et,2),Tt=Dt[1],Nt=(0,ne.useRef)(null),on=(0,ne.useRef)([]);function sn(nn){on.current.push(nn);var dn=Promise.resolve();Nt.current=dn,dn.then(function(){if(Nt.current===dn){var xn=on.current,vn=st.current;on.current=[],xn.forEach(function(Zn){st.current=Zn(st.current)}),Nt.current=null,vn!==st.current&&Tt({})}})}return(0,ne.useEffect)(function(){return function(){Nt.current=null}},[]),[st.current,sn]}function Dn(it){var st=(0,ne.useRef)(it||null),Et=(0,ne.useRef)();function Dt(){window.clearTimeout(Et.current)}function Tt(on){st.current=on,Dt(),Et.current=window.setTimeout(function(){st.current=null,Et.current=void 0},100)}function Nt(){return st.current}return(0,ne.useEffect)(function(){return Dt},[]),[Tt,Nt]}function Hn(){var it=ne.useState(-1),st=(0,E.Z)(it,2),Et=st[0],Dt=st[1],Tt=ne.useState(-1),Nt=(0,E.Z)(Tt,2),on=Nt[0],sn=Nt[1],nn=ne.useCallback(function(dn,xn){Dt(dn),sn(xn)},[]);return[Et,on,nn]}var rn=fe(47273),Pt=(0,rn.Z)()?window:null;function gt(it,st){var Et=(0,be.Z)(it)==="object"?it:{},Dt=Et.offsetHeader,Tt=Dt===void 0?0:Dt,Nt=Et.offsetSummary,on=Nt===void 0?0:Nt,sn=Et.offsetScroll,nn=sn===void 0?0:sn,dn=Et.getContainer,xn=dn===void 0?function(){return Pt}:dn,vn=xn()||Pt;return ne.useMemo(function(){var Zn=!!it;return{isSticky:Zn,stickyClassName:Zn?"".concat(st,"-sticky-holder"):"",offsetHeader:Tt,offsetSummary:on,offsetScroll:nn,container:vn}},[nn,Tt,on,st,vn])}function St(it,st,Et){var Dt=(0,ne.useMemo)(function(){for(var Tt=[],Nt=[],on=0,sn=0,nn=0;nn=vn&&(Yr=vn-Zn),on({scrollLeft:Yr/vn*(xn+2)}),or.current.x=Fr.pageX},Nr=function(){if(Nt.current){var Fr=(0,ln.os)(Nt.current).top,ta=Fr+Nt.current.offsetHeight,va=nn===window?document.documentElement.scrollTop+window.innerHeight:(0,ln.os)(nn).top+nn.clientHeight;ta-(0,rt.Z)()<=va||Fr>=va-sn?dr(function(fa){return(0,Ee.Z)((0,Ee.Z)({},fa),{},{isHiddenScrollBar:!0})}):dr(function(fa){return(0,Ee.Z)((0,Ee.Z)({},fa),{},{isHiddenScrollBar:!1})})}},Pr=function(Fr){dr(function(ta){return(0,Ee.Z)((0,Ee.Z)({},ta),{},{scrollLeft:Fr/xn*vn||0})})};return ne.useImperativeHandle(Et,function(){return{setScrollLeft:Pr}}),ne.useEffect(function(){var pr=(0,$t.Z)(document.body,"mouseup",ia,!1),Fr=(0,$t.Z)(document.body,"mousemove",Ar,!1);return Nr(),function(){pr.remove(),Fr.remove()}},[Zn,Zr]),ne.useEffect(function(){var pr=(0,$t.Z)(nn,"scroll",Nr,!1),Fr=(0,$t.Z)(window,"resize",Nr,!1);return function(){pr.remove(),Fr.remove()}},[nn]),ne.useEffect(function(){rr.isHiddenScrollBar||dr(function(pr){var Fr=Nt.current;return Fr?(0,Ee.Z)((0,Ee.Z)({},pr),{},{scrollLeft:Fr.scrollLeft/Fr.scrollWidth*Fr.clientWidth}):pr})},[rr.isHiddenScrollBar]),xn<=vn||!Zn||rr.isHiddenScrollBar?null:ne.createElement("div",{style:{height:(0,rt.Z)(),width:vn,bottom:sn},className:"".concat(dn,"-sticky-scroll")},ne.createElement("div",{onMouseDown:ga,ref:kn,className:we()("".concat(dn,"-sticky-scroll-bar"),(0,Ce.Z)({},"".concat(dn,"-sticky-scroll-bar-active"),Zr)),style:{width:"".concat(Zn,"px"),transform:"translate3d(".concat(rr.scrollLeft,"px, 0, 0)")}}))},zn=ne.forwardRef(Pn);function Gt(it){return null}var tr=Gt;function ir(it){return null}var sr=ir,vr="rc-table",Ln=[],Rn={};function $n(){return"No Data"}function Tn(it){var st,Et=(0,Ee.Z)({rowKey:"key",prefixCls:vr,emptyText:$n},it),Dt=Et.prefixCls,Tt=Et.className,Nt=Et.rowClassName,on=Et.style,sn=Et.data,nn=Et.rowKey,dn=Et.scroll,xn=Et.tableLayout,vn=Et.direction,Zn=Et.title,kn=Et.footer,Wn=Et.summary,cr=Et.caption,rr=Et.id,dr=Et.showHeader,or=Et.components,br=Et.emptyText,zr=Et.onRow,Zr=Et.onHeaderRow,Lr=Et.internalHooks,ia=Et.transformColumns,ga=Et.internalRefs,Ar=Et.tailor,Nr=Et.sticky,Pr=sn||Ln,pr=!!Pr.length,Fr=Lr===Ae,ta=ne.useCallback(function(Ra,Wa){return(0,Pe.Z)(or,Ra)||Wa},[or]),va=ne.useMemo(function(){return typeof nn=="function"?nn:function(Ra){var Wa=Ra&&Ra[nn];return Wa}},[nn]),fa=ta(["body"]),Yr=Hn(),ba=(0,E.Z)(Yr,3),Ca=ba[0],ja=ba[1],Fa=ba[2],Va=Jt(Et,Pr,va),Qa=(0,E.Z)(Va,6),ma=Qa[0],Xa=Qa[1],Oa=Qa[2],Ua=Qa[3],Ha=Qa[4],fo=Qa[5],ea=dn==null?void 0:dn.x,qr=ne.useState(0),Xr=(0,E.Z)(qr,2),jr=Xr[0],La=Xr[1],kr=wn((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},Et),ma),{},{expandable:!!ma.expandedRowRender,columnTitle:ma.columnTitle,expandedKeys:Oa,getRowKey:va,onTriggerExpand:fo,expandIcon:Ua,expandIconColumnIndex:ma.expandIconColumnIndex,direction:vn,scrollWidth:Fr&&Ar&&typeof ea=="number"?ea:null}),Fr?ia:null),ua=(0,E.Z)(kr,3),Ba=ua[0],Pa=ua[1],io=ua[2],ro=io!=null?io:ea,Oo=ne.useMemo(function(){return{columns:Ba,flattenColumns:Pa}},[Ba,Pa]),Ja=ne.useRef(),xo=ne.useRef(),qa=ne.useRef(),mo=ne.useRef(),ni=ne.useRef(),Ta=ne.useState(!1),Ma=(0,E.Z)(Ta,2),Ga=Ma[0],$a=Ma[1],eo=ne.useState(!1),Aa=(0,E.Z)(eo,2),uo=Aa[0],so=Aa[1],So=bn(new Map),No=(0,E.Z)(So,2),Lo=No[0],di=No[1],Uo=He(Pa),Bo=Uo.map(function(Ra){return Lo.get(Ra)}),po=ne.useMemo(function(){return Bo},[Bo.join("_")]),co=At(po,Pa.length,vn),to=dn&&Qe(dn.y),Za=dn&&Qe(ro)||!!ma.fixed,Mo=Za&&Pa.some(function(Ra){var Wa=Ra.fixed;return Wa}),ri=ne.useRef(),qo=gt(Nr,Dt),Ro=qo.isSticky,mi=qo.offsetHeader,Ai=qo.offsetSummary,Da=qo.offsetScroll,_a=qo.stickyClassName,ao=qo.container,Ka=ne.useMemo(function(){return Wn==null?void 0:Wn(Pr)},[Wn,Pr]),lo=(to||Ro)&&ne.isValidElement(Ka)&&Ka.type===ke&&Ka.props.fixed,ho,vo,Wo;to&&(vo={overflowY:"scroll",maxHeight:dn.y}),Za&&(ho={overflowX:"auto"},to||(vo={overflowY:"hidden"}),Wo={width:ro===!0?"auto":ro,minWidth:"100%"});var ki=ne.useCallback(function(Ra,Wa){(0,nt.Z)(Ja.current)&&di(function(Do){if(Do.get(Ra)!==Wa){var $o=new Map(Do);return $o.set(Ra,Wa),$o}return Do})},[]),Rs=Dn(null),_i=(0,E.Z)(Rs,2),js=_i[0],zi=_i[1];function pi(Ra,Wa){Wa&&(typeof Wa=="function"?Wa(Ra):Wa.scrollLeft!==Ra&&(Wa.scrollLeft=Ra,Wa.scrollLeft!==Ra&&setTimeout(function(){Wa.scrollLeft=Ra},0)))}var oi=(0,ye.Z)(function(Ra){var Wa=Ra.currentTarget,Do=Ra.scrollLeft,$o=vn==="rtl",ei=typeof Do=="number"?Do:Wa.scrollLeft,ts=Wa||Rn;if(!zi()||zi()===ts){var Di;js(ts),pi(ei,xo.current),pi(ei,qa.current),pi(ei,ni.current),pi(ei,(Di=ri.current)===null||Di===void 0?void 0:Di.setScrollLeft)}var Fi=Wa||xo.current;if(Fi){var Oi=Fi.scrollWidth,Li=Fi.clientWidth;if(Oi===Li){$a(!1),so(!1);return}$o?($a(-ei0)):($a(ei>0),so(ei1?cr-Fr:0,va=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},ia),nn),{},{flex:"0 0 ".concat(Fr,"px"),width:"".concat(Fr,"px"),marginRight:ta,pointerEvents:"auto"}),fa=ne.useMemo(function(){return xn?Pr<=1:Ar===0||Pr===0||Pr>1},[Pr,Ar,xn]);fa?va.visibility="hidden":xn&&(va.height=vn==null?void 0:vn(Pr));var Yr=fa?function(){return null}:Zn,ba={};return(Pr===0||Ar===0)&&(ba.rowSpan=1,ba.colSpan=1),ne.createElement(lt,(0,ie.Z)({className:we()(Wn,dn),ellipsis:Et.ellipsis,align:Et.align,scope:Et.rowScope,component:"div",prefixCls:st.prefixCls,key:br,record:sn,index:Nt,renderIndex:on,dataIndex:kn,render:Yr,shouldCellUpdate:Et.shouldCellUpdate},zr,{appendNode:Zr,additionalProps:(0,Ee.Z)((0,Ee.Z)({},Lr),{},{style:va},ba)}))}var Kn=ca,Xn=["data","index","className","rowKey","style","extra","getHeight"],Fn=ne.forwardRef(function(it,st){var Et=it.data,Dt=it.index,Tt=it.className,Nt=it.rowKey,on=it.style,sn=it.extra,nn=it.getHeight,dn=(0,Ie.Z)(it,Xn),xn=Et.record,vn=Et.indent,Zn=Et.index,kn=ue(ve,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Wn=kn.scrollX,cr=kn.flattenColumns,rr=kn.prefixCls,dr=kn.fixColumn,or=kn.componentWidth,br=ot(xn,Nt,Dt,vn),zr=br.rowSupportExpand,Zr=br.expanded,Lr=br.rowProps,ia=br.expandedRowRender,ga=br.expandedRowClassName,Ar;if(zr&&Zr){var Nr=ia(xn,Dt,vn+1,Zr),Pr=ga==null?void 0:ga(xn,Dt,vn),pr={};dr&&(pr={style:(0,Ce.Z)({},"--virtual-width","".concat(or,"px"))});var Fr="".concat(rr,"-expanded-row-cell");Ar=ne.createElement("div",{className:we()("".concat(rr,"-expanded-row"),"".concat(rr,"-expanded-row-level-").concat(vn+1),Pr)},ne.createElement(lt,{component:"div",prefixCls:rr,className:we()(Fr,(0,Ce.Z)({},"".concat(Fr,"-fixed"),dr)),additionalProps:pr},Nr))}var ta=(0,Ee.Z)((0,Ee.Z)({},on),{},{width:Wn});sn&&(ta.position="absolute",ta.pointerEvents="none");var va=ne.createElement("div",(0,ie.Z)({},Lr,dn,{ref:zr?null:st,className:we()(Tt,"".concat(rr,"-row"),Lr==null?void 0:Lr.className,(0,Ce.Z)({},"".concat(rr,"-row-extra"),sn)),style:(0,Ee.Z)((0,Ee.Z)({},ta),Lr==null?void 0:Lr.style)}),cr.map(function(fa,Yr){return ne.createElement(Kn,{key:Yr,rowInfo:br,column:fa,colIndex:Yr,indent:vn,index:Dt,renderIndex:Zn,record:xn,inverse:sn,getHeight:nn})}));return zr?ne.createElement("div",{ref:st},va,Ar):va}),Hr=te(Fn),Jr=Hr,Tr=ne.forwardRef(function(it,st){var Et=it.data,Dt=it.onScroll,Tt=ue(ve,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Nt=Tt.flattenColumns,on=Tt.onColumnResize,sn=Tt.getRowKey,nn=Tt.expandedKeys,dn=Tt.prefixCls,xn=Tt.childrenColumnName,vn=Tt.emptyNode,Zn=Tt.scrollX,kn=ue(Er),Wn=kn.scrollY,cr=kn.listItemHeight,rr=ne.useRef(),dr=bt(Et,xn,nn,sn),or=ne.useMemo(function(){var Ar=0;return Nt.map(function(Nr){var Pr=Nr.width,pr=Nr.key;return Ar+=Pr,[pr,Pr,Ar]})},[Nt]),br=ne.useMemo(function(){return or.map(function(Ar){return Ar[2]})},[or]);ne.useEffect(function(){or.forEach(function(Ar){var Nr=(0,E.Z)(Ar,2),Pr=Nr[0],pr=Nr[1];on(Pr,pr)})},[or]),ne.useImperativeHandle(st,function(){var Ar={};return Object.defineProperty(Ar,"scrollLeft",{get:function(){var Pr;return((Pr=rr.current)===null||Pr===void 0?void 0:Pr.getScrollInfo().x)||0},set:function(Pr){var pr;(pr=rr.current)===null||pr===void 0||pr.scrollTo({left:Pr})}}),Ar});var zr=function(Nr,Pr){var pr,Fr=(pr=dr[Pr])===null||pr===void 0?void 0:pr.record,ta=Nr.onCell;if(ta){var va,fa=ta(Fr,Pr);return(va=fa==null?void 0:fa.rowSpan)!==null&&va!==void 0?va:1}return 1},Zr=function(Nr){var Pr=Nr.start,pr=Nr.end,Fr=Nr.getSize,ta=Nr.offsetY;if(pr<0)return null;for(var va=Nt.filter(function(ea){return zr(ea,Pr)===0}),fa=Pr,Yr=function(qr){if(va=va.filter(function(Xr){return zr(Xr,qr)===0}),!va.length)return fa=qr,"break"},ba=Pr;ba>=0;ba-=1){var Ca=Yr(ba);if(Ca==="break")break}for(var ja=Nt.filter(function(ea){return zr(ea,pr)!==1}),Fa=pr,Va=function(qr){if(ja=ja.filter(function(Xr){return zr(Xr,qr)!==1}),!ja.length)return Fa=Math.max(qr-1,pr),"break"},Qa=pr;Qa1})&&Xa.push(qr)},Ua=fa;Ua<=Fa;Ua+=1)var Ha=Oa(Ua);var fo=Xa.map(function(ea){var qr=dr[ea],Xr=sn(qr.record,ea),jr=function(ua){var Ba=ea+ua-1,Pa=sn(dr[Ba].record,Ba),io=Fr(Xr,Pa);return io.bottom-io.top},La=Fr(Xr);return ne.createElement(Jr,{key:ea,data:qr,rowKey:Xr,index:ea,style:{top:-ta+La.top},extra:!0,getHeight:jr})});return fo},Lr=ne.useMemo(function(){return{columnsOffset:br}},[br]),ia="".concat(dn,"-tbody"),ga;return dr.length?ga=ne.createElement(Ir.Z,{fullHeight:!1,ref:rr,className:we()(ia,"".concat(ia,"-virtual")),height:Wn,itemHeight:cr||24,data:dr,itemKey:function(Nr){return sn(Nr.record)},scrollWidth:Zn,onVirtualScroll:function(Nr){var Pr=Nr.x;Dt({scrollLeft:Pr})},extraRender:Zr},function(Ar,Nr,Pr){var pr=sn(Ar.record,Nr);return ne.createElement(Jr,(0,ie.Z)({data:Ar,rowKey:pr,index:Nr},Pr))}):ga=ne.createElement("div",{className:we()("".concat(dn,"-placeholder"))},ne.createElement(lt,{component:"div",prefixCls:dn},vn)),ne.createElement($r.Provider,{value:Lr},ga)}),Or=te(Tr),Ur=Or,sa=function(st,Et){var Dt=Et.ref,Tt=Et.onScroll;return ne.createElement(Ur,{ref:Dt,data:st,onScroll:Tt})},ra=100;function xr(it){var st=it.columns,Et=it.scroll,Dt=it.prefixCls,Tt=Dt===void 0?vr:Dt,Nt=it.className,on=it.listItemHeight,sn=Et||{},nn=sn.x,dn=sn.y;typeof nn!="number"&&(nn=((st||[]).length+1)*ra),typeof dn!="number"&&(dn=500);var xn=ne.useMemo(function(){return{scrollY:dn,listItemHeight:on}},[dn,on]);return ne.createElement(Er.Provider,{value:xn},ne.createElement(lr,(0,ie.Z)({},it,{className:we()(Nt,"".concat(Tt,"-virtual")),scroll:(0,Ee.Z)((0,Ee.Z)({},Et),{},{x:nn}),components:{body:sa},columns:st,internalHooks:Ae,tailor:!0})))}function wr(it){return ee(xr,it)}var Br=wr(),Mr=null;function Wr(it){return null}var ha=Wr;function wa(it){return null}var Ia=wa,ka=fe(2738),Na=fe(68031),da=fe(36355),ya=fe(93891),za=fe(19716),Yt=fe(8628),hn=fe(31724),Nn=fe(58421),Mn=fe(71418),An=fe(88088);function mn(it){return function(Et){let{prefixCls:Dt,onExpand:Tt,record:Nt,expanded:on,expandable:sn}=Et;const nn=`${Dt}-row-expand-icon`;return ne.createElement("button",{type:"button",onClick:dn=>{Tt(Nt,dn),dn.stopPropagation()},className:we()(nn,{[`${nn}-spaced`]:!sn,[`${nn}-expanded`]:sn&&on,[`${nn}-collapsed`]:sn&&!on}),"aria-label":on?it.collapse:it.expand,"aria-expanded":on})}}var Sn=mn;function On(it,st){return"key"in it&&it.key!==void 0&&it.key!==null?it.key:it.dataIndex?Array.isArray(it.dataIndex)?it.dataIndex.join("."):it.dataIndex:st}function jn(it,st){return st?`${st}-${it}`:`${it}`}function ar(it,st){return typeof it=="function"?it(st):it}function Vn(it,st){const Et=ar(it,st);return Object.prototype.toString.call(Et)==="[object Object]"?"":Et}var Gr={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"},hr=Gr,pa=fe(7657),Rr=function(st,Et){return ne.createElement(pa.Z,(0,ie.Z)({},st,{ref:Et,icon:hr}))},gr=ne.forwardRef(Rr),_r=gr,Kr=fe(56762);function Un(it){const st=ne.useRef(it),Et=(0,Kr.Z)();return[()=>st.current,Dt=>{st.current=Dt,Et()}]}var mr=fe(3113),Wt=fe(24905),Rt=fe(38854),Kt=fe(64165),gn=fe(20834),Gn=fe(40875),qn=fe(5112),Cn=fe(17574),nr=fe(47472),yr=fe(92832);function Qr(it){let{value:st,onChange:Et,filterSearch:Dt,tablePrefixCls:Tt,locale:Nt}=it;return Dt?ne.createElement("div",{className:`${Tt}-filter-dropdown-search`},ne.createElement(yr.default,{prefix:ne.createElement(nr.Z,null),placeholder:Nt.filterSearchPlaceholder,onChange:Et,value:st,htmlSize:1,className:`${Tt}-filter-dropdown-search-input`})):null}var fr=Qr,er=fe(10228);const aa=it=>{const{keyCode:st}=it;st===er.Z.ENTER&&it.stopPropagation()};var Ea=ne.forwardRef((it,st)=>ne.createElement("div",{className:it.className,onClick:Et=>Et.stopPropagation(),onKeyDown:aa,ref:st},it.children));function Cr(it){let st=[];return(it||[]).forEach(Et=>{let{value:Dt,children:Tt}=Et;st.push(Dt),Tt&&(st=[].concat((0,un.Z)(st),(0,un.Z)(Cr(Tt))))}),st}function Jn(it){return it.some(st=>{let{children:Et}=st;return Et})}function Dr(it,st){return typeof st=="string"||typeof st=="number"?st==null?void 0:st.toString().toLowerCase().includes(it.trim().toLowerCase()):!1}function la(it){let{filters:st,prefixCls:Et,filteredKeys:Dt,filterMultiple:Tt,searchValue:Nt,filterSearch:on}=it;return st.map((sn,nn)=>{const dn=String(sn.value);if(sn.children)return{key:dn||nn,label:sn.text,popupClassName:`${Et}-dropdown-submenu`,children:la({filters:sn.children,prefixCls:Et,filteredKeys:Dt,filterMultiple:Tt,searchValue:Nt,filterSearch:on})};const xn=Tt?Wt.default:qn.ZP,vn={key:sn.value!==void 0?dn:nn,label:ne.createElement(ne.Fragment,null,ne.createElement(xn,{checked:Dt.includes(dn)}),ne.createElement("span",null,sn.text))};return Nt.trim()?typeof on=="function"?on(Nt,sn)?vn:null:Dr(Nt,sn.text)?vn:null:vn})}function xa(it){var st,Et;const{tablePrefixCls:Dt,prefixCls:Tt,column:Nt,dropdownPrefixCls:on,columnKey:sn,filterMultiple:nn,filterMode:dn="menu",filterSearch:xn=!1,filterState:vn,triggerFilter:Zn,locale:kn,children:Wn,getPopupContainer:cr}=it,{filterDropdownOpen:rr,onFilterDropdownOpenChange:dr,filterResetToDefaultFilteredValue:or,defaultFilteredValue:br,filterDropdownVisible:zr,onFilterDropdownVisibleChange:Zr}=Nt,[Lr,ia]=ne.useState(!1),ga=!!(vn&&(!((st=vn.filteredKeys)===null||st===void 0)&&st.length||vn.forceFiltered)),Ar=kr=>{ia(kr),dr==null||dr(kr),Zr==null||Zr(kr)},Nr=(Et=rr!=null?rr:zr)!==null&&Et!==void 0?Et:Lr,Pr=vn==null?void 0:vn.filteredKeys,[pr,Fr]=Un(Pr||[]),ta=kr=>{let{selectedKeys:ua}=kr;Fr(ua)},va=(kr,ua)=>{let{node:Ba,checked:Pa}=ua;ta(nn?{selectedKeys:kr}:{selectedKeys:Pa&&Ba.key?[Ba.key]:[]})};ne.useEffect(()=>{Lr&&ta({selectedKeys:Pr||[]})},[Pr]);const[fa,Yr]=ne.useState([]),ba=kr=>{Yr(kr)},[Ca,ja]=ne.useState(""),Fa=kr=>{const{value:ua}=kr.target;ja(ua)};ne.useEffect(()=>{Lr||ja("")},[Lr]);const Va=kr=>{const ua=kr&&kr.length?kr:null;if(ua===null&&(!vn||!vn.filteredKeys)||(0,le.Z)(ua,vn==null?void 0:vn.filteredKeys,!0))return null;Zn({column:Nt,key:sn,filteredKeys:ua})},Qa=()=>{Ar(!1),Va(pr())},ma=function(){let{confirm:kr,closeDropdown:ua}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};kr&&Va([]),ua&&Ar(!1),ja(""),Fr(or?(br||[]).map(Ba=>String(Ba)):[])},Xa=function(){let{closeDropdown:kr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};kr&&Ar(!1),Va(pr())},Oa=kr=>{kr&&Pr!==void 0&&Fr(Pr||[]),Ar(kr),!kr&&!Nt.filterDropdown&&Qa()},Ua=we()({[`${on}-menu-without-submenu`]:!Jn(Nt.filters||[])}),Ha=kr=>{if(kr.target.checked){const ua=Cr(Nt==null?void 0:Nt.filters).map(Ba=>String(Ba));Fr(ua)}else Fr([])},fo=kr=>{let{filters:ua}=kr;return(ua||[]).map((Ba,Pa)=>{const io=String(Ba.value),ro={title:Ba.text,key:Ba.value!==void 0?io:Pa};return Ba.children&&(ro.children=fo({filters:Ba.children})),ro})},ea=kr=>{var ua;return Object.assign(Object.assign({},kr),{text:kr.title,value:kr.key,children:((ua=kr.children)===null||ua===void 0?void 0:ua.map(Ba=>ea(Ba)))||[]})};let qr;if(typeof Nt.filterDropdown=="function")qr=Nt.filterDropdown({prefixCls:`${on}-custom`,setSelectedKeys:kr=>ta({selectedKeys:kr}),selectedKeys:pr(),confirm:Xa,clearFilters:ma,filters:Nt.filters,visible:Nr,close:()=>{Ar(!1)}});else if(Nt.filterDropdown)qr=Nt.filterDropdown;else{const kr=pr()||[],ua=()=>(Nt.filters||[]).length===0?ne.createElement(Kt.Z,{image:Kt.Z.PRESENTED_IMAGE_SIMPLE,description:kn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):dn==="tree"?ne.createElement(ne.Fragment,null,ne.createElement(fr,{filterSearch:xn,value:Ca,onChange:Fa,tablePrefixCls:Dt,locale:kn}),ne.createElement("div",{className:`${Dt}-filter-dropdown-tree`},nn?ne.createElement(Wt.default,{checked:kr.length===Cr(Nt.filters).length,indeterminate:kr.length>0&&kr.lengthtypeof xn=="function"?xn(Ca,ea(Pa)):Dr(Ca,Pa.title):void 0}))):ne.createElement(ne.Fragment,null,ne.createElement(fr,{filterSearch:xn,value:Ca,onChange:Fa,tablePrefixCls:Dt,locale:kn}),ne.createElement(gn.default,{selectable:!0,multiple:nn,prefixCls:`${on}-menu`,className:Ua,onSelect:ta,onDeselect:ta,selectedKeys:kr,getPopupContainer:cr,openKeys:fa,onOpenChange:ba,items:la({filters:Nt.filters||[],filterSearch:xn,prefixCls:Tt,filteredKeys:pr(),filterMultiple:nn,searchValue:Ca})})),Ba=()=>or?(0,le.Z)((br||[]).map(Pa=>String(Pa)),kr,!0):kr.length===0;qr=ne.createElement(ne.Fragment,null,ua(),ne.createElement("div",{className:`${Tt}-dropdown-btns`},ne.createElement(mr.ZP,{type:"link",size:"small",disabled:Ba(),onClick:()=>ma()},kn.filterReset),ne.createElement(mr.ZP,{type:"primary",size:"small",onClick:Qa},kn.filterConfirm)))}Nt.filterDropdown&&(qr=ne.createElement(Gn.J,{selectable:void 0},qr));const Xr=()=>ne.createElement(Ea,{className:`${Tt}-dropdown`},qr);let jr;typeof Nt.filterIcon=="function"?jr=Nt.filterIcon(ga):Nt.filterIcon?jr=Nt.filterIcon:jr=ne.createElement(_r,null);const{direction:La}=ne.useContext(da.E_);return ne.createElement("div",{className:`${Tt}-column`},ne.createElement("span",{className:`${Dt}-column-title`},Wn),ne.createElement(Rt.Z,{dropdownRender:Xr,trigger:["click"],open:Nr,onOpenChange:Oa,getPopupContainer:cr,placement:La==="rtl"?"bottomLeft":"bottomRight"},ne.createElement("span",{role:"button",tabIndex:-1,className:we()(`${Tt}-trigger`,{active:ga}),onClick:kr=>{kr.stopPropagation()}},jr)))}var no=xa;function Eo(it,st,Et){let Dt=[];return(it||[]).forEach((Tt,Nt)=>{var on;const sn=jn(Nt,Et);if(Tt.filters||"filterDropdown"in Tt||"onFilter"in Tt)if("filteredValue"in Tt){let nn=Tt.filteredValue;"filterDropdown"in Tt||(nn=(on=nn==null?void 0:nn.map(String))!==null&&on!==void 0?on:nn),Dt.push({column:Tt,key:On(Tt,sn),filteredKeys:nn,forceFiltered:Tt.filtered})}else Dt.push({column:Tt,key:On(Tt,sn),filteredKeys:st&&Tt.defaultFilteredValue?Tt.defaultFilteredValue:void 0,forceFiltered:Tt.filtered});"children"in Tt&&(Dt=[].concat((0,un.Z)(Dt),(0,un.Z)(Eo(Tt.children,st,sn))))}),Dt}function jo(it,st,Et,Dt,Tt,Nt,on,sn){return Et.map((nn,dn)=>{const xn=jn(dn,sn),{filterMultiple:vn=!0,filterMode:Zn,filterSearch:kn}=nn;let Wn=nn;if(Wn.filters||Wn.filterDropdown){const cr=On(Wn,xn),rr=Dt.find(dr=>{let{key:or}=dr;return cr===or});Wn=Object.assign(Object.assign({},Wn),{title:dr=>ne.createElement(no,{tablePrefixCls:it,prefixCls:`${it}-filter`,dropdownPrefixCls:st,column:Wn,columnKey:cr,filterState:rr,filterMultiple:vn,filterMode:Zn,filterSearch:kn,triggerFilter:Nt,locale:Tt,getPopupContainer:on},ar(nn.title,dr))})}return"children"in Wn&&(Wn=Object.assign(Object.assign({},Wn),{children:jo(it,st,Wn.children,Dt,Tt,Nt,on,xn)})),Wn})}function Zo(it){const st={};return it.forEach(Et=>{let{key:Dt,filteredKeys:Tt,column:Nt}=Et;const{filters:on,filterDropdown:sn}=Nt;if(sn)st[Dt]=Tt||null;else if(Array.isArray(Tt)){const nn=Cr(on);st[Dt]=nn.filter(dn=>Tt.includes(String(dn)))}else st[Dt]=null}),st}function Ko(it,st){return st.reduce((Et,Dt)=>{const{column:{onFilter:Tt,filters:Nt},filteredKeys:on}=Dt;return Tt&&on&&on.length?Et.filter(sn=>on.some(nn=>{const dn=Cr(Nt),xn=dn.findIndex(Zn=>String(Zn)===String(nn)),vn=xn!==-1?dn[xn]:nn;return Tt(vn,sn)})):Et},it)}const Vo=it=>it.flatMap(st=>"children"in st?[st].concat((0,un.Z)(Vo(st.children||[]))):[st]);function ko(it){let{prefixCls:st,dropdownPrefixCls:Et,mergedColumns:Dt,onFilterChange:Tt,getPopupContainer:Nt,locale:on}=it;const sn=ne.useMemo(()=>Vo(Dt||[]),[Dt]),[nn,dn]=ne.useState(()=>Eo(sn,!0)),xn=ne.useMemo(()=>{const Wn=Eo(sn,!1);if(Wn.length===0)return Wn;let cr=!0,rr=!0;if(Wn.forEach(dr=>{let{filteredKeys:or}=dr;or!==void 0?cr=!1:rr=!1}),cr){const dr=(sn||[]).map((or,br)=>On(or,jn(br)));return nn.filter(or=>{let{key:br}=or;return dr.includes(br)}).map(or=>{const br=sn[dr.findIndex(zr=>zr===or.key)];return Object.assign(Object.assign({},or),{column:Object.assign(Object.assign({},or.column),br),forceFiltered:br.filtered})})}return Wn},[sn,nn]),vn=ne.useMemo(()=>Zo(xn),[xn]),Zn=Wn=>{const cr=xn.filter(rr=>{let{key:dr}=rr;return dr!==Wn.key});cr.push(Wn),dn(cr),Tt(Zo(cr),cr)};return[Wn=>jo(st,Et,Wn,xn,on,Zn,Nt),xn,vn]}var Ao=ko;function _o(it,st,Et){const Dt=ne.useRef({});function Tt(Nt){if(!Dt.current||Dt.current.data!==it||Dt.current.childrenColumnName!==st||Dt.current.getRowKey!==Et){let sn=function(nn){nn.forEach((dn,xn)=>{const vn=Et(dn,xn);on.set(vn,dn),dn&&typeof dn=="object"&&st in dn&&sn(dn[st]||[])})};const on=new Map;sn(it),Dt.current={data:it,childrenColumnName:st,kvMap:on,getRowKey:Et}}return Dt.current.kvMap.get(Nt)}return[Tt]}var Fo=fe(50371),Qo=function(it,st){var Et={};for(var Dt in it)Object.prototype.hasOwnProperty.call(it,Dt)&&st.indexOf(Dt)<0&&(Et[Dt]=it[Dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Dt=Object.getOwnPropertySymbols(it);Tt{const Nt=it[Tt];typeof Nt!="function"&&(Et[Tt]=Nt)}),Et}function Yo(it,st,Et){const Dt=Et&&typeof Et=="object"?Et:{},{total:Tt=0}=Dt,Nt=Qo(Dt,["total"]),[on,sn]=(0,ne.useState)(()=>({current:"defaultCurrent"in Nt?Nt.defaultCurrent:1,pageSize:"defaultPageSize"in Nt?Nt.defaultPageSize:Po})),nn=(0,Fo.Z)(on,Nt,{total:Tt>0?Tt:it}),dn=Math.ceil((Tt||it)/nn.pageSize);nn.current>dn&&(nn.current=dn||1);const xn=(Zn,kn)=>{sn({current:Zn!=null?Zn:1,pageSize:kn||nn.pageSize})},vn=(Zn,kn)=>{var Wn;Et&&((Wn=Et.onChange)===null||Wn===void 0||Wn.call(Et,Zn,kn)),xn(Zn,kn),st(Zn,kn||(nn==null?void 0:nn.pageSize))};return Et===!1?[{},()=>{}]:[Object.assign(Object.assign({},nn),{onChange:vn}),xn]}var ai=Yo,ii=fe(84105),Xo=fe(35654),ti=fe(90782),bi=fe(71430),Si=fe(18929);const Io={},si="SELECT_ALL",li="SELECT_INVERT",Vr="SELECT_NONE",Sa=[],oo=(it,st)=>{let Et=[];return(st||[]).forEach(Dt=>{Et.push(Dt),Dt&&typeof Dt=="object"&&it in Dt&&(Et=[].concat((0,un.Z)(Et),(0,un.Z)(oo(it,Dt[it]))))}),Et};var Jo=(it,st)=>{const{preserveSelectedRowKeys:Et,selectedRowKeys:Dt,defaultSelectedRowKeys:Tt,getCheckboxProps:Nt,onChange:on,onSelect:sn,onSelectAll:nn,onSelectInvert:dn,onSelectNone:xn,onSelectMultiple:vn,columnWidth:Zn,type:kn,selections:Wn,fixed:cr,renderCell:rr,hideSelectAll:dr,checkStrictly:or=!0}=st||{},{prefixCls:br,data:zr,pageData:Zr,getRecordByKey:Lr,getRowKey:ia,expandType:ga,childrenColumnName:Ar,locale:Nr,getPopupContainer:Pr}=it,[pr,Fr]=(0,Si.Z)(Dt||Tt||Sa,{value:Dt}),ta=ne.useRef(new Map),va=(0,ne.useCallback)(ea=>{if(Et){const qr=new Map;ea.forEach(Xr=>{let jr=Lr(Xr);!jr&&ta.current.has(Xr)&&(jr=ta.current.get(Xr)),qr.set(Xr,jr)}),ta.current=qr}},[Lr,Et]);ne.useEffect(()=>{va(pr)},[pr]);const{keyEntities:fa}=(0,ne.useMemo)(()=>{if(or)return{keyEntities:null};let ea=zr;if(Et){const qr=new Set(zr.map((jr,La)=>ia(jr,La))),Xr=Array.from(ta.current).reduce((jr,La)=>{let[kr,ua]=La;return qr.has(kr)?jr:jr.concat(ua)},[]);ea=[].concat((0,un.Z)(ea),(0,un.Z)(Xr))}return(0,bi.I8)(ea,{externalGetKey:ia,childrenPropName:Ar})},[zr,ia,or,Ar,Et]),Yr=(0,ne.useMemo)(()=>oo(Ar,Zr),[Ar,Zr]),ba=(0,ne.useMemo)(()=>{const ea=new Map;return Yr.forEach((qr,Xr)=>{const jr=ia(qr,Xr),La=(Nt?Nt(qr):null)||{};ea.set(jr,La)}),ea},[Yr,ia,Nt]),Ca=(0,ne.useCallback)(ea=>{var qr;return!!(!((qr=ba.get(ia(ea)))===null||qr===void 0)&&qr.disabled)},[ba,ia]),[ja,Fa]=(0,ne.useMemo)(()=>{if(or)return[pr||[],[]];const{checkedKeys:ea,halfCheckedKeys:qr}=(0,ti.S)(pr,!0,fa,Ca);return[ea||[],qr]},[pr,or,fa,Ca]),Va=(0,ne.useMemo)(()=>{const ea=kn==="radio"?ja.slice(0,1):ja;return new Set(ea)},[ja,kn]),Qa=(0,ne.useMemo)(()=>kn==="radio"?new Set:new Set(Fa),[Fa,kn]),[ma,Xa]=(0,ne.useState)(null);ne.useEffect(()=>{st||Fr(Sa)},[!!st]);const Oa=(0,ne.useCallback)((ea,qr)=>{let Xr,jr;va(ea),Et?(Xr=ea,jr=ea.map(La=>ta.current.get(La))):(Xr=[],jr=[],ea.forEach(La=>{const kr=Lr(La);kr!==void 0&&(Xr.push(La),jr.push(kr))})),Fr(Xr),on==null||on(Xr,jr,{type:qr})},[Fr,Lr,on,Et]),Ua=(0,ne.useCallback)((ea,qr,Xr,jr)=>{if(sn){const La=Xr.map(kr=>Lr(kr));sn(Lr(ea),qr,La,jr)}Oa(Xr,"single")},[sn,Lr,Oa]),Ha=(0,ne.useMemo)(()=>!Wn||dr?null:(Wn===!0?[si,li,Vr]:Wn).map(qr=>qr===si?{key:"all",text:Nr.selectionAll,onSelect(){Oa(zr.map((Xr,jr)=>ia(Xr,jr)).filter(Xr=>{const jr=ba.get(Xr);return!(jr!=null&&jr.disabled)||Va.has(Xr)}),"all")}}:qr===li?{key:"invert",text:Nr.selectInvert,onSelect(){const Xr=new Set(Va);Zr.forEach((La,kr)=>{const ua=ia(La,kr),Ba=ba.get(ua);Ba!=null&&Ba.disabled||(Xr.has(ua)?Xr.delete(ua):Xr.add(ua))});const jr=Array.from(Xr);dn&&dn(jr),Oa(jr,"invert")}}:qr===Vr?{key:"none",text:Nr.selectNone,onSelect(){xn==null||xn(),Oa(Array.from(Va).filter(Xr=>{const jr=ba.get(Xr);return jr==null?void 0:jr.disabled}),"none")}}:qr).map(qr=>Object.assign(Object.assign({},qr),{onSelect:function(){for(var Xr,jr,La=arguments.length,kr=new Array(La),ua=0;ua{var qr;if(!st)return ea.filter(Ta=>Ta!==Io);let Xr=(0,un.Z)(ea);const jr=new Set(Va),La=Yr.map(ia).filter(Ta=>!ba.get(Ta).disabled),kr=La.every(Ta=>jr.has(Ta)),ua=La.some(Ta=>jr.has(Ta)),Ba=()=>{const Ta=[];kr?La.forEach(Ga=>{jr.delete(Ga),Ta.push(Ga)}):La.forEach(Ga=>{jr.has(Ga)||(jr.add(Ga),Ta.push(Ga))});const Ma=Array.from(jr);nn==null||nn(!kr,Ma.map(Ga=>Lr(Ga)),Ta.map(Ga=>Lr(Ga))),Oa(Ma,"all"),Xa(null)};let Pa;if(kn!=="radio"){let Ta;if(Ha){const Aa={getPopupContainer:Pr,items:Ha.map((uo,so)=>{const{key:So,text:No,onSelect:Lo}=uo;return{key:So!=null?So:so,onClick:()=>{Lo==null||Lo(La)},label:No}})};Ta=ne.createElement("div",{className:`${br}-selection-extra`},ne.createElement(Rt.Z,{menu:Aa,getPopupContainer:Pr},ne.createElement("span",null,ne.createElement(ii.Z,null))))}const Ma=Yr.map((Aa,uo)=>{const so=ia(Aa,uo),So=ba.get(so)||{};return Object.assign({checked:jr.has(so)},So)}).filter(Aa=>{let{disabled:uo}=Aa;return uo}),Ga=!!Ma.length&&Ma.length===Yr.length,$a=Ga&&Ma.every(Aa=>{let{checked:uo}=Aa;return uo}),eo=Ga&&Ma.some(Aa=>{let{checked:uo}=Aa;return uo});Pa=!dr&&ne.createElement("div",{className:`${br}-selection`},ne.createElement(Wt.default,{checked:Ga?$a:!!Yr.length&&kr,indeterminate:Ga?!$a&&eo:!kr&&ua,onChange:Ba,disabled:Yr.length===0||Ga,"aria-label":Ta?"Custom selection":"Select all",skipGroup:!0}),Ta)}let io;kn==="radio"?io=(Ta,Ma,Ga)=>{const $a=ia(Ma,Ga),eo=jr.has($a);return{node:ne.createElement(qn.ZP,Object.assign({},ba.get($a),{checked:eo,onClick:Aa=>Aa.stopPropagation(),onChange:Aa=>{jr.has($a)||Ua($a,!0,[$a],Aa.nativeEvent)}})),checked:eo}}:io=(Ta,Ma,Ga)=>{var $a;const eo=ia(Ma,Ga),Aa=jr.has(eo),uo=Qa.has(eo),so=ba.get(eo);let So;return ga==="nest"?So=uo:So=($a=so==null?void 0:so.indeterminate)!==null&&$a!==void 0?$a:uo,{node:ne.createElement(Wt.default,Object.assign({},so,{indeterminate:So,checked:Aa,skipGroup:!0,onClick:No=>No.stopPropagation(),onChange:No=>{let{nativeEvent:Lo}=No;const{shiftKey:di}=Lo;let Uo=-1,Bo=-1;if(di&&or){const po=new Set([ma,eo]);La.some((co,to)=>{if(po.has(co))if(Uo===-1)Uo=to;else return Bo=to,!0;return!1})}if(Bo!==-1&&Uo!==Bo&&or){const po=La.slice(Uo,Bo+1),co=[];Aa?po.forEach(Za=>{jr.has(Za)&&(co.push(Za),jr.delete(Za))}):po.forEach(Za=>{jr.has(Za)||(co.push(Za),jr.add(Za))});const to=Array.from(jr);vn==null||vn(!Aa,to.map(Za=>Lr(Za)),co.map(Za=>Lr(Za))),Oa(to,"multiple")}else{const po=ja;if(or){const co=Aa?(0,Xo._5)(po,eo):(0,Xo.L0)(po,eo);Ua(eo,!Aa,co,Lo)}else{const co=(0,ti.S)([].concat((0,un.Z)(po),[eo]),!0,fa,Ca),{checkedKeys:to,halfCheckedKeys:Za}=co;let Mo=to;if(Aa){const ri=new Set(to);ri.delete(eo),Mo=(0,ti.S)(Array.from(ri),{checked:!1,halfCheckedKeys:Za},fa,Ca).checkedKeys}Ua(eo,!Aa,Mo,Lo)}}Xa(Aa?null:eo)}})),checked:Aa}};const ro=(Ta,Ma,Ga)=>{const{node:$a,checked:eo}=io(Ta,Ma,Ga);return rr?rr(eo,Ma,Ga,$a):$a};if(!Xr.includes(Io))if(Xr.findIndex(Ta=>{var Ma;return((Ma=Ta[In])===null||Ma===void 0?void 0:Ma.columnType)==="EXPAND_COLUMN"})===0){const[Ta,...Ma]=Xr;Xr=[Ta,Io].concat((0,un.Z)(Ma))}else Xr=[Io].concat((0,un.Z)(Xr));const Oo=Xr.indexOf(Io);Xr=Xr.filter((Ta,Ma)=>Ta!==Io||Ma===Oo);const Ja=Xr[Oo-1],xo=Xr[Oo+1];let qa=cr;qa===void 0&&((xo==null?void 0:xo.fixed)!==void 0?qa=xo.fixed:(Ja==null?void 0:Ja.fixed)!==void 0&&(qa=Ja.fixed)),qa&&Ja&&((qr=Ja[In])===null||qr===void 0?void 0:qr.columnType)==="EXPAND_COLUMN"&&Ja.fixed===void 0&&(Ja.fixed=qa);const mo=we()(`${br}-selection-col`,{[`${br}-selection-col-with-dropdown`]:Wn&&kn==="checkbox"}),ni={fixed:qa,width:Zn,className:`${br}-selection-column`,title:st.columnTitle||Pa,render:ro,onCell:st.onCell,[In]:{className:mo}};return Xr.map(Ta=>Ta===Io?ni:Ta)},[ia,Yr,st,ja,Va,Qa,Zn,Ha,ga,ma,ba,vn,Ua,Ca]),Va]},zo=fe(89489),bo=fe(59477),Ya=fe(6848);const wo="ascend",ui="descend";function To(it){return typeof it.sorter=="object"&&typeof it.sorter.multiple=="number"?it.sorter.multiple:!1}function fi(it){return typeof it=="function"?it:it&&typeof it=="object"&&it.compare?it.compare:!1}function is(it,st){return st?it[it.indexOf(st)+1]:it[0]}function Ei(it,st,Et){let Dt=[];function Tt(Nt,on){Dt.push({column:Nt,key:On(Nt,on),multiplePriority:To(Nt),sortOrder:Nt.sortOrder})}return(it||[]).forEach((Nt,on)=>{const sn=jn(on,Et);Nt.children?("sortOrder"in Nt&&Tt(Nt,sn),Dt=[].concat((0,un.Z)(Dt),(0,un.Z)(Ei(Nt.children,st,sn)))):Nt.sorter&&("sortOrder"in Nt?Tt(Nt,sn):st&&Nt.defaultSortOrder&&Dt.push({column:Nt,key:On(Nt,sn),multiplePriority:To(Nt),sortOrder:Nt.defaultSortOrder}))}),Dt}function Ti(it,st,Et,Dt,Tt,Nt,on,sn){return(st||[]).map((nn,dn)=>{const xn=jn(dn,sn);let vn=nn;if(vn.sorter){const Zn=vn.sortDirections||Tt,kn=vn.showSorterTooltip===void 0?on:vn.showSorterTooltip,Wn=On(vn,xn),cr=Et.find(ga=>{let{key:Ar}=ga;return Ar===Wn}),rr=cr?cr.sortOrder:null,dr=is(Zn,rr);let or;if(nn.sortIcon)or=nn.sortIcon({sortOrder:rr});else{const ga=Zn.includes(wo)&&ne.createElement(bo.Z,{className:we()(`${it}-column-sorter-up`,{active:rr===wo})}),Ar=Zn.includes(ui)&&ne.createElement(zo.Z,{className:we()(`${it}-column-sorter-down`,{active:rr===ui})});or=ne.createElement("span",{className:we()(`${it}-column-sorter`,{[`${it}-column-sorter-full`]:!!(ga&&Ar)})},ne.createElement("span",{className:`${it}-column-sorter-inner`,"aria-hidden":"true"},ga,Ar))}const{cancelSort:br,triggerAsc:zr,triggerDesc:Zr}=Nt||{};let Lr=br;dr===ui?Lr=Zr:dr===wo&&(Lr=zr);const ia=typeof kn=="object"?kn:{title:Lr};vn=Object.assign(Object.assign({},vn),{className:we()(vn.className,{[`${it}-column-sort`]:rr}),title:ga=>{const Ar=ne.createElement("div",{className:`${it}-column-sorters`},ne.createElement("span",{className:`${it}-column-title`},ar(nn.title,ga)),or);return kn?ne.createElement(Ya.Z,Object.assign({},ia),Ar):Ar},onHeaderCell:ga=>{const Ar=nn.onHeaderCell&&nn.onHeaderCell(ga)||{},Nr=Ar.onClick,Pr=Ar.onKeyDown;Ar.onClick=ta=>{Dt({column:nn,key:Wn,sortOrder:dr,multiplePriority:To(nn)}),Nr==null||Nr(ta)},Ar.onKeyDown=ta=>{ta.keyCode===er.Z.ENTER&&(Dt({column:nn,key:Wn,sortOrder:dr,multiplePriority:To(nn)}),Pr==null||Pr(ta))};const pr=Vn(nn.title,{}),Fr=pr==null?void 0:pr.toString();return rr?Ar["aria-sort"]=rr==="ascend"?"ascending":"descending":Ar["aria-label"]=Fr||"",Ar.className=we()(Ar.className,`${it}-column-has-sorters`),Ar.tabIndex=0,nn.ellipsis&&(Ar.title=(pr!=null?pr:"").toString()),Ar}})}return"children"in vn&&(vn=Object.assign(Object.assign({},vn),{children:Ti(it,vn.children,Et,Dt,Tt,Nt,on,xn)})),vn})}function Ni(it){const{column:st,sortOrder:Et}=it;return{column:st,order:Et,field:st.dataIndex,columnKey:st.key}}function Mi(it){const st=it.filter(Et=>{let{sortOrder:Dt}=Et;return Dt}).map(Ni);return st.length===0&&it.length?Object.assign(Object.assign({},Ni(it[it.length-1])),{column:void 0}):st.length<=1?st[0]||{}:st}function Ci(it,st,Et){const Dt=st.slice().sort((on,sn)=>sn.multiplePriority-on.multiplePriority),Tt=it.slice(),Nt=Dt.filter(on=>{let{column:{sorter:sn},sortOrder:nn}=on;return fi(sn)&&nn});return Nt.length?Tt.sort((on,sn)=>{for(let nn=0;nn{const sn=on[Et];return sn?Object.assign(Object.assign({},on),{[Et]:Ci(sn,st,Et)}):on}):Tt}function ss(it){let{prefixCls:st,mergedColumns:Et,onSorterChange:Dt,sortDirections:Tt,tableLocale:Nt,showSorterTooltip:on}=it;const[sn,nn]=ne.useState(Ei(Et,!0)),dn=ne.useMemo(()=>{let Wn=!0;const cr=Ei(Et,!1);if(!cr.length)return sn;const rr=[];function dr(br){Wn?rr.push(br):rr.push(Object.assign(Object.assign({},br),{sortOrder:null}))}let or=null;return cr.forEach(br=>{or===null?(dr(br),br.sortOrder&&(br.multiplePriority===!1?Wn=!1:or=!0)):(or&&br.multiplePriority!==!1||(Wn=!1),dr(br))}),rr},[Et,sn]),xn=ne.useMemo(()=>{const Wn=dn.map(cr=>{let{column:rr,sortOrder:dr}=cr;return{column:rr,order:dr}});return{sortColumns:Wn,sortColumn:Wn[0]&&Wn[0].column,sortOrder:Wn[0]&&Wn[0].order}},[dn]);function vn(Wn){let cr;Wn.multiplePriority===!1||!dn.length||dn[0].multiplePriority===!1?cr=[Wn]:cr=[].concat((0,un.Z)(dn.filter(rr=>{let{key:dr}=rr;return dr!==Wn.key})),[Wn]),nn(cr),Dt(Mi(cr),cr)}return[Wn=>Ti(st,Wn,dn,vn,Tt,Nt,on),dn,xn,()=>Mi(dn)]}function Ri(it,st){return it.map(Et=>{const Dt=Object.assign({},Et);return Dt.title=ar(Et.title,st),"children"in Dt&&(Dt.children=Ri(Dt.children,st)),Dt})}function ls(it){return[ne.useCallback(Et=>Ri(Et,it),[it])]}var us=ur((it,st)=>{const{_renderTimes:Et}=it,{_renderTimes:Dt}=st;return Et!==Dt}),cs=wr((it,st)=>{const{_renderTimes:Et}=it,{_renderTimes:Dt}=st;return Et!==Dt}),ci=fe(64993),gi=fe(17313),ds=fe(83116),fs=fe(37613),gs=it=>{const{componentCls:st}=it,Et=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`,Dt=(Tt,Nt,on)=>({[`&${st}-${Tt}`]:{[`> ${st}-container`]:{[`> ${st}-content, > ${st}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${st}-expanded-row-fixed`]:{margin:`-${Nt}px -${on+it.lineWidth}px`}}}}}});return{[`${st}-wrapper`]:{[`${st}${st}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${st}-title`]:{border:Et,borderBottom:0},[`> ${st}-container`]:{borderInlineStart:Et,borderTop:Et,[` - > ${st}-content, - > ${st}-header, - > ${st}-body, - > ${st}-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:Et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${st}-cell-fix-right-first::after`]:{borderInlineEnd:Et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${st}-expanded-row-fixed`]:{margin:`-${it.tablePaddingVertical}px -${it.tablePaddingHorizontal+it.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:it.lineWidth,bottom:0,borderInlineEnd:Et,content:'""'}}}}}},[`&${st}-scroll-horizontal`]:{[`> ${st}-container > ${st}-body`]:{"> table > tbody":{[` - > tr${st}-expanded-row, - > tr${st}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},Dt("middle",it.tablePaddingVerticalMiddle,it.tablePaddingHorizontalMiddle)),Dt("small",it.tablePaddingVerticalSmall,it.tablePaddingHorizontalSmall)),{[`> ${st}-footer`]:{border:Et,borderTop:0}}),[`${st}-cell`]:{[`${st}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${it.lineWidth}px 0 ${it.lineWidth}px ${it.tableHeaderBg}`}},[`${st}-bordered ${st}-cell-scrollbar`]:{borderInlineEnd:Et}}}},ms=it=>{const{componentCls:st}=it;return{[`${st}-wrapper`]:{[`${st}-cell-ellipsis`]:Object.assign(Object.assign({},gi.vS),{wordBreak:"keep-all",[` - &${st}-cell-fix-left-last, - &${st}-cell-fix-right-first - `]:{overflow:"visible",[`${st}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${st}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ps=it=>{const{componentCls:st}=it;return{[`${st}-wrapper`]:{[`${st}-tbody > tr${st}-placeholder`]:{textAlign:"center",color:it.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:it.colorBgContainer}}}}},hs=fe(15969),vs=it=>{const{componentCls:st,antCls:Et,controlInteractiveSize:Dt,motionDurationSlow:Tt,lineWidth:Nt,paddingXS:on,lineType:sn,tableBorderColor:nn,tableExpandIconBg:dn,tableExpandColumnWidth:xn,borderRadius:vn,fontSize:Zn,fontSizeSM:kn,lineHeight:Wn,tablePaddingVertical:cr,tablePaddingHorizontal:rr,tableExpandedRowBg:dr,paddingXXS:or}=it,br=Dt/2-Nt,zr=br*2+Nt*3,Zr=`${Nt}px ${sn} ${nn}`,Lr=or-Nt;return{[`${st}-wrapper`]:{[`${st}-expand-icon-col`]:{width:xn},[`${st}-row-expand-icon-cell`]:{textAlign:"center",[`${st}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${st}-row-indent`]:{height:1,float:"left"},[`${st}-row-expand-icon`]:Object.assign(Object.assign({},(0,hs.N)(it)),{position:"relative",float:"left",boxSizing:"border-box",width:zr,height:zr,padding:0,color:"inherit",lineHeight:`${zr}px`,background:dn,border:Zr,borderRadius:vn,transform:`scale(${Dt/zr})`,transition:`all ${Tt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Tt} ease-out`,content:'""'},"&::before":{top:br,insetInlineEnd:Lr,insetInlineStart:Lr,height:Nt},"&::after":{top:Lr,bottom:Lr,insetInlineStart:br,width:Nt,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"}}),[`${st}-row-indent + ${st}-row-expand-icon`]:{marginTop:(Zn*Wn-Nt*3)/2-Math.ceil((kn*1.4-Nt*3)/2),marginInlineEnd:on},[`tr${st}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:dr}},[`${Et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${st}-expanded-row-fixed`]:{position:"relative",margin:`-${cr}px -${rr}px`,padding:`${cr}px ${rr}px`}}}},ys=it=>{const{componentCls:st,antCls:Et,iconCls:Dt,tableFilterDropdownWidth:Tt,tableFilterDropdownSearchWidth:Nt,paddingXXS:on,paddingXS:sn,colorText:nn,lineWidth:dn,lineType:xn,tableBorderColor:vn,tableHeaderIconColor:Zn,fontSizeSM:kn,tablePaddingHorizontal:Wn,borderRadius:cr,motionDurationSlow:rr,colorTextDescription:dr,colorPrimary:or,tableHeaderFilterActiveBg:br,colorTextDisabled:zr,tableFilterDropdownBg:Zr,tableFilterDropdownHeight:Lr,controlItemBgHover:ia,controlItemBgActive:ga,boxShadowSecondary:Ar,filterDropdownMenuBg:Nr}=it,Pr=`${Et}-dropdown`,pr=`${st}-filter-dropdown`,Fr=`${Et}-tree`,ta=`${dn}px ${xn} ${vn}`;return[{[`${st}-wrapper`]:{[`${st}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${st}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-on,marginInline:`${on}px ${-Wn/2}px`,padding:`0 ${on}px`,color:Zn,fontSize:kn,borderRadius:cr,cursor:"pointer",transition:`all ${rr}`,"&:hover":{color:dr,background:br},"&.active":{color:or}}}},{[`${Et}-dropdown`]:{[pr]:Object.assign(Object.assign({},(0,gi.Wf)(it)),{minWidth:Tt,backgroundColor:Zr,borderRadius:cr,boxShadow:Ar,overflow:"hidden",[`${Pr}-menu`]:{maxHeight:Lr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Nr,"&:empty::after":{display:"block",padding:`${sn}px 0`,color:zr,fontSize:kn,textAlign:"center",content:'"Not Found"'}},[`${pr}-tree`]:{paddingBlock:`${sn}px 0`,paddingInline:sn,[Fr]:{padding:0},[`${Fr}-treenode ${Fr}-node-content-wrapper:hover`]:{backgroundColor:ia},[`${Fr}-treenode-checkbox-checked ${Fr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ga}}},[`${pr}-search`]:{padding:sn,borderBottom:ta,"&-input":{input:{minWidth:Nt},[Dt]:{color:zr}}},[`${pr}-checkall`]:{width:"100%",marginBottom:on,marginInlineStart:on},[`${pr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${sn-dn}px ${sn}px`,overflow:"hidden",borderTop:ta}})}},{[`${Et}-dropdown ${pr}, ${pr}-submenu`]:{[`${Et}-checkbox-wrapper + span`]:{paddingInlineStart:sn,color:nn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},bs=it=>{const{componentCls:st,lineWidth:Et,colorSplit:Dt,motionDurationSlow:Tt,zIndexTableFixed:Nt,tableBg:on,zIndexTableSticky:sn}=it,nn=Dt;return{[`${st}-wrapper`]:{[` - ${st}-cell-fix-left, - ${st}-cell-fix-right - `]:{position:"sticky !important",zIndex:Nt,background:on},[` - ${st}-cell-fix-left-first::after, - ${st}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Et,width:30,transform:"translateX(100%)",transition:`box-shadow ${Tt}`,content:'""',pointerEvents:"none"},[`${st}-cell-fix-left-all::after`]:{display:"none"},[` - ${st}-cell-fix-right-first::after, - ${st}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-Et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Tt}`,content:'""',pointerEvents:"none"},[`${st}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:sn+1,width:30,transition:`box-shadow ${Tt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${st}-ping-left`]:{[`&:not(${st}-has-fix-left) ${st}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${nn}`}},[` - ${st}-cell-fix-left-first::after, - ${st}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${nn}`},[`${st}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${st}-ping-right`]:{[`&:not(${st}-has-fix-right) ${st}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${nn}`}},[` - ${st}-cell-fix-right-first::after, - ${st}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${nn}`}}}}},Ss=it=>{const{componentCls:st,antCls:Et}=it;return{[`${st}-wrapper`]:{[`${st}-pagination${Et}-pagination`]:{margin:`${it.margin}px 0`},[`${st}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:it.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Es=it=>{const{componentCls:st,tableRadius:Et}=it;return{[`${st}-wrapper`]:{[st]:{[`${st}-title, ${st}-header`]:{borderRadius:`${Et}px ${Et}px 0 0`},[`${st}-title + ${st}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${st}-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:Et,borderStartEndRadius:Et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Et},"> *:last-child":{borderStartEndRadius:Et}}},"&-footer":{borderRadius:`0 0 ${Et}px ${Et}px`}}}}},Cs=it=>{const{componentCls:st}=it;return{[`${st}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${st}-pagination-left`]:{justifyContent:"flex-end"},[`${st}-pagination-right`]:{justifyContent:"flex-start"},[`${st}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${st}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${st}-row-indent`]:{float:"right"}}}}},As=it=>{const{componentCls:st,antCls:Et,iconCls:Dt,fontSizeIcon:Tt,padding:Nt,paddingXS:on,tableHeaderIconColor:sn,tableHeaderIconColorHover:nn,tableSelectionColumnWidth:dn}=it;return{[`${st}-wrapper`]:{[`${st}-selection-col`]:{width:dn,[`&${st}-selection-col-with-dropdown`]:{width:dn+Tt+Nt/4}},[`${st}-bordered ${st}-selection-col`]:{width:dn+on*2,[`&${st}-selection-col-with-dropdown`]:{width:dn+Tt+Nt/4+on*2}},[` - table tr th${st}-selection-column, - table tr td${st}-selection-column - `]:{paddingInlineEnd:it.paddingXS,paddingInlineStart:it.paddingXS,textAlign:"center",[`${Et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${st}-selection-column${st}-cell-fix-left`]:{zIndex:it.zIndexTableFixed+1},[`table tr th${st}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${st}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${st}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${it.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${it.tablePaddingHorizontal/4}px`,[Dt]:{color:sn,fontSize:Tt,verticalAlign:"baseline","&:hover":{color:nn}}}}}},Ps=it=>{const{componentCls:st}=it,Et=(Dt,Tt,Nt,on)=>({[`${st}${st}-${Dt}`]:{fontSize:on,[` - ${st}-title, - ${st}-footer, - ${st}-cell, - ${st}-thead > tr > th, - ${st}-tbody > tr > th, - ${st}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${Tt}px ${Nt}px`},[`${st}-filter-trigger`]:{marginInlineEnd:`-${Nt/2}px`},[`${st}-expanded-row-fixed`]:{margin:`-${Tt}px -${Nt}px`},[`${st}-tbody`]:{[`${st}-wrapper:only-child ${st}`]:{marginBlock:`-${Tt}px`,marginInline:`${it.tableExpandColumnWidth-Nt}px -${Nt}px`}},[`${st}-selection-column`]:{paddingInlineStart:`${Nt/4}px`}}});return{[`${st}-wrapper`]:Object.assign(Object.assign({},Et("middle",it.tablePaddingVerticalMiddle,it.tablePaddingHorizontalMiddle,it.tableFontSizeMiddle)),Et("small",it.tablePaddingVerticalSmall,it.tablePaddingHorizontalSmall,it.tableFontSizeSmall))}},ws=it=>{const{componentCls:st,marginXXS:Et,fontSizeIcon:Dt,tableHeaderIconColor:Tt,tableHeaderIconColorHover:Nt}=it;return{[`${st}-wrapper`]:{[`${st}-thead th${st}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${it.motionDurationSlow}`,"&:hover":{background:it.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:it.colorPrimary},[` - &${st}-cell-fix-left:hover, - &${st}-cell-fix-right:hover - `]:{background:it.tableFixedHeaderSortActiveBg}},[`${st}-thead th${st}-column-sort`]:{background:it.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${st}-column-sort`]:{background:it.tableBodySortBg},[`${st}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${st}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${st}-column-sorter`]:{marginInlineStart:Et,color:Tt,fontSize:0,transition:`color ${it.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Dt,"&.active":{color:it.colorPrimary}},[`${st}-column-sorter-up + ${st}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${st}-column-sorters:hover ${st}-column-sorter`]:{color:Nt}}}},xs=it=>{const{componentCls:st,opacityLoading:Et,tableScrollThumbBg:Dt,tableScrollThumbBgHover:Tt,tableScrollThumbSize:Nt,tableScrollBg:on,zIndexTableSticky:sn,stickyScrollBarBorderRadius:nn}=it,dn=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`;return{[`${st}-wrapper`]:{[`${st}-sticky`]:{"&-holder":{position:"sticky",zIndex:sn,background:it.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Nt}px !important`,zIndex:sn,display:"flex",alignItems:"center",background:on,borderTop:dn,opacity:Et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Nt,backgroundColor:Dt,borderRadius:nn,transition:`all ${it.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Tt}}}}}}},ji=it=>{const{componentCls:st,lineWidth:Et,tableBorderColor:Dt}=it,Tt=`${Et}px ${it.lineType} ${Dt}`;return{[`${st}-wrapper`]:{[`${st}-summary`]:{position:"relative",zIndex:it.zIndexTableFixed,background:it.tableBg,"> tr":{"> th, > td":{borderBottom:Tt}}},[`div${st}-summary`]:{boxShadow:`0 -${Et}px 0 ${Dt}`}}}},Bs=it=>{const{componentCls:st}=it,Et=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`,Dt=`${st}-expanded-row-cell`;return{[`${st}-wrapper`]:{[`${st}-tbody-virtual`]:{[`${st}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${st}-cell`]:{borderBottom:Et},[`${st}-expanded-row`]:{[`${Dt}${Dt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${it.lineWidth}px)`,borderInlineEnd:"none"}}},[`${st}-bordered`]:{[`${st}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Et,position:"absolute"},[`${st}-cell`]:{borderInlineEnd:Et,[`&${st}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-it.lineWidth,borderInlineStart:Et}}}}}}};const Ds=it=>{const{componentCls:st,fontWeightStrong:Et,tablePaddingVertical:Dt,tablePaddingHorizontal:Tt,lineWidth:Nt,lineType:on,tableBorderColor:sn,tableFontSize:nn,tableBg:dn,tableRadius:xn,tableHeaderTextColor:vn,motionDurationMid:Zn,tableHeaderBg:kn,tableHeaderCellSplitColor:Wn,tableRowHoverBg:cr,tableSelectedRowBg:rr,tableSelectedRowHoverBg:dr,tableFooterTextColor:or,tableFooterBg:br,paddingContentVerticalLG:zr}=it,Zr=`${Nt}px ${on} ${sn}`;return{[`${st}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,gi.dF)()),{[st]:Object.assign(Object.assign({},(0,gi.Wf)(it)),{fontSize:nn,background:dn,borderRadius:`${xn}px ${xn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${xn}px ${xn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${st}-cell, - ${st}-thead > tr > th, - ${st}-tbody > tr > th, - ${st}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${zr}px ${Tt}px`,overflowWrap:"break-word"},[`${st}-title`]:{padding:`${Dt}px ${Tt}px`},[`${st}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:vn,fontWeight:Et,textAlign:"start",background:kn,borderBottom:Zr,transition:`background ${Zn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${st}-selection-column):not(${st}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Wn,transform:"translateY(-50%)",transition:`background-color ${Zn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${st}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Zn}, border-color ${Zn}`,borderBottom:Zr,[` - > ${st}-wrapper:only-child, - > ${st}-expanded-row-fixed > ${st}-wrapper:only-child - `]:{[st]:{marginBlock:`-${Dt}px`,marginInline:`${it.tableExpandColumnWidth-Tt}px -${Tt}px`,[`${st}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:vn,fontWeight:Et,textAlign:"start",background:kn,borderBottom:Zr,transition:`background ${Zn} ease`},[` - &${st}-row:hover > th, - &${st}-row:hover > td, - > th${st}-cell-row-hover, - > td${st}-cell-row-hover - `]:{background:cr},[`&${st}-row-selected`]:{"> th, > td":{background:rr},"&:hover > th, &:hover > td":{background:dr}}}},[`${st}-footer`]:{padding:`${Dt}px ${Tt}px`,color:or,background:br}})}};var Fs=(0,ds.Z)("Table",it=>{const{colorTextHeading:st,colorSplit:Et,colorIcon:Dt,colorIconHover:Tt,opacityLoading:Nt,colorBgContainer:on,controlInteractiveSize:sn,headerBg:nn,headerColor:dn,headerSortActiveBg:xn,headerSortHoverBg:vn,bodySortBg:Zn,rowHoverBg:kn,rowSelectedBg:Wn,rowSelectedHoverBg:cr,rowExpandedBg:rr,cellPaddingBlock:dr,cellPaddingInline:or,cellPaddingBlockMD:br,cellPaddingInlineMD:zr,cellPaddingBlockSM:Zr,cellPaddingInlineSM:Lr,borderColor:ia,footerBg:ga,footerColor:Ar,headerBorderRadius:Nr,cellFontSize:Pr,cellFontSizeMD:pr,cellFontSizeSM:Fr,headerSplitColor:ta,fixedHeaderSortActiveBg:va,headerFilterHoverBg:fa,filterDropdownBg:Yr,expandIconBg:ba,selectionColumnWidth:Ca,stickyScrollBarBg:ja}=it,Fa=new ci.C(Dt),Va=new ci.C(Tt),Qa=2,ma=(0,fs.TS)(it,{tableFontSize:Pr,tableBg:on,tableRadius:Nr,tablePaddingVertical:dr,tablePaddingHorizontal:or,tablePaddingVerticalMiddle:br,tablePaddingHorizontalMiddle:zr,tablePaddingVerticalSmall:Zr,tablePaddingHorizontalSmall:Lr,tableBorderColor:ia,tableHeaderTextColor:dn,tableHeaderBg:nn,tableFooterTextColor:Ar,tableFooterBg:ga,tableHeaderCellSplitColor:ta,tableHeaderSortBg:xn,tableHeaderSortHoverBg:vn,tableHeaderIconColor:Fa.clone().setAlpha(Fa.getAlpha()*Nt).toRgbString(),tableHeaderIconColorHover:Va.clone().setAlpha(Va.getAlpha()*Nt).toRgbString(),tableBodySortBg:Zn,tableFixedHeaderSortActiveBg:va,tableHeaderFilterActiveBg:fa,tableFilterDropdownBg:Yr,tableRowHoverBg:kn,tableSelectedRowBg:Wn,tableSelectedRowHoverBg:cr,zIndexTableFixed:Qa,zIndexTableSticky:Qa+1,tableFontSizeMiddle:pr,tableFontSizeSmall:Fr,tableSelectionColumnWidth:Ca,tableExpandIconBg:ba,tableExpandColumnWidth:sn+2*it.padding,tableExpandedRowBg:rr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ja,tableScrollThumbBgHover:st,tableScrollBg:Et});return[Ds(ma),Ss(ma),ji(ma),ws(ma),ys(ma),gs(ma),Es(ma),vs(ma),ji(ma),ps(ma),As(ma),bs(ma),xs(ma),ms(ma),Ps(ma),Cs(ma),Bs(ma)]},it=>{const{colorFillAlter:st,colorBgContainer:Et,colorTextHeading:Dt,colorFillSecondary:Tt,colorFillContent:Nt,controlItemBgActive:on,controlItemBgActiveHover:sn,padding:nn,paddingSM:dn,paddingXS:xn,colorBorderSecondary:vn,borderRadiusLG:Zn,fontSize:kn,controlHeight:Wn,colorTextPlaceholder:cr}=it,rr=new ci.C(Tt).onBackground(Et).toHexShortString(),dr=new ci.C(Nt).onBackground(Et).toHexShortString(),or=new ci.C(st).onBackground(Et).toHexShortString();return{headerBg:or,headerColor:Dt,headerSortActiveBg:rr,headerSortHoverBg:dr,bodySortBg:or,rowHoverBg:or,rowSelectedBg:on,rowSelectedHoverBg:sn,rowExpandedBg:st,cellPaddingBlock:nn,cellPaddingInline:nn,cellPaddingBlockMD:dn,cellPaddingInlineMD:xn,cellPaddingBlockSM:xn,cellPaddingInlineSM:xn,borderColor:vn,headerBorderRadius:Zn,footerBg:or,footerColor:Dt,cellFontSize:kn,cellFontSizeMD:kn,cellFontSizeSM:kn,headerSplitColor:vn,fixedHeaderSortActiveBg:rr,headerFilterHoverBg:Nt,filterDropdownMenuBg:Et,filterDropdownBg:Et,expandIconBg:Et,selectionColumnWidth:Wn,stickyScrollBarBg:cr,stickyScrollBarBorderRadius:100}});const Os=[],Ls=(it,st)=>{const{prefixCls:Et,className:Dt,rootClassName:Tt,style:Nt,size:on,bordered:sn,dropdownPrefixCls:nn,dataSource:dn,pagination:xn,rowSelection:vn,rowKey:Zn="key",rowClassName:kn,columns:Wn,children:cr,childrenColumnName:rr,onChange:dr,getPopupContainer:or,loading:br,expandIcon:zr,expandable:Zr,expandedRowRender:Lr,expandIconColumnIndex:ia,indentSize:ga,scroll:Ar,sortDirections:Nr,locale:Pr,showSorterTooltip:pr=!0,virtual:Fr}=it,ta=ne.useMemo(()=>Wn||xt(cr),[Wn,cr]),va=ne.useMemo(()=>ta.some(Da=>Da.responsive),[ta]),fa=(0,Yt.Z)(va),Yr=ne.useMemo(()=>{const Da=new Set(Object.keys(fa).filter(_a=>fa[_a]));return ta.filter(_a=>!_a.responsive||_a.responsive.some(ao=>Da.has(ao)))},[ta,fa]),ba=(0,ka.Z)(it,["className","style","columns"]),{locale:Ca=hn.Z,direction:ja,table:Fa,renderEmpty:Va,getPrefixCls:Qa,getPopupContainer:ma}=ne.useContext(da.E_),Xa=(0,za.Z)(on),Oa=Object.assign(Object.assign({},Ca.Table),Pr),Ua=dn||Os,Ha=Qa("table",Et),fo=Qa("dropdown",nn),ea=Object.assign({childrenColumnName:rr,expandIconColumnIndex:ia},Zr),{childrenColumnName:qr="children"}=ea,Xr=ne.useMemo(()=>Ua.some(Da=>Da==null?void 0:Da[qr])?"nest":Lr||Zr&&Zr.expandedRowRender?"row":null,[Ua]),jr={body:ne.useRef()},La=ne.useMemo(()=>typeof Zn=="function"?Zn:Da=>Da==null?void 0:Da[Zn],[Zn]),[kr]=_o(Ua,qr,La),ua={},Ba=function(Da,_a){let ao=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ka,lo,ho;const vo=Object.assign(Object.assign({},ua),Da);ao&&((Ka=ua.resetPagination)===null||Ka===void 0||Ka.call(ua),!((lo=vo.pagination)===null||lo===void 0)&&lo.current&&(vo.pagination.current=1),xn&&xn.onChange&&xn.onChange(1,(ho=vo.pagination)===null||ho===void 0?void 0:ho.pageSize)),Ar&&Ar.scrollToFirstRowOnChange!==!1&&jr.body.current&&(0,Na.Z)(0,{getContainer:()=>jr.body.current}),dr==null||dr(vo.pagination,vo.filters,vo.sorter,{currentDataSource:Ko(Ci(Ua,vo.sorterStates,qr),vo.filterStates),action:_a})},Pa=(Da,_a)=>{Ba({sorter:Da,sorterStates:_a},"sort",!1)},[io,ro,Oo,Ja]=ss({prefixCls:Ha,mergedColumns:Yr,onSorterChange:Pa,sortDirections:Nr||["ascend","descend"],tableLocale:Oa,showSorterTooltip:pr}),xo=ne.useMemo(()=>Ci(Ua,ro,qr),[Ua,ro]);ua.sorter=Ja(),ua.sorterStates=ro;const qa=(Da,_a)=>{Ba({filters:Da,filterStates:_a},"filter",!0)},[mo,ni,Ta]=Ao({prefixCls:Ha,locale:Oa,dropdownPrefixCls:fo,mergedColumns:Yr,onFilterChange:qa,getPopupContainer:or||ma}),Ma=Ko(xo,ni);ua.filters=Ta,ua.filterStates=ni;const Ga=ne.useMemo(()=>{const Da={};return Object.keys(Ta).forEach(_a=>{Ta[_a]!==null&&(Da[_a]=Ta[_a])}),Object.assign(Object.assign({},Oo),{filters:Da})},[Oo,Ta]),[$a]=ls(Ga),eo=(Da,_a)=>{Ba({pagination:Object.assign(Object.assign({},ua.pagination),{current:Da,pageSize:_a})},"paginate")},[Aa,uo]=ai(Ma.length,eo,xn);ua.pagination=xn===!1?{}:Co(Aa,xn),ua.resetPagination=uo;const so=ne.useMemo(()=>{if(xn===!1||!Aa.pageSize)return Ma;const{current:Da=1,total:_a,pageSize:ao=Po}=Aa;return Ma.length<_a?Ma.length>ao?Ma.slice((Da-1)*ao,Da*ao):Ma:Ma.slice((Da-1)*ao,Da*ao)},[!!xn,Ma,Aa&&Aa.current,Aa&&Aa.pageSize,Aa&&Aa.total]),[So,No]=Jo({prefixCls:Ha,data:Ma,pageData:so,getRowKey:La,getRecordByKey:kr,expandType:Xr,childrenColumnName:qr,locale:Oa,getPopupContainer:or||ma},vn),Lo=(Da,_a,ao)=>{let Ka;return typeof kn=="function"?Ka=we()(kn(Da,_a,ao)):Ka=we()(kn),we()({[`${Ha}-row-selected`]:No.has(La(Da,_a))},Ka)};ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||zr||Sn(Oa),Xr==="nest"&&ea.expandIconColumnIndex===void 0?ea.expandIconColumnIndex=vn?1:0:ea.expandIconColumnIndex>0&&vn&&(ea.expandIconColumnIndex-=1),typeof ea.indentSize!="number"&&(ea.indentSize=typeof ga=="number"?ga:15);const di=ne.useCallback(Da=>$a(So(mo(io(Da)))),[io,mo,So]);let Uo,Bo;if(xn!==!1&&(Aa!=null&&Aa.total)){let Da;Aa.size?Da=Aa.size:Da=Xa==="small"||Xa==="middle"?"small":void 0;const _a=lo=>ne.createElement(Nn.Z,Object.assign({},Aa,{className:we()(`${Ha}-pagination ${Ha}-pagination-${lo}`,Aa.className),size:Da})),ao=ja==="rtl"?"left":"right",{position:Ka}=Aa;if(Ka!==null&&Array.isArray(Ka)){const lo=Ka.find(Wo=>Wo.includes("top")),ho=Ka.find(Wo=>Wo.includes("bottom")),vo=Ka.every(Wo=>`${Wo}`=="none");!lo&&!ho&&!vo&&(Bo=_a(ao)),lo&&(Uo=_a(lo.toLowerCase().replace("top",""))),ho&&(Bo=_a(ho.toLowerCase().replace("bottom","")))}else Bo=_a(ao)}let po;typeof br=="boolean"?po={spinning:br}:typeof br=="object"&&(po=Object.assign({spinning:!0},br));const[co,to]=Fs(Ha),[,Za]=(0,An.Z)(),Mo=we()(`${Ha}-wrapper`,Fa==null?void 0:Fa.className,{[`${Ha}-wrapper-rtl`]:ja==="rtl"},Dt,Tt,to),ri=Object.assign(Object.assign({},Fa==null?void 0:Fa.style),Nt),qo=Pr&&Pr.emptyText||(Va==null?void 0:Va("Table"))||ne.createElement(ya.Z,{componentName:"Table"}),Ro=Fr?cs:us,mi={},Ai=ne.useMemo(()=>{const{fontSize:Da,lineHeight:_a,padding:ao,paddingXS:Ka,paddingSM:lo}=Za,ho=Math.floor(Da*_a);switch(Xa){case"large":return ao*2+ho;case"small":return Ka*2+ho;default:return lo*2+ho}},[Za,Xa]);return Fr&&(mi.listItemHeight=Ai),co(ne.createElement("div",{ref:st,className:Mo,style:ri},ne.createElement(Mn.Z,Object.assign({spinning:!1},po),Uo,ne.createElement(Ro,Object.assign({},mi,ba,{columns:Yr,direction:ja,expandable:ea,prefixCls:Ha,className:we()({[`${Ha}-middle`]:Xa==="middle",[`${Ha}-small`]:Xa==="small",[`${Ha}-bordered`]:sn,[`${Ha}-empty`]:Ua.length===0}),data:so,rowKey:La,rowClassName:Lo,emptyText:qo,internalHooks:Ae,internalRefs:jr,transformColumns:di})),Bo)))};var Is=ne.forwardRef(Ls);const Ts=(it,st)=>{const Et=ne.useRef(0);return Et.current+=1,ne.createElement(Is,Object.assign({},it,{ref:st,_renderTimes:Et.current}))},Ho=ne.forwardRef(Ts);Ho.SELECTION_COLUMN=Io,Ho.EXPAND_COLUMN=ae,Ho.SELECTION_ALL=si,Ho.SELECTION_INVERT=li,Ho.SELECTION_NONE=Vr,Ho.Column=ha,Ho.ColumnGroup=Ia,Ho.Summary=Be;var Ns=Ho,Ms=Ns},12563:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ee}});var ae=fe(59301),Ae=fe(99267),E=fe(92310),ye=fe.n(E),he=fe(36785),le=fe(47729),ne=fe(14088),se=fe(36355),de=fe(17313),ue=fe(37613),ie=fe(83116);const oe=Ce=>{const{paddingXXS:De,lineWidth:we,tagPaddingHorizontal:Fe,componentCls:Pe}=Ce,Le=Fe-we,Oe=De-we;return{[Pe]:Object.assign(Object.assign({},(0,de.Wf)(Ce)),{display:"inline-block",height:"auto",marginInlineEnd:Ce.marginXS,paddingInline:Le,fontSize:Ce.tagFontSize,lineHeight:Ce.tagLineHeight,whiteSpace:"nowrap",background:Ce.defaultBg,border:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusSM,opacity:1,transition:`all ${Ce.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Pe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Ce.defaultColor},[`${Pe}-close-icon`]:{marginInlineStart:Oe,color:Ce.colorTextDescription,fontSize:Ce.tagIconSize,cursor:"pointer",transition:`all ${Ce.motionDurationMid}`,"&:hover":{color:Ce.colorTextHeading}},[`&${Pe}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Ce.iconCls}-close, ${Ce.iconCls}-close:hover`]:{color:Ce.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Pe}-checkable-checked):hover`]:{color:Ce.colorPrimary,backgroundColor:Ce.colorFillSecondary},"&:active, &-checked":{color:Ce.colorTextLightSolid},"&-checked":{backgroundColor:Ce.colorPrimary,"&:hover":{backgroundColor:Ce.colorPrimaryHover}},"&:active":{backgroundColor:Ce.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Ce.iconCls} + span, > span + ${Ce.iconCls}`]:{marginInlineStart:Le}}),[`${Pe}-borderless`]:{borderColor:"transparent",background:Ce.tagBorderlessBg}}},re=Ce=>{const{lineWidth:De,fontSizeIcon:we}=Ce,Fe=Ce.fontSizeSM,Pe=`${Ce.lineHeightSM*Fe}px`;return(0,ue.TS)(Ce,{tagFontSize:Fe,tagLineHeight:Pe,tagIconSize:we-2*De,tagPaddingHorizontal:8,tagBorderlessBg:Ce.colorFillTertiary})},z=Ce=>({defaultBg:Ce.colorFillQuaternary,defaultColor:Ce.colorText});var a=(0,ie.Z)("Tag",Ce=>{const De=re(Ce);return oe(De)},z),y=function(Ce,De){var we={};for(var Fe in Ce)Object.prototype.hasOwnProperty.call(Ce,Fe)&&De.indexOf(Fe)<0&&(we[Fe]=Ce[Fe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Fe=Object.getOwnPropertySymbols(Ce);Pe{const{prefixCls:De,style:we,className:Fe,checked:Pe,onChange:Le,onClick:Oe}=Ce,We=y(Ce,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Te,tag:Ue}=ae.useContext(se.E_),He=Ve=>{Le==null||Le(!Pe),Oe==null||Oe(Ve)},Qe=Te("tag",De),[Ge,ze]=a(Qe),_e=ye()(Qe,`${Qe}-checkable`,{[`${Qe}-checkable-checked`]:Pe},Ue==null?void 0:Ue.className,Fe,ze);return Ge(ae.createElement("span",Object.assign({},We,{style:Object.assign(Object.assign({},we),Ue==null?void 0:Ue.style),className:_e,onClick:He})))},ee=fe(45157);const te=Ce=>(0,ee.Z)(Ce,(De,we)=>{let{textColor:Fe,lightBorderColor:Pe,lightColor:Le,darkColor:Oe}=we;return{[`${Ce.componentCls}-${De}`]:{color:Fe,background:Le,borderColor:Pe,"&-inverse":{color:Ce.colorTextLightSolid,background:Oe,borderColor:Oe},[`&${Ce.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ce=(0,ie.b)(["Tag","preset"],Ce=>{const De=re(Ce);return te(De)},z);function me(Ce){return typeof Ce!="string"?Ce:Ce.charAt(0).toUpperCase()+Ce.slice(1)}const ve=(Ce,De,we)=>{const Fe=me(we);return{[`${Ce.componentCls}-${De}`]:{color:Ce[`color${we}`],background:Ce[`color${Fe}Bg`],borderColor:Ce[`color${Fe}Border`],[`&${Ce.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ge=(0,ie.b)(["Tag","status"],Ce=>{const De=re(Ce);return[ve(De,"success","Success"),ve(De,"processing","Info"),ve(De,"error","Error"),ve(De,"warning","Warning")]},z),pe=function(Ce,De){var we={};for(var Fe in Ce)Object.prototype.hasOwnProperty.call(Ce,Fe)&&De.indexOf(Fe)<0&&(we[Fe]=Ce[Fe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Fe=Object.getOwnPropertySymbols(Ce);Pe{const{prefixCls:we,className:Fe,rootClassName:Pe,style:Le,children:Oe,icon:We,color:Te,onClose:Ue,closeIcon:He,closable:Qe,bordered:Ge=!0}=Ce,ze=pe(Ce,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:_e,direction:Ve,tag:tt}=ae.useContext(se.E_),[Xe,lt]=ae.useState(!0);ae.useEffect(()=>{"visible"in ze&<(ze.visible)},[ze.visible]);const Je=(0,he.o2)(Te),Ke=(0,he.yT)(Te),Me=Je||Ke,et=Object.assign(Object.assign({backgroundColor:Te&&!Me?Te:void 0},tt==null?void 0:tt.style),Le),Ie=_e("tag",we),[Re,qe]=a(Ie),Ye=ye()(Ie,tt==null?void 0:tt.className,{[`${Ie}-${Te}`]:Me,[`${Ie}-has-color`]:Te&&!Me,[`${Ie}-hidden`]:!Xe,[`${Ie}-rtl`]:Ve==="rtl",[`${Ie}-borderless`]:!Ge},Fe,Pe,qe),ke=nt=>{nt.stopPropagation(),Ue==null||Ue(nt),!nt.defaultPrevented&<(!1)},[,xe]=(0,le.Z)(Qe,He,nt=>nt===null?ae.createElement(Ae.Z,{className:`${Ie}-close-icon`,onClick:ke}):ae.createElement("span",{className:`${Ie}-close-icon`,onClick:ke},nt),null,!1),Ne=typeof ze.onClick=="function"||Oe&&Oe.type==="a",Be=We||null,je=Be?ae.createElement(ae.Fragment,null,Be,Oe&&ae.createElement("span",null,Oe)):Oe,$e=ae.createElement("span",Object.assign({},ze,{ref:De,className:Ye,style:et}),je,xe,Je&&ae.createElement(ce,{key:"preset",prefixCls:Ie}),Ke&&ae.createElement(ge,{key:"status",prefixCls:Ie}));return Re(Ne?ae.createElement(ne.Z,{component:"Tag"},$e):$e)},be=ae.forwardRef(Se);be.CheckableTag=b;var Ee=be},65615:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return nt}});var ae=fe(59301),Ae=fe(33885),E=fe(54476),ye=fe(76190),he=fe(42978),le=fe(75931),ne=fe(43403),se=fe(35593),de=fe(92310),ue=fe.n(de),ie=fe(34280),oe=fe(18929),re=fe(6089);function z(Ze){var rt=window.innerWidth||document.documentElement.clientWidth,yt=window.innerHeight||document.documentElement.clientHeight,ct=Ze.getBoundingClientRect(),bt=ct.top,dt=ct.right,ht=ct.bottom,ot=ct.left;return bt>=0&&ot>=0&&dt<=rt&&ht<=yt}function a(Ze,rt,yt){var ct;return(ct=yt!=null?yt:rt)!==null&&ct!==void 0?ct:Ze===null?"center":"bottom"}function y(Ze,rt,yt,ct){var bt=(0,ae.useState)(void 0),dt=(0,he.Z)(bt,2),ht=dt[0],ot=dt[1];(0,ie.Z)(function(){var yn=typeof Ze=="function"?Ze():Ze;ot(yn||null)});var ut=(0,ae.useState)(null),mt=(0,he.Z)(ut,2),Ct=mt[0],Bt=mt[1],It=(0,re.Z)(function(){if(ht){!z(ht)&&rt&&ht.scrollIntoView(ct);var yn=ht.getBoundingClientRect(),In=yn.left,En=yn.top,pn=yn.width,Qn=yn.height,Bn={left:In,top:En,width:pn,height:Qn,radius:0};Bt(function(un){return JSON.stringify(un)!==JSON.stringify(Bn)?Bn:un})}else Bt(null)}),Ht=function(In){var En;return(En=Array.isArray(yt==null?void 0:yt.offset)?yt==null?void 0:yt.offset[In]:yt==null?void 0:yt.offset)!==null&&En!==void 0?En:6};(0,ie.Z)(function(){return It(),window.addEventListener("resize",It),function(){window.removeEventListener("resize",It)}},[ht,rt,It]);var qt=(0,ae.useMemo)(function(){if(!Ct)return Ct;var yn=Ht(0),In=Ht(1),En=(yt==null?void 0:yt.radius)||2;return{left:Ct.left-yn,top:Ct.top-In,width:Ct.width+yn*2,height:Ct.height+In*2,radius:En}},[Ct,yt]);return[qt,ht]}var x=fe(80402),b={fill:"transparent",pointerEvents:"auto"},ee=function(rt){var yt=rt.prefixCls,ct=rt.rootClassName,bt=rt.pos,dt=rt.showMask,ht=rt.style,ot=ht===void 0?{}:ht,ut=rt.fill,mt=ut===void 0?"rgba(0,0,0,0.5)":ut,Ct=rt.open,Bt=rt.animated,It=rt.zIndex,Ht=(0,x.Z)(),qt="".concat(yt,"-mask-").concat(Ht),yn=(0,ye.Z)(Bt)==="object"?Bt==null?void 0:Bt.placeholder:Bt;return ae.createElement(ne.Z,{open:Ct,autoLock:!0},ae.createElement("div",{className:ue()("".concat(yt,"-mask"),ct),style:(0,Ae.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:It,pointerEvents:"none"},ot)},dt?ae.createElement("svg",{style:{width:"100%",height:"100%"}},ae.createElement("defs",null,ae.createElement("mask",{id:qt},ae.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),bt&&ae.createElement("rect",{x:bt.left,y:bt.top,rx:bt.radius,width:bt.width,height:bt.height,fill:"black",className:yn?"".concat(yt,"-placeholder-animated"):""}))),ae.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:mt,mask:"url(#".concat(qt,")")}),bt&&ae.createElement(ae.Fragment,null,ae.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:bt.top})),ae.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:bt.left,height:"100%"})),ae.createElement("rect",(0,E.Z)({},b,{x:"0",y:bt.top+bt.height,width:"100%",height:"calc(100vh - ".concat(bt.top+bt.height,"px)")})),ae.createElement("rect",(0,E.Z)({},b,{x:bt.left+bt.width,y:"0",width:"calc(100vw - ".concat(bt.left+bt.width,"px)"),height:"100%"})))):null))},te=ee,ce={adjustX:1,adjustY:1},me=[0,0],ve={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function ge(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,rt={};return Object.keys(ve).forEach(function(yt){rt[yt]=(0,Ae.Z)((0,Ae.Z)({},ve[yt]),{},{autoArrow:Ze,targetOffset:me})}),rt}var pe=ge(),Se=fe(94480);function be(Ze){var rt=Ze.prefixCls,yt=Ze.current,ct=Ze.total,bt=Ze.title,dt=Ze.description,ht=Ze.onClose,ot=Ze.onPrev,ut=Ze.onNext,mt=Ze.onFinish,Ct=Ze.className,Bt=Ze.closeIcon,It=Bt!==!1&&Bt!==null,Ht=Bt!==void 0&&Bt!==!0?Bt:ae.createElement("span",{className:"".concat(rt,"-close-x")},"\xD7");return ae.createElement("div",{className:ue()("".concat(rt,"-content"),Ct)},ae.createElement("div",{className:"".concat(rt,"-inner")},It&&ae.createElement("button",{type:"button",onClick:ht,"aria-label":"Close",className:"".concat(rt,"-close")},Ht),ae.createElement("div",{className:"".concat(rt,"-header")},ae.createElement("div",{className:"".concat(rt,"-title")},bt)),ae.createElement("div",{className:"".concat(rt,"-description")},dt),ae.createElement("div",{className:"".concat(rt,"-footer")},ae.createElement("div",{className:"".concat(rt,"-sliders")},ct>1?(0,Se.Z)(Array.from({length:ct}).keys()).map(function(qt,yn){return ae.createElement("span",{key:qt,className:yn===yt?"active":""})}):null),ae.createElement("div",{className:"".concat(rt,"-buttons")},yt!==0?ae.createElement("button",{className:"".concat(rt,"-prev-btn"),onClick:ot},"Prev"):null,yt===ct-1?ae.createElement("button",{className:"".concat(rt,"-finish-btn"),onClick:mt},"Finish"):ae.createElement("button",{className:"".concat(rt,"-next-btn"),onClick:ut},"Next")))))}var Ee=function(rt){var yt=rt.current,ct=rt.renderPanel;return ae.createElement(ae.Fragment,null,typeof ct=="function"?ct(rt,yt):ae.createElement(be,rt))},Ce=Ee,De=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],we={left:"50%",top:"50%",width:1,height:1},Fe=function(rt){var yt=rt.prefixCls,ct=yt===void 0?"rc-tour":yt,bt=rt.steps,dt=bt===void 0?[]:bt,ht=rt.defaultCurrent,ot=rt.current,ut=rt.onChange,mt=rt.onClose,Ct=rt.onFinish,Bt=rt.open,It=rt.mask,Ht=It===void 0?!0:It,qt=rt.arrow,yn=qt===void 0?!0:qt,In=rt.rootClassName,En=rt.placement,pn=rt.renderPanel,Qn=rt.gap,Bn=rt.animated,un=rt.scrollIntoViewOptions,Yn=un===void 0?!0:un,_t=rt.zIndex,tn=_t===void 0?1001:_t,cn=rt.closeIcon,Ot=(0,le.Z)(rt,De),ft=ae.useRef(),Ft=(0,oe.Z)(0,{value:ot,defaultValue:ht}),kt=(0,he.Z)(Ft,2),Xt=kt[0],an=kt[1],en=(0,oe.Z)(void 0,{value:Bt,postState:function(sr){return Xt<0||Xt>=dt.length?!1:sr!=null?sr:!0}}),Vt=(0,he.Z)(en,2),pt=Vt[0],wt=Vt[1],xt=ae.useRef(pt);(0,ie.Z)(function(){pt&&!xt.current&&an(0),xt.current=pt},[pt]);var Ut=dt[Xt]||{},fn=Ut.target,Qt=Ut.placement,_n=Ut.style,wn=Ut.arrow,Mt=Ut.className,Lt=Ut.mask,Jt=Ut.scrollIntoViewOptions,jt=Ut.closeIcon,bn=pt&&(Lt!=null?Lt:Ht),Dn=jt!=null?jt:cn,Hn=Jt!=null?Jt:Yn,rn=y(fn,Bt,Qn,Hn),Pt=(0,he.Z)(rn,2),gt=Pt[0],St=Pt[1],At=a(St,En,Qt),zt=St?typeof wn=="undefined"?yn:wn:!1,Zt=(0,ye.Z)(zt)==="object"?zt.pointAtCenter:!1;(0,ie.Z)(function(){var ir;(ir=ft.current)===null||ir===void 0||ir.forceAlign()},[Zt,Xt]);var $t=function(sr){an(sr),ut==null||ut(sr)};if(St===void 0)return null;var ln=function(){wt(!1),mt==null||mt(Xt)},Pn=function(){return ae.createElement(Ce,(0,E.Z)({arrow:zt,key:"content",prefixCls:ct,total:dt.length,renderPanel:pn,onPrev:function(){$t(Xt-1)},onNext:function(){$t(Xt+1)},onClose:ln,current:Xt,onFinish:function(){ln(),Ct==null||Ct()},closeIcon:Dn},dt[Xt]))},zn=typeof bn=="boolean"?bn:!!bn,Gt=typeof bn=="boolean"?void 0:bn,tr=function(sr){return sr||St||document.body};return ae.createElement(ae.Fragment,null,ae.createElement(te,{zIndex:tn,prefixCls:ct,pos:gt,showMask:zn,style:Gt==null?void 0:Gt.style,fill:Gt==null?void 0:Gt.color,open:pt,animated:Bn,rootClassName:In}),ae.createElement(se.Z,(0,E.Z)({builtinPlacements:ge(Zt)},Ot,{ref:ft,popupStyle:_n,popupPlacement:At,popupVisible:pt,popupClassName:ue()(In,Mt),prefixCls:ct,popup:Pn,forceRender:!1,destroyPopupOnHide:!0,zIndex:tn,getTriggerDOMNode:tr,arrow:!!zt}),ae.createElement(ne.Z,{open:pt,autoLock:!0},ae.createElement("div",{className:ue()(In,"".concat(ct,"-target-placeholder")),style:(0,Ae.Z)((0,Ae.Z)({},gt||we),{},{position:"fixed",pointerEvents:"none"})}))))},Pe=Fe,Le=Pe,Oe=fe(79676),We=fe(36355),Te=fe(88088),Ue=fe(99267),He=fe(3113),Qe=fe(9763),Ge=fe(31724),ze=fe(47729);function _e(Ze){return Ze!=null}var tt=Ze=>{let{stepProps:rt,current:yt,type:ct,indicatorsRender:bt,closeIcon:dt}=Ze;var ht,ot;const{prefixCls:ut,total:mt=1,title:Ct,onClose:Bt,onPrev:It,onNext:Ht,onFinish:qt,cover:yn,description:In,nextButtonProps:En,prevButtonProps:pn,type:Qn,className:Bn,closeIcon:un}=rt,Yn=Qn!=null?Qn:ct,_t=un!=null?un:dt,tn=_t!==!1&&_t!==null,[cn,Ot]=(0,ze.Z)(tn,_t,Ut=>ae.createElement("span",{onClick:Bt,"aria-label":"Close",className:`${ut}-close`},Ut),ae.createElement(Ue.Z,{className:`${ut}-close-icon`}),!0),ft=yt===mt-1,Ft=()=>{var Ut;It==null||It(),(Ut=pn==null?void 0:pn.onClick)===null||Ut===void 0||Ut.call(pn)},kt=()=>{var Ut;ft?qt==null||qt():Ht==null||Ht(),(Ut=En==null?void 0:En.onClick)===null||Ut===void 0||Ut.call(En)},Xt=_e(Ct)?ae.createElement("div",{className:`${ut}-header`},ae.createElement("div",{className:`${ut}-title`},Ct)):null,an=_e(In)?ae.createElement("div",{className:`${ut}-description`},In):null,en=_e(yn)?ae.createElement("div",{className:`${ut}-cover`},yn):null;let Vt;bt?Vt=bt(yt,mt):Vt=(0,Se.Z)(Array.from({length:mt}).keys()).map((Ut,fn)=>ae.createElement("span",{key:Ut,className:ue()(fn===yt&&`${ut}-indicator-active`,`${ut}-indicator`)}));const pt=Yn==="primary"?"default":"primary",wt={type:"default",ghost:Yn==="primary"},[xt]=(0,Qe.Z)("Tour",Ge.Z.Tour);return ae.createElement("div",{className:ue()(Bn,`${ut}-content`)},ae.createElement("div",{className:`${ut}-inner`},cn&&Ot,en,Xt,an,ae.createElement("div",{className:`${ut}-footer`},mt>1&&ae.createElement("div",{className:`${ut}-indicators`},Vt),ae.createElement("div",{className:`${ut}-buttons`},yt!==0?ae.createElement(He.ZP,Object.assign({},wt,pn,{onClick:Ft,size:"small",className:ue()(`${ut}-prev-btn`,pn==null?void 0:pn.className)}),(ht=pn==null?void 0:pn.children)!==null&&ht!==void 0?ht:xt==null?void 0:xt.Previous):null,ae.createElement(He.ZP,Object.assign({type:pt},En,{onClick:kt,size:"small",className:ue()(`${ut}-next-btn`,En==null?void 0:En.className)}),(ot=En==null?void 0:En.children)!==null&&ot!==void 0?ot:ft?xt==null?void 0:xt.Finish:xt==null?void 0:xt.Next)))))},Xe=fe(39722),lt=fe(64993),Je=fe(17313),Ke=fe(19447),Me=fe(83116),et=fe(37613);const Ie=Ze=>{const{componentCls:rt,lineHeight:yt,padding:ct,paddingXS:bt,borderRadius:dt,borderRadiusXS:ht,colorPrimary:ot,colorText:ut,colorFill:mt,indicatorHeight:Ct,indicatorWidth:Bt,boxShadowTertiary:It,tourZIndexPopup:Ht,fontSize:qt,colorBgElevated:yn,fontWeightStrong:In,marginXS:En,colorTextLightSolid:pn,tourBorderRadius:Qn,colorWhite:Bn,colorBgTextHover:un,tourCloseSize:Yn,motionDurationSlow:_t,antCls:tn}=Ze;return[{[rt]:Object.assign(Object.assign({},(0,Je.Wf)(Ze)),{color:ut,position:"absolute",zIndex:Ht,display:"block",visibility:"visible",fontSize:qt,lineHeight:yt,width:520,"--antd-arrow-background-color":yn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${rt}-hidden`]:{display:"none"},[`${rt}-content`]:{position:"relative"},[`${rt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:Qn,boxShadow:It,position:"relative",backgroundColor:yn,border:"none",backgroundClip:"padding-box",[`${rt}-close`]:{position:"absolute",top:ct,insetInlineEnd:ct,color:Ze.colorIcon,outline:"none",width:Yn,height:Yn,borderRadius:Ze.borderRadiusSM,transition:`background-color ${Ze.motionDurationMid}, color ${Ze.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Ze.colorIconHover,backgroundColor:Ze.wireframe?"transparent":Ze.colorFillContent}},[`${rt}-cover`]:{textAlign:"center",padding:`${ct+Yn+bt}px ${ct}px 0`,img:{width:"100%"}},[`${rt}-header`]:{padding:`${ct}px ${ct}px ${bt}px`,[`${rt}-title`]:{lineHeight:yt,fontSize:qt,fontWeight:In}},[`${rt}-description`]:{padding:`0 ${ct}px`,lineHeight:yt,wordWrap:"break-word"},[`${rt}-footer`]:{padding:`${bt}px ${ct}px ${ct}px`,textAlign:"end",borderRadius:`0 0 ${ht}px ${ht}px`,display:"flex",[`${rt}-indicators`]:{display:"inline-block",[`${rt}-indicator`]:{width:Bt,height:Ct,display:"inline-block",borderRadius:"50%",background:mt,"&:not(:last-child)":{marginInlineEnd:Ct},"&-active":{background:ot}}},[`${rt}-buttons`]:{marginInlineStart:"auto",[`${tn}-btn`]:{marginInlineStart:En}}}},[`${rt}-primary, &${rt}-primary`]:{"--antd-arrow-background-color":ot,[`${rt}-inner`]:{color:pn,textAlign:"start",textDecoration:"none",backgroundColor:ot,borderRadius:dt,boxShadow:It,[`${rt}-close`]:{color:pn},[`${rt}-indicators`]:{[`${rt}-indicator`]:{background:new lt.C(pn).setAlpha(.15).toRgbString(),"&-active":{background:pn}}},[`${rt}-prev-btn`]:{color:pn,borderColor:new lt.C(pn).setAlpha(.15).toRgbString(),backgroundColor:ot,"&:hover":{backgroundColor:new lt.C(pn).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${rt}-next-btn`]:{color:ot,borderColor:"transparent",background:Bn,"&:hover":{background:new lt.C(un).onBackground(Bn).toRgbString()}}}}}),[`${rt}-mask`]:{[`${rt}-placeholder-animated`]:{transition:`all ${_t}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${rt}-inner`]:{borderRadius:Math.min(Qn,Ke.qN)}}},(0,Ke.ZP)(Ze,{colorBg:"var(--antd-arrow-background-color)",contentRadius:Qn,limitVerticalRadius:!0})]};var Re=(0,Me.Z)("Tour",Ze=>{const{borderRadiusLG:rt,fontSize:yt,lineHeight:ct}=Ze,bt=(0,et.TS)(Ze,{tourZIndexPopup:Ze.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:rt,tourCloseSize:yt*ct});return[Ie(bt)]}),qe=fe(53487),Ye=function(Ze,rt){var yt={};for(var ct in Ze)Object.prototype.hasOwnProperty.call(Ze,ct)&&rt.indexOf(ct)<0&&(yt[ct]=Ze[ct]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ct=Object.getOwnPropertySymbols(Ze);bt{const{prefixCls:rt,current:yt=0,total:ct=6,className:bt,style:dt,type:ht}=Ze,ot=Ye(Ze,["prefixCls","current","total","className","style","type"]),{getPrefixCls:ut}=ae.useContext(We.E_),mt=ut("tour",rt),[Ct,Bt]=Re(mt);return Ct(ae.createElement(Xe.t5,{prefixCls:mt,hashId:Bt,className:ue()(bt,`${mt}-pure`,ht&&`${mt}-${ht}`),style:dt},ae.createElement(tt,{stepProps:Object.assign(Object.assign({},ot),{prefixCls:mt,total:ct}),current:yt,type:ht})))};var xe=(0,qe.i)(ke),Be=Ze=>{let{defaultType:rt,steps:yt=[],current:ct,defaultCurrent:bt}=Ze;var dt;const[ht,ot]=(0,oe.Z)(bt,{value:ct});(0,ae.useLayoutEffect)(()=>{ct!==void 0&&ot(ct)},[ct]);const ut=typeof ht=="number"?(dt=yt[ht])===null||dt===void 0?void 0:dt.type:rt;return{currentMergedType:ut!=null?ut:rt,updateInnerCurrent:ot}},je=function(Ze,rt){var yt={};for(var ct in Ze)Object.prototype.hasOwnProperty.call(Ze,ct)&&rt.indexOf(ct)<0&&(yt[ct]=Ze[ct]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ct=Object.getOwnPropertySymbols(Ze);bt{const{prefixCls:rt,current:yt,defaultCurrent:ct,type:bt,rootClassName:dt,indicatorsRender:ht,steps:ot}=Ze,ut=je(Ze,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:mt,direction:Ct}=(0,ae.useContext)(We.E_),Bt=mt("tour",rt),[It,Ht]=Re(Bt),[,qt]=(0,Te.Z)(),{currentMergedType:yn,updateInnerCurrent:In}=Be({defaultType:bt,steps:ot,current:yt,defaultCurrent:ct}),En=(0,Oe.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:qt.marginXXS,arrowWidth:qt.sizePopupArrow,borderRadius:qt.borderRadius}),pn=ue()({[`${Bt}-primary`]:yn==="primary",[`${Bt}-rtl`]:Ct==="rtl"},Ht,dt),Qn=(un,Yn)=>ae.createElement(tt,{type:bt,stepProps:un,current:Yn,indicatorsRender:ht}),Bn=un=>{var Yn;In(un),(Yn=Ze.onChange)===null||Yn===void 0||Yn.call(Ze,un)};return It(ae.createElement(Le,Object.assign({},ut,{rootClassName:pn,prefixCls:Bt,current:yt,defaultCurrent:ct,animated:!0,renderPanel:Qn,builtinPlacements:En,onChange:Bn,steps:ot})))};$e._InternalPanelDoNotUseOrYouWillBeFired=xe;var nt=$e},98228:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return Yn}});var ae=fe(92310),Ae=fe.n(ae),E=fe(54476),ye=fe(94480),he=fe(33885),le=fe(42978),ne=fe(75931),se=fe(76190),de=fe(77861),ue=fe(17115),ie=fe(90782),oe=fe(18929),re=fe(48736),z=fe(59301),a=function(_t){var tn=z.useRef({valueLabels:new Map});return z.useMemo(function(){var cn=tn.current.valueLabels,Ot=new Map,ft=_t.map(function(Ft){var kt,Xt=Ft.value,an=(kt=Ft.label)!==null&&kt!==void 0?kt:cn.get(Xt);return Ot.set(Xt,an),(0,he.Z)((0,he.Z)({},Ft),{},{label:an})});return tn.current.valueLabels=Ot,[ft]},[_t])},y=function(_t,tn,cn,Ot){return z.useMemo(function(){var ft=_t.map(function(an){var en=an.value;return en}),Ft=tn.map(function(an){var en=an.value;return en}),kt=ft.filter(function(an){return!Ot[an]});if(cn){var Xt=(0,ie.S)(ft,!0,Ot);ft=Xt.checkedKeys,Ft=Xt.halfCheckedKeys}return[Array.from(new Set([].concat((0,ye.Z)(kt),(0,ye.Z)(ft)))),Ft]},[_t,tn,cn,Ot])},x=fe(71430),b=function(_t,tn){return z.useMemo(function(){var cn=(0,x.I8)(_t,{fieldNames:tn,initWrapper:function(ft){return(0,he.Z)((0,he.Z)({},ft),{},{valueEntities:new Map})},processEntity:function(ft,Ft){var kt=ft.node[tn.value];if(0)var Xt;Ft.valueEntities.set(kt,ft)}});return cn},[_t,tn])},ee=fe(20068),te=fe(11592),ce=function(){return null},me=ce,ve=["children","value"];function ge(_t){return(0,te.Z)(_t).map(function(tn){if(!z.isValidElement(tn)||!tn.type)return null;var cn=tn,Ot=cn.key,ft=cn.props,Ft=ft.children,kt=ft.value,Xt=(0,ne.Z)(ft,ve),an=(0,he.Z)({key:Ot,value:kt},Xt),en=ge(Ft);return en.length&&(an.children=en),an}).filter(function(tn){return tn})}function pe(_t){if(!_t)return _t;var tn=(0,he.Z)({},_t);return"props"in tn||Object.defineProperty(tn,"props",{get:function(){return(0,re.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),tn}}),tn}function Se(_t,tn,cn,Ot,ft,Ft){var kt=null,Xt=null;function an(){function en(Vt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Vt.map(function(xt,Ut){var fn="".concat(pt,"-").concat(Ut),Qt=xt[Ft.value],_n=cn.includes(Qt),wn=en(xt[Ft.children]||[],fn,_n),Mt=z.createElement(me,xt,wn.map(function(Jt){return Jt.node}));if(tn===Qt&&(kt=Mt),_n){var Lt={pos:fn,node:Mt,children:wn};return wt||Xt.push(Lt),Lt}return null}).filter(function(xt){return xt})}Xt||(Xt=[],en(Ot),Xt.sort(function(Vt,pt){var wt=Vt.node.props.value,xt=pt.node.props.value,Ut=cn.indexOf(wt),fn=cn.indexOf(xt);return Ut-fn}))}Object.defineProperty(_t,"triggerNode",{get:function(){return(0,re.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),an(),kt}}),Object.defineProperty(_t,"allCheckedNodes",{get:function(){return(0,re.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),an(),ft?Xt:Xt.map(function(Vt){var pt=Vt.node;return pt})}})}var be=function(_t,tn,cn){var Ot=cn.treeNodeFilterProp,ft=cn.filterTreeNode,Ft=cn.fieldNames,kt=Ft.children;return z.useMemo(function(){if(!tn||ft===!1)return _t;var Xt;if(typeof ft=="function")Xt=ft;else{var an=tn.toUpperCase();Xt=function(pt,wt){var xt=wt[Ot];return String(xt).toUpperCase().includes(an)}}function en(Vt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Vt.reduce(function(wt,xt){var Ut=xt[kt],fn=pt||Xt(tn,pe(xt)),Qt=en(Ut||[],fn);return(fn||Qt.length)&&wt.push((0,he.Z)((0,he.Z)({},xt),{},(0,ee.Z)({isLeaf:void 0},kt,Qt))),wt},[])}return en(_t)},[_t,tn,kt,Ot,ft])};function Ee(_t){var tn=z.useRef();tn.current=_t;var cn=z.useCallback(function(){return tn.current.apply(tn,arguments)},[]);return cn}function Ce(_t,tn){var cn=tn.id,Ot=tn.pId,ft=tn.rootPId,Ft={},kt=[],Xt=_t.map(function(an){var en=(0,he.Z)({},an),Vt=en[cn];return Ft[Vt]=en,en.key=en.key||Vt,en});return Xt.forEach(function(an){var en=an[Ot],Vt=Ft[en];Vt&&(Vt.children=Vt.children||[],Vt.children.push(an)),(en===ft||!Vt&&ft===null)&&kt.push(an)}),kt}function De(_t,tn,cn){return z.useMemo(function(){return _t?cn?Ce(_t,(0,he.Z)({id:"id",pId:"pId",rootPId:null},cn!==!0?cn:{})):_t:ge(tn)},[tn,cn,_t])}var we=z.createContext(null),Fe=we,Pe=fe(10228),Le=fe(80547),Oe=fe(60091),We=z.createContext(null),Te=We;function Ue(_t){return Array.isArray(_t)?_t:_t!==void 0?[_t]:[]}function He(_t){var tn=_t||{},cn=tn.label,Ot=tn.value,ft=tn.children,Ft=Ot||"value";return{_title:cn?[cn]:["title","label"],value:Ft,key:Ft,children:ft||"children"}}function Qe(_t){return!_t||_t.disabled||_t.disableCheckbox||_t.checkable===!1}function Ge(_t,tn){var cn=[];function Ot(ft){ft.forEach(function(Ft){var kt=Ft[tn.children];kt&&(cn.push(Ft[tn.value]),Ot(kt))})}return Ot(_t),cn}function ze(_t){return _t==null}var _e={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ve=function(tn,cn){var Ot=(0,de.lk)(),ft=Ot.prefixCls,Ft=Ot.multiple,kt=Ot.searchValue,Xt=Ot.toggleOpen,an=Ot.open,en=Ot.notFoundContent,Vt=z.useContext(Te),pt=Vt.virtual,wt=Vt.listHeight,xt=Vt.listItemHeight,Ut=Vt.treeData,fn=Vt.fieldNames,Qt=Vt.onSelect,_n=Vt.dropdownMatchSelectWidth,wn=Vt.treeExpandAction,Mt=z.useContext(Fe),Lt=Mt.checkable,Jt=Mt.checkedKeys,jt=Mt.halfCheckedKeys,bn=Mt.treeExpandedKeys,Dn=Mt.treeDefaultExpandAll,Hn=Mt.treeDefaultExpandedKeys,rn=Mt.onTreeExpand,Pt=Mt.treeIcon,gt=Mt.showTreeIcon,St=Mt.switcherIcon,At=Mt.treeLine,zt=Mt.treeNodeFilterProp,Zt=Mt.loadData,$t=Mt.treeLoadedKeys,ln=Mt.treeMotion,Pn=Mt.onTreeLoad,zn=Mt.keyEntities,Gt=z.useRef(),tr=(0,Le.Z)(function(){return Ut},[an,Ut],function(Or,Ur){return Ur[0]&&Or[1]!==Ur[1]}),ir=z.useState(null),sr=(0,le.Z)(ir,2),vr=sr[0],Ln=sr[1],Rn=zn[vr],$n=z.useMemo(function(){return Lt?{checked:Jt,halfChecked:jt}:null},[Lt,Jt,jt]);z.useEffect(function(){if(an&&!Ft&&Jt.length){var Or;(Or=Gt.current)===null||Or===void 0||Or.scrollTo({key:Jt[0]}),Ln(Jt[0])}},[an]);var Tn=String(kt).toLowerCase(),ur=function(Ur){return Tn?String(Ur[zt]).toLowerCase().includes(Tn):!1},Sr=z.useState(Hn),lr=(0,le.Z)(Sr,2),Ir=lr[0],Er=lr[1],$r=z.useState(null),na=(0,le.Z)($r,2),ca=na[0],Kn=na[1],Xn=z.useMemo(function(){return bn?(0,ye.Z)(bn):kt?ca:Ir},[Ir,ca,bn,kt]);z.useEffect(function(){kt&&Kn(Ge(Ut,fn))},[kt]);var Fn=function(Ur){Er(Ur),Kn(Ur),rn&&rn(Ur)},Hr=function(Ur){Ur.preventDefault()},Jr=function(Ur,sa){var ra=sa.node;Lt&&Qe(ra)||(Qt(ra.key,{selected:!Jt.includes(ra.key)}),Ft||Xt(!1))};if(z.useImperativeHandle(cn,function(){var Or;return{scrollTo:(Or=Gt.current)===null||Or===void 0?void 0:Or.scrollTo,onKeyDown:function(sa){var ra,xr=sa.which;switch(xr){case Pe.Z.UP:case Pe.Z.DOWN:case Pe.Z.LEFT:case Pe.Z.RIGHT:(ra=Gt.current)===null||ra===void 0||ra.onKeyDown(sa);break;case Pe.Z.ENTER:{if(Rn){var wr=(Rn==null?void 0:Rn.node)||{},Br=wr.selectable,Mr=wr.value;Br!==!1&&Jr(null,{node:{key:vr},selected:!Jt.includes(Mr)})}break}case Pe.Z.ESC:Xt(!1)}},onKeyUp:function(){}}}),tr.length===0)return z.createElement("div",{role:"listbox",className:"".concat(ft,"-empty"),onMouseDown:Hr},en);var Tr={fieldNames:fn};return $t&&(Tr.loadedKeys=$t),Xn&&(Tr.expandedKeys=Xn),z.createElement("div",{onMouseDown:Hr},Rn&&an&&z.createElement("span",{style:_e,"aria-live":"assertive"},Rn.node.value),z.createElement(Oe.Z,(0,E.Z)({ref:Gt,focusable:!1,prefixCls:"".concat(ft,"-tree"),treeData:tr,height:wt,itemHeight:xt,virtual:pt!==!1&&_n!==!1,multiple:Ft,icon:Pt,showIcon:gt,switcherIcon:St,showLine:At,loadData:kt?null:Zt,motion:ln,activeKey:vr,checkable:Lt,checkStrictly:!0,checkedKeys:$n,selectedKeys:Lt?[]:Jt,defaultExpandAll:Dn},Tr,{onActiveChange:Ln,onSelect:Jr,onCheck:Jr,onExpand:Fn,onLoad:Pn,filterTreeNode:ur,expandAction:wn})))},tt=z.forwardRef(Ve);tt.displayName="OptionList";var Xe=tt,lt="SHOW_ALL",Je="SHOW_PARENT",Ke="SHOW_CHILD";function Me(_t,tn,cn,Ot){var ft=new Set(_t);return tn===Ke?_t.filter(function(Ft){var kt=cn[Ft];return!(kt&&kt.children&&kt.children.some(function(Xt){var an=Xt.node;return ft.has(an[Ot.value])})&&kt.children.every(function(Xt){var an=Xt.node;return Qe(an)||ft.has(an[Ot.value])}))}):tn===Je?_t.filter(function(Ft){var kt=cn[Ft],Xt=kt?kt.parent:null;return!(Xt&&!Qe(Xt.node)&&ft.has(Xt.key))}):_t}function et(_t){var tn=_t.searchPlaceholder,cn=_t.treeCheckStrictly,Ot=_t.treeCheckable,ft=_t.labelInValue,Ft=_t.value,kt=_t.multiple;warning(!tn,"`searchPlaceholder` has been removed."),cn&&ft===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ft||cn)&&warning(toArray(Ft).every(function(Xt){return Xt&&_typeof(Xt)==="object"&&"value"in Xt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),cn||kt||Ot?warning(!Ft||Array.isArray(Ft),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ft),"`value` should not be array when `TreeSelect` is single mode.")}var Ie=null,Re=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function qe(_t){return!_t||(0,se.Z)(_t)!=="object"}var Ye=z.forwardRef(function(_t,tn){var cn=_t.id,Ot=_t.prefixCls,ft=Ot===void 0?"rc-tree-select":Ot,Ft=_t.value,kt=_t.defaultValue,Xt=_t.onChange,an=_t.onSelect,en=_t.onDeselect,Vt=_t.searchValue,pt=_t.inputValue,wt=_t.onSearch,xt=_t.autoClearSearchValue,Ut=xt===void 0?!0:xt,fn=_t.filterTreeNode,Qt=_t.treeNodeFilterProp,_n=Qt===void 0?"value":Qt,wn=_t.showCheckedStrategy,Mt=_t.treeNodeLabelProp,Lt=_t.multiple,Jt=_t.treeCheckable,jt=_t.treeCheckStrictly,bn=_t.labelInValue,Dn=_t.fieldNames,Hn=_t.treeDataSimpleMode,rn=_t.treeData,Pt=_t.children,gt=_t.loadData,St=_t.treeLoadedKeys,At=_t.onTreeLoad,zt=_t.treeDefaultExpandAll,Zt=_t.treeExpandedKeys,$t=_t.treeDefaultExpandedKeys,ln=_t.onTreeExpand,Pn=_t.treeExpandAction,zn=_t.virtual,Gt=_t.listHeight,tr=Gt===void 0?200:Gt,ir=_t.listItemHeight,sr=ir===void 0?20:ir,vr=_t.onDropdownVisibleChange,Ln=_t.dropdownMatchSelectWidth,Rn=Ln===void 0?!0:Ln,$n=_t.treeLine,Tn=_t.treeIcon,ur=_t.showTreeIcon,Sr=_t.switcherIcon,lr=_t.treeMotion,Ir=(0,ne.Z)(_t,Re),Er=(0,ue.ZP)(cn),$r=Jt&&!jt,na=Jt||jt,ca=jt||bn,Kn=na||Lt,Xn=(0,oe.Z)(kt,{value:Ft}),Fn=(0,le.Z)(Xn,2),Hr=Fn[0],Jr=Fn[1],Tr=z.useMemo(function(){return Jt?wn||Ke:lt},[wn,Jt]),Or=z.useMemo(function(){return He(Dn)},[JSON.stringify(Dn)]),Ur=(0,oe.Z)("",{value:Vt!==void 0?Vt:pt,postState:function(mr){return mr||""}}),sa=(0,le.Z)(Ur,2),ra=sa[0],xr=sa[1],wr=function(mr){xr(mr),wt==null||wt(mr)},Br=De(rn,Pt,Hn),Mr=b(Br,Or),Wr=Mr.keyEntities,ha=Mr.valueEntities,wa=z.useCallback(function(Un){var mr=[],Wt=[];return Un.forEach(function(Rt){ha.has(Rt)?Wt.push(Rt):mr.push(Rt)}),{missingRawValues:mr,existRawValues:Wt}},[ha]),Ia=be(Br,ra,{fieldNames:Or,treeNodeFilterProp:_n,filterTreeNode:fn}),ka=z.useCallback(function(Un){if(Un){if(Mt)return Un[Mt];for(var mr=Or._title,Wt=0;Wt{const{componentCls:tn,treePrefixCls:cn,colorBgElevated:Ot}=_t,ft=`.${cn}`;return[{[`${tn}-dropdown`]:[{padding:`${_t.paddingXS}px ${_t.paddingXS/2}px`},(0,qt.Yk)(cn,(0,It.TS)(_t,{colorBgContainer:Ot})),{[ft]:{borderRadius:0,[`${ft}-list-holder-inner`]:{alignItems:"stretch",[`${ft}-treenode`]:{[`${ft}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Bt.C2)(`${cn}-checkbox`,_t),{"&-rtl":{direction:"rtl",[`${ft}-switcher${ft}-switcher_close`]:{[`${ft}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function In(_t,tn){return(0,Ht.Z)("TreeSelect",cn=>{const Ot=(0,It.TS)(cn,{treePrefixCls:tn});return[yn(Ot)]},qt.TM)(_t)}var En=function(_t,tn){var cn={};for(var Ot in _t)Object.prototype.hasOwnProperty.call(_t,Ot)&&tn.indexOf(Ot)<0&&(cn[Ot]=_t[Ot]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Ot=Object.getOwnPropertySymbols(_t);ft{var cn,{prefixCls:Ot,size:ft,disabled:Ft,bordered:kt=!0,className:Xt,rootClassName:an,treeCheckable:en,multiple:Vt,listHeight:pt=256,listItemHeight:wt=26,placement:xt,notFoundContent:Ut,switcherIcon:fn,treeLine:Qt,getPopupContainer:_n,popupClassName:wn,dropdownClassName:Mt,treeIcon:Lt=!1,transitionName:Jt,choiceTransitionName:jt="",status:bn,treeExpandAction:Dn,builtinPlacements:Hn,dropdownMatchSelectWidth:rn,popupMatchSelectWidth:Pt,allowClear:gt}=_t,St=En(_t,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:At,getPrefixCls:zt,renderEmpty:Zt,direction:$t,virtual:ln,popupMatchSelectWidth:Pn,popupOverflow:zn}=z.useContext(Ze.E_),Gt=zt(),tr=zt("select",Ot),ir=zt("select-tree",Ot),sr=zt("tree-select",Ot),{compactSize:vr,compactItemClassnames:Ln}=(0,mt.ri)(tr,$t),[Rn,$n]=(0,dt.Z)(tr),[Tn]=In(sr,ir),ur=Ae()(wn||Mt,`${sr}-dropdown`,{[`${sr}-dropdown-rtl`]:$t==="rtl"},an,$n),Sr=!!(en||Vt),lr=(0,ot.Z)(St.suffixIcon,St.showArrow),Ir=(cn=Pt!=null?Pt:rn)!==null&&cn!==void 0?cn:Pn,{status:Er,hasFeedback:$r,isFormItemInput:na,feedbackIcon:ca}=z.useContext(bt.aM),Kn=(0,nt.F)(Er,bn),{suffixIcon:Xn,removeIcon:Fn,clearIcon:Hr}=(0,ut.Z)(Object.assign(Object.assign({},St),{multiple:Sr,showSuffixIcon:lr,hasFeedback:$r,feedbackIcon:ca,prefixCls:tr,componentName:"TreeSelect"})),Jr=gt===!0?{clearIcon:Hr}:gt;let Tr;Ut!==void 0?Tr=Ut:Tr=(Zt==null?void 0:Zt("Select"))||z.createElement(yt.Z,{componentName:"Select"});const Or=(0,Be.Z)(St,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Ur=z.useMemo(()=>xt!==void 0?xt:$t==="rtl"?"bottomRight":"bottomLeft",[xt,$t]),sa=(0,ht.Z)(Hn,zn),ra=(0,ct.Z)(ha=>{var wa;return(wa=ft!=null?ft:vr)!==null&&wa!==void 0?wa:ha}),xr=z.useContext(rt.Z),wr=Ft!=null?Ft:xr,Br=Ae()(!Ot&&sr,{[`${tr}-lg`]:ra==="large",[`${tr}-sm`]:ra==="small",[`${tr}-rtl`]:$t==="rtl",[`${tr}-borderless`]:!kt,[`${tr}-in-form-item`]:na},(0,nt.Z)(tr,Kn,$r),Ln,Xt,an,$n),Mr=ha=>z.createElement(Ct.Z,{prefixCls:ir,switcherIcon:fn,treeNodeProps:ha,showLine:Qt}),Wr=z.createElement(Ne,Object.assign({virtual:ln,disabled:wr},Or,{dropdownMatchSelectWidth:Ir,builtinPlacements:sa,ref:tn,prefixCls:tr,className:Br,listHeight:pt,listItemHeight:wt,treeCheckable:en&&z.createElement("span",{className:`${tr}-tree-checkbox-inner`}),treeLine:!!Qt,suffixIcon:Xn,multiple:Sr,placement:Ur,removeIcon:Fn,allowClear:Jr,switcherIcon:Mr,showTreeIcon:Lt,notFoundContent:Tr,getPopupContainer:_n||At,treeMotion:null,dropdownClassName:ur,choiceTransitionName:(0,$e.m)(Gt,"",jt),transitionName:(0,$e.m)(Gt,"slide-up",Jt),treeExpandAction:Dn}));return Rn(Tn(Wr))},Bn=z.forwardRef(pn),un=(0,je.Z)(Bn);Bn.TreeNode=me,Bn.SHOW_ALL=lt,Bn.SHOW_PARENT=Je,Bn.SHOW_CHILD=Ke,Bn._InternalPanelDoNotUseOrYouWillBeFired=un;var Yn=Bn},17574:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return Te}});var ae=fe(60091),Ae=fe(94480),E=fe(52671),ye=fe(8657),he=fe(54476),le=fe(59301),ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},se=ne,de=fe(7657),ue=function(He,Qe){return le.createElement(de.Z,(0,he.Z)({},He,{ref:Qe,icon:se}))},ie=le.forwardRef(ue),oe=ie,re=fe(92310),z=fe.n(re),a=fe(35654),y=fe(71430),x=fe(36355),b=fe(56082),ee=fe(62892),te=fe(20648);const ce=4;function me(Ue){const{dropPosition:He,dropLevelOffset:Qe,prefixCls:Ge,indent:ze,direction:_e="ltr"}=Ue,Ve=_e==="ltr"?"left":"right",tt=_e==="ltr"?"right":"left",Xe={[Ve]:-Qe*ze+ce,[tt]:0};switch(He){case-1:Xe.top=-3;break;case 1:Xe.bottom=-3;break;default:Xe.bottom=-3,Xe[Ve]=ze+ce;break}return le.createElement("div",{style:Xe,className:`${Ge}-drop-indicator`})}var ve=fe(71997),pe=le.forwardRef((Ue,He)=>{const{getPrefixCls:Qe,direction:Ge,virtual:ze,tree:_e}=le.useContext(x.E_),{prefixCls:Ve,className:tt,showIcon:Xe=!1,showLine:lt,switcherIcon:Je,blockNode:Ke=!1,children:Me,checkable:et=!1,selectable:Ie=!0,draggable:Re,motion:qe,style:Ye}=Ue,ke=Qe("tree",Ve),xe=Qe(),Ne=qe!=null?qe:Object.assign(Object.assign({},(0,ee.Z)(xe)),{motionAppear:!1}),Be=Object.assign(Object.assign({},Ue),{checkable:et,selectable:Ie,showIcon:Xe,motion:Ne,blockNode:Ke,showLine:!!lt,dropIndicatorRender:me}),[je,$e]=(0,te.ZP)(ke),nt=le.useMemo(()=>{if(!Re)return!1;let rt={};switch(typeof Re){case"function":rt.nodeDraggable=Re;break;case"object":rt=Object.assign({},Re);break;default:break}return rt.icon!==!1&&(rt.icon=rt.icon||le.createElement(b.Z,null)),rt},[Re]),Ze=rt=>le.createElement(ve.Z,{prefixCls:ke,switcherIcon:Je,treeNodeProps:rt,showLine:lt});return je(le.createElement(ae.Z,Object.assign({itemHeight:20,ref:He,virtual:ze},Be,{style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Ye),prefixCls:ke,className:z()({[`${ke}-icon-hide`]:!Xe,[`${ke}-block-node`]:Ke,[`${ke}-unselectable`]:!Ie,[`${ke}-rtl`]:Ge==="rtl"},_e==null?void 0:_e.className,tt,$e),direction:Ge,checkable:et&&le.createElement("span",{className:`${ke}-checkbox-inner`}),selectable:Ie,switcherIcon:Ze,draggable:nt}),Me))}),Se;(function(Ue){Ue[Ue.None=0]="None",Ue[Ue.Start=1]="Start",Ue[Ue.End=2]="End"})(Se||(Se={}));function be(Ue,He){function Qe(Ge){const{key:ze,children:_e}=Ge;He(ze,Ge)!==!1&&be(_e||[],He)}Ue.forEach(Qe)}function Ee(Ue){let{treeData:He,expandedKeys:Qe,startKey:Ge,endKey:ze}=Ue;const _e=[];let Ve=Se.None;if(Ge&&Ge===ze)return[Ge];if(!Ge||!ze)return[];function tt(Xe){return Xe===Ge||Xe===ze}return be(He,Xe=>{if(Ve===Se.End)return!1;if(tt(Xe)){if(_e.push(Xe),Ve===Se.None)Ve=Se.Start;else if(Ve===Se.Start)return Ve=Se.End,!1}else Ve===Se.Start&&_e.push(Xe);return Qe.includes(Xe)}),_e}function Ce(Ue,He){const Qe=(0,Ae.Z)(He),Ge=[];return be(Ue,(ze,_e)=>{const Ve=Qe.indexOf(ze);return Ve!==-1&&(Ge.push(_e),Qe.splice(Ve,1)),!!Qe.length}),Ge}var De=function(Ue,He){var Qe={};for(var Ge in Ue)Object.prototype.hasOwnProperty.call(Ue,Ge)&&He.indexOf(Ge)<0&&(Qe[Ge]=Ue[Ge]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ge=Object.getOwnPropertySymbols(Ue);ze{var{defaultExpandAll:Qe,defaultExpandParent:Ge,defaultExpandedKeys:ze}=Ue,_e=De(Ue,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ve=le.useRef(),tt=le.useRef(),Xe=()=>{const{keyEntities:nt}=(0,y.I8)(Fe(_e));let Ze;return Qe?Ze=Object.keys(nt):Ge?Ze=(0,a.r7)(_e.expandedKeys||ze||[],nt):Ze=_e.expandedKeys||ze,Ze},[lt,Je]=le.useState(_e.selectedKeys||_e.defaultSelectedKeys||[]),[Ke,Me]=le.useState(()=>Xe());le.useEffect(()=>{"selectedKeys"in _e&&Je(_e.selectedKeys)},[_e.selectedKeys]),le.useEffect(()=>{"expandedKeys"in _e&&Me(_e.expandedKeys)},[_e.expandedKeys]);const et=(nt,Ze)=>{var rt;return"expandedKeys"in _e||Me(nt),(rt=_e.onExpand)===null||rt===void 0?void 0:rt.call(_e,nt,Ze)},Ie=(nt,Ze)=>{var rt;const{multiple:yt}=_e,{node:ct,nativeEvent:bt}=Ze,{key:dt=""}=ct,ht=Fe(_e),ot=Object.assign(Object.assign({},Ze),{selected:!0}),ut=(bt==null?void 0:bt.ctrlKey)||(bt==null?void 0:bt.metaKey),mt=bt==null?void 0:bt.shiftKey;let Ct;yt&&ut?(Ct=nt,Ve.current=dt,tt.current=Ct,ot.selectedNodes=Ce(ht,Ct)):yt&&mt?(Ct=Array.from(new Set([].concat((0,Ae.Z)(tt.current||[]),(0,Ae.Z)(Ee({treeData:ht,expandedKeys:Ke,startKey:dt,endKey:Ve.current}))))),ot.selectedNodes=Ce(ht,Ct)):(Ct=[dt],Ve.current=dt,tt.current=Ct,ot.selectedNodes=Ce(ht,Ct)),(rt=_e.onSelect)===null||rt===void 0||rt.call(_e,Ct,ot),"selectedKeys"in _e||Je(Ct)},{getPrefixCls:Re,direction:qe}=le.useContext(x.E_),{prefixCls:Ye,className:ke,showIcon:xe=!0,expandAction:Ne="click"}=_e,Be=De(_e,["prefixCls","className","showIcon","expandAction"]),je=Re("tree",Ye),$e=z()(`${je}-directory`,{[`${je}-directory-rtl`]:qe==="rtl"},ke);return le.createElement(pe,Object.assign({icon:we,ref:He,blockNode:!0},Be,{showIcon:xe,expandAction:Ne,prefixCls:je,className:$e,expandedKeys:Ke,selectedKeys:lt,onSelect:Ie,onExpand:et}))};var Oe=le.forwardRef(Pe);const We=pe;We.DirectoryTree=Oe,We.TreeNode=ae.O;var Te=We},20648:function(vt,at,fe){"use strict";fe.d(at,{TM:function(){return re},Yk:function(){return oe}});var ae=fe(36237),Ae=fe(98447),E=fe(17313),ye=fe(8378),he=fe(37613),le=fe(83116);const ne=new ae.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),se=(z,a)=>({[`.${z}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),de=(z,a)=>({[`.${z}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ue=(z,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:ce}=a,me=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ne,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:ee,lineHeight:`${ee}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ee}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},se(z,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,margin:0,lineHeight:`${ee}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ee/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ee/2*.8,height:ee/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:me},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ee,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${ee}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ce},[`&${y}-node-selected`]:{backgroundColor:te},[`${y}-iconEle`]:{display:"inline-block",width:ee,height:ee,lineHeight:`${ee}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${ee}px`,userSelect:"none"},de(z,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ee/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${ee/2}px !important`}}}}})}},ie=z=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:ee}=z;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${z.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:z.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${z.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:ee,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:ee},[`${a}-node-content-wrapper`]:{color:ee,background:"transparent"}}}}}},oe=(z,a)=>{const y=`.${z}`,x=`${y}-treenode`,b=a.paddingXS/2,ee=(0,he.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ue(z,ee),ie(ee)]},re=z=>{const{controlHeightSM:a}=z;return{titleHeight:a,nodeHoverBg:z.controlItemBgHover,nodeSelectedBg:z.controlItemBgActive}};at.ZP=(0,le.Z)("Tree",(z,a)=>{let{prefixCls:y}=a;return[{[z.componentCls]:(0,Ae.C2)(`${y}-checkbox`,z)},oe(y,z),(0,ye.Z)(z)]},z=>{const{colorTextLightSolid:a,colorPrimary:y}=z;return Object.assign(Object.assign({},re(z)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return x}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ye=E,he=fe(7657),le=function(ee,te){return Ae.createElement(he.Z,(0,ae.Z)({},ee,{ref:te,icon:ye}))},ne=Ae.forwardRef(le),se=ne,de=fe(52671),ue=fe(58617),ie=fe(15075),oe=fe(43531),re=fe(92310),z=fe.n(re),a=fe(92343),x=b=>{const{prefixCls:ee,switcherIcon:te,treeNodeProps:ce,showLine:me}=b,{isLeaf:ve,expanded:ge,loading:pe}=ce;if(pe)return Ae.createElement(ue.Z,{className:`${ee}-switcher-loading-icon`});let Se;if(me&&typeof me=="object"&&(Se=me.showLeafIcon),ve){if(!me)return null;if(typeof Se!="boolean"&&Se){const Ce=typeof Se=="function"?Se(ce):Se,De=`${ee}-switcher-line-custom-icon`;return(0,a.l$)(Ce)?(0,a.Tm)(Ce,{className:z()(Ce.props.className||"",De)}):Ce}return Se?Ae.createElement(de.Z,{className:`${ee}-switcher-line-icon`}):Ae.createElement("span",{className:`${ee}-switcher-leaf-line`})}const be=`${ee}-switcher-icon`,Ee=typeof te=="function"?te(ce):te;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:z()(Ee.props.className||"",be)}):Ee!==void 0?Ee:me?ge?Ae.createElement(ie.Z,{className:`${ee}-switcher-line-icon`}):Ae.createElement(oe.Z,{className:`${ee}-switcher-line-icon`}):Ae.createElement(se,{className:be})}},54580:function(vt,at,fe){"use strict";fe.d(at,{default:function(){return rn}});var ae=fe(59301),Ae=fe(94480),E=fe(92310),ye=fe.n(E),he=fe(54476),le=fe(67732),ne=fe(83652),se=fe(42403),de=fe(158),ue=fe(20068),ie=fe(75931),oe=fe(75044),re=fe(76190),z=fe(3202),a=fe(26112);function y(Pt,gt){var St="cannot ".concat(Pt.method," ").concat(Pt.action," ").concat(gt.status,"'"),At=new Error(St);return At.status=gt.status,At.method=Pt.method,At.url=Pt.action,At}function x(Pt){var gt=Pt.responseText||Pt.response;if(!gt)return gt;try{return JSON.parse(gt)}catch(St){return gt}}function b(Pt){var gt=new XMLHttpRequest;Pt.onProgress&>.upload&&(gt.upload.onprogress=function(Zt){Zt.total>0&&(Zt.percent=Zt.loaded/Zt.total*100),Pt.onProgress(Zt)});var St=new FormData;Pt.data&&Object.keys(Pt.data).forEach(function(zt){var Zt=Pt.data[zt];if(Array.isArray(Zt)){Zt.forEach(function($t){St.append("".concat(zt,"[]"),$t)});return}St.append(zt,Zt)}),Pt.file instanceof Blob?St.append(Pt.filename,Pt.file,Pt.file.name):St.append(Pt.filename,Pt.file),gt.onerror=function(Zt){Pt.onError(Zt)},gt.onload=function(){return gt.status<200||gt.status>=300?Pt.onError(y(Pt,gt),x(gt)):Pt.onSuccess(x(gt),gt)},gt.open(Pt.method,Pt.action,!0),Pt.withCredentials&&"withCredentials"in gt&&(gt.withCredentials=!0);var At=Pt.headers||{};return At["X-Requested-With"]!==null&>.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(At).forEach(function(zt){At[zt]!==null&>.setRequestHeader(zt,At[zt])}),gt.send(St),{abort:function(){gt.abort()}}}var ee=+new Date,te=0;function ce(){return"rc-upload-".concat(ee,"-").concat(++te)}var me=fe(48736),ve=function(Pt,gt){if(Pt&>){var St=Array.isArray(gt)?gt:gt.split(","),At=Pt.name||"",zt=Pt.type||"",Zt=zt.replace(/\/.*$/,"");return St.some(function($t){var ln=$t.trim();if(/^\*(\/\*)?$/.test($t))return!0;if(ln.charAt(0)==="."){var Pn=At.toLowerCase(),zn=ln.toLowerCase(),Gt=[zn];return(zn===".jpg"||zn===".jpeg")&&(Gt=[".jpg",".jpeg"]),Gt.some(function(tr){return Pn.endsWith(tr)})}return/\/\*$/.test(ln)?Zt===ln.replace(/\/.*$/,""):zt===ln?!0:/^\w+$/.test(ln)?((0,me.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ln,"'.Skip for check.")),!0):!1})}return!0};function ge(Pt,gt){var St=Pt.createReader(),At=[];function zt(){St.readEntries(function(Zt){var $t=Array.prototype.slice.apply(Zt);At=At.concat($t);var ln=!$t.length;ln?gt(At):zt()})}zt()}var pe=function(gt,St,At){var zt=function Zt($t,ln){$t&&($t.path=ln||"",$t.isFile?$t.file(function(Pn){At(Pn)&&($t.fullPath&&!Pn.webkitRelativePath&&(Object.defineProperties(Pn,{webkitRelativePath:{writable:!0}}),Pn.webkitRelativePath=$t.fullPath.replace(/^\//,""),Object.defineProperties(Pn,{webkitRelativePath:{writable:!1}})),St([Pn]))}):$t.isDirectory&&ge($t,function(Pn){Pn.forEach(function(zn){Zt(zn,"".concat(ln).concat($t.name,"/"))})}))};gt.forEach(function(Zt){zt(Zt.webkitGetAsEntry())})},Se=pe,be=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ee=function(Pt){(0,se.Z)(St,Pt);var gt=(0,de.Z)(St);function St(){var At;(0,le.Z)(this,St);for(var zt=arguments.length,Zt=new Array(zt),$t=0;$t{let{uid:Zt}=zt;return Zt===Pt.uid});return At===-1?St.push(Pt):St[At]=Pt,St}function rt(Pt,gt){const St=Pt.uid!==void 0?"uid":"name";return gt.filter(At=>At[St]===Pt[St])[0]}function yt(Pt,gt){const St=Pt.uid!==void 0?"uid":"name",At=gt.filter(zt=>zt[St]!==Pt[St]);return At.length===gt.length?null:At}const ct=function(){const gt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),At=gt[gt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(At)||[""])[0]},bt=Pt=>Pt.indexOf("image/")===0,dt=Pt=>{if(Pt.type&&!Pt.thumbUrl)return bt(Pt.type);const gt=Pt.thumbUrl||Pt.url||"",St=ct(gt);return/^data:image\//.test(gt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(St)?!0:!(/^data:/.test(gt)||St)},ht=200;function ot(Pt){return new Promise(gt=>{if(!Pt.type||!bt(Pt.type)){gt("");return}const St=document.createElement("canvas");St.width=ht,St.height=ht,St.style.cssText=`position: fixed; left: 0; top: 0; width: ${ht}px; height: ${ht}px; z-index: 9999; display: none;`,document.body.appendChild(St);const At=St.getContext("2d"),zt=new Image;if(zt.onload=()=>{const{width:Zt,height:$t}=zt;let ln=ht,Pn=ht,zn=0,Gt=0;Zt>$t?(Pn=$t*(ht/Zt),Gt=-(Pn-ln)/2):(ln=Zt*(ht/$t),zn=-(ln-Pn)/2),At.drawImage(zt,zn,Gt,ln,Pn);const tr=St.toDataURL();document.body.removeChild(St),window.URL.revokeObjectURL(zt.src),gt(tr)},zt.crossOrigin="anonymous",Pt.type.startsWith("image/svg+xml")){const Zt=new FileReader;Zt.onload=()=>{Zt.result&&(zt.src=Zt.result)},Zt.readAsDataURL(Pt)}else if(Pt.type.startsWith("image/gif")){const Zt=new FileReader;Zt.onload=()=>{Zt.result&>(Zt.result)},Zt.readAsDataURL(Pt)}else zt.src=window.URL.createObjectURL(Pt)})}var ut=fe(26227),mt=fe(41464),Ct=fe(15277),Bt=fe(93948),It=fe(6848),qt=ae.forwardRef((Pt,gt)=>{let{prefixCls:St,className:At,style:zt,locale:Zt,listType:$t,file:ln,items:Pn,progress:zn,iconRender:Gt,actionIconRender:tr,itemRender:ir,isImgUrl:sr,showPreviewIcon:vr,showRemoveIcon:Ln,showDownloadIcon:Rn,previewIcon:$n,removeIcon:Tn,downloadIcon:ur,onPreview:Sr,onDownload:lr,onClose:Ir}=Pt;var Er,$r;const{status:na}=ln,[ca,Kn]=ae.useState(na);ae.useEffect(()=>{na!=="removed"&&Kn(na)},[na]);const[Xn,Fn]=ae.useState(!1);ae.useEffect(()=>{const da=setTimeout(()=>{Fn(!0)},300);return()=>{clearTimeout(da)}},[]);const Hr=Gt(ln);let Jr=ae.createElement("div",{className:`${St}-icon`},Hr);if($t==="picture"||$t==="picture-card"||$t==="picture-circle")if(ca==="uploading"||!ln.thumbUrl&&!ln.url){const da=ye()(`${St}-list-item-thumbnail`,{[`${St}-list-item-file`]:ca!=="uploading"});Jr=ae.createElement("div",{className:da},Hr)}else{const da=sr!=null&&sr(ln)?ae.createElement("img",{src:ln.thumbUrl||ln.url,alt:ln.name,className:`${St}-list-item-image`,crossOrigin:ln.crossOrigin}):Hr,ya=ye()(`${St}-list-item-thumbnail`,{[`${St}-list-item-file`]:sr&&!sr(ln)});Jr=ae.createElement("a",{className:ya,onClick:za=>Sr(ln,za),href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer"},da)}const Tr=ye()(`${St}-list-item`,`${St}-list-item-${ca}`),Or=typeof ln.linkProps=="string"?JSON.parse(ln.linkProps):ln.linkProps,Ur=Ln?tr((typeof Tn=="function"?Tn(ln):Tn)||ae.createElement(ut.Z,null),()=>Ir(ln),St,Zt.removeFile):null,sa=Rn&&ca==="done"?tr((typeof ur=="function"?ur(ln):ur)||ae.createElement(mt.Z,null),()=>lr(ln),St,Zt.downloadFile):null,ra=$t!=="picture-card"&&$t!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:ye()(`${St}-list-item-actions`,{picture:$t==="picture"})},sa,Ur),xr=ye()(`${St}-list-item-name`),wr=ln.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:xr,title:ln.name},Or,{href:ln.url,onClick:da=>Sr(ln,da)}),ln.name),ra]:[ae.createElement("span",{key:"view",className:xr,onClick:da=>Sr(ln,da),title:ln.name},ln.name),ra],Br={pointerEvents:"none",opacity:.5},Mr=vr?ae.createElement("a",{href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ln.url||ln.thumbUrl?void 0:Br,onClick:da=>Sr(ln,da),title:Zt.previewFile},typeof $n=="function"?$n(ln):$n||ae.createElement(Ct.Z,null)):null,Wr=($t==="picture-card"||$t==="picture-circle")&&ca!=="uploading"&&ae.createElement("span",{className:`${St}-list-item-actions`},Mr,ca==="done"&&sa,Ur),{getPrefixCls:ha}=ae.useContext(We.E_),wa=ha(),Ia=ae.createElement("div",{className:Tr},Jr,wr,Wr,Xn&&ae.createElement(xe.default,{motionName:`${wa}-fade`,visible:ca==="uploading",motionDeadline:2e3},da=>{let{className:ya}=da;const za="percent"in ln?ae.createElement(Bt.Z,Object.assign({},zn,{type:"line",percent:ln.percent,"aria-label":ln["aria-label"],"aria-labelledby":ln["aria-labelledby"]})):null;return ae.createElement("div",{className:ye()(`${St}-list-item-progress`,ya)},za)})),ka=ln.response&&typeof ln.response=="string"?ln.response:((Er=ln.error)===null||Er===void 0?void 0:Er.statusText)||(($r=ln.error)===null||$r===void 0?void 0:$r.message)||Zt.uploadError,Na=ca==="error"?ae.createElement(It.Z,{title:ka,getPopupContainer:da=>da.parentNode},Ia):Ia;return ae.createElement("div",{className:ye()(`${St}-list-item-container`,At),style:zt,ref:gt},ir?ir(Na,ln,Pn,{download:lr.bind(null,ln),preview:Sr.bind(null,ln),remove:Ir.bind(null,ln)}):Na)});const yn=(Pt,gt)=>{const{listType:St="text",previewFile:At=ot,onPreview:zt,onDownload:Zt,onRemove:$t,locale:ln,iconRender:Pn,isImageUrl:zn=dt,prefixCls:Gt,items:tr=[],showPreviewIcon:ir=!0,showRemoveIcon:sr=!0,showDownloadIcon:vr=!1,removeIcon:Ln,previewIcon:Rn,downloadIcon:$n,progress:Tn={size:[-1,2],showInfo:!1},appendAction:ur,appendActionVisible:Sr=!0,itemRender:lr,disabled:Ir}=Pt,Er=(0,Ne.Z)(),[$r,na]=ae.useState(!1);ae.useEffect(()=>{St!=="picture"&&St!=="picture-card"&&St!=="picture-circle"||(tr||[]).forEach(Br=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Br.originFileObj instanceof File||Br.originFileObj instanceof Blob)||Br.thumbUrl!==void 0||(Br.thumbUrl="",At&&At(Br.originFileObj).then(Mr=>{Br.thumbUrl=Mr||"",Er()}))})},[St,tr,At]),ae.useEffect(()=>{na(!0)},[]);const ca=(Br,Mr)=>{if(zt)return Mr==null||Mr.preventDefault(),zt(Br)},Kn=Br=>{typeof Zt=="function"?Zt(Br):Br.url&&window.open(Br.url)},Xn=Br=>{$t==null||$t(Br)},Fn=Br=>{if(Pn)return Pn(Br,St);const Mr=Br.status==="uploading",Wr=zn&&zn(Br)?ae.createElement(ke,null):ae.createElement(tt,null);let ha=Mr?ae.createElement(Xe.Z,null):ae.createElement(et,null);return St==="picture"?ha=Mr?ae.createElement(Xe.Z,null):Wr:(St==="picture-card"||St==="picture-circle")&&(ha=Mr?ln.uploading:Wr),ha},Hr=(Br,Mr,Wr,ha)=>{const wa={type:"text",size:"small",title:ha,onClick:Ia=>{Mr(),(0,je.l$)(Br)&&Br.props.onClick&&Br.props.onClick(Ia)},className:`${Wr}-list-item-action`,disabled:Ir};if((0,je.l$)(Br)){const Ia=(0,je.Tm)(Br,Object.assign(Object.assign({},Br.props),{onClick:()=>{}}));return ae.createElement($e.ZP,Object.assign({},wa,{icon:Ia}))}return ae.createElement($e.ZP,Object.assign({},wa),ae.createElement("span",null,Br))};ae.useImperativeHandle(gt,()=>({handlePreview:ca,handleDownload:Kn}));const{getPrefixCls:Jr}=ae.useContext(We.E_),Tr=Jr("upload",Gt),Or=Jr(),Ur=ye()(`${Tr}-list`,`${Tr}-list-${St}`),sa=(0,Ae.Z)(tr.map(Br=>({key:Br.uid,file:Br})));let xr={motionDeadline:2e3,motionName:`${Tr}-${St==="picture-card"||St==="picture-circle"?"animate-inline":"animate"}`,keys:sa,motionAppear:$r};const wr=ae.useMemo(()=>{const Br=Object.assign({},(0,Be.Z)(Or));return delete Br.onAppearEnd,delete Br.onEnterEnd,delete Br.onLeaveEnd,Br},[Or]);return St!=="picture-card"&&St!=="picture-circle"&&(xr=Object.assign(Object.assign({},wr),xr)),ae.createElement("div",{className:Ur},ae.createElement(xe.CSSMotionList,Object.assign({},xr,{component:!1}),Br=>{let{key:Mr,file:Wr,className:ha,style:wa}=Br;return ae.createElement(qt,{key:Mr,locale:ln,prefixCls:Tr,className:ha,style:wa,file:Wr,items:tr,progress:Tn,listType:St,isImgUrl:zn,showPreviewIcon:ir,showRemoveIcon:sr,showDownloadIcon:vr,removeIcon:Ln,previewIcon:Rn,downloadIcon:$n,iconRender:Fn,actionIconRender:Hr,itemRender:lr,onPreview:ca,onDownload:Kn,onClose:Xn})}),ur&&ae.createElement(xe.default,Object.assign({},xr,{visible:Sr,forceRender:!0}),Br=>{let{className:Mr,style:Wr}=Br;return(0,je.Tm)(ur,ha=>({className:ye()(ha.className,Mr),style:Object.assign(Object.assign(Object.assign({},Wr),{pointerEvents:Mr?"none":void 0}),ha.style)}))}))};var En=ae.forwardRef(yn),pn=fe(17313),Qn=fe(8378),Bn=fe(83116),un=fe(37613),_t=Pt=>{const{componentCls:gt,iconCls:St}=Pt;return{[`${gt}-wrapper`]:{[`${gt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Pt.colorFillAlter,border:`${Pt.lineWidth}px dashed ${Pt.colorBorder}`,borderRadius:Pt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Pt.motionDurationSlow}`,[gt]:{padding:`${Pt.padding}px 0`},[`${gt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${gt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${gt}-disabled):hover`]:{borderColor:Pt.colorPrimaryHover},[`p${gt}-drag-icon`]:{marginBottom:Pt.margin,[St]:{color:Pt.colorPrimary,fontSize:Pt.uploadThumbnailSize}},[`p${gt}-text`]:{margin:`0 0 ${Pt.marginXXS}px`,color:Pt.colorTextHeading,fontSize:Pt.fontSizeLG},[`p${gt}-hint`]:{color:Pt.colorTextDescription,fontSize:Pt.fontSize},[`&${gt}-disabled`]:{cursor:"not-allowed",[`p${gt}-drag-icon ${St}, - p${gt}-text, - p${gt}-hint - `]:{color:Pt.colorTextDisabled}}}}}},cn=Pt=>{const{componentCls:gt,antCls:St,iconCls:At,fontSize:zt,lineHeight:Zt}=Pt,$t=`${gt}-list-item`,ln=`${$t}-actions`,Pn=`${$t}-action`,zn=Math.round(zt*Zt);return{[`${gt}-wrapper`]:{[`${gt}-list`]:Object.assign(Object.assign({},(0,pn.dF)()),{lineHeight:Pt.lineHeight,[$t]:{position:"relative",height:Pt.lineHeight*zt,marginTop:Pt.marginXS,fontSize:zt,display:"flex",alignItems:"center",transition:`background-color ${Pt.motionDurationSlow}`,"&:hover":{backgroundColor:Pt.controlItemBgHover},[`${$t}-name`]:Object.assign(Object.assign({},pn.vS),{padding:`0 ${Pt.paddingXS}px`,lineHeight:Zt,flex:"auto",transition:`all ${Pt.motionDurationSlow}`}),[ln]:{[Pn]:{opacity:0},[`${Pn}${St}-btn-sm`]:{height:zn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${Pn}:focus-visible, - &.picture ${Pn} - `]:{opacity:1},[At]:{color:Pt.actionsColor,transition:`all ${Pt.motionDurationSlow}`},[`&:hover ${At}`]:{color:Pt.colorText}},[`${gt}-icon ${At}`]:{color:Pt.colorTextDescription,fontSize:zt},[`${$t}-progress`]:{position:"absolute",bottom:-Pt.uploadProgressOffset,width:"100%",paddingInlineStart:zt+Pt.paddingXS,fontSize:zt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${$t}:hover ${Pn}`]:{opacity:1,color:Pt.colorText},[`${$t}-error`]:{color:Pt.colorError,[`${$t}-name, ${gt}-icon ${At}`]:{color:Pt.colorError},[ln]:{[`${At}, ${At}:hover`]:{color:Pt.colorError},[Pn]:{opacity:1}}},[`${gt}-list-item-container`]:{transition:`opacity ${Pt.motionDurationSlow}, height ${Pt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ot=fe(36237),ft=fe(1950);const Ft=new Ot.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),kt=new Ot.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var an=Pt=>{const{componentCls:gt}=Pt,St=`${gt}-animate-inline`;return[{[`${gt}-wrapper`]:{[`${St}-appear, ${St}-enter, ${St}-leave`]:{animationDuration:Pt.motionDurationSlow,animationTimingFunction:Pt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${St}-appear, ${St}-enter`]:{animationName:Ft},[`${St}-leave`]:{animationName:kt}}},{[`${gt}-wrapper`]:(0,ft.J$)(Pt)},Ft,kt]},en=fe(30071),Vt=fe(64993);const pt=Pt=>{const{componentCls:gt,iconCls:St,uploadThumbnailSize:At,uploadProgressOffset:zt}=Pt,Zt=`${gt}-list`,$t=`${Zt}-item`;return{[`${gt}-wrapper`]:{[` - ${Zt}${Zt}-picture, - ${Zt}${Zt}-picture-card, - ${Zt}${Zt}-picture-circle - `]:{[$t]:{position:"relative",height:At+Pt.lineWidth*2+Pt.paddingXS*2,padding:Pt.paddingXS,border:`${Pt.lineWidth}px ${Pt.lineType} ${Pt.colorBorder}`,borderRadius:Pt.borderRadiusLG,"&:hover":{background:"transparent"},[`${$t}-thumbnail`]:Object.assign(Object.assign({},pn.vS),{width:At,height:At,lineHeight:`${At+Pt.paddingSM}px`,textAlign:"center",flex:"none",[St]:{fontSize:Pt.fontSizeHeading2,color:Pt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${$t}-progress`]:{bottom:zt,width:`calc(100% - ${Pt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:At+Pt.paddingXS}},[`${$t}-error`]:{borderColor:Pt.colorError,[`${$t}-thumbnail ${St}`]:{[`svg path[fill='${en.blue[0]}']`]:{fill:Pt.colorErrorBg},[`svg path[fill='${en.blue.primary}']`]:{fill:Pt.colorError}}},[`${$t}-uploading`]:{borderStyle:"dashed",[`${$t}-name`]:{marginBottom:zt}}},[`${Zt}${Zt}-picture-circle ${$t}`]:{[`&, &::before, ${$t}-thumbnail`]:{borderRadius:"50%"}}}}},wt=Pt=>{const{componentCls:gt,iconCls:St,fontSizeLG:At,colorTextLightSolid:zt}=Pt,Zt=`${gt}-list`,$t=`${Zt}-item`,ln=Pt.uploadPicCardSize;return{[` - ${gt}-wrapper${gt}-picture-card-wrapper, - ${gt}-wrapper${gt}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,pn.dF)()),{display:"inline-block",width:"100%",[`${gt}${gt}-select`]:{width:ln,height:ln,marginInlineEnd:Pt.marginXS,marginBottom:Pt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Pt.colorFillAlter,border:`${Pt.lineWidth}px dashed ${Pt.colorBorder}`,borderRadius:Pt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Pt.motionDurationSlow}`,[`> ${gt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${gt}-disabled):hover`]:{borderColor:Pt.colorPrimary}},[`${Zt}${Zt}-picture-card, ${Zt}${Zt}-picture-circle`]:{[`${Zt}-item-container`]:{display:"inline-block",width:ln,height:ln,marginBlock:`0 ${Pt.marginXS}px`,marginInline:`0 ${Pt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[$t]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Pt.paddingXS*2}px)`,height:`calc(100% - ${Pt.paddingXS*2}px)`,backgroundColor:Pt.colorBgMask,opacity:0,transition:`all ${Pt.motionDurationSlow}`,content:'" "'}},[`${$t}:hover`]:{[`&::before, ${$t}-actions`]:{opacity:1}},[`${$t}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Pt.motionDurationSlow}`,[`${St}-eye, ${St}-download, ${St}-delete`]:{zIndex:10,width:At,margin:`0 ${Pt.marginXXS}px`,fontSize:At,cursor:"pointer",transition:`all ${Pt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${$t}-actions, ${$t}-actions:hover`]:{[`${St}-eye, ${St}-download, ${St}-delete`]:{color:new Vt.C(zt).setAlpha(.65).toRgbString(),"&:hover":{color:zt}}},[`${$t}-thumbnail, ${$t}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${$t}-name`]:{display:"none",textAlign:"center"},[`${$t}-file + ${$t}-name`]:{position:"absolute",bottom:Pt.margin,display:"block",width:`calc(100% - ${Pt.paddingXS*2}px)`},[`${$t}-uploading`]:{[`&${$t}`]:{backgroundColor:Pt.colorFillAlter},[`&::before, ${St}-eye, ${St}-download, ${St}-delete`]:{display:"none"}},[`${$t}-progress`]:{bottom:Pt.marginXL,width:`calc(100% - ${Pt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${gt}-wrapper${gt}-picture-circle-wrapper`]:{[`${gt}${gt}-select`]:{borderRadius:"50%"}}}};var Ut=Pt=>{const{componentCls:gt}=Pt;return{[`${gt}-rtl`]:{direction:"rtl"}}};const fn=Pt=>{const{componentCls:gt,colorTextDisabled:St}=Pt;return{[`${gt}-wrapper`]:Object.assign(Object.assign({},(0,pn.Wf)(Pt)),{[gt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${gt}-select`]:{display:"inline-block"},[`${gt}-disabled`]:{color:St,cursor:"not-allowed"}})}};var Qt=(0,Bn.Z)("Upload",Pt=>{const{fontSizeHeading3:gt,fontSize:St,lineHeight:At,lineWidth:zt,controlHeightLG:Zt}=Pt,$t=Math.round(St*At),ln=(0,un.TS)(Pt,{uploadThumbnailSize:gt*2,uploadProgressOffset:$t/2+zt,uploadPicCardSize:Zt*2.55});return[fn(ln),_t(ln),pt(ln),wt(ln),cn(ln),an(ln),Ut(ln),(0,Qn.Z)(ln)]},Pt=>({actionsColor:Pt.colorTextDescription})),_n=function(Pt,gt,St,At){function zt(Zt){return Zt instanceof St?Zt:new St(function($t){$t(Zt)})}return new(St||(St=Promise))(function(Zt,$t){function ln(Gt){try{zn(At.next(Gt))}catch(tr){$t(tr)}}function Pn(Gt){try{zn(At.throw(Gt))}catch(tr){$t(tr)}}function zn(Gt){Gt.done?Zt(Gt.value):zt(Gt.value).then(ln,Pn)}zn((At=At.apply(Pt,gt||[])).next())})};const wn=`__LIST_IGNORE_${Date.now()}__`,Mt=(Pt,gt)=>{const{fileList:St,defaultFileList:At,onRemove:zt,showUploadList:Zt=!0,listType:$t="text",onPreview:ln,onDownload:Pn,onChange:zn,onDrop:Gt,previewFile:tr,disabled:ir,locale:sr,iconRender:vr,isImageUrl:Ln,progress:Rn,prefixCls:$n,className:Tn,type:ur="select",children:Sr,style:lr,itemRender:Ir,maxCount:Er,data:$r={},multiple:na=!1,action:ca="",accept:Kn="",supportServerRender:Xn=!0,rootClassName:Fn}=Pt,Hr=ae.useContext(Te.Z),Jr=ir!=null?ir:Hr,[Tr,Or]=(0,Le.Z)(At||[],{value:St,postState:gr=>gr!=null?gr:[]}),[Ur,sa]=ae.useState("drop"),ra=ae.useRef(null);ae.useMemo(()=>{const gr=Date.now();(St||[]).forEach((_r,Kr)=>{!_r.uid&&!Object.isFrozen(_r)&&(_r.uid=`__AUTO__${gr}_${Kr}__`)})},[St]);const xr=(gr,_r,Kr)=>{let Un=(0,Ae.Z)(_r),mr=!1;Er===1?Un=Un.slice(-1):Er&&(mr=Un.length>Er,Un=Un.slice(0,Er)),(0,Oe.flushSync)(()=>{Or(Un)});const Wt={file:gr,fileList:Un};Kr&&(Wt.event=Kr),(!mr||Un.some(Rt=>Rt.uid===gr.uid))&&(0,Oe.flushSync)(()=>{zn==null||zn(Wt)})},wr=(gr,_r)=>_n(void 0,void 0,void 0,function*(){const{beforeUpload:Kr,transformFile:Un}=Pt;let mr=gr;if(Kr){const Wt=yield Kr(gr,_r);if(Wt===!1)return!1;if(delete gr[wn],Wt===wn)return Object.defineProperty(gr,wn,{value:!0,configurable:!0}),!1;typeof Wt=="object"&&Wt&&(mr=Wt)}return Un&&(mr=yield Un(mr)),mr}),Br=gr=>{const _r=gr.filter(mr=>!mr.file[wn]);if(!_r.length)return;const Kr=_r.map(mr=>nt(mr.file));let Un=(0,Ae.Z)(Tr);Kr.forEach(mr=>{Un=Ze(mr,Un)}),Kr.forEach((mr,Wt)=>{let Rt=mr;if(_r[Wt].parsedFile)mr.status="uploading";else{const{originFileObj:Kt}=mr;let gn;try{gn=new File([Kt],Kt.name,{type:Kt.type})}catch(Gn){gn=new Blob([Kt],{type:Kt.type}),gn.name=Kt.name,gn.lastModifiedDate=new Date,gn.lastModified=new Date().getTime()}gn.uid=mr.uid,Rt=gn}xr(Rt,Un)})},Mr=(gr,_r,Kr)=>{try{typeof gr=="string"&&(gr=JSON.parse(gr))}catch(Wt){}if(!rt(_r,Tr))return;const Un=nt(_r);Un.status="done",Un.percent=100,Un.response=gr,Un.xhr=Kr;const mr=Ze(Un,Tr);xr(Un,mr)},Wr=(gr,_r)=>{if(!rt(_r,Tr))return;const Kr=nt(_r);Kr.status="uploading",Kr.percent=gr.percent;const Un=Ze(Kr,Tr);xr(Kr,Un,gr)},ha=(gr,_r,Kr)=>{if(!rt(Kr,Tr))return;const Un=nt(Kr);Un.error=gr,Un.response=_r,Un.status="error";const mr=Ze(Un,Tr);xr(Un,mr)},wa=gr=>{let _r;Promise.resolve(typeof zt=="function"?zt(gr):zt).then(Kr=>{var Un;if(Kr===!1)return;const mr=yt(gr,Tr);mr&&(_r=Object.assign(Object.assign({},gr),{status:"removed"}),Tr==null||Tr.forEach(Wt=>{const Rt=_r.uid!==void 0?"uid":"name";Wt[Rt]===_r[Rt]&&!Object.isFrozen(Wt)&&(Wt.status="removed")}),(Un=ra.current)===null||Un===void 0||Un.abort(_r),xr(_r,mr))})},Ia=gr=>{sa(gr.type),gr.type==="drop"&&(Gt==null||Gt(gr))};ae.useImperativeHandle(gt,()=>({onBatchStart:Br,onSuccess:Mr,onProgress:Wr,onError:ha,fileList:Tr,upload:ra.current}));const{getPrefixCls:ka,direction:Na,upload:da}=ae.useContext(We.E_),ya=ka("upload",$n),za=Object.assign(Object.assign({onBatchStart:Br,onError:ha,onProgress:Wr,onSuccess:Mr},Pt),{data:$r,multiple:na,action:ca,accept:Kn,supportServerRender:Xn,prefixCls:ya,disabled:Jr,beforeUpload:wr,onChange:void 0});delete za.className,delete za.style,(!Sr||Jr)&&delete za.id;const[Yt,hn]=Qt(ya),[Nn]=(0,Ue.Z)("Upload",He.Z.Upload),{showRemoveIcon:Mn,showPreviewIcon:An,showDownloadIcon:mn,removeIcon:Sn,previewIcon:On,downloadIcon:jn}=typeof Zt=="boolean"?{}:Zt,ar=(gr,_r)=>Zt?ae.createElement(En,{prefixCls:ya,listType:$t,items:Tr,previewFile:tr,onPreview:ln,onDownload:Pn,onRemove:wa,showRemoveIcon:!Jr&&Mn,showPreviewIcon:An,showDownloadIcon:mn,removeIcon:Sn,previewIcon:On,downloadIcon:jn,iconRender:vr,locale:Object.assign(Object.assign({},Nn),sr),isImageUrl:Ln,progress:Rn,appendAction:gr,appendActionVisible:_r,itemRender:Ir,disabled:Jr}):gr,Vn=ye()(`${ya}-wrapper`,Tn,Fn,hn,da==null?void 0:da.className,{[`${ya}-rtl`]:Na==="rtl",[`${ya}-picture-card-wrapper`]:$t==="picture-card",[`${ya}-picture-circle-wrapper`]:$t==="picture-circle"}),Gr=Object.assign(Object.assign({},da==null?void 0:da.style),lr);if(ur==="drag"){const gr=ye()(hn,ya,`${ya}-drag`,{[`${ya}-drag-uploading`]:Tr.some(_r=>_r.status==="uploading"),[`${ya}-drag-hover`]:Ur==="dragover",[`${ya}-disabled`]:Jr,[`${ya}-rtl`]:Na==="rtl"});return Yt(ae.createElement("span",{className:Vn},ae.createElement("div",{className:gr,style:Gr,onDrop:Ia,onDragOver:Ia,onDragLeave:Ia},ae.createElement(Pe,Object.assign({},za,{ref:ra,className:`${ya}-btn`}),ae.createElement("div",{className:`${ya}-drag-container`},Sr))),ar()))}const hr=ye()(ya,`${ya}-select`,{[`${ya}-disabled`]:Jr}),Rr=(gr=>ae.createElement("div",{className:hr,style:gr},ae.createElement(Pe,Object.assign({},za,{ref:ra}))))(Sr?void 0:{display:"none"});return Yt($t==="picture-card"||$t==="picture-circle"?ae.createElement("span",{className:Vn},ar(Rr,!!Sr)):ae.createElement("span",{className:Vn},Rr,ar()))};var Jt=ae.forwardRef(Mt),jt=function(Pt,gt){var St={};for(var At in Pt)Object.prototype.hasOwnProperty.call(Pt,At)&>.indexOf(At)<0&&(St[At]=Pt[At]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,At=Object.getOwnPropertySymbols(Pt);zt{var{style:St,height:At}=Pt,zt=jt(Pt,["style","height"]);return ae.createElement(Jt,Object.assign({ref:gt},zt,{type:"drag",style:Object.assign(Object.assign({},St),{height:At})}))});const Hn=Jt;Hn.Dragger=Dn,Hn.LIST_IGNORE=wn;var rn=Hn},14625:function(vt){function at(ae){var Ae,E,ye="";if(typeof ae=="string"||typeof ae=="number")ye+=ae;else if(typeof ae=="object")if(Array.isArray(ae)){var he=ae.length;for(Ae=0;Ae>>6)+se(128|Fe&63):se(224|Fe>>>12&15)+se(128|Fe>>>6&63)+se(128|Fe&63)}else{var Fe=65536+(we.charCodeAt(0)-55296)*1024+(we.charCodeAt(1)-56320);return se(240|Fe>>>18&7)+se(128|Fe>>>12&63)+se(128|Fe>>>6&63)+se(128|Fe&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ie=function(we){return we.replace(ue,de)},oe=function(we){var Fe=[0,2,1][we.length%3],Pe=we.charCodeAt(0)<<16|(we.length>1?we.charCodeAt(1):0)<<8|(we.length>2?we.charCodeAt(2):0),Le=[le.charAt(Pe>>>18),le.charAt(Pe>>>12&63),Fe>=2?"=":le.charAt(Pe>>>6&63),Fe>=1?"=":le.charAt(Pe&63)];return Le.join("")},re=E.btoa&&typeof E.btoa=="function"?function(we){return E.btoa(we)}:function(we){if(we.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return we.replace(/[\s\S]{1,3}/g,oe)},z=function(we){return re(ie(String(we)))},a=function(we){return we.replace(/[+\/]/g,function(Fe){return Fe=="+"?"-":"_"}).replace(/=/g,"")},y=function(we,Fe){return Fe?a(z(we)):z(we)},x=function(we){return y(we,!0)},b;E.Uint8Array&&(b=function(we,Fe){for(var Pe="",Le=0,Oe=we.length;Le>>18)+le.charAt(He>>>12&63)+(typeof Te!="undefined"?le.charAt(He>>>6&63):"=")+(typeof Ue!="undefined"?le.charAt(He&63):"=")}return Fe?a(Pe):Pe});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(we){switch(we.length){case 4:var Fe=(7&we.charCodeAt(0))<<18|(63&we.charCodeAt(1))<<12|(63&we.charCodeAt(2))<<6|63&we.charCodeAt(3),Pe=Fe-65536;return se((Pe>>>10)+55296)+se((Pe&1023)+56320);case 3:return se((15&we.charCodeAt(0))<<12|(63&we.charCodeAt(1))<<6|63&we.charCodeAt(2));default:return se((31&we.charCodeAt(0))<<6|63&we.charCodeAt(1))}},ce=function(we){return we.replace(ee,te)},me=function(we){var Fe=we.length,Pe=Fe%4,Le=(Fe>0?ne[we.charAt(0)]<<18:0)|(Fe>1?ne[we.charAt(1)]<<12:0)|(Fe>2?ne[we.charAt(2)]<<6:0)|(Fe>3?ne[we.charAt(3)]:0),Oe=[se(Le>>>16),se(Le>>>8&255),se(Le&255)];return Oe.length-=[0,0,2,1][Pe],Oe.join("")},ve=E.atob&&typeof E.atob=="function"?function(we){return E.atob(we)}:function(we){return we.replace(/\S{1,4}/g,me)},ge=function(we){return ve(String(we).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(we){return ce(ve(we))},Se=function(we){return String(we).replace(/[-_]/g,function(Fe){return Fe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},be=function(we){return pe(Se(we))},Ee;E.Uint8Array&&(Ee=function(we){return Uint8Array.from(ge(Se(we)),function(Fe){return Fe.charCodeAt(0)})});var Ce=function(){var we=E.Base64;return E.Base64=ye,we};if(E.Base64={VERSION:he,atob:ge,btoa:re,fromBase64:be,toBase64:y,utob:ie,encode:y,encodeURI:x,btou:ce,decode:be,noConflict:Ce,fromUint8Array:b,toUint8Array:Ee},typeof Object.defineProperty=="function"){var De=function(we){return{value:we,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return be(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(we){return y(this,we)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),vt.exports?vt.exports.Base64=E.Base64:(ae=[],Ae=function(){return E.Base64}.apply(at,ae),Ae!==void 0&&(vt.exports=Ae)),{Base64:E.Base64}})},91735:function(vt,at){"use strict";at.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},39417:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return pe}});var ae=fe(54476),Ae=fe(20068),E=fe(75931),ye=fe(33885),he=fe(67732),le=fe(83652),ne=fe(31226),se=fe(42403),de=fe(158),ue=fe(92310),ie=fe.n(ue),oe=fe(26112),re=fe(59301),z=fe(39378),a=function(be){for(var Ee=be.prefixCls,Ce=be.level,De=be.isStart,we=be.isEnd,Fe="".concat(Ee,"-indent-unit"),Pe=[],Le=0;Le0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ye=Re.length,ke=qe.length;if(Math.abs(Ye-ke)!==1)return{add:!1,key:null};function xe(Ne,Be){var je=new Map;Ne.forEach(function(nt){je.set(nt,!0)});var $e=Be.filter(function(nt){return!je.has(nt)});return $e.length===1?$e[0]:null}return Ye ").concat(qe);return qe}var Ve=y.forwardRef(function(Re,qe){var Ye=Re.prefixCls,ke=Re.data,xe=Re.selectable,Ne=Re.checkable,Be=Re.expandedKeys,je=Re.selectedKeys,$e=Re.checkedKeys,nt=Re.loadedKeys,Ze=Re.loadingKeys,rt=Re.halfCheckedKeys,yt=Re.keyEntities,ct=Re.disabled,bt=Re.dragging,dt=Re.dragOverNodeKey,ht=Re.dropPosition,ot=Re.motion,ut=Re.height,mt=Re.itemHeight,Ct=Re.virtual,Bt=Re.focusable,It=Re.activeItem,Ht=Re.focused,qt=Re.tabIndex,yn=Re.onKeyDown,In=Re.onFocus,En=Re.onBlur,pn=Re.onActiveChange,Qn=Re.onListChangeStart,Bn=Re.onListChangeEnd,un=(0,ce.Z)(Re,Le),Yn=y.useRef(null),_t=y.useRef(null);y.useImperativeHandle(qe,function(){return{scrollTo:function(rn){Yn.current.scrollTo(rn)},getIndentWidth:function(){return _t.current.offsetWidth}}});var tn=y.useState(Be),cn=(0,te.Z)(tn,2),Ot=cn[0],ft=cn[1],Ft=y.useState(ke),kt=(0,te.Z)(Ft,2),Xt=kt[0],an=kt[1],en=y.useState(ke),Vt=(0,te.Z)(en,2),pt=Vt[0],wt=Vt[1],xt=y.useState([]),Ut=(0,te.Z)(xt,2),fn=Ut[0],Qt=Ut[1],_n=y.useState(null),wn=(0,te.Z)(_n,2),Mt=wn[0],Lt=wn[1],Jt=y.useRef(ke);Jt.current=ke;function jt(){var Hn=Jt.current;an(Hn),wt(Hn),Qt([]),Lt(null),Bn()}(0,me.Z)(function(){ft(Be);var Hn=Fe(Ot,Be);if(Hn.key!==null)if(Hn.add){var rn=Xt.findIndex(function(Zt){var $t=Zt.key;return $t===Hn.key}),Pt=Ge(Pe(Xt,ke,Hn.key),Ct,ut,mt),gt=Xt.slice();gt.splice(rn+1,0,Qe),wt(gt),Qt(Pt),Lt("show")}else{var St=ke.findIndex(function(Zt){var $t=Zt.key;return $t===Hn.key}),At=Ge(Pe(ke,Xt,Hn.key),Ct,ut,mt),zt=ke.slice();zt.splice(St+1,0,Qe),wt(zt),Qt(At),Lt("hide")}else Xt!==ke&&(an(ke),wt(ke))},[Be,ke]),y.useEffect(function(){bt||jt()},[bt]);var bn=ot?pt:ke,Dn={expandedKeys:Be,selectedKeys:je,loadedKeys:nt,loadingKeys:Ze,checkedKeys:$e,halfCheckedKeys:rt,dragOverNodeKey:dt,dropPosition:ht,keyEntities:yt};return y.createElement(y.Fragment,null,Ht&&It&&y.createElement("span",{style:Oe,"aria-live":"assertive"},_e(It)),y.createElement("div",null,y.createElement("input",{style:Oe,disabled:Bt===!1||ct,tabIndex:Bt!==!1?qt:null,onKeyDown:yn,onFocus:In,onBlur:En,value:"",onChange:We,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(Ye,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(Ye,"-indent")},y.createElement("div",{ref:_t,className:"".concat(Ye,"-indent-unit")}))),y.createElement(ve.Z,(0,ae.Z)({},un,{data:bn,itemKey:ze,height:ut,fullHeight:!1,virtual:Ct,itemHeight:mt,prefixCls:"".concat(Ye,"-list"),ref:Yn,onVisibleChange:function(rn,Pt){var gt=new Set(rn),St=Pt.filter(function(At){return!gt.has(At)});St.some(function(At){return ze(At)===Te})&&jt()}}),function(Hn){var rn=Hn.pos,Pt=(0,ae.Z)({},(ee(Hn.data),Hn.data)),gt=Hn.title,St=Hn.key,At=Hn.isStart,zt=Hn.isEnd,Zt=(0,be.km)(St,rn);delete Pt.key,delete Pt.children;var $t=(0,be.H8)(Zt,Dn);return y.createElement(we,(0,ae.Z)({},Pt,$t,{title:gt,active:!!It&&St===It.key,pos:rn,data:Hn.data,isStart:At,isEnd:zt,motion:ot,motionNodes:St===Te?fn:null,motionType:Mt,onMotionStart:Qn,onMotionEnd:jt,treeNodeRequiredProps:Dn,onMouseMove:function(){pn(null)}}))}))});Ve.displayName="NodeList";var tt=Ve,Xe=fe(35654),lt=fe(90782),Je=fe(67841),Ke=10,Me=function(Re){(0,de.Z)(Ye,Re);var qe=(0,ue.Z)(Ye);function Ye(){var ke;(0,le.Z)(this,Ye);for(var xe=arguments.length,Ne=new Array(xe),Be=0;Be2&&arguments[2]!==void 0?arguments[2]:!1,rt=ke.state,yt=rt.dragChildrenKeys,ct=rt.dropPosition,bt=rt.dropTargetKey,dt=rt.dropTargetPos,ht=rt.dropAllowed;if(ht){var ot=ke.props.onDrop;if(ke.setState({dragOverNodeKey:null}),ke.cleanDragState(),bt!==null){var ut=(0,ye.Z)((0,ye.Z)({},(0,be.H8)(bt,ke.getTreeNodeRequiredProps())),{},{active:((nt=ke.getActiveItem())===null||nt===void 0?void 0:nt.key)===bt,data:(0,Je.Z)(ke.state.keyEntities,bt).node}),mt=yt.indexOf(bt)!==-1;(0,a.ZP)(!mt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ct=(0,Xe.yx)(dt),Bt={event:je,node:(0,be.F)(ut),dragNode:ke.dragNode?(0,be.F)(ke.dragNode.props):null,dragNodesKeys:[ke.dragNode.props.eventKey].concat(yt),dropToGap:ct!==0,dropPosition:ct+Number(Ct[Ct.length-1])};Ze||ot==null||ot(Bt),ke.dragNode=null}}},ke.cleanDragState=function(){var je=ke.state.draggingNodeKey;je!==null&&ke.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ke.dragStartMousePosition=null,ke.currentMouseOverDroppableNodeKey=null},ke.triggerExpandActionExpand=function(je,$e){var nt=ke.state,Ze=nt.expandedKeys,rt=nt.flattenNodes,yt=$e.expanded,ct=$e.key,bt=$e.isLeaf;if(!(bt||je.shiftKey||je.metaKey||je.ctrlKey)){var dt=rt.filter(function(ot){return ot.key===ct})[0],ht=(0,be.F)((0,ye.Z)((0,ye.Z)({},(0,be.H8)(ct,ke.getTreeNodeRequiredProps())),{},{data:dt.data}));ke.setExpandedKeys(yt?(0,Xe._5)(Ze,ct):(0,Xe.L0)(Ze,ct)),ke.onNodeExpand(je,ht)}},ke.onNodeClick=function(je,$e){var nt=ke.props,Ze=nt.onClick,rt=nt.expandAction;rt==="click"&&ke.triggerExpandActionExpand(je,$e),Ze==null||Ze(je,$e)},ke.onNodeDoubleClick=function(je,$e){var nt=ke.props,Ze=nt.onDoubleClick,rt=nt.expandAction;rt==="doubleClick"&&ke.triggerExpandActionExpand(je,$e),Ze==null||Ze(je,$e)},ke.onNodeSelect=function(je,$e){var nt=ke.state.selectedKeys,Ze=ke.state,rt=Ze.keyEntities,yt=Ze.fieldNames,ct=ke.props,bt=ct.onSelect,dt=ct.multiple,ht=$e.selected,ot=$e[yt.key],ut=!ht;ut?dt?nt=(0,Xe.L0)(nt,ot):nt=[ot]:nt=(0,Xe._5)(nt,ot);var mt=nt.map(function(Ct){var Bt=(0,Je.Z)(rt,Ct);return Bt?Bt.node:null}).filter(function(Ct){return Ct});ke.setUncontrolledState({selectedKeys:nt}),bt==null||bt(nt,{event:"select",selected:ut,node:$e,selectedNodes:mt,nativeEvent:je.nativeEvent})},ke.onNodeCheck=function(je,$e,nt){var Ze=ke.state,rt=Ze.keyEntities,yt=Ze.checkedKeys,ct=Ze.halfCheckedKeys,bt=ke.props,dt=bt.checkStrictly,ht=bt.onCheck,ot=$e.key,ut,mt={event:"check",node:$e,checked:nt,nativeEvent:je.nativeEvent};if(dt){var Ct=nt?(0,Xe.L0)(yt,ot):(0,Xe._5)(yt,ot),Bt=(0,Xe._5)(ct,ot);ut={checked:Ct,halfChecked:Bt},mt.checkedNodes=Ct.map(function(En){return(0,Je.Z)(rt,En)}).filter(function(En){return En}).map(function(En){return En.node}),ke.setUncontrolledState({checkedKeys:Ct})}else{var It=(0,lt.S)([].concat((0,he.Z)(yt),[ot]),!0,rt),Ht=It.checkedKeys,qt=It.halfCheckedKeys;if(!nt){var yn=new Set(Ht);yn.delete(ot);var In=(0,lt.S)(Array.from(yn),{checked:!1,halfCheckedKeys:qt},rt);Ht=In.checkedKeys,qt=In.halfCheckedKeys}ut=Ht,mt.checkedNodes=[],mt.checkedNodesPositions=[],mt.halfCheckedKeys=qt,Ht.forEach(function(En){var pn=(0,Je.Z)(rt,En);if(pn){var Qn=pn.node,Bn=pn.pos;mt.checkedNodes.push(Qn),mt.checkedNodesPositions.push({node:Qn,pos:Bn})}}),ke.setUncontrolledState({checkedKeys:Ht},!1,{halfCheckedKeys:qt})}ht==null||ht(ut,mt)},ke.onNodeLoad=function(je){var $e=je.key,nt=new Promise(function(Ze,rt){ke.setState(function(yt){var ct=yt.loadedKeys,bt=ct===void 0?[]:ct,dt=yt.loadingKeys,ht=dt===void 0?[]:dt,ot=ke.props,ut=ot.loadData,mt=ot.onLoad;if(!ut||bt.indexOf($e)!==-1||ht.indexOf($e)!==-1)return null;var Ct=ut(je);return Ct.then(function(){var Bt=ke.state.loadedKeys,It=(0,Xe.L0)(Bt,$e);mt==null||mt(It,{event:"load",node:je}),ke.setUncontrolledState({loadedKeys:It}),ke.setState(function(Ht){return{loadingKeys:(0,Xe._5)(Ht.loadingKeys,$e)}}),Ze()}).catch(function(Bt){if(ke.setState(function(Ht){return{loadingKeys:(0,Xe._5)(Ht.loadingKeys,$e)}}),ke.loadingRetryTimes[$e]=(ke.loadingRetryTimes[$e]||0)+1,ke.loadingRetryTimes[$e]>=Ke){var It=ke.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ke.setUncontrolledState({loadedKeys:(0,Xe.L0)(It,$e)}),Ze()}rt(Bt)}),{loadingKeys:(0,Xe.L0)(ht,$e)}})});return nt.catch(function(){}),nt},ke.onNodeMouseEnter=function(je,$e){var nt=ke.props.onMouseEnter;nt==null||nt({event:je,node:$e})},ke.onNodeMouseLeave=function(je,$e){var nt=ke.props.onMouseLeave;nt==null||nt({event:je,node:$e})},ke.onNodeContextMenu=function(je,$e){var nt=ke.props.onRightClick;nt&&(je.preventDefault(),nt({event:je,node:$e}))},ke.onFocus=function(){var je=ke.props.onFocus;ke.setState({focused:!0});for(var $e=arguments.length,nt=new Array($e),Ze=0;Ze<$e;Ze++)nt[Ze]=arguments[Ze];je==null||je.apply(void 0,nt)},ke.onBlur=function(){var je=ke.props.onBlur;ke.setState({focused:!1}),ke.onActiveChange(null);for(var $e=arguments.length,nt=new Array($e),Ze=0;Ze<$e;Ze++)nt[Ze]=arguments[Ze];je==null||je.apply(void 0,nt)},ke.getTreeNodeRequiredProps=function(){var je=ke.state,$e=je.expandedKeys,nt=je.selectedKeys,Ze=je.loadedKeys,rt=je.loadingKeys,yt=je.checkedKeys,ct=je.halfCheckedKeys,bt=je.dragOverNodeKey,dt=je.dropPosition,ht=je.keyEntities;return{expandedKeys:$e||[],selectedKeys:nt||[],loadedKeys:Ze||[],loadingKeys:rt||[],checkedKeys:yt||[],halfCheckedKeys:ct||[],dragOverNodeKey:bt,dropPosition:dt,keyEntities:ht}},ke.setExpandedKeys=function(je){var $e=ke.state,nt=$e.treeData,Ze=$e.fieldNames,rt=(0,be.oH)(nt,je,Ze);ke.setUncontrolledState({expandedKeys:je,flattenNodes:rt},!0)},ke.onNodeExpand=function(je,$e){var nt=ke.state.expandedKeys,Ze=ke.state,rt=Ze.listChanging,yt=Ze.fieldNames,ct=ke.props,bt=ct.onExpand,dt=ct.loadData,ht=$e.expanded,ot=$e[yt.key];if(!rt){var ut=nt.indexOf(ot),mt=!ht;if((0,a.ZP)(ht&&ut!==-1||!ht&&ut===-1,"Expand state not sync with index check"),mt?nt=(0,Xe.L0)(nt,ot):nt=(0,Xe._5)(nt,ot),ke.setExpandedKeys(nt),bt==null||bt(nt,{node:$e,expanded:mt,nativeEvent:je.nativeEvent}),mt&&dt){var Ct=ke.onNodeLoad($e);Ct&&Ct.then(function(){var Bt=(0,be.oH)(ke.state.treeData,nt,yt);ke.setUncontrolledState({flattenNodes:Bt})}).catch(function(){var Bt=ke.state.expandedKeys,It=(0,Xe._5)(Bt,ot);ke.setExpandedKeys(It)})}}},ke.onListChangeStart=function(){ke.setUncontrolledState({listChanging:!0})},ke.onListChangeEnd=function(){setTimeout(function(){ke.setUncontrolledState({listChanging:!1})})},ke.onActiveChange=function(je){var $e=ke.state.activeKey,nt=ke.props.onActiveChange;$e!==je&&(ke.setState({activeKey:je}),je!==null&&ke.scrollTo({key:je}),nt==null||nt(je))},ke.getActiveItem=function(){var je=ke.state,$e=je.activeKey,nt=je.flattenNodes;return $e===null?null:nt.find(function(Ze){var rt=Ze.key;return rt===$e})||null},ke.offsetActiveKey=function(je){var $e=ke.state,nt=$e.flattenNodes,Ze=$e.activeKey,rt=nt.findIndex(function(bt){var dt=bt.key;return dt===Ze});rt===-1&&je<0&&(rt=nt.length),rt=(rt+je+nt.length)%nt.length;var yt=nt[rt];if(yt){var ct=yt.key;ke.onActiveChange(ct)}else ke.onActiveChange(null)},ke.onKeyDown=function(je){var $e=ke.state,nt=$e.activeKey,Ze=$e.expandedKeys,rt=$e.checkedKeys,yt=$e.fieldNames,ct=ke.props,bt=ct.onKeyDown,dt=ct.checkable,ht=ct.selectable;switch(je.which){case re.Z.UP:{ke.offsetActiveKey(-1),je.preventDefault();break}case re.Z.DOWN:{ke.offsetActiveKey(1),je.preventDefault();break}}var ot=ke.getActiveItem();if(ot&&ot.data){var ut=ke.getTreeNodeRequiredProps(),mt=ot.data.isLeaf===!1||!!(ot.data[yt.children]||[]).length,Ct=(0,be.F)((0,ye.Z)((0,ye.Z)({},(0,be.H8)(nt,ut)),{},{data:ot.data,active:!0}));switch(je.which){case re.Z.LEFT:{mt&&Ze.includes(nt)?ke.onNodeExpand({},Ct):ot.parent&&ke.onActiveChange(ot.parent.key),je.preventDefault();break}case re.Z.RIGHT:{mt&&!Ze.includes(nt)?ke.onNodeExpand({},Ct):ot.children&&ot.children.length&&ke.onActiveChange(ot.children[0].key),je.preventDefault();break}case re.Z.ENTER:case re.Z.SPACE:{dt&&!Ct.disabled&&Ct.checkable!==!1&&!Ct.disableCheckbox?ke.onNodeCheck({},Ct,!rt.includes(nt)):!dt&&ht&&!Ct.disabled&&Ct.selectable!==!1&&ke.onNodeSelect({},Ct);break}}}bt==null||bt(je)},ke.setUncontrolledState=function(je){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ke.destroyed){var Ze=!1,rt=!0,yt={};Object.keys(je).forEach(function(ct){if(ct in ke.props){rt=!1;return}Ze=!0,yt[ct]=je[ct]}),Ze&&(!$e||rt)&&ke.setState((0,ye.Z)((0,ye.Z)({},yt),nt))}},ke.scrollTo=function(je){ke.listRef.current.scrollTo(je)},ke}return(0,ne.Z)(Ye,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var xe=this.props.activeKey;xe!==void 0&&xe!==this.state.activeKey&&(this.setState({activeKey:xe}),xe!==null&&this.scrollTo({key:xe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var xe,Ne=this.state,Be=Ne.focused,je=Ne.flattenNodes,$e=Ne.keyEntities,nt=Ne.draggingNodeKey,Ze=Ne.activeKey,rt=Ne.dropLevelOffset,yt=Ne.dropContainerKey,ct=Ne.dropTargetKey,bt=Ne.dropPosition,dt=Ne.dragOverNodeKey,ht=Ne.indent,ot=this.props,ut=ot.prefixCls,mt=ot.className,Ct=ot.style,Bt=ot.showLine,It=ot.focusable,Ht=ot.tabIndex,qt=Ht===void 0?0:Ht,yn=ot.selectable,In=ot.showIcon,En=ot.icon,pn=ot.switcherIcon,Qn=ot.draggable,Bn=ot.checkable,un=ot.checkStrictly,Yn=ot.disabled,_t=ot.motion,tn=ot.loadData,cn=ot.filterTreeNode,Ot=ot.height,ft=ot.itemHeight,Ft=ot.virtual,kt=ot.titleRender,Xt=ot.dropIndicatorRender,an=ot.onContextMenu,en=ot.onScroll,Vt=ot.direction,pt=ot.rootClassName,wt=ot.rootStyle,xt=(0,z.Z)(this.props,{aria:!0,data:!0}),Ut;return Qn&&((0,E.Z)(Qn)==="object"?Ut=Qn:typeof Qn=="function"?Ut={nodeDraggable:Qn}:Ut={}),y.createElement(x.k.Provider,{value:{prefixCls:ut,selectable:yn,showIcon:In,icon:En,switcherIcon:pn,draggable:Ut,draggingNodeKey:nt,checkable:Bn,checkStrictly:un,disabled:Yn,keyEntities:$e,dropLevelOffset:rt,dropContainerKey:yt,dropTargetKey:ct,dropPosition:bt,dragOverNodeKey:dt,indent:ht,direction:Vt,dropIndicatorRender:Xt,loadData:tn,filterTreeNode:cn,titleRender:kt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:oe()(ut,mt,pt,(xe={},(0,Ae.Z)(xe,"".concat(ut,"-show-line"),Bt),(0,Ae.Z)(xe,"".concat(ut,"-focused"),Be),(0,Ae.Z)(xe,"".concat(ut,"-active-focused"),Ze!==null),xe)),style:wt},y.createElement(tt,(0,ae.Z)({ref:this.listRef,prefixCls:ut,style:Ct,data:je,disabled:Yn,selectable:yn,checkable:!!Bn,motion:_t,dragging:nt!==null,height:Ot,itemHeight:ft,virtual:Ft,focusable:It,focused:Be,tabIndex:qt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:an,onScroll:en},this.getTreeNodeRequiredProps(),xt))))}}],[{key:"getDerivedStateFromProps",value:function(xe,Ne){var Be=Ne.prevProps,je={prevProps:xe};function $e(It){return!Be&&It in xe||Be&&Be[It]!==xe[It]}var nt,Ze=Ne.fieldNames;if($e("fieldNames")&&(Ze=(0,be.w$)(xe.fieldNames),je.fieldNames=Ze),$e("treeData")?nt=xe.treeData:$e("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=(0,be.zn)(xe.children)),nt){je.treeData=nt;var rt=(0,be.I8)(nt,{fieldNames:Ze});je.keyEntities=(0,ye.Z)((0,Ae.Z)({},Te,He),rt.keyEntities)}var yt=je.keyEntities||Ne.keyEntities;if($e("expandedKeys")||Be&&$e("autoExpandParent"))je.expandedKeys=xe.autoExpandParent||!Be&&xe.defaultExpandParent?(0,Xe.r7)(xe.expandedKeys,yt):xe.expandedKeys;else if(!Be&&xe.defaultExpandAll){var ct=(0,ye.Z)({},yt);delete ct[Te],je.expandedKeys=Object.keys(ct).map(function(It){return ct[It].key})}else!Be&&xe.defaultExpandedKeys&&(je.expandedKeys=xe.autoExpandParent||xe.defaultExpandParent?(0,Xe.r7)(xe.defaultExpandedKeys,yt):xe.defaultExpandedKeys);if(je.expandedKeys||delete je.expandedKeys,nt||je.expandedKeys){var bt=(0,be.oH)(nt||Ne.treeData,je.expandedKeys||Ne.expandedKeys,Ze);je.flattenNodes=bt}if(xe.selectable&&($e("selectedKeys")?je.selectedKeys=(0,Xe.BT)(xe.selectedKeys,xe):!Be&&xe.defaultSelectedKeys&&(je.selectedKeys=(0,Xe.BT)(xe.defaultSelectedKeys,xe))),xe.checkable){var dt;if($e("checkedKeys")?dt=(0,Xe.E6)(xe.checkedKeys)||{}:!Be&&xe.defaultCheckedKeys?dt=(0,Xe.E6)(xe.defaultCheckedKeys)||{}:nt&&(dt=(0,Xe.E6)(xe.checkedKeys)||{checkedKeys:Ne.checkedKeys,halfCheckedKeys:Ne.halfCheckedKeys}),dt){var ht=dt,ot=ht.checkedKeys,ut=ot===void 0?[]:ot,mt=ht.halfCheckedKeys,Ct=mt===void 0?[]:mt;if(!xe.checkStrictly){var Bt=(0,lt.S)(ut,!0,yt);ut=Bt.checkedKeys,Ct=Bt.halfCheckedKeys}je.checkedKeys=ut,je.halfCheckedKeys=Ct}}return $e("loadedKeys")&&(je.loadedKeys=xe.loadedKeys),je}}]),Ye}(y.Component);Me.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},Me.TreeNode=pe.Z;var et=Me,Ie=et},35654:function(vt,at,fe){"use strict";fe.d(at,{BT:function(){return y},E6:function(){return ee},L0:function(){return ue},OM:function(){return a},_5:function(){return de},r7:function(){return te},wA:function(){return oe},yx:function(){return ie}});var ae=fe(94480),Ae=fe(76190),E=fe(48736),ye=fe(59301),he=fe(39417),le=fe(67841),ne=fe(71430),se=null;function de(ce,me){if(!ce)return[];var ve=ce.slice(),ge=ve.indexOf(me);return ge>=0&&ve.splice(ge,1),ve}function ue(ce,me){var ve=(ce||[]).slice();return ve.indexOf(me)===-1&&ve.push(me),ve}function ie(ce){return ce.split("-")}function oe(ce,me){var ve=[],ge=(0,le.Z)(me,ce);function pe(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Se.forEach(function(be){var Ee=be.key,Ce=be.children;ve.push(Ee),pe(Ce)})}return pe(ge.children),ve}function re(ce){if(ce.parent){var me=ie(ce.pos);return Number(me[me.length-1])===ce.parent.children.length-1}return!1}function z(ce){var me=ie(ce.pos);return Number(me[me.length-1])===0}function a(ce,me,ve,ge,pe,Se,be,Ee,Ce,De){var we,Fe=ce.clientX,Pe=ce.clientY,Le=ce.target.getBoundingClientRect(),Oe=Le.top,We=Le.height,Te=(De==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Fe),Ue=(Te-12)/ge,He=(0,le.Z)(Ee,ve.props.eventKey);if(Pe-1.5?Se({dragNode:Ke,dropNode:Me,dropPosition:1})?Xe=1:et=!1:Se({dragNode:Ke,dropNode:Me,dropPosition:0})?Xe=0:Se({dragNode:Ke,dropNode:Me,dropPosition:1})?Xe=1:et=!1:Se({dragNode:Ke,dropNode:Me,dropPosition:1})?Xe=1:et=!1,{dropPosition:Xe,dropLevelOffset:lt,dropTargetKey:He.key,dropTargetPos:He.pos,dragOverNodeKey:tt,dropContainerKey:Xe===0?null:((we=He.parent)===null||we===void 0?void 0:we.key)||null,dropAllowed:et}}function y(ce,me){if(ce){var ve=me.multiple;return ve?ce.slice():ce.length?[ce[0]]:ce}}var x=function(me){return me};function b(ce,me){if(!ce)return[];var ve=me||{},ge=ve.processProps,pe=ge===void 0?x:ge,Se=Array.isArray(ce)?ce:[ce];return Se.map(function(be){var Ee=be.children,Ce=_objectWithoutProperties(be,se),De=b(Ee,me);return React.createElement(TreeNode,_extends({key:Ce.key},pe(Ce)),De)})}function ee(ce){if(!ce)return null;var me;if(Array.isArray(ce))me={checkedKeys:ce,halfCheckedKeys:void 0};else if((0,Ae.Z)(ce)==="object")me={checkedKeys:ce.checked||void 0,halfCheckedKeys:ce.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return me}function te(ce,me){var ve=new Set;function ge(pe){if(!ve.has(pe)){var Se=(0,le.Z)(me,pe);if(Se){ve.add(pe);var be=Se.parent,Ee=Se.node;Ee.disabled||be&&ge(be.key)}}}return(ce||[]).forEach(function(pe){ge(pe)}),(0,ae.Z)(ve)}},90782:function(vt,at,fe){"use strict";fe.d(at,{S:function(){return ne}});var ae=fe(48736),Ae=fe(67841);function E(se,de){var ue=new Set;return se.forEach(function(ie){de.has(ie)||ue.add(ie)}),ue}function ye(se){var de=se||{},ue=de.disabled,ie=de.disableCheckbox,oe=de.checkable;return!!(ue||ie)||oe===!1}function he(se,de,ue,ie){for(var oe=new Set(se),re=new Set,z=0;z<=ue;z+=1){var a=de.get(z)||new Set;a.forEach(function(ee){var te=ee.key,ce=ee.node,me=ee.children,ve=me===void 0?[]:me;oe.has(te)&&!ie(ce)&&ve.filter(function(ge){return!ie(ge.node)}).forEach(function(ge){oe.add(ge.key)})})}for(var y=new Set,x=ue;x>=0;x-=1){var b=de.get(x)||new Set;b.forEach(function(ee){var te=ee.parent,ce=ee.node;if(!(ie(ce)||!ee.parent||y.has(ee.parent.key))){if(ie(ee.parent.node)){y.add(te.key);return}var me=!0,ve=!1;(te.children||[]).filter(function(ge){return!ie(ge.node)}).forEach(function(ge){var pe=ge.key,Se=oe.has(pe);me&&!Se&&(me=!1),!ve&&(Se||re.has(pe))&&(ve=!0)}),me&&oe.add(te.key),ve&&re.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(re,oe))}}function le(se,de,ue,ie,oe){for(var re=new Set(se),z=new Set(de),a=0;a<=ie;a+=1){var y=ue.get(a)||new Set;y.forEach(function(te){var ce=te.key,me=te.node,ve=te.children,ge=ve===void 0?[]:ve;!re.has(ce)&&!z.has(ce)&&!oe(me)&&ge.filter(function(pe){return!oe(pe.node)}).forEach(function(pe){re.delete(pe.key)})})}z=new Set;for(var x=new Set,b=ie;b>=0;b-=1){var ee=ue.get(b)||new Set;ee.forEach(function(te){var ce=te.parent,me=te.node;if(!(oe(me)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(ce.key);return}var ve=!0,ge=!1;(ce.children||[]).filter(function(pe){return!oe(pe.node)}).forEach(function(pe){var Se=pe.key,be=re.has(Se);ve&&!be&&(ve=!1),!ge&&(be||z.has(Se))&&(ge=!0)}),ve||re.delete(ce.key),ge&&z.add(ce.key),x.add(ce.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from(E(z,re))}}function ne(se,de,ue,ie){var oe=[],re;ie?re=ie:re=ye;var z=new Set(se.filter(function(b){var ee=!!(0,Ae.Z)(ue,b);return ee||oe.push(b),ee})),a=new Map,y=0;Object.keys(ue).forEach(function(b){var ee=ue[b],te=ee.level,ce=a.get(te);ce||(ce=new Set,a.set(te,ce)),ce.add(ee),y=Math.max(y,te)}),(0,ae.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return de===!0?x=he(z,a,y,re):x=le(z,de.halfCheckedKeys,a,y,re),x}},67841:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return ae}});function ae(Ae,E){return Ae[E]}},71430:function(vt,at,fe){"use strict";fe.d(at,{F:function(){return te},H8:function(){return ee},I8:function(){return b},km:function(){return oe},oH:function(){return y},w$:function(){return re},zn:function(){return a}});var ae=fe(76190),Ae=fe(94480),E=fe(33885),ye=fe(75931),he=fe(11592),le=fe(2738),ne=fe(48736),se=fe(67841),de=["children"];function ue(ce,me){return"".concat(ce,"-").concat(me)}function ie(ce){return ce&&ce.type&&ce.type.isTreeNode}function oe(ce,me){return ce!=null?ce:me}function re(ce){var me=ce||{},ve=me.title,ge=me._title,pe=me.key,Se=me.children,be=ve||"title";return{title:be,_title:ge||[be],key:pe||"key",children:Se||"children"}}function z(ce,me){var ve=new Map;function ge(pe){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(pe||[]).forEach(function(be){var Ee=be[me.key],Ce=be[me.children];warning(Ee!=null,"Tree node must have a certain key: [".concat(Se).concat(Ee,"]"));var De=String(Ee);warning(!ve.has(De)||Ee===null||Ee===void 0,"Same 'key' exist in the Tree: ".concat(De)),ve.set(De,!0),ge(Ce,"".concat(Se).concat(De," > "))})}ge(ce)}function a(ce){function me(ve){var ge=(0,he.Z)(ve);return ge.map(function(pe){if(!ie(pe))return(0,ne.ZP)(!pe,"Tree/TreeNode can only accept TreeNode as children."),null;var Se=pe.key,be=pe.props,Ee=be.children,Ce=(0,ye.Z)(be,de),De=(0,E.Z)({key:Se},Ce),we=me(Ee);return we.length&&(De.children=we),De}).filter(function(pe){return pe})}return me(ce)}function y(ce,me,ve){var ge=re(ve),pe=ge._title,Se=ge.key,be=ge.children,Ee=new Set(me===!0?[]:me),Ce=[];function De(we){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return we.map(function(Pe,Le){for(var Oe=ue(Fe?Fe.pos:"0",Le),We=oe(Pe[Se],Oe),Te,Ue=0;Ue1&&arguments[1]!==void 0?arguments[1]:{},ve=me.initWrapper,ge=me.processEntity,pe=me.onProcessFinished,Se=me.externalGetKey,be=me.childrenPropName,Ee=me.fieldNames,Ce=arguments.length>2?arguments[2]:void 0,De=Se||Ce,we={},Fe={},Pe={posEntities:we,keyEntities:Fe};return ve&&(Pe=ve(Pe)||Pe),x(ce,function(Le){var Oe=Le.node,We=Le.index,Te=Le.pos,Ue=Le.key,He=Le.parentPos,Qe=Le.level,Ge=Le.nodes,ze={node:Oe,nodes:Ge,index:We,key:Ue,pos:Te,level:Qe},_e=oe(Ue,Te);we[Te]=ze,Fe[_e]=ze,ze.parent=we[He],ze.parent&&(ze.parent.children=ze.parent.children||[],ze.parent.children.push(ze)),ge&&ge(ze,Pe)},{externalGetKey:De,childrenPropName:be,fieldNames:Ee}),pe&&pe(Pe),Pe}function ee(ce,me){var ve=me.expandedKeys,ge=me.selectedKeys,pe=me.loadedKeys,Se=me.loadingKeys,be=me.checkedKeys,Ee=me.halfCheckedKeys,Ce=me.dragOverNodeKey,De=me.dropPosition,we=me.keyEntities,Fe=(0,se.Z)(we,ce),Pe={eventKey:ce,expanded:ve.indexOf(ce)!==-1,selected:ge.indexOf(ce)!==-1,loaded:pe.indexOf(ce)!==-1,loading:Se.indexOf(ce)!==-1,checked:be.indexOf(ce)!==-1,halfChecked:Ee.indexOf(ce)!==-1,pos:String(Fe?Fe.pos:""),dragOver:Ce===ce&&De===0,dragOverGapTop:Ce===ce&&De===-1,dragOverGapBottom:Ce===ce&&De===1};return Pe}function te(ce){var me=ce.data,ve=ce.expanded,ge=ce.selected,pe=ce.checked,Se=ce.loaded,be=ce.loading,Ee=ce.halfChecked,Ce=ce.dragOver,De=ce.dragOverGapTop,we=ce.dragOverGapBottom,Fe=ce.pos,Pe=ce.active,Le=ce.eventKey,Oe=(0,E.Z)((0,E.Z)({},me),{},{expanded:ve,selected:ge,checked:pe,loaded:Se,loading:be,halfChecked:Ee,dragOver:Ce,dragOverGapTop:De,dragOverGapBottom:we,pos:Fe,active:Pe,key:Le});return"props"in Oe||Object.defineProperty(Oe,"props",{get:function(){return(0,ne.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ce}}),Oe}},8224:function(vt,at,fe){"use strict";fe.d(at,{Z:function(){return Ae}});var ae=fe(4676);function Ae(E,ye,he,le){var ne=ae.unstable_batchedUpdates?function(de){ae.unstable_batchedUpdates(he,de)}:he;return E!=null&&E.addEventListener&&E.addEventListener(ye,ne,le),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(ye,ne,le)}}}},55468:function(vt,at,fe){"use strict";fe.d(at,{g1:function(){return ie},os:function(){return re}});var ae=/margin|padding|width|height|max|min|offset/,Ae={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function ye(z){return z.nodeType===1?z.ownerDocument.defaultView.getComputedStyle(z,null):{}}function he(z,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return z.offsetHeight;if(a==="width")return z.offsetWidth}return a in Ae||(Ae[a]=ae.test(a)),Ae[a]?parseFloat(y)||0:y}function le(z,a){var y=arguments.length,x=ye(z);return a=E[a]?"cssFloat"in z.style?"cssFloat":"styleFloat":a,y===1?x:he(z,a,x[a]||z.style[a])}function ne(z,a,y){var x=arguments.length;if(a=E[a]?"cssFloat"in z.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&ae.test(a)&&(y="".concat(y,"px")),z.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&ne(z,b,a[b]);return ye(z)}function se(z){return z===document.body?document.documentElement.clientWidth:z.offsetWidth}function de(z){return z===document.body?window.innerHeight||document.documentElement.clientHeight:z.offsetHeight}function ue(){var z=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:z,height:a}}function ie(){var z=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:z,height:a}}function oe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function re(z){var a=z.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},3465:function(vt,at,fe){"use strict";fe.d(at,{G:function(){return ye}});var ae=fe(47273),Ae=function(le){if((0,ae.Z)()&&window.document.documentElement){var ne=Array.isArray(le)?le:[le],se=window.document.documentElement;return ne.some(function(de){return de in se.style})}return!1},E=function(le,ne){if(!Ae(le))return!1;var se=document.createElement("div"),de=se.style[le];return se.style[le]=ne,se.style[le]!==de};function ye(he,le){return!Array.isArray(he)&&le!==void 0?E(he,le):Ae(he)}},51353:function(vt,at,fe){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),Object.defineProperty(at,"DraggableCore",{enumerable:!0,get:function(){return se.default}}),at.default=void 0;var ae=ie(fe(59301)),Ae=ue(fe(12708)),E=ue(fe(4676)),ye=fe(14625),he=fe(77026),le=fe(22013),ne=fe(80217),se=ue(fe(68555)),de=ue(fe(97510));function ue(x){return x&&x.__esModule?x:{default:x}}function ie(x,b){if(typeof WeakMap=="function")var ee=new WeakMap,te=new WeakMap;return(ie=function(ce,me){if(!me&&ce&&ce.__esModule)return ce;var ve,ge,pe={__proto__:null,default:ce};if(ce===null||typeof ce!="object"&&typeof ce!="function")return pe;if(ve=me?te:ee){if(ve.has(ce))return ve.get(ce);ve.set(ce,pe)}for(const Se in ce)Se!=="default"&&{}.hasOwnProperty.call(ce,Se)&&((ge=(ve=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ce,Se))&&(ge.get||ge.set)?ve(pe,Se,ge):pe[Se]=ce[Se]);return pe})(x,b)}function oe(){return oe=Object.assign?Object.assign.bind():function(x){for(var b=1;b{if((0,de.default)("Draggable: onDragStart: %j",te),this.props.onStart(ee,(0,le.createDraggableData)(this,te))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),re(this,"onDrag",(ee,te)=>{if(!this.state.dragging)return!1;(0,de.default)("Draggable: onDrag: %j",te);const ce=(0,le.createDraggableData)(this,te),me={x:ce.x,y:ce.y,slackX:0,slackY:0};if(this.props.bounds){const{x:ge,y:pe}=me;me.x+=this.state.slackX,me.y+=this.state.slackY;const[Se,be]=(0,le.getBoundPosition)(this,me.x,me.y);me.x=Se,me.y=be,me.slackX=this.state.slackX+(ge-me.x),me.slackY=this.state.slackY+(pe-me.y),ce.x=me.x,ce.y=me.y,ce.deltaX=me.x-this.state.x,ce.deltaY=me.y-this.state.y}if(this.props.onDrag(ee,ce)===!1)return!1;this.setState(me)}),re(this,"onDragStop",(ee,te)=>{if(!this.state.dragging||this.props.onStop(ee,(0,le.createDraggableData)(this,te))===!1)return!1;(0,de.default)("Draggable: onDragStop: %j",te);const me={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:ge,y:pe}=this.props.position;me.x=ge,me.y=pe}this.setState(me)}),this.state={dragging:!1,dragged:!1,x:b.position?b.position.x:b.defaultPosition.x,y:b.position?b.position.y:b.defaultPosition.y,prevPropsPosition:Go({},b.position),slackX:0,slackY:0,isElementSVG:!1},b.position&&!(b.onDrag||b.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var b,ee,te;return(te=(ee=(b=this.props)==null?void 0:b.nodeRef)==null?void 0:ee.current)!=null?te:E.default.findDOMNode(this)}render(){const We=this.props,{axis:b,bounds:ee,children:te,defaultPosition:ce,defaultClassName:me,defaultClassNameDragging:ve,defaultClassNameDragged:ge,position:pe,positionOffset:Se,scale:be}=We,Ee=os(We,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ce={},De=null;const Fe=!!!pe||this.state.dragging,Pe=pe||ce,Le={x:(0,le.canDragX)(this)&&Fe?this.state.x:Pe.x,y:(0,le.canDragY)(this)&&Fe?this.state.y:Pe.y};this.state.isElementSVG?De=(0,he.createSVGTransform)(Le,Se):Ce=(0,he.createCSSTransform)(Le,Se);const Oe=(0,ye.clsx)(te.props.className||"",me,{[ve]:this.state.dragging,[ge]:this.state.dragged});return ae.createElement(se.default,oe({},Ee,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),ae.cloneElement(ae.Children.only(te),{className:Oe,style:Go(Go({},te.props.style),Ce),transform:De}))}}at.default=y,re(y,"displayName","Draggable"),re(y,"propTypes",Ii(Go({},se.default.propTypes),{axis:Ae.default.oneOf(["both","x","y","none"]),bounds:Ae.default.oneOfType([Ae.default.shape({left:Ae.default.number,right:Ae.default.number,top:Ae.default.number,bottom:Ae.default.number}),Ae.default.string,Ae.default.oneOf([!1])]),defaultClassName:Ae.default.string,defaultClassNameDragging:Ae.default.string,defaultClassNameDragged:Ae.default.string,defaultPosition:Ae.default.shape({x:Ae.default.number,y:Ae.default.number}),positionOffset:Ae.default.shape({x:Ae.default.oneOfType([Ae.default.number,Ae.default.string]),y:Ae.default.oneOfType([Ae.default.number,Ae.default.string])}),position:Ae.default.shape({x:Ae.default.number,y:Ae.default.number}),className:ne.dontSetMe,style:ne.dontSetMe,transform:ne.dontSetMe})),re(y,"defaultProps",Ii(Go({},se.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(vt,at,fe){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var ae=de(fe(59301)),Ae=se(fe(12708)),E=se(fe(4676)),ye=fe(77026),he=fe(22013),le=fe(80217),ne=se(fe(97510));function se(y){return y&&y.__esModule?y:{default:y}}function de(y,x){if(typeof WeakMap=="function")var b=new WeakMap,ee=new WeakMap;return(de=function(te,ce){if(!ce&&te&&te.__esModule)return te;var me,ve,ge={__proto__:null,default:te};if(te===null||typeof te!="object"&&typeof te!="function")return ge;if(me=ce?ee:b){if(me.has(te))return me.get(te);me.set(te,ge)}for(const pe in te)pe!=="default"&&{}.hasOwnProperty.call(te,pe)&&((ve=(me=Object.defineProperty)&&Object.getOwnPropertyDescriptor(te,pe))&&(ve.get||ve.set)?me(ge,pe,ve):ge[pe]=te[pe]);return ge})(y,x)}function ue(y,x,b){return(x=ie(x))in y?Object.defineProperty(y,x,{value:b,enumerable:!0,configurable:!0,writable:!0}):y[x]=b,y}function ie(y){var x=oe(y,"string");return typeof x=="symbol"?x:x+""}function oe(y,x){if(typeof y!="object"||!y)return y;var b=y[Symbol.toPrimitive];if(b!==void 0){var ee=b.call(y,x||"default");if(typeof ee!="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(y)}const re={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let z=re.mouse;class a extends ae.Component{constructor(){super(...arguments),ue(this,"dragging",!1),ue(this,"lastX",NaN),ue(this,"lastY",NaN),ue(this,"touchIdentifier",null),ue(this,"mounted",!1),ue(this,"handleDragStart",x=>{if(this.props.onMouseDown(x),!this.props.allowAnyClick&&typeof x.button=="number"&&x.button!==0)return!1;const b=this.findDOMNode();if(!b||!b.ownerDocument||!b.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:ee}=b;if(this.props.disabled||!(x.target instanceof ee.defaultView.Node)||this.props.handle&&!(0,ye.matchesSelectorAndParentsTo)(x.target,this.props.handle,b)||this.props.cancel&&(0,ye.matchesSelectorAndParentsTo)(x.target,this.props.cancel,b))return;x.type==="touchstart"&&!this.props.allowMobileScroll&&x.preventDefault();const te=(0,ye.getTouchIdentifier)(x);this.touchIdentifier=te;const ce=(0,he.getControlPosition)(x,te,this);if(ce==null)return;const{x:me,y:ve}=ce,ge=(0,he.createCoreData)(this,me,ve);(0,ne.default)("DraggableCore: handleDragStart: %j",ge),(0,ne.default)("calling",this.props.onStart),!(this.props.onStart(x,ge)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ye.addUserSelectStyles)(ee),this.dragging=!0,this.lastX=me,this.lastY=ve,(0,ye.addEvent)(ee,z.move,this.handleDrag),(0,ye.addEvent)(ee,z.stop,this.handleDragStop))}),ue(this,"handleDrag",x=>{const b=(0,he.getControlPosition)(x,this.touchIdentifier,this);if(b==null)return;let{x:ee,y:te}=b;if(Array.isArray(this.props.grid)){let ve=ee-this.lastX,ge=te-this.lastY;if([ve,ge]=(0,he.snapToGrid)(this.props.grid,ve,ge),!ve&&!ge)return;ee=this.lastX+ve,te=this.lastY+ge}const ce=(0,he.createCoreData)(this,ee,te);if((0,ne.default)("DraggableCore: handleDrag: %j",ce),this.props.onDrag(x,ce)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(ve){const ge=document.createEvent("MouseEvents");ge.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(ge)}return}this.lastX=ee,this.lastY=te}),ue(this,"handleDragStop",x=>{if(!this.dragging)return;const b=(0,he.getControlPosition)(x,this.touchIdentifier,this);if(b==null)return;let{x:ee,y:te}=b;if(Array.isArray(this.props.grid)){let ge=ee-this.lastX||0,pe=te-this.lastY||0;[ge,pe]=(0,he.snapToGrid)(this.props.grid,ge,pe),ee=this.lastX+ge,te=this.lastY+pe}const ce=(0,he.createCoreData)(this,ee,te);if(this.props.onStop(x,ce)===!1||this.mounted===!1)return!1;const ve=this.findDOMNode();ve&&this.props.enableUserSelectHack&&(0,ye.scheduleRemoveUserSelectStyles)(ve.ownerDocument),(0,ne.default)("DraggableCore: handleDragStop: %j",ce),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,ve&&((0,ne.default)("DraggableCore: Removing handlers"),(0,ye.removeEvent)(ve.ownerDocument,z.move,this.handleDrag),(0,ye.removeEvent)(ve.ownerDocument,z.stop,this.handleDragStop))}),ue(this,"onMouseDown",x=>(z=re.mouse,this.handleDragStart(x))),ue(this,"onMouseUp",x=>(z=re.mouse,this.handleDragStop(x))),ue(this,"onTouchStart",x=>(z=re.touch,this.handleDragStart(x))),ue(this,"onTouchEnd",x=>(z=re.touch,this.handleDragStop(x)))}componentDidMount(){this.mounted=!0;const x=this.findDOMNode();x&&(0,ye.addEvent)(x,re.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const x=this.findDOMNode();if(x){const{ownerDocument:b}=x;(0,ye.removeEvent)(b,re.mouse.move,this.handleDrag),(0,ye.removeEvent)(b,re.touch.move,this.handleDrag),(0,ye.removeEvent)(b,re.mouse.stop,this.handleDragStop),(0,ye.removeEvent)(b,re.touch.stop,this.handleDragStop),(0,ye.removeEvent)(x,re.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ye.scheduleRemoveUserSelectStyles)(b)}}findDOMNode(){var x,b,ee;return(x=this.props)!=null&&x.nodeRef?(ee=(b=this.props)==null?void 0:b.nodeRef)==null?void 0:ee.current:E.default.findDOMNode(this)}render(){return ae.cloneElement(ae.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}at.default=a,ue(a,"displayName","DraggableCore"),ue(a,"propTypes",{allowAnyClick:Ae.default.bool,allowMobileScroll:Ae.default.bool,children:Ae.default.node.isRequired,disabled:Ae.default.bool,enableUserSelectHack:Ae.default.bool,offsetParent:function(y,x){if(y[x]&&y[x].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Ae.default.arrayOf(Ae.default.number),handle:Ae.default.string,cancel:Ae.default.string,nodeRef:Ae.default.object,onStart:Ae.default.func,onDrag:Ae.default.func,onStop:Ae.default.func,onMouseDown:Ae.default.func,scale:Ae.default.number,className:le.dontSetMe,style:le.dontSetMe,transform:le.dontSetMe}),ue(a,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(vt,at,fe){"use strict";const{default:ae,DraggableCore:Ae}=fe(51353);vt.exports=ae,vt.exports.default=ae,vt.exports.DraggableCore=Ae},77026:function(vt,at,fe){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.addClassName=me,at.addEvent=ne,at.addUserSelectStyles=ee,at.createCSSTransform=z,at.createSVGTransform=a,at.getTouch=x,at.getTouchIdentifier=b,at.getTranslation=y,at.innerHeight=ie,at.innerWidth=oe,at.matchesSelector=he,at.matchesSelectorAndParentsTo=le,at.offsetXYFromParent=re,at.outerHeight=de,at.outerWidth=ue,at.removeClassName=ve,at.removeEvent=se,at.scheduleRemoveUserSelectStyles=te;var ae=fe(80217),Ae=E(fe(76172));function E(ge,pe){if(typeof WeakMap=="function")var Se=new WeakMap,be=new WeakMap;return(E=function(Ee,Ce){if(!Ce&&Ee&&Ee.__esModule)return Ee;var De,we,Fe={__proto__:null,default:Ee};if(Ee===null||typeof Ee!="object"&&typeof Ee!="function")return Fe;if(De=Ce?be:Se){if(De.has(Ee))return De.get(Ee);De.set(Ee,Fe)}for(const Pe in Ee)Pe!=="default"&&{}.hasOwnProperty.call(Ee,Pe)&&((we=(De=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ee,Pe))&&(we.get||we.set)?De(Fe,Pe,we):Fe[Pe]=Ee[Pe]);return Fe})(ge,pe)}let ye="";function he(ge,pe){return ye||(ye=(0,ae.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Se){return(0,ae.isFunction)(ge[Se])})),(0,ae.isFunction)(ge[ye])?ge[ye](pe):!1}function le(ge,pe,Se){let be=ge;do{if(he(be,pe))return!0;if(be===Se)return!1;be=be.parentNode}while(be);return!1}function ne(ge,pe,Se,be){if(!ge)return;const Ee=Go({capture:!0},be);ge.addEventListener?ge.addEventListener(pe,Se,Ee):ge.attachEvent?ge.attachEvent("on"+pe,Se):ge["on"+pe]=Se}function se(ge,pe,Se,be){if(!ge)return;const Ee=Go({capture:!0},be);ge.removeEventListener?ge.removeEventListener(pe,Se,Ee):ge.detachEvent?ge.detachEvent("on"+pe,Se):ge["on"+pe]=null}function de(ge){let pe=ge.clientHeight;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe+=(0,ae.int)(Se.borderTopWidth),pe+=(0,ae.int)(Se.borderBottomWidth),pe}function ue(ge){let pe=ge.clientWidth;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe+=(0,ae.int)(Se.borderLeftWidth),pe+=(0,ae.int)(Se.borderRightWidth),pe}function ie(ge){let pe=ge.clientHeight;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe-=(0,ae.int)(Se.paddingTop),pe-=(0,ae.int)(Se.paddingBottom),pe}function oe(ge){let pe=ge.clientWidth;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe-=(0,ae.int)(Se.paddingLeft),pe-=(0,ae.int)(Se.paddingRight),pe}function re(ge,pe,Se){const Ee=pe===pe.ownerDocument.body?{left:0,top:0}:pe.getBoundingClientRect(),Ce=(ge.clientX+pe.scrollLeft-Ee.left)/Se,De=(ge.clientY+pe.scrollTop-Ee.top)/Se;return{x:Ce,y:De}}function z(ge,pe){const Se=y(ge,pe,"px");return{[(0,Ae.browserPrefixToKey)("transform",Ae.default)]:Se}}function a(ge,pe){return y(ge,pe,"")}function y(ge,pe,Se){let{x:be,y:Ee}=ge,Ce=`translate(${be}${Se},${Ee}${Se})`;if(pe){const De=`${typeof pe.x=="string"?pe.x:pe.x+Se}`,we=`${typeof pe.y=="string"?pe.y:pe.y+Se}`;Ce=`translate(${De}, ${we})`+Ce}return Ce}function x(ge,pe){return ge.targetTouches&&(0,ae.findInArray)(ge.targetTouches,Se=>pe===Se.identifier)||ge.changedTouches&&(0,ae.findInArray)(ge.changedTouches,Se=>pe===Se.identifier)}function b(ge){if(ge.targetTouches&&ge.targetTouches[0])return ge.targetTouches[0].identifier;if(ge.changedTouches&&ge.changedTouches[0])return ge.changedTouches[0].identifier}function ee(ge){if(!ge)return;let pe=ge.getElementById("react-draggable-style-el");pe||(pe=ge.createElement("style"),pe.type="text/css",pe.id="react-draggable-style-el",pe.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} -`,pe.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,ge.getElementsByTagName("head")[0].appendChild(pe)),ge.body&&me(ge.body,"react-draggable-transparent-selection")}function te(ge){window.requestAnimationFrame?window.requestAnimationFrame(()=>{ce(ge)}):ce(ge)}function ce(ge){if(ge)try{if(ge.body&&ve(ge.body,"react-draggable-transparent-selection"),ge.selection)ge.selection.empty();else{const pe=(ge.defaultView||window).getSelection();pe&&pe.type!=="Caret"&&pe.removeAllRanges()}}catch(pe){}}function me(ge,pe){ge.classList?ge.classList.add(pe):ge.className.match(new RegExp(`(?:^|\\s)${pe}(?!\\S)`))||(ge.className+=` ${pe}`)}function ve(ge,pe){ge.classList?ge.classList.remove(pe):ge.className=ge.className.replace(new RegExp(`(?:^|\\s)${pe}(?!\\S)`,"g"),"")}},76172:function(vt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.browserPrefixToKey=Ae,at.browserPrefixToStyle=E,at.default=void 0,at.getPrefix=ae;const fe=["Moz","Webkit","O","ms"];function ae(){var se,de;let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ne=(de=(se=window.document)==null?void 0:se.documentElement)==null?void 0:de.style;if(!ne||le in ne)return"";for(let ue=0;ue: Unmounted during event!");return re}},80217:function(vt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.dontSetMe=ye,at.findInArray=fe,at.int=E,at.isFunction=ae,at.isNum=Ae;function fe(he,le){for(let ne=0,se=he.length;ne=0||Object.prototype.hasOwnProperty.call(oe,a)&&(z[a]=oe[a]);return z}function se(oe,re){if(!(oe instanceof re))throw new TypeError("Cannot call a class as a function")}function de(oe,re){if(!oe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re&&(typeof re=="object"||typeof re=="function")?re:oe}function ue(oe,re){if(typeof re!="function"&&re!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof re);oe.prototype=Object.create(re&&re.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}),re&&(Object.setPrototypeOf?Object.setPrototypeOf(oe,re):oe.__proto__=re)}var ie=function(oe){ue(re,oe);function re(z){se(this,re);var a=de(this,(re.__proto__||Object.getPrototypeOf(re)).call(this,z));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return ae(re,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,y={get passive(){a=!0}};try{document.addEventListener("test",null,y),document.removeEventListener("test",null,y)}catch(x){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var y=this.props.getScrollParent&&this.props.getScrollParent();return y!=null?y:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var y=window;this.props.useWindow===!1&&(y=a),y.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),y.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,y=window,x=this.getParentElement(a),b=void 0;if(this.props.useWindow){var ee=document.documentElement||document.body.parentNode||document.body,te=y.pageYOffset!==void 0?y.pageYOffset:ee.scrollTop;this.props.isReverse?b=te:b=this.calculateOffset(a,te)}else this.props.isReverse?b=x.scrollTop:b=a.scrollHeight-x.scrollTop-x.clientHeight;b=0)&&(y[b]=z[b]);return y}function ue(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function ie(z,a){z.prototype=Object.create(a.prototype),z.prototype.constructor=z,z.__proto__=a}function oe(z,a,y){return a in z?Object.defineProperty(z,a,{value:y,enumerable:!0,configurable:!0,writable:!0}):z[a]=y,z}var re=function(z){ie(a,z);function a(){for(var x,b=arguments.length,ee=new Array(b),te=0;te=0)&&(ee[ce]=x[ce]);return ee}function re(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function z(x,b){x.prototype=Object.create(b.prototype),x.prototype.constructor=x,x.__proto__=b}function a(x,b,ee){return b in x?Object.defineProperty(x,b,{value:ee,enumerable:!0,configurable:!0,writable:!0}):x[b]=ee,x}var y=function(x){z(b,x);function b(){for(var te,ce=arguments.length,me=new Array(ce),ve=0;ve=0;re--)if(E(oe[re])){var z=oe[re].split("="),a=unescape(z[0]),y=unescape(z[1]);ie(y,a)}}function ne(ie,oe){ie&&(ye.cookie=escape(ie)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function se(ie){!ie||!ue(ie)||(ye.cookie=escape(ie)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function de(){le(function(ie,oe){se(oe)})}function ue(ie){return new RegExp("(?:^|;\\s*)"+escape(ie).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(ye.cookie)}},52496:function(vt,at,fe){var ae=fe(67039),Ae=ae.Global;vt.exports={name:"localStorage",read:ye,write:he,each:le,remove:ne,clearAll:se};function E(){return Ae.localStorage}function ye(de){return E().getItem(de)}function he(de,ue){return E().setItem(de,ue)}function le(de){for(var ue=E().length-1;ue>=0;ue--){var ie=E().key(ue);de(ye(ie),ie)}}function ne(de){return E().removeItem(de)}function se(){return E().clear()}},65300:function(vt){vt.exports={name:"memoryStorage",read:fe,write:ae,each:Ae,remove:E,clearAll:ye};var at={};function fe(he){return at[he]}function ae(he,le){at[he]=le}function Ae(he){for(var le in at)at.hasOwnProperty(le)&&he(at[le],le)}function E(he){delete at[he]}function ye(he){at={}}},16436:function(vt,at,fe){var ae=fe(67039),Ae=ae.Global;vt.exports={name:"oldFF-globalStorage",read:ye,write:he,each:le,remove:ne,clearAll:se};var E=Ae.globalStorage;function ye(de){return E[de]}function he(de,ue){E[de]=ue}function le(de){for(var ue=E.length-1;ue>=0;ue--){var ie=E.key(ue);de(E[ie],ie)}}function ne(de){return E.removeItem(de)}function se(){le(function(de,ue){delete E[de]})}},76673:function(vt,at,fe){var ae=fe(67039),Ae=ae.Global;vt.exports={name:"oldIE-userDataStorage",write:ne,read:se,each:de,remove:ue,clearAll:ie};var E="storejs",ye=Ae.document,he=z(),le=(Ae.navigator?Ae.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function ne(a,y){if(!le){var x=re(a);he(function(b){b.setAttribute(x,y),b.save(E)})}}function se(a){if(!le){var y=re(a),x=null;return he(function(b){x=b.getAttribute(y)}),x}}function de(a){he(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var ee=x[b];a(y.getAttribute(ee.name),ee.name)}})}function ue(a){var y=re(a);he(function(x){x.removeAttribute(y),x.save(E)})}function ie(){he(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function re(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function z(){if(!ye||!ye.documentElement||!ye.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(ee){b=ye.createElement("div"),y=ye.body}return function(ee){var te=[].slice.call(arguments,0);te.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),ee.apply(this,te),y.removeChild(b)}}},65578:function(vt,at,fe){var ae=fe(67039),Ae=ae.Global;vt.exports={name:"sessionStorage",read:ye,write:he,each:le,remove:ne,clearAll:se};function E(){return Ae.sessionStorage}function ye(de){return E().getItem(de)}function he(de,ue){return E().setItem(de,ue)}function le(de){for(var ue=E().length-1;ue>=0;ue--){var ie=E().key(ue);de(ye(ie),ie)}}function ne(de){return E().removeItem(de)}function se(){return E().clear()}},34376:function(vt){(function(at,fe){if(1)vt.exports=fe();else var ae,Ae})(window,function(){return function(at){var fe={};function ae(Ae){if(fe[Ae])return fe[Ae].exports;var E=fe[Ae]={i:Ae,l:!1,exports:{}};return at[Ae].call(E.exports,E,E.exports,ae),E.l=!0,E.exports}return ae.m=at,ae.c=fe,ae.d=function(Ae,E,ye){ae.o(Ae,E)||Object.defineProperty(Ae,E,{enumerable:!0,get:ye})},ae.r=function(Ae){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Ae,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Ae,"__esModule",{value:!0})},ae.t=function(Ae,E){if(1&E&&(Ae=ae(Ae)),8&E||4&E&&typeof Ae=="object"&&Ae&&Ae.__esModule)return Ae;var ye=Object.create(null);if(ae.r(ye),Object.defineProperty(ye,"default",{enumerable:!0,value:Ae}),2&E&&typeof Ae!="string")for(var he in Ae)ae.d(ye,he,function(le){return Ae[le]}.bind(null,he));return ye},ae.n=function(Ae){var E=Ae&&Ae.__esModule?function(){return Ae.default}:function(){return Ae};return ae.d(E,"a",E),E},ae.o=function(Ae,E){return Object.prototype.hasOwnProperty.call(Ae,E)},ae.p="",ae(ae.s=34)}([function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.forwardEvent=fe.EventEmitter=void 0;var Ae=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var ye=this;return this._event||(this._event=function(he){return ye._listeners.push(he),{dispose:function(){if(!ye._disposed){for(var le=0;le>22},de.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?ye.stringFromCodePoint(2097151&this.content):""},de.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},de.prototype.setFromCharData=function(ue){this.fg=ue[he.CHAR_DATA_ATTR_INDEX],this.bg=0;var ie=!1;if(ue[he.CHAR_DATA_CHAR_INDEX].length>2)ie=!0;else if(ue[he.CHAR_DATA_CHAR_INDEX].length===2){var oe=ue[he.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var re=ue[he.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=re&&re<=57343?this.content=1024*(oe-55296)+re-56320+65536|ue[he.CHAR_DATA_WIDTH_INDEX]<<22:ie=!0}else ie=!0}else this.content=ue[he.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ue[he.CHAR_DATA_WIDTH_INDEX]<<22;ie&&(this.combinedData=ue[he.CHAR_DATA_CHAR_INDEX],this.content=2097152|ue[he.CHAR_DATA_WIDTH_INDEX]<<22)},de.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},de}(le.AttributeData);fe.CellData=ne},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ISoundService=fe.ISelectionService=fe.IRenderService=fe.IMouseService=fe.ICoreBrowserService=fe.ICharSizeService=void 0;var Ae=ae(14);fe.ICharSizeService=Ae.createDecorator("CharSizeService"),fe.ICoreBrowserService=Ae.createDecorator("CoreBrowserService"),fe.IMouseService=Ae.createDecorator("MouseService"),fe.IRenderService=Ae.createDecorator("RenderService"),fe.ISelectionService=Ae.createDecorator("SelectionService"),fe.ISoundService=Ae.createDecorator("SoundService")},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ExtendedAttrs=fe.AttributeData=void 0;var Ae=function(){function ye(){this.fg=0,this.bg=0,this.extended=new E}return ye.toColorRGB=function(he){return[he>>>16&255,he>>>8&255,255&he]},ye.fromColorRGB=function(he){return(255&he[0])<<16|(255&he[1])<<8|255&he[2]},ye.prototype.clone=function(){var he=new ye;return he.fg=this.fg,he.bg=this.bg,he.extended=this.extended.clone(),he},ye.prototype.isInverse=function(){return 67108864&this.fg},ye.prototype.isBold=function(){return 134217728&this.fg},ye.prototype.isUnderline=function(){return 268435456&this.fg},ye.prototype.isBlink=function(){return 536870912&this.fg},ye.prototype.isInvisible=function(){return 1073741824&this.fg},ye.prototype.isItalic=function(){return 67108864&this.bg},ye.prototype.isDim=function(){return 134217728&this.bg},ye.prototype.getFgColorMode=function(){return 50331648&this.fg},ye.prototype.getBgColorMode=function(){return 50331648&this.bg},ye.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},ye.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},ye.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},ye.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},ye.prototype.isFgDefault=function(){return(50331648&this.fg)==0},ye.prototype.isBgDefault=function(){return(50331648&this.bg)==0},ye.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},ye.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},ye.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},ye.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},ye.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},ye.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},ye.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},ye.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},ye.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},ye.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},ye.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},ye}();fe.AttributeData=Ae;var E=function(){function ye(he,le){he===void 0&&(he=0),le===void 0&&(le=-1),this.underlineStyle=he,this.underlineColor=le}return ye.prototype.clone=function(){return new ye(this.underlineStyle,this.underlineColor)},ye.prototype.isEmpty=function(){return this.underlineStyle===0},ye}();fe.ExtendedAttrs=E},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.addDisposableDomListener=void 0,fe.addDisposableDomListener=function(Ae,E,ye,he){Ae.addEventListener(E,ye,he);var le=!1;return{dispose:function(){le||(le=!0,Ae.removeEventListener(E,ye,he))}}}},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.Utf8ToUtf32=fe.StringToUtf32=fe.utf32ToString=fe.stringFromCodePoint=void 0,fe.stringFromCodePoint=function(ye){return ye>65535?(ye-=65536,String.fromCharCode(55296+(ye>>10))+String.fromCharCode(ye%1024+56320)):String.fromCharCode(ye)},fe.utf32ToString=function(ye,he,le){he===void 0&&(he=0),le===void 0&&(le=ye.length);for(var ne="",se=he;se65535?(de-=65536,ne+=String.fromCharCode(55296+(de>>10))+String.fromCharCode(de%1024+56320)):ne+=String.fromCharCode(de)}return ne};var Ae=function(){function ye(){this._interim=0}return ye.prototype.clear=function(){this._interim=0},ye.prototype.decode=function(he,le){var ne=he.length;if(!ne)return 0;var se=0,de=0;this._interim&&(56320<=(oe=he.charCodeAt(de++))&&oe<=57343?le[se++]=1024*(this._interim-55296)+oe-56320+65536:(le[se++]=this._interim,le[se++]=oe),this._interim=0);for(var ue=de;ue=ne)return this._interim=ie,se;var oe;56320<=(oe=he.charCodeAt(ue))&&oe<=57343?le[se++]=1024*(ie-55296)+oe-56320+65536:(le[se++]=ie,le[se++]=oe)}else le[se++]=ie}return se},ye}();fe.StringToUtf32=Ae;var E=function(){function ye(){this.interim=new Uint8Array(3)}return ye.prototype.clear=function(){this.interim.fill(0)},ye.prototype.decode=function(he,le){var ne=he.length;if(!ne)return 0;var se,de,ue,ie,oe=0,re=0,z=0;if(this.interim[0]){var a=!1,y=this.interim[0];y&=(224&y)==192?31:(240&y)==224?15:7;for(var x=0,b=void 0;(b=63&this.interim[++x])&&x<4;)y<<=6,y|=b;for(var ee=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,te=ee-x;z=ne)return 0;if((192&(b=he[z++]))!=128){z--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(ee===2?y<128?z--:le[oe++]=y:ee===3?y<2048||y>=55296&&y<=57343||(le[oe++]=y):y<65536||y>1114111||(le[oe++]=y)),this.interim.fill(0)}for(var ce=ne-4,me=z;me=ne)return this.interim[0]=se,oe;if((192&(de=he[me++]))!=128){me--;continue}if((re=(31&se)<<6|63&de)<128){me--;continue}le[oe++]=re}else if((240&se)==224){if(me>=ne)return this.interim[0]=se,oe;if((192&(de=he[me++]))!=128){me--;continue}if(me>=ne)return this.interim[0]=se,this.interim[1]=de,oe;if((192&(ue=he[me++]))!=128){me--;continue}if((re=(15&se)<<12|(63&de)<<6|63&ue)<2048||re>=55296&&re<=57343)continue;le[oe++]=re}else if((248&se)==240){if(me>=ne)return this.interim[0]=se,oe;if((192&(de=he[me++]))!=128){me--;continue}if(me>=ne)return this.interim[0]=se,this.interim[1]=de,oe;if((192&(ue=he[me++]))!=128){me--;continue}if(me>=ne)return this.interim[0]=se,this.interim[1]=de,this.interim[2]=ue,oe;if((192&(ie=he[me++]))!=128){me--;continue}if((re=(7&se)<<18|(63&de)<<12|(63&ue)<<6|63&ie)<65536||re>1114111)continue;le[oe++]=re}}return oe},ye}();fe.Utf8ToUtf32=E},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CHAR_ATLAS_CELL_SPACING=fe.DIM_OPACITY=fe.INVERTED_DEFAULT_COLOR=void 0,fe.INVERTED_DEFAULT_COLOR=257,fe.DIM_OPACITY=.5,fe.CHAR_ATLAS_CELL_SPACING=1},function(at,fe,ae){"use strict";var Ae,E,ye,he;function le(se){var de=se.toString(16);return de.length<2?"0"+de:de}function ne(se,de){return se>>0}}(Ae=fe.channels||(fe.channels={})),(E=fe.color||(fe.color={})).blend=function(se,de){var ue=(255&de.rgba)/255;if(ue===1)return{css:de.css,rgba:de.rgba};var ie=de.rgba>>24&255,oe=de.rgba>>16&255,re=de.rgba>>8&255,z=se.rgba>>24&255,a=se.rgba>>16&255,y=se.rgba>>8&255,x=z+Math.round((ie-z)*ue),b=a+Math.round((oe-a)*ue),ee=y+Math.round((re-y)*ue);return{css:Ae.toCss(x,b,ee),rgba:Ae.toRgba(x,b,ee)}},E.isOpaque=function(se){return(255&se.rgba)==255},E.ensureContrastRatio=function(se,de,ue){var ie=he.ensureContrastRatio(se.rgba,de.rgba,ue);if(ie)return he.toColor(ie>>24&255,ie>>16&255,ie>>8&255)},E.opaque=function(se){var de=(255|se.rgba)>>>0,ue=he.toChannels(de),ie=ue[0],oe=ue[1],re=ue[2];return{css:Ae.toCss(ie,oe,re),rgba:de}},E.opacity=function(se,de){var ue=Math.round(255*de),ie=he.toChannels(se.rgba),oe=ie[0],re=ie[1],z=ie[2];return{css:Ae.toCss(oe,re,z,ue),rgba:Ae.toRgba(oe,re,z,ue)}},(fe.css||(fe.css={})).toColor=function(se){switch(se.length){case 7:return{css:se,rgba:(parseInt(se.slice(1),16)<<8|255)>>>0};case 9:return{css:se,rgba:parseInt(se.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(se){function de(ue,ie,oe){var re=ue/255,z=ie/255,a=oe/255;return .2126*(re<=.03928?re/12.92:Math.pow((re+.055)/1.055,2.4))+.7152*(z<=.03928?z/12.92:Math.pow((z+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}se.relativeLuminance=function(ue){return de(ue>>16&255,ue>>8&255,255&ue)},se.relativeLuminance2=de}(ye=fe.rgb||(fe.rgb={})),function(se){function de(ie,oe,re){for(var z=ie>>24&255,a=ie>>16&255,y=ie>>8&255,x=oe>>24&255,b=oe>>16&255,ee=oe>>8&255,te=ne(ye.relativeLuminance2(x,ee,b),ye.relativeLuminance2(z,a,y));te0||b>0||ee>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),ee-=Math.max(0,Math.ceil(.1*ee)),te=ne(ye.relativeLuminance2(x,ee,b),ye.relativeLuminance2(z,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}function ue(ie,oe,re){for(var z=ie>>24&255,a=ie>>16&255,y=ie>>8&255,x=oe>>24&255,b=oe>>16&255,ee=oe>>8&255,te=ne(ye.relativeLuminance2(x,ee,b),ye.relativeLuminance2(z,a,y));te>>0}se.ensureContrastRatio=function(ie,oe,re){var z=ye.relativeLuminance(ie>>8),a=ye.relativeLuminance(oe>>8);if(ne(z,a)>24&255,ie>>16&255,ie>>8&255,255&ie]},se.toColor=function(ie,oe,re){return{css:Ae.toCss(ie,oe,re),rgba:Ae.toRgba(ie,oe,re)}}}(he=fe.rgba||(fe.rgba={})),fe.toPaddedHex=le,fe.contrastRatio=ne},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isLinux=fe.isWindows=fe.isIphone=fe.isIpad=fe.isMac=fe.isSafari=fe.isFirefox=void 0;var Ae=typeof navigator=="undefined",E=Ae?"node":navigator.userAgent,ye=Ae?"node":navigator.platform;function he(le,ne){return le.indexOf(ne)>=0}fe.isFirefox=!!~E.indexOf("Firefox"),fe.isSafari=/^((?!chrome|android).)*safari/i.test(E),fe.isMac=he(["Macintosh","MacIntel","MacPPC","Mac68K"],ye),fe.isIpad=ye==="iPad",fe.isIphone=ye==="iPhone",fe.isWindows=he(["Windows","Win16","Win32","WinCE"],ye),fe.isLinux=ye.indexOf("Linux")>=0},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.C1=fe.C0=void 0,function(Ae){Ae.NUL="\0",Ae.SOH="",Ae.STX="",Ae.ETX="",Ae.EOT="",Ae.ENQ="",Ae.ACK="",Ae.BEL="\x07",Ae.BS="\b",Ae.HT=" ",Ae.LF=` -`,Ae.VT="\v",Ae.FF="\f",Ae.CR="\r",Ae.SO="",Ae.SI="",Ae.DLE="",Ae.DC1="",Ae.DC2="",Ae.DC3="",Ae.DC4="",Ae.NAK="",Ae.SYN="",Ae.ETB="",Ae.CAN="",Ae.EM="",Ae.SUB="",Ae.ESC="\x1B",Ae.FS="",Ae.GS="",Ae.RS="",Ae.US="",Ae.SP=" ",Ae.DEL="\x7F"}(fe.C0||(fe.C0={})),function(Ae){Ae.PAD="\x80",Ae.HOP="\x81",Ae.BPH="\x82",Ae.NBH="\x83",Ae.IND="\x84",Ae.NEL="\x85",Ae.SSA="\x86",Ae.ESA="\x87",Ae.HTS="\x88",Ae.HTJ="\x89",Ae.VTS="\x8A",Ae.PLD="\x8B",Ae.PLU="\x8C",Ae.RI="\x8D",Ae.SS2="\x8E",Ae.SS3="\x8F",Ae.DCS="\x90",Ae.PU1="\x91",Ae.PU2="\x92",Ae.STS="\x93",Ae.CCH="\x94",Ae.MW="\x95",Ae.SPA="\x96",Ae.EPA="\x97",Ae.SOS="\x98",Ae.SGCI="\x99",Ae.SCI="\x9A",Ae.CSI="\x9B",Ae.ST="\x9C",Ae.OSC="\x9D",Ae.PM="\x9E",Ae.APC="\x9F"}(fe.C1||(fe.C1={}))},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BaseRenderLayer=void 0;var Ae=ae(3),E=ae(9),ye=ae(25),he=ae(6),le=ae(28),ne=ae(10),se=ae(17),de=function(){function ue(ie,oe,re,z,a,y,x,b){this._container=ie,this._alpha=z,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+oe+"-layer"),this._canvas.style.zIndex=re.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return ue.prototype.dispose=function(){var ie;se.removeElementFromParent(this._canvas),(ie=this._charAtlas)===null||ie===void 0||ie.dispose()},ue.prototype._initCanvas=function(){this._ctx=le.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ue.prototype.onOptionsChanged=function(){},ue.prototype.onBlur=function(){},ue.prototype.onFocus=function(){},ue.prototype.onCursorMove=function(){},ue.prototype.onGridChanged=function(ie,oe){},ue.prototype.onSelectionChanged=function(ie,oe,re){re===void 0&&(re=!1)},ue.prototype.setColors=function(ie){this._refreshCharAtlas(ie)},ue.prototype._setTransparency=function(ie){if(ie!==this._alpha){var oe=this._canvas;this._alpha=ie,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,oe),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},ue.prototype._refreshCharAtlas=function(ie){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=ye.acquireCharAtlas(this._optionsService.options,this._rendererId,ie,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ue.prototype.resize=function(ie){this._scaledCellWidth=ie.scaledCellWidth,this._scaledCellHeight=ie.scaledCellHeight,this._scaledCharWidth=ie.scaledCharWidth,this._scaledCharHeight=ie.scaledCharHeight,this._scaledCharLeft=ie.scaledCharLeft,this._scaledCharTop=ie.scaledCharTop,this._canvas.width=ie.scaledCanvasWidth,this._canvas.height=ie.scaledCanvasHeight,this._canvas.style.width=ie.canvasWidth+"px",this._canvas.style.height=ie.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},ue.prototype._fillCells=function(ie,oe,re,z){this._ctx.fillRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,z*this._scaledCellHeight)},ue.prototype._fillBottomLineAtCells=function(ie,oe,re){re===void 0&&(re=1),this._ctx.fillRect(ie*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,re*this._scaledCellWidth,window.devicePixelRatio)},ue.prototype._fillLeftLineAtCell=function(ie,oe,re){this._ctx.fillRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*re,this._scaledCellHeight)},ue.prototype._strokeRectAtCell=function(ie,oe,re,z){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(ie*this._scaledCellWidth+window.devicePixelRatio/2,oe*this._scaledCellHeight+window.devicePixelRatio/2,re*this._scaledCellWidth-window.devicePixelRatio,z*this._scaledCellHeight-window.devicePixelRatio)},ue.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},ue.prototype._clearCells=function(ie,oe,re,z){this._alpha?this._ctx.clearRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,z*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,z*this._scaledCellHeight))},ue.prototype._fillCharTrueColor=function(ie,oe,re){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(re),this._ctx.fillText(ie.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ue.prototype._drawChars=function(ie,oe,re){var z,a,y=this._getContrastColor(ie);y||ie.isFgRGB()||ie.isBgRGB()?this._drawUncachedChars(ie,oe,re,y):(ie.isInverse()?(z=ie.isBgDefault()?E.INVERTED_DEFAULT_COLOR:ie.getBgColor(),a=ie.isFgDefault()?E.INVERTED_DEFAULT_COLOR:ie.getFgColor()):(a=ie.isBgDefault()?Ae.DEFAULT_COLOR:ie.getBgColor(),z=ie.isFgDefault()?Ae.DEFAULT_COLOR:ie.getFgColor()),z+=this._optionsService.options.drawBoldTextInBrightColors&&ie.isBold()&&z<8?8:0,this._currentGlyphIdentifier.chars=ie.getChars()||Ae.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ie.getCode()||Ae.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=z,this._currentGlyphIdentifier.bold=!!ie.isBold(),this._currentGlyphIdentifier.dim=!!ie.isDim(),this._currentGlyphIdentifier.italic=!!ie.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ie,oe,re))},ue.prototype._drawUncachedChars=function(ie,oe,re,z){if(this._ctx.save(),this._ctx.font=this._getFont(!!ie.isBold(),!!ie.isItalic()),this._ctx.textBaseline="middle",ie.isInverse())if(z)this._ctx.fillStyle=z.css;else if(ie.isBgDefault())this._ctx.fillStyle=ne.color.opaque(this._colors.background).css;else if(ie.isBgRGB())this._ctx.fillStyle="rgb("+he.AttributeData.toColorRGB(ie.getBgColor()).join(",")+")";else{var a=ie.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ie.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(z)this._ctx.fillStyle=z.css;else if(ie.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ie.isFgRGB())this._ctx.fillStyle="rgb("+he.AttributeData.toColorRGB(ie.getFgColor()).join(",")+")";else{var y=ie.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ie.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(re),ie.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ie.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},ue.prototype._clipRow=function(ie){this._ctx.beginPath(),this._ctx.rect(0,ie*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ue.prototype._getFont=function(ie,oe){return(oe?"italic":"")+" "+(ie?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},ue.prototype._getContrastColor=function(ie){if(this._optionsService.options.minimumContrastRatio!==1){var oe=this._colors.contrastCache.getColor(ie.bg,ie.fg);if(oe!==void 0)return oe||void 0;var re=ie.getFgColor(),z=ie.getFgColorMode(),a=ie.getBgColor(),y=ie.getBgColorMode(),x=!!ie.isInverse(),b=!!ie.isInverse();if(x){var ee=re;re=a,a=ee;var te=z;z=y,y=te}var ce=this._resolveBackgroundRgba(y,a,x),me=this._resolveForegroundRgba(z,re,x,b),ve=ne.rgba.ensureContrastRatio(ce,me,this._optionsService.options.minimumContrastRatio);if(ve){var ge={css:ne.channels.toCss(ve>>24&255,ve>>16&255,ve>>8&255),rgba:ve};return this._colors.contrastCache.setColor(ie.bg,ie.fg,ge),ge}this._colors.contrastCache.setColor(ie.bg,ie.fg,null)}},ue.prototype._resolveBackgroundRgba=function(ie,oe,re){switch(ie){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.foreground.rgba:this._colors.background.rgba}},ue.prototype._resolveForegroundRgba=function(ie,oe,re,z){switch(ie){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&z&&oe<8&&(oe+=8),this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.background.rgba:this._colors.foreground.rgba}},ue}();fe.BaseRenderLayer=de},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.createDecorator=fe.getServiceDependencies=fe.serviceRegistry=void 0;function Ae(E,ye,he){ye.di$target===ye?ye.di$dependencies.push({id:E,index:he}):(ye.di$dependencies=[{id:E,index:he}],ye.di$target=ye)}fe.serviceRegistry=new Map,fe.getServiceDependencies=function(E){return E.di$dependencies||[]},fe.createDecorator=function(E){if(fe.serviceRegistry.has(E))return fe.serviceRegistry.get(E);var ye=function(he,le,ne){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");Ae(ye,he,ne)};return ye.toString=function(){return E},fe.serviceRegistry.set(E,ye),ye}},function(at,fe,ae){"use strict";function Ae(E,ye,he,le){if(he===void 0&&(he=0),le===void 0&&(le=E.length),he>=E.length)return E;he=(E.length+he)%E.length,le=le>=E.length?E.length:(E.length+le)%E.length;for(var ne=he;ne>22,2097152&de?this._combined[se].charCodeAt(this._combined[se].length-1):ue]},ne.prototype.set=function(se,de){this._data[3*se+1]=de[E.CHAR_DATA_ATTR_INDEX],de[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[se]=de[1],this._data[3*se+0]=2097152|se|de[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*se+0]=de[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|de[E.CHAR_DATA_WIDTH_INDEX]<<22},ne.prototype.getWidth=function(se){return this._data[3*se+0]>>22},ne.prototype.hasWidth=function(se){return 12582912&this._data[3*se+0]},ne.prototype.getFg=function(se){return this._data[3*se+1]},ne.prototype.getBg=function(se){return this._data[3*se+2]},ne.prototype.hasContent=function(se){return 4194303&this._data[3*se+0]},ne.prototype.getCodePoint=function(se){var de=this._data[3*se+0];return 2097152&de?this._combined[se].charCodeAt(this._combined[se].length-1):2097151&de},ne.prototype.isCombined=function(se){return 2097152&this._data[3*se+0]},ne.prototype.getString=function(se){var de=this._data[3*se+0];return 2097152&de?this._combined[se]:2097151&de?Ae.stringFromCodePoint(2097151&de):""},ne.prototype.loadCell=function(se,de){var ue=3*se;return de.content=this._data[ue+0],de.fg=this._data[ue+1],de.bg=this._data[ue+2],2097152&de.content&&(de.combinedData=this._combined[se]),268435456&de.bg&&(de.extended=this._extendedAttrs[se]),de},ne.prototype.setCell=function(se,de){2097152&de.content&&(this._combined[se]=de.combinedData),268435456&de.bg&&(this._extendedAttrs[se]=de.extended),this._data[3*se+0]=de.content,this._data[3*se+1]=de.fg,this._data[3*se+2]=de.bg},ne.prototype.setCellFromCodePoint=function(se,de,ue,ie,oe,re){268435456&oe&&(this._extendedAttrs[se]=re),this._data[3*se+0]=de|ue<<22,this._data[3*se+1]=ie,this._data[3*se+2]=oe},ne.prototype.addCodepointToCell=function(se,de){var ue=this._data[3*se+0];2097152&ue?this._combined[se]+=Ae.stringFromCodePoint(de):(2097151&ue?(this._combined[se]=Ae.stringFromCodePoint(2097151&ue)+Ae.stringFromCodePoint(de),ue&=-2097152,ue|=2097152):ue=de|1<<22,this._data[3*se+0]=ue)},ne.prototype.insertCells=function(se,de,ue,ie){if((se%=this.length)&&this.getWidth(se-1)===2&&this.setCellFromCodePoint(se-1,0,1,(ie==null?void 0:ie.fg)||0,(ie==null?void 0:ie.bg)||0,(ie==null?void 0:ie.extended)||new he.ExtendedAttrs),de=0;--re)this.setCell(se+de+re,this.loadCell(se+re,oe));for(re=0;rethis.length){var ue=new Uint32Array(3*se);this.length&&(3*se=se&&delete this._combined[re]}}else this._data=new Uint32Array(0),this._combined={};this.length=se}},ne.prototype.fill=function(se){this._combined={},this._extendedAttrs={};for(var de=0;de=0;--se)if(4194303&this._data[3*se+0])return se+(this._data[3*se+0]>>22);return 0},ne.prototype.copyCellsFrom=function(se,de,ue,ie,oe){var re=se._data;if(oe)for(var z=ie-1;z>=0;z--)for(var a=0;a<3;a++)this._data[3*(ue+z)+a]=re[3*(de+z)+a];else for(z=0;z=de&&(this._combined[x-de+ue]=se._combined[x])}},ne.prototype.translateToString=function(se,de,ue){se===void 0&&(se=!1),de===void 0&&(de=0),ue===void 0&&(ue=this.length),se&&(ue=Math.min(ue,this.getTrimmedLength()));for(var ie="";de>22||1}return ie},ne}();fe.BufferLine=le},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.removeElementFromParent=void 0,fe.removeElementFromParent=function(){for(var Ae,E=[],ye=0;ye24)return ve.setWinLines||!1;switch(me){case 1:return!!ve.restoreWin;case 2:return!!ve.minimizeWin;case 3:return!!ve.setWinPosition;case 4:return!!ve.setWinSizePixels;case 5:return!!ve.raiseWin;case 6:return!!ve.lowerWin;case 7:return!!ve.refreshWin;case 8:return!!ve.setWinSizeChars;case 9:return!!ve.maximizeWin;case 10:return!!ve.fullscreenWin;case 11:return!!ve.getWinState;case 13:return!!ve.getWinPosition;case 14:return!!ve.getWinSizePixels;case 15:return!!ve.getScreenSizePixels;case 16:return!!ve.getCellSizePixels;case 18:return!!ve.getWinSizeChars;case 19:return!!ve.getScreenSizeChars;case 20:return!!ve.getIconTitle;case 21:return!!ve.getWinTitle;case 22:return!!ve.pushTitle;case 23:return!!ve.popTitle;case 24:return!!ve.setWinLines}return!1}(function(me){me[me.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",me[me.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(ye=fe.WindowsOptionsReportType||(fe.WindowsOptionsReportType={}));var te=function(){function me(ve,ge,pe,Se){this._bufferService=ve,this._coreService=ge,this._logService=pe,this._optionsService=Se,this._data=new Uint32Array(0)}return me.prototype.hook=function(ve){this._data=new Uint32Array(0)},me.prototype.put=function(ve,ge,pe){this._data=de.concat(this._data,ve.subarray(ge,pe))},me.prototype.unhook=function(ve){if(ve){var ge=ue.utf32ToString(this._data);switch(this._data=new Uint32Array(0),ge){case'"q':return this._coreService.triggerDataEvent(he.C0.ESC+'P1$r0"q'+he.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(he.C0.ESC+'P1$r61;1"p'+he.C0.ESC+"\\");case"r":var pe=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(he.C0.ESC+"P1$r"+pe+he.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(he.C0.ESC+"P1$r0m"+he.C0.ESC+"\\");case" q":var Se={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return Se-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(he.C0.ESC+"P1$r"+Se+" q"+he.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",ge),this._coreService.triggerDataEvent(he.C0.ESC+"P0$r"+he.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},me}(),ce=function(me){function ve(ge,pe,Se,be,Ee,Ce,De,we,Fe){Fe===void 0&&(Fe=new ne.EscapeSequenceParser);var Pe=me.call(this)||this;Pe._bufferService=ge,Pe._charsetService=pe,Pe._coreService=Se,Pe._dirtyRowService=be,Pe._logService=Ee,Pe._optionsService=Ce,Pe._coreMouseService=De,Pe._unicodeService=we,Pe._parser=Fe,Pe._parseBuffer=new Uint32Array(4096),Pe._stringDecoder=new ue.StringToUtf32,Pe._utf8Decoder=new ue.Utf8ToUtf32,Pe._workCell=new z.CellData,Pe._windowTitle="",Pe._iconName="",Pe._windowTitleStack=[],Pe._iconNameStack=[],Pe._curAttrData=ie.DEFAULT_ATTR_DATA.clone(),Pe._eraseAttrDataInternal=ie.DEFAULT_ATTR_DATA.clone(),Pe._onRequestBell=new oe.EventEmitter,Pe._onRequestRefreshRows=new oe.EventEmitter,Pe._onRequestReset=new oe.EventEmitter,Pe._onRequestScroll=new oe.EventEmitter,Pe._onRequestSyncScrollBar=new oe.EventEmitter,Pe._onRequestWindowsOptionsReport=new oe.EventEmitter,Pe._onA11yChar=new oe.EventEmitter,Pe._onA11yTab=new oe.EventEmitter,Pe._onCursorMove=new oe.EventEmitter,Pe._onLineFeed=new oe.EventEmitter,Pe._onScroll=new oe.EventEmitter,Pe._onTitleChange=new oe.EventEmitter,Pe.register(Pe._parser),Pe._parser.setCsiHandlerFallback(function(Te,Ue){Pe._logService.debug("Unknown CSI code: ",{identifier:Pe._parser.identToString(Te),params:Ue.toArray()})}),Pe._parser.setEscHandlerFallback(function(Te){Pe._logService.debug("Unknown ESC code: ",{identifier:Pe._parser.identToString(Te)})}),Pe._parser.setExecuteHandlerFallback(function(Te){Pe._logService.debug("Unknown EXECUTE code: ",{code:Te})}),Pe._parser.setOscHandlerFallback(function(Te,Ue,He){Pe._logService.debug("Unknown OSC code: ",{identifier:Te,action:Ue,data:He})}),Pe._parser.setDcsHandlerFallback(function(Te,Ue,He){Ue==="HOOK"&&(He=He.toArray()),Pe._logService.debug("Unknown DCS code: ",{identifier:Pe._parser.identToString(Te),action:Ue,payload:He})}),Pe._parser.setPrintHandler(function(Te,Ue,He){return Pe.print(Te,Ue,He)}),Pe._parser.setCsiHandler({final:"@"},function(Te){return Pe.insertChars(Te)}),Pe._parser.setCsiHandler({intermediates:" ",final:"@"},function(Te){return Pe.scrollLeft(Te)}),Pe._parser.setCsiHandler({final:"A"},function(Te){return Pe.cursorUp(Te)}),Pe._parser.setCsiHandler({intermediates:" ",final:"A"},function(Te){return Pe.scrollRight(Te)}),Pe._parser.setCsiHandler({final:"B"},function(Te){return Pe.cursorDown(Te)}),Pe._parser.setCsiHandler({final:"C"},function(Te){return Pe.cursorForward(Te)}),Pe._parser.setCsiHandler({final:"D"},function(Te){return Pe.cursorBackward(Te)}),Pe._parser.setCsiHandler({final:"E"},function(Te){return Pe.cursorNextLine(Te)}),Pe._parser.setCsiHandler({final:"F"},function(Te){return Pe.cursorPrecedingLine(Te)}),Pe._parser.setCsiHandler({final:"G"},function(Te){return Pe.cursorCharAbsolute(Te)}),Pe._parser.setCsiHandler({final:"H"},function(Te){return Pe.cursorPosition(Te)}),Pe._parser.setCsiHandler({final:"I"},function(Te){return Pe.cursorForwardTab(Te)}),Pe._parser.setCsiHandler({final:"J"},function(Te){return Pe.eraseInDisplay(Te)}),Pe._parser.setCsiHandler({prefix:"?",final:"J"},function(Te){return Pe.eraseInDisplay(Te)}),Pe._parser.setCsiHandler({final:"K"},function(Te){return Pe.eraseInLine(Te)}),Pe._parser.setCsiHandler({prefix:"?",final:"K"},function(Te){return Pe.eraseInLine(Te)}),Pe._parser.setCsiHandler({final:"L"},function(Te){return Pe.insertLines(Te)}),Pe._parser.setCsiHandler({final:"M"},function(Te){return Pe.deleteLines(Te)}),Pe._parser.setCsiHandler({final:"P"},function(Te){return Pe.deleteChars(Te)}),Pe._parser.setCsiHandler({final:"S"},function(Te){return Pe.scrollUp(Te)}),Pe._parser.setCsiHandler({final:"T"},function(Te){return Pe.scrollDown(Te)}),Pe._parser.setCsiHandler({final:"X"},function(Te){return Pe.eraseChars(Te)}),Pe._parser.setCsiHandler({final:"Z"},function(Te){return Pe.cursorBackwardTab(Te)}),Pe._parser.setCsiHandler({final:"`"},function(Te){return Pe.charPosAbsolute(Te)}),Pe._parser.setCsiHandler({final:"a"},function(Te){return Pe.hPositionRelative(Te)}),Pe._parser.setCsiHandler({final:"b"},function(Te){return Pe.repeatPrecedingCharacter(Te)}),Pe._parser.setCsiHandler({final:"c"},function(Te){return Pe.sendDeviceAttributesPrimary(Te)}),Pe._parser.setCsiHandler({prefix:">",final:"c"},function(Te){return Pe.sendDeviceAttributesSecondary(Te)}),Pe._parser.setCsiHandler({final:"d"},function(Te){return Pe.linePosAbsolute(Te)}),Pe._parser.setCsiHandler({final:"e"},function(Te){return Pe.vPositionRelative(Te)}),Pe._parser.setCsiHandler({final:"f"},function(Te){return Pe.hVPosition(Te)}),Pe._parser.setCsiHandler({final:"g"},function(Te){return Pe.tabClear(Te)}),Pe._parser.setCsiHandler({final:"h"},function(Te){return Pe.setMode(Te)}),Pe._parser.setCsiHandler({prefix:"?",final:"h"},function(Te){return Pe.setModePrivate(Te)}),Pe._parser.setCsiHandler({final:"l"},function(Te){return Pe.resetMode(Te)}),Pe._parser.setCsiHandler({prefix:"?",final:"l"},function(Te){return Pe.resetModePrivate(Te)}),Pe._parser.setCsiHandler({final:"m"},function(Te){return Pe.charAttributes(Te)}),Pe._parser.setCsiHandler({final:"n"},function(Te){return Pe.deviceStatus(Te)}),Pe._parser.setCsiHandler({prefix:"?",final:"n"},function(Te){return Pe.deviceStatusPrivate(Te)}),Pe._parser.setCsiHandler({intermediates:"!",final:"p"},function(Te){return Pe.softReset(Te)}),Pe._parser.setCsiHandler({intermediates:" ",final:"q"},function(Te){return Pe.setCursorStyle(Te)}),Pe._parser.setCsiHandler({final:"r"},function(Te){return Pe.setScrollRegion(Te)}),Pe._parser.setCsiHandler({final:"s"},function(Te){return Pe.saveCursor(Te)}),Pe._parser.setCsiHandler({final:"t"},function(Te){return Pe.windowOptions(Te)}),Pe._parser.setCsiHandler({final:"u"},function(Te){return Pe.restoreCursor(Te)}),Pe._parser.setCsiHandler({intermediates:"'",final:"}"},function(Te){return Pe.insertColumns(Te)}),Pe._parser.setCsiHandler({intermediates:"'",final:"~"},function(Te){return Pe.deleteColumns(Te)}),Pe._parser.setExecuteHandler(he.C0.BEL,function(){return Pe.bell()}),Pe._parser.setExecuteHandler(he.C0.LF,function(){return Pe.lineFeed()}),Pe._parser.setExecuteHandler(he.C0.VT,function(){return Pe.lineFeed()}),Pe._parser.setExecuteHandler(he.C0.FF,function(){return Pe.lineFeed()}),Pe._parser.setExecuteHandler(he.C0.CR,function(){return Pe.carriageReturn()}),Pe._parser.setExecuteHandler(he.C0.BS,function(){return Pe.backspace()}),Pe._parser.setExecuteHandler(he.C0.HT,function(){return Pe.tab()}),Pe._parser.setExecuteHandler(he.C0.SO,function(){return Pe.shiftOut()}),Pe._parser.setExecuteHandler(he.C0.SI,function(){return Pe.shiftIn()}),Pe._parser.setExecuteHandler(he.C1.IND,function(){return Pe.index()}),Pe._parser.setExecuteHandler(he.C1.NEL,function(){return Pe.nextLine()}),Pe._parser.setExecuteHandler(he.C1.HTS,function(){return Pe.tabSet()}),Pe._parser.setOscHandler(0,new y.OscHandler(function(Te){Pe.setTitle(Te),Pe.setIconName(Te)})),Pe._parser.setOscHandler(1,new y.OscHandler(function(Te){return Pe.setIconName(Te)})),Pe._parser.setOscHandler(2,new y.OscHandler(function(Te){return Pe.setTitle(Te)})),Pe._parser.setEscHandler({final:"7"},function(){return Pe.saveCursor()}),Pe._parser.setEscHandler({final:"8"},function(){return Pe.restoreCursor()}),Pe._parser.setEscHandler({final:"D"},function(){return Pe.index()}),Pe._parser.setEscHandler({final:"E"},function(){return Pe.nextLine()}),Pe._parser.setEscHandler({final:"H"},function(){return Pe.tabSet()}),Pe._parser.setEscHandler({final:"M"},function(){return Pe.reverseIndex()}),Pe._parser.setEscHandler({final:"="},function(){return Pe.keypadApplicationMode()}),Pe._parser.setEscHandler({final:">"},function(){return Pe.keypadNumericMode()}),Pe._parser.setEscHandler({final:"c"},function(){return Pe.fullReset()}),Pe._parser.setEscHandler({final:"n"},function(){return Pe.setgLevel(2)}),Pe._parser.setEscHandler({final:"o"},function(){return Pe.setgLevel(3)}),Pe._parser.setEscHandler({final:"|"},function(){return Pe.setgLevel(3)}),Pe._parser.setEscHandler({final:"}"},function(){return Pe.setgLevel(2)}),Pe._parser.setEscHandler({final:"~"},function(){return Pe.setgLevel(1)}),Pe._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Pe.selectDefaultCharset()}),Pe._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Pe.selectDefaultCharset()});var Le=function(Te){Oe._parser.setEscHandler({intermediates:"(",final:Te},function(){return Pe.selectCharset("("+Te)}),Oe._parser.setEscHandler({intermediates:")",final:Te},function(){return Pe.selectCharset(")"+Te)}),Oe._parser.setEscHandler({intermediates:"*",final:Te},function(){return Pe.selectCharset("*"+Te)}),Oe._parser.setEscHandler({intermediates:"+",final:Te},function(){return Pe.selectCharset("+"+Te)}),Oe._parser.setEscHandler({intermediates:"-",final:Te},function(){return Pe.selectCharset("-"+Te)}),Oe._parser.setEscHandler({intermediates:".",final:Te},function(){return Pe.selectCharset("."+Te)}),Oe._parser.setEscHandler({intermediates:"/",final:Te},function(){return Pe.selectCharset("/"+Te)})},Oe=this;for(var We in le.CHARSETS)Le(We);return Pe._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Pe.screenAlignmentPattern()}),Pe._parser.setErrorHandler(function(Te){return Pe._logService.error("Parsing error: ",Te),Te}),Pe._parser.setDcsHandler({intermediates:"$",final:"q"},new te(Pe._bufferService,Pe._coreService,Pe._logService,Pe._optionsService)),Pe}return E(ve,me),Object.defineProperty(ve.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),ve.prototype.dispose=function(){me.prototype.dispose.call(this)},ve.prototype.parse=function(ge){var pe=this._bufferService.buffer,Se=pe.x,be=pe.y;if(this._logService.debug("parsing data",ge),this._parseBuffer.length131072)for(var Ee=0;Ee0&&We.getWidth(Ce.x-1)===2&&We.setCellFromCodePoint(Ce.x-1,0,1,Oe.fg,Oe.bg,Oe.extended);for(var Te=pe;Te=Fe){if(Pe){for(;Ce.x=this._bufferService.rows&&(Ce.y=this._bufferService.rows-1),Ce.lines.get(Ce.ybase+Ce.y).isWrapped=!0),We=Ce.lines.get(Ce.ybase+Ce.y)}else if(Ce.x=Fe-1,Ee===2)continue}if(Le&&(We.insertCells(Ce.x,Ee,Ce.getNullCell(Oe),Oe),We.getWidth(Fe-1)===2&&We.setCellFromCodePoint(Fe-1,re.NULL_CELL_CODE,re.NULL_CELL_WIDTH,Oe.fg,Oe.bg,Oe.extended)),We.setCellFromCodePoint(Ce.x++,be,Ee,Oe.fg,Oe.bg,Oe.extended),Ee>0)for(;--Ee;)We.setCellFromCodePoint(Ce.x++,0,0,Oe.fg,Oe.bg,Oe.extended)}else We.getWidth(Ce.x-1)?We.addCodepointToCell(Ce.x-1,be):We.addCodepointToCell(Ce.x-2,be)}Se-pe>0&&(We.loadCell(Ce.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),Ce.x0&&We.getWidth(Ce.x)===0&&!We.hasContent(Ce.x)&&We.setCellFromCodePoint(Ce.x,0,1,Oe.fg,Oe.bg,Oe.extended),this._dirtyRowService.markDirty(Ce.y)},ve.prototype.addCsiHandler=function(ge,pe){var Se=this;return ge.final!=="t"||ge.prefix||ge.intermediates?this._parser.addCsiHandler(ge,pe):this._parser.addCsiHandler(ge,function(be){return!ee(be.params[0],Se._optionsService.options.windowOptions)||pe(be)})},ve.prototype.addDcsHandler=function(ge,pe){return this._parser.addDcsHandler(ge,new x.DcsHandler(pe))},ve.prototype.addEscHandler=function(ge,pe){return this._parser.addEscHandler(ge,pe)},ve.prototype.addOscHandler=function(ge,pe){return this._parser.addOscHandler(ge,new y.OscHandler(pe))},ve.prototype.bell=function(){this._onRequestBell.fire()},ve.prototype.lineFeed=function(){var ge=this._bufferService.buffer;this._dirtyRowService.markDirty(ge.y),this._optionsService.options.convertEol&&(ge.x=0),ge.y++,ge.y===ge.scrollBottom+1?(ge.y--,this._onRequestScroll.fire(this._eraseAttrData())):ge.y>=this._bufferService.rows&&(ge.y=this._bufferService.rows-1),ge.x>=this._bufferService.cols&&ge.x--,this._dirtyRowService.markDirty(ge.y),this._onLineFeed.fire()},ve.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},ve.prototype.backspace=function(){var ge,pe=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(pe.x>0&&pe.x--);if(this._restrictCursor(this._bufferService.cols),pe.x>0)pe.x--;else if(pe.x===0&&pe.y>pe.scrollTop&&pe.y<=pe.scrollBottom&&(!((ge=pe.lines.get(pe.ybase+pe.y))===null||ge===void 0)&&ge.isWrapped)){pe.lines.get(pe.ybase+pe.y).isWrapped=!1,pe.y--,pe.x=this._bufferService.cols-1;var Se=pe.lines.get(pe.ybase+pe.y);Se.hasWidth(pe.x)&&!Se.hasContent(pe.x)&&pe.x--}this._restrictCursor()},ve.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var ge=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-ge)}},ve.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},ve.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},ve.prototype._restrictCursor=function(ge){ge===void 0&&(ge=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(ge,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ve.prototype._setCursor=function(ge,pe){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=ge,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+pe):(this._bufferService.buffer.x=ge,this._bufferService.buffer.y=pe),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ve.prototype._moveCursor=function(ge,pe){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+ge,this._bufferService.buffer.y+pe)},ve.prototype.cursorUp=function(ge){var pe=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;pe>=0?this._moveCursor(0,-Math.min(pe,ge.params[0]||1)):this._moveCursor(0,-(ge.params[0]||1))},ve.prototype.cursorDown=function(ge){var pe=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;pe>=0?this._moveCursor(0,Math.min(pe,ge.params[0]||1)):this._moveCursor(0,ge.params[0]||1)},ve.prototype.cursorForward=function(ge){this._moveCursor(ge.params[0]||1,0)},ve.prototype.cursorBackward=function(ge){this._moveCursor(-(ge.params[0]||1),0)},ve.prototype.cursorNextLine=function(ge){this.cursorDown(ge),this._bufferService.buffer.x=0},ve.prototype.cursorPrecedingLine=function(ge){this.cursorUp(ge),this._bufferService.buffer.x=0},ve.prototype.cursorCharAbsolute=function(ge){this._setCursor((ge.params[0]||1)-1,this._bufferService.buffer.y)},ve.prototype.cursorPosition=function(ge){this._setCursor(ge.length>=2?(ge.params[1]||1)-1:0,(ge.params[0]||1)-1)},ve.prototype.charPosAbsolute=function(ge){this._setCursor((ge.params[0]||1)-1,this._bufferService.buffer.y)},ve.prototype.hPositionRelative=function(ge){this._moveCursor(ge.params[0]||1,0)},ve.prototype.linePosAbsolute=function(ge){this._setCursor(this._bufferService.buffer.x,(ge.params[0]||1)-1)},ve.prototype.vPositionRelative=function(ge){this._moveCursor(0,ge.params[0]||1)},ve.prototype.hVPosition=function(ge){this.cursorPosition(ge)},ve.prototype.tabClear=function(ge){var pe=ge.params[0];pe===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:pe===3&&(this._bufferService.buffer.tabs={})},ve.prototype.cursorForwardTab=function(ge){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ge.params[0]||1;pe--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ve.prototype.cursorBackwardTab=function(ge){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ge.params[0]||1,Se=this._bufferService.buffer;pe--;)Se.x=Se.prevStop()},ve.prototype._eraseInBufferLine=function(ge,pe,Se,be){be===void 0&&(be=!1);var Ee=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ge);Ee.replaceCells(pe,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be&&(Ee.isWrapped=!1)},ve.prototype._resetBufferLine=function(ge){var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ge);pe.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),pe.isWrapped=!1},ve.prototype.eraseInDisplay=function(ge){var pe;switch(this._restrictCursor(),ge.params[0]){case 0:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);pe=this._bufferService.cols&&(this._bufferService.buffer.lines.get(pe+1).isWrapped=!1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 2:for(pe=this._bufferService.rows,this._dirtyRowService.markDirty(pe-1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 3:var Se=this._bufferService.buffer.lines.length-this._bufferService.rows;Se>0&&(this._bufferService.buffer.lines.trimStart(Se),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-Se,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-Se,0),this._onScroll.fire(0))}},ve.prototype.eraseInLine=function(ge){switch(this._restrictCursor(),ge.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ve.prototype.insertLines=function(ge){this._restrictCursor();var pe=ge.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.ySe.scrollBottom||Se.ype.scrollBottom||pe.ype.scrollBottom||pe.ype.scrollBottom||pe.ype.scrollBottom||pe.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(he.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(he.C0.ESC+"[?6c"))},ve.prototype.sendDeviceAttributesSecondary=function(ge){ge.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(he.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(he.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(ge.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(he.C0.ESC+"[>83;40003;0c"))},ve.prototype._is=function(ge){return(this._optionsService.options.termName+"").indexOf(ge)===0},ve.prototype.setMode=function(ge){for(var pe=0;pe=2||be[1]===2&&Ce+Ee>=5)break;be[1]&&(Ee=1)}while(++Ce+pe5)&&(ge=1),pe.extended.underlineStyle=ge,pe.fg|=268435456,ge===0&&(pe.fg&=-268435457),pe.updateExtended()},ve.prototype.charAttributes=function(ge){if(ge.length===1&&ge.params[0]===0)return this._curAttrData.fg=ie.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ie.DEFAULT_ATTR_DATA.bg);for(var pe,Se=ge.length,be=this._curAttrData,Ee=0;Ee=30&&pe<=37?(be.fg&=-50331904,be.fg|=16777216|pe-30):pe>=40&&pe<=47?(be.bg&=-50331904,be.bg|=16777216|pe-40):pe>=90&&pe<=97?(be.fg&=-50331904,be.fg|=16777224|pe-90):pe>=100&&pe<=107?(be.bg&=-50331904,be.bg|=16777224|pe-100):pe===0?(be.fg=ie.DEFAULT_ATTR_DATA.fg,be.bg=ie.DEFAULT_ATTR_DATA.bg):pe===1?be.fg|=134217728:pe===3?be.bg|=67108864:pe===4?(be.fg|=268435456,this._processUnderline(ge.hasSubParams(Ee)?ge.getSubParams(Ee)[0]:1,be)):pe===5?be.fg|=536870912:pe===7?be.fg|=67108864:pe===8?be.fg|=1073741824:pe===2?be.bg|=134217728:pe===21?this._processUnderline(2,be):pe===22?(be.fg&=-134217729,be.bg&=-134217729):pe===23?be.bg&=-67108865:pe===24?be.fg&=-268435457:pe===25?be.fg&=-536870913:pe===27?be.fg&=-67108865:pe===28?be.fg&=-1073741825:pe===39?(be.fg&=-67108864,be.fg|=16777215&ie.DEFAULT_ATTR_DATA.fg):pe===49?(be.bg&=-67108864,be.bg|=16777215&ie.DEFAULT_ATTR_DATA.bg):pe===38||pe===48||pe===58?Ee+=this._extractColor(ge,Ee,be):pe===59?(be.extended=be.extended.clone(),be.extended.underlineColor=-1,be.updateExtended()):pe===100?(be.fg&=-67108864,be.fg|=16777215&ie.DEFAULT_ATTR_DATA.fg,be.bg&=-67108864,be.bg|=16777215&ie.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",pe)},ve.prototype.deviceStatus=function(ge){switch(ge.params[0]){case 5:this._coreService.triggerDataEvent(he.C0.ESC+"[0n");break;case 6:var pe=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(he.C0.ESC+"["+pe+";"+Se+"R")}},ve.prototype.deviceStatusPrivate=function(ge){switch(ge.params[0]){case 6:var pe=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(he.C0.ESC+"[?"+pe+";"+Se+"R")}},ve.prototype.softReset=function(ge){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=ie.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},ve.prototype.setCursorStyle=function(ge){var pe=ge.params[0]||1;switch(pe){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var Se=pe%2==1;this._optionsService.options.cursorBlink=Se},ve.prototype.setScrollRegion=function(ge){var pe,Se=ge.params[0]||1;(ge.length<2||(pe=ge.params[1])>this._bufferService.rows||pe===0)&&(pe=this._bufferService.rows),pe>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=pe-1,this._setCursor(0,0))},ve.prototype.windowOptions=function(ge){if(ee(ge.params[0],this._optionsService.options.windowOptions)){var pe=ge.length>1?ge.params[1]:0;switch(ge.params[0]){case 14:pe!==2&&this._onRequestWindowsOptionsReport.fire(ye.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(ye.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(he.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:pe!==0&&pe!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),pe!==0&&pe!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:pe!==0&&pe!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),pe!==0&&pe!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},ve.prototype.saveCursor=function(ge){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},ve.prototype.restoreCursor=function(ge){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},ve.prototype.setTitle=function(ge){this._windowTitle=ge,this._onTitleChange.fire(ge)},ve.prototype.setIconName=function(ge){this._iconName=ge},ve.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},ve.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},ve.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},ve.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,le.DEFAULT_CHARSET)},ve.prototype.selectCharset=function(ge){ge.length===2?ge[0]!=="/"&&this._charsetService.setgCharset(b[ge[0]],le.CHARSETS[ge[1]]||le.DEFAULT_CHARSET):this.selectDefaultCharset()},ve.prototype.index=function(){this._restrictCursor();var ge=this._bufferService.buffer;this._bufferService.buffer.y++,ge.y===ge.scrollBottom+1?(ge.y--,this._onRequestScroll.fire(this._eraseAttrData())):ge.y>=this._bufferService.rows&&(ge.y=this._bufferService.rows-1),this._restrictCursor()},ve.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},ve.prototype.reverseIndex=function(){this._restrictCursor();var ge=this._bufferService.buffer;if(ge.y===ge.scrollTop){var pe=ge.scrollBottom-ge.scrollTop;ge.lines.shiftElements(ge.ybase+ge.y,pe,1),ge.lines.set(ge.ybase+ge.y,ge.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom)}else ge.y--,this._restrictCursor()},ve.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},ve.prototype.reset=function(){this._curAttrData=ie.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ie.DEFAULT_ATTR_DATA.clone()},ve.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ve.prototype.setgLevel=function(ge){this._charsetService.setgLevel(ge)},ve.prototype.screenAlignmentPattern=function(){var ge=new z.CellData;ge.content=1<<22|69,ge.fg=this._curAttrData.fg,ge.bg=this._curAttrData.bg;var pe=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(ye),this.length=0,this._subParams=new Int32Array(he),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(ye),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(ye){var he=new E;if(!ye.length)return he;for(var le=ye[0]instanceof Array?1:0;le>8,ne=255&this._subParamsIdx[he];ne-le>0&&ye.push(Array.prototype.slice.call(this._subParams,le,ne))}return ye},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(ye){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(ye<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=ye>2147483647?2147483647:ye}},E.prototype.addSubParam=function(ye){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(ye<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=ye>2147483647?2147483647:ye,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(ye){return(255&this._subParamsIdx[ye])-(this._subParamsIdx[ye]>>8)>0},E.prototype.getSubParams=function(ye){var he=this._subParamsIdx[ye]>>8,le=255&this._subParamsIdx[ye];return le-he>0?this._subParams.subarray(he,le):null},E.prototype.getSubParamsAll=function(){for(var ye={},he=0;he>8,ne=255&this._subParamsIdx[he];ne-le>0&&(ye[he]=this._subParams.slice(le,ne))}return ye},E.prototype.addDigit=function(ye){var he;if(!(this._rejectDigits||!(he=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var le=this._digitIsSub?this._subParams:this.params,ne=le[he-1];le[he-1]=~ne?Math.min(10*ne+ye,2147483647):ye}},E}();fe.Params=Ae},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.OscHandler=fe.OscParser=void 0;var Ae=ae(23),E=ae(8),ye=function(){function le(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return le.prototype.addHandler=function(ne,se){this._handlers[ne]===void 0&&(this._handlers[ne]=[]);var de=this._handlers[ne];return de.push(se),{dispose:function(){var ue=de.indexOf(se);ue!==-1&&de.splice(ue,1)}}},le.prototype.setHandler=function(ne,se){this._handlers[ne]=[se]},le.prototype.clearHandler=function(ne){this._handlers[ne]&&delete this._handlers[ne]},le.prototype.setHandlerFallback=function(ne){this._handlerFb=ne},le.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},le.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},le.prototype._start=function(){var ne=this._handlers[this._id];if(ne)for(var se=ne.length-1;se>=0;se--)ne[se].start();else this._handlerFb(this._id,"START")},le.prototype._put=function(ne,se,de){var ue=this._handlers[this._id];if(ue)for(var ie=ue.length-1;ie>=0;ie--)ue[ie].put(ne,se,de);else this._handlerFb(this._id,"PUT",E.utf32ToString(ne,se,de))},le.prototype._end=function(ne){var se=this._handlers[this._id];if(se){for(var de=se.length-1;de>=0&&se[de].end(ne)===!1;de--);for(de--;de>=0;de--)se[de].end(!1)}else this._handlerFb(this._id,"END",ne)},le.prototype.start=function(){this.reset(),this._id=-1,this._state=1},le.prototype.put=function(ne,se,de){if(this._state!==3){if(this._state===1)for(;se0&&this._put(ne,se,de)}},le.prototype.end=function(ne){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(ne)),this._id=-1,this._state=0)},le}();fe.OscParser=ye;var he=function(){function le(ne){this._handler=ne,this._data="",this._hitLimit=!1}return le.prototype.start=function(){this._data="",this._hitLimit=!1},le.prototype.put=function(ne,se,de){this._hitLimit||(this._data+=E.utf32ToString(ne,se,de),this._data.length>Ae.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},le.prototype.end=function(ne){var se;return this._hitLimit?se=!1:ne&&(se=this._handler(this._data)),this._data="",this._hitLimit=!1,se},le}();fe.OscHandler=he},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.PAYLOAD_LIMIT=void 0,fe.PAYLOAD_LIMIT=1e7},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DcsHandler=fe.DcsParser=void 0;var Ae=ae(8),E=ae(21),ye=ae(23),he=[],le=function(){function se(){this._handlers=Object.create(null),this._active=he,this._ident=0,this._handlerFb=function(){}}return se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.addHandler=function(de,ue){this._handlers[de]===void 0&&(this._handlers[de]=[]);var ie=this._handlers[de];return ie.push(ue),{dispose:function(){var oe=ie.indexOf(ue);oe!==-1&&ie.splice(oe,1)}}},se.prototype.setHandler=function(de,ue){this._handlers[de]=[ue]},se.prototype.clearHandler=function(de){this._handlers[de]&&delete this._handlers[de]},se.prototype.setHandlerFallback=function(de){this._handlerFb=de},se.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=he,this._ident=0},se.prototype.hook=function(de,ue){if(this.reset(),this._ident=de,this._active=this._handlers[de]||he,this._active.length)for(var ie=this._active.length-1;ie>=0;ie--)this._active[ie].hook(ue);else this._handlerFb(this._ident,"HOOK",ue)},se.prototype.put=function(de,ue,ie){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(de,ue,ie);else this._handlerFb(this._ident,"PUT",Ae.utf32ToString(de,ue,ie))},se.prototype.unhook=function(de){if(this._active.length){for(var ue=this._active.length-1;ue>=0&&this._active[ue].unhook(de)===!1;ue--);for(ue--;ue>=0;ue--)this._active[ue].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",de);this._active=he,this._ident=0},se}();fe.DcsParser=le;var ne=function(){function se(de){this._handler=de,this._data="",this._hitLimit=!1}return se.prototype.hook=function(de){this._params=de.clone(),this._data="",this._hitLimit=!1},se.prototype.put=function(de,ue,ie){this._hitLimit||(this._data+=Ae.utf32ToString(de,ue,ie),this._data.length>ye.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.unhook=function(de){var ue;return this._hitLimit?ue=!1:de&&(ue=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ue},se}();fe.DcsHandler=ne},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.removeTerminalFromCache=fe.acquireCharAtlas=void 0;var Ae=ae(26),E=ae(43),ye=[];fe.acquireCharAtlas=function(he,le,ne,se,de){for(var ue=Ae.generateConfig(se,de,he,ne),ie=0;ie=0){if(Ae.configEquals(re.config,ue))return re.atlas;re.ownedBy.length===1?(re.atlas.dispose(),ye.splice(ie,1)):re.ownedBy.splice(oe,1);break}}for(ie=0;ie1)for(var te=this._getJoinedRanges(re,y,a,ie,z),ce=0;ce1)for(te=this._getJoinedRanges(re,y,a,ie,z),ce=0;ce=this._line.length))return a?(this._line.loadCell(z,a),a):this._line.loadCell(z,new Ae.CellData)},re.prototype.translateToString=function(z,a,y){return this._line.translateToString(z,a,y)},re}(),ie=function(){function re(z){this._core=z}return re.prototype.registerCsiHandler=function(z,a){return this._core.addCsiHandler(z,function(y){return a(y.toArray())})},re.prototype.addCsiHandler=function(z,a){return this.registerCsiHandler(z,a)},re.prototype.registerDcsHandler=function(z,a){return this._core.addDcsHandler(z,function(y,x){return a(y,x.toArray())})},re.prototype.addDcsHandler=function(z,a){return this.registerDcsHandler(z,a)},re.prototype.registerEscHandler=function(z,a){return this._core.addEscHandler(z,a)},re.prototype.addEscHandler=function(z,a){return this.registerEscHandler(z,a)},re.prototype.registerOscHandler=function(z,a){return this._core.addOscHandler(z,a)},re.prototype.addOscHandler=function(z,a){return this.registerOscHandler(z,a)},re}(),oe=function(){function re(z){this._core=z}return re.prototype.register=function(z){this._core.unicodeService.register(z)},Object.defineProperty(re.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(z){this._core.unicodeService.activeVersion=z},enumerable:!1,configurable:!0}),re}()},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(Fe,Pe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Le,Oe){Le.__proto__=Oe}||function(Le,Oe){for(var We in Oe)Oe.hasOwnProperty(We)&&(Le[We]=Oe[We])})(Fe,Pe)},function(Fe,Pe){function Le(){this.constructor=Fe}Ae(Fe,Pe),Fe.prototype=Pe===null?Object.create(Pe):(Le.prototype=Pe.prototype,new Le)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.Terminal=void 0;var ye=ae(36),he=ae(37),le=ae(38),ne=ae(12),se=ae(19),de=ae(40),ue=ae(50),ie=ae(51),oe=ae(11),re=ae(7),z=ae(18),a=ae(54),y=ae(55),x=ae(56),b=ae(57),ee=ae(59),te=ae(0),ce=ae(16),me=ae(27),ve=ae(60),ge=ae(5),pe=ae(61),Se=ae(62),be=ae(63),Ee=ae(64),Ce=ae(65),De=typeof window!="undefined"?window.document:null,we=function(Fe){function Pe(Le){Le===void 0&&(Le={});var Oe=Fe.call(this,Le)||this;return Oe.browser=oe,Oe._keyDownHandled=!1,Oe._onCursorMove=new te.EventEmitter,Oe._onKey=new te.EventEmitter,Oe._onRender=new te.EventEmitter,Oe._onSelectionChange=new te.EventEmitter,Oe._onTitleChange=new te.EventEmitter,Oe._onFocus=new te.EventEmitter,Oe._onBlur=new te.EventEmitter,Oe._onA11yCharEmitter=new te.EventEmitter,Oe._onA11yTabEmitter=new te.EventEmitter,Oe._setup(),Oe.linkifier=Oe._instantiationService.createInstance(ue.Linkifier),Oe.linkifier2=Oe.register(Oe._instantiationService.createInstance(be.Linkifier2)),Oe.register(Oe._inputHandler.onRequestBell(function(){return Oe.bell()})),Oe.register(Oe._inputHandler.onRequestRefreshRows(function(We,Te){return Oe.refresh(We,Te)})),Oe.register(Oe._inputHandler.onRequestReset(function(){return Oe.reset()})),Oe.register(Oe._inputHandler.onRequestScroll(function(We,Te){return Oe.scroll(We,Te||void 0)})),Oe.register(Oe._inputHandler.onRequestWindowsOptionsReport(function(We){return Oe._reportWindowsOptions(We)})),Oe.register(te.forwardEvent(Oe._inputHandler.onCursorMove,Oe._onCursorMove)),Oe.register(te.forwardEvent(Oe._inputHandler.onTitleChange,Oe._onTitleChange)),Oe.register(te.forwardEvent(Oe._inputHandler.onA11yChar,Oe._onA11yCharEmitter)),Oe.register(te.forwardEvent(Oe._inputHandler.onA11yTab,Oe._onA11yTabEmitter)),Oe.register(Oe._bufferService.onResize(function(We){return Oe._afterResize(We.cols,We.rows)})),Oe}return E(Pe,Fe),Object.defineProperty(Pe.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Pe.prototype.dispose=function(){var Le,Oe,We;this._isDisposed||(Fe.prototype.dispose.call(this),(Le=this._renderService)===null||Le===void 0||Le.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(We=(Oe=this.element)===null||Oe===void 0?void 0:Oe.parentNode)===null||We===void 0||We.removeChild(this.element))},Pe.prototype._setup=function(){Fe.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Pe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Pe.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Pe.prototype._updateOptions=function(Le){var Oe,We,Te,Ue;switch(Fe.prototype._updateOptions.call(this,Le),Le){case"fontFamily":case"fontSize":(Oe=this._renderService)===null||Oe===void 0||Oe.clear(),(We=this._charSizeService)===null||We===void 0||We.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(Te=this.viewport)===null||Te===void 0||Te.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((Ue=this._accessibilityManager)===null||Ue===void 0||Ue.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Pe.prototype._onTextAreaFocus=function(Le){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[I"),this.updateCursorStyle(Le),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Pe.prototype.blur=function(){var Le;return(Le=this.textarea)===null||Le===void 0?void 0:Le.blur()},Pe.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},Pe.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Le=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Oe=this._bufferService.buffer.y*Le,We=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=We+"px",this.textarea.style.top=Oe+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Le+"px",this.textarea.style.lineHeight=Le+"px",this.textarea.style.zIndex="-5"}},Pe.prototype._initGlobal=function(){var Le=this;this._bindKeys(),this.register(re.addDisposableDomListener(this.element,"copy",function(We){Le.hasSelection()&&le.copyHandler(We,Le._selectionService)}));var Oe=function(We){return le.handlePasteEvent(We,Le.textarea,Le._coreService)};this.register(re.addDisposableDomListener(this.textarea,"paste",Oe)),this.register(re.addDisposableDomListener(this.element,"paste",Oe)),oe.isFirefox?this.register(re.addDisposableDomListener(this.element,"mousedown",function(We){We.button===2&&le.rightClickHandler(We,Le.textarea,Le.screenElement,Le._selectionService,Le.options.rightClickSelectsWord)})):this.register(re.addDisposableDomListener(this.element,"contextmenu",function(We){le.rightClickHandler(We,Le.textarea,Le.screenElement,Le._selectionService,Le.options.rightClickSelectsWord)})),oe.isLinux&&this.register(re.addDisposableDomListener(this.element,"auxclick",function(We){We.button===1&&le.moveTextAreaUnderMouseCursor(We,Le.textarea,Le.screenElement)}))},Pe.prototype._bindKeys=function(){var Le=this;this.register(re.addDisposableDomListener(this.textarea,"keyup",function(Oe){return Le._keyUp(Oe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keydown",function(Oe){return Le._keyDown(Oe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keypress",function(Oe){return Le._keyPress(Oe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"compositionstart",function(){return Le._compositionHelper.compositionstart()})),this.register(re.addDisposableDomListener(this.textarea,"compositionupdate",function(Oe){return Le._compositionHelper.compositionupdate(Oe)})),this.register(re.addDisposableDomListener(this.textarea,"compositionend",function(){return Le._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Le._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Oe){return Le._queueLinkification(Oe.start,Oe.end)}))},Pe.prototype.open=function(Le){var Oe=this;if(!Le)throw new Error("Terminal requires a parent element.");De.body.contains(Le)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Le.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),Le.appendChild(this.element);var We=De.createDocumentFragment();this._viewportElement=De.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),We.appendChild(this._viewportElement),this._viewportScrollArea=De.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=De.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=De.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),We.appendChild(this.screenElement),this.textarea=De.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",z.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(re.addDisposableDomListener(this.textarea,"focus",function(He){return Oe._onTextAreaFocus(He)})),this.register(re.addDisposableDomListener(this.textarea,"blur",function(){return Oe._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Te=this._instantiationService.createInstance(Ee.CoreBrowserService,this.textarea);this._instantiationService.setService(ge.ICoreBrowserService,Te),this._charSizeService=this._instantiationService.createInstance(pe.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(ge.ICharSizeService,this._charSizeService),this._compositionView=De.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(ye.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(We),this._theme=this.options.theme||this._theme,this._colorManager=new me.ColorManager(De,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(He){return Oe._colorManager.onOptionsChange(He)})),this._colorManager.setTheme(this._theme);var Ue=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ve.RenderService,Ue,this.rows,this.screenElement)),this._instantiationService.setService(ge.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(He){return Oe._onRender.fire(He)})),this.onResize(function(He){return Oe._renderService.resize(He.cols,He.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(ge.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(ge.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(he.Viewport,function(He,Qe){return Oe.scrollLines(He,Qe)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Oe.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Oe._renderService.onCursorMove(),Oe._syncTextArea()})),this.register(this.onResize(function(){return Oe._renderService.onResize(Oe.cols,Oe.rows)})),this.register(this.onBlur(function(){return Oe._renderService.onBlur()})),this.register(this.onFocus(function(){return Oe._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Oe.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ie.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(ge.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(He){return Oe.scrollLines(He.amount,He.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Oe._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(He){return Oe._renderService.onSelectionChanged(He.start,He.end,He.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(He){Oe.textarea.value=He,Oe.textarea.focus(),Oe.textarea.select()})),this.register(this.onScroll(function(){Oe.viewport.syncScrollArea(),Oe._selectionService.refresh()})),this.register(re.addDisposableDomListener(this._viewportElement,"scroll",function(){return Oe._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Oe._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(re.addDisposableDomListener(this.element,"mousedown",function(He){return Oe._selectionService.onMouseDown(He)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Pe.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(de.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},Pe.prototype._setTheme=function(Le){var Oe,We,Te;this._theme=Le,(Oe=this._colorManager)===null||Oe===void 0||Oe.setTheme(Le),(We=this._renderService)===null||We===void 0||We.setColors(this._colorManager.colors),(Te=this.viewport)===null||Te===void 0||Te.onThemeChange(this._colorManager.colors)},Pe.prototype.bindMouse=function(){var Le=this,Oe=this,We=this.element;function Te(_e){var Ve,tt,Xe=Oe._mouseService.getRawByteCoords(_e,Oe.screenElement,Oe.cols,Oe.rows);if(!Xe)return!1;switch(_e.overrideType||_e.type){case"mousemove":tt=32,_e.buttons===void 0?(Ve=3,_e.button!==void 0&&(Ve=_e.button<3?_e.button:3)):Ve=1&_e.buttons?0:4&_e.buttons?1:2&_e.buttons?2:3;break;case"mouseup":tt=0,Ve=_e.button<3?_e.button:3;break;case"mousedown":tt=1,Ve=_e.button<3?_e.button:3;break;case"wheel":_e.deltaY!==0&&(tt=_e.deltaY<0?0:1),Ve=4;break;default:return!1}return!(tt===void 0||Ve===void 0||Ve>4)&&Oe._coreMouseService.triggerMouseEvent({col:Xe.x-33,row:Xe.y-33,button:Ve,action:tt,ctrl:_e.ctrlKey,alt:_e.altKey,shift:_e.shiftKey})}var Ue={mouseup:null,wheel:null,mousedrag:null,mousemove:null},He=function(_e){return Te(_e),_e.buttons||(Le._document.removeEventListener("mouseup",Ue.mouseup),Ue.mousedrag&&Le._document.removeEventListener("mousemove",Ue.mousedrag)),Le.cancel(_e)},Qe=function(_e){return Te(_e),_e.preventDefault(),Le.cancel(_e)},Ge=function(_e){_e.buttons&&Te(_e)},ze=function(_e){_e.buttons||Te(_e)};this.register(this._coreMouseService.onProtocolChange(function(_e){_e?(Le.optionsService.options.logLevel==="debug"&&Le._logService.debug("Binding to mouse events:",Le._coreMouseService.explainEvents(_e)),Le.element.classList.add("enable-mouse-events"),Le._selectionService.disable()):(Le._logService.debug("Unbinding from mouse events."),Le.element.classList.remove("enable-mouse-events"),Le._selectionService.enable()),8&_e?Ue.mousemove||(We.addEventListener("mousemove",ze),Ue.mousemove=ze):(We.removeEventListener("mousemove",Ue.mousemove),Ue.mousemove=null),16&_e?Ue.wheel||(We.addEventListener("wheel",Qe,{passive:!1}),Ue.wheel=Qe):(We.removeEventListener("wheel",Ue.wheel),Ue.wheel=null),2&_e?Ue.mouseup||(Ue.mouseup=He):(Le._document.removeEventListener("mouseup",Ue.mouseup),Ue.mouseup=null),4&_e?Ue.mousedrag||(Ue.mousedrag=Ge):(Le._document.removeEventListener("mousemove",Ue.mousedrag),Ue.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(re.addDisposableDomListener(We,"mousedown",function(_e){if(_e.preventDefault(),Le.focus(),Le._coreMouseService.areMouseEventsActive&&!Le._selectionService.shouldForceSelection(_e))return Te(_e),Ue.mouseup&&Le._document.addEventListener("mouseup",Ue.mouseup),Ue.mousedrag&&Le._document.addEventListener("mousemove",Ue.mousedrag),Le.cancel(_e)})),this.register(re.addDisposableDomListener(We,"wheel",function(_e){if(!Ue.wheel){if(!Le.buffer.hasScrollback){var Ve=Le.viewport.getLinesScrolled(_e);if(Ve===0)return;for(var tt=ne.C0.ESC+(Le._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(_e.deltaY<0?"A":"B"),Xe="",lt=0;lt47)},Pe.prototype._keyUp=function(Le){this._customKeyEventHandler&&this._customKeyEventHandler(Le)===!1||(function(Oe){return Oe.keyCode===16||Oe.keyCode===17||Oe.keyCode===18}(Le)||this.focus(),this.updateCursorStyle(Le))},Pe.prototype._keyPress=function(Le){var Oe;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Le)===!1)return!1;if(this.cancel(Le),Le.charCode)Oe=Le.charCode;else if(Le.which===null||Le.which===void 0)Oe=Le.keyCode;else{if(Le.which===0||Le.charCode===0)return!1;Oe=Le.which}return!(!Oe||(Le.altKey||Le.ctrlKey||Le.metaKey)&&!this._isThirdLevelShift(this.browser,Le))&&(Oe=String.fromCharCode(Oe),this._onKey.fire({key:Oe,domEvent:Le}),this._showCursor(),this._coreService.triggerDataEvent(Oe,!0),!0)},Pe.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Pe.prototype.resize=function(Le,Oe){Le!==this.cols||Oe!==this.rows?Fe.prototype.resize.call(this,Le,Oe):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Pe.prototype._afterResize=function(Le,Oe){var We,Te;(We=this._charSizeService)===null||We===void 0||We.measure(),(Te=this.viewport)===null||Te===void 0||Te.syncScrollArea(!0)},Pe.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var Le=1;Le=0;z--)(ie=ne[z])&&(re=(oe<3?ie(re):oe>3?ie(se,de,re):ie(se,de))||re);return oe>3&&re&&Object.defineProperty(se,de,re),re},E=this&&this.__param||function(ne,se){return function(de,ue){se(de,ue,ne)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CompositionHelper=void 0;var ye=ae(5),he=ae(1),le=function(){function ne(se,de,ue,ie,oe,re){this._textarea=se,this._compositionView=de,this._bufferService=ue,this._optionsService=ie,this._charSizeService=oe,this._coreService=re,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(ne.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),ne.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},ne.prototype.compositionupdate=function(se){var de=this;this._compositionView.textContent=se.data,this.updateCompositionElements(),setTimeout(function(){de._compositionPosition.end=de._textarea.value.length},0)},ne.prototype.compositionend=function(){this._finalizeComposition(!0)},ne.prototype.keydown=function(se){if(this._isComposing||this._isSendingComposition){if(se.keyCode===229||se.keyCode===16||se.keyCode===17||se.keyCode===18)return!1;this._finalizeComposition(!1)}return se.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},ne.prototype._finalizeComposition=function(se){var de=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,se){var ue={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(de._isSendingComposition){de._isSendingComposition=!1;var oe=void 0;oe=de._isComposing?de._textarea.value.substring(ue.start,ue.end):de._textarea.value.substring(ue.start),de._coreService.triggerDataEvent(oe,!0)}},0)}else{this._isSendingComposition=!1;var ie=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(ie,!0)}},ne.prototype._handleAnyTextareaChanges=function(){var se=this,de=this._textarea.value;setTimeout(function(){if(!se._isComposing){var ue=se._textarea.value.replace(de,"");ue.length>0&&se._coreService.triggerDataEvent(ue,!0)}},0)},ne.prototype.updateCompositionElements=function(se){var de=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ue=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ie=this._bufferService.buffer.y*ue,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ie+"px",this._compositionView.style.height=ue+"px",this._compositionView.style.lineHeight=ue+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var re=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ie+"px",this._textarea.style.width=re.width+"px",this._textarea.style.height=re.height+"px",this._textarea.style.lineHeight=re.height+"px"}se||setTimeout(function(){return de.updateCompositionElements(!0)},0)}},ne=Ae([E(2,he.IBufferService),E(3,he.IOptionsService),E(4,ye.ICharSizeService),E(5,he.ICoreService)],ne)}();fe.CompositionHelper=le},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ie,oe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ie,oe)},function(ie,oe){function re(){this.constructor=ie}Ae(ie,oe),ie.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),ye=this&&this.__decorate||function(ie,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ie,oe,re,z);else for(var b=ie.length-1;b>=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,z){oe(re,z,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Viewport=void 0;var le=ae(2),ne=ae(7),se=ae(5),de=ae(1),ue=function(ie){function oe(re,z,a,y,x,b,ee){var te=ie.call(this)||this;return te._scrollLines=re,te._viewportElement=z,te._scrollArea=a,te._bufferService=y,te._optionsService=x,te._charSizeService=b,te._renderService=ee,te.scrollBarWidth=0,te._currentRowHeight=0,te._lastRecordedBufferLength=0,te._lastRecordedViewportHeight=0,te._lastRecordedBufferHeight=0,te._lastTouchY=0,te._lastScrollTop=0,te._wheelPartialScroll=0,te._refreshAnimationFrame=null,te._ignoreNextScrollEvent=!1,te.scrollBarWidth=te._viewportElement.offsetWidth-te._scrollArea.offsetWidth||15,te.register(ne.addDisposableDomListener(te._viewportElement,"scroll",te._onScroll.bind(te))),setTimeout(function(){return te.syncScrollArea()},0),te}return E(oe,ie),oe.prototype.onThemeChange=function(re){this._viewportElement.style.backgroundColor=re.background.css},oe.prototype._refresh=function(re){var z=this;if(re)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return z._innerRefresh()}))},oe.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var re=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==re&&(this._lastRecordedBufferHeight=re,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var z=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==z&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=z),this._refreshAnimationFrame=null},oe.prototype.syncScrollArea=function(re){if(re===void 0&&(re=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(re);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var z=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===z&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(re)}else this._refresh(re)},oe.prototype._onScroll=function(re){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var z=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(z,!0)}},oe.prototype._bubbleScroll=function(re,z){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(z<0&&this._viewportElement.scrollTop!==0||z>0&&a0?1:-1),this._wheelPartialScroll%=1):re.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(z*=this._bufferService.rows),z},oe.prototype._applyScrollModifier=function(re,z){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&z.altKey||a==="ctrl"&&z.ctrlKey||a==="shift"&&z.shiftKey?re*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:re*this._optionsService.options.scrollSensitivity},oe.prototype.onTouchStart=function(re){this._lastTouchY=re.touches[0].pageY},oe.prototype.onTouchMove=function(re){var z=this._lastTouchY-re.touches[0].pageY;return this._lastTouchY=re.touches[0].pageY,z!==0&&(this._viewportElement.scrollTop+=z,this._bubbleScroll(re,z))},oe=ye([he(3,de.IBufferService),he(4,de.IOptionsService),he(5,se.ICharSizeService),he(6,se.IRenderService)],oe)}(le.Disposable);fe.Viewport=ue},function(at,fe,ae){"use strict";function Ae(le){return le.replace(/\r?\n/g,"\r")}function E(le,ne){return ne?"\x1B[200~"+le+"\x1B[201~":le}function ye(le,ne,se){le=E(le=Ae(le),se.decPrivateModes.bracketedPasteMode),se.triggerDataEvent(le,!0),ne.value=""}function he(le,ne,se){var de=se.getBoundingClientRect(),ue=le.clientX-de.left-10,ie=le.clientY-de.top-10;ne.style.width="20px",ne.style.height="20px",ne.style.left=ue+"px",ne.style.top=ie+"px",ne.style.zIndex="1000",ne.focus()}Object.defineProperty(fe,"__esModule",{value:!0}),fe.rightClickHandler=fe.moveTextAreaUnderMouseCursor=fe.paste=fe.handlePasteEvent=fe.copyHandler=fe.bracketTextForPaste=fe.prepareTextForTerminal=void 0,fe.prepareTextForTerminal=Ae,fe.bracketTextForPaste=E,fe.copyHandler=function(le,ne){le.clipboardData&&le.clipboardData.setData("text/plain",ne.selectionText),le.preventDefault()},fe.handlePasteEvent=function(le,ne,se){le.stopPropagation(),le.clipboardData&&ye(le.clipboardData.getData("text/plain"),ne,se)},fe.paste=ye,fe.moveTextAreaUnderMouseCursor=he,fe.rightClickHandler=function(le,ne,se,de,ue){he(le,ne,se),ue&&!de.isClickInSelection(le)&&de.selectWordAtCursor(le),ne.value=de.selectionText,ne.select()}},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ie,oe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ie,oe)},function(ie,oe){function re(){this.constructor=ie}Ae(ie,oe),ie.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.EscapeSequenceParser=fe.VT500_TRANSITION_TABLE=fe.TransitionTable=void 0;var ye=ae(2),he=ae(15),le=ae(21),ne=ae(22),se=ae(24),de=function(){function ie(oe){this.table=new Uint8Array(oe)}return ie.prototype.setDefault=function(oe,re){he.fill(this.table,oe<<4|re)},ie.prototype.add=function(oe,re,z,a){this.table[re<<8|oe]=z<<4|a},ie.prototype.addMany=function(oe,re,z,a){for(var y=0;y1)throw new Error("only one byte as prefix supported");if((a=re.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(re.intermediates){if(re.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;yx||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(re.final.length!==1)throw new Error("final must be a single byte");var b=re.final.charCodeAt(0);if(z[0]>b||b>z[1])throw new Error("final must be in range "+z[0]+" .. "+z[1]);return a<<=8,a|=b},oe.prototype.identToString=function(re){for(var z=[];re;)z.push(String.fromCharCode(255&re)),re>>=8;return z.reverse().join("")},oe.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},oe.prototype.setPrintHandler=function(re){this._printHandler=re},oe.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},oe.prototype.addEscHandler=function(re,z){var a=this._identifier(re,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(z),{dispose:function(){var x=y.indexOf(z);x!==-1&&y.splice(x,1)}}},oe.prototype.setEscHandler=function(re,z){this._escHandlers[this._identifier(re,[48,126])]=[z]},oe.prototype.clearEscHandler=function(re){this._escHandlers[this._identifier(re,[48,126])]&&delete this._escHandlers[this._identifier(re,[48,126])]},oe.prototype.setEscHandlerFallback=function(re){this._escHandlerFb=re},oe.prototype.setExecuteHandler=function(re,z){this._executeHandlers[re.charCodeAt(0)]=z},oe.prototype.clearExecuteHandler=function(re){this._executeHandlers[re.charCodeAt(0)]&&delete this._executeHandlers[re.charCodeAt(0)]},oe.prototype.setExecuteHandlerFallback=function(re){this._executeHandlerFb=re},oe.prototype.addCsiHandler=function(re,z){var a=this._identifier(re);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(z),{dispose:function(){var x=y.indexOf(z);x!==-1&&y.splice(x,1)}}},oe.prototype.setCsiHandler=function(re,z){this._csiHandlers[this._identifier(re)]=[z]},oe.prototype.clearCsiHandler=function(re){this._csiHandlers[this._identifier(re)]&&delete this._csiHandlers[this._identifier(re)]},oe.prototype.setCsiHandlerFallback=function(re){this._csiHandlerFb=re},oe.prototype.addDcsHandler=function(re,z){return this._dcsParser.addHandler(this._identifier(re),z)},oe.prototype.setDcsHandler=function(re,z){this._dcsParser.setHandler(this._identifier(re),z)},oe.prototype.clearDcsHandler=function(re){this._dcsParser.clearHandler(this._identifier(re))},oe.prototype.setDcsHandlerFallback=function(re){this._dcsParser.setHandlerFallback(re)},oe.prototype.addOscHandler=function(re,z){return this._oscParser.addHandler(re,z)},oe.prototype.setOscHandler=function(re,z){this._oscParser.setHandler(re,z)},oe.prototype.clearOscHandler=function(re){this._oscParser.clearHandler(re)},oe.prototype.setOscHandlerFallback=function(re){this._oscParser.setHandlerFallback(re)},oe.prototype.setErrorHandler=function(re){this._errorHandler=re},oe.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},oe.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},oe.prototype.parse=function(re,z){for(var a=0,y=0,x=this.currentState,b=this._oscParser,ee=this._dcsParser,te=this._collect,ce=this._params,me=this._transitions.table,ve=0;ve>4){case 2:for(var ge=ve+1;;++ge){if(ge>=z||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}if(++ge>=z||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}if(++ge>=z||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}if(++ge>=z||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ve,code:a,currentState:x,collect:te,params:ce,abort:!1}).abort)return;break;case 7:for(var pe=this._csiHandlers[te<<8|a],Se=pe?pe.length-1:-1;Se>=0&&pe[Se](ce)===!1;Se--);Se<0&&this._csiHandlerFb(te<<8|a,ce),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ce.addParam(0);break;case 58:ce.addSubParam(-1);break;default:ce.addDigit(a-48)}while(++ve47&&a<60);ve--;break;case 9:te<<=8,te|=a;break;case 10:for(var be=this._escHandlers[te<<8|a],Ee=be?be.length-1:-1;Ee>=0&&be[Ee]()===!1;Ee--);Ee<0&&this._escHandlerFb(te<<8|a),this.precedingCodepoint=0;break;case 11:ce.reset(),ce.addParam(0),te=0;break;case 12:ee.hook(te<<8|a,ce);break;case 13:for(var Ce=ve+1;;++Ce)if(Ce>=z||(a=re[Ce])===24||a===26||a===27||a>127&&a<160){ee.put(re,ve,Ce),ve=Ce-1;break}break;case 14:ee.unhook(a!==24&&a!==26),a===27&&(y|=1),ce.reset(),ce.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var De=ve+1;;De++)if(De>=z||(a=re[De])<32||a>127&&a<=159){b.put(re,ve,De),ve=De-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ce.reset(),ce.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(ye.Disposable);fe.EscapeSequenceParser=ue},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(b,ee){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ce){te.__proto__=ce}||function(te,ce){for(var me in ce)ce.hasOwnProperty(me)&&(te[me]=ce[me])})(b,ee)},function(b,ee){function te(){this.constructor=b}Ae(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),ye=this&&this.__decorate||function(b,ee,te,ce){var me,ve=arguments.length,ge=ve<3?ee:ce===null?ce=Object.getOwnPropertyDescriptor(ee,te):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(b,ee,te,ce);else for(var pe=b.length-1;pe>=0;pe--)(me=b[pe])&&(ge=(ve<3?me(ge):ve>3?me(ee,te,ge):me(ee,te))||ge);return ve>3&&ge&&Object.defineProperty(ee,te,ge),ge},he=this&&this.__param||function(b,ee){return function(te,ce){ee(te,ce,b)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Renderer=void 0;var le=ae(41),ne=ae(47),se=ae(48),de=ae(49),ue=ae(29),ie=ae(2),oe=ae(5),re=ae(1),z=ae(25),a=ae(0),y=1,x=function(b){function ee(te,ce,me,ve,ge,pe,Se,be,Ee){var Ce=b.call(this)||this;Ce._colors=te,Ce._screenElement=ce,Ce._bufferService=ge,Ce._charSizeService=pe,Ce._optionsService=Se,Ce._id=y++,Ce._onRequestRedraw=new a.EventEmitter;var De=Ce._optionsService.options.allowTransparency;return Ce._characterJoinerRegistry=new ue.CharacterJoinerRegistry(Ce._bufferService),Ce._renderLayers=[new le.TextRenderLayer(Ce._screenElement,0,Ce._colors,Ce._characterJoinerRegistry,De,Ce._id,Ce._bufferService,Se),new ne.SelectionRenderLayer(Ce._screenElement,1,Ce._colors,Ce._id,Ce._bufferService,Se),new de.LinkRenderLayer(Ce._screenElement,2,Ce._colors,Ce._id,me,ve,Ce._bufferService,Se),new se.CursorRenderLayer(Ce._screenElement,3,Ce._colors,Ce._id,Ce._onRequestRedraw,Ce._bufferService,Se,be,Ee)],Ce.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},Ce._devicePixelRatio=window.devicePixelRatio,Ce._updateDimensions(),Ce.onOptionsChanged(),Ce}return E(ee,b),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){for(var te=0,ce=this._renderLayers;te0&&ce===te[0][0]){ve=!0;var pe=te.shift();me=new se.JoinedCellData(this._workCell,ee.translateToString(!0,pe[0],pe[1]),pe[1]-pe[0]),ge=pe[1]-1}!ve&&this._isOverlapping(me)&&gethis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[z]=a,a},oe}(he.BaseRenderLayer);fe.TextRenderLayer=ue},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.GridCache=void 0;var Ae=function(){function E(){this.cache=[]}return E.prototype.resize=function(ye,he){for(var le=0;le>>24,we=Ee.rgba>>>16&255,Fe=Ee.rgba>>>8&255,Pe=0;Pe=this.capacity)le=this._head,this._unlinkNode(le),delete this._map[le.key],le.key=ye,le.value=he,this._map[ye]=le;else{var ne=this._nodePool;ne.length>0?((le=ne.pop()).key=ye,le.value=he):le={prev:null,next:null,key:ye,value:he},this._map[ye]=le,this.size++}this._appendNode(le)},E}();fe.LRUMap=Ae},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(he,le){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,se){ne.__proto__=se}||function(ne,se){for(var de in se)se.hasOwnProperty(de)&&(ne[de]=se[de])})(he,le)},function(he,le){function ne(){this.constructor=he}Ae(he,le),he.prototype=le===null?Object.create(le):(ne.prototype=le.prototype,new ne)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionRenderLayer=void 0;var ye=function(he){function le(ne,se,de,ue,ie,oe){var re=he.call(this,ne,"selection",se,!0,de,ue,ie,oe)||this;return re._clearState(),re}return E(le,he),le.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},le.prototype.resize=function(ne){he.prototype.resize.call(this,ne),this._clearState()},le.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},le.prototype.onSelectionChanged=function(ne,se,de){if(this._didStateChange(ne,se,de,this._bufferService.buffer.ydisp))if(this._clearAll(),ne&&se){var ue=ne[1]-this._bufferService.buffer.ydisp,ie=se[1]-this._bufferService.buffer.ydisp,oe=Math.max(ue,0),re=Math.min(ie,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||re<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,de){var z=ne[0],a=se[0]-z,y=re-oe+1;this._fillCells(z,oe,a,y)}else{z=ue===oe?ne[0]:0;var x=oe===re?se[0]:this._bufferService.cols;this._fillCells(z,oe,x-z,1);var b=Math.max(re-oe-1,0);if(this._fillCells(0,oe+1,this._bufferService.cols,b),oe!==re){var ee=ie===re?se[0]:this._bufferService.cols;this._fillCells(0,re,ee,1)}}this._state.start=[ne[0],ne[1]],this._state.end=[se[0],se[1]],this._state.columnSelectMode=de,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},le.prototype._didStateChange=function(ne,se,de,ue){return!this._areCoordinatesEqual(ne,this._state.start)||!this._areCoordinatesEqual(se,this._state.end)||de!==this._state.columnSelectMode||ue!==this._state.ydisp},le.prototype._areCoordinatesEqual=function(ne,se){return!(!ne||!se)&&ne[0]===se[0]&&ne[1]===se[1]},le}(ae(13).BaseRenderLayer);fe.SelectionRenderLayer=ye},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(se,de){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ie){ue.__proto__=ie}||function(ue,ie){for(var oe in ie)ie.hasOwnProperty(oe)&&(ue[oe]=ie[oe])})(se,de)},function(se,de){function ue(){this.constructor=se}Ae(se,de),se.prototype=de===null?Object.create(de):(ue.prototype=de.prototype,new ue)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CursorRenderLayer=void 0;var ye=ae(13),he=ae(4),le=function(se){function de(ue,ie,oe,re,z,a,y,x,b){var ee=se.call(this,ue,"cursor",ie,!0,oe,re,a,y)||this;return ee._onRequestRedraw=z,ee._coreService=x,ee._coreBrowserService=b,ee._cell=new he.CellData,ee._state={x:0,y:0,isFocused:!1,style:"",width:0},ee._cursorRenderers={bar:ee._renderBarCursor.bind(ee),block:ee._renderBlockCursor.bind(ee),underline:ee._renderUnderlineCursor.bind(ee)},ee}return E(de,se),de.prototype.resize=function(ue){se.prototype.resize.call(this,ue),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},de.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},de.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},de.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},de.prototype.onOptionsChanged=function(){var ue,ie=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new ne(this._coreBrowserService.isFocused,function(){ie._render(!0)})):((ue=this._cursorBlinkStateManager)===null||ue===void 0||ue.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},de.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},de.prototype.onGridChanged=function(ue,ie){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},de.prototype._render=function(ue){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ie=this._bufferService.buffer.ybase+this._bufferService.buffer.y,oe=ie-this._bufferService.buffer.ydisp;if(oe<0||oe>=this._bufferService.rows)this._clearCursor();else{var re=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ie).loadCell(re,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var z=this._optionsService.options.cursorStyle;return z&&z!=="block"?this._cursorRenderers[z](re,oe,this._cell):this._renderBlurCursor(re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=z,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===re&&this._state.y===oe&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},de.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},de.prototype._renderBarCursor=function(ue,ie,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ue,ie,this._optionsService.options.cursorWidth),this._ctx.restore()},de.prototype._renderBlockCursor=function(ue,ie,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ue,ie,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,ue,ie),this._ctx.restore()},de.prototype._renderUnderlineCursor=function(ue,ie,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ue,ie),this._ctx.restore()},de.prototype._renderBlurCursor=function(ue,ie,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ue,ie,oe.getWidth(),1),this._ctx.restore()},de}(ye.BaseRenderLayer);fe.CursorRenderLayer=le;var ne=function(){function se(de,ue){this._renderCallback=ue,this.isCursorVisible=!0,de&&this._restartInterval()}return Object.defineProperty(se.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),se.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},se.prototype.restartBlinkAnimation=function(){var de=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){de._renderCallback(),de._animationFrame=void 0})))},se.prototype._restartInterval=function(de){var ue=this;de===void 0&&(de=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ue._animationTimeRestarted){var ie=600-(Date.now()-ue._animationTimeRestarted);if(ue._animationTimeRestarted=void 0,ie>0)return void ue._restartInterval(ie)}ue.isCursorVisible=!1,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0}),ue._blinkInterval=window.setInterval(function(){if(ue._animationTimeRestarted){var oe=600-(Date.now()-ue._animationTimeRestarted);return ue._animationTimeRestarted=void 0,void ue._restartInterval(oe)}ue.isCursorVisible=!ue.isCursorVisible,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0})},600)},de)},se.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},se.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},se}()},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(se,de){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ie){ue.__proto__=ie}||function(ue,ie){for(var oe in ie)ie.hasOwnProperty(oe)&&(ue[oe]=ie[oe])})(se,de)},function(se,de){function ue(){this.constructor=se}Ae(se,de),se.prototype=de===null?Object.create(de):(ue.prototype=de.prototype,new ue)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.LinkRenderLayer=void 0;var ye=ae(13),he=ae(9),le=ae(26),ne=function(se){function de(ue,ie,oe,re,z,a,y,x){var b=se.call(this,ue,"link",ie,!0,oe,re,y,x)||this;return z.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),z.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),a.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),a.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),b}return E(de,se),de.prototype.resize=function(ue){se.prototype.resize.call(this,ue),this._state=void 0},de.prototype.reset=function(){this._clearCurrentLink()},de.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var ue=this._state.y2-this._state.y1-1;ue>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ue),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},de.prototype._onShowLinkUnderline=function(ue){if(ue.fg===he.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ue.fg&&le.is256Color(ue.fg)?this._ctx.fillStyle=this._colors.ansi[ue.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ue.y1===ue.y2)this._fillBottomLineAtCells(ue.x1,ue.y1,ue.x2-ue.x1);else{this._fillBottomLineAtCells(ue.x1,ue.y1,ue.cols-ue.x1);for(var ie=ue.y1+1;ie=0;a--)(oe=se[a])&&(z=(re<3?oe(z):re>3?oe(de,ue,z):oe(de,ue))||z);return re>3&&z&&Object.defineProperty(de,ue,z),z},E=this&&this.__param||function(se,de){return function(ue,ie){de(ue,ie,se)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseZone=fe.Linkifier=void 0;var ye=ae(0),he=ae(1),le=function(){function se(de,ue,ie){this._bufferService=de,this._logService=ue,this._unicodeService=ie,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new ye.EventEmitter,this._onHideLinkUnderline=new ye.EventEmitter,this._onLinkTooltip=new ye.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(se.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),se.prototype.attachToDom=function(de,ue){this._element=de,this._mouseZoneManager=ue},se.prototype.linkifyRows=function(de,ue){var ie=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=de,this._rowsToLinkify.end=ue):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,de),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ue)),this._mouseZoneManager.clearAll(de,ue),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ie._linkifyRows()},se._timeBeforeLatency))},se.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var de=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ue=de.ydisp+this._rowsToLinkify.start;if(!(ue>=de.lines.length)){for(var ie=de.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),re=this._bufferService.buffer.iterator(!1,ue,ie,oe,oe);re.hasNext();)for(var z=re.next(),a=0;a=0;ue--)if(de.priority<=this._linkMatchers[ue].priority)return void this._linkMatchers.splice(ue+1,0,de);this._linkMatchers.splice(0,0,de)}else this._linkMatchers.push(de)},se.prototype.deregisterLinkMatcher=function(de){for(var ue=0;ue>9&511:void 0;ie.validationCallback?ie.validationCallback(b,function(ve){re._rowsTimeoutId||ve&&re._addLink(ee[1],ee[0]-re._bufferService.buffer.ydisp,b,ie,me)}):x._addLink(ee[1],ee[0]-x._bufferService.buffer.ydisp,b,ie,me)},x=this;(oe=z.exec(ue))!==null&&y()!=="break";);},se.prototype._addLink=function(de,ue,ie,oe,re){var z=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ie),y=de%this._bufferService.cols,x=ue+Math.floor(de/this._bufferService.cols),b=(y+a)%this._bufferService.cols,ee=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,ee--),this._mouseZoneManager.add(new ne(y+1,x+1,b+1,ee+1,function(te){if(oe.handler)return oe.handler(te,ie);var ce=window.open();ce?(ce.opener=null,ce.location.href=ie):console.warn("Opening link blocked as opener could not be cleared")},function(){z._onShowLinkUnderline.fire(z._createLinkHoverEvent(y,x,b,ee,re)),z._element.classList.add("xterm-cursor-pointer")},function(te){z._onLinkTooltip.fire(z._createLinkHoverEvent(y,x,b,ee,re)),oe.hoverTooltipCallback&&oe.hoverTooltipCallback(te,ie,{start:{x:y,y:x},end:{x:b,y:ee}})},function(){z._onHideLinkUnderline.fire(z._createLinkHoverEvent(y,x,b,ee,re)),z._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(te){return!oe.willLinkActivate||oe.willLinkActivate(te,ie)}))}},se.prototype._createLinkHoverEvent=function(de,ue,ie,oe,re){return{x1:de,y1:ue,x2:ie,y2:oe,cols:this._bufferService.cols,fg:re}},se._timeBeforeLatency=200,se=Ae([E(0,he.IBufferService),E(1,he.ILogService),E(2,he.IUnicodeService)],se)}();fe.Linkifier=le;var ne=function(se,de,ue,ie,oe,re,z,a,y){this.x1=se,this.y1=de,this.x2=ue,this.y2=ie,this.clickCallback=oe,this.hoverCallback=re,this.tooltipCallback=z,this.leaveCallback=a,this.willLinkActivate=y};fe.MouseZone=ne},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(b,ee){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ce){te.__proto__=ce}||function(te,ce){for(var me in ce)ce.hasOwnProperty(me)&&(te[me]=ce[me])})(b,ee)},function(b,ee){function te(){this.constructor=b}Ae(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),ye=this&&this.__decorate||function(b,ee,te,ce){var me,ve=arguments.length,ge=ve<3?ee:ce===null?ce=Object.getOwnPropertyDescriptor(ee,te):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(b,ee,te,ce);else for(var pe=b.length-1;pe>=0;pe--)(me=b[pe])&&(ge=(ve<3?me(ge):ve>3?me(ee,te,ge):me(ee,te))||ge);return ve>3&&ge&&Object.defineProperty(ee,te,ge),ge},he=this&&this.__param||function(b,ee){return function(te,ce){ee(te,ce,b)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionService=void 0;var le=ae(11),ne=ae(52),se=ae(4),de=ae(0),ue=ae(5),ie=ae(1),oe=ae(30),re=ae(53),z=ae(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function ee(te,ce,me,ve,ge,pe,Se){var be=b.call(this)||this;return be._element=te,be._screenElement=ce,be._bufferService=me,be._coreService=ve,be._mouseService=ge,be._optionsService=pe,be._renderService=Se,be._dragScrollAmount=0,be._enabled=!0,be._workCell=new se.CellData,be._mouseDownTimeStamp=0,be._onLinuxMouseSelection=be.register(new de.EventEmitter),be._onRedrawRequest=be.register(new de.EventEmitter),be._onSelectionChange=be.register(new de.EventEmitter),be._onRequestScrollLines=be.register(new de.EventEmitter),be._mouseMoveListener=function(Ee){return be._onMouseMove(Ee)},be._mouseUpListener=function(Ee){return be._onMouseUp(Ee)},be._coreService.onUserInput(function(){be.hasSelection&&be.clearSelection()}),be._trimListener=be._bufferService.buffer.lines.onTrim(function(Ee){return be._onTrim(Ee)}),be.register(be._bufferService.buffers.onBufferActivate(function(Ee){return be._onBufferActivate(Ee)})),be.enable(),be._model=new ne.SelectionModel(be._bufferService),be._activeSelectionMode=0,be}return E(ee,b),Object.defineProperty(ee.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){this._removeMouseDownListeners()},ee.prototype.reset=function(){this.clearSelection()},ee.prototype.disable=function(){this.clearSelection(),this._enabled=!1},ee.prototype.enable=function(){this._enabled=!0},Object.defineProperty(ee.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"hasSelection",{get:function(){var te=this._model.finalSelectionStart,ce=this._model.finalSelectionEnd;return!(!te||!ce)&&(te[0]!==ce[0]||te[1]!==ce[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,ce=this._model.finalSelectionEnd;if(!te||!ce)return"";var me=this._bufferService.buffer,ve=[];if(this._activeSelectionMode===3){if(te[0]===ce[0])return"";for(var ge=te[1];ge<=ce[1];ge++){var pe=me.translateBufferLineToString(ge,!0,te[0],ce[0]);ve.push(pe)}}else{var Se=te[1]===ce[1]?ce[0]:void 0;for(ve.push(me.translateBufferLineToString(te[1],!0,te[0],Se)),ge=te[1]+1;ge<=ce[1]-1;ge++){var be=me.lines.get(ge);pe=me.translateBufferLineToString(ge,!0),be&&be.isWrapped?ve[ve.length-1]+=pe:ve.push(pe)}te[1]!==ce[1]&&(be=me.lines.get(ce[1]),pe=me.translateBufferLineToString(ce[1],!0,0,ce[0]),be&&be.isWrapped?ve[ve.length-1]+=pe:ve.push(pe))}return ve.map(function(Ee){return Ee.replace(y," ")}).join(le.isWindows?`\r -`:` -`)},enumerable:!1,configurable:!0}),ee.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},ee.prototype.refresh=function(te){var ce=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ce._refresh()})),le.isLinux&&te&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},ee.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},ee.prototype.isClickInSelection=function(te){var ce=this._getMouseBufferCoords(te),me=this._model.finalSelectionStart,ve=this._model.finalSelectionEnd;return!!(me&&ve&&ce)&&this._areCoordsInSelection(ce,me,ve)},ee.prototype._areCoordsInSelection=function(te,ce,me){return te[1]>ce[1]&&te[1]=ce[0]&&te[0]=ce[0]},ee.prototype.selectWordAtCursor=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._selectWordAt(ce,!1),this._model.selectionEnd=void 0,this.refresh(!0))},ee.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},ee.prototype.selectLines=function(te,ce){this._model.clearSelection(),te=Math.max(te,0),ce=Math.min(ce,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,ce],this.refresh(),this._onSelectionChange.fire()},ee.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},ee.prototype._getMouseBufferCoords=function(te){var ce=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ce)return ce[0]--,ce[1]--,ce[1]+=this._bufferService.buffer.ydisp,ce},ee.prototype._getMouseEventScrollAmount=function(te){var ce=oe.getCoordsRelativeToElement(te,this._screenElement)[1],me=this._renderService.dimensions.canvasHeight;return ce>=0&&ce<=me?0:(ce>me&&(ce-=me),ce=Math.min(Math.max(ce,-50),50),(ce/=50)/Math.abs(ce)+Math.round(14*ce))},ee.prototype.shouldForceSelection=function(te){return le.isMac?te.altKey&&this._optionsService.options.macOptionClickForcesSelection:te.shiftKey},ee.prototype.onMouseDown=function(te){if(this._mouseDownTimeStamp=te.timeStamp,(te.button!==2||!this.hasSelection)&&te.button===0){if(!this._enabled){if(!this.shouldForceSelection(te))return;te.stopPropagation()}te.preventDefault(),this._dragScrollAmount=0,this._enabled&&te.shiftKey?this._onIncrementalClick(te):te.detail===1?this._onSingleClick(te):te.detail===2?this._onDoubleClick(te):te.detail===3&&this._onTripleClick(te),this._addMouseDownListeners(),this.refresh(!0)}},ee.prototype._addMouseDownListeners=function(){var te=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return te._dragScroll()},50)},ee.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},ee.prototype._onIncrementalClick=function(te){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(te))},ee.prototype._onSingleClick=function(te){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(te)?3:0,this._model.selectionStart=this._getMouseBufferCoords(te),this._model.selectionStart){this._model.selectionEnd=void 0;var ce=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ce&&ce.length!==this._model.selectionStart[0]&&ce.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ee.prototype._onDoubleClick=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._activeSelectionMode=1,this._selectWordAt(ce,!0))},ee.prototype._onTripleClick=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._activeSelectionMode=2,this._selectLineAt(ce[1]))},ee.prototype.shouldColumnSelect=function(te){return te.altKey&&!(le.isMac&&this._optionsService.options.macOptionClickForcesSelection)},ee.prototype._onMouseMove=function(te){if(te.stopImmediatePropagation(),this._model.selectionStart){var ce=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(te),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var me=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(te.ydisp+this._bufferService.rows,te.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=te.ydisp),this.refresh()}},ee.prototype._onMouseUp=function(te){var ce=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ce<500&&te.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var me=this._mouseService.getCoords(te,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(me&&me[0]!==void 0&&me[1]!==void 0){var ve=re.moveToCellSequence(me[0]-1,me[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ve,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},ee.prototype._onBufferActivate=function(te){var ce=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(me){return ce._onTrim(me)})},ee.prototype._convertViewportColToCharacterIndex=function(te,ce){for(var me=ce[0],ve=0;ce[0]>=ve;ve++){var ge=te.loadCell(ve,this._workCell).getChars().length;this._workCell.getWidth()===0?me--:ge>1&&ce[0]!==ve&&(me+=ge-1)}return me},ee.prototype.setSelection=function(te,ce,me){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,ce],this._model.selectionStartLength=me,this.refresh()},ee.prototype._getWordAt=function(te,ce,me,ve){if(me===void 0&&(me=!0),ve===void 0&&(ve=!0),!(te[0]>=this._bufferService.cols)){var ge=this._bufferService.buffer,pe=ge.lines.get(te[1]);if(pe){var Se=ge.translateBufferLineToString(te[1],!1),be=this._convertViewportColToCharacterIndex(pe,te),Ee=be,Ce=te[0]-be,De=0,we=0,Fe=0,Pe=0;if(Se.charAt(be)===" "){for(;be>0&&Se.charAt(be-1)===" ";)be--;for(;Ee1&&(Pe+=We-1,Ee+=We-1);Le>0&&be>0&&!this._isCharWordSeparator(pe.loadCell(Le-1,this._workCell));){pe.loadCell(Le-1,this._workCell);var Te=this._workCell.getChars().length;this._workCell.getWidth()===0?(De++,Le--):Te>1&&(Fe+=Te-1,be-=Te-1),be--,Le--}for(;Oe1&&(Pe+=Ue-1,Ee+=Ue-1),Ee++,Oe++}}Ee++;var He=be+Ce-De+Fe,Qe=Math.min(this._bufferService.cols,Ee-be+De+we-Fe-Pe);if(ce||Se.slice(be,Ee).trim()!==""){if(me&&He===0&&pe.getCodePoint(0)!==32){var Ge=ge.lines.get(te[1]-1);if(Ge&&pe.isWrapped&&Ge.getCodePoint(this._bufferService.cols-1)!==32){var ze=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if(ze){var _e=this._bufferService.cols-ze.start;He-=_e,Qe+=_e}}}if(ve&&He+Qe===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var Ve=ge.lines.get(te[1]+1);if(Ve&&Ve.isWrapped&&Ve.getCodePoint(0)!==32){var tt=this._getWordAt([0,te[1]+1],!1,!1,!0);tt&&(Qe+=tt.length)}}return{start:He,length:Qe}}}}},ee.prototype._selectWordAt=function(te,ce){var me=this._getWordAt(te,ce);if(me){for(;me.start<0;)me.start+=this._bufferService.cols,te[1]--;this._model.selectionStart=[me.start,te[1]],this._model.selectionStartLength=me.length}},ee.prototype._selectToWordAt=function(te){var ce=this._getWordAt(te,!0);if(ce){for(var me=te[1];ce.start<0;)ce.start+=this._bufferService.cols,me--;if(!this._model.areSelectionValuesReversed())for(;ce.start+ce.length>this._bufferService.cols;)ce.length-=this._bufferService.cols,me++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ce.start:ce.start+ce.length,me]}},ee.prototype._isCharWordSeparator=function(te){return te.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(te.getChars())>=0},ee.prototype._selectLineAt=function(te){var ce=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,ce.first],this._model.selectionEnd=[this._bufferService.cols,ce.last],this._model.selectionStartLength=0},ee=ye([he(2,ie.IBufferService),he(3,ie.ICoreService),he(4,ue.IMouseService),he(5,ie.IOptionsService),he(6,ue.IRenderService)],ee)}(z.Disposable);fe.SelectionService=x},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionModel=void 0;var Ae=function(){function E(ye){this._bufferService=ye,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var ye=this.selectionStart[0]+this.selectionStartLength;return ye>this._bufferService.cols?[ye%this._bufferService.cols,this.selectionStart[1]+Math.floor(ye/this._bufferService.cols)]:[ye,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var ye=this.selectionStart,he=this.selectionEnd;return!(!ye||!he)&&(ye[1]>he[1]||ye[1]===he[1]&&ye[0]>he[0])},E.prototype.onTrim=function(ye){return this.selectionStart&&(this.selectionStart[1]-=ye),this.selectionEnd&&(this.selectionEnd[1]-=ye),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();fe.SelectionModel=Ae},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.moveToCellSequence=void 0;var Ae=ae(12);function E(de,ue,ie,oe){var re=de-ye(ie,de),z=ue-ye(ie,ue);return se(Math.abs(re-z)-function(a,y,x){for(var b=0,ee=a-ye(x,a),te=y-ye(x,y),ce=0;ce=0&&ueue?"A":"B"}function le(de,ue,ie,oe,re,z){for(var a=de,y=ue,x="";a!==ie||y!==oe;)a+=re?1:-1,re&&a>z.cols-1?(x+=z.buffer.translateBufferLineToString(y,!1,de,a),a=0,de=0,y++):!re&&a<0&&(x+=z.buffer.translateBufferLineToString(y,!1,0,de+1),de=a=z.cols-1,y--);return x+z.buffer.translateBufferLineToString(y,!1,de,a)}function ne(de,ue){var ie=ue?"O":"[";return Ae.C0.ESC+ie+de}function se(de,ue){de=Math.floor(de);for(var ie="",oe=0;oe0?te-ye(ce,te):b;var ge=te,pe=function(Se,be,Ee,Ce,De,we){var Fe;return Fe=E(Ee,Ce,De,we).length>0?Ce-ye(De,Ce):be,Se=Ee&&Fede?"D":"C",se(Math.abs(z-de),ne(re,oe));re=a>ue?"D":"C";var y=Math.abs(a-ue);return se(function(x,b){return b.cols-x}(a>ue?de:z,ie)+(y-1)*ie.cols+1+((a>ue?z:de)-1),ne(re,oe))}},function(at,fe,ae){"use strict";var Ae=this&&this.__decorate||function(le,ne,se,de){var ue,ie=arguments.length,oe=ie<3?ne:de===null?de=Object.getOwnPropertyDescriptor(ne,se):de;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(le,ne,se,de);else for(var re=le.length-1;re>=0;re--)(ue=le[re])&&(oe=(ie<3?ue(oe):ie>3?ue(ne,se,oe):ue(ne,se))||oe);return ie>3&&oe&&Object.defineProperty(ne,se,oe),oe},E=this&&this.__param||function(le,ne){return function(se,de){ne(se,de,le)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.SoundService=void 0;var ye=ae(1),he=function(){function le(ne){this._optionsService=ne}return Object.defineProperty(le,"audioContext",{get:function(){if(!le._audioContext){var ne=window.AudioContext||window.webkitAudioContext;if(!ne)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;le._audioContext=new ne}return le._audioContext},enumerable:!1,configurable:!0}),le.prototype.playBellSound=function(){var ne=le.audioContext;if(ne){var se=ne.createBufferSource();ne.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(de){se.buffer=de,se.connect(ne.destination),se.start(0)})}},le.prototype._base64ToArrayBuffer=function(ne){for(var se=window.atob(ne),de=se.length,ue=new Uint8Array(de),ie=0;ie=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,z){oe(re,z,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseZoneManager=void 0;var le=ae(2),ne=ae(7),se=ae(5),de=ae(1),ue=function(ie){function oe(re,z,a,y,x,b){var ee=ie.call(this)||this;return ee._element=re,ee._screenElement=z,ee._bufferService=a,ee._mouseService=y,ee._selectionService=x,ee._optionsService=b,ee._zones=[],ee._areZonesActive=!1,ee._lastHoverCoords=[void 0,void 0],ee._initialSelectionLength=0,ee.register(ne.addDisposableDomListener(ee._element,"mousedown",function(te){return ee._onMouseDown(te)})),ee._mouseMoveListener=function(te){return ee._onMouseMove(te)},ee._mouseLeaveListener=function(te){return ee._onMouseLeave(te)},ee._clickListener=function(te){return ee._onClick(te)},ee}return E(oe,ie),oe.prototype.dispose=function(){ie.prototype.dispose.call(this),this._deactivate()},oe.prototype.add=function(re){this._zones.push(re),this._zones.length===1&&this._activate()},oe.prototype.clearAll=function(re,z){if(this._zones.length!==0){re&&z||(re=0,z=this._bufferService.rows-1);for(var a=0;are&&y.y1<=z+1||y.y2>re&&y.y2<=z+1||y.y1z+1)&&(this._currentZone&&this._currentZone===y&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(a--,1))}this._zones.length===0&&this._deactivate()}},oe.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},oe.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},oe.prototype._onMouseMove=function(re){this._lastHoverCoords[0]===re.pageX&&this._lastHoverCoords[1]===re.pageY||(this._onHover(re),this._lastHoverCoords=[re.pageX,re.pageY])},oe.prototype._onHover=function(re){var z=this,a=this._findZoneEventAt(re);a!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),a&&(this._currentZone=a,a.hoverCallback&&a.hoverCallback(re),this._tooltipTimeout=window.setTimeout(function(){return z._onTooltip(re)},this._optionsService.options.linkTooltipHoverDuration)))},oe.prototype._onTooltip=function(re){this._tooltipTimeout=void 0;var z=this._findZoneEventAt(re);z&&z.tooltipCallback&&z.tooltipCallback(re)},oe.prototype._onMouseDown=function(re){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var z=this._findZoneEventAt(re);z!=null&&z.willLinkActivate(re)&&(re.preventDefault(),re.stopImmediatePropagation())}},oe.prototype._onMouseLeave=function(re){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},oe.prototype._onClick=function(re){var z=this._findZoneEventAt(re),a=this._getSelectionLength();z&&a===this._initialSelectionLength&&(z.clickCallback(re),re.preventDefault(),re.stopImmediatePropagation())},oe.prototype._getSelectionLength=function(){var re=this._selectionService.selectionText;return re?re.length:0},oe.prototype._findZoneEventAt=function(re){var z=this._mouseService.getCoords(re,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(z)for(var a=z[0],y=z[1],x=0;x=b.x1&&a=b.x1||y===b.y2&&ab.y1&&yz;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},re.prototype._createAccessibilityTreeNode=function(){var z=document.createElement("div");return z.setAttribute("role","listitem"),z.tabIndex=-1,this._refreshRowDimensions(z),z},re.prototype._onTab=function(z){for(var a=0;a0?this._charsToConsume.shift()!==z&&(this._charsToAnnounce+=z):this._charsToAnnounce+=z,z===` -`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=ye.tooMuchOutput)),he.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},re.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,he.isMac&&ue.removeElementFromParent(this._liveRegion)},re.prototype._onKey=function(z){this._clearLiveRegion(),this._charsToConsume.push(z)},re.prototype._refreshRows=function(z,a){this._renderRowsDebouncer.refresh(z,a,this._terminal.rows)},re.prototype._renderRows=function(z,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=z;b<=a;b++){var ee=y.translateBufferLineToString(y.ydisp+b,!0),te=(y.ydisp+b+1).toString(),ce=this._rowElements[b];ce&&(ee.length===0?ce.innerHTML=" ":ce.textContent=ee,ce.setAttribute("aria-posinset",te),ce.setAttribute("aria-setsize",x))}this._announceCharacters()},re.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var z=0;z=0;ve--)(te=y[ve])&&(me=(ce<3?te(me):ce>3?te(x,b,me):te(x,b))||me);return ce>3&&me&&Object.defineProperty(x,b,me),me},he=this&&this.__param||function(y,x){return function(b,ee){x(b,ee,y)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.DomRenderer=void 0;var le=ae(58),ne=ae(9),se=ae(2),de=ae(5),ue=ae(1),ie=ae(0),oe=ae(10),re=ae(17),z=1,a=function(y){function x(b,ee,te,ce,me,ve,ge,pe,Se){var be=y.call(this)||this;return be._colors=b,be._element=ee,be._screenElement=te,be._viewportElement=ce,be._linkifier=me,be._linkifier2=ve,be._charSizeService=ge,be._optionsService=pe,be._bufferService=Se,be._terminalClass=z++,be._rowElements=[],be._rowContainer=document.createElement("div"),be._rowContainer.classList.add("xterm-rows"),be._rowContainer.style.lineHeight="normal",be._rowContainer.setAttribute("aria-hidden","true"),be._refreshRowElements(be._bufferService.cols,be._bufferService.rows),be._selectionContainer=document.createElement("div"),be._selectionContainer.classList.add("xterm-selection"),be._selectionContainer.setAttribute("aria-hidden","true"),be.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},be._updateDimensions(),be._injectCss(),be._rowFactory=new le.DomRendererRowFactory(document,be._optionsService,be._colors),be._element.classList.add("xterm-dom-renderer-owner-"+be._terminalClass),be._screenElement.appendChild(be._rowContainer),be._screenElement.appendChild(be._selectionContainer),be._linkifier.onShowLinkUnderline(function(Ee){return be._onLinkHover(Ee)}),be._linkifier.onHideLinkUnderline(function(Ee){return be._onLinkLeave(Ee)}),be._linkifier2.onShowLinkUnderline(function(Ee){return be._onLinkHover(Ee)}),be._linkifier2.onHideLinkUnderline(function(Ee){return be._onLinkLeave(Ee)}),be}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new ie.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),re.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),y.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,ee=this._rowElements;bee;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,ee){this._refreshRowElements(b,ee),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(b,ee,te){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&ee){var ce=b[1]-this._bufferService.buffer.ydisp,me=ee[1]-this._bufferService.buffer.ydisp,ve=Math.max(ce,0),ge=Math.min(me,this._bufferService.rows-1);if(!(ve>=this._bufferService.rows||ge<0)){var pe=document.createDocumentFragment();if(te)pe.appendChild(this._createSelectionElement(ve,b[0],ee[0],ge-ve+1));else{var Se=ce===ve?b[0]:0,be=ve===ge?ee[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ve,Se,be));var Ee=ge-ve-1;if(pe.appendChild(this._createSelectionElement(ve+1,0,this._bufferService.cols,Ee)),ve!==ge){var Ce=me===ge?ee[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ge,0,Ce))}}this._selectionContainer.appendChild(pe)}}},x.prototype._createSelectionElement=function(b,ee,te,ce){ce===void 0&&(ce=1);var me=document.createElement("div");return me.style.height=ce*this.dimensions.actualCellHeight+"px",me.style.top=b*this.dimensions.actualCellHeight+"px",me.style.left=ee*this.dimensions.actualCellWidth+"px",me.style.width=this.dimensions.actualCellWidth*(te-ee)+"px",me},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,ee=this._rowElements;b=me&&(b=0,te++)}},x=ye([he(6,de.ICharSizeService),he(7,ue.IOptionsService),he(8,ue.IBufferService)],x)}(se.Disposable);fe.DomRenderer=a},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DomRendererRowFactory=fe.CURSOR_STYLE_UNDERLINE_CLASS=fe.CURSOR_STYLE_BAR_CLASS=fe.CURSOR_STYLE_BLOCK_CLASS=fe.CURSOR_BLINK_CLASS=fe.CURSOR_CLASS=fe.UNDERLINE_CLASS=fe.ITALIC_CLASS=fe.DIM_CLASS=fe.BOLD_CLASS=void 0;var Ae=ae(9),E=ae(3),ye=ae(4),he=ae(10);fe.BOLD_CLASS="xterm-bold",fe.DIM_CLASS="xterm-dim",fe.ITALIC_CLASS="xterm-italic",fe.UNDERLINE_CLASS="xterm-underline",fe.CURSOR_CLASS="xterm-cursor",fe.CURSOR_BLINK_CLASS="xterm-cursor-blink",fe.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",fe.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",fe.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var le=function(){function se(de,ue,ie){this._document=de,this._optionsService=ue,this._colors=ie,this._workCell=new ye.CellData}return se.prototype.setColors=function(de){this._colors=de},se.prototype.createRow=function(de,ue,ie,oe,re,z,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(de.length,a)-1;b>=0;b--)if(de.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||ue&&b===oe){x=b+1;break}for(b=0;b1&&(te.style.width=z*ee+"px"),ue&&b===oe)switch(te.classList.add(fe.CURSOR_CLASS),re&&te.classList.add(fe.CURSOR_BLINK_CLASS),ie){case"bar":te.classList.add(fe.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(fe.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(fe.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(fe.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(fe.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(fe.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(fe.UNDERLINE_CLASS),this._workCell.isInvisible()?te.textContent=E.WHITESPACE_CELL_CHAR:te.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ce=this._workCell.getFgColor(),me=this._workCell.getFgColorMode(),ve=this._workCell.getBgColor(),ge=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var Se=ce;ce=ve,ve=Se;var be=me;me=ge,ge=be}switch(me){case 16777216:case 33554432:this._workCell.isBold()&&ce<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ce+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[ce])||te.classList.add("xterm-fg-"+ce);break;case 50331648:var Ee=he.rgba.toColor(ce>>16&255,ce>>8&255,255&ce);this._applyMinimumContrast(te,this._colors.background,Ee)||this._addStyle(te,"color:#"+ne(ce.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||pe&&te.classList.add("xterm-fg-"+Ae.INVERTED_DEFAULT_COLOR)}switch(ge){case 16777216:case 33554432:te.classList.add("xterm-bg-"+ve);break;case 50331648:this._addStyle(te,"background-color:#"+ne(ve.toString(16),"0",6));break;case 0:default:pe&&te.classList.add("xterm-bg-"+Ae.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},se.prototype._applyMinimumContrast=function(de,ue,ie){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=he.color.ensureContrastRatio(ue,ie,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(de,"color:"+oe.css),!0)},se.prototype._addStyle=function(de,ue){de.setAttribute("style",""+(de.getAttribute("style")||"")+ue+";")},se}();function ne(se,de,ue){for(;se.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};fe.evaluateKeyboardEvent=function(ye,he,le,ne){var se={type:0,cancel:!1,key:void 0},de=(ye.shiftKey?1:0)|(ye.altKey?2:0)|(ye.ctrlKey?4:0)|(ye.metaKey?8:0);switch(ye.keyCode){case 0:ye.key==="UIKeyInputUpArrow"?se.key=he?Ae.C0.ESC+"OA":Ae.C0.ESC+"[A":ye.key==="UIKeyInputLeftArrow"?se.key=he?Ae.C0.ESC+"OD":Ae.C0.ESC+"[D":ye.key==="UIKeyInputRightArrow"?se.key=he?Ae.C0.ESC+"OC":Ae.C0.ESC+"[C":ye.key==="UIKeyInputDownArrow"&&(se.key=he?Ae.C0.ESC+"OB":Ae.C0.ESC+"[B");break;case 8:if(ye.shiftKey){se.key=Ae.C0.BS;break}if(ye.altKey){se.key=Ae.C0.ESC+Ae.C0.DEL;break}se.key=Ae.C0.DEL;break;case 9:if(ye.shiftKey){se.key=Ae.C0.ESC+"[Z";break}se.key=Ae.C0.HT,se.cancel=!0;break;case 13:se.key=ye.altKey?Ae.C0.ESC+Ae.C0.CR:Ae.C0.CR,se.cancel=!0;break;case 27:se.key=Ae.C0.ESC,ye.altKey&&(se.key=Ae.C0.ESC+Ae.C0.ESC),se.cancel=!0;break;case 37:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"D",se.key===Ae.C0.ESC+"[1;3D"&&(se.key=Ae.C0.ESC+(le?"b":"[1;5D"))):se.key=he?Ae.C0.ESC+"OD":Ae.C0.ESC+"[D";break;case 39:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"C",se.key===Ae.C0.ESC+"[1;3C"&&(se.key=Ae.C0.ESC+(le?"f":"[1;5C"))):se.key=he?Ae.C0.ESC+"OC":Ae.C0.ESC+"[C";break;case 38:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"A",le||se.key!==Ae.C0.ESC+"[1;3A"||(se.key=Ae.C0.ESC+"[1;5A")):se.key=he?Ae.C0.ESC+"OA":Ae.C0.ESC+"[A";break;case 40:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"B",le||se.key!==Ae.C0.ESC+"[1;3B"||(se.key=Ae.C0.ESC+"[1;5B")):se.key=he?Ae.C0.ESC+"OB":Ae.C0.ESC+"[B";break;case 45:ye.shiftKey||ye.ctrlKey||(se.key=Ae.C0.ESC+"[2~");break;case 46:se.key=de?Ae.C0.ESC+"[3;"+(de+1)+"~":Ae.C0.ESC+"[3~";break;case 36:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"H":he?Ae.C0.ESC+"OH":Ae.C0.ESC+"[H";break;case 35:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"F":he?Ae.C0.ESC+"OF":Ae.C0.ESC+"[F";break;case 33:ye.shiftKey?se.type=2:se.key=Ae.C0.ESC+"[5~";break;case 34:ye.shiftKey?se.type=3:se.key=Ae.C0.ESC+"[6~";break;case 112:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"P":Ae.C0.ESC+"OP";break;case 113:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"Q":Ae.C0.ESC+"OQ";break;case 114:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"R":Ae.C0.ESC+"OR";break;case 115:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"S":Ae.C0.ESC+"OS";break;case 116:se.key=de?Ae.C0.ESC+"[15;"+(de+1)+"~":Ae.C0.ESC+"[15~";break;case 117:se.key=de?Ae.C0.ESC+"[17;"+(de+1)+"~":Ae.C0.ESC+"[17~";break;case 118:se.key=de?Ae.C0.ESC+"[18;"+(de+1)+"~":Ae.C0.ESC+"[18~";break;case 119:se.key=de?Ae.C0.ESC+"[19;"+(de+1)+"~":Ae.C0.ESC+"[19~";break;case 120:se.key=de?Ae.C0.ESC+"[20;"+(de+1)+"~":Ae.C0.ESC+"[20~";break;case 121:se.key=de?Ae.C0.ESC+"[21;"+(de+1)+"~":Ae.C0.ESC+"[21~";break;case 122:se.key=de?Ae.C0.ESC+"[23;"+(de+1)+"~":Ae.C0.ESC+"[23~";break;case 123:se.key=de?Ae.C0.ESC+"[24;"+(de+1)+"~":Ae.C0.ESC+"[24~";break;default:if(!ye.ctrlKey||ye.shiftKey||ye.altKey||ye.metaKey)if(le&&!ne||!ye.altKey||ye.metaKey)le&&!ye.altKey&&!ye.ctrlKey&&ye.metaKey?ye.keyCode===65&&(se.type=1):ye.key&&!ye.ctrlKey&&!ye.altKey&&!ye.metaKey&&ye.keyCode>=48&&ye.key.length===1?se.key=ye.key:ye.key&&ye.ctrlKey&&ye.key==="_"&&(se.key=Ae.C0.US);else{var ue=E[ye.keyCode],ie=ue&&ue[ye.shiftKey?1:0];if(ie)se.key=Ae.C0.ESC+ie;else if(ye.keyCode>=65&&ye.keyCode<=90){var oe=ye.ctrlKey?ye.keyCode-64:ye.keyCode+32;se.key=Ae.C0.ESC+String.fromCharCode(oe)}}else ye.keyCode>=65&&ye.keyCode<=90?se.key=String.fromCharCode(ye.keyCode-64):ye.keyCode===32?se.key=Ae.C0.NUL:ye.keyCode>=51&&ye.keyCode<=55?se.key=String.fromCharCode(ye.keyCode-51+27):ye.keyCode===56?se.key=Ae.C0.DEL:ye.keyCode===219?se.key=Ae.C0.ESC:ye.keyCode===220?se.key=Ae.C0.FS:ye.keyCode===221&&(se.key=Ae.C0.GS)}return se}},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(z,a){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(z,a)},function(z,a){function y(){this.constructor=z}Ae(z,a),z.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),ye=this&&this.__decorate||function(z,a,y,x){var b,ee=arguments.length,te=ee<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(z,a,y,x);else for(var ce=z.length-1;ce>=0;ce--)(b=z[ce])&&(te=(ee<3?b(te):ee>3?b(a,y,te):b(a,y))||te);return ee>3&&te&&Object.defineProperty(a,y,te),te},he=this&&this.__param||function(z,a){return function(y,x){a(y,x,z)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.RenderService=void 0;var le=ae(31),ne=ae(0),se=ae(2),de=ae(32),ue=ae(7),ie=ae(1),oe=ae(5),re=function(z){function a(y,x,b,ee,te,ce){var me=z.call(this)||this;if(me._renderer=y,me._rowCount=x,me._isPaused=!1,me._needsFullRefresh=!1,me._isNextRenderRedrawOnly=!0,me._needsSelectionRefresh=!1,me._canvasWidth=0,me._canvasHeight=0,me._selectionState={start:void 0,end:void 0,columnSelectMode:!1},me._onDimensionsChange=new ne.EventEmitter,me._onRender=new ne.EventEmitter,me._onRefreshRequest=new ne.EventEmitter,me.register({dispose:function(){return me._renderer.dispose()}}),me._renderDebouncer=new le.RenderDebouncer(function(ge,pe){return me._renderRows(ge,pe)}),me.register(me._renderDebouncer),me._screenDprMonitor=new de.ScreenDprMonitor,me._screenDprMonitor.setListener(function(){return me.onDevicePixelRatioChange()}),me.register(me._screenDprMonitor),me.register(ce.onResize(function(ge){return me._fullRefresh()})),me.register(ee.onOptionChange(function(){return me._renderer.onOptionsChanged()})),me.register(te.onCharSizeChange(function(){return me.onCharSizeChanged()})),me._renderer.onRequestRedraw(function(ge){return me.refreshRows(ge.start,ge.end,!0)}),me.register(ue.addDisposableDomListener(window,"resize",function(){return me.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ve=new IntersectionObserver(function(ge){return me._onIntersectionChange(ge[ge.length-1])},{threshold:0});ve.observe(b),me.register({dispose:function(){return ve.disconnect()}})}return me}return E(a,z),Object.defineProperty(a.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),a.prototype._onIntersectionChange=function(y){this._isPaused=y.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},a.prototype.refreshRows=function(y,x,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(y,x,this._rowCount))},a.prototype._renderRows=function(y,x){this._renderer.renderRows(y,x),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:y,end:x}),this._isNextRenderRedrawOnly=!0},a.prototype.resize=function(y,x){this._rowCount=x,this._fireOnCanvasResize()},a.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},a.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},a.prototype.dispose=function(){z.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=ye([he(3,ie.IOptionsService),he(4,oe.ICharSizeService),he(5,ie.IBufferService)],a)}(se.Disposable);fe.RenderService=re},function(at,fe,ae){"use strict";var Ae=this&&this.__decorate||function(se,de,ue,ie){var oe,re=arguments.length,z=re<3?de:ie===null?ie=Object.getOwnPropertyDescriptor(de,ue):ie;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(se,de,ue,ie);else for(var a=se.length-1;a>=0;a--)(oe=se[a])&&(z=(re<3?oe(z):re>3?oe(de,ue,z):oe(de,ue))||z);return re>3&&z&&Object.defineProperty(de,ue,z),z},E=this&&this.__param||function(se,de){return function(ue,ie){de(ue,ie,se)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CharSizeService=void 0;var ye=ae(1),he=ae(0),le=function(){function se(de,ue,ie){this._optionsService=ie,this.width=0,this.height=0,this._onCharSizeChange=new he.EventEmitter,this._measureStrategy=new ne(de,ue,this._optionsService)}return Object.defineProperty(se.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),se.prototype.measure=function(){var de=this._measureStrategy.measure();de.width===this.width&&de.height===this.height||(this.width=de.width,this.height=de.height,this._onCharSizeChange.fire())},se=Ae([E(2,ye.IOptionsService)],se)}();fe.CharSizeService=le;var ne=function(){function se(de,ue,ie){this._document=de,this._parentElement=ue,this._optionsService=ie,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return se.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var de=this._measureElement.getBoundingClientRect();return de.width!==0&&de.height!==0&&(this._result.width=de.width,this._result.height=Math.ceil(de.height)),this._result},se}()},function(at,fe,ae){"use strict";var Ae=this&&this.__decorate||function(ne,se,de,ue){var ie,oe=arguments.length,re=oe<3?se:ue===null?ue=Object.getOwnPropertyDescriptor(se,de):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ne,se,de,ue);else for(var z=ne.length-1;z>=0;z--)(ie=ne[z])&&(re=(oe<3?ie(re):oe>3?ie(se,de,re):ie(se,de))||re);return oe>3&&re&&Object.defineProperty(se,de,re),re},E=this&&this.__param||function(ne,se){return function(de,ue){se(de,ue,ne)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseService=void 0;var ye=ae(5),he=ae(30),le=function(){function ne(se,de){this._renderService=se,this._charSizeService=de}return ne.prototype.getCoords=function(se,de,ue,ie,oe){return he.getCoords(se,de,ue,ie,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},ne.prototype.getRawByteCoords=function(se,de,ue,ie){var oe=this.getCoords(se,de,ue,ie);return he.getRawByteCoords(oe)},ne=Ae([E(0,ye.IRenderService),E(1,ye.ICharSizeService)],ne)}();fe.MouseService=le},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ie,oe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ie,oe)},function(ie,oe){function re(){this.constructor=ie}Ae(ie,oe),ie.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),ye=this&&this.__decorate||function(ie,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ie,oe,re,z);else for(var b=ie.length-1;b>=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,z){oe(re,z,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Linkifier2=void 0;var le=ae(1),ne=ae(0),se=ae(2),de=ae(7),ue=function(ie){function oe(re){var z=ie.call(this)||this;return z._bufferService=re,z._linkProviders=[],z._linkCacheDisposables=[],z._isMouseOut=!0,z._activeLine=-1,z._onShowLinkUnderline=z.register(new ne.EventEmitter),z._onHideLinkUnderline=z.register(new ne.EventEmitter),z.register(se.getDisposeArrayDisposable(z._linkCacheDisposables)),z}return E(oe,ie),Object.defineProperty(oe.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),oe.prototype.registerLinkProvider=function(re){var z=this;return this._linkProviders.push(re),{dispose:function(){var a=z._linkProviders.indexOf(re);a!==-1&&z._linkProviders.splice(a,1)}}},oe.prototype.attachToDom=function(re,z,a){var y=this;this._element=re,this._mouseService=z,this._renderService=a,this.register(de.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(de.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(de.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},oe.prototype._onMouseMove=function(re){if(this._lastMouseEvent=re,this._element&&this._mouseService){var z=this._positionFromMouseEvent(re,this._element,this._mouseService);if(z){this._isMouseOut=!1;for(var a=re.composedPath(),y=0;yre?this._bufferService.cols:ee.link.range.end.x,me=te;me<=ce;me++){if(a.has(me)){x.splice(b--,1);break}a.add(me)}}},oe.prototype._checkLinkProviderResult=function(re,z,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(re),ee=!1,te=0;te=re&&this._currentLink.link.range.end.y<=z)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,se.disposeArray(this._linkCacheDisposables))},oe.prototype._handleNewLink=function(re){var z=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(re.link,a)&&(this._currentLink=re,this._currentLink.state={decorations:{underline:re.link.decorations===void 0||re.link.decorations.underline,pointerCursor:re.link.decorations===void 0||re.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,re.link,this._lastMouseEvent),re.link.decorations={},Object.defineProperties(re.link.decorations,{pointerCursor:{get:function(){var y,x;return(x=(y=z._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.pointerCursor},set:function(y){var x,b;!((x=z._currentLink)===null||x===void 0)&&x.state&&z._currentLink.state.decorations.pointerCursor!==y&&(z._currentLink.state.decorations.pointerCursor=y,z._currentLink.state.isHovered&&((b=z._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=z._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,ee;!((x=z._currentLink)===null||x===void 0)&&x.state&&((ee=(b=z._currentLink)===null||b===void 0?void 0:b.state)===null||ee===void 0?void 0:ee.decorations.underline)!==y&&(z._currentLink.state.decorations.underline=y,z._currentLink.state.isHovered&&z._fireUnderlineEvent(re.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+z._bufferService.buffer.ydisp;z._clearCurrentLink(x,y.end+1+z._bufferService.buffer.ydisp)})))}},oe.prototype._linkHover=function(re,z,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(z,!0),this._currentLink.state.decorations.pointerCursor&&re.classList.add("xterm-cursor-pointer")),z.hover&&z.hover(a,z.text)},oe.prototype._fireUnderlineEvent=function(re,z){var a=re.range,y=this._bufferService.buffer.ydisp,x=this._createLinkUnderlineEvent(a.start.x-1,a.start.y-y-1,a.end.x,a.end.y-y-1,void 0);(z?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},oe.prototype._linkLeave=function(re,z,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(z,!1),this._currentLink.state.decorations.pointerCursor&&re.classList.remove("xterm-cursor-pointer")),z.leave&&z.leave(a,z.text)},oe.prototype._linkAtPosition=function(re,z){var a=re.range.start.y===re.range.end.y,y=re.range.start.yz.y;return(a&&re.range.start.x<=z.x&&re.range.end.x>=z.x||y&&re.range.end.x>=z.x||x&&re.range.start.x<=z.x||y&&x)&&re.range.start.y<=z.y&&re.range.end.y>=z.y},oe.prototype._positionFromMouseEvent=function(re,z,a){var y=a.getCoords(re,z,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},oe.prototype._createLinkUnderlineEvent=function(re,z,a,y,x){return{x1:re,y1:z,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},oe=ye([he(0,le.IBufferService)],oe)}(se.Disposable);fe.Linkifier2=ue},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreBrowserService=void 0;var Ae=function(){function E(ye){this._textarea=ye}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();fe.CoreBrowserService=Ae},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(te,ce){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,ve){me.__proto__=ve}||function(me,ve){for(var ge in ve)ve.hasOwnProperty(ge)&&(me[ge]=ve[ge])})(te,ce)},function(te,ce){function me(){this.constructor=te}Ae(te,ce),te.prototype=ce===null?Object.create(ce):(me.prototype=ce.prototype,new me)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreTerminal=void 0;var ye=ae(2),he=ae(1),le=ae(66),ne=ae(67),se=ae(68),de=ae(74),ue=ae(75),ie=ae(0),oe=ae(76),re=ae(77),z=ae(78),a=ae(80),y=ae(81),x=ae(19),b=ae(82),ee=function(te){function ce(me){var ve=te.call(this)||this;return ve._onBinary=new ie.EventEmitter,ve._onData=new ie.EventEmitter,ve._onLineFeed=new ie.EventEmitter,ve._onResize=new ie.EventEmitter,ve._onScroll=new ie.EventEmitter,ve._instantiationService=new le.InstantiationService,ve.optionsService=new de.OptionsService(me),ve._instantiationService.setService(he.IOptionsService,ve.optionsService),ve._bufferService=ve.register(ve._instantiationService.createInstance(se.BufferService)),ve._instantiationService.setService(he.IBufferService,ve._bufferService),ve._logService=ve._instantiationService.createInstance(ne.LogService),ve._instantiationService.setService(he.ILogService,ve._logService),ve._coreService=ve.register(ve._instantiationService.createInstance(ue.CoreService,function(){return ve.scrollToBottom()})),ve._instantiationService.setService(he.ICoreService,ve._coreService),ve._coreMouseService=ve._instantiationService.createInstance(oe.CoreMouseService),ve._instantiationService.setService(he.ICoreMouseService,ve._coreMouseService),ve._dirtyRowService=ve._instantiationService.createInstance(re.DirtyRowService),ve._instantiationService.setService(he.IDirtyRowService,ve._dirtyRowService),ve.unicodeService=ve._instantiationService.createInstance(z.UnicodeService),ve._instantiationService.setService(he.IUnicodeService,ve.unicodeService),ve._charsetService=ve._instantiationService.createInstance(a.CharsetService),ve._instantiationService.setService(he.ICharsetService,ve._charsetService),ve._inputHandler=new x.InputHandler(ve._bufferService,ve._charsetService,ve._coreService,ve._dirtyRowService,ve._logService,ve.optionsService,ve._coreMouseService,ve.unicodeService),ve.register(ie.forwardEvent(ve._inputHandler.onLineFeed,ve._onLineFeed)),ve.register(ve._inputHandler),ve.register(ie.forwardEvent(ve._bufferService.onResize,ve._onResize)),ve.register(ie.forwardEvent(ve._coreService.onData,ve._onData)),ve.register(ie.forwardEvent(ve._coreService.onBinary,ve._onBinary)),ve.register(ve.optionsService.onOptionChange(function(ge){return ve._updateOptions(ge)})),ve._writeBuffer=new b.WriteBuffer(function(ge){return ve._inputHandler.parse(ge)}),ve}return E(ce,te),Object.defineProperty(ce.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ce.prototype.dispose=function(){var me;this._isDisposed||(te.prototype.dispose.call(this),(me=this._windowsMode)===null||me===void 0||me.dispose(),this._windowsMode=void 0)},ce.prototype.write=function(me,ve){this._writeBuffer.write(me,ve)},ce.prototype.writeSync=function(me){this._writeBuffer.writeSync(me)},ce.prototype.resize=function(me,ve){isNaN(me)||isNaN(ve)||(me=Math.max(me,se.MINIMUM_COLS),ve=Math.max(ve,se.MINIMUM_ROWS),this._bufferService.resize(me,ve))},ce.prototype.scroll=function(me,ve){ve===void 0&&(ve=!1);var ge,pe=this._bufferService.buffer;(ge=this._cachedBlankLine)&&ge.length===this.cols&&ge.getFg(0)===me.fg&&ge.getBg(0)===me.bg||(ge=pe.getBlankLine(me,ve),this._cachedBlankLine=ge),ge.isWrapped=ve;var Se=pe.ybase+pe.scrollTop,be=pe.ybase+pe.scrollBottom;if(pe.scrollTop===0){var Ee=pe.lines.isFull;be===pe.lines.length-1?Ee?pe.lines.recycle().copyFrom(ge):pe.lines.push(ge.clone()):pe.lines.splice(be+1,0,ge.clone()),Ee?this._bufferService.isUserScrolling&&(pe.ydisp=Math.max(pe.ydisp-1,0)):(pe.ybase++,this._bufferService.isUserScrolling||pe.ydisp++)}else{var Ce=be-Se+1;pe.lines.shiftElements(Se+1,Ce-1,-1),pe.lines.set(be,ge.clone())}this._bufferService.isUserScrolling||(pe.ydisp=pe.ybase),this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom),this._onScroll.fire(pe.ydisp)},ce.prototype.scrollLines=function(me,ve){var ge=this._bufferService.buffer;if(me<0){if(ge.ydisp===0)return;this._bufferService.isUserScrolling=!0}else me+ge.ydisp>=ge.ybase&&(this._bufferService.isUserScrolling=!1);var pe=ge.ydisp;ge.ydisp=Math.max(Math.min(ge.ydisp+me,ge.ybase),0),pe!==ge.ydisp&&(ve||this._onScroll.fire(ge.ydisp))},ce.prototype.scrollPages=function(me){this.scrollLines(me*(this.rows-1))},ce.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ce.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ce.prototype.scrollToLine=function(me){var ve=me-this._bufferService.buffer.ydisp;ve!==0&&this.scrollLines(ve)},ce.prototype.addEscHandler=function(me,ve){return this._inputHandler.addEscHandler(me,ve)},ce.prototype.addDcsHandler=function(me,ve){return this._inputHandler.addDcsHandler(me,ve)},ce.prototype.addCsiHandler=function(me,ve){return this._inputHandler.addCsiHandler(me,ve)},ce.prototype.addOscHandler=function(me,ve){return this._inputHandler.addOscHandler(me,ve)},ce.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ce.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ce.prototype._updateOptions=function(me){var ve;switch(me){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((ve=this._windowsMode)===null||ve===void 0||ve.dispose(),this._windowsMode=void 0)}},ce.prototype._enableWindowsMode=function(){var me=this;if(!this._windowsMode){var ve=[];ve.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),ve.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(me._bufferService),!1})),this._windowsMode={dispose:function(){for(var ge=0,pe=ve;ge0?ie[0].index:de.length;if(de.length!==x)throw new Error("[createInstance] First service dependency of "+se.name+" at position "+(x+1)+" conflicts with "+de.length+" static arguments");return new(se.bind.apply(se,Ae([void 0],Ae(de,oe))))},ne}();fe.InstantiationService=le},function(at,fe,ae){"use strict";var Ae=this&&this.__decorate||function(de,ue,ie,oe){var re,z=arguments.length,a=z<3?ue:oe===null?oe=Object.getOwnPropertyDescriptor(ue,ie):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(de,ue,ie,oe);else for(var y=de.length-1;y>=0;y--)(re=de[y])&&(a=(z<3?re(a):z>3?re(ue,ie,a):re(ue,ie))||a);return z>3&&a&&Object.defineProperty(ue,ie,a),a},E=this&&this.__param||function(de,ue){return function(ie,oe){ue(ie,oe,de)}},ye=this&&this.__spreadArrays||function(){for(var de=0,ue=0,ie=arguments.length;ue=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,z){oe(re,z,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferService=fe.MINIMUM_ROWS=fe.MINIMUM_COLS=void 0;var le=ae(1),ne=ae(69),se=ae(0),de=ae(2);fe.MINIMUM_COLS=2,fe.MINIMUM_ROWS=1;var ue=function(ie){function oe(re){var z=ie.call(this)||this;return z._optionsService=re,z.isUserScrolling=!1,z._onResize=new se.EventEmitter,z.cols=Math.max(re.options.cols,fe.MINIMUM_COLS),z.rows=Math.max(re.options.rows,fe.MINIMUM_ROWS),z.buffers=new ne.BufferSet(re,z),z}return E(oe,ie),Object.defineProperty(oe.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),oe.prototype.dispose=function(){ie.prototype.dispose.call(this),this.buffers.dispose()},oe.prototype.resize=function(re,z){this.cols=re,this.rows=z,this.buffers.resize(re,z),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:re,rows:z})},oe.prototype.reset=function(){this.buffers.dispose(),this.buffers=new ne.BufferSet(this._optionsService,this),this.isUserScrolling=!1},oe=ye([he(0,le.IOptionsService)],oe)}(de.Disposable);fe.BufferService=ue},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ne,se){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ue){de.__proto__=ue}||function(de,ue){for(var ie in ue)ue.hasOwnProperty(ie)&&(de[ie]=ue[ie])})(ne,se)},function(ne,se){function de(){this.constructor=ne}Ae(ne,se),ne.prototype=se===null?Object.create(se):(de.prototype=se.prototype,new de)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferSet=void 0;var ye=ae(70),he=ae(0),le=function(ne){function se(de,ue){var ie=ne.call(this)||this;return ie._onBufferActivate=ie.register(new he.EventEmitter),ie._normal=new ye.Buffer(!0,de,ue),ie._normal.fillViewportRows(),ie._alt=new ye.Buffer(!1,de,ue),ie._activeBuffer=ie._normal,ie.setupTabStops(),ie}return E(se,ne),Object.defineProperty(se.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),se.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},se.prototype.activateAltBuffer=function(de){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(de),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},se.prototype.resize=function(de,ue){this._normal.resize(de,ue),this._alt.resize(de,ue)},se.prototype.setupTabStops=function(de){this._normal.setupTabStops(de),this._alt.setupTabStops(de)},se}(ae(2).Disposable);fe.BufferSet=le},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferStringIterator=fe.Buffer=fe.MAX_BUFFER_SIZE=void 0;var Ae=ae(71),E=ae(16),ye=ae(4),he=ae(3),le=ae(72),ne=ae(73),se=ae(20),de=ae(6);fe.MAX_BUFFER_SIZE=4294967295;var ue=function(){function oe(re,z,a){this._hasScrollback=re,this._optionsService=z,this._bufferService=a,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=se.DEFAULT_CHARSET,this.markers=[],this._nullCell=ye.CellData.fromCharData([0,he.NULL_CELL_CHAR,he.NULL_CELL_WIDTH,he.NULL_CELL_CODE]),this._whitespaceCell=ye.CellData.fromCharData([0,he.WHITESPACE_CELL_CHAR,he.WHITESPACE_CELL_WIDTH,he.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new Ae.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(re){return re?(this._nullCell.fg=re.fg,this._nullCell.bg=re.bg,this._nullCell.extended=re.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new de.ExtendedAttrs),this._nullCell},oe.prototype.getWhitespaceCell=function(re){return re?(this._whitespaceCell.fg=re.fg,this._whitespaceCell.bg=re.bg,this._whitespaceCell.extended=re.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new de.ExtendedAttrs),this._whitespaceCell},oe.prototype.getBlankLine=function(re,z){return new E.BufferLine(this._bufferService.cols,this.getNullCell(re),z)},Object.defineProperty(oe.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isCursorInViewport",{get:function(){var re=this.ybase+this.y-this.ydisp;return re>=0&&refe.MAX_BUFFER_SIZE?fe.MAX_BUFFER_SIZE:z},oe.prototype.fillViewportRows=function(re){if(this.lines.length===0){re===void 0&&(re=E.DEFAULT_ATTR_DATA);for(var z=this._rows;z--;)this.lines.push(this.getBlankLine(re))}},oe.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new Ae.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},oe.prototype.resize=function(re,z){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(z);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(re,a)));else for(ee=this._rows;ee>z;ee--)this.lines.length>z+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y0&&(this.lines.trimStart(te),this.ybase=Math.max(this.ybase-te,0),this.ydisp=Math.max(this.ydisp-te,0),this.savedY=Math.max(this.savedY-te,0)),this.lines.maxLength=y}this.x=Math.min(this.x,re-1),this.y=Math.min(this.y,z-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,re-1),this.scrollTop=0}if(this.scrollBottom=z-1,this._isReflowEnabled&&(this._reflow(re,z),this._cols>re))for(x=0;xthis._cols?this._reflowLarger(re,z):this._reflowSmaller(re,z))},oe.prototype._reflowLarger=function(re,z){var a=le.reflowLargerGetLinesToRemove(this.lines,this._cols,re,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=le.reflowLargerCreateNewLayout(this.lines,a);le.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(re,z,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(re,z,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;b--){var ee=this.lines.get(b);if(!(!ee||!ee.isWrapped&&ee.getTrimmedLength()<=re)){for(var te=[ee];ee.isWrapped&&b>0;)ee=this.lines.get(--b),te.unshift(ee);var ce=this.ybase+this.y;if(!(ce>=b&&ce0&&(y.push({start:b+te.length+x,newLines:Se}),x+=Se.length),te.push.apply(te,Se);var Ce=ve.length-1,De=ve[Ce];De===0&&(De=ve[--Ce]);for(var we=te.length-ge-1,Fe=me;we>=0;){var Pe=Math.min(Fe,De);if(te[Ce].copyCellsFrom(te[we],Fe-Pe,De-Pe,Pe,!0),(De-=Pe)===0&&(De=ve[--Ce]),(Fe-=Pe)===0){we--;var Le=Math.max(we,0);Fe=le.getWrappedLineTrimmedLength(te,Le,this._cols)}}for(be=0;be0;)this.ybase===0?this.y0){var We=[],Te=[];for(be=0;be=0;be--)if(Ge&&Ge.start>He+ze){for(var _e=Ge.newLines.length-1;_e>=0;_e--)this.lines.set(be--,Ge.newLines[_e]);be++,We.push({index:He+1,amount:Ge.newLines.length}),ze+=Ge.newLines.length,Ge=y[++Qe]}else this.lines.set(be,Te[He--]);var Ve=0;for(be=We.length-1;be>=0;be--)We[be].index+=Ve,this.lines.onInsertEmitter.fire(We[be]),Ve+=We[be].amount;var tt=Math.max(0,Ue+x-this.lines.maxLength);tt>0&&this.lines.onTrimEmitter.fire(tt)}},oe.prototype.stringIndexToBufferIndex=function(re,z,a){for(a===void 0&&(a=!1);z;){var y=this.lines.get(re);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b0&&this.lines.get(z).isWrapped;)z--;for(;a+10;);return re>=this._cols?this._cols-1:re<0?0:re},oe.prototype.nextStop=function(re){for(re==null&&(re=this.x);!this.tabs[++re]&&re=this._cols?this._cols-1:re<0?0:re},oe.prototype.addMarker=function(re){var z=this,a=new ne.Marker(re);return this.markers.push(a),a.register(this.lines.onTrim(function(y){a.line-=y,a.line<0&&a.dispose()})),a.register(this.lines.onInsert(function(y){a.line>=y.index&&(a.line+=y.amount)})),a.register(this.lines.onDelete(function(y){a.line>=y.index&&a.liney.index&&(a.line-=y.amount)})),a.register(a.onDispose(function(){return z._removeMarker(a)})),a},oe.prototype._removeMarker=function(re){this.markers.splice(this.markers.indexOf(re),1)},oe.prototype.iterator=function(re,z,a,y,x){return new ie(this,re,z,a,y,x)},oe}();fe.Buffer=ue;var ie=function(){function oe(re,z,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=re.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=re,this._trimRight=z,this._startIndex=a,this._endIndex=y,this._startOverscan=x,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return oe.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(re.last=this._endIndex+this._endOverscan),re.first=Math.max(re.first,0),re.last=Math.min(re.last,this._buffer.lines.length);for(var z="",a=re.first;a<=re.last;++a)z+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=re.last+1,{range:re,content:z}},oe}();fe.BufferStringIterator=ie},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CircularList=void 0;var Ae=ae(0),E=function(){function ye(he){this._maxLength=he,this.onDeleteEmitter=new Ae.EventEmitter,this.onInsertEmitter=new Ae.EventEmitter,this.onTrimEmitter=new Ae.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(ye.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ye.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ye.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ye.prototype,"maxLength",{get:function(){return this._maxLength},set:function(he){if(this._maxLength!==he){for(var le=new Array(he),ne=0;nethis._length)for(var le=this._length;le=he;de--)this._array[this._getCyclicIndex(de+ne.length)]=this._array[this._getCyclicIndex(de)];for(de=0;dethis._maxLength){var ue=this._length+ne.length-this._maxLength;this._startIndex+=ue,this._length=this._maxLength,this.onTrimEmitter.fire(ue)}else this._length+=ne.length},ye.prototype.trimStart=function(he){he>this._length&&(he=this._length),this._startIndex+=he,this._length-=he,this.onTrimEmitter.fire(he)},ye.prototype.shiftElements=function(he,le,ne){if(!(le<=0)){if(he<0||he>=this._length)throw new Error("start argument out of range");if(he+ne<0)throw new Error("Cannot shift elements in list beyond index 0");if(ne>0){for(var se=le-1;se>=0;se--)this.set(he+se+ne,this.get(he+se));var de=he+le+ne-this._length;if(de>0)for(this._length+=de;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(se=0;se=de&&le0&&(me>re||oe[me].getTrimmedLength()===0);me--)ce++;ce>0&&(se.push(de+oe.length-ce),se.push(ce)),de+=oe.length-1}}}return se},fe.reflowLargerCreateNewLayout=function(E,ye){for(var he=[],le=0,ne=ye[le],se=0,de=0;deie&&(se-=ie,de++);var oe=E[de].getWidth(se-1)===2;oe&&se--;var re=oe?he-1:he;le.push(re),ue+=re}return le},fe.getWrappedLineTrimmedLength=Ae},function(at,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(le,ne){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,de){se.__proto__=de}||function(se,de){for(var ue in de)de.hasOwnProperty(ue)&&(se[ue]=de[ue])})(le,ne)},function(le,ne){function se(){this.constructor=le}Ae(le,ne),le.prototype=ne===null?Object.create(ne):(se.prototype=ne.prototype,new se)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.Marker=void 0;var ye=ae(0),he=function(le){function ne(se){var de=le.call(this)||this;return de.line=se,de._id=ne._nextId++,de.isDisposed=!1,de._onDispose=new ye.EventEmitter,de}return E(ne,le),Object.defineProperty(ne.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),ne.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},ne._nextId=1,ne}(ae(2).Disposable);fe.Marker=he},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.OptionsService=fe.DEFAULT_OPTIONS=fe.DEFAULT_BELL_SOUND=void 0;var Ae=ae(0),E=ae(11),ye=ae(33);fe.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",fe.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:fe.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var he=["cols","rows"],le=function(){function ne(se){this._onOptionChange=new Ae.EventEmitter,this.options=ye.clone(fe.DEFAULT_OPTIONS);for(var de=0,ue=Object.keys(se);de=0;te--)(x=re[te])&&(ee=(b<3?x(ee):b>3?x(z,a,ee):x(z,a))||ee);return b>3&&ee&&Object.defineProperty(z,a,ee),ee},he=this&&this.__param||function(re,z){return function(a,y){z(a,y,re)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreService=void 0;var le=ae(1),ne=ae(0),se=ae(33),de=ae(2),ue=Object.freeze({insertMode:!1}),ie=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),oe=function(re){function z(a,y,x,b){var ee=re.call(this)||this;return ee._bufferService=y,ee._logService=x,ee._optionsService=b,ee.isCursorInitialized=!1,ee.isCursorHidden=!1,ee._onData=ee.register(new ne.EventEmitter),ee._onUserInput=ee.register(new ne.EventEmitter),ee._onBinary=ee.register(new ne.EventEmitter),ee._scrollToBottom=a,ee.register({dispose:function(){return ee._scrollToBottom=void 0}}),ee.modes=se.clone(ue),ee.decPrivateModes=se.clone(ie),ee}return E(z,re),Object.defineProperty(z.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),z.prototype.reset=function(){this.modes=se.clone(ue),this.decPrivateModes=se.clone(ie)},z.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},z.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},z=ye([he(1,le.IBufferService),he(2,le.ILogService),he(3,le.IOptionsService)],z)}(de.Disposable);fe.CoreService=oe},function(at,fe,ae){"use strict";var Ae=this&&this.__decorate||function(ie,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ie,oe,re,z);else for(var b=ie.length-1;b>=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},E=this&&this.__param||function(ie,oe){return function(re,z){oe(re,z,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreMouseService=void 0;var ye=ae(1),he=ae(0),le={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ie){return ie.button!==4&&ie.action===1&&(ie.ctrl=!1,ie.alt=!1,ie.shift=!1,!0)}},VT200:{events:19,restrict:function(ie){return ie.action!==32}},DRAG:{events:23,restrict:function(ie){return ie.action!==32||ie.button!==3}},ANY:{events:31,restrict:function(ie){return!0}}};function ne(ie,oe){var re=(ie.ctrl?16:0)|(ie.shift?4:0)|(ie.alt?8:0);return ie.button===4?(re|=64,re|=ie.action):(re|=3&ie.button,4&ie.button&&(re|=64),8&ie.button&&(re|=128),ie.action===32?re|=32:ie.action!==0||oe||(re|=3)),re}var se=String.fromCharCode,de={DEFAULT:function(ie){var oe=[ne(ie,!1)+32,ie.col+32,ie.row+32];return oe[0]>255||oe[1]>255||oe[2]>255?"":"\x1B[M"+se(oe[0])+se(oe[1])+se(oe[2])},SGR:function(ie){var oe=ie.action===0&&ie.button!==4?"m":"M";return"\x1B[<"+ne(ie,!0)+";"+ie.col+";"+ie.row+oe}},ue=function(){function ie(oe,re){this._bufferService=oe,this._coreService=re,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new he.EventEmitter,this._lastEvent=null;for(var z=0,a=Object.keys(le);z=this._bufferService.cols||oe.row<0||oe.row>=this._bufferService.rows||oe.button===4&&oe.action===32||oe.button===3&&oe.action!==32||oe.button!==4&&(oe.action===2||oe.action===3)||(oe.col++,oe.row++,oe.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,oe))||!this._protocols[this._activeProtocol].restrict(oe))return!1;var re=this._encodings[this._activeEncoding](oe);return re&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(re):this._coreService.triggerDataEvent(re,!0)),this._lastEvent=oe,!0},ie.prototype.explainEvents=function(oe){return{down:!!(1&oe),up:!!(2&oe),drag:!!(4&oe),move:!!(8&oe),wheel:!!(16&oe)}},ie.prototype._compareEvents=function(oe,re){return oe.col===re.col&&oe.row===re.row&&oe.button===re.button&&oe.action===re.action&&oe.ctrl===re.ctrl&&oe.alt===re.alt&&oe.shift===re.shift},ie=Ae([E(0,ye.IBufferService),E(1,ye.ICoreService)],ie)}();fe.CoreMouseService=ue},function(at,fe,ae){"use strict";var Ae=this&&this.__decorate||function(le,ne,se,de){var ue,ie=arguments.length,oe=ie<3?ne:de===null?de=Object.getOwnPropertyDescriptor(ne,se):de;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(le,ne,se,de);else for(var re=le.length-1;re>=0;re--)(ue=le[re])&&(oe=(ie<3?ue(oe):ie>3?ue(ne,se,oe):ue(ne,se))||oe);return ie>3&&oe&&Object.defineProperty(ne,se,oe),oe},E=this&&this.__param||function(le,ne){return function(se,de){ne(se,de,le)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.DirtyRowService=void 0;var ye=ae(1),he=function(){function le(ne){this._bufferService=ne,this.clearRange()}return Object.defineProperty(le.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),le.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},le.prototype.markDirty=function(ne){nethis._end&&(this._end=ne)},le.prototype.markRangeDirty=function(ne,se){if(ne>se){var de=ne;ne=se,se=de}nethis._end&&(this._end=se)},le.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},le=Ae([E(0,ye.IBufferService)],le)}();fe.DirtyRowService=he},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.UnicodeService=void 0;var Ae=ae(0),E=ae(79),ye=function(){function he(){this._providers=Object.create(null),this._active="",this._onChange=new Ae.EventEmitter;var le=new E.UnicodeV6;this.register(le),this._active=le.version,this._activeProvider=le}return Object.defineProperty(he.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"activeVersion",{get:function(){return this._active},set:function(le){if(!this._providers[le])throw new Error('unknown Unicode version "'+le+'"');this._active=le,this._activeProvider=this._providers[le],this._onChange.fire(le)},enumerable:!1,configurable:!0}),he.prototype.register=function(le){this._providers[le.version]=le},he.prototype.wcwidth=function(le){return this._activeProvider.wcwidth(le)},he.prototype.getStringCellWidth=function(le){for(var ne=0,se=le.length,de=0;de=se)return ne+this.wcwidth(ue);var ie=le.charCodeAt(de);56320<=ie&&ie<=57343?ue=1024*(ue-55296)+ie-56320+65536:ne+=this.wcwidth(ie)}ne+=this.wcwidth(ue)}return ne},he}();fe.UnicodeService=ye},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.UnicodeV6=void 0;var Ae,E=ae(15),ye=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],he=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],le=function(){function ne(){if(this.version="6",!Ae){Ae=new Uint8Array(65536),E.fill(Ae,1),Ae[0]=0,E.fill(Ae,0,1,32),E.fill(Ae,0,127,160),E.fill(Ae,2,4352,4448),Ae[9001]=2,Ae[9002]=2,E.fill(Ae,2,11904,42192),Ae[12351]=1,E.fill(Ae,2,44032,55204),E.fill(Ae,2,63744,64256),E.fill(Ae,2,65040,65050),E.fill(Ae,2,65072,65136),E.fill(Ae,2,65280,65377),E.fill(Ae,2,65504,65511);for(var se=0;seue[re][1])return!1;for(;re>=oe;)if(de>ue[ie=oe+re>>1][1])oe=ie+1;else{if(!(de=131072&&se<=196605||se>=196608&&se<=262141?2:1},ne}();fe.UnicodeV6=le},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CharsetService=void 0;var Ae=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(ye){this.glevel=ye,this.charset=this._charsets[ye]},E.prototype.setgCharset=function(ye,he){this._charsets[ye]=he,this.glevel===ye&&(this.charset=he)},E}();fe.CharsetService=Ae},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.updateWindowsModeWrappedState=void 0;var Ae=ae(3);fe.updateWindowsModeWrappedState=function(E){var ye=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),he=ye==null?void 0:ye.get(E.cols-1),le=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);le&&he&&(le.isWrapped=he[Ae.CHAR_DATA_CODE_INDEX]!==Ae.NULL_CELL_CODE&&he[Ae.CHAR_DATA_CODE_INDEX]!==Ae.WHITESPACE_CELL_CODE)}},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.WriteBuffer=void 0;var Ae=function(){function E(ye){this._action=ye,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(ye){if(this._writeBuffer.length){for(var he=this._bufferOffset;he5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return le._innerWrite()})),this._pendingData+=ye.length,this._writeBuffer.push(ye),this._callbacks.push(he)},E.prototype._innerWrite=function(){for(var ye=this,he=Date.now();this._writeBuffer.length>this._bufferOffset;){var le=this._writeBuffer[this._bufferOffset],ne=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(le),this._pendingData-=le.length,ne&&ne(),Date.now()-he>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return ye._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();fe.WriteBuffer=Ae},function(at,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.AddonManager=void 0;var Ae=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var ye=this._addons.length-1;ye>=0;ye--)this._addons[ye].instance.dispose()},E.prototype.loadAddon=function(ye,he){var le=this,ne={instance:he,dispose:he.dispose,isDisposed:!1};this._addons.push(ne),he.dispose=function(){return le._wrappedAddonDispose(ne)},he.activate(ye)},E.prototype._wrappedAddonDispose=function(ye){if(!ye.isDisposed){for(var he=-1,le=0;lediv{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div img{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___HDG9F{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KhP6Z{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZlFcA{align-items:center;box-align:center}.flex_box_center_end___o7d_z{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ULJgZ{flex-direction:column;box-orient:block-axis}.row___Skft7{background:#ffffffb3;border-radius:12px;border:1px solid #FFFFFF;backdrop-filter:blur(4px);padding:14px 20px;margin-bottom:10px}.row___Skft7 .title___KP2uZ{height:20px;font-weight:500;font-size:14px;color:#2c3a58;line-height:20px}.row___Skft7 .fenge___yM8ys{height:1px;border:1px dashed rgba(204,221,255,.5);margin:15px 0}.row___Skft7 .tagsWrap___XcmUd{flex:1 1;position:relative}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl i{display:inline-block;font-size:12px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz{max-height:245px;overflow:auto}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db{display:flex;flex-wrap:wrap;gap:20px 14px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span{display:inline-flex;align-items:center;font-size:14px;cursor:pointer;padding:2px 12px;background:#fff;border-radius:6px;border:1px solid #DAE3F3}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .name___gsqnj{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .num___sRnLB{margin-left:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span:hover{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db .active___yNnAU{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___Skft7 .tagsBorderWrap___BKCHD .bar___gdtOz{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___kXy2O{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___EKVqf{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___KJzcw{align-items:center;box-align:center}.flex_box_center_end___V4Nm9{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___g6Cee{flex-direction:column;box-orient:block-axis}.row___pqtGl{background:#ffffff1a;backdrop-filter:blur(4px);padding:20px;margin-bottom:10px}.row___pqtGl .title___eewYd{height:20px;font-weight:500;font-size:14px;color:#fff;line-height:1.5}.row___pqtGl .tagsWrap___AWV66{flex:1 1;position:relative;margin-top:20px}.row___pqtGl .tagsWrap___AWV66 .action___Toj3O{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___pqtGl .tagsWrap___AWV66 .action___Toj3O i{display:inline-block;font-size:12px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB{max-height:245px;overflow:auto}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k{display:flex;flex-wrap:wrap;gap:20px 20px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span{display:inline-flex;align-items:center;font-size:14px;cursor:pointer;padding:4px 12px;border-radius:6px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span .name___m2dAl{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block;color:#fff}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span .num___EhDNX{margin-left:3px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span:hover{background:#01a89a}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k .active___GSjsu{background:#01a89a}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___pqtGl .tagsBorderWrap___VoQL3 .bar___NZVtB{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___pVsOk{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___bQwBe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___gdKht{align-items:center;box-align:center}.flex_box_center_end___wJuEm{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___F50s0{flex-direction:column;box-orient:block-axis}.input___f7GZE{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding-right:20px}.input___f7GZE .dropdown___oJkxW{position:relative;flex-shrink:0}.input___f7GZE .dropdown___oJkxW:hover .menu___RplGU{display:block}.input___f7GZE .dropdown___oJkxW .text___EgRKl{color:#fff;font-size:14px;cursor:default;height:38px;display:flex;align-items:center;background-color:#2d6964;padding:0 15px}.input___f7GZE .dropdown___oJkxW .text___EgRKl i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#fff}.input___f7GZE .dropdown___oJkxW .menu___RplGU{display:none;position:absolute;z-index:999;width:auto;min-width:107px;left:0;top:38px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___f7GZE .dropdown___oJkxW .menu___RplGU div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___f7GZE .dropdown___oJkxW .menu___RplGU div:hover{background-color:#f5f5f5}.input___f7GZE>input{flex:1 1;padding:4px 0 4px 16px;color:#fff!important}.input___f7GZE>input::placeholder{color:#b6bfc2!important}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___KD0ZB{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___rMep5{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___jD3Po{align-items:center;box-align:center}.flex_box_center_end___RbohB{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GmzUj{flex-direction:column;box-orient:block-axis}.list___dlUtq{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___dlUtq .wrap___LYbIZ{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___dlUtq .wrap___LYbIZ:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___dlUtq .wrap___LYbIZ .lockWrap___U7Ajb{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .cover___KP0L8{width:100%;height:26vh;border-radius:10px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .bq___DtmL1{background:linear-gradient(180deg,#f09c1e,#bd6f1d);border-radius:6px;border:1px solid rgba(255,255,255,.6);position:absolute;padding:4px 8px;color:#fff;font-size:12px;line-height:12px;top:6px;left:6px;display:flex;align-items:center;justify-content:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .sign___TZ9Wq{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .titleBg___tnX0O{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq .e___zxiB9{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___dlUtq .wrap___LYbIZ .li___bsnqy .text____ZmZX{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .value___WPLok{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E{display:flex;align-items:center;margin-left:auto}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]{font-size:13px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___MoMqv{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___G_1Pa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___vHNpc{align-items:center;box-align:center}.flex_box_center_end___dt_Dx{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___gK3h_{flex-direction:column;box-orient:block-axis}.list___GYKT6{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___GYKT6 .wrap___uLNQf{background:#fff;border:1px solid #01A89A;position:relative;overflow:hidden}.list___GYKT6 .wrap___uLNQf:hover{box-shadow:0 2px 10px #03a092;border:1px solid #00DDC7;outline:1px solid #00DDC7}.list___GYKT6 .wrap___uLNQf .lockWrap___lZQo7{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .img___bih4x{position:relative;display:flex;justify-content:center;align-items:center}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .img___bih4x .cover___UiMEf{width:100%;height:26vh}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .img___bih4x .sign___WPSew{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .name___ZLjiX{height:42px;font-size:16px;font-weight:600;color:#000;padding:20px 12px 0;width:100%;display:flex;align-items:center}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .name___ZLjiX .e___tB29O{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn{height:55px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn i{color:#7d8592}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn>span{margin-right:5px;font-size:12px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H{display:flex;align-items:center;margin-left:auto}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H [class~=ant-rate-star]{font-size:13px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:278px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 101px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___vu9yi{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LwoH7{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pUG0J{align-items:center;box-align:center}.flex_box_center_end___xWI9t{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mr5rB{flex-direction:column;box-orient:block-axis}.list___zE1wj{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___zE1wj .wrap___5HG1h{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___zE1wj .wrap___5HG1h:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___zE1wj .wrap___5HG1h .lockWrap___zziwX{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .cover___G1cj9{width:100%;height:26vh;border-radius:10px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .bq___hpdTt{width:64px;height:20px;background:#19b691b3;color:#fff;border-radius:13px;font-size:12px;line-height:20px;text-align:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .sign___kHAha{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___zE1wj .wrap___5HG1h .li___aNI2z .titleBg___S1VlI{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM .e___fd1jW{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .text___b9Tdy{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___zE1wj .wrap___5HG1h .li___aNI2z .value___ZASRv{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div{display:flex;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div>span{margin-right:12px;font-size:12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag1___c9ebE,.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___o6B0Z{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Uz22Q{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___nWLOj{align-items:center;box-align:center}.flex_box_center_end___eqMdD{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ypdJv{flex-direction:column;box-orient:block-axis}.list___qA19p{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___qA19p .wrap___YaRtD{background:#fff;border:1px solid #01A89A;position:relative;overflow:hidden}.list___qA19p .wrap___YaRtD:hover{box-shadow:0 2px 10px #03a092;border:1px solid #00DDC7;outline:1px solid #00DDC7}.list___qA19p .wrap___YaRtD .lockWrap___Cle7R{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky{position:relative;display:flex;justify-content:center;align-items:center}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky .cover___iuyl5{width:100%;height:26vh}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky .bq___BpHtR{width:64px;height:20px;background:#01a89a;color:#fff;border-radius:13px;font-size:12px;text-align:center;border:1px solid #00DDC7}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky .sign___ajRAC{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___qA19p .wrap___YaRtD .li___Hpfsl .titleBg___h8Qq7{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___qA19p .wrap___YaRtD .li___Hpfsl .name___mAV5m{font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative;margin-top:20px}.list___qA19p .wrap___YaRtD .li___Hpfsl .name___mAV5m .e___YPSD7{font-weight:600;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___qA19p .wrap___YaRtD .li___Hpfsl .text___nDpTk{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___qA19p .wrap___YaRtD .li___Hpfsl .value___guywy{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___qA19p .wrap___YaRtD .li___Hpfsl .unit___aTzYz{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___qA19p .wrap___YaRtD .li___Hpfsl .unit___aTzYz i{color:#7d8592}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul{display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px;margin:20px 0}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul div{display:flex;align-items:center}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul div>span{margin-right:12px;font-size:12px}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul div i{color:#7d8592}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul .tag1___AHRAc,.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul .tag2___Pska6{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul .tag2___Pska6{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___PuarE{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___q4lAa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___wsb8w{align-items:center;box-align:center}.flex_box_center_end___H781P{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___bHK1y{flex-direction:column;box-orient:block-axis}.list___e2XDo{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___e2XDo .wrap___cz7sh{height:234px;border-radius:12px;border:1px solid #DEE8FF;position:relative}.list___e2XDo .wrap___cz7sh:hover{cursor:pointer;box-shadow:0 4px 10px #a8c2ee80;border:1px solid #3875FF}.list___e2XDo .wrap___cz7sh:hover .lockWrap___EPuRr{display:flex}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .img___kSEud{width:72px;height:72px;border-radius:50%;border:2px solid #FFFFFF;margin-top:14px}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .text___GIlhY{height:24px;background:linear-gradient(164deg,#526d958a,#2c4773c7);border-radius:8px;border:1px solid #FFFFFF;backdrop-filter:blur(2px);color:#fff;font-size:14px;line-height:14px;padding:5px 14px;display:flex;align-items:center;justify-content:center;position:relative;top:-15px}.list___e2XDo .wrap___cz7sh .top___K4GCD{margin-top:55px}.list___e2XDo .wrap___cz7sh .top___K4GCD .sign___KCjEP{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___e2XDo .wrap___cz7sh .top___K4GCD .name___z3U4d{height:16px;font-weight:600;font-size:16px;color:#262a46;line-height:16px;text-align:center;font-style:normal;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.list___e2XDo .wrap___cz7sh .top___K4GCD .text___GIlhY{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___e2XDo .wrap___cz7sh .middle___LeUM5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAegAAACOCAYAAAD6ipv/AAAAAXNSR0IArs4c6QAACNtJREFUeF7t3TGLXAUXBuD3kDAj2WAnSLAUCws7wTJWioVg7S8wpa2YImJrZ/wF1oIg2CWlYCkIimUIgl2yIztrwvGb+XaXGDcmhWaPzrNFWLLD3Pc+58DLvTM7W3nCr+5erO7l9bqftzt5OZVLlVzqzsUnfAoPI0CAAAECOyNQlf1Obqdzu5Lv+1y+3DufG1V1+CQI9bgH7Xc/X+tc7cq76Tz7uMf7OQECBAgQIPAIgcqd6nzey1y7WPXzXzk9sqC7e/nrYT5I8n539mATIECAAAECf49AVVZJPrmwyMdVtT7tWU8t6O1V82G+6M5rf08Uz0KAAAECBAg8LFCVb3qRd067mv5TQa/X/cq9zledvICSAAECBAgQ+GcFKrl1vvLWclnfPXikPxT00evN3yrnf3YYnp0AAQIECDxUxrd6mVcfvJI+Keij15xvuq1taQgQIECAwNMX2NzuvrDI5ePXpE8KerXua9358OlHckQCBAgQIEBgI1CVj/aWdXX7/eafozeF/eTd2haEAAECBAicncDm3d29yIubW93bgl4d9PVO3ju7SI5MgAABAgQIHF05f7b3TF2p7SeEHeYXH0JiMQgQIECAwACByp29RZ6r/d/6jdzP1wMiiUCAAAECBAhsBM7lzVod9KedXCFCgAABAgQIzBCo5HrtH/SNJJdnRJKCAAECBAgQ+F8v36z9df+Qzks4CBAgQIAAg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+0/RWsda525V0fZvIf3BKnRIAAAQJPT6Bypzqf9zLXTrtqfuwt7tOSbj9x7F5er/t5u5OXU7lUySV/qvLpzdWRCBAgQODfI1CV/U5up3O7ku/7XL7cO58bVXX4JGfxOzmrxUcafXV8AAAAAElFTkSuQmCC) no-repeat center center;background-size:100% 100%;height:71px;margin:23px 15px 17px;padding:13px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ{display:flex;align-items:center;justify-content:space-between}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ>div{display:flex;align-items:center}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .text___GIlhY{height:20px;font-weight:400;font-size:14px;color:#727c95;line-height:20px;margin-right:10px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .value___qigWu{width:42px;height:20px;font-weight:400;font-size:14px;color:#262a46;line-height:20px}.list___e2XDo .wrap___cz7sh .btns___kGysm{display:flex;align-items:center;margin-top:12px;justify-content:center}.list___e2XDo .wrap___cz7sh .btns___kGysm div{width:76px;background:#11af8d26;height:26px;border-radius:12px;border:1px solid #11AF8D;font-size:12px;color:#11af8d;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .btns___kGysm aside{width:76px;background:#f4831e26;height:26px;border-radius:12px;border:1px solid #E08049;font-size:14px;color:#c05a0c;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>div{margin-left:auto}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.list___e2XDo .warpStyle___pH3uC:hover{border:2px solid #fff!important;box-shadow:none!important}.flex_box_center___eJQtn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___lzV1x{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___IYfoZ{align-items:center;box-align:center}.flex_box_center_end___lcJOu{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column____ShCG{flex-direction:column;box-orient:block-axis}.list___YXSRr{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___YXSRr .wrap___ZGdF6{height:229px;background:#00ddc71a;border:1px solid #01A89A;position:relative}.list___YXSRr .wrap___ZGdF6:hover{cursor:pointer;box-shadow:0 0 10px #03a09266;border:1px solid #00DDC7}.list___YXSRr .wrap___ZGdF6:hover .lockWrap___VKZgR{display:flex}.list___YXSRr .wrap___ZGdF6 .lockWrap___VKZgR{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___YXSRr .wrap___ZGdF6 .lockWrap___VKZgR div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___YXSRr .wrap___ZGdF6 .lockWrap___VKZgR div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___YXSRr .wrap___ZGdF6 .creator___tLnuI{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.list___YXSRr .wrap___ZGdF6 .creator___tLnuI .img___P8alm{width:72px;height:72px;border-radius:50%;border:2px solid #FFFFFF;margin-top:14px}.list___YXSRr .wrap___ZGdF6 .creator___tLnuI .text___ijpmj{height:24px;background:#037f74;color:#fff;font-size:14px;line-height:14px;padding:5px 14px;display:flex;align-items:center;justify-content:center;position:relative;top:-15px}.list___YXSRr .wrap___ZGdF6 .top___md6mc{margin-top:55px}.list___YXSRr .wrap___ZGdF6 .top___md6mc .sign___ydolt{position:absolute;z-index:1;width:48px;height:22px;left:-4px;top:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAWCAYAAACG9x+sAAAAAXNSR0IArs4c6QAAAyhJREFUWEftVltIVFEUXcd5qdeZ0XymI5pKlpaj2IvK+Qh70IuwArGEfCT2EWoffgRBfUQZ0UcvM0p8FL2I0hAEQSkziCRJM0RTsVF0tMSZ1Hk4d07cIxpT0TCJzQRtuHDv2eecvdZe+5x9Cf3cSfEPG/lPwMXqLUgB4xctvg5+QJB6O6OhfV6F0A0HIJJ529GymqZAectvqRKRBGJPH6fTsSACPTUlkKviEJK8hwXuq78CqY8/VJsz7IAMNJZjoq8VZr0OxMMDUnkg8/MWI0z6EXCBy6CMSEDk1vy/R8AyOY620mysKbgHkdSLBZ4eG0BHZSHWFj6Eh1jyExjtiyqIZBxC1+9nvsnhbgw03UZ8RonTwOcW/LECH59dhJe/CmEb0+2Cd9ech0wegIgtue5LQPe2DkOvHyMp7yaISAwhs8FJOyGVB8BqmkRbaRbCNZkISd4LylvBzxgZmaGW+xB5cvMlNzXSC21zNVYcPM38IokX288Zc1oBQfbOO8VIyL7KFDCOD6LrwSkk5peDEDJbSqP9aK8oQFz6WYBS9DdcZ+PG8WGIZd6QcMrvZ2BCBy4okn1HpuZDGZnoDH44TcDGW2HR6+C5JIwF6n56Dv6xm+C/UgPT+BAkPn4QSb3Zu1QRCA+xdB5Q16MzWLpuH5QRatefAQGBUAI9tSVIPFoGEILhNzWY1vUieveJX2ax9fIhqHNLIfFWuJ4AtVnRUVGA6F1F4IJjGCBKbXh36xiidhyHInyVHQnDp3b0N5RBnXNtftxlt5BwMHtqL7DyEJqY2TAKs34MFsMoDNoOCE1JnTNb94KZ9aPoqCxCbNpJyFXxrifAm6bw/m4xJJwvJJwfpJwvZMpgePqFsqe37hJUKZmsOQmqCP0iPOUwAlen2qniMgUcXRO8eYo1rDmzWS12h3lunNp42GZMdnMd7f2j3+lbyNkAiz3/P4HFzrCj/YmhuXI5YGukFLOdCfSlUpOd4mihu/hZ79e/qo4hVr6JgqoIIU8UKUfS3AWgIxyzPy8ATC0V0WaeNhGgXqHJynO00F388wQEQBPN5VGgZJuvJuuGuwB0hOMbNM1slChmsDgAAAAASUVORK5CYII=) no-repeat;background-size:100% 100%}.list___YXSRr .wrap___ZGdF6 .top___md6mc .name___OEush{height:16px;font-weight:600;font-size:16px;color:#fff;line-height:16px;text-align:center;font-style:normal;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.list___YXSRr .wrap___ZGdF6 .top___md6mc .text___ijpmj{font-size:14px;color:#b6bfc2;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOsAAAA6CAYAAABRaK5fAAAAAXNSR0IArs4c6QAAAYRJREFUeF7t00ENACAQA0HQhP8/IhBDggo2mVPQTK9znL2GI0Dge4FprN93JCCBJ2CsHoFARMBYI0WJScBY/QCBiICxRooSk4Cx+gECEQFjjRQlJgFj9QMEIgLGGilKTALG6gcIRASMNVKUmASM1Q8QiAgYa6QoMQkYqx8gEBEw1khRYhIwVj9AICJgrJGixCRgrH6AQETAWCNFiUnAWP0AgYiAsUaKEpOAsfoBAhEBY40UJSYBY/UDBCICxhopSkwCxuoHCEQEjDVSlJgEjNUPEIgIGGukKDEJGKsfIBARMNZIUWISMFY/QCAiYKyRosQkYKx+gEBEwFgjRYlJwFj9AIGIgLFGihKTgLH6AQIRAWONFCUmAWP1AwQiAsYaKUpMAsbqBwhEBIw1UpSYBIzVDxCICBhrpCgxCRirHyAQETDWSFFiEjBWP0AgImCskaLEJGCsfoBARMBYI0WJScBY/QCBiICxRooSk4Cx+gECEQFjjRQlJgFj9QMEIgLGGilKTAIXNnRq8bsuZlIAAAAASUVORK5CYII=) no-repeat center center;background-size:100% 100%;height:71px;margin:23px 15px 17px;padding:13px}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .row___MFUrm{display:flex;align-items:center;justify-content:space-between}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .row___MFUrm>div{display:flex;align-items:center}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .text___ijpmj{height:20px;font-weight:400;font-size:14px;color:#b6bfc2;line-height:20px;margin-right:10px}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .value___rEYMy{width:42px;height:20px;font-weight:400;font-size:14px;color:#fff;line-height:20px}.list___YXSRr .wrap___ZGdF6 .btns___Y5S2B{display:flex;align-items:center;margin:20px 0;justify-content:center}.list___YXSRr .wrap___ZGdF6 .btns___Y5S2B div{width:64px;background:#00ddc780;height:22px;font-size:12px;color:#fff;line-height:22px;text-align:center;margin:0 10px}.list___YXSRr .wrap___ZGdF6 .btns___Y5S2B aside{width:64px;background:#ffa80080;height:22px;font-size:14px;color:#fff;line-height:22px;text-align:center;margin:0 10px}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC>div{margin-left:auto}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.list___YXSRr .warpStyle___R8xtx:hover{border:2px solid #fff!important;box-shadow:none!important}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___itkVp{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___F4yZx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ko4cu{align-items:center;box-align:center}.flex_box_center_end___cCBYR{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mpq6K{flex-direction:column;box-orient:block-axis}.tabs___qRAhL{display:flex;justify-content:space-between;align-items:center;height:40px}.tabs___qRAhL .tabsWrap___CGRvS{display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6{font-weight:500;color:#3875ff}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:none;border-radius:100px 100px 0 0}.flex_box_center___uWCU1{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___pKZJo{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___NKr7Z{align-items:center;box-align:center}.flex_box_center_end___ycaEu{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___dDKjA{flex-direction:column;box-orient:block-axis}.tabs___cNVh5{display:flex;justify-content:space-between;align-items:center;background:#01a89a33;height:40px}.tabs___cNVh5 .tabsWrap___IJpOg{display:flex;align-items:center;height:100%}.tabs___cNVh5 .tabsWrap___IJpOg .tab___fitSZ{display:flex;align-items:center;margin-right:3px;height:100%;cursor:pointer;padding:0 26px}.tabs___cNVh5 .tabsWrap___IJpOg .tab___fitSZ:hover{background:#00ddc733}.tabs___cNVh5 .tabsWrap___IJpOg .tab___fitSZ>div{position:relative;font-size:14px;font-weight:400;color:#fff;display:flex;align-items:center;height:100%}.tabs___cNVh5 .tabsWrap___IJpOg .active___LBYdH{background:#00ddc733}.tabs___cNVh5 .tabsWrap___IJpOg .active___LBYdH>div{font-weight:500;color:#00ddc7}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___JJ9sS{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t8Vfh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___NXwpW{align-items:center;box-align:center}.flex_box_center_end___d7nF9{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___RWkXa{flex-direction:column;box-orient:block-axis}.orderWrap___Z6UhI{display:box;display:flex;align-items:center}.orderIconWrap___vT5et{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___Xrpfj{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___FgOA0{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___ryj8i{color:#00ddc7!important}.cursorPointer___Gg3bB{cursor:pointer;color:#00ddc799;height:10px}.orderTextWrap___BAYWJ{font-size:14px;color:#00ddc7;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio{color:#3061d0;background:#e5eeff;border-radius:999px;border:1px solid #C9DBFF;height:36px}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio:hover{border:1px solid #3061D0}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.ClassRoomItem___F4pL0{border:1px solid transparent}.ClassRoomItem___F4pL0:hover{border:1px solid #165DFF!important}.ClassRoomItem___F4pL0:hover .TitleDom___DB76T{color:#165dff}.ClassRoomItem___F4pL0 .TitleDom___DB76T{color:#333}.flex_box_center___aqHcx{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___CONGd{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVyEh{align-items:center;box-align:center}.flex_box_center_end___sI_Vv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___kaVXu{flex-direction:column;box-orient:block-axis}.wrp___rtMqf{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___A_PEI [class=ant-drawer-content]{background:#f5f5f5!important}.drawer___A_PEI [class=ant-drawer-footer]{background:#fff;box-shadow:0 -4px 4px #0000000d;position:relative;border:0}.menu___K7LJA{padding:0;margin:15px 0;position:relative;z-index:2}.menu___K7LJA:hover{z-index:3}.menu___K7LJA>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menu___K7LJA>li a{color:#4b4b4b}.menu___K7LJA>li strong{cursor:pointer;font-size:14px}.menu___K7LJA>li:hover{color:#fff;background:#0152d9}.actived___jzUGM{background:#0152d9;color:#fff}.actived2___UNcoI{color:#0152d9!important}.subTag___E54g9{color:#05101a;cursor:pointer}.directionName___EyQuv{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menuDirection___qmHXv{padding:0;margin:15px 0;display:inline-block;position:relative;z-index:2}.menuDirection___qmHXv:hover{z-index:3}.menuDirection___qmHXv>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menuDirection___qmHXv>li a{color:#4b4b4b}.menuDirection___qmHXv>li strong{cursor:pointer;font-size:14px}.menuDirection___qmHXv>li:hover{color:#fff;background:#196efd}.menuDirection___qmHXv>li:hover>a>strong,.menuDirection___qmHXv>li:hover>strong{color:#fff;background:#196efd}.menuDirection___qmHXv>li:hover div{display:block}.menuDirection___qmHXv>li>div{display:none;position:absolute;left:0;top:30px;width:400px;padding:10px;background:#fff;max-height:400px;overflow:auto;z-index:8;box-shadow:0 2px 8px #00000026}.menuDirection___qmHXv>li>div h2{cursor:pointer;margin:10px 0}.menuDirection___qmHXv>li>div h2:hover{color:#196efd}.menuDirection___qmHXv>li>div ul{padding-left:0}.menuDirection___qmHXv>li>div ul li{cursor:pointer;display:inline-block;height:30px;line-height:30px;margin-right:20px;color:#999}.menuDirection___qmHXv>li>div ul li:hover{color:#196efd}.listItem___ZO5AA{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___ZO5AA>div{flex:1 1}.listItem___ZO5AA:hover{box-shadow:0 0 10px #ccc}.info___raEGy{margin-left:20px}.info___raEGy p{margin-top:18px}.title___TE8wt{display:box;display:flex;align-items:center;box-align:center}.title___TE8wt strong{color:#333}.titleLeft___cyNcR{flex:1 1}.titleRight___N91L3{margin-top:18px}.titleRight___N91L3 a{margin-right:20px;font-weight:700}.search___SLT83{width:600px!important;margin:30px 0}.search___SLT83 input,.search___SLT83 [class=ant-input-group-addon] button{height:50px;line-height:50px;padding:0 30px;font-size:16px}.description___xhaap{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___jXQvt{color:#999}.menuCourse___jXQvt ul,.menuCourse___jXQvt li{margin:0;padding:0;list-style:none}.menuCourse___jXQvt li{display:inline-block;margin-right:30px}.paginationWrap___lwYL6{margin:0 auto;display:box;display:flex;align-items:center;width:1200px}.paginationWrap___lwYL6 button{height:32px}.flex_box_center___TJ6ml{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KILKX{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___RppSx{align-items:center;box-align:center}.flex_box_center_end___LPGnq{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___jU2Jl{flex-direction:column;box-orient:block-axis}.wrp___zKb7p{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___TIdMd [class=ant-drawer-content]{background:#f5f5f5!important}.drawer___TIdMd [class=ant-drawer-footer]{background:#fff;box-shadow:0 -4px 4px #0000000d;position:relative;border:0}.menu___auLdF{padding:0;margin:12px 0;position:relative;z-index:2}.menu___auLdF:hover{z-index:3}.menu___auLdF>li{display:inline-block;position:relative;margin-right:20px;border-radius:32px;line-height:32px}.menu___auLdF>li a{color:#4b4b4b}.menu___auLdF>li strong{padding:6px 15px;border-radius:32px;cursor:pointer;font-weight:400}.menu___auLdF>li:hover>a>strong,.menu___auLdF>li:hover>strong{color:#fff;background:#0152d9}.menu___auLdF>li:hover div{display:block}.menu___auLdF>li>div{display:none;position:absolute;left:0;top:30px;width:400px;padding:10px;background:#fff;color:#333;max-height:400px;overflow:auto;z-index:8;box-shadow:0 2px 8px #00000026}.menu___auLdF>li>div h2{cursor:pointer;margin:10px 0}.menu___auLdF>li>div h2:hover{color:#0152d9}.menu___auLdF>li>div ul{padding-left:0}.menu___auLdF>li>div ul li{cursor:pointer;display:inline-block;height:30px;line-height:30px;margin-right:20px;color:#999}.menu___auLdF>li>div ul li:hover{color:#0152d9}.actived___zYS5Q{background:#0152d9;color:#fff}.actived2___OGoZn{color:#0152d9!important}.subTag___b2h92{cursor:pointer}.subTag___b2h92:hover{color:#0152d9}.listItem___xctQk{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___xctQk>div{flex:1 1}.listItem___xctQk:hover{box-shadow:0 0 10px #ccc}.listItem2___s8hCO{padding:0 10px;display:box;display:flex;background:#fff;cursor:pointer}.listItem2___s8hCO>div{flex:1 1}.listItem2___s8hCO [class~=ant-divider-horizontal]{margin:17px 0}.info___TVoda{margin-left:20px}.info___TVoda p{margin-top:18px}.title___tbgwQ{display:box;display:flex;align-items:center;box-align:center}.title___tbgwQ strong{color:#333}.titleLeft___itHF1{display:flex;justify-content:space-between;flex:1 1}.titleRight___iEOIZ{margin-top:18px}.titleRight___iEOIZ a{margin-right:20px;font-weight:700}.search___p3840{width:600px!important;margin:30px 0}.search___p3840 input,.search___p3840 [class=ant-input-group-addon] button{height:50px;line-height:50px;padding:0 30px;font-size:16px}.filter___M4Wxe button{border-radius:40px;box-shadow:none}.filter___M4Wxe [class~=ant-btn-default]{background:#eee;border-color:#eee;color:#999}.filter___M4Wxe [class~=ant-btn-primary]{background-color:#0152d9;border-color:#0152d9}.filter___M4Wxe [class~=ant-input]{border-radius:4px}.filter___M4Wxe [class~=ant-input-search-button]{border-top-right-radius:4px;border-bottom-right-radius:4px}.description___QUPVu{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___SpFbG{color:#999;margin-top:10px}.menuCourse___SpFbG ul,.menuCourse___SpFbG li{margin:0;padding:0;list-style:none}.menuCourse___SpFbG li{display:inline-block;margin-right:30px}.itemWrapper___FDtjf{box-shadow:0 2px 4px #e0dfe1;border-radius:4px;padding:15px 25px 15px 15px;cursor:pointer}.itemWrapper___FDtjf .imgWrapper___kuAby img{width:128px;height:80px;object-fit:cover}.itemWrapper___FDtjf .infoWrapper___kPiaa{display:flex;flex-direction:column;justify-content:space-between}.itemWrapper___FDtjf .infoWrapper___kPiaa .name___s6_8x span{font-size:16px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333}.itemWrapper___FDtjf .infoWrapper___kPiaa .name___s6_8x span:hover{cursor:pointer;color:#165dff}.itemWrapper___FDtjf .infoWrapper___kPiaa .info___f4ohA{font-size:14px;color:#000f37}.itemWrapper___FDtjf .infoWrapper___kPiaa .info___f4ohA .smallText___NUbDW{font-size:12px;white-space:nowrap}.itemWrapper___FDtjf .infoWrapper___kPiaa .rate___uCfIz{font-size:12px;color:#ffa100;position:relative;white-space:nowrap;top:-2px}.itemWrapper___FDtjf .btnWrapper___oEyAe{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}.itemWrapper___FDtjf .btnWrapper___oEyAe .removeBtn____Ucrs:hover{color:#e30000;border-color:#e30000}.textEllipsis___dla3G{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mr6___BYwoU{margin-right:6px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-body]{padding:30px 40px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-content]{margin-top:36px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns]{margin-top:40px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .okBtn___XoB2t{width:88px;color:#3061d0;border-color:#3061d0;background:#fff;height:32px;text-shadow:none;margin-left:20px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .cancelBtn___QjfJN{width:60px;height:32px;background:#f8f9fc;border-color:#c3cfe0;color:#464f66}.itemWrapper___ngbXA{box-shadow:0 2px 4px #e0dfe1;border-radius:4px;padding:15px 25px 15px 15px;cursor:pointer}.itemWrapper___ngbXA .imgWrapper___AT5j9 img{width:128px;height:80px;object-fit:cover}.itemWrapper___ngbXA .infoWrapper___xhMza{display:flex;flex-direction:column;justify-content:space-between}.itemWrapper___ngbXA .infoWrapper___xhMza .name___C2Snj span{font-size:16px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333}.itemWrapper___ngbXA .infoWrapper___xhMza .name___C2Snj span:hover{cursor:pointer;color:#165dff}.itemWrapper___ngbXA .infoWrapper___xhMza .info___roajb{font-size:14px;color:#000f37}.itemWrapper___ngbXA .infoWrapper___xhMza .info___roajb .smallText___oUD1O{font-size:12px}.itemWrapper___ngbXA .infoWrapper___xhMza .rate___FSIj9{font-size:12px;color:#ffa100;position:relative;top:-2px}.itemWrapper___ngbXA .btnWrapper___d_crD{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}.itemWrapper___ngbXA .btnWrapper___d_crD .removeBtn___ur6lt:hover{color:#e30000;border-color:#e30000}.textEllipsis___BHIv1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mr6___yqxpX{margin-right:6px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-body]{padding:30px 40px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-content]{margin-top:36px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns]{margin-top:40px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .okBtn___FmLSD{width:88px;color:#3061d0;border-color:#3061d0;background:#fff;height:32px;text-shadow:none;margin-left:20px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .cancelBtn___MZ1Al{width:60px;height:32px;background:#f8f9fc;border-color:#c3cfe0;color:#464f66}.flex_box_center___aDsO9{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___5V4Xk{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rNdEP{align-items:center;box-align:center}.flex_box_center_end___cKjnr{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___glFYD{flex-direction:column;box-orient:block-axis}.scoremodal___PfqOf [class~=ant-modal-body]{padding:30px 40px}.scoremodal___PfqOf [class~=ant-modal-footer]{margin-top:0!important;padding:0 0 20px!important}.scoremodal___PfqOf .selectWrapper___Mtqcz span[class~=ant-select-selection-placeholder]{color:#9096a3}.scoremodal___PfqOf .selectWrapper___Mtqcz div[class~=ant-select-selector]{border-radius:4px;height:38px!important}.scoremodal___PfqOf .selectWrapper___Mtqcz div[class~=ant-select-selector] input[class~=ant-select-selection-search-input],.scoremodal___PfqOf .selectWrapper___Mtqcz div[class~=ant-select-selector] span[class~=ant-select-selection-placeholder]{height:38px!important;line-height:36px!important}.scoremodal___PfqOf .selectWrapper___Mtqcz div[class~=ant-select-selector] span[class~=ant-select-selection-item]{line-height:36px!important}.scoremodal___PfqOf .selectWrapper___Mtqcz span[class~=ant-select-arrow]{right:12px}.scoremodal___PfqOf .selectWrappers___uX2K9 span[class~=ant-select-selection-placeholder]{color:#9096a3}.scoremodal___PfqOf .selectWrappers___uX2K9 div[class~=ant-select-selector]{border-radius:4px;height:38px!important}.scoremodal___PfqOf .selectWrappers___uX2K9 div[class~=ant-select-selector] input[class~=ant-select-selection-search-input],.scoremodal___PfqOf .selectWrappers___uX2K9 div[class~=ant-select-selector] span[class~=ant-select-selection-placeholder]{height:38px!important;line-height:36px!important}.scoremodal___PfqOf .selectWrappers___uX2K9 span[class~=ant-select-arrow]{right:12px}.scoremodal___PfqOf .allqingchu___IqL8g{margin-top:8px;color:#165dff;cursor:pointer}.scoremodal___PfqOf .allqingchu___IqL8g span{width:84px;height:20px;font-size:14px;font-weight:400;color:#165dff;line-height:20px;margin-left:5px}.scoremodal___PfqOf .allqingchu___IqL8g:hover,.scoremodal___PfqOf .allqingchu___IqL8g:hover span{color:#e30000}.scoremodal___PfqOf .title___UgYfD{color:#000;font-size:16px;font-weight:500;display:flex;width:100%;margin-top:10px}.scoremodal___PfqOf .score___LjJmD{margin-left:305px;color:#3061d0;text-align:end}.scoremodal___PfqOf .close___I0jAO{font-size:15px;cursor:pointer;color:#979797}.scoremodal___PfqOf .content___4u86F{display:flex;justify-content:space-between;margin-top:40px;color:#5f6368;font-size:14px;margin-bottom:24px}.scoremodal___PfqOf .content___4u86F span{display:flex;flex:1 1}.scoremodal___PfqOf .content___4u86F span:nth-child(4){display:flex;min-width:160px;align-items:center}.scoremodal___PfqOf .items___mK2L5{display:flex;justify-content:space-between;align-items:center;color:#5f6368;font-size:14px;margin-bottom:12px}.scoremodal___PfqOf .items___mK2L5 span{display:flex;flex:1 1;color:#000;font-weight:400}.scoremodal___PfqOf .items___mK2L5 span:nth-child(4){display:flex;min-width:160px;align-items:center;color:#9096a3}.scoremodal___PfqOf .bottom___vQTEm{width:100%;text-align:end}.scoremodal___PfqOf .bottom___vQTEm .yes___j81JQ{width:60px;height:32px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-weight:400;color:#fff!important}.scoremodal___PfqOf .bottom___vQTEm .no___kiUH4{margin-right:20px;width:60px;height:32px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-weight:400;color:#464f66!important;line-height:14px}.scoremodal___PfqOf .titlecount___lliQr{width:41px;height:22px;background:#fa6400;border-radius:15px;margin-left:5px;color:#fff;display:inline-flex;justify-content:center}.scoremodal___PfqOf .add___QhDj8{font-weight:400;color:#fa6400;line-height:14px;font-size:14px;position:absolute;top:2px}.scoremodal___PfqOf .search___QCCaL{display:flex;align-items:center;overflow:hidden;border-radius:19px;height:38px;width:290px;padding-left:20px;background-color:#f6f7f9;border:none}.scoremodal___PfqOf .search___QCCaL [class~=ant-input-affix-wrapper]{background-color:#f6f7f9;border:none}.scoremodal___PfqOf .search___QCCaL [class~=ant-input-affix-wrapper] input{height:19px!important;line-height:19px!important}.scoremodal___PfqOf .search___QCCaL [class~=ant-input-affix-wrapper]{outline:none!important;border:none!important;box-shadow:none!important}.scoremodal___PfqOf .search___QCCaL span[class~=ant-input-group-addon]{display:none}.scoremodal___PfqOf .search___QCCaL .searchIcon___oXRH5{margin-right:14px;cursor:pointer}.scoremodal___PfqOf .search___QCCaL input{background-color:#f6f7f9;font-size:14px}.scoremodal___PfqOf .tabWrap___Cu_4D{margin-bottom:18px}.scoremodal___PfqOf .tabWrap___Cu_4D div[class~=ant-tabs-tab]{font-size:14px;margin-right:40px!important;color:#5f6368}.scoremodal___PfqOf .tabWrap___Cu_4D div[class~=ant-tabs-tab-active] [class~=ant-tabs-tab-btn]{color:#232b40}.scoremodal___PfqOf .tabWrap___Cu_4D [class~=ant-tabs-nav]{margin:0;height:52px;padding:0 2px}.scoremodal___PfqOf .tabWrap___Cu_4D [class~=ant-tabs-nav] div[class~=ant-tabs-ink-bar]{background-color:#232b40;border-radius:100px 100px 0 0;height:3px}.scoremodal___PfqOf .tabWrap___Cu_4D [class~=ant-tabs-nav]:before{background:#f1f1f1}.previewModal___BVDlS div[class~=ant-modal-header]{padding-top:30px;padding-left:40px;padding-bottom:0}.previewModal___BVDlS div[class~=ant-modal-body]{padding:30px 40px}.previewModal___BVDlS button[class~=ant-modal-close]{top:17px;right:16px;transform:scale(1.2)}.flex_box_center___zojHa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___wmLZ4{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___DszWW{align-items:center;box-align:center}.flex_box_center_end___mVCv5{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___fbC9t{flex-direction:column;box-orient:block-axis}.warp___isAcM{max-height:552px;overflow:auto}.warp___isAcM .shixunbutton___h3Ybb{font-size:14px;color:#3061d0;margin-right:20px;font-weight:400;background:#3061d0;width:108px;height:32px;color:#fff;display:flex;align-items:center;justify-content:center;line-height:32px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:16px}.warp___isAcM .shixunbutton___h3Ybb i{font-size:12px}.warp___isAcM .redio___xDffb{display:flex;flex-wrap:nowrap;align-items:center;margin-bottom:25px}.warp___isAcM .redio___xDffb .redioitem___FFPtq{width:14px;height:14px;min-width:14px;background:#f5f5f5;border-radius:7px;border:1px solid #D9D9D9;margin-right:10px}.warp___isAcM .redio___xDffb .redioitemyes___pF7ID{font-size:14px;color:#37ad83;margin-right:10px}.warp___isAcM .redio___xDffb .title___mnPZc{color:#000;font-size:16px}.warp___isAcM .redio___xDffb .titleyes___wrtWQ{color:#37ad83;font-size:16px}.warp___isAcM .redio___xDffb .yestag___D4krY{width:60px;height:20px;min-width:60px;color:#37ad83;text-align:center;margin-left:16px;line-height:20px;font-size:12px;background:#ebf6f2}.warp___isAcM .qcount___W5pwO{display:flex;align-items:center;margin-bottom:20px}.warp___isAcM .qcount___W5pwO .score___eKQzl{width:44px;height:20px;background:#ececec99;border-radius:0 0 2px;text-align:center;color:#464f66;margin-right:5px}.warp___isAcM .qcount___W5pwO .qtitle___lb8MD{width:100%;color:#000}.warp___isAcM .checkbox___QpUm4{display:flex;align-items:center;margin-bottom:25px}.warp___isAcM .checkbox___QpUm4 .checkboxitem___Wm2SH{width:14px;height:14px;min-width:14px;background:#f5f5f5;border-radius:2px;margin-right:10px;border:1px solid #D9D9D9}.warp___isAcM .checkbox___QpUm4 .checkboxitemyes___VVVTe{font-size:14px;color:#37ad83;margin-right:10px}.warp___isAcM .checkbox___QpUm4 .title___mnPZc{color:#000;font-size:16px}.warp___isAcM .checkbox___QpUm4 .titleyes___wrtWQ{color:#37ad83;font-size:16px}.warp___isAcM .checkbox___QpUm4 .yestag___D4krY{width:60px;min-width:60px;height:20px;color:#37ad83;text-align:center;margin-left:16px;line-height:20px;font-size:12px;background:#ebf6f2}.warp___isAcM .bottom___Mn_Bw{margin-top:20px;background-color:#f6f7f9;padding:40px 20px 20px}.warp___isAcM .bottom___Mn_Bw .bottomitem___JTyHT{margin-bottom:25px;display:flex}.warp___isAcM .bottom___Mn_Bw .bottomitem___JTyHT .left___nQqpo{color:#666;text-align:end;width:56px;min-width:48px;font-size:14px}.warp___isAcM .bottom___Mn_Bw .bottomitem___JTyHT .right___v58qy{color:#000;margin-left:10px;font-size:14px}.warp___isAcM .completion___BnZSp .title___mnPZc{width:70px;height:46px;min-width:70px;display:flex;align-items:center;justify-content:center;color:#666}.warp___isAcM .completion___BnZSp .content___MU8hZ{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.warp___isAcM .completion___BnZSp .content___MU8hZ .items___a7i54{padding:14px 16px;border:1px solid #dcdcdc;height:46px;border-radius:2px;margin-left:20px;color:#37ad83;min-width:102px;display:inline-block;font-size:14px;text-align:center;margin-bottom:20px}.warp___isAcM .simple___GDw3K .title___mnPZc{color:#37ad83;font-size:14px;margin-top:2px;min-width:56px;margin-bottom:3px}.warp___isAcM .simple___GDw3K .content___MU8hZ{font-size:16px}.warp___isAcM .shixun___DGzTe{display:flex;align-items:center;margin-top:20px}.warp___isAcM .shixun___DGzTe .score___eKQzl{width:44px;height:25px;background:#ececec99;border-radius:0 0 2px;text-align:center;line-height:25px;color:#464f66;margin-right:10px}.warp___isAcM .shixun___DGzTe .qtitle___lb8MD{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;width:80%;color:#000;font-weight:400;font-size:16px}.warp___isAcM .combination___AG9cr{display:flex;align-items:center;margin-top:20px}.warp___isAcM .combination___AG9cr .score___eKQzl{width:44px;height:25px;background:#ececec99;border-radius:0 0 2px;text-align:center;line-height:25px;color:#464f66;margin-right:10px}.warp___isAcM .combination___AG9cr .qtitle___lb8MD{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;width:80%;color:#000;font-weight:600;font-size:16px}.brief___LOzpE{font-size:14px;font-weight:400;margin-bottom:30px}.contentTitle___xkdcN{display:flex;align-items:center;font-size:14px;font-weight:400;color:#000}.content___Vtri0{font-size:14px;font-weight:400}.tips___tuAtH{font-size:12px;font-weight:400;color:#6b758b;padding-left:14px}.antdTable___s8T2N{margin-top:10px;margin-bottom:20px}.antdTable___s8T2N thead[class~=ant-table-thead]>tr>th{background:#f2f2f2;color:#5f6367}.antdTable___s8T2N .tableCell___kN9Fw{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.antdModal___WVBk3 div[class~=ant-modal-header]{padding-top:30px;padding-left:40px}.antdModal___WVBk3 button[class~=ant-modal-close]{top:18px;right:10px}.antdModal___WVBk3 button[class~=ant-modal-close] span[class~=ant-modal-close-x]{font-size:18px}.antdModal___WVBk3 div[class~=ant-modal-body]{padding-left:40px;padding-right:40px;max-height:620px;overflow:auto}.antdModal___WVBk3 div[class~=ant-modal-footer]{border-top:none;padding-bottom:30px;padding-right:40px}.orangeColor___ryB2u{color:#fe6300}.text___FxbAX{display:flex;align-items:center;justify-content:space-around;width:58px;height:24px;background:#e40d0d21;border-radius:4px;border:1px solid rgba(251,43,43,.16);font-weight:400;font-size:14px;color:#e1140f;line-height:14px;text-align:left;font-style:normal;cursor:pointer}.text___FxbAX:hover{border:1px solid rgba(225,20,15,.5)}.wrap___UlBQ1{width:402px;height:254px;padding:8px 13px}.wrap___UlBQ1 p{width:352px;height:66px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#191919;line-height:22px;text-align:left;font-style:normal;margin-bottom:15px}.wrap___UlBQ1 .contact____pUDq{display:flex;flex-direction:column;align-items:center}.wrap___UlBQ1 .img___BapAv{width:130px;height:130px;display:flex;align-items:center;justify-content:space-around}.flex_box_center___rQJfc{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___MDW24{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___RZbAv{align-items:center;box-align:center}.flex_box_center_end___ILhJA{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Fmij7{flex-direction:column;box-orient:block-axis}.orangeColor___U5vU6{color:#fa6400}.redColor___qYa6X{color:#e30000}.statustitle___pTBLm{font-weight:600;color:#333;margin-left:5px}.statusbody___qUPQx{background:#f6f7f9;padding:10px 20px;margin-top:5px}.flex___VtL45{display:flex;align-items:center}.contentListWrap___ZH7d2{margin:0 auto;overflow:hidden}.contentListWrap___ZH7d2 .li___j_LdE{border-radius:2px;margin-bottom:30px;border:1px solid #ececec;box-shadow:0 2px 4px #eaeef4}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s{background-color:#f6f7f9;height:42px;border-top:1px solid #f1f1f1;display:flex;align-items:center;padding-left:20px;padding-right:15px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s .actionLeftItem___G9LXk{font-size:14px;color:#5f6368;margin-right:30px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s .actionLeftItem___G9LXk.questionTypeName___JxbiV{margin-right:14px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s .actionLeftItem___G9LXk>span{margin-left:8px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s p{margin:0}.more___Zc_dQ{margin-left:auto;height:42px;display:flex;align-items:center}.textBtn___vA27R{font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:42px;cursor:pointer}.delBtn___BUYGb:hover{color:red}.line___D6NTm{display:inline-flex;align-items:center;margin-right:20px;margin-left:20px}.line___D6NTm .b1___pDdQ9{display:inline-block;width:1px;height:38px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.line___D6NTm .b2___VvH5K{display:inline-block;width:1px;height:38px;margin-left:0;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.flex_box_center___K3pXk{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___JNXiy{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lX_K7{align-items:center;box-align:center}.flex_box_center_end___ESJAL{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nMTYm{flex-direction:column;box-orient:block-axis}.line___cNtUM{display:inline-flex;align-items:center;margin-right:20px;margin-left:20px}.line___cNtUM .b1___xIRxk{display:inline-block;width:1px;height:38px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.line___cNtUM .b2___N5uit{display:inline-block;width:1px;height:38px;margin-left:0;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.list___SBMGo{display:flex;align-items:center;justify-content:flex-start;height:42px;background-color:#fff;padding:0 13px 0 20px}.list___SBMGo .title___zQP91{display:flex;flex:1 1;cursor:pointer;overflow:hidden;width:100%;white-space:nowrap}.list___SBMGo .title___zQP91>div{overflow:hidden;text-overflow:ellipsis}.list___SBMGo .tr___uaxLL{color:#000;cursor:pointer;font-size:14px}.list___SBMGo .tr___uaxLL i{font-size:12px;transition:.5s;display:inline-block;margin-left:6px}.itemDetail___Ye51x{padding:30px 44px;background-color:#f6f7f9}.answerWrapper___WJAPa{background-color:#fff;border-radius:6px;padding:40px 15px 30px;position:relative}.answerWrapper___WJAPa .decoration___fOLFB{height:28px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.row___FvSRM{display:box;display:flex;flex-direction:row;align-items:center;padding:0}.typeRow___qpDsw{display:box;display:flex;justify-content:space-between;align-items:center;width:100%}.type___a8Bs6{display:box;display:flex;color:#000;font-size:14px;line-height:17px}.typeName___EfvMr{color:#0152d9;cursor:default;height:26px;line-height:26px}.typeIcon___XnhBc{min-width:50px;line-height:20px;height:20px;border-radius:13px;margin-right:10px;font-size:12px;cursor:default;text-align:center;padding:0 3px}.unpublished___h3A34{color:#999;border:1px solid #999999}.private___Ok_kP{color:#fa6400;border:1px solid #fa6400}.public___V5_HF{color:#44d7b6;border:1px solid #44d7b6}.reviewFlag___MWDMc{border:1px solid #44d7b6;background-color:#44d7b633;color:#44d7b6;font-size:12px;padding:1px 5px;border-radius:5px}.reviewFlag___MWDMc:hover{color:#44d7b6}.typeRightAction___zwJ4e{display:box;display:flex}.actionLink___XxdsL{color:#333;padding:10px 0}.actionIcon___YoZs8{line-height:26px;color:#0152d9;margin-left:5px;margin-right:4px;font-size:14px}.topicTitle___TXfB_{font-weight:700;font-size:16px;cursor:default;color:#000;line-height:28px;padding-right:5px}.topicTitleContent___MceUW{font-size:14px;color:#000;line-height:24px;font-family:auto}.topicTitleContent___MceUW p{line-height:28px}.judgmentContent___Adte7{display:box;display:flex;flex-direction:row;line-height:28px;font-size:14px;color:#000;margin-top:10px}.judgmentContent___Adte7 span{font-size:14px}.programContent___R8AFa{color:#000;line-height:28px;font-size:14px}.otherContent___CNAVC{display:box;display:flex;flex-direction:column;color:#000;font-size:14px;line-height:19px}.combinationContent___NWKpD{display:flex;flex-direction:column;color:#000;width:100%;font-size:14px}.combinationContent___NWKpD .con___MJkTE{width:calc(100% + 40px);background:#f1f1f1;padding:10px 20px;margin-bottom:10px;margin-left:-20px;z-index:10px}.combinationContent___NWKpD .con___MJkTE>div{display:flex;margin-top:7px}.combinationContent___NWKpD .con___MJkTE>div>span{line-height:27px;flex-shrink:0}.otherContentItem___sXGMT{display:box;display:flex;flex-direction:row}.otherContentItem___sXGMT p{line-height:28px;font-size:14px;flex-shrink:0}.otehrContentHtml___MKkjT{font-size:16px;color:#000;line-height:28px}.difficultyRow___E6YVK{height:28px;line-height:28px;font-size:14px;color:#888}.updateTimeRow___MPFJY{display:box;display:flex;flex-direction:row;justify-content:space-between;width:100%}.updateTimeWrap___iIz5W{display:box;display:flex;flex-direction:row;align-items:center;color:#000;font-size:14px;line-height:28px}.updateTimeContent___CpqJg{line-height:28px;font-size:14px;color:#bbb}.programLanguage___lku0d{line-height:28px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000}.updateTimeRowAction___Y6grB{display:box;display:flex;flex-direction:row}.bottomAction___sQwM3{border-radius:5px;text-align:center;font-size:12px;cursor:pointer;padding:0 10px;height:30px;line-height:30px;display:inline-block;margin-left:10px}.borderColorBlue___vZe0j{border:1px solid #0152d9;background:#0152d9;color:#fff;line-height:30px}.borderColorBlue___vZe0j:hover{color:#fff}.borderColorRed___GPm9E{border:1px solid red;color:red;line-height:30px}.borderColorRed___GPm9E:hover{color:red}.borderColorFFF___izaeA{border:1px solid #0152d9;background:#f5f5f5;color:#0152d9;border-radius:5px}.borderColorFFF___izaeA:hover{color:#0152d9}.borderColorGray___WdIyN{border:1px solid #cccccc;background:#ccc;color:#fff;line-height:30px}.borderColorGray___WdIyN:hover{color:#fff}.selectIcon___I35Ch{color:#fff;height:20px;line-height:20px;display:inline-block;margin-left:7px;margin-right:5px;font-size:12px}.colorGreen___yFw84{color:#32bd8c}.parseAnswerBorder___tmhXi{border-top:1px solid #eeeeee;margin-top:23px}.answer___c9YYj{display:box;display:flex;flex-direction:row;color:#000;font-size:14px;margin-top:15px}.answerHtml___sp4Xx{color:#000;font-size:14px}.parse___Lif5r{display:box;display:flex;flex-direction:row;color:#000;font-size:14px;margin-top:5px}.parseText___KMhnK{line-height:28px;font-size:14px;word-break:break-word;color:#000;flex-shrink:0}.parseAnswer___aFs0o{word-break:break-word;line-height:28px;font-size:14px;color:#000}.parseAnswerHtml___AfP6o{font-size:14px;color:#000;line-height:28px}.actionBar___Q6e1E{display:flex;flex-direction:row;justify-content:space-between;align-items:center;background-color:#f5f5f5;font-size:14px;height:52px;padding:0 10px;border-radius:5px}.know___EtJbV{display:inline-block;max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#111;vertical-align:bottom}.menu___ODbWA>li{text-align:center}.bottom___yLg8j{text-align:end;font-size:14px;margin-bottom:10px;background-color:#f6f7f9}.bottom___yLg8j span{margin-left:20px;cursor:pointer;display:inline-block;width:66px;height:24px;line-height:24px;font-size:12px;text-align:center;border-radius:4px;border:1px solid #999999;color:#666}.bottom___yLg8j span i{display:inline-block;transform:rotate(180deg) scale(.7) translate(-4px,2px);font-size:12px}.bottom___yLg8j span:hover{color:#0152d9;border:1px solid #0152d9}.textBtn___p8TrW{font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:42px}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.modalContent___UXmJC{text-align:center;margin-top:10px;color:#333;font-size:16px}.modalContentLeft___JOFgX{text-align:left;color:#333;font-size:16px}.green___rI_w_ span,.green___rI_w_ p,.green___rI_w_ h1,.green___rI_w_ h2,.green___rI_w_ h3,.green___rI_w_ h4,.green___rI_w_ h5,.green___rI_w_ h6,.green___rI_w_ b,.green___rI_w_ strong{color:#00e373}.green___rI_w_ .textArea___OTapv{border:1px solid #00e373}.red___cDswv span,.red___cDswv p,.red___cDswv h1,.red___cDswv h2,.red___cDswv h3,.red___cDswv h4,.red___cDswv h5,.red___cDswv h6,.red___cDswv b,.red___cDswv strong{color:#e02020}.red___cDswv .textArea___OTapv{border:1px solid #e02020}.row___CE3Y7{display:flex;align-items:baseline;margin-top:5px}.html___u9n4r{max-width:610px;margin-right:10px}.line___Lh9Lb{height:1px;background-color:#eee;margin:20px 0}.footer___bruwa{display:flex;align-items:center;justify-content:flex-end;height:46px;background:#030814;padding-right:15px;border-top:1px solid #030814;border-bottom:1px solid #030814}.whiteFooter___mR7kn{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #fff}.error___KO0Jg{font-size:12px;color:#fb3226}.case___L0pNc{background:#0e1525;position:relative}.case___L0pNc .resize-y-bar___NK0gI{height:1px;width:100%;background:#3d445c;cursor:ns-resize;position:absolute;top:0;left:0;z-index:10}.case___L0pNc .resize-y-bar___NK0gI>i{color:#0053dc;position:absolute;top:50%;left:50%;margin-top:-7px;margin-left:-17px;z-index:10}.case___L0pNc .unfoldBtn___aMmZw{width:98px;height:24px;background:#3d445c;border-radius:8px 8px 0 0;position:absolute;left:50%;transform:translate(-50%);top:-24px;font-size:14px;color:#8d97af;line-height:24px;text-align:center;cursor:pointer;user-select:none}.case___L0pNc .caseHead___EuMPr{display:flex;align-items:center;height:34px;padding:0 16px}.case___L0pNc .caseHead___EuMPr .dot___Iky9k{width:10px;height:10px;background:#95a4c5;border-radius:50%;margin-right:4px;margin-top:2px}.case___L0pNc .caseHead___EuMPr .text___lMSx6{font-size:14px;color:#dde3ea}.case___L0pNc .caseHead___EuMPr .pass___XjijC{font-size:14px;color:#2abd8c;margin-left:10px}.case___L0pNc .caseHead___EuMPr .noPass___JxpWk{font-size:14px;color:#ff2c29;margin-left:10px}.case___L0pNc .caseHead___EuMPr .btns___FPIaK{margin-left:auto;display:flex;align-items:center}.case___L0pNc .caseHead___EuMPr .btns___FPIaK div{margin-left:15px;cursor:pointer;color:#bfbfbf}.case___L0pNc .caseHead___EuMPr .btns___FPIaK div i{font-size:14px;color:#687799;margin-right:5px}.case___L0pNc .result___oRj1h{height:100%;display:flex;padding:0 20px 10px}.case___L0pNc .result___oRj1h .title___IhMSa{flex-shrink:0;height:30px;background:#22293b;padding-left:15px;line-height:30px}.case___L0pNc .result___oRj1h .title___IhMSa span{color:#bfbfbf;font-size:14px}.case___L0pNc .result___oRj1h .left___XlC98{width:424px;flex-shrink:0;display:flex;flex-direction:column;margin-right:4px;overflow:hidden}.case___L0pNc .result___oRj1h .left___XlC98 .leftNode___NGHgx{flex:1 1;background:#1b2333}.case___L0pNc .result___oRj1h .left___XlC98 .leftNode___NGHgx textarea{background:none;border:none;color:#fff;resize:none;height:100%;padding:15px}.case___L0pNc .result___oRj1h .left___XlC98 .leftNode___NGHgx textarea::placeholder{color:#8f96b1!important}.case___L0pNc .result___oRj1h .right____fIu_{flex:1 1;display:flex;flex-direction:column;overflow:hidden}.case___L0pNc .result___oRj1h .node___MwdH7{flex:1 1;overflow:auto;position:relative;color:#fff;background:#2c32464d;padding:15px}.case___L0pNc .result___oRj1h .node___MwdH7 pre{overflow:hidden;margin-bottom:0;white-space:pre-wrap}.case___L0pNc .elseNode___WjFIg{background:#22293b;display:flex;align-items:start;margin:0 20px 4px}.case___L0pNc .elseNode___WjFIg .nameWrap___bEdbD{margin-left:15px;margin-top:4px;color:#bfbfbf}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt{flex:1 1;position:relative}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .scrollBox___hWkc9{overflow:auto;color:#fff;margin-left:20px;margin-top:6px;padding-right:90px;white-space:pre-wrap;margin-bottom:0}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .action___xBwDi{position:absolute;z-index:10;top:3px;right:26px}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .action___xBwDi span{margin-right:15px;color:#1890ff;cursor:pointer}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .action___xBwDi i{color:#687799;cursor:pointer;font-size:14px}.whiteCase___AZiDR{background:#f6f7f9}.whiteCase___AZiDR .resize-y-bar___NK0gI{background:#ddd}.whiteCase___AZiDR .unfoldBtn___aMmZw{background:#e9eaea;color:#5f6368}.whiteCase___AZiDR .caseHead___EuMPr .text___lMSx6{color:#333}.whiteCase___AZiDR .caseHead___EuMPr .btns___FPIaK div{color:#666}.whiteCase___AZiDR .caseHead___EuMPr .btns___FPIaK div i{color:#687799}.whiteCase___AZiDR .result___oRj1h .title___IhMSa{background:#fff}.whiteCase___AZiDR .result___oRj1h .title___IhMSa span{color:#333}.whiteCase___AZiDR .result___oRj1h .leftNode___NGHgx{background:#fafafa!important}.whiteCase___AZiDR .result___oRj1h .leftNode___NGHgx textarea{color:#333!important}.whiteCase___AZiDR .result___oRj1h .node___MwdH7{background:#fafafa!important;color:#333}.whiteCase___AZiDR .elseNode___WjFIg{background:#fafafa;color:#333}.whiteCase___AZiDR .elseNode___WjFIg .nameWrap___bEdbD span{color:#333}.whiteCase___AZiDR .elseNode___WjFIg .scrollBox___hWkc9{color:#000!important}.disabled___lWQU2:disabled{color:#d9d9d9!important;border-color:#d9d9d9!important}.codeHead___l8q5R{height:40px;background:#161d2c;display:flex;align-items:center}.codeHead___l8q5R .navWrap___xdWQe{display:flex;align-items:center}.codeHead___l8q5R .navWrap___xdWQe .nav___JKPVX{width:112px;height:40px;background:#161d2c;border:1px solid #161D2C;border-radius:2px;margin-right:1px;font-weight:500;font-size:14px;color:#d1d1d1;text-align:center;line-height:38px;cursor:pointer}.codeHead___l8q5R .navWrap___xdWQe .nav___JKPVX.active___DTAtT{background:#1b2333;color:#fff}.codeHead___l8q5R .navWrap___xdWQe .nav___JKPVX i{font-size:14px;color:#3f93b1;margin-right:10px}.whiteCodeHead___wDOny{background:#f6f7f9}.whiteCodeHead___wDOny .navWrap___xdWQe .nav___JKPVX{width:112px;height:40px;background:linear-gradient(180deg,#fff,#f6f7f9),#f6f7f9;box-shadow:inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #BACFFE;color:#666}.whiteCodeHead___wDOny .navWrap___xdWQe .nav___JKPVX.active___DTAtT{background:#3061d0;color:#fff;box-shadow:none}.whiteCodeHead___wDOny .navWrap___xdWQe .nav___JKPVX.active___DTAtT i{color:#fff}.header___VjNh9{display:flex;align-items:center;height:50px;width:100%;background:#0e1525;color:#fff;padding:0 20px}.header___VjNh9 h2{text-align:center;color:#fff;flex:1 0 auto;margin:0;font-size:16px}.header___VjNh9 a{color:#fff}.header___VjNh9 div{display:flex;flex-flow:row nowrap;align-items:center}.header___VjNh9 div img{border-radius:18px;margin-right:10px;overflow:hidden;width:36px;height:36px}.header___VjNh9 .timepiece___yuqJC{width:94px;height:30px;background:#242936;border-radius:15px;font-weight:500;font-size:16px;color:#42d5a0;margin-right:15px;justify-content:center}.header___VjNh9 .btn_edit___ozzux{width:82px;height:30px;background:#3061d0;border-radius:15px;margin-right:10px;text-align:center;line-height:30px}.whiteHeader___REV3m{background:#fff}.whiteHeader___REV3m .timepiece___yuqJC{background:#fff;box-shadow:0 2px 4px #e0dfe1}.djs___v0Ru7{display:inline-block!important}.myProblems___DKSbs{height:calc(100vh - 50px)!important}.whiteMyProblems___k0QS3 section[class~=resize-x-bar]{background:#fff!important}.fullMask___QZH1M{position:fixed;z-index:1000;width:100vw;height:100vh;top:0;left:0;background:transparent;cursor:ns-resize;display:none}.ldsRing___mpBZC{position:relative;width:40px;height:40px;margin:0 auto}.idsRingWrapper___Of9_n{position:absolute;z-index:1000;width:100%;height:100%;left:0;top:0;display:flex;flex-flow:column nowrap;justify-content:center}.idsRingWrapper___Of9_n p{text-align:center;margin-top:12px}.ldsRing___mpBZC div{box-sizing:border-box;display:block;position:absolute;width:32px;height:32px;margin:4px;border:4px solid #1976d2;border-radius:50%;animation:ldsring___o0w2t 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#1976d2 transparent transparent transparent}.ldsRing___mpBZC div:nth-child(1){animation-delay:-.45s}.ldsRing___mpBZC div:nth-child(2){animation-delay:-.3s}.ldsRing___mpBZC div:nth-child(3){animation-delay:-.15s}@keyframes ldsring___o0w2t{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.record-detail-info{width:100%;background-color:#fff;min-height:260px}.record-detail-info .record-info{display:flex;align-items:center;flex-flow:row nowrap;list-style:none;padding:0;margin-bottom:20px}.record-detail-info .record-info li{margin-right:40px}.record-detail-info .record-info li:last-child{margin-right:0;flex:1 0;text-align:right}.record-detail-info .record-detail-body{padding:8px 0;max-height:80vh}.footer{display:flex;flex-flow:row nowrap;align-items:center;height:56px;background:#121c24;color:#fff;padding:0 20px;justify-content:space-between}.test-case-panel{position:relative}.test-case-panel .error{font-size:12px;color:#fb3226}.test-case-panel .test-case-panel-body{position:absolute;will-change:transform;width:100%;transition:all .2s linear;bottom:0;transform:translate3d(0,350px,0);opacity:.1}.test-case-panel .test-case-panel-body pre{max-height:150px;overflow:auto}.test-case-panel .test-case-panel-body.active{transform:translate3d(0,-56px,0);opacity:1}.test-case-panel .tab-panel-body{padding:20px 10px;height:240px;background-color:#070f19;display:flex;flex-flow:column nowrap;justify-content:center;color:#ddd}.test-case-panel .tab-panel-body .tip{text-align:center}.test-case-panel .tab-panel-body textarea{background:#070f19!important;color:#fff;font-size:14px;border:0 solid transparent!important;height:200px;outline:none}.test-case-panel .btn-green{margin-right:10px;color:#28bd8b;border-color:#28bd8b}.test-case-panel .btn-blue{margin-right:10px;color:#0152d9;border-color:#0152d9}.test-case-panel .btn-blue span{pointer-events:none}.test-case-panel .btn-collapse{position:absolute;top:0;width:54px;height:27px;left:50%;margin-left:-27px;background:#2a3a4f;z-index:8;border-bottom-left-radius:100px;border-bottom-right-radius:100px;color:#fff;text-align:center;cursor:pointer;opacity:.4;transition:all .3s}.test-case-panel .btn-collapse.up{top:-294px}ul.s-navs{list-style:none;margin:0;padding:0 17px;height:54px;display:flex;flex-flow:row nowrap;align-items:center;background:#0f1e31;font-size:14px;color:#ddd}ul.s-navs.bg-white{background:#fff;color:#888}ul.s-navs.bg-white a{color:#888}ul.s-navs a{color:#ddd;display:block;margin-right:20px;height:54px;line-height:54px;border-bottom:2px solid transparent}ul.s-navs a.active{color:#5091ff;border-bottom:2px solid #5091ff}#educoder .custom-ant-disabled:disabled{color:inherit}.XtermText-valueRef .xterm .xterm-viewport{overflow:auto}.inputs textarea::placeholder{color:#536879!important}.flex_box_center___Gc4dd{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___K2f1v{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pupRp{align-items:center;box-align:center}.flex_box_center_end___UDLRC{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___a5uDo{flex-direction:column;box-orient:block-axis}.result___gu5zt{background:#070f19;height:100%;display:flex}.result___gu5zt .title___xrnx2{margin-top:20px;margin-bottom:10px;flex-shrink:0}.result___gu5zt .title___xrnx2 span{color:#bbbcbe}.result___gu5zt .left___IAxp9{width:340px;border-right:1px solid #333131;padding:0 20px 10px;flex-shrink:0;display:flex;flex-direction:column}.result___gu5zt .left___IAxp9 .leftNode___HL8fG{flex:1 1;background:#121c24}.result___gu5zt .left___IAxp9 .leftNode___HL8fG textarea{background:none;border:none;color:#fff;resize:none;height:100%;padding:10px}.result___gu5zt .left___IAxp9 .leftNode___HL8fG textarea::placeholder{color:#536879!important}.result___gu5zt .right___ZXYmw{flex:1 1;padding:0 20px 10px;display:flex;flex-direction:column}.result___gu5zt .right___ZXYmw .rightNode___jYL5_{flex:1 1;overflow:auto;position:relative;color:#fff}.result___gu5zt .right___ZXYmw .rightNode___jYL5_ .custom-spinner>div>div{border:4px solid #00D4F3!important;border-color:#00D4F3 transparent transparent transparent!important}.result___gu5zt .right___ZXYmw .rightNode___jYL5_ .custom-spinner p{color:#00d4f3!important}.split-panel-container{width:100%;height:calc(100vh - 121px);display:flex;flex-flow:row nowrap;align-items:center;overflow:hidden}.split-panel-container>section{height:100%}.split-panel-container.my-problems{height:calc(100vh - 65px)}.split-panel-container .resize-x-bar{width:4px;cursor:ew-resize;height:100%;display:flex;flex-flow:column nowrap;justify-content:center;background:#111c24}.split-panel-container .btn-resize{display:flex;flex-flow:column nowrap;text-align:center;justify-content:center;align-items:center;width:24px;height:24px;font-size:24px;z-index:10;border-radius:50%;position:absolute;margin-left:-10px;opacity:.7;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;background-color:#e0e0e0;color:#000000de}.list{display:flex;align-items:center;font-size:14px;margin:7px 0;padding-left:4px}.list dt,.list dd{margin:0}.list dt{flex:1 1;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;word-break:break-all}.list dd{width:66px;text-align:right;color:#0152d9;cursor:pointer}.list .copy{color:#38bcd8}.tpi-code-setting{height:calc(100vh - 54px);background:#031b2a;color:#ddd;font-size:13px;line-height:17px}.tpi-code-setting.oj{height:calc(100vh - 65px)}.tpi-code-setting h3{color:#008cff;font-size:16px;line-height:21px;padding-bottom:12px;text-align:left;width:100%;display:block;border-bottom:1px solid #092436}.tpi-code-setting .file-item{color:#ddd;padding:20px 0 0;display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center}.tpi-code-setting .file-item.action{justify-content:flex-start}.tpi-code-setting .file-item.action .iconfont{margin-right:21px}.tpi-code-setting .file-item span{max-width:148px}.tpi-code-setting .file-item:last-child{margin-bottom:25px}.tpi-code-setting span{color:#597a8f}.setting-drawer .ant-drawer-content-wrapper{top:54px;bottom:51px}.setting-drawer .ant-drawer-content{height:auto}.oj .ant-drawer-content-wrapper{top:65px}.setting-drawer .ant-drawer-body,.oj .ant-drawer-body{background:#031b2a}.setting-drawer .ant-drawer-body,.oj .ant-drawer-body{height:auto}.setting-drawer .ant-select-selection,.oj .ant-select-selection{width:120px;background:#0a2030;color:#597a8f;border:1px solid #597a8f}.list___IRN6i{display:flex;align-items:center;font-size:14px;margin:7px 0;padding-left:4px}.list___IRN6i dt,.list___IRN6i dd{margin:0}.list___IRN6i dt{flex:1 1;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;word-break:break-all}.list___IRN6i dd{width:66px;text-align:right;color:#0152d9;cursor:pointer}.list___IRN6i .copy___qCn9B{color:#38bcd8}.right-panel{position:relative}.btn-notes{position:absolute;right:0;top:50%;width:36px;height:36px;margin-top:-18px;border-radius:50%;background:#5091ff;color:#fff;font-size:18px;text-align:center;transform:translate(18px);will-change:transform;cursor:pointer;opacity:.5;transition:transform .3s linear,opacity .3s linear;z-index:100;display:flex;flex-flow:column nowrap;justify-content:center}.btn-notes:hover{opacity:1;color:#fff;transform:translate(-10px)}.note-form-area{position:absolute;right:10px;top:50%;width:450px;margin-top:-100px;background:#fff;border-radius:5px;padding:14px 10px 0;transform:translate(500px);will-change:transform;transition:transform .3s}.note-form-area.active{transform:translate(0)}.oj-modal .ant-modal-body{padding:0}.oj-modal .oj-modal-content{display:flex;flex-direction:column;align-items:center}.oj-modal .oj-modal-content>aside{font-size:14px;margin-top:50px;color:#333;width:438px}.oj-modal .oj-modal-head{width:100%;height:120px;padding-left:177px;padding-right:40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f1f1}.oj-modal .oj-modal-btn{width:180px;height:50px;background:#0152d9;border-radius:4px;font-size:16px;font-weight:500;color:#fff;cursor:pointer;line-height:50px;text-align:center;margin-bottom:30px}.oj-modal .oj-modal-tt{margin-right:51px;display:inline-flex;flex-direction:column;transform:translateY(-4px)}.oj-modal .oj-modal-tt>span:last-child{width:160px;height:6px;background:#e7f3ff;border-radius:3px}.oj-modal .oj-modal-tt>span:last-child span{display:inherit;width:60px;height:6px;background:#0152d9;border-radius:3px}.oj-modal i{color:#666;cursor:pointer}.oj-select{margin-left:20px}.oj-select .ant-select-selector{background:#25343e!important;border:0px!important;height:30px!important}.oj-select .ant-select-arrow{color:#fff}.oj-select .ant-select-selection-item{color:#fff;font-size:12px;line-height:30px!important}.exercise_user_info{font-size:14px;font-weight:400;color:#b2bacb}.exercise_user_info span{font-size:16px;font-weight:500;color:#55bfd6}.djs{margin-top:3px!important;display:inline-block!important}.time{margin-top:5px!important;display:inline-block!important}.flex_box_center___rM3g8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Oc7SE{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___MnmYE{align-items:center;box-align:center}.flex_box_center_end___QQh83{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ZRFbL{flex-direction:column;box-orient:block-axis}.left-panel___SKGyd{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden}.left-panel___SKGyd .tab-panel-body___gABdv{padding:0 16px;overflow:auto;flex:1 1}.left-panel___SKGyd .tab-panel-body___gABdv pre:empty{display:none}.left-panel___SKGyd .b1___QpbmK{border-bottom:1px solid #eaecef}.left-panel___SKGyd .oj-width-input___eJQWT{width:270px}@media screen and (max-width: 1280px){.left-panel___SKGyd .oj-mr___AxILO{margin-right:20px}.left-panel___SKGyd .oj-width-input___eJQWT{width:235px}}.s-navs___FXwOi{list-style:none;margin:0;padding:0 10px;height:40px;display:flex;flex-flow:row nowrap;align-items:center;border-top:1px solid #F3F3F3;background:#0f1e31;font-size:16px;color:#ddd}.s-navs___FXwOi li{margin-right:auto}.s-navs___FXwOi.bg-white___kbZ6r{background:#fff;color:#888}.s-navs___FXwOi.bg-white___kbZ6r a{color:#888}.s-navs___FXwOi a{color:#ddd;display:block;margin-right:20px;height:40px;line-height:40px;border-bottom:2px solid transparent}.s-navs___FXwOi a.active___QGOnZ{color:#5091ff;border-bottom:2px solid #5091ff}.list___PXTsq{display:flex;align-items:center;justify-content:space-between;padding:0 10px;height:46px;color:#ddd;margin-bottom:1px;background:#3d445c4d;cursor:pointer}.list___PXTsq span{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;padding-right:20px;flex-basis:64px;width:100%}.list___PXTsq:hover{background-color:#263446ba}.list___PXTsq.active___QGOnZ{background-color:#263446!important}.btns___F8yZK{width:30px;height:30px;background:#3061d0;border-radius:4px;cursor:pointer;user-select:none;text-align:center;line-height:30px}#educoder .drawer___xdGaT .ant-input-search{background:#2c3246}#educoder .drawer___xdGaT .ant-input-search input{background:#2c3246;border:1px solid #3D445C;color:#fff}#educoder .drawer___xdGaT .ant-input-search input::placeholder{color:#ccc}#educoder .drawer___xdGaT .ant-input-search .ant-input-search-button{color:#4e5977;background:#2c3246;border:1px solid #3D445C;border-left:1px solid transparent}#educoder .drawer___xdGaT .ant-select .ant-select-selector{background:#2c3246;border:1px solid #3D445C}#educoder .drawer___xdGaT .ant-select .ant-select-arrow{color:#4e5977}#educoder .drawer___xdGaT .ant-select .ant-select-selection-item{color:#fff}#educoder .drawer___xdGaT .ant-select .ant-select-selection-placeholder{color:#ccc}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item-active{border-color:#0152d9!important;background-color:#0152d9!important}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item-link{background-color:transparent!important;color:#fff}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item{background-color:transparent;border:1px solid #656f87}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item a,#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item-ellipsis{color:#fff}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-options{color:#656f87}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-options input{color:#fff;width:40px;background:transparent}#educoder .drawer___xdGaT .ant-pagination button,#educoder .drawer___xdGaT .ant-pagination input{line-height:initial;border:1px solid #656f87!important}.tour___oMkVh[class~=ant-tour]{left:7px!important;width:340px}.tour___oMkVh[class~=ant-tour] [class~=ant-tour-arrow]{left:17px!important}.tour___oMkVh[class~=ant-tour] [class~=ant-tour-footer]{display:none!important}.tour___oMkVh[class~=ant-tour] [class~=ant-tour-description]{padding:16px!important;overflow:hidden}.pagination___yDAjZ{text-align:center;margin-top:10px}.info___ATmsa{display:flex;flex-flow:row nowrap;align-items:center;height:56px;list-style:none;background:#fff;justify-content:space-between}.wrap____KX19 [class~=xterm] [class~=xterm-viewport]{overflow:auto!important}.desc___iOAgd{padding:8px 16px;height:calc(100vh - 138px);overflow:auto}.info___GPALq{color:#888;display:flex;align-items:center;font-size:14px;height:46px;background:#fff;padding:0 10px;box-shadow:0 2px 4px #e5e3e380;border-top:1px solid #f4f4f4;border-bottom:1px solid #f4f4f4}.info___GPALq .info_tag___CFEn8{height:22px;line-height:22px;padding:0 5px;background:#37ad8333;border-radius:2px;border:1px solid #A9DFCC;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:14px;color:#2cc497;text-align:left;font-style:normal}.info___GPALq li{margin-right:8px}.discuss-panel{height:calc(100vh - 142px);overflow:auto;padding:0 16px}.discuss-item-container{display:flex;flex-flow:row nowrap;width:100%;padding:15px;border-bottom:1px solid #e3e3e3;overflow:hidden}.discuss-item-container section{margin-left:15px;flex:1 1 auto;width:100%}.discuss-item-container .grey{color:#ccc}.discuss-content{margin:4px 0;word-break:break-word;word-wrap:break-word}.discuss-content img{max-width:200px}.discuss-info{display:flex;flex-flow:row wrap;align-items:center;color:#999;line-height:16px;font-size:12px}.discuss-info .top{color:#fff;padding:0 8px;background:#ff4343;border-radius:8px;text-align:center}.discuss-info .gift{cursor:default}.discuss-info .view-code{color:#4cacff}.discuss-info a{color:#999}.discuss-info a,.discuss-info span{margin-right:15px}.btn-group{display:flex;flex-flow:row nowrap;justify-content:flex-end;margin-bottom:8px}.btn-group .btn-top .iconfont{transform:rotate(180deg);display:inline-block}.btn-group a{width:31px;text-align:center;color:#888}.btn-group a .iconfont{font-size:14px!important}.second-discuss .btn-group{opacity:0}.second-discuss:hover{background:#ebebeb}.second-discuss:hover .btn-group{opacity:1}.reply-discuss-container{background:#f4f4f4;border-radius:4px;margin-bottom:6px;position:relative;margin-top:6px}.reply-discuss-container:before{content:" ";position:absolute;border-color:#000;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:13px;top:-9px;border-bottom:10px solid #f4f4f4}.discuss-item-editor{width:100%;overflow:hidden}.discuss-item-editor .btn-send{cursor:pointer;border:none;padding:0 12px;color:#fff;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400;margin-right:22px;margin-top:6px;background:#0152d9;float:right}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.image-preview-container{display:flex;flex-flow:column nowrap;position:fixed;align-items:center;justify-content:center;inset:0;z-index:99999;background:#000c}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:#000000a6;margin-right:10px;display:flex;flex-flow:row nowrap;align-items:center}.preview-wrp-group{overflow:auto;width:100%;text-align:center}.dis-input-editor-container___nKGxx{position:relative;background:#fff;width:100%;box-shadow:0 -3px 5px #4cacff33}.dis-input-editor-container___nKGxx.active___tmt7T{position:absolute;height:calc(100vh - 50px);background:transparent;z-index:1000;width:100%;display:flex;flex-flow:column nowrap;justify-content:center;top:0}.dis-input-editor-container___nKGxx .input-mask___epEle{flex:1 0;background:#0000;width:100%}.dis-input-editor-container___nKGxx .text-area___Vry8W{display:flex;flex-flow:row nowrap;padding:10px 20px;align-items:center}.dis-input-editor-container___nKGxx .text-area___Vry8W input{border-radius:15px;border:1px solid #eaeaea;background-color:#fff;overflow:hidden;height:32px;padding:0 16px;line-height:32px;outline:none;flex:1 0;margin-right:10px}.dis-input-editor-container___nKGxx .text-area___Vry8W a{color:#888;display:block;height:32px;line-height:32px;margin-right:20px;display:flex;flex-flow:row nowrap;align-items:center}.dis-input-editor-container___nKGxx .text-area___Vry8W a span{line-height:32px;font-size:16px}.dis-input-editor-container___nKGxx .tip-container___plpA3{display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center}.dis-input-editor-container___nKGxx .tip-container___plpA3 p{font-size:12px;color:#ff6800}.dis-input-editor-container___nKGxx .hide___kPfyC{display:none}.dis-input-editor-container___nKGxx .md-container___u85aq{background:#fff;padding:10px 20px}.btn-send___deQ5v{cursor:pointer;display:inline-block;border:none;padding:0 12px;color:#fff;background:#0152d9;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse]{background-color:transparent}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item]{margin-bottom:20px;border:none;box-shadow:0 2px 4px #eaeef4}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item] div[class~=ant-collapse-header]{padding:0 20px;height:64px;background-color:#fff;align-items:center!important}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item] div[class~=ant-collapse-content]{background-color:#fff}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item] div[class~=ant-collapse-content] div[class~=ant-collapse-content-box]{padding:20px}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item-active] div[class~=ant-collapse-header]{background-color:#eaeffa}.hackSets___tw75g .collapseWrapper___TteKi .panelHeader___Y_Xjq{font-size:14px;font-weight:400;color:#000}.hackSets___tw75g .collapseWrapper___TteKi .rateInput___y1qUi{display:inline-flex;align-items:center;white-space:nowrap}.hackSets___tw75g .collapseWrapper___TteKi .rateInput___y1qUi span{font-size:14px;font-weight:400;color:#666}.hackSets___tw75g .collapseWrapper___TteKi .open___xrixP{color:#165dff!important;transform:rotate(90deg)}.hackSets___tw75g .collapseWrapper___TteKi .close___jb6D2{color:#82a8ff!important}.uploadTableWrapper___U9Tz_{background:#fff}.uploadTableWrapper___U9Tz_ div[class^=headProgram]>div,.uploadTableWrapper___U9Tz_ div[class^=listWrapper]>div[class^=list]>div{flex:1 1;padding:0 12px!important}.uploadTableWrapper___U9Tz_ div[class^=headProgram]>div:last-child,.uploadTableWrapper___U9Tz_ div[class^=listWrapper]>div[class^=list]>div:last-child{display:none}.wrap___MkYbQ [class~=ant-upload-drag]{background:#1890ff0a!important;border-radius:4px;border:1px dashed #0152d9}.wrap___MkYbQ .colorBlue___onjbP{color:#0152d9}.wrap___MkYbQ .repeatedName___nbqnE{color:red}.wrap___MkYbQ .text___xvutp{margin-top:20px;color:#464f66;line-height:24px}.wrap___MkYbQ .greyText___dihvZ{font-size:14px;font-weight:400;color:#5f6368}.wrap___MkYbQ .noData___LxOJA{height:180px;margin-bottom:30px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A{display:flex;align-items:center;justify-content:center}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A img{width:46px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A span{font-size:14px;font-weight:400;color:#9096a3}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A .uploadText___Et3KS{color:#3061d0}.wrap___MkYbQ .btnS___k1e6j{height:32px;border-radius:4px;background:#3061d0}.wrap___MkYbQ .btnS___k1e6j i{margin-right:6px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]{width:60px;height:38px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:23px;border:none;display:inline-flex;align-items:center;justify-content:center;margin-right:20px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]:before{background-color:transparent}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper] span{color:#464f66;font-size:14px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]{background-color:#fff;box-shadow:0 2px 4px #e0dfe1;border:1px solid #BACFFE;background:#d3e0fd linear-gradient(180deg,#fff,#f6f7f9)}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:first-child{border-right-color:#bacffe}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:focus-within{box-shadow:0 2px 4px #e0dfe1}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked] span{color:#165dff;font-size:14px}.head___s4Eix{display:flex;margin-bottom:36px}.head___s4Eix .operation___JCAVh{text-align:center}.head___s4Eix>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.headProgram___uWA_M{display:flex;height:40px;line-height:40px;background:#f6f7f8;box-shadow:0 2px 4px #eaeef4;padding-left:5px;padding-right:5px}.headProgram___uWA_M .operation___JCAVh{text-align:center}.headProgram___uWA_M>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.listWrapper___xW3b4{max-height:214px;overflow:auto}.listWrapper___xW3b4::-webkit-scrollbar{display:none}.listWrapper___xW3b4 .list___dCbd6{display:flex;margin-bottom:36px;align-items:center}.listWrapper___xW3b4 .list___dCbd6 .del___abNho{color:#e53333;cursor:pointer}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf>span{color:#3061d0;cursor:pointer;text-decoration:underline}.listWrapper___xW3b4 .list___dCbd6>div{text-align:left;display:inline-block;background:#fff}.tabs___p2jIb .tabWarp___mt05L{display:flex;align-items:center}.tabs___p2jIb .tabWarp___mt05L .tab___IYGdQ{width:88px;text-align:center;height:30px;line-height:30px;background:#f0f0f0;font-weight:400;font-size:16px;color:#666;cursor:pointer}.tabs___p2jIb .tabWarp___mt05L .tab___IYGdQ.active___fQMlP{background:#fff;color:#3061d0}.tabs___p2jIb .content___GWVJY{padding:10px;background-color:#fff}.exitFullScreenModalWrapper___aNB9Q div[class~=ant-modal-confirm-btns]{float:none;display:flex;justify-content:center;margin-bottom:20px}.exitFullScreenModalWrapper___aNB9Q div[class~=ant-modal-confirm-btns] button{width:120px;height:38px;background:#f6f7f9 #3061d0;border-radius:2px}.exitFullScreenModal___HIMyY{text-align:center;font-size:30px;font-weight:400}.exitFullScreenModal___HIMyY .warningIcon___xEURa{height:88px;margin-bottom:20px}.exitFullScreenModal___HIMyY .warningText___W6NPJ{color:#e30000}.exitFullScreenModal___HIMyY .countdownWrapper___n8g1M{display:inline-block}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV{text-align:center}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV .forcedText___C3CrF{font-size:30px;font-weight:500;color:#e30000;margin-bottom:10px}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV .screenNumText___oljHN{font-size:14px;font-weight:400;color:#333;margin-bottom:20px}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV img{height:85px;margin-bottom:20px}.react-resizable{position:relative;background-clip:padding-box}.react-resizable-handle{position:absolute;width:10px;height:100%;bottom:0;right:-5px;cursor:col-resize;z-index:1}.react-resizable-handle.active:before{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:solid 1px black}.flex_box_center___iyIe6{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___g2WjG{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Tde0v{align-items:center;box-align:center}.flex_box_center_end___W1D5W{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ZiFvs{flex-direction:column;box-orient:block-axis}.bg___T2R2s{background:#fff}.containerTitle___yARn_{height:88px;line-height:88px;font-size:18px;padding:0 30px;color:#333;border-bottom:1px solid #eee;display:box;display:flex;align-items:center;box-align:center}.containerTitle___yARn_ div:nth-child(1){flex:1 1}.containerDesc___fKSYF{height:50px;line-height:40px;padding:0 30px;margin-bottom:-20px;margin-top:10px;display:box;display:flex}.containerDesc___fKSYF p:nth-child(1){flex:1 1}.menus___e8wtg{padding-right:31px;padding-top:10px}.menus___e8wtg [class~=ant-menu-horizontal]{border-bottom:0}.listItem___s7xhg{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___s7xhg>div{flex:1 1}.listItem___s7xhg:hover{box-shadow:0 0 10px #ccc}.info___Hx2bW{margin-left:20px}.info___Hx2bW p{margin-top:18px}.title___W7a1R{display:box;display:flex;align-items:center;box-align:center}.title___W7a1R strong{color:#333}.titleLeft___C5r0w{flex:1 1}.titleRight___g5GZv a{margin-right:20px;font-weight:700}.acitons___H0RU0{height:70px;background:#fff;display:box;display:flex;align-items:center;box-align:center;padding:0 30px}.acitons___H0RU0>div:nth-child(2){display:box;display:flex;align-items:center;box-align:center;flex:1 1}.acitons___H0RU0>div:nth-child(2) .move___qYkSy{cursor:pointer;color:#999;padding:0 16px;position:relative}.acitons___H0RU0>div:nth-child(2) p{cursor:pointer;color:#999;margin-bottom:0}.acitons___H0RU0>div:nth-child(2) p:hover{color:#333}.acitons___H0RU0>div:nth-child(2) p span{position:relative;padding:0 16px}.acitons___H0RU0>div:nth-child(2) p span:after{content:"";width:1px;height:10px;background:#ededed;position:absolute;right:0;top:50%;margin-top:-5px}.acitons___H0RU0>div:nth-child(2) p:nth-last-child(1) span{padding-right:0}.acitons___H0RU0>div:nth-child(2) p:nth-last-child(1) span:after{display:none}.hideHeadCheckbox___Hq5gw table{background:#f4faff}.hideHeadCheckbox___Hq5gw table>thead>tr>th:nth-child(1)>div{display:none}.moveCategory___bZSGQ{padding:30px 0;position:relative;top:-25px}.moveCategory___bZSGQ ul{box-shadow:0 0 6px #4c4c4c33!important;background:#fff;padding:10px 0}.moveCategory___bZSGQ ul li{padding:0 12px;margin:5px 0;font-size:14px}.tabSearch___NaKI4{display:flex;align-items:center;margin:8px 0}.warpModal___HLUgh .ant-tabs-nav:before{border-bottom:0}.modalColumn___F7R5w{font-size:14px}.modalColumn___F7R5w .modalRow___L6ghw{display:flex;align-items:center;font-size:14px;flex-direction:row;margin-top:12px}.modalColumn___F7R5w .modalRow___L6ghw .sup___VGKXV{color:#fb3226;font-size:16px;margin-top:21px;margin-right:2px}.name___QMvgh{display:inline-block;max-width:222px;word-break:break-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom}.itemWrap___KEbZ9{display:flex;flex-direction:row;align-items:center;background:#fff;width:100%;border-radius:8px;margin-top:20px}.itemWrap___KEbZ9:nth-child(1){margin-top:2px}span[class~=ant-checkbox-checked] span[class~=ant-checkbox-inner]{background-color:#fff;border-color:#165dff}span[class~=ant-checkbox-checked] span[class~=ant-checkbox-inner]:after{border-color:#165dff}.checkBoxWrapper___Y_kuj{position:relative;top:6px}.listWrap___VlWgM{width:100%;border:1px solid #ececec;box-shadow:0 2px 4px #eaeef4}.listWrap___VlWgM p{margin:0}.list___XIr6d{padding:20px;background-color:#fff;border-bottom:1px solid #ececec}.flexCenter___eacyI{display:flex;justify-content:center;align-items:center}.flexRow___A_mOc{display:flex;flex-direction:row;align-items:center}.imgWrap___KI9io{width:40px}.img___vjS11{width:39px;height:44px;vertical-align:middle;border-style:none}.contentWrap___NI0Vt{width:100%;display:flex}.contentWrap___NI0Vt>div:nth-child(1){flex:1 1}.contentWrap___NI0Vt>div:nth-child(2){display:flex;align-items:center}.titleWrap___SlBWX{cursor:pointer;text-decoration:none;background-color:transparent;margin-bottom:10px}.title___KGh5v{font-size:20px;font-weight:400;color:#000;max-width:774px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title___KGh5v:hover{color:#145dff}.content___B0PxW{font-size:14px;font-weight:400;color:#6a7283;margin-right:30px}.content___B0PxW span{margin-left:4px}.bottomWrap___WVJb4{display:flex;flex-direction:row;justify-content:space-between}.updateTime___sxvSt{font-size:12px;color:#bbb;line-height:30px}.useCount___puqPx{margin-left:20px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#bbb;line-height:30px}.actionBtn___JUWfj{font-size:14px;height:32px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:16px;border:1px solid #bacffe;color:#3061d0;display:inline-flex;align-items:center;justify-content:center;padding:0 16px}.actionButton___jabv3{cursor:pointer;width:88px;height:30px;background:#0152d9;border-radius:4px;text-align:center;line-height:28px;color:#fff;border:0px;outline:0px}.actionBar___I1pC8{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;height:40px;padding:0 20px;background:#f6f7f9}.typeIcon___bramC{line-height:26px;height:26px;border-radius:13px;margin-left:10px;font-size:14px;cursor:default;text-align:center;padding:0 10px;font-weight:400}.private___sdERX{color:#a45204;border:1px solid #ffe9c1}.public___noSmD{color:#23c073;border:1px solid #23c073}.random___l2hTA{color:#01795d;border:1px solid #d6f7ef}.actionLinkWrapper___Him3y{margin-left:20px}.actionLinkWrapper___Him3y .actionLink___rWBLq{cursor:pointer;color:#5f6368!important;font-size:14px;line-height:26px;position:relative}.actionLinkWrapper___Him3y .actionLink___rWBLq .actionIcon___lMmL7{color:#5f6368!important;line-height:30px;margin-right:5px;font-size:14px}.actionLinkWrapper___Him3y .line___HQJlK{margin-right:20px;display:inline-flex;align-items:center}.actionLinkWrapper___Him3y .line___HQJlK .b1___Y4KZd{display:inline-block;width:1px;height:34px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.actionLinkWrapper___Him3y .line___HQJlK .b2___QxMOG{display:inline-block;width:1px;height:34px;margin-left:0;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.actionLeftItem___Fnq4b{margin-right:30px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5f6368}.actionLeftItem___Fnq4b span{color:#000;margin-left:8px}.export_type_modal___ISAzV{display:flex;flex-wrap:wrap;justify-content:right;margin-top:10px}.export_type_modal___ISAzV .export_type_modal_con___qw5B2{width:100%;display:flex;justify-content:center}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .type_item___pdMxs{width:120px;height:120px;margin:0 20px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .img_warp___cDH7f{padding:15px;border-radius:8px;border:1px solid #d9d9d9;cursor:pointer;margin-bottom:3px;box-shadow:0 2px #00000005}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .img_warp___cDH7f:hover{background-color:#fafafa}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .img_warp_active___rLrYN{background-color:#fafafa;border-color:#5784de}.menu___Q2PXr>li{text-align:center}.flex_box_center___LsrKL{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___sZBht{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___QNt7D{align-items:center;box-align:center}.flex_box_center_end___S9zs3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Y5tcm{flex-direction:column;box-orient:block-axis}.title___t4qlt{text-align:left;font-size:14px;color:#333;display:flex;align-items:center}.title___t4qlt img{margin-right:5px;width:14px;height:14px;position:relative}.tip___MtKbx{text-align:left;font-size:14px;color:#6bb3dc;display:flex;margin-bottom:15px;margin-left:20px}.radioWrap___fp3kY{cursor:default;margin-bottom:20px}.radioWrap___fp3kY .row___IoDN5 td{border-bottom:0}.radioWrap___fp3kY .row___IoDN5.row___IoDN5:nth-child(odd){background-color:#f5f5f5}.radioWrap___fp3kY .row___IoDN5.row___IoDN5:nth-child(2n){background-color:#fff}.radio___vuEDI{display:block;height:30px;line-height:30px}.radio___vuEDI span{font-size:14px}.colorFF0000____5DYm{color:red}.pagination___bvqCI{margin:10px auto 0}.modalColumn___szBPb{font-size:14px}.modalColumn___szBPb .modalRow___mtd9M{display:flex;align-items:center;font-size:14px;flex-direction:row;margin-top:12px}.modalColumn___szBPb .modalRow___mtd9M .sup___JDuYL{color:#fb3226;font-size:16px;margin-top:21px;margin-right:2px}.search___wNY_F{height:46px}.search___wNY_F span[class~=ant-input-wrapper] input,.search___wNY_F span[class~=ant-input-group-addon] button{height:46px!important}.bottom___HvFhF .yes___xmznh,.bottom___HvFhF .yes___xmznh:hover{height:32px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-weight:400;color:#fff}.bottom___HvFhF .no___vEJlu,.bottom___HvFhF .no___vEJlu:hover{margin-right:20px;width:60px;height:32px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-weight:400;color:#464f66;line-height:14px}.sendToClass___le_BX{display:flex;flex-direction:column;align-items:center}.sendToClass___le_BX img{margin-top:24px}.sendToClass___le_BX div{color:#999;margin-bottom:20px;margin-top:-32px}.sendToClass___le_BX button{width:100px;height:32px;border-radius:4px;font-size:14px;margin-bottom:10px} +.wrap___O1tn7{padding:0 45px 34px}.flex_box_center___NeSU8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ImTGl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___BtRd9{align-items:center;box-align:center}.flex_box_center_end___qcLe3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Ze_3q{flex-direction:column;box-orient:block-axis}.banner___PoUBO{display:flex;align-items:center;justify-content:center}.banner___PoUBO .content___XoDjy{width:1200px;height:212px;display:flex;align-items:flex-start;justify-content:space-between}.banner___PoUBO .content___XoDjy aside{margin-top:56px}.banner___PoUBO .content___XoDjy aside p{display:flex;align-items:center}.banner___PoUBO .content___XoDjy aside p b{font-size:30px;font-weight:500;color:#000;letter-spacing:4px;margin-right:20px}.banner___PoUBO .content___XoDjy aside p span{font-size:16px;color:#000;letter-spacing:4px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j{margin-top:35px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div img{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___HDG9F{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KhP6Z{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZlFcA{align-items:center;box-align:center}.flex_box_center_end___o7d_z{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ULJgZ{flex-direction:column;box-orient:block-axis}.row___Skft7{background:#ffffffb3;border-radius:12px;border:1px solid #FFFFFF;backdrop-filter:blur(4px);padding:14px 20px;margin-bottom:10px}.row___Skft7 .title___KP2uZ{height:20px;font-weight:500;font-size:14px;color:#2c3a58;line-height:20px}.row___Skft7 .fenge___yM8ys{height:1px;border:1px dashed rgba(204,221,255,.5);margin:15px 0}.row___Skft7 .tagsWrap___XcmUd{flex:1 1;position:relative}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl i{display:inline-block;font-size:12px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz{max-height:245px;overflow:auto}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db{display:flex;flex-wrap:wrap;gap:20px 14px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span{display:inline-flex;align-items:center;font-size:14px;cursor:pointer;padding:2px 12px;background:#fff;border-radius:6px;border:1px solid #DAE3F3}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .name___gsqnj{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .num___sRnLB{margin-left:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span:hover{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db .active___yNnAU{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___Skft7 .tagsBorderWrap___BKCHD .bar___gdtOz{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___kXy2O{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___EKVqf{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___KJzcw{align-items:center;box-align:center}.flex_box_center_end___V4Nm9{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___g6Cee{flex-direction:column;box-orient:block-axis}.row___pqtGl{background:#ffffff1a;backdrop-filter:blur(4px);padding:20px;margin-bottom:10px}.row___pqtGl .title___eewYd{height:20px;font-weight:500;font-size:14px;color:#fff;line-height:1.5}.row___pqtGl .tagsWrap___AWV66{flex:1 1;position:relative;margin-top:20px}.row___pqtGl .tagsWrap___AWV66 .action___Toj3O{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___pqtGl .tagsWrap___AWV66 .action___Toj3O i{display:inline-block;font-size:12px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB{max-height:245px;overflow:auto}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k{display:flex;flex-wrap:wrap;gap:20px 20px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span{display:inline-flex;align-items:center;font-size:14px;cursor:pointer;padding:4px 12px;border-radius:6px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span .name___m2dAl{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block;color:#fff}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span .num___EhDNX{margin-left:3px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k>span:hover{background:#01a89a}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB .tag___z872k .active___GSjsu{background:#01a89a}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___pqtGl .tagsWrap___AWV66 .bar___NZVtB::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___pqtGl .tagsBorderWrap___VoQL3 .bar___NZVtB{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___pVsOk{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___bQwBe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___gdKht{align-items:center;box-align:center}.flex_box_center_end___wJuEm{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___F50s0{flex-direction:column;box-orient:block-axis}.input___f7GZE{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding-right:20px}.input___f7GZE .dropdown___oJkxW{position:relative;flex-shrink:0}.input___f7GZE .dropdown___oJkxW:hover .menu___RplGU{display:block}.input___f7GZE .dropdown___oJkxW .text___EgRKl{color:#fff;font-size:14px;cursor:default;height:38px;display:flex;align-items:center;background-color:#2d6964;padding:0 15px}.input___f7GZE .dropdown___oJkxW .text___EgRKl i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#fff}.input___f7GZE .dropdown___oJkxW .menu___RplGU{display:none;position:absolute;z-index:999;width:auto;min-width:107px;left:0;top:38px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___f7GZE .dropdown___oJkxW .menu___RplGU div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___f7GZE .dropdown___oJkxW .menu___RplGU div:hover{background-color:#f5f5f5}.input___f7GZE>input{flex:1 1;padding:4px 0 4px 16px;color:#fff!important}.input___f7GZE>input::placeholder{color:#b6bfc2!important}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___KD0ZB{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___rMep5{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___jD3Po{align-items:center;box-align:center}.flex_box_center_end___RbohB{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GmzUj{flex-direction:column;box-orient:block-axis}.list___dlUtq{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___dlUtq .wrap___LYbIZ{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___dlUtq .wrap___LYbIZ:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___dlUtq .wrap___LYbIZ .lockWrap___U7Ajb{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .cover___KP0L8{width:100%;height:26vh;border-radius:10px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .bq___DtmL1{background:linear-gradient(180deg,#f09c1e,#bd6f1d);border-radius:6px;border:1px solid rgba(255,255,255,.6);position:absolute;padding:4px 8px;color:#fff;font-size:12px;line-height:12px;top:6px;left:6px;display:flex;align-items:center;justify-content:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .sign___TZ9Wq{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .titleBg___tnX0O{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq .e___zxiB9{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___dlUtq .wrap___LYbIZ .li___bsnqy .text____ZmZX{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .value___WPLok{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E{display:flex;align-items:center;margin-left:auto}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]{font-size:13px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___MoMqv{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___G_1Pa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___vHNpc{align-items:center;box-align:center}.flex_box_center_end___dt_Dx{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___gK3h_{flex-direction:column;box-orient:block-axis}.list___GYKT6{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___GYKT6 .wrap___uLNQf{background:#fff;border:1px solid #01A89A;position:relative;overflow:hidden}.list___GYKT6 .wrap___uLNQf:hover{box-shadow:0 2px 10px #03a092;border:1px solid #00DDC7;outline:1px solid #00DDC7}.list___GYKT6 .wrap___uLNQf .lockWrap___lZQo7{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .img___bih4x{position:relative;display:flex;justify-content:center;align-items:center}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .img___bih4x .cover___UiMEf{width:100%;height:26vh}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .img___bih4x .sign___WPSew{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .name___ZLjiX{height:42px;font-size:16px;font-weight:600;color:#000;padding:20px 12px 0;width:100%;display:flex;align-items:center}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .name___ZLjiX .e___tB29O{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn{height:55px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn i{color:#7d8592}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn>span{margin-right:5px;font-size:12px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H{display:flex;align-items:center;margin-left:auto}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H [class~=ant-rate-star]{font-size:13px}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___GYKT6 .wrap___uLNQf .li___X7Rkc .tags___a3FKn .rate___dh30H [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:278px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 101px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___vu9yi{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LwoH7{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pUG0J{align-items:center;box-align:center}.flex_box_center_end___xWI9t{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mr5rB{flex-direction:column;box-orient:block-axis}.list___zE1wj{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___zE1wj .wrap___5HG1h{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___zE1wj .wrap___5HG1h:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___zE1wj .wrap___5HG1h .lockWrap___zziwX{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .cover___G1cj9{width:100%;height:26vh;border-radius:10px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .bq___hpdTt{width:64px;height:20px;background:#19b691b3;color:#fff;border-radius:13px;font-size:12px;line-height:20px;text-align:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .sign___kHAha{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___zE1wj .wrap___5HG1h .li___aNI2z .titleBg___S1VlI{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM .e___fd1jW{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .text___b9Tdy{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___zE1wj .wrap___5HG1h .li___aNI2z .value___ZASRv{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div{display:flex;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div>span{margin-right:12px;font-size:12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag1___c9ebE,.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___o6B0Z{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Uz22Q{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___nWLOj{align-items:center;box-align:center}.flex_box_center_end___eqMdD{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ypdJv{flex-direction:column;box-orient:block-axis}.list___qA19p{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___qA19p .wrap___YaRtD{background:#fff;border:1px solid #01A89A;position:relative;overflow:hidden}.list___qA19p .wrap___YaRtD:hover{box-shadow:0 2px 10px #03a092;border:1px solid #00DDC7;outline:1px solid #00DDC7}.list___qA19p .wrap___YaRtD .lockWrap___Cle7R{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky{position:relative;display:flex;justify-content:center;align-items:center}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky .cover___iuyl5{width:100%;height:26vh}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky .bq___BpHtR{width:64px;height:20px;background:#01a89a;color:#fff;border-radius:13px;font-size:12px;text-align:center;border:1px solid #00DDC7}.list___qA19p .wrap___YaRtD .li___Hpfsl .img___li1Ky .sign___ajRAC{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___qA19p .wrap___YaRtD .li___Hpfsl .titleBg___h8Qq7{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___qA19p .wrap___YaRtD .li___Hpfsl .name___mAV5m{font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative;margin-top:20px}.list___qA19p .wrap___YaRtD .li___Hpfsl .name___mAV5m .e___YPSD7{font-weight:600;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___qA19p .wrap___YaRtD .li___Hpfsl .text___nDpTk{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___qA19p .wrap___YaRtD .li___Hpfsl .value___guywy{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___qA19p .wrap___YaRtD .li___Hpfsl .unit___aTzYz{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___qA19p .wrap___YaRtD .li___Hpfsl .unit___aTzYz i{color:#7d8592}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul{display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px;margin:20px 0}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul div{display:flex;align-items:center}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul div>span{margin-right:12px;font-size:12px}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul div i{color:#7d8592}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul .tag1___AHRAc,.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul .tag2___Pska6{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___qA19p .wrap___YaRtD .li___Hpfsl .tags___X1lul .tag2___Pska6{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___PuarE{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___q4lAa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___wsb8w{align-items:center;box-align:center}.flex_box_center_end___H781P{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___bHK1y{flex-direction:column;box-orient:block-axis}.list___e2XDo{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___e2XDo .wrap___cz7sh{height:234px;border-radius:12px;border:1px solid #DEE8FF;position:relative}.list___e2XDo .wrap___cz7sh:hover{cursor:pointer;box-shadow:0 4px 10px #a8c2ee80;border:1px solid #3875FF}.list___e2XDo .wrap___cz7sh:hover .lockWrap___EPuRr{display:flex}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .img___kSEud{width:72px;height:72px;border-radius:50%;border:2px solid #FFFFFF;margin-top:14px}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .text___GIlhY{height:24px;background:linear-gradient(164deg,#526d958a,#2c4773c7);border-radius:8px;border:1px solid #FFFFFF;backdrop-filter:blur(2px);color:#fff;font-size:14px;line-height:14px;padding:5px 14px;display:flex;align-items:center;justify-content:center;position:relative;top:-15px}.list___e2XDo .wrap___cz7sh .top___K4GCD{margin-top:55px}.list___e2XDo .wrap___cz7sh .top___K4GCD .sign___KCjEP{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___e2XDo .wrap___cz7sh .top___K4GCD .name___z3U4d{height:16px;font-weight:600;font-size:16px;color:#262a46;line-height:16px;text-align:center;font-style:normal;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.list___e2XDo .wrap___cz7sh .top___K4GCD .text___GIlhY{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___e2XDo .wrap___cz7sh .middle___LeUM5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAegAAACOCAYAAAD6ipv/AAAAAXNSR0IArs4c6QAACNtJREFUeF7t3TGLXAUXBuD3kDAj2WAnSLAUCws7wTJWioVg7S8wpa2YImJrZ/wF1oIg2CWlYCkIimUIgl2yIztrwvGb+XaXGDcmhWa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ECAwUUNADhyISAQIECBBQ0HaAAAECBAgMFFDQA4ciEgECBAgQUNB2gAABAgQIDBRQ0AOHIhIBAgQIEKjVuu925yIKAgQIECBAYIhA5W7tr/uHdF4aEkkMAgQIECBAoPLj5hb3jSSXaRAgQIAAAQJjBG7W6qA/7eTKmEiCECBAgACBHReo5Hrt/9Zv5H6+3nELp0+AAAECBOYInMub1d2L1WF+SefZOckkIUCAAAECOypQubO3yHO1Of3VQV/v5L0dpXDaBAgQIEBgjEAln+09U1e2Bb3f/Xwd5qfu7I1JKAgBAgQIENgxgaqsepEXL1b9vC3o7VX0uq9158Mds3C6BAgQIEBgjEBVPtpb1tVNoJOC7u7lr4e52Z3XxiQVhAABAgQI7IhAVb65sMjlqlr/oaBPbnWv820nL+yIh9MkQIAAAQJnLlDJrV7m1c2t7eMwJ1fQx/+xXvcr9zpfKekzn5cABAgQILADAptyPl95a7ms7x483T8V9MmV9GG+cLt7BzbDKRIgQIDAmQlsbmv3Iu88eOX8yCvo4x8cvSb9QZL3vbv7zGbnwAQIECDwHxTYvFs7yScXFvn4+DXnh0/z1CvoBx+0/RWsda525V0fZvIf3BKnRIAAAQJPT6Bypzqf9zLXTrtqfuwt7tOSbj9x7F5er/t5u5OXU7lUySV/qvLpzdWRCBAgQODfI1CV/U5up3O7ku/7XL7cO58bVXX4JGfxOzmrxUcafXV8AAAAAElFTkSuQmCC) no-repeat center center;background-size:100% 100%;height:71px;margin:23px 15px 17px;padding:13px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ{display:flex;align-items:center;justify-content:space-between}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ>div{display:flex;align-items:center}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .text___GIlhY{height:20px;font-weight:400;font-size:14px;color:#727c95;line-height:20px;margin-right:10px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .value___qigWu{width:42px;height:20px;font-weight:400;font-size:14px;color:#262a46;line-height:20px}.list___e2XDo .wrap___cz7sh .btns___kGysm{display:flex;align-items:center;margin-top:12px;justify-content:center}.list___e2XDo .wrap___cz7sh .btns___kGysm div{width:76px;background:#11af8d26;height:26px;border-radius:12px;border:1px solid #11AF8D;font-size:12px;color:#11af8d;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .btns___kGysm aside{width:76px;background:#f4831e26;height:26px;border-radius:12px;border:1px solid #E08049;font-size:14px;color:#c05a0c;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>div{margin-left:auto}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.list___e2XDo .warpStyle___pH3uC:hover{border:2px solid #fff!important;box-shadow:none!important}.flex_box_center___eJQtn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___lzV1x{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___IYfoZ{align-items:center;box-align:center}.flex_box_center_end___lcJOu{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column____ShCG{flex-direction:column;box-orient:block-axis}.list___YXSRr{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___YXSRr .wrap___ZGdF6{height:229px;background:#00ddc71a;border:1px solid #01A89A;position:relative}.list___YXSRr .wrap___ZGdF6:hover{cursor:pointer;box-shadow:0 0 10px #03a09266;border:1px solid #00DDC7}.list___YXSRr .wrap___ZGdF6:hover .lockWrap___VKZgR{display:flex}.list___YXSRr .wrap___ZGdF6 .lockWrap___VKZgR{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___YXSRr .wrap___ZGdF6 .lockWrap___VKZgR div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___YXSRr .wrap___ZGdF6 .lockWrap___VKZgR div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___YXSRr .wrap___ZGdF6 .creator___tLnuI{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.list___YXSRr .wrap___ZGdF6 .creator___tLnuI .img___P8alm{width:72px;height:72px;border-radius:50%;border:2px solid #FFFFFF;margin-top:14px}.list___YXSRr .wrap___ZGdF6 .creator___tLnuI .text___ijpmj{height:24px;background:#037f74;color:#fff;font-size:14px;line-height:14px;padding:5px 14px;display:flex;align-items:center;justify-content:center;position:relative;top:-15px}.list___YXSRr .wrap___ZGdF6 .top___md6mc{margin-top:55px}.list___YXSRr .wrap___ZGdF6 .top___md6mc .sign___ydolt{position:absolute;z-index:1;width:48px;height:22px;left:-4px;top:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAWCAYAAACG9x+sAAAAAXNSR0IArs4c6QAAAyhJREFUWEftVltIVFEUXcd5qdeZ0XymI5pKlpaj2IvK+Qh70IuwArGEfCT2EWoffgRBfUQZ0UcvM0p8FL2I0hAEQSkziCRJM0RTsVF0tMSZ1Hk4d07cIxpT0TCJzQRtuHDv2eecvdZe+5x9Cf3cSfEPG/lPwMXqLUgB4xctvg5+QJB6O6OhfV6F0A0HIJJ529GymqZAectvqRKRBGJPH6fTsSACPTUlkKviEJK8hwXuq78CqY8/VJsz7IAMNJZjoq8VZr0OxMMDUnkg8/MWI0z6EXCBy6CMSEDk1vy/R8AyOY620mysKbgHkdSLBZ4eG0BHZSHWFj6Eh1jyExjtiyqIZBxC1+9nvsnhbgw03UZ8RonTwOcW/LECH59dhJe/CmEb0+2Cd9ech0wegIgtue5LQPe2DkOvHyMp7yaISAwhs8FJOyGVB8BqmkRbaRbCNZkISd4LylvBzxgZmaGW+xB5cvMlNzXSC21zNVYcPM38IokX288Zc1oBQfbOO8VIyL7KFDCOD6LrwSkk5peDEDJbSqP9aK8oQFz6WYBS9DdcZ+PG8WGIZd6QcMrvZ2BCBy4okn1HpuZDGZnoDH44TcDGW2HR6+C5JIwF6n56Dv6xm+C/UgPT+BAkPn4QSb3Zu1QRCA+xdB5Q16MzWLpuH5QRatefAQGBUAI9tSVIPFoGEILhNzWY1vUieveJX2ax9fIhqHNLIfFWuJ4AtVnRUVGA6F1F4IJjGCBKbXh36xiidhyHInyVHQnDp3b0N5RBnXNtftxlt5BwMHtqL7DyEJqY2TAKs34MFsMoDNoOCE1JnTNb94KZ9aPoqCxCbNpJyFXxrifAm6bw/m4xJJwvJJwfpJwvZMpgePqFsqe37hJUKZmsOQmqCP0iPOUwAlen2qniMgUcXRO8eYo1rDmzWS12h3lunNp42GZMdnMd7f2j3+lbyNkAiz3/P4HFzrCj/YmhuXI5YGukFLOdCfSlUpOd4mihu/hZ79e/qo4hVr6JgqoIIU8UKUfS3AWgIxyzPy8ATC0V0WaeNhGgXqHJynO00F388wQEQBPN5VGgZJuvJuuGuwB0hOMbNM1slChmsDgAAAAASUVORK5CYII=) no-repeat;background-size:100% 100%}.list___YXSRr .wrap___ZGdF6 .top___md6mc .name___OEush{height:16px;font-weight:600;font-size:16px;color:#fff;line-height:16px;text-align:center;font-style:normal;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.list___YXSRr .wrap___ZGdF6 .top___md6mc .text___ijpmj{font-size:14px;color:#b6bfc2;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOsAAAA6CAYAAABRaK5fAAAAAXNSR0IArs4c6QAAAYRJREFUeF7t00ENACAQA0HQhP8/IhBDggo2mVPQTK9znL2GI0Dge4FprN93JCCBJ2CsHoFARMBYI0WJScBY/QCBiICxRooSk4Cx+gECEQFjjRQlJgFj9QMEIgLGGilKTALG6gcIRASMNVKUmASM1Q8QiAgYa6QoMQkYqx8gEBEw1khRYhIwVj9AICJgrJGixCRgrH6AQETAWCNFiUnAWP0AgYiAsUaKEpOAsfoBAhEBY40UJSYBY/UDBCICxhopSkwCxuoHCEQEjDVSlJgEjNUPEIgIGGukKDEJGKsfIBARMNZIUWISMFY/QCAiYKyRosQkYKx+gEBEwFgjRYlJwFj9AIGIgLFGihKTgLH6AQIRAWONFCUmAWP1AwQiAsYaKUpMAsbqBwhEBIw1UpSYBIzVDxCICBhrpCgxCRirHyAQETDWSFFiEjBWP0AgImCskaLEJGCsfoBARMBYI0WJScBY/QCBiICxRooSk4Cx+gECEQFjjRQlJgFj9QMEIgLGGilKTAIXNnRq8bsuZlIAAAAASUVORK5CYII=) no-repeat center center;background-size:100% 100%;height:71px;margin:23px 15px 17px;padding:13px}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .row___MFUrm{display:flex;align-items:center;justify-content:space-between}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .row___MFUrm>div{display:flex;align-items:center}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .text___ijpmj{height:20px;font-weight:400;font-size:14px;color:#b6bfc2;line-height:20px;margin-right:10px}.list___YXSRr .wrap___ZGdF6 .middle___WFQ2R .value___rEYMy{width:42px;height:20px;font-weight:400;font-size:14px;color:#fff;line-height:20px}.list___YXSRr .wrap___ZGdF6 .btns___Y5S2B{display:flex;align-items:center;margin:20px 0;justify-content:center}.list___YXSRr .wrap___ZGdF6 .btns___Y5S2B div{width:64px;background:#00ddc780;height:22px;font-size:12px;color:#fff;line-height:22px;text-align:center;margin:0 10px}.list___YXSRr .wrap___ZGdF6 .btns___Y5S2B aside{width:64px;background:#ffa80080;height:22px;font-size:14px;color:#fff;line-height:22px;text-align:center;margin:0 10px}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC>div{margin-left:auto}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___YXSRr .wrap___ZGdF6 .bottom___RsfJC>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.list___YXSRr .warpStyle___R8xtx:hover{border:2px solid #fff!important;box-shadow:none!important}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___itkVp{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___F4yZx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ko4cu{align-items:center;box-align:center}.flex_box_center_end___cCBYR{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mpq6K{flex-direction:column;box-orient:block-axis}.tabs___qRAhL{display:flex;justify-content:space-between;align-items:center;height:40px}.tabs___qRAhL .tabsWrap___CGRvS{display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6{font-weight:500;color:#3875ff}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:none;border-radius:100px 100px 0 0}.flex_box_center___uWCU1{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___pKZJo{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___NKr7Z{align-items:center;box-align:center}.flex_box_center_end___ycaEu{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___dDKjA{flex-direction:column;box-orient:block-axis}.tabs___cNVh5{display:flex;justify-content:space-between;align-items:center;background:#01a89a33;height:40px}.tabs___cNVh5 .tabsWrap___IJpOg{display:flex;align-items:center;height:100%}.tabs___cNVh5 .tabsWrap___IJpOg .tab___fitSZ{display:flex;align-items:center;margin-right:3px;height:100%;cursor:pointer;padding:0 26px}.tabs___cNVh5 .tabsWrap___IJpOg .tab___fitSZ:hover{background:#00ddc733}.tabs___cNVh5 .tabsWrap___IJpOg .tab___fitSZ>div{position:relative;font-size:14px;font-weight:400;color:#fff;display:flex;align-items:center;height:100%}.tabs___cNVh5 .tabsWrap___IJpOg .active___LBYdH{background:#00ddc733}.tabs___cNVh5 .tabsWrap___IJpOg .active___LBYdH>div{font-weight:500;color:#00ddc7}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___JJ9sS{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t8Vfh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___NXwpW{align-items:center;box-align:center}.flex_box_center_end___d7nF9{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___RWkXa{flex-direction:column;box-orient:block-axis}.orderWrap___Z6UhI{display:box;display:flex;align-items:center}.orderIconWrap___vT5et{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___Xrpfj{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___FgOA0{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___ryj8i{color:#00ddc7!important}.cursorPointer___Gg3bB{cursor:pointer;color:#00ddc799;height:10px}.orderTextWrap___BAYWJ{font-size:14px;color:#00ddc7;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio{color:#3061d0;background:#e5eeff;border-radius:999px;border:1px solid #C9DBFF;height:36px}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio:hover{border:1px solid #3061D0}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.ClassRoomItem___F4pL0{border:1px solid transparent}.ClassRoomItem___F4pL0:hover{border:1px solid #165DFF!important}.ClassRoomItem___F4pL0:hover .TitleDom___DB76T{color:#165dff}.ClassRoomItem___F4pL0 .TitleDom___DB76T{color:#333}.flex_box_center___aqHcx{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___CONGd{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVyEh{align-items:center;box-align:center}.flex_box_center_end___sI_Vv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___kaVXu{flex-direction:column;box-orient:block-axis}.wrp___rtMqf{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___A_PEI [class=ant-drawer-content]{background:#f5f5f5!important}.drawer___A_PEI [class=ant-drawer-footer]{background:#fff;box-shadow:0 -4px 4px #0000000d;position:relative;border:0}.menu___K7LJA{padding:0;margin:15px 0;position:relative;z-index:2}.menu___K7LJA:hover{z-index:3}.menu___K7LJA>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menu___K7LJA>li a{color:#4b4b4b}.menu___K7LJA>li strong{cursor:pointer;font-size:14px}.menu___K7LJA>li:hover{color:#fff;background:#0152d9}.actived___jzUGM{background:#0152d9;color:#fff}.actived2___UNcoI{color:#0152d9!important}.subTag___E54g9{color:#05101a;cursor:pointer}.directionName___EyQuv{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menuDirection___qmHXv{padding:0;margin:15px 0;display:inline-block;position:relative;z-index:2}.menuDirection___qmHXv:hover{z-index:3}.menuDirection___qmHXv>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menuDirection___qmHXv>li a{color:#4b4b4b}.menuDirection___qmHXv>li strong{cursor:pointer;font-size:14px}.menuDirection___qmHXv>li:hover{color:#fff;background:#196efd}.menuDirection___qmHXv>li:hover>a>strong,.menuDirection___qmHXv>li:hover>strong{color:#fff;background:#196efd}.menuDirection___qmHXv>li:hover div{display:block}.menuDirection___qmHXv>li>div{display:none;position:absolute;left:0;top:30px;width:400px;padding:10px;background:#fff;max-height:400px;overflow:auto;z-index:8;box-shadow:0 2px 8px #00000026}.menuDirection___qmHXv>li>div h2{cursor:pointer;margin:10px 0}.menuDirection___qmHXv>li>div h2:hover{color:#196efd}.menuDirection___qmHXv>li>div ul{padding-left:0}.menuDirection___qmHXv>li>div ul li{cursor:pointer;display:inline-block;height:30px;line-height:30px;margin-right:20px;color:#999}.menuDirection___qmHXv>li>div ul li:hover{color:#196efd}.listItem___ZO5AA{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___ZO5AA>div{flex:1 1}.listItem___ZO5AA:hover{box-shadow:0 0 10px #ccc}.info___raEGy{margin-left:20px}.info___raEGy p{margin-top:18px}.title___TE8wt{display:box;display:flex;align-items:center;box-align:center}.title___TE8wt strong{color:#333}.titleLeft___cyNcR{flex:1 1}.titleRight___N91L3{margin-top:18px}.titleRight___N91L3 a{margin-right:20px;font-weight:700}.search___SLT83{width:600px!important;margin:30px 0}.search___SLT83 input,.search___SLT83 [class=ant-input-group-addon] button{height:50px;line-height:50px;padding:0 30px;font-size:16px}.description___xhaap{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___jXQvt{color:#999}.menuCourse___jXQvt ul,.menuCourse___jXQvt li{margin:0;padding:0;list-style:none}.menuCourse___jXQvt li{display:inline-block;margin-right:30px}.paginationWrap___lwYL6{margin:0 auto;display:box;display:flex;align-items:center;width:1200px}.paginationWrap___lwYL6 button{height:32px}.flex_box_center___TJ6ml{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KILKX{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___RppSx{align-items:center;box-align:center}.flex_box_center_end___LPGnq{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___jU2Jl{flex-direction:column;box-orient:block-axis}.wrp___zKb7p{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___TIdMd [class=ant-drawer-content]{background:#f5f5f5!important}.drawer___TIdMd [class=ant-drawer-footer]{background:#fff;box-shadow:0 -4px 4px #0000000d;position:relative;border:0}.menu___auLdF{padding:0;margin:12px 0;position:relative;z-index:2}.menu___auLdF:hover{z-index:3}.menu___auLdF>li{display:inline-block;position:relative;margin-right:20px;border-radius:32px;line-height:32px}.menu___auLdF>li a{color:#4b4b4b}.menu___auLdF>li strong{padding:6px 15px;border-radius:32px;cursor:pointer;font-weight:400}.menu___auLdF>li:hover>a>strong,.menu___auLdF>li:hover>strong{color:#fff;background:#0152d9}.menu___auLdF>li:hover div{display:block}.menu___auLdF>li>div{display:none;position:absolute;left:0;top:30px;width:400px;padding:10px;background:#fff;color:#333;max-height:400px;overflow:auto;z-index:8;box-shadow:0 2px 8px #00000026}.menu___auLdF>li>div h2{cursor:pointer;margin:10px 0}.menu___auLdF>li>div h2:hover{color:#0152d9}.menu___auLdF>li>div ul{padding-left:0}.menu___auLdF>li>div ul li{cursor:pointer;display:inline-block;height:30px;line-height:30px;margin-right:20px;color:#999}.menu___auLdF>li>div ul li:hover{color:#0152d9}.actived___zYS5Q{background:#0152d9;color:#fff}.actived2___OGoZn{color:#0152d9!important}.subTag___b2h92{cursor:pointer}.subTag___b2h92:hover{color:#0152d9}.listItem___xctQk{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___xctQk>div{flex:1 1}.listItem___xctQk:hover{box-shadow:0 0 10px #ccc}.listItem2___s8hCO{padding:0 10px;display:box;display:flex;background:#fff;cursor:pointer}.listItem2___s8hCO>div{flex:1 1}.listItem2___s8hCO [class~=ant-divider-horizontal]{margin:17px 0}.info___TVoda{margin-left:20px}.info___TVoda p{margin-top:18px}.title___tbgwQ{display:box;display:flex;align-items:center;box-align:center}.title___tbgwQ strong{color:#333}.titleLeft___itHF1{display:flex;justify-content:space-between;flex:1 1}.titleRight___iEOIZ{margin-top:18px}.titleRight___iEOIZ a{margin-right:20px;font-weight:700}.search___p3840{width:600px!important;margin:30px 0}.search___p3840 input,.search___p3840 [class=ant-input-group-addon] button{height:50px;line-height:50px;padding:0 30px;font-size:16px}.filter___M4Wxe button{border-radius:40px;box-shadow:none}.filter___M4Wxe [class~=ant-btn-default]{background:#eee;border-color:#eee;color:#999}.filter___M4Wxe [class~=ant-btn-primary]{background-color:#0152d9;border-color:#0152d9}.filter___M4Wxe [class~=ant-input]{border-radius:4px}.filter___M4Wxe [class~=ant-input-search-button]{border-top-right-radius:4px;border-bottom-right-radius:4px}.description___QUPVu{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___SpFbG{color:#999;margin-top:10px}.menuCourse___SpFbG ul,.menuCourse___SpFbG li{margin:0;padding:0;list-style:none}.menuCourse___SpFbG li{display:inline-block;margin-right:30px}.itemWrapper___FDtjf{box-shadow:0 2px 4px #e0dfe1;border-radius:4px;padding:15px 25px 15px 15px;cursor:pointer}.itemWrapper___FDtjf .imgWrapper___kuAby img{width:128px;height:80px;object-fit:cover}.itemWrapper___FDtjf .infoWrapper___kPiaa{display:flex;flex-direction:column;justify-content:space-between}.itemWrapper___FDtjf .infoWrapper___kPiaa .name___s6_8x span{font-size:16px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333}.itemWrapper___FDtjf .infoWrapper___kPiaa .name___s6_8x span:hover{cursor:pointer;color:#165dff}.itemWrapper___FDtjf .infoWrapper___kPiaa .info___f4ohA{font-size:14px;color:#000f37}.itemWrapper___FDtjf .infoWrapper___kPiaa .info___f4ohA .smallText___NUbDW{font-size:12px;white-space:nowrap}.itemWrapper___FDtjf .infoWrapper___kPiaa .rate___uCfIz{font-size:12px;color:#ffa100;position:relative;white-space:nowrap;top:-2px}.itemWrapper___FDtjf .btnWrapper___oEyAe{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}.itemWrapper___FDtjf .btnWrapper___oEyAe .removeBtn____Ucrs:hover{color:#e30000;border-color:#e30000}.textEllipsis___dla3G{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mr6___BYwoU{margin-right:6px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-body]{padding:30px 40px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-content]{margin-top:36px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns]{margin-top:40px}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .okBtn___XoB2t{width:88px;color:#3061d0;border-color:#3061d0;background:#fff;height:32px;text-shadow:none;margin-left:20px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80}.modalWrapper___Xvqvn div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .cancelBtn___QjfJN{width:60px;height:32px;background:#f8f9fc;border-color:#c3cfe0;color:#464f66}.itemWrapper___ngbXA{box-shadow:0 2px 4px #e0dfe1;border-radius:4px;padding:15px 25px 15px 15px;cursor:pointer}.itemWrapper___ngbXA .imgWrapper___AT5j9 img{width:128px;height:80px;object-fit:cover}.itemWrapper___ngbXA .infoWrapper___xhMza{display:flex;flex-direction:column;justify-content:space-between}.itemWrapper___ngbXA .infoWrapper___xhMza .name___C2Snj span{font-size:16px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333}.itemWrapper___ngbXA .infoWrapper___xhMza .name___C2Snj span:hover{cursor:pointer;color:#165dff}.itemWrapper___ngbXA .infoWrapper___xhMza .info___roajb{font-size:14px;color:#000f37}.itemWrapper___ngbXA .infoWrapper___xhMza .info___roajb .smallText___oUD1O{font-size:12px}.itemWrapper___ngbXA .infoWrapper___xhMza .rate___FSIj9{font-size:12px;color:#ffa100;position:relative;top:-2px}.itemWrapper___ngbXA .btnWrapper___d_crD{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}.itemWrapper___ngbXA .btnWrapper___d_crD .removeBtn___ur6lt:hover{color:#e30000;border-color:#e30000}.textEllipsis___BHIv1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mr6___yqxpX{margin-right:6px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-body]{padding:30px 40px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-content]{margin-top:36px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns]{margin-top:40px}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .okBtn___FmLSD{width:88px;color:#3061d0;border-color:#3061d0;background:#fff;height:32px;text-shadow:none;margin-left:20px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80}.modalWrapper___kXUHq div[class~=ant-modal-content] div[class~=ant-modal-confirm-btns] .cancelBtn___MZ1Al{width:60px;height:32px;background:#f8f9fc;border-color:#c3cfe0;color:#464f66}.flex_box_center___E75df{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___gq0xl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___yN56t{align-items:center;box-align:center}.flex_box_center_end___G0peG{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___uS1uT{flex-direction:column;box-orient:block-axis}.scoremodal___aL5pB [class~=ant-modal-body]{padding:30px 40px}.scoremodal___aL5pB .selectWrapper___Ygqye span[class~=ant-select-selection-placeholder]{color:#9096a3}.scoremodal___aL5pB .selectWrapper___Ygqye div[class~=ant-select-selector]{border-radius:4px;height:38px!important}.scoremodal___aL5pB .selectWrapper___Ygqye div[class~=ant-select-selector] input[class~=ant-select-selection-search-input],.scoremodal___aL5pB .selectWrapper___Ygqye div[class~=ant-select-selector] span[class~=ant-select-selection-placeholder]{height:38px!important;line-height:36px!important}.scoremodal___aL5pB .selectWrapper___Ygqye div[class~=ant-select-selector] span[class~=ant-select-selection-item]{line-height:36px!important}.scoremodal___aL5pB .selectWrapper___Ygqye span[class~=ant-select-arrow]{right:12px}.scoremodal___aL5pB .allqingchu___guMcz{margin-top:8px;color:#165dff;cursor:pointer}.scoremodal___aL5pB .allqingchu___guMcz span{width:84px;height:20px;font-size:14px;font-weight:400;color:#165dff;line-height:20px;margin-left:5px}.scoremodal___aL5pB .allqingchu___guMcz:hover,.scoremodal___aL5pB .allqingchu___guMcz:hover span{color:#e30000}.scoremodal___aL5pB .title___i1dJS{color:#000;font-size:16px;font-weight:500;display:flex;width:100%}.scoremodal___aL5pB .score____OSKO{margin-left:305px;color:#3061d0;text-align:end}.scoremodal___aL5pB .close___Kduvv{font-size:15px;cursor:pointer;color:#979797}.scoremodal___aL5pB .content___arBu1{display:flex;justify-content:space-between;margin-top:40px;color:#5f6368;font-size:14px;margin-bottom:24px}.scoremodal___aL5pB .content___arBu1 span{display:flex;flex:1 1}.scoremodal___aL5pB .content___arBu1 span:nth-child(4){display:flex;min-width:160px;align-items:center}.scoremodal___aL5pB .items___DH47o{display:flex;justify-content:space-between;align-items:center;color:#5f6368;font-size:14px;margin-bottom:12px}.scoremodal___aL5pB .items___DH47o span{display:flex;flex:1 1;color:#000;font-weight:400}.scoremodal___aL5pB .items___DH47o span:nth-child(4){display:flex;min-width:160px;align-items:center;color:#9096a3}.scoremodal___aL5pB .bottom___hM79Y{width:100%;text-align:end}.scoremodal___aL5pB .bottom___hM79Y .yes___hNQrL{width:60px;height:32px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-weight:400;color:#fff!important}.scoremodal___aL5pB .bottom___hM79Y .no___NZ6Ev{margin-right:20px;width:60px;height:32px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-weight:400;color:#464f66!important;line-height:14px}.scoremodal___aL5pB .titlecount___xrIBB{width:41px;height:22px;background:#fa6400;border-radius:15px;margin-left:5px;color:#fff;display:inline-flex;justify-content:center}.scoremodal___aL5pB .add___r1I3m{font-weight:400;color:#fa6400;line-height:14px;font-size:14px;position:absolute;top:2px}.scoremodal___aL5pB .search___uCkjg{display:flex;align-items:center;overflow:hidden;border-radius:19px;height:38px;width:290px;padding-left:20px;background-color:#f6f7f9;border:none}.scoremodal___aL5pB .search___uCkjg [class~=ant-input-affix-wrapper]{background-color:#f6f7f9;border:none}.scoremodal___aL5pB .search___uCkjg [class~=ant-input-affix-wrapper] input{height:19px!important;line-height:19px!important}.scoremodal___aL5pB .search___uCkjg [class~=ant-input-affix-wrapper]{outline:none!important;border:none!important;box-shadow:none!important}.scoremodal___aL5pB .search___uCkjg span[class~=ant-input-group-addon]{display:none}.scoremodal___aL5pB .search___uCkjg .searchIcon___GY1Bx{margin-right:14px;cursor:pointer}.scoremodal___aL5pB .search___uCkjg input{background-color:#f6f7f9;font-size:14px}.scoremodal___aL5pB .tabWrap___yKtsj{margin-bottom:18px}.scoremodal___aL5pB .tabWrap___yKtsj div[class~=ant-tabs-tab]{font-size:14px;margin-right:40px!important;color:#5f6368}.scoremodal___aL5pB .tabWrap___yKtsj div[class~=ant-tabs-tab-active] [class~=ant-tabs-tab-btn]{color:#232b40}.scoremodal___aL5pB .tabWrap___yKtsj [class~=ant-tabs-nav]{margin:0;height:52px;padding:0 2px}.scoremodal___aL5pB .tabWrap___yKtsj [class~=ant-tabs-nav] div[class~=ant-tabs-ink-bar]{background-color:#232b40;border-radius:100px 100px 0 0;height:3px}.scoremodal___aL5pB .tabWrap___yKtsj [class~=ant-tabs-nav]:before{background:#f1f1f1}.previewModal___qBSxv div[class~=ant-modal-header]{padding-top:30px;padding-left:40px;padding-bottom:0}.previewModal___qBSxv div[class~=ant-modal-body]{padding:30px 40px}.previewModal___qBSxv button[class~=ant-modal-close]{top:17px;right:16px;transform:scale(1.2)}.flex_box_center___Oif8T{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___AazSm{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___A0S3j{align-items:center;box-align:center}.flex_box_center_end___aQhy8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___e0laF{flex-direction:column;box-orient:block-axis}.warp___HQRjH{max-height:552px;overflow:auto}.warp___HQRjH .mainPart___v8N6G{padding-left:38px}.warp___HQRjH .shixunbutton___Y00NA{font-size:14px;color:#3061d0;margin-right:20px;font-weight:400;background:#3061d0;width:108px;height:32px;color:#fff;display:flex;align-items:center;justify-content:center;line-height:32px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:16px}.warp___HQRjH .shixunbutton___Y00NA i{font-size:12px}.warp___HQRjH .redio___uM1fN{display:flex;flex-wrap:nowrap;align-items:center;margin-bottom:25px}.warp___HQRjH .redio___uM1fN .redioitem____8_x3{width:14px;height:14px;min-width:14px;background:#f5f5f5;border-radius:7px;border:1px solid #D9D9D9;margin-right:10px}.warp___HQRjH .redio___uM1fN .redioitemyes___HjQPM{font-size:14px;color:#37ad83;margin-right:10px}.warp___HQRjH .redio___uM1fN .title___nN6r6{color:#000;font-size:16px}.warp___HQRjH .redio___uM1fN .titleyes___vijEf{color:#37ad83;font-size:16px}.warp___HQRjH .redio___uM1fN .yestag___waPne{width:60px;height:20px;min-width:60px;color:#37ad83;text-align:center;margin-left:16px;line-height:20px;font-size:12px;background:#ebf6f2}.warp___HQRjH .qcount___iwzMc{display:flex;align-items:center;margin-bottom:20px}.warp___HQRjH .qcount___iwzMc .score___vVFHH{width:44px;height:20px;background:#ececec99;border-radius:0 0 2px;text-align:center;color:#464f66;margin-right:5px}.warp___HQRjH .qcount___iwzMc .qtitle___n6nkO{width:100%;color:#000}.warp___HQRjH .checkbox___x651S{display:flex;align-items:center;margin-bottom:25px}.warp___HQRjH .checkbox___x651S .checkboxitem___v5u_N{width:14px;height:14px;min-width:14px;background:#f5f5f5;border-radius:2px;margin-right:10px;border:1px solid #D9D9D9}.warp___HQRjH .checkbox___x651S .checkboxitemyes___Q775I{font-size:14px;color:#37ad83;margin-right:10px}.warp___HQRjH .checkbox___x651S .title___nN6r6{color:#000;font-size:16px}.warp___HQRjH .checkbox___x651S .titleyes___vijEf{color:#37ad83;font-size:16px}.warp___HQRjH .checkbox___x651S .yestag___waPne{width:60px;min-width:60px;height:20px;color:#37ad83;text-align:center;margin-left:16px;line-height:20px;font-size:12px;background:#ebf6f2}.warp___HQRjH .bottom___nJH50{margin-top:55px;background-color:#f6f7f9;padding:20px 38px}.warp___HQRjH .bottom___nJH50 .bottomitem___NgaAf{margin-bottom:25px;display:flex}.warp___HQRjH .bottom___nJH50 .bottomitem___NgaAf .left___jfWXT{color:#666;text-align:end;width:56px;min-width:48px;font-size:14px}.warp___HQRjH .bottom___nJH50 .bottomitem___NgaAf .right___XMSbN{color:#000;margin-left:10px;font-size:14px}.warp___HQRjH .completion___k2_bH .title___nN6r6{width:70px;height:46px;min-width:70px;display:flex;align-items:center;justify-content:center;color:#666}.warp___HQRjH .completion___k2_bH .content___vkCb1{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.warp___HQRjH .completion___k2_bH .content___vkCb1 .items___c8VO4{padding:14px 16px;border:1px solid #dcdcdc;height:46px;border-radius:2px;margin-left:20px;color:#37ad83;min-width:102px;display:inline-block;font-size:14px;text-align:center;margin-bottom:20px}.warp___HQRjH .simple___SbpfQ{display:flex;align-items:flex-start}.warp___HQRjH .simple___SbpfQ .title___nN6r6{color:#37ad83;font-size:14px;margin-top:2px;min-width:56px}.warp___HQRjH .simple___SbpfQ .content___vkCb1{font-size:16px}.warp___HQRjH .shixun___A22VU{display:flex;align-items:center;margin-top:20px}.warp___HQRjH .shixun___A22VU .score___vVFHH{width:44px;height:25px;background:#ececec99;border-radius:0 0 2px;text-align:center;line-height:25px;color:#464f66;margin-right:10px}.warp___HQRjH .shixun___A22VU .qtitle___n6nkO{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;width:80%;color:#000;font-weight:400;font-size:16px}.warp___HQRjH .combination___V2Gwz{display:flex;align-items:center;margin-top:20px}.warp___HQRjH .combination___V2Gwz .score___vVFHH{width:44px;height:25px;background:#ececec99;border-radius:0 0 2px;text-align:center;line-height:25px;color:#464f66;margin-right:10px}.warp___HQRjH .combination___V2Gwz .qtitle___n6nkO{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;width:80%;color:#000;font-weight:600;font-size:16px}.brief___LOzpE{font-size:14px;font-weight:400;margin-bottom:30px}.contentTitle___xkdcN{display:flex;align-items:center;font-size:14px;font-weight:400;color:#000}.content___Vtri0{font-size:14px;font-weight:400}.tips___tuAtH{font-size:12px;font-weight:400;color:#6b758b;padding-left:14px}.antdTable___s8T2N{margin-top:10px;margin-bottom:20px}.antdTable___s8T2N thead[class~=ant-table-thead]>tr>th{background:#f2f2f2;color:#5f6367}.antdTable___s8T2N .tableCell___kN9Fw{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.antdModal___WVBk3 div[class~=ant-modal-header]{padding-top:30px;padding-left:40px}.antdModal___WVBk3 button[class~=ant-modal-close]{top:18px;right:10px}.antdModal___WVBk3 button[class~=ant-modal-close] span[class~=ant-modal-close-x]{font-size:18px}.antdModal___WVBk3 div[class~=ant-modal-body]{padding-left:40px;padding-right:40px;max-height:620px;overflow:auto}.antdModal___WVBk3 div[class~=ant-modal-footer]{border-top:none;padding-bottom:30px;padding-right:40px}.orangeColor___ryB2u{color:#fe6300}.contentListWrap___ZH7d2{margin:0 auto;overflow:hidden}.contentListWrap___ZH7d2 .li___j_LdE{border-radius:2px;margin-bottom:30px;border:1px solid #ececec;box-shadow:0 2px 4px #eaeef4}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s{background-color:#f6f7f9;height:42px;border-top:1px solid #f1f1f1;display:flex;align-items:center;padding-left:20px;padding-right:15px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s .actionLeftItem___G9LXk{font-size:14px;color:#5f6368;margin-right:30px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s .actionLeftItem___G9LXk.questionTypeName___JxbiV{margin-right:14px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s .actionLeftItem___G9LXk>span{margin-left:8px}.contentListWrap___ZH7d2 .li___j_LdE .bottom___vg39s p{margin:0}.more___Zc_dQ{margin-left:auto;height:42px;display:flex;align-items:center}.textBtn___vA27R{font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:42px;cursor:pointer}.delBtn___BUYGb:hover{color:red}.line___D6NTm{display:inline-flex;align-items:center;margin-right:20px;margin-left:20px}.line___D6NTm .b1___pDdQ9{display:inline-block;width:1px;height:38px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.line___D6NTm .b2___VvH5K{display:inline-block;width:1px;height:38px;margin-left:0;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.flex_box_center___K3pXk{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___JNXiy{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lX_K7{align-items:center;box-align:center}.flex_box_center_end___ESJAL{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nMTYm{flex-direction:column;box-orient:block-axis}.line___cNtUM{display:inline-flex;align-items:center;margin-right:20px;margin-left:20px}.line___cNtUM .b1___xIRxk{display:inline-block;width:1px;height:38px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.line___cNtUM .b2___N5uit{display:inline-block;width:1px;height:38px;margin-left:0;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.list___SBMGo{display:flex;align-items:center;justify-content:flex-start;height:42px;background-color:#fff;padding:0 13px 0 20px}.list___SBMGo .title___zQP91{display:flex;flex:1 1;cursor:pointer;overflow:hidden;width:100%;white-space:nowrap}.list___SBMGo .title___zQP91>div{overflow:hidden;text-overflow:ellipsis}.list___SBMGo .tr___uaxLL{color:#000;cursor:pointer;font-size:14px}.list___SBMGo .tr___uaxLL i{font-size:12px;transition:.5s;display:inline-block;margin-left:6px}.itemDetail___Ye51x{padding:30px 44px;background-color:#f6f7f9}.answerWrapper___WJAPa{background-color:#fff;border-radius:6px;padding:40px 15px 30px;position:relative}.answerWrapper___WJAPa .decoration___fOLFB{height:28px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.row___FvSRM{display:box;display:flex;flex-direction:row;align-items:center;padding:0}.typeRow___qpDsw{display:box;display:flex;justify-content:space-between;align-items:center;width:100%}.type___a8Bs6{display:box;display:flex;color:#000;font-size:14px;line-height:17px}.typeName___EfvMr{color:#0152d9;cursor:default;height:26px;line-height:26px}.typeIcon___XnhBc{min-width:50px;line-height:20px;height:20px;border-radius:13px;margin-right:10px;font-size:12px;cursor:default;text-align:center;padding:0 3px}.unpublished___h3A34{color:#999;border:1px solid #999999}.private___Ok_kP{color:#fa6400;border:1px solid #fa6400}.public___V5_HF{color:#44d7b6;border:1px solid #44d7b6}.reviewFlag___MWDMc{border:1px solid #44d7b6;background-color:#44d7b633;color:#44d7b6;font-size:12px;padding:1px 5px;border-radius:5px}.reviewFlag___MWDMc:hover{color:#44d7b6}.typeRightAction___zwJ4e{display:box;display:flex}.actionLink___XxdsL{color:#333;padding:10px 0}.actionIcon___YoZs8{line-height:26px;color:#0152d9;margin-left:5px;margin-right:4px;font-size:14px}.topicTitle___TXfB_{font-weight:700;font-size:16px;cursor:default;color:#000;line-height:28px;padding-right:5px}.topicTitleContent___MceUW{font-size:14px;color:#000;line-height:24px;font-family:auto}.topicTitleContent___MceUW p{line-height:28px}.judgmentContent___Adte7{display:box;display:flex;flex-direction:row;line-height:28px;font-size:14px;color:#000;margin-top:10px}.judgmentContent___Adte7 span{font-size:14px}.programContent___R8AFa{color:#000;line-height:28px;font-size:14px}.otherContent___CNAVC{display:box;display:flex;flex-direction:column;color:#000;font-size:14px;line-height:19px}.combinationContent___NWKpD{display:flex;flex-direction:column;color:#000;width:100%;font-size:14px}.combinationContent___NWKpD .con___MJkTE{width:calc(100% + 40px);background:#f1f1f1;padding:10px 20px;margin-bottom:10px;margin-left:-20px;z-index:10px}.combinationContent___NWKpD .con___MJkTE>div{display:flex;margin-top:7px}.combinationContent___NWKpD .con___MJkTE>div>span{line-height:27px;flex-shrink:0}.otherContentItem___sXGMT{display:box;display:flex;flex-direction:row}.otherContentItem___sXGMT p{line-height:28px;font-size:14px;flex-shrink:0}.otehrContentHtml___MKkjT{font-size:16px;color:#000;line-height:28px}.difficultyRow___E6YVK{height:28px;line-height:28px;font-size:14px;color:#888}.updateTimeRow___MPFJY{display:box;display:flex;flex-direction:row;justify-content:space-between;width:100%}.updateTimeWrap___iIz5W{display:box;display:flex;flex-direction:row;align-items:center;color:#000;font-size:14px;line-height:28px}.updateTimeContent___CpqJg{line-height:28px;font-size:14px;color:#bbb}.programLanguage___lku0d{line-height:28px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000}.updateTimeRowAction___Y6grB{display:box;display:flex;flex-direction:row}.bottomAction___sQwM3{border-radius:5px;text-align:center;font-size:12px;cursor:pointer;padding:0 10px;height:30px;line-height:30px;display:inline-block;margin-left:10px}.borderColorBlue___vZe0j{border:1px solid #0152d9;background:#0152d9;color:#fff;line-height:30px}.borderColorBlue___vZe0j:hover{color:#fff}.borderColorRed___GPm9E{border:1px solid red;color:red;line-height:30px}.borderColorRed___GPm9E:hover{color:red}.borderColorFFF___izaeA{border:1px solid #0152d9;background:#f5f5f5;color:#0152d9;border-radius:5px}.borderColorFFF___izaeA:hover{color:#0152d9}.borderColorGray___WdIyN{border:1px solid #cccccc;background:#ccc;color:#fff;line-height:30px}.borderColorGray___WdIyN:hover{color:#fff}.selectIcon___I35Ch{color:#fff;height:20px;line-height:20px;display:inline-block;margin-left:7px;margin-right:5px;font-size:12px}.colorGreen___yFw84{color:#32bd8c}.parseAnswerBorder___tmhXi{border-top:1px solid #eeeeee;margin-top:23px}.answer___c9YYj{display:box;display:flex;flex-direction:row;color:#000;font-size:14px;margin-top:15px}.answerHtml___sp4Xx{color:#000;font-size:14px}.parse___Lif5r{display:box;display:flex;flex-direction:row;color:#000;font-size:14px;margin-top:5px}.parseText___KMhnK{line-height:28px;font-size:14px;word-break:break-word;color:#000;flex-shrink:0}.parseAnswer___aFs0o{word-break:break-word;line-height:28px;font-size:14px;color:#000}.parseAnswerHtml___AfP6o{font-size:14px;color:#000;line-height:28px}.actionBar___Q6e1E{display:flex;flex-direction:row;justify-content:space-between;align-items:center;background-color:#f5f5f5;font-size:14px;height:52px;padding:0 10px;border-radius:5px}.know___EtJbV{display:inline-block;max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#111;vertical-align:bottom}.menu___ODbWA>li{text-align:center}.bottom___yLg8j{text-align:end;font-size:14px;margin-bottom:10px;background-color:#f6f7f9}.bottom___yLg8j span{margin-left:20px;cursor:pointer;display:inline-block;width:66px;height:24px;line-height:24px;font-size:12px;text-align:center;border-radius:4px;border:1px solid #999999;color:#666}.bottom___yLg8j span i{display:inline-block;transform:rotate(180deg) scale(.7) translate(-4px,2px);font-size:12px}.bottom___yLg8j span:hover{color:#0152d9;border:1px solid #0152d9}.textBtn___p8TrW{font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:42px}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.modalContent___UXmJC{text-align:center;margin-top:10px;color:#333;font-size:16px}.modalContentLeft___JOFgX{text-align:left;color:#333;font-size:16px}.green___rI_w_ span,.green___rI_w_ p,.green___rI_w_ h1,.green___rI_w_ h2,.green___rI_w_ h3,.green___rI_w_ h4,.green___rI_w_ h5,.green___rI_w_ h6,.green___rI_w_ b,.green___rI_w_ strong{color:#00e373}.green___rI_w_ .textArea___OTapv{border:1px solid #00e373}.red___cDswv span,.red___cDswv p,.red___cDswv h1,.red___cDswv h2,.red___cDswv h3,.red___cDswv h4,.red___cDswv h5,.red___cDswv h6,.red___cDswv b,.red___cDswv strong{color:#e02020}.red___cDswv .textArea___OTapv{border:1px solid #e02020}.row___CE3Y7{display:flex;align-items:baseline;margin-top:5px}.html___u9n4r{max-width:610px;margin-right:10px}.line___Lh9Lb{height:1px;background-color:#eee;margin:20px 0}.footer___bruwa{display:flex;align-items:center;justify-content:flex-end;height:46px;background:#030814;padding-right:15px;border-top:1px solid #030814;border-bottom:1px solid #030814}.whiteFooter___mR7kn{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #fff}.error___KO0Jg{font-size:12px;color:#fb3226}.case___L0pNc{background:#0e1525;position:relative}.case___L0pNc .resize-y-bar___NK0gI{height:1px;width:100%;background:#3d445c;cursor:ns-resize;position:absolute;top:0;left:0;z-index:10}.case___L0pNc .resize-y-bar___NK0gI>i{color:#0053dc;position:absolute;top:50%;left:50%;margin-top:-7px;margin-left:-17px;z-index:10}.case___L0pNc .unfoldBtn___aMmZw{width:98px;height:24px;background:#3d445c;border-radius:8px 8px 0 0;position:absolute;left:50%;transform:translate(-50%);top:-24px;font-size:14px;color:#8d97af;line-height:24px;text-align:center;cursor:pointer;user-select:none}.case___L0pNc .caseHead___EuMPr{display:flex;align-items:center;height:34px;padding:0 16px}.case___L0pNc .caseHead___EuMPr .dot___Iky9k{width:10px;height:10px;background:#95a4c5;border-radius:50%;margin-right:4px;margin-top:2px}.case___L0pNc .caseHead___EuMPr .text___lMSx6{font-size:14px;color:#dde3ea}.case___L0pNc .caseHead___EuMPr .pass___XjijC{font-size:14px;color:#2abd8c;margin-left:10px}.case___L0pNc .caseHead___EuMPr .noPass___JxpWk{font-size:14px;color:#ff2c29;margin-left:10px}.case___L0pNc .caseHead___EuMPr .btns___FPIaK{margin-left:auto;display:flex;align-items:center}.case___L0pNc .caseHead___EuMPr .btns___FPIaK div{margin-left:15px;cursor:pointer;color:#bfbfbf}.case___L0pNc .caseHead___EuMPr .btns___FPIaK div i{font-size:14px;color:#687799;margin-right:5px}.case___L0pNc .result___oRj1h{height:100%;display:flex;padding:0 20px 10px}.case___L0pNc .result___oRj1h .title___IhMSa{flex-shrink:0;height:30px;background:#22293b;padding-left:15px;line-height:30px}.case___L0pNc .result___oRj1h .title___IhMSa span{color:#bfbfbf;font-size:14px}.case___L0pNc .result___oRj1h .left___XlC98{width:424px;flex-shrink:0;display:flex;flex-direction:column;margin-right:4px;overflow:hidden}.case___L0pNc .result___oRj1h .left___XlC98 .leftNode___NGHgx{flex:1 1;background:#1b2333}.case___L0pNc .result___oRj1h .left___XlC98 .leftNode___NGHgx textarea{background:none;border:none;color:#fff;resize:none;height:100%;padding:15px}.case___L0pNc .result___oRj1h .left___XlC98 .leftNode___NGHgx textarea::placeholder{color:#8f96b1!important}.case___L0pNc .result___oRj1h .right____fIu_{flex:1 1;display:flex;flex-direction:column;overflow:hidden}.case___L0pNc .result___oRj1h .node___MwdH7{flex:1 1;overflow:auto;position:relative;color:#fff;background:#2c32464d;padding:15px}.case___L0pNc .result___oRj1h .node___MwdH7 pre{overflow:hidden;margin-bottom:0;white-space:pre-wrap}.case___L0pNc .elseNode___WjFIg{background:#22293b;display:flex;align-items:start;margin:0 20px 4px}.case___L0pNc .elseNode___WjFIg .nameWrap___bEdbD{margin-left:15px;margin-top:4px;color:#bfbfbf}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt{flex:1 1;position:relative}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .scrollBox___hWkc9{overflow:auto;color:#fff;margin-left:20px;margin-top:6px;padding-right:90px;white-space:pre-wrap;margin-bottom:0}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .action___xBwDi{position:absolute;z-index:10;top:3px;right:26px}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .action___xBwDi span{margin-right:15px;color:#1890ff;cursor:pointer}.case___L0pNc .elseNode___WjFIg .scroll___ylWYt .action___xBwDi i{color:#687799;cursor:pointer;font-size:14px}.whiteCase___AZiDR{background:#f6f7f9}.whiteCase___AZiDR .resize-y-bar___NK0gI{background:#ddd}.whiteCase___AZiDR .unfoldBtn___aMmZw{background:#e9eaea;color:#5f6368}.whiteCase___AZiDR .caseHead___EuMPr .text___lMSx6{color:#333}.whiteCase___AZiDR .caseHead___EuMPr .btns___FPIaK div{color:#666}.whiteCase___AZiDR .caseHead___EuMPr .btns___FPIaK div i{color:#687799}.whiteCase___AZiDR .result___oRj1h .title___IhMSa{background:#fff}.whiteCase___AZiDR .result___oRj1h .title___IhMSa span{color:#333}.whiteCase___AZiDR .result___oRj1h .leftNode___NGHgx{background:#fafafa!important}.whiteCase___AZiDR .result___oRj1h .leftNode___NGHgx textarea{color:#333!important}.whiteCase___AZiDR .result___oRj1h .node___MwdH7{background:#fafafa!important;color:#333}.whiteCase___AZiDR .elseNode___WjFIg{background:#fafafa;color:#333}.whiteCase___AZiDR .elseNode___WjFIg .nameWrap___bEdbD span{color:#333}.whiteCase___AZiDR .elseNode___WjFIg .scrollBox___hWkc9{color:#000!important}.disabled___lWQU2:disabled{color:#d9d9d9!important;border-color:#d9d9d9!important}.codeHead___l8q5R{height:40px;background:#161d2c;display:flex;align-items:center}.codeHead___l8q5R .navWrap___xdWQe{display:flex;align-items:center}.codeHead___l8q5R .navWrap___xdWQe .nav___JKPVX{width:112px;height:40px;background:#161d2c;border:1px solid #161D2C;border-radius:2px;margin-right:1px;font-weight:500;font-size:14px;color:#d1d1d1;text-align:center;line-height:38px;cursor:pointer}.codeHead___l8q5R .navWrap___xdWQe .nav___JKPVX.active___DTAtT{background:#1b2333;color:#fff}.codeHead___l8q5R .navWrap___xdWQe .nav___JKPVX i{font-size:14px;color:#3f93b1;margin-right:10px}.whiteCodeHead___wDOny{background:#f6f7f9}.whiteCodeHead___wDOny .navWrap___xdWQe .nav___JKPVX{width:112px;height:40px;background:linear-gradient(180deg,#fff,#f6f7f9),#f6f7f9;box-shadow:inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #BACFFE;color:#666}.whiteCodeHead___wDOny .navWrap___xdWQe .nav___JKPVX.active___DTAtT{background:#3061d0;color:#fff;box-shadow:none}.whiteCodeHead___wDOny .navWrap___xdWQe .nav___JKPVX.active___DTAtT i{color:#fff}.header___VjNh9{display:flex;align-items:center;height:50px;width:100%;background:#0e1525;color:#fff;padding:0 20px}.header___VjNh9 h2{text-align:center;color:#fff;flex:1 0 auto;margin:0;font-size:16px}.header___VjNh9 a{color:#fff}.header___VjNh9 div{display:flex;flex-flow:row nowrap;align-items:center}.header___VjNh9 div img{border-radius:18px;margin-right:10px;overflow:hidden;width:36px;height:36px}.header___VjNh9 .timepiece___yuqJC{width:94px;height:30px;background:#242936;border-radius:15px;font-weight:500;font-size:16px;color:#42d5a0;margin-right:15px;justify-content:center}.header___VjNh9 .btn_edit___ozzux{width:82px;height:30px;background:#3061d0;border-radius:15px;margin-right:10px;text-align:center;line-height:30px}.whiteHeader___REV3m{background:#fff}.whiteHeader___REV3m .timepiece___yuqJC{background:#fff;box-shadow:0 2px 4px #e0dfe1}.djs___v0Ru7{display:inline-block!important}.myProblems___DKSbs{height:calc(100vh - 50px)!important}.whiteMyProblems___k0QS3 section[class~=resize-x-bar]{background:#fff!important}.fullMask___QZH1M{position:fixed;z-index:1000;width:100vw;height:100vh;top:0;left:0;background:transparent;cursor:ns-resize;display:none}.ldsRing___mpBZC{position:relative;width:40px;height:40px;margin:0 auto}.idsRingWrapper___Of9_n{position:absolute;z-index:1000;width:100%;height:100%;left:0;top:0;display:flex;flex-flow:column nowrap;justify-content:center}.idsRingWrapper___Of9_n p{text-align:center;margin-top:12px}.ldsRing___mpBZC div{box-sizing:border-box;display:block;position:absolute;width:32px;height:32px;margin:4px;border:4px solid #1976d2;border-radius:50%;animation:ldsring___o0w2t 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#1976d2 transparent transparent transparent}.ldsRing___mpBZC div:nth-child(1){animation-delay:-.45s}.ldsRing___mpBZC div:nth-child(2){animation-delay:-.3s}.ldsRing___mpBZC div:nth-child(3){animation-delay:-.15s}@keyframes ldsring___o0w2t{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.record-detail-info{width:100%;background-color:#fff;min-height:260px}.record-detail-info .record-info{display:flex;align-items:center;flex-flow:row nowrap;list-style:none;padding:0;margin-bottom:20px}.record-detail-info .record-info li{margin-right:40px}.record-detail-info .record-info li:last-child{margin-right:0;flex:1 0;text-align:right}.record-detail-info .record-detail-body{padding:8px 0;max-height:80vh}.footer{display:flex;flex-flow:row nowrap;align-items:center;height:56px;background:#121c24;color:#fff;padding:0 20px;justify-content:space-between}.test-case-panel{position:relative}.test-case-panel .error{font-size:12px;color:#fb3226}.test-case-panel .test-case-panel-body{position:absolute;will-change:transform;width:100%;transition:all .2s linear;bottom:0;transform:translate3d(0,350px,0);opacity:.1}.test-case-panel .test-case-panel-body pre{max-height:150px;overflow:auto}.test-case-panel .test-case-panel-body.active{transform:translate3d(0,-56px,0);opacity:1}.test-case-panel .tab-panel-body{padding:20px 10px;height:240px;background-color:#070f19;display:flex;flex-flow:column nowrap;justify-content:center;color:#ddd}.test-case-panel .tab-panel-body .tip{text-align:center}.test-case-panel .tab-panel-body textarea{background:#070f19!important;color:#fff;font-size:14px;border:0 solid transparent!important;height:200px;outline:none}.test-case-panel .btn-green{margin-right:10px;color:#28bd8b;border-color:#28bd8b}.test-case-panel .btn-blue{margin-right:10px;color:#0152d9;border-color:#0152d9}.test-case-panel .btn-blue span{pointer-events:none}.test-case-panel .btn-collapse{position:absolute;top:0;width:54px;height:27px;left:50%;margin-left:-27px;background:#2a3a4f;z-index:8;border-bottom-left-radius:100px;border-bottom-right-radius:100px;color:#fff;text-align:center;cursor:pointer;opacity:.4;transition:all .3s}.test-case-panel .btn-collapse.up{top:-294px}ul.s-navs{list-style:none;margin:0;padding:0 17px;height:54px;display:flex;flex-flow:row nowrap;align-items:center;background:#0f1e31;font-size:14px;color:#ddd}ul.s-navs.bg-white{background:#fff;color:#888}ul.s-navs.bg-white a{color:#888}ul.s-navs a{color:#ddd;display:block;margin-right:20px;height:54px;line-height:54px;border-bottom:2px solid transparent}ul.s-navs a.active{color:#5091ff;border-bottom:2px solid #5091ff}#educoder .custom-ant-disabled:disabled{color:inherit}.XtermText-valueRef .xterm .xterm-viewport{overflow:auto}.inputs textarea::placeholder{color:#536879!important}.flex_box_center___Gc4dd{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___K2f1v{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pupRp{align-items:center;box-align:center}.flex_box_center_end___UDLRC{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___a5uDo{flex-direction:column;box-orient:block-axis}.result___gu5zt{background:#070f19;height:100%;display:flex}.result___gu5zt .title___xrnx2{margin-top:20px;margin-bottom:10px;flex-shrink:0}.result___gu5zt .title___xrnx2 span{color:#bbbcbe}.result___gu5zt .left___IAxp9{width:340px;border-right:1px solid #333131;padding:0 20px 10px;flex-shrink:0;display:flex;flex-direction:column}.result___gu5zt .left___IAxp9 .leftNode___HL8fG{flex:1 1;background:#121c24}.result___gu5zt .left___IAxp9 .leftNode___HL8fG textarea{background:none;border:none;color:#fff;resize:none;height:100%;padding:10px}.result___gu5zt .left___IAxp9 .leftNode___HL8fG textarea::placeholder{color:#536879!important}.result___gu5zt .right___ZXYmw{flex:1 1;padding:0 20px 10px;display:flex;flex-direction:column}.result___gu5zt .right___ZXYmw .rightNode___jYL5_{flex:1 1;overflow:auto;position:relative;color:#fff}.result___gu5zt .right___ZXYmw .rightNode___jYL5_ .custom-spinner>div>div{border:4px solid #00D4F3!important;border-color:#00D4F3 transparent transparent transparent!important}.result___gu5zt .right___ZXYmw .rightNode___jYL5_ .custom-spinner p{color:#00d4f3!important}.split-panel-container{width:100%;height:calc(100vh - 121px);display:flex;flex-flow:row nowrap;align-items:center;overflow:hidden}.split-panel-container>section{height:100%}.split-panel-container.my-problems{height:calc(100vh - 65px)}.split-panel-container .resize-x-bar{width:4px;cursor:ew-resize;height:100%;display:flex;flex-flow:column nowrap;justify-content:center;background:#111c24}.split-panel-container .btn-resize{display:flex;flex-flow:column nowrap;text-align:center;justify-content:center;align-items:center;width:24px;height:24px;font-size:24px;z-index:10;border-radius:50%;position:absolute;margin-left:-10px;opacity:.7;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;background-color:#e0e0e0;color:#000000de}.list{display:flex;align-items:center;font-size:14px;margin:7px 0;padding-left:4px}.list dt,.list dd{margin:0}.list dt{flex:1 1;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;word-break:break-all}.list dd{width:66px;text-align:right;color:#0152d9;cursor:pointer}.list .copy{color:#38bcd8}.tpi-code-setting{height:calc(100vh - 54px);background:#031b2a;color:#ddd;font-size:13px;line-height:17px}.tpi-code-setting.oj{height:calc(100vh - 65px)}.tpi-code-setting h3{color:#008cff;font-size:16px;line-height:21px;padding-bottom:12px;text-align:left;width:100%;display:block;border-bottom:1px solid #092436}.tpi-code-setting .file-item{color:#ddd;padding:20px 0 0;display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center}.tpi-code-setting .file-item.action{justify-content:flex-start}.tpi-code-setting .file-item.action .iconfont{margin-right:21px}.tpi-code-setting .file-item span{max-width:148px}.tpi-code-setting .file-item:last-child{margin-bottom:25px}.tpi-code-setting span{color:#597a8f}.setting-drawer .ant-drawer-content-wrapper{top:54px;bottom:51px}.setting-drawer .ant-drawer-content{height:auto}.oj .ant-drawer-content-wrapper{top:65px}.setting-drawer .ant-drawer-body,.oj .ant-drawer-body{background:#031b2a}.setting-drawer .ant-drawer-body,.oj .ant-drawer-body{height:auto}.setting-drawer .ant-select-selection,.oj .ant-select-selection{width:120px;background:#0a2030;color:#597a8f;border:1px solid #597a8f}.list___IRN6i{display:flex;align-items:center;font-size:14px;margin:7px 0;padding-left:4px}.list___IRN6i dt,.list___IRN6i dd{margin:0}.list___IRN6i dt{flex:1 1;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;word-break:break-all}.list___IRN6i dd{width:66px;text-align:right;color:#0152d9;cursor:pointer}.list___IRN6i .copy___qCn9B{color:#38bcd8}.right-panel{position:relative}.btn-notes{position:absolute;right:0;top:50%;width:36px;height:36px;margin-top:-18px;border-radius:50%;background:#5091ff;color:#fff;font-size:18px;text-align:center;transform:translate(18px);will-change:transform;cursor:pointer;opacity:.5;transition:transform .3s linear,opacity .3s linear;z-index:100;display:flex;flex-flow:column nowrap;justify-content:center}.btn-notes:hover{opacity:1;color:#fff;transform:translate(-10px)}.note-form-area{position:absolute;right:10px;top:50%;width:450px;margin-top:-100px;background:#fff;border-radius:5px;padding:14px 10px 0;transform:translate(500px);will-change:transform;transition:transform .3s}.note-form-area.active{transform:translate(0)}.oj-modal .ant-modal-body{padding:0}.oj-modal .oj-modal-content{display:flex;flex-direction:column;align-items:center}.oj-modal .oj-modal-content>aside{font-size:14px;margin-top:50px;color:#333;width:438px}.oj-modal .oj-modal-head{width:100%;height:120px;padding-left:177px;padding-right:40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f1f1}.oj-modal .oj-modal-btn{width:180px;height:50px;background:#0152d9;border-radius:4px;font-size:16px;font-weight:500;color:#fff;cursor:pointer;line-height:50px;text-align:center;margin-bottom:30px}.oj-modal .oj-modal-tt{margin-right:51px;display:inline-flex;flex-direction:column;transform:translateY(-4px)}.oj-modal .oj-modal-tt>span:last-child{width:160px;height:6px;background:#e7f3ff;border-radius:3px}.oj-modal .oj-modal-tt>span:last-child span{display:inherit;width:60px;height:6px;background:#0152d9;border-radius:3px}.oj-modal i{color:#666;cursor:pointer}.oj-select{margin-left:20px}.oj-select .ant-select-selector{background:#25343e!important;border:0px!important;height:30px!important}.oj-select .ant-select-arrow{color:#fff}.oj-select .ant-select-selection-item{color:#fff;font-size:12px;line-height:30px!important}.exercise_user_info{font-size:14px;font-weight:400;color:#b2bacb}.exercise_user_info span{font-size:16px;font-weight:500;color:#55bfd6}.djs{margin-top:3px!important;display:inline-block!important}.time{margin-top:5px!important;display:inline-block!important}.flex_box_center___rM3g8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Oc7SE{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___MnmYE{align-items:center;box-align:center}.flex_box_center_end___QQh83{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ZRFbL{flex-direction:column;box-orient:block-axis}.left-panel___SKGyd{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden}.left-panel___SKGyd .tab-panel-body___gABdv{padding:0 16px;overflow:auto;flex:1 1}.left-panel___SKGyd .tab-panel-body___gABdv pre:empty{display:none}.left-panel___SKGyd .b1___QpbmK{border-bottom:1px solid #eaecef}.left-panel___SKGyd .oj-width-input___eJQWT{width:270px}@media screen and (max-width: 1280px){.left-panel___SKGyd .oj-mr___AxILO{margin-right:20px}.left-panel___SKGyd .oj-width-input___eJQWT{width:235px}}.s-navs___FXwOi{list-style:none;margin:0;padding:0 10px;height:40px;display:flex;flex-flow:row nowrap;align-items:center;border-top:1px solid #F3F3F3;background:#0f1e31;font-size:16px;color:#ddd}.s-navs___FXwOi li{margin-right:auto}.s-navs___FXwOi.bg-white___kbZ6r{background:#fff;color:#888}.s-navs___FXwOi.bg-white___kbZ6r a{color:#888}.s-navs___FXwOi a{color:#ddd;display:block;margin-right:20px;height:40px;line-height:40px;border-bottom:2px solid transparent}.s-navs___FXwOi a.active___QGOnZ{color:#5091ff;border-bottom:2px solid #5091ff}.list___PXTsq{display:flex;align-items:center;justify-content:space-between;padding:0 10px;height:46px;color:#ddd;margin-bottom:1px;background:#3d445c4d;cursor:pointer}.list___PXTsq span{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;padding-right:20px;flex-basis:64px;width:100%}.list___PXTsq:hover{background-color:#263446ba}.list___PXTsq.active___QGOnZ{background-color:#263446!important}.btns___F8yZK{width:30px;height:30px;background:#3061d0;border-radius:4px;cursor:pointer;user-select:none;text-align:center;line-height:30px}#educoder .drawer___xdGaT .ant-input-search{background:#2c3246}#educoder .drawer___xdGaT .ant-input-search input{background:#2c3246;border:1px solid #3D445C;color:#fff}#educoder .drawer___xdGaT .ant-input-search input::placeholder{color:#ccc}#educoder .drawer___xdGaT .ant-input-search .ant-input-search-button{color:#4e5977;background:#2c3246;border:1px solid #3D445C;border-left:1px solid transparent}#educoder .drawer___xdGaT .ant-select .ant-select-selector{background:#2c3246;border:1px solid #3D445C}#educoder .drawer___xdGaT .ant-select .ant-select-arrow{color:#4e5977}#educoder .drawer___xdGaT .ant-select .ant-select-selection-item{color:#fff}#educoder .drawer___xdGaT .ant-select .ant-select-selection-placeholder{color:#ccc}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item-active{border-color:#0152d9!important;background-color:#0152d9!important}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item-link{background-color:transparent!important;color:#fff}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item{background-color:transparent;border:1px solid #656f87}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item a,#educoder .drawer___xdGaT .ant-pagination .ant-pagination-item-ellipsis{color:#fff}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-options{color:#656f87}#educoder .drawer___xdGaT .ant-pagination .ant-pagination-options input{color:#fff;width:40px;background:transparent}#educoder .drawer___xdGaT .ant-pagination button,#educoder .drawer___xdGaT .ant-pagination input{line-height:initial;border:1px solid #656f87!important}.tour___oMkVh[class~=ant-tour]{left:7px!important;width:340px}.tour___oMkVh[class~=ant-tour] [class~=ant-tour-arrow]{left:17px!important}.tour___oMkVh[class~=ant-tour] [class~=ant-tour-footer]{display:none!important}.tour___oMkVh[class~=ant-tour] [class~=ant-tour-description]{padding:16px!important;overflow:hidden}.pagination___yDAjZ{text-align:center;margin-top:10px}.info___ATmsa{display:flex;flex-flow:row nowrap;align-items:center;height:56px;list-style:none;background:#fff;justify-content:space-between}.wrap____KX19 [class~=xterm] [class~=xterm-viewport]{overflow:auto!important}.desc___iOAgd{padding:8px 16px;height:calc(100vh - 138px);overflow:auto}.info___GPALq{color:#888;display:flex;align-items:center;font-size:14px;height:46px;background:#fff;padding:0 10px;box-shadow:0 2px 4px #e5e3e380;border-top:1px solid #f4f4f4;border-bottom:1px solid #f4f4f4}.info___GPALq .info_tag___CFEn8{height:22px;line-height:22px;padding:0 5px;background:#37ad8333;border-radius:2px;border:1px solid #A9DFCC;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:14px;color:#2cc497;text-align:left;font-style:normal}.info___GPALq li{margin-right:8px}.discuss-panel{height:calc(100vh - 142px);overflow:auto;padding:0 16px}.discuss-item-container{display:flex;flex-flow:row nowrap;width:100%;padding:15px;border-bottom:1px solid #e3e3e3;overflow:hidden}.discuss-item-container section{margin-left:15px;flex:1 1 auto;width:100%}.discuss-item-container .grey{color:#ccc}.discuss-content{margin:4px 0;word-break:break-word;word-wrap:break-word}.discuss-content img{max-width:200px}.discuss-info{display:flex;flex-flow:row wrap;align-items:center;color:#999;line-height:16px;font-size:12px}.discuss-info .top{color:#fff;padding:0 8px;background:#ff4343;border-radius:8px;text-align:center}.discuss-info .gift{cursor:default}.discuss-info .view-code{color:#4cacff}.discuss-info a{color:#999}.discuss-info a,.discuss-info span{margin-right:15px}.btn-group{display:flex;flex-flow:row nowrap;justify-content:flex-end;margin-bottom:8px}.btn-group .btn-top .iconfont{transform:rotate(180deg);display:inline-block}.btn-group a{width:31px;text-align:center;color:#888}.btn-group a .iconfont{font-size:14px!important}.second-discuss .btn-group{opacity:0}.second-discuss:hover{background:#ebebeb}.second-discuss:hover .btn-group{opacity:1}.reply-discuss-container{background:#f4f4f4;border-radius:4px;margin-bottom:6px;position:relative;margin-top:6px}.reply-discuss-container:before{content:" ";position:absolute;border-color:#000;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:13px;top:-9px;border-bottom:10px solid #f4f4f4}.discuss-item-editor{width:100%;overflow:hidden}.discuss-item-editor .btn-send{cursor:pointer;border:none;padding:0 12px;color:#fff;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400;margin-right:22px;margin-top:6px;background:#0152d9;float:right}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.image-preview-container{display:flex;flex-flow:column nowrap;position:fixed;align-items:center;justify-content:center;inset:0;z-index:99999;background:#000c}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:#000000a6;margin-right:10px;display:flex;flex-flow:row nowrap;align-items:center}.preview-wrp-group{overflow:auto;width:100%;text-align:center}.dis-input-editor-container___nKGxx{position:relative;background:#fff;width:100%;box-shadow:0 -3px 5px #4cacff33}.dis-input-editor-container___nKGxx.active___tmt7T{position:absolute;height:calc(100vh - 50px);background:transparent;z-index:1000;width:100%;display:flex;flex-flow:column nowrap;justify-content:center;top:0}.dis-input-editor-container___nKGxx .input-mask___epEle{flex:1 0;background:#0000;width:100%}.dis-input-editor-container___nKGxx .text-area___Vry8W{display:flex;flex-flow:row nowrap;padding:10px 20px;align-items:center}.dis-input-editor-container___nKGxx .text-area___Vry8W input{border-radius:15px;border:1px solid #eaeaea;background-color:#fff;overflow:hidden;height:32px;padding:0 16px;line-height:32px;outline:none;flex:1 0;margin-right:10px}.dis-input-editor-container___nKGxx .text-area___Vry8W a{color:#888;display:block;height:32px;line-height:32px;margin-right:20px;display:flex;flex-flow:row nowrap;align-items:center}.dis-input-editor-container___nKGxx .text-area___Vry8W a span{line-height:32px;font-size:16px}.dis-input-editor-container___nKGxx .tip-container___plpA3{display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center}.dis-input-editor-container___nKGxx .tip-container___plpA3 p{font-size:12px;color:#ff6800}.dis-input-editor-container___nKGxx .hide___kPfyC{display:none}.dis-input-editor-container___nKGxx .md-container___u85aq{background:#fff;padding:10px 20px}.btn-send___deQ5v{cursor:pointer;display:inline-block;border:none;padding:0 12px;color:#fff;background:#0152d9;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse]{background-color:transparent}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item]{margin-bottom:20px;border:none;box-shadow:0 2px 4px #eaeef4}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item] div[class~=ant-collapse-header]{padding:0 20px;height:64px;background-color:#fff;align-items:center!important}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item] div[class~=ant-collapse-content]{background-color:#fff}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item] div[class~=ant-collapse-content] div[class~=ant-collapse-content-box]{padding:20px}.hackSets___tw75g .collapseWrapper___TteKi div[class~=ant-collapse-item-active] div[class~=ant-collapse-header]{background-color:#eaeffa}.hackSets___tw75g .collapseWrapper___TteKi .panelHeader___Y_Xjq{font-size:14px;font-weight:400;color:#000}.hackSets___tw75g .collapseWrapper___TteKi .rateInput___y1qUi{display:inline-flex;align-items:center;white-space:nowrap}.hackSets___tw75g .collapseWrapper___TteKi .rateInput___y1qUi span{font-size:14px;font-weight:400;color:#666}.hackSets___tw75g .collapseWrapper___TteKi .open___xrixP{color:#165dff!important;transform:rotate(90deg)}.hackSets___tw75g .collapseWrapper___TteKi .close___jb6D2{color:#82a8ff!important}.uploadTableWrapper___U9Tz_{background:#fff}.uploadTableWrapper___U9Tz_ div[class^=headProgram]>div,.uploadTableWrapper___U9Tz_ div[class^=listWrapper]>div[class^=list]>div{flex:1 1;padding:0 12px!important}.uploadTableWrapper___U9Tz_ div[class^=headProgram]>div:last-child,.uploadTableWrapper___U9Tz_ div[class^=listWrapper]>div[class^=list]>div:last-child{display:none}.wrap___MkYbQ [class~=ant-upload-drag]{background:#1890ff0a!important;border-radius:4px;border:1px dashed #0152d9}.wrap___MkYbQ .colorBlue___onjbP{color:#0152d9}.wrap___MkYbQ .repeatedName___nbqnE{color:red}.wrap___MkYbQ .text___xvutp{margin-top:20px;color:#464f66;line-height:24px}.wrap___MkYbQ .greyText___dihvZ{font-size:14px;font-weight:400;color:#5f6368}.wrap___MkYbQ .noData___LxOJA{height:180px;margin-bottom:30px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A{display:flex;align-items:center;justify-content:center}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A img{width:46px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A span{font-size:14px;font-weight:400;color:#9096a3}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A .uploadText___Et3KS{color:#3061d0}.wrap___MkYbQ .btnS___k1e6j{height:32px;border-radius:4px;background:#3061d0}.wrap___MkYbQ .btnS___k1e6j i{margin-right:6px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]{width:60px;height:38px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:23px;border:none;display:inline-flex;align-items:center;justify-content:center;margin-right:20px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]:before{background-color:transparent}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper] span{color:#464f66;font-size:14px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]{background-color:#fff;box-shadow:0 2px 4px #e0dfe1;border:1px solid #BACFFE;background:#d3e0fd linear-gradient(180deg,#fff,#f6f7f9)}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:first-child{border-right-color:#bacffe}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:focus-within{box-shadow:0 2px 4px #e0dfe1}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked] span{color:#165dff;font-size:14px}.head___s4Eix{display:flex;margin-bottom:36px}.head___s4Eix .operation___JCAVh{text-align:center}.head___s4Eix>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.headProgram___uWA_M{display:flex;height:40px;line-height:40px;background:#f6f7f8;box-shadow:0 2px 4px #eaeef4;padding-left:5px;padding-right:5px}.headProgram___uWA_M .operation___JCAVh{text-align:center}.headProgram___uWA_M>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.listWrapper___xW3b4{max-height:214px;overflow:auto}.listWrapper___xW3b4::-webkit-scrollbar{display:none}.listWrapper___xW3b4 .list___dCbd6{display:flex;margin-bottom:36px;align-items:center}.listWrapper___xW3b4 .list___dCbd6 .del___abNho{color:#e53333;cursor:pointer}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf>span{color:#3061d0;cursor:pointer;text-decoration:underline}.listWrapper___xW3b4 .list___dCbd6>div{text-align:left;display:inline-block;background:#fff}.tabs___p2jIb .tabWarp___mt05L{display:flex;align-items:center}.tabs___p2jIb .tabWarp___mt05L .tab___IYGdQ{width:88px;text-align:center;height:30px;line-height:30px;background:#f0f0f0;font-weight:400;font-size:16px;color:#666;cursor:pointer}.tabs___p2jIb .tabWarp___mt05L .tab___IYGdQ.active___fQMlP{background:#fff;color:#3061d0}.tabs___p2jIb .content___GWVJY{padding:10px;background-color:#fff}.exitFullScreenModalWrapper___aNB9Q div[class~=ant-modal-confirm-btns]{float:none;display:flex;justify-content:center;margin-bottom:20px}.exitFullScreenModalWrapper___aNB9Q div[class~=ant-modal-confirm-btns] button{width:120px;height:38px;background:#f6f7f9 #3061d0;border-radius:2px}.exitFullScreenModal___HIMyY{text-align:center;font-size:30px;font-weight:400}.exitFullScreenModal___HIMyY .warningIcon___xEURa{height:88px;margin-bottom:20px}.exitFullScreenModal___HIMyY .warningText___W6NPJ{color:#e30000}.exitFullScreenModal___HIMyY .countdownWrapper___n8g1M{display:inline-block}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV{text-align:center}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV .forcedText___C3CrF{font-size:30px;font-weight:500;color:#e30000;margin-bottom:10px}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV .screenNumText___oljHN{font-size:14px;font-weight:400;color:#333;margin-bottom:20px}.forcedModalWrapper___JPMQ2 .forcedModalContent___uY5FV img{height:85px;margin-bottom:20px}.react-resizable{position:relative;background-clip:padding-box}.react-resizable-handle{position:absolute;width:10px;height:100%;bottom:0;right:-5px;cursor:col-resize;z-index:1}.react-resizable-handle.active:before{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:solid 1px black}.flex_box_center___yFxgG{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___UsNbm{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___H4AaI{align-items:center;box-align:center}.flex_box_center_end___brvj1{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ANz6w{flex-direction:column;box-orient:block-axis}.bg___INO_I{background:#fff}.containerTitle___Fgq2j{height:88px;line-height:88px;font-size:18px;padding:0 30px;color:#333;border-bottom:1px solid #eee;display:box;display:flex;align-items:center;box-align:center}.containerTitle___Fgq2j div:nth-child(1){flex:1 1}.containerDesc___yzyxL{height:50px;line-height:40px;padding:0 30px;margin-bottom:-20px;margin-top:10px;display:box;display:flex}.containerDesc___yzyxL p:nth-child(1){flex:1 1}.menus___mG8i5{padding-right:31px;padding-top:10px}.menus___mG8i5 [class~=ant-menu-horizontal]{border-bottom:0}.listItem___Xxrwb{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___Xxrwb>div{flex:1 1}.listItem___Xxrwb:hover{box-shadow:0 0 10px #ccc}.info___LRMvW{margin-left:20px}.info___LRMvW p{margin-top:18px}.title___CDxA4{display:box;display:flex;align-items:center;box-align:center}.title___CDxA4 strong{color:#333}.titleLeft___ecHXW{flex:1 1}.titleRight___y2uWB a{margin-right:20px;font-weight:700}.acitons___dw4TM{height:70px;background:#fff;display:box;display:flex;align-items:center;box-align:center;padding:0 30px}.acitons___dw4TM>div:nth-child(2){display:box;display:flex;align-items:center;box-align:center;flex:1 1}.acitons___dw4TM>div:nth-child(2) .move___lNPOE{cursor:pointer;color:#999;padding:0 16px;position:relative}.acitons___dw4TM>div:nth-child(2) p{cursor:pointer;color:#999;margin-bottom:0}.acitons___dw4TM>div:nth-child(2) p:hover{color:#333}.acitons___dw4TM>div:nth-child(2) p span{position:relative;padding:0 16px}.acitons___dw4TM>div:nth-child(2) p span:after{content:"";width:1px;height:10px;background:#ededed;position:absolute;right:0;top:50%;margin-top:-5px}.acitons___dw4TM>div:nth-child(2) p:nth-last-child(1) span{padding-right:0}.acitons___dw4TM>div:nth-child(2) p:nth-last-child(1) span:after{display:none}.hideHeadCheckbox___G7EzG table{background:#f4faff}.hideHeadCheckbox___G7EzG table>thead>tr>th:nth-child(1)>div{display:none}.moveCategory___EQbg_{padding:30px 0;position:relative;top:-25px}.moveCategory___EQbg_ ul{box-shadow:0 0 6px #4c4c4c33!important;background:#fff;padding:10px 0}.moveCategory___EQbg_ ul li{padding:0 12px;margin:5px 0;font-size:14px}.tabSearch___f3jgD{display:flex;align-items:center;margin:8px 0}.warpModal___qPLe0 .ant-tabs-nav:before{border-bottom:0}.modalColumn___uTffJ{font-size:14px}.modalColumn___uTffJ .modalRow___DV84G{display:flex;align-items:center;font-size:14px;flex-direction:row;margin-top:12px}.modalColumn___uTffJ .modalRow___DV84G .sup___JMKJV{color:#fb3226;font-size:16px;margin-top:21px;margin-right:2px}.itemWrap___KEbZ9{display:flex;flex-direction:row;align-items:center;background:#fff;width:100%;border-radius:8px;margin-top:20px}.itemWrap___KEbZ9:nth-child(1){margin-top:2px}span[class~=ant-checkbox-checked] span[class~=ant-checkbox-inner]{background-color:#fff;border-color:#165dff}span[class~=ant-checkbox-checked] span[class~=ant-checkbox-inner]:after{border-color:#165dff}.checkBoxWrapper___Y_kuj{position:relative;top:6px}.listWrap___VlWgM{width:100%;border:1px solid #ececec;box-shadow:0 2px 4px #eaeef4}.listWrap___VlWgM p{margin:0}.list___XIr6d{padding:20px;background-color:#fff;border-bottom:1px solid #ececec}.flexCenter___eacyI{display:flex;justify-content:center;align-items:center}.flexRow___A_mOc{display:flex;flex-direction:row;align-items:center}.imgWrap___KI9io{width:40px}.img___vjS11{width:39px;height:44px;vertical-align:middle;border-style:none}.contentWrap___NI0Vt{width:100%;display:flex}.contentWrap___NI0Vt>div:nth-child(1){flex:1 1}.contentWrap___NI0Vt>div:nth-child(2){display:flex;align-items:center}.titleWrap___SlBWX{cursor:pointer;text-decoration:none;background-color:transparent;margin-bottom:10px}.title___KGh5v{font-size:20px;font-weight:400;color:#000;max-width:774px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title___KGh5v:hover{color:#145dff}.content___B0PxW{font-size:14px;font-weight:400;color:#6a7283;margin-right:30px}.content___B0PxW span{margin-left:4px}.bottomWrap___WVJb4{display:flex;flex-direction:row;justify-content:space-between}.updateTime___sxvSt{font-size:12px;color:#bbb;line-height:30px}.useCount___puqPx{margin-left:20px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#bbb;line-height:30px}.actionBtn___JUWfj{font-size:14px;height:32px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:16px;border:1px solid #bacffe;color:#3061d0;display:inline-flex;align-items:center;justify-content:center;padding:0 16px}.actionButton___jabv3{cursor:pointer;width:88px;height:30px;background:#0152d9;border-radius:4px;text-align:center;line-height:28px;color:#fff;border:0px;outline:0px}.actionBar___I1pC8{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;height:40px;padding:0 20px;background:#f6f7f9}.typeIcon___bramC{line-height:26px;height:26px;border-radius:13px;margin-left:10px;font-size:14px;cursor:default;text-align:center;padding:0 10px;font-weight:400}.private___sdERX{color:#a45204;border:1px solid #ffe9c1}.public___noSmD{color:#23c073;border:1px solid #23c073}.random___l2hTA{color:#01795d;border:1px solid #d6f7ef}.actionLinkWrapper___Him3y{margin-left:20px}.actionLinkWrapper___Him3y .actionLink___rWBLq{cursor:pointer;color:#5f6368!important;font-size:14px;line-height:26px;position:relative}.actionLinkWrapper___Him3y .actionLink___rWBLq .actionIcon___lMmL7{color:#5f6368!important;line-height:30px;margin-right:5px;font-size:14px}.actionLinkWrapper___Him3y .line___HQJlK{margin-right:20px;display:inline-flex;align-items:center}.actionLinkWrapper___Him3y .line___HQJlK .b1___Y4KZd{display:inline-block;width:1px;height:34px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.actionLinkWrapper___Him3y .line___HQJlK .b2___QxMOG{display:inline-block;width:1px;height:34px;margin-left:0;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.actionLeftItem___Fnq4b{margin-right:30px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5f6368}.actionLeftItem___Fnq4b span{color:#000;margin-left:8px}.export_type_modal___ISAzV{display:flex;flex-wrap:wrap;justify-content:right;margin-top:10px}.export_type_modal___ISAzV .export_type_modal_con___qw5B2{width:100%;display:flex;justify-content:center}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .type_item___pdMxs{width:120px;height:120px;margin:0 20px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .img_warp___cDH7f{padding:15px;border-radius:8px;border:1px solid #d9d9d9;cursor:pointer;margin-bottom:3px;box-shadow:0 2px #00000005}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .img_warp___cDH7f:hover{background-color:#fafafa}.export_type_modal___ISAzV .export_type_modal_con___qw5B2 .img_warp_active___rLrYN{background-color:#fafafa;border-color:#5784de}.menu___Q2PXr>li{text-align:center}.text___FxbAX{display:flex;align-items:center;justify-content:space-around;width:58px;height:24px;background:#e40d0d21;border-radius:4px;border:1px solid rgba(251,43,43,.16);font-weight:400;font-size:14px;color:#e1140f;line-height:14px;text-align:left;font-style:normal;cursor:pointer}.text___FxbAX:hover{border:1px solid rgba(225,20,15,.5)}.wrap___UlBQ1{width:402px;height:254px;padding:8px 13px}.wrap___UlBQ1 p{width:352px;height:66px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#191919;line-height:22px;text-align:left;font-style:normal;margin-bottom:15px}.wrap___UlBQ1 .contact____pUDq{display:flex;flex-direction:column;align-items:center}.wrap___UlBQ1 .img___BapAv{width:130px;height:130px;display:flex;align-items:center;justify-content:space-around}.flex_box_center___LsrKL{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___sZBht{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___QNt7D{align-items:center;box-align:center}.flex_box_center_end___S9zs3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Y5tcm{flex-direction:column;box-orient:block-axis}.title___t4qlt{text-align:left;font-size:14px;color:#333;display:flex;align-items:center}.title___t4qlt img{margin-right:5px;width:14px;height:14px;position:relative}.tip___MtKbx{text-align:left;font-size:14px;color:#6bb3dc;display:flex;margin-bottom:15px;margin-left:20px}.radioWrap___fp3kY{cursor:default;margin-bottom:20px}.radioWrap___fp3kY .row___IoDN5 td{border-bottom:0}.radioWrap___fp3kY .row___IoDN5.row___IoDN5:nth-child(odd){background-color:#f5f5f5}.radioWrap___fp3kY .row___IoDN5.row___IoDN5:nth-child(2n){background-color:#fff}.radio___vuEDI{display:block;height:30px;line-height:30px}.radio___vuEDI span{font-size:14px}.colorFF0000____5DYm{color:red}.pagination___bvqCI{margin:10px auto 0}.modalColumn___szBPb{font-size:14px}.modalColumn___szBPb .modalRow___mtd9M{display:flex;align-items:center;font-size:14px;flex-direction:row;margin-top:12px}.modalColumn___szBPb .modalRow___mtd9M .sup___JDuYL{color:#fb3226;font-size:16px;margin-top:21px;margin-right:2px}.search___wNY_F{height:46px}.search___wNY_F span[class~=ant-input-wrapper] input,.search___wNY_F span[class~=ant-input-group-addon] button{height:46px!important}.bottom___HvFhF .yes___xmznh,.bottom___HvFhF .yes___xmznh:hover{height:32px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-weight:400;color:#fff}.bottom___HvFhF .no___vEJlu,.bottom___HvFhF .no___vEJlu:hover{margin-right:20px;width:60px;height:32px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-weight:400;color:#464f66;line-height:14px}.sendToClass___le_BX{display:flex;flex-direction:column;align-items:center}.sendToClass___le_BX img{margin-top:24px}.sendToClass___le_BX div{color:#999;margin-bottom:20px;margin-top:-32px}.sendToClass___le_BX button{width:100px;height:32px;border-radius:4px;font-size:14px;margin-bottom:10px}.flex_box_center___rQJfc{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___MDW24{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___RZbAv{align-items:center;box-align:center}.flex_box_center_end___ILhJA{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Fmij7{flex-direction:column;box-orient:block-axis}.orangeColor___U5vU6{color:#fa6400}.redColor___qYa6X{color:#e30000}.statustitle___pTBLm{font-weight:600;color:#333;margin-left:5px}.statusbody___qUPQx{background:#f6f7f9;padding:10px 20px;margin-top:5px}.flex___VtL45{display:flex;align-items:center} diff --git a/p__virtualSpaces__Lists__Experiment__index.c9bd8bcd.async.js b/p__virtualSpaces__Lists__Experiment__index.c9bd8bcd.async.js new file mode 100644 index 0000000000..1df84db6c3 --- /dev/null +++ b/p__virtualSpaces__Lists__Experiment__index.c9bd8bcd.async.js @@ -0,0 +1,309 @@ +!(function(){var Ks=Object.defineProperty,Vs=Object.defineProperties;var Qs=Object.getOwnPropertyDescriptors;var yi=Object.getOwnPropertySymbols;var rs=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable;var ns=(gt,ot,fe)=>ot in gt?Ks(gt,ot,{enumerable:!0,configurable:!0,writable:!0,value:fe}):gt[ot]=fe,Wo=(gt,ot)=>{for(var fe in ot||(ot={}))rs.call(ot,fe)&&ns(gt,fe,ot[fe]);if(yi)for(var fe of yi(ot))as.call(ot,fe)&&ns(gt,fe,ot[fe]);return gt},Ii=(gt,ot)=>Vs(gt,Qs(ot));var os=(gt,ot)=>{var fe={};for(var ae in gt)rs.call(gt,ae)&&ot.indexOf(ae)<0&&(fe[ae]=gt[ae]);if(gt!=null&&yi)for(var ae of yi(gt))ot.indexOf(ae)<0&&as.call(gt,ae)&&(fe[ae]=gt[ae]);return fe};(self.webpackChunk=self.webpackChunk||[]).push([[1783,6270],{89489:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},59477:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},26227:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},49198:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},41464:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},87169:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},52671:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},8657:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},56082:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},33853:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},15075:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},43531:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},38819:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ye=E,he=fe(7657),ce=function(le,ie){return Ae.createElement(he.Z,(0,ae.Z)({},le,{ref:ie,icon:ye}))},ne=Ae.forwardRef(ce),se=ne},96408:function(gt,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},25492:function(gt,ot){"use strict";ot.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},96601:function(gt,ot){"use strict";ot.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},829:function(){"use strict"},96435:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(de,le,ie)=>le in de?Ae(de,le,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[le]=ie,ne=(de,le)=>{for(var ie in le||(le={}))ye.call(le,ie)&&ce(de,ie,le[ie]);if(E)for(var ie of E(le))he.call(le,ie)&&ce(de,ie,le[ie]);return de};const se=de=>React.createElement("svg",ne({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},de),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));ot.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},70414:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(de,le,ie)=>le in de?Ae(de,le,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[le]=ie,ne=(de,le)=>{for(var ie in le||(le={}))ye.call(le,ie)&&ce(de,ie,le[ie]);if(E)for(var ie of E(le))he.call(le,ie)&&ce(de,ie,le[ie]);return de};const se=de=>React.createElement("svg",ne({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},de),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},64303:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(de,le,ie)=>le in de?Ae(de,le,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[le]=ie,ne=(de,le)=>{for(var ie in le||(le={}))ye.call(le,ie)&&ce(de,ie,le[ie]);if(E)for(var ie of E(le))he.call(le,ie)&&ce(de,ie,le[ie]);return de};const se=de=>React.createElement("svg",ne({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},de),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));ot.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},81747:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(de,le,ie)=>le in de?Ae(de,le,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[le]=ie,ne=(de,le)=>{for(var ie in le||(le={}))ye.call(le,ie)&&ce(de,ie,le[ie]);if(E)for(var ie of E(le))he.call(le,ie)&&ce(de,ie,le[ie]);return de};const se=de=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},de),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},51976:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(de,le,ie)=>le in de?Ae(de,le,{enumerable:!0,configurable:!0,writable:!0,value:ie}):de[le]=ie,ne=(de,le)=>{for(var ie in le||(le={}))ye.call(le,ie)&&ce(de,ie,le[ie]);if(E)for(var ie of E(le))he.call(le,ie)&&ce(de,ie,le[ie]);return de};const se=de=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},de),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},25863:function(){"use strict";function gt(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(gt.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(gt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(gt.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(gt.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof gt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var ot=[];function fe(ee,a){var y=ot.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function ae(){var ee=ot.pop();return ee===void 0?new go.Point:ee}function Ae(ee){ot.push(ee)}function E(ee,a,y,x,b,z,te,ue,me){me||(me=new go.Point);var ve=ee-y,ge=b-te,pe=NaN,Se=NaN;if(ve===0)if(ge===0)ee===y&&(pe=ee,Se=a);else{var be=(z-ue)/ge,Ee=z-be*b;pe=ee,Se=be*pe+Ee}else if(ge===0){var Ce=(a-x)/ve,Be=a-Ce*ee;pe=b,Se=Ce*pe+Be}else{var Ce=(a-x)/ve,be=(z-ue)/ge,Be=a-Ce*ee,Ee=z-be*b;pe=(Ee-Be)/(Ce-be),Se=Ce*pe+Be}return me.x=pe,me.y=Se,me}function ye(ee,a,y,x,b,z,te,ue,me,ve,ge,pe,Se,be){var Ee=1-me,Ce=me,Be=ee*Ee+y*Ce,Pe=a*Ee+x*Ce,Fe=y*Ee+b*Ce,we=x*Ee+z*Ce,Le=b*Ee+te*Ce,Oe=z*Ee+ue*Ce,Ge=Be*Ee+Fe*Ce,Ne=Pe*Ee+we*Ce,Ue=Fe*Ee+Le*Ce,He=we*Ee+Oe*Ce,Qe=Ge*Ee+Ue*Ce,We=Ne*Ee+He*Ce;ve.x=Be,ve.y=Pe,ge.x=Ge,ge.y=Ne,pe.x=Qe,pe.y=We,Se.x=Ue,Se.y=He,be.x=Le,be.y=Oe}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),ne=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new gt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ee,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ee,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=he,b.spot2=ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ne*a,0,a,(1-ne)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ne*y,(1-ne)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ne*y,ne*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ne)*a,0,0,(1-ne)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new gt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),z.spot1=he,z.spot2=ce,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ee,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new gt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new gt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,b=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,z,te,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=ne/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new gt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new gt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new gt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,te=y/2,ue=Math.atan2(y,a),me=x-Math.min(Math.cos(ue)*x/2,z),ve=x-Math.min(Math.sin(ue)*x/2,te),b=new go.Geometry,ge=new go.PathFigure(me,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a-me,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,ve)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,a,y-ve)),ge.add(new go.PathSegment(go.PathSegment.Line,a-me,y)),ge.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ge.add(new go.PathSegment(go.PathSegment.Line,me,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y-ve)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ve).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new gt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new gt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new gt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ne*a,0,a,(.5-ne/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ne/2)*y,ne*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,te=.3,ue=0,me=z*ne;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ue)*y,(.5-z+te)*a,(.5+me+ue)*y,(.5-me+te)*a,(.5+z+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ue)*y,(.5+me+te)*a,(.5+z+ue)*y,(.5+z+te)*a,(.5+me+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ue)*y,(1-.5+z+te)*a,(.5-me+ue)*y,(.5+me+te)*a,(.5-z+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-me+te)*a,(.5-z+ue)*y,(.5-z+te+.05)*a,(.5-me+ue-.02)*y)),z=.2,te=0,ue=-.3,me=z*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ue)*y,(.5+me+te)*a,(.5+z+ue)*y,(.5+z+te)*a,(.5+me+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ue)*y,(1-.5+z+te)*a,(.5-me+ue)*y,(.5+me+te)*a,(.5-z+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ue)*y,(.5-me+te)*a,(.5-z+ue)*y,(.5-z+te)*a,(.5-me+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+te)*a,(.5+z+ue)*y,(.5-z+te)*a,(.5+me+ue)*y,(.5-me+te)*a,(.5+z+ue)*y)),z=.2,te=-.3,ue=0,me=z*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ue)*y,(1-.5+z+te-.05)*a,(.5-me+ue-.02)*y,(.5+me+te)*a,(.5-z+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ue)*y,(.5-me+te)*a,(.5-z+ue)*y,(.5-z+te)*a,(.5-me+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ue)*y,(.5-z+te)*a,(.5+me+ue)*y,(.5-me+te)*a,(.5+z+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+me+te)*a,(.5+z+ue)*y,(.5+z+te)*a,(.5+me+ue)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,te=.5,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ue,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ue=.75,b=new go.PathFigure((te+z)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ue,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=.5,ue=.5,me=new go.PathFigure(te*a,(ue-z)*y);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),z=.4,b=ne*.4;var ve=ae(),ge=ae(),pe=ae(),Se=ae();ye(te,ue-z,te+b,ue-z,te+z,ue-b,te+z,ue,.42,ve,ge,pe,Se,Se);var be=ae(),Ee=ae(),Ce=ae();ye(te,ue-z,te+b,ue-z,te+z,ue-b,te+z,ue,.58,Se,Se,Ce,be,Ee);var Be=ae(),Pe=ae(),Fe=ae();ye(te,ue+z,te-b,ue+z,te-z,ue+b,te-z,ue,.42,Be,Pe,Fe,Se,Se);var we=ae(),Le=ae(),Oe=ae();return ye(te,ue+z,te-b,ue+z,te-z,ue+b,te-z,ue,.58,Se,Se,Oe,we,Le),me.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,we.x*a,we.y*y,Le.x*a,Le.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-b)*y,(te-b)*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,Fe.x*a,Fe.y*y)),me.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,be.x*a,be.y*y,Ee.x*a,Ee.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+b)*y,(te+b)*a,(ue+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Fe.x*a,Fe.y*y,Be.x*a,Be.y*y,Pe.x*a,Pe.y*y).close()),Ae(ve),Ae(ge),Ae(pe),Ae(Se),Ae(be),Ae(Ee),Ae(Ce),Ae(Be),Ae(Pe),Ae(Fe),Ae(we),Ae(Le),Ae(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new gt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ee,a,y){var x=new go.Geometry,b=ne*.4,z=.4,te=.5,ue=.5,me=ae(),ve=ae(),ge=ae(),pe=ae(),Se=new go.PathFigure((te-z)*a,ue*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-b)*y,(te-b)*a,(ue-z)*y)),ye(te,ue-z,te+b,ue-z,te+z,ue-b,te+z,ue,.44,ge,pe,ve,me,me),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y));var be=fe(ve.x,ve.y);ye(te,ue-z,te+b,ue-z,te+z,ue-b,te+z,ue,.56,me,me,ve,ge,pe);var Ee=fe(ve.x,ve.y);Se.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*a,be.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,be.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+b)*y,(te+b)*a,(ue+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-b)*a,(ue+z)*y,(te-z)*a,(ue+b)*y)),z=.35,b=ne*.35;var Ce=new go.PathFigure(te*a,(ue-z)*y,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y));var Be=new go.PathFigure((te-z)*a,ue*y,!1);return x.add(Be),Ae(me),Ae(ve),Ae(ge),Ae(pe),Ae(be),Ae(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,b=.375,z=0,te=-.125,ue=b*ne,me=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ue+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ue+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ue+te)*y,(.5+ue+z)*a,(.5-b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ue+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ue+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ue+te)*y,(.5-ue+z)*a,(.5+b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),me.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),me.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,te=-.125,ue=b*ne;var me=new go.PathFigure((1-.5+b+z)*a,(.5+te)*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ue+te)*y,(.5+ue+z)*a,(.5+b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ue+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ue+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ue+te)*y,(.5-ue+z)*a,(.5-b+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ue+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ue+te)*y));var me=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);return x.add(me),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ee,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new gt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new gt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,te=(.5-b/2)*y,ue=(.5+b/2)*y,me=new go.Geometry,ve=new go.PathFigure(0,te,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,te)),ve.add(new go.PathSegment(go.PathSegment.Line,z,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),me.spot1=new go.Spot(0,te/y);var ge=E(0,ue/y,1,ue/y,z/a,1,1,.5,ae());return me.spot2=new go.Spot(ge.x,ge.y),Ae(ge),me}),go.Shape.setFigureParameter("Arrow2",0,new gt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new gt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,te=(y-b)/2,ue=te+b,me=new go.Geometry,ve=new go.PathFigure(0,te,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,te)),ve.add(new go.PathSegment(go.PathSegment.Line,z,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),me.spot1=new go.Spot(0,te/y);var ge=E(0,ue/y,1,ue/y,z/a,1,1,.5,ae());return me.spot2=new go.Spot(ge.x,ge.y),Ae(ge),me}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new gt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var me=E(0,.5,.3,0,0,b/y,.1,b/y,ae());return te.spot1=new go.Spot(me.x,me.y),me=E(.7,1,1,.5,0,z/y,1,z/y,me),te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new gt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new gt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,ue=(y-b)/2,me=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ue=0,me=y):(z=0,te=y,ue=0,me=y));var ve=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);ve.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var pe=E(0,.5,.3,ue/y,0,z/y,1,z/y,ae());return ve.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,me/y,1,.5,0,te/y,1,te/y,pe),ve.spot2=new go.Spot(pe.x,pe.y),Ae(pe),ve}),go.Shape.setFigureParameter("IBeamArrow",0,new gt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var me=E(.7,1,1,.5,0,z/y,1,z/y,ae());return te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new gt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new gt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,ue=(y-b)/2,me=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ue=0,me=y):(z=0,te=y,ue=0,me=y));var ve=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);ve.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,me)),ge.add(new go.PathSegment(go.PathSegment.Line,0,me)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ve.spot1=new go.Spot(0,z/y);var pe=E(.7,me/y,1,.5,0,te/y,1,te/y,ae());return ve.spot2=new go.Spot(pe.x,pe.y),Ae(pe),ve}),go.Shape.setFigureParameter("Pointer",0,new gt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(te.x,te.y),Ae(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new gt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(te.x,te.y),Ae(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new gt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,0,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var me=E(.7,1,1,.5,0,z/y,1,z/y,ae());return te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new gt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var te=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ue.add(new go.PathSegment(go.PathSegment.Line,0,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var me=E(.7,1,1,.5,0,z/y,1,z/y,ae());return te.spot2=new go.Spot(me.x,me.y),Ae(me),te}),go.Shape.setFigureParameter("SquareArrow",0,new gt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ne*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ne*x,(.5+z)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-ne*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ne*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-ne*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ne*x,(.5-z)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-ne*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,ne*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ne*x,0,2*x,(.5-z)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+ne*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,ne*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ne*x,0,a-2*x,(.5-z)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-ne*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,b=.2,z=.1,te=ne*b,ue=ne*z,me=.5,ve=.1,ge=new go.PathFigure(me*a,(ve+z)*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me-b)*a,ve*y,(me-te)*a,(ve+z)*y,(me-b)*a,(ve+ue)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-z)*y,(me-b)*a,(ve-ue)*y,(me-te)*a,(ve-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me+b)*a,ve*y,(me+te)*a,(ve-z)*y,(me+b)*a,(ve-ue)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+z)*y,(me+b)*a,(ve+ue)*y,(me+te)*a,(ve+z)*y));var pe=.05,Se=ne*pe;me=.05,ve=.25;var be=new go.PathFigure(.5*a,.2*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),me=.95,ve=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(me+pe)*a,ve*y,(me+Se)*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,Se=ne*pe,me=.825,ve=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y,(me+Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ve*y,(me-Se)*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,Se=ne*pe,me=.5,ve=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y,(me+Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ve*y,(me-Se)*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,Se=ne*pe,me=.175,ve=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me+pe)*a,(ve-Se)*y,(me+Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-pe)*a,ve*y,(me-Se)*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,Se=ne*pe,me=.05,ve=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-pe)*y,(me-pe)*a,(ve-Se)*y,(me-Se)*a,(ve-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new gt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=ne*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=ne*.5,ue=.5,me=new go.PathFigure(a,ue*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+te)*y,(ue+te)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-te)*a,y,0,(ue+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-te)*y,(ue-te)*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+te)*a,0,a,(ue-te)*y));var ve=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),ve.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ue=new go.PathFigure(a,z*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var me=new go.PathFigure(.8*a,.75*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,b=ne*.1,z=.1,te=.9,ue=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ve=new go.PathFigure((te+z)*a,ue*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+b)*y,(te+b)*a,(ue+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-b)*a,(ue+z)*y,(te-z)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-b)*y,(te-b)*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+b)*a,(ue-z)*y,(te+z)*a,(ue-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.4,te=ne*.1,ue=.1,me=.9,ve=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var pe=new go.PathFigure((me+ue)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+ue)*y,(me+ue)*a,(ve+te)*y,(me+te)*a,(ve+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a,ve*y,(me-te)*a,(ve+ue)*y,(me-ue)*a,(ve+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-ue)*y,(me-ue)*a,(ve-te)*y,(me-te)*a,(ve-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a,ve*y,(me+te)*a,(ve-ue)*y,(me+ue)*a,(ve-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=0,ue=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ue-b)*y,.7*a,(ue-z)*y)),b=.1,z=ne*.1,te=.9,ue=.5;var ve=new go.PathFigure((te-b)*a,ue*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=0,ue=.5,me=new go.PathFigure(0,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ue-b)*y,.8*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+z)*y,(te+z+z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=.2,ue=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ue-b)*y,.7*a,(ue-z)*y)),b=.1,z=ne*.1,te=.9,ue=.5;var ge=new go.PathFigure((te-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=.2,ue=.5,me=new go.PathFigure(.1*a,0,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ve=new go.PathFigure(.2*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(ue-b)*y,.9*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,b=ne*.1,z=.1,te=.1,ue=.5,me=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.3,me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.5,me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.9,me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+z)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=.5,ue=.5,me=new go.PathFigure((te-z)*a,ue*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-z)*y,(te-z)*a,(ue-b)*y,(te-b)*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+b)*a,(ue-z)*y,(te+z)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+b)*y,(te+b)*a,(ue+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-b)*a,(ue+z)*y,(te-z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ue*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ue*y,te*a,(ue-z)*y,te*a,(ue+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ee,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var te=ne*.8,ue=.8,me=0,ve=.5,ge=(b-a)/2,pe=(z-y)/2,Se=new go.PathFigure(me*a+ge,(ve+ue)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a+ge,ve*y+pe,(me-te)*a+ge,(ve+ue)*y+pe,(me-ue)*a+ge,(ve+te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ue)*y+pe,(me-ue)*a+ge,(ve-te)*y+pe,(me-te)*a+ge,(ve-ue)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue+te*.5)*a+ge,ve*y+pe,me*a+ge,(ve-ue)*y+pe,(me-ue+te*.5)*a+ge,(ve-te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ue)*y+pe,(me-ue+te*.5)*a+ge,(ve+te)*y+pe,me*a+ge,(ve+ue)*y+pe).close()),te=ne*.4,ue=.4,me=.2,ve=.5;var be=new go.PathFigure(me*a+ge,(ve+ue)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a+ge,ve*y+pe,(me-te)*a+ge,(ve+ue)*y+pe,(me-ue)*a+ge,(ve+te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ue)*y+pe,(me-ue)*a+ge,(ve-te)*y+pe,(me-te)*a+ge,(ve-ue)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue+te*.5)*a+ge,ve*y+pe,me*a+ge,(ve-ue)*y+pe,(me-ue+te*.5)*a+ge,(ve-te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ue)*y+pe,(me-ue+te*.5)*a+ge,(ve+te)*y+pe,me*a+ge,(ve+ue)*y+pe).close()),te=ne*.2,ue=.2,me=.5,ve=.5;var Ee=new go.PathFigure((me-ue)*a+ge,ve*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ue)*y+pe,(me-ue)*a+ge,(ve-te)*y+pe,(me-te)*a+ge,(ve-ue)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a+ge,ve*y+pe,(me+te)*a+ge,(ve-ue)*y+pe,(me+ue)*a+ge,(ve-te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ue)*y+pe,(me+ue)*a+ge,(ve+te)*y+pe,(me+te)*a+ge,(ve+ue)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a+ge,ve*y+pe,(me-te)*a+ge,(ve+ue)*y+pe,(me-ue)*a+ge,(ve+te)*y+pe)),te=ne*.4,ue=.4,me=.8,ve=.5;var Ce=new go.PathFigure(me*a+ge,(ve-ue)*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a+ge,ve*y+pe,(me+te)*a+ge,(ve-ue)*y+pe,(me+ue)*a+ge,(ve-te)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ue)*y+pe,(me+ue)*a+ge,(ve+te)*y+pe,(me+te)*a+ge,(ve+ue)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue-te*.5)*a+ge,ve*y+pe,me*a+ge,(ve+ue)*y+pe,(me+ue-te*.5)*a+ge,(ve+te)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ue)*y+pe,(me+ue-te*.5)*a+ge,(ve-te)*y+pe,me*a+ge,(ve-ue)*y+pe).close()),te=ne*.8,ue=.8,me=1,ve=.5;var Be=new go.PathFigure(me*a+ge,(ve-ue)*y+pe,!0);return x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a+ge,ve*y+pe,(me+te)*a+ge,(ve-ue)*y+pe,(me+ue)*a+ge,(ve-te)*y+pe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve+ue)*y+pe,(me+ue)*a+ge,(ve+te)*y+pe,(me+te)*a+ge,(ve+ue)*y+pe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue-te*.5)*a+ge,ve*y+pe,me*a+ge,(ve+ue)*y+pe,(me+ue-te*.5)*a+ge,(ve+te)*y+pe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,me*a+ge,(ve-ue)*y+pe,(me+ue-te*.5)*a+ge,(ve-te)*y+pe,me*a+ge,(ve-ue)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,b=ne*.4,z=.4,te=.5,ue=.5,me=ae(),ve=ae(),ge=ae(),pe=ae();ye(te,ue-z,te+b,ue-z,te+z,ue-b,te+z,ue,.5,me,me,ve,ge,pe);var Se=fe(ve.x,ve.y),be=new go.PathFigure(ve.x*a,ve.y*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te+z)*a,(ue+b)*y,(te+b)*a,(ue+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,(te-b)*a,(ue+z)*y,(te-z)*a,(ue+b)*y)),ye(te-z,ue,te-z,ue-b,te-b,ue-z,te,ue-z,.5,ge,pe,ve,me,me),be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),b=ne*.3,z=.3,ye(te-z,ue,te-z,ue-b,te-b,ue-z,te,ue-z,.5,ge,pe,ve,me,me),be.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ue*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+z)*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ue*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),ye(te,ue-z,te+b,ue-z,te+z,ue-b,te+z,ue,.5,me,me,ve,ge,pe),be.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*a,ve.y*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y).close());var be=new go.PathFigure(.45*a,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Ae(me),Ae(ve),Ae(ge),Ae(pe),Ae(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(te,ue,me){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+me)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+me)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+me)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+me)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ee,a,y){var x=new go.Geometry,b=.5,z=0,te=0,ue=b*ne,me=.4*Math.SQRT2/2+.5,ve=.5-.5*Math.SQRT2/2,ge=1,pe=.5,Se=.5,be=0,Ee=new go.PathFigure(me*a,(1-ve)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,pe*y,ge*a,.7*y,ge*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se+z)*a,(be+z)*y,(.5+b+z)*a,(.5-ue+z)*y,(.5+ue+z)*a,(.5-b+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ue+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ue+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+ue+te)*y,(.5-ue+z)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ue=.5,me=te,ve=Math.PI/4,ge=4*(1-Math.cos(ve))/(3*Math.sin(ve)),pe=ge*.5,Se=te,be=te,Ee=ge*Se,Ce=ge*be;z.add(new go.PathSegment(go.PathSegment.Bezier,(ue-Se)*a,me*y,(ue-(Ee+Se)/2)*a,(me+(be+Ce)/2)*y,(ue-Se)*a,(me+Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-be)*y,(ue-Se)*a,(me-Ce)*y,(ue-Ee)*a,(me-be)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ue+Se)*a,me*y,(ue+Ee)*a,(me-be)*y,(ue+Se)*a,(me-Ce)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+Se)*a,(me+Ce)*y,(ue+(Ee+Se)/2)*a,(me+(be+Ce)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Be=new go.PathFigure(.2*a,y,!1);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Pe=new go.PathFigure(.8*a,y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ue=ne*.1,me=.2,ve=.9,ge=new go.PathFigure((me-te)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-te)*y,(me-te)*a,(ve-ue)*y,(me-ue)*a,(ve-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me+te)*a,ve*y,(me+ue)*a,(ve-te)*y,(me+te)*a,(ve-ue)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+te)*y,(me+te)*a,(ve+ue)*y,(me+ue)*a,(ve+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me-te)*a,ve*y,(me-ue)*a,(ve+te)*y,(me-te)*a,(ve+ue)*y).close()),te=.1,ue=ne*.1,me=.8,ve=.9;var pe=new go.PathFigure((me-te)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-te)*y,(me-te)*a,(ve-ue)*y,(me-ue)*a,(ve-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+te)*a,ve*y,(me+ue)*a,(ve-te)*y,(me+te)*a,(ve-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+te)*y,(me+te)*a,(ve+ue)*y,(me+ue)*a,(ve+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-te)*a,ve*y,(me-ue)*a,(ve+te)*y,(me-te)*a,(ve+ue)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var me=.1,ve=ne*.1,ge=.1,pe=.9,Se=new go.PathFigure((ge-me)*a,pe*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-me)*y,(ge-me)*a,(pe-ve)*y,(ge-ve)*a,(pe-me)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+me)*a,pe*y,(ge+ve)*a,(pe-me)*y,(ge+me)*a,(pe-ve)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+me)*y,(ge+me)*a,(pe+ve)*y,(ge+ve)*a,(pe+me)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,pe*y,(ge-ve)*a,(pe+me)*y,(ge-me)*a,(pe+ve)*y)),me=.1,ve=ne*.1,ge=.4,pe=.9;var be=new go.PathFigure((ge-me)*a,pe*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-me)*y,(ge-me)*a,(pe-ve)*y,(ge-ve)*a,(pe-me)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+me)*a,pe*y,(ge+ve)*a,(pe-me)*y,(ge+me)*a,(pe-ve)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+me)*y,(ge+me)*a,(pe+ve)*y,(ge+ve)*a,(pe+me)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,pe*y,(ge-ve)*a,(pe+me)*y,(ge-me)*a,(pe+ve)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ge=.05,pe=ne*.05,Se=.175,be=.95,ue=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y));var ge=.05,pe=ne*.05,Se=.375,be=.95,me=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y));var ge=.05,pe=ne*.05,Se=.625,be=.95,ve=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y));var ge=.05,pe=ne*.05,Se=.825,be=.95,Ee=new go.PathFigure((Se-ge)*a,be*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be-ge)*y,(Se-ge)*a,(be-pe)*y,(Se-pe)*a,(be-ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ge)*a,be*y,(Se+pe)*a,(be-ge)*y,(Se+ge)*a,(be-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(be+ge)*y,(Se+ge)*a,(be+pe)*y,(Se+pe)*a,(be+ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ge)*a,be*y,(Se-pe)*a,(be+ge)*y,(Se-ge)*a,(be+pe)*y).close());var Ce=new go.PathFigure(0,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ue=.05,me=ne*.05,ve=.35,ge=.775,pe=new go.PathFigure((ve-ue)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-ue)*y,(ve-ue)*a,(ge-me)*y,(ve-me)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*a,ge*y,(ve+me)*a,(ge-ue)*y,(ve+ue)*a,(ge-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+ue)*y,(ve+ue)*a,(ge+me)*y,(ve+me)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*a,ge*y,(ve-me)*a,(ge+ue)*y,(ve-ue)*a,(ge+me)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,b=.3,z=ne*.3,te=.5,ue=.7,me=new go.PathFigure((te-b)*a,ue*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y));var ve=new go.PathFigure(0,.7*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*.5,te=.5,ue=.5,me=new go.PathFigure((te-b)*a,ue*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y));var ve=new go.PathFigure(.15*a,.5*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*.5,te=.5,ue=.5,me=new go.PathFigure((te-b)*a,ue*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y).close()),b=.05,z=ne*.05,te=.5,ue=.8;var ve=new go.PathFigure((te-b)*a,ue*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-z)*y,(te-z)*a,(ue-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+z)*a,(ue-b)*y,(te+b)*a,(ue-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+z)*y,(te+z)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-z)*a,(ue+b)*y,(te-b)*a,(ue+z)*y).close()),ve.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var me=new go.PathFigure(.5*a,.1*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),me.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var me=new go.PathFigure(a*.816,y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var me=new go.PathFigure(a*1,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),me.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),me.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var me=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),me.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,b=8,z=b*ne,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var me=new go.PathFigure(a*.83,y*1,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),me.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),me.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ve=new go.PathFigure(a*.78,y*.05,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ve.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,z=y*.8,te=new go.Geometry,ue=new go.PathFigure(x,0,!0);return te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ue.add(new go.PathSegment(go.PathSegment.Line,x,z)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,b=15,z=b*ne,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var gt={},ot="5.0",fe={},ae=null,Ae=!1,E=!1,ye=null,he=!1,ce=null,ne=null,se=0;se4?parseFloat(ze):5};gt.setHTML5Codebase=function(ze,_e){ne=ze,He(ze,_e)},gt.setJavaCodebase=gt.setJavaCodebaseVersion=gt.isCompiledInstalled=gt.setPreCompiledScriptPath=gt.setPreCompiledResourcePath=function(){},gt.setHTML5CodebaseVersion=function(ze,_e){var Ve=parseFloat(ze);if(Ve!==NaN&&Ve<5){console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead.");return}ce=ze,Ue(ze,_e)},gt.getHTML5CodebaseVersion=function(){return ee},gt.getParameters=function(){return fe},gt.setFontsCSSURL=function(ze){te=ze},gt.setGiacJSURL=function(ze){},gt.setJNLPFile=function(ze){le=ze},gt.setJNLPBaseDir=function(ze){},gt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _e="auto",Ve=fe.id,tt,et=!1,dt=0;dt=5)return!0;var ze=gt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},gt.startAnimation=function(){var ze=gt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},gt.stopAnimation=function(){var ze=gt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},gt.getAppletObject=function(){var ze=fe.id!==void 0?fe.id:"ggbApplet";return window[ze]},gt.resize=function(){};var Ee=function(ze,_e,Ve){var tt=document.createElement("param");tt.setAttribute("name",_e),tt.setAttribute("value",Ve),ze.appendChild(tt)},Ce=function(ze){return ze&&ze!=="false"},Be=function(ze,_e,Ve){me(ee)<=4.2&&(Ve=!0);var tt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(tt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var et=document.createElement("div");et.classList.add("appletParameters","notranslate");var dt=_e.width,$e=_e.height;if(_e.disableAutoScale=_e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_e.disableAutoScale,_e.width!==void 0)if(me(ee)<=4.4)Ce(_e.showToolBar)&&(_e.height-=7),Ce(_e.showAlgebraInput)&&(_e.height-=37),_e.width<605&&Ce(_e.showToolBar)&&(_e.width=605,dt=605);else{var Ze=100;(Ce(_e.showToolBar)||Ce(_e.showMenuBar))&&(_e.hasOwnProperty("customToolBar")&&(_e.customToolbar=_e.customToolBar),Ze=Ce(_e.showMenuBar)?245:155),dt=5?(_e.appletOnLoad=function(Ke){var rt=ze.querySelector(".ggb_preview");rt&&rt.parentNode.removeChild(rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ie),window.GGBT_wsf_view&&$(window).trigger("resize"),qe(Ke)},je||Ie.appendChild(Je)):et.appendChild(Je),Ie.appendChild(et),je||ze.appendChild(Ie),setTimeout(function(){gt.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(et),ze.appendChild(Ye),_e.appletOnLoad=function(Ke){gt.resize(),qe(Ke)}}function ke(Ke,rt){rt&&typeof rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ke,rt.appletOnLoad):renderGGBElement(Ke),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",rt)}function De(Ke,rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ke,params:rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ht){ke(ht.article,ht.params)}),html5AppletsToProcess=null)},me(ee)<5&&(Ke.className+=" geogebraweb")):ke(Ke,rt)}if(tt){scriptLoadStarted=!0;for(var Te=0;Te0?(Me.remove(),Ie.attr("id","fullscreencontent").show(),jQuery(qe).append(Ie),window.dispatchEvent(new Event("resize"))):Be(Me,_e,!1),window.GGBT_wsf_view.launchFullScreen(qe)}else re=tt,Be(ze,_e,!1);if(!window.GGBT_wsf_view)for($e=0;$eze/4*3&&(Me=ze/4*3),qe=Me/5.8,Ze.setAttribute("src",b),Ze.setAttribute("width",Me),Ze.setAttribute("height",qe);var Ie=(ze-Me)/2,je=(_e-qe)/2;Ze.style.left=Ie+"px",Ze.style.top=je+"px",et.appendChild(Ze)}}return et.appendChild($e),et},Ge=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Ne=["web","webSimple","web3d","tablet","tablet3d","phone"],Ue=function(ze,_e){if(ee=ze,_e){He(ee,!0);return}var Ve=!Ae;if(Ve){var tt=me(ee);!isNaN(tt)&&tt<4.4&&(Ve=!1)}var et,dt;window.location.protocol.substr(0,4)==="http"?et=window.location.protocol:et="http:";var $e=ee.indexOf("//");$e>0?dt=ee:$e===0?dt=et+ee:dt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ze in Ne)if(ee.slice(Ne[Ze].length*-1)===Ne[Ze]||ee.slice((Ne[Ze].length+1)*-1)===Ne[Ze]+"/"){He(dt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ve&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Ce(fe.showToolBar)&&!Ce(fe.showMenuBar)&&!Ce(fe.showAlgebraInput)&&!Ce(fe.enableRightClick)&&(!fe.appName||fe.appName=="classic")?dt+="webSimple/":dt+="web3d/",He(dt,!1)},He=function(ze,_e){if(ze.requirejs){ie=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ie=ze,_e===null&&(_e=ze.indexOf("http")===-1),oe=_e,a="web.nocache.js",y=!1;var Ve=ie.split("/");Ve.length>1&&(!_e&&Ve[Ve.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Ne.indexOf(Ve[Ve.length-2])>=0&&(a=Ve[Ve.length-2]+".nocache.js")),Ve=ze.split("/"),ee=Ve[Ve.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var tt=parseFloat(ee);tt!==NaN&&tt<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tt+" is deprecated. Using version latest instead."),Ue("5.0",_e))},Qe=function(ze,_e){window.console&&window.console.log&&(!_e||typeof _e.showLogging=="undefined"||_e.showLogging&&_e.showLogging!=="false")&&console.log(ze)};fe.material_id!==void 0?pe(We):We();function We(){var ze=ot;ce!==null?ze=ce:parseFloat(ze)<5&&(ze="5.0"),Ue(ze,!1),ne!==null&&He(ne,oe),he=!0}return gt},GGBAppletUtils=function(){"use strict";function gt(){return window.GGBT_wsf_edit!==void 0}function ot(he,ce){ce!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ce+","+ce+")",he.style.webkitTransform="scale("+ce+","+ce+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function fe(he,ce,ne,se,de,le){var ie=null;if(le!=null&&le!="")for(var oe=he.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+le+" ")>-1){ie=oe;break}else oe=oe.parentNode;var re=0,ee=0,a=0,y=0,x=0,b=0,z=0;if(ie)re=ie.offsetWidth,ee=Math.max(se?ie.offsetWidth:0,ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(re=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=re):(re=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),he){var te=he.getBoundingClientRect();te.left>0&&te.left<=re&&(de===void 0||!de)&&(document.dir==="rtl"?(x=re-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return he&&((ne===void 0||!ne)&&ce>0&&ce+y1&&(le=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))de=ae(he,ce,le,ne,he.scaleContainerClass);else return se;return le&&(!he.hasOwnProperty("scale")||se===1)?de:Math.min(se,de)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),se=he.getBoundingClientRect(),de=(ce-se.width)/2,le=(ne-se.height)/2;le<0&&(le=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?he.style.left="40px":he.style.left=de+"px",he.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?he.style.top="40px":he.style.top=le+"px",he.style.left=de+"px")}function ye(he,ce){var ne=he.querySelector(".appletParameters");if(ne){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==ne.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(ne.parentElement&&/fullscreen/.test(ne.parentElement.className))return;var se=Ae(ce,he);gt()&&ne.setAttribute("data-param-scale",se);for(var de=null,le=0;le=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(gt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(gt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(gt){var ot=c[gt];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function gt(he){var ce=he.lastIndexOf(rb);ce==-1&&(ce=he.length);var ne=he.indexOf(sb);ne==-1&&(ne=he.length);var se=he.lastIndexOf(tb,Math.min(ne,ce));return se>=O?he.substring(O,se+P):W}function ot(he){if(!he.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=he+vb,he=gt(ce.src)}return he}function fe(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ae(){for(var he=o.getElementsByTagName(_),ce=O;ceO?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var ye=fe();return ye==W&&(ye=ae()),ye==W&&(ye=Ae()),ye==W&&E()&&(ye=gt(o.location.href)),ye=ot(ye),ye}function C(gt){return gt.match(/^\//)||gt.match(/^[a-zA-Z]+:\/\//)?gt:webModule.__moduleBase+gt}function D(){var gt=[],ot=O,fe=[],ae=[];function Ae(he){var ce=ae[he](),ne=fe[he];if(ce in ne)return ce;var se=[];for(var de in ne)se[ne[de]]=de;throw r&&r(he,se,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in fe[he]},webModule.__getPropMap=function(){var he={};for(var ce in fe)fe.hasOwnProperty(ce)&&(he[ce]=Ae(ce));return he},webModule.__computePropValue=Ae,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ye=E.indexOf(Db);ye!=-1&&(ot=parseInt(E.substring(ye+P),$),E=E.substring(O,ye))}catch(he){}return webModule.__softPermutationId=ot,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(gt,ot,fe){"use strict";fe.d(ot,{Ax:function(){return ye},Ds:function(){return he},KI:function(){return ne},SI:function(){return E},f1:function(){return Ae}});var ae=fe(74128);function Ae(se){let de=!0;if(se.length>0){for(let le=0;ley in a?E(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,le=(a,y)=>{for(var x in y||(y={}))ne.call(y,x)&&de(a,x,y[x]);if(ce)for(var x of ce(y))se.call(y,x)&&de(a,x,y[x]);return a},ie=(a,y)=>ye(a,he(y)),oe=(a,y)=>{var x={};for(var b in a)ne.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&ce)for(var b of ce(a))y.indexOf(b)<0&&se.call(a,b)&&(x[b]=a[b]);return x},re=(a,y,x)=>new Promise((b,z)=>{var te=ve=>{try{me(x.next(ve))}catch(ge){z(ge)}},ue=ve=>{try{me(x.throw(ve))}catch(ge){z(ge)}},me=ve=>ve.done?b(ve.value):Promise.resolve(ve.value).then(te,ue);me((x=x.apply(a,y)).next())});const ee=a=>{var y=a,{children:x}=y,b=oe(y,["children"]);const[z,te]=(0,Ae.useState)(!1);return Ae.createElement(ae.ZP,ie(le({},b),{loading:z,onClick:ue=>re(void 0,null,function*(){try{te(!0),yield b.onClick(ue),te(!1)}catch(me){console.error(me),te(!1)}})}),x)}},35195:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Ce},U:function(){return Se}});var ae=fe(59301),Ae=fe(31797),E=fe(43418),ye=fe(1710),he=fe(84056),ce=fe(87513),ne=fe(56656),se=fe.n(ne),de={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxF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85A6p6jkP0ksAvh2SejsQjDAsXWPHihUMFX9IqArYoBKomv7HIoqzjiXVMlwzkoCupHr5Z1ElskhFpz05Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",oe=fe(65862),re=fe(65582),ee=fe(65808),a=fe(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,me=(Be,Pe,Fe)=>Pe in Be?y(Be,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Be[Pe]=Fe,ve=(Be,Pe)=>{for(var Fe in Pe||(Pe={}))te.call(Pe,Fe)&&me(Be,Fe,Pe[Fe]);if(z)for(var Fe of z(Pe))ue.call(Pe,Fe)&&me(Be,Fe,Pe[Fe]);return Be},ge=(Be,Pe)=>x(Be,b(Pe)),pe=(Be,Pe,Fe)=>new Promise((we,Le)=>{var Oe=Ue=>{try{Ne(Fe.next(Ue))}catch(He){Le(He)}},Ge=Ue=>{try{Ne(Fe.throw(Ue))}catch(He){Le(He)}},Ne=Ue=>Ue.done?we(Ue.value):Promise.resolve(Ue.value).then(Oe,Ge);Ne((Fe=Fe.apply(Be,Pe)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:be}=Ae.default,Ee=({exercise:Be,socket:Pe,dispatch:Fe,onStartScreenshot:we,onCloseScreenshot:Le,handleToDetail:Oe})=>{const[Ge,Ne]=E.default.useModal(),Ue=(0,ae.useRef)(),[He,Qe]=(0,ae.useState)(!0),We=(0,ae.useRef)(!1),ze=(0,re.useParams)();(0,ae.useEffect)(()=>{var xe,Re,Xe;if(document.addEventListener((0,he.gH)(),De,!1),window.addEventListener("blur",Ye,!1),(xe=Be.exerciseUserInfo)!=null&&xe.screen_open&&(0,he.vp)()&&Qe(!1),(Re=Be.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,oe.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Be.exerciseUserInfo.screen_sec+3:Be.exerciseUserInfo.screen_sec+10+1;Ue.current=E.default.info({icon:null,centered:!0,width:444,title:(0,ee._V)(ee.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,ee._V)(ee.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Be.exerciseUserInfo.screen_num-Be.exerciseUserInfo.used_screen_num),(0,ee._V)(ee.CP.recordScreen3)),okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(be,{onFinish:()=>pe(void 0,null,function*(){var Ke;const rt=yield ke();(Ke=Ue.current)==null||Ke.destroy(),rt.used_screen_num&&Ie(rt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var Ke;(0,oe.RG)(" ",!0),(Ke=Ue.current)==null||Ke.destroy(),Qe(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ve,!1)}})}return(Xe=Be.exerciseUserInfo)!=null&&Xe.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ve,!1),()=>{document.getElementById("root").removeEventListener("click",Ve,!1),document.removeEventListener((0,he.gH)(),De,!1),window.removeEventListener("blur",Ye,!1)}},[]),(0,ae.useEffect)(()=>{setTimeout(()=>{Be.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ve,!1),document.removeEventListener((0,he.gH)(),De,!1))},500),tt()},[Be.actionTabs]),(0,ae.useEffect)(()=>{setTimeout(()=>{Be.exerciseUserInfo.used_screen_num>Be.exerciseUserInfo.screen_num&&je()},500)},[Be.exerciseUserInfo]);const _e=()=>pe(void 0,null,function*(){const xe=yield ke();setTimeout(()=>{var Re,Xe;(Re=Ue.current)==null||Re.destroy(),Ue.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},xe.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=Be.exerciseUserInfo)==null?void 0:Xe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ve=xe=>{!(0,he.vp)()&&xe.target.nodeName!=="A"&&xe.target.nodeName!=="BUTTON"&&xe.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},tt=()=>pe(void 0,null,function*(){const xe=yield Fe({type:"exercise/getExerciseUserInfo",payload:ve({},ze)});return xe==null?void 0:xe.data}),et=xe=>pe(void 0,null,function*(){var Re;if((Re=Be.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(ge(ve({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:ze.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield dt(),Je(!0);return}else Ie(xe+1)}),dt=()=>pe(void 0,null,function*(){var xe;const Re=se()(),Xe=Be.exerciseUserInfo.screen_sec;if(Me.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let Ke=Math.floor(Re.diff(se()(Me.current[0].start))/1e3);const rt=Me.current.length;Ke/Xe>>0>rt&&(Ke=(rt+1)*Xe-1),yield(0,ce.P8)(ze.categoryId,{exercise_user_id:(xe=Be.exerciseUserInfo)==null?void 0:xe.exercise_user_id,time:nt,time_long:Ke,count:rt})}Me.current=[]}),$e=(0,ae.useRef)(0),Ze=(0,ae.useRef)(0),Me=(0,ae.useRef)([]),qe=(0,ae.useRef)(!1),Ie=xe=>pe(void 0,null,function*(){var Re;We.current||(we(),E.default.destroyAll(),$e.current=se()().valueOf(),qe.current=!0,Ue.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:de.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen8)),content:a.createElement("div",{className:de.exitFullScreenModal},a.createElement("img",{src:le,alt:"",className:de.warningIcon}),a.createElement("div",{className:de.warningText,style:{marginBottom:50,fontWeight:500}},(0,ee._V)(ee.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,ee._V)(ee.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,ee._V)(ee.CP.recordScreen11),a.createElement("span",{className:de.warningText},((Re=Be.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,ee._V)(ee.CP.recordScreen12),a.createElement("span",{className:de.warningText,style:{fontWeight:600}},(0,ee._V)(ee.CP.recordScreen13)),",",(0,ee._V)(ee.CP.recordScreen14),a.createElement("span",{className:de.warningText},xe-1),(0,ee._V)(ee.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(be,{className:de.countdownWrapper,onFinish:()=>{Ze.current=se()().valueOf(),Me.current.push({start:$e.current,end:Ze.current}),et(xe)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Be.exerciseUserInfo.screen_sec+1)*1e3}),(0,ee._V)(ee.CP.recordScreen25)),(0,ee._V)(ee.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),dt(),(0,he.Dj)(document.body),Le(),Ue.current.destroy(),qe.current=!1}}))}),je=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:ze.categoryId,commit_method:1}))&&Je()}),Je=(xe=!1)=>pe(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),De,!1),(0,he.BU)(),E.default.destroyAll(),We.current=!0,xe){const nt=yield(0,ce.Yu)(ze.categoryId,{exercise_user_id:(Re=Be.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Ge.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:de.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:de.forcedModalContent},a.createElement("img",{src:ie,alt:""}),a.createElement("div",{className:de.forcedText},(0,ee._V)(ee.CP.recordScreen17)),a.createElement("div",{className:de.screenNumText},(0,ee._V)(ee.CP.recordScreen18),(Xe=Be.exerciseUserInfo)==null?void 0:Xe.screen_num,(0,ee._V)(ee.CP.recordScreen19)),a.createElement(ye.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,ee._V)(ee.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,ee._V)(ee.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,ee._V)(ee.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Le(),Oe()},onOk:()=>{re.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else Ge.info({content:a.createElement("div",{className:"tc font16"},(0,ee._V)(ee.CP.recordScreen23),a.createElement("br",null),(0,ee._V)(ee.CP.recordScreen24)),onOk:()=>{Oe()}})}),Ye=xe=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!qe.current&&(0,he.BU)()},ke=()=>pe(void 0,null,function*(){var xe;if((xe=Be.exerciseUserInfo)!=null&&xe.screen_at){const nt=yield(0,ce.ck)(ge(ve({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:ze.categoryId});if(Re!=null&&Re.is_commit){Je();return}return yield tt()}),De=()=>pe(void 0,null,function*(){var xe;if((0,oe.RG)(" ",!0),(0,he.vp)()){if((xe=Be.exerciseUserInfo)!=null&&xe.screen_at){var Re=yield(0,ce.ck)(ge(ve({},ze),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!qe.current){var Re=yield(0,ce.ck)(ve({},ze));if((Re==null?void 0:Re.status)===-6)return;const nt=yield tt();Ie(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Te=()=>pe(void 0,null,function*(){(0,ce.ck)(ve({},ze));const xe=yield tt();Ie(xe.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Ne)};var Ce=(0,re.connect)(({exercise:Be,globalSetting:Pe})=>({globalSetting:Pe,exercise:Be}))(Ee)},90463:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ce}});var ae=fe(60324),Ae={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},E=fe(32637),ye=fe(59301),ce=({type:ne,style:se})=>{const de=ye.createElement("div",{className:Ae.wrap,onClick:le=>{le.preventDefault(),le.stopPropagation()}},ye.createElement("p",null,ne==="shixun"||ne==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",ye.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ne==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),ye.createElement("div",{className:Ae.contact},ye.createElement("div",{className:Ae.img},ye.createElement("img",{src:E,width:"124px",height:"124px"})),ye.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return ye.createElement(ae.Z,{content:de},ye.createElement("span",{className:Ae.text,style:se},"\u9AD8\u6D88\u8017"))}},42217:function(gt,ot,fe){"use strict";fe.d(ot,{X:function(){return ye},y:function(){return E}});var ae=fe(59301),Ae=fe(8591);const E=he=>{(0,ae.useEffect)(()=>{if(he){const ce=se=>{se.key==="F12"&&(se.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},ne=se=>{se.preventDefault()};return document.addEventListener("keydown",ce),document.addEventListener("contextmenu",ne),()=>{document.removeEventListener("keydown",ce),document.removeEventListener("contextmenu",ne)}}},[he])},ye=()=>{const[he,ce]=(0,ae.useState)(!1),ne=se=>{const{keyCode:de,ctrlKey:le,metaKey:ie,type:oe}=se;(oe==="paste"||(de===67||de===86)&&(ie||le))&&(Ae.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),se.preventDefault(),se.stopPropagation())};return(0,ae.useEffect)(()=>(he&&(window.addEventListener("keydown",ne,!0),window.addEventListener("paste",ne,!0)),()=>{window.removeEventListener("keydown",ne,!0),window.removeEventListener("paste",ne,!0)}),[he]),{setOpenDisableCopyAndPaste:ce,disableCopyAndPaste:he}}},16750:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ie}});var ae=fe(59301),Ae={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=fe(92310),ye=fe.n(E),he=fe(71418),ce=fe(2859),ne=fe(38147),se=fe(65862),de=(oe,re,ee)=>new Promise((a,y)=>{var x=te=>{try{z(ee.next(te))}catch(ue){y(ue)}},b=te=>{try{z(ee.throw(te))}catch(ue){y(ue)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);z((ee=ee.apply(oe,re)).next())}),ie=({data:oe,className:re,fullWidth:ee,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,ae.useRef)(null),ue=(0,ae.useRef)(null),me=(0,ae.useRef)(null),ve=(0,ae.useRef)(null),[ge,pe]=(0,ae.useState)(!1),[Se,be]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{me.current||(me.current=document.createElement("style"),document.head.appendChild(me.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),me.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Ee()):(document.body.removeAttribute("data-custom"),me.current&&(document.head.removeChild(me.current),me.current=null))},[oe==null?void 0:oe.visible]);const Ee=()=>de(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const we=yield(0,se.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=we,te.current.onload=function(){Fe()},pe(!1),be("")}),Ce=()=>{document.body.removeAttribute("data-custom"),me.current.innerHTML=" ",y()},Be=we=>de(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Le=yield(0,ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:we.dataUrl}});Le!=null&&Le.id&&!z?(yield(0,ne.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Le==null?void 0:Le.id,settings:JSON.stringify(we.state)}})).status===0&&x():Le!=null&&Le.id&&x(Le),document.body.removeAttribute("data-custom"),me.current.innerHTML=" ",pe(!1),be("")}),Pe=()=>{const we=document.querySelector('a[href="https://markerjs.com/"]');we&&we.parentNode&&(we.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(Oe=>{const Ge=document.querySelector(Oe.name);Ge&&Ge.setAttribute("title",Oe.title)})},Fe=()=>{ue.current=new ce.hP(te.current),ue.current.targetRoot=ve.current,ue.current.addEventListener("render",Be),ue.current.addEventListener("beforeclose",Ce),b&&(ue.current.availableMarkerTypes=ue.current.ALL_MARKER_TYPES,ue.current.uiStyleSettings.redoButtonVisible=!0,ue.current.uiStyleSettings.notesButtonVisible=!0,ue.current.uiStyleSettings.zoomButtonVisible=!0,ue.current.uiStyleSettings.zoomOutButtonVisible=!0,ue.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ue.current.uiStyleSettings,ue.current.show(),oe!=null&&oe.snapshotData&&ue.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Pe()},300)};return ae.createElement(ae.Fragment,null,(oe==null?void 0:oe.visible)&&ae.createElement(he.Z,{spinning:ge,tip:Se,style:{position:"absolute"}},ae.createElement("div",{ref:ve,className:ye()(Ae.imageDimensions,re,ee?Ae.fullWidth:""),style:a},ae.createElement("img",{className:Ae.img,ref:te}))))}},27687:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(96408),E=fe(48136),ye=fe(99298),he=fe(43418),ce=fe(59301);const ne=(0,ae.forwardRef)(({callback:se,width:de,onChange:le,disabled:ie,readOnly:oe,type:re="",value:ee="",style:a={}},y)=>{const x=(0,ae.useRef)(),b=(0,ae.useRef)(),[z,te]=(0,ae.useState)(0),[ue,me]=(0,ae.useState)(0),[ve,ge]=(0,ae.useState)(!1),pe=()=>{var Ce=document.createElement("div");Ce.innerHTML=x.current.getValue();var Be=Ce.innerText;return se&&se(Be),Be};(0,ae.useImperativeHandle)(y,()=>({getData:pe}));const Se=Ce=>{Ce.preventDefault();const Be=Ce.clientX-z,Pe=Ce.clientY-ue;document.body.onmousemove=Fe=>{let we=Fe.clientX-Be,Le=Fe.clientY-Pe;const Oe=document.getElementsByClassName("markdown-popup-form")[0],Ge=window.innerWidth-Oe.offsetWidth,Ne=window.innerHeight-Oe.offsetHeight;we=Math.max(0,Math.min(we,Ge)),Le=Math.max(0,Math.min(Le,Ne)),be(Fe.clientX,Fe.clientY,Be,Pe)&&(te(we),me(Le))},document.body.onmouseup=function(){document.body.onmousemove=null}},be=(Ce,Be,Pe,Fe)=>{const we=document.body.clientHeight,Le=document.body.clientWidth;return Ce<20&&Pe>Ce||Ce>Le-20&&PeBe||Be>we-20&&Fe{ve&&setTimeout(()=>{const Ce=document.getElementsByClassName("markdown-popup-form")[0],Be=window.innerWidth/2-Ce.offsetWidth/2,Pe=window.innerHeight/2-Ce.offsetHeight/2;te(Be),me(Pe)},0)},[ve]);const Ee=()=>{ie||oe||ge(!0)};return ce.createElement("div",{style:a},ce.createElement("div",{style:{width:de||"100%",position:"relative"},className:`${Ae.Z.mathFillWrap} ${ie||oe?"cursorDefault":""}`,onClick:()=>Ee()},ce.createElement("math-field",{disabled:ie,locale:"zh_cn",class:`${Ae.Z.mathField} ${re}`,readOnly:oe,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:ee?18:14},value:ee||""})),ce.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ue},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:Se},"\u8F93\u5165\u516C\u5F0F"),open:ve,onOk:()=>{const Ce=b.current.getData();x.current.setValue(Ce),le(Ce),ge(!1)},onCancel:()=>{ge(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ce.createElement(ye.Z,{value:ee,ref:b,onChange:le,showSaveButton:!1})))});ot.Z=ne},99298:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(95237),E=fe(43604),ye=fe(99313),he=fe(3113),ce=fe(6339),ne=fe(96408),se=fe(48136),de=fe(59301);const le=(0,ae.forwardRef)(({callback:ie,showSaveButton:oe,value:re=""},ee)=>{const a=(0,ae.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r + x=a + r\\text{cos}\\theta \\ \r + y=b + r\\text{sin}\\theta \r +\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r + \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r + \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\left\\{\\begin{matrix} \r + \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r +\\end{matrix}\\right. \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r + \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r +\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r + a \\perp \\alpha \\ \r + b \\perp \\alpha \r +\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r + \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r + a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r + a \\parallel \\partial ,b \\parallel \\partial \r +\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r + m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r + a \\perp m,a \\perp n \r +\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r + \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r + a^{2}+b^{2}=c^{2} \r +\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r + a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r + a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r +\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r + a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r + \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r +\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r +\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r + a,b \\in R^{+} \\ \r + \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + a,b \\in R \\ \r + \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r +\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r + \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r + \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r +\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r + P \\left( \\emptyset \\right) =0 \\\\ \r + P \\left( S \\right) =1 \r +\\end{array}`},{value:`\\begin{array}{c} \r + \\forall A \\in S \\\\ \r + P \\left( A \\right) \\ge 0 \r +\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r + S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r + P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r +\\end{array}`},{value:`\\begin{array}{c} \r + P_{n}=n! \\\\ \r + A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r +\\end{array}`}]}]}],b=ue=>{a.current.setValue(a.current.getValue()+" "+ue.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:de.createElement(Ae.Z,{className:ne.Z.lists,gutter:[10,10]},y.map((ue,me)=>de.createElement(E.Z,{flex:"110px",className:ne.Z.item},de.createElement("div",null,de.createElement(ce.Z,{value:`$$${ue.value}$$`}),ue.name),de.createElement("div",{className:ne.Z.children},ue.children.map((ve,ge)=>de.createElement("div",{key:ge},de.createElement("h1",null,ve.name),de.createElement(Ae.Z,{gutter:[10,10]},ve.data.map((pe,Se)=>de.createElement(E.Z,{key:Se,onClick:()=>b(pe),className:ne.Z.diamond},de.createElement(ce.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:de.createElement(Ae.Z,{className:ne.Z.lists,gutter:[10,10]},x.map((ue,me)=>de.createElement(E.Z,{flex:"110px",className:ne.Z.item},de.createElement("div",null,de.createElement(ce.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),de.createElement("div",{className:ne.Z.children},ue.children.map((ve,ge)=>de.createElement("div",{key:ge},ve.name&&de.createElement("h1",null,ve.name),de.createElement(Ae.Z,{gutter:[10,10]},ve.data.map((pe,Se)=>de.createElement(E.Z,{key:Se,onClick:()=>b(pe),className:ne.Z.diamond},de.createElement(ce.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],te=()=>{var ue=document.createElement("div");ue.innerHTML=a.current.getValue();var me=ue.innerText;return ie&&ie(me),me};return(0,ae.useImperativeHandle)(ee,()=>({getData:te})),de.createElement("div",{className:ne.Z.mathWrap},de.createElement(ye.default,{defaultActiveKey:"1",items:z}),de.createElement("math-field",{locale:"zh_cn",className:ne.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},re||""),oe&&de.createElement("div",{className:ne.Z.button},de.createElement(he.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ot.Z=le},49018:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ge}});var ae=fe(59301),Ae=fe(9221),E=Object.defineProperty,ye=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ne=(pe,Se,be)=>Se in pe?E(pe,Se,{enumerable:!0,configurable:!0,writable:!0,value:be}):pe[Se]=be,se=(pe,Se)=>{for(var be in Se||(Se={}))he.call(Se,be)&&ne(pe,be,Se[be]);if(ye)for(var be of ye(Se))ce.call(Se,be)&&ne(pe,be,Se[be]);return pe},de=(pe,Se)=>{var be={};for(var Ee in pe)he.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&ye)for(var Ee of ye(pe))Se.indexOf(Ee)<0&&ce.call(pe,Ee)&&(be[Ee]=pe[Ee]);return be};const ie={header:{cell:pe=>{var Se=pe,{onResize:be,width:Ee}=Se,Ce=de(Se,["onResize","width"]);return Ee?ae.createElement(Ae.Resizable,{width:Ee,height:0,handle:ae.createElement("span",{className:"react-resizable-handle",onClick:Be=>{Be.stopPropagation()}}),onResize:be,draggableOpts:{enableUserSelectHack:!1}},ae.createElement("th",se({},Ce))):ae.createElement("th",se({},Ce))}}};var oe=fe(1710),re=Object.defineProperty,ee=Object.defineProperties,a=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,z=(pe,Se,be)=>Se in pe?re(pe,Se,{enumerable:!0,configurable:!0,writable:!0,value:be}):pe[Se]=be,te=(pe,Se)=>{for(var be in Se||(Se={}))x.call(Se,be)&&z(pe,be,Se[be]);if(y)for(var be of y(Se))b.call(Se,be)&&z(pe,be,Se[be]);return pe},ue=(pe,Se)=>ee(pe,a(Se)),me=(pe,Se)=>{var be={};for(var Ee in pe)x.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&y)for(var Ee of y(pe))Se.indexOf(Ee)<0&&b.call(pe,Ee)&&(be[Ee]=pe[Ee]);return be},ge=pe=>{var Se=pe,{pagination:be,resColumns:Ee,dataSource:Ce,onRow:Be}=Se,Pe=me(Se,["pagination","resColumns","dataSource","onRow"]);const[Fe,we]=(0,ae.useState)(!1),[Le,Oe]=(0,ae.useState)([{}]),Ge=(0,ae.useRef)(null);(0,ae.useEffect)(()=>{let Ue=Ee;Ue=Ue.map((He,Qe)=>ue(te({},He),{onHeaderCell:We=>({width:We.width,onResize:Ne(Qe)})})),Oe(Ue)},[]),(0,ae.useEffect)(()=>{Ge.current=Le},[Le]);const Ne=Ue=>(He,{size:Qe})=>{const We=[...Ge.current];We[Ue]=ue(te({},We[Ue]),{width:Qe.width}),Oe(We)};return ae.createElement("div",null,ae.createElement(oe.default,ue(te({bordered:!0,components:ie,columns:Le,dataSource:Ce,pagination:be,loading:Fe,onRow:Be},Pe),{rowKey:Ue=>Ue.key||Ue.id})))}},35479:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Se},P:function(){return ve}});var ae=fe(59301),Ae=fe(78241),E=fe(43418),ye=fe(5112),he=fe(92832),ce=fe(1710),ne={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},se=fe(60979),de=Object.defineProperty,le=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(be,Ee,Ce)=>Ee in be?de(be,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):be[Ee]=Ce,y=(be,Ee)=>{for(var Ce in Ee||(Ee={}))re.call(Ee,Ce)&&a(be,Ce,Ee[Ce]);if(oe)for(var Ce of oe(Ee))ee.call(Ee,Ce)&&a(be,Ce,Ee[Ce]);return be},x=(be,Ee)=>le(be,ie(Ee)),b=(be,Ee)=>{var Ce={};for(var Be in be)re.call(be,Be)&&Ee.indexOf(Be)<0&&(Ce[Be]=be[Be]);if(be!=null&&oe)for(var Be of oe(be))Ee.indexOf(Be)<0&&ee.call(be,Be)&&(Ce[Be]=be[Be]);return Ce},z=(be,Ee,Ce)=>new Promise((Be,Pe)=>{var Fe=Oe=>{try{Le(Ce.next(Oe))}catch(Ge){Pe(Ge)}},we=Oe=>{try{Le(Ce.throw(Oe))}catch(Ge){Pe(Ge)}},Le=Oe=>Oe.done?Be(Oe.value):Promise.resolve(Oe.value).then(Fe,we);Le((Ce=Ce.apply(be,Ee)).next())});const te=({studentNames:be,total:Ee})=>{const Ce=["","\u4E00","\u4E24","\u4E09"];return Ee>3?ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:ne.orangeColor},be==null?void 0:be.join("\u3001")),"\u7B49",ae.createElement("span",{className:ne.orangeColor},Ee),"\u540D\u5B66\u751F"):ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:ne.orangeColor},be==null?void 0:be.join("\u3001")),Ce[Ee],"\u540D\u5B66\u751F")},ue=({used:be,copy:Ee,canNotCopy:Ce,studentNames:Be,studentCount:Pe,inPaper:Fe,is_random:we=!1,position:Le=""})=>{const Oe=()=>{if(Ee>0&&Ce>0)return ae.createElement(ae.Fragment,null,"\u5176\u4E2D",ae.createElement("span",{className:ne.orangeColor},Ee),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",ae.createElement("span",{className:ne.orangeColor},Ce),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(Ee>0&&Ce===0)return ae.createElement(ae.Fragment,null,"\u5176\u4E2D",ae.createElement("span",{className:ne.orangeColor},Ee),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(Ee===0&&Ce>0)return ae.createElement(ae.Fragment,null,"\u5176\u4E2D",ae.createElement("span",{className:ne.orangeColor},Ce),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Ge=Le||(Fe?"\u8BD5\u5377":"\u8BFE\u7A0B");return ae.createElement("span",null,ae.createElement(te,{studentNames:Be,total:Pe}),"\u5B66\u4E60\u8FC7",Ge,"\u4E2D\u7684",ae.createElement("span",{className:ne.orangeColor},be),"\u4E2A\u9879\u76EE\uFF0C",Oe(),"\u3002\u8BF7\u9009\u62E9",we?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},me=({onCancel:be,onOk:Ee,visible:Ce,inPaper:Be,renderData:Pe,type:Fe,isMultipleCourse:we=!1})=>{const[Le]=Ae.default.useForm(),[Oe,Ge]=(0,ae.useState)(1),[Ne,Ue]=(0,ae.useState)(!1),He=(0,ae.useMemo)(()=>(Pe==null?void 0:Pe.total_num)===1&&(Pe==null?void 0:Pe.can_copy_num)===1,[Pe]),Qe=(0,ae.useMemo)(()=>{var We;return(We=Pe==null?void 0:Pe.course_data_list)==null?void 0:We.filter(ze=>ze.is_show)},[Pe]);return ae.createElement(ae.Fragment,null,He?ae.createElement(E.default,{centered:!0,closable:!0,open:Ce,destroyOnClose:!0,title:"\u63D0\u793A",className:ne.antdModal,width:682,confirmLoading:Ne,onCancel:be,onOk:()=>z(void 0,null,function*(){var We;Ue(!0);let ze=Oe;if(we){const _e=y({},Le.getFieldsValue());ze=(We=Pe==null?void 0:Pe.course_data_list)==null?void 0:We.map(Ve=>_e[Ve.id]!==void 0?x(y({},Ve),{is_copy:_e[Ve.id]}):Ve)}yield Ee(ze),Ue(!1)})},ae.createElement("div",{className:ne.content,style:{marginBottom:20}},we?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":ae.createElement(ae.Fragment,null,ae.createElement(te,{studentNames:Pe==null?void 0:Pe.student_names,total:Pe==null?void 0:Pe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),we?ae.createElement(Ae.default,{form:Le,preserve:!1},Qe==null?void 0:Qe.map(We=>ae.createElement(ae.Fragment,{key:We.id},ae.createElement("h3",{className:"ml15 mb5"},We.name),ae.createElement(Ae.default.Item,{name:We.id,initialValue:1},ae.createElement(ye.ZP.Group,{className:ne.content},ae.createElement(ye.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),ae.createElement(ye.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):ae.createElement(ye.ZP.Group,{value:Oe,onChange:We=>Ge(We.target.value),className:ne.content,style:{marginBottom:30}},ae.createElement(ye.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),ae.createElement(ye.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),ae.createElement("div",null,ae.createElement("div",{className:ne.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),ae.createElement("div",{className:ne.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),ae.createElement("div",{className:`${ne.content} ${ne.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):ae.createElement(E.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Ce,confirmLoading:Ne,title:"\u63D0\u793A",width:682,onCancel:be,onOk:()=>z(void 0,null,function*(){var We;Ue(!0);let ze=0;if(we){const _e=y({},Le.getFieldsValue());ze=(We=Pe==null?void 0:Pe.course_data_list)==null?void 0:We.map(Ve=>_e[Ve.id]!==void 0?x(y({},Ve),{is_use:_e[Ve.id]}):Ve)}yield Ee(ze),Ue(!1)})},ae.createElement("div",{className:ne.content},ae.createElement(te,{studentNames:Pe==null?void 0:Pe.student_names,total:Pe==null?void 0:Pe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",we?ae.createElement(Ae.default,{form:Le,preserve:!1},ae.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Qe==null?void 0:Qe.map(We=>ae.createElement(ae.Fragment,{key:We.id},ae.createElement("h3",{className:"ml15 mb5"},We.name),ae.createElement(Ae.default.Item,{name:We.id,initialValue:1},ae.createElement(ye.ZP.Group,{className:ne.content},ae.createElement(ye.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),ae.createElement(ye.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):ae.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",ae.createElement("span",{className:ne.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ve=function(){const[be,Ee]=(0,ae.useState)(!1),[Ce,Be]=(0,ae.useState)();return[be,()=>Ee(!1),Ce,we=>z(this,null,function*(){var Le;const Oe=we,{isImportMultipleCourse:Ge=!1}=Oe,Ne=b(Oe,["isImportMultipleCourse"]);console.log(we);const Ue=(we==null?void 0:we.result)||(yield(0,se.Tr)(Ne));return"status"in Ue?!1:Ge?((Le=Ue==null?void 0:Ue.course_data_list)==null?void 0:Le.some(Qe=>Qe.is_show))?(Be(Ue),Ee(!0),!0):Ue.course_data_list||[]:Ue.student_count===0?!1:(Be(Ue),Ee(!0),!0)})]},ge=be=>{const[Ee]=Ae.default.useForm(),[Ce,Be]=(0,ae.useState)(!1),{onCancel:Pe,onOk:Fe,visible:we,inPaper:Le=!1,renderData:Oe,type:Ge,isMultipleCourse:Ne=!1,position:Ue}=be;let He=(0,ae.useMemo)(()=>Le?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ne.tableCell,render(ze,_e){return ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(ze,_e)=>ae.createElement(ae.Fragment,null,ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],initialValue:1},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426"))),ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],hidden:!0,initialValue:1},ae.createElement(he.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ne.tableCell,render(ze,_e){return ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(ze,_e)=>ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],initialValue:1},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(ze,_e)=>ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],initialValue:1},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426")))}],[Le]),Qe=(0,ae.useMemo)(()=>Le?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ne.tableCell,align:"center",ellipsis:!0,render:(ze,_e)=>ae.createElement(ae.Fragment,null,ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze),ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],hidden:!0,initialValue:0},ae.createElement(he.default,{type:"hidden"})),ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],hidden:!0,initialValue:1},ae.createElement(he.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ne.tableCell,ellipsis:!0,align:"center",render:(ze,_e)=>ae.createElement("a",{href:`/shixuns/${_e.identifier}/challenges`,target:"_blank"},ze)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(ze,_e)=>ae.createElement(ae.Fragment,null,ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_use"],initialValue:0},ae.createElement(ye.ZP.Group,null,ae.createElement(ye.ZP,{value:1},"\u662F"),ae.createElement(ye.ZP,{value:0},"\u5426"))),ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?_e==null?void 0:_e.stage_shixun_id:_e.shixun_course_id||_e.id}`,"is_copy"],hidden:!0,initialValue:0},ae.createElement(he.default,{type:"hidden"})))}],[Le]);if(Ne){const ze={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:ne.tableCell,render:(_e,Ve)=>ae.createElement("a",{href:`/classrooms/${Ve.course_id}`},_e)};He=[ze,...He],Qe=[ze,...Qe]}const We=(0,ae.useMemo)(()=>ue({used:Oe==null?void 0:Oe.repeat_shixun_num,copy:Oe==null?void 0:Oe.can_copy_num,canNotCopy:Oe==null?void 0:Oe.no_copy_num,studentNames:Oe==null?void 0:Oe.student_names,studentCount:Oe==null?void 0:Oe.student_count,is_random:Oe==null?void 0:Oe.is_random,inPaper:Le,position:Ue}),[Oe,Le,Ue]);return ae.createElement(E.default,{title:"\u63D0\u793A",centered:!0,open:we,confirmLoading:Ce,onOk:()=>z(void 0,null,function*(){Be(!0);const ze=Ee.getFieldsValue(),_e=Object.keys(ze).map(Ve=>({id:parseInt(Ve.split("_")[0]),course_id:parseInt(Ve.split("_")[1]),is_use:ze[Ve].is_use,is_copy:ze[Ve].is_copy}));yield Fe(_e),Be(!1)}),onCancel:Pe,width:880,okText:"\u786E\u8BA4",className:ne.antdModal,destroyOnClose:!0},ae.createElement(Ae.default,{form:Ee,preserve:!1},ae.createElement("div",{className:ne.brief},We),ae.createElement("div",{style:{marginBottom:30}},ae.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),ae.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),ae.createElement("div",{className:ne.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(Oe==null?void 0:Oe.can_copy_num)>0&&ae.createElement("div",null,ae.createElement("div",{className:ne.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),ae.createElement(ce.default,{columns:He,className:ne.antdTable,dataSource:Oe==null?void 0:Oe.can_copy_list,rowKey:Ge==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(Oe==null?void 0:Oe.no_copy_num)>0&&ae.createElement("div",null,ae.createElement("div",{className:ne.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),ae.createElement(ce.default,{columns:Qe,className:ne.antdTable,dataSource:Oe==null?void 0:Oe.no_copy_list,rowKey:Ge==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(Oe==null?void 0:Oe.no_use_list.length)>0&&(Oe==null?void 0:Oe.no_use_list.map(ze=>ae.createElement("div",{key:Ge==="subject"?ze.stage_shixun_id:ze.shixun_course_id||ze.id},ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?ze==null?void 0:ze.stage_shixun_id:ze.shixun_course_id||ze.id}`,"is_copy"],hidden:!0,initialValue:0},ae.createElement(he.default,{type:"hidden"})),ae.createElement(Ae.default.Item,{name:[`${Ge==="subject"?ze==null?void 0:ze.stage_shixun_id:ze.shixun_course_id||ze.id}`,"is_use"],hidden:!0,initialValue:1},ae.createElement(he.default,{type:"hidden"})))))))};var Se=be=>{const{modalType:Ee}=be;return Ee==="multiple"?ae.createElement(ge,y({},be)):ae.createElement(me,y({},be))}},83028:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return se}});var ae=fe(59301),Ae={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},E=fe(43418),ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ce=(de,le,ie)=>new Promise((oe,re)=>{var ee=x=>{try{y(ie.next(x))}catch(b){re(b)}},a=x=>{try{y(ie.throw(x))}catch(b){re(b)}},y=x=>x.done?oe(x.value):Promise.resolve(x.value).then(ee,a);y((ie=ie.apply(de,le)).next())}),se=({type:de,resdata:le,onok:ie,oktext:oe,okloading:re})=>{const[ee,a]=(0,ae.useState)(!1),{can_copy_list:y,can_copy_num:x,challenge_type:b,course_data_list:z,no_copy_list:te,no_copy_num:ue,no_use_list:me,no_use_num:ve,repeat_shixun_num:ge,student_count:pe,total_num:Se,use_num:be}=le;let Ee=x>0||de==="exercise";(0,ae.useEffect)(()=>{(le==null?void 0:le.student_count)>0&&a(!0)},[le]),console.log("---11",re),(0,ae.useEffect)(()=>{re||a(!1)},[re]);const Ce=()=>{if(de==="exercise"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(de==="exercise"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="shixun"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="shixun"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="subject"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="subject"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ae.createElement("span",{className:Ae.orangeColor},pe)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ae.createElement("span",{className:Ae.orangeColor},be)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="exercisepush")return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(de==="shixunpush"&&b===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(de==="shixunpush"&&b===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Ae.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ae.createElement("span",{className:Ae.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Be=()=>{if(de==="exercise"||de==="subject"||de==="exercisepush"||de==="shixunpush")return ae.createElement("div",{style:{marginTop:20}},ue>0&&ae.createElement("div",null,ae.createElement("span",{className:Ae.flex},ae.createElement("img",{src:he,style:{width:14}}),ae.createElement("span",{className:Ae.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Ae.statusbody},de==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Ae.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(de==="subject"||de==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ee&&ae.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),de==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ee&&ae.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),ae.createElement("div",null,te==null?void 0:te.map((Pe,Fe)=>ae.createElement("a",{href:`/shixuns/${Pe.identifier}/challenges`,target:"_blank"},"\u300A",Pe==null?void 0:Pe.name,"\u300B",Fe+1!==ue&&"\u3001"))))),x>0&&ae.createElement("div",{style:{marginTop:20}},ae.createElement("span",{className:Ae.flex},ae.createElement("img",{src:ye,style:{width:14}}),ae.createElement("span",{className:Ae.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Ae.statusbody},de==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(de==="subject"||de==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),de==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),ae.createElement("div",null,y==null?void 0:y.map((Pe,Fe)=>ae.createElement("a",{href:`/shixuns/${Pe.identifier}/challenges`,target:"_blank"},"\u300A",Pe==null?void 0:Pe.name,"\u300B",Fe+1!==x&&"\u3001"))))));if(de==="shixun")return ae.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return ae.createElement(E.default,{open:ee,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ee&&"none"}},zIndex:1003,confirmLoading:re,okText:Ee?oe:"\u6211\u77E5\u9053\u4E86",onOk:()=>ce(void 0,null,function*(){Ee?yield ie([...y,...me]):a(!1)})},ae.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ce(),Be()))}},42678:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ye}});var ae=fe(65582),Ae={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=fe(59301),ye=({message:he,className:ce,children:ne,style:se={}})=>E.createElement("div",{className:`custom-spinner ${Ae.idsRingWrapper} ${ce}`},E.createElement("div",{className:Ae.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:se},he):null,ne,E.createElement(ae.Outlet,null))},29584:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ye}});var ae=fe(59301),Ae=fe(77254),E=fe(59301),ye=({defaultX:he="40%",leftChild:ce,rightChild:ne,className:se,hideResize:de=!1})=>{const[le,ie]=(0,ae.useState)(he),oe=(0,ae.useRef)();function re(){oe.current=!0}(0,ae.useEffect)(()=>{function y(b){oe.current&&(Ae.Z.publish("resize-move-bar",b),ie(b.pageX))}function x(){oe.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const ee=typeof le=="number"&&le!==.01?`${le}px`:he,a=`calc(100% - ${de?"0px":"4px"} - ${ee})`;return E.createElement("div",{className:`split-panel-container ${se}`},E.createElement("section",{style:{width:ee,display:le===.01?"none":""}},ce),E.createElement("section",{className:"resize-x-bar",onMouseDown:re},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},ne))}},51908:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ce}});var ae=fe(59301),Ae={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=fe(92310),ye=fe.n(E),ce=({className:ne,style:se={},leftNode:de,leftTitle:le="\u81EA\u6D4B\u8F93\u5165",rightNode:ie,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>ae.createElement("div",{className:ye()(Ae.result,ne),style:se},ae.createElement("div",{className:Ae.left},ae.createElement("div",{className:Ae.title},ae.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ae.createElement("span",null,le)),ae.createElement("div",{className:Ae.leftNode},de)),ae.createElement("div",{className:Ae.right},ae.createElement("div",{className:Ae.title},ae.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ae.createElement("span",null,oe)),ae.createElement("div",{className:Ae.rightNode},ie)))},22744:function(gt,ot,fe){"use strict";var ae=fe(59301);const Ae=ye=>String(ye).length===1?`0${ye}`:ye,E=({className:ye="",onChange:he,defaultValue:ce=0})=>{const[ne,se]=(0,ae.useState)(ce);(0,ae.useEffect)(()=>{const oe=setTimeout(()=>{se(ne+1e3)},1e3);return he(ne+1e3),()=>{clearInterval(oe)}},[ne]);const de=parseInt(ne/(60*6e4))||"00",le=parseInt(ne%(60*6e4)/6e4)||"00",ie=parseInt(ne%6e4/1e3)||"00";return ae.createElement("div",{className:ye},Ae(de),":",Ae(le),":",Ae(ie))};ot.Z=E},33276:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(43418),E=fe(1710);const ye=({dataSource:he,visible:ce,onClose:ne=()=>{},onSuccess:se=()=>{},text:de,okText:le})=>{var ie;return ae.createElement(Ae.default,{centered:!0,destroyOnClose:!0,open:!!ce,title:"\u63D0\u793A",width:"600px",okText:le,cancelText:"\u53D6\u6D88",onCancel:ne,onOk:se},ce==="single"&&ae.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",ae.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(ie=he==null?void 0:he[0])==null?void 0:ie.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",de),ce==="multiple"&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",de),ae.createElement(E.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:he,scroll:(he==null?void 0:he.length)>7?{y:300}:{},pagination:!1})))};ot.Z=ye},30214:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ye}});var ae=fe(59301),Ae=fe(77254),E=fe(11611),ye=()=>{const[he,ce]=(0,ae.useState)(""),[ne,se]=(0,ae.useState)(0);let[de,le]=(0,ae.useState)(),[ie,oe]=(0,ae.useState)();const[re,ee]=(0,ae.useState)(!1),a=(0,ae.useRef)("");(0,ae.useEffect)(()=>Ae.Z.subscribe("preview-image",Se=>{ce(Se),console.log(ve.current),document.body.style.overflow="hidden"}),[]),(0,ae.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ae.useEffect)(()=>{a.current=he},[he]);function y(pe){pe.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",le(void 0),oe(void 0),se(0),ce("")}function b(){se(ne+90)}function z(){de=ve.current.width*1.1,ie=ve.current.height*1.1,oe(ie),le(de)}function te(){de=ve.current.width/1.1,ie=ve.current.height/1.1,oe(ie),le(de)}const ue=(0,ae.useRef)(),me=(0,ae.useRef)(),ve=(0,ae.useRef)(),ge=pe=>{(pe.nativeEvent.target===ue.current||pe.nativeEvent.target===me.current)&&x()};return ae.createElement(ae.Fragment,null,he?ae.createElement("div",null,ae.createElement("div",{className:"preview-wrp-group",ref:me},ae.createElement(E.Z,{className:"image-preview",src:he,style:{display:"none"},preview:{visible:!0,src:he,movable:!1,onVisibleChange:pe=>{ce("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(gt,ot,fe){"use strict";fe.d(ot,{h:function(){return ue}});var ae=fe(59301),Ae=fe(57809),E=fe(78241),ye=fe(3113),he=fe(89780),ce=fe.n(he),ne=fe(45559),se=fe(42313),de=Object.defineProperty,le=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(me,ve,ge)=>ve in me?de(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):me[ve]=ge,y=(me,ve)=>{for(var ge in ve||(ve={}))re.call(ve,ge)&&a(me,ge,ve[ge]);if(oe)for(var ge of oe(ve))ee.call(ve,ge)&&a(me,ge,ve[ge]);return me},x=(me,ve)=>le(me,ie(ve));const b=Ae.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ot.Z=({callback:me,onCancel:ve})=>{const[ge,pe]=(0,ae.useState)("python");function Se(Ee){pe(te[Ee][1])}function be(Ee){me(Ee)}return ae.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),ae.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(Ae.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:Se},Object.keys(te).map(Ee=>ae.createElement(b,{key:Ee,value:Ee},te[Ee][0])))),ae.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(ue,{mode:ge})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ye.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))};function ue({value:me,onChange:ve,mode:ge,options:pe={}}){const Se=(0,ae.useRef)(),[be,Ee]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(be){let Ce=function(Be){const Pe=Be.getValue();ve&&ve(Pe)};return be.on("change",Ce),()=>{be.off("change",Ce)}}},[be,ve]),(0,ae.useEffect)(()=>{be&&be.setOption("mode",ge)},[be,ge]),(0,ae.useEffect)(()=>{be&&(me!==be.getValue()||me==="")&&setTimeout(()=>{be.setValue(me||"")},300)},[be,me]),(0,ae.useEffect)(()=>{if(Se.current&&!be){const Ce=ce().fromTextArea(Se.current,y({mode:ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Ee(Ce)}},[Se.current,be]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Se}))}},96565:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return mn}});var ae=fe(59301),Ae=fe(89780),E=fe.n(Ae),ye=fe(76374),he=fe(45559),ce=fe(6313),ne=fe(25717),se=fe(99498),de=fe(25419),le=fe(67549),ie=fe(6339),oe=({value:Pt="",className:Bt,showTextOnly:xt,showLines:tn,style:Bn={}})=>{const fn=(0,ae.useMemo)(()=>"",[Pt]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:fn}}))},re=fe(59301),ee=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Pt,Bt,xt)=>Bt in Pt?ee(Pt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Pt[Bt]=xt,ue=(Pt,Bt)=>{for(var xt in Bt||(Bt={}))b.call(Bt,xt)&&te(Pt,xt,Bt[xt]);if(x)for(var xt of x(Bt))z.call(Bt,xt)&&te(Pt,xt,Bt[xt]);return Pt},me=(Pt,Bt)=>a(Pt,y(Bt));let ve=[{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 ge({onActionCallback:Pt,title:Bt,icon:xt,actionName:tn,className:Bn="",children:fn}){function Sr(){Pt(tn)}return re.createElement("a",{title:Bt,className:Bn,onClick:Sr},re.createElement("i",{className:`${xt}`}),fn)}var pe=({watch:Pt,showNullButton:Bt,showNullProgramButton:xt,onActionCallback:tn,fullScreen:Bn,insertTemp:fn,hidetoolBar:Sr,extraUse:Vn})=>{const Ht=[...ve,{title:`${Pt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Pt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return re.createElement("ul",{className:"markdown-toolbar-container"},!Sr&&Ht.map((Lt,gn)=>re.createElement("li",{key:gn},Lt.actionName?re.createElement(ge,me(ue({},Lt),{onActionCallback:tn})):re.createElement("span",{className:"v-line"}))),Bt?re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xt?re.createElement(re.Fragment,null,re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,fn&&re.createElement("li",null,re.createElement(ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${fn}`,onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vn&&re.createElement("li",null,Vn),re.createElement("li",{className:"btn-full-screen"},re.createElement(ge,{icon:`${Bn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Bn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:tn})))},Se=fe(57261),be=fe(78241),Ee=fe(92832),Ce=fe(3113),Be=Object.defineProperty,Pe=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ge=(Pt,Bt,xt)=>Bt in Pt?Be(Pt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Pt[Bt]=xt,Ne=(Pt,Bt)=>{for(var xt in Bt||(Bt={}))Le.call(Bt,xt)&&Ge(Pt,xt,Bt[xt]);if(we)for(var xt of we(Bt))Oe.call(Bt,xt)&&Ge(Pt,xt,Bt[xt]);return Pt},Ue=(Pt,Bt)=>Pe(Pt,Fe(Bt));const He={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:Pt,onCancel:Bt})=>{function xt(tn){Pt(tn)}return ae.createElement(be.default,Ue(Ne({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xt,style:{width:500}}),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(Ee.default,null)),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(Ee.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ce.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},We=fe(85533),ze=fe(45053),_e=fe(43418),Ve=fe(95237),tt=fe(16750),et=fe(59301),dt=({callback:Pt,onCancel:Bt})=>{const xt=document.createElement("canvas"),tn=xt.getContext("2d");xt.width=1e3,xt.height=800,tn.fillStyle="#ffffff",tn.fillRect(0,0,xt.width,xt.height);const Bn=xt.toDataURL("image/png");return et.createElement(_e.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},et.createElement(Ve.Z,{style:{height:"100vh"}},et.createElement(tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Bn,visible:!0,title:String(Date.now())},onOk:fn=>{Pt({src:fn.url})},onClose:Bt})))},$e=fe(12378);function Ze(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ze,go.CommandHandler),Ze.prototype.canAlignSelection=function(){var Pt=this.diagram;return!(Pt===null||Pt.isReadOnly||Pt.isModelReadOnly||Pt.selection.count<2)},Ze.prototype.alignLeft=function(){var Pt=this.diagram;Pt.startTransaction("aligning left");var Bt=1/0;Pt.selection.each(function(xt){xt instanceof go.Link||(Bt=Math.min(xt.position.x,Bt))}),Pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Bt,xt.position.y))}),Pt.commitTransaction("aligning left")},Ze.prototype.alignRight=function(){var Pt=this.diagram;Pt.startTransaction("aligning right");var Bt=-1/0;Pt.selection.each(function(xt){if(!(xt instanceof go.Link)){var tn=xt.actualBounds.x+xt.actualBounds.width;Bt=Math.max(tn,Bt)}}),Pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Bt-xt.actualBounds.width,xt.position.y))}),Pt.commitTransaction("aligning right")},Ze.prototype.alignTop=function(){var Pt=this.diagram;Pt.startTransaction("alignTop");var Bt=1/0;Pt.selection.each(function(xt){xt instanceof go.Link||(Bt=Math.min(xt.position.y,Bt))}),Pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,Bt))}),Pt.commitTransaction("alignTop")},Ze.prototype.alignBottom=function(){var Pt=this.diagram;Pt.startTransaction("aligning bottom");var Bt=-1/0;Pt.selection.each(function(xt){if(!(xt instanceof go.Link)){var tn=xt.actualBounds.y+xt.actualBounds.height;Bt=Math.max(tn,Bt)}}),Pt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,Bt-xt.actualBounds.height))}),Pt.commitTransaction("aligning bottom")},Ze.prototype.alignCenterX=function(){var Pt=this.diagram,Bt=Pt.selection.first();if(Bt){Pt.startTransaction("aligning Center X");var xt=Bt.actualBounds.x+Bt.actualBounds.width/2;Pt.selection.each(function(tn){tn instanceof go.Link||tn.move(new go.Point(xt-tn.actualBounds.width/2,tn.actualBounds.y))}),Pt.commitTransaction("aligning Center X")}},Ze.prototype.alignCenterY=function(){var Pt=this.diagram,Bt=Pt.selection.first();if(Bt){Pt.startTransaction("aligning Center Y");var xt=Bt.actualBounds.y+Bt.actualBounds.height/2;Pt.selection.each(function(tn){tn instanceof go.Link||tn.move(new go.Point(tn.actualBounds.x,xt-tn.actualBounds.height/2))}),Pt.commitTransaction("aligning Center Y")}},Ze.prototype.alignColumn=function(Pt){var Bt=this.diagram;Bt.startTransaction("align Column"),Pt===void 0&&(Pt=0),Pt=parseFloat(Pt);var xt=new Array;Bt.selection.each(function(Vn){Vn instanceof go.Link||xt.push(Vn)});for(var tn=0;tn0){for(var Vn=fn.elt(Sr-1);Vn!==null&&Vn.isTreeExpanded&&!Vn.isTreeLeaf;){var Ht=this._sortTreeChildrenByY(Vn);Vn=Ht.last()}Vn!==null&&Pt.select(Vn)}else Pt.select(Bn)}}else if(xt.key==="Down")if(Bt.isTreeExpanded&&!Bt.isTreeLeaf){var tn=this._sortTreeChildrenByY(Bt).first();tn!==null&&Pt.select(tn)}else for(;Bt!==null;){var Bn=Bt.findTreeParentNode();if(Bn===null)break;var fn=this._sortTreeChildrenByY(Bn),Sr=fn.indexOf(Bt);if(Srfn.y?1:Bn.xfn.x?1:0}),Bt},Ze.prototype.copyToClipboard=function(Pt){go.CommandHandler.prototype.copyToClipboard.call(this,Pt),this._lastPasteOffset.set(this.pasteOffset)},Ze.prototype.pasteFromClipboard=function(){var Pt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Pt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Pt},Object.defineProperty(Ze.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Pt){if(Pt!=="move"&&Pt!=="select"&&Pt!=="scroll"&&Pt!=="tree"&&Pt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Pt);this._arrowKeyBehavior=Pt}}),Object.defineProperty(Ze.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Pt){if(!(Pt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Pt);this._pasteOffset.set(Pt)}});var Me=Ze,qe=fe(25863),Ie=fe(43604),je=fe(38147),Je={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=fe(59301),ke=(Pt,Bt,xt)=>new Promise((tn,Bn)=>{var fn=Ht=>{try{Vn(xt.next(Ht))}catch(Lt){Bn(Lt)}},Sr=Ht=>{try{Vn(xt.throw(Ht))}catch(Lt){Bn(Lt)}},Vn=Ht=>Ht.done?tn(Ht.value):Promise.resolve(Ht.value).then(fn,Sr);Vn((xt=xt.apply(Pt,Bt)).next())});function De({onCancel:Pt,callback:Bt}){let xt=(0,ae.useRef)(),tn=(0,ae.useRef)(),Bn=(0,ae.useRef)(),fn=(0,ae.useRef)(!1);const Sr=(0,ae.useRef)(!1),[Vn,Ht]=(0,ae.useState)(0);function Lt(){const Rt=$e.bx.make,Pn={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};xt.current=new $e.S0(tn.current,{padding:20,grid:Rt($e.s_,"Grid",Rt($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rt($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Cn=>{var Xn=Cn.diagram.commandHandler.addTopLevelParts(Cn.diagram.selection,!0);Xn||Cn.diagram.currentTool.doCancel()},commandHandler:Rt(Me),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Cn=>{var Xn=Cn.subject;Xn.location=Xn.location.copy().snapToGridPoint(Cn.diagram.grid.gridOrigin,Cn.diagram.grid.gridCellSize),setTimeout(()=>{Cn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Cn=>{var Xn=Cn.subject;setTimeout(()=>{Cn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Cn=>{var Xn=Cn.parameter.part;Xn.invalidateConnectedLinks();var gr=Cn.subject;Cn.diagram.toolManager.linkingTool.isForwards?gr.toNode.invalidateConnectedLinks():gr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xt.current.nodeTemplate=Rt($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),Rt($e.bn,{name:"SHAPE",fill:Pn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Rt($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Rt($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xt.current.nodeTemplate.toolTip=Rt("ToolTip",Rt($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},Rt($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),Rt($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function _n(Cn,Xn){var gr=(At,Vt)=>{At.handled=!0,At.diagram.model.commit(Qt=>{var zn=Vt.part.adornedPart,sr=new $e.E9().setRectSpot(zn.actualBounds,Cn);sr.subtract(zn.location),sr.scale(2,2),sr.x+=Math.sign(sr.x)*130,sr.y+=Math.sign(sr.y)*130,sr.add(zn.location),sr.snapToGridPoint(At.diagram.grid.gridOrigin,At.diagram.grid.gridCellSize);var rr=Qt.copyNodeData(zn.data);Qt.setGroupKeyForNodeData(rr,Qt.getGroupKeyForNodeData(zn.data)),Qt.addNodeData(rr);var vr={from:zn.key,to:Qt.getKeyForNodeData(rr)};Qt.addLinkData(vr);var ur=At.diagram.findNodeForData(rr);ur.location=sr,At.diagram.select(ur),setTimeout(()=>{At.diagram.commandHandler.editTextBlock()},20)})};return Rt($e.bn,{figure:Xn,alignment:Cn,alignmentFocus:Cn.opposite(),width:Cn.equals($e.z6.Top)||Cn.equals($e.z6.Bottom)?25:18,height:Cn.equals($e.z6.Top)||Cn.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Pn.white,strokeWidth:4,mouseEnter:(At,Vt)=>Vt.fill="dodgerblue",mouseLeave:(At,Vt)=>Vt.fill="orange",isActionable:!0,click:gr,contextClick:gr})}function ir(Cn){return Rt($e.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:(Xn,gr)=>gr.fill="dodgerblue",mouseLeave:(Xn,gr)=>gr.fill="orange",click:(Xn,gr)=>{Xn.diagram.commandHandler.showContextMenu(gr.part.adornedPart)}},Cn||{})}xt.current.nodeTemplate.selectionAdornmentTemplate=Rt($e.uz,"Spot",Rt($e.Vm,{padding:10}),_n($e.z6.Top,"TriangleUp"),_n($e.z6.Left,"TriangleLeft"),_n($e.z6.Right,"TriangleRight"),_n($e.z6.Bottom,"TriangleDown"),ir({alignment:new $e.z6(.75,0)}));function An(Cn,Xn){return(gr,At)=>{gr.handled=!0,gr.diagram.model.commit(Vt=>{Vt.set(At.part.adornedPart.data,Cn,Xn)})}}function bt(Cn,Xn){return Xn||(Xn="color"),Rt($e.bn,{width:16,height:16,stroke:"lightgray",fill:Cn,margin:1,background:"transparent",mouseEnter:(gr,At)=>At.stroke="dodgerblue",mouseLeave:(gr,At)=>At.stroke="lightgray",click:An(Xn,Cn),contextClick:An(Xn,Cn)})}function kt(){return[Rt("ContextMenuButton",Rt($e.s_,"Horizontal",bt(Pn.white,"fill"),bt(Pn.beige,"fill"),bt(Pn.extralightblue,"fill"),bt(Pn.extralightred,"fill"))),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",bt(Pn.lightgray,"fill"),bt(Pn.lightgreen,"fill"),bt(Pn.lightblue,"fill"),bt(Pn.lightred,"fill")))]}function Nt(){return[Rt("ContextMenuButton",Rt($e.s_,"Horizontal",bt(Pn.black),bt(Pn.green),bt(Pn.blue),bt(Pn.red))),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",bt(Pn.white),bt(Pn.magenta),bt(Pn.purple),bt(Pn.orange)))]}function wt(Cn,Xn){return Xn||(Xn="thickness"),Rt($e.bn,"LineH",{width:16,height:16,strokeWidth:Cn,margin:1,background:"transparent",mouseEnter:(gr,At)=>At.background="dodgerblue",mouseLeave:(gr,At)=>At.background="transparent",click:An(Xn,Cn),contextClick:An(Xn,Cn)})}function qt(Cn,Xn){return Xn||(Xn="dash"),Rt($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Cn,margin:1,background:"transparent",mouseEnter:(gr,At)=>At.background="dodgerblue",mouseLeave:(gr,At)=>At.background="transparent",click:An(Xn,Cn),contextClick:An(Xn,Cn)})}function Jt(){return[Rt("ContextMenuButton",Rt($e.s_,"Horizontal",wt(1),wt(2),wt(3),wt(4))),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",qt(null),qt([2,4]),qt([4,4])))]}function rn(Cn,Xn){return Xn||(Xn="figure"),Rt($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Cn,margin:1,background:"transparent",mouseEnter:(gr,At)=>At.fill="dodgerblue",mouseLeave:(gr,At)=>At.fill="lightgray",click:An(Xn,Cn),contextClick:An(Xn,Cn)})}xt.current.nodeTemplate.contextMenu=Rt("ContextMenu",Rt("ContextMenuButton",Rt($e.s_,"Horizontal",rn("Rectangle"),rn("RoundedRectangle"),rn("Ellipse"),rn("Diamond"))),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",rn("Parallelogram2"),rn("ManualOperation"),rn("Procedure"),rn("Cylinder1"))),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",rn("Terminator"),rn("CreateRequest"),rn("Document"),rn("TriangleDown"))),kt(),Nt(),Jt()),xt.current.groupTemplate=Rt($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Cn,Xn)=>{var gr=Xn.addMembers(Xn.diagram.selection,!0);gr||Xn.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),Rt($e.s_,"Auto",{name:"BODY"},Rt($e.bn,{parameter1:10,fill:Pn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Rt($e.Vm,{background:"transparent",margin:20})),Rt($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),xt.current.groupTemplate.selectionAdornmentTemplate=Rt($e.uz,"Spot",Rt($e.s_,"Auto",Rt($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Rt($e.Vm,{margin:1.5})),ir({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),xt.current.groupTemplate.contextMenu=Rt("ContextMenu",kt(),Nt(),Jt()),xt.current.linkTemplate=Rt($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",Cn=>Cn>=1?10:0),new $e.KX("toShortLength","dir",Cn=>Cn>=1?10:0),new $e.KX("points").makeTwoWay(),Rt($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Rt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Cn=>Cn===1)),Rt($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Cn=>Cn>=1),new $e.KX("width","thickness",Cn=>7+3*Cn),new $e.KX("height","thickness",Cn=>7+3*Cn),new $e.KX("segmentOffset","thickness",Cn=>new $e.E9(-15,4+1.5*Cn))),Rt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Cn=>Cn===2),new $e.KX("width","thickness",Cn=>7+3*Cn),new $e.KX("height","thickness",Cn=>7+3*Cn),new $e.KX("segmentOffset","thickness",Cn=>new $e.E9(-15,4+1.5*Cn))),Rt($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xt.current.linkTemplate.selectionAdornmentTemplate=Rt($e.uz,Rt($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:on(2)},new $e.KX("pathPattern","thickness",on)),ir({alignmentFocus:new $e.z6(0,0,-6,-4)}));function on(Cn){return Rt($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Cn+4).toString()+" H3"})}function $n(Cn){var Xn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Cn===0?Xn="M0 0 M16 16 M0 8 L16 8":Cn===2&&(Xn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Rt($e.bn,{geometryString:Xn,margin:2,background:"transparent",mouseEnter:(gr,At)=>At.background="dodgerblue",mouseLeave:(gr,At)=>At.background="transparent",click:An("dir",Cn),contextClick:An("dir",Cn)})}function tr(Cn){var Xn=(gr,At)=>{gr.handled=!0,gr.diagram.model.commit(Vt=>{var Qt=At.part.adornedPart;Vt.set(Qt.data,Cn?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(Cn?Qt.toNode:Qt.fromNode).invalidateConnectedLinks()})};return Rt($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(gr,At)=>At.background="dodgerblue",mouseLeave:(gr,At)=>At.background="transparent",click:Xn,contextClick:Xn})}function Wt(Cn,Xn){var gr=0,At=$e.z6.RightSide;Cn.equals($e.z6.Top)?(gr=270,At=$e.z6.TopSide):Cn.equals($e.z6.Left)?(gr=180,At=$e.z6.LeftSide):Cn.equals($e.z6.Bottom)&&(gr=90,At=$e.z6.BottomSide),Xn||(gr-=180);var Vt=(Qt,zn)=>{Qt.handled=!0,Qt.diagram.model.commit(sr=>{var rr=zn.part.adornedPart;sr.set(rr.data,Xn?"toSpot":"fromSpot",$e.z6.stringify(At)),(Xn?rr.toNode:rr.fromNode).invalidateConnectedLinks()})};return Rt($e.bn,{alignment:Cn,alignmentFocus:Cn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:gr,background:"transparent",mouseEnter:(Qt,zn)=>zn.background="dodgerblue",mouseLeave:(Qt,zn)=>zn.background="transparent",click:Vt,contextClick:Vt})}xt.current.linkTemplate.contextMenu=Rt("ContextMenu",Nt(),Jt(),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",$n(0),$n(1),$n(2))),Rt("ContextMenuButton",Rt($e.s_,"Horizontal",Rt($e.s_,"Spot",tr(!1),Wt($e.z6.Top,!1),Wt($e.z6.Left,!1),Wt($e.z6.Right,!1),Wt($e.z6.Bottom,!1)),Rt($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},tr(!0),Wt($e.z6.Top,!0),Wt($e.z6.Left,!0),Wt($e.z6.Right,!0),Wt($e.z6.Bottom,!0)))));const Rr=`{ "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 Lr=["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 Er(Cn){return console.log("shapeName:",Cn),Lr.indexOf(Cn)>=0}var Ur=new $e.YI(Bn.current,{maxSelectionCount:1,linkTemplate:Rt($e.rU,{locationSpot:$e.z6.Center,selectionAdornmentTemplate:Rt($e.uz,"Link",{locationSpot:$e.z6.Center},Rt($e.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Rt($e.bn,{toArrow:"Standard",stroke:null}))},{routing:$e.rU.AvoidsNodes,curve:$e.rU.JumpOver,corner:5,toShortLength:4},new $e.KX("points"),Rt($e.bn,{isPanelMain:!0,strokeWidth:2}),Rt($e.bn,{toArrow:"Standard",stroke:null})),model:new $e.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...$e.bn.getFigureGenerators().toArray().map(Cn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Cn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(Cn){var Xn;const gr=Cn.subject.part;var At=(Xn=document.activeElement)==null?void 0:Xn.value;typeof At=="string"&&At.trim()===""&&xt.current.model.commit(function(Vt){Vt.set(gr.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),Ur.nodeTemplate=Rt($e.NB,"Auto",{locationSpot:$e.z6.Center},new $e.KX("location","location",$e.E9.parse).makeTwoWay($e.E9.stringify),Rt($e.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 $e.KX("stroke").makeTwoWay(),new $e.KX("fill").makeTwoWay(),new $e.KX("figure")),Rt($e.al,{margin:new $e.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new $e.$u(16,16),maxSize:new $e.$u(10,NaN),textAlign:"center",editable:!0},new $e.KX("key").makeTwoWay())),setTimeout(()=>{xt.current.grid=Rt($e.s_,"Grid",Rt($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rt($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),xt.current.grid.visible=!0,xt.current.grid.gridCellStroke="darkgray",xt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=xt.current,xt.current}const gn=()=>ke(this,null,function*(){var Rt=xt.current.makeImage();const Pn=yield(0,je.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Rt.src}});Bt({src:Pn.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Lt()},500),Ht(Vn+1),()=>{xt.current=null}),[]),Ye.createElement("div",{ref:Sr,className:fn.current?`${Je.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(_e.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Vn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Ve.Z,null,Ye.createElement(Ie.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(Ie.Z,{onClick:()=>{var Rt,Pn,_n=xt.current.selection.first();if(fn.current=!fn.current,document.activeElement&&_n){let ir=(Pn=(Rt=document.activeElement)==null?void 0:Rt.value)==null?void 0:Pn.trim();typeof ir=="string"&&xt.current.model.commit(function(An){An.set(_n.data,"text",ir||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}Ht(Vn+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Pt},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Je.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:Je.myPaletteDiv,ref:Bn})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:tn,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Ce.ZP,{size:"large",onClick:gn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Te=De,xe=fe(5112),Re=fe(5871);const Xe=xe.ZP.Group,nt={margin:"0 8px"};var Ke=({callback:Pt,onCancel:Bt})=>{function xt(tn){Pt(tn)}return ae.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xt},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:nt},"\u884C\u6570"),ae.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(Re.Z,null)),ae.createElement("span",{style:nt},"\u5217\u6570"),ae.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(Re.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(be.default.Item,{name:"align"},ae.createElement(Xe,null,ae.createElement(xe.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(xe.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(xe.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(xe.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ce.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},rt=fe(78673),ht=fe(93510),ut=fe.n(ht),lt=(0,ae.forwardRef)(({use3d:Pt,width:Bt,height:xt,callback:tn,showSaveButton:Bn},fn)=>{const Sr=(0,ae.useRef)(),Vn=(0,ae.useRef)(),[Ht,Lt]=(0,ae.useState)(!1),gn=(0,ae.useRef)({id:Sr,appName:"graphing",width:Bt||1e3,height:xt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{Vn.current=new(ut())(gn.current,!0),window.onload=function(){Vn.current.inject("applet_container")}},[]);const Rt=()=>{var Pn=window.ggbApplet.getPNGBase64(1,!0,72);return tn&&tn(Pn),Pn};return(0,ae.useEffect)(()=>{gn.current.appName=Ht?"3D":"graphing",Vn.current.inject("applet_container")},[Ht]),(0,ae.useEffect)(()=>{Lt(Pt)},[Pt]),(0,ae.useImperativeHandle)(fn,()=>({getImgData:Rt})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Sr}),ae.createElement(Ve.Z,{align:"middle"},ae.createElement(Ie.Z,{flex:1},ae.createElement(rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ht,onChange:Pn=>Lt(Pn)})),ae.createElement(Ie.Z,null,ae.createElement(Ce.ZP,{size:"large",onClick:Rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),mt=fe(99298),it=fe(1012),ct=fe(8591);const ft="link",yt="upload-image",Et="add-flowchart",Tt="draw-image",_t="add-flowchart",Gt="code-block",hn="add-table",Rn="------------",bn={default:Rn,left:`:${Rn}`,center:`:${Rn}:`,right:`${Rn}:`};var dn=fe(31103),lr=(Pt,Bt,xt)=>new Promise((tn,Bn)=>{var fn=Ht=>{try{Vn(xt.next(Ht))}catch(Lt){Bn(Lt)}},Sr=Ht=>{try{Vn(xt.throw(Ht))}catch(Lt){Bn(Lt)}},Vn=Ht=>Ht.done?tn(Ht.value):Promise.resolve(Ht.value).then(fn,Sr);Vn((xt=xt.apply(Pt,Bt)).next())});function jn(){}let Mn=0;const cr=1e4,hr="\u2581",Dn="@\u2581\u2581@",qn="@\u2581@",Fn=` +**\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`,Ct=["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 cn(Pt){return/^\d+$/.test(Pt)?`${Pt}px`:Pt}const Sn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ln={[Sn+"-B"]:"bold",[Sn+"-I"]:"italic"},On={[ft]:"\u6DFB\u52A0\u94FE\u63A5",[Gt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yt]:"\u6DFB\u52A0\u56FE\u7247",[Tt]:"\u6DFB\u52A0\u753B\u56FE",[Et]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[hn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var mn=({defaultValue:Pt="",onChange:Bt,width:xt="100%",height:tn=400,miniToolbar:Bn=!1,isFocus:fn=!1,watch:Sr,insertTemp:Vn,mode:Ht="markdown",id:Lt="markdown-editor-id",showResizeBar:gn=!1,noStorage:Rt=!1,showNullButton:Pn=!1,showNullProgramButton:_n=!1,hidetoolBar:ir=!1,fullScreen:An=!1,onBlur:bt,onCMBeforeChange:kt,onFullScreen:Nt,className:wt="",disablePaste:qt=!1,disabled:Jt=!1,disabledFill:rn=!1,placeholder:on="",values:$n="",extraUse:tr})=>{const[Wt,Rr]=(0,ae.useState)(null),[Lr,Er]=(0,ae.useState)(Pt),[Ur,Cn]=(0,ae.useState)(Sr),[Xn,gr]=(0,ae.useState)(An),[At,Vt]=(0,ae.useState)(""),[Qt,zn]=(0,ae.useState)(0),[sr,rr]=(0,ae.useState)(tn),[vr,ur]=(0,ae.useState)(!1),Tn=(0,ae.useRef)((0,it.Z)()),vn=(0,ae.useRef)(!1),Zn=(0,ae.useRef)(),[Yt,Hr]=(0,ae.useState)(0),[Gn,Pr]=(0,ae.useState)(0),Fr=(0,ae.useRef)(),Yr=(0,ae.useRef)(),Ir=(0,ae.useRef)(),mr=(0,ae.useRef)(),Tr=()=>lr(void 0,null,function*(){var Nn;const sn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Tn.current}});(Nn=sn==null?void 0:sn.attachments)!=null&&Nn.length&&(console.log("cm:",Wt,Fr),sn.attachments.map(en=>{en.content_type.indexOf("image")>-1?Wt.replaceSelection(`![,](/api/attachments/${en.id}?type=${en.content_type})`):en.content_type.indexOf("video")>-1?Wt.replaceSelection(``):en.content_type.indexOf("pdf")>-1?Wt.replaceSelection(`${en.name}`):Wt.replaceSelection(`[${en.name}](${ENV.API_SERVER}/api/attachments/${en.id}?type=${en.content_type})`)}))});(0,ae.useEffect)(()=>{const Nn=window.scrollY||window.pageYOffset;Er($n),Wt==null||Wt.setValue($n),window.scrollTo(0,Nn)},[$n]),(0,ae.useEffect)(()=>{Nt==null||Nt(Xn)},[Xn]),(0,ae.useEffect)(()=>{if(Fr.current){let Nn=function(en,ln){var En;if(qt){ln.preventDefault();return}const xn=ln.clipboardData;if(xn){const ar=xn.types.toString(),Hn=xn.items;if(ar==="Files"||xn.types.indexOf("Files")>-1){if(ln.preventDefault(),Ht=="stex")return;try{let Qr=Hn[1];((En=Hn[0])==null?void 0:En.kind)==="file"&&(Qr=Hn[0]);const wr=Qr.getAsFile(),ia=wr.name.split(".").pop();(0,ze.I)(wr,Jn=>{var er,kr,Gr;Jn.id?((er=wr==null?void 0:wr.type)==null?void 0:er.indexOf("image"))>-1?sn.replaceSelection(``):((kr=wr==null?void 0:wr.type)==null?void 0:kr.indexOf("video"))>-1?sn.replaceSelection(``):((Gr=wr==null?void 0:wr.type)==null?void 0:Gr.indexOf("pdf"))>-1?sn.replaceSelection(`${wr.name}`):Ct.includes(ia)?sn.replaceSelection(`${wr.name}`):sn.replaceSelection(`[${wr.name}](/api/attachments/${Jn.id}?type=${Jn.content_type})`):(Jn==null?void 0:Jn.status)===401&&(ct.ZP.warning((Jn==null?void 0:Jn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Qr){ct.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const sn=E().fromTextArea(Fr.current,{mode:Ht,lineNumbers:!Bn,lineWrapping:!0,value:Pt,autoCloseTags:!_n,autoCloseBrackets:!0});return sn.on("keyup",function(en,ln){ln.keyCode===8&&(en.getValue()==""?sn.setOption("placeholder",on):sn.setOption("placeholder",null))}),sn.on("keydown",function(en,ln){if(ln.keyCode===8){var En=xr(en);En&&ln.preventDefault()}}),fn&&sn.focus(),sn.on("paste",Nn),sn.on("dragleave",function(en,ln){Yr.current.classList.remove("mouse-hover-md")}),Jt&&sn.on("beforeChange",function(en,ln){(ln.origin==="paste"||ln.origin==="+input")&&ln.cancel()}),Rr(sn),()=>{sn.off("paste",Nn)}}},[]);const Or=(0,ae.useCallback)(()=>{if(Yr.current)try{}catch(Nn){console.log(Nn,"---- to set md editor body height")}},[sr,Yr,Xn]);(0,ae.useEffect)(()=>{function Nn(){let sn=new ye.Z(en=>{for(let ln of en)(ln.target.offsetHeight>0||ln.target.offsetWidth>0)&&(Or(),Wt.setSize("100%","100%"),Wt.refresh())});return sn.observe(Fr.current.parentElement),sn}if(Wt){const sn=Nn();return()=>{var en,ln;(en=Fr.current)!=null&&en.parentElement&&sn.unobserve((ln=Fr.current)==null?void 0:ln.parentElement)}}},[Wt,Or]),(0,ae.useEffect)(()=>{if(Wt){let Nn=[];for(const[sn,en]of Object.entries(Ln)){let ln={[sn]:()=>{Mr(en)}};Nn.push(ln),Wt.addKeyMap(ln)}return Zn.current=setInterval(()=>{vn.current&&Tr()},4e3),()=>{clearInterval(Zn.current);for(let sn of Nn)Wt.removeKeyMap(sn)}}},[Wt]),(0,ae.useEffect)(()=>{An!==Xn&&gr(An)},[An]),(0,dn.Z)(()=>{if(!Rt&&Qt>0){let Nn=new Date().getTime(),sn=window.sessionStorage.getItem(Lt);Nn>=Qt+cr&&(!sn||sn!==Lr)&&(window.sessionStorage.setItem(Lt,Lr),ur(!0))}},cr),(0,ae.useEffect)(()=>{Cn(Sr)},[Wt,Sr]),(0,ae.useEffect)(()=>{Wt&&fn&&Wt.focus()},[Wt,fn]),(0,ae.useEffect)(()=>{if(Ur&&Wt){let Nn=function(en){let ln=en.target;if(mr.current){let En=ln.scrollTop/ln.scrollHeight;mr.current.scrollTop=mr.current.scrollHeight*En}};const sn=Wt.getScrollerElement();return sn.addEventListener("scroll",Nn),()=>{sn.removeEventListener("scroll",Nn)}}},[Wt,Ur]),(0,ae.useEffect)(()=>{if(Wt&&kt){let Nn=function(sn,en){kt(sn,en)};return Wt.on("beforeChange",Nn),()=>{Wt.off("beforeChange",Nn)}}},[Wt,kt]),(0,ae.useEffect)(()=>{if(Wt&&bt){let Nn=function(){bt(Wt.getValue())};return Wt.on("blur",Nn),()=>{Wt.off("blur",Nn)}}},[Wt,bt]);function xr(Nn,sn){var en=Nn.getDoc(),ln=en.getCursor(),En=en.getLine(ln.line),xn=En.charAt(ln.ch-1),ar=En.lastIndexOf("@\u2581@",ln.ch),Hn=En.lastIndexOf("@\u2581\u2581@",ln.ch),Qr=ar>Hn?ar:Hn,wr=ar>Hn?3:4;if(Dn.indexOf(xn)===-1)return null;if(console.log("change1:",sn,Nn,En,ln,Qr,ar,Hn,xn),Qr>=0&&ln.ch-Qr<5){var ia=Qr+wr;return en.replaceRange("",{line:ln.line,ch:Qr},{line:ln.line,ch:ia}),{line:ln.line,ch:ia}}return null}(0,ae.useEffect)(()=>{if(Wt){let Nn=function(sn,en){const ln=sn.getValue();Er(ln),zn(new Date().getTime()),sn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bt&&(_n?Bt(ln,pa(ln)):Bt(ln))};return Wt.on("change",Nn),()=>{Wt.off("change",Nn)}}},[Wt,Bt]),(0,ae.useEffect)(()=>{if(Wt)if(Pt==null)Wt.setValue(""),Er("");else{const Nn=window.scrollY||window.pageYOffset;Pt!==Wt.getValue()&&(Wt.setValue(Pt),Er(Pt),Wt.setCursor(Jt?1:Wt.lineCount(),0),window.scrollTo(0,Nn))}},[Wt,Pt]);const Mr=(0,ae.useCallback)(Nn=>{const sn=Wt.getCursor(),en=Wt.getSelection();let ln=en.split(` +`);switch(Nn){case"bold":return Wt.replaceSelection("**"+en+"**"),en===""&&Wt.setCursor(sn.line,sn.ch+2),Wt.focus();case"italic":return Wt.replaceSelection("*"+en+"*"),en===""&&Wt.setCursor(sn.line,sn.ch+1),Wt.focus();case"code":return Wt.replaceSelection("`"+en+"`"),en===""&&Wt.setCursor(sn.line,sn.ch+1),Wt.focus();case"inline-latex":return Vt("inline-latex"),Wt.focus();case"latex":return Wt.replaceSelection("```latex\n"+en+"\n```"),Wt.setCursor(sn.line+1,en.length+1),Wt.focus();case"line-break":return Wt.replaceSelection(`
+`),Wt.focus();case"list-ul":return en===""?Wt.replaceSelection("- "+en):Wt.replaceSelection(ln.map(En=>En===""?"":`- ${En}`).join(` +`)),Wt.focus();case"list-ol":return en===""?Wt.replaceSelection("1. "+en):Wt.replaceSelection(ln.map((En,xn)=>En===""?"":`${xn+1}. ${En}`).join(` +`)),Wt.focus();case"add-null-ch":return en===""&&Wt.setCursor(sn.line,sn.ch),Wt.replaceSelection(hr),Wt.focus();case"add-signal":return en===""&&Wt.setCursor(sn.line,sn.ch),Wt.replaceSelection(qn),Wt.focus();case"add-multiple":return en===""&&Wt.setCursor(sn.line,sn.ch),Wt.replaceSelection(Dn),Wt.focus();case"inster-template-1":return en===""&&Wt.setCursor(sn.line,sn.ch),Wt.replaceSelection(Fn),Wt.focus();case"eraser":return Wt.setValue(""),Wt.focus();case"trigger-watch":return Cn(!Ur),Wt.focus();case"trigger-full-screen":return gr(!Xn),Wt.focus();case ft:Vt(ft);return;case Gt:Vt(Gt);return;case yt:Vt(yt);return;case Tt:Vt(Tt);return;case"maths-latex":Vt("maths-latex");return;case Et:Vt(Et);return;case hn:Vt(hn);return;default:throw new Error}},[Wt,Ur,Xn]),Kn=(0,ae.useCallback)((Nn,sn)=>{var en,ln,En,xn,ar,Hn;switch(Vt(""),At){case ft:const{title:er,link:kr}=Nn;return Wt.replaceSelection(`[${er}](${kr})`),Wt.focus();case Gt:const{language:Gr,content:or}=Nn;return Wt.replaceSelection(["```"+Gr,or,"```"].join(` +`)),Wt.focus();case"maths-latex":for(var Qr=atob(Nn),wr=new Uint8Array(Qr.length),ia=0;ia{Qn.id?Wt.replaceSelection(`![,](/api/attachments/${Qn.id}?type=${Qn.content_type})`):(Qn==null?void 0:Qn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Wt.replaceSelection("`$$"+Nn+"$$`");break;case yt:case Tt:case _t:const{src:In,alt:It}=Nn,Mt=sn,zt=(En=(ln=(en=Mt==null?void 0:Mt.name)==null?void 0:en.split("."))==null?void 0:ln.pop)==null?void 0:En.call(ln);return((xn=Mt==null?void 0:Mt.type)==null?void 0:xn.indexOf("image"))>-1||!(Mt!=null&&Mt.type)?Mt.align||Mt.width?Wt.replaceSelection(`

${It||

`):Wt.replaceSelection(`${It||`):((ar=Mt==null?void 0:Mt.type)==null?void 0:ar.indexOf("video"))>-1?Wt.replaceSelection(``):((Hn=Mt==null?void 0:Mt.type)==null?void 0:Hn.indexOf("pdf"))>-1?Wt.replaceSelection(`${Mt.name}`):Ct.includes(zt)?Wt.replaceSelection(`${Mt.name}`):Wt.replaceSelection(`[${Mt.name}](${In})`),Wt.focus();case hn:const{row:Ft,col:pn,align:Yn}=Nn;let Xt=` +`;for(let Qn=0;Qn{switch(At){case ft:return ae.createElement(Qe,{callback:Kn,onCancel:oa});case Gt:return ae.createElement(We.Z,{callback:Kn,onCancel:oa});case yt:return ae.createElement(ze.Z,{callback:Kn,onCancel:oa});case Et:return ae.createElement(Te,{callback:Kn,onCancel:oa});case hn:return ae.createElement(Ke,{callback:Kn,onCancel:oa});case"maths-latex":return ae.createElement(lt,{showSaveButton:!0,callback:Kn});case"inline-latex":return ae.createElement(mt.Z,{showSaveButton:!0,callback:Kn});default:return null}},[At]);function oa(){Vt("")}(0,ae.useEffect)(()=>{if(Ir.current){let Nn=function(ar){En=!0,xn=ar.pageY},sn=function(){En=!1},en=function(ar){if(En){let Hn=ar.pageY-xn;Hn<0&&(Hn=0),Hn>300&&(Hn=300);let Qr=tn+Hn+"px";rr(Qr)}},ln=Ir.current,En=!1,xn=0;return ln.addEventListener("mousedown",Nn),document.addEventListener("mousemove",en),document.addEventListener("mouseup",sn),()=>{ln.removeEventListener("mousedown",Nn),document.removeEventListener("mousemove",en),document.removeEventListener("mouseup",sn)}}},[Wt,Ir]),(0,ae.useEffect)(()=>{rr(tn)},[tn]);const Xr=cn(xt),ba=cn(sr),Pa={width:Xr,height:ba},ua=(0,ae.useMemo)(()=>{if(Qt){let Nn=new Date(Qt),sn=Nn.getHours(),en=Nn.getMinutes(),ln=Nn.getSeconds();return sn=sn<10?"0"+sn:sn,en=en<10?"0"+en:en,ln=ln<10?"0"+ln:ln,`${sn}:${en}:${ln}`}return 0},[Qt]),pa=Nn=>{const sn=[];if(_n){let en=-1;Nn=Nn.replace(/(@▁▁@|@▁@)/g,function(ln,En,xn){sn.push({multiLine:ln!==qn})})}return sn};function ka(){window.sessionStorage.removeItem(Lt),ur(!1),zn(0)}function jt(){ur(!1),zn(0),Wt.setValue(window.sessionStorage.getItem(Lt))}(0,ae.useEffect)(()=>{On[At]&&At!==Tt&&At!==Et&&setTimeout(()=>{const Nn=document.getElementsByClassName("markdown-popup-form")[0],sn=window.innerWidth/2-Nn.offsetWidth/2,en=window.innerHeight/2-Nn.offsetHeight/2;Hr(sn),Pr(en)},0)},[At]);const $t=Nn=>{Nn.preventDefault();const sn=Nn.clientX-Yt,en=Nn.clientY-Gn;document.body.onmousemove=ln=>{let En=ln.clientX-sn,xn=ln.clientY-en;const ar=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth-ar.offsetWidth,Qr=window.innerHeight-ar.offsetHeight;En=Math.max(0,Math.min(En,Hn)),xn=Math.max(0,Math.min(xn,Qr)),wn(ln.clientX,ln.clientY,sn,en)&&(Hr(En),Pr(xn))},document.body.onmouseup=function(){document.body.onmousemove=null}},wn=(Nn,sn,en,ln)=>{const En=document.body.clientHeight,xn=document.body.clientWidth;return Nn<20&&en>Nn||Nn>xn-20&&ensn||sn>En-20&&lnEe in be?oe(be,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):be[Ee]=Ce,z=(be,Ee)=>{for(var Ce in Ee||(Ee={}))y.call(Ee,Ce)&&b(be,Ce,Ee[Ce]);if(a)for(var Ce of a(Ee))x.call(Ee,Ce)&&b(be,Ce,Ee[Ce]);return be},te=(be,Ee)=>re(be,ee(Ee));const{useForm:ue}=ae.default,me={width:280,marginRight:10},ve={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:be,onCancel:Ee})=>{const[Ce]=ue();let Be=(0,de.useRef)();function Pe(Le){Be.current.width=Ce.getFieldValue("width"),Be.current.align=Ce.getFieldValue("align"),be(Le,Be.current)}function Fe(Le,Oe){if(Le.status===-1){Ae.ZP.error(Le.message);return}Ce.setFieldsValue({src:`/api/attachments/${Le.id}`,type:Oe.type})}function we(Le){let Oe=Le.target.files[0];Be.current=Oe,Se(Oe,Fe)}return ie.createElement(ae.default,te(z({form:Ce},ve),{className:"upload-image-panel",onFinish:Pe,style:{width:470,overflow:"hidden"}}),ie.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ie.createElement("div",{className:"flex-container"},ie.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ie.createElement(E.default,{style:me})),ie.createElement(pe,{onFileChange:we}))),ie.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ie.createElement(E.default,{style:{width:264}})),ie.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ie.createElement(ye.Z,null,ie.createElement(ae.default.Item,{name:"width",style:{margin:0}},ie.createElement(he.Z,{style:{width:264}})),ie.createElement("span",{className:"ml8"},"%"))),ie.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ie.createElement(ce.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(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ie.createElement(ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ie.createElement(ne.ZP,{type:"default",onClick:Ee},"\u53D6\u6D88"))))};function pe({onFileChange:be}){return ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ie.createElement("input",{type:"file",onChange:be}))}function Se(be,Ee){if(!be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw Ae.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ce=new FormData;Ce.append("editormd-image-file",be),Ce.append("file_param_name","editormd-image-file"),Ce.append("byxhr","true");var Be=new window.XMLHttpRequest;Be.withCredentials=!0,Be.addEventListener("load",function(Pe){Ee(JSON.parse(Pe.target.responseText),be)},!1),Be.addEventListener("error",function(Pe){console.error(Pe)},!1),Be.open("POST",`${se.KI}/api/attachments.json`),Be.send(Ce)}},57261:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return E}});var ae=fe(59301),Ae=fe(4676);class E extends ae.Component{constructor(he){super(he);const ce=window.document;this.node=ce.createElement("div"),ce.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,Ae.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},77825:function(gt,ot,fe){"use strict";var ae=fe(829),Ae=fe(57809),E=fe(78673),ye=fe(59301);const he=Ae.default.Option;ot.Z=({isTheoretical:ce,onFontSizeChange:ne,cmFontSize:se,cmCodeMode:de,autoFormat:le,onCodeModeChange:ie,onTabToSpace:oe,onAutoFormat:re,formatDocument:ee,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:z,shixun_environment_id:te,shixun_environments:ue})=>{var me;const ve={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},ge=(me=ue==null?void 0:ue.find(pe=>pe.shixun_environment_id===te))==null?void 0:me.program_language;return ye.createElement("div",{className:`tpi-code-setting ${a}`},ye.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),ye.createElement(Ae.default,{bordered:!1,size:"small",value:de,onChange:ie},ye.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),ye.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ce&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),ye.createElement(Ae.default,{bordered:!1,size:"small",value:se,onChange:ne},ye.createElement(he,{value:12},"12px"),ye.createElement(he,{value:14},"14px"),ye.createElement(he,{value:16},"16px"),ye.createElement(he,{value:18},"18px"),ye.createElement(he,{value:20},"20px"),ye.createElement(he,{value:22},"22px"))),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"Tab\u8F6C\u6362"),ye.createElement(E.Z,{checked:y,onChange:oe})),ye.createElement("div",{className:"file-item",onClick:ee},ye.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ce&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),ye.createElement("span",null,"Ctrl + S")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),ye.createElement("span",null,"F1 / Alt + F1")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),ye.createElement("span",null,"Ctrl + ]/[")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),ye.createElement("span",null,"Ctrl + Shift + \\")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),ye.createElement("span",null,"Home")),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),ye.createElement("span",null,"End"))),x),!ce&&ye.createElement(ye.Fragment,null,ye.createElement("h3",null,"\u5FEB\u6377\u952E"),ye.createElement("section",null,ge&&ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),ye.createElement("span",null,ge)),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),ye.createElement("span",null,ve[z==null?void 0:z.difficulty])),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),ye.createElement("span",null,b==null?void 0:b.name)),ye.createElement("div",{className:"file-item"},ye.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),ye.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},61584:function(gt,ot,fe){"use strict";fe.d(ot,{i:function(){return ve},Z:function(){return pe}});var ae={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},Ae=fe(71418),E=fe(6848),ye=fe(93948),he=fe(92310),ce=fe.n(he),ne=fe(65862),se=fe(2524),de=fe(41867),le=fe(79005),ie=fe(20345),oe=fe(77882),re=fe(31081),ee=fe(75309),a=fe(71979),y=fe(47558),x=fe(42922),b=fe(66832),z=fe(96593),te=fe(19664),ue=fe(91833),me=fe(59301);const ve=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:le,swimg:ie},{name:"101\u8BA1\u5212",ptimg:oe,swimg:re},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ee,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:ue}];var pe=({className:Se,dataSource:be=[],col:Ee=4,right:Ce,bottom:Be=23,precision:Pe=0,wrapWidth:Fe=1200,trackEventItems:we,loading:Le,onRemove:Oe=()=>{},isCurrent:Ge=!0,showAlias:Ne=!1,showProgress:Ue=!1})=>{const He=Math.floor((Fe-(Ee-1)*Ce)/Ee),Qe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(We=>(window.ENV==="build"&&(We.ptimg=`/react/build${We.ptimg}`,We.swimg=`/react/build${We.swimg}`),We));return me.createElement(Ae.Z,{spinning:Le},me.createElement("div",{className:ce()(ae.list,Se)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((We,ze)=>{var _e,Ve,tt,et,dt,$e;const{name:Ze,id:Me,identifier:qe,featured:Ie,school_name:je,image_url:Je,excellent:Ye,is_plan:ke}=We;return me.createElement("div",{key:Me,className:Ge&&Ue?ae.wrapisCurrent:ae.wrap,style:{width:He,marginRight:(1+ze)%Ee===0?0:Ce+Pe,marginBottom:Be}},me.createElement("a",{className:ae.li,onClick:De=>{De.preventDefault(),De.stopPropagation(),we&&(0,ne.L9)([we]),(0,ne.xg)(`/paths/${qe}`)}},me.createElement("div",{className:ae.img},me.createElement("img",{className:ae.cover,src:`${Je}`}),Ge&&(0,de.bg)()&&(We==null?void 0:We.studying)&&me.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:De=>{De.stopPropagation(),Oe(We)}},me.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),me.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_e=We==null?void 0:We.subject_tags)==null?void 0:_e.map((De,Te)=>{var xe,Re;if(Te===0){const nt=(xe=Qe.find(Ke=>Ke.name==De))==null?void 0:xe.swimg;return me.createElement("img",{className:ae.sign,src:nt,style:{left:"-4px"}})}const Xe=(Re=Qe.find(nt=>nt.name==De))==null?void 0:Re.ptimg;return me.createElement("img",{className:ae.sign,src:Xe,style:{left:`${48+52*(Te-1)+2*Te}px`}})}),me.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(We==null?void 0:We.excellent)&&me.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),me.createElement("div",{className:ae.name},me.createElement(E.Z,{title:Ne&&(We!=null&&We.excellent_alias_name)?me.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ze}`,me.createElement("br",null),me.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${We==null?void 0:We.excellent_alias_name}`)):Ze},me.createElement("span",{className:ae.e},Ne&&(We==null?void 0:We.excellent_alias_name)||Ze))),Ge&&Ue&&((Ve=We==null?void 0:We.progress)==null?void 0:Ve.all_score)!=0&&me.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},me.createElement(ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((tt=We==null?void 0:We.progress)==null?void 0:tt.my_score)/((et=We==null?void 0:We.progress)==null?void 0:et.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(dt=We==null?void 0:We.progress)==null?void 0:dt.my_score,"/",($e=We==null?void 0:We.progress)==null?void 0:$e.all_score),(!Ge||!Ue)&&me.createElement("div",{className:ae.tags},me.createElement("div",null,me.createElement(E.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),me.createElement("span",null,We.stages_count))),me.createElement(E.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),me.createElement("span",null,We.members_count)))))))})),!be.length&&me.createElement(se.Z,null)))}},3918:function(gt,ot,fe){"use strict";fe.d(ot,{jL:function(){return he},w9:function(){return cn},vv:function(){return xt},dN:function(){return On},QD:function(){return vn},cQ:function(){return Te.Z},vg:function(){return hr},Oz:function(){return bn},op:function(){return zn},O5:function(){return ua},_b:function(){return Fr},t7:function(){return Be},tT:function(){return we},Gi:function(){return ir},YG:function(){return Sr},Ed:function(){return Pn},kT:function(){return Lt},qp:function(){return x},Um:function(){return ve},K3:function(){return te},vr:function(){return Hr},qE:function(){return vr},Je:function(){return Ge},wb:function(){return $e},rC:function(){return De},lB:function(){return qe},cq:function(){return qt},kO:function(){return $n},tp:function(){return Se},Si:function(){return jt},k8:function(){return In},Du:function(){return xn}});var ae=fe(59301),Ae={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6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J8Q7AAAAABJRU5ErkJggg==",he=({dataSource:It=[],img:Mt,imgWidth:zt=346,title:Ft,sunTitle:pn,bannerExtraContent:Yn})=>ae.createElement("div",{className:Ae.banner},ae.createElement("div",{className:Ae.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,Ft),ae.createElement("span",null,pn)),It.length>0&&ae.createElement("div",{className:Ae.btns},It.map((Xt,Qn)=>ae.createElement("div",{key:Qn,onClick:Xt.click},Xt.name,Xt.sign?ae.createElement("img",{src:E,width:39}):null))),Yn),Mt&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:Mt,width:zt}))),ce={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ne=fe(92310),se=fe.n(ne),de=fe(89392),le=Object.defineProperty,ie=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ee=(It,Mt,zt)=>Mt in It?le(It,Mt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):It[Mt]=zt,a=(It,Mt)=>{for(var zt in Mt||(Mt={}))oe.call(Mt,zt)&&ee(It,zt,Mt[zt]);if(ie)for(var zt of ie(Mt))re.call(Mt,zt)&&ee(It,zt,Mt[zt]);return It},x=({dataSource:It=[],value:Mt,onChange:zt,onTitleChange:Ft,className:pn,title:Yn,titleWidth:Xt=41,style:Qn={},fontColor:yr="#6A7283",showCount:Br,classNameActive:br,styleItem:dr={}})=>{const[ga,Sa]=(0,ae.useState)(0),[Ma,jr]=(0,ae.useState)(!1),nr=(0,ae.useRef)(null),Wr=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var fa;It.length!==0&&(((fa=nr==null?void 0:nr.current)==null?void 0:fa.clientHeight)>97?Sa(1):Sa(0)),It.length===0&&Sa(0),jr(!1)},[It]),ae.createElement("div",{className:se()(ce.row,pn),style:Qn},ae.createElement("div",{onClick:(0,de.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:Xt,marginTop:Ma?12:4},className:`${ce.title} ${Ft?"current":""}`},Yn),ae.createElement("div",{className:Ma?`${ce.tagsWrap} ${ce.tagsBorderWrap}`:ce.tagsWrap},ae.createElement("div",{className:ce.bar,ref:Wr,style:ga>0?{height:ga===1?97:"auto",overflow:ga===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:ce.tag,ref:nr},It==null?void 0:It.map(fa=>ae.createElement("span",{onClick:()=>zt(fa.id),key:fa.id,style:a(a({color:yr},dr),(fa==null?void 0:fa.style)||{}),className:Mt===fa.id?se()(br||ce.active,fa.classNameActive):""},ae.createElement("span",{title:fa.name,className:ce.name},fa.name),!!Br&&ae.createElement("span",{className:ce.num},fa.count))))),!!ga&&ae.createElement(ae.Fragment,null,ga===1?ae.createElement("div",{onClick:()=>{var fa;Sa(2),((fa=nr==null?void 0:nr.current)==null?void 0:fa.clientHeight)>245?jr(!0):jr(!1)},className:ce.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Wr.current.scrollTop=0,Sa(1),jr(!1)},className:ce.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:It=[],value:Mt,onChange:zt,onTitleChange:Ft,className:pn,title:Yn,titleWidth:Xt=41,style:Qn={},fontColor:yr="#6A7283",showCount:Br,expand:br=!0})=>{const[dr,ga]=(0,ae.useState)(0),[Sa,Ma]=(0,ae.useState)(!1),jr=(0,ae.useRef)(null),nr=(0,ae.useRef)(null),[Wr,fa]=(0,ae.useState)(br);return ae.createElement("div",{className:se()(b.row,pn),style:Qn},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,de.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:Xt,marginTop:Sa?12:4},className:`${b.title} ${Ft?"current":""}`},Yn),ae.createElement("i",{className:`iconfont ${Wr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Wr?8:10},onClick:()=>fa(!Wr)})),Wr&&ae.createElement("div",{className:Sa?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},ae.createElement("div",{className:b.fenge}),ae.createElement("div",{className:b.bar,ref:nr},ae.createElement("div",{className:b.tag,ref:jr},It==null?void 0:It.map(Da=>ae.createElement("span",{onClick:()=>zt(Da.id),key:Da.id,style:{color:yr},className:Mt===Da.id?b.active:""},ae.createElement("span",{title:Da.name,className:b.name},Da.name),!!Br&&ae.createElement("span",{className:b.num},Da.count)))))))},ue={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ve=({dataSource:It=[],value:Mt,onChange:zt,onTitleChange:Ft,className:pn,title:Yn,titleWidth:Xt=41,style:Qn={},fontColor:yr="#fff",showCount:Br,expand:br=!0})=>{const[dr,ga]=(0,ae.useState)(0),[Sa,Ma]=(0,ae.useState)(!1),jr=(0,ae.useRef)(null),nr=(0,ae.useRef)(null),[Wr,fa]=(0,ae.useState)(br);return ae.createElement("div",{className:se()(ue.row,pn),style:Qn},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,de.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:Xt},className:`${ue.title} ${Ft?"current":""}`},Yn),ae.createElement("i",{className:`iconfont ${Wr?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Wr?"#00DDC7":"#037F74",fontSize:Wr?10:12},onClick:()=>fa(!Wr)})),Wr&&ae.createElement("div",{className:Sa?`${ue.tagsWrap} ${ue.tagsBorderWrap}`:ue.tagsWrap},ae.createElement("div",{className:ue.bar,ref:nr},ae.createElement("div",{className:ue.tag,ref:jr},It==null?void 0:It.map(Da=>ae.createElement("span",{onClick:()=>zt(Da.id),key:Da.id,style:{color:yr},className:Mt===Da.id?ue.active:""},ae.createElement("span",{title:Da.name,className:ue.name},Da.name),!!Br&&ae.createElement("span",{className:ue.num},Da.count)))))))},ge={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Se=({dataSource:It=[],value:Mt,onChange:zt,className:Ft,style:pn={}})=>ae.createElement("div",{style:pn,className:se()(ge.tabs,Ft)},It.map(Yn=>ae.createElement("span",{onClick:()=>zt(Yn.id),className:Mt===Yn.id?ge.active:"",key:Yn.id},Yn.name))),be={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ee=fe(92832),Be=({dataSource:It=[],value:Mt="",onChange:zt,onInputChange:Ft=()=>{},className:pn,style:Yn={},placeholder:Xt,allowClear:Qn=!1})=>{var yr;const[Br,br]=(0,ae.useState)(""),[dr,ga]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var jr;let nr=Mt;(jr=JSON.stringify(Mt))!=null&&jr.includes("{")&&(br(Mt.id),nr=Mt.value||"");try{ga(decodeURIComponent(nr||""))}catch(Wr){ga(decodeURIComponent(nr||""))}},[Mt]);const Sa=()=>{zt(encodeURIComponent(dr),Br||null)},Ma=jr=>{jr!==Br&&(br(jr),zt(encodeURIComponent(dr),jr))};return ae.createElement("div",{className:se()(be.input,pn),style:Yn},!!It.length&&ae.createElement("div",{className:be.dropdown},ae.createElement("div",{className:be.text},(yr=It.find(jr=>jr.id===Br))==null?void 0:yr.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:be.b1}),ae.createElement("b",{className:be.b2})),ae.createElement("div",{className:be.menu},It.map((jr,nr)=>ae.createElement("div",{key:nr,onClick:()=>Ma(jr.id)},jr.name)))),ae.createElement(Ee.default,{onPressEnter:Sa,value:dr,onChange:jr=>{ga(jr.target.value),Ft(encodeURIComponent(jr.target.value),Br||null)},bordered:!1,placeholder:Xt}),ae.createElement("i",{onClick:Sa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Pe={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},we=({dataSource:It=[],value:Mt="",onChange:zt,onInputChange:Ft=()=>{},className:pn,style:Yn={},placeholder:Xt,allowClear:Qn=!1})=>{var yr;const[Br,br]=(0,ae.useState)(""),[dr,ga]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var jr;let nr=Mt;(jr=JSON.stringify(Mt))!=null&&jr.includes("{")&&(br(Mt.id),nr=Mt.value||"");try{ga(decodeURIComponent(nr||""))}catch(Wr){ga(decodeURIComponent(nr||""))}},[Mt]);const Sa=()=>{zt(encodeURIComponent(dr),Br||null)},Ma=jr=>{jr!==Br&&(br(jr),zt(encodeURIComponent(dr),jr))};return ae.createElement("div",{className:se()(Pe.input,pn),style:Yn},!!It.length&&ae.createElement("div",{className:Pe.dropdown},ae.createElement("div",{className:Pe.text},(yr=It.find(jr=>jr.id===Br))==null?void 0:yr.name,ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ae.createElement("div",{className:Pe.menu},It.map((jr,nr)=>ae.createElement("div",{key:nr,onClick:()=>Ma(jr.id)},jr.name)))),ae.createElement(Ee.default,{onPressEnter:Sa,value:dr,onChange:jr=>{ga(jr.target.value),Ft(encodeURIComponent(jr.target.value),Br||null)},bordered:!1,placeholder:Xt}),ae.createElement("i",{onClick:Sa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Le={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ge=({value:It,onChange:Mt,className:zt,total:Ft,pageSize:pn,style:Yn={}})=>{const Xt=It<2,Qn=It>=Math.ceil(Ft/pn);return Ft<=pn?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:se()(Le.quickPager,zt),style:Yn},ae.createElement("div",{onClick:()=>{Xt||Mt(It-1,"prev")},className:Xt?Le.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{Qn||Mt(It+1,"next")},className:Qn?Le.disabled:""},"\u4E0B\u4E00\u9875"))},Ne={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Ue=fe(71418),He=fe(6848),Qe=fe(13570),We=fe(74128),ze=fe(65862),_e=fe(96908),Ve=fe(57177),tt=fe(81378),et=fe(2524),$e=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,trackEventItems:Qn,loading:yr})=>{const Br=Math.floor((Xt-(zt-1)*Ft)/zt);return ae.createElement(Ue.Z,{spinning:yr},ae.createElement("div",{className:se()(Ne.list,It)},!!Mt.length&&Mt.map((br,dr)=>{const{name:ga,id:Sa,identifier:Ma,power:jr,cover_image_id:nr,pic:Wr}=br;return ae.createElement("div",{className:Ne.wrap,key:Sa,style:{width:Br,marginRight:(1+dr)%zt===0?0:Ft+Yn,marginBottom:pn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Ma}/challenges`,className:Ne.li,onClick:fa=>{fa.preventDefault(),Qn&&(0,ze.L9)([Qn]),jr&&(0,ze.xg)(`/shixuns/${Ma}/challenges`)}},ae.createElement("div",{className:Ne.img},ae.createElement("img",{className:Ne.cover,src:`${Wr}`}),br.is_jupyter&&ae.createElement("img",{className:Ne.sign,src:_e}),br.is_jupyter_lab&&ae.createElement("img",{className:Ne.sign,src:Ve}),br.is_unity_3d&&ae.createElement("img",{className:Ne.sign,src:tt})),ae.createElement("div",{className:Ne.name},ae.createElement(He.Z,{title:ga||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Ne.e},ga||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:Ne.tags},ae.createElement(He.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,br.challenges_count))),!!br.myshixuns_count&&ae.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,br.myshixuns_count))),ae.createElement(He.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,br.level))),ae.createElement("div",{className:Ne.rate},ae.createElement(Qe.Z,{allowHalf:!0,disabled:!0,defaultValue:br.score_info}),ae.createElement("span",null,"\xA0",br.score_info?`${br.score_info}\u5206`:"5\u5206")))),!jr&&ae.createElement("div",{className:Ne.lockWrap},ae.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Mt.length&&ae.createElement(et.Z,null)))},Ze={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},qe=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,wrapClassName:Qn,trackEventItems:yr,loading:Br})=>{const br=Math.floor((Xt-(zt-1)*Ft)/zt);return ae.createElement(Ue.Z,{spinning:Br},ae.createElement("div",{className:se()(Ze.list,It)},!!Mt.length&&Mt.map((dr,ga)=>{const{name:Sa,id:Ma,identifier:jr,power:nr,cover_image_id:Wr,pic:fa}=dr;return ae.createElement("div",{className:se()(Ze.wrap,Qn),key:Ma,style:{width:br,marginRight:(1+ga)%zt===0?0:Ft+Yn,marginBottom:pn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${jr}/challenges`,className:Ze.li,onClick:Da=>{Da.preventDefault(),yr&&(0,ze.L9)([yr]),nr&&(0,ze.xg)(`/shixuns/${jr}/challenges`)}},ae.createElement("img",{src:fe(47621),className:Ze.titleBg}),ae.createElement("div",{className:Ze.name},ae.createElement(He.Z,{title:Sa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Ze.e},Sa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:Ze.img},ae.createElement("img",{className:Ze.cover,src:Wr?`${We.Z.API_SERVER}/api/attachments/${Wr}`:`${We.Z.IMG_SERVER+fa}`}),dr.is_jupyter&&ae.createElement("div",{className:Ze.bq},"Jupyter"),dr.is_jupyter_lab&&ae.createElement("div",{className:Ze.bq},"JupyterLab"),dr.is_unity_3d&&ae.createElement("div",{className:Ze.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ae.createElement("div",{className:"mt20 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Ze.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Ze.value},dr.myshixuns_count)),ae.createElement("div",null,ae.createElement("span",{className:Ze.text},"\u56F0\u96BE\u7B49\u7EA7"),ae.createElement("span",{className:Ze.value},dr.level))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Ze.text},"\u5173\u5361\u6570"),ae.createElement("span",{className:Ze.value},dr.challenges_count)),ae.createElement("div",{className:Ze.rate},ae.createElement(Qe.Z,{allowHalf:!0,disabled:!0,defaultValue:dr.score_info}),ae.createElement("span",{className:Ze.value,style:{color:"#FF9C00"}},"\xA0",dr.score_info?`${dr.score_info}\u5206`:"5\u5206"))))),!nr&&ae.createElement("div",{className:Ze.lockWrap},ae.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Mt.length&&ae.createElement(et.Z,null)))},Ie={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/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ading:yr,wrapClassName:Br,imgClassName:br})=>{const dr=Math.floor((Xt-(zt-1)*Ft)/zt);return ae.createElement(Ue.Z,{spinning:yr},ae.createElement("div",{className:se()(Ie.list,It)},!!Mt.length&&Mt.map((ga,Sa)=>{const{name:Ma,id:jr,identifier:nr,power:Wr,cover_image_id:fa,pic:Da}=ga;return ae.createElement("div",{className:se()(Ie.wrap,Br),key:jr,style:{width:dr,marginRight:(1+Sa)%zt===0?0:Ft+Yn,marginBottom:pn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${nr}/challenges`,className:Ie.li,onClick:no=>{no.preventDefault(),Qn&&(0,ze.L9)([Qn]),Wr&&(0,ze.xg)(`/shixuns/${nr}/challenges`)}},ae.createElement("div",{className:se()(Ie.img,br)},ae.createElement("img",{className:Ie.cover,src:fa?`${We.Z.API_SERVER}/api/attachments/${fa}`:`${We.Z.IMG_SERVER+Da}`}),ga.is_jupyter&&ae.createElement("img",{className:Ie.sign,src:je}),ga.is_jupyter_lab&&ae.createElement("img",{className:Ie.sign,src:Je}),ga.is_unity_3d&&ae.createElement("img",{className:Ie.sign,src:Ye})),ae.createElement("div",{className:Ie.name},ae.createElement(He.Z,{title:Ma||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Ie.e},Ma||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:Ie.tags},ae.createElement(He.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,ga.challenges_count))),!!ga.myshixuns_count&&ae.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,ga.myshixuns_count))),ae.createElement(He.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,ga.level))),ae.createElement("div",{className:Ie.rate},ae.createElement(Qe.Z,{allowHalf:!0,disabled:!0,defaultValue:ga.score_info}),ae.createElement("span",null,"\xA0",ga.score_info?`${ga.score_info}\u5206`:"5\u5206")))),!Wr&&ae.createElement("div",{className:Ie.lockWrap},ae.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Mt.length&&ae.createElement(et.Z,null)))},Te=fe(61584),xe={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Re=fe(79005),Xe=fe(20345),nt=fe(77882),Ke=fe(31081),rt=fe(75309),ht=fe(71979),ut=fe(47558),pt=fe(42922),lt=fe(66832),mt=fe(96593),it=fe(19664),ct=fe(91833),ft=Object.defineProperty,yt=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,_t=(It,Mt,zt)=>Mt in It?ft(It,Mt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):It[Mt]=zt,Gt=(It,Mt)=>{for(var zt in Mt||(Mt={}))Et.call(Mt,zt)&&_t(It,zt,Mt[zt]);if(yt)for(var zt of yt(Mt))Tt.call(Mt,zt)&&_t(It,zt,Mt[zt]);return It};const hn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Re,swimg:Xe},{name:"101\u8BA1\u5212",ptimg:nt,swimg:Ke},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:rt,swimg:ht},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ut,swimg:pt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:lt,swimg:mt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:it,swimg:ct}];var bn=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,trackEventItems:Qn,loading:yr,wrapClassName:Br,imgClassName:br,isArrow:dr=!1,imgStyle:ga={}})=>{const Sa=Math.floor((Xt-(zt-1)*Ft)/zt),[Ma,jr]=(0,ae.useState)(),[nr,Wr]=(0,ae.useState)(),fa=no=>jr(no),Da=()=>jr(-1);return ae.createElement(Ue.Z,{spinning:yr},ae.createElement("div",{className:se()(xe.list,It)},!!(Mt!=null&&Mt.length)&&(Mt==null?void 0:Mt.map((no,Eo)=>{var jo;const{name:Zo,id:Ko,identifier:Vo,featured:ko,school_name:Ao,image_url:_o,excellent:Fo,is_plan:Qo}=no;return ae.createElement("div",{key:Ko,className:se()(xe.wrap,Br),style:{width:Sa,marginRight:(1+Eo)%zt===0?0:Ft+Yn,marginBottom:pn}},ae.createElement("a",{target:"_blank",href:`/paths/${Vo}`,className:xe.li,onClick:Po=>{Po.preventDefault(),Qn&&(0,ze.L9)([Qn]),(0,ze.xg)(`/paths/${Vo}`)}},ae.createElement("img",{src:fe(39057),className:xe.titleBg}),ae.createElement("div",{className:xe.name},ae.createElement(He.Z,{title:Zo},ae.createElement("span",{className:xe.e,style:{color:dr&&Ma===Eo?"#145DFF":"#000000"},onMouseEnter:()=>{fa(Eo)},onMouseLeave:Da},Zo))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:se()(xe.img,br)},ae.createElement("img",{className:xe.cover,style:Gt({},ga),src:`${We.Z.IMG_SERVER+_o}`}),(jo=no==null?void 0:no.subject_tags)==null?void 0:jo.map((Po,Co)=>{var Yo,ai;if(Co===0){const Xo=(Yo=hn.find(ti=>ti.name==Po))==null?void 0:Yo.swimg;return ae.createElement("img",{className:xe.sign,src:Xo,style:{left:"-4px"}})}const ii=(ai=hn.find(Xo=>Xo.name==Po))==null?void 0:ai.ptimg;return ae.createElement("img",{className:xe.sign,src:ii,style:{left:`${48+52*(Co-1)+2*Co}px`}})}),ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(no==null?void 0:no.excellent)&&ae.createElement("div",{className:xe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:xe.text},"\u7AE0\u8282\u6570"),ae.createElement("span",{className:xe.value},no.stages_count)),ae.createElement("div",null,ae.createElement("span",{className:xe.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:xe.value},no.members_count))))))})),!Mt.length&&ae.createElement(et.Z,null)))},dn={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},lr=fe(41867),jn=fe(59301);const Mn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Re,swimg:Xe},{name:"101\u8BA1\u5212",ptimg:nt,swimg:Ke},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:rt,swimg:ht},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ut,swimg:pt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:lt,swimg:mt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:it,swimg:ct}];var hr=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,trackEventItems:Qn,loading:yr,onRemove:Br=()=>{},isCurrent:br=!0,showAlias:dr=!1,wrapClassName:ga,imgClassName:Sa})=>{const Ma=Math.floor((Xt-(zt-1)*Ft)/zt),jr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(nr=>(window.ENV==="build"&&(nr.ptimg=`/react/build${nr.ptimg}`,nr.swimg=`/react/build${nr.swimg}`),nr));return jn.createElement(Ue.Z,{spinning:yr},jn.createElement("div",{className:se()(dn.list,It)},!!(Mt!=null&&Mt.length)&&(Mt==null?void 0:Mt.map((nr,Wr)=>{var fa;const{name:Da,id:no,identifier:Eo,featured:jo,school_name:Zo,image_url:Ko,excellent:Vo,is_plan:ko}=nr;return jn.createElement("div",{key:no,className:se()(dn.wrap,ga),style:{width:Ma,marginRight:(1+Wr)%zt===0?0:Ft+Yn,marginBottom:pn}},jn.createElement("a",{className:dn.li,onClick:Ao=>{Ao.preventDefault(),Ao.stopPropagation(),Qn&&(0,ze.L9)([Qn]),(0,ze.xg)(`/paths/${Eo}`)}},jn.createElement("div",{className:se()(dn.img,Sa)},jn.createElement("img",{className:dn.cover,src:`${We.Z.IMG_SERVER+Ko}`}),br&&(0,lr.bg)()&&(nr==null?void 0:nr.studying)&&jn.createElement("div",{className:`${dn.movebq} user-path-items`,onClick:Ao=>{Ao.stopPropagation(),Br(nr)}},jn.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),jn.createElement("span",{className:"c-red"},"\u79FB\u9664")),(fa=nr==null?void 0:nr.subject_tags)==null?void 0:fa.map((Ao,_o)=>{var Fo,Qo;if(_o===0){const Co=(Fo=jr.find(Yo=>Yo.name==Ao))==null?void 0:Fo.swimg;return jn.createElement("img",{className:dn.sign,src:Co,style:{left:"-4px"}})}const Po=(Qo=jr.find(Co=>Co.name==Ao))==null?void 0:Qo.ptimg;return jn.createElement("img",{className:dn.sign,src:Po,style:{left:`${48+52*(_o-1)+2*_o}px`}})}),jn.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(nr==null?void 0:nr.excellent)&&jn.createElement("div",{className:dn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),jn.createElement("div",{className:dn.name},jn.createElement(He.Z,{title:dr&&(nr!=null&&nr.excellent_alias_name)?jn.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Da}`,jn.createElement("br",null),jn.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${nr==null?void 0:nr.excellent_alias_name}`)):Da},jn.createElement("span",{className:dn.e},dr&&(nr==null?void 0:nr.excellent_alias_name)||Da))),jn.createElement("div",{className:dn.tags},jn.createElement("div",null,jn.createElement(He.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},jn.createElement("span",null,jn.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),jn.createElement("span",null,nr.stages_count))),jn.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},jn.createElement("span",null,jn.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),jn.createElement("span",null,nr.members_count)))))))})),!Mt.length&&jn.createElement(et.Z,null)))},Dn={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},qn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFf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VSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Fn=fe(59301),cn=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,trackEventItems:Qn,loading:yr})=>{const Br=Math.floor((Xt-(zt-1)*Ft)/zt);return Fn.createElement(Ue.Z,{spinning:yr},Fn.createElement("div",{className:se()(Dn.list,It)},!!Mt.length&&Mt.map((br,dr)=>{const{subject_identifier:ga,id:Sa,identifier:Ma,power:jr}=br,nr=br.is_public!=0&&br.is_public;return Fn.createElement("div",{className:Dn.wrap,key:Sa,style:{width:Br,marginRight:(1+dr)%zt===0?0:Ft+Yn,marginBottom:pn}},Fn.createElement("a",{className:Dn.li,onClick:Wr=>{Wr.preventDefault(),Qn&&(0,ze.L9)([Qn]),(0,ze.xg)(br.first_category_url)}},Fn.createElement("div",{className:Dn.top},Fn.createElement(He.Z,{title:br.name},Fn.createElement("div",{className:Dn.name},br.name)),Fn.createElement("img",{className:Dn.img,src:We.Z.IMG_SERVER+"/images/"+br.avatar_url}),Fn.createElement("div",{className:Dn.text,title:br.creator},br.creator),ga&&Fn.createElement("div",{className:Dn.btns},Fn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Fn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),nr&&Fn.createElement("div",{className:Dn.sign},"\u516C\u5F00")),Fn.createElement("div",{className:Dn.bottom},br.visits>0&&Fn.createElement(He.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Fn.createElement("span",null,Fn.createElement("i",{className:"iconfont icon-liulanyan"}),Fn.createElement("span",null,br.visits))),br.course_members_count>0&&Fn.createElement(He.Z,{title:"\u6210\u5458",placement:"bottom"},Fn.createElement("span",null,Fn.createElement("i",{className:"iconfont icon-chengyuan"}),br.course_members_count)),br.tasks_count>0&&Fn.createElement(He.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Fn.createElement("span",null,Fn.createElement("i",{className:"iconfont icon-zuoye"}),br.tasks_count)),br.is_end?Fn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Fn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!br.is_accessible&&Fn.createElement("div",{className:Dn.lockWrap},Fn.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Fn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Mt.length&&Fn.createElement(et.Z,null)))},nn={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Sn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1V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UWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",On=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,wrapClassName:Qn,trackEventItems:yr,loading:Br})=>{const br=Math.floor((Xt-(zt-1)*Ft)/zt);return ae.createElement(Ue.Z,{spinning:Br},ae.createElement("div",{className:se()(nn.list,It)},!!Mt.length&&Mt.map((dr,ga)=>{const{subject_identifier:Sa,id:Ma,identifier:jr,power:nr}=dr,Wr=dr.is_public!=0&&dr.is_public;return ae.createElement("div",{className:se()(`${nn.wrap} ${dr.is_accessible?"":nn.warpStyle}`,Qn),key:Ma,style:{width:br,marginRight:(1+ga)%zt===0?0:Ft+Yn,marginBottom:pn}},ae.createElement("a",{className:nn.li,onClick:fa=>{fa.preventDefault(),yr&&(0,ze.L9)([yr]),(0,ze.xg)(dr.first_category_url)}},ae.createElement("div",{className:nn.creator},ae.createElement("img",{className:nn.img,src:We.Z.IMG_SERVER+"/images/"+dr.avatar_url}),ae.createElement("div",{className:nn.text,title:dr.creator},dr.creator)),ae.createElement("div",{className:nn.top},ae.createElement(He.Z,{title:dr.name},ae.createElement("div",{className:nn.name},dr.name)),Wr&&ae.createElement("div",{className:nn.sign},"\u516C\u5F00")),ae.createElement("div",{className:nn.middle},ae.createElement("div",{className:nn.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:nn.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:nn.value},(dr==null?void 0:dr.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:nn.text},"\u6210\u5458"),ae.createElement("span",{className:nn.value},(dr==null?void 0:dr.course_members_count)||0))),ae.createElement("div",{className:nn.row},ae.createElement("div",null,ae.createElement("span",{className:nn.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:nn.value},(dr==null?void 0:dr.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:nn.text},"\u72B6\u6001"),dr.is_end?ae.createElement("span",{className:nn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:nn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Sa&&ae.createElement("div",{className:nn.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!dr.is_accessible&&ae.createElement("div",{className:nn.lockWrap},ae.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Mt.length&&ae.createElement(et.Z,null)))},mn={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value: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RRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",xt=({className:It,dataSource:Mt=[],col:zt=4,right:Ft,bottom:pn=23,precision:Yn=0,wrapWidth:Xt=1200,wrapClassName:Qn,trackEventItems:yr,loading:Br})=>{const br=Math.floor((Xt-(zt-1)*Ft)/zt);return ae.createElement(Ue.Z,{spinning:Br},ae.createElement("div",{className:se()(mn.list,It)},!!Mt.length&&Mt.map((dr,ga)=>{const{subject_identifier:Sa,id:Ma,identifier:jr,power:nr}=dr,Wr=dr.is_public!=0&&dr.is_public;return ae.createElement("div",{className:se()(`${mn.wrap} ${dr.is_accessible?"":mn.warpStyle}`,Qn),key:Ma,style:{width:br,marginRight:(1+ga)%zt===0?0:Ft+Yn,marginBottom:pn}},ae.createElement("a",{className:mn.li,onClick:fa=>{fa.preventDefault(),yr&&(0,ze.L9)([yr]),(0,ze.xg)(dr.first_category_url)}},ae.createElement("div",{className:mn.creator},ae.createElement("img",{className:mn.img,src:We.Z.IMG_SERVER+"/images/"+dr.avatar_url}),ae.createElement("div",{className:mn.text,title:dr.creator},dr.creator)),ae.createElement("div",{className:mn.top},ae.createElement(He.Z,{title:dr.name},ae.createElement("div",{className:mn.name},dr.name)),Wr&&ae.createElement("div",{className:mn.sign})),ae.createElement("div",{className:mn.middle},ae.createElement("div",{className:mn.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:mn.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:mn.value},(dr==null?void 0:dr.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:mn.text},"\u6210\u5458"),ae.createElement("span",{className:mn.value},(dr==null?void 0:dr.course_members_count)||0))),ae.createElement("div",{className:mn.row},ae.createElement("div",null,ae.createElement("span",{className:mn.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:mn.value},(dr==null?void 0:dr.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:mn.text},"\u72B6\u6001"),dr.is_end?ae.createElement("span",{className:mn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:mn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Sa&&ae.createElement("div",{className:mn.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!dr.is_accessible&&ae.createElement("div",{className:mn.lockWrap},ae.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Mt.length&&ae.createElement(et.Z,null)))},tn={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Bn=fe(65582),Sr=({dataSource:It=[],value:Mt,onChange:zt,className:Ft,style:pn={},tabBarExtraContent:Yn})=>ae.createElement("div",{className:se()(tn.tabs,Ft),style:pn},ae.createElement("div",{className:tn.tabsWrap},It.map((Xt,Qn)=>ae.createElement("aside",{className:tn.tab,onClick:()=>{zt(Xt.id),Xt.link&&Bn.history.push(Xt.link)},key:Qn},ae.createElement("div",{className:Mt===Xt.id?tn.active:""},Xt.name),(Xt==null?void 0:Xt.resetCount)==null&&(Xt==null?void 0:Xt.total)!==void 0&&ae.createElement("span",null,"\uFF08",Xt==null?void 0:Xt.total,"\uFF09"),(Xt==null?void 0:Xt.resetCount)!==void 0&&(Xt==null?void 0:Xt.total)!==void 0&&ae.createElement(He.Z,{title:(Xt==null?void 0:Xt.tip)!=null?Xt==null?void 0:Xt.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Xt==null?void 0:Xt.resetCount),"/",ae.createElement("span",null,Xt==null?void 0:Xt.total),"\uFF09"))))),ae.createElement("div",{className:tn.tabBar},Yn)),Vn={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Lt=({dataSource:It=[],value:Mt,onChange:zt,className:Ft,style:pn={},tabBarExtraContent:Yn})=>ae.createElement("div",{className:se()(Vn.tabs,Ft),style:pn},ae.createElement("div",{className:Vn.tabsWrap},It.map((Xt,Qn)=>ae.createElement("aside",{className:Vn.tab,onClick:()=>{zt(Xt.id),Xt.link&&Bn.history.push(Xt.link)},key:Qn},ae.createElement("div",{className:Mt===Xt.id?Vn.active:""},Xt.name),(Xt==null?void 0:Xt.resetCount)==null&&(Xt==null?void 0:Xt.total)!==void 0&&ae.createElement("span",null,"\uFF08",Xt==null?void 0:Xt.total,"\uFF09"),(Xt==null?void 0:Xt.resetCount)!==void 0&&(Xt==null?void 0:Xt.total)!==void 0&&ae.createElement(He.Z,{title:(Xt==null?void 0:Xt.tip)!=null?Xt==null?void 0:Xt.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Xt==null?void 0:Xt.resetCount),"/",ae.createElement("span",null,Xt==null?void 0:Xt.total),"\uFF09"))))),ae.createElement("div",{className:Vn.tabBar},Yn)),gn={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Pn=({dataSource:It=[],value:Mt,onChange:zt,className:Ft,style:pn={},tabBarExtraContent:Yn})=>ae.createElement("div",{className:se()(gn.tabs,Ft),style:pn},ae.createElement("div",{className:gn.tabsWrap},It.map((Xt,Qn)=>ae.createElement("aside",{className:`${gn.tab} ${Mt===Xt.id?gn.active:""}`,onClick:()=>{zt(Xt.id),Xt.link&&Bn.history.push(Xt.link)},key:Qn},ae.createElement("div",null,Xt.name),(Xt==null?void 0:Xt.resetCount)==null&&(Xt==null?void 0:Xt.total)!==void 0&&ae.createElement("span",null,"\uFF08",Xt==null?void 0:Xt.total,"\uFF09"),(Xt==null?void 0:Xt.resetCount)!==void 0&&(Xt==null?void 0:Xt.total)!==void 0&&ae.createElement(He.Z,{title:(Xt==null?void 0:Xt.tip)!=null?Xt==null?void 0:Xt.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Xt==null?void 0:Xt.resetCount),"/",ae.createElement("span",null,Xt==null?void 0:Xt.total),"\uFF09"))))),ae.createElement("div",{className:gn.tabBar},Yn)),ir=({className:It,style:Mt={},children:zt})=>ae.createElement("div",{className:se()(It),style:Mt},zt),An={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},bt=fe(38854),kt=fe(20834);const Nt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var qt=({sortValue:It,dropValue:Mt,className:zt,onSort:Ft,onDrop:pn,dataSource:Yn=Nt})=>{var Xt;return ae.createElement("div",{className:se()(An.orderWrap,zt)},ae.createElement(bt.Z,{dropdownRender:()=>ae.createElement(kt.default,null,Yn.map((Qn,yr)=>ae.createElement(kt.default.Item,{key:yr,onClick:()=>pn(Qn.id)},Qn.name)))},ae.createElement("span",{className:An.orderTextWrap},(Xt=Yn.find(Qn=>Mt===Qn.id))==null?void 0:Xt.name)),ae.createElement("span",{className:An.orderIconWrap},ae.createElement("span",{className:An.orderAsc},ae.createElement("i",{className:It==="asc"?`iconfont icon-sanjiaoxing-up font12 ${An.cursorPointer} ${An.active}`:`iconfont icon-sanjiaoxing-up font12 ${An.cursorPointer}`,onClick:()=>Ft(It==="asc"?"desc":"asc")})),ae.createElement("span",{className:An.orderDesc},ae.createElement("i",{className:It==="desc"?`iconfont icon-sanjiaoxing-down font12 ${An.cursorPointer} ${An.active}`:`iconfont icon-sanjiaoxing-down font12 ${An.cursorPointer}`,onClick:()=>Ft(It==="asc"?"desc":"asc")}))))},Jt={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const rn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var $n=({sortValue:It,dropValue:Mt,className:zt,onSort:Ft,onDrop:pn,dataSource:Yn=rn})=>{var Xt;return ae.createElement("div",{className:se()(Jt.orderWrap,zt)},ae.createElement(bt.Z,{dropdownRender:()=>ae.createElement(kt.default,null,Yn.map((Qn,yr)=>ae.createElement(kt.default.Item,{key:yr,onClick:()=>pn(Qn.id)},Qn.name)))},ae.createElement("span",{className:Jt.orderTextWrap},(Xt=Yn.find(Qn=>Mt===Qn.id))==null?void 0:Xt.name)),ae.createElement("span",{className:Jt.orderIconWrap},ae.createElement("span",{className:Jt.orderAsc},ae.createElement("i",{className:It==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Jt.cursorPointer} ${Jt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Jt.cursorPointer}`,onClick:()=>Ft(It==="asc"?"desc":"asc")})),ae.createElement("span",{className:Jt.orderDesc},ae.createElement("i",{className:It==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Jt.cursorPointer} ${Jt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Jt.cursorPointer}`,onClick:()=>Ft(It==="asc"?"desc":"asc")}))))},tr={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Wt=fe(3113),Rr=fe(2337),Lr=Object.defineProperty,Er=Object.getOwnPropertySymbols,Ur=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Xn=(It,Mt,zt)=>Mt in It?Lr(It,Mt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):It[Mt]=zt,gr=(It,Mt)=>{for(var zt in Mt||(Mt={}))Ur.call(Mt,zt)&&Xn(It,zt,Mt[zt]);if(Er)for(var zt of Er(Mt))Cn.call(Mt,zt)&&Xn(It,zt,Mt[zt]);return It},At=(It,Mt)=>{var zt={};for(var Ft in It)Ur.call(It,Ft)&&Mt.indexOf(Ft)<0&&(zt[Ft]=It[Ft]);if(It!=null&&Er)for(var Ft of Er(It))Mt.indexOf(Ft)<0&&Cn.call(It,Ft)&&(zt[Ft]=It[Ft]);return zt},Vt=(It,Mt,zt)=>new Promise((Ft,pn)=>{var Yn=yr=>{try{Qn(zt.next(yr))}catch(Br){pn(Br)}},Xt=yr=>{try{Qn(zt.throw(yr))}catch(Br){pn(Br)}},Qn=yr=>yr.done?Ft(yr.value):Promise.resolve(yr.value).then(Yn,Xt);Qn((zt=zt.apply(It,Mt)).next())}),zn=It=>{var Mt=It,{className:zt,style:Ft,children:pn,loading:Yn=!1,openLoading:Xt,onClick:Qn=()=>{},size:yr="middle",shape:Br="round",theme:br}=Mt,dr=At(Mt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[ga,Sa]=(0,ae.useState)(!1),Ma=(0,ae.useMemo)(()=>{switch(br){case Rr.Fy.THEMEONE:return tr.ThemeOne;case Rr.Fy.DEFAULT:default:return tr.btn}},[br]);return ae.createElement(Wt.ZP,gr({onClick:(0,de.throttle)(jr=>Vt(void 0,null,function*(){Xt&&Sa(!0);try{yield Qn(jr)}catch(nr){console.log("error",nr)}Xt&&Sa(!1)}),2e3,{leading:!0,trailing:!1}),className:se()(Ma,tr[`${yr}-${Br}`],zt),style:Ft,size:yr,shape:Br,loading:ga||Yn},dr),pn)},sr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},vr=({className:It,style:Mt,children:zt=null,onClick:Ft,title:pn})=>ae.createElement("div",{className:se()(sr.head,It),style:Mt},ae.createElement("span",{className:"primary-hover",onClick:Ft},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:pn},pn),ae.createElement("div",{className:sr.node},zt)),ur={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},vn=({confirmShow:It=!0,confirmTitle:Mt,confirmClick:zt,cancelShow:Ft=!0,cancelTitle:pn,cancelClick:Yn,className:Xt,style:Qn,confirmLoading:yr=!1})=>ae.createElement("div",{className:se()(ur.btns,Xt),style:Qn},It&&ae.createElement(Wt.ZP,{loading:yr,onClick:zt,type:"primary",className:ur.confirm},Mt),Ft&&ae.createElement(Wt.ZP,{onClick:Yn,className:ur.cancel},pn)),Zn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Hr=({className:It,style:Mt={},LeftContent:zt,children:Ft,RightContent:pn})=>ae.createElement("div",{className:se()(Zn.fixedBottom,It),style:Mt},ae.createElement("div",{className:Zn.wrap},ae.createElement("div",{className:Zn.left},zt),ae.createElement("div",{className:Zn.center},Ft),ae.createElement("div",{className:Zn.right},pn))),Gn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Fr=({className:It,style:Mt={},dataSource:zt=[]})=>ae.createElement("div",{className:se()(Gn.crumbs,It),style:Mt},zt.map((Ft,pn)=>pnBn.history.push(Ft.path)},Ft.name):ae.createElement("span",null,Ft.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:pn,style:{color:"#5F6368"}},Ft.name))),Yr=fe(31797),Ir=Object.defineProperty,mr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,Kn=(It,Mt,zt)=>Mt in It?Ir(It,Mt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):It[Mt]=zt,da=(It,Mt)=>{for(var zt in Mt||(Mt={}))xr.call(Mt,zt)&&Kn(It,zt,Mt[zt]);if(Or)for(var zt of Or(Mt))Mr.call(Mt,zt)&&Kn(It,zt,Mt[zt]);return It},oa=(It,Mt)=>mr(It,Tr(Mt)),Xr=(It,Mt)=>{var zt={};for(var Ft in It)xr.call(It,Ft)&&Mt.indexOf(Ft)<0&&(zt[Ft]=It[Ft]);if(It!=null&&Or)for(var Ft of Or(It))Mt.indexOf(Ft)<0&&Mr.call(It,Ft)&&(zt[Ft]=It[Ft]);return zt};const{Countdown:ba}=Yr.default;var ua=It=>{var Mt=It,{onChange:zt}=Mt,Ft=Xr(Mt,["onChange"]);const[pn,Yn]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof pn=="number"&&pn>=0&&zt(pn)},[pn]);const Xt=Qn=>{const yr=Math.floor(Qn/1e3);Yn(yr)};return ae.createElement(ba,oa(da({},Ft),{onChange:Xt}))},pa={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},jt=({DataProps:It,className:Mt,style:zt={}})=>{var Ft;return ae.createElement("div",{className:se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",pa.ClassRoomItem,Mt),style:zt,onClick:()=>{(0,ze.xg)(It==null?void 0:It.first_category_url)}},ae.createElement("div",{className:"flex flex-col item-center"},ae.createElement("img",{src:`${(Ft=We.Z)==null?void 0:Ft.IMG_SERVER}/images/${It==null?void 0:It.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(It==null?void 0:It.subject_identifier)&&ae.createElement("div",{className:"mt-40px"},ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(It!=null&&It.is_public)&&ae.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ae.createElement("span",{className:se()("text-16px font-medium",pa.TitleDom)},It==null?void 0:It.name)),ae.createElement("div",{className:"c-grey-333 font-medium"},It==null?void 0:It.creator),ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",It==null?void 0:It.course_members_count),ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",It==null?void 0:It.tasks_count),It!=null&&It.is_end?ae.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},$t=Object.defineProperty,wn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,en=(It,Mt,zt)=>Mt in It?$t(It,Mt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):It[Mt]=zt,ln=(It,Mt)=>{for(var zt in Mt||(Mt={}))Nn.call(Mt,zt)&&en(It,zt,Mt[zt]);if(wn)for(var zt of wn(Mt))sn.call(Mt,zt)&&en(It,zt,Mt[zt]);return It},xn=({DataProps:It=[],selectValue:Mt,onChange:zt,className:Ft,style:pn={},extra:Yn,classNameItem:Xt,styleItem:Qn={},barHidden:yr})=>{const[Br,br]=(0,ae.useState)();return(0,ae.useEffect)(()=>{br(Array.isArray(Mt)?Mt:[Mt])},[Mt]),ae.createElement("div",{className:se()("flex px-20px py-10px gap-40px",Ft),style:ln({borderBottom:"1px solid #D3F0FF"},pn)},It==null?void 0:It.map(dr=>ae.createElement("div",{key:dr==null?void 0:dr.id,className:se()("flex item-center justify-center current c-grey-333 text-16 relative",Xt,dr==null?void 0:dr.className),style:ln(ln({color:Br!=null&&Br.includes(dr==null?void 0:dr.id)?"#1890FF":"",minWidth:88},Qn),(dr==null?void 0:dr.style)||{}),onClick:ga=>{zt==null||zt({domEvent:ga,item:dr}),dr!=null&&dr.link&&Bn.history.push(dr==null?void 0:dr.link)}},dr==null?void 0:dr.name,!yr&&(Br==null?void 0:Br.includes(dr==null?void 0:dr.id))&&ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ae.createElement("div",{className:"ml-auto"},Yn))},ar=Object.defineProperty,Hn=Object.defineProperties,Qr=Object.getOwnPropertyDescriptors,wr=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,er=(It,Mt,zt)=>Mt in It?ar(It,Mt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):It[Mt]=zt,kr=(It,Mt)=>{for(var zt in Mt||(Mt={}))ia.call(Mt,zt)&&er(It,zt,Mt[zt]);if(wr)for(var zt of wr(Mt))Jn.call(Mt,zt)&&er(It,zt,Mt[zt]);return It},Gr=(It,Mt)=>Hn(It,Qr(Mt)),In=({value:It,onChange:Mt,onInputChange:zt,className:Ft,style:pn={},InputProps:Yn})=>{const[Xt,Qn]=(0,ae.useState)(It);return ae.createElement("div",{className:se()("flex item-center rounded-full px-10px py-2px",Ft),style:kr({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},pn)},ae.createElement(Ee.default,Gr(kr({bordered:!1},Yn),{onChange:yr=>{Qn(yr.target.value),zt==null||zt(encodeURIComponent(yr.target.value))},onPressEnter:yr=>{Mt==null||Mt({domEvent:yr,item:{value:Xt}})}})),ae.createElement("img",{className:"h-22px current",src:fe(25365),height:22,onClick:yr=>{Mt==null||Mt({domEvent:yr,item:{value:Xt}})}}))}},31103:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Ae}});var ae=fe(59301);function Ae(E,ye){const he=(0,ae.useRef)();(0,ae.useEffect)(()=>{he.current=E}),(0,ae.useEffect)(()=>{function ce(){he.current()}if(ye!==null){let ne=setInterval(ce,ye);return()=>clearInterval(ne)}},[ye])}},21390:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(31797),E=fe(5871),ye=fe(78241),he=fe(43418),ce=fe(71418),ne=fe(1710),se=fe(92832),de=fe(95237),le=fe(43604),ie=fe(3113),oe=fe(87513),re=fe(56656),ee=fe.n(re),a=fe(65582),y=fe(65862),x=fe(27158),b=fe(41867),z=fe(61527),te=fe(59301),ue=(pe,Se,be)=>new Promise((Ee,Ce)=>{var Be=we=>{try{Fe(be.next(we))}catch(Le){Ce(Le)}},Pe=we=>{try{Fe(be.throw(we))}catch(Le){Ce(Le)}},Fe=we=>we.done?Ee(we.value):Promise.resolve(we.value).then(Be,Pe);Fe((be=be.apply(pe,Se)).next())});const{Countdown:me}=Ae.default,ve=({value:pe,onChange:Se,MaxMinutes:be})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:pe,onChange:Se,min:0,precision:0,max:be,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${be}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),ge=({exercise:pe,successCb:Se,dispatch:be})=>{var Ee,Ce,Be,Pe;const Fe=(0,a.useParams)(),[we]=ye.default.useForm(),Le=ye.default.useWatch("time",we),[Oe,Ge]=(0,ae.useState)(!1),Ne=(0,ae.useRef)(),{actionTabs:Ue}=pe,[He,Qe]=(0,ae.useState)(),[,We,ze,_e]=(0,z.U)(oe.n7,{id:Fe.categoryId}),[,Ve,tt]=(0,z.U)(oe.Cd,{});(0,ae.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(Ge(!1),we.resetFields())},[pe.actionTabs.key]);const et=()=>new Promise(Ye=>ue(void 0,null,function*(){var ke,De;return Ne.current=yield(0,x.y)({ip_limit:(ke=Ue==null?void 0:Ue.exerciseParams)==null?void 0:ke.ip_limit,ip_bind:(De=Ue==null?void 0:Ue.exerciseParams)==null?void 0:De.ip_bind_type}),Ye()})),dt=()=>ue(void 0,null,function*(){var Ye,ke,De,Te,xe;yield we.validateFields();const Re=we.getFieldsValue();if(Ge(!0),(((Ye=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ye.ip_limit)!=="no"||(ke=Ue==null?void 0:Ue.exerciseParams)!=null&&ke.ip_bind_type)&&(yield et()),(yield(0,oe.ZD)((De=Ue==null?void 0:Ue.exerciseParams)==null?void 0:De.id,{exercise_user_id:(Te=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Te.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Ne.current})).status===0){if(Se){be({type:"exercise/setActionTabs",payload:{}}),Se();return}const nt=Ue==null?void 0:Ue.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:Fe.coursesId,login:(xe=(0,b.eY)())==null?void 0:xe.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),be({type:"exercise/setActionTabs",payload:{}})}Ge(!1)}),$e=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Ye=>te.createElement("span",{className:Ye.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ye)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Ye=>te.createElement("span",{className:Ye.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ye)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ze=((Ee=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ee.errorMessage)&&typeof((Ce=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Ce.errorMessage)=="object";(0,ae.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const Ye=yield tt(Fe);yield ze({}),Ye.status||Qe(Ye)})},[pe.actionTabs.key]);const{time:Me,end_time:qe}=(He==null?void 0:He.exercise)||{},Ie=_e!=null&&_e.user_end_time?ee()(_e==null?void 0:_e.user_end_time).add(1,"minutes"):ee()(),je=ee()(_e==null?void 0:_e.user_total_end_time)>Ie?Math.round(ee().duration(ee()(_e==null?void 0:_e.user_total_end_time).diff(Ie.startOf("minute"))).asMinutes()):0,Je=((_e==null?void 0:_e.student_left_minutes)||0)+(Le||0);return te.createElement(te.Fragment,null,te.createElement(he.default,{width:514,centered:!0,closable:!!((Be=Ue==null?void 0:Ue.exerciseParams)!=null&&Be.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{be({type:"exercise/setActionTabs",payload:{}})}},te.createElement(ce.Z,{spinning:We||Ve},Ze&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ze&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ze&&te.createElement(ne.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Pe=Ue==null?void 0:Ue.exerciseParams)==null?void 0:Pe.errorMessage)||{}],columns:$e}),te.createElement("div",{className:""},te.createElement(ye.default,{form:we,layout:"vertical",autoComplete:"off"},te.createElement(ye.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Me!==-1?te.createElement(te.Fragment,null,te.createElement(ye.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",ee()(_e==null?void 0:_e.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(ve,{MaxMinutes:je})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},We||Ve?"--":Je),"\u5206\u949F",Je!==0&&(_e==null?void 0:_e.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},ee()(_e==null?void 0:_e.user_end_time).add(Le||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",ee()(qe).format("YYYY-MM-DD HH:mm")))),te.createElement(de.Z,{justify:"space-between",align:"middle"},te.createElement(le.Z,null),te.createElement(le.Z,null,te.createElement(ie.ZP,{loading:Oe,onClick:dt},"\u8FDB\u5165\u8003\u8BD5"))))))};ot.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(ge)},17933:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return a}});var ae=fe(59301),Ae=fe(65582),E=fe(43418),ye=fe(3113),he=fe(71418),ce=fe(67172),ne=fe(80443),se=fe(50258),de=fe(24334),le=fe(56656),ie=fe.n(le),oe=fe(17124),re=fe(59301),ee=(y,x,b)=>new Promise((z,te)=>{var ue=ge=>{try{ve(b.next(ge))}catch(pe){te(pe)}},me=ge=>{try{ve(b.throw(ge))}catch(pe){te(pe)}},ve=ge=>ge.done?z(ge.value):Promise.resolve(ge.value).then(ue,me);ve((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,z]=(0,ae.useState)(void 0);console.log((0,Ae.useLocation)(),33);const te=(0,Ae.useLocation)();(0,ae.useEffect)(()=>{y&&function(){return ee(this,null,function*(){const Qe=yield(0,ce.X6)(y);z(Qe.data)})}()},[y]);const{status:ue,created_at:me,code:ve,name:ge,language:pe,pass_sets_count:Se,set_count:be,error_msg:Ee,output:Ce,input:Be,expected_output:Pe,execute_memory:Fe,user:we,execute_time:Le,input_file_url:Oe,output_file_url:Ge,is_file:Ne,expected_output_file_url:Ue}=b||{};return re.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:re.createElement(ye.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},re.createElement(he.Z,{spinning:!b,delay:500},re.createElement("div",{className:"record-detail-info"},b?re.createElement(re.Fragment,null,re.createElement("div",{className:"record-detail-body"},re.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),re.createElement("ul",{className:"record-info"},re.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",re.createElement("span",{className:ue===0?"c-green":"c-red"},ne.Im[ue])," "),re.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",re.createElement("span",null,ie()(me).format("YYYY-MM-DD HH:mm:ss"))," "),re.createElement("li",null," \u8BED\u8A00\uFF1A",re.createElement("span",null,pe)," "),re.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",re.createElement("span",null,Le*1e3,"ms")," "),re.createElement("li",null," ",`${ue===oe.h.HIDE_COMPILE_STATUS?"--":Se} / ${be} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,ne.gZ)({status:ue,error_msg:Ee,execute_time:Le,output:Ce,input:Be,expected_output:Pe,input_file_url:Oe,output_file_url:Ge,is_file:Ne,expected_output_file_url:Ue}),re.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),re.createElement(se.ZP,{height:"200px",width:"100%",language:pe==null?void 0:pe.toLocaleLowerCase(),value:de.Base64.decode(ve),options:{readOnly:!0}}))):null)))}},88125:function(gt,ot,fe){"use strict";fe.d(ot,{Im:function(){return be},Y4:function(){return Ce}});var ae=fe(59301),Ae=fe(92832),E=fe(8591),ye=fe(3113),he=fe(10129),ce=fe(24334),ne=fe.n(ce),se=fe(25492),de=fe(42678),le=fe(6339),ie=fe(65862),oe=fe(34376),re=fe.n(oe),ee=fe(38147),a=fe(65582),y=fe(17933),x=fe(77254),b=fe(67172),z=fe(56918),te=fe(21185),ue=fe(92310),me=fe.n(ue),ve=fe(84056),ge=fe(59301),pe=(Fe,we,Le)=>new Promise((Oe,Ge)=>{var Ne=Qe=>{try{He(Le.next(Qe))}catch(We){Ge(We)}},Ue=Qe=>{try{He(Le.throw(Qe))}catch(We){Ge(We)}},He=Qe=>Qe.done?Oe(Qe.value):Promise.resolve(Qe.value).then(Ne,Ue);He((Le=Le.apply(Fe,we)).next())});const{TextArea:Se}=Ae.default,be={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Ee=(Fe=>(Fe[Fe.SET_VISIBLE=0]="SET_VISIBLE",Fe[Fe.SET_TABINDEX=1]="SET_TABINDEX",Fe))(Ee||{});function Ce(Fe){const{status:we,error_msg:Le,output:Oe,input:Ge,expected_output:Ne,is_file:Ue,input_file_url:He,output_file_url:Qe,expected_output_file_url:We,setMonacoValue:ze,setData:_e}=Fe,Ve=(0,ae.useRef)(),tt=(0,ae.useRef)(),et=(0,ae.useRef)();let dt=null;const $e={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ae.useEffect)(()=>{if(Oe&&!Ue&&Ve.current){const Ze=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ze.open(Ve.current);const Me=(0,ie.pp)(ce.Base64.decode(Oe));Ze.write(Me),Ze.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ze.scrollToTop()}catch(qe){}},100)}if(Ge&&!Ue&&tt.current){const Ze=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ze.open(tt.current),Ze.write((0,ie.pp)(Ge)),Ze.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ze.scrollToTop()}catch(Me){}},100)}if(Ne&&!Ue&&et.current){const Ze=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ze.open(et.current),Ze.write((0,ie.pp)(ce.Base64.decode(Ne))),Ze.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ze.scrollToTop()}catch(Me){}},100)}},[Oe]),we){case he.h.NOMATCH:dt=ge.createElement(ge.Fragment,null,ge.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ue&&ge.createElement("div",{ref:Ve}),Ue&&ge.createElement("div",{style:$e},ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const Ze=yield(0,ee.ZP)(Qe,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ze),setTimeout(()=>{_e(Qe)},200)})},Oe)),ge.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ue&&ge.createElement("div",{ref:et}),Ue&&ge.createElement("div",{style:$e},ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const Ze=yield fetch(We,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ze(yield Ze.text()),setTimeout(()=>{_e(We)},200)})},Ne)));break;case he.h.EXECUTEFAILURE:dt=ge.createElement(ge.Fragment,null,ge.createElement("div",{style:{border:"1px #F6F7F9 solid"}},ge.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ue&&ge.createElement(le.Z,{value:Ge,style:$e}),Ue&&ge.createElement("div",{style:$e},ge.createElement("a",{onClick:()=>(0,ie.LR)(He,Ge)},Ge))),ge.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},ge.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:se.Z.error,style:{color:"#E30000",padding:"0 10px"}},ce.Base64.decode(Le),"111")));break;case he.h.COMPILEFAILURE:dt=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:se.Z.error},ce.Base64.decode(Le)));break;case he.h.PODFAILURE:dt=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:dt=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",dt," ")}function Be(Fe){const{status:we,error_msg:Le,execute_time:Oe,output:Ge,input:Ne,expected_output:Ue,is_file:He,input_file_url:Qe,output_file_url:We,expected_output_file_url:ze}=Fe;let _e=null;switch(we){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:_e=ge.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:_e=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:_e=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",_e," ")}function Pe({value:Fe,className:we}){return ge.createElement("span",{className:we},Fe)}ot.ZP=({input:Fe,is_file:we,debuging:Le,submitting:Oe,executingMessage:Ge,debugResult:Ne,onChangeInput:Ue,onDebugCode:He,onSubmitCode:Qe,hack:We,user:ze,submitResult:_e,isWhiteTheme:Ve,topDispatch:tt})=>{const[et]=(0,a.useSearchParams)(),dt=(0,a.useParams)(),[$e,Ze]=(0,ae.useState)(!1),[Me,qe]=(0,ae.useState)(!1),[Ie,je]=(0,ae.useState)(1),[Je,Ye]=(0,ae.useState)(!1),[ke,De]=(0,ae.useState)(0),[Te,xe]=(0,ae.useState)(!1),[Re,Xe]=(0,ae.useState)(""),[nt,Ke]=(0,ae.useState)(""),rt=(0,ae.useRef)(),ht=(0,ae.useRef)(),ut=(0,ae.useRef)(null),pt=(0,ae.useRef)(null),lt=(0,ae.useRef)(null);console.log(_e,"submitResult",dt);const{status:mt,id:it,input:ct,output:ft,expected_output:yt,is_file:Et,input_file_url:Tt,output_file_url:_t,expected_output_file_url:Gt,error_msg:hn,hack_sets:Rn}=_e||{};(0,ae.useEffect)(()=>{mt===0&&(je(1),De(0))},[mt,it]),(0,ae.useEffect)(()=>{pe(void 0,null,function*(){var Fn;const Ct=yield(0,b.rX)(dt==null?void 0:dt.id,"submit");(Ct==null?void 0:Ct.status)===0&&(Ct!=null&&Ct.data&&((Fn=Ct==null?void 0:Ct.data)==null?void 0:Fn.status)!==0?(tt({type:z.Types.SET_SUBMIT_RESULT,payload:{submitResult:Ct==null?void 0:Ct.data}}),je(2),De(320)):(je(1),De(0)))})},[dt==null?void 0:dt.id]),(0,ae.useEffect)(()=>{if(rt.current){let qn=function(mn){nn=cn.offsetHeight,Sn=!0,Ln=mn.pageY,lt.current.style.display="block"},Fn=function(){Sn=!1,lt.current.style.display="none"},Ct=function(mn){if(Sn){bn();let Pt=Ln-mn.pageY,Bt=nn+Pt;if(Bt<0&&(Bt=0),Bt>window.innerHeight-150&&(Bt=window.innerHeight-150),Ie===1){Bt<=34?De(0):De(Bt);return}console.log(Bt,"resizeH"),De(Bt)}};const cn=ut.current;let nn=0,Sn=!1,Ln=0;const On=document.getElementById("case-y-bar");return On==null||On.addEventListener("mousedown",qn),document.addEventListener("mousemove",Ct),document.addEventListener("mouseup",Fn),()=>{const mn=document.getElementById("case-y-bar");mn==null||mn.removeEventListener("mousedown",qn),document.removeEventListener("mousemove",Ct),document.removeEventListener("mouseup",Fn)}}},[rt,Ie]),(0,ae.useEffect)(()=>{const qn=x.Z.subscribe("resize-move-bar",bn);if(et.get("type")!=="exercises")return document.addEventListener((0,ve.gH)(),jn),()=>{document.removeEventListener((0,ve.gH)(),jn),qn()}},[]),(0,ae.useEffect)(()=>{});function bn(){var qn,Fn,Ct,cn;const nn=document.getElementById("outputResultRef");if(nn){let Sn=nn.dataset.text;ht.current.reset(),ht.current.writeln(Sn);const Ln=document.getElementById("outputResultRef").offsetWidth-20,On=((cn=(Ct=(Fn=(qn=ht.current)==null?void 0:qn._core)==null?void 0:Fn._renderService)==null?void 0:Ct.dimensions)==null?void 0:cn.actualCellWidth)||10,mn=Math.ceil(Ln/On);ht.current.resize(mn,Math.ceil(nn.clientHeight/16))}}function dn(){Ze(!$e),setTimeout(()=>{bn()},300),De($e?320:window.innerHeight-150)}function lr(){Me?(qe(!1),(0,ve.BU)()):(qe(!0),(0,ve.Dj)(pt.current))}const jn=qn=>{(0,ve.vp)()||qe(!1)},Mn=(0,ae.useMemo)(()=>{if(Ne){const{status:qn,output:Fn,error_msg:Ct}=Ne;return setTimeout(()=>{let cn="",nn=document.getElementById("outputResultRef");Fn?cn=ce.Base64.decode(Fn):Ct&&(cn=ce.Base64.decode(Ct)),ht.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),ht.current.open(nn),ht.current.onKey(function(Sn){var Ln;if(Sn.domEvent.key.toLocaleUpperCase()==="C"&&Sn.domEvent.ctrlKey){Sn.domEvent.preventDefault();let On=(Ln=ht.current)==null?void 0:Ln.getSelection();navigator.clipboard.writeText(On).then(()=>{})}}),nn.dataset.text=cn,ht.current.setOption("convertEol",!0),bn()},300),ge.createElement(ge.Fragment,null,Be(Ne))}return null},[Ne]);function cr(){var qn,Fn;if(!(We!=null&&We.code)||((qn=We==null?void 0:We.code)==null?void 0:qn.trim().length)===0){(Fn=E.ZP)==null||Fn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}je(1),De(320),He()}const hr=qn=>pe(void 0,null,function*(){let Fn=yield(0,ee.ZP)(`/api/problems/${qn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});Fn&&(window.location.href=`/myproblems/${Fn==null?void 0:Fn.identifier}${window.location.search}`)});function Dn(){Et?navigator.clipboard.writeText(ce.Base64.decode(hn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ce.Base64.decode(ft)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return ge.createElement(ae.Fragment,null,ge.createElement("div",{className:me()(se.Z.case,Ve&&se.Z.whiteCase),style:{height:ke},ref:ut},ge.createElement("div",{className:se.Z.fullMask,ref:lt}),ge.createElement("div",{className:se.Z["resize-y-bar"],id:"case-y-bar",ref:rt,draggable:!1},Ie===2&&ge.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Ie===1&&(ke<=34?ge.createElement("div",{onClick:()=>{De(320)},className:se.Z.unfoldBtn},"\u63A7\u5236\u53F0",ge.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):ge.createElement("div",{onClick:()=>{De(0)},className:se.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",ge.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),ge.createElement("div",null,ge.createElement("div",{className:se.Z.caseHead},ge.createElement("div",{className:se.Z.dot}),ge.createElement("div",{className:se.Z.text},Ie===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Ie===2&&!Oe&&typeof mt=="number"&&ge.createElement(ge.Fragment,null,mt===he.h.OK?ge.createElement("div",{className:se.Z.pass},ge.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):ge.createElement("div",{className:se.Z.noPass},ge.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),be[mt])),ge.createElement("div",{className:se.Z.btns},Ie===2&&!Oe&&ge.createElement(ge.Fragment,null,mt!==he.h.OK&&ge.createElement("div",{onClick:Dn},ge.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),ge.createElement("div",{onClick:()=>{xe(it)}},ge.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),et.get("type")!=="exercises"&&ge.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>dn()},ge.createElement("i",{className:`iconfont icon-${$e?"suoxiao1":"fangda"}`})))),ge.createElement("div",{style:{display:Ie===1?"block":"none"}},Le?ge.createElement(de.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ge.createElement("div",{style:{height:ke-34}},ge.createElement("div",{className:se.Z.result},ge.createElement("div",{className:se.Z.left},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ge.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),ge.createElement("div",{className:se.Z.leftNode},ge.createElement(Se,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:we?"":Fe,onChange:Ue}))),ge.createElement("div",{className:se.Z.right},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ge.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),ge.createElement("div",{className:se.Z.node},Ne?Mn:ge.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),ge.createElement("div",{style:{display:Ie===2?"block":"none"}},Oe?ge.createElement(de.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ge.createElement("div",{style:{height:ke-34,display:"flex",flexDirection:"column",overflow:"hidden"}},ge.createElement("div",{ref:pt,className:se.Z.elseNode},ge.createElement("div",{className:se.Z.nameWrap},ge.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ge.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),ge.createElement("div",{className:se.Z.scroll},ge.createElement("pre",{className:se.Z.scrollBox,style:Je?{height:Me?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Et&&ge.createElement(Pe,{value:ct}),Et&&ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const qn=yield fetch(Tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ke(yield qn.text()),setTimeout(()=>{Xe(Tt)},200)})},ct)),ct&&ge.createElement("div",{className:se.Z.action},ge.createElement("span",{onClick:()=>Ye(!Je)},Je?"\u6536\u8D77":"\u5C55\u5F00"),et.get("type")!=="exercises"&&ge.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>lr(),className:`iconfont icon-${Me?"suoxiao1":"fangda"}`})))),ge.createElement("div",{className:se.Z.result,style:{flex:1,overflow:"hidden"}},ge.createElement("div",{className:se.Z.left},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ge.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ge.createElement("div",{className:se.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},ge.createElement("pre",null,!Et&&ge.createElement(Pe,{className:"mb10",value:yt&&ce.Base64.decode(yt)||""}),Et&&ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const qn=yield fetch(Gt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ke(yield qn.text()),setTimeout(()=>{Xe(Gt)},200)})},yt)))),ge.createElement("div",{className:se.Z.right},ge.createElement("div",{className:se.Z.title},ge.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ge.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),ge.createElement("div",{className:se.Z.node,style:{color:mt===he.h.OK?"#2ABD8C":"#FF2C29"}},ge.createElement("pre",null,(mt===4||mt===5)&&ge.createElement(Pe,{className:"mb10",value:hn&&ce.Base64.decode(hn)||""}),mt!=4&&mt!=5&&(Et?ge.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const qn=yield(0,ee.ZP)(_t,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{Ke(qn)}catch(Fn){Ke("")}setTimeout(()=>{Xe(_t)},200)})},ft):ge.createElement(Pe,{className:"mb10",value:ft&&ce.Base64.decode(ft)||""})))))))))),ge.createElement("div",{className:me()(se.Z.footer,Ve&&se.Z.whiteFooter),style:{zIndex:100}},(We==null?void 0:We.is_program)&&(We==null?void 0:We.above_question)&&ge.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>hr(We==null?void 0:We.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(We==null?void 0:We.is_program)&&(We==null?void 0:We.under_question)&&ge.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>hr(We==null?void 0:We.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),ge.createElement(ye.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Le||Oe,loading:Le,color:"#2ABD8C",className:"mr10",onClick:cr},"\u8C03\u8BD5\u4EE3\u7801"),et.get("qtype")!=="8"&&ge.createElement(ye.ZP,{className:se.Z.disabled,type:"primary",icon:ge.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Le||Oe,onClick:()=>{var qn,Fn;if(!(We!=null&&We.code)||((qn=We==null?void 0:We.code)==null?void 0:qn.trim().length)===0){(Fn=E.ZP)==null||Fn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}je(2),De(320),Qe()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),ge.createElement(y.Z,{onClose:xe,open:Te}),ge.createElement(te.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Xe(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},56918:function(gt,ot,fe){"use strict";fe.r(ot),fe.d(ot,{Types:function(){return oa},default:function(){return ua}});var ae=fe(59301),Ae=fe(65582),E=fe(31797),ye=fe(43418),he=fe(71418),ce=fe(3113),ne=fe(6848),se=fe(95237),de=fe(67172),le=fe(87513),ie=fe(84056),oe=fe(29584),re=fe(74128),ee=fe(87169),a=fe(43428),y=fe(50258),x=fe(57261),b=fe(42926),z=fe(77825),te=fe(8591),ue={list:"list___IRN6i",copy:"copy___qCn9B"},me=fe(56102),ve=fe(38147),ge=(jt,$t,wn)=>new Promise((Nn,sn)=>{var en=xn=>{try{En(wn.next(xn))}catch(ar){sn(ar)}},ln=xn=>{try{En(wn.throw(xn))}catch(ar){sn(ar)}},En=xn=>xn.done?Nn(xn.value):Promise.resolve(xn.value).then(en,ln);En((wn=wn.apply(jt,$t)).next())}),Se=({showResourceCentre:jt,identifier:$t})=>{const wn=(0,Ae.useParams)(),[Nn,sn]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{jt&&en()},[jt]);const en=()=>ge(void 0,null,function*(){const ln=yield(0,ve.ZP)(`/api/problems/${$t}/attachment_list.json`,{method:"get"});(ln==null?void 0:ln.status)==0&&sn(ln.data||[])});return ae.createElement("div",{className:"tpi-code-setting"},ae.createElement("h3",null,"\u8D44\u6E90\u4E2D\u5FC3"),!(Nn!=null&&Nn.length)&&ae.createElement("div",{className:"tc mt50 c-grey-999"},"\u6682\u65E0\u8D44\u6E90\u6570\u636E"),Nn==null?void 0:Nn.map((ln,En)=>ae.createElement("dl",{className:ue.list,key:En},ae.createElement(ne.Z,{title:ln.title},ae.createElement("dt",null,ae.createElement("i",{className:"icon-wenjian4 mr5"}),ln.title)),ae.createElement("dd",null,ae.createElement(me.CopyToClipboard,{text:ln.saved_file_path,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},ae.createElement("span",{className:`${ue.copy} current`},"\u70B9\u51FB\u590D\u5236"))))))},be=fe(59301),Ee=Object.defineProperty,Ce=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Le=(jt,$t,wn)=>$t in jt?Ee(jt,$t,{enumerable:!0,configurable:!0,writable:!0,value:wn}):jt[$t]=wn,Oe=(jt,$t)=>{for(var wn in $t||($t={}))Fe.call($t,wn)&&Le(jt,wn,$t[wn]);if(Pe)for(var wn of Pe($t))we.call($t,wn)&&Le(jt,wn,$t[wn]);return jt},Ge=(jt,$t)=>Ce(jt,Be($t));const Ne={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var Ue=(jt=>(jt[jt.set_font_size=0]="set_font_size",jt[jt.set_theme=1]="set_theme",jt[jt.on_tab_to_space=2]="on_tab_to_space",jt[jt.set_show_editor_setting=3]="set_show_editor_setting",jt[jt.set_show_respurce_center=4]="set_show_respurce_center",jt))(Ue||{});function He(jt,$t){switch($t.type){case 3:return Ge(Oe({},jt),{showEditorSetting:$t.payload});case 1:return Ge(Oe({},jt),{theme:$t.payload});case 0:return Ge(Oe({},jt),{fontSize:$t.payload});case 2:return Ge(Oe({},jt),{tabToSpace:$t.payload});case 4:return Ge(Oe({},jt),{showResourceCentre:$t.payload});default:throw new Error}}var Qe=({isLoading:jt,value:$t,onChange:wn,language:Nn,onUpdateCode:sn,ActionBarRender:en,setIsWhiteTheme:ln,identifier:En})=>{const[xn,ar]=(0,ae.useReducer)(He,Ne),{theme:Hn,fontSize:Qr,showEditorSetting:wr,tabToSpace:ia,showResourceCentre:Jn}=xn,er=(0,ae.useRef)(),kr=(0,ae.useRef)();(0,ae.useEffect)(()=>{ln(Hn==="vs")},[Hn]);const Gr={onFontSizeChange:Ft=>{ar({type:0,payload:Ft}),(0,b.t)("cmFontSize",Ft)},tabToSpace:ia,cmFontSize:Qr,className:"oj",cmCodeMode:Hn,onTabToSpace:Ft=>{ar({type:2,payload:Ft}),(0,b.t)("cmTabToSpace",Ft)},onCodeModeChange:Ft=>{ar({type:1,payload:Ft}),(0,b.t)("ProgrammingCodeMode",Ft)}};function or(){ar({type:3,payload:!1})}function In(){ar({type:3,payload:!0})}function It(){ar({type:4,payload:!1})}function Mt(){ar({type:4,payload:!0})}const zt={value:$t,language:Nn,theme:Hn,options:{fontSize:Qr,insertSpaces:ia},onChange:Ft=>{wn(Ft),kr.current=Ft,clearTimeout(er.current),er.current=setTimeout(()=>{sn(kr.current)},1e4)},onEditBlur:Ft=>{kr.current&&sn(kr.current)}};return be.createElement(ae.Fragment,null,en(In,Mt),be.createElement("div",{style:{flex:1,overflow:"hidden"}},!jt&&be.createElement(y.ZP,Oe({},zt))),be.createElement(x.Z,null,be.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:wr,onClose:or},be.createElement(z.Z,Oe({},Gr)))),be.createElement(x.Z,null,be.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Jn,onClose:It},be.createElement(Se,{showResourceCentre:Jn,identifier:En}))))},We=fe(60141),ze=fe(24334),_e=fe(88125),Ve={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},tt={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},et=fe(1710),dt=fe(58421),$e=fe(58617),Ze=fe(17933),Me=fe(56656),qe=fe.n(Me),Ie=fe(59301);const{Column:je}=et.default;var Je=({submitResult:jt,submitting:$t,submitRecords:wn,page:Nn,onPageChange:sn,topicId:en})=>{const[ln]=(0,Ae.useSearchParams)(),{records:En,records_count:xn}=wn||{},[ar,Hn]=(0,ae.useState)(!1),Qr=ln.get("type")==="1";return Ie.createElement(he.Z,{spinning:$t,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ie.createElement($e.Z,{style:{fontSize:24},spin:!0})},(En==null?void 0:En.length)>0?Ie.createElement(et.default,{dataSource:En,rowKey:"id",pagination:!1},Ie.createElement(je,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(wr,ia)=>Ie.createElement("span",null," ",qe()(wr).format("YYYY-MM-DD HH:mm:ss"))}),Ie.createElement(je,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(wr,ia)=>{var Jn;return Ie.createElement("span",{className:`${wr===0?"c-green":"c-red"} current`,onClick:()=>{Hn(ia.id)}},(Jn=_e.Im[wr])==null?void 0:Jn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ie.createElement(je,{title:`\u6267\u884C\u7528\u65F6 (${Qr?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:wr=>wr?Qr?wr:wr/1e3:""}),Ie.createElement(je,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Qr?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:wr=>wr?Qr?wr:parseFloat((wr/1024).toFixed(2)):""}),Ie.createElement(je,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ie.createElement(je,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(wr,ia)=>Ie.createElement("span",{className:"c-light-primary current",onClick:()=>{Hn(ia.id)}},"\u67E5\u770B")})):Ie.createElement("div",{style:{height:300,width:"100%"}}),Ie.createElement(Ze.Z,{onClose:Hn,open:ar}),xn>15?Ie.createElement(dt.Z,{className:tt.pagination,current:Nn,pageSize:15,total:xn,onChange:sn}):null)},Ye=fe(2524),ke=fe(12563),De={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Te=fe(6339),xe=fe(59301);const Re={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var Xe=({hack:jt})=>{const{language:$t,difficult:wn,time_limit:Nn,description:sn}=jt,[en]=(0,Ae.useSearchParams)(),ln=Re[wn];return xe.createElement(xe.Fragment,null,xe.createElement("ul",{className:De.info},xe.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",xe.createElement("b",{className:De.info_tag},$t)),xe.createElement("li",null,xe.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",xe.createElement(ke.Z,{color:ln==null?void 0:ln.color},ln==null?void 0:ln.name)),xe.createElement("li",null,xe.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",xe.createElement("span",{style:{color:"#333333"}},Nn,"\u79D2"))),en.get("qtype")==="8"?xe.createElement(Te.Z,{value:sn,showProgramFill:!0,className:De.desc}):xe.createElement(Te.Z,{value:sn,className:De.desc}))},nt={},Ke=fe(59301),rt=({hack:jt,current_user:$t})=>Ke.createElement("div",{className:nt.answer},jt!=null&&jt.answer_text?Ke.createElement(Te.Z,{style:{padding:"13px 0"},value:(jt==null?void 0:jt.answer_text)||""}):Ke.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),ht=fe(77254);function ut(jt,$t){return(0,ve.U2)(`/problems/${jt}/comments.json`,{page:$t,limit:10})}function pt(jt){return(0,ve.v_)(`/discusses/${jt}/plus.json`,{container_type:"Discuss",type:1})}function lt(jt,$t,wn){return(0,ve.v_)(`/problems/${jt}/comments/reply.json`,{comments:{content:wn,parent_id:$t}})}function mt(jt,$t){return(0,ve.v_)(`/problems/${jt}/comments.json`,{comments:{content:$t}})}function it(jt,$t,wn){return(0,ve.v_)(`/problems/${jt}/comments/${$t}/hidden.json`,wn)}function ct(jt,$t){return(0,ve.IV)(`/problems/${jt}/comments/${$t}`)}var ft=fe(83554);function yt({author:jt}){return ae.createElement("a",{href:`/users/${jt.login}`,target:"_blank"},ae.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${re.Z.IMG_SERVER}/images/${jt.image_url}`,width:"50"}))}function Et({data:jt,index:$t,parentDiscussIndex:wn,user:Nn,onSetActionType:sn}){const{author:en,can_delete:ln,content:En,id:xn,time:ar}=jt;function Hn(){sn({id:xn,index:$t,type:"delete-discuss",parentDiscussIndex:wn,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Qr=Nn.admin||ln||en.user_id===Nn.user_id;return ae.createElement("div",{className:"discuss-item-container second-discuss "},ae.createElement(yt,{author:en}),ae.createElement("section",null,ae.createElement("div",{className:"discuss-info"},ae.createElement("a",{href:`/users/${en.login}`,target:"_blank"},en.name),ae.createElement("span",{className:"grey"},ar),ae.createElement("div",{className:"btn-group",style:{marginBottom:0}},Qr?ae.createElement("a",{onClick:Hn,title:"\u5220\u9664"},ae.createElement("i",{className:"iconfont icon-shanchu"})):null)),ae.createElement(Te.Z,{className:"discuss-content",value:En})))}var Tt=({user:jt,data:$t,index:wn,onPlusDiscuss:Nn,onSetActionType:sn,activeDiscussIndex:en,onReplyDiscuss:ln,onSetActiveDiscussIndex:En})=>{const{content:xn,children:ar,hidden:Hn,id:Qr,praise_count:wr,time:ia,user_praise:Jn,can_delete:er,author:kr}=$t;function Gr(){En(Qr)}function or(){Nn(Qr,!Jn,wn)}function In(){sn({id:Qr,index:wn,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function It(){sn({id:Qr,index:wn,params:{hidden:Hn?"0":"1"},type:"hidden-discuss",message:Hn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Mt=jt.admin||jt.user_id===kr.user_id;return ae.createElement("div",{className:"discuss-item-container",key:Qr},ae.createElement(yt,{author:kr}),ae.createElement("section",null,ae.createElement("div",{className:"discuss-info"},ae.createElement("a",{href:`/users/${kr.login}`,target:"_blank"}," ",kr.name," "),ae.createElement("span",{className:"grey"},ia)),ae.createElement(Te.Z,{className:"discuss-content",value:xn}),ar&&ar.length>0?ae.createElement("div",{className:"reply-discuss-container"},ar.map((zt,Ft)=>ae.createElement(Et,{key:zt.id,data:zt,index:Ft,user:jt,onSetActionType:sn,parentDiscussIndex:wn}))):null,ae.createElement("div",{className:"btn-group"},Mt?ae.createElement("a",{onClick:It,title:Hn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ae.createElement("i",{className:Hn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,er&&(!ar||ar.length==0)?ae.createElement("a",{onClick:In,title:"\u5220\u9664"},ae.createElement("i",{className:"iconfont icon-shanchu"})):null,ae.createElement("a",{onClick:Gr,title:"\u56DE\u590D"}," ",ae.createElement("i",{className:"iconfont icon-huifu1"})," "),ae.createElement("a",{onClick:or,className:Jn?"c-orange":""},ae.createElement("i",{className:Jn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ae.createElement("span",null,wr||""))),ae.createElement(ft.Z,{id:Qr,activeDiscussIndex:en,onReplyDiscuss:ln})))},_t=fe(30214),Gt={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},hn=fe(96565),Rn=(jt,$t,wn)=>new Promise((Nn,sn)=>{var en=xn=>{try{En(wn.next(xn))}catch(ar){sn(ar)}},ln=xn=>{try{En(wn.throw(xn))}catch(ar){sn(ar)}},En=xn=>xn.done?Nn(xn.value):Promise.resolve(xn.value).then(en,ln);En((wn=wn.apply(jt,$t)).next())}),bn=({user_praise:jt,praise_count:$t,praisePlus:wn,onCreateDiscuss:Nn,discuss_count:sn})=>{const[en,ln]=(0,ae.useState)(!1),[En,xn]=(0,ae.useState)("");function ar(ia){xn(ia)}function Hn(){ln(!0)}function Qr(){ln(!1)}function wr(){return Rn(this,null,function*(){Nn(En),xn(""),ln(!1)})}return ae.createElement("div",{className:`${Gt["dis-input-editor-container"]} ${en?Gt.active:""} `},ae.createElement("div",{className:en?`hide ${Gt["text-area"]}`:Gt["text-area"]},ae.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Hn}),ae.createElement("a",null," ",ae.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",sn," "),ae.createElement("a",{className:"c-light-black",onClick:wn,title:jt?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ae.createElement("i",{className:`mr3 ${jt?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),$t?ae.createElement("span",null,$t):"")),en?ae.createElement("div",{className:Gt["input-mask"],onClick:Qr}):null,ae.createElement("div",{className:en?Gt["md-container"]:`${Gt["md-container"]} hide`},ae.createElement(hn.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:En,height:240,onChange:ar}),ae.createElement("div",{className:Gt["tip-container"],onClick:Qr},ae.createElement("a",{className:Gt["btn-send"],onClick:wr}," \u53D1\u9001 "))))},dn=fe(59301),lr=Object.defineProperty,jn=Object.defineProperties,Mn=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,qn=(jt,$t,wn)=>$t in jt?lr(jt,$t,{enumerable:!0,configurable:!0,writable:!0,value:wn}):jt[$t]=wn,Fn=(jt,$t)=>{for(var wn in $t||($t={}))hr.call($t,wn)&&qn(jt,wn,$t[wn]);if(cr)for(var wn of cr($t))Dn.call($t,wn)&&qn(jt,wn,$t[wn]);return jt},Ct=(jt,$t)=>jn(jt,Mn($t)),cn=(jt,$t,wn)=>new Promise((Nn,sn)=>{var en=xn=>{try{En(wn.next(xn))}catch(ar){sn(ar)}},ln=xn=>{try{En(wn.throw(xn))}catch(ar){sn(ar)}},En=xn=>xn.done?Nn(xn.value):Promise.resolve(xn.value).then(en,ln);En((wn=wn.apply(jt,$t)).next())});const nn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Sn=(jt=>(jt[jt.GET_DISCUSSES=0]="GET_DISCUSSES",jt[jt.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",jt[jt.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",jt[jt.PLUS_DISCUSS=3]="PLUS_DISCUSS",jt[jt.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",jt[jt.SET_PAGE=5]="SET_PAGE",jt[jt.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",jt))(Sn||{});function Ln(jt,$t){switch($t.type){case 6:return Ct(Fn({},jt),{loading:!0});case 0:return Fn(Fn({},jt),$t.payload);case 1:return Fn(Fn({},jt),$t.payload);case 4:return Fn(Fn({},jt),$t.payload);case 3:return Fn(Fn({},jt),$t.payload);case 5:return Ct(Fn({},jt),{page:$t.payload});case 2:return Fn(Fn({},jt),$t.payload);default:throw new Error}}var On=({user:jt,identifier:$t,hack:wn,onTriggerPraise:Nn,activeIndex:sn})=>{const[en,ln]=(0,ae.useReducer)(Ln,nn),{loading:En,page:xn,data:ar,count:Hn,actionType:Qr,activeDiscussIndex:wr}=en,ia=(0,ae.useCallback)(()=>cn(void 0,null,function*(){ln({type:6});const zt=yield ut($t,xn),{comments:Ft,disscuss_count:pn}=zt;ln({type:0,payload:{data:Ft,count:pn,loading:!1}})}),[xn,$t]);(0,ae.useEffect)(()=>{sn==="2"&&ia()},[$t,xn,sn]);function Jn(zt){ln({type:5,payload:zt})}function er(zt){ln({type:4,payload:{actionType:zt}})}function kr(zt){ln(wr===zt?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:zt}})}function Gr(zt,Ft,pn){return cn(this,null,function*(){try{const Yn=yield pt(zt);ar[pn].user_praise=Ft,ar[pn].praise_count=Yn.praise_count,ln({type:3,payload:{data:[...ar]}})}catch(Yn){console.log(Yn)}})}function or(){return cn(this,null,function*(){const{id:zt,params:Ft,type:pn,index:Yn,parentDiscussIndex:Xt}=Qr;if(pn==="hidden-discuss"&&(yield it($t,zt,Ft),Xt?ar[Xt].children[Yn].hidden=Ft.hidden==1:ar[Yn].hidden=Ft.hidden==1,ln({type:4,payload:{actionType:null,data:[...ar]}})),pn==="delete-discuss"){if(yield ct($t,zt),Xt||Xt===0){let Qn=ar[Xt].children;for(let yr=Qn.length-1;yr>=0;yr--)if(Qn[yr].id===zt){Qn.splice(yr,1);break}ar[Xt].children=Qn}else for(let Qn=ar.length-1;Qn>=0;Qn--)if(ar[Qn].id===zt){ar.splice(Qn,1);break}ln({type:4,payload:{actionType:null,data:[...ar]}})}})}function In(){ln({type:4,payload:{actionType:null}})}function It(zt,Ft){return cn(this,null,function*(){try{yield lt($t,zt,Ft),ia()}catch(pn){console.log(pn)}})}function Mt(zt){return cn(this,null,function*(){ln({type:6}),yield mt($t,zt),ia()})}return dn.createElement(dn.Fragment,null,dn.createElement("div",{className:"discuss-panel"},ar.length===0?dn.createElement(Ye.Z,null):ar.map((zt,Ft)=>dn.createElement(Tt,{onReplyDiscuss:It,onPlusDiscuss:Gr,onSetActiveDiscussIndex:kr,onSetActionType:er,data:zt,index:Ft,user:jt,activeDiscussIndex:wr})),Hn>10?dn.createElement("div",{className:"pagination-container"},dn.createElement(dt.Z,{showQuickJumper:!0,onChange:Jn,current:xn,total:Hn})):null),dn.createElement(bn,{user_praise:wn.user_praise,praise_count:wn.praises_count,praisePlus:Nn,discuss_count:wn.comments_count,onCreateDiscuss:Mt}),dn.createElement(x.Z,null,dn.createElement(ye.default,{centered:!0,title:"\u63D0\u793A",open:!!Qr,onOk:or,onCancel:In},dn.createElement("p",null,Qr?Qr.message:"")),dn.createElement(_t.Z,null)))},mn=fe(57809),Pt=fe(92832),Bt=fe(65615),xt={},tn=fe(59301),Bn=({hack:jt,current_user:$t})=>tn.createElement("div",{className:xt.answer},jt!=null&&jt.analysis?tn.createElement(Te.Z,{style:{padding:"13px 0"},value:(jt==null?void 0:jt.analysis)||""}):tn.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),fn={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},Sr=fe(36381),Vn=fe(43604),Ht=fe(78241),Lt=fe(5871),gn=fe(12088),Rt=fe(59301);const{TextArea:Pn}=Pt.default,{Panel:_n}=Sr.default;var ir=({data:jt,hack:$t})=>(console.log(jt,$t,"data"),$t!=null&&$t.is_file?Rt.createElement(gn.Y2,{disabled:!0,className:fn.uploadTableWrapper,showScore:!$t.test_set_score,data:jt,isProgramHomework:!0}):Rt.createElement("div",{className:fn.hackSets},jt==null?void 0:jt.map((wn,Nn)=>Rt.createElement(Sr.default,{accordion:!0,bordered:!1,key:Nn,defaultActiveKey:Nn===0&&wn.id,className:fn.collapseWrapper,expandIcon:({isActive:sn})=>Rt.createElement("i",{className:`iconfont icon-weizhankai ${sn?fn.open:fn.close}`,style:{fontSize:14,transition:"all .2s"}})},Rt.createElement(_n,{key:wn.id,header:Rt.createElement(se.Z,{align:"middle",justify:"space-between",wrap:!1},Rt.createElement(Vn.Z,{className:fn.panelHeader},Rt.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Nn+1)),Rt.createElement(Vn.Z,{flex:1},Rt.createElement(se.Z,{align:"middle",justify:"end",wrap:!1},!($t!=null&&$t.test_set_score)&&Rt.createElement(Vn.Z,{className:fn.rateInput},Rt.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),Rt.createElement("div",null,Rt.createElement(Ht.default.Item,{noStyle:!0},Rt.createElement(Lt.Z,{value:wn==null?void 0:wn.score,className:fn.baseFormItem,min:0,max:100,disabled:!0}))),Rt.createElement("span",{className:"ml10"},"%")))))},Rt.createElement(Ht.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},Rt.createElement(Pn,{readOnly:!0,value:wn==null?void 0:wn.input,rows:4})),Rt.createElement(Ht.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},Rt.createElement(Pn,{readOnly:!0,value:wn==null?void 0:wn.output,rows:4}))))))),An={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},bt=fe(59301),Nt=(0,ae.forwardRef)(({data:jt=[]},$t)=>{var wn;const[Nn,sn]=(0,ae.useState)(),en=jt.filter(En=>En.show);(0,ae.useEffect)(()=>{en.length&&sn(en[0].id)},[jt==null?void 0:jt.length]);const ln=((wn=en.find(En=>En.id===Nn))==null?void 0:wn.element)||null;return(0,ae.useImperativeHandle)($t,()=>({setActiveTab:En=>sn(En)})),bt.createElement("div",{className:An.tabs},bt.createElement("div",{className:An.tabWarp},en.map(En=>bt.createElement("div",{onClick:()=>sn(En.id),className:`${An.tab} ${En.id===Nn?An.active:""}`,key:En.id},En.name))),bt.createElement("div",{className:An.content},ln))}),wt=fe(59301),qt=Object.defineProperty,Jt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,Wt=(jt,$t,wn)=>$t in jt?qt(jt,$t,{enumerable:!0,configurable:!0,writable:!0,value:wn}):jt[$t]=wn,Rr=(jt,$t)=>{for(var wn in $t||($t={}))$n.call($t,wn)&&Wt(jt,wn,$t[wn]);if(on)for(var wn of on($t))tr.call($t,wn)&&Wt(jt,wn,$t[wn]);return jt},Lr=(jt,$t)=>Jt(jt,rn($t)),Er=(jt,$t,wn)=>new Promise((Nn,sn)=>{var en=xn=>{try{En(wn.next(xn))}catch(ar){sn(ar)}},ln=xn=>{try{En(wn.throw(xn))}catch(ar){sn(ar)}},En=xn=>xn.done?Nn(xn.value):Promise.resolve(xn.value).then(en,ln);En((wn=wn.apply(jt,$t)).next())});const Ur={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Cn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Xn=({hack:jt,onTriggerPraise:$t,topicId:wn,page:Nn,onPageChange:sn,user:en,current_user:ln,submitRecords:En,submitting:xn,submitResult:ar,setActiveIndex:Hn,hack_sets:Qr})=>{var wr,ia;const[Jn]=(0,Ae.useSearchParams)(),[er,kr]=(0,ae.useState)("0"),Gr=(0,Ae.useLocation)(),[or,In]=(0,ae.useState)(!1),[It,Mt]=(0,ae.useState)(null),[zt,Ft]=(0,ae.useState)([]),[pn,Yn]=(0,ae.useState)([]),[Xt,Qn]=(0,ae.useState)({page:1,limit:10}),yr=(0,ae.useRef)(null),Br=(0,ae.useRef)(null);console.log(en,"user");let[br,dr]=(0,ae.useState)(Lr(Rr({},(0,Ae.useParams)()),{page:1,per_page:20,name:""}));(0,ae.useEffect)(()=>{Br.current&&(jt==null?void 0:jt.is_close_tips)===!1&&It===null&&Mt(!0)},[Br.current,jt==null?void 0:jt.is_close_tips,It]);function ga(){return Er(this,null,function*(){yield(0,ve.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ae.useEffect)(()=>{Hn(er)},[er]);function Sa(Wr){return Er(this,null,function*(){let fa=Wr.target.id;if(fa==="1"){let Da=yield(0,ve.ZP)(`/api/myproblems/${br.id}/redo_logs.json`,{method:"get",params:Rr({},Xt)});(Da==null?void 0:Da.status)===0&&Yn(Da==null?void 0:Da.data)}kr(fa)})}(0,ae.useEffect)(()=>ht.Z.subscribe("to-commit-info",()=>{kr("1"),yr.current&&yr.current.setActiveTab("1")}),[]),(0,ae.useEffect)(()=>ht.Z.subscribe("to-reset-info",()=>{Sa({target:{id:"1"}}),yr.current&&yr.current.setActiveTab("2")}),[]);function Ma(){kr("2")}function jr(){return Er(this,null,function*(){let Wr=yield(0,ve.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Rr({identifier:br==null?void 0:br.id},br)});Ft(Wr)})}const nr=[{title:null,description:wt.createElement("div",null,wt.createElement("b",{onClick:()=>{Mt(!1),ga(),In(!0),jr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),wt.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),wt.createElement(ce.ZP,{onClick:()=>{Mt(!1),ga()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Br.current}];return wt.createElement("div",{className:Ve["left-panel"]},wt.createElement("ul",{className:`${Ve["s-navs"]} ${Ve["bg-white"]} ${Ve.b1}`},(jt==null?void 0:jt.is_program)&&!Jn.get("pageId")&&wt.createElement(ne.Z,{title:"\u9898\u76EE\u5217\u8868"},wt.createElement("div",{onClick:()=>{jr(),In(!0)},className:Ve.btns,ref:Br,style:It?{pointerEvents:"none"}:{}},wt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),wt.createElement("li",{style:{marginLeft:20}},wt.createElement("a",{className:er==="0"?Ve.active:"",id:"0",onClick:Sa},"\u9898\u76EE\u63CF\u8FF0")),wt.createElement("li",null,wt.createElement("a",{className:er==="1"?Ve.active:"",id:"1",onClick:Sa},"\u64CD\u4F5C\u8BB0\u5F55")),(Jn.get("type")!=="exercises"&&(jt==null?void 0:jt.answer_text_show)||Jn.get("type")!=="exercises"&&(jt==null?void 0:jt.analysis_show))&&wt.createElement("li",null,wt.createElement("a",{className:er==="4"?Ve.active:"",id:"4",onClick:Sa},"\u89E3\u7B54\u53C2\u8003")),Jn.get("type")!=="exercises"&&wt.createElement("li",null,wt.createElement("a",{className:er==="2"?Ve.active:"",id:"2",onClick:Sa},"\u8BC4\u8BBA")),!!(Qr!=null&&Qr.length)&&Jn.get("type")!=="exercises"&&Jn.get("type")!=="1"&&wt.createElement("li",null,wt.createElement("a",{className:er==="5"?Ve.active:"",id:"5",onClick:Sa},"\u6D4B\u8BD5\u7528\u4F8B"))),wt.createElement("div",{className:`${Ve["tab-panel-body"]} ${er==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},wt.createElement(Xe,{hack:jt,onTriggerPraise:$t,toDiscuss:Ma})),wt.createElement("div",{style:{padding:"12px"},className:`${Ve["tab-panel-body"]} ${er==="1"?"":"hide"}`},wt.createElement(Nt,{ref:yr,data:[{id:"1",show:Jn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:wt.createElement(wt.Fragment,null,En!=null&&En.records_count||xn?wt.createElement(Je,{page:Nn,onPageChange:sn,topicId:wn,submitting:xn,key:(ar==null?void 0:ar.id)||1,submitRecords:En,submitResult:ar}):wt.createElement(Ye.Z,null))},{id:"2",show:Jn.get("type")==="exercises"||(jt==null?void 0:jt.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:wt.createElement(wt.Fragment,null,wt.createElement(et.default,{pagination:!1,dataSource:pn==null?void 0:pn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Wr,fa,Da)=>qe()(Wr).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Wr,fa,Da)=>{var no;return(no=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(Eo=>Eo.id===Wr))==null?void 0:no.name}}]}),wt.createElement(dt.Z,{style:{marginTop:10},current:Xt.page,total:pn==null?void 0:pn.count,hideOnSinglePage:!0,onChange:Wr=>Er(void 0,null,function*(){Xt.page=Wr,Qn(Xt);let fa=yield(0,ve.ZP)(`/api/myproblems/${br.id}/redo_logs.json`,{method:"get",params:Lr(Rr({},Xt),{courseId:br.courseId})});(fa==null?void 0:fa.status)===0&&Yn(fa==null?void 0:fa.data)})}))}]})),wt.createElement("div",{style:{padding:"12px"},className:`${Ve["tab-panel-body"]} ${er==="4"?"":"hide"}`},wt.createElement(Nt,{data:[{id:"1",show:Jn.get("type")!=="exercises"&&(jt==null?void 0:jt.answer_text_show),name:"\u7B54\u6848",element:wt.createElement(wt.Fragment,null,wt.createElement(rt,{hack:jt,current_user:ln}))},{id:"2",show:Jn.get("type")!=="exercises"&&(jt==null?void 0:jt.analysis_show),name:"\u89E3\u6790",element:wt.createElement(wt.Fragment,null,wt.createElement(Bn,{hack:jt,current_user:ln}))}]})),wt.createElement("div",{className:`${Ve["tab-panel-body"]} ${er==="2"?"":"hide"}`,style:{padding:0}},wt.createElement(On,{user:en,activeIndex:er,identifier:jt.identifier,hack:jt,onTriggerPraise:$t})),wt.createElement("div",{className:`${Ve["tab-panel-body"]} ${er==="5"?"":"hide"}`,style:{padding:12}},wt.createElement(ir,{data:Qr||[],hack:jt})),wt.createElement(a.Z,{rootClassName:Ve.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>In(!1),open:or},wt.createElement(se.Z,null,wt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),wt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",zt==null?void 0:zt.total_count,"\u9898\xA0[\xA0",zt==null?void 0:zt.total_score,"\u5206\xA0]\xA0"),!(en!=null&&en.hack_manager)&&wt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",zt==null?void 0:zt.work_score,"\u5206")),wt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),wt.createElement(se.Z,{align:"middle",className:"mt10 mb10"},!(en!=null&&en.hack_manager)&&wt.createElement(mn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Wr=>{br.page=1,br.finish_status=Wr,dr(Rr({},br)),jr()}},wt.createElement(mn.default.Option,{value:""},"\u5168\u90E8"),wt.createElement(mn.default.Option,{value:0},"\u672A\u5F00\u59CB"),wt.createElement(mn.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),wt.createElement(mn.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),wt.createElement(mn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Wr=>{br.page=1,br.difficult=Wr||null,dr(Rr({},br)),jr()}},wt.createElement(mn.default.Option,{value:0},"\u5168\u90E8"),wt.createElement(mn.default.Option,{value:1},"\u7B80\u5355"),wt.createElement(mn.default.Option,{value:2},"\u9002\u4E2D"),wt.createElement(mn.default.Option,{value:3},"\u56F0\u96BE")),wt.createElement(Pt.default.Search,{size:"large",onSearch:Wr=>{br.name=Wr,br.page=1,dr(Rr({},br)),jr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),wt.createElement("div",{className:Ve.list,style:{height:36,background:"#3D445C"}},!(en!=null&&en.hack_manager)&&wt.createElement("span",null,"\u72B6\u6001"),wt.createElement("span",null,"\u5E8F\u53F7"),wt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),wt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),wt.createElement("div",{style:{overflow:"auto",flex:1}},(wr=zt==null?void 0:zt.data)!=null&&wr.length?(ia=zt==null?void 0:zt.data)==null?void 0:ia.map((Wr,fa)=>wt.createElement("div",{onClick:()=>Er(void 0,null,function*(){let Da=yield(0,ve.ZP)(`/api/problems/${Wr==null?void 0:Wr.identifier}/start.json`,{method:"get",params:{hack_user_id:en==null?void 0:en.user_id}});Da&&(window.location.href=`/myproblems/${Da==null?void 0:Da.identifier}${window.location.search}`)}),className:`${Ve.list} ${Wr!=null&&Wr.checked?Ve.active:""}`},!(en!=null&&en.hack_manager)&&wt.createElement(wt.Fragment,null,!(Wr!=null&&Wr.opened)&&wt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Wr==null?void 0:Wr.opened)&&!(Wr!=null&&Wr.passed)&&wt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Wr==null?void 0:Wr.opened)&&(Wr==null?void 0:Wr.passed)&&wt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),wt.createElement("span",null,(br.page-1)*20+(fa+1)),wt.createElement("span",{style:{flex:1},title:Wr.name},`[${Wr==null?void 0:Wr.score}\u5206]`,"\xA0",Wr.name),wt.createElement("span",{style:{flexBasis:48,paddingRight:0}},Ur[Wr.difficult]))):wt.createElement(Ye.Z,null)),wt.createElement(dt.Z,{current:br.page,className:"mt20",hideOnSinglePage:!0,total:zt==null?void 0:zt.count,pageSize:br.per_page,onChange:(Wr,fa)=>{br.page=Wr,br.per_page=fa,jr()}})),wt.createElement(Bt.Z,{rootClassName:Ve.tour,closeIcon:!1,open:!!It,steps:nr,gap:{offset:3,radius:2}}))},gr=fe(62522),At=fe(27158),Vt=fe(22744),Qt=fe(21390),zn=fe(72530),sr=fe(35195),rr=fe(25492),vr=fe(92310),ur=fe.n(vr),Tn=fe(42217),vn=fe(81747),Zn=fe(51976),Yt=fe(59301),Hr=Object.defineProperty,Gn=Object.defineProperties,Pr=Object.getOwnPropertyDescriptors,Fr=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,mr=(jt,$t,wn)=>$t in jt?Hr(jt,$t,{enumerable:!0,configurable:!0,writable:!0,value:wn}):jt[$t]=wn,Tr=(jt,$t)=>{for(var wn in $t||($t={}))Yr.call($t,wn)&&mr(jt,wn,$t[wn]);if(Fr)for(var wn of Fr($t))Ir.call($t,wn)&&mr(jt,wn,$t[wn]);return jt},Or=(jt,$t)=>Gn(jt,Pr($t)),xr=(jt,$t)=>{var wn={};for(var Nn in jt)Yr.call(jt,Nn)&&$t.indexOf(Nn)<0&&(wn[Nn]=jt[Nn]);if(jt!=null&&Fr)for(var Nn of Fr(jt))$t.indexOf(Nn)<0&&Ir.call(jt,Nn)&&(wn[Nn]=jt[Nn]);return wn},Mr=(jt,$t,wn)=>new Promise((Nn,sn)=>{var en=xn=>{try{En(wn.next(xn))}catch(ar){sn(ar)}},ln=xn=>{try{En(wn.throw(xn))}catch(ar){sn(ar)}},En=xn=>xn.done?Nn(xn.value):Promise.resolve(xn.value).then(en,ln);En((wn=wn.apply(jt,$t)).next())});const{Countdown:Kn}=E.default,da={Java:"java",C:"c",Python:"py","C++":"c"};var oa=(jt=>(jt[jt.SET_LOADING=0]="SET_LOADING",jt[jt.GET_DATA=1]="GET_DATA",jt[jt.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",jt[jt.SET_DATA=3]="SET_DATA",jt[jt.SET_DEBUGING=4]="SET_DEBUGING",jt[jt.SET_SUBMITING=5]="SET_SUBMITING",jt[jt.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",jt[jt.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",jt[jt.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",jt[jt.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",jt[jt.SET_PAGE=10]="SET_PAGE",jt))(oa||{});function Xr(){return new Date().getTime()}const ba={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Pa(jt,$t){switch($t.type){case 1:return Tr(Tr({},jt),$t.payload);case 3:return Or(Tr({},jt),{data:$t.payload});case 0:return Or(Tr({},jt),{loading:$t.payload});case 9:return Or(Tr({},jt),{showNote:$t.payload});case 4:return Or(Tr({},jt),{debuging:$t.payload});case 5:return Or(Tr({},jt),{submitting:$t.payload});case 2:return Or(Tr({},jt),{submitRecords:$t.payload});case 10:return Or(Tr({},jt),{submitRecordPage:$t.payload});case 6:return Or(Tr({},jt),{executingMessage:$t.payload});case 7:return Tr(Tr({},jt),$t.payload);case 8:return Tr(Tr({},jt),$t.payload);default:throw new Error}}var ua=({children:jt})=>{var $t,wn,Nn,sn,en;const[ln,En]=(0,ae.useReducer)(Pa,ba),{id:xn}=(0,Ae.useParams)(),ar=(0,Ae.useLocation)(),[Hn]=(0,Ae.useSearchParams)(),{loading:Qr,data:wr,debugResult:ia,submitResult:Jn,submitRecords:er,submitRecordPage:kr,showNote:Gr,debuging:or,submitting:In,executingMessage:It}=ln,[Mt,zt]=(0,ae.useState)("#37AD83"),[Ft,pn]=(0,ae.useState)(null),[Yn,Xt]=(0,ae.useState)({}),[Qn,yr]=(0,ae.useState)(!0),[Br,br]=(0,ae.useState)(!1),[dr,ga]=(0,ae.useState)(!1),Sa=(0,ae.useRef)(null),Ma=(0,ae.useRef)(0),jr=wr==null?void 0:wr.user,nr=wr==null?void 0:wr.hack,[Wr,fa]=(0,ae.useState)(!1),Da=(0,ae.useRef)(1),no=(0,ae.useRef)(!1);(0,Tn.y)(Hn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Eo}=(0,Tn.X)(),[jo,Zo]=(0,ae.useState)(""),Ko=(0,zn._)(Yn);(0,ae.useEffect)(()=>{function ta(){return Mr(this,null,function*(){var Aa,oo,yo,Jo,zo;yr(!0);const bo=yield(0,de.fu)(xn,{exercise_id:Hn.get("exercisesId")});if(setTimeout(()=>{yr(!1)},800),bo.status!==401){try{bo.hack.code=ze.Base64.decode(bo.hack.code)}catch(Ya){console.log(Ya)}bo.hack=Or(Tr({},bo.hack),{is_program:Hn.get("type")==="1"}),En({type:1,payload:{loading:!1,data:bo}})}if(Hn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Ya;Hn.get("coursesId")=="coursesId"?Ya=yield(0,le._F)({categoryId:Hn.get("exercisesId"),login:Hn.get("login")}):Ya=yield(0,le._B)({categoryId:Hn.get("exercisesId"),login:Hn.get("login")}),Xt(Tr({},Ya)),Eo((Aa=Ya==null?void 0:Ya.exercise)==null?void 0:Aa.forbid_copy),typeof((oo=Ya==null?void 0:Ya.exercise)==null?void 0:oo.left_time)=="number"&&(pn(Date.now()+((yo=Ya==null?void 0:Ya.exercise)==null?void 0:yo.left_time)*1e3),setTimeout(()=>{zt("red")},(((Jo=Ya==null?void 0:Ya.exercise)==null?void 0:Jo.left_time)-300>0?((zo=Ya==null?void 0:Ya.exercise)==null?void 0:zo.left_time)-300:0)*1e3))}})}xn&&ta()},[xn]),(0,ae.useEffect)(()=>{var ta;return Hn.get("type")==="exercises"&&((ta=Yn==null?void 0:Yn.exercise)!=null&&ta.screen_open)&&(window.removeEventListener("blur",ko,!1),sr.U.forEach((Aa,oo)=>{window.addEventListener(Aa,ko,!1)}),window.addEventListener("blur",ko,!1),window.focus()),()=>{document.removeEventListener((0,ie.gH)(),ko)}},[Yn]),(0,ae.useEffect)(()=>{jo==="1"&&xn&&nr!=null&&nr.language&&Ao()},[xn,kr,nr==null?void 0:nr.language,jo]),(0,ae.useEffect)(()=>(nr!=null&&nr.is_program&&(Ma.current=0,Sa.current=setInterval(()=>{Vo()},15e3)),()=>{clearInterval(Sa.current)}),[nr==null?void 0:nr.is_program]);const Vo=()=>Mr(void 0,null,function*(){let ta=yield(0,ve.ZP)(`/api/myproblems/${xn}/save_long_time.json`,{method:"get",params:{answer_long_time:Ma.current}})}),ko=()=>{no.current||(0,ie.BU)(),window.parent.postMessage("backExercise","*")};function Ao(){return Mr(this,null,function*(){try{const ta=yield(0,de.zO)(xn,{limit:15,page:kr,language:nr==null?void 0:nr.language});En({type:2,payload:ta})}catch(ta){console.log(ta)}})}function _o(ta){En({type:10,payload:ta})}function Fo(ta){return Mr(this,null,function*(){var Aa;let oo;(Hn.get("ip_limit")==="inner"||Hn.get("ip_bind_type")==="true")&&(oo=yield(0,At.y)({ip_limit:Hn.get("ip_limit"),ip_bind:Hn.get("ip_bind_type")==="true"}));const yo=yield(0,de.n4)(xn,{code:ze.Base64.encode(ta||nr.code),language:nr==null?void 0:nr.language,exercise_id:Hn.get("exercisesId"),question_id:Hn.get("questionId"),ip:oo});return yo.status===-5&&(0,Ae.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Or(Tr({errorMessage:yo==null?void 0:yo.message},(Yn==null?void 0:Yn.exercise)||{}),{exercise_user_id:(Aa=Yn==null?void 0:Yn.exercise)==null?void 0:Aa.exercise_user_id,id:Hn.get("exercisesId")})}}),yo})}function Qo(){return Mr(this,null,function*(){if(Da.current=2,!In){En({type:5,payload:!0});try{ht.Z.publish("to-commit-info");const ta=yield Fo();if(console.log(ta,1),ta.status===0){let bo=function(){return Mr(this,null,function*(){const{status:Ya,data:wo}=yield(0,de.rX)(xn,"submit"),To=Xr()-zo>(yo*Jo+30)*1e3;if(Ya!==0&&!To&&setTimeout(bo,1e3),To&&Ya!==0){ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),En({type:5,payload:!1});return}if(Ya===0){wo.status===2&&ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(wo==null?void 0:wo.status)===0&&Hn.get("type")==="1"&&ga(!0);const fi=yield(0,de.zO)(xn,{limit:15,page:kr,language:nr==null?void 0:nr.language});En({type:8,payload:Or(Tr({},ln),{submitResult:wo,submitting:!1,submitRecords:fi})})}})},Aa={};Hn.get("type")==="exercises"&&(Aa.extras={exercise_id:Hn.get("exercisesId"),question_id:Hn.get("questionId")},(Hn.get("ip_limit")==="inner"||Hn.get("ip_bind_type")==="true")&&(Aa.extras.ip=yield(0,At.y)({ip_limit:Hn.get("ip_limit"),ip_bind:Hn.get("ip_bind_type")==="true"})));const oo=yield(0,de.bM)(xn,Aa);if(oo.status===-1&&Hn.get("exercisesId")){window.parent.location.href=`/classrooms/${Hn.get("coursesId")}/exercise/${Hn.get("exercisesId")}/detail`;return}const{time_limit:yo,test_case_size:Jo}=nr,zo=Xr();oo.status>-1?bo():En({type:5,payload:!1})}else En({type:5,payload:!1})}catch(ta){console.log(ta),En({type:5,payload:!1})}fa(!1)}})}function Po(){return Mr(this,null,function*(){Da.current=1,ln.debuging=!0,En({type:4,payload:!0});try{if((yield Fo()).status===0){let zo=function(){return Mr(this,null,function*(){const{status:bo,message:Ya,data:wo}=yield(0,de.rX)(xn,"debug"),To=Xr()-Jo>(Aa+30)*1e3;if(bo!==0&&!To&&(En({type:6,payload:Ya}),setTimeout(zo,1e3)),To){ye.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),En({type:4,payload:!1}),En({type:7,payload:Or(Tr({},ln),{debugResult:{status:2},debuging:!1})});return}bo===0&&(wo.status===2&&ye.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),En({type:4,payload:!1}),En({type:7,payload:Or(Tr({},ln),{debugResult:wo,debuging:!1})}))})};const{time_limit:Aa}=nr;let oo={input:encodeURIComponent(wr.test_case.input)};Hn.get("type")==="exercises"&&(oo.exercise_id=Hn.get("exercisesId"));const yo=yield(0,de.MU)(xn,oo);if(yo.status===-1&&Hn.get("exercisesId")){window.parent.location.href=`/classrooms/${Hn.get("coursesId")}/exercise/${Hn.get("exercisesId")}/detail`;return}const Jo=Xr();(yo==null?void 0:yo.status)>-1?zo():En({type:4,payload:!1})}else En({type:4,payload:!1})}catch(ta){console.log(ta)}finally{}})}function Co(ta,Aa){const oo=Aa?{modify_code:!1}:{};En({type:3,payload:Or(Tr({},wr),{hack:Tr(Or(Tr({},nr),{code:ta}),oo)})}),fa(!0)}const Yo=ta=>Mr(void 0,null,function*(){let Aa=yield(0,ve.ZP)(`/api/problems/${nr==null?void 0:nr.identifier}/start.json`,{method:"get",params:{language:ta==="C++"||ta==="c++"?encodeURIComponent(ta):ta,hack_user_id:jr==null?void 0:jr.user_id}});Aa.status!==-1&&Ae.history.replace(`/myproblems/${Aa==null?void 0:Aa.identifier}${window.location.search}`)});function ai(ta){let Aa=ta.target.value;En({type:3,payload:Or(Tr({},wr),{test_case:{input:Aa}})})}function ii(){return Mr(this,null,function*(){try{let ta={};Hn.get("type")==="exercises"?ta.exercise_id=Hn.get("exercisesId"):nr!=null&&nr.homework_common_id&&(ta.homework_common_id=nr==null?void 0:nr.homework_common_id);const Aa=yield(0,de.H7)(xn,Tr({},ta));Aa.status===401||(Co(ze.Base64.decode(Aa.code)),(Hn.get("type")==="exercises"||nr!=null&&nr.homework_common_id)&&ht.Z.publish("to-reset-info"))}catch(ta){console.log(ta)}})}function Xo(){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Yt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Yt.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Mr(this,null,function*(){const ta=yield(0,de.fi)(xn);ta.status===401||Co(ze.Base64.decode(ta.code),!0)})}})}function ti(){En({type:9,payload:!0})}function bi(){En({type:9,payload:!1})}function Si(ta){return Mr(this,null,function*(){yield(0,de.MK)(xn,ta),En({type:1,payload:{showNote:!1,data:Or(Tr({},wr),{hack:Or(Tr({},nr),{notes:ta.notes})})}})})}const Io={hack:nr,isLoading:Qn,input:($t=wr==null?void 0:wr.test_case)==null?void 0:$t.input,is_file:(wn=wr==null?void 0:wr.test_case)==null?void 0:wn.is_file,identifier:nr==null?void 0:nr.identifier,attachments_count:wr==null?void 0:wr.attachments_count,language:nr==null?void 0:nr.language,code:nr==null?void 0:nr.code,title:"main."+da[nr==null?void 0:nr.language],modify_code:nr==null?void 0:nr.modify_code,notes:nr==null?void 0:nr.notes,debugResult:ia,debuging:or,submitting:In,submitResult:Jn,executingMessage:It,onCancelNote:bi,onAddNote:Si,showNote:Gr,user:jr,onShowNote:ti,onSubmitCode:Qo,onChangeCode:Co,onChangeInput:ai,onDebugCode:Po,onResetCode:ii,onSyncCode:Xo,onUpdateCode:Fo,onChangeLanguage:Yo,isWhiteTheme:Br,setIsWhiteTheme:br,topDispatch:En};function si(){return Mr(this,null,function*(){const{praise_count:ta}=yield(0,de.vl)(nr.id,{container_type:"Hack",type:1});let Aa=Or(Tr({},wr),{hack:Or(Tr({},nr),{praises_count:ta,user_praise:!nr.user_praise})});En({type:3,payload:Aa})})}const li={topicId:xn,submitResult:Jn,submitRecords:er,submitting:In,page:kr,onPageChange:_o,hack:nr,user:wr==null?void 0:wr.user,hack_sets:wr==null?void 0:wr.hack_sets,current_user:wr==null?void 0:wr.current_user,onTriggerPraise:si,setActiveIndex:Zo};return console.log(Yn),Yt.createElement(Yt.Fragment,null,Yt.createElement(he.Z,{spinning:Qr,delay:500},wr?Yt.createElement(Yt.Fragment,null,Yt.createElement("header",{className:ur()(rr.Z.header,Br&&rr.Z.whiteHeader)},Hn.get("type")!=="exercises"&&Yt.createElement("div",null,Yt.createElement("img",{src:`${re.Z.IMG_SERVER}/images/${jr==null?void 0:jr.image_url}`,alt:"user",width:36}),Yt.createElement("span",{style:{color:Br?"#333":"#B2BACB",fontSize:16}},jr==null?void 0:jr.name)),Hn.get("type")==="exercises"&&Yt.createElement("div",null,Yt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Yt.createElement("span",{className:"ml10"},(Nn=Yn==null?void 0:Yn.exercise)==null?void 0:Nn.user_name)),Yt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Yt.createElement("span",{className:"ml10"},(sn=Yn==null?void 0:Yn.exercise)==null?void 0:sn.student_id))),Yt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Yt.createElement("div",null,nr.name)),(nr==null?void 0:nr.is_program)&&Yt.createElement(Vt.Z,{defaultValue:nr==null?void 0:nr.answer_long_time,onChange:ta=>{Ma.current=ta},className:rr.Z.timepiece}),jr!=null&&jr.hack_manager?Yt.createElement(Ae.Link,{className:rr.Z.btn_edit,to:Hn.get("type")==="1"?Hn.get("pageId")?`/problems/newedit/${nr.identifier}?type=1&pageId=${Hn.get("pageId")}&backUrl=${Hn.get("backUrl")}`:`/problems/newedit/${nr.identifier}?type=1`:`/problems/newedit/${nr.identifier}`}," ",Yt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((en=Yn==null?void 0:Yn.exercise)!=null&&en.left_time)&&Yt.createElement(Yt.Fragment,null,Yt.createElement("span",{style:{color:Mt,marginRight:6},className:`iconfont icon-daojishi ${rr.Z.djs}`}),Yt.createElement("span",{className:"c-white mr20"},Yt.createElement(Kn,{valueStyle:{color:Mt,fontSize:20,fontWeight:500},title:Yt.createElement("span",{style:{color:Mt,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Ft,onFinish:()=>Mr(void 0,null,function*(){const ta=yield(0,le.VL)({categoryId:Hn.get("exercisesId"),commit_method:2});if((ta==null?void 0:ta.status)===0&&(Fo(),ye.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Yt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Yt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Mr(void 0,null,function*(){window.parent.location.href=`/classrooms/${Hn.get("coursesId")}/exercise/${Hn.get("exercisesId")}/detail`})})),(ta==null?void 0:ta.status)===-3){const Aa=parseInt(ta==null?void 0:ta.message);pn(Date.now()+Aa*1e3)}})}))),Hn.get("type")==="exercises"?Yt.createElement(ce.ZP,{type:"primary",onClick:()=>{const ta=()=>Mr(void 0,null,function*(){yield Fo(),fa(!1),Ko(),no.current=!0,ko()});if(!(er!=null&&er.records_count)||Wr){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Yt.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:ta});return}ta()}},Yt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Yt.createElement("span",{onClick:()=>{var ta;if(Hn.get("backUrl"))Ae.history.push(Hn.get("backUrl"));else if(Hn.get("type")==="1"){let Aa=(ta=localStorage.getItem("program_homework"))==null?void 0:ta.split(",");Ae.history.push(`/classrooms/${Aa==null?void 0:Aa[0]}/program_homework/${Aa==null?void 0:Aa[1]}/detail`)}else Ae.history.push("/problemset")}},Yt.createElement(ne.Z,{title:"\u5173\u95ED"},Yt.createElement("i",{style:{color:Br?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Yt.createElement(he.Z,{size:"large",spinning:Qn},Yt.createElement(oe.Z,{className:ur()(rr.Z.myProblems,Br&&rr.Z.whiteMyProblems),leftChild:Yt.createElement(Xn,Tr({},li)),rightChild:Yt.createElement(ka,Tr({},Io))}))):null,Yt.createElement(ye.default,{centered:!0,closable:!1,width:680,footer:null,open:dr,className:"oj-modal"},Yt.createElement("section",{className:"oj-modal-content"},Yt.createElement("div",{className:"oj-modal-head"},Yt.createElement("img",{src:gr,alt:""}),Yt.createElement("i",{onClick:()=>ga(!1),className:"iconfont icon-guanbi1"})),Yt.createElement("aside",null,Yt.createElement("img",{className:"mr30",src:Zn.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Yt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Jn==null?void 0:Jn.execute_time,"ms"),"\u4F18\u4E8E",Yt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Jn==null?void 0:Jn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Yt.createElement("aside",{className:"mb50"},Yt.createElement("img",{src:vn.Z,className:"mr30"}),Yt.createElement("span",{className:"oj-modal-tt"},Yt.createElement("span",null,Yt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Yt.createElement("span",{className:"c-light-primary"},Jn==null?void 0:Jn.execute_memory,"kb")),Yt.createElement("span",null,Yt.createElement("span",null))),"\u4F18\u4E8E",Yt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Jn==null?void 0:Jn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Yt.createElement("div",{id:"oj-modal-next",onClick:()=>Mr(void 0,null,function*(){var ta;if(Jn!=null&&Jn.next_identifier){let Aa=yield(0,ve.ZP)(`/api/problems/${Jn==null?void 0:Jn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:jr==null?void 0:jr.user_id}});Aa&&(window.location.href=`/myproblems/${Aa==null?void 0:Aa.identifier}${window.location.search}`)}else{let Aa=(ta=localStorage.getItem("program_homework"))==null?void 0:ta.split(",");Ae.history.push(`/classrooms/${Aa==null?void 0:Aa[0]}/program_homework/${Aa==null?void 0:Aa[1]}/detail`)}}),className:"oj-modal-btn"},Jn!=null&&Jn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),Yt.createElement(Qt.Z,{successCb:()=>{Da.current===1?Po():Qo()}}))};function pa({title:jt,modify_code:$t,onSyncCode:wn,onShowCodeSetting:Nn,onResetCode:sn,hack:en,onChangeLanguage:ln,isWhiteTheme:En,onShowResourceCentre:xn,attachments_count:ar}){var Hn;const Qr=()=>{ye.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Yt.createElement(ee.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:sn})},[wr]=(0,Ae.useSearchParams)(),ia=wr.get("language"),Jn=er=>er==="1"?"c++":er==="2"?"C++":er;return(0,ae.useEffect)(()=>{ia&&ln(Jn(ia))},[]),(0,ae.useEffect)(()=>{en!=null&&en.tpm_code_modified&&ye.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Yt.createElement(ee.Z,null),content:Yt.createElement("div",null,Yt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Yt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Yt.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>sn()})},[en==null?void 0:en.language]),console.log(en,En,"hack"),Yt.createElement("div",{className:`${rr.Z.codeHead} ${En?rr.Z.whiteCodeHead:""}`},Yt.createElement("div",{className:rr.Z.navWrap},(Hn=en==null?void 0:en.all_language)==null?void 0:Hn.map(er=>Yt.createElement("div",{className:`${rr.Z.nav} ${er===(en==null?void 0:en.language)?rr.Z.active:""}`,key:er,onClick:()=>ln(er)},Yt.createElement(ne.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Yt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Yt.createElement("span",null,er)))),Yt.createElement(se.Z,{align:"middle",style:{marginLeft:"auto"}},$t?Yt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:wn},Yt.createElement("img",{src:We,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,ar>0&&Yt.createElement("a",{onClick:xn},Yt.createElement(ne.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},Yt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),Yt.createElement("a",{onClick:Qr},Yt.createElement(ne.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Yt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Yt.createElement("a",{onClick:Nn},Yt.createElement(ne.Z,{title:"\u8BBE\u7F6E"},Yt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function ka(jt){var $t=jt,{input:wn,is_file:Nn,identifier:sn,showNote:en,onShowNote:ln,notes:En,onCancelNote:xn,onAddNote:ar,debugResult:Hn,language:Qr,debuging:wr,submitting:ia,executingMessage:Jn,code:er,onSubmitCode:kr,onDebugCode:Gr,onChangeCode:or,onChangeInput:In,onUpdateCode:It,user:Mt,isLoading:zt,submitResult:Ft}=$t,pn=xr($t,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Yn(Qn,yr){return Yt.createElement(pa,Or(Tr({},pn),{onShowCodeSetting:Qn,onShowResourceCentre:yr}))}const Xt=Tr({input:wn,is_file:Nn,debugResult:Hn,debuging:wr,submitting:ia,executingMessage:Jn,onDebugCode:Gr,onChangeCode:or,onSubmitCode:kr,onChangeInput:In,user:Mt,submitResult:Ft},pn);return Yt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Yt.createElement(Qe,{setIsWhiteTheme:pn==null?void 0:pn.setIsWhiteTheme,isLoading:zt,language:Qr,value:er,identifier:sn,onChange:or,onUpdateCode:It,ActionBarRender:Yn}),Yt.createElement(_e.ZP,Tr({},Xt)))}},10129:function(gt,ot,fe){"use strict";fe.d(ot,{h:function(){return ae}});var ae=(Ae=>(Ae[Ae.NOMATCH=-1]="NOMATCH",Ae[Ae.OK=0]="OK",Ae[Ae.TIMEOUT=2]="TIMEOUT",Ae[Ae.PODFAILURE=3]="PODFAILURE",Ae[Ae.COMPILEFAILURE=4]="COMPILEFAILURE",Ae[Ae.EXECUTEFAILURE=5]="EXECUTEFAILURE",Ae[Ae.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Ae))(ae||{})},67172:function(gt,ot,fe){"use strict";fe.d(ot,{H7:function(){return a},MK:function(){return ee},MU:function(){return le},X6:function(){return oe},bM:function(){return de},fi:function(){return y},fu:function(){return se},n4:function(){return x},rX:function(){return re},vl:function(){return b},zO:function(){return ie}});var ae=fe(38147),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(z,te,ue)=>te in z?Ae(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ue}):z[te]=ue,ne=(z,te)=>{for(var ue in te||(te={}))ye.call(te,ue)&&ce(z,ue,te[ue]);if(E)for(var ue of E(te))he.call(te,ue)&&ce(z,ue,te[ue]);return z};function se(z,te){return(0,ae.U2)(`myproblems/${z}.json`,ne({hidePopLogin:!0},te||{}))}function de(z,te){return(0,ae.v_)(`myproblems/${z}/code_submit.json`,te)}function le(z,te){return(0,ae.v_)(`myproblems/${z}/code_debug.json`,te)}function ie(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,ae.U2)(`myproblems/${z}/submit_records.json`,te)}function oe(z){return(0,ae.U2)("myproblems/record_detail.json",{id:z})}function re(z,te){return(0,ae.U2)(`myproblems/${z}/result.json`,{mode:te})}function ee(z,te){return(0,ae.v_)(`myproblems/${z}/add_notes.json`,te)}function a(z,te){return(0,ae.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function y(z){return(0,ae.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,ae.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,ae.v_)(`discusses/${z}/plus.json`,te)}},9748:function(gt,ot,fe){"use strict";fe.d(ot,{a:function(){return Ge}});var ae=fe(59301),Ae=fe(43418),E=fe(8591),ye=fe(20834),he=fe(95237),ce=fe(24905),ne=fe(43604),se=fe(6848),de=fe(71418),le=fe(38854),ie=fe(65582),oe=fe(56656),re=fe.n(oe),ee={itemWrap:"itemWrap___KEbZ9",checkBoxWrapper:"checkBoxWrapper___Y_kuj",listWrap:"listWrap___VlWgM",list:"list___XIr6d",flexCenter:"flexCenter___eacyI",flexRow:"flexRow___A_mOc",imgWrap:"imgWrap___KI9io",img:"img___vjS11",contentWrap:"contentWrap___NI0Vt",titleWrap:"titleWrap___SlBWX",title:"title___KGh5v",content:"content___B0PxW",bottomWrap:"bottomWrap___WVJb4",updateTime:"updateTime___sxvSt",useCount:"useCount___puqPx",actionBtn:"actionBtn___JUWfj",actionButton:"actionButton___jabv3",actionBar:"actionBar___I1pC8",typeIcon:"typeIcon___bramC",private:"private___sdERX",public:"public___noSmD",random:"random___l2hTA",actionLinkWrapper:"actionLinkWrapper___Him3y",actionLink:"actionLink___rWBLq",actionIcon:"actionIcon___lMmL7",line:"line___HQJlK",b1:"b1___Y4KZd",b2:"b2___QxMOG",actionLeftItem:"actionLeftItem___Fnq4b",export_type_modal:"export_type_modal___ISAzV",export_type_modal_con:"export_type_modal_con___qw5B2",type_item:"type_item___pdMxs",img_warp:"img_warp___cDH7f",img_warp_active:"img_warp_active___rLrYN",menu:"menu___Q2PXr"},a=fe(41867),y=fe(87513),x=fe(66457),b=fe(89392),z=fe(84454),te=fe(65862),ue=fe(69429),me=fe(9516),ve=fe(90463),ge=fe(59301),pe=Object.defineProperty,Se=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Pe=(Ne,Ue,He)=>Ue in Ne?pe(Ne,Ue,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ne[Ue]=He,Fe=(Ne,Ue)=>{for(var He in Ue||(Ue={}))Ce.call(Ue,He)&&Pe(Ne,He,Ue[He]);if(Ee)for(var He of Ee(Ue))Be.call(Ue,He)&&Pe(Ne,He,Ue[He]);return Ne},we=(Ne,Ue)=>Se(Ne,be(Ue)),Le=(Ne,Ue,He)=>new Promise((Qe,We)=>{var ze=tt=>{try{Ve(He.next(tt))}catch(et){We(et)}},_e=tt=>{try{Ve(He.throw(tt))}catch(et){We(et)}},Ve=tt=>tt.done?Qe(tt.value):Promise.resolve(tt.value).then(ze,_e);Ve((He=He.apply(Ne,Ue)).next())});const Oe={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Ge=({showCheckbox:Ne=!1,data:Ue,user:He,authRole:Qe,activeTabsKey:We,selectIds:ze=[],onSetSelectIds:_e=()=>{},onPublicReview:Ve=()=>{},onSetPublic:tt=()=>{},onCancelPublic:et=()=>{},onShare:dt=()=>{},onCancelShare:$e=()=>{},onEdit:Ze=()=>{},onDelete:Me=()=>{},onSendToClass:qe=()=>{},onCopy:Ie=()=>{},onEncryptionAndSealing:je=()=>{},handleReloadData:Je})=>{var Ye,ke,De,Te,xe,Re;const[Xe,nt]=(0,ae.useState)(!1),[Ke,rt]=(0,ae.useState)(!1),[ht,ut]=(0,ae.useState)(!1),[pt,lt]=(0,ae.useState)(""),[mt,it]=(0,ae.useState)({id:"",open:""}),ct=()=>{Ae.default.warning({centered:!0,width:530,okText:"\u77E5\u9053\u5566",title:"\u63D0\u793A",icon:null,content:ge.createElement("div",{className:"tc font16"},"\u672C\u5957\u8BD5\u5377\u6240\u9009\u7528\u8BD5\u9898\u90E8\u5206\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u5E76\u53CA\u65F6\u8C03\u6574\u3002")})},ft=_t=>{var Gt,hn,Rn,bn;if(((Gt=He==null?void 0:He.userInfo)==null?void 0:Gt.login)!==((hn=Ue==null?void 0:Ue.author)==null?void 0:hn.login)){E.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}it({open:"\u63D0\u793A",id:Ue==null?void 0:Ue.id,phone:(Rn=He==null?void 0:He.userInfo)==null?void 0:Rn.phone,login:(bn=He==null?void 0:He.userInfo)==null?void 0:bn.login,onFinish:_t})},yt=()=>Le(void 0,null,function*(){var _t;nt(!0);const Gt=yield(0,y.Mb)({categoryId:Ue.id});nt(!1),Gt!=null&&Gt.exercise_id&&(0,te.xg)(`/classrooms/coursesId/exercise/${Gt.exercise_id}/${(_t=He.userInfo)==null?void 0:_t.login}/initate_answer`)}),Et=[{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>dt(Ue.id));return}dt(Ue.id)}},"\u5171\u4EAB"),key:"1",show:!Ue.is_random&&!Ue.is_share&&We==="0"},{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>$e(Ue.id));return}$e(Ue.id)}},"\u64A4\u9500\u5171\u4EAB"),key:"2",show:!Ue.is_random&&Ue.is_share&&We==="0"},{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>tt(Ue));return}tt(Ue)}},"\u516C\u5F00"),key:"3",show:!Ue.is_random&&!Ue.public&&!Ue.apply&&We==="0"},{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>et(Ue.id));return}et(Ue.id)}},"\u64A4\u9500\u516C\u5F00"),key:"4",show:!Ue.is_random&&Ue.public&&We==="0"},{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>Ve());return}Ve()}},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:!Ue.is_random&&!Ue.public&&Ue.apply&&We==="0",disabled:!0},{label:ge.createElement("a",{className:ee.actionLink,onClick:_t=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>Ie(_t,Ue));return}Ie(_t,Ue)}},"\u590D\u5236"),key:"8",show:We==="0"},{label:ge.createElement("a",{className:ee.actionLink,onClick:_t=>{je(Ue)}},Ue!=null&&Ue.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),key:"9",show:We==="0"},{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{const _t=()=>{Ue.is_random?ut(!0):(lt(""),rt(!0))};if(Ue!=null&&Ue.is_encrypt){ft(_t);return}_t()}},"\u5BFC\u51FA\u8BD5\u5377"),key:"6",show:!0},{label:ge.createElement("a",{className:ee.actionLink,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>Me(Ue.id));return}Me(Ue.id)}}," \u5220\u9664 "),key:"7",show:!Ue.public||We==="1"&&((Ye=Ue.author)==null?void 0:Ye.login)!==((ke=He.userInfo)==null?void 0:ke.login)&&(0,a.fn)()}].filter(_t=>_t.show),Tt=ge.createElement(ye.default,{forceSubMenuRender:!0,className:ee.menu,items:Et});return ge.createElement("div",{className:ee.itemWrap},ge.createElement("div",{className:ee.listWrap},ge.createElement("div",{className:`${ee.list} ${ee.flexCenter}`},ge.createElement("div",{className:ee.contentWrap},ge.createElement(he.Z,{align:"top"},Ne&&ge.createElement(ce.default,{disabled:Ue==null?void 0:Ue.is_encrypt,className:`${ee.checkBoxWrapper} mr10`,checked:ze.includes(Ue.id),onChange:_t=>{_e(Ue.id)}}),ge.createElement(ne.Z,null,ge.createElement(he.Z,{align:"middle",className:ee.titleWrap},ge.createElement("a",{onClick:()=>{const _t=()=>{if(Qe){const Gt=Ue.is_random?`/randompaper/detail/${Ue.id}`:`/paperlibrary/see/${Ue.id}?defaultActiveKey=${We}`;ie.history.push(Gt)}};if(Ue!=null&&Ue.is_encrypt){ft(_t);return}_t()}},ge.createElement("p",{className:ee.title,title:Ue.name},Ue.name)),ge.createElement(he.Z,{align:"middle"},(We==="0"||We==="2")&&ge.createElement(ge.Fragment,null,Ue.public?ge.createElement("div",{className:`${ee.typeIcon} ${ee.public}`},"\u5DF2\u516C\u5F00"):ge.createElement("div",{className:`${ee.typeIcon} ${ee.private}`},"\u81EA\u7528"),Ue.is_random&&ge.createElement("div",{className:`${ee.typeIcon} ${ee.random}`},"\u968F\u673A")),(We==="1"&&(0,a.ag)()||We==="0")&&Ue.changed&&ge.createElement("i",{className:"iconfont icon-jinggao1 c-red font16 ml10 current",onClick:ct})),(Ue==null?void 0:Ue.is_encrypt)&&ge.createElement(se.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"},ge.createElement("img",{src:ue,width:21,height:26,className:"ml10"})),(Ue==null?void 0:Ue.high_resources_consume)&&ge.createElement(ve.Z,{type:"exercise",style:{marginLeft:10,borderRadius:13,padding:"0 10px",width:"auto"}})),ge.createElement("div",{className:`${ee.flexRow}`},ge.createElement("div",{className:ee.content},"\u8BD5\u9898\u6570",ge.createElement("span",null,Ue.question_count)),ge.createElement("div",{className:ee.content},"\u603B\u5206",ge.createElement("span",null,Ue.total_score)),ge.createElement("div",{className:ee.content},"\u96BE\u5EA6",ge.createElement("span",null,Oe[Ue.difficulty]))))),ge.createElement("div",null,Qe&&ge.createElement("a",{className:`${ee.actionBtn}`,onClick:()=>{const _t=()=>{if(Ue!=null&&Ue.need_authorize){(0,x.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}qe(Ue.id,Ue)};if(Ue!=null&&Ue.is_encrypt){ft(_t);return}_t()}},"\u53D1\u9001\u81F3\u8BFE\u5802")))),ge.createElement("div",{className:ee.actionBar},ge.createElement("div",{className:ee.flexRow},ge.createElement("div",{className:ee.actionLeftItem},"\u66F4\u65B0",ge.createElement("span",null,Ue.update_time?re()(Ue.update_time).format("YYYY-MM-DD"):"")),ge.createElement("div",{className:ee.actionLeftItem},"\u4F7F\u7528\u6B21\u6570",ge.createElement("span",null,Ue.quotes)),We==="1"&&ge.createElement("div",{className:ee.actionLeftItem},"\u521B\u5EFA\u8005",ge.createElement("span",null,(De=Ue.author)==null?void 0:De.name)),We==="2"&&ge.createElement("div",{className:ee.actionLeftItem},"\u5206\u4EAB\u4EBA",ge.createElement("span",null,(Te=Ue.author)==null?void 0:Te.name))),ge.createElement("div",{className:ee.flexRow},((We==="0"||We==="2")&&!Ue.public||We==="1"&&((xe=Ue.author)==null?void 0:xe.login)!==((Re=He.userInfo)==null?void 0:Re.login)&&(0,a.ag)())&&ge.createElement(he.Z,{align:"middle",className:ee.actionLinkWrapper},ge.createElement("div",{className:ee.line},ge.createElement("b",{className:ee.b1}),ge.createElement("b",{className:ee.b2})),ge.createElement("a",{className:`${ee.actionLink}`,onClick:()=>{if(Ue!=null&&Ue.is_encrypt){ft(()=>Ze(Ue.id,Ue.is_random));return}Ze(Ue.id,Ue.is_random)}},ge.createElement("i",{className:`iconfont icon-bianji10 ${ee.actionIcon}`}),"\u7F16\u8F91")),Qe&&ge.createElement(he.Z,{align:"middle",className:ee.actionLinkWrapper},ge.createElement("div",{className:ee.line},ge.createElement("b",{className:ee.b1}),ge.createElement("b",{className:ee.b2})),ge.createElement(de.Z,{spinning:Xe},ge.createElement("a",{className:`${ee.actionLink}`,type:"primary",onClick:(0,b.throttle)(()=>{if(Ue!=null&&Ue.is_encrypt){ft(yt);return}yt()},3500)},ge.createElement("i",{className:`iconfont icon-monikaoshi2 ${ee.actionIcon}`}),"\u6A21\u62DF\u8003\u8BD5"))),(We==="0"||We==="2")&&ge.createElement(le.Z,{dropdownRender:()=>Tt},ge.createElement(he.Z,{align:"middle",className:ee.actionLinkWrapper},ge.createElement("div",{className:ee.line},ge.createElement("b",{className:ee.b1}),ge.createElement("b",{className:ee.b2})),ge.createElement("a",{className:`${ee.actionLink}`},ge.createElement("i",{className:`iconfont icon-gengduo5 font14 mr5 ${ee.actionIcon}`}),"\u66F4\u591A")))))),ge.createElement(ge.Fragment,null,ge.createElement(me.O7,{onCancel:()=>{it(we(Fe({},mt),{open:""}))},onFinish:()=>{var _t;Je==null||Je(),(_t=mt==null?void 0:mt.onFinish)==null||_t.call(mt)},open:(mt==null?void 0:mt.open)==="\u63D0\u793A",Data:Fe({},mt)})),ge.createElement(Ae.default,{width:450,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u7A7A\u767D\u8BD5\u5377\u683C\u5F0F",open:Ke,onCancel:()=>rt(!1),onOk:()=>Le(void 0,null,function*(){if(pt==""){E.ZP.info("\u8BF7\u9009\u62E9\u4E00\u79CD\u5BFC\u51FA\u683C\u5F0F");return}else if(pt=="pdf"){const _t=`/paperlibrary/see/${Ue.id}?defaultActiveKey=${We}&exportPDF=true`;ie.history.push({pathname:_t,state:{}})}else pt=="word"&&(0,z.ON)({id:Ue==null?void 0:Ue.id,middle_export:1,export_type:0});rt(!1)})},ge.createElement("div",{className:ee.export_type_modal},ge.createElement("div",{className:ee.export_type_modal_con},ge.createElement("div",{className:ee.type_item},ge.createElement("div",{className:`${ee.img_warp} ${pt=="pdf"?ee.img_warp_active:""}`,onClick:()=>lt("pdf")},ge.createElement("img",{src:fe(45614),width:70,height:70})),"pdf\u683C\u5F0F"),ge.createElement("div",{className:ee.type_item},ge.createElement("div",{className:`${ee.img_warp} ${pt=="word"?ee.img_warp_active:""}`,onClick:()=>lt("word")},ge.createElement("img",{src:fe(38347),width:70,height:70})),"word\u683C\u5F0F")))),ge.createElement(Ae.default,{width:450,title:"\u63D0\u793A",open:ht,centered:!0,okText:"\u53D1\u9001\u81F3\u8BFE\u5802",onCancel:()=>ut(!1),onOk:()=>Le(void 0,null,function*(){if(Ue!=null&&Ue.need_authorize){(0,x.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}qe(Ue.id,Ue),ut(!1)})},"\u7531\u4E8E\u8BE5\u8BD5\u5377\u4E3A\u968F\u673A\u7EC4\u5377\uFF0C\u8BF7\u53D1\u9001\u81F3\u8BFE\u5802\u540E\u518D\u8FDB\u884C\u5BFC\u51FA"))}},9516:function(gt,ot,fe){"use strict";fe.d(ot,{$i:function(){return be},K1:function(){return Ce},O7:function(){return Be},T$:function(){return Se}});var ae=fe(3918),Ae=fe(29297),E=fe(87513),ye=fe(89540),he=fe(61527),ce=fe(43418),ne=fe(78241),se=fe(8591),de=fe(92832),le=fe(95237),ie=fe(43604),oe=fe(59301),re=fe(65582),ee=fe(28209),a=fe.n(ee),y=fe(65862),x=fe(59301),b=Object.defineProperty,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,me=(Pe,Fe,we)=>Fe in Pe?b(Pe,Fe,{enumerable:!0,configurable:!0,writable:!0,value:we}):Pe[Fe]=we,ve=(Pe,Fe)=>{for(var we in Fe||(Fe={}))te.call(Fe,we)&&me(Pe,we,Fe[we]);if(z)for(var we of z(Fe))ue.call(Fe,we)&&me(Pe,we,Fe[we]);return Pe},ge=(Pe,Fe,we)=>new Promise((Le,Oe)=>{var Ge=He=>{try{Ue(we.next(He))}catch(Qe){Oe(Qe)}},Ne=He=>{try{Ue(we.throw(He))}catch(Qe){Oe(Qe)}},Ue=He=>He.done?Le(He.value):Promise.resolve(He.value).then(Ge,Ne);Ue((we=we.apply(Pe,Fe)).next())});const pe=Pe=>{const Fe=a().enc.Utf8.parse("c03f36595bd5610b");return a().AES.encrypt(Pe||"",Fe,{iv:Fe,mode:a().mode.CBC}).toString()},Se=({onCancel:Pe,open:Fe})=>x.createElement(ce.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Fe,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:Pe,onOk:()=>{re.history.push("/account/secure")}},x.createElement("span",null,"\u52A0\u5BC6\u5C01\u5B58\u4E4B\u540E\uFF0C\u5FD8\u8BB0\u5BC6\u7801\u65F6\u9700\u8981\u4F7F\u7528\u624B\u673A\u53F7\u8FDB\u884C\u5BC6\u7801\u91CD\u7F6E\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801")),be=({onCancel:Pe,onFinish:Fe,open:we,Data:Le})=>{const[Oe]=ne.default.useForm(),[,Ge,Ne]=(0,he.U)((Le==null?void 0:Le.type)=="exercise"?E.yE:Ae.yE,{id:Le==null?void 0:Le.id});return(0,oe.useEffect)(()=>{we||Oe.resetFields()},[we]),x.createElement(ce.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:we,destroyOnClose:!0,confirmLoading:Ge,onCancel:Pe,onOk:()=>{Oe==null||Oe.submit()}},x.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},x.createElement("i",{className:"iconfont icon-tishi7"}),x.createElement("span",null,"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58\u540E\uFF0C\u6240\u6709\u7528\u6237\u9700\u8981\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u624D\u80FD\u8FDB\u884C\u67E5\u770B\u3001\u7F16\u8F91\u8BD5\u5377\u7B49\u64CD\u4F5C\uFF01")),x.createElement(ne.default,{form:Oe,className:"mt-20px",size:"large",colon:!1,onFinish:Ue=>ge(void 0,null,function*(){const He=yield Ne({id:Le==null?void 0:Le.id,is_encrypt:!0,pwd:pe(Ue.pwd),pwd_confirm:pe(Ue.pwd_confirm)});He.status===0?(se.ZP.success("\u52A0\u5BC6\u6210\u529F"),Fe==null||Fe(He),Pe()):Oe.setFields([{name:"pwd",errors:[He==null?void 0:He.message]}])})},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),x.createElement(ne.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:Ue})=>({validator(He,Qe){return!Qe||Ue("pwd")===Qe?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"}))))},Ee=({onCancel:Pe,open:Fe,Data:we})=>{var Le;const[Oe]=ne.default.useForm(),[Ge]=ne.default.useForm(),[Ne,Ue]=(0,oe.useState)(!1),[He,Qe]=(0,oe.useState)(0),[,,We]=(0,he.U)(ye.o1,{type:(we==null?void 0:we.type)=="exercise"?12:11}),[,ze,_e]=(0,he.U)((we==null?void 0:we.type)=="exercise"?E.dp:Ae.dp,{id:we==null?void 0:we.id}),[,Ve,tt]=(0,he.U)((we==null?void 0:we.type)=="exercise"?E.Qc:Ae.Qc,{id:we==null?void 0:we.id});return(0,oe.useEffect)(()=>{var et;we!=null&&we.phone&&Oe.setFieldsValue({login:(et=we==null?void 0:we.phone)==null?void 0:et.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[we==null?void 0:we.phone]),(0,oe.useEffect)(()=>{He>0&&setTimeout(()=>{Qe(He-1)},1e3)},[He]),(0,oe.useEffect)(()=>{Fe||(Oe.resetFields(),Ge.resetFields())},[Fe]),x.createElement(x.Fragment,null,x.createElement(ce.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:Fe,destroyOnClose:!0,confirmLoading:ze,onCancel:Pe,onOk:()=>{Oe==null||Oe.submit()}},x.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),x.createElement(ne.default,{className:"mt20",initialValues:{phone:(Le=we==null?void 0:we.phone)==null?void 0:Le.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:Oe,size:"large",colon:!1,onFinish:et=>ge(void 0,null,function*(){console.log("allValue",et);const dt=yield _e({code:et==null?void 0:et.code,login:we==null?void 0:we.phone,id:we==null?void 0:we.id});dt.status===0?(se.ZP.success("\u6821\u9A8C\u6210\u529F"),Pe==null||Pe(),Ue(!0)):Oe.setFields([{name:"code",errors:[dt==null?void 0:dt.message]}])})},x.createElement(ne.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},x.createElement(de.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),x.createElement(le.Z,{wrap:!1,gutter:20},x.createElement(ie.Z,{flex:1},x.createElement(ne.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},x.createElement(de.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),x.createElement(ie.Z,null,x.createElement(ae.op,{openLoading:!0,size:"large",disabled:He>0,style:{borderRadius:"4px"},onClick:()=>ge(void 0,null,function*(){const et=yield We({type:(we==null?void 0:we.type)=="exercise"?12:11,login:we==null?void 0:we.phone,smscode:(0,y.M)(we==null?void 0:we.phone)});(et==null?void 0:et.status)===1&&(se.ZP.success("\u53D1\u9001\u6210\u529F"),Qe(60))})},He===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${He})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),x.createElement(ce.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:Ne,destroyOnClose:!0,confirmLoading:Ve,onCancel:()=>{Ue(!1)},onOk:()=>{Ge==null||Ge.submit()}},x.createElement(ne.default,{className:"mt20",form:Ge,size:"large",colon:!1,onFinish:et=>ge(void 0,null,function*(){console.log("allValue",et),(yield tt(ve({id:we==null?void 0:we.id},et))).status===0&&(se.ZP.success("\u91CD\u7F6E\u6210\u529F"),Ue(!1))})},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),x.createElement(ne.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:et})=>({validator(dt,$e){return!$e||et("pwd")===$e?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})))))},Ce=({onCancel:Pe,onFinish:Fe,open:we,Data:Le})=>{const[Oe]=ne.default.useForm(),[Ge,Ne]=(0,oe.useState)(!1),[,Ue,He]=(0,he.U)((Le==null?void 0:Le.type)=="exercise"?E.yE:Ae.yE,{id:Le==null?void 0:Le.id});return(0,oe.useEffect)(()=>{we||Oe.resetFields()},[we]),x.createElement(x.Fragment,null,x.createElement(ce.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:we,destroyOnClose:!0,confirmLoading:Ue,onCancel:Pe,onOk:()=>{Oe==null||Oe.submit()}},x.createElement(le.Z,{wrap:!1,align:"top",gutter:16},x.createElement(ie.Z,{flex:1},x.createElement(ne.default,{form:Oe,size:"large",colon:!1,onFinish:Qe=>ge(void 0,null,function*(){const We=yield He({id:Le==null?void 0:Le.id,is_encrypt:!1,pwd:pe(Qe.pwd)});(We==null?void 0:We.status)===0?(se.ZP.success("\u89E3\u5C01\u6210\u529F"),Fe==null||Fe(We),Pe==null||Pe()):Oe.setFields([{name:"pwd",errors:[We==null?void 0:We.message]}])})},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),x.createElement(ie.Z,null,x.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Ne(!0),Pe==null||Pe()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),x.createElement(Ee,{onCancel:()=>{Ne(!1)},open:Ge,Data:ve({},Le)}))},Be=({onCancel:Pe,onFinish:Fe,open:we,Data:Le})=>{const[Oe]=ne.default.useForm(),[Ge,Ne]=(0,oe.useState)(!1),[,Ue,He]=(0,he.U)((Le==null?void 0:Le.type)=="exercise"?E.yE:Ae.yE,{id:Le==null?void 0:Le.id});return(0,oe.useEffect)(()=>{we||Oe.resetFields()},[we]),x.createElement(x.Fragment,null,x.createElement(ce.default,{title:"\u63D0\u793A",width:619,centered:!0,open:we,destroyOnClose:!0,confirmLoading:Ue,onCancel:Pe,onOk:()=>{Oe==null||Oe.submit()}},x.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},x.createElement("i",{className:"iconfont icon-tishi7"}),x.createElement("span",null,"\u8BD5\u5377\u5DF2\u8FDB\u884C\u52A0\u5BC6\u5C01\u5B58\uFF0C\u5982\u9700\u8FDB\u884C\u64CD\u4F5C\uFF0C\u8BF7\u5148\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u8FDB\u884C\u89E3\u5C01\uFF01")),x.createElement(ne.default,{form:Oe,className:"mt-20px",size:"large",colon:!1,onFinish:Qe=>ge(void 0,null,function*(){const We=yield He({id:Le==null?void 0:Le.id,is_encrypt:!1,pwd:pe(Qe.pwd)});(We==null?void 0:We.status)===0?(se.ZP.success("\u89E3\u5C01\u6210\u529F"),Fe==null||Fe(We),Pe==null||Pe()):Oe.setFields([{name:"pwd",errors:[We==null?void 0:We.message]}])})},x.createElement(le.Z,{wrap:!1,gutter:20},x.createElement(ie.Z,{flex:1},x.createElement(ne.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},x.createElement(de.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),x.createElement(ie.Z,null,x.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Ne(!0),Pe==null||Pe()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),x.createElement(Ee,{onCancel:()=>{Ne(!1)},open:Ge,Data:ve({},Le)}))}},74609:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return He}});var ae=fe(59301),Ae=fe(65582),E=fe(92832),ye=fe(8591),he=fe(43418),ce=fe(5871),ne=fe(61621),se=fe(1710),de=fe(3113),le=fe(70414),ie=Object.defineProperty,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(Qe,We,ze)=>We in Qe?ie(Qe,We,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Qe[We]=ze,y=(Qe,We)=>{for(var ze in We||(We={}))re.call(We,ze)&&a(Qe,ze,We[ze]);if(oe)for(var ze of oe(We))ee.call(We,ze)&&a(Qe,ze,We[ze]);return Qe};const x=Qe=>React.createElement("svg",y({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Qe),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",fill:"#68C79F",fillRule:"nonzero"}));var b="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",z={flex_box_center:"flex_box_center___LsrKL",flex_space_between:"flex_space_between___sZBht",flex_box_vertical_center:"flex_box_vertical_center___QNt7D",flex_box_center_end:"flex_box_center_end___S9zs3",flex_box_column:"flex_box_column___Y5tcm",title:"title___t4qlt",tip:"tip___MtKbx",radioWrap:"radioWrap___fp3kY",row:"row___IoDN5",radio:"radio___vuEDI",colorFF0000:"colorFF0000____5DYm",pagination:"pagination___bvqCI",modalColumn:"modalColumn___szBPb",modalRow:"modalRow___mtd9M",sup:"sup___JDuYL",search:"search___wNY_F",bottom:"bottom___HvFhF",yes:"yes___xmznh",no:"no___vEJlu"},te=fe(65862),ue={sendToClass:"sendToClass___le_BX"},me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AAACeCAYAAABn7wuoAAAgAElEQVR4Xu19CXQcx3nmV90zwOAGCBAgeN8ST0k8JFkWLVGyfMqJN7EVO4eP2Ov1Rkle7mSz2fVq3yZ2Nptdx95sNo6zvvISW5aP+PmQLVuSL52ULIo6KJHiJZ7gAeLGzHTVv++vrmrU9MwAM8CAuKbf4+Ngpru6u+qrv/7j+/8SqB5zugeIyD/ZjzXLm3FOCDEwp1/mCj28uEL3qd5mGnqAiLyLw9md54a9jZs7/O8LIc5Nw23mXZNV0M/RISWiGgA7+jNYN5qVorPB/6kQ4ugcfZ0r+thV0F/R7q7MzYiokQEvgZX7zwDXdAM+MAjgG0IIVZm7zN9WqqCfY2PLEj4AdgtgDSSwr0diV7fPbyF94EtV0E88oFXQT9xHs+aMV4nqlgPXAFgrAe/ikEQqCTTURKD/ihAiM2seeJY+SBX0s3Rg4o/FRiuA10iW8OZ4+ozEtk4fSY15kA88K4Q4MNlXOnWJVi5bJE5M9vq5cl0V9HNkpIhoSwa41gf0mEkAPf1AZwPgh6AHBTiZTIqHy30lVpmePY01K1qxYVGD+Ga518+186ugnwMjRkRLJXADgAb7uKf6w0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hGAf/JSOaZfIvCOhYWnuMOCvGLtTGqJr9mKW7MMAngdwAMDByUr2GZX0ManPdXRY2r8b4c4mHRW9/5oFcCkvzntD83b3PzXSfVgIEW3UXkpDhc6ddkmf70ZEyZkHzQAAAcRJREFUxIBnbw9XU9taSUmcjqGbd21kjb5+3BioqZl6w6sCesfoZcnPiSrbTT4uUxx4RbiqzzFTnVlpt6QesD52Bjfv/MfR1C4hxGBJrUzi5FkBm6m1wxFd5vRcB2C1mQyV0oKTGMQ5dgkHk1iac2LHT8xnJYS4ajXOZwX0Md2fn4FBz9WTWQ3ajTm979Ucg+DVe1z2wHDK3hkAzG+/OF2GaamvMOugz2P8NhrQc9U1NoBZBeI9bSvJ6qWO7uycz2oLS21mO/K/+wB8HwBzYtgoZUN1Vo+yAn0BI3gJAHZ/MvBXmP/ZDVo5yqsHWDfnlDyW5KyX//Bq6OeT6YKyB71jBLOk5wnQaaK+bA9w1YZKVtdkRn56rhkA8Br70I0kPyeEYIpAWR9zBvTxXiQilvbM+GT1h12hTHfmSg48OXgi8P9z9v3KCDWsrnCQiOm7rK6wJGdvC285z6pKUA4qSyn9Ne9AQURcoY3pEJzswt4gnhi8IrChPO/et5TBLvJcGxw6YkDOQH+FA0ZCCPa8zPlj3oPA5PlymiMnwPDBK8EGQ5FgliivFPO+H/IglSU4S2/OMmLXIafXWSP0ihCCE6vn5fH/AynvqKbJosiLAAAAAElFTkSuQmCC",pe=({createState:Qe,refreshLoading:We,onRefresh:ze=()=>{},onCreate:_e=()=>{}})=>ae.createElement("div",{className:ue.sendToClass},Qe?ae.createElement(ae.Fragment,null,ae.createElement("img",{src:me,alt:"\u7A7A"}),ae.createElement("div",null,"\u60A8\u8FD8\u6CA1\u6709\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF0C\u65E0\u6CD5\u5C06\u8BD5\u5377\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u3002"),ae.createElement(de.ZP,{onClick:_e,type:"primary",ghost:!0},"\u7ACB\u5373\u521B\u5EFA")):ae.createElement(ae.Fragment,null,ae.createElement("img",{src:ve,alt:"\u7A7A"}),ae.createElement("div",null,"\u5DF2\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF1F\u8BF7\u5237\u65B0\u5217\u8868"),ae.createElement(de.ZP,{loading:We,onClick:ze,type:"primary",ghost:!0},"\u7ACB\u5373\u5237\u65B0"))),Se=fe(60979),be=fe(96935),Ee=fe(89392),Ce=fe(83028),Be=fe(33276),Pe=fe(59301),Fe=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(Qe,We)=>{var ze={};for(var _e in Qe)we.call(Qe,_e)&&We.indexOf(_e)<0&&(ze[_e]=Qe[_e]);if(Qe!=null&&Fe)for(var _e of Fe(Qe))We.indexOf(_e)<0&&Le.call(Qe,_e)&&(ze[_e]=Qe[_e]);return ze},Ge=(Qe,We,ze)=>new Promise((_e,Ve)=>{var tt=$e=>{try{dt(ze.next($e))}catch(Ze){Ve(Ze)}},et=$e=>{try{dt(ze.throw($e))}catch(Ze){Ve(Ze)}},dt=$e=>$e.done?_e($e.value):Promise.resolve($e.value).then(tt,et);dt((ze=ze.apply(Qe,We)).next())});const Ne=E.default.Search,Ue=Qe=>{var We=Qe,{paperlibrary:ze,globalSetting:_e,loading:Ve,dispatch:tt}=We,et=Oe(We,["paperlibrary","globalSetting","loading","dispatch"]),dt,$e,Ze,Me;const[qe,Ie]=(0,ae.useState)(""),[je,Je]=(0,ae.useState)([]),[Ye,ke]=(0,ae.useState)([]),[De,Te]=(0,ae.useState)(!1),[xe,Re]=(0,ae.useState)(!0),[Xe,nt]=(0,ae.useState)(!0),[Ke,rt]=(0,ae.useState)(!0),[ht,ut]=(0,ae.useState)(!1),[pt,lt]=(0,ae.useState)(!1),mt=(Ze=($e=(dt=ze.actionTabs)==null?void 0:dt.params)==null?void 0:$e.data)==null?void 0:Ze.is_random,[it,ct]=(0,ae.useState)(!1),[ft,yt]=(0,ae.useState)({}),[Et,Tt]=(0,ae.useState)(!1),[_t,Gt]=(0,ae.useState)(!1),[hn,Rn]=(0,ae.useState)([]);(0,ae.useEffect)(()=>{var Dn;if(ze.actionTabs.key==="Paperlibrary-SendToClass"){const{dataSource:qn=[],type:Fn}=((Dn=ze.actionTabs)==null?void 0:Dn.params)||{},Ct=qn.filter(cn=>![100,120,150].includes(cn.total_score));Ct.length?(Gt(Fn),Rn(Ct)):Tt(!0)}},[(Me=ze==null?void 0:ze.actionTabs)==null?void 0:Me.key]),(0,ae.useEffect)(()=>{dn()},[]);const bn=()=>{ke([]),Ie(""),dn(!0),Tt(!1),Gt(!1),tt({type:"paperlibrary/setActionTabs",payload:{}})},dn=Dn=>Ge(void 0,null,function*(){nt(!0);const qn=yield tt({type:"paperlibrary/getCourseList",payload:{search:Dn?"":qe}});qn&&(Je((qn==null?void 0:qn.courses)||[]),Re(!0),ut(!1)),nt(!1),rt(!1)}),lr=Dn=>{const qn=parseInt(Dn);return(0,Ee.isNaN)(qn)?"":qn},jn=()=>Ge(void 0,null,function*(){var Dn,qn,Fn,Ct,cn,nn,Sn;if(!Ye.length){ye.ZP.info("\u60A8\u9700\u8981\u9009\u62E9\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),Te(!0);return}const Ln=yield tt({type:"paperlibrary/postExistCourse",payload:{course_id:mt?Ye==null?void 0:Ye[0]:Ye,examination_bank_ids:((qn=(Dn=ze.actionTabs)==null?void 0:Dn.params)==null?void 0:qn.examination_bank_ids)||((Ct=(Fn=ze.actionTabs)==null?void 0:Fn.params)==null?void 0:Ct.id)}}),On=()=>Ge(void 0,null,function*(){var mn,Pt,Bt,xt,tn,Bn;lt(!0);let fn=yield(0,Se.Tr)({id:(Pt=(mn=ze.actionTabs)==null?void 0:mn.params)==null?void 0:Pt.id,course_id:mt?Ye==null?void 0:Ye[0]:Ye,type:(xt=(Bt=ze.actionTabs)==null?void 0:Bt.params)!=null&&xt.isBatch?"batch_examination_bank":"examination_bank",examination_bank_ids:(Bn=(tn=ze.actionTabs)==null?void 0:tn.params)==null?void 0:Bn.examination_bank_ids});lt(!1),(fn==null?void 0:fn.student_count)===0?yield Mn([]):yt(fn),yield new Promise(Sr=>setTimeout(()=>Sr(),1e3))});if(Ln.status==0&&((cn=Ln.data)==null?void 0:cn.count)>0){he.default.confirm({icon:null,title:"\u63D0\u793A",centered:!0,width:596,content:Pe.createElement("div",{style:{userSelect:"none"}},"\u5F53\u524D\u6559\u5B66\u8BFE\u5802\u4E2D\u5DF2\u5B58\u5728\u8BD5\u5377",(Sn=(nn=Ln.data)==null?void 0:nn.list)==null?void 0:Sn.map((mn,Pt)=>{var Bt;return Pe.createElement(Pe.Fragment,null,Pe.createElement("span",{style:{color:"#FA6400"}},"\u300A",mn==null?void 0:mn.name,"\u300B"),Pt!==((Bt=Ln.data)==null?void 0:Bt.count)-1&&Pe.createElement("span",null,"\u3001"))}),"\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u9700\u8981\u91CD\u590D\u53D1\u9001\uFF1F"),onOk:()=>Ge(void 0,null,function*(){yield On()})}),yield new Promise(mn=>setTimeout(()=>mn(),1e3));return}yield On()}),Mn=Dn=>Ge(void 0,null,function*(){var qn,Fn,Ct,cn,nn,Sn;if(!mt){ct(!0);const Pt=yield tt({type:(Fn=(qn=ze.actionTabs)==null?void 0:qn.params)!=null&&Fn.isBatch?"paperlibrary/postBatchSendToCourse":"paperlibrary/sendToClass",payload:{course_id:mt?Ye==null?void 0:Ye[0]:Ye,id:(cn=(Ct=ze.actionTabs)==null?void 0:Ct.params)==null?void 0:cn.id,examination_bank_ids:(Sn=(nn=ze.actionTabs)==null?void 0:nn.params)==null?void 0:Sn.examination_bank_ids,shixuns_info:Dn.map(Bt=>({shixun_id:Bt.id,is_copy:Bt.is_copy,is_use:Bt.is_use,course_id:Bt.course_id}))}});ct(!1),Pt&&Pt.status===0&&(Tt(!1),tt({type:"paperlibrary/setActionTabs",payload:{}}),ke([]),he.default.confirm({title:"\u63D0\u793A",okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",width:480,centered:!0,closable:!0,onOk:()=>{window.location.href=`${Pt.data[0].first_category_url}`},content:Pe.createElement("p",null,"\u8BD5\u5377\u53D1\u9001\u6210\u529F\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u524D\u5F80\u6559\u5B66\u8BFE\u5802\u8FDB\u884C\u53D1\u5E03\uFF1F")}),ye.ZP.success("\u53D1\u9001\u6210\u529F"));return}ct(!0),setTimeout(()=>{ct(!1)},500);const Ln=je.find(Pt=>Pt.course_id===(Ye==null?void 0:Ye[0]));let On=1,mn=he.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:Pe.createElement("div",{className:z.modalColumn},Pe.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},Pe.createElement("img",{style:{marginRight:5},src:le.Z}),"\u968F\u673A\u7EC4\u5377\u7C7B\u578B\u7684\u8BD5\u5377\u6309\u7167\u51FA\u5377\u6570\u91CF\u5BF9\u6307\u5B9A\u8BFE\u5802\u751F\u6210\u4E0D\u91CD\u590D\u7684\u8BD5\u5377\u3002"),Pe.createElement("div",{style:{paddingLeft:18}},"\u8BFE\u5802\u540D\u79F0: ",Ln==null?void 0:Ln.course_name),Pe.createElement("div",{style:{paddingLeft:9},className:z.modalRow},Pe.createElement("sup",{className:z.sup},"*"),Pe.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),Pe.createElement(ce.Z,{parser:lr,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:On,onChange:Pt=>{On=Pt;const Bt=document.getElementById("model_error");On<1||On>50?Bt.style.display="block":Bt.style.display="none"}})),Pe.createElement("div",{style:{display:"none",marginLeft:115},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:bn,onOk:()=>Ge(void 0,null,function*(){var Pt,Bt;if(On<1||On>50){const tn=document.getElementById("model_error");return tn.style.display="block",Promise.reject()}mn.update({cancelButtonProps:{disabled:!0}});const xt=yield tt({type:"paperlibrary/sendToClass",payload:{course_id:Ye==null?void 0:Ye[0],id:(Bt=(Pt=ze.actionTabs)==null?void 0:Pt.params)==null?void 0:Bt.id,num:On,shixuns_info:Dn.map(tn=>({shixun_id:tn.id,is_copy:tn.is_copy,is_use:tn.is_use}))}});mn.update({cancelButtonProps:{disabled:!1}}),xt&&xt.status===0&&(he.default.destroyAll(),he.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,title:"\u63D0\u793A",content:Pe.createElement("div",{className:z.modalColumn},Pe.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},Pe.createElement("img",{style:{marginRight:5},src:b}),"\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01")),okText:"\u524D\u5F80\u8BFE\u5802",cancelText:"\u8FD4\u56DE\u8BD5\u5377\u5E93",onCancel:()=>{bn()},onOk:()=>{bn(),setTimeout(()=>{var tn,Bn;const fn=(Bn=(tn=xt==null?void 0:xt.first_category_url)==null?void 0:tn.split("/"))==null?void 0:Bn[2];(0,te.xg)(`/classrooms/${fn}/exercise`)},1e3)}}))})})}),cr=()=>Ge(void 0,null,function*(){ut(!0),yield dn()}),hr=[{title:"\u8BFE\u5802\u540D\u79F0",dataIndex:"course_name",ellipsis:!0},{title:"\u5206\u73ED\u6570\u91CF",dataIndex:"course_group_count",width:90,ellipsis:!0},{title:"\u5B66\u5458\u4EBA\u6570",dataIndex:"course_member_count",width:90,ellipsis:!0}];return Pe.createElement("div",null,Pe.createElement(he.default,{centered:!0,keyboard:!1,closable:!1,open:Et,title:"\u53D1\u9001\u81F3\u8BFE\u5802",maskClosable:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Ve["paperlibrary/sendToClass"]||pt||!!Ve["paperlibrary/postExistCourse"],width:752,footer:!1,onOk:jn,destroyOnClose:!0,onCancel:bn},Pe.createElement("div",{className:z.wrap},Pe.createElement("div",{className:"mb10"},Pe.createElement(Ne,{placeholder:"\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:qe,className:z.search,onChange:Dn=>{Ie(Dn.target.value),Dn.target.value||dn(!0)},onSearch:Dn=>{Ie(Dn),dn(),ke([])}})),Pe.createElement(ne.Z,{loading:Ke},je.length?Pe.createElement("div",{className:z.radioWrap},Pe.createElement(se.default,{bordered:!1,scroll:(je==null?void 0:je.length)<=7?{}:{y:350},loading:Xe,rowKey:"course_id",pagination:!1,dataSource:je,columns:hr,onRow:Dn=>({onClick:qn=>{if(mt)ke([Dn==null?void 0:Dn.course_id]);else{if(!mt&&!Ye.includes(Dn.course_id)&&Ye.length>0)return;Ye!=null&&Ye.includes(Dn==null?void 0:Dn.course_id)?ke(Ye==null?void 0:Ye.filter(Fn=>Fn!==(Dn==null?void 0:Dn.course_id))):ke([...Ye,Dn==null?void 0:Dn.course_id])}}}),rowSelection:{type:"radio",hideSelectAll:!0,selectedRowKeys:Ye,onChange:Dn=>{ke(Dn),Te(!1)}}})):!qe&&!Xe&&Pe.createElement(pe,{createState:xe,refreshLoading:ht,onRefresh:cr,onCreate:()=>{Re(!1),(0,te.xg)("/classrooms/new")}})),De&&Pe.createElement("div",{className:z.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"),Pe.createElement("div",{className:z.bottom,style:{display:"flex",alignItems:"center"}},Pe.createElement("div",{style:{flex:1}},Pe.createElement("div",{className:z.title},Pe.createElement("img",{src:le.Z,style:{objectFit:"contain"}}),"\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802\u5E76\u4E3A\u73ED\u7EA7\u5B66\u5458\u751F\u6210\u8003\u8BD5\u8BD5\u5377")),Pe.createElement("div",null,Pe.createElement(de.ZP,{onClick:bn,className:z.no,style:{marginRight:20}},"\u53D6\u6D88"),Pe.createElement(be.Z,{onClick:jn,className:z.yes},"\u786E\u8BA4"))))),Pe.createElement(Ce.Z,{resdata:ft,type:"exercise",okloading:it,oktext:(ft==null?void 0:ft.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Dn=>{Mn(Dn)}}),Pe.createElement(Be.Z,{text:"\u662F\u5426\u7EE7\u7EED\u53D1\u9001\u5230\u6559\u5B66\u8BFE\u5802\u4E2D\uFF1F",okText:"\u786E\u8BA4\u53D1\u9001",visible:_t,dataSource:hn,onSuccess:()=>{Gt(!1),Tt(!0)},onClose:bn}))};var He=(0,Ae.connect)(({paperlibrary:Qe,loading:We,globalSetting:ze})=>({paperlibrary:Qe,globalSetting:ze,loading:We.effects}))(Ue)},47354:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(89392),ce=fe.n(he),ne=fe(96601),se=fe(6339),de=fe(24334),le=fe.n(de),ie=fe(38147),oe=fe(67172),re=fe(88125),ee=fe(56656),a=fe.n(ee),y=fe(59301),x=Object.defineProperty,b=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=(Ee,Ce,Be)=>Ce in Ee?x(Ee,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ee[Ce]=Be,ge=(Ee,Ce)=>{for(var Be in Ce||(Ce={}))ue.call(Ce,Be)&&ve(Ee,Be,Ce[Be]);if(te)for(var Be of te(Ce))me.call(Ce,Be)&&ve(Ee,Be,Ce[Be]);return Ee},pe=(Ee,Ce)=>b(Ee,z(Ce)),Se=(Ee,Ce,Be)=>new Promise((Pe,Fe)=>{var we=Ge=>{try{Oe(Be.next(Ge))}catch(Ne){Fe(Ne)}},Le=Ge=>{try{Oe(Be.throw(Ge))}catch(Ne){Fe(Ne)}},Oe=Ge=>Ge.done?Pe(Ge.value):Promise.resolve(Ge.value).then(we,Le);Oe((Be=Be.apply(Ee,Ce)).next())});const be=({problemset:Ee,dispatch:Ce})=>{var Be,Pe,Fe,we,Le;const[Oe,Ge]=(0,ae.useState)({}),[Ne,Ue]=(0,ae.useState)([]),[He,Qe]=(0,ae.useState)(!1),[We,ze]=(0,ae.useState)(!1),[_e,Ve]=(0,ae.useState)({}),tt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Ze,Me,qe;if(((Ze=Ee==null?void 0:Ee.actionTabs)==null?void 0:Ze.key)==="BPROGRAM"){const Ie=(0,he.cloneDeep)((Me=Ee==null?void 0:Ee.actionTabs)==null?void 0:Me.params);Ge(Ie),Ue((qe=Ie==null?void 0:Ie.standard_answer)==null?void 0:qe.map(je=>({value:"",answer:(je==null?void 0:je.answer_text)||[]})))}},[(Be=Ee==null?void 0:Ee.actionTabs)==null?void 0:Be.key]);function et(){return new Date().getTime()}const dt=()=>Se(void 0,null,function*(){var Ze,Me,qe,Ie,je;if(Ne.some(ke=>(ke==null?void 0:ke.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const ke=(0,he.cloneDeep)((Ze=Ee==null?void 0:Ee.actionTabs)==null?void 0:Ze.params);Ue([...(Me=ke==null?void 0:ke.standard_answer)==null?void 0:Me.map(De=>({value:"",answer:(De==null?void 0:De.answer_text)||[],type:""}))]),Qe(!He);return}else{let ke=Ne==null?void 0:Ne.map((De,Te)=>pe(ge({},De),{type:De.types}));Ue(ke)}console.log(Ne),ze(!0);let Je=yield(0,ie.ZP)(`/api/problems/${(qe=Oe==null?void 0:Oe.program_attr)==null?void 0:qe.identifier}/start.json`,{method:"get"});const Ye=yield(0,oe.n4)(Je==null?void 0:Je.identifier,{code:(Ie=Oe==null?void 0:Oe.program_attr)==null?void 0:Ie.code,language:(je=Oe==null?void 0:Oe.program_attr)==null?void 0:je.language,answers:Ne==null?void 0:Ne.map(ke=>ke.value)});if((Ye==null?void 0:Ye.status)===0){let De=function(){return Se(this,null,function*(){const{status:Te,message:xe,data:Re}=yield(0,oe.rX)(Je==null?void 0:Je.identifier,"submit"),nt=et()-ke>10*1e3*(Ne==null?void 0:Ne.length);if(Te!==0&&!nt&&setTimeout(De,1e3),nt){ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),ze(!1);return}if(Te===0){ze(!1);let Ke=Ne==null?void 0:Ne.map((rt,ht)=>pe(ge({},rt),{type:(Re==null?void 0:Re.right_arr[ht])===1?"success":"warning"}));Ue(Ke),Ve(Re),Re.status===2&&(ze(!1),ye.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const ke=et();yield(0,oe.bM)(Je==null?void 0:Je.identifier,{}),De()}else ze(!1);Qe(!He)}),$e=()=>{Ge({}),Ue([]),Qe(!1),Ce({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:Ee.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:He?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:dt,onCancel:$e,okButtonProps:{loading:We}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(se.Z,{value:(Pe=Oe==null?void 0:Oe.program_attr)==null?void 0:Pe.description}),((Fe=Oe==null?void 0:Oe.program_attr)==null?void 0:Fe.code)&&y.createElement(se.Z,{showProgramFill:!0,onFillChange:Ze=>{let Me=Ze==null?void 0:Ze.map((qe,Ie)=>ge({},qe));Ue(Me)},programFillValue:Ne,value:de.Base64.decode((we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.code)}),He&&y.createElement(ae.Fragment,null,y.createElement("div",{className:ne.Z.line}),(Le=Oe==null?void 0:Oe.standard_answer)==null?void 0:Le.map((Ze,Me)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Me+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ze==null?void 0:Ze.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(_e==null?void 0:_e.id)&&_e.status!==2&&y.createElement(ye.default,{open:(_e==null?void 0:_e.id)&&_e.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ve({})},onCancel:()=>{Ve({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:_e.status!==0&&"#E30000"}},re.Im[_e.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(_e.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},_e.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},_e.execute_time,"ms"))),y.createElement(re.Y4,ge({},_e)))))};ot.Z=(0,Ae.connect)(({problemset:Ee})=>({problemset:Ee}))(be)},14833:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(92832),ce=fe(89392),ne=fe.n(ce),se=fe(96601),de=fe(6339),le=fe(27687),ie=fe(59301),oe=Object.defineProperty,re=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ve,ge,pe)=>ge in ve?oe(ve,ge,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[ge]=pe,z=(ve,ge)=>{for(var pe in ge||(ge={}))y.call(ge,pe)&&b(ve,pe,ge[pe]);if(a)for(var pe of a(ge))x.call(ge,pe)&&b(ve,pe,ge[pe]);return ve},te=(ve,ge)=>re(ve,ee(ge)),ue=(ve,ge,pe)=>new Promise((Se,be)=>{var Ee=Pe=>{try{Be(pe.next(Pe))}catch(Fe){be(Fe)}},Ce=Pe=>{try{Be(pe.throw(Pe))}catch(Fe){be(Fe)}},Be=Pe=>Pe.done?Se(Pe.value):Promise.resolve(Pe.value).then(Ee,Ce);Be((pe=pe.apply(ve,ge)).next())});const me=({problemset:ve,dispatch:ge})=>{var pe,Se;const[be,Ee]=(0,ae.useState)({}),[Ce,Be]=(0,ae.useState)([]),[Pe,Fe]=(0,ae.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Ne,Ue,He;if(((Ne=ve==null?void 0:ve.actionTabs)==null?void 0:Ne.key)==="COMPLETION"){const Qe=(0,ce.cloneDeep)((Ue=ve==null?void 0:ve.actionTabs)==null?void 0:Ue.params);Ee(Qe),Be((He=Qe==null?void 0:Qe.standard_answer)==null?void 0:He.map(We=>z({value:"",answer:(We==null?void 0:We.answer_text)||[]},We)))}},[(pe=ve==null?void 0:ve.actionTabs)==null?void 0:pe.key]);const Le=()=>ue(void 0,null,function*(){var Ne,Ue;if(Ce.some(He=>(He==null?void 0:He.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Pe){const He=(0,ce.cloneDeep)((Ne=ve==null?void 0:ve.actionTabs)==null?void 0:Ne.params);Be((Ue=He==null?void 0:He.standard_answer)==null?void 0:Ue.map(Qe=>z({value:"",answer:(Qe==null?void 0:Qe.answer_text)||[]},Qe)))}Fe(!Pe)}),Oe=(Ne,Ue)=>{const He=Ce.map((Qe,We)=>te(z({},Qe),{value:We===Ue?Ne.target.value:Qe.value}));Be(He)},Ge=()=>{Ee({}),Be([]),Fe(!1),ge({type:"problemset/setActionTabs",payload:{}})};return ie.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:ve.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Pe?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Le,onCancel:Ge},ie.createElement("div",null,ie.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ie.createElement(de.Z,{value:be==null?void 0:be.name}),Ce==null?void 0:Ce.map((Ne,Ue)=>{const{value:He,answer:Qe}=Ne;let We="";return Pe&&(Qe!=null&&Qe.includes(He))&&(We=se.Z.green),Pe&&!(Qe!=null&&Qe.includes(He))&&(We=se.Z.red),ie.createElement("div",{key:Ue,style:{pointerEvents:Pe?"none":"auto",marginTop:10},className:`${se.Z.row} ${We}`},ie.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ue+1,"\u7B54\u6848:"),(Ne==null?void 0:Ne.model)===1?ie.createElement(he.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:ze=>Oe(ze,Ue),value:He}):ie.createElement(le.Z,{value:He,onChange:ze=>{const _e=Ce.map((Ve,tt)=>te(z({},Ve),{value:tt===Ue?ze:Ve.value}));Be(_e)}}),Pe&&(Qe==null?void 0:Qe.includes(He))&&ie.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Pe&&!(Qe!=null&&Qe.includes(He))&&ie.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Pe&&ie.createElement(ae.Fragment,null,ie.createElement("div",{className:se.Z.line}),(Se=be==null?void 0:be.standard_answer)==null?void 0:Se.map((Ne,Ue)=>{var He,Qe;return ie.createElement("div",{className:"c-grey-333 mb5"},ie.createElement("b",null,"\u586B\u7A7A",Ue+1,"\u7B54\u6848:\xA0"),(Ne==null?void 0:Ne.model)===1?((He=Ne==null?void 0:Ne.answer_text)==null?void 0:He.join("\u3001"))||"":ie.createElement(le.Z,{value:(Qe=Ne==null?void 0:Ne.answer_text)==null?void 0:Qe.join("\u3001"),disabled:!0}))}),ie.createElement("div",{className:"c-grey-333 mb10"},ie.createElement("b",null,"\u89E3\u6790:\xA0"),(be==null?void 0:be.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,Ae.connect)(({problemset:ve})=>({problemset:ve}))(me)},26519:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(5112),ce=fe(89392),ne=fe.n(ce),se=fe(96601),de=fe(6339),le=Object.defineProperty,ie=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ue,me,ve)=>me in ue?le(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ue[me]=ve,x=(ue,me)=>{for(var ve in me||(me={}))ee.call(me,ve)&&y(ue,ve,me[ve]);if(re)for(var ve of re(me))a.call(me,ve)&&y(ue,ve,me[ve]);return ue},b=(ue,me)=>ie(ue,oe(me)),z=(ue,me,ve)=>new Promise((ge,pe)=>{var Se=Ce=>{try{Ee(ve.next(Ce))}catch(Be){pe(Be)}},be=Ce=>{try{Ee(ve.throw(Ce))}catch(Be){pe(Be)}},Ee=Ce=>Ce.done?ge(Ce.value):Promise.resolve(Ce.value).then(Se,be);Ee((ve=ve.apply(ue,me)).next())});const te=({problemset:ue,dispatch:me})=>{var ve,ge;const[pe,Se]=(0,ae.useState)({}),[be,Ee]=(0,ae.useState)([]),[Ce,Be]=(0,ae.useState)(!1),Pe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Oe,Ge;if(((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Ne=(0,ce.cloneDeep)((Ge=ue==null?void 0:ue.actionTabs)==null?void 0:Ge.params);Se(Ne),Ee(Ne.choices)}},[(ve=ue==null?void 0:ue.actionTabs)==null?void 0:ve.key]);const Fe=()=>z(void 0,null,function*(){var Oe;if(!be.some(Ge=>Ge==null?void 0:Ge.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const Ge=(0,ce.cloneDeep)((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.params);Ee(Ge.choices)}Be(!Ce)}),we=(Oe,Ge)=>{console.log(Oe.target.checked);const Ne=be.map((Ue,He)=>b(x({},Ue),{checked:He===Ge?Oe.target.checked:!1}));Ee(Ne)},Le=()=>{Se({}),Ee([]),Be(!1),me({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:ue.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Fe,onCancel:Le},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ae.createElement(de.Z,{value:pe==null?void 0:pe.name}),be==null?void 0:be.map((Oe,Ge)=>{const{is_answer:Ne,checked:Ue,choice_text:He}=Oe;let Qe="";return Ce&&Ne&&(Qe=se.Z.green),Ce&&!Ne&&Ue&&(Qe=se.Z.red),ae.createElement("div",{key:Ge,style:{pointerEvents:Ce?"none":"auto"},className:`${se.Z.row} ${Qe}`},ae.createElement(he.ZP,{onChange:We=>we(We,Ge),checked:Ue}),ae.createElement(de.Z,{className:se.Z.html,value:He}),Ce&&Ne&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!Ne&&Ue&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:se.Z.line}),ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(ge=be.find(Oe=>Oe.is_answer))==null?void 0:ge.choice_text),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(pe==null?void 0:pe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,Ae.connect)(({problemset:ue})=>({problemset:ue}))(te)},47389:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(24905),ce=fe(89392),ne=fe.n(ce),se=fe(96601),de=fe(6339),le=Object.defineProperty,ie=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ue,me,ve)=>me in ue?le(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ue[me]=ve,x=(ue,me)=>{for(var ve in me||(me={}))ee.call(me,ve)&&y(ue,ve,me[ve]);if(re)for(var ve of re(me))a.call(me,ve)&&y(ue,ve,me[ve]);return ue},b=(ue,me)=>ie(ue,oe(me)),z=(ue,me,ve)=>new Promise((ge,pe)=>{var Se=Ce=>{try{Ee(ve.next(Ce))}catch(Be){pe(Be)}},be=Ce=>{try{Ee(ve.throw(Ce))}catch(Be){pe(Be)}},Ee=Ce=>Ce.done?ge(Ce.value):Promise.resolve(Ce.value).then(Se,be);Ee((ve=ve.apply(ue,me)).next())});const te=({problemset:ue,dispatch:me})=>{var ve;const[ge,pe]=(0,ae.useState)({}),[Se,be]=(0,ae.useState)([]),[Ee,Ce]=(0,ae.useState)(!1),Be=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Oe,Ge;if(((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Ne=(0,ce.cloneDeep)((Ge=ue==null?void 0:ue.actionTabs)==null?void 0:Ge.params);pe(Ne),be(Ne.choices)}},[(ve=ue==null?void 0:ue.actionTabs)==null?void 0:ve.key]);const Pe=()=>z(void 0,null,function*(){var Oe;if(!Se.some(Ge=>Ge==null?void 0:Ge.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Ge=(0,ce.cloneDeep)((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.params);be(Ge.choices)}Ce(!Ee)}),Fe=(Oe,Ge)=>{console.log(Oe.target.checked);const Ne=Se.map((Ue,He)=>b(x({},Ue),{checked:He===Ge?Oe.target.checked:Ue.checked}));be(Ne)},we=()=>{pe({}),be([]),Ce(!1),me({type:"problemset/setActionTabs",payload:{}})},Le=()=>{let Oe="";return Se.forEach((Ge,Ne)=>{Ge.is_answer&&(Oe=Oe+Be[Ne])}),Oe};return ae.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:ue.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Pe,onCancel:we},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ae.createElement(de.Z,{value:ge==null?void 0:ge.name}),Se==null?void 0:Se.map((Oe,Ge)=>{const{is_answer:Ne,checked:Ue,choice_text:He}=Oe;let Qe="";return Ee&&Ne&&(Qe=se.Z.green),Ee&&!Ne&&Ue&&(Qe=se.Z.red),ae.createElement("div",{key:Ge,style:{pointerEvents:Ee?"none":"auto"},className:`${se.Z.row} ${Qe}`},ae.createElement(he.default,{style:{padding:3},onChange:We=>Fe(We,Ge),checked:Ue}),ae.createElement("span",null,Be[Ge],".\xA0"),ae.createElement(de.Z,{className:se.Z.html,value:He}),Ee&&Ne&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Ne&&Ue&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:se.Z.line}),ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Le()),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ge==null?void 0:ge.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,Ae.connect)(({problemset:ue})=>({problemset:ue}))(te)},73878:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(65582),E=fe(8591),ye=fe(43418),he=fe(5112),ce=fe(89392),ne=fe.n(ce),se=fe(96601),de=fe(6339),le=fe(59301),ie=Object.defineProperty,oe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(me,ve,ge)=>ve in me?ie(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):me[ve]=ge,b=(me,ve)=>{for(var ge in ve||(ve={}))a.call(ve,ge)&&x(me,ge,ve[ge]);if(ee)for(var ge of ee(ve))y.call(ve,ge)&&x(me,ge,ve[ge]);return me},z=(me,ve)=>oe(me,re(ve)),te=(me,ve,ge)=>new Promise((pe,Se)=>{var be=Be=>{try{Ce(ge.next(Be))}catch(Pe){Se(Pe)}},Ee=Be=>{try{Ce(ge.throw(Be))}catch(Pe){Se(Pe)}},Ce=Be=>Be.done?pe(Be.value):Promise.resolve(Be.value).then(be,Ee);Ce((ge=ge.apply(me,ve)).next())});const ue=({problemset:me,dispatch:ve})=>{var ge;const[pe,Se]=(0,ae.useState)({}),[be,Ee]=(0,ae.useState)([]),[Ce,Be]=(0,ae.useState)(!1),Pe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ae.useEffect)(()=>{var Oe,Ge;if(((Oe=me==null?void 0:me.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Ne=(0,ce.cloneDeep)((Ge=me==null?void 0:me.actionTabs)==null?void 0:Ge.params);Se(Ne),Ee(Ne.choices)}},[(ge=me==null?void 0:me.actionTabs)==null?void 0:ge.key]);const Fe=()=>te(void 0,null,function*(){var Oe;if(!be.some(Ge=>Ge==null?void 0:Ge.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const Ge=(0,ce.cloneDeep)((Oe=me==null?void 0:me.actionTabs)==null?void 0:Oe.params);Ee(Ge.choices)}Be(!Ce)}),we=(Oe,Ge)=>{console.log(Oe.target.checked);const Ne=be.map((Ue,He)=>z(b({},Ue),{checked:He===Ge?Oe.target.checked:!1}));Ee(Ne)},Le=()=>{Se({}),Ee([]),Be(!1),ve({type:"problemset/setActionTabs",payload:{}})};return le.createElement(ye.default,{centered:!0,destroyOnClose:!0,open:me.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Fe,onCancel:Le},le.createElement("div",null,le.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),le.createElement(de.Z,{value:pe==null?void 0:pe.name}),be==null?void 0:be.map((Oe,Ge)=>{const{is_answer:Ne,checked:Ue,choice_text:He}=Oe;let Qe="";return Ce&&Ne&&(Qe=se.Z.green),Ce&&!Ne&&Ue&&(Qe=se.Z.red),le.createElement("div",{key:Ge,style:{pointerEvents:Ce?"none":"auto"},className:`${se.Z.row} ${Qe}`},le.createElement(he.ZP,{onChange:We=>we(We,Ge),checked:Ue}),le.createElement("span",null,Pe[Ge],".\xA0"),le.createElement(de.Z,{className:se.Z.html,value:He}),Ce&&Ne&&le.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!Ne&&Ue&&le.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&le.createElement(ae.Fragment,null,le.createElement("div",{className:se.Z.line}),le.createElement("div",{className:"c-grey-333 mb5"},le.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Pe[be.findIndex(Oe=>Oe.is_answer)]),le.createElement("div",{className:"c-grey-333 mb10"},le.createElement("b",null,"\u89E3\u6790:\xA0"),(pe==null?void 0:pe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,Ae.connect)(({problemset:me})=>({problemset:me}))(ue)},75408:function(gt,ot,fe){"use strict";fe.d(ot,{N:function(){return te},Z:function(){return ue}});var ae=fe(59301),Ae=fe(6339),E=fe(5112),ye=fe(6848),he=fe(95237),ce=fe(43604),ne=fe(24905),se=fe(20834),de=fe(38854),le={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ie=fe(41867),oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfHqiXAF1vdX55WqThgACCCCAAAIIIIAAAggggAACCCCAAAIIIIDA0SGgvr+vzj86qrh83oW63ur85VOpo+NK1fXudX7wgMy3v31vnue5NZtNc84sz9sPWkqq1aLCb3vbxcFrhrSGOj/kWjm2ewF1vdX53QuyQoiAut7q/BArjkUAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIG2gPr+vjqfPihXQF1vdX652qSp693r/OBhlrvu+ve8PRiTmx+N6QzJ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5PMzTd/OnjNkLZS54dcK8d2L6Cutzq/e0FWCBFQ11udH2LFsQgggAACCCCAAAIIIIAAAggggAACCCCAAAIIINAWUN/fV+fTB+UKqOutzi9XmzR1vXudHzzM8qEP3ZC3mi3Lbe65SvM94axaTeyzn/1M8JohbaXOD7lWju1eQF1vdX73gqwQIqCutzo/xIpjEUAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoC2gvr+vzqcPyhVQ11udX642aep69zo/eJjluuuuf2kyxv/KrzD3Nc9zu+WWfwxeM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7z//dfkzUbjoP1j/COX/KOWqtWqffnLtwavGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo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YkSfH7M888y9IstTeee75ddvnVxXYx/rAoitKfPbvtvWe/7oxv+AGZhbvIqPP7rdnV71ddb3W+2r/f8tX1Vuf3W715vwgggAACCCCAAAIIIIAAAggggAACCCCAAAII9EJAfX9fnd8LQ9ZYvIC63ur8xUtxZC8E1PVW5i8ckInMLN761M/+YuWqtb/fGY7ZvXunfeHzf21xHFujMWNbtmwthmOKV95+XtLcnIxVk6q9evMmGxgYsjRN7foP3mDHHrth/ph9Ey/81ebTjv+omaULd5HpTAep8nvRRKyxeAF1vdX5i5fiyF4IqOutzu+FIWsggAACCCCAAAIIIIAAAggggAACCCCAAAIIINBvAur7++r8fqu3+v2q663OV/v3W7663sp8t2A6J37ooR+OverEE2+pxMkv5Zkffsnt3v+6x3705GOWZZkdODBlW7duKwZiGg0/JFOMx8w/Zsn/+aZNp1mtNup3jLHXnvF6u/itlxSPWHKRWStt/vdz27f/5rnnnjk+NyTjF/Avv4gk/9BHPfVb85f9fuk31+n5sun7Mo9+o9/6svF50wgggAACCCCAAAIIIIAAAggggAACCCCAAAJdCfD5Ap8vdNVAgSfTb/RbYMt0dXjf99vC6Zz77ntw8+mvOesbae5OzX0fZpnd/q9ftqmpSZua2metZtOeeeZZm56ents1xhWPW2rvIONscHDQTjrpBKskiY2MrLSRkVG78j3v989XMpc7i13+9JYfP/Guiy46b2tnF5m56hW71yjyGZDp6vsn+GT6jR/wwU3TxQn0G/3WRftwKgIIIIAAAggggAACCCCAAAIIIIAAAggggECfCvD5Ap8vlNn69Bv9Rr+VN5/S2UEmesYs2fPw4284/uTN/2FZXsssszxzdvttXzLnnL3w/K5iGGbHjp02NVW3RmN2buMXX67cqtWqjYyM2MaNG4rdY9asPbb483dfda25KLfIIrPI1Z956keXbHjzOT84ycxvQZN1BmRU+QzIlPntZr6H/DgV/VYue9+m0W/8g6Jvm583jgACCCCAAAIIIIAAAggggAACCCCAAAIIILBkAT5f4POFJTfPEk6k3+i3JbTNkk/p+36bA4jHxy3Z/txD55x2ypl3Z3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ce(ge.throw(Be))}catch(Pe){Se(Pe)}},Ce=Be=>Be.done?pe(Be.value):Promise.resolve(Be.value).then(be,Ee);Ce((ge=ge.apply(me,ve)).next())});const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],z=({data:me,selectIds:ve,onSelectCheckBox:ge=()=>{},showCheckbox:pe=!0})=>{var Se,be,Ee;const[Ce,Be]=(0,ae.useState)(!1),Pe=(0,ae.useRef)(),Fe=()=>{var Ne,Ue;return me.item_type==="JUDGMENT"?ae.createElement("div",{className:le.judgmentContent},me.choices.map((He,Qe)=>ae.createElement(E.ZP,{key:Qe,disabled:!0},He.choice_text))):me.item_type==="PROGRAM"?ae.createElement("div",{className:le.programContent},ae.createElement(Ae.Z,{value:(Ne=me.program_attr)==null?void 0:Ne.description})):me.item_type==="COMBINATION"?ae.createElement("div",{className:le.combinationContent},(Ue=me==null?void 0:me.sub_item_banks)==null?void 0:Ue.map((He,Qe)=>{var We,ze,_e,Ve,tt,et;const dt=`(\u9898\u76EE${Qe+1}-${(He==null?void 0:He.item_type)=="SINGLE"?"\u5355\u9009\u9898":(He==null?void 0:He.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(He==null?void 0:He.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(He==null?void 0:He.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{marginTop:10,marginBottom:10}},ae.createElement(Ae.Z,{value:dt+He.name})),((He==null?void 0:He.item_type)=="SINGLE"||(He==null?void 0:He.item_type)=="MULTIPLE")&&He.choices.map(($e,Ze)=>ae.createElement("div",{key:Ze,className:le.otherContentItem},ae.createElement("p",null,x[Ze]),ae.createElement(Ae.Z,{className:le.otehrContentHtml,value:$e.choice_text}))),(He==null?void 0:He.item_type)=="JUDGMENT"&&ae.createElement("div",{style:{display:"flex",marginBottom:10}},He.choices.map(($e,Ze)=>ae.createElement(E.ZP,{key:Ze,disabled:!0},$e.choice_text))),ae.createElement("div",{className:le.con},(He==null?void 0:He.item_type)=="SINGLE"&&ae.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(We=He==null?void 0:He.choices)==null?void 0:We.findIndex($e=>$e==null?void 0:$e.is_answer)]," "),(He==null?void 0:He.item_type)=="COMPLETION"&&((ze=He==null?void 0:He.standard_answer)==null?void 0:ze.map(($e,Ze)=>{var Me;return ae.createElement("div",{key:Ze,className:le.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${$e.position}\uFF09\uFF1A${(Me=$e==null?void 0:$e.answer_text)==null?void 0:Me.join("\u3001")}`)})),(He==null?void 0:He.item_type)=="MULTIPLE"&&ae.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(_e=He==null?void 0:He.choices)==null?void 0:_e.map(($e,Ze)=>{if($e!=null&&$e.is_answer)return(b==null?void 0:b[Ze])+" "})," "),(He==null?void 0:He.item_type)=="JUDGMENT"&&ae.createElement("div",null,"\u7B54\u6848\uFF1A",(tt=(Ve=He==null?void 0:He.choices)==null?void 0:Ve.find($e=>$e.is_answer))==null?void 0:tt.choice_text),(He==null?void 0:He.item_type)=="SUBJECTIVE"&&ae.createElement("div",null,"\u7B54\u6848\uFF1A",(et=He==null?void 0:He.answer_texts)==null?void 0:et[0]),ae.createElement("div",null,ae.createElement("span",null,"\u89E3\u6790\uFF1A"),ae.createElement(Ae.Z,{className:le.parseAnswerHtml,value:He.analysis||"\u6682\u65E0\u89E3\u6790"})),ae.createElement("div",null,ae.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ae.createElement(ye.Z,{title:(me==null?void 0:me.tag_discipline)||"--"},ae.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(me==null?void 0:me.tag_discipline)||"--")))))})):ae.createElement("div",{className:le.otherContent},me.choices.map((He,Qe)=>ae.createElement("div",{key:Qe,className:le.otherContentItem},ae.createElement("p",null,x[Qe]),ae.createElement(Ae.Z,{className:le.otehrContentHtml,value:He.choice_text}))))},we=()=>{var Ne;if((me==null?void 0:me.item_type)!=="BPROGRAM")return ae.createElement("div",null,(Ne=me.standard_answer)==null?void 0:Ne.map((Ue,He)=>{var Qe,We;return ae.createElement("div",{key:He,className:le.answerHtml},(Ue==null?void 0:Ue.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${(Qe=Ue==null?void 0:Ue.answer_text)==null?void 0:Qe.join("\u3001")}`:ae.createElement("div",{style:{display:"flex",alignItems:"center"}},ae.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Ue.position,"\uFF09\uFF1A"),ae.createElement(ee.Z,{value:(We=Ue==null?void 0:Ue.answer_text)==null?void 0:We.join("\u3001"),readOnly:!0})))}))},Le=()=>{var Ne,Ue,He,Qe,We,ze;const _e={SUBJECTIVE:(Ne=me.answer_texts)==null?void 0:Ne[0],JUDGMENT:(He=(Ue=me.choices)==null?void 0:Ue.find(qe=>qe.is_answer))==null?void 0:He.choice_text},Ve=me.choices.map(qe=>qe.is_answer).findIndex(qe=>qe),tt=Ve>-1?b[Ve]:"";let et="";me.choices.map((qe,Ie)=>{qe.is_answer&&(et+=b[Ie])});const dt=_e[me.item_type];let $e=((Qe=me==null?void 0:me.program_attr)==null?void 0:Qe.code)||"";try{$e=re.Base64.decode(((We=me==null?void 0:me.program_attr)==null?void 0:We.code)||"")}catch(qe){}const Ze={SINGLE:ae.createElement(Ae.Z,{className:le.answerHtml,value:`\u7B54\u6848\uFF1A${tt||"\u65E0"}`}),MULTIPLE:ae.createElement(Ae.Z,{className:le.answerHtml,value:`\u7B54\u6848\uFF1A${et||"\u65E0"}`}),COMPLETION:we(),BPROGRAM:ae.createElement("div",null,ae.createElement(Ae.Z,{className:le.answerHtml,showProgramFill:!0,value:$e}),(ze=me.standard_answer)==null?void 0:ze.map((qe,Ie)=>ae.createElement("div",{key:Ie,className:le.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${qe.position}\uFF09\uFF1A${qe==null?void 0:qe.answer_text}`)))},Me=ae.createElement(he.Z,null,ae.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ae.createElement(ce.Z,{flex:1},ae.createElement(Ae.Z,{className:le.answerHtml,value:`${dt||"\u65E0"}`})));return Ze[me.item_type]||Me},Oe=Ne=>{let Ue=[...ve];Ne.target.checked?Ue.push(me.id):Ue=Ue.filter(He=>He!==me.id),ge(Ue)},Ge=Ne=>y(void 0,null,function*(){if(!Ne&&!(ve!=null&&ve.length))return message.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u9898");Pe.current=[0],Modal.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u79FB\u52A8\u5230",maskClosable:!0,className:"custom-modal-divider",icon:null,content:ae.createElement("div",{className:`font14 ${le.overflow}`,style:{maxHeight:500,overflow:"auto"}},ae.createElement("div",{className:le.tips},ae.createElement("div",null,"\u63D0\u793A\uFF1A"),ae.createElement("div",null,"1.\u82E5\u5C06\u5DF2\u5171\u4EAB\u8BD5\u9898\u79FB\u5165\u6587\u4EF6\u5939\uFF0C\u5219\u4F1A\u64A4\u9500\u6B64\u8BD5\u9898\u539F\u6709\u7684\u5171\u4EAB\u9009\u9879\uFF0C\u4EE5\u6587\u4EF6\u5939\u7684\u5171\u4EAB\u9009\u9879\u4E3A\u4E3B\uFF1B"),ae.createElement("div",null,"2.\u82E5\u5C06\u5DF2\u5171\u4EAB\u6587\u4EF6\u5939\u5185\u7684\u8BD5\u9898\u79FB\u51FA\u81F3\u6839\u76EE\u5F55\uFF0C\u5219\u4F1A\u64A4\u9500\u8BD5\u9898\u6240\u6709\u7684\u5171\u4EAB\u9009\u9879\u3002")),ae.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u9700\u8981\u79FB\u52A8\u5230\u7684\u6587\u4EF6\u5939"),ae.createElement(CustomTree,{defaultValue:!0,value:Pe.current,onChange:Ue=>Pe.current=Ue})),onOk:()=>y(void 0,null,function*(){var Ue;const He=yield batchGroup({ids:Ne?[Ne]:ve,groups_ids:(Ue=Pe.current)==null?void 0:Ue[0]});console.log("\u79FB\u52A8\u8BD5\u9898\u5230\u6307\u5B9A\u6587\u4EF6\u5939\u7684res",He),Pe.current=[],He==null||He.status})})});return ae.createElement("div",{className:le.itemWrap},ae.createElement("div",{className:le.list},pe&&ae.createElement(ne.default,{className:"mr10",onChange:Oe,checked:ve.includes(me.id)}),ae.createElement("div",{onClick:()=>Be(!Ce),className:le.title},ae.createElement(Ae.Z,{key:1,showLines:1,showTextOnly:!0,className:le.topicTitleContent,value:(me==null?void 0:me.item_type)==="BPROGRAM"?(Se=me==null?void 0:me.program_attr)==null?void 0:Se.description:me.name})),ae.createElement("div",{onClick:()=>Be(!Ce),className:le.tr},ae.createElement("i",{style:{transform:Ce?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ae.createElement("aside",{style:Ce?{display:"block"}:{display:"none"},className:le.itemDetail},ae.createElement("div",{style:{marginBottom:44}},ae.createElement(Ae.Z,{key:2,className:le.topicTitleContent,value:(me==null?void 0:me.item_type)==="BPROGRAM"?(be=me==null?void 0:me.program_attr)==null?void 0:be.description:me.name}),ae.createElement("div",{className:`${le.row} mt15`},Fe()),ae.createElement("div",{className:le.row},ae.createElement("div",{className:le.updateTimeRow},ae.createElement("div",{className:le.updateTimeWrap},me.item_type==="PROGRAM"&&ae.createElement("p",{className:le.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Ee=me==null?void 0:me.languages)==null?void 0:Ee.join("/")))))),me.item_type!=="COMBINATION"&&ae.createElement("div",{className:le.answerWrapper},ae.createElement("img",{src:oe,alt:"",className:le.decoration}),ae.createElement("div",{className:le.answer},Le()),ae.createElement("div",{className:le.parse},ae.createElement("div",{className:le.parseText},"\u89E3\u6790\uFF1A"),ae.createElement("div",{className:le.parseAnswer},me.analysis?ae.createElement(Ae.Z,{className:le.parseAnswerHtml,value:me.analysis}):"\u6682\u65E0\u89E3\u6790")),ae.createElement("div",{className:le.parse},ae.createElement("div",{className:le.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ae.createElement(ye.Z,{title:(me==null?void 0:me.tag_discipline)||"--"},ae.createElement("div",{className:le.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(me==null?void 0:me.tag_discipline)||"--"))))))},te=({SubjectShare:me,isProblemset:ve,data:ge,user:pe,page:Se,activeTabsKey:be,onPublicReview:Ee=()=>{},onStartExperience:Ce=()=>{},onSetPrivate:Be=()=>{},onCorrection:Pe=()=>{},onChangeTag:Fe=()=>{},onCollect:we=()=>{},onSetPublic:Le=()=>{},onDelete:Oe=()=>{},onCancel:Ge=()=>{},onSelect:Ne=()=>{},onMoveTo:Ue=()=>{},addProblemset:He=()=>{},onSetShare:Qe=()=>{},onCancelShare:We=()=>{},onPublish:ze=()=>{},onCancelPublish:_e=()=>{},onCopy:Ve=()=>{}})=>{var tt,et,dt,$e,Ze,Me,qe,Ie,je,Je,Ye,ke,De,Te,xe;const Re=ge.item_type==="PROGRAM"?`/problems/newedit/${(tt=ge.program_attr)==null?void 0:tt.identifier}?tabs_key=${be}&page=${Se}`:ge.item_type==="BPROGRAM"?`/problemset/edit/${(et=ge.program_attr)==null?void 0:et.identifier}?type=1&tabs_key=${be}&page=${Se}`:`/problemset/edit/${ge.id}?tabs_key=${be}&page=${Se}`,Xe=be==="0"&&!ge.public&&!ge.apply&&(ge.item_type==="PROGRAM"&&((dt=ge.program_attr)==null?void 0:dt.status)!==0||ge.item_type!=="PROGRAM"),nt=[{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Ve(ge.id,!1)},"\u590D\u5236"),key:"2",show:be==="0"},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>{var ut;return _e((ut=ge==null?void 0:ge.program_attr)==null?void 0:ut.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(be==="0"||be==="3")&&ge.item_type==="PROGRAM"&&(($e=ge.program_attr)==null?void 0:$e.status)!==0&&!ge.public&&((Ze=ge.author)==null?void 0:Ze.login)===((Me=pe.userInfo)==null?void 0:Me.login)},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Ue(ge.id)},"\u79FB\u52A8\u5230"),key:"1",show:be==="0"},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>{ge.is_share?We(ge.id):Qe(ge.id)}},"\u5171\u4EAB"),key:"3",show:be==="0"&&me},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Le(ge)},"\u516C\u5F00"),key:"4",show:Xe},{label:ae.createElement("a",{className:le.reviewFlag,onClick:Ee},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:be==="0"&&!ge.public&&ge.apply&&(ge.item_type==="PROGRAM"&&ge.program_attr.status!==0||ge.item_type!=="PROGRAM")},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Be(ge.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(be==="0"||be==="1")&&ge.public&&((qe=ge.author)==null?void 0:qe.login)===((Ie=pe.userInfo)==null?void 0:Ie.login)||be==="1"&&(0,ie.ag)()},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>we(ge.id,ge.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:be==="2"},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>{var ut;return ze((ut=ge==null?void 0:ge.program_attr)==null?void 0:ut.identifier)}},"\u53D1\u5E03"),key:"8",show:(be==="0"||be==="3")&&ge.item_type==="PROGRAM"&&((je=ge.program_attr)==null?void 0:je.status)===0&&!ge.public&&((Je=ge.author)==null?void 0:Je.login)===((Ye=pe.userInfo)==null?void 0:Ye.login)},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>we(ge.id,ge.is_collected)},ge.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(be==="1"||be==="3")&&!(0,ie.ag)()&&!(0,ie.JA)()&&((ke=ge.author)==null?void 0:ke.login)!==((De=pe.userInfo)==null?void 0:De.login)},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Pe(ge.id)},"\u7EA0\u9519"),key:"10",show:be!=="0"&&!(0,ie.ag)()&&!(0,ie.JA)()},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Fe(ge)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:be==="0"||be==="3"&&(ge==null?void 0:ge.edit_item_bank)},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>Oe(ge.id)},"\u5220\u9664"),key:"11",show:be==="0"&&!ge.public||be==="1"&&(0,ie.ag)()&&((Te=ge.author)==null?void 0:Te.login)!==((xe=pe.userInfo)==null?void 0:xe.login)},{label:ae.createElement("a",{className:le.actionLink,onClick:()=>He(ge.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:be==="1"||be==="3"}].filter(ut=>ut.show),Ke=ae.createElement(se.default,{forceSubMenuRender:!0,className:le.menu,items:nt}),rt=ae.createElement(se.default,{forceSubMenuRender:!0,className:le.menu},ae.createElement(se.default.Item,{key:"10"},ae.createElement("a",{className:le.actionLink,onClick:()=>Pe(ge.id)},"\u7EA0\u9519"))),ht=be!=="0"&&!(0,ie.ag)()&&!(0,ie.JA)();return ae.createElement(ae.Fragment,null,ve?ae.createElement(ae.Fragment,null,(be==="0"||be==="3"&&(ge==null?void 0:ge.edit_item_bank))&&!ge.public&&ae.createElement("span",{className:le.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(Re);const ut=document.getElementById(ge.id),pt=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",ut.getBoundingClientRect().top+pt+"")}},ae.createElement("div",{className:le.line},ae.createElement("b",{className:le.b1}),ae.createElement("b",{className:le.b2})),ae.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ae.createElement("span",{className:le.textBtn,style:{cursor:"pointer"},onClick:()=>Ce(ge)},ae.createElement("div",{className:le.line},ae.createElement("b",{className:le.b1}),ae.createElement("b",{className:le.b2})),ae.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ae.createElement("div",{className:le.line},ae.createElement("b",{className:le.b1}),ae.createElement("b",{className:le.b2}))),nt.length>0&&ae.createElement(de.Z,{dropdownRender:()=>Ke},ae.createElement("span",{style:{cursor:"default",width:"105px"},onClick:ut=>ut.preventDefault()},ae.createElement("span",{className:le.textBtn},ae.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ae.createElement("div",{className:le.line},ae.createElement("b",{className:le.b1}),ae.createElement("b",{className:le.b2})))))):ht?ae.createElement(de.Z,{className:"ml40",dropdownRender:()=>rt},ae.createElement("span",{style:{cursor:"default",width:"105px"},onClick:ut=>ut.preventDefault()},ae.createElement("span",{className:le.textBtn},ae.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ae.createElement("div",{className:le.line},ae.createElement("b",{className:le.b1}),ae.createElement("b",{className:le.b2}))))):ae.createElement("span",null))};var ue=z},80443:function(gt,ot,fe){"use strict";fe.d(ot,{Im:function(){return be},ZP:function(){return we},gZ:function(){return Pe}});var ae=fe(59301),Ae=fe(92832),E=fe(3113),ye=fe(84105),he=fe(87395),ce=fe(17124),ne=fe(24334),se=fe(42678),de=fe(6339),le=fe(65862),ie=fe(51908),oe=fe(34376),re=fe(92310),ee=fe.n(re),a=fe(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,me=(Le,Oe,Ge)=>Oe in Le?y(Le,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Le[Oe]=Ge,ve=(Le,Oe)=>{for(var Ge in Oe||(Oe={}))te.call(Oe,Ge)&&me(Le,Ge,Oe[Ge]);if(z)for(var Ge of z(Oe))ue.call(Oe,Ge)&&me(Le,Ge,Oe[Ge]);return Le},ge=(Le,Oe)=>x(Le,b(Oe));const{TextArea:pe}=Ae.default,Se={visible:!1,tabIndex:"0"},be={[ce.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ce.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ce.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Ee=(Le=>(Le[Le.SET_VISIBLE=0]="SET_VISIBLE",Le[Le.SET_TABINDEX=1]="SET_TABINDEX",Le))(Ee||{});function Ce(Le,Oe){switch(Oe.type){case 0:return ge(ve({},Le),{visible:Oe.payload});case 1:return ge(ve({},Le),{tabIndex:Oe.payload});default:throw new Error}}function Be({value:Le,className:Oe}){const[Ge,Ne]=(0,ae.useState)(!1),Ue=(0,ae.useRef)(),He=(0,ae.useRef)();return(0,ae.useEffect)(()=>{Ge&&(He.current.reset(),He.current.write((0,le.pp)(Le||"")))},[Le,Ge]),(0,ae.useEffect)(()=>{var Qe,We,ze,_e;if(Ue.current){He.current=new oe.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Ue.current);const Ve=Ue.current.offsetWidth-14,tt=((_e=(ze=(We=(Qe=He.current)==null?void 0:Qe._core)==null?void 0:We._renderService)==null?void 0:ze.dimensions)==null?void 0:_e.actualCellWidth)||9.5,et=Math.ceil(Ve/tt);He.current.resize(et,8),Ne(!0)}},[]),a.createElement("div",{ref:Ue,className:ee()("XtermText-valueRef",Oe)})}function Pe(Le){const{status:Oe,error_msg:Ge,output:Ne,input:Ue,expected_output:He,is_file:Qe,input_file_url:We,output_file_url:ze,expected_output_file_url:_e}=Le;let Ve=null;const tt={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case ce.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Qe&&a.createElement(Be,{className:"mb10",value:Ue}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,le.LR)(We,Ue)},Ue)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Qe&&a.createElement(Be,{className:"mb10",value:Ne&&ne.Base64.decode(Ne)||""}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,le.LR)(ze,Ne)},Ne)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Qe&&a.createElement(Be,{className:"mb10",value:He&&ne.Base64.decode(He)||""}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,le.LR)(_e,He)},He)));break;case ce.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&a.createElement(de.Z,{value:Ue,style:tt}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,le.LR)(We,Ue)},Ue)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case ce.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&a.createElement(de.Z,{value:Ue,style:tt}),Qe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,le.LR)(We,Ue)},Ue)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case ce.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}function Fe(Le){const{status:Oe,error_msg:Ge,execute_time:Ne,output:Ue,input:He,expected_output:Qe,is_file:We,input_file_url:ze,output_file_url:_e,expected_output_file_url:Ve}=Le;let tt=null;switch(Oe){case ce.h.OK:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Ne,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,ne.Base64.decode(Ue)));break;case ce.h.NOMATCH:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Ue&&ne.Base64.decode(Ue)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Qe&&ne.Base64.decode(Qe)));break;case ce.h.EXECUTEFAILURE:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case ce.h.COMPILEFAILURE:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case ce.h.PODFAILURE:tt=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:tt=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",tt," ")}var we=({id:Le,is_file:Oe,input:Ge,debuging:Ne,submitting:Ue,executingMessage:He,debugResult:Qe,onChangeInput:We,onDebugCode:ze,onSubmitCode:_e})=>{const[Ve,tt]=(0,ae.useReducer)(Ce,Se),{visible:et,tabIndex:dt}=Ve;(0,ae.useEffect)(()=>{tt({type:0,payload:!1})},[Le]);function $e(Ie){let je=Ie.target.id;tt({type:1,payload:je})}function Ze(){tt({type:0,payload:!et})}const Me=(0,ae.useMemo)(()=>{if(Qe){const{status:Ie}=Qe;return a.createElement(a.Fragment,null,Fe(Qe))}return null},[Qe]);function qe(){tt({type:0,payload:!0}),tt({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${et?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ie.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(pe,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Oe?"":Ge,onChange:We}),rightNode:Ne?a.createElement(se.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Qe?Me:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${et?"up":""}`,onClick:Ze},et?a.createElement(ye.Z,null):a.createElement(he.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Ne,onClick:qe},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Ue,disabled:Ue,onClick:()=>{tt({type:0,payload:!1}),_e()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},17124:function(gt,ot,fe){"use strict";fe.d(ot,{h:function(){return ae}});var ae=(Ae=>(Ae[Ae.NOMATCH=-1]="NOMATCH",Ae[Ae.OK=0]="OK",Ae[Ae.TIMEOUT=2]="TIMEOUT",Ae[Ae.PODFAILURE=3]="PODFAILURE",Ae[Ae.COMPILEFAILURE=4]="COMPILEFAILURE",Ae[Ae.EXECUTEFAILURE=5]="EXECUTEFAILURE",Ae[Ae.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Ae))(ae||{})},12088:function(gt,ot,fe){"use strict";fe.d(ot,{Y2:function(){return we},ZP:function(){return Le}});var ae=fe(59301),Ae=fe(54580),E=fe(8591),ye=fe(43418),he=fe(95237),ce=fe(5112),ne=fe(3113),se=fe(24905),de=fe(6848),le=fe(92832),ie={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIF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tZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",re=fe(47257),ee=fe.n(re),a=fe(38147),y=fe(1012),x=fe(65862),b=fe(21185),z=fe(59301),te=Object.defineProperty,ue=Object.defineProperties,me=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Se=(Oe,Ge,Ne)=>Ge in Oe?te(Oe,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Oe[Ge]=Ne,be=(Oe,Ge)=>{for(var Ne in Ge||(Ge={}))ge.call(Ge,Ne)&&Se(Oe,Ne,Ge[Ne]);if(ve)for(var Ne of ve(Ge))pe.call(Ge,Ne)&&Se(Oe,Ne,Ge[Ne]);return Oe},Ee=(Oe,Ge)=>ue(Oe,me(Ge)),Ce=(Oe,Ge,Ne)=>new Promise((Ue,He)=>{var Qe=_e=>{try{ze(Ne.next(_e))}catch(Ve){He(Ve)}},We=_e=>{try{ze(Ne.throw(_e))}catch(Ve){He(Ve)}},ze=_e=>_e.done?Ue(_e.value):Promise.resolve(_e.value).then(Qe,We);ze((Ne=Ne.apply(Oe,Ge)).next())});const{Dragger:Be}=Ae.default,Pe=Oe=>{const Ge=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Ne=[...Oe],Ue=0,He=[],Qe=0;Qe{if(Ve.forEach(tt=>{let et=tt.name.split(/\.(?=[^\.]+$)/);tt.name=`${et[0]}.${et[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},Fe=({onClose:Oe,onOK:Ge,visible:Ne,wrapClassName:Ue,rootIdentifier:He,multiple:Qe=!1,defaultMultipleValue:We=!0})=>{const[ze,_e]=(0,ae.useState)([]),[Ve,tt]=(0,ae.useState)({}),[et,dt]=(0,ae.useState)(!1),[$e,Ze]=(0,ae.useState)(!0),[Me,qe]=(0,ae.useState)(null),Ie=(0,ae.useRef)([]),je=(0,ae.useRef)(0),Je=()=>{Oe()};(0,ae.useEffect)(()=>{Ye()},[]),(0,ae.useEffect)(()=>{Ne&&(Ie.current=[],je.current=0,_e([]),Ze(We))},[Ne]);const Ye=()=>Ce(void 0,null,function*(){try{qe(!0)}catch(Ke){}}),ke=Ke=>Ke&&Ke.substring(0,Ke.lastIndexOf(".")),De=Ke=>{var rt,ht;const ut=ke((rt=Ke[0])==null?void 0:rt.name)||ke((ht=Ke[1])==null?void 0:ht.name),pt=ze.filter(lt=>ke(lt.name)!==ut);Ie.current=[...pt],_e([...pt])},Te=Ke=>{if(!$e){const mt=new FormData;mt.append("file",Ke.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:mt},!0).then(ct=>{if(ct.status===0){je.current=je.current+1;const ft=Ie.current.map(yt=>{var Et;if(yt.name===Ke.name){const Tt=be({},yt);return(Et=Ke==null?void 0:Ke.name)!=null&&Et.includes(".in")?Tt.input=ct==null?void 0:ct.content:Tt.output=ct==null?void 0:ct.content,Tt}return yt});if(Ie.current=[...ft],_e([...ft]),je.current>0&&je.current===ze.length){dt(!1);let yt=Pe(ft);yt=yt.filter(Et=>{var Tt,_t;return!!((Tt=Et[0])!=null&&Tt.name&&((_t=Et[1])!=null&&_t.name))}),yt=yt.map(Et=>Ee(be(be({},Et[0]),Et[1]),{is_file:!1})),Ge(yt),Oe()}}else dt(!1),Oe()});return}if(Me){const mt=new FormData;mt.append("file",Ke.file),He===null?mt.append("identifier","testsets"):mt.append("identifier",He),(0,a.ZP)("/api/attachments.json",{method:"post",body:mt},!0).then(ct=>{if(ct.filename){je.current=je.current+1;const ft=Ie.current.map(yt=>{var Et;if(yt.name===(ct==null?void 0:ct.filename)){const Tt=Ee(be({},yt),{is_oss:!Me});return(Et=ct==null?void 0:ct.filename)!=null&&Et.includes(".in")?(Tt.in_object_key=ct==null?void 0:ct.object,Tt.in_object_size=ct==null?void 0:ct.size,Tt.input=ct==null?void 0:ct.filename,Tt.in_file=Ke):(Tt.out_object_key=ct==null?void 0:ct.object,Tt.out_object_size=ct==null?void 0:ct.size,Tt.output=ct==null?void 0:ct.filename,Tt.out_file=Ke),Tt}return yt});if(Ie.current=[...ft],_e([...ft]),je.current>0&&je.current===ze.length){dt(!1);let yt=Pe(ft);yt=yt.filter(Et=>{var Tt,_t;return!!((Tt=Et[0])!=null&&Tt.name&&((_t=Et[1])!=null&&_t.name))}),yt=yt.map(Et=>Ee(be(be({},Et[0]),Et[1]),{is_file:!0})),Ge(yt),Oe()}}else dt(!1),Oe()});return}const rt=new(ee())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),ht=Ke.name,ut={container_type:"TestSet",file_name:ht},pt=(0,y.Z)();let lt=`testsets/${He}/${pt}${ht.indexOf(".")>-1?"."+ht.split(".").pop():""}`;He===null&&(lt=`testsets/${pt}${ht.indexOf(".")>-1?"."+ht.split(".").pop():""}`),rt.multipartUpload(lt,new Blob([Ke.file],{type:Ke.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:ht+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ut)}}).then(function(mt){if(mt.data.status===0){je.current=je.current+1;const it=Ie.current.map(ct=>{var ft,yt,Et,Tt,_t,Gt,hn,Rn,bn,dn,lr,jn,Mn,cr,hr,Dn,qn;if(ct.name===((yt=(ft=mt.data)==null?void 0:ft.data)==null?void 0:yt.file_name)){const Fn=Ee(be({},ct),{is_oss:!Me});return(_t=(Tt=(Et=mt.data)==null?void 0:Et.data)==null?void 0:Tt.file_name)!=null&&_t.includes(".in")?(Fn.in_object_key=(hn=(Gt=mt.data)==null?void 0:Gt.data)==null?void 0:hn.object,Fn.in_object_size=(bn=(Rn=mt.data)==null?void 0:Rn.data)==null?void 0:bn.size,Fn.input=(lr=(dn=mt.data)==null?void 0:dn.data)==null?void 0:lr.file_name,Fn.in_file=Ke):(Fn.out_object_key=(Mn=(jn=mt.data)==null?void 0:jn.data)==null?void 0:Mn.object,Fn.out_object_size=(hr=(cr=mt.data)==null?void 0:cr.data)==null?void 0:hr.size,Fn.output=(qn=(Dn=mt.data)==null?void 0:Dn.data)==null?void 0:qn.file_name,Fn.out_file=Ke),Fn}return ct});if(Ie.current=[...it],_e([...it]),je.current>0&&je.current===ze.length){dt(!1);let ct=Pe(it);ct=ct.filter(ft=>{var yt,Et;return!!((yt=ft[0])!=null&&yt.name&&((Et=ft[1])!=null&&Et.name))}),ct=ct.map(ft=>Ee(be(be({},ft[0]),ft[1]),{is_file:!0})),Ge(ct),Oe()}}})},xe=Ke=>new Promise((rt,ht)=>{let ut=0,pt=[];for(let lt=0;lt{ut++,ut===Ke.length&&(pt.length?(E.ZP.warning(`${pt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),ht()):rt(Ke))}).catch(mt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",mt),ut++,pt.push(Ke[lt].name),ut===Ke.length&&(pt.length?(E.ZP.warning(`${pt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),ht()):rt(Ke))})}),Re=()=>Ce(void 0,null,function*(){if(ze.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(ze),dt(!0),Pe(ze).some(rt=>{var ht,ut;return!((ht=rt[0])!=null&&ht.name&&((ut=rt[1])!=null&&ut.name))})){ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Ce(void 0,null,function*(){ze.map(rt=>Ce(void 0,null,function*(){Te(rt)}))}),onCancel:()=>{dt(!1)}});return}ze.map(rt=>Ce(void 0,null,function*(){Te(rt)}))}),Xe={name:"file",fileList:ze,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:Ke=>{if(ze!=null&&ze.some(ht=>ht.name===Ke.name))return E.ZP.info(`${Ke.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(Ke.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(Ke.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const rt={name:Ke.name,uid:Ke.uid,file:Ke,percent:0};return ze.push(rt),Ie.current=[...ze],_e([...ze]),!1}},nt=Pe(ze);return console.log(ze,nt,"fileList"),z.createElement(ye.default,{open:Ne,wrapClassName:Ue,onOk:Re,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:et},onCancel:Je,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ie.wrap},ze.length?z.createElement("div",null,z.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Qe?"visible":"hidden"}},z.createElement("span",{className:ie.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ce.ZP.Group,{className:`ml20 ${ie.testCaseRadio}`,optionType:"button",value:$e,onChange:Ke=>Ze(Ke.target.value)},z.createElement(ce.ZP,{value:!1},"\u6587\u672C"),z.createElement(ce.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(Ae.default,be({},Xe),z.createElement(ne.ZP,{type:"primary",className:ie.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(we,{data:nt,onRemove:De})):z.createElement("div",{className:`${ie.noData} mb30`},z.createElement(Ae.default.Dragger,Ee(be({},Xe),{className:ie.dragger}),z.createElement("img",{src:oe,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ie.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ie.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},we=({data:Oe=[],onRemove:Ge,width:Ne="auto",showScore:Ue=!1,disabled:He=!1,inputChange:Qe,onEvaluatingChange:We,onSelectAll:ze,checkAll1:_e,checkAll2:Ve,checkAll3:tt,checkAll4:et,checkAll5:dt,showEvaluatingSetting:$e=!1,className:Ze="",isProgramHomework:Me=!1})=>{const qe={value:"",filename:"",dataUrl:""},[Ie,je]=(0,ae.useState)(be({},qe)),Je=De=>{let Te=document.createElement("a");document.body.appendChild(Te);let xe=URL.createObjectURL(De.file);Te.href=xe,Te.download=De.name,Te.click(),URL.revokeObjectURL(xe),document.body.removeChild(Te)},Ye=(De,Te)=>{(0,x.LR)(De,Te)},ke=(De,Te)=>{ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Ge(De,Te)},onCancel:()=>{}})};return Oe.length?z.createElement("div",{className:Ze,style:{width:Ne}},z.createElement("div",{className:`${Me?ie.headProgram:ie.head}`},$e&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:_e,onChange:De=>{ze(De.target.checked,"hidden")}}),z.createElement(de.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Me?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:Ue?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:Ue?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Ue&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),$e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:et,onChange:De=>{ze(De.target.checked,"input_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),$e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:Ve,onChange:De=>{ze(De.target.checked,"is_invisible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),$e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:dt,onChange:De=>{ze(De.target.checked,"actual_output_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),$e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:tt,onChange:De=>{ze(De.target.checked,"last_match_rule")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ie.operation,style:Me?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ie.listWrapper,style:{boxShadow:Me?"0px 2px 4px 0px #EAEEF4":"unset"}},Oe.map((De,Te)=>{var xe,Re,Xe,nt;return z.createElement("div",{key:Te,className:ie.list,style:Me?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},$e&&z.createElement("div",{style:{width:"15%"}},z.createElement(se.default,{checked:!!De.hidden,onChange:Ke=>{We(Ke.target.checked,Te,"hidden")}})),z.createElement("div",{style:{width:Me?"25%":"15%",paddingLeft:Me?"5px":"0px",paddingRight:Me?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Te+1),z.createElement("div",{className:ie.info,style:{width:Ue?Me?"20%":"15%":"25%"}},z.createElement("span",{title:De.input||((xe=De[0])==null?void 0:xe.name),onClick:()=>Ce(void 0,null,function*(){let Ke;De.input?De.input_file_url?Ke=De.input_file_url:Ke=De.in_file:Ke=De[0];let rt;typeof Ke=="string"?(rt=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),je({value:yield rt.text(),filename:"",dataUrl:Ke})):(rt=yield(0,x.db)(Ke.file),je({value:rt.text,filename:Ke.name,dataUrl:rt.link}))})},De.input||((Re=De[0])==null?void 0:Re.name))),z.createElement("div",{className:ie.info,style:{width:Ue?Me?"20%":"15%":"25%"}},z.createElement("span",{title:De.output||((Xe=De[1])==null?void 0:Xe.name),onClick:()=>Ce(void 0,null,function*(){let Ke;De.input?De.output_file_url?Ke=De.output_file_url:Ke=De.out_file:Ke=De[1];let rt;typeof Ke=="string"?(rt=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),je({value:yield rt.text(),filename:"",dataUrl:Ke})):(rt=yield(0,x.db)(Ke.file),je({value:rt.text,filename:Ke.name,dataUrl:rt.link}))})},De.output||((nt=De[1])==null?void 0:nt.name))),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{size:"large",addonAfter:Me?"%":null,disabled:He,style:{width:"80%"},onChange:Ke=>Qe(Ke,Te),value:De.score}),!Me&&z.createElement("span",null,"\xA0%")),$e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:De.input_visible||!1,onChange:Ke=>{We(Ke.target.checked,Te,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),$e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:De.is_invisible||!1,onChange:Ke=>{We(Ke.target.checked,Te,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),$e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:De.actual_output_visible||!1,onChange:Ke=>{We(Ke.target.checked,Te,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),$e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:De.last_match_rule||!1,onChange:Ke=>{We(Ke.target.checked,Te,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>ke(De,Te),style:Me?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ie.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Ie.dataUrl,filename:Ie.filename,type:Ie.dataUrl.length?"txt":"",onClose:()=>je(be({},qe)),monacoEditor:{value:Ie.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Le=Fe},83554:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return re}});var ae=fe(59301),Ae=fe(8591),E=fe(6848),ye=fe(71418),he=fe(95237),ce=fe(43604),ne=fe(58421),se=fe(3113),de=fe(96565),le=fe(38147),ie=fe(6339),oe=(a,y,x)=>new Promise((b,z)=>{var te=ve=>{try{me(x.next(ve))}catch(ge){z(ge)}},ue=ve=>{try{me(x.throw(ve))}catch(ge){z(ge)}},me=ve=>ve.done?b(ve.value):Promise.resolve(ve.value).then(te,ue);me((x=x.apply(a,y)).next())}),re=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[z,te]=(0,ae.useState)(""),[ue,me]=(0,ae.useState)(!1);function ve(pe){te(pe)}function ge(){if(!z){Ae.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,z),te("")}return(0,ae.useEffect)(()=>{y!=a&&me(!1)},[y]),ae.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ae.createElement(de.Z,{miniToolbar:!0,startInit:y===a,defaultValue:z,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ve,extraUse:b&&ae.createElement(E.Z,{color:"#fff",open:ue,destroyTooltipOnHide:!0,title:ee({id:a,isOpen:ue,activeDiscussIndex:y,onChange:ve,setIsOpen:me}),overlayStyle:{maxWidth:600}},ae.createElement("a",{title:ue?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>me(!ue)},ae.createElement("i",{className:"iconfont icon-dianzan11"})))}),ae.createElement("a",{onClick:ge,className:"btn-send"},"\u53D1\u9001"))};const ee=a=>{const[y,x]=(0,ae.useState)(!1),[b,z]=(0,ae.useState)([]),[te,ue]=(0,ae.useState)(1);(0,ae.useEffect)(()=>{a!=null&&a.isOpen?me():(ue(1),z([]))},[a==null?void 0:a.isOpen]);const me=()=>oe(void 0,null,function*(){x(!0);const ve=yield(0,le.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ve==null?void 0:ve.status)==0&&z(ve==null?void 0:ve.answer),x(!1)});return ae.createElement(ye.Z,{spinning:y},ae.createElement("div",{style:{color:"#000"}},ae.createElement(ie.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),ae.createElement(he.Z,{justify:"end",align:"middle"},ae.createElement(ce.Z,null,ae.createElement(ne.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ve=>{ue(ve)}})),ae.createElement(ce.Z,null,ae.createElement(se.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},35929:function(gt,ot,fe){"use strict";fe.r(ot),fe.d(ot,{default:function(){return gr}});var ae=fe(59301),Ae=fe(65582),E={wrap:"wrap___O1tn7"},ye=fe(3918),he=fe(8591),ce=fe(43418),ne=fe(38854),se=fe(71418),de=fe(58421),le=fe(35965),ie=fe(92832),oe=fe(78241),re=fe(43428),ee=fe(3113),a=fe(95237),y=fe(43604),x=fe(24905),b=fe(6848),z=fe(28103),te={flex_box_center:"flex_box_center___aqHcx",flex_space_between:"flex_space_between___CONGd",flex_box_vertical_center:"flex_box_vertical_center___lVyEh",flex_box_center_end:"flex_box_center_end___sI_Vv",flex_box_column:"flex_box_column___kaVXu",wrp:"wrp___rtMqf",drawer:"drawer___A_PEI",menu:"menu___K7LJA",actived:"actived___jzUGM",actived2:"actived2___UNcoI",subTag:"subTag___E54g9",directionName:"directionName___EyQuv",menuDirection:"menuDirection___qmHXv",listItem:"listItem___ZO5AA",info:"info___raEGy",title:"title___TE8wt",titleLeft:"titleLeft___cyNcR",titleRight:"titleRight___N91L3",search:"search___SLT83",description:"description___xhaap",menuCourse:"menuCourse___jXQvt",paginationWrap:"paginationWrap___lwYL6"},ue=fe(60979),me=fe(2524),ve=fe(66457),ge=fe(41867),pe=Object.defineProperty,Se=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Ce=(At,Vt,Qt)=>Vt in At?pe(At,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):At[Vt]=Qt,Be=(At,Vt)=>{for(var Qt in Vt||(Vt={}))be.call(Vt,Qt)&&Ce(At,Qt,Vt[Qt]);if(Se)for(var Qt of Se(Vt))Ee.call(Vt,Qt)&&Ce(At,Qt,Vt[Qt]);return At},Pe=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const{Search:Fe}=ie.default,we={id:"type",name:"\u6765\u6E90",children:[{name:"\u5168\u90E8",id:"all",type:"type"},{name:"\u6211\u7684",id:"mine",type:"type"}]},Le={id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]},Oe=({classroomList:At,loading:Vt,dispatch:Qt,cb:zn,shixunIds:sr=[]})=>{var rr,vr,ur,Tn;const vn=(0,Ae.useParams)(),Zn=(0,Ae.useLocation)(),{actionTabs:Yt}=At,[Hr]=oe.default.useForm(),{shixunLists:Gn}=At,[Pr,Fr]=(0,ae.useState)([]),[Yr,Ir]=(0,ae.useState)([]),[mr,Tr]=(0,ae.useState)({page:1,type:"all",diff:0,status:"published",order:"desc",limit:10,sort:"myshixuns_count",tag_level:null,sub_discipline_id:null,discipline_id:null});(0,ae.useEffect)(()=>{At.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&Qt({type:"classroomList/getShixunLists",payload:Be({},mr)})},[At.actionTabs.key,mr]),(0,ae.useEffect)(()=>{Or()},[vn]);const Or=()=>Pe(void 0,null,function*(){const Kn=yield(0,ue.I_)({});Ir((Kn==null?void 0:Kn.disciplines)||[])}),xr=(Kn,da,oa)=>{mr.tag_level=Kn,mr.sub_discipline_id=da,mr.discipline_id=oa,Tr(Be({},mr)),Qt({type:"classroomList/getShixunLists",payload:Be({},mr)})},Mr=()=>{Qt({type:"classroomList/setActionTabs",payload:{}}),Tr({page:1,type:"all",diff:0,status:"all",order:"desc",limit:10,sort:"myshixuns_count",tag_level:null,sub_discipline_id:null,discipline_id:null})};return At.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:ae.createElement(re.Z,{placement:"bottom",height:"100%",closable:!0,onClose:Mr,open:At.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:te.drawer,footer:ae.createElement("div",{className:"tc"},ae.createElement(ee.ZP,{size:"middle",onClick:()=>{Mr(),Fr([])},style:{marginRight:8}},"\u53D6\u6D88"),ae.createElement(ee.ZP,{size:"middle",onClick:()=>Pe(void 0,null,function*(){var Kn,da;for(let oa=0;oa<(Pr==null?void 0:Pr.length);oa++){const Xr=Pr[oa];if(sr.includes(Xr)){he.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(da=(Kn=Gn==null?void 0:Gn.shixun_list)==null?void 0:Kn.find(ba=>ba.id===Xr))==null?void 0:da.title}`);return}}Mr(),zn(Pr),Fr([])}),type:"primary"},"\u786E\u5B9A"))},ae.createElement("section",{className:"tc"},ae.createElement(Fe,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:te.search,onSearch:Kn=>{mr.keyword=Kn,mr.page=1,Qt({type:"classroomList/getShixunLists",payload:Be({},mr)})}})),ae.createElement("section",{className:"edu-container"},ae.createElement("ul",{className:te.menu},ae.createElement("li",null,we.name),(rr=we==null?void 0:we.children)==null?void 0:rr.map((Kn,da)=>ae.createElement("li",{className:mr[we.id]==Kn.id?te.actived:"",onClick:()=>{mr[we.id]=Kn.id,Tr(Be({},mr)),Qt({type:"classroomList/getShixunLists",payload:Be({},mr)})}},ae.createElement("strong",null,Kn.name)))),ae.createElement("ul",{className:te.menuDirection},ae.createElement("li",{className:te.directionName},"\u65B9\u5411"),ae.createElement("li",{className:mr.discipline_id?"":te.actived,onClick:()=>{xr(null,null,null)}},ae.createElement("strong",null,"\u5168\u90E8")),Yr==null?void 0:Yr.map(function(Kn,da){return ae.createElement("li",{key:da,className:mr.discipline_id==Kn.id?te.actived:""},ae.createElement("strong",{onClick:()=>{xr(1,null,Kn.id)}},Kn.name),ae.createElement("div",null,Kn.sub_disciplines.map(function(oa,Xr){return ae.createElement("div",{key:Xr,className:"mt5"},ae.createElement("div",{className:mr.sub_discipline_id==oa.id?`${te.actived2} ${te.subTag}`:te.subTag,onClick:()=>{xr(2,oa.id,Kn.id)}},oa.name),ae.createElement("ul",{className:"mt5"},oa.tags&&oa.tags.map(function(ba,Pa){return ae.createElement("li",{key:Pa,className:mr.sub_discipline_id==ba.id&&mr.tag_level===3?te.actived2:"",onClick:()=>{xr(3,ba.id,Kn.id)}},ba.name)})))})))})),ae.createElement("ul",{className:te.menu},ae.createElement("li",null,Le.name),(vr=Le==null?void 0:Le.children)==null?void 0:vr.map((Kn,da)=>ae.createElement("li",{className:mr[Le.id]==Kn.id?te.actived:"",onClick:()=>{mr[Le.id]=Kn.id,Tr(Be({},mr)),Qt({type:"classroomList/getShixunLists",payload:Be({},mr)})}},ae.createElement("strong",null,Kn.name)))),ae.createElement(a.Z,null,ae.createElement(y.Z,{flex:"1"},ae.createElement("div",{className:te.menuCourse,style:{margin:"0px 15px"}},ae.createElement("ul",null,ae.createElement("li",null,"\u5DF2\u9009",ae.createElement("span",{className:"c-blue"},Pr.length),"\u4E2A\u5B9E\u8BAD"),ae.createElement("li",null,"\u5171",ae.createElement("span",{className:"c-blue"},Gn.shixuns_count),"\u4E2A\u8BFE\u7A0B"),ae.createElement("li",{className:"current",onClick:()=>{mr.order=mr.order==="asc"?"desc":"asc",Tr(Be({},mr))}},"\u5B66\u4E60\u4EBA\u6570",ae.createElement("p",{className:`edu-sorter current ${mr.order}`},mr.order==="asc"?ae.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}):ae.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))))),ae.createElement(y.Z,{className:"c-grey-999"},"\u4EC5\u5DF2\u53D1\u5E03\u7684\u5B9E\u8BAD\u8FDB\u5165\u672C\u5217\u8868\u5907\u9009")),(ur=Gn==null?void 0:Gn.shixun_list)==null?void 0:ur.map(function(Kn,da){return ae.createElement("div",{className:te.listItem,key:da},ae.createElement(x.default,{checked:Pr.includes(Kn.id),value:Kn.id,disabled:Kn==null?void 0:Kn.need_authorize,onChange:oa=>{let Xr=Pr.indexOf(Kn.id);Pr.indexOf(Kn.id)>-1?Fr(Pr.filter(ba=>ba!==Kn.id)):Fr(Pr.concat(Kn.id))}}),ae.createElement("div",{className:te.info},ae.createElement("div",{className:te.title},ae.createElement("div",{className:te.titleLeft},ae.createElement("a",{className:"c-black",href:`/shixuns/${Kn==null?void 0:Kn.identifier}/challenges`,target:"_blank"},ae.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:Kn.title}})),(Kn==null?void 0:Kn.need_authorize)&&ae.createElement("span",{onClick:()=>{(0,ve.rX)(!1)},style:{marginRight:"auto"},className:"tag-style bg-pink current ml10"},"\u9700\u6388\u6743"),(0,ge.Ny)()&&(Kn==null?void 0:Kn.mark_status)===1&&ae.createElement(b.Z,{title:Kn==null?void 0:Kn.mark_content},ae.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,ge.Ny)()&&(Kn==null?void 0:Kn.mark_status)===2&&ae.createElement(b.Z,{title:Kn==null?void 0:Kn.mark_content},ae.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,ge.Ny)()&&(Kn==null?void 0:Kn.mark_status)===3&&ae.createElement(b.Z,{title:Kn==null?void 0:Kn.mark_content},ae.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),ae.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},ae.createElement("span",{className:te.description,dangerouslySetInnerHTML:{__html:Kn.description}})),ae.createElement("div",{className:" mt15"},Kn.challenge_names.map(function(oa,Xr){return ae.createElement("span",{key:Xr,className:"mr30 font12"},"\u7B2C",Xr+1,"\u5173 ",oa," ")})),ae.createElement(z.Z,{dashed:!0}),ae.createElement("div",{className:"c-light-black mt20 font12"},ae.createElement("span",null,Kn.author_name),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,Kn.author_school_name),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570 ",Kn.level),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570 "),ae.createElement("span",null,Kn.study_count))))}),((Tn=Gn==null?void 0:Gn.shixun_list)==null?void 0:Tn.length)===0&&ae.createElement(me.Z,null),ae.createElement("p",null)),ae.createElement("div",{className:"tc mt20"},ae.createElement(de.Z,{defaultCurrent:1,hideOnSinglePage:!0,defaultPageSize:20,showSizeChanger:!1,current:mr.page||1,showQuickJumper:!0,total:Gn==null?void 0:Gn.shixuns_count,onChange:Kn=>{mr.page=Kn,Tr(Be({},mr))}})))};var Ge=(0,Ae.connect)(({classroomList:At,loading:Vt})=>({classroomList:At,loading:Vt}))(Oe),Ne=fe(5112),Ue={flex_box_center:"flex_box_center___TJ6ml",flex_space_between:"flex_space_between___KILKX",flex_box_vertical_center:"flex_box_vertical_center___RppSx",flex_box_center_end:"flex_box_center_end___LPGnq",flex_box_column:"flex_box_column___jU2Jl",wrp:"wrp___zKb7p",drawer:"drawer___TIdMd",menu:"menu___auLdF",actived:"actived___zYS5Q",actived2:"actived2___OGoZn",subTag:"subTag___b2h92",listItem:"listItem___xctQk",listItem2:"listItem2___s8hCO",info:"info___TVoda",title:"title___tbgwQ",titleLeft:"titleLeft___itHF1",titleRight:"titleRight___iEOIZ",search:"search___p3840",filter:"filter___M4Wxe",description:"description___QUPVu",menuCourse:"menuCourse___SpFbG"},He=fe(79274),Qe=Object.defineProperty,We=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ve=(At,Vt,Qt)=>Vt in At?Qe(At,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):At[Vt]=Qt,tt=(At,Vt)=>{for(var Qt in Vt||(Vt={}))ze.call(Vt,Qt)&&Ve(At,Qt,Vt[Qt]);if(We)for(var Qt of We(Vt))_e.call(Vt,Qt)&&Ve(At,Qt,Vt[Qt]);return At},et=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const{Search:dt}=ie.default,$e=({classroomList:At,loading:Vt,dispatch:Qt,onOk:zn})=>{var sr,rr;const[vr,ur]=(0,ae.useState)(tt({},(0,Ae.useParams)())),{coursesLists:Tn}=At,[vn,Zn]=(0,ae.useState)([]),[Yt,Hr]=(0,ae.useState)({page:1,type:"all",order:"desc",limit:20,sort:"myshixuns_count"});return(0,ae.useEffect)(()=>{At.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"&&(Qt({type:"classroomList/getCoursesLists",payload:tt({},Yt)}),Zn([]))},[At.actionTabs.key,vr.categoryId,Yt]),At.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"?null:ae.createElement(re.Z,{placement:"bottom",height:"100%",closable:!0,onClose:()=>{Qt({type:"classroomList/setActionTabs",payload:{key:""}})},open:At.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B",key:"bottom",rootClassName:Ue.drawer,footer:ae.createElement("div",{className:"tc",style:{height:"64px",display:"flex",alignItems:"center",justifyContent:"center"}},ae.createElement(ee.ZP,{size:"middle",onClick:()=>{Qt({type:"classroomList/setActionTabs",payload:{key:""}})},style:{marginRight:8,width:"120px",height:"40px",fontSize:"16px",borderRadius:"4px"}},"\u53D6\u6D88"),ae.createElement(ee.ZP,{style:{width:"120px",height:"40px",fontSize:"16px",borderRadius:"4px"},size:"middle",loading:Vt["classroomList/createCoursesHomework"],onClick:()=>et(void 0,null,function*(){var Gn;if((vn==null?void 0:vn.length)===0)return he.ZP.error("\u8BF7\u9009\u62E9\u4E00\u4E2A\u5B9E\u8DF5\u8BFE\u7A0B"),!1;zn((Gn=vn[0])==null?void 0:Gn.id),Qt({type:"classroomList/setActionTabs",payload:{key:""}})}),type:"primary"},"\u786E\u5B9A"))},ae.createElement("section",{className:"tc"},ae.createElement(dt,{placeholder:"\u8BFE\u7A0B\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Ue.search,onSearch:Gn=>{Yt.keyword=Gn,Gn&&(0,He.tk)({name:Gn,copywriting:Gn,position:"Subject"}),Hr(tt({},Yt))}})),ae.createElement("section",{className:"edu-container"},ae.createElement(se.Z,{spinning:Vt["classroomList/getCoursesLists"]},ae.createElement("aside",null,ae.createElement("div",{className:Ue.menuCourse},ae.createElement("ul",null,ae.createElement("li",null,"\u5DF2\u9009",ae.createElement("span",{className:"c-blue"},vn.length),"\u8BFE\u7A0B"),ae.createElement("li",null,"\u5171",ae.createElement("span",{className:"c-blue"},Tn.subjects_count),"\u4E2A\u8BFE\u7A0B"),ae.createElement("li",{className:"current",onClick:()=>{Yt.order=Yt.order==="asc"?"desc":"asc",Yt.sort="shixuns_count",Hr(tt({},Yt))}},"\u5B9E\u8BAD\u6570",ae.createElement("p",{className:`edu-sorter current ${Yt.sort==="shixuns_count"&&Yt.order}`},ae.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),ae.createElement("span",{className:"iconfont icon-sanjiaoxing-down"}))),ae.createElement("li",{className:"current",onClick:()=>{Yt.order=Yt.order==="asc"?"desc":"asc",Yt.sort="myshixuns_count",Hr(tt({},Yt))}},"\u5B66\u4E60\u4EBA\u6570",ae.createElement("p",{className:`edu-sorter current ${Yt.sort==="myshixuns_count"&&Yt.order}`},ae.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),ae.createElement("span",{className:"iconfont icon-sanjiaoxing-down"}))),ae.createElement("li",{className:`${Yt.type==="all"&&"c-blue"} current`,onClick:()=>{Yt.type="all",Hr(tt({},Yt))}},"\u5168\u90E8\u8BFE\u7A0B"),ae.createElement("li",{className:`${Yt.type==="mine"&&"c-blue"} current`,onClick:()=>{Yt.type="mine",Hr(tt({},Yt))}},"\u6211\u7684\u8BFE\u7A0B"))),((sr=Tn==null?void 0:Tn.subject_list)==null?void 0:sr.length)===0&&ae.createElement(me.Z,null),(rr=Tn==null?void 0:Tn.subject_list)==null?void 0:rr.map(function(Gn,Pr){var Fr,Yr,Ir;return ae.createElement("div",{className:Ue.listItem,key:Gn.id,style:{cursor:"auto"}},ae.createElement(Ne.ZP,{checked:vn.map(mr=>mr.id).includes(Gn.id),value:Gn.id,style:{marginTop:"1px"},disabled:Gn==null?void 0:Gn.need_authorize,onChange:mr=>{Zn([{id:Gn.id,identifier:Gn.identifier}])}}),ae.createElement("div",{className:Ue.info},ae.createElement("div",{className:Ue.title},ae.createElement("div",{className:Ue.titleLeft},ae.createElement(Ae.Link,{to:`/paths/${Gn.id}`,target:"_blank"},ae.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:Gn.title}})),(Gn==null?void 0:Gn.need_authorize)&&ae.createElement("span",{onClick:()=>{(0,ve.rX)(!1,"\u8BE5\u8BFE\u7A0B\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002")},style:{marginRight:"auto"},className:"tag-style bg-pink current ml10"},"\u9700\u6388\u6743"),ae.createElement(ee.ZP,{ghost:!0,href:`/paths/${Gn.id}`,type:"primary",target:"_blank",style:{borderRadius:"50px"}},"\u4F53\u9A8C\u8BFE\u7A0B"))),ae.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},ae.createElement("span",{className:Ue.description,dangerouslySetInnerHTML:{__html:Gn.description}})),ae.createElement(z.Z,{dashed:!0}),ae.createElement("div",{className:"c-light-black mt20"},(Fr=Gn==null?void 0:Gn.content)!=null&&Fr.author_name?ae.createElement("span",{dangerouslySetInnerHTML:{__html:(Ir=(Yr=Gn==null?void 0:Gn.content)==null?void 0:Yr.author_name)==null?void 0:Ir[0]}}):ae.createElement("span",null,Gn.author_name),ae.createElement("span",{className:"ml15 mr15"},"|"),Gn.author_school_name&&ae.createElement(ae.Fragment,null,ae.createElement("span",null,Gn.author_school_name),ae.createElement("span",{className:"ml15 mr15"},"|")),ae.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),ae.createElement("span",null,Gn.myshixuns_count),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u7AE0\u8282:",Gn.stage_count),ae.createElement("span",{className:"ml15 mr15"},"|"),ae.createElement("span",null,"\u5B9E\u8BAD:",Gn.shixuns_count))))})))),ae.createElement("div",{className:"tc mt20"},ae.createElement(de.Z,{defaultCurrent:1,hideOnSinglePage:!0,defaultPageSize:20,current:Yt.page||1,showQuickJumper:!0,total:Tn==null?void 0:Tn.subjects_count,onChange:Gn=>{Yt.page=Gn,Qt({type:"classroomList/getCoursesLists",payload:tt({},Yt)})}})))};var Ze=(0,Ae.connect)(({classroomList:At,loading:Vt})=>({classroomList:At,loading:Vt.effects}))($e),Me=fe(13570),qe=fe(74128),Ie={itemWrapper:"itemWrapper___FDtjf",imgWrapper:"imgWrapper___kuAby",infoWrapper:"infoWrapper___kPiaa",name:"name___s6_8x",info:"info___f4ohA",smallText:"smallText___NUbDW",rate:"rate___uCfIz",btnWrapper:"btnWrapper___oEyAe",removeBtn:"removeBtn____Ucrs",textEllipsis:"textEllipsis___dla3G",mr6:"mr6___BYwoU",modalWrapper:"modalWrapper___Xvqvn",okBtn:"okBtn___XoB2t",cancelBtn:"cancelBtn___QjfJN"},je=fe(65862),Je=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const Ye=({data:At,refreshData:Vt,virtualClassroomId:Qt,user:zn,isCreator:sr})=>{const{name:rr,user_name:vr,school_name:ur,challenges_count:Tn,stu_num:vn,level:Zn,score_info:Yt,pic:Hr,identifier:Gn,id:Pr,is_self:Fr}=At||{},Yr=()=>Je(void 0,null,function*(){ce.default.confirm({title:"\u79FB\u51FA\u5B9E\u8DF5\u9879\u76EE",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:Ie.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u5B9E\u8DF5\u9879\u76EE\u300A",rr,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:Ie.okBtn},cancelButtonProps:{className:Ie.cancelBtn},onOk:()=>Je(void 0,null,function*(){(yield(0,le.Ps)({virtual_classroom_id:Qt,shixun_id:Pr})).status===0&&Vt()})})}),Ir=()=>{(0,je.xg)(`/shixuns/${Gn}/challenges`)};return ae.createElement(a.Z,{className:`${Ie.itemWrapper} mb20`,wrap:!1,onClick:Ir},ae.createElement(y.Z,{flex:"0 0 auto",className:Ie.imgWrapper},ae.createElement("img",{src:`${qe.Z.IMG_SERVER}/${Hr}`,alt:""})),ae.createElement(y.Z,{flex:1,className:`${Ie.infoWrapper} ml20`},ae.createElement(a.Z,{className:Ie.name},ae.createElement("span",{title:rr,className:Ie.textEllipsis},rr)),ae.createElement(a.Z,{className:Ie.info,align:"middle",wrap:!1},ae.createElement(y.Z,{flex:"72px",className:Ie.textEllipsis,title:vr},vr),ae.createElement(y.Z,{flex:"140px",className:`ml20 ${Ie.textEllipsis}`,title:ur},ur),ae.createElement(y.Z,{flex:"52px",className:`${Ie.smallText} ${Ie.textEllipsis} ml20`},ae.createElement(b.Z,{title:"\u5173\u5361\u6570"},ae.createElement("i",{className:`iconfont icon-shixunguanqia font14 ${Ie.mr6}`})),ae.createElement("span",{title:Tn},Tn)),ae.createElement(y.Z,{flex:"72px",className:`${Ie.smallText} ${Ie.textEllipsis} ml10`},ae.createElement(b.Z,{title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("i",{className:`iconfont icon-chengyuan font14 ${Ie.mr6}`})),ae.createElement("span",{title:vn},vn)),ae.createElement(y.Z,{flex:"52px",className:`${Ie.smallText} ml10`},Zn),ae.createElement(y.Z,{className:"ml10"},ae.createElement(Me.Z,{className:Ie.rate,allowHalf:!0,disabled:!0,defaultValue:Yt})),ae.createElement(y.Z,{className:`${Ie.smallText} ml5`},Yt))),ae.createElement(y.Z,{className:Ie.btnWrapper},ae.createElement(ye.op,{onClick:mr=>{mr.stopPropagation(),Ir()}},ae.createElement("i",{className:"iconfont icon-shiyantixi font14",style:{marginRight:4}}),ae.createElement("span",null,"\u6311\u6218")),(Fr||sr||(0,ge.Ny)())&&ae.createElement(ye.op,{className:`ml20 ${Ie.removeBtn}`,onClick:mr=>{mr.stopPropagation(),Yr()}},ae.createElement("i",{className:"iconfont icon-shanjian font14",style:{marginRight:4}}),ae.createElement("span",null,"\u79FB\u51FA"))))};var ke=(0,Ae.connect)(({user:At})=>({user:At}))(Ye),De={itemWrapper:"itemWrapper___ngbXA",imgWrapper:"imgWrapper___AT5j9",infoWrapper:"infoWrapper___xhMza",name:"name___C2Snj",info:"info___roajb",smallText:"smallText___oUD1O",rate:"rate___FSIj9",btnWrapper:"btnWrapper___d_crD",removeBtn:"removeBtn___ur6lt",textEllipsis:"textEllipsis___BHIv1",mr6:"mr6___yqxpX",modalWrapper:"modalWrapper___kXUHq",okBtn:"okBtn___FmLSD",cancelBtn:"cancelBtn___MZ1Al"},Te=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const xe=({data:At,refreshData:Vt,virtualClassroomId:Qt,user:zn,isCreator:sr})=>{const{image_url:rr,subject_members_names:vr,name:ur,members_count:Tn,user_name:vn,school_name:Zn,shixuns_count:Yt,stages_count:Hr,id:Gn,identifier:Pr,is_self:Fr}=At||{},Yr=()=>Te(void 0,null,function*(){ce.default.confirm({title:"\u79FB\u51FA\u5B9E\u8DF5\u9879\u76EE",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:De.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u5B9E\u8DF5\u8BFE\u7A0B\u300A",ur,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:De.okBtn},cancelButtonProps:{className:De.cancelBtn},onOk:()=>Te(void 0,null,function*(){(yield(0,le.A)({virtual_classroom_id:Qt,subject_id:Gn})).status===0&&Vt()})})}),Ir=()=>{(0,je.xg)(`/paths/${Pr}`)};return ae.createElement(a.Z,{className:`${De.itemWrapper} mb20`,wrap:!1,onClick:Ir},ae.createElement(y.Z,{flex:"0 0 auto",className:De.imgWrapper},ae.createElement("img",{src:`${qe.Z.IMG_SERVER}/${rr}`,alt:""})),ae.createElement(y.Z,{flex:1,className:`${De.infoWrapper} ml20`},ae.createElement(a.Z,{className:De.name},ae.createElement("span",{title:ur,className:De.textEllipsis},ur)),ae.createElement(a.Z,{className:De.info,align:"middle",wrap:!1},ae.createElement(y.Z,{flex:"72px",className:De.textEllipsis,title:vn},vn),ae.createElement(y.Z,{flex:"140px",className:`ml20 ${De.textEllipsis}`,style:{visibility:Zn!=null&&Zn.length?"visible":"hidden"}},ae.createElement(b.Z,{title:"\u53D1\u5E03\u5355\u4F4D"},ae.createElement("i",{className:`iconfont icon-danwei1 font14 ${De.mr6}`})),ae.createElement("span",{title:Zn},Zn)),ae.createElement(y.Z,{flex:"128px",className:`ml20 ${De.textEllipsis}`,style:{visibility:vr!=null&&vr.length?"visible":"hidden"}},ae.createElement(b.Z,{title:"\u5408\u4F5C\u8005"},ae.createElement("i",{className:`iconfont icon-hezuozhe font14 ${De.mr6}`})),ae.createElement("span",{title:vr==null?void 0:vr.join("\u3001")},vr==null?void 0:vr.join("\u3001"))),ae.createElement(y.Z,{flex:"52px",className:`${De.smallText} ml40`},ae.createElement(b.Z,{title:"\u7AE0\u8282\u6570"},ae.createElement("i",{className:`iconfont icon-zhangjie1 font14 ${De.mr6}`})),ae.createElement("span",null,Hr)),ae.createElement(y.Z,{flex:"52px",className:`${De.smallText} ml20`},ae.createElement(b.Z,{title:"\u5B9E\u8BAD\u6570\u91CF"},ae.createElement("i",{className:`iconfont icon-xianshangkaoshi font12 ${De.mr6}`})),ae.createElement("span",null,Yt)),ae.createElement(y.Z,{flex:"72px",className:`${De.smallText} ${De.textEllipsis} ml20`},ae.createElement(b.Z,{title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("i",{className:`iconfont icon-chengyuan font14 ${De.mr6}`})),ae.createElement("span",{title:Tn},Tn)))),ae.createElement(y.Z,{className:De.btnWrapper},ae.createElement(ye.op,{onClick:mr=>{mr.stopPropagation(),Ir()}},ae.createElement("i",{className:"iconfont icon-xuexi1 font14",style:{marginRight:4}}),ae.createElement("span",null,"\u5B66\u4E60")),(Fr||sr||(0,ge.Ny)())&&ae.createElement(ye.op,{className:`ml20 ${De.removeBtn}`,onClick:mr=>{mr.stopPropagation(),Yr()}},ae.createElement("i",{className:"iconfont icon-shanjian font14",style:{marginRight:4}}),ae.createElement("span",null,"\u79FB\u51FA"))))};var Re=(0,Ae.connect)(({user:At})=>({user:At}))(xe),Xe=fe(99313),nt=fe(57809),Ke=fe(19842),rt=fe(1710),ht=fe(38147),ut={flex_box_center:"flex_box_center___E75df",flex_space_between:"flex_space_between___gq0xl",flex_box_vertical_center:"flex_box_vertical_center___yN56t",flex_box_center_end:"flex_box_center_end___G0peG",flex_box_column:"flex_box_column___uS1uT",scoremodal:"scoremodal___aL5pB",selectWrapper:"selectWrapper___Ygqye",allqingchu:"allqingchu___guMcz",title:"title___i1dJS",score:"score____OSKO",close:"close___Kduvv",content:"content___arBu1",items:"items___DH47o",bottom:"bottom___hM79Y",yes:"yes___hNQrL",no:"no___NZ6Ev",titlecount:"titlecount___xrIBB",add:"add___r1I3m",search:"search___uCkjg",searchIcon:"searchIcon___GY1Bx",tabWrap:"tabWrap___yKtsj",previewModal:"previewModal___qBSxv"},pt=fe(3033),lt={flex_box_center:"flex_box_center___Oif8T",flex_space_between:"flex_space_between___AazSm",flex_box_vertical_center:"flex_box_vertical_center___A0S3j",flex_box_center_end:"flex_box_center_end___aQhy8",flex_box_column:"flex_box_column___e0laF",warp:"warp___HQRjH",mainPart:"mainPart___v8N6G",shixunbutton:"shixunbutton___Y00NA",redio:"redio___uM1fN",redioitem:"redioitem____8_x3",redioitemyes:"redioitemyes___HjQPM",title:"title___nN6r6",titleyes:"titleyes___vijEf",yestag:"yestag___waPne",qcount:"qcount___iwzMc",score:"score___vVFHH",qtitle:"qtitle___n6nkO",checkbox:"checkbox___x651S",checkboxitem:"checkboxitem___v5u_N",checkboxitemyes:"checkboxitemyes___Q775I",bottom:"bottom___nJH50",bottomitem:"bottomitem___NgaAf",left:"left___jfWXT",right:"right___XMSbN",completion:"completion___k2_bH",content:"content___vkCb1",items:"items___c8VO4",simple:"simple___SbpfQ",shixun:"shixun___A22VU",combination:"combination___V2Gwz"},mt=fe(6339),it=fe(24334);const ct=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var yt=({qitem:At})=>{var Vt,Qt,zn,sr,rr,vr,ur,Tn,vn;return ae.createElement("div",{className:lt.warp},ae.createElement("div",{className:lt.mainPart},ae.createElement("div",{className:lt.qcount},(At==null?void 0:At.question_type)===8&&ae.createElement(mt.Z,{className:lt.content,showProgramFill:!0,value:(Vt=At==null?void 0:At.program_attr)==null?void 0:Vt.description}),(At==null?void 0:At.question_type)!=8&&ae.createElement(mt.Z,{className:lt.qtitle,value:(At==null?void 0:At.name)||(At==null?void 0:At.title)})),((At==null?void 0:At.question_type)===0||(At==null?void 0:At.question_type)===2)&&ae.createElement("div",null,(Qt=At==null?void 0:At.choices)==null?void 0:Qt.map((Zn,Yt)=>ae.createElement("div",{className:lt.redio},!(Zn!=null&&Zn.is_answer)&&ae.createElement("span",{className:lt.redioitem}),(Zn==null?void 0:Zn.is_answer)&&ae.createElement("i",{className:`${lt.redioitemyes} icon-duigou1`}),ae.createElement(mt.Z,{className:Zn!=null&&Zn.is_answer?lt.titleyes:lt.title,value:ct[Yt]+(Zn==null?void 0:Zn.choice_text)}),(Zn==null?void 0:Zn.is_answer)&&ae.createElement("div",{className:lt.yestag},"\u6B63\u786E\u7B54\u6848")))),(At==null?void 0:At.question_type)===1&&ae.createElement("div",null,(zn=At==null?void 0:At.choices)==null?void 0:zn.map((Zn,Yt)=>ae.createElement("div",{className:lt.checkbox},!(Zn!=null&&Zn.is_answer)&&ae.createElement("span",{className:lt.checkboxitem}),(Zn==null?void 0:Zn.is_answer)&&ae.createElement("i",{className:`${lt.checkboxitemyes} icon-duigou1`}),ae.createElement(mt.Z,{className:Zn!=null&&Zn.is_answer?lt.titleyes:lt.title,value:ct[Yt]+(Zn==null?void 0:Zn.choice_text)}),(Zn==null?void 0:Zn.is_answer)&&ae.createElement("div",{className:lt.yestag},"\u6B63\u786E\u7B54\u6848")))),(At==null?void 0:At.question_type)===3&&ae.createElement("div",{className:lt.completion},(sr=At==null?void 0:At.standard_answer)==null?void 0:sr.map((Zn,Yt)=>{var Hr;return ae.createElement("div",{style:{display:"flex"}},ae.createElement("span",{className:lt.title},"\u586B\u7A7A\u9879",Yt+1),ae.createElement("div",{className:lt.content},(Hr=Zn==null?void 0:Zn.answer_text)==null?void 0:Hr.map((Gn,Pr)=>ae.createElement("div",{className:lt.items},Gn))))})),(At==null?void 0:At.question_type)===4&&ae.createElement("div",{className:lt.simple},ae.createElement("span",{className:lt.title},"\u53C2\u8003\u7B54\u6848"),ae.createElement(mt.Z,{className:lt.content,value:((rr=At==null?void 0:At.answer_texts)==null?void 0:rr[0])||"- -"})),(At==null?void 0:At.question_type)===5&&((vr=At==null?void 0:At.challenge_names)==null?void 0:vr.map((Zn,Yt)=>ae.createElement("div",{className:lt.shixun},ae.createElement("span",{className:lt.qtitle},ae.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,je.EM)(Yt+1),"\u9898"),Zn)))),(At==null?void 0:At.question_type)===6&&ae.createElement("div",{className:lt.simple},ae.createElement(mt.Z,{className:lt.content,value:((ur=At==null?void 0:At.program_attr)==null?void 0:ur.description)||"- -"})),(At==null?void 0:At.question_type)===7&&((Tn=At==null?void 0:At.sub_item_banks)==null?void 0:Tn.map((Zn,Yt)=>{var Hr;return ae.createElement("div",null,ae.createElement("div",{className:lt.combination},ae.createElement("span",{className:lt.qtitle},Zn==null?void 0:Zn.name)),ae.createElement("div",{className:lt.warp,style:{padding:"0px",paddingTop:20}},ae.createElement("div",null,(Hr=Zn==null?void 0:Zn.choices)==null?void 0:Hr.map((Gn,Pr)=>ae.createElement("div",{className:lt.redio},!(Gn!=null&&Gn.is_answer)&&ae.createElement("span",{className:lt.redioitem}),(Gn==null?void 0:Gn.is_answer)&&ae.createElement("i",{className:`${lt.redioitemyes} icon-duigou1`}),ae.createElement(mt.Z,{className:Gn!=null&&Gn.is_answer?lt.titleyes:lt.title,value:ct[Pr]+(Gn==null?void 0:Gn.choice_text)}),(Gn==null?void 0:Gn.is_answer)&&ae.createElement("div",{className:lt.yestag},"\u6B63\u786E\u7B54\u6848"))))))})),(At==null?void 0:At.question_type)===8&&ae.createElement("div",null,ae.createElement(mt.Z,{disabledFill:!0,className:lt.content,showProgramFill:!0,value:it.Base64.decode(((vn=At==null?void 0:At.program_attr)==null?void 0:vn.code)||"")})),(At==null?void 0:At.question_type)===5&&ae.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},ae.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},ae.createElement("div",{style:{marginRight:30}},ae.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),ae.createElement("span",{style:{color:"#000000"}},(At==null?void 0:At.author_name)||"- -")),ae.createElement("div",{style:{marginRight:30}},ae.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),ae.createElement("span",{style:{color:"#000000"}},(At==null?void 0:At.author_school_name)||"- -")),ae.createElement("div",{style:{marginRight:30}},ae.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{style:{color:"#000000"}},(At==null?void 0:At.study_count)||"0"))),ae.createElement("a",{className:lt.shixunbutton,href:`/shixuns/${At==null?void 0:At.identifier}/challenges?exercise=true`,target:"_blank"},ae.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((At==null?void 0:At.question_type)<=4||[6,8].includes(At==null?void 0:At.question_type))&&ae.createElement("div",{className:lt.bottom},ae.createElement("div",{className:lt.bottomitem,style:{alignItems:"flex-start"}},ae.createElement("span",{className:lt.left},"\u89E3\u6790"),ae.createElement(mt.Z,{className:lt.right,value:(At==null?void 0:At.analysis)||""})),ae.createElement("div",{className:lt.bottomitem,style:{alignItems:"center"}},ae.createElement("span",{className:lt.left},"\u96BE\u5EA6"),ae.createElement("span",{className:lt.right},(At==null?void 0:At.difficulty)===1?"\u7B80\u5355":(At==null?void 0:At.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ae.createElement("div",{className:lt.bottomitem,style:{alignItems:"center"}},ae.createElement("span",{className:lt.left},"\u77E5\u8BC6\u70B9"),ae.createElement("span",{className:lt.right},At==null?void 0:At.tag_discipline))))},Et=fe(64303),Tt=fe(96435),_t=fe(35479),Gt=fe(61485),hn=Object.defineProperty,Rn=Object.defineProperties,bn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,Mn=(At,Vt,Qt)=>Vt in At?hn(At,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):At[Vt]=Qt,cr=(At,Vt)=>{for(var Qt in Vt||(Vt={}))lr.call(Vt,Qt)&&Mn(At,Qt,Vt[Qt]);if(dn)for(var Qt of dn(Vt))jn.call(Vt,Qt)&&Mn(At,Qt,Vt[Qt]);return At},hr=(At,Vt)=>Rn(At,bn(Vt)),Dn=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())}),Fn=({setScoreShow:At,ScoreShow:Vt,onOk:Qt,isshixuns:zn,isloadings:sr,checkHasUsedShixun:rr=!0})=>{var vr,ur,Tn;let[vn,Zn]=(0,ae.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:""}),[Yt,Hr]=(0,ae.useState)([]),[Gn,Pr]=(0,ae.useState)([]),[Fr,Yr]=(0,ae.useState)([]),[Ir,mr]=(0,ae.useState)([]);const[Tr,Or]=(0,ae.useState)(!1),[xr]=oe.default.useForm(),[Mr,Kn]=(0,ae.useState)(),[da,oa]=(0,ae.useState)(!1);let[Xr,ba]=(0,ae.useState)(zn);const[Pa,ua]=(0,ae.useState)([]),[pa,ka]=(0,ae.useState)(!0),[jt,$t]=(0,ae.useState)([]),[wn,Nn]=(0,ae.useState)(0),sn=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[en,ln]=(0,ae.useState)([]),En=(0,ae.useRef)(new Set),xn=(0,ae.useRef)(new Set),ar=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Hn=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],[Qr,wr]=(0,ae.useState)(!1),ia=()=>{xr.resetFields(),Xr=!1,ba(!1),wr(!1),xr.submit()};(0,ae.useEffect)(()=>{wn>0&&setTimeout(()=>{Nn(0)},2e3)},[wn]),(0,ae.useEffect)(()=>{Vt&&(xr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),pa&&Xr&&(xr.setFieldsValue({item_type:"SHIXUN"}),vn.item_type="SHIXUN",Zn(cr({},vn)),ka(!1)),Jn(vn),er(),kr())},[Vt]);function Jn(Ft){return Dn(this,null,function*(){var pn,Yn;if(Or(!0),Zn(Ft),(Fr==null?void 0:Fr.length)<=0&&Ft.type==="5"){mr([]),Or(!1);return}let Xt=Ft.type==="5"?Fr==null?void 0:Fr.filter(Br=>!Pa.includes(Br)):null,Qn=Ft.type==="5"?Fr==null?void 0:Fr.filter(Br=>Pa.includes(Br)):null,yr=yield(0,ht.ZP)("/api/item_banks.json",{method:"get",params:hr(cr({},Ft),{discipline_id:((pn=Ft==null?void 0:Ft.courseid)==null?void 0:pn[0])||null,sub_discipline_id:((Yn=Ft==null?void 0:Ft.courseid)==null?void 0:Yn[1])||null,ids:Xt,shixun_ids:Qn,keyword:Ft.keyword?encodeURIComponent(Ft.keyword):Ft.keyword,include_shixuns:!0,type:Ft.type==="5"?null:Ft.type,clazz:Ft.type==="3"?"ItemBanksGroup":null})});mr(yr),Or(!1)})}function er(){return Dn(this,null,function*(){let Ft=yield(0,ht.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:vn.type==="5"?null:vn.type==="5",clazz:"ItemBanksGroup"}});Hr((0,pt.L)(Ft==null?void 0:Ft.disciplines))})}function kr(){return Dn(this,null,function*(){let Ft=yield(0,ht.ZP)("/api/item_banks_groups/all_groups.json",{method:"get"});(Ft==null?void 0:Ft.status)===0&&$t(Ft)})}function Gr(Ft){return Dn(this,null,function*(){var pn,Yn,Xt,Qn;Or(!0);let yr=(pn=Ft.list)==null?void 0:pn.filter(dr=>!Pa.includes(dr)),Br=(Yn=Ft.list)==null?void 0:Yn.filter(dr=>Pa.includes(dr));if(yr.length===0&&Br.length===0){Or(!1),mr([]);return}let br=yield(0,ht.ZP)("/api/item_banks.json",{method:"get",params:hr(cr({},Ft),{discipline_id:((Xt=Ft==null?void 0:Ft.courseid)==null?void 0:Xt[0])||null,sub_discipline_id:((Qn=Ft==null?void 0:Ft.courseid)==null?void 0:Qn[1])||null,ids:yr,shixun_ids:Br,type:Ft.type==="5"?null:Ft.type,clazz:Ft.type==="3"?"ItemBanksGroup":null})});Or(!1),mr(br)})}const or=(0,Ae.useParams)(),[In,It,Mt,zt]=(0,_t.P)();return ae.createElement("div",null,ae.createElement(ce.default,{title:!1,footer:!1,open:Vt,width:1200,centered:!0,closable:!1,className:ut.scoremodal,onCancel:()=>{At(!1)}},ae.createElement("div",{style:{display:"flex",alignItems:"center"}},ae.createElement("div",{className:ut.title},"\u9898\u5E93\u9009\u9898"),ae.createElement("span",{onClick:()=>At(!1),className:ut.close},"X")),ae.createElement(Xe.default,{className:ut.tabWrap,activeKey:vn.type,onChange:Ft=>{vn.type=Ft,vn.page=1,vn.updated_at="",vn.quotes="",vn.courseid="",vn.tag_discipline_id=null,vn.difficulty=null,vn.keyword=null,vn.group_id=null,xr.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}),(vn==null?void 0:vn.item_type)==="SHIXUN"&&vn.type!=="5"&&(Xr=!0,ba(!0)),wr(!1),vn.type==="5"&&(Xr=!1,ba(!1)),Zn(cr({},vn)),Jn(cr({},vn))},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:ae.createElement("div",null,"\u5DF2\u9009",Fr.length>0&&ae.createElement("span",{className:ut.titlecount},Fr.length),wn>0&&ae.createElement("span",{className:ut.add},"+",wn)),key:"5"}]}),ae.createElement(oe.default,{layout:"inline",form:xr,onValuesChange:(Ft,pn)=>{var Yn,Xt;const Qn=Object.values(pn).some(Br=>Br!==null&&Br!==""&&Br!==void 0),yr=pn.keyword==="";if(wr(Qn||!yr),vn.page=1,vn.keyword=(Xt=(Yn=vn.keyword)==null?void 0:Yn.replace)==null?void 0:Xt.call(Yn,/^\s+|\s+$/g,""),(pn==null?void 0:pn.item_type)==="SHIXUN"){if(vn.type==="5"?ba(!1):ba(!0),Ft.keyword||Ft.keyword==="")return;xr.submit()}else{if(Ft!=null&&Ft.courseid&&xr.setFieldsValue({tag_discipline_id:""}),ba(!1),Ft.keyword||Ft.keyword==="")return;xr.submit()}},onFinish:Ft=>{Jn(cr(cr({},vn),Ft))}},ae.createElement(oe.default.Item,{name:"item_type"},ae.createElement(nt.default,{className:ut.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},sn.map(Ft=>ae.createElement(nt.default.Option,{key:Ft.value},Ft.name)))),ae.createElement(oe.default.Item,{name:"courseid"},ae.createElement(Ke.Z,{className:ut.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Yt})),!Xr&&ae.createElement(oe.default.Item,{name:"tag_discipline_id"},ae.createElement(nt.default,{className:ut.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(vr=Ir==null?void 0:Ir.tag_disciplines)==null?void 0:vr.map(Ft=>ae.createElement(nt.default.Option,{key:Ft.id},Ft.name)))),ae.createElement(oe.default.Item,{name:Xr?"diff":"difficulty"},ae.createElement(nt.default,{className:ut.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Xr&&ar.map(Ft=>ae.createElement(nt.default.Option,{key:Ft.value},Ft.name)),Xr&&Hn.map(Ft=>ae.createElement(nt.default.Option,{key:Ft.value},Ft.name)))),(vn.type==="3"||vn.type==="0")&&!Xr&&ae.createElement(oe.default.Item,{name:"group_id"},ae.createElement(nt.default,{className:ut.selectWrapper,placeholder:"\u6587\u4EF6\u5939",showSearch:!0,style:{width:118},size:"middle",allowClear:!0,filterOption:(Ft,pn)=>pn.children.toUpperCase().indexOf(Ft.toUpperCase())!==-1},ae.createElement(nt.default.Option,{key:0},"\u6839\u76EE\u5F55"),vn.type==="3"&&((ur=jt==null?void 0:jt.share_banks_groups)==null?void 0:ur.map(Ft=>ae.createElement(nt.default.Option,{key:Ft.id},Ft.name))),vn.type==="0"&&((Tn=jt==null?void 0:jt.my_banks_groups)==null?void 0:Tn.map(Ft=>ae.createElement(nt.default.Option,{key:Ft.id},Ft.name))))),Qr&&ae.createElement("span",{className:ut.allqingchu,onClick:ia},ae.createElement("i",{className:"iconfont icon-guanbi4"}),ae.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),ae.createElement(oe.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},ae.createElement(ie.default.Search,{className:ut.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:ae.createElement("i",{className:`iconfont icon-sousuo9 font14 ${ut.searchIcon}`,onClick:()=>xr.submit()}),onSearch:Ft=>{xr.submit()}}))),ae.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},ae.createElement("div",{onClick:()=>{vn.updated_at==="asc"?vn.updated_at="desc":vn.updated_at="asc",Zn(hr(cr({},vn),{page:1})),Jn(hr(cr({},vn),{page:1}))}}," ",vn.updated_at?ae.createElement("img",{src:vn.updated_at==="asc"?Et.Z:Tt.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):ae.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),ae.createElement("div",{onClick:()=>{vn.quotes==="asc"?vn.quotes="desc":vn.quotes="asc",Zn(hr(cr({},vn),{page:1})),Jn(hr(cr({},vn),{page:1}))},style:{marginLeft:20}}," ",vn.quotes?ae.createElement("img",{src:vn.quotes==="asc"?Et.Z:Tt.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):ae.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),ae.createElement(rt.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ir==null?void 0:Ir.items)||(Ir==null?void 0:Ir.shixun_list),pagination:!1,loading:Tr,rowKey:Ft=>Ft.id,rowSelection:{type:"checkbox",selectedRowKeys:Gn,getCheckboxProps:Ft=>({disabled:Ft.shixun_tag_num===1}),onSelect(Ft,pn,Yn){if(pn)Xr&&ua([...Pa,Ft.id]),Pr([...Gn,Ft.id]),ln([...en,Ft]),Ft.identifier?En.current.add(Ft.id):xn.current.add(Ft.id),Nn(1),Yr([...Fr,Ft.id]);else{const Xt=en.filter(Br=>Br.id!==Ft.id);ln(Xt);const Qn=Xt.map(Br=>Br.id);Pr([...Qn]),Ft.identifier?En.current.delete(Ft.id):xn.current.delete(Ft.id);let yr=Fr.filter(Br=>Br!==Ft.id);if(Yr(yr),Xr){let Br=Pa.filter(br=>br!==Ft.id);ua([...Br])}if(vn.type==="5"){Gr(hr(cr({},vn),{list:[...yr]}));return}}},onSelectAll(Ft,pn,Yn){if(Ft){const Xt=Yn.map(Qn=>Qn.id);Xr&&ua([...Pa,...Xt]),ln([...en,...Yn]),Pr([...Gn,...Xt]),Yr([...Fr,...Xt]);for(const Qn of Yn)Qn.identifier?En.current.add(Qn.id):xn.current.add(Qn.id)}else{const Xt=Yn.map(Br=>Br.id),Qn=Gn.filter(Br=>!Xt.some(br=>br===Br)),yr=en.filter(Br=>!Xt.some(br=>br===Br.id));if(ln(yr),Pr([...Qn]),Yr([...Qn]),Xr){let Br=Pa.filter(br=>!Xt.some(dr=>dr===br.id));ua([...Br])}vn.type==="5"&&Gr(hr(cr({},vn),{list:[...Qn]}));for(const Br of Xt)Br.identifier?En.current.delete(Br):xn.current.delete(Br)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(Ft,pn,Yn)=>{var Xt,Qn;return ae.createElement("span",null,Xr||pn!=null&&pn.challenge_names?"\u5B9E\u8BAD\u9898":(Qn=(Xt=sn==null?void 0:sn.filter(yr=>yr.value===Ft))==null?void 0:Xt[0])==null?void 0:Qn.name)}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Xr?"30%":"60%",key:"name",render:(Ft,pn,Yn)=>{var Xt;return ae.createElement(mt.Z,{key:1,showLines:1,showTextOnly:!0,value:Xr||pn!=null&&pn.challenge_names?pn!=null&&pn.title||Ft===null?"--":Ft:(pn==null?void 0:pn.item_type)=="BPROGRAM"?(Xt=pn==null?void 0:pn.program_attr)==null?void 0:Xt.description:Ft||"- -"})}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Xr},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Xr},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(Ft,pn,Yn)=>{var Xt,Qn,yr,Br;return ae.createElement("span",null,Xr||pn!=null&&pn.challenge_names?(pn==null?void 0:pn.level)||((Qn=(Xt=ar==null?void 0:ar.filter(br=>br.value===Ft))==null?void 0:Xt[0])==null?void 0:Qn.name):(Br=(yr=ar==null?void 0:ar.filter(br=>br.value===Ft))==null?void 0:yr[0])==null?void 0:Br.name)}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Xr,render:(Ft,pn,Yn)=>ae.createElement("span",null,Ft||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(Ft,pn,Yn)=>ae.createElement("span",null,Xr||pn!=null&&pn.challenge_names?(pn==null?void 0:pn.study_count)||(pn==null?void 0:pn.stu_num):Ft)},{title:ae.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",ae.createElement(b.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},ae.createElement(Gt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Xr,render:(Ft,pn,Yn)=>ae.createElement("span",null,Ft||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(Ft,pn,Yn)=>ae.createElement("div",{style:{flex:1,textAlign:"start"}},ae.createElement("a",{onClick:()=>{var Xt,Qn;Kn(hr(cr({},pn),{question_type:Xr||pn!=null&&pn.challenge_names?5:(Qn=(Xt=sn==null?void 0:sn.filter(yr=>yr.value===(pn==null?void 0:pn.item_type)))==null?void 0:Xt[0])==null?void 0:Qn.question_type})),oa(!0)}},"\u67E5\u770B"),(pn==null?void 0:pn.shixun_tag_num)===1&&ae.createElement("a",{target:"_blank",href:`/shixuns/${pn==null?void 0:pn.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}].filter(Ft=>!Ft.hidden)}),ae.createElement(de.Z,{current:vn.page,total:(Ir==null?void 0:Ir.items_count)||(Ir==null?void 0:Ir.shixuns_count),style:{marginBottom:20},defaultPageSize:vn.per_page,showTotal:Ft=>ae.createElement("span",null,"\u5171\xA0",ae.createElement("span",{style:{color:"#165DFF"}},Ft),"\xA0\u6761\u6570\u636E"),pageSize:vn.per_page,onChange:(Ft,pn)=>{vn.page=Ft,vn.per_page=pn,Zn(cr({},vn)),Jn(cr({},vn))}}),ae.createElement("div",{className:ut.bottom},ae.createElement(ee.ZP,{className:ut.no,onClick:()=>{At(!1)}},"\u53D6\u6D88"),ae.createElement(ee.ZP,{loading:sr,style:{width:sr&&75},className:ut.yes,onClick:()=>Dn(void 0,null,function*(){if((Fr==null?void 0:Fr.length)<=0){he.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let Ft;rr&&(Ft=yield zt({id:[...En.current],course_id:or.coursesId,type:"shixun"})),(!rr||!Ft)&&Qt([...xn.current],[...En.current],!0,Fr==null?void 0:Fr.length)})},"\u786E\u8BA4"))),ae.createElement(ce.default,{open:da,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:ut.previewModal,width:1e3,centered:!0,onCancel:()=>{oa(!1)},onOk:()=>{oa(!1)}},ae.createElement(yt,{qitem:Mr})),ae.createElement(_t.Z,{visible:In,position:"\u5DF2\u9009\u8BD5\u9898",onCancel:It,onOk:Ft=>Dn(void 0,null,function*(){const pn=[],Yn=[];for(const Xt of Ft)Xt.is_copy===1&&Xt.is_use===1&&pn.push(Xt.id),Xt.is_use===0&&Yn.push(Xt.id);yield Qt([...xn.current],[...En.current].filter(Xt=>!Yn.includes(Xt)),!0,Fr==null?void 0:Fr.length,pn)}),renderData:Mt,inPaper:!1,modalType:"multiple",type:"shixun"}))},Ct={contentListWrap:"contentListWrap___ZH7d2",li:"li___j_LdE",bottom:"bottom___vg39s",actionLeftItem:"actionLeftItem___G9LXk",questionTypeName:"questionTypeName___JxbiV",more:"more___Zc_dQ",textBtn:"textBtn___vA27R",delBtn:"delBtn___BUYGb",line:"line___D6NTm",b1:"b1___pDdQ9",b2:"b2___VvH5K"},cn=fe(75408),nn=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const Sn=[{type:"SINGLE",name:"\u5355\u9009\u9898"},{type:"MULTIPLE",name:"\u591A\u9009\u9898"},{type:"JUDGMENT",name:"\u5224\u65AD\u9898"},{type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},{type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},{type:"COMPLETION",name:"\u586B\u7A7A\u9898"},{type:"COMBINATION",name:"\u7EC4\u5408\u9898"},{type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],Ln={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},On=({data:At,refreshData:Vt,virtualClassroomId:Qt,user:zn,isCreator:sr,handleStartExperience:rr})=>{var vr,ur,Tn;const{id:vn,name:Zn,author:Yt,item_type:Hr,difficulty:Gn,updated_at:Pr,quotes:Fr}=At||{},Yr=mr=>nn(void 0,null,function*(){ce.default.confirm({title:"\u79FB\u51FA\u8BD5\u9898",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:Ct.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u8BFE\u7A0B\u8BD5\u9898\u300A",Zn,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:Ct.okBtn},cancelButtonProps:{className:Ct.cancelBtn},onOk:()=>nn(void 0,null,function*(){(yield(0,le.Lk)({virtual_classroom_id:Qt,id:mr})).status===0&&Vt()})})}),Ir=()=>{(0,je.xg)(`/paths/${identifier}`)};return ae.createElement("div",{className:Ct.contentListWrap},ae.createElement("div",{className:Ct.li},ae.createElement("div",{className:Ct.top},ae.createElement(cn.Z,{key:vn,data:At,showCheckbox:!1})),ae.createElement("div",{className:Ct.bottom},ae.createElement("p",{className:`${Ct.actionLeftItem} ${Ct.questionTypeName}`},"No.",vn),ae.createElement("p",{className:`${Ct.actionLeftItem} ${Ct.questionTypeName}`},(vr=Sn.find(mr=>mr.type===Hr))==null?void 0:vr.name),ae.createElement("p",{className:Ct.actionLeftItem},Ln[Gn]),ae.createElement("p",{className:Ct.actionLeftItem},"\u521B\u5EFA\u8005",ae.createElement(b.Z,{title:Yt==null?void 0:Yt.name},ae.createElement("span",{className:"c-grey-333"},((ur=Yt==null?void 0:Yt.name)==null?void 0:ur.length)>6?((Tn=Yt==null?void 0:Yt.name)==null?void 0:Tn.substr(0,5))+"...":Yt==null?void 0:Yt.name))),ae.createElement("p",{className:Ct.actionLeftItem},"\u66F4\u65B0",ae.createElement("span",{className:"c-grey-333"},Pr)),ae.createElement("p",{className:Ct.actionLeftItem},"\u4F7F\u7528\u6B21\u6570",ae.createElement("span",{className:"c-grey-333"},Fr)),ae.createElement("div",{className:Ct.more},["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","PROGRAM","BPROGRAM"].includes(Hr)&&ae.createElement("span",{className:Ct.textBtn,style:{cursor:"pointer"},onClick:()=>rr(At)},ae.createElement("div",{className:Ct.line},ae.createElement("b",{className:Ct.b1}),ae.createElement("b",{className:Ct.b2})),ae.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ae.createElement("div",{className:Ct.line},ae.createElement("b",{className:Ct.b1}),ae.createElement("b",{className:Ct.b2}))),ae.createElement("span",{className:`${Ct.textBtn} ${Ct.delBtn}`,onClick:()=>{Yr(vn)}},"\u79FB\u51FA")))))};var mn=(0,Ae.connect)(({user:At})=>({user:At}))(On),Pt=fe(73878),Bt=fe(47389),xt=fe(26519),tn=fe(14833),Bn=fe(47354),fn=fe(5871),Sr=fe(26724),Vn=fe.n(Sr),Ht=fe(49018),Lt={flex_box_center:"flex_box_center___yFxgG",flex_space_between:"flex_space_between___UsNbm",flex_box_vertical_center:"flex_box_vertical_center___H4AaI",flex_box_center_end:"flex_box_center_end___brvj1",flex_box_column:"flex_box_column___ANz6w",bg:"bg___INO_I",containerTitle:"containerTitle___Fgq2j",containerDesc:"containerDesc___yzyxL",menus:"menus___mG8i5",listItem:"listItem___Xxrwb",info:"info___LRMvW",title:"title___CDxA4",titleLeft:"titleLeft___ecHXW",titleRight:"titleRight___y2uWB",acitons:"acitons___dw4TM",move:"move___lNPOE",hideHeadCheckbox:"hideHeadCheckbox___G7EzG",moveCategory:"moveCategory___EQbg_",tabSearch:"tabSearch___f3jgD",warpModal:"warpModal___qPLe0",modalColumn:"modalColumn___uTffJ",modalRow:"modalRow___DV84G",sup:"sup___JMKJV"},gn=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,ir=(At,Vt,Qt)=>Vt in At?gn(At,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):At[Vt]=Qt,An=(At,Vt)=>{for(var Qt in Vt||(Vt={}))Pn.call(Vt,Qt)&&ir(At,Qt,Vt[Qt]);if(Rt)for(var Qt of Rt(Vt))_n.call(Vt,Qt)&&ir(At,Qt,Vt[Qt]);return At},bt=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const{TabPane:kt}=Xe.default,Nt=({classroomList:At,exercise:Vt,loading:Qt,dispatch:zn,isVtrs:sr=!1,handleVtrsOk:rr})=>{var vr;const ur=(0,Ae.useParams)(),Tn=(0,Ae.useLocation)(),[vn]=oe.default.useForm(),{brankList:Zn}=Vt;let[Yt,Hr]=(0,ae.useState)(!0),[Gn,Pr]=(0,ae.useState)(!1);const[Fr,Yr]=(0,ae.useState)("myself");let[Ir,mr]=(0,ae.useState)([]),[Tr,Or]=(0,ae.useState)([]),[xr,Mr]=(0,ae.useState)(),[Kn,da]=(0,ae.useState)([]);const oa=(0,ae.useRef)(null),[Xr,ba]=(0,ae.useState)(!1),[Pa,ua]=(0,ae.useState)(""),[pa,ka]=(0,ae.useState)(""),jt=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",width:150,ellipsis:!0,align:"left"},{title:"\u77E5\u8BC6\u70B9",dataIndex:"course_list_name",width:150,ellipsis:!0,align:"left"},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:Jn=>Jn?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(Jn,er)=>ae.createElement("a",{href:Jn?`/randompaper/detail/${er.id}`:`/paperlibrary/see/${er.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[$t,wn]=(0,ae.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,ae.useEffect)(()=>{Vt.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(en(),da([]),Nn())},[Vt.actionTabs.key]);const Nn=()=>bt(void 0,null,function*(){const Jn=yield zn({type:"paperlibrary/getTeachGroupData"});Or(Jn)}),sn=Jn=>{const er=parseInt(Jn);return isNaN(er)?"":er},en=()=>bt(void 0,null,function*(){var Jn;if(Yt){++$t.page,Hr(!1);const er=yield zn({type:"exercise/getBrankList",payload:An({},$t)});Ir=er!=null&&er.object_list?[...Ir.concat(er==null?void 0:er.object_list)]:Ir,Mr(er.is_teacher),((Jn=er.object_list)==null?void 0:Jn.length)<$t.limit?Hr(!1):Hr(!0),mr([...Ir])}}),ln=Jn=>{oa.current.scrollTop=0,Ir=[],$t.page=0,$t.group_id=Jn,Yt=!0,da([]),wn(An({},$t)),en()},En={selectedRowKeys:Kn,onChange:Jn=>{da(Jn)},type:"radio"},xn=()=>{wn(An({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),mr([]),Hr(!0),Yr("myself"),zn({type:"exercise/setActionTabs",payload:{}}),Pr(!1)},[ar,Hn,Qr,wr]=(0,_t.P)(),ia=Jn=>bt(void 0,null,function*(){let er=!1;Ir.forEach(In=>{Kn.includes(In.id)&&(er=In.is_random)});const kr=Jn.map(In=>({shixun_id:In.id,is_use:In.is_use,is_copy:In.is_copy}));if(!er){const In=yield zn({type:"exercise/saveBanks",payload:{course_id:ur.coursesId,object_type:"examination_bank",bank_id:Kn,shixuns_info:kr}});(In==null?void 0:In.status)===0&&((0,je.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),zn({type:"classroomList/getClassroomExercisesList",payload:An({},Vt.actionTabs.params)}),ua(`/classrooms/${ur.coursesId}/exercise/${In.exercise_id}/detail?random=${In.is_random}&tabs=3`),ka(`/classrooms/${ur.coursesId}/exercise/add/${In.exercise_id}?random=${In.is_random}&type=2`),ba(!0),he.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Hn(),xn());return}zn({type:"exercise/setActionTabs",payload:{}}),Hn();let Gr=1,or=ce.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:ae.createElement("div",{className:Lt.modalColumn},ae.createElement("div",{className:Lt.modalRow},ae.createElement("sup",{className:Lt.sup},"*"),ae.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),ae.createElement(fn.Z,{parser:sn,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Gr,onChange:In=>{Gr=In;const It=document.getElementById("model_error");Gr<1||Gr>50?It.style.display="block":It.style.display="none"}})),ae.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:xn,onOk:()=>bt(void 0,null,function*(){if(Gr<1||Gr>50){const It=document.getElementById("model_error");return It.style.display="block",Promise.reject()}or.update({cancelButtonProps:{disabled:!0}});const In=yield zn({type:"exercise/saveBanks",payload:{course_id:ur.coursesId,object_type:"examination_bank",bank_id:Kn,shixuns_info:kr,num:Gr}});or.update({cancelButtonProps:{disabled:!1}}),In&&In.status===0?((0,je.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),ce.default.destroyAll(),zn({type:"classroomList/getClassroomExercisesList",payload:An({},Vt.actionTabs.params)}),xn(),Hn(),he.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(xn(),Hn())})})});return ae.createElement(ae.Fragment,null,ae.createElement(ce.default,{centered:!0,width:980,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:Vt.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Gn,bodyStyle:{minHeight:200},wrapClassName:Lt.warpModal,onOk:()=>bt(void 0,null,function*(){var Jn;if(!Kn.length){he.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Pr(!0);let er=!1,kr=!1;if(Ir.forEach(or=>{Kn.includes(or.id)&&or.need_authorize&&(er=or.need_authorize),Kn.includes(or.id)&&(kr=or.is_random)}),er){(0,ve.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}if(sr){rr(Kn),Pr(!1);return}(yield wr({id:`${Kn[0]}`,course_id:(Jn=At.detailTopBanner)==null?void 0:Jn.course_id,type:"examination_bank"}))||ia([]),Pr(!1)}),onCancel:xn},ae.createElement(Xe.default,{activeKey:Fr,onTabClick:Jn=>bt(void 0,null,function*(){oa.current.scrollTop=0,Ir=[],Fr!==Jn&&da([]),Yr(Jn),$t.page=0,$t.filter=Jn,$t.group_id=null,Yt=!0,en()})},ae.createElement(kt,{tab:ae.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),ae.createElement(kt,{tab:ae.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),ae.createElement(kt,{tab:ae.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),ae.createElement("div",{className:Lt.tabSearch},Fr==="teacher"&&ae.createElement(nt.default,{value:$t.group_id,onChange:ln,size:"middle",style:{width:200,marginRight:30}},ae.createElement(nt.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(vr=Tr==null?void 0:Tr.groups)==null?void 0:vr.map(Jn=>ae.createElement(nt.default.Option,{key:Jn==null?void 0:Jn.group_id,value:Jn==null?void 0:Jn.group_id},Jn==null?void 0:Jn.name))),ae.createElement(ie.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:$t.search,onChange:Jn=>{$t.search=Jn.target.value,wn(An({},$t))},onSearch:Jn=>{oa.current.scrollTop=0,Ir=[],$t.page=0,Yt=!0,da([]),Jn&&(0,He.tk)({name:Jn,copywriting:Jn,position:"Exercise"}),en()}})),ae.createElement("div",{ref:oa,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!xr&&Fr==="public"&&ae.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},ae.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BFE\u7A0B\u8D44\u6E90\u5E93"),ae.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),ae.createElement(Vn(),{initialLoad:!1,pageStart:0,loadMore:()=>{en()},hasMore:Yt,useWindow:!1},Vt.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&xr&&ae.createElement(Ht.Z,{className:Lt.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:Ir,onRow:Jn=>({onClick:()=>{da([Jn==null?void 0:Jn.id])}}),resColumns:jt,rowSelection:En})))),ae.createElement(ce.default,{title:"\u63D0\u793A",open:Xr,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:ae.createElement("div",null,ae.createElement(ee.ZP,{onClick:()=>{ba(!1),Ae.history.push(pa)}},"\u4FEE\u6539\u8BD5\u5377"),ae.createElement(ee.ZP,{type:"primary",onClick:()=>{Ae.history.push(Pa),ba(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{ba(!1)}},ae.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),ae.createElement(_t.Z,{inPaper:!0,visible:ar,onCancel:Hn,onOk:ia,renderData:Qr,modalType:"multiple",type:"examination_bank"}))};var wt=(0,Ae.connect)(({exercise:At,loading:Vt,classroomList:Qt})=>({exercise:At,loading:Vt,classroomList:Qt}))(Nt),qt=fe(9748),Jt=fe(74609),rn=Object.defineProperty,on=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,tr=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Lr=(At,Vt,Qt)=>Vt in At?rn(At,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):At[Vt]=Qt,Er=(At,Vt)=>{for(var Qt in Vt||(Vt={}))Wt.call(Vt,Qt)&&Lr(At,Qt,Vt[Qt]);if(tr)for(var Qt of tr(Vt))Rr.call(Vt,Qt)&&Lr(At,Qt,Vt[Qt]);return At},Ur=(At,Vt)=>on(At,$n(Vt)),Cn=(At,Vt,Qt)=>new Promise((zn,sr)=>{var rr=Tn=>{try{ur(Qt.next(Tn))}catch(vn){sr(vn)}},vr=Tn=>{try{ur(Qt.throw(Tn))}catch(vn){sr(vn)}},ur=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(rr,vr);ur((Qt=Qt.apply(At,Vt)).next())});const Xn=({classroomList:At,virtualSpaces:Vt,user:Qt,dispatch:zn})=>{var sr,rr;const{virtual_spacesId:vr}=(0,Ae.useParams)(),{virtualSpacesDetails:ur}=Vt,Tn=ur==null?void 0:ur.is_creator,vn=(ur==null?void 0:ur.is_member)||Tn||(0,ge.Ny)(),Zn=(rr=(sr=Vt==null?void 0:Vt.menus)==null?void 0:sr.find(In=>In.icon_type==="experiment"))==null?void 0:rr.id;(0,ae.useEffect)(()=>{Ir({page:1,limit:10}),er({page:1,limit:10}),pa({page:1,limit:10}),ln({page:1,limit:10})},[]);const[Yt,Hr]=(0,ae.useState)(!1),[Gn,Pr]=(0,ae.useState)({page:1,limit:10}),[Fr,Yr]=(0,ae.useState)(),Ir=In=>Cn(void 0,null,function*(){Hr(!0);const It=yield(0,le.rV)(vr,In);"status"in It||(Yr(It),Hr(!1))}),[mr,Tr]=(0,ae.useState)(!1),[Or,xr]=(0,ae.useState)({page:1,limit:10}),[Mr,Kn]=(0,ae.useState)(),[da,oa]=(0,ae.useState)(!1),[Xr,ba]=(0,ae.useState)(!1),[Pa,ua]=(0,ae.useState)(!1),pa=In=>Cn(void 0,null,function*(){Tr(!0);const It=yield(0,le.eb)(Er({virtual_classroom_id:vr},In));(It==null?void 0:It.status)===0&&Kn(It),Tr(!1)}),ka=In=>Cn(void 0,null,function*(){console.log(In,"gather");const{item_type:It}=In;if(It==="PROGRAM"){const{program_attr:{identifier:Mt}}=In,zt=yield zn({type:"problemset/startExperience",payload:{id:Mt}});if(zt.status===0){const Ft=zt.identifier;(0,je.xg)(`/myproblems/${Ft}`);return}he.ZP.warning(zt==null?void 0:zt.message);return}zn({type:"problemset/setActionTabs",payload:{key:It,params:In}})}),[jt,$t]=(0,ae.useState)(!1),[wn,Nn]=(0,ae.useState)({page:1,limit:10}),[sn,en]=(0,ae.useState)(),ln=In=>Cn(void 0,null,function*(){$t(!0);const It=yield(0,le.NZ)(Er({virtual_classroom_id:vr},In));(It==null?void 0:It.status)===0&&en(It),$t(!1)}),En=In=>Cn(void 0,null,function*(){ce.default.confirm({title:"\u79FB\u51FA\u8BD5\u5377",icon:null,okText:"\u786E\u8BA4\u79FB\u51FA",className:E.modalWrapper,width:428,centered:!0,closable:!1,content:ae.createElement("div",null,"\u786E\u8BA4\u5C06\u8BFE\u7A0B\u8BD5\u5377\u300A",In==null?void 0:In.name,"\u300B\u79FB\u51FA\u865A\u62DF\u793E\u533A\u5417\uFF1F"),okButtonProps:{className:E.okBtn},cancelButtonProps:{className:E.cancelBtn},onOk:()=>Cn(void 0,null,function*(){(yield(0,le.Np)({virtual_classroom_id:vr,id:In==null?void 0:In.id})).status===0&&ln({page:1,limit:10})})})}),xn=(In,It)=>{console.log(It,"data"),zn({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:In,data:It}}})},[ar,Hn]=(0,ae.useState)(!1),[Qr,wr]=(0,ae.useState)({page:1,limit:10}),[ia,Jn]=(0,ae.useState)(),er=In=>Cn(void 0,null,function*(){Hn(!0);const It=yield(0,le.tS)(vr,In);"status"in It||(Jn(It),Hn(!1))}),[kr,Gr]=(0,ae.useState)("shixun"),or={shixun:ae.createElement(ne.Z,{placement:"bottom",menu:{items:[{label:"\u4ECE\u5B9E\u8DF5\u9879\u76EE\u9009\u7528",key:"fromShixun"},{label:"\u4ECE\u5B9E\u8DF5\u8BFE\u7A0B\u9009\u7528",key:"fromSubject"}],onClick:({key:In})=>{zn(In==="fromShixun"?{type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"}}:{type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"}})}}},ae.createElement("div",null,ae.createElement(ye.op,null,"\u9009\u7528\u5B9E\u9A8C"))),subject:ae.createElement(ye.op,{onClick:()=>{zn({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"}})}},"\u6DFB\u52A0\u5B9E\u8DF5\u8BFE\u7A0B"),topic:ae.createElement(ye.op,{onClick:()=>{oa(!0)}},"\u52A0\u5165\u8BD5\u9898"),paper:ae.createElement(ye.op,{onClick:()=>{zn({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528"}})}},"\u52A0\u5165\u8BD5\u5377")};return ae.createElement("section",{className:E.wrap},ae.createElement(se.Z,{spinning:Yt||ar||mr||jt},ae.createElement(ye.YG,{value:kr,onChange:In=>{Gr(In)},tabBarExtraContent:vn?or[kr]:null,dataSource:[{id:"shixun",name:"\u5B9E\u8DF5\u9879\u76EE",total:Fr==null?void 0:Fr.total_count},{id:"subject",name:"\u5B9E\u8DF5\u8BFE\u7A0B",total:ia==null?void 0:ia.total_count},{id:"topic",name:"\u8BFE\u7A0B\u8BD5\u9898",total:Mr==null?void 0:Mr.total_count},{id:"paper",name:"\u8BFE\u7A0B\u8BD5\u5377",total:sn==null?void 0:sn.total_count}]}),kr==="shixun"&&ae.createElement("div",{style:{paddingTop:25}},(Fr==null?void 0:Fr.total_count)===0&&ae.createElement(me.Z,null),(Fr==null?void 0:Fr.total_count)>0&&ae.createElement("div",null,Fr.shixuns.map(In=>ae.createElement(ke,{isCreator:Tn,key:In.id,data:In,refreshData:()=>Cn(void 0,null,function*(){if(Fr.shixuns.length<=1){const It=Gn.page>1?Gn.page-1:1;Pr({page:It,limit:10}),Ir({page:It,limit:10})}else Ir(Gn)}),virtualClassroomId:vr})),ae.createElement(de.Z,{pageSize:10,hideOnSinglePage:!0,total:Fr==null?void 0:Fr.total_count,current:Gn.page,onChange:In=>{Pr(It=>Ur(Er({},It),{page:In})),Ir({page:In,limit:10})},showQuickJumper:!0}))),kr==="subject"&&ae.createElement("div",{style:{paddingTop:25}},(ia==null?void 0:ia.total_count)===0&&ae.createElement(me.Z,null),(ia==null?void 0:ia.total_count)>0&&ae.createElement("div",null,ia.subjects.map(In=>ae.createElement(Re,{isCreator:Tn,key:In.id,data:In,refreshData:()=>Cn(void 0,null,function*(){if(ia.subjects.length<=1){const It=Qr.page>1?Qr.page-1:1;wr({page:It,limit:10}),er({page:It,limit:10})}else er(Qr)}),virtualClassroomId:vr})),ae.createElement(de.Z,{pageSize:10,hideOnSinglePage:!0,total:ia==null?void 0:ia.total_count,current:Qr.page,onChange:In=>{wr(It=>Ur(Er({},It),{page:In})),er({page:In,limit:10})},showQuickJumper:!0}))),kr==="topic"&&ae.createElement("div",{style:{paddingTop:25}},(Mr==null?void 0:Mr.total_count)===0&&ae.createElement(me.Z,null),(Mr==null?void 0:Mr.total_count)>0&&ae.createElement("div",null,Mr.questions.map(In=>ae.createElement(mn,{isCreator:Tn,key:In.id,data:In,refreshData:()=>Cn(void 0,null,function*(){if(ia.subjects.length<=1){const It=Or.page>1?Or.page-1:1;xr({page:It,limit:10}),pa({page:It,limit:10})}else pa(Or)}),virtualClassroomId:vr,handleStartExperience:ka})),ae.createElement(de.Z,{pageSize:10,hideOnSinglePage:!0,total:Mr==null?void 0:Mr.total_count,current:Or.page,onChange:In=>{xr(It=>Ur(Er({},It),{page:In})),pa({page:In,limit:10})},showQuickJumper:!0}))),kr==="paper"&&ae.createElement("div",{style:{paddingTop:25}},(sn==null?void 0:sn.total_count)===0&&ae.createElement(me.Z,null),(sn==null?void 0:sn.total_count)>0&&ae.createElement("div",null,sn.papers.map((In,It)=>ae.createElement(qt.a,{isVtrs:!0,showCheckbox:!1,key:In.id,data:In,user:Qt,authRole:!0,activeTabsKey:"6",selectIds:[],onSetSelectIds:()=>{},onCancelPublic:()=>{},onCancelShare:()=>{},onPublicReview:()=>{},onEdit:()=>{},onDelete:()=>{},onSendToClass:xn,handleMoveOut:En})),ae.createElement(de.Z,{style:{marginTop:20},pageSize:10,hideOnSinglePage:!0,total:sn==null?void 0:sn.total_count,current:wn.page,onChange:In=>{Nn(It=>Ur(Er({},It),{page:In})),ln({page:In,limit:10})},showQuickJumper:!0})))),At.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&ae.createElement(Ge,{shixunIds:[],cb:In=>Cn(void 0,null,function*(){yield(0,le.LY)(vr,{source:"shixun",shixun_ids:In,module_id:Zn}),yield Ir({page:1,limit:10})})}),At.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u8BFE\u7A0B"&&ae.createElement(Ze,{onOk:In=>Cn(void 0,null,function*(){kr==="shixun"?(yield(0,le.LY)(vr,{source:"subject",subject_id:In,module_id:Zn}),yield Ir({page:1,limit:10})):(yield(0,le.bq)(vr,{subject_ids:[In],module_id:Zn}),yield er({page:1,limit:10}))})}),ae.createElement(Fn,{setScoreShow:oa,isshixuns:Xr,isloadings:Pa,ScoreShow:da,checkHasUsedShixun:!1,onOk:(In,It,Mt,zt,Ft)=>Cn(void 0,null,function*(){ua(!0);let pn={virtual_classroom_id:vr,question_ids:[...In,...It],module_id:Zn},Yn=yield(0,le.xL)(Er({},pn));ua(!1),oa(!1),(Yn==null?void 0:Yn.status)===0&&(he.ZP.info("\u6DFB\u52A0\u6210\u529F"),pa({page:1,limit:10}))})}),ae.createElement(Pt.Z,null),ae.createElement(Bt.Z,null),ae.createElement(xt.Z,null),ae.createElement(tn.Z,null),ae.createElement(Bn.Z,null),ae.createElement(wt,{isVtrs:!0,handleVtrsOk:In=>Cn(void 0,null,function*(){const It=yield(0,le.rM)({virtual_classroom_id:vr,paper_ids:In,module_id:Zn});(It==null?void 0:It.status)===0&&(zn({type:"exercise/setActionTabs",payload:{key:""}}),he.ZP.success("\u6DFB\u52A0\u6210\u529F"),ln({page:1,limit:10}))})}),ae.createElement(Jt.Z,null))};var gr=(0,Ae.connect)(({classroomList:At,virtualSpaces:Vt,user:Qt,problemset:zn})=>({classroomList:At,virtualSpaces:Vt,user:Qt,problemset:zn}))(Xn)},65808:function(gt,ot,fe){"use strict";fe.d(ot,{CP:function(){return E},_V:function(){return ce}});var ae=fe(28209),Ae=fe.n(ae);const E={secret:ae.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ae.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},ye={exam:E};function he(ne="",se="exam"){const{secret:de,iv:le}=ye[se];return AES.encrypt(ne,de,{iv:le,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ce(ne="",se="exam"){const{secret:de,iv:le}=ye[se];return ae.AES.decrypt(ne,de,{iv:le,mode:Ae().mode.CBC,padding:Ae().pad.Pkcs7}).toString(ae.enc.Utf8)}},84454:function(gt,ot,fe){"use strict";fe.d(ot,{AD:function(){return Fe},BA:function(){return Ie},D9:function(){return Ue},Hp:function(){return ve},IM:function(){return Qe},Iy:function(){return ge},KM:function(){return qe},KU:function(){return Ve},MJ:function(){return pe},Ne:function(){return He},ON:function(){return et},Uj:function(){return Ze},VY:function(){return _e},YO:function(){return $e},YX:function(){return dt},Zn:function(){return a},_g:function(){return te},_k:function(){return Ge},c6:function(){return Be},cr:function(){return y},eV:function(){return Pe},fi:function(){return x},gh:function(){return Ee},hS:function(){return We},iA:function(){return b},j6:function(){return ue},je:function(){return Oe},jj:function(){return me},kS:function(){return tt},o6:function(){return Ce},pO:function(){return Me},rQ:function(){return we},sA:function(){return be},xm:function(){return Ne},xo:function(){return ze},y8:function(){return Le},yd:function(){return z}});var ae=fe(33270),Ae=fe(65582),E=fe(65862),ye=fe(8591),he=fe(74128),ce=Object.defineProperty,ne=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(je,Je,Ye)=>Je in je?ce(je,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):je[Je]=Ye,ie=(je,Je)=>{for(var Ye in Je||(Je={}))se.call(Je,Ye)&&le(je,Ye,Je[Ye]);if(ne)for(var Ye of ne(Je))de.call(Je,Ye)&&le(je,Ye,Je[Ye]);return je},oe=(je,Je,Ye)=>new Promise((ke,De)=>{var Te=Xe=>{try{Re(Ye.next(Xe))}catch(nt){De(nt)}},xe=Xe=>{try{Re(Ye.throw(Xe))}catch(nt){De(nt)}},Re=Xe=>Xe.done?ke(Xe.value):Promise.resolve(Xe.value).then(Te,xe);Re((Ye=Ye.apply(je,Je)).next())});const re=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ee=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=je=>oe(void 0,null,function*(){re(),(yield(0,ae.YR)(ie({},je))).status===0&&(yield(0,E.QH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je.coursesId}/export_couser_info.json`,query:je}))),ee()}),y=je=>oe(void 0,null,function*(){const Je=yield(0,ae.yS)(ie({},je));if(Je.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_member_act_score`);else{if(Je.status===-2)return Je;Je.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_member_act_score`))}}),x=je=>oe(void 0,null,function*(){const Je=yield(0,ae.W0)(ie({},je));if(Je.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_score`);else{if(Je.status===-4)return Je;Je.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_score`))}}),b=je=>oe(void 0,null,function*(){const Je=yield(0,ae.Nl)(ie({},je));if(Je.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Je.status===-4)return Je;Je.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`))}}),z=je=>oe(void 0,null,function*(){const Je=yield(0,ae.IU)(ie({},je));if(Je.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/export_star_user`);else{if(Je.status===-4)return Je;Je.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/export_star_user`))}}),te=je=>oe(void 0,null,function*(){const Je=yield(0,ae.td)(ie({},je));if(Je.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Je.status===-2)return Je;if(Je.status===-3)(0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`);else if(Je.status===-4)return Je}}),ue=je=>oe(void 0,null,function*(){const Je=yield(0,ae.QX)(ie({},je));if(Je.status===0)ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_homework`);else{if(Je.status===-4)return Je;Je.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_homework`))}}),me=(je,Je)=>oe(void 0,null,function*(){const Ye=yield(0,ae.o_)(ie({},je));Ye.status===0?(ye.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"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`))}),ve=(je,Je)=>oe(void 0,null,function*(){const Ye=yield(0,ae.ZL)(ie({},je));Ye.status===0?(ye.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"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`))}),ge=(je,Je)=>oe(void 0,null,function*(){const Ye=yield(0,ae.aP)(ie({},je));Ye.status===0?(ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`))}),pe=(je,Je)=>oe(void 0,null,function*(){const Ye=yield(0,ae.vV)(ie({},je));Ye.status===0?(ye.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"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`)):Ye.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/${Je}`))}),Se=je=>oe(void 0,null,function*(){re(),(yield exportCourseWorkListAppendix(ie({},je))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${je.categoryId}/works_list.zip`,query:je}))),ee()}),be=je=>oe(void 0,null,function*(){re(),yield(0,E.QH)("",he.Z.API_SERVER+`/api/polls/${je.categoryId}/commit_result.xlsx`),ee()}),Ee=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je.coursesId}/attendances/export_xlsx_data.xlsx`,query:je}))}),Ce=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je.coursesId}/video_study_statics.xlsx`,query:je}))}),Be=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je.coursesId}/export_video_study.xlsx`,query:je}))}),Pe=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je.coursesId}/export_course_students_info.xlsx`,query:je}))}),Fe=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/school_manages/students.xlsx",query:je}))}),we=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/item_banks/export.xlsx",query:je}))}),Le=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:je}))}),Oe=je=>oe(void 0,null,function*(){const Je=yield(0,ae.Uy)(ie({},je));Je.status===0?(ye.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/exercise_score,export_exercise_users`)):Je.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${je.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ge=je=>oe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/export_records/${je.id}.xlsx`,query:je}))}),Ne=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:je}))}),Ue=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je==null?void 0:je.coursesId}/${je.menuKey}_statistic.xlsx?${je.checkedList.map(Je=>`course_group_id[]=${Je}`).join("&")}`,query:je}))}),He=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/ec_years/${je==null?void 0:je.ec_year_id}/ec_training_objectives.xlsx`,query:je}))}),Qe=je=>oe(void 0,null,function*(){yield(0,E.FH)(je==null?void 0:je.name,(0,E.NY)({url:he.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:je}))}),We=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/ec_years/${je==null?void 0:je.ec_year_id}/ec_courses.xlsx`,query:je}))}),ze=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/ec_years/${je==null?void 0:je.ec_year_id}/ec_graduation_requirements.xlsx`,query:je}))}),_e=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:je}))}),Ve=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/exercises/${je.categoryId}/rank_list.xlsx`,query:je}))}),tt=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:je}))}),et=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/examination_banks/${je.id}.json`,query:je}))}),dt=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/exercises/${je.categoryId}.json`,query:je}))}),$e=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/polls/${je==null?void 0:je.id}/commit_result.json`,query:je}))}),Ze=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+"/api/paths/get_task_pass.json",query:je}))}),Me=(je,Je)=>oe(void 0,null,function*(){yield(0,E.FH)(Je||"",(0,E.NY)({url:he.Z.API_SERVER+`/api/exercises/${je==null?void 0:je.exercise_id}/consult_exercise.json`,query:je}))}),qe=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/competitions/${je==null?void 0:je.identifier}/competition_commit_records/member_works.xlsx`,query:je}))}),Ie=je=>oe(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:he.Z.API_SERVER+`/api/courses/${je==null?void 0:je.coursesId}/group_homeworks/import_group_template.xlsx`,query:je}))})},84056:function(gt,ot,fe){"use strict";fe.d(ot,{BU:function(){return Ae},Dj:function(){return ae},gH:function(){return E},vp:function(){return ye}});function ae(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(ce){console.log(ce,":e")}}function Ae(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function ye(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ce=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},61527:function(gt,ot,fe){"use strict";fe.d(ot,{U:function(){return de}});var ae=fe(59301),Ae=Object.defineProperty,E=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(le,ie,oe)=>ie in le?Ae(le,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):le[ie]=oe,ne=(le,ie)=>{for(var oe in ie||(ie={}))ye.call(ie,oe)&&ce(le,oe,ie[oe]);if(E)for(var oe of E(ie))he.call(ie,oe)&&ce(le,oe,ie[oe]);return le},se=(le,ie,oe)=>new Promise((re,ee)=>{var a=b=>{try{x(oe.next(b))}catch(z){ee(z)}},y=b=>{try{x(oe.throw(b))}catch(z){ee(z)}},x=b=>b.done?re(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(le,ie)).next())});function de(le,ie){const[oe,re]=(0,ae.useState)(ie),[ee,a]=(0,ae.useState)(!1),[y,x]=(0,ae.useState)();return[oe,ee,(z,te=!1)=>se(this,null,function*(){const ue=te?ie:ne(ne({},oe),z);a(!0),re(ue);const me=yield le(ue);return a(!1),x(me),me}),y,x]}},72530:function(gt,ot,fe){"use strict";fe.d(ot,{_:function(){return E}});var ae=fe(59301),Ae=fe(43418);const E=ye=>{var he,ce;const ne=(0,ae.useRef)([]),se=()=>{for(const de of ne.current)clearTimeout(de);ne.current=[]};return(0,ae.useEffect)(()=>{var de,le,ie,oe,re,ee;if(se(),(de=ye==null?void 0:ye.exercise)!=null&&de.left_time&&((ie=(le=ye==null?void 0:ye.exercise)==null?void 0:le.exercise_events)==null?void 0:ie.length)>0){for(const a of(oe=ye==null?void 0:ye.exercise)==null?void 0:oe.exercise_events)if(((re=ye==null?void 0:ye.exercise)==null?void 0:re.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((ee=ye==null?void 0:ye.exercise)==null?void 0:ee.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{Ae.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);ne.current.push(x)}}},[(he=ye==null?void 0:ye.exercise)==null?void 0:he.left_time,(ce=ye==null?void 0:ye.exercise)==null?void 0:ce.exercise_events]),se}},42926:function(gt,ot,fe){"use strict";fe.d(ot,{G:function(){return he},t:function(){return ye}});var ae=fe(7062),Ae=fe.n(ae);const E=null;function ye(ce,ne){let se=Ae().get("__ec");se||(se={}),se[ce]=ne,Ae().set("__ec",se)}function he(ce,ne){let se=Ae().get("__ec");return se?se[ce]===void 0?ne:se[ce]:ne}},66457:function(gt,ot,fe){"use strict";fe.d(ot,{rX:function(){return ue},pW:function(){return me},gy:function(){return ve},xY:function(){return te},O5:function(){return z},tJ:function(){return ee},o1:function(){return a},Rd:function(){return b}});var ae=fe(65582),Ae=fe(43418),E=fe(28103),ye=fe(8591),he=fe(41867),ce=fe(65862),ne=fe(87169),se=fe(25510),de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHA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eoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",le=fe.p+"static/newqrcode.a8740efb.png",ie=fe(32637),oe=fe(59301),re=(ge,pe,Se)=>new Promise((be,Ee)=>{var Ce=Fe=>{try{Pe(Se.next(Fe))}catch(we){Ee(we)}},Be=Fe=>{try{Pe(Se.throw(Fe))}catch(we){Ee(we)}},Pe=Fe=>Fe.done?be(Fe.value):Promise.resolve(Fe.value).then(Ce,Be);Pe((Se=Se.apply(ge,pe)).next())});const ee=(ge,pe=!1)=>!!(a(ge)&&y(pe)),a=ge=>(0,he.bg)()?!0:(ge({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ge=!1)=>{var pe;const{user:Se}=(0,ae.getDvaApp)()._store.getState();return(pe=Se.userInfo)!=null&&pe.profile_completed?!0:(Ae.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ce.xg)("/account/profile/edit"),x()}}),!1)},x=()=>{Ae.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},b=()=>{Ae.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:oe.createElement("div",{style:{textAlign:"center"}},oe.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),oe.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ie}),oe.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},z=()=>{var ge;const{user:pe}=(0,ae.getDvaApp)()._store.getState();return(ge=pe.userInfo)!=null&&ge.professional_certification?!0:(Ae.default.confirm({title:"\u63D0\u793A",centered:!0,content:oe.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ce.xg)("/account/certification")}}),!1)},te=()=>(0,he.V9)()?!0:(Ae.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:oe.createElement("div",{className:"tc",style:{marginLeft:-38}},oe.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),oe.createElement("img",{src:le,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ue=(ge,pe)=>ge?!0:(Ae.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:oe.createElement("div",null,oe.createElement("p",null,pe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),oe.createElement("div",{style:{marginLeft:"110px"}},oe.createElement("img",{src:de,width:200}),oe.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ce.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),me=ge=>{Ae.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:oe.createElement("div",null,oe.createElement("div",null,oe.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),oe.createElement(E.Z,null),oe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",oe.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",oe.createElement("a",null,ge),"\u5929\u3002"),oe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",oe.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),oe.createElement("div",{style:{textAlign:"center",marginTop:30}},oe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ve=(ge,pe="")=>{const{shixunsDetail:{detail:Se}}=(0,ae.getDvaApp)()._store.getState();if((Se==null?void 0:Se.public)===2||(Se==null?void 0:Se.public)===1||(Se==null?void 0:Se.shixun_status)===3){let be="";return(Se==null?void 0:Se.public)===2&&(be="\u5DF2\u516C\u5F00"),(Se==null?void 0:Se.public)===1&&(be="\u5F85\u5BA1\u6838"),(Se==null?void 0:Se.shixun_status)===3&&(be="\u5DF2\u5173\u95ED"),Ae.default.info({centered:!0,icon:oe.createElement(ne.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:oe.createElement("div",{className:"tc",style:{marginLeft:-38}},oe.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},oe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",be,"\uFF0C",pe,"\u3002"),oe.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),oe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Se==null?void 0:Se.shixun_status)===2?(Ae.default.confirm({centered:!0,icon:oe.createElement(ne.Z,null),title:"\u63D0\u793A",content:oe.createElement("div",null,oe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",pe,"\u3002"),oe.createElement("br",null),oe.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Ae.default.confirm({width:440,centered:!0,icon:oe.createElement(ne.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>re(void 0,null,function*(){(yield ge({type:"shixunsDetail/cancelRelease",payload:{id:Se==null?void 0:Se.identifier}})).status!==401&&(ye.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ge({type:"shixunsDetail/getShixunsDetail",payload:{id:Se==null?void 0:Se.identifier}}),ge({type:"practiceSetting/getCommonData",payload:{id:Se==null?void 0:Se.identifier}}))})})}}),!0):!1}},47257:function(gt){(function(ot){(function(fe){if(1)gt.exports=fe();else var ae})(function(){var fe,ae,Ae;return function(){function E(ye,he,ce){function ne(le,ie){if(!he[le]){if(!ye[le]){var oe=void 0;if(!ie&&oe)return require(le,!0);if(se)return se(le,!0);var re=new Error("Cannot find module '"+le+"'");throw re.code="MODULE_NOT_FOUND",re}var ee=he[le]={exports:{}};ye[le][0].call(ee.exports,function(a){var y=ye[le][1][a];return ne(y||a)},ee,ee.exports,E,ye,he,ce)}return he[le].exports}for(var se=void 0,de=0;de + + +`.concat(b,` +`),z&&(me+="".concat(z,` +`)),me+=` +`,ue.content=me,ue.mime="xml",ue.successStatuses=[200],pe.next=9,this.request(ue);case 9:return ve=pe.sent,pe.abrupt("return",{res:ve.res});case 11:case"end":return pe.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,se.default)(ne.default.mark(function x(b,z){var te,ue,me;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",z),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return ue=ge.sent,me=ue.data.LoggingEnabled,ge.abrupt("return",{enable:!!me,prefix:me&&me.TargetPrefix||null,res:ue.res});case 8:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,se.default)(ne.default.mark(function x(b,z){var te,ue;return ne.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",z),te.successStatuses=[204,200],ve.next=4,this.request(te);case 4:return ue=ve.sent,ve.abrupt("return",{res:ue.res});case 6:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,se.default)(ne.default.mark(function x(b,z,te){var ue,me,ve,ge,pe,Se,be,Ee,Ce,Be;return ne.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:for(z=z||[],de(z.length,"rules is required"),z.forEach(function(we){de(we.allowedOrigin,"allowedOrigin is required"),de(we.allowedMethod,"allowedMethod is required")}),ue=this._bucketRequestParams("PUT",b,"cors",te),me=` +`,ve=function(Le){me+="".concat(Le,"")},ge=function(Le){me+="".concat(Le,"")},pe=function(Le){me+="".concat(Le,"")},Se=function(Le){me+="".concat(Le,"")},be=0,Ee=z.length;be",ee(Ce.allowedOrigin).forEach(ve),ee(Ce.allowedMethod).forEach(ge),ee(Ce.allowedHeader).forEach(pe),ee(Ce.exposeHeader).forEach(Se),Ce.maxAgeSeconds&&(me+="".concat(Ce.maxAgeSeconds,"")),me+="";return me+="",ue.content=me,ue.mime="xml",ue.successStatuses=[200],Fe.next=16,this.request(ue);case 16:return Be=Fe.sent,Fe.abrupt("return",{res:Be.res});case 18:case"end":return Fe.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,se.default)(ne.default.mark(function x(b,z){var te,ue,me,ve;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",z),te.successStatuses=[200],te.xmlResponse=!0,pe.next=5,this.request(te);case 5:return ue=pe.sent,me=[],ue.data&&ue.data.CORSRule&&(ve=ue.data.CORSRule,re(ve)||(ve=[ve]),ve.forEach(function(Se){var be={};Object.keys(Se).forEach(function(Ee){be[Ee.slice(0,1).toLowerCase()+Ee.slice(1,Ee.length)]=Se[Ee]}),me.push(be)})),pe.abrupt("return",{rules:me,res:ue.res});case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,se.default)(ne.default.mark(function x(b,z){var te,ue;return ne.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",z),te.successStatuses=[204],ve.next=4,this.request(te);case 4:return ue=ve.sent,ve.abrupt("return",{res:ue.res});case 6:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,se.default)(ne.default.mark(function x(b,z,te,ue){var me,ve,ge,pe;return ne.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(me=this._bucketRequestParams("PUT",b,"referer",ue),ve=` + +`,ve+=" ".concat(z?"true":"false",` +`),te&&te.length>0){for(ve+=` +`,ge=0;ge".concat(te[ge],` +`);ve+=` +`}else ve+=` +`;return ve+="",me.content=ve,me.mime="xml",me.successStatuses=[200],be.next=10,this.request(me);case 10:return pe=be.sent,be.abrupt("return",{res:pe.res});case 12:case"end":return be.stop()}},x,this)}));function y(x,b,z,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,se.default)(ne.default.mark(function x(b,z){var te,ue,me;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",z),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return ue=ge.sent,me=ue.data.RefererList.Referer||null,me&&(re(me)||(me=[me])),ge.abrupt("return",{allowEmpty:ue.data.AllowEmptyReferer==="true",referers:me,res:ue.res});case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,se.default)(ne.default.mark(function x(b,z){return ne.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.putBucketReferer(b,!0,null,z);case 2:return ue.abrupt("return",ue.sent);case 3:case"end":return ue.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,ye,he){(function(ce,ne){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/regenerator")),le=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ie=E("debug")("ali-oss"),oe=E("xml2js"),re=E("agentkeepalive"),ee=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),te=E("../common/signUtils"),ue=E("../common/client/initOptions"),me=E("../common/utils/createRequest"),ve=me.createRequest,ge=E("../common/utils/encoder"),pe=ge.encoder,Se=E("../common/client/getReqUrl"),be=Se.getReqUrl,Ee=E("../common/utils/setSTSToken"),Ce=Ee.setSTSToken,Be=E("../common/utils/retry"),Pe=Be.retry,Fe=E("../common/utils/isFunction"),we=Fe.isFunction,Le=new re;function Oe(){var We=a.name,ze=a.version;We&&We.toLowerCase&&We.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ge(){return location&&location.protocol==="https:"}function Ne(We,ze){if(Oe(),!(this instanceof Ne))return new Ne(We,ze);We&&We.inited?this.options=We:this.options=Ne.initOptions(We),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Le),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}ye.exports=Ne,Ne.initOptions=function(ze){ze.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var _e=Object.assign({secure:Ge(),useFetch:!1},ze);return ue(_e)};var Ue=Ne.prototype;Ue.debug=ie,ee(Ue,E("./object")),ee(Ue,E("./bucket")),ee(Ue,E("../common/bucket/getBucketWebsite")),ee(Ue,E("../common/bucket/putBucketWebsite")),ee(Ue,E("../common/bucket/deleteBucketWebsite")),ee(Ue,E("../common/bucket/getBucketLifecycle")),ee(Ue,E("../common/bucket/putBucketLifecycle")),ee(Ue,E("../common/bucket/deleteBucketLifecycle")),ee(Ue,E("../common/bucket/putBucketVersioning")),ee(Ue,E("../common/bucket/getBucketVersioning")),ee(Ue,E("../common/bucket/getBucketInventory")),ee(Ue,E("../common/bucket/deleteBucketInventory")),ee(Ue,E("../common/bucket/listBucketInventory")),ee(Ue,E("../common/bucket/putBucketInventory")),ee(Ue,E("../common/bucket/abortBucketWorm")),ee(Ue,E("../common/bucket/completeBucketWorm")),ee(Ue,E("../common/bucket/extendBucketWorm")),ee(Ue,E("../common/bucket/getBucketWorm")),ee(Ue,E("../common/bucket/initiateBucketWorm")),ee(Ue,E("./managed-upload")),ee(Ue,E("../common/multipart-copy")),ee(Ue,E("../common/multipart")),ee(Ue,E("../common/parallel")),Ue.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),te.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},Ue._getReqUrl=be,Ue.authorization=function(ze,_e,Ve,tt){var et=te.buildCanonicalString(ze.toUpperCase(),_e,{headers:tt,parameters:Ve});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,et,this.options.headerEncoding)},Ue.request=function(){var We=(0,le.default)(de.default.mark(function ze(_e){var Ve=this;return de.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!this.options.retryMax){et.next=6;break}return et.next=3,Pe(He.bind(this),this.options.retryMax,{errorHandler:function($e){var Ze=function(qe){if(_e.stream)return!1;var Ie=[-1,-2].includes(qe.status),je=Ve.options.requestErrorRetryHandle||function(){return!0};return Ie&&je(qe)};return!!Ze($e)}})(_e);case 3:return et.abrupt("return",et.sent);case 6:return et.abrupt("return",He.call(this,_e));case 7:case"end":return et.stop()}},ze,this)}));return function(ze){return We.apply(this,arguments)}}();function He(We){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,le.default)(de.default.mark(function We(ze){var _e,Ve,tt,et,dt,$e;return de.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(this.options.stsToken&&we(this.options.refreshSTSToken))){Me.next=3;break}return Me.next=3,Ce.call(this);case 3:return _e=ve.call(this,ze),this.options.useFetch||(_e.params.mode="disable-fetch"),et=!!ze.stream,Me.prev=6,Me.next=9,this.urllib.request(_e.url,_e.params);case 9:Ve=Me.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,_e.url,Ve.status,Ve.headers,"info"),Me.next=16;break;case 13:Me.prev=13,Me.t0=Me.catch(6),tt=Me.t0;case 16:if(!(Ve&&ze.successStatuses&&ze.successStatuses.indexOf(Ve.status)===-1)){Me.next=28;break}return Me.next=19,this.requestError(Ve);case 19:if(dt=Me.sent,!(dt.code==="RequestTimeTooSkewed"&&!et)){Me.next=25;break}return this.options.amendTimeSkewed=+new Date(dt.serverTime)-new Date,Me.next=24,this.request(ze);case 24:return Me.abrupt("return",Me.sent);case 25:dt.params=ze,Me.next=32;break;case 28:if(!tt){Me.next=32;break}return Me.next=31,this.requestError(tt);case 31:dt=Me.sent;case 32:if(!dt){Me.next=34;break}throw dt;case 34:if(!ze.xmlResponse){Me.next=39;break}return Me.next=37,this.parseXML(Ve.data);case 37:$e=Me.sent,Ve.data=$e;case 39:return Me.abrupt("return",Ve);case 40:case"end":return Me.stop()}},We,this,[[6,13]])})),Qe.apply(this,arguments)}Ue._getResource=function(ze){var _e="/";return ze.bucket&&(_e+="".concat(ze.bucket,"/")),ze.object&&(_e+=pe(ze.object,this.options.headerEncoding)),_e},Ue._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},Ue._getUserAgent=function(){var ze=ne&&ne.browser?"js":"nodejs",_e="aliyun-sdk-".concat(ze,"/").concat(b.version),Ve=a.description;return!Ve&&ne&&(Ve="Node.js ".concat(ne.version.slice(1)," on ").concat(ne.platform," ").concat(ne.arch)),this._checkUserAgent("".concat(_e," ").concat(Ve))},Ue._checkUserAgent=function(ze){var _e=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return _e},Ue.checkBrowserAndVersion=function(ze,_e){return z.name===ze&&z.version.split(".")[0]===_e},Ue.parseXML=function(ze){return new Promise(function(_e,Ve){ce.isBuffer(ze)&&(ze=ze.toString()),oe.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(tt,et){tt?Ve(tt):_e(et)})})},Ue.requestError=function(){var We=(0,le.default)(de.default.mark(function _e(Ve){var tt,et,dt,$e;return de.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(tt=null,!(!Ve.data||!Ve.data.length)){Me.next=5;break}Ve.status===-1||Ve.status===-2?(tt=new Error(Ve.message),tt.name=Ve.name,tt.status=Ve.status,tt.code=Ve.name):(Ve.status===404?(tt=new Error("Object not exists"),tt.name="NoSuchKeyError",tt.status=404,tt.code="NoSuchKey"):Ve.status===412?(tt=new Error("Pre condition failed"),tt.name="PreconditionFailedError",tt.status=412,tt.code="PreconditionFailed"):(tt=new Error("Unknow error, status: ".concat(Ve.status)),tt.name="UnknownError",tt.status=Ve.status),tt.requestId=Ve.headers["x-oss-request-id"],tt.host=""),Me.next=32;break;case 5:return et=String(Ve.data),this.debug("request response error data: %s",et,"error"),Me.prev=7,Me.next=10,this.parseXML(et);case 10:if(Me.t0=Me.sent,Me.t0){Me.next=13;break}Me.t0={};case 13:dt=Me.t0,Me.next=23;break;case 16:return Me.prev=16,Me.t1=Me.catch(7),this.debug(et,"error"),Me.t1.message+=` +raw xml: `.concat(et),Me.t1.status=Ve.status,Me.t1.requestId=Ve.headers["x-oss-request-id"],Me.abrupt("return",Me.t1);case 23:$e=dt.Message||"unknow request error, status: ".concat(Ve.status),dt.Condition&&($e+=" (condition: ".concat(dt.Condition,")")),tt=new Error($e),tt.name=dt.Code?"".concat(dt.Code,"Error"):"UnknownError",tt.status=Ve.status,tt.code=dt.Code,tt.requestId=dt.RequestId,tt.hostId=dt.HostId,tt.serverTime=dt.ServerTime;case 32:return this.debug("generate error %j",tt,"error"),Me.abrupt("return",tt);case 34:case"end":return Me.stop()}},_e,this,[[7,16]])}));function ze(_e){return We.apply(this,arguments)}return ze}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),se=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var de=ne(E("@babel/runtime/helpers/asyncToGenerator")),le=E("util"),ie=E("path"),oe=E("mime"),re=E("copy-to"),ee=E("../common/utils/isBlob"),a=ee.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,te=he;te.multipartUpload=function(){var pe=(0,de.default)(se.default.mark(function be(Ee,Ce){var Be,Pe,Fe,we,Le,Oe,Ge,Ne,Ue,He=arguments;return se.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(Be=He.length>2&&He[2]!==void 0?He[2]:{},this.resetCancelFlag(),Be.disabledMD5=Be.disabledMD5===void 0?!0:!!Be.disabledMD5,!(Be.checkpoint&&Be.checkpoint.uploadId)){We.next=8;break}return Ce&&x(Ce)&&(Be.checkpoint.file=Ce),We.next=7,this._resumeMultipart(Be.checkpoint,Be);case 7:return We.abrupt("return",We.sent);case 8:return Pe=102400,Be.mime||(x(Ce)?Be.mime=oe.getType(ie.extname(Ce.name)):a(Ce)?Be.mime=Ce.type:z(Ce)?Be.mime="":Be.mime=oe.getType(ie.extname(Ce))),Be.headers=Be.headers||{},this._convertMetaToHeaders(Be.meta,Be.headers),We.next=14,this._getFileSize(Ce);case 14:if(Fe=We.sent,!(Fe0&&re(Oe).to(Ne),Ue=this._divideParts(Fe,we),He=Ue.length,Qe=!1,We=function(Ie,je){return new Promise(function(){var Je=(0,de.default)(se.default.mark(function Ye(ke,De){var Te,xe,Re,Xe,nt;return se.default.wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:if(rt.prev=0,Ie.isCancel()){rt.next=29;break}return Te=Ue[je-1],rt.next=5,Ie._createBuffer(Pe,Te.start,Te.end);case 5:return xe=rt.sent,Re={content:xe,size:Te.end-Te.start},rt.prev=7,rt.next=10,Ie._uploadPart(Ge,Le,je,Re,Ce);case 10:Xe=rt.sent,rt.next=18;break;case 13:if(rt.prev=13,rt.t0=rt.catch(7),rt.t0.status!==404){rt.next=17;break}throw Ie._makeAbortEvent();case 17:throw rt.t0;case 18:if(!(!Ie.isCancel()&&!Qe)){rt.next=26;break}if(Ee.doneParts.push({number:je,etag:Xe.res.headers.etag}),!Ce.progress){rt.next=23;break}return rt.next=23,Ce.progress(Oe.length/(He+1),Ee,Xe.res);case 23:ke({number:je,etag:Xe.res.headers.etag}),rt.next=27;break;case 26:ke();case 27:rt.next=30;break;case 29:ke();case 30:rt.next=41;break;case 32:rt.prev=32,rt.t1=rt.catch(0),nt=new Error,nt.name=rt.t1.name,nt.message=rt.t1.message,nt.stack=rt.t1.stack,nt.partNum=je,re(rt.t1).to(nt),De(nt);case 41:case"end":return rt.stop()}},Ye,null,[[0,32],[7,13]])}));return function(Ye,ke){return Je.apply(this,arguments)}}())},ze=Array.from(new Array(He),function(qe,Ie){return Ie+1}),_e=Ne.map(function(qe){return qe.number}),Ve=ze.filter(function(qe){return _e.indexOf(qe)<0}),tt=5,et=Ce.parallel||tt,Me.next=17,this._parallel(Ve,et,function(qe){return new Promise(function(Ie,je){We(Be,qe).then(function(Je){Je&&Ne.push(Je),Ie()}).catch(function(Je){je(Je)})})});case 17:if(dt=Me.sent,Qe=!0,$e=dt.find(function(qe){return qe.name==="abort"}),!$e){Me.next=22;break}throw $e;case 22:if(!this.isCancel()){Me.next=25;break}throw We=null,this._makeCancelEvent();case 25:if(!(dt&&dt.length>0)){Me.next=28;break}throw dt[0].message="Failed to upload some parts with error: ".concat(dt[0].toString()," part_num: ").concat(dt[0].partNum),dt[0];case 28:return Me.next=30,this.completeMultipartUpload(Ge,Le,Ne,Ce);case 30:return Me.abrupt("return",Me.sent);case 31:case"end":return Me.stop()}},be,this)}));function Se(be,Ee){return pe.apply(this,arguments)}return Se}(),te._getFileSize=function(){var pe=(0,de.default)(se.default.mark(function be(Ee){return se.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(!z(Ee)){Be.next=4;break}return Be.abrupt("return",Ee.length);case 4:if(!(a(Ee)||x(Ee))){Be.next=6;break}return Be.abrupt("return",Ee.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Be.stop()}},be)}));function Se(be){return pe.apply(this,arguments)}return Se}();var ue=E("stream"),me=ue.Readable;function ve(pe,Se){if(!(this instanceof ve))return new ve(pe,Se);me.call(this,Se),this.file=pe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(ve,me),ve.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var be=!0;be&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:Ce,this.start=Ce,be=this.push(this.fileBuffer.slice(Ee,Ce))}},ve.prototype._read=function(Se){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var be=16*1024;Se=Se||be;var Ee=this;this.reader.onload=function(Be){Ee.fileBuffer=ce.from(new Uint8Array(Be.target.result)),Ee.file=null,Ee.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function ge(pe){return pe.arrayBuffer?pe.arrayBuffer():new Promise(function(Se,be){var Ee=new FileReader;Ee.onload=function(Ce){Se(Ce.target.result)},Ee.onerror=function(Ce){be(Ce)},Ee.readAsArrayBuffer(pe)})}te._createBuffer=function(){var pe=(0,de.default)(se.default.mark(function be(Ee,Ce,Be){var Pe,Fe;return se.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!(a(Ee)||x(Ee))){Le.next=8;break}return Pe=Ee.slice(Ce,Be),Le.next=4,ge(Pe);case 4:return Fe=Le.sent,Le.abrupt("return",ce.from(Fe));case 8:if(!z(Ee)){Le.next=12;break}return Le.abrupt("return",Ee.subarray(Ce,Be));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Le.stop()}},be)}));function Se(be,Ee,Ce){return pe.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,be){var Ee=1e4,Ce=1*1024*1024;be||(be=Ce);var Be=Math.ceil(Se/Ee);return be1&&Oe[1]!==void 0?Oe[1]:{},Ce=be["continuation-token"]||be.continuationToken,Ce&&(Ee.subres=Object.assign({"continuation-token":Ce},Ee.subres)),Be=this._objectRequestParams("GET","",Ee),Be.query=Object.assign({"list-type":2},be),delete Be.query["continuation-token"],delete Be.query.continuationToken,Be.xmlResponse=!0,Be.successStatuses=[200],Ne.next=11,this.request(Be);case 11:return Pe=Ne.sent,Fe=Pe.data.Contents||[],we=this,Fe&&(Array.isArray(Fe)||(Fe=[Fe]),Fe=Fe.map(function(Ue){var He=null;return Ue.Owner&&(He={id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}),{name:Ue.Key,url:we._objectUrl(Ue.Key),lastModified:Ue.LastModified,etag:Ue.ETag,type:Ue.Type,size:Number(Ue.Size),storageClass:Ue.StorageClass,owner:He}})),Le=Pe.data.CommonPrefixes||null,Le&&(Array.isArray(Le)||(Le=[Le]),Le=Le.map(function(Ue){return Ue.Prefix})),Ne.abrupt("return",{res:Pe.res,objects:Fe,prefixes:Le,isTruncated:Pe.data.IsTruncated==="true",keyCount:+Pe.data.KeyCount,continuationToken:Pe.data.ContinuationToken||null,nextContinuationToken:Pe.data.NextContinuationToken||null});case 18:case"end":return Ne.stop()}},Se,this)}));function pe(Se){return ge.apply(this,arguments)}return pe}(),ve.restore=function(){var ge=(0,se.default)(ne.default.mark(function Se(be){var Ee,Ce,Be,Pe,Fe=arguments;return ne.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Ee=Fe.length>1&&Fe[1]!==void 0?Fe[1]:{type:"Archive"},Ee=Ee||{},Ee.subres=Object.assign({restore:""},Ee.subres),Ee.versionId&&(Ee.subres.versionId=Ee.versionId),Ce=this._objectRequestParams("POST",be,Ee),Ee.type==="ColdArchive"&&(Be={RestoreRequest:{Days:Ee.Days?Ee.Days:2,JobParameters:{Tier:Ee.JobParameters?Ee.JobParameters:"Standard"}}},Ce.content=me(Be,{headers:!0}),Ce.mime="xml"),Ce.successStatuses=[202],Le.next=9,this.request(Ce);case 9:return Pe=Le.sent,Le.abrupt("return",{res:Pe.res});case 11:case"end":return Le.stop()}},Se,this)}));function pe(Se){return ge.apply(this,arguments)}return pe}(),ve._objectUrl=function(pe){return this._getReqUrl({bucket:this.options.bucket,object:pe})},ve._objectRequestParams=function(pe,Se,be){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");be=be||{},Se=this._objectName(Se);var Ee={object:Se,bucket:this.options.bucket,method:pe,subres:be&&be.subres,timeout:be&&be.timeout,ctx:be&&be.ctx};return be.headers&&(Ee.headers={},le(be.headers).to(Ee.headers)),Ee},ve._objectName=function(pe){return pe.replace(/^\/+/,"")},ve._convertMetaToHeaders=function(pe,Se){pe&&Object.keys(pe).forEach(function(be){Se["x-oss-meta-".concat(be)]=pe[be]})},ve._deleteFileSafe=function(pe){var Se=this;return new Promise(function(be){de.exists(pe,function(Ee){Ee?de.unlink(pe,function(Ce){Ce&&Se.debug("unlink %j error: %s",pe,Ce,"error"),be()}):be()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,ye,he){"use strict";he.version="6.18.1"},{}],7:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.abortBucketWorm=void 0;var de=E("../utils/checkBucketName");function le(oe,re){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function oe(re,ee){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return de.checkBucketName(re),a=this._bucketRequestParams("DELETE",re,"worm",ee),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ie.apply(this,arguments)}he.abortBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.completeBucketWorm=void 0;var de=E("../utils/checkBucketName");function le(oe,re,ee){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function oe(re,ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(re),y=this._bucketRequestParams("POST",re,{wormId:ee},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},oe,this)})),ie.apply(this,arguments)}he.completeBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.deleteBucketInventory=void 0;var de=E("../utils/checkBucketName");function le(oe,re){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function oe(re,ee){var a,y,x,b,z=arguments;return ne.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ee},a.subres),de.checkBucketName(re),x=this._bucketRequestParams("DELETE",re,y,a),x.successStatuses=[204],ue.next=7,this.request(x);case 7:return b=ue.sent,ue.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ue.stop()}},oe,this)})),ie.apply(this,arguments)}he.deleteBucketInventory=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=he;ie.deleteBucketLifecycle=function(){var oe=(0,se.default)(ne.default.mark(function ee(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=he;ie.deleteBucketWebsite=function(){var oe=(0,se.default)(ne.default.mark(function ee(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.extendBucketWorm=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function ie(re,ee,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(ee,a,y,x){var b,z,te;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return de.checkBucketName(ee),b=this._bucketRequestParams("POST",ee,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=le.obj2xml(z,{headers:!0}),b.successStatuses=[200],me.next=8,this.request(b);case 8:return te=me.sent,me.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return me.stop()}},re,this)})),oe.apply(this,arguments)}he.extendBucketWorm=ie},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.getBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function ie(re,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(ee,a){var y,x,b,z,te=arguments;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),de.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,y),b.successStatuses=[200],b.xmlResponse=!0,me.next=8,this.request(b);case 8:return z=me.sent,me.abrupt("return",{status:z.status,res:z.res,inventory:le.formatInventoryConfig(z.data)});case 10:case"end":return me.stop()}},re,this)})),oe.apply(this,arguments)}he.getBucketInventory=ie},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=E("../utils/isArray"),oe=ie.isArray,re=E("../utils/formatObjKey"),ee=re.formatObjKey,a=he;a.getBucketLifecycle=function(){var y=(0,se.default)(ne.default.mark(function b(z,te){var ue,me,ve;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return le(z),ue=this._bucketRequestParams("GET",z,"lifecycle",te),ue.successStatuses=[200],ue.xmlResponse=!0,pe.next=6,this.request(ue);case 6:return me=pe.sent,ve=me.data.Rule||null,ve&&(oe(ve)||(ve=[ve]),ve=ve.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!oe(Se.Tag)&&(Se.Tag=[Se.Tag]),ee(Se,"firstLowerCase")})),pe.abrupt("return",{rules:ve,res:me.res});case 10:case"end":return pe.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=he;ie.getBucketVersioning=function(){var oe=(0,se.default)(ne.default.mark(function ee(a,y){var x,b,z;return ne.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return le(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ue.next=6,this.request(x);case 6:return b=ue.sent,z=b.data.Status,ue.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return ue.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=E("../utils/isObject"),oe=ie.isObject,re=he;re.getBucketWebsite=function(){var ee=(0,se.default)(ne.default.mark(function y(x,b){var z,te,ue;return ne.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return le(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,ve.next=6,this.request(z);case 6:return te=ve.sent,ue=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ue=[te.data.RoutingRules.RoutingRule]:ue=te.data.RoutingRules.RoutingRule),ve.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:ue,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return ve.stop()}},y,this)}));function a(y,x){return ee.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.getBucketWorm=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/dataFix");function ie(re,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ee),y=this._bucketRequestParams("GET",ee,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,le.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},re,this)})),oe.apply(this,arguments)}he.getBucketWorm=ie},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.initiateBucketWorm=void 0;var de=E("../utils/obj2xml"),le=E("../utils/checkBucketName");function ie(re,ee,a){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(ee,a,y){var x,b,z;return ne.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return le.checkBucketName(ee),x=this._bucketRequestParams("POST",ee,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=de.obj2xml(b,{headers:!0}),x.successStatuses=[200],ue.next=8,this.request(x);case 8:return z=ue.sent,ue.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return ue.stop()}},re,this)})),oe.apply(this,arguments)}he.initiateBucketWorm=ie},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.listBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function ie(re){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(ee){var a,y,x,b,z,te,ue,me,ve=arguments;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return a=ve.length>1&&ve[1]!==void 0?ve[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),de.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,a),b.successStatuses=[200],b.xmlResponse=!0,pe.next=9,this.request(b);case 9:return z=pe.sent,te=z.data,ue=z.res,me=z.status,pe.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:le.formatInventoryConfig(te.InventoryConfiguration,!0),status:me,res:ue});case 12:case"end":return pe.stop()}},re,this)})),oe.apply(this,arguments)}he.listBucketInventory=ie},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.putBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function ie(re,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(ne.default.mark(function re(ee,a){var y,x,b,z,te,ue,me,ve,ge,pe,Se,be=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return y=be.length>2&&be[2]!==void 0?be[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),de.checkBucketName(ee),b=a.OSSBucketDestination,z=a.optionalFields,te=a.includedObjectVersions,ue="acs:oss:::",me="acs:ram::".concat(b.accountId,":role/"),ve={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(me).concat(b.rolename),Bucket:"".concat(ue).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ge=le.obj2xml(ve,{headers:!0,firstUpperCase:!0}),pe=this._bucketRequestParams("PUT",ee,x,y),pe.successStatuses=[200],pe.mime="xml",pe.content=ge,Ce.next=14,this.request(pe);case 14:return Se=Ce.sent,Ce.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return Ce.stop()}},re,this)})),oe.apply(this,arguments)}he.putBucketInventory=ie},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=E("../utils/isArray"),oe=ie.isArray,re=E("../utils/deepCopy"),ee=re.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),te=z.checkObjectTag,ue=E("../utils/getStrBytesCount"),me=ue.getStrBytesCount,ve=he;ve.putBucketLifecycle=function(){var Ee=(0,se.default)(ne.default.mark(function Be(Pe,Fe,we){var Le,Oe,Ge,Ne,Ue;return ne.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(le(Pe),oe(Fe)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return Le=this._bucketRequestParams("PUT",Pe,"lifecycle",we),Oe=[],Ge={LifecycleConfiguration:{Rule:Oe}},Fe.forEach(function(We){ge(We),be(We),We.id&&(We.ID=We.id,delete We.id),Oe.push(We)}),Ne=b(Ge,{headers:!0,firstUpperCase:!0}),Le.content=Ne,Le.mime="xml",Le.successStatuses=[200],Qe.next=13,this.request(Le);case 13:return Ue=Qe.sent,Qe.abrupt("return",{res:Ue.res});case 15:case"end":return Qe.stop()}},Be,this)}));function Ce(Be,Pe,Fe){return Ee.apply(this,arguments)}return Ce}();function ge(Ee){Ee.days&&(Ee.expiration={days:Ee.days}),Ee.date&&(Ee.expiration={createdBeforeDate:Ee.date})}function pe(Ee,Ce){var Be=Ee.days,Pe=Ee.createdBeforeDate;if(!Be&&!Pe)throw new Error("".concat(Ce," must includes days or createdBeforeDate"));if(Be&&!/^[1-9][0-9]*$/.test(Be))throw new Error("days must be a positive integer");if(Pe&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Pe))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Ee){if(!oe(Ee)&&!y(Ee))throw new Error("tag must be Object or Array");Ee=y(Ee)?[Ee]:Ee;var Ce={},Be=ee(Ee);Be.forEach(function(Pe){Ce[Pe.key]=Pe.value}),te(Ce)}function be(Ee){if(Ee.id&&me(Ee.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Ee.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Ee.status))throw new Error("Status must be Enabled or Disabled");if(Ee.transition){if(!["IA","Archive"].includes(Ee.transition.storageClass))throw new Error("StorageClass must be IA or Archive");pe(Ee.transition,"Transition")}if(Ee.expiration){if(!Ee.expiration.expiredObjectDeleteMarker)pe(Ee.expiration,"Expiration");else if(Ee.expiration.days||Ee.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Ee.abortMultipartUpload&&pe(Ee.abortMultipartUpload,"AbortMultipartUpload"),!Ee.expiration&&!Ee.abortMultipartUpload&&!Ee.transition&&!Ee.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Ee.tag){if(Ee.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Se(Ee.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=E("../utils/obj2xml"),oe=ie.obj2xml,re=he;re.putBucketVersioning=function(){var ee=(0,se.default)(ne.default.mark(function y(x,b){var z,te,ue,me,ve=arguments;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(z=ve.length>2&&ve[2]!==void 0?ve[2]:{},le(x),["Enabled","Suspended"].includes(b)){pe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",z),ue={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ue,{headers:!0}),pe.next=10,this.request(te);case 10:return me=pe.sent,pe.abrupt("return",{res:me.res,status:me.status});case 12:case"end":return pe.stop()}},y,this)}));function a(y,x){return ee.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=E("../utils/obj2xml"),oe=ie.obj2xml,re=E("../utils/isArray"),ee=re.isArray,a=he;a.putBucketWebsite=function(){var y=(0,se.default)(ne.default.mark(function b(z){var te,ue,me,ve,ge,pe,Se,be=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(te=be.length>1&&be[1]!==void 0?be[1]:{},ue=be.length>2?be[2]:void 0,le(z),me=this._bucketRequestParams("PUT",z,"website",ue),ve={Suffix:te.index||"index.html"},ge={IndexDocument:ve},pe={WebsiteConfiguration:ge},te.supportSubDir&&(ve.SupportSubDir=te.supportSubDir),te.type&&(ve.Type=te.type),te.error&&(ge.ErrorDocument={Key:te.error}),te.routingRules===void 0){Ce.next=14;break}if(ee(te.routingRules)){Ce.next=13;break}throw new Error("RoutingRules must be Array");case 13:ge.RoutingRules={RoutingRule:te.routingRules};case 14:return pe=oe(pe),me.content=pe,me.mime="xml",me.successStatuses=[200],Ce.next=20,this.request(me);case 20:return Se=Ce.sent,Ce.abrupt("return",{res:Se.res});case 22:case"end":return Ce.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,ye,he){(function(ce){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),he.encodeCallback=function(se,de){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&de.callback){var le={callbackUrl:encodeURI(de.callback.url),callbackBody:de.callback.body};de.callback.host&&(le.callbackHost=de.callback.host),de.callback.contentType&&(le.callbackBodyType=de.callback.contentType);var ie=ce.from(JSON.stringify(le)).toString("base64");if(se.headers["x-oss-callback"]=ie,de.callback.customValue){var oe={};Object.keys(de.callback.customValue).forEach(function(re){oe["x:".concat(re)]=de.callback.customValue[re].toString()}),se.headers["x-oss-callback-var"]=ce.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ce=function(ee){return ee&&ee.__esModule?ee:{default:ee}};Object.defineProperty(he,"__esModule",{value:!0}),he.getReqUrl=void 0;var ne=ce(E("copy-to")),se=ce(E("url")),de=ce(E("merge-descriptors")),le=ce(E("is-type-of")),ie=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function re(ee){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),ne.default(this.options.endpoint,!1).to(a),ee.bucket&&!y&&!ie.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ee.bucket,".").concat(a.host));var x="/";ee.bucket&&this.options.sldEnable&&(x+="".concat(ee.bucket,"/")),ee.object&&(x+=this._escape(ee.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ee.query&&de.default(b,ee.query),ee.subres){var z={};le.default.string(ee.subres)?z[ee.subres]="":le.default.array(ee.subres)?ee.subres.forEach(function(te){z[te]=""}):z=ee.subres,de.default(b,z)}return a.query=b,se.default.format(a)}he.getReqUrl=re},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var ce=E("humanize-ms"),ne=E("url"),se=E("../utils/checkBucketName"),de=se.checkBucketName,le=E("../utils/setRegion"),ie=le.setRegion,oe=E("../utils/checkConfigValid"),re=oe.checkConfigValid;function ee(a,y){re(a,"endpoint");var x=ne.parse(a);if(x.protocol||(x=ne.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}ye.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&de(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=ce(y.timeout)),y.endpoint)y.endpoint=ee(y.endpoint,y.secure);else if(y.region)y.endpoint=ie(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,ye,he){"use strict";var ce=E("merge-descriptors"),ne=he;ce(ne,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ie=E("querystring"),oe=E("js-base64"),re=oe.Base64.encode,ee=he;ee.processObjectSave=function(){var y=(0,se.default)(ne.default.mark(function b(z,te,ue,me){var ve,ge,pe,Se;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return a(z,"sourceObject"),a(te,"targetObject"),a(ue,"process"),te=this._objectName(te),me&&le(me),ve=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ge=me?",b_".concat(re(me)):"",te=re(te),pe={"x-oss-process":"".concat(ue,"|sys/saveas,o_").concat(te).concat(ge)},ve.content=ie.stringify(pe),Ee.next=12,this.request(ve);case 12:return Se=Ee.sent,Ee.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Ee.stop()}},b,this)}));function x(b,z,te,ue){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("debug")("ali-oss:multipart-copy"),le=E("copy-to"),ie=he;ie.uploadPartCopy=function(){var oe=(0,se.default)(ne.default.mark(function ee(a,y,x,b,z){var te,ue,me,ve,ge,pe=arguments;return ne.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return te=pe.length>5&&pe[5]!==void 0?pe[5]:{},te.headers=te.headers||{},ue=te.versionId||te.subres&&te.subres.versionId||null,ue?me="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(ue):me="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),te.headers["x-oss-copy-source"]=me,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},ve=this._objectRequestParams("PUT",a,te),ve.mime=te.mime,ve.successStatuses=[200],be.next=12,this.request(ve);case 12:return ge=be.sent,be.abrupt("return",{name:a,etag:ge.res.headers.etag,res:ge.res});case 14:case"end":return be.stop()}},ee,this)}));function re(ee,a,y,x,b){return oe.apply(this,arguments)}return re}(),ie.multipartUploadCopy=function(){var oe=(0,se.default)(ne.default.mark(function ee(a,y){var x,b,z,te,ue,me,ve,ge,pe,Se,be,Ee,Ce=arguments;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return x=Ce.length>2&&Ce[2]!==void 0?Ce[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,te={versionId:z},Pe.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(ue=Pe.sent,me=ue.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||me,!(x.checkpoint&&x.checkpoint.uploadId)){Pe.next=14;break}return Pe.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Pe.abrupt("return",Pe.sent);case 14:if(ve=102400,ge=y.endOffset-y.startOffset,!(ge0)){Qe.next=40;break}throw Ue=Ge[0],Ue.message="Failed to copy some parts with error: ".concat(Ue.toString()," part_num: ").concat(Ue.partNum),Ue;case 40:return Qe.next=42,this.completeMultipartUpload(pe,ve,ge,x);case 42:return Qe.abrupt("return",Qe.sent);case 43:case"end":return Qe.stop()}},ee,this)}));function re(ee,a,y){return oe.apply(this,arguments)}return re}(),ie._divideMultipartCopyParts=function(re,ee,a){for(var y=Math.ceil(re/ee),x=[],b=0;b + +`,Ee=0;Ee +`,be+="".concat(Ce.number,` +`),be+="".concat(Ce.etag,` +`),be+=` +`;return be+="",pe=pe||{},Be={},Be=re(pe,function(Ge){if(a(Ge))return null}),Be.subres={uploadId:ve},Be.headers=x(Be.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Pe=this._objectRequestParams("POST",me,Be),ie.encodeCallback(Pe,Be),Pe.mime="xml",Pe.content=be,Pe.headers&&Pe.headers["x-oss-callback"]||(Pe.xmlResponse=!0),Pe.successStatuses=[200],Oe.next=17,this.request(Pe);case 17:if(Fe=Oe.sent,!pe.progress){Oe.next=21;break}return Oe.next=21,pe.progress(1,null,Fe.res);case 21:return we={res:Fe.res,bucket:Pe.bucket,name:me,etag:Fe.res.headers.etag},Pe.headers&&Pe.headers["x-oss-callback"]&&(we.data=JSON.parse(Fe.data.toString())),Oe.abrupt("return",we);case 24:case"end":return Oe.stop()}},ue,this)}));function te(ue,me,ve,ge){return z.apply(this,arguments)}return te}(),b._uploadPart=function(){var z=(0,de.default)(se.default.mark(function ue(me,ve,ge,pe,Se){var be,Ee,Ce,Be;return se.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Se=Se||{},be={},le(Se).to(be),be.headers=be.headers||{},be.headers["Content-Length"]=pe.size,be.headers=x(be.headers,["x-oss-server-side-encryption"]),be.subres={partNumber:ge,uploadId:ve},Ee=this._objectRequestParams("PUT",me,be),Ee.mime=be.mime,Ce=ce&&ce.browser,Ce?Ee.content=pe.content:Ee.stream=pe.stream,Ee.successStatuses=[200],Ee.disabledMD5=Se.disabledMD5,Fe.next=15,this.request(Ee);case 15:if(Be=Fe.sent,Be.res.headers.etag){Fe.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS + https://help.aliyun.com/document_detail/32069.html`);case 18:return pe.stream&&(pe.stream=null,Ee.stream=null),Fe.abrupt("return",{name:me,etag:Be.res.headers.etag,res:Be.res});case 20:case"end":return Fe.stop()}},ue,this)}));function te(ue,me,ve,ge,pe){return z.apply(this,arguments)}return te}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator")),se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("url"),le=E("utility"),ie=E("copy-to"),oe=E("../../common/signUtils"),re=E("../utils/isIP"),ee=re.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=he;z.asyncSignatureUrl=function(){var te=(0,se.default)(ne.default.mark(function me(ve,ge){var pe,Se,be,Ee,Ce;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(!ee(this.options.endpoint.hostname)){Pe.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ge=ge||{},ve=this._objectName(ve),ge.method=ge.method||"GET",pe=le.timestamp()+(ge.expires||1800),Se={bucket:this.options.bucket,object:ve},be=this._getResource(Se),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Pe.next=11;break}return Pe.next=11,y.call(this);case 11:return this.options.stsToken&&(ge["security-token"]=this.options.stsToken),Ee=oe._signatureForURL(this.options.accessKeySecret,ge,be,pe),Ce=de.parse(this._getReqUrl(Se)),Ce.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:Ee.Signature},ie(Ee.subResource).to(Ce.query),Pe.abrupt("return",Ce.format());case 17:case"end":return Pe.stop()}},me,this)}));function ue(me,ve){return te.apply(this,arguments)}return ue}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var se=ce(E("@babel/runtime/helpers/typeof")),de=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ie=le.checkBucketName,oe=he,re=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var ee=(0,de.default)(ne.default.mark(function y(x,b,z,te){var ue,me,ve;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return(0,se.default)(z)==="object"&&(te=z),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Se){te.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=te.headers[Se]}),(te.meta||Object.keys(te.headers).find(function(Se){return re.includes(Se.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,z),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,ue=this._objectRequestParams("PUT",x,te),ue.xmlResponse=!0,ue.successStatuses=[200,304],pe.next=14,this.request(ue);case 14:return me=pe.sent,ve=me.data,ve&&(ve={etag:ve.ETag,lastModified:ve.LastModified}),pe.abrupt("return",{data:ve,res:me.res});case 18:case"end":return pe.stop()}},y,this)}));function a(y,x,b,z){return ee.apply(this,arguments)}return a}(),oe._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ie(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.delete=function(){var le=(0,se.default)(ne.default.mark(function oe(re){var ee,a,y,x=arguments;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("DELETE",re,ee),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},oe,this)}));function ie(oe){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("utility"),le=E("../utils/obj2xml"),ie=le.obj2xml,oe=he;oe.deleteMulti=function(){var re=(0,se.default)(ne.default.mark(function a(y){var x,b,z,te,ue,me,ve,ge,pe,Se,be,Ee,Ce,Be=arguments;return ne.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(x=Be.length>1&&Be[1]!==void 0?Be[1]:{},b=[],!(!y||!y.length)){Fe.next=4;break}throw new Error("names is required");case 4:for(z=0;z1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectName(re),a=this._objectRequestParams("DELETE",re,ee),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},oe,this)}));function ie(oe){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js");var ce=E("url"),ne=E("../utils/isIP"),se=ne.isIP,de=he;de.generateObjectUrl=function(ie,oe){if(se(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var re=ce.parse(oe),ee=this.options.bucket;re.hostname="".concat(ee,".").concat(re.hostname),re.host="".concat(ee,".").concat(re.host),oe=re.format()}return oe+this._escape(this._objectName(ie))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),se=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var de=ne(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),ie=E("is-type-of"),oe=he;oe.get=function(){var re=(0,de.default)(se.default.mark(function a(y,x){var b,z,te,ue,me,ve,ge,pe,Se=arguments;return se.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return b=Se.length>2&&Se[2]!==void 0?Se[2]:{},z=null,te=!1,ie.writableStream(x)?z=x:ie.string(x)?(z=le.createWriteStream(x),te=!0):b=x,b=b||{},ue=ce&&ce.browser,me=b.responseCacheControl===null?"":"no-cache",ve=ue&&me?{"response-cache-control":me}:{},b.subres=Object.assign(ve,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Ee.prev=11,pe=this._objectRequestParams("GET",y,b),pe.writeStream=z,pe.successStatuses=[200,206,304],Ee.next=17,this.request(pe);case 17:ge=Ee.sent,te&&z.destroy(),Ee.next=28;break;case 21:if(Ee.prev=21,Ee.t0=Ee.catch(11),!te){Ee.next=27;break}return z.destroy(),Ee.next=27,this._deleteFileSafe(x);case 27:throw Ee.t0;case 28:return Ee.abrupt("return",{res:ge.res,content:ge.data});case 29:case"end":return Ee.stop()}},a,this,[[11,21]])}));function ee(a,y){return re.apply(this,arguments)}return ee}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.getACL=function(){var le=(0,se.default)(ne.default.mark(function oe(re){var ee,a,y,x=arguments;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({acl:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,ee),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},oe,this)}));function ie(oe){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he,le=E("../utils/isObject"),ie=le.isObject,oe=E("../utils/isArray"),re=oe.isArray;de.getBucketVersions=ee,de.listObjectVersions=ee;function ee(){return a.apply(this,arguments)}function a(){return a=(0,se.default)(ne.default.mark(function b(){var z,te,ue,me,ve,ge,pe,Se,be=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(z=be.length>0&&be[0]!==void 0?be[0]:{},te=be.length>1&&be[1]!==void 0?be[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){Ce.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ue=this._objectRequestParams("GET","",te),ue.xmlResponse=!0,ue.successStatuses=[200],ue.query=x(z),Ce.next=12,this.request(ue);case 12:return me=Ce.sent,ve=me.data.Version||[],ge=me.data.DeleteMarker||[],pe=this,ve&&(Array.isArray(ve)||(ve=[ve]),ve=ve.map(function(Be){return{name:Be.Key,url:pe._objectUrl(Be.Key),lastModified:Be.LastModified,isLatest:Be.IsLatest==="true",versionId:Be.VersionId,etag:Be.ETag,type:Be.Type,size:Number(Be.Size),storageClass:Be.StorageClass,owner:{id:Be.Owner.ID,displayName:Be.Owner.DisplayName}}})),ge&&(re(ge)||(ge=[ge]),ge=ge.map(function(Be){return{name:Be.Key,lastModified:Be.LastModified,versionId:Be.VersionId,owner:{id:Be.Owner.ID,displayName:Be.Owner.DisplayName}}})),Se=me.data.CommonPrefixes||null,Se&&(re(Se)||(Se=[Se]),Se=Se.map(function(Be){return Be.Prefix})),Ce.abrupt("return",{res:me.res,objects:ve,deleteMarker:ge,prefixes:Se,nextMarker:me.data.NextKeyMarker||null,NextVersionIdMarker:me.data.NextVersionIdMarker||null,nextKeyMarker:me.data.NextKeyMarker||null,nextVersionIdMarker:me.data.NextVersionIdMarker||null,isTruncated:me.data.IsTruncated==="true"});case 21:case"end":return Ce.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return ie(b)&&Object.keys(b).forEach(function(te){z[y(te)]=b[te]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.getObjectMeta=function(){var le=(0,se.default)(ne.default.mark(function oe(re,ee){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ee=ee||{},re=this._objectName(re),ee.subres=Object.assign({objectMeta:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("HEAD",re,ee),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},oe,this)}));function ie(oe,re){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he,le=E("../utils/isObject"),ie=le.isObject;de.getObjectTagging=function(){var oe=(0,se.default)(ne.default.mark(function ee(a){var y,x,b,z,te,ue,me=arguments;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return y=me.length>1&&me[1]!==void 0?me[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ge.next=8,this.request(x);case 8:return b=ge.sent,ge.next=11,this.parseXML(b.data);case 11:return z=ge.sent,te=z.TagSet.Tag,te=te&&ie(te)?[te]:te||[],ue={},te.forEach(function(pe){ue[pe.Key]=pe.Value}),ge.abrupt("return",{status:b.status,res:b.res,tag:ue});case 17:case"end":return ge.stop()}},ee,this)}));function re(ee){return oe.apply(this,arguments)}return re}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,ye,he){"use strict";var ce=E("../utils/isIP"),ne=ce.isIP,se=he;se.getObjectUrl=function(le,ie){if(ne(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ie?ie[ie.length-1]!=="/"&&(ie+="/"):ie=this.options.endpoint.format(),ie+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.getSymlink=function(){var le=(0,se.default)(ne.default.mark(function oe(re){var ee,a,y,x,b=arguments;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ee=b.length>1&&b[1]!==void 0?b[1]:{},ee.subres=Object.assign({symlink:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,ee),a.successStatuses=[200],te.next=8,this.request(a);case 8:return y=te.sent,x=y.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return te.stop()}},oe,this)}));function ie(oe){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkEnv"),le=de.checkEnv,ie=he;ie.head=function(){var oe=(0,se.default)(ne.default.mark(function ee(a){var y,x,b,z,te=arguments;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return y=te.length>1&&te[1]!==void 0?te[1]:{},le("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],me.next=8,this.request(x);case 8:return b=me.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ve){ve.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[ve.substring(11)]=b.headers[ve])}),me.abrupt("return",z);case 12:case"end":return me.stop()}},ee,this)}));function re(ee){return oe.apply(this,arguments)}return re}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.putACL=function(){var le=(0,se.default)(ne.default.mark(function oe(re,ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ee,re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},oe,this)}));function ie(oe,re,ee){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/obj2xml"),le=de.obj2xml,ie=E("../utils/checkObjectTag"),oe=ie.checkObjectTag,re=he;re.putObjectTagging=function(){var ee=(0,se.default)(ne.default.mark(function y(x,b){var z,te,ue,me,ve=arguments;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return z=ve.length>2&&ve[2]!==void 0?ve[2]:{},oe(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,z),te.successStatuses=[200],b=Object.keys(b).map(function(Se){return{Key:Se,Value:b[Se]}}),ue={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=le(ue),pe.next=13,this.request(te);case 13:return me=pe.sent,pe.abrupt("return",{res:me.res,status:me.status});case 15:case"end":return pe.stop()}},y,this)}));function a(y,x){return ee.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=he;de.putSymlink=function(){var le=(0,se.default)(ne.default.mark(function oe(re,ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ee=this._escape(this._objectName(ee)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ee,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},oe,this)}));function ie(oe,re,ee){return le.apply(this,arguments)}return ie}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,ye,he){"use strict";var ce=E("url"),ne=E("utility"),se=E("copy-to"),de=E("../../common/signUtils"),le=E("../utils/isIP"),ie=le.isIP,oe=he;oe.signatureUrl=function(ee,a){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ee=this._objectName(ee),a.method=a.method||"GET";var y=ne.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ee},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=de._signatureForURL(this.options.accessKeySecret,a,b,y),te=ce.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},se(z.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator")),de=E("./utils/isArray"),le=de.isArray,ie=he;ie._parallelNode=function(){var oe=(0,se.default)(ne.default.mark(function ee(a,y,x,b){var z,te,ue,me,ve,ge,pe,Se;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:z=this,te=[],ue=[],me=a.length/y,ve=a.length%y,ge=ve===0?me:(a.length-ve)/y+1,pe=1,Se=0;case 8:if(!(Se0){me=!0,ve<=0&&x(b);return}ve+=1,Se(Ee.value,z(pe))}ge=!1}be()})},ie.cancel=function(re){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ee){if(ee.destroyed===!1){var a={name:"cancel",message:"cancel"};ee.destroy(a)}}),this.multipartUploadStreams=[],re&&this.abortMultipartUpload(re.name,re.uploadId,re.options)},ie.isCancel=function(){return this.options.cancelFlag},ie.resetCancelFlag=function(){this.options.cancelFlag=!1},ie._stop=function(){this.options.cancelFlag=!0},ie._makeCancelEvent=function(){var re={status:0,name:"cancel"};return re},ie._makeAbortEvent=function(){var re={status:0,name:"abort",message:"upload task has been abort"};return re}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,ye,he){(function(ce){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ne=E("./../../shims/crypto/crypto.js"),se=E("is-type-of"),de=E("./utils/lowercaseKeyHeader"),le=de.lowercaseKeyHeader;he.buildCanonicalizedResource=function(oe,re){var ee="".concat(oe),a="?";if(se.string(re)&&re.trim()!=="")ee+=a+re;else if(se.array(re))re.sort(),ee+=a+re.join("&");else if(re){var y=function(z,te){return z[0]>te[0]?1:z[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=ne.createHmac("sha1",oe);return a.update(ce.from(re,ee)).digest("base64")},he.authorization=function(oe,re,ee,a){return"OSS ".concat(oe,":").concat(this.computeSignature(re,ee,a))},he._signatureForURL=function(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=re.subResource,z=b===void 0?{}:b;if(re.process){var te="x-oss-process";z[te]=re.process}if(re.trafficLimit){var ue="x-oss-traffic-limit";z[ue]=re.trafficLimit}if(re.response&&Object.keys(re.response).forEach(function(pe){var Se="response-".concat(pe.toLowerCase());z[Se]=re.response[pe]}),Object.keys(re).forEach(function(pe){var Se=pe.toLowerCase(),be=re[pe];Se.indexOf("x-oss-")===0?x[Se]=be:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[pe]=be)}),Object.prototype.hasOwnProperty.call(re,"security-token")&&(z["security-token"]=re["security-token"]),Object.prototype.hasOwnProperty.call(re,"callback")){var me={callbackUrl:encodeURI(re.callback.url),callbackBody:re.callback.body};if(re.callback.host&&(me.callbackHost=re.callback.host),re.callback.contentType&&(me.callbackBodyType=re.callback.contentType),z.callback=ce.from(JSON.stringify(me)).toString("base64"),re.callback.customValue){var ve={};Object.keys(re.callback.customValue).forEach(function(pe){ve["x:".concat(pe)]=re.callback.customValue[pe]}),z["callback-var"]=ce.from(JSON.stringify(ve)).toString("base64")}}var ge=this.buildCanonicalString(re.method,ee,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(oe,ge,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,ye,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkBucketName=void 0,he.checkBucketName=function(ce){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=ne?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!se.test(ce))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,ye,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkConfigValid=void 0;var ce={endpoint:ne,region:/^[a-zA-Z0-9\-_]+$/};function ne(se){return typeof se=="string"?/^[a-zA-Z0-9._:/-]+$/.test(se):se.host?/^[a-zA-Z0-9._:/-]+$/.test(se.host):!1}he.checkConfigValid=function(se,de){if(ce[de]){var le=!0;if(ce[de]instanceof Function?le=ce[de](se):le=ce[de].test(se),!le)throw new Error("The ".concat(de," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,ye,he){(function(ce){(function(){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.checkEnv=void 0;function ne(se){ce.browser&&console.warn(se)}he.checkEnv=ne}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,ye,he){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkObjectTag=void 0;var ce=E("./checkValid"),ne=ce.checkValid,se=E("./isObject"),de=se.isObject,le=[{validator:function(ee){if(typeof ee!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ie={key:[].concat(le,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(le,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(re){if(!de(re))throw new Error("tag must be Object");var ee=Object.entries(re);if(ee.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ee.forEach(function(y){y.forEach(function(x,b){ne(x,ie[a[b]])})})}he.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,ye,he){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkValid=void 0;function ce(ne,se){se.forEach(function(de){if(de.validator)de.validator(ne);else if(de.pattern&&!de.pattern.test(ne))throw new Error(de.msg)})}he.checkValid=ce},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,ye,he){(function(ce){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.createRequest=void 0;var ne=E("./../../../shims/crypto/crypto.js"),se=E("debug")("ali-oss"),de=E("mime"),le=E("dateformat"),ie=E("copy-to"),oe=E("path"),re=E("./encoder"),ee=re.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),te=z.getReqUrl,ue=E("./isDingTalk"),me=ue.isDingTalk;function ve(Se,be){return Se[be]||Se[be.toLowerCase()]}function ge(Se,be){delete Se[be],delete Se[be.toLowerCase()]}function pe(Se){var be=new Date;this.options.amendTimeSkewed&&(be=+new Date+this.options.amendTimeSkewed);var Ee={"x-oss-date":le(be,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Ee["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Ee["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Ee,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Ee["x-oss-security-token"]=this.options.stsToken),ie(Se.headers).to(Ee),ve(Ee,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Ee["Content-Type"]=Se.mime:me()?Ee["Content-Type"]="application/octet-stream":Ee["Content-Type"]=de.getType(Se.mime||oe.extname(Se.object||""))),ve(Ee,"Content-Type")||ge(Ee,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Ee["Content-MD5"]=ne.createHash("md5").update(ce.from(Se.content,"utf8")).digest("base64"):Ee["Content-MD5"]=Se.headers["Content-MD5"]),Ee["Content-Length"]||(Ee["Content-Length"]=Se.content.length));var Ce=Object.prototype.hasOwnProperty;for(var Be in Ee)Ee[Be]&&Ce.call(Ee,Be)&&(Ee[Be]=ee(String(Ee[Be]),this.options.headerEncoding));var Pe=this._getResource(Se);if(Ee.authorization=this.authorization(Se.method,Pe,Se.subres,Ee,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Fe=this.options,we=Fe.region,Le=Fe.internal,Oe=Fe.secure,Ge=b(we,Le,Oe);Ee.host="".concat(Se.bucket,".").concat(Ge.host)}var Ne=te.bind(this)(Se);se("request %s %s, with headers %j, !!stream: %s",Se.method,Ne,Ee,!!Se.stream);var Ue=Se.timeout||this.options.timeout,He={method:Se.method,content:Se.content,stream:Se.stream,headers:Ee,timeout:Ue,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(He.agent=this.agent),this.httpsAgent&&(He.httpsAgent=this.httpsAgent),He.enableProxy=!!this.options.enableProxy,He.proxy=this.options.proxy?this.options.proxy:null,{url:Ne,params:He}}he.createRequest=pe}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,ye,he){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.dataFix=void 0;var ce=E("./isObject"),ne=["true","TRUE","1",1],se=["false","FALSE","0",0];function de(oe,re,ee){if(ce.isObject(oe)){var a=re.remove,y=a===void 0?[]:a,x=re.rename,b=x===void 0?{}:x,z=re.camel,te=z===void 0?[]:z,ue=re.bool,me=ue===void 0?[]:ue,ve=re.lowerFirst,ge=ve===void 0?!1:ve;return y.forEach(function(pe){return delete oe[pe]}),Object.entries(b).forEach(function(pe){oe[pe[0]]&&(oe[pe[1]]||(oe[pe[1]]=oe[pe[0]],delete oe[pe[0]]))}),te.forEach(function(pe){if(oe[pe]){var Se=pe.replace(/^(.)/,function(be){return be.toLowerCase()}).replace(/-(\w)/g,function(be,Ee){return Ee.toUpperCase()});oe[Se]||(oe[Se]=oe[pe])}}),me.forEach(function(pe){oe[pe]=le(oe[pe])}),typeof ee=="function"&&ee(oe),ie(oe,ge),de}}he.dataFix=de;function le(oe){return oe?ne.includes(oe)?!0:se.includes(oe)?!1:oe:!1}function ie(oe,re){re&&Object.keys(oe).forEach(function(ee){var a=ee.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[ee],delete oe[ee])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ne=ce(E("@babel/runtime/helpers/typeof"));Object.defineProperty(he,"__esModule",{value:!0}),he.deepCopyWith=he.deepCopy=void 0;var se=E("./isBuffer");he.deepCopy=function(de){if(de===null||(0,ne.default)(de)!=="object")return de;if(se.isBuffer(de))return de.slice();var le=Array.isArray(de)?[]:{};return Object.keys(de).forEach(function(ie){le[ie]=he.deepCopy(de[ie])}),le},he.deepCopyWith=function(de,le){function ie(oe,re,ee){var a=le(oe,re,ee);if(a!==void 0)return a;if(oe===null||(0,ne.default)(oe)!=="object")return oe;if(se.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(x){y[x]=ie(oe[x],x,oe)}),y}return le?ie(de,"",null):he.deepCopy(de)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,ye,he){(function(ce){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.encoder=void 0;function ne(se){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return de==="utf-8"?se:ce.from(se).toString("latin1")}he.encoder=ne}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,ye,he){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.formatInventoryConfig=void 0;var ce=E("../utils/dataFix"),ne=E("../utils/isObject"),se=E("../utils/isArray"),de=E("../utils/formatObjKey");function le(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return re&&ne.isObject(oe)&&(oe=[oe]),se.isArray(oe)?oe=oe.map(ie):oe=ie(oe),oe}he.formatInventoryConfig=le;function ie(oe){return ce.dataFix(oe,{bool:["IsEnabled"]},function(re){var ee,a;re.prefix=re.Filter.Prefix,delete re.Filter,re.OSSBucketDestination=re.Destination.OSSBucketDestination,re.OSSBucketDestination.rolename=re.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete re.OSSBucketDestination.RoleArn,re.OSSBucketDestination.bucket=re.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete re.OSSBucketDestination.Bucket,delete re.Destination,re.frequency=re.Schedule.Frequency,delete re.Schedule.Frequency,!((ee=re==null?void 0:re.OptionalFields)===null||ee===void 0)&&ee.Field&&!se.isArray((a=re.OptionalFields)===null||a===void 0?void 0:a.Field)&&(re.OptionalFields.Field=[re.OptionalFields.Field])}),oe=de.formatObjKey(oe,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),oe}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ne=ce(E("@babel/runtime/helpers/typeof"));Object.defineProperty(he,"__esModule",{value:!0}),he.formatObjKey=void 0;function se(le,ie,oe){if(le===null||(0,ne.default)(le)!=="object")return le;var re;if(Array.isArray(le)){re=[];for(var ee=0;ee +`),le&&le.firstUpperCase&&(de=ce.formatObjKey(de,"firstUpperCase")),ne(de)==="object"?Object.keys(de).forEach(function(oe){ne(de[oe])!=="undefined"&&ne(de[oe])!=="null"&&(ne(de[oe])==="string"||ne(de[oe])==="number"?ie+="<".concat(oe,">").concat(de[oe],""):ne(de[oe])==="object"?ie+="<".concat(oe,">").concat(se(de[oe]),""):ne(de[oe])==="array"?ie+=de[oe].map(function(re){return"<".concat(oe,">").concat(se(re),"")}).join(""):ie+="<".concat(oe,">").concat(de[oe].toString(),""))}):ie+=de.toString(),ie}he.obj2xml=se},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,ye,he){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function ce(le,ie){var oe=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!oe){if(Array.isArray(le)||(oe=ne(le))||ie&&le&&typeof le.length=="number"){oe&&(le=oe);var re=0,ee=function(){};return{s:ee,n:function(){return re>=le.length?{done:!0}:{done:!1,value:le[re++]}},e:function(z){throw z},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){oe=oe.call(le)},n:function(){var z=oe.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function ne(le,ie){if(le){if(typeof le=="string")return se(le,ie);var oe=Object.prototype.toString.call(le).slice(8,-1);if(oe==="Object"&&le.constructor&&(oe=le.constructor.name),oe==="Map"||oe==="Set")return Array.from(le);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return se(le,ie)}}function se(le,ie){(ie==null||ie>le.length)&&(ie=le.length);for(var oe=0,re=new Array(ie);oe2&&arguments[2]!==void 0?arguments[2]:{},le=0,ie=de.retryDelay,oe=ie===void 0?500:ie,re=de.errorHandler,ee=re===void 0?function(){return!0}:re,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;se.checkConfigValid(le,"region");var re=oe?"https://":"http://",ee=ie?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return le.substr(0,a.length)===a&&(ee=".aliyuncs.com"),ne.default.parse(re+le+ee)}he.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var se=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.checkCredentials=he.setSTSToken=void 0;var de=E("./formatObjKey");function le(){return ie.apply(this,arguments)}function ie(){return ie=(0,se.default)(ne.default.mark(function re(){var ee,a;return ne.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ee=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ee-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ee,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=de.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),oe(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ee;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},re,this)})),ie.apply(this,arguments)}he.setSTSToken=le;function oe(re){var ee=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(re);ee.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}he.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,ye,he){function ce(se,de,le,ie,oe,re,ee){try{var a=se[re](ee),y=a.value}catch(x){le(x);return}a.done?de(y):Promise.resolve(y).then(ie,oe)}function ne(se){return function(){var de=this,le=arguments;return new Promise(function(ie,oe){var re=se.apply(de,le);function ee(y){ce(re,ie,oe,ee,a,"next",y)}function a(y){ce(re,ie,oe,ee,a,"throw",y)}ee(void 0)})}}ye.exports=ne,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],78:[function(E,ye,he){function ce(ne){return ne&&ne.__esModule?ne:{default:ne}}ye.exports=ce,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],79:[function(E,ye,he){function ce(ne){"@babel/helpers - typeof";return ye.exports=ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},ye.exports.__esModule=!0,ye.exports.default=ye.exports,ce(ne)}ye.exports=ce,ye.exports.__esModule=!0,ye.exports.default=ye.exports},{}],80:[function(E,ye,he){ye.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,ye,he){ye.exports=ce,ye.exports.HttpsAgent=ce;function ce(){}},{}],82:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=E("object-assign");function se(we,Le){if(we===Le)return 0;for(var Oe=we.length,Ge=Le.length,Ne=0,Ue=Math.min(Oe,Ge);Ne=0){var Qe=Ne.indexOf(` +`,He+1);Ne=Ne.substring(Qe+1)}this.stack=Ne}}},le.inherits(y.AssertionError,Error);function z(we,Le){return typeof we=="string"?we.length=0;ze--)if(He[ze]!==Qe[ze])return!1;for(ze=He.length-1;ze>=0;ze--)if(We=He[ze],!ge(we[We],Le[We],Oe,Ge))return!1;return!0}y.notDeepEqual=function(Le,Oe,Ge){ge(Le,Oe,!1)&&me(Le,Oe,Ge,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=be;function be(we,Le,Oe){ge(we,Le,!0)&&me(we,Le,Oe,"notDeepStrictEqual",be)}y.strictEqual=function(Le,Oe,Ge){Le!==Oe&&me(Le,Oe,Ge,"===",y.strictEqual)},y.notStrictEqual=function(Le,Oe,Ge){Le===Oe&&me(Le,Oe,Ge,"!==",y.notStrictEqual)};function Ee(we,Le){if(!we||!Le)return!1;if(Object.prototype.toString.call(Le)=="[object RegExp]")return Le.test(we);try{if(we instanceof Le)return!0}catch(Oe){}return Error.isPrototypeOf(Le)?!1:Le.call({},we)===!0}function Ce(we){var Le;try{we()}catch(Oe){Le=Oe}return Le}function Be(we,Le,Oe,Ge){var Ne;if(typeof Le!="function")throw new TypeError('"block" argument must be a function');typeof Oe=="string"&&(Ge=Oe,Oe=null),Ne=Ce(Le),Ge=(Oe&&Oe.name?" ("+Oe.name+").":".")+(Ge?" "+Ge:"."),we&&!Ne&&me(Ne,Oe,"Missing expected exception"+Ge);var Ue=typeof Ge=="string",He=!we&&le.isError(Ne),Qe=!we&&Ne&&!Oe;if((He&&Ue&&Ee(Ne,Oe)||Qe)&&me(Ne,Oe,"Got unwanted exception"+Ge),we&&Ne&&Oe&&!Ee(Ne,Oe)||!we&&Ne)throw Ne}y.throws=function(we,Le,Oe){Be(!0,we,Le,Oe)},y.doesNotThrow=function(we,Le,Oe){Be(!1,we,Le,Oe)},y.ifError=function(we){if(we)throw we};function Pe(we,Le){we||me(we,!0,Le,"==",Pe)}y.strict=ne(Pe,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Fe=Object.keys||function(we){var Le=[];for(var Oe in we)ie.call(we,Oe)&&Le.push(Oe);return Le}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,ye,he){typeof Object.create=="function"?ye.exports=function(ne,se){ne.super_=se,ne.prototype=Object.create(se.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}})}:ye.exports=function(ne,se){ne.super_=se;var de=function(){};de.prototype=se.prototype,ne.prototype=new de,ne.prototype.constructor=ne}},{}],84:[function(E,ye,he){ye.exports=function(ne){return ne&&typeof ne=="object"&&typeof ne.copy=="function"&&typeof ne.fill=="function"&&typeof ne.readUInt8=="function"}},{}],85:[function(E,ye,he){(function(ce,ne){(function(){var se=/%[sdj%]/g;he.format=function(Qe){if(!Se(Qe)){for(var We=[],ze=0;ze=Ve)return dt;switch(dt){case"%s":return String(_e[ze++]);case"%d":return Number(_e[ze++]);case"%j":try{return JSON.stringify(_e[ze++])}catch($e){return"[Circular]"}default:return dt}}),et=_e[ze];ze=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),me(We)?ze.showHidden=We:We&&he._extend(ze,We),Ee(ze.showHidden)&&(ze.showHidden=!1),Ee(ze.depth)&&(ze.depth=2),Ee(ze.colors)&&(ze.colors=!1),Ee(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=oe),a(ze,Qe,ze.depth)}he.inspect=ie,ie.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ie.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Qe,We){var ze=ie.styles[We];return ze?"\x1B["+ie.colors[ze][0]+"m"+Qe+"\x1B["+ie.colors[ze][1]+"m":Qe}function re(Qe,We){return Qe}function ee(Qe){var We={};return Qe.forEach(function(ze,_e){We[ze]=!0}),We}function a(Qe,We,ze){if(Qe.customInspect&&We&&we(We.inspect)&&We.inspect!==he.inspect&&!(We.constructor&&We.constructor.prototype===We)){var _e=We.inspect(ze,Qe);return Se(_e)||(_e=a(Qe,_e,ze)),_e}var Ve=y(Qe,We);if(Ve)return Ve;var tt=Object.keys(We),et=ee(tt);if(Qe.showHidden&&(tt=Object.getOwnPropertyNames(We)),Fe(We)&&(tt.indexOf("message")>=0||tt.indexOf("description")>=0))return x(We);if(tt.length===0){if(we(We)){var dt=We.name?": "+We.name:"";return Qe.stylize("[Function"+dt+"]","special")}if(Ce(We))return Qe.stylize(RegExp.prototype.toString.call(We),"regexp");if(Pe(We))return Qe.stylize(Date.prototype.toString.call(We),"date");if(Fe(We))return x(We)}var $e="",Ze=!1,Me=["{","}"];if(ue(We)&&(Ze=!0,Me=["[","]"]),we(We)){var qe=We.name?": "+We.name:"";$e=" [Function"+qe+"]"}if(Ce(We)&&($e=" "+RegExp.prototype.toString.call(We)),Pe(We)&&($e=" "+Date.prototype.toUTCString.call(We)),Fe(We)&&($e=" "+x(We)),tt.length===0&&(!Ze||We.length==0))return Me[0]+$e+Me[1];if(ze<0)return Ce(We)?Qe.stylize(RegExp.prototype.toString.call(We),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(We);var Ie;return Ze?Ie=b(Qe,We,ze,et,tt):Ie=tt.map(function(je){return z(Qe,We,ze,et,je,Ze)}),Qe.seen.pop(),te(Ie,$e,Me)}function y(Qe,We){if(Ee(We))return Qe.stylize("undefined","undefined");if(Se(We)){var ze="'"+JSON.stringify(We).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize(ze,"string")}if(pe(We))return Qe.stylize(""+We,"number");if(me(We))return Qe.stylize(""+We,"boolean");if(ve(We))return Qe.stylize("null","null")}function x(Qe){return"["+Error.prototype.toString.call(Qe)+"]"}function b(Qe,We,ze,_e,Ve){for(var tt=[],et=0,dt=We.length;et-1&&(tt?dt=dt.split(` +`).map(function(Ze){return" "+Ze}).join(` +`).substr(2):dt=` +`+dt.split(` +`).map(function(Ze){return" "+Ze}).join(` +`))):dt=Qe.stylize("[Circular]","special")),Ee(et)){if(tt&&Ve.match(/^\d+$/))return dt;et=JSON.stringify(""+Ve),et.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(et=et.substr(1,et.length-2),et=Qe.stylize(et,"name")):(et=et.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),et=Qe.stylize(et,"string"))}return et+": "+dt}function te(Qe,We,ze){var _e=0,Ve=Qe.reduce(function(tt,et){return _e++,et.indexOf(` +`)>=0&&_e++,tt+et.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ve>60?ze[0]+(We===""?"":We+` + `)+" "+Qe.join(`, + `)+" "+ze[1]:ze[0]+We+" "+Qe.join(", ")+" "+ze[1]}function ue(Qe){return Array.isArray(Qe)}he.isArray=ue;function me(Qe){return typeof Qe=="boolean"}he.isBoolean=me;function ve(Qe){return Qe===null}he.isNull=ve;function ge(Qe){return Qe==null}he.isNullOrUndefined=ge;function pe(Qe){return typeof Qe=="number"}he.isNumber=pe;function Se(Qe){return typeof Qe=="string"}he.isString=Se;function be(Qe){return typeof Qe=="symbol"}he.isSymbol=be;function Ee(Qe){return Qe===void 0}he.isUndefined=Ee;function Ce(Qe){return Be(Qe)&&Oe(Qe)==="[object RegExp]"}he.isRegExp=Ce;function Be(Qe){return typeof Qe=="object"&&Qe!==null}he.isObject=Be;function Pe(Qe){return Be(Qe)&&Oe(Qe)==="[object Date]"}he.isDate=Pe;function Fe(Qe){return Be(Qe)&&(Oe(Qe)==="[object Error]"||Qe instanceof Error)}he.isError=Fe;function we(Qe){return typeof Qe=="function"}he.isFunction=we;function Le(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}he.isPrimitive=Le,he.isBuffer=E("./support/isBuffer");function Oe(Qe){return Object.prototype.toString.call(Qe)}function Ge(Qe){return Qe<10?"0"+Qe.toString(10):Qe.toString(10)}var Ne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ue(){var Qe=new Date,We=[Ge(Qe.getHours()),Ge(Qe.getMinutes()),Ge(Qe.getSeconds())].join(":");return[Qe.getDate(),Ne[Qe.getMonth()],We].join(" ")}he.log=function(){console.log("%s - %s",Ue(),he.format.apply(he,arguments))},he.inherits=E("inherits"),he._extend=function(Qe,We){if(!We||!Be(We))return Qe;for(var ze=Object.keys(We),_e=ze.length;_e--;)Qe[ze[_e]]=We[ze[_e]];return Qe};function He(Qe,We){return Object.prototype.hasOwnProperty.call(Qe,We)}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],se=typeof globalThis=="undefined"?ce:globalThis;ye.exports=function(){for(var le=[],ie=0;ie0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=z.indexOf("=");ue===-1&&(ue=te);var me=ue===te?0:4-ue%4;return[ue,me]}function re(z){var te=oe(z),ue=te[0],me=te[1];return(ue+me)*3/4-me}function ee(z,te,ue){return(te+ue)*3/4-ue}function a(z){var te,ue=oe(z),me=ue[0],ve=ue[1],ge=new se(ee(z,me,ve)),pe=0,Se=ve>0?me-4:me,be;for(be=0;be>16&255,ge[pe++]=te>>8&255,ge[pe++]=te&255;return ve===2&&(te=ne[z.charCodeAt(be)]<<2|ne[z.charCodeAt(be+1)]>>4,ge[pe++]=te&255),ve===1&&(te=ne[z.charCodeAt(be)]<<10|ne[z.charCodeAt(be+1)]<<4|ne[z.charCodeAt(be+2)]>>2,ge[pe++]=te>>8&255,ge[pe++]=te&255),ge}function y(z){return ce[z>>18&63]+ce[z>>12&63]+ce[z>>6&63]+ce[z&63]}function x(z,te,ue){for(var me,ve=[],ge=te;geSe?Se:pe+ge));return me===1?(te=z[ue-1],ve.push(ce[te>>2]+ce[te<<4&63]+"==")):me===2&&(te=(z[ue-2]<<8)+z[ue-1],ve.push(ce[te>>10]+ce[te>>4&63]+ce[te<<2&63]+"=")),ve.join("")}},{}],88:[function(E,ye,he){(function(ce,ne,se){typeof ye!="undefined"&&ye.exports?ye.exports=se():typeof fe=="function"&&fe.amd?fe(ne,se):ce[ne]=se()})(this,"bowser",function(){var ce=!0;function ne(ee){function a(We){var ze=ee.match(We);return ze&&ze.length>1&&ze[1]||""}function y(We){var ze=ee.match(We);return ze&&ze.length>1&&ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ee),z=!b&&/android/i.test(ee),te=/nexus\s*[0-6]\s*/i.test(ee),ue=!te&&/nexus\s*[0-9]+/i.test(ee),me=/CrOS/.test(ee),ve=/silk/i.test(ee),ge=/sailfish/i.test(ee),pe=/tizen/i.test(ee),Se=/(web|hpw)(o|0)s/i.test(ee),be=/windows phone/i.test(ee),Ee=/SamsungBrowser/i.test(ee),Ce=!be&&/windows/i.test(ee),Be=!x&&!ve&&/macintosh/i.test(ee),Pe=!z&&!ge&&!pe&&!Se&&/linux/i.test(ee),Fe=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),we=a(/version\/(\d+(\.\d+)?)/i),Le=/tablet/i.test(ee)&&!/tablet pc/i.test(ee),Oe=!Le&&/[^-]mobi/i.test(ee),Ge=/xbox/i.test(ee),Ne;/opera/i.test(ee)?Ne={name:"Opera",opera:ce,version:we||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ee)?Ne={name:"Opera",opera:ce,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||we}:/SamsungBrowser/i.test(ee)?Ne={name:"Samsung Internet for Android",samsungBrowser:ce,version:we||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ee)?Ne={name:"NAVER Whale browser",whale:ce,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ee)?Ne={name:"MZ Browser",mzbrowser:ce,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ee)?Ne={name:"Opera Coast",coast:ce,version:we||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ee)?Ne={name:"Focus",focus:ce,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ee)?Ne={name:"Yandex Browser",yandexbrowser:ce,version:we||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ee)?Ne={name:"UC Browser",ucbrowser:ce,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ee)?Ne={name:"Maxthon",maxthon:ce,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ee)?Ne={name:"Epiphany",epiphany:ce,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ee)?Ne={name:"Puffin",puffin:ce,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ee)?Ne={name:"Sleipnir",sleipnir:ce,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ee)?Ne={name:"K-Meleon",kMeleon:ce,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:be?(Ne={name:"Windows Phone",osname:"Windows Phone",windowsphone:ce},Fe?(Ne.msedge=ce,Ne.version=Fe):(Ne.msie=ce,Ne.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ee)?Ne={name:"Internet Explorer",msie:ce,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:me?Ne={name:"Chrome",osname:"Chrome OS",chromeos:ce,chromeBook:ce,chrome:ce,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ee)?Ne={name:"Microsoft Edge",msedge:ce,version:Fe}:/vivaldi/i.test(ee)?Ne={name:"Vivaldi",vivaldi:ce,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||we}:ge?Ne={name:"Sailfish",osname:"Sailfish OS",sailfish:ce,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ee)?Ne={name:"SeaMonkey",seamonkey:ce,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ee)?(Ne={name:"Firefox",firefox:ce,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ee)&&(Ne.firefoxos=ce,Ne.osname="Firefox OS")):ve?Ne={name:"Amazon Silk",silk:ce,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ee)?Ne={name:"PhantomJS",phantom:ce,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ee)?Ne={name:"SlimerJS",slimer:ce,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ee)||/rim\stablet/i.test(ee)?Ne={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ce,version:we||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(Ne={name:"WebOS",osname:"WebOS",webos:ce,version:we||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ee)&&(Ne.touchpad=ce)):/bada/i.test(ee)?Ne={name:"Bada",osname:"Bada",bada:ce,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:pe?Ne={name:"Tizen",osname:"Tizen",tizen:ce,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||we}:/qupzilla/i.test(ee)?Ne={name:"QupZilla",qupzilla:ce,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||we}:/chromium/i.test(ee)?Ne={name:"Chromium",chromium:ce,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||we}:/chrome|crios|crmo/i.test(ee)?Ne={name:"Chrome",chrome:ce,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Ne={name:"Android",version:we}:/safari|applewebkit/i.test(ee)?(Ne={name:"Safari",safari:ce},we&&(Ne.version=we)):x?(Ne={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},we&&(Ne.version=we)):/googlebot/i.test(ee)?Ne={name:"Googlebot",googlebot:ce,version:a(/googlebot\/(\d+(\.\d+))/i)||we}:Ne={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Ne.msedge&&/(apple)?webkit/i.test(ee)?(/(apple)?webkit\/537\.36/i.test(ee)?(Ne.name=Ne.name||"Blink",Ne.blink=ce):(Ne.name=Ne.name||"Webkit",Ne.webkit=ce),!Ne.version&&we&&(Ne.version=we)):!Ne.opera&&/gecko\//i.test(ee)&&(Ne.name=Ne.name||"Gecko",Ne.gecko=ce,Ne.version=Ne.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Ne.windowsphone&&(z||Ne.silk)?(Ne.android=ce,Ne.osname="Android"):!Ne.windowsphone&&x?(Ne[x]=ce,Ne.ios=ce,Ne.osname="iOS"):Be?(Ne.mac=ce,Ne.osname="macOS"):Ge?(Ne.xbox=ce,Ne.osname="Xbox"):Ce?(Ne.windows=ce,Ne.osname="Windows"):Pe&&(Ne.linux=ce,Ne.osname="Linux");function Ue(We){switch(We){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var He="";Ne.windows?He=Ue(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Ne.windowsphone?He=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Ne.mac?(He=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),He=He.replace(/[_\s]/g,".")):x?(He=a(/os (\d+([_\s]\d+)*) like mac os x/i),He=He.replace(/[_\s]/g,".")):z?He=a(/android[ \/-](\d+(\.\d+)*)/i):Ne.webos?He=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Ne.blackberry?He=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Ne.bada?He=a(/bada\/(\d+(\.\d+)*)/i):Ne.tizen&&(He=a(/tizen[\/\s](\d+(\.\d+)*)/i)),He&&(Ne.osversion=He);var Qe=!Ne.windows&&He.split(".")[0];return Le||ue||x=="ipad"||z&&(Qe==3||Qe>=4&&!Oe)||Ne.silk?Ne.tablet=ce:(Oe||x=="iphone"||x=="ipod"||z||te||Ne.blackberry||Ne.webos||Ne.bada)&&(Ne.mobile=ce),Ne.msedge||Ne.msie&&Ne.version>=10||Ne.yandexbrowser&&Ne.version>=15||Ne.vivaldi&&Ne.version>=1||Ne.chrome&&Ne.version>=20||Ne.samsungBrowser&&Ne.version>=4||Ne.whale&&ie([Ne.version,"1.0"])===1||Ne.mzbrowser&&ie([Ne.version,"6.0"])===1||Ne.focus&&ie([Ne.version,"1.0"])===1||Ne.firefox&&Ne.version>=20||Ne.safari&&Ne.version>=6||Ne.opera&&Ne.version>=10||Ne.ios&&Ne.osversion&&Ne.osversion.split(".")[0]>=6||Ne.blackberry&&Ne.version>=10.1||Ne.chromium&&Ne.version>=20?Ne.a=ce:Ne.msie&&Ne.version<10||Ne.chrome&&Ne.version<20||Ne.firefox&&Ne.version<20||Ne.safari&&Ne.version<6||Ne.opera&&Ne.version<10||Ne.ios&&Ne.osversion&&Ne.osversion.split(".")[0]<6||Ne.chromium&&Ne.version<20?Ne.c=ce:Ne.x=ce,Ne}var se=ne(typeof navigator!="undefined"&&navigator.userAgent||"");se.test=function(ee){for(var a=0;a=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function oe(ee,a,y){var x=se;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=ne(y));var b=""+x.version;for(var z in ee)if(ee.hasOwnProperty(z)&&x[z]){if(typeof ee[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ee));return ie([b,ee[z]])<0}return a}function re(ee,a,y){return!oe(ee,a,y)}return se.isUnsupportedBrowser=oe,se.compareVersions=ie,se.check=re,se._detect=ne,se.detect=ne,se})},{}],89:[function(E,ye,he){},{}],90:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=E("base64-js"),se=E("ieee754");he.Buffer=oe,he.SlowBuffer=me,he.INSPECT_MAX_BYTES=50;var de=2147483647;he.kMaxLength=de,oe.TYPED_ARRAY_SUPPORT=le(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function le(){try{var De=new Uint8Array(1);return De.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},De.foo()===42}catch(Te){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ie(De){if(De>de)throw new RangeError('The value "'+De+'" is invalid for option "size"');var Te=new Uint8Array(De);return Te.__proto__=oe.prototype,Te}function oe(De,Te,xe){if(typeof De=="number"){if(typeof Te=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(De)}return re(De,Te,xe)}typeof Symbol!="undefined"&&Symbol.species!=null&&oe[Symbol.species]===oe&&Object.defineProperty(oe,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),oe.poolSize=8192;function re(De,Te,xe){if(typeof De=="string")return x(De,Te);if(ArrayBuffer.isView(De))return b(De);if(De==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof De);if(Ye(De,ArrayBuffer)||De&&Ye(De.buffer,ArrayBuffer))return z(De,Te,xe);if(typeof De=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Re=De.valueOf&&De.valueOf();if(Re!=null&&Re!==De)return oe.from(Re,Te,xe);var Xe=te(De);if(Xe)return Xe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof De[Symbol.toPrimitive]=="function")return oe.from(De[Symbol.toPrimitive]("string"),Te,xe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof De)}oe.from=function(De,Te,xe){return re(De,Te,xe)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ee(De){if(typeof De!="number")throw new TypeError('"size" argument must be of type number');if(De<0)throw new RangeError('The value "'+De+'" is invalid for option "size"')}function a(De,Te,xe){return ee(De),De<=0?ie(De):Te!==void 0?typeof xe=="string"?ie(De).fill(Te,xe):ie(De).fill(Te):ie(De)}oe.alloc=function(De,Te,xe){return a(De,Te,xe)};function y(De){return ee(De),ie(De<0?0:ue(De)|0)}oe.allocUnsafe=function(De){return y(De)},oe.allocUnsafeSlow=function(De){return y(De)};function x(De,Te){if((typeof Te!="string"||Te==="")&&(Te="utf8"),!oe.isEncoding(Te))throw new TypeError("Unknown encoding: "+Te);var xe=ve(De,Te)|0,Re=ie(xe),Xe=Re.write(De,Te);return Xe!==xe&&(Re=Re.slice(0,Xe)),Re}function b(De){for(var Te=De.length<0?0:ue(De.length)|0,xe=ie(Te),Re=0;Re=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return De|0}function me(De){return+De!=De&&(De=0),oe.alloc(+De)}oe.isBuffer=function(Te){return Te!=null&&Te._isBuffer===!0&&Te!==oe.prototype},oe.compare=function(Te,xe){if(Ye(Te,Uint8Array)&&(Te=oe.from(Te,Te.offset,Te.byteLength)),Ye(xe,Uint8Array)&&(xe=oe.from(xe,xe.offset,xe.byteLength)),!oe.isBuffer(Te)||!oe.isBuffer(xe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Te===xe)return 0;for(var Re=Te.length,Xe=xe.length,nt=0,Ke=Math.min(Re,Xe);nt2&&arguments[2]===!0;if(!Re&&xe===0)return 0;for(var Xe=!1;;)switch(Te){case"ascii":case"latin1":case"binary":return xe;case"utf8":case"utf-8":return Me(De).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe*2;case"hex":return xe>>>1;case"base64":return je(De).length;default:if(Xe)return Re?-1:Me(De).length;Te=(""+Te).toLowerCase(),Xe=!0}}oe.byteLength=ve;function ge(De,Te,xe){var Re=!1;if((Te===void 0||Te<0)&&(Te=0),Te>this.length||((xe===void 0||xe>this.length)&&(xe=this.length),xe<=0)||(xe>>>=0,Te>>>=0,xe<=Te))return"";for(De||(De="utf8");;)switch(De){case"hex":return Qe(this,Te,xe);case"utf8":case"utf-8":return Oe(this,Te,xe);case"ascii":return Ue(this,Te,xe);case"latin1":case"binary":return He(this,Te,xe);case"base64":return Le(this,Te,xe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,Te,xe);default:if(Re)throw new TypeError("Unknown encoding: "+De);De=(De+"").toLowerCase(),Re=!0}}oe.prototype._isBuffer=!0;function pe(De,Te,xe){var Re=De[Te];De[Te]=De[xe],De[xe]=Re}oe.prototype.swap16=function(){var Te=this.length;if(Te%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var xe=0;xexe&&(Te+=" ... "),""},oe.prototype.compare=function(Te,xe,Re,Xe,nt){if(Ye(Te,Uint8Array)&&(Te=oe.from(Te,Te.offset,Te.byteLength)),!oe.isBuffer(Te))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Te);if(xe===void 0&&(xe=0),Re===void 0&&(Re=Te?Te.length:0),Xe===void 0&&(Xe=0),nt===void 0&&(nt=this.length),xe<0||Re>Te.length||Xe<0||nt>this.length)throw new RangeError("out of range index");if(Xe>=nt&&xe>=Re)return 0;if(Xe>=nt)return-1;if(xe>=Re)return 1;if(xe>>>=0,Re>>>=0,Xe>>>=0,nt>>>=0,this===Te)return 0;for(var Ke=nt-Xe,rt=Re-xe,ht=Math.min(Ke,rt),ut=this.slice(Xe,nt),pt=Te.slice(xe,Re),lt=0;lt2147483647?xe=2147483647:xe<-2147483648&&(xe=-2147483648),xe=+xe,ke(xe)&&(xe=Xe?0:De.length-1),xe<0&&(xe=De.length+xe),xe>=De.length){if(Xe)return-1;xe=De.length-1}else if(xe<0)if(Xe)xe=0;else return-1;if(typeof Te=="string"&&(Te=oe.from(Te,Re)),oe.isBuffer(Te))return Te.length===0?-1:be(De,Te,xe,Re,Xe);if(typeof Te=="number")return Te=Te&255,typeof Uint8Array.prototype.indexOf=="function"?Xe?Uint8Array.prototype.indexOf.call(De,Te,xe):Uint8Array.prototype.lastIndexOf.call(De,Te,xe):be(De,[Te],xe,Re,Xe);throw new TypeError("val must be string, number or Buffer")}function be(De,Te,xe,Re,Xe){var nt=1,Ke=De.length,rt=Te.length;if(Re!==void 0&&(Re=String(Re).toLowerCase(),Re==="ucs2"||Re==="ucs-2"||Re==="utf16le"||Re==="utf-16le")){if(De.length<2||Te.length<2)return-1;nt=2,Ke/=2,rt/=2,xe/=2}function ht(it,ct){return nt===1?it[ct]:it.readUInt16BE(ct*nt)}var ut;if(Xe){var pt=-1;for(ut=xe;utKe&&(xe=Ke-rt),ut=xe;ut>=0;ut--){for(var lt=!0,mt=0;mtXe&&(Re=Xe)):Re=Xe;var nt=Te.length;Re>nt/2&&(Re=nt/2);for(var Ke=0;Ke>>0,isFinite(Re)?(Re=Re>>>0,Xe===void 0&&(Xe="utf8")):(Xe=Re,Re=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var nt=this.length-xe;if((Re===void 0||Re>nt)&&(Re=nt),Te.length>0&&(Re<0||xe<0)||xe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Xe||(Xe="utf8");for(var Ke=!1;;)switch(Xe){case"hex":return Ee(this,Te,xe,Re);case"utf8":case"utf-8":return Ce(this,Te,xe,Re);case"ascii":return Be(this,Te,xe,Re);case"latin1":case"binary":return Pe(this,Te,xe,Re);case"base64":return Fe(this,Te,xe,Re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,Te,xe,Re);default:if(Ke)throw new TypeError("Unknown encoding: "+Xe);Xe=(""+Xe).toLowerCase(),Ke=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Le(De,Te,xe){return Te===0&&xe===De.length?ne.fromByteArray(De):ne.fromByteArray(De.slice(Te,xe))}function Oe(De,Te,xe){xe=Math.min(De.length,xe);for(var Re=[],Xe=Te;Xe239?4:nt>223?3:nt>191?2:1;if(Xe+rt<=xe){var ht,ut,pt,lt;switch(rt){case 1:nt<128&&(Ke=nt);break;case 2:ht=De[Xe+1],(ht&192)===128&&(lt=(nt&31)<<6|ht&63,lt>127&&(Ke=lt));break;case 3:ht=De[Xe+1],ut=De[Xe+2],(ht&192)===128&&(ut&192)===128&&(lt=(nt&15)<<12|(ht&63)<<6|ut&63,lt>2047&&(lt<55296||lt>57343)&&(Ke=lt));break;case 4:ht=De[Xe+1],ut=De[Xe+2],pt=De[Xe+3],(ht&192)===128&&(ut&192)===128&&(pt&192)===128&&(lt=(nt&15)<<18|(ht&63)<<12|(ut&63)<<6|pt&63,lt>65535&<<1114112&&(Ke=lt))}}Ke===null?(Ke=65533,rt=1):Ke>65535&&(Ke-=65536,Re.push(Ke>>>10&1023|55296),Ke=56320|Ke&1023),Re.push(Ke),Xe+=rt}return Ne(Re)}var Ge=4096;function Ne(De){var Te=De.length;if(Te<=Ge)return String.fromCharCode.apply(String,De);for(var xe="",Re=0;ReRe)&&(xe=Re);for(var Xe="",nt=Te;ntRe&&(Te=Re),xe<0?(xe+=Re,xe<0&&(xe=0)):xe>Re&&(xe=Re),xexe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||ze(Te,xe,this.length);for(var Xe=this[Te],nt=1,Ke=0;++Ke>>0,xe=xe>>>0,Re||ze(Te,xe,this.length);for(var Xe=this[Te+--xe],nt=1;xe>0&&(nt*=256);)Xe+=this[Te+--xe]*nt;return Xe},oe.prototype.readUInt8=function(Te,xe){return Te=Te>>>0,xe||ze(Te,1,this.length),this[Te]},oe.prototype.readUInt16LE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,2,this.length),this[Te]|this[Te+1]<<8},oe.prototype.readUInt16BE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,2,this.length),this[Te]<<8|this[Te+1]},oe.prototype.readUInt32LE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,4,this.length),(this[Te]|this[Te+1]<<8|this[Te+2]<<16)+this[Te+3]*16777216},oe.prototype.readUInt32BE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,4,this.length),this[Te]*16777216+(this[Te+1]<<16|this[Te+2]<<8|this[Te+3])},oe.prototype.readIntLE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||ze(Te,xe,this.length);for(var Xe=this[Te],nt=1,Ke=0;++Ke=nt&&(Xe-=Math.pow(2,8*xe)),Xe},oe.prototype.readIntBE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||ze(Te,xe,this.length);for(var Xe=xe,nt=1,Ke=this[Te+--Xe];Xe>0&&(nt*=256);)Ke+=this[Te+--Xe]*nt;return nt*=128,Ke>=nt&&(Ke-=Math.pow(2,8*xe)),Ke},oe.prototype.readInt8=function(Te,xe){return Te=Te>>>0,xe||ze(Te,1,this.length),this[Te]&128?(255-this[Te]+1)*-1:this[Te]},oe.prototype.readInt16LE=function(Te,xe){Te=Te>>>0,xe||ze(Te,2,this.length);var Re=this[Te]|this[Te+1]<<8;return Re&32768?Re|4294901760:Re},oe.prototype.readInt16BE=function(Te,xe){Te=Te>>>0,xe||ze(Te,2,this.length);var Re=this[Te+1]|this[Te]<<8;return Re&32768?Re|4294901760:Re},oe.prototype.readInt32LE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,4,this.length),this[Te]|this[Te+1]<<8|this[Te+2]<<16|this[Te+3]<<24},oe.prototype.readInt32BE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,4,this.length),this[Te]<<24|this[Te+1]<<16|this[Te+2]<<8|this[Te+3]},oe.prototype.readFloatLE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,4,this.length),se.read(this,Te,!0,23,4)},oe.prototype.readFloatBE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,4,this.length),se.read(this,Te,!1,23,4)},oe.prototype.readDoubleLE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,8,this.length),se.read(this,Te,!0,52,8)},oe.prototype.readDoubleBE=function(Te,xe){return Te=Te>>>0,xe||ze(Te,8,this.length),se.read(this,Te,!1,52,8)};function _e(De,Te,xe,Re,Xe,nt){if(!oe.isBuffer(De))throw new TypeError('"buffer" argument must be a Buffer instance');if(Te>Xe||TeDe.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Te,xe,Re,Xe){if(Te=+Te,xe=xe>>>0,Re=Re>>>0,!Xe){var nt=Math.pow(2,8*Re)-1;_e(this,Te,xe,Re,nt,0)}var Ke=1,rt=0;for(this[xe]=Te&255;++rt>>0,Re=Re>>>0,!Xe){var nt=Math.pow(2,8*Re)-1;_e(this,Te,xe,Re,nt,0)}var Ke=Re-1,rt=1;for(this[xe+Ke]=Te&255;--Ke>=0&&(rt*=256);)this[xe+Ke]=Te/rt&255;return xe+Re},oe.prototype.writeUInt8=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,1,255,0),this[xe]=Te&255,xe+1},oe.prototype.writeUInt16LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,2,65535,0),this[xe]=Te&255,this[xe+1]=Te>>>8,xe+2},oe.prototype.writeUInt16BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,2,65535,0),this[xe]=Te>>>8,this[xe+1]=Te&255,xe+2},oe.prototype.writeUInt32LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,4,4294967295,0),this[xe+3]=Te>>>24,this[xe+2]=Te>>>16,this[xe+1]=Te>>>8,this[xe]=Te&255,xe+4},oe.prototype.writeUInt32BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,4,4294967295,0),this[xe]=Te>>>24,this[xe+1]=Te>>>16,this[xe+2]=Te>>>8,this[xe+3]=Te&255,xe+4},oe.prototype.writeIntLE=function(Te,xe,Re,Xe){if(Te=+Te,xe=xe>>>0,!Xe){var nt=Math.pow(2,8*Re-1);_e(this,Te,xe,Re,nt-1,-nt)}var Ke=0,rt=1,ht=0;for(this[xe]=Te&255;++Ke>0)-ht&255;return xe+Re},oe.prototype.writeIntBE=function(Te,xe,Re,Xe){if(Te=+Te,xe=xe>>>0,!Xe){var nt=Math.pow(2,8*Re-1);_e(this,Te,xe,Re,nt-1,-nt)}var Ke=Re-1,rt=1,ht=0;for(this[xe+Ke]=Te&255;--Ke>=0&&(rt*=256);)Te<0&&ht===0&&this[xe+Ke+1]!==0&&(ht=1),this[xe+Ke]=(Te/rt>>0)-ht&255;return xe+Re},oe.prototype.writeInt8=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,1,127,-128),Te<0&&(Te=255+Te+1),this[xe]=Te&255,xe+1},oe.prototype.writeInt16LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,2,32767,-32768),this[xe]=Te&255,this[xe+1]=Te>>>8,xe+2},oe.prototype.writeInt16BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,2,32767,-32768),this[xe]=Te>>>8,this[xe+1]=Te&255,xe+2},oe.prototype.writeInt32LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,4,2147483647,-2147483648),this[xe]=Te&255,this[xe+1]=Te>>>8,this[xe+2]=Te>>>16,this[xe+3]=Te>>>24,xe+4},oe.prototype.writeInt32BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||_e(this,Te,xe,4,2147483647,-2147483648),Te<0&&(Te=4294967295+Te+1),this[xe]=Te>>>24,this[xe+1]=Te>>>16,this[xe+2]=Te>>>8,this[xe+3]=Te&255,xe+4};function Ve(De,Te,xe,Re,Xe,nt){if(xe+Re>De.length)throw new RangeError("Index out of range");if(xe<0)throw new RangeError("Index out of range")}function tt(De,Te,xe,Re,Xe){return Te=+Te,xe=xe>>>0,Xe||Ve(De,Te,xe,4,34028234663852886e22,-34028234663852886e22),se.write(De,Te,xe,Re,23,4),xe+4}oe.prototype.writeFloatLE=function(Te,xe,Re){return tt(this,Te,xe,!0,Re)},oe.prototype.writeFloatBE=function(Te,xe,Re){return tt(this,Te,xe,!1,Re)};function et(De,Te,xe,Re,Xe){return Te=+Te,xe=xe>>>0,Xe||Ve(De,Te,xe,8,17976931348623157e292,-17976931348623157e292),se.write(De,Te,xe,Re,52,8),xe+8}oe.prototype.writeDoubleLE=function(Te,xe,Re){return et(this,Te,xe,!0,Re)},oe.prototype.writeDoubleBE=function(Te,xe,Re){return et(this,Te,xe,!1,Re)},oe.prototype.copy=function(Te,xe,Re,Xe){if(!oe.isBuffer(Te))throw new TypeError("argument should be a Buffer");if(Re||(Re=0),!Xe&&Xe!==0&&(Xe=this.length),xe>=Te.length&&(xe=Te.length),xe||(xe=0),Xe>0&&Xe=this.length)throw new RangeError("Index out of range");if(Xe<0)throw new RangeError("sourceEnd out of bounds");Xe>this.length&&(Xe=this.length),Te.length-xe=0;--Ke)Te[Ke+xe]=this[Ke+Re];else Uint8Array.prototype.set.call(Te,this.subarray(Re,Xe),xe);return nt},oe.prototype.fill=function(Te,xe,Re,Xe){if(typeof Te=="string"){if(typeof xe=="string"?(Xe=xe,xe=0,Re=this.length):typeof Re=="string"&&(Xe=Re,Re=this.length),Xe!==void 0&&typeof Xe!="string")throw new TypeError("encoding must be a string");if(typeof Xe=="string"&&!oe.isEncoding(Xe))throw new TypeError("Unknown encoding: "+Xe);if(Te.length===1){var nt=Te.charCodeAt(0);(Xe==="utf8"&&nt<128||Xe==="latin1")&&(Te=nt)}}else typeof Te=="number"&&(Te=Te&255);if(xe<0||this.length>>0,Re=Re===void 0?this.length:Re>>>0,Te||(Te=0);var Ke;if(typeof Te=="number")for(Ke=xe;Ke55295&&xe<57344){if(!Xe){if(xe>56319){(Te-=3)>-1&&nt.push(239,191,189);continue}else if(Ke+1===Re){(Te-=3)>-1&&nt.push(239,191,189);continue}Xe=xe;continue}if(xe<56320){(Te-=3)>-1&&nt.push(239,191,189),Xe=xe;continue}xe=(Xe-55296<<10|xe-56320)+65536}else Xe&&(Te-=3)>-1&&nt.push(239,191,189);if(Xe=null,xe<128){if((Te-=1)<0)break;nt.push(xe)}else if(xe<2048){if((Te-=2)<0)break;nt.push(xe>>6|192,xe&63|128)}else if(xe<65536){if((Te-=3)<0)break;nt.push(xe>>12|224,xe>>6&63|128,xe&63|128)}else if(xe<1114112){if((Te-=4)<0)break;nt.push(xe>>18|240,xe>>12&63|128,xe>>6&63|128,xe&63|128)}else throw new Error("Invalid code point")}return nt}function qe(De){for(var Te=[],xe=0;xe>8,Xe=xe%256,nt.push(Xe),nt.push(Re);return nt}function je(De){return ne.toByteArray($e(De))}function Je(De,Te,xe,Re){for(var Xe=0;Xe=Te.length||Xe>=De.length);++Xe)Te[Xe+xe]=De[Xe];return Xe}function Ye(De,Te){return De instanceof Te||De!=null&&De.constructor!=null&&De.constructor.name!=null&&De.constructor.name===Te.name}function ke(De){return De!==De}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,ye,he){ye.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,ye,he){"use strict";var ce=E("get-intrinsic"),ne=E("./"),se=ne(ce("String.prototype.indexOf"));ye.exports=function(le,ie){var oe=ce(le,!!ie);return typeof oe=="function"&&se(le,".prototype.")>-1?ne(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,ye,he){"use strict";var ce=E("function-bind"),ne=E("get-intrinsic"),se=ne("%Function.prototype.apply%"),de=ne("%Function.prototype.call%"),le=ne("%Reflect.apply%",!0)||ce.call(de,se),ie=ne("%Object.getOwnPropertyDescriptor%",!0),oe=ne("%Object.defineProperty%",!0),re=ne("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}ye.exports=function(y){var x=le(ce,de,arguments);if(ie&&oe){var b=ie(x,"length");b.configurable&&oe(x,"length",{value:1+re(0,y.length-(arguments.length-1))})}return x};var ee=function(){return le(ce,se,arguments)};oe?oe(ye.exports,"apply",{value:ee}):ye.exports.apply=ee},{"function-bind":347,"get-intrinsic":348}],94:[function(E,ye,he){"use strict";var ce=Array.prototype.slice;ye.exports=ne;function ne(de,le){if(!(this instanceof ne))return new ne(de,le);this.src=de,this._withAccess=le}ne.prototype.withAccess=function(de){return this._withAccess=de!==!1,this},ne.prototype.pick=function(de){return Array.isArray(de)||(de=ce.call(arguments)),de.length&&(this.keys=de),this},ne.prototype.to=function(de){if(de=de||{},!this.src)return de;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ie=0;ie>8&255]},Me=function(Ke){return[Ke&255,Ke>>8&255,Ke>>16&255,Ke>>24&255]},qe=function(Ke){return Ke[3]<<24|Ke[2]<<16|Ke[1]<<8|Ke[0]},Ie=function(Ke){return et(Ke,23,4)},je=function(Ke){return et(Ke,52,8)},Je=function(Ke,rt){me(Ke[we],rt,{get:function(){return Ce(this)[rt]}})},Ye=function(Ke,rt,ht,ut){var pt=x(ht),lt=Ce(Ke);if(pt+rt>lt.byteLength)throw _e(Oe);var mt=Ce(lt.buffer).bytes,it=pt+lt.byteOffset,ct=ge(mt,it,it+rt);return ut?ct:tt(ct)},ke=function(Ke,rt,ht,ut,pt,lt){var mt=x(ht),it=Ce(Ke);if(mt+rt>it.byteLength)throw _e(Oe);for(var ct=Ce(it.buffer).bytes,ft=mt+it.byteOffset,yt=ut(+pt),Et=0;Etpt)throw _e("Wrong offset");if(ut=ut===void 0?pt-lt:y(ut),lt+ut>pt)throw _e(Le);Be(this,{buffer:rt,byteLength:ut,byteOffset:lt}),se||(this.buffer=rt,this.byteLength=ut,this.byteOffset=lt)},Qe=He[we],se&&(Je(Ne,"byteLength"),Je(He,"buffer"),Je(He,"byteLength"),Je(He,"byteOffset")),oe(Qe,{getInt8:function(rt){return Ye(this,1,rt)[0]<<24>>24},getUint8:function(rt){return Ye(this,1,rt)[0]},getInt16:function(rt){var ht=Ye(this,2,rt,arguments.length>1?arguments[1]:void 0);return(ht[1]<<8|ht[0])<<16>>16},getUint16:function(rt){var ht=Ye(this,2,rt,arguments.length>1?arguments[1]:void 0);return ht[1]<<8|ht[0]},getInt32:function(rt){return qe(Ye(this,4,rt,arguments.length>1?arguments[1]:void 0))},getUint32:function(rt){return qe(Ye(this,4,rt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(rt){return dt(Ye(this,4,rt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(rt){return dt(Ye(this,8,rt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(rt,ht){ke(this,1,rt,$e,ht)},setUint8:function(rt,ht){ke(this,1,rt,$e,ht)},setInt16:function(rt,ht){ke(this,2,rt,Ze,ht,arguments.length>2?arguments[2]:void 0)},setUint16:function(rt,ht){ke(this,2,rt,Ze,ht,arguments.length>2?arguments[2]:void 0)},setInt32:function(rt,ht){ke(this,4,rt,Me,ht,arguments.length>2?arguments[2]:void 0)},setUint32:function(rt,ht){ke(this,4,rt,Me,ht,arguments.length>2?arguments[2]:void 0)},setFloat32:function(rt,ht){ke(this,4,rt,Ie,ht,arguments.length>2?arguments[2]:void 0)},setFloat64:function(rt,ht){ke(this,8,rt,je,ht,arguments.length>2?arguments[2]:void 0)}});else{var De=be&&Ge.name!==Pe;if(!re(function(){Ge(1)})||!re(function(){new Ge(-1)})||re(function(){return new Ge,new Ge(1.5),new Ge(NaN),De&&!Ee})){Ne=function(rt){return ee(this,Ue),new Ge(x(rt))},Ne[we]=Ue;for(var Te=ue(Ge),xe=0,Re;Te.length>xe;)(Re=Te[xe++])in Ne||ie(Ne,Re,Ge[Re]);Ue.constructor=Ne}else De&&Ee&&ie(Ge,"name",Pe);te&&z(Qe)!==We&&te(Qe,We);var Xe=new He(new Ne(2)),nt=ne(Qe.setInt8);Xe.setInt8(0,2147483648),Xe.setInt8(1,2147483649),(Xe.getInt8(0)||!Xe.getInt8(1))&&oe(Qe,{setInt8:function(rt,ht){nt(this,rt,ht<<24>>24)},setUint8:function(rt,ht){nt(this,rt,ht<<24>>24)}},{unsafe:!0})}pe(Ne,Pe),pe(He,Fe),ye.exports={ArrayBuffer:Ne,DataView:He}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,ye,he){"use strict";var ce=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=Math.min;ye.exports=[].copyWithin||function(ie,oe){var re=ce(this),ee=se(re),a=ne(ie,ee),y=ne(oe,ee),x=arguments.length>2?arguments[2]:void 0,b=de((x===void 0?ee:ne(x,ee))-y,ee-a),z=1;for(y0;)y in re?re[a]=re[y]:delete re[a],a+=z,y+=z;return re}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,ye,he){"use strict";var ce=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like");ye.exports=function(le){for(var ie=ce(this),oe=se(ie),re=arguments.length,ee=ne(re>1?arguments[1]:void 0,oe),a=re>2?arguments[2]:void 0,y=a===void 0?oe:ne(a,oe);y>ee;)ie[ee++]=le;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,ye,he){"use strict";var ce=E("../internals/array-iteration").forEach,ne=E("../internals/array-method-is-strict"),se=ne("forEach");ye.exports=se?[].forEach:function(le){return ce(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,ye,he){var ce=E("../internals/length-of-array-like");ye.exports=function(ne,se){for(var de=0,le=ce(se),ie=new ne(le);le>de;)ie[de]=se[de++];return ie}},{"../internals/length-of-array-like":188}],109:[function(E,ye,he){"use strict";var ce=E("../internals/global"),ne=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/to-object"),le=E("../internals/call-with-safe-iteration-closing"),ie=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),re=E("../internals/length-of-array-like"),ee=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=ce.Array;ye.exports=function(z){var te=de(z),ue=oe(this),me=arguments.length,ve=me>1?arguments[1]:void 0,ge=ve!==void 0;ge&&(ve=ne(ve,me>2?arguments[2]:void 0));var pe=y(te),Se=0,be,Ee,Ce,Be,Pe,Fe;if(pe&&!(this==x&&ie(pe)))for(Be=a(te,pe),Pe=Be.next,Ee=ue?new this:[];!(Ce=se(Pe,Be)).done;Se++)Fe=ge?le(Be,ve,[Ce.value,Se],!0):Ce.value,ee(Ee,Se,Fe);else for(be=re(te),Ee=ue?new this(be):x(be);be>Se;Se++)Fe=ge?ve(te[Se],Se):te[Se],ee(Ee,Se,Fe);return Ee.length=Se,Ee}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,ye,he){var ce=E("../internals/to-indexed-object"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=function(le){return function(ie,oe,re){var ee=ce(ie),a=se(ee),y=ne(re,a),x;if(le&&oe!=oe){for(;a>y;)if(x=ee[y++],x!=x)return!0}else for(;a>y;y++)if((le||y in ee)&&ee[y]===oe)return le||y||0;return!le&&-1}};ye.exports={includes:de(!0),indexOf:de(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,ye,he){var ce=E("../internals/function-bind-context"),ne=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-object"),le=E("../internals/length-of-array-like"),ie=E("../internals/array-species-create"),oe=ne([].push),re=function(ee){var a=ee==1,y=ee==2,x=ee==3,b=ee==4,z=ee==6,te=ee==7,ue=ee==5||z;return function(me,ve,ge,pe){for(var Se=de(me),be=se(Se),Ee=ce(ve,ge),Ce=le(be),Be=0,Pe=pe||ie,Fe=a?Pe(me,Ce):y||te?Pe(me,0):void 0,we,Le;Ce>Be;Be++)if((ue||Be in be)&&(we=be[Be],Le=Ee(we,Be,Se),ee))if(a)Fe[Be]=Le;else if(Le)switch(ee){case 3:return!0;case 5:return we;case 6:return Be;case 2:oe(Fe,we)}else switch(ee){case 4:return!1;case 7:oe(Fe,we)}return z?-1:x||b?b:Fe}};ye.exports={forEach:re(0),map:re(1),filter:re(2),some:re(3),every:re(4),find:re(5),findIndex:re(6),filterReject:re(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,ye,he){"use strict";var ce=E("../internals/function-apply"),ne=E("../internals/to-indexed-object"),se=E("../internals/to-integer-or-infinity"),de=E("../internals/length-of-array-like"),le=E("../internals/array-method-is-strict"),ie=Math.min,oe=[].lastIndexOf,re=!!oe&&1/[1].lastIndexOf(1,-0)<0,ee=le("lastIndexOf"),a=re||!ee;ye.exports=a?function(x){if(re)return ce(oe,this,arguments)||0;var b=ne(this),z=de(b),te=z-1;for(arguments.length>1&&(te=ie(te,se(arguments[1]))),te<0&&(te=z+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:oe},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,ye,he){var ce=E("../internals/fails"),ne=E("../internals/well-known-symbol"),se=E("../internals/engine-v8-version"),de=ne("species");ye.exports=function(le){return se>=51||!ce(function(){var ie=[],oe=ie.constructor={};return oe[de]=function(){return{foo:1}},ie[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,ye,he){"use strict";var ce=E("../internals/fails");ye.exports=function(ne,se){var de=[][ne];return!!de&&ce(function(){de.call(null,se||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/a-callable"),se=E("../internals/to-object"),de=E("../internals/indexed-object"),le=E("../internals/length-of-array-like"),ie=ce.TypeError,oe=function(re){return function(ee,a,y,x){ne(a);var b=se(ee),z=de(b),te=le(b),ue=re?te-1:0,me=re?-1:1;if(y<2)for(;;){if(ue in z){x=z[ue],ue+=me;break}if(ue+=me,re?ue<0:te<=ue)throw ie("Reduce of empty array with no initial value")}for(;re?ue>=0:te>ue;ue+=me)ue in z&&(x=a(x,z[ue],ue,b));return x}};ye.exports={left:oe(!1),right:oe(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=E("../internals/create-property"),le=ce.Array,ie=Math.max;ye.exports=function(oe,re,ee){for(var a=se(oe),y=ne(re,a),x=ne(ee===void 0?a:ee,a),b=le(ie(x-y,0)),z=0;y0;)ie[y]=ie[--y];y!==ee++&&(ie[y]=a)}return ie},le=function(ie,oe,re,ee){for(var a=oe.length,y=re.length,x=0,b=0;x0&&oe[0]<4?1:+(oe[0]+oe[1])),!re&&ne&&(oe=ne.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=ne.match(/Chrome\/(\d+)/),oe&&(re=+oe[1]))),ye.exports=re},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,ye,he){var ce=E("../internals/engine-user-agent"),ne=ce.match(/AppleWebKit\/(\d+)\./);ye.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],148:[function(E,ye,he){ye.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/create-non-enumerable-property"),de=E("../internals/redefine"),le=E("../internals/set-global"),ie=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");ye.exports=function(re,ee){var a=re.target,y=re.global,x=re.stat,b,z,te,ue,me,ve;if(y?z=ce:x?z=ce[a]||le(a,{}):z=(ce[a]||{}).prototype,z)for(te in ee){if(me=ee[te],re.noTargetGet?(ve=ne(z,te),ue=ve&&ve.value):ue=z[te],b=oe(y?te:a+(x?".":"#")+te,re.forced),!b&&ue!==void 0){if(typeof me==typeof ue)continue;ie(me,ue)}(re.sham||ue&&ue.sham)&&se(me,"sham",!0),de(z,te,me,re)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,ye,he){ye.exports=function(ce){try{return!!ce()}catch(ne){return!0}}},{}],151:[function(E,ye,he){"use strict";E("../modules/es.regexp.exec");var ce=E("../internals/function-uncurry-this"),ne=E("../internals/redefine"),se=E("../internals/regexp-exec"),de=E("../internals/fails"),le=E("../internals/well-known-symbol"),ie=E("../internals/create-non-enumerable-property"),oe=le("species"),re=RegExp.prototype;ye.exports=function(ee,a,y,x){var b=le(ee),z=!de(function(){var ve={};return ve[b]=function(){return 7},""[ee](ve)!=7}),te=z&&!de(function(){var ve=!1,ge=/a/;return ee==="split"&&(ge={},ge.constructor={},ge.constructor[oe]=function(){return ge},ge.flags="",ge[b]=/./[b]),ge.exec=function(){return ve=!0,null},ge[b](""),!ve});if(!z||!te||y){var ue=ce(/./[b]),me=a(b,""[ee],function(ve,ge,pe,Se,be){var Ee=ce(ve),Ce=ge.exec;return Ce===se||Ce===re.exec?z&&!be?{done:!0,value:ue(ge,pe,Se)}:{done:!0,value:Ee(pe,ge,Se)}:{done:!1}});ne(String.prototype,ee,me[0]),ne(re,b,me[1])}x&&ie(re[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,ye,he){var ce=E("../internals/function-bind-native"),ne=Function.prototype,se=ne.apply,de=ne.call;ye.exports=typeof Reflect=="object"&&Reflect.apply||(ce?de.bind(se):function(){return de.apply(se,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/a-callable"),se=E("../internals/function-bind-native"),de=ce(ce.bind);ye.exports=function(le,ie){return ne(le),ie===void 0?le:se?de(le,ie):function(){return le.apply(ie,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,ye,he){var ce=E("../internals/fails");ye.exports=!ce(function(){var ne=function(){}.bind();return typeof ne!="function"||ne.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,ye,he){var ce=E("../internals/function-bind-native"),ne=Function.prototype.call;ye.exports=ce?ne.bind(ne):function(){return ne.apply(ne,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/has-own-property"),se=Function.prototype,de=ce&&Object.getOwnPropertyDescriptor,le=ne(se,"name"),ie=le&&function(){}.name==="something",oe=le&&(!ce||ce&&de(se,"name").configurable);ye.exports={EXISTS:le,PROPER:ie,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,ye,he){var ce=E("../internals/function-bind-native"),ne=Function.prototype,se=ne.bind,de=ne.call,le=ce&&se.bind(de,de);ye.exports=ce?function(ie){return ie&&le(ie)}:function(ie){return ie&&function(){return de.apply(ie,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/is-callable"),se=function(de){return ne(de)?de:void 0};ye.exports=function(de,le){return arguments.length<2?se(ce[de]):ce[de]&&ce[de][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,ye,he){var ce=E("../internals/classof"),ne=E("../internals/get-method"),se=E("../internals/iterators"),de=E("../internals/well-known-symbol"),le=de("iterator");ye.exports=function(ie){if(ie!=null)return ne(ie,le)||ne(ie,"@@iterator")||se[ce(ie)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/an-object"),le=E("../internals/try-to-string"),ie=E("../internals/get-iterator-method"),oe=ce.TypeError;ye.exports=function(re,ee){var a=arguments.length<2?ie(re):ee;if(se(a))return de(ne(a,re));throw oe(le(re)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,ye,he){var ce=E("../internals/a-callable");ye.exports=function(ne,se){var de=ne[se];return de==null?void 0:ce(de)}},{"../internals/a-callable":95}],162:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),se=Math.floor,de=ce("".charAt),le=ce("".replace),ie=ce("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,re=/\$([$&'`]|\d{1,2})/g;ye.exports=function(ee,a,y,x,b,z){var te=y+ee.length,ue=x.length,me=re;return b!==void 0&&(b=ne(b),me=oe),le(z,me,function(ve,ge){var pe;switch(de(ge,0)){case"$":return"$";case"&":return ee;case"`":return ie(a,0,y);case"'":return ie(a,te);case"<":pe=b[ie(ge,1,-1)];break;default:var Se=+ge;if(Se===0)return ve;if(Se>ue){var be=se(Se/10);return be===0?ve:be<=ue?x[be-1]===void 0?de(ge,1):x[be-1]+de(ge,1):ve}pe=x[Se-1]}return pe===void 0?"":pe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,ye,he){(function(ce){(function(){var ne=function(se){return se&&se.Math==Math&&se};ye.exports=ne(typeof globalThis=="object"&&globalThis)||ne(typeof window=="object"&&window)||ne(typeof self=="object"&&self)||ne(typeof ce=="object"&&ce)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),se=ce({}.hasOwnProperty);ye.exports=Object.hasOwn||function(le,ie){return se(ne(le),ie)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,ye,he){ye.exports={}},{}],166:[function(E,ye,he){var ce=E("../internals/global");ye.exports=function(ne,se){var de=ce.console;de&&de.error&&(arguments.length==1?de.error(ne):de.error(ne,se))}},{"../internals/global":163}],167:[function(E,ye,he){var ce=E("../internals/get-built-in");ye.exports=ce("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/fails"),se=E("../internals/document-create-element");ye.exports=!ce&&!ne(function(){return Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,ye,he){var ce=E("../internals/global"),ne=ce.Array,se=Math.abs,de=Math.pow,le=Math.floor,ie=Math.log,oe=Math.LN2,re=function(a,y,x){var b=ne(x),z=x*8-y-1,te=(1<>1,me=y===23?de(2,-24)-de(2,-77):0,ve=a<0||a===0&&1/a<0?1:0,ge=0,pe,Se,be;for(a=se(a),a!=a||a===1/0?(Se=a!=a?1:0,pe=te):(pe=le(ie(a)/oe),be=de(2,-pe),a*be<1&&(pe--,be*=2),pe+ue>=1?a+=me/be:a+=me*de(2,1-ue),a*be>=2&&(pe++,be/=2),pe+ue>=te?(Se=0,pe=te):pe+ue>=1?(Se=(a*be-1)*de(2,y),pe=pe+ue):(Se=a*de(2,ue-1)*de(2,y),pe=0));y>=8;)b[ge++]=Se&255,Se/=256,y-=8;for(pe=pe<0;)b[ge++]=pe&255,pe/=256,z-=8;return b[--ge]|=ve*128,b},ee=function(a,y){var x=a.length,b=x*8-y-1,z=(1<>1,ue=b-7,me=x-1,ve=a[me--],ge=ve&127,pe;for(ve>>=7;ue>0;)ge=ge*256+a[me--],ue-=8;for(pe=ge&(1<<-ue)-1,ge>>=-ue,ue+=y;ue>0;)pe=pe*256+a[me--],ue-=8;if(ge===0)ge=1-te;else{if(ge===z)return pe?NaN:ve?-1/0:1/0;pe=pe+de(2,y),ge=ge-te}return(ve?-1:1)*pe*de(2,ge-y)};ye.exports={pack:re,unpack:ee}},{"../internals/global":163}],170:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/classof-raw"),le=ce.Object,ie=ne("".split);ye.exports=se(function(){return!le("z").propertyIsEnumerable(0)})?function(oe){return de(oe)=="String"?ie(oe,""):le(oe)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,ye,he){var ce=E("../internals/is-callable"),ne=E("../internals/is-object"),se=E("../internals/object-set-prototype-of");ye.exports=function(de,le,ie){var oe,re;return se&&ce(oe=le.constructor)&&oe!==ie&&ne(re=oe.prototype)&&re!==ie.prototype&&se(de,re),de}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/is-callable"),se=E("../internals/shared-store"),de=ce(Function.toString);ne(se.inspectSource)||(se.inspectSource=function(le){return de(le)}),ye.exports=se.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,ye,he){var ce=E("../internals/native-weak-map"),ne=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-object"),le=E("../internals/create-non-enumerable-property"),ie=E("../internals/has-own-property"),oe=E("../internals/shared-store"),re=E("../internals/shared-key"),ee=E("../internals/hidden-keys"),a="Object already initialized",y=ne.TypeError,x=ne.WeakMap,b,z,te,ue=function(Ee){return te(Ee)?z(Ee):b(Ee,{})},me=function(Ee){return function(Ce){var Be;if(!de(Ce)||(Be=z(Ce)).type!==Ee)throw y("Incompatible receiver, "+Ee+" required");return Be}};if(ce||oe.state){var ve=oe.state||(oe.state=new x),ge=se(ve.get),pe=se(ve.has),Se=se(ve.set);b=function(Ee,Ce){if(pe(ve,Ee))throw new y(a);return Ce.facade=Ee,Se(ve,Ee,Ce),Ce},z=function(Ee){return ge(ve,Ee)||{}},te=function(Ee){return pe(ve,Ee)}}else{var be=re("state");ee[be]=!0,b=function(Ee,Ce){if(ie(Ee,be))throw new y(a);return Ce.facade=Ee,le(Ee,be,Ce),Ce},z=function(Ee){return ie(Ee,be)?Ee[be]:{}},te=function(Ee){return ie(Ee,be)}}ye.exports={set:b,get:z,has:te,enforce:ue,getterFor:me}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,ye,he){var ce=E("../internals/well-known-symbol"),ne=E("../internals/iterators"),se=ce("iterator"),de=Array.prototype;ye.exports=function(le){return le!==void 0&&(ne.Array===le||de[se]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,ye,he){var ce=E("../internals/classof-raw");ye.exports=Array.isArray||function(se){return ce(se)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,ye,he){ye.exports=function(ce){return typeof ce=="function"}},{}],177:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/fails"),se=E("../internals/is-callable"),de=E("../internals/classof"),le=E("../internals/get-built-in"),ie=E("../internals/inspect-source"),oe=function(){},re=[],ee=le("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=ce(a.exec),x=!a.exec(oe),b=function(ue){if(!se(ue))return!1;try{return ee(oe,re,ue),!0}catch(me){return!1}},z=function(ue){if(!se(ue))return!1;switch(de(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ie(ue))}catch(me){return!0}};z.sham=!0,ye.exports=!ee||ne(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,ye,he){var ce=E("../internals/fails"),ne=E("../internals/is-callable"),se=/#|\.prototype\./,de=function(ee,a){var y=ie[le(ee)];return y==re?!0:y==oe?!1:ne(a)?ce(a):!!a},le=de.normalize=function(ee){return String(ee).replace(se,".").toLowerCase()},ie=de.data={},oe=de.NATIVE="N",re=de.POLYFILL="P";ye.exports=de},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,ye,he){var ce=E("../internals/is-object"),ne=Math.floor;ye.exports=Number.isInteger||function(de){return!ce(de)&&isFinite(de)&&ne(de)===de}},{"../internals/is-object":180}],180:[function(E,ye,he){var ce=E("../internals/is-callable");ye.exports=function(ne){return typeof ne=="object"?ne!==null:ce(ne)}},{"../internals/is-callable":176}],181:[function(E,ye,he){ye.exports=!1},{}],182:[function(E,ye,he){var ce=E("../internals/is-object"),ne=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),de=se("match");ye.exports=function(le){var ie;return ce(le)&&((ie=le[de])!==void 0?!!ie:ne(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/get-built-in"),se=E("../internals/is-callable"),de=E("../internals/object-is-prototype-of"),le=E("../internals/use-symbol-as-uid"),ie=ce.Object;ye.exports=le?function(oe){return typeof oe=="symbol"}:function(oe){var re=ne("Symbol");return se(re)&&de(re.prototype,ie(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/an-object"),le=E("../internals/try-to-string"),ie=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),re=E("../internals/object-is-prototype-of"),ee=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=ce.TypeError,b=function(te,ue){this.stopped=te,this.result=ue},z=b.prototype;ye.exports=function(te,ue,me){var ve=me&&me.that,ge=!!(me&&me.AS_ENTRIES),pe=!!(me&&me.IS_ITERATOR),Se=!!(me&&me.INTERRUPTED),be=ne(ue,ve),Ee,Ce,Be,Pe,Fe,we,Le,Oe=function(Ne){return Ee&&y(Ee,"normal",Ne),new b(!0,Ne)},Ge=function(Ne){return ge?(de(Ne),Se?be(Ne[0],Ne[1],Oe):be(Ne[0],Ne[1])):Se?be(Ne,Oe):be(Ne)};if(pe)Ee=te;else{if(Ce=a(te),!Ce)throw x(le(te)+" is not iterable");if(ie(Ce)){for(Be=0,Pe=oe(te);Pe>Be;Be++)if(Fe=Ge(te[Be]),Fe&&re(z,Fe))return Fe;return new b(!1)}Ee=ee(te,Ce)}for(we=Ee.next;!(Le=se(we,Ee)).done;){try{Fe=Ge(Le.value)}catch(Ne){y(Ee,"throw",Ne)}if(typeof Fe=="object"&&Fe&&re(z,Fe))return Fe}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,ye,he){var ce=E("../internals/function-call"),ne=E("../internals/an-object"),se=E("../internals/get-method");ye.exports=function(de,le,ie){var oe,re;ne(de);try{if(oe=se(de,"return"),!oe){if(le==="throw")throw ie;return ie}oe=ce(oe,de)}catch(ee){re=!0,oe=ee}if(le==="throw")throw ie;if(re)throw oe;return ne(oe),ie}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,ye,he){"use strict";var ce=E("../internals/fails"),ne=E("../internals/is-callable"),se=E("../internals/object-create"),de=E("../internals/object-get-prototype-of"),le=E("../internals/redefine"),ie=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),re=ie("iterator"),ee=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=de(de(x)),y!==Object.prototype&&(a=y)):ee=!0);var b=a==null||ce(function(){var z={};return a[re].call(z)!==z});b?a={}:oe&&(a=se(a)),ne(a[re])||le(a,re,function(){return this}),ye.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ee}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,ye,he){arguments[4][165][0].apply(he,arguments)},{dup:165}],188:[function(E,ye,he){var ce=E("../internals/to-length");ye.exports=function(ne){return ce(ne.length)}},{"../internals/to-length":249}],189:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-bind-context"),se=E("../internals/object-get-own-property-descriptor").f,de=E("../internals/task").set,le=E("../internals/engine-is-ios"),ie=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),re=E("../internals/engine-is-node"),ee=ce.MutationObserver||ce.WebKitMutationObserver,a=ce.document,y=ce.process,x=ce.Promise,b=se(ce,"queueMicrotask"),z=b&&b.value,te,ue,me,ve,ge,pe,Se,be;z||(te=function(){var Ee,Ce;for(re&&(Ee=y.domain)&&Ee.exit();ue;){Ce=ue.fn,ue=ue.next;try{Ce()}catch(Be){throw ue?ve():me=void 0,Be}}me=void 0,Ee&&Ee.enter()},!le&&!re&&!oe&&ee&&a?(ge=!0,pe=a.createTextNode(""),new ee(te).observe(pe,{characterData:!0}),ve=function(){pe.data=ge=!ge}):!ie&&x&&x.resolve?(Se=x.resolve(void 0),Se.constructor=x,be=ne(Se.then,Se),ve=function(){be(te)}):re?ve=function(){y.nextTick(te)}:(de=ne(de,ce),ve=function(){de(te)})),ye.exports=z||function(Ee){var Ce={fn:Ee,next:void 0};me&&(me.next=Ce),ue||(ue=Ce,ve()),me=Ce}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,ye,he){var ce=E("../internals/native-symbol");ye.exports=ce&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,ye,he){var ce=E("../internals/engine-v8-version"),ne=E("../internals/fails");ye.exports=!!Object.getOwnPropertySymbols&&!ne(function(){var se=Symbol();return!String(se)||!(Object(se)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/is-callable"),se=E("../internals/inspect-source"),de=ce.WeakMap;ye.exports=ne(de)&&/native code/.test(se(de))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,ye,he){"use strict";var ce=E("../internals/a-callable"),ne=function(se){var de,le;this.promise=new se(function(ie,oe){if(de!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");de=ie,le=oe}),this.resolve=ce(de),this.reject=ce(le)};ye.exports.f=function(se){return new ne(se)}},{"../internals/a-callable":95}],194:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/is-regexp"),se=ce.TypeError;ye.exports=function(de){if(ne(de))throw se("The method doesn't accept regular expressions");return de}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,ye,he){"use strict";var ce=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),se=E("../internals/function-call"),de=E("../internals/fails"),le=E("../internals/object-keys"),ie=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),re=E("../internals/to-object"),ee=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=ne([].concat);ye.exports=!a||de(function(){if(ce&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},te=Symbol(),ue="abcdefghijklmnopqrst";return b[te]=7,ue.split("").forEach(function(me){z[me]=me}),a({},b)[te]!=7||le(a({},z)).join("")!=ue})?function(z,te){for(var ue=re(z),me=arguments.length,ve=1,ge=ie.f,pe=oe.f;me>ve;)for(var Se=ee(arguments[ve++]),be=ge?x(le(Se),ge(Se)):le(Se),Ee=be.length,Ce=0,Be;Ee>Ce;)Be=be[Ce++],(!ce||se(pe,Se,Be))&&(ue[Be]=Se[Be]);return ue}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,ye,he){var ce=E("../internals/an-object"),ne=E("../internals/object-define-properties"),se=E("../internals/enum-bug-keys"),de=E("../internals/hidden-keys"),le=E("../internals/html"),ie=E("../internals/document-create-element"),oe=E("../internals/shared-key"),re=">",ee="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},z=function(ge){return ee+y+re+ge+ee+"/"+y+re},te=function(ge){ge.write(z("")),ge.close();var pe=ge.parentWindow.Object;return ge=null,pe},ue=function(){var ge=ie("iframe"),pe="java"+y+":",Se;return ge.style.display="none",le.appendChild(ge),ge.src=String(pe),Se=ge.contentWindow.document,Se.open(),Se.write(z("document.F=Object")),Se.close(),Se.F},me,ve=function(){try{me=new ActiveXObject("htmlfile")}catch(pe){}ve=typeof document!="undefined"?document.domain&&me?te(me):ue():te(me);for(var ge=se.length;ge--;)delete ve[a][se[ge]];return ve()};de[x]=!0,ye.exports=Object.create||function(pe,Se){var be;return pe!==null?(b[a]=ce(pe),be=new b,b[a]=null,be[x]=pe):be=ve(),Se===void 0?be:ne.f(be,Se)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/v8-prototype-define-bug"),se=E("../internals/object-define-property"),de=E("../internals/an-object"),le=E("../internals/to-indexed-object"),ie=E("../internals/object-keys");he.f=ce&&!ne?Object.defineProperties:function(re,ee){de(re);for(var a=le(ee),y=ie(ee),x=y.length,b=0,z;x>b;)se.f(re,z=y[b++],a[z]);return re}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/descriptors"),se=E("../internals/ie8-dom-define"),de=E("../internals/v8-prototype-define-bug"),le=E("../internals/an-object"),ie=E("../internals/to-property-key"),oe=ce.TypeError,re=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";he.f=ne?de?function(z,te,ue){if(le(z),te=ie(te),le(ue),typeof z=="function"&&te==="prototype"&&"value"in ue&&x in ue&&!ue[x]){var me=ee(z,te);me&&me[x]&&(z[te]=ue.value,ue={configurable:y in ue?ue[y]:me[y],enumerable:a in ue?ue[a]:me[a],writable:!1})}return re(z,te,ue)}:re:function(z,te,ue){if(le(z),te=ie(te),le(ue),se)try{return re(z,te,ue)}catch(me){}if("get"in ue||"set"in ue)throw oe("Accessors not supported");return"value"in ue&&(z[te]=ue.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/function-call"),se=E("../internals/object-property-is-enumerable"),de=E("../internals/create-property-descriptor"),le=E("../internals/to-indexed-object"),ie=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),re=E("../internals/ie8-dom-define"),ee=Object.getOwnPropertyDescriptor;he.f=ce?ee:function(y,x){if(y=le(y),x=ie(x),re)try{return ee(y,x)}catch(b){}if(oe(y,x))return de(!ne(se.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,ye,he){var ce=E("../internals/classof-raw"),ne=E("../internals/to-indexed-object"),se=E("../internals/object-get-own-property-names").f,de=E("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ie=function(oe){try{return se(oe)}catch(re){return de(le)}};ye.exports.f=function(re){return le&&ce(re)=="Window"?ie(re):se(ne(re))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,ye,he){var ce=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys"),se=ne.concat("length","prototype");he.f=Object.getOwnPropertyNames||function(le){return ce(le,se)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,ye,he){he.f=Object.getOwnPropertySymbols},{}],203:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/has-own-property"),se=E("../internals/is-callable"),de=E("../internals/to-object"),le=E("../internals/shared-key"),ie=E("../internals/correct-prototype-getter"),oe=le("IE_PROTO"),re=ce.Object,ee=re.prototype;ye.exports=ie?re.getPrototypeOf:function(a){var y=de(a);if(ne(y,oe))return y[oe];var x=y.constructor;return se(x)&&y instanceof x?x.prototype:y instanceof re?ee:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,ye,he){var ce=E("../internals/function-uncurry-this");ye.exports=ce({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/has-own-property"),se=E("../internals/to-indexed-object"),de=E("../internals/array-includes").indexOf,le=E("../internals/hidden-keys"),ie=ce([].push);ye.exports=function(oe,re){var ee=se(oe),a=0,y=[],x;for(x in ee)!ne(le,x)&&ne(ee,x)&&ie(y,x);for(;re.length>a;)ne(ee,x=re[a++])&&(~de(y,x)||ie(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,ye,he){var ce=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys");ye.exports=Object.keys||function(de){return ce(de,ne)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,ye,he){"use strict";var ce={}.propertyIsEnumerable,ne=Object.getOwnPropertyDescriptor,se=ne&&!ce.call({1:2},1);he.f=se?function(le){var ie=ne(this,le);return!!ie&&ie.enumerable}:ce},{}],208:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/an-object"),se=E("../internals/a-possible-prototype");ye.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var de=!1,le={},ie;try{ie=ce(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ie(le,[]),de=le instanceof Array}catch(oe){}return function(re,ee){return ne(re),se(ee),de?ie(re,ee):re.__proto__=ee,re}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),se=E("../internals/object-keys"),de=E("../internals/to-indexed-object"),le=E("../internals/object-property-is-enumerable").f,ie=ne(le),oe=ne([].push),re=function(ee){return function(a){for(var y=de(a),x=se(y),b=x.length,z=0,te=[],ue;b>z;)ue=x[z++],(!ce||ie(y,ue))&&oe(te,ee?[ue,y[ue]]:y[ue]);return te}};ye.exports={entries:re(!0),values:re(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,ye,he){"use strict";var ce=E("../internals/to-string-tag-support"),ne=E("../internals/classof");ye.exports=ce?{}.toString:function(){return"[object "+ne(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/is-callable"),de=E("../internals/is-object"),le=ce.TypeError;ye.exports=function(ie,oe){var re,ee;if(oe==="string"&&se(re=ie.toString)&&!de(ee=ne(re,ie))||se(re=ie.valueOf)&&!de(ee=ne(re,ie))||oe!=="string"&&se(re=ie.toString)&&!de(ee=ne(re,ie)))return ee;throw le("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,ye,he){var ce=E("../internals/get-built-in"),ne=E("../internals/function-uncurry-this"),se=E("../internals/object-get-own-property-names"),de=E("../internals/object-get-own-property-symbols"),le=E("../internals/an-object"),ie=ne([].concat);ye.exports=ce("Reflect","ownKeys")||function(re){var ee=se.f(le(re)),a=de.f;return a?ie(ee,a(re)):ee}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,ye,he){var ce=E("../internals/global");ye.exports=ce},{"../internals/global":163}],214:[function(E,ye,he){ye.exports=function(ce){try{return{error:!1,value:ce()}}catch(ne){return{error:!0,value:ne}}}},{}],215:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/promise-native-constructor"),se=E("../internals/is-callable"),de=E("../internals/is-forced"),le=E("../internals/inspect-source"),ie=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),re=E("../internals/is-pure"),ee=E("../internals/engine-v8-version"),a=ne&&ne.prototype,y=ie("species"),x=!1,b=se(ce.PromiseRejectionEvent),z=de("Promise",function(){var te=le(ne),ue=te!==String(ne);if(!ue&&ee===66||re&&!(a.catch&&a.finally))return!0;if(ee>=51&&/native code/.test(te))return!1;var me=new ne(function(pe){pe(1)}),ve=function(pe){pe(function(){},function(){})},ge=me.constructor={};return ge[y]=ve,x=me.then(function(){})instanceof ve,x?!ue&&oe&&!b:!0});ye.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,ye,he){var ce=E("../internals/global");ye.exports=ce.Promise},{"../internals/global":163}],217:[function(E,ye,he){var ce=E("../internals/an-object"),ne=E("../internals/is-object"),se=E("../internals/new-promise-capability");ye.exports=function(de,le){if(ce(de),ne(le)&&le.constructor===de)return le;var ie=se.f(de),oe=ie.resolve;return oe(le),ie.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,ye,he){var ce=E("../internals/promise-native-constructor"),ne=E("../internals/check-correctness-of-iteration"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;ye.exports=se||!ne(function(de){ce.all(de).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,ye,he){var ce=E("../internals/object-define-property").f;ye.exports=function(ne,se,de){de in ne||ce(ne,de,{configurable:!0,get:function(){return se[de]},set:function(le){se[de]=le}})}},{"../internals/object-define-property":198}],220:[function(E,ye,he){var ce=function(){this.head=null,this.tail=null};ce.prototype={add:function(ne){var se={item:ne,next:null};this.head?this.tail.next=se:this.head=se,this.tail=se},get:function(){var ne=this.head;if(ne)return this.head=ne.next,this.tail===ne&&(this.tail=null),ne.item}},ye.exports=ce},{}],221:[function(E,ye,he){var ce=E("../internals/redefine");ye.exports=function(ne,se,de){for(var le in se)ce(ne,le,se[le],de);return ne}},{"../internals/redefine":222}],222:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/is-callable"),se=E("../internals/has-own-property"),de=E("../internals/create-non-enumerable-property"),le=E("../internals/set-global"),ie=E("../internals/inspect-source"),oe=E("../internals/internal-state"),re=E("../internals/function-name").CONFIGURABLE,ee=oe.get,a=oe.enforce,y=String(String).split("String");(ye.exports=function(x,b,z,te){var ue=te?!!te.unsafe:!1,me=te?!!te.enumerable:!1,ve=te?!!te.noTargetGet:!1,ge=te&&te.name!==void 0?te.name:b,pe;if(ne(z)&&(String(ge).slice(0,7)==="Symbol("&&(ge="["+String(ge).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!se(z,"name")||re&&z.name!==ge)&&de(z,"name",ge),pe=a(z),pe.source||(pe.source=y.join(typeof ge=="string"?ge:""))),x===ce){me?x[b]=z:le(b,z);return}else ue?!ve&&x[b]&&(me=!0):delete x[b];me?x[b]=z:de(x,b,z)})(Function.prototype,"toString",function(){return ne(this)&&ee(this).source||ie(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/an-object"),de=E("../internals/is-callable"),le=E("../internals/classof-raw"),ie=E("../internals/regexp-exec"),oe=ce.TypeError;ye.exports=function(re,ee){var a=re.exec;if(de(a)){var y=ne(a,re,ee);return y!==null&&se(y),y}if(le(re)==="RegExp")return ne(ie,re,ee);throw oe("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,ye,he){"use strict";var ce=E("../internals/function-call"),ne=E("../internals/function-uncurry-this"),se=E("../internals/to-string"),de=E("../internals/regexp-flags"),le=E("../internals/regexp-sticky-helpers"),ie=E("../internals/shared"),oe=E("../internals/object-create"),re=E("../internals/internal-state").get,ee=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ie("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=ne("".charAt),te=ne("".indexOf),ue=ne("".replace),me=ne("".slice),ve=function(){var be=/a/,Ee=/b*/g;return ce(x,be,"a"),ce(x,Ee,"a"),be.lastIndex!==0||Ee.lastIndex!==0}(),ge=le.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,Se=ve||pe||ge||ee||a;Se&&(b=function(Ee){var Ce=this,Be=re(Ce),Pe=se(Ee),Fe=Be.raw,we,Le,Oe,Ge,Ne,Ue,He;if(Fe)return Fe.lastIndex=Ce.lastIndex,we=ce(b,Fe,Pe),Ce.lastIndex=Fe.lastIndex,we;var Qe=Be.groups,We=ge&&Ce.sticky,ze=ce(de,Ce),_e=Ce.source,Ve=0,tt=Pe;if(We&&(ze=ue(ze,"y",""),te(ze,"g")===-1&&(ze+="g"),tt=me(Pe,Ce.lastIndex),Ce.lastIndex>0&&(!Ce.multiline||Ce.multiline&&z(Pe,Ce.lastIndex-1)!==` +`)&&(_e="(?: "+_e+")",tt=" "+tt,Ve++),Le=new RegExp("^(?:"+_e+")",ze)),pe&&(Le=new RegExp("^"+_e+"$(?!\\s)",ze)),ve&&(Oe=Ce.lastIndex),Ge=ce(x,We?Le:Ce,tt),We?Ge?(Ge.input=me(Ge.input,Ve),Ge[0]=me(Ge[0],Ve),Ge.index=Ce.lastIndex,Ce.lastIndex+=Ge[0].length):Ce.lastIndex=0:ve&&Ge&&(Ce.lastIndex=Ce.global?Ge.index+Ge[0].length:Oe),pe&&Ge&&Ge.length>1&&ce(y,Ge[0],Le,function(){for(Ne=1;Neb)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,ye,he){var ce=E("../internals/global"),ne=ce.TypeError;ye.exports=function(se){if(se==null)throw ne("Can't call method on "+se);return se}},{"../internals/global":163}],231:[function(E,ye,he){ye.exports=Object.is||function(ne,se){return ne===se?ne!==0||1/ne===1/se:ne!=ne&&se!=se}},{}],232:[function(E,ye,he){var ce=E("../internals/global"),ne=Object.defineProperty;ye.exports=function(se,de){try{ne(ce,se,{value:de,configurable:!0,writable:!0})}catch(le){ce[se]=de}return de}},{"../internals/global":163}],233:[function(E,ye,he){"use strict";var ce=E("../internals/get-built-in"),ne=E("../internals/object-define-property"),se=E("../internals/well-known-symbol"),de=E("../internals/descriptors"),le=se("species");ye.exports=function(ie){var oe=ce(ie),re=ne.f;de&&oe&&!oe[le]&&re(oe,le,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,ye,he){var ce=E("../internals/object-define-property").f,ne=E("../internals/has-own-property"),se=E("../internals/well-known-symbol"),de=se("toStringTag");ye.exports=function(le,ie,oe){le&&!oe&&(le=le.prototype),le&&!ne(le,de)&&ce(le,de,{configurable:!0,value:ie})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,ye,he){var ce=E("../internals/shared"),ne=E("../internals/uid"),se=ce("keys");ye.exports=function(de){return se[de]||(se[de]=ne(de))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/set-global"),se="__core-js_shared__",de=ce[se]||ne(se,{});ye.exports=de},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,ye,he){var ce=E("../internals/is-pure"),ne=E("../internals/shared-store");(ye.exports=function(se,de){return ne[se]||(ne[se]=de!==void 0?de:{})})("versions",[]).push({version:"3.22.1",mode:ce?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,ye,he){var ce=E("../internals/an-object"),ne=E("../internals/a-constructor"),se=E("../internals/well-known-symbol"),de=se("species");ye.exports=function(le,ie){var oe=ce(le).constructor,re;return oe===void 0||(re=ce(oe)[de])==null?ie:ne(re)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/to-integer-or-infinity"),se=E("../internals/to-string"),de=E("../internals/require-object-coercible"),le=ce("".charAt),ie=ce("".charCodeAt),oe=ce("".slice),re=function(ee){return function(a,y){var x=se(de(a)),b=ne(y),z=x.length,te,ue;return b<0||b>=z?ee?"":void 0:(te=ie(x,b),te<55296||te>56319||b+1===z||(ue=ie(x,b+1))<56320||ue>57343?ee?le(x,b):te:ee?oe(x,b,b+2):(te-55296<<10)+(ue-56320)+65536)}};ye.exports={codeAt:re(!1),charAt:re(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,ye,he){var ce=E("../internals/function-name").PROPER,ne=E("../internals/fails"),se=E("../internals/whitespaces"),de="\u200B\x85\u180E";ye.exports=function(le){return ne(function(){return!!se[le]()||de[le]()!==de||ce&&se[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=E("../internals/require-object-coercible"),se=E("../internals/to-string"),de=E("../internals/whitespaces"),le=ce("".replace),ie="["+de+"]",oe=RegExp("^"+ie+ie+"*"),re=RegExp(ie+ie+"*$"),ee=function(a){return function(y){var x=se(ne(y));return a&1&&(x=le(x,oe,"")),a&2&&(x=le(x,re,"")),x}};ye.exports={start:ee(1),end:ee(2),trim:ee(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,ye,he){var ce=E("../internals/function-call"),ne=E("../internals/get-built-in"),se=E("../internals/well-known-symbol"),de=E("../internals/redefine");ye.exports=function(){var le=ne("Symbol"),ie=le&&le.prototype,oe=ie&&ie.valueOf,re=se("toPrimitive");ie&&!ie[re]&&de(ie,re,function(ee){return ce(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-apply"),se=E("../internals/function-bind-context"),de=E("../internals/is-callable"),le=E("../internals/has-own-property"),ie=E("../internals/fails"),oe=E("../internals/html"),re=E("../internals/array-slice"),ee=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=ce.setImmediate,z=ce.clearImmediate,te=ce.process,ue=ce.Dispatch,me=ce.Function,ve=ce.MessageChannel,ge=ce.String,pe=0,Se={},be="onreadystatechange",Ee,Ce,Be,Pe;try{Ee=ce.location}catch(Ge){}var Fe=function(Ge){if(le(Se,Ge)){var Ne=Se[Ge];delete Se[Ge],Ne()}},we=function(Ge){return function(){Fe(Ge)}},Le=function(Ge){Fe(Ge.data)},Oe=function(Ge){ce.postMessage(ge(Ge),Ee.protocol+"//"+Ee.host)};(!b||!z)&&(b=function(Ne){a(arguments.length,1);var Ue=de(Ne)?Ne:me(Ne),He=re(arguments,1);return Se[++pe]=function(){ne(Ue,void 0,He)},Ce(pe),pe},z=function(Ne){delete Se[Ne]},x?Ce=function(Ge){te.nextTick(we(Ge))}:ue&&ue.now?Ce=function(Ge){ue.now(we(Ge))}:ve&&!y?(Be=new ve,Pe=Be.port2,Be.port1.onmessage=Le,Ce=se(Pe.postMessage,Pe)):ce.addEventListener&&de(ce.postMessage)&&!ce.importScripts&&Ee&&Ee.protocol!=="file:"&&!ie(Oe)?(Ce=Oe,ce.addEventListener("message",Le,!1)):be in ee("script")?Ce=function(Ge){oe.appendChild(ee("script"))[be]=function(){oe.removeChild(this),Fe(Ge)}}:Ce=function(Ge){setTimeout(we(Ge),0)}),ye.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,ye,he){var ce=E("../internals/function-uncurry-this");ye.exports=ce(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,ye,he){var ce=E("../internals/to-integer-or-infinity"),ne=Math.max,se=Math.min;ye.exports=function(de,le){var ie=ce(de);return ie<0?ne(ie+le,0):se(ie,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),se=E("../internals/to-length"),de=ce.RangeError;ye.exports=function(le){if(le===void 0)return 0;var ie=ne(le),oe=se(ie);if(ie!==oe)throw de("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,ye,he){var ce=E("../internals/indexed-object"),ne=E("../internals/require-object-coercible");ye.exports=function(se){return ce(ne(se))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,ye,he){var ce=Math.ceil,ne=Math.floor;ye.exports=function(se){var de=+se;return de!==de||de===0?0:(de>0?ne:ce)(de)}},{}],249:[function(E,ye,he){var ce=E("../internals/to-integer-or-infinity"),ne=Math.min;ye.exports=function(se){return se>0?ne(ce(se),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/require-object-coercible"),se=ce.Object;ye.exports=function(de){return se(ne(de))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/to-positive-integer"),se=ce.RangeError;ye.exports=function(de,le){var ie=ne(de);if(ie%le)throw se("Wrong offset");return ie}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),se=ce.RangeError;ye.exports=function(de){var le=ne(de);if(le<0)throw se("The argument can't be less than 0");return le}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/function-call"),se=E("../internals/is-object"),de=E("../internals/is-symbol"),le=E("../internals/get-method"),ie=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),re=ce.TypeError,ee=oe("toPrimitive");ye.exports=function(a,y){if(!se(a)||de(a))return a;var x=le(a,ee),b;if(x){if(y===void 0&&(y="default"),b=ne(x,a,y),!se(b)||de(b))return b;throw re("Can't convert object to primitive value")}return y===void 0&&(y="number"),ie(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,ye,he){var ce=E("../internals/to-primitive"),ne=E("../internals/is-symbol");ye.exports=function(se){var de=ce(se,"string");return ne(de)?de:de+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,ye,he){var ce=E("../internals/well-known-symbol"),ne=ce("toStringTag"),se={};se[ne]="z",ye.exports=String(se)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/classof"),se=ce.String;ye.exports=function(de){if(ne(de)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return se(de)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,ye,he){var ce=E("../internals/global"),ne=ce.String;ye.exports=function(se){try{return ne(se)}catch(de){return"Object"}}},{"../internals/global":163}],258:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/global"),se=E("../internals/function-call"),de=E("../internals/descriptors"),le=E("../internals/typed-array-constructors-require-wrappers"),ie=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),re=E("../internals/an-instance"),ee=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),te=E("../internals/to-property-key"),ue=E("../internals/has-own-property"),me=E("../internals/classof"),ve=E("../internals/is-object"),ge=E("../internals/is-symbol"),pe=E("../internals/object-create"),Se=E("../internals/object-is-prototype-of"),be=E("../internals/object-set-prototype-of"),Ee=E("../internals/object-get-own-property-names").f,Ce=E("../internals/typed-array-from"),Be=E("../internals/array-iteration").forEach,Pe=E("../internals/set-species"),Fe=E("../internals/object-define-property"),we=E("../internals/object-get-own-property-descriptor"),Le=E("../internals/internal-state"),Oe=E("../internals/inherit-if-required"),Ge=Le.get,Ne=Le.set,Ue=Fe.f,He=we.f,Qe=Math.round,We=ne.RangeError,ze=oe.ArrayBuffer,_e=ze.prototype,Ve=oe.DataView,tt=ie.NATIVE_ARRAY_BUFFER_VIEWS,et=ie.TYPED_ARRAY_CONSTRUCTOR,dt=ie.TYPED_ARRAY_TAG,$e=ie.TypedArray,Ze=ie.TypedArrayPrototype,Me=ie.aTypedArrayConstructor,qe=ie.isTypedArray,Ie="BYTES_PER_ELEMENT",je="Wrong length",Je=function(Re,Xe){Me(Re);for(var nt=0,Ke=Xe.length,rt=new Re(Ke);Ke>nt;)rt[nt]=Xe[nt++];return rt},Ye=function(Re,Xe){Ue(Re,Xe,{get:function(){return Ge(this)[Xe]}})},ke=function(Re){var Xe;return Se(_e,Re)||(Xe=me(Re))=="ArrayBuffer"||Xe=="SharedArrayBuffer"},De=function(Re,Xe){return qe(Re)&&!ge(Xe)&&Xe in Re&&y(+Xe)&&Xe>=0},Te=function(Xe,nt){return nt=te(nt),De(Xe,nt)?ee(2,Xe[nt]):He(Xe,nt)},xe=function(Xe,nt,Ke){return nt=te(nt),De(Xe,nt)&&ve(Ke)&&ue(Ke,"value")&&!ue(Ke,"get")&&!ue(Ke,"set")&&!Ke.configurable&&(!ue(Ke,"writable")||Ke.writable)&&(!ue(Ke,"enumerable")||Ke.enumerable)?(Xe[nt]=Ke.value,Xe):Ue(Xe,nt,Ke)};de?(tt||(we.f=Te,Fe.f=xe,Ye(Ze,"buffer"),Ye(Ze,"byteOffset"),Ye(Ze,"byteLength"),Ye(Ze,"length")),ce({target:"Object",stat:!0,forced:!tt},{getOwnPropertyDescriptor:Te,defineProperty:xe}),ye.exports=function(Re,Xe,nt){var Ke=Re.match(/\d+$/)[0]/8,rt=Re+(nt?"Clamped":"")+"Array",ht="get"+Re,ut="set"+Re,pt=ne[rt],lt=pt,mt=lt&<.prototype,it={},ct=function(Et,Tt){var _t=Ge(Et);return _t.view[ht](Tt*Ke+_t.byteOffset,!0)},ft=function(Et,Tt,_t){var Gt=Ge(Et);nt&&(_t=(_t=Qe(_t))<0?0:_t>255?255:_t&255),Gt.view[ut](Tt*Ke+Gt.byteOffset,_t,!0)},yt=function(Et,Tt){Ue(Et,Tt,{get:function(){return ct(this,Tt)},set:function(_t){return ft(this,Tt,_t)},enumerable:!0})};tt?le&&(lt=Xe(function(Et,Tt,_t,Gt){return re(Et,mt),Oe(function(){return ve(Tt)?ke(Tt)?Gt!==void 0?new pt(Tt,z(_t,Ke),Gt):_t!==void 0?new pt(Tt,z(_t,Ke)):new pt(Tt):qe(Tt)?Je(lt,Tt):se(Ce,lt,Tt):new pt(b(Tt))}(),Et,lt)}),be&&be(lt,$e),Be(Ee(pt),function(Et){Et in lt||a(lt,Et,pt[Et])}),lt.prototype=mt):(lt=Xe(function(Et,Tt,_t,Gt){re(Et,mt);var hn=0,Rn=0,bn,dn,lr;if(!ve(Tt))lr=b(Tt),dn=lr*Ke,bn=new ze(dn);else if(ke(Tt)){bn=Tt,Rn=z(_t,Ke);var jn=Tt.byteLength;if(Gt===void 0){if(jn%Ke||(dn=jn-Rn,dn<0))throw We(je)}else if(dn=x(Gt)*Ke,dn+Rn>jn)throw We(je);lr=dn/Ke}else return qe(Tt)?Je(lt,Tt):se(Ce,lt,Tt);for(Ne(Et,{buffer:bn,byteOffset:Rn,byteLength:dn,length:lr,view:new Ve(bn)});hn1?arguments[1]:void 0,ue=te!==void 0,me=oe(b),ve,ge,pe,Se,be,Ee;if(me&&!re(me))for(be=ie(b,me),Ee=be.next,b=[];!(Se=ne(Ee,be)).done;)b.push(Se.value);for(ue&&z>2&&(te=ce(te,arguments[2])),ge=le(b),pe=new(ee(x))(ge),ve=0;ge>ve;ve++)pe[ve]=ue?te(b[ve],ve):b[ve];return pe}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,ye,he){var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/species-constructor"),se=ce.TYPED_ARRAY_CONSTRUCTOR,de=ce.aTypedArrayConstructor;ye.exports=function(le){return de(ne(le,le[se]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,ye,he){var ce=E("../internals/function-uncurry-this"),ne=0,se=Math.random(),de=ce(1 .toString);ye.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+de(++ne+se,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,ye,he){var ce=E("../internals/native-symbol");ye.exports=ce&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/fails");ye.exports=ce&&ne(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,ye,he){var ce=E("../internals/global"),ne=ce.TypeError;ye.exports=function(se,de){if(se=51||!se(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),ve=a("concat"),ge=function(Se){if(!le(Se))return!1;var be=Se[b];return be!==void 0?!!be:de(Se)},pe=!me||!ve;ce({target:"Array",proto:!0,forced:pe},{concat:function(be){var Ee=ie(this),Ce=ee(Ee,0),Be=0,Pe,Fe,we,Le,Oe;for(Pe=-1,we=arguments.length;Pez)throw ue(te);for(Fe=0;Fe=z)throw ue(te);re(Ce,Be++,Oe)}return Ce.length=Be,Ce}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,ye,he){var ce=E("../internals/export"),ne=E("../internals/array-fill"),se=E("../internals/add-to-unscopables");ce({target:"Array",proto:!0},{fill:ne}),se("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/array-iteration").filter,se=E("../internals/array-method-has-species-support"),de=se("filter");ce({target:"Array",proto:!0,forced:!de},{filter:function(ie){return ne(this,ie,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/array-iteration").find,se=E("../internals/add-to-unscopables"),de="find",le=!0;de in[]&&Array(1)[de](function(){le=!1}),ce({target:"Array",proto:!0,forced:le},{find:function(oe){return ne(this,oe,arguments.length>1?arguments[1]:void 0)}}),se(de)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,ye,he){var ce=E("../internals/export"),ne=E("../internals/array-from"),se=E("../internals/check-correctness-of-iteration"),de=!se(function(le){Array.from(le)});ce({target:"Array",stat:!0,forced:de},{from:ne})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/array-includes").includes,se=E("../internals/add-to-unscopables");ce({target:"Array",proto:!0},{includes:function(le){return ne(this,le,arguments.length>1?arguments[1]:void 0)}}),se("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,ye,he){"use strict";var ce=E("../internals/to-indexed-object"),ne=E("../internals/add-to-unscopables"),se=E("../internals/iterators"),de=E("../internals/internal-state"),le=E("../internals/object-define-property").f,ie=E("../internals/define-iterator"),oe=E("../internals/is-pure"),re=E("../internals/descriptors"),ee="Array Iterator",a=de.set,y=de.getterFor(ee);ye.exports=ie(Array,"Array",function(b,z){a(this,{type:ee,target:ce(b),index:0,kind:z})},function(){var b=y(this),z=b.target,te=b.kind,ue=b.index++;return!z||ue>=z.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ue,done:!1}:te=="values"?{value:z[ue],done:!1}:{value:[ue,z[ue]],done:!1}},"values");var x=se.Arguments=se.Array;if(ne("keys"),ne("values"),ne("entries"),!oe&&re&&x.name!=="values")try{le(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-indexed-object"),le=E("../internals/array-method-is-strict"),ie=ne([].join),oe=se!=Object,re=le("join",",");ce({target:"Array",proto:!0,forced:oe||!re},{join:function(a){return ie(de(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/array-iteration").map,se=E("../internals/array-method-has-species-support"),de=se("map");ce({target:"Array",proto:!0,forced:!de},{map:function(ie){return ne(this,ie,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/global"),se=E("../internals/is-array"),de=E("../internals/is-constructor"),le=E("../internals/is-object"),ie=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),re=E("../internals/to-indexed-object"),ee=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),te=ne.Array,ue=Math.max;ce({target:"Array",proto:!0,forced:!b},{slice:function(ve,ge){var pe=re(this),Se=oe(pe),be=ie(ve,Se),Ee=ie(ge===void 0?Se:ge,Se),Ce,Be,Pe;if(se(pe)&&(Ce=pe.constructor,de(Ce)&&(Ce===te||se(Ce.prototype))?Ce=void 0:le(Ce)&&(Ce=Ce[z],Ce===null&&(Ce=void 0)),Ce===te||Ce===void 0))return x(pe,be,Ee);for(Be=new(Ce===void 0?te:Ce)(ue(Ee-be,0)),Pe=0;be3)){if(y)return!0;if(b)return b<603;var Ee="",Ce,Be,Pe,Fe;for(Ce=65;Ce<76;Ce++){switch(Be=String.fromCharCode(Ce),Ce){case 66:case 69:case 70:case 72:Pe=3;break;case 68:case 71:Pe=4;break;default:Pe=2}for(Fe=0;Fe<47;Fe++)z.push({k:Be+Fe,v:Pe})}for(z.sort(function(we,Le){return Le.v-we.v}),Fe=0;Feie(Be)?1:-1}};ce({target:"Array",proto:!0,forced:Se},{sort:function(Ce){Ce!==void 0&&se(Ce);var Be=de(this);if(pe)return Ce===void 0?te(Be):te(Be,Ce);var Pe=[],Fe=le(Be),we,Le;for(Le=0;Lez)throw y(te);for(Be=oe(ge,Ce),Pe=0;Pepe-Ce+Ee;Pe--)delete ge[Pe-1]}else if(Ee>Ce)for(Pe=pe-Ce;Pe>Se;Pe--)Fe=Pe+Ce-1,we=Pe+Ee-1,Fe in ge?ge[we]=ge[Fe]:delete ge[we];for(Pe=0;Pe2){if(Oe=ue(Oe),Ge=be(Oe,0),Ge===43||Ge===45){if(Ne=be(Oe,2),Ne===88||Ne===120)return NaN}else if(Ge===48){switch(be(Oe,1)){case 66:case 98:Ue=2,He=49;break;case 79:case 111:Ue=8,He=55;break;default:return+Oe}for(Qe=Se(Oe,2),We=Qe.length,ze=0;zeHe)return NaN;return parseInt(Qe,Ue)}}return+Oe};if(de(me,!ve(" 0o1")||!ve("0b1")||ve("+0x1"))){for(var Be=function(Oe){var Ge=arguments.length<1?0:ve(Ee(Oe)),Ne=this;return re(ge,Ne)&&y(function(){te(Ne)})?oe(Object(Ge),Ne,Be):Ge},Pe=ce?x(ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Fe=0,we;Pe.length>Fe;Fe++)ie(ve,we=Pe[Fe])&&!ie(Be,we)&&z(Be,we,b(ve,we));Be.prototype=ge,ge.constructor=Be,le(ne,me,Be)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,ye,he){var ce=E("../internals/export"),ne=E("../internals/object-assign");ce({target:"Object",stat:!0,forced:Object.assign!==ne},{assign:ne})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,ye,he){var ce=E("../internals/export"),ne=E("../internals/object-to-array").entries;ce({target:"Object",stat:!0},{entries:function(de){return ne(de)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,ye,he){var ce=E("../internals/export"),ne=E("../internals/native-symbol"),se=E("../internals/fails"),de=E("../internals/object-get-own-property-symbols"),le=E("../internals/to-object"),ie=!ne||se(function(){de.f(1)});ce({target:"Object",stat:!0,forced:ie},{getOwnPropertySymbols:function(re){var ee=de.f;return ee?ee(le(re)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,ye,he){var ce=E("../internals/export"),ne=E("../internals/to-object"),se=E("../internals/object-keys"),de=E("../internals/fails"),le=de(function(){se(1)});ce({target:"Object",stat:!0,forced:le},{keys:function(oe){return se(ne(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,ye,he){var ce=E("../internals/to-string-tag-support"),ne=E("../internals/redefine"),se=E("../internals/object-to-string");ce||ne(Object.prototype,"toString",se,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),le=E("../internals/perform"),ie=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");ce({target:"Promise",stat:!0,forced:oe},{all:function(ee){var a=this,y=de.f(a),x=y.resolve,b=y.reject,z=le(function(){var te=se(a.resolve),ue=[],me=0,ve=1;ie(ee,function(ge){var pe=me++,Se=!1;ve++,ne(te,a,ge).then(function(be){Se||(Se=!0,ue[pe]=be,--ve||x(ue))},b)}),--ve||x(ue)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/is-pure"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-native-constructor"),le=E("../internals/get-built-in"),ie=E("../internals/is-callable"),oe=E("../internals/redefine"),re=de&&de.prototype;if(ce({target:"Promise",proto:!0,forced:se,real:!0},{catch:function(a){return this.then(void 0,a)}}),!ne&&ie(de)){var ee=le("Promise").prototype.catch;re.catch!==ee&&oe(re,"catch",ee,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/is-pure"),se=E("../internals/engine-is-node"),de=E("../internals/global"),le=E("../internals/function-call"),ie=E("../internals/redefine"),oe=E("../internals/redefine-all"),re=E("../internals/object-set-prototype-of"),ee=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),te=E("../internals/species-constructor"),ue=E("../internals/task").set,me=E("../internals/microtask"),ve=E("../internals/host-report-errors"),ge=E("../internals/perform"),pe=E("../internals/queue"),Se=E("../internals/internal-state"),be=E("../internals/promise-native-constructor"),Ee=E("../internals/promise-constructor-detection"),Ce=E("../internals/new-promise-capability"),Be="Promise",Pe=Ee.CONSTRUCTOR,Fe=Ee.REJECTION_EVENT,we=Ee.SUBCLASSING,Le=Se.getterFor(Be),Oe=Se.set,Ge=be&&be.prototype,Ne=be,Ue=Ge,He=de.TypeError,Qe=de.document,We=de.process,ze=Ce.f,_e=ze,Ve=!!(Qe&&Qe.createEvent&&de.dispatchEvent),tt="unhandledrejection",et="rejectionhandled",dt=0,$e=1,Ze=2,Me=1,qe=2,Ie,je,Je,Ye,ke=function(ut){var pt;return b(ut)&&x(pt=ut.then)?pt:!1},De=function(ut,pt){var lt=pt.value,mt=pt.state==$e,it=mt?ut.ok:ut.fail,ct=ut.resolve,ft=ut.reject,yt=ut.domain,Et,Tt,_t;try{it?(mt||(pt.rejection===qe&&nt(pt),pt.rejection=Me),it===!0?Et=lt:(yt&&yt.enter(),Et=it(lt),yt&&(yt.exit(),_t=!0)),Et===ut.promise?ft(He("Promise-chain cycle")):(Tt=ke(Et))?le(Tt,Et,ct,ft):ct(Et)):ft(lt)}catch(Gt){yt&&!_t&&yt.exit(),ft(Gt)}},Te=function(ut,pt){ut.notified||(ut.notified=!0,me(function(){for(var lt=ut.reactions,mt;mt=lt.get();)De(mt,ut);ut.notified=!1,pt&&!ut.rejection&&Re(ut)}))},xe=function(ut,pt,lt){var mt,it;Ve?(mt=Qe.createEvent("Event"),mt.promise=pt,mt.reason=lt,mt.initEvent(ut,!1,!0),de.dispatchEvent(mt)):mt={promise:pt,reason:lt},!Fe&&(it=de["on"+ut])?it(mt):ut===tt&&ve("Unhandled promise rejection",lt)},Re=function(ut){le(ue,de,function(){var pt=ut.facade,lt=ut.value,mt=Xe(ut),it;if(mt&&(it=ge(function(){se?We.emit("unhandledRejection",lt,pt):xe(tt,pt,lt)}),ut.rejection=se||Xe(ut)?qe:Me,it.error))throw it.value})},Xe=function(ut){return ut.rejection!==Me&&!ut.parent},nt=function(ut){le(ue,de,function(){var pt=ut.facade;se?We.emit("rejectionHandled",pt):xe(et,pt,ut.value)})},Ke=function(ut,pt,lt){return function(mt){ut(pt,mt,lt)}},rt=function(ut,pt,lt){ut.done||(ut.done=!0,lt&&(ut=lt),ut.value=pt,ut.state=Ze,Te(ut,!0))},ht=function(ut,pt,lt){if(!ut.done){ut.done=!0,lt&&(ut=lt);try{if(ut.facade===pt)throw He("Promise can't be resolved itself");var mt=ke(pt);mt?me(function(){var it={done:!1};try{le(mt,pt,Ke(ht,it,ut),Ke(rt,it,ut))}catch(ct){rt(it,ct,ut)}}):(ut.value=pt,ut.state=$e,Te(ut,!1))}catch(it){rt({done:!1},it,ut)}}};if(Pe&&(Ne=function(pt){z(this,Ue),y(pt),le(Ie,this);var lt=Le(this);try{pt(Ke(ht,lt),Ke(rt,lt))}catch(mt){rt(lt,mt)}},Ue=Ne.prototype,Ie=function(pt){Oe(this,{type:Be,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:dt,value:void 0})},Ie.prototype=oe(Ue,{then:function(pt,lt){var mt=Le(this),it=ze(te(this,Ne));return mt.parent=!0,it.ok=x(pt)?pt:!0,it.fail=x(lt)&<,it.domain=se?We.domain:void 0,mt.state==dt?mt.reactions.add(it):me(function(){De(it,mt)}),it.promise}}),je=function(){var ut=new Ie,pt=Le(ut);this.promise=ut,this.resolve=Ke(ht,pt),this.reject=Ke(rt,pt)},Ce.f=ze=function(ut){return ut===Ne||ut===Je?new je(ut):_e(ut)},!ne&&x(be)&&Ge!==Object.prototype)){Ye=Ge.then,we||ie(Ge,"then",function(pt,lt){var mt=this;return new Ne(function(it,ct){le(Ye,mt,it,ct)}).then(pt,lt)},{unsafe:!0});try{delete Ge.constructor}catch(ut){}re&&re(Ge,Ue)}ce({global:!0,wrap:!0,forced:Pe},{Promise:Ne}),ee(Ne,Be,!1,!0),a(Be)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,ye,he){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),le=E("../internals/perform"),ie=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");ce({target:"Promise",stat:!0,forced:oe},{race:function(ee){var a=this,y=de.f(a),x=y.reject,b=le(function(){var z=se(a.resolve);ie(ee,function(te){ne(z,a,te).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/function-call"),se=E("../internals/new-promise-capability"),de=E("../internals/promise-constructor-detection").CONSTRUCTOR;ce({target:"Promise",stat:!0,forced:de},{reject:function(ie){var oe=se.f(this);return ne(oe.reject,void 0,ie),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/get-built-in"),se=E("../internals/is-pure"),de=E("../internals/promise-native-constructor"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR,ie=E("../internals/promise-resolve"),oe=ne("Promise"),re=se&&!le;ce({target:"Promise",stat:!0,forced:se||le},{resolve:function(a){return ie(re&&this===oe?de:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,ye,he){var ce=E("../internals/descriptors"),ne=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-forced"),le=E("../internals/inherit-if-required"),ie=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,re=E("../internals/object-is-prototype-of"),ee=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),te=E("../internals/fails"),ue=E("../internals/has-own-property"),me=E("../internals/internal-state").enforce,ve=E("../internals/set-species"),ge=E("../internals/well-known-symbol"),pe=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),be=ge("match"),Ee=ne.RegExp,Ce=Ee.prototype,Be=ne.SyntaxError,Pe=se(Ce.exec),Fe=se("".charAt),we=se("".replace),Le=se("".indexOf),Oe=se("".slice),Ge=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ne=/a/g,Ue=/a/g,He=new Ee(Ne)!==Ne,Qe=x.MISSED_STICKY,We=x.UNSUPPORTED_Y,ze=ce&&(!He||Qe||pe||Se||te(function(){return Ue[be]=!1,Ee(Ne)!=Ne||Ee(Ue)==Ue||Ee(Ne,"i")!="/a/i"})),_e=function($e){for(var Ze=$e.length,Me=0,qe="",Ie=!1,je;Me<=Ze;Me++){if(je=Fe($e,Me),je==="\\"){qe+=je+Fe($e,++Me);continue}!Ie&&je==="."?qe+="[\\s\\S]":(je==="["?Ie=!0:je==="]"&&(Ie=!1),qe+=je)}return qe},Ve=function($e){for(var Ze=$e.length,Me=0,qe="",Ie=[],je={},Je=!1,Ye=!1,ke=0,De="",Te;Me<=Ze;Me++){if(Te=Fe($e,Me),Te==="\\")Te=Te+Fe($e,++Me);else if(Te==="]")Je=!1;else if(!Je)switch(!0){case Te==="[":Je=!0;break;case Te==="(":Pe(Ge,Oe($e,Me+1))&&(Me+=2,Ye=!0),qe+=Te,ke++;continue;case(Te===">"&&Ye):if(De===""||ue(je,De))throw new Be("Invalid capture group name");je[De]=!0,Ie[Ie.length]=[De,ke],Ye=!1,De="";continue}Ye?De+=Te:qe+=Te}return[qe,Ie]};if(de("RegExp",ze)){for(var tt=function(Ze,Me){var qe=re(Ce,this),Ie=ee(Ze),je=Me===void 0,Je=[],Ye=Ze,ke,De,Te,xe,Re,Xe;if(!qe&&Ie&&je&&Ze.constructor===tt)return Ze;if((Ie||re(Ce,Ze))&&(Ze=Ze.source,je&&(Me=y(Ye))),Ze=Ze===void 0?"":a(Ze),Me=Me===void 0?"":a(Me),Ye=Ze,pe&&"dotAll"in Ne&&(De=!!Me&&Le(Me,"s")>-1,De&&(Me=we(Me,/s/g,""))),ke=Me,Qe&&"sticky"in Ne&&(Te=!!Me&&Le(Me,"y")>-1,Te&&We&&(Me=we(Me,/y/g,""))),Se&&(xe=Ve(Ze),Ze=xe[0],Je=xe[1]),Re=le(Ee(Ze,Me),qe?this:Ce,tt),(De||Te||Je.length)&&(Xe=me(Re),De&&(Xe.dotAll=!0,Xe.raw=tt(_e(Ze),ke)),Te&&(Xe.sticky=!0),Je.length&&(Xe.groups=Je)),Ze!==Ye)try{ie(Re,"source",Ye===""?"(?:)":Ye)}catch(nt){}return Re},et=oe(Ee),dt=0;et.length>dt;)b(tt,Ee,et[dt++]);Ce.constructor=tt,tt.prototype=Ce,z(ne,"RegExp",tt)}ve("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/regexp-exec");ce({target:"RegExp",proto:!0,forced:/./.exec!==ne},{exec:ne})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,ye,he){"use strict";var ce=E("../internals/function-name").PROPER,ne=E("../internals/redefine"),se=E("../internals/an-object"),de=E("../internals/to-string"),le=E("../internals/fails"),ie=E("../internals/regexp-get-flags"),oe="toString",re=RegExp.prototype,ee=re[oe],a=le(function(){return ee.call({source:"a",flags:"b"})!="/a/b"}),y=ce&&ee.name!=oe;(a||y)&&ne(RegExp.prototype,oe,function(){var b=se(this),z=de(b.source),te=de(ie(b));return"/"+z+"/"+te},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,ye,he){"use strict";var ce=E("../internals/export"),ne=E("../internals/function-uncurry-this"),se=E("../internals/not-a-regexp"),de=E("../internals/require-object-coercible"),le=E("../internals/to-string"),ie=E("../internals/correct-is-regexp-logic"),oe=ne("".indexOf);ce({target:"String",proto:!0,forced:!ie("includes")},{includes:function(ee){return!!~oe(le(de(this)),le(se(ee)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,ye,he){"use strict";var ce=E("../internals/string-multibyte").charAt,ne=E("../internals/to-string"),se=E("../internals/internal-state"),de=E("../internals/define-iterator"),le="String Iterator",ie=se.set,oe=se.getterFor(le);de(String,"String",function(re){ie(this,{type:le,string:ne(re),index:0})},function(){var ee=oe(this),a=ee.string,y=ee.index,x;return y>=a.length?{value:void 0,done:!0}:(x=ce(a,y),ee.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,ye,he){"use strict";var ce=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/to-length"),le=E("../internals/to-string"),ie=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),re=E("../internals/advance-string-index"),ee=E("../internals/regexp-exec-abstract");ne("match",function(a,y,x){return[function(z){var te=ie(this),ue=z==null?void 0:oe(z,a);return ue?ce(ue,z,te):new RegExp(z)[a](le(te))},function(b){var z=se(this),te=le(b),ue=x(y,z,te);if(ue.done)return ue.value;if(!z.global)return ee(z,te);var me=z.unicode;z.lastIndex=0;for(var ve=[],ge=0,pe;(pe=ee(z,te))!==null;){var Se=le(pe[0]);ve[ge]=Se,Se===""&&(z.lastIndex=re(te,de(z.lastIndex),me)),ge++}return ge===0?null:ve}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,ye,he){"use strict";var ce=E("../internals/function-apply"),ne=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/fails"),ie=E("../internals/an-object"),oe=E("../internals/is-callable"),re=E("../internals/to-integer-or-infinity"),ee=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),ue=E("../internals/well-known-symbol"),me=ue("replace"),ve=Math.max,ge=Math.min,pe=se([].concat),Se=se([].push),be=se("".indexOf),Ee=se("".slice),Ce=function(we){return we===void 0?we:String(we)},Be=function(){return"a".replace(/./,"$0")==="$0"}(),Pe=function(){return/./[me]?/./[me]("a","$0")==="":!1}(),Fe=!le(function(){var we=/./;return we.exec=function(){var Le=[];return Le.groups={a:"7"},Le},"".replace(we,"$")!=="7"});de("replace",function(we,Le,Oe){var Ge=Pe?"$":"$0";return[function(Ue,He){var Qe=y(this),We=Ue==null?void 0:b(Ue,me);return We?ne(We,Ue,Qe,He):ne(Le,a(Qe),Ue,He)},function(Ne,Ue){var He=ie(this),Qe=a(Ne);if(typeof Ue=="string"&&be(Ue,Ge)===-1&&be(Ue,"$<")===-1){var We=Oe(Le,He,Qe,Ue);if(We.done)return We.value}var ze=oe(Ue);ze||(Ue=a(Ue));var _e=He.global;if(_e){var Ve=He.unicode;He.lastIndex=0}for(var tt=[];;){var et=te(He,Qe);if(et===null||(Se(tt,et),!_e))break;var dt=a(et[0]);dt===""&&(He.lastIndex=x(Qe,ee(He.lastIndex),Ve))}for(var $e="",Ze=0,Me=0;Me=Ze&&($e+=Ee(Qe,Ze,Ie)+De,Ze=Ie+qe.length)}return $e+Ee(Qe,Ze)}]},!Fe||!Be||Pe)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,ye,he){"use strict";var ce=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/require-object-coercible"),le=E("../internals/same-value"),ie=E("../internals/to-string"),oe=E("../internals/get-method"),re=E("../internals/regexp-exec-abstract");ne("search",function(ee,a,y){return[function(b){var z=de(this),te=b==null?void 0:oe(b,ee);return te?ce(te,b,z):new RegExp(b)[ee](ie(z))},function(x){var b=se(this),z=ie(x),te=y(a,b,z);if(te.done)return te.value;var ue=b.lastIndex;le(ue,0)||(b.lastIndex=0);var me=re(b,z);return le(b.lastIndex,ue)||(b.lastIndex=ue),me===null?-1:me.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,ye,he){"use strict";var ce=E("../internals/function-apply"),ne=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/is-regexp"),ie=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),re=E("../internals/species-constructor"),ee=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),ue=E("../internals/regexp-sticky-helpers"),me=E("../internals/fails"),ve=ue.UNSUPPORTED_Y,ge=4294967295,pe=Math.min,Se=[].push,be=se(/./.exec),Ee=se(Se),Ce=se("".slice),Be=!me(function(){var Pe=/(?:)/,Fe=Pe.exec;Pe.exec=function(){return Fe.apply(this,arguments)};var we="ab".split(Pe);return we.length!==2||we[0]!=="a"||we[1]!=="b"});de("split",function(Pe,Fe,we){var Le;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Le=function(Oe,Ge){var Ne=y(oe(this)),Ue=Ge===void 0?ge:Ge>>>0;if(Ue===0)return[];if(Oe===void 0)return[Ne];if(!le(Oe))return ne(Fe,Ne,Oe,Ue);for(var He=[],Qe=(Oe.ignoreCase?"i":"")+(Oe.multiline?"m":"")+(Oe.unicode?"u":"")+(Oe.sticky?"y":""),We=0,ze=new RegExp(Oe.source,Qe+"g"),_e,Ve,tt;(_e=ne(te,ze,Ne))&&(Ve=ze.lastIndex,!(Ve>We&&(Ee(He,Ce(Ne,We,_e.index)),_e.length>1&&_e.index=Ue)));)ze.lastIndex===_e.index&&ze.lastIndex++;return We===Ne.length?(tt||!be(ze,""))&&Ee(He,""):Ee(He,Ce(Ne,We)),He.length>Ue?b(He,0,Ue):He}:"0".split(void 0,0).length?Le=function(Oe,Ge){return Oe===void 0&&Ge===0?[]:ne(Fe,this,Oe,Ge)}:Le=Fe,[function(Ge,Ne){var Ue=oe(this),He=Ge==null?void 0:x(Ge,Pe);return He?ne(He,Ge,Ue,Ne):ne(Le,y(Ue),Ge,Ne)},function(Oe,Ge){var Ne=ie(this),Ue=y(Oe),He=we(Le,Ne,Ue,Ge,Le!==Fe);if(He.done)return He.value;var Qe=re(Ne,RegExp),We=Ne.unicode,ze=(Ne.ignoreCase?"i":"")+(Ne.multiline?"m":"")+(Ne.unicode?"u":"")+(ve?"g":"y"),_e=new Qe(ve?"^(?:"+Ne.source+")":Ne,ze),Ve=Ge===void 0?ge:Ge>>>0;if(Ve===0)return[];if(Ue.length===0)return z(_e,Ue)===null?[Ue]:[];for(var tt=0,et=0,dt=[];et2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").every,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("every",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/function-call"),se=E("../internals/array-fill"),de=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("fill",function(oe){var re=arguments.length;return ne(se,de(this),oe,re>1?arguments[1]:void 0,re>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").filter,se=E("../internals/typed-array-from-species-and-list"),de=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("filter",function(oe){var re=ne(de(this),oe,arguments.length>1?arguments[1]:void 0);return se(this,re)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").findIndex,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("findIndex",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").find,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("find",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").forEach,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("forEach",function(ie){ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").includes,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("includes",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").indexOf,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("indexOf",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,ye,he){"use strict";var ce=E("../internals/global"),ne=E("../internals/fails"),se=E("../internals/function-uncurry-this"),de=E("../internals/array-buffer-view-core"),le=E("../modules/es.array.iterator"),ie=E("../internals/well-known-symbol"),oe=ie("iterator"),re=ce.Uint8Array,ee=se(le.values),a=se(le.keys),y=se(le.entries),x=de.aTypedArray,b=de.exportTypedArrayMethod,z=re&&re.prototype,te=!ne(function(){z[oe].call([1])}),ue=!!z&&z.values&&z[oe]===z.values&&z.values.name==="values",me=function(){return ee(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",me,te||!ue,{name:"values"}),b(oe,me,te||!ue,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/function-uncurry-this"),se=ce.aTypedArray,de=ce.exportTypedArrayMethod,le=ne([].join);de("join",function(oe){return le(se(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/function-apply"),se=E("../internals/array-last-index-of"),de=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("lastIndexOf",function(oe){var re=arguments.length;return ne(se,de(this),re>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").map,se=E("../internals/typed-array-species-constructor"),de=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("map",function(oe){return ne(de(this),oe,arguments.length>1?arguments[1]:void 0,function(re,ee){return new(se(re))(ee)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").right,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("reduceRight",function(ie){var oe=arguments.length;return ne(se(this),ie,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").left,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("reduce",function(ie){var oe=arguments.length;return ne(se(this),ie,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=ce.aTypedArray,se=ce.exportTypedArrayMethod,de=Math.floor;se("reverse",function(){for(var ie=this,oe=ne(ie).length,re=de(oe/2),ee=0,a;ee1?arguments[1]:void 0,1),ge=ie(me);if(z)return ne(y,this,ge,ve);var pe=this.length,Se=de(ge),be=0;if(Se+ve>pe)throw re("Wrong length");for(;beb;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").some,se=ce.aTypedArray,de=ce.exportTypedArrayMethod;de("some",function(ie){return ne(se(this),ie,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,ye,he){"use strict";var ce=E("../internals/global"),ne=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/a-callable"),le=E("../internals/array-sort"),ie=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),re=E("../internals/engine-is-ie-or-edge"),ee=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ie.aTypedArray,x=ie.exportTypedArrayMethod,b=ce.Uint16Array,z=b&&ne(b.prototype.sort),te=!!z&&!(se(function(){z(new b(2),null)})&&se(function(){z(new b(2),{})})),ue=!!z&&!se(function(){if(ee)return ee<74;if(oe)return oe<67;if(re)return!0;if(a)return a<602;var ve=new b(516),ge=Array(516),pe,Se;for(pe=0;pe<516;pe++)Se=pe%4,ve[pe]=515-pe,ge[pe]=pe-2*Se+3;for(z(ve,function(be,Ee){return(be/4|0)-(Ee/4|0)}),pe=0;pe<516;pe++)if(ve[pe]!==ge[pe])return!0}),me=function(ve){return function(ge,pe){return ve!==void 0?+ve(ge,pe)||0:pe!==pe?-1:ge!==ge?1:ge===0&&pe===0?1/ge>0&&1/pe<0?1:-1:ge>pe}};x("sort",function(ge){return ge!==void 0&&de(ge),ue?z(this,ge):le(y(this),me(ge))},!ue||te)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core"),ne=E("../internals/to-length"),se=E("../internals/to-absolute-index"),de=E("../internals/typed-array-species-constructor"),le=ce.aTypedArray,ie=ce.exportTypedArrayMethod;ie("subarray",function(re,ee){var a=le(this),y=a.length,x=se(re,y),b=de(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,ne((ee===void 0?y:se(ee,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,ye,he){"use strict";var ce=E("../internals/global"),ne=E("../internals/function-apply"),se=E("../internals/array-buffer-view-core"),de=E("../internals/fails"),le=E("../internals/array-slice"),ie=ce.Int8Array,oe=se.aTypedArray,re=se.exportTypedArrayMethod,ee=[].toLocaleString,a=!!ie&&de(function(){ee.call(new ie(1))}),y=de(function(){return[1,2].toLocaleString()!=new ie([1,2]).toLocaleString()})||!de(function(){ie.prototype.toLocaleString.call([1,2])});re("toLocaleString",function(){return ne(ee,a?le(oe(this)):oe(this),le(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,ye,he){"use strict";var ce=E("../internals/array-buffer-view-core").exportTypedArrayMethod,ne=E("../internals/fails"),se=E("../internals/global"),de=E("../internals/function-uncurry-this"),le=se.Uint8Array,ie=le&&le.prototype||{},oe=[].toString,re=de([].join);ne(function(){oe.call({})})&&(oe=function(){return re(this)});var ee=ie.toString!=oe;ce("toString",oe,ee)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,ye,he){var ce=E("../internals/typed-array-constructor");ce("Uint8",function(ne){return function(de,le,ie){return ne(this,de,le,ie)}})},{"../internals/typed-array-constructor":258}],339:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../internals/array-for-each"),le=E("../internals/create-non-enumerable-property"),ie=function(re){if(re&&re.forEach!==de)try{le(re,"forEach",de)}catch(ee){re.forEach=de}};for(var oe in ne)ne[oe]&&ie(ce[oe]&&ce[oe].prototype);ie(se)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,ye,he){var ce=E("../internals/global"),ne=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../modules/es.array.iterator"),le=E("../internals/create-non-enumerable-property"),ie=E("../internals/well-known-symbol"),oe=ie("iterator"),re=ie("toStringTag"),ee=de.values,a=function(x,b){if(x){if(x[oe]!==ee)try{le(x,oe,ee)}catch(te){x[oe]=ee}if(x[re]||le(x,re,b),ne[b]){for(var z in de)if(x[z]!==de[z])try{le(x,z,de[z])}catch(te){x[z]=de[z]}}}};for(var y in ne)a(ce[y]&&ce[y].prototype,y);a(se,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,ye,he){function ce(ue){return Array.isArray?Array.isArray(ue):te(ue)==="[object Array]"}he.isArray=ce;function ne(ue){return typeof ue=="boolean"}he.isBoolean=ne;function se(ue){return ue===null}he.isNull=se;function de(ue){return ue==null}he.isNullOrUndefined=de;function le(ue){return typeof ue=="number"}he.isNumber=le;function ie(ue){return typeof ue=="string"}he.isString=ie;function oe(ue){return typeof ue=="symbol"}he.isSymbol=oe;function re(ue){return ue===void 0}he.isUndefined=re;function ee(ue){return te(ue)==="[object RegExp]"}he.isRegExp=ee;function a(ue){return typeof ue=="object"&&ue!==null}he.isObject=a;function y(ue){return te(ue)==="[object Date]"}he.isDate=y;function x(ue){return te(ue)==="[object Error]"||ue instanceof Error}he.isError=x;function b(ue){return typeof ue=="function"}he.isFunction=b;function z(ue){return ue===null||typeof ue=="boolean"||typeof ue=="number"||typeof ue=="string"||typeof ue=="symbol"||typeof ue=="undefined"}he.isPrimitive=z,he.isBuffer=E("buffer").Buffer.isBuffer;function te(ue){return Object.prototype.toString.call(ue)}},{buffer:90}],342:[function(E,ye,he){(function(ce){"use strict";var ne=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,re=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ee=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ie(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(ne.masks[y]||y||ne.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var te=x?"getUTC":"get",ue=a[te+"Date"](),me=a[te+"Day"](),ve=a[te+"Month"](),ge=a[te+"FullYear"](),pe=a[te+"Hours"](),Se=a[te+"Minutes"](),be=a[te+"Seconds"](),Ee=a[te+"Milliseconds"](),Ce=x?0:a.getTimezoneOffset(),Be=de(a),Pe=le(a),Fe={d:ue,dd:se(ue),ddd:ne.i18n.dayNames[me],dddd:ne.i18n.dayNames[me+7],m:ve+1,mm:se(ve+1),mmm:ne.i18n.monthNames[ve],mmmm:ne.i18n.monthNames[ve+12],yy:String(ge).slice(2),yyyy:ge,h:pe%12||12,hh:se(pe%12||12),H:pe,HH:se(pe),M:Se,MM:se(Se),s:be,ss:se(be),l:se(Ee,3),L:se(Math.round(Ee/10)),t:pe<12?"a":"p",tt:pe<12?"am":"pm",T:pe<12?"A":"P",TT:pe<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(re)||[""]).pop().replace(ee,""),o:(Ce>0?"-":"+")+se(Math.floor(Math.abs(Ce)/60)*100+Math.abs(Ce)%60,4),S:["th","st","nd","rd"][ue%10>3?0:(ue%100-ue%10!=10)*ue%10],W:Be,N:Pe};return y.replace(oe,function(we){return we in Fe?Fe[we]:we.slice(1,we.length-1)})}}();ne.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},ne.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function se(oe,re){for(oe=String(oe),re=re||2;oe.length]/;ye.exports=ne;function ne(se){var de=""+se,le=ce.exec(de);if(!le)return de;var ie,oe="",re=0,ee=0;for(re=le.index;re0&&(Fe=Ee[0]),Fe instanceof Error)throw Fe;var we=new Error("Unhandled error."+(Fe?" ("+Fe.message+")":""));throw we.context=Fe,we}var Le=Pe[be];if(Le===void 0)return!1;if(typeof Le=="function")ne(Le,this,Ee);else for(var Oe=Le.length,Ge=te(Le,Oe),Ce=0;Ce0&&Fe.length>Be&&!Fe.warned){Fe.warned=!0;var we=new Error("Possible EventEmitter memory leak detected. "+Fe.length+" "+String(be)+" listeners added. Use emitter.setMaxListeners() to increase limit");we.name="MaxListenersExceededWarning",we.emitter=Se,we.type=be,we.count=Fe.length,de(we)}return Se}ie.prototype.addListener=function(be,Ee){return a(this,be,Ee,!1)},ie.prototype.on=ie.prototype.addListener,ie.prototype.prependListener=function(be,Ee){return a(this,be,Ee,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(Se,be,Ee){var Ce={fired:!1,wrapFn:void 0,target:Se,type:be,listener:Ee},Be=y.bind(Ce);return Be.listener=Ee,Ce.wrapFn=Be,Be}ie.prototype.once=function(be,Ee){return re(Ee),this.on(be,x(this,be,Ee)),this},ie.prototype.prependOnceListener=function(be,Ee){return re(Ee),this.prependListener(be,x(this,be,Ee)),this},ie.prototype.removeListener=function(be,Ee){var Ce,Be,Pe,Fe,we;if(re(Ee),Be=this._events,Be===void 0)return this;if(Ce=Be[be],Ce===void 0)return this;if(Ce===Ee||Ce.listener===Ee)--this._eventsCount===0?this._events=Object.create(null):(delete Be[be],Be.removeListener&&this.emit("removeListener",be,Ce.listener||Ee));else if(typeof Ce!="function"){for(Pe=-1,Fe=Ce.length-1;Fe>=0;Fe--)if(Ce[Fe]===Ee||Ce[Fe].listener===Ee){we=Ce[Fe].listener,Pe=Fe;break}if(Pe<0)return this;Pe===0?Ce.shift():ue(Ce,Pe),Ce.length===1&&(Be[be]=Ce[0]),Be.removeListener!==void 0&&this.emit("removeListener",be,we||Ee)}return this},ie.prototype.off=ie.prototype.removeListener,ie.prototype.removeAllListeners=function(be){var Ee,Ce,Be;if(Ce=this._events,Ce===void 0)return this;if(Ce.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Ce[be]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Ce[be]),this;if(arguments.length===0){var Pe=Object.keys(Ce),Fe;for(Be=0;Be=0;Be--)this.removeListener(be,Ee[Be]);return this};function b(Se,be,Ee){var Ce=Se._events;if(Ce===void 0)return[];var Be=Ce[be];return Be===void 0?[]:typeof Be=="function"?Ee?[Be.listener||Be]:[Be]:Ee?me(Be):te(Be,Be.length)}ie.prototype.listeners=function(be){return b(this,be,!0)},ie.prototype.rawListeners=function(be){return b(this,be,!1)},ie.listenerCount=function(Se,be){return typeof Se.listenerCount=="function"?Se.listenerCount(be):z.call(Se,be)},ie.prototype.listenerCount=z;function z(Se){var be=this._events;if(be!==void 0){var Ee=be[Se];if(typeof Ee=="function")return 1;if(Ee!==void 0)return Ee.length}return 0}ie.prototype.eventNames=function(){return this._eventsCount>0?se(this._events):[]};function te(Se,be){for(var Ee=new Array(be),Ce=0;Ce=3&&(x=y),ne.call(ee)==="[object Array]"?de(ee,a,x):typeof ee=="string"?le(ee,a,x):ie(ee,a,x)};ye.exports=oe},{"is-callable":367}],346:[function(E,ye,he){"use strict";var ce="Function.prototype.bind called on incompatible ",ne=Array.prototype.slice,se=Object.prototype.toString,de="[object Function]";ye.exports=function(ie){var oe=this;if(typeof oe!="function"||se.call(oe)!==de)throw new TypeError(ce+oe);for(var re=ne.call(arguments,1),ee,a=function(){if(this instanceof ee){var te=oe.apply(this,re.concat(ne.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ie,re.concat(ne.call(arguments)))},y=Math.max(0,oe.length-re.length),x=[],b=0;b1&&typeof Ge!="boolean")throw new de('"allowMissing" argument must be a boolean');if(Ce(/^%?[^%]*%?$/,Oe)===null)throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ne=Fe(Oe),Ue=Ne.length>0?Ne[0]:"",He=we("%"+Ue+"%",Ge),Qe=He.name,We=He.value,ze=!1,_e=He.alias;_e&&(Ue=_e[0],Se(Ne,pe([0,1],_e)));for(var Ve=1,tt=!0;Ve=Ne.length){var Ze=ie(We,et);tt=!!Ze,tt&&"get"in Ze&&!("originalValue"in Ze.get)?We=Ze.get:We=We[et]}else tt=ge(We,et),We=We[et];tt&&!ze&&(z[Qe]=We)}}return We}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,ye,he){"use strict";var ce=E("get-intrinsic"),ne=ce("%Object.getOwnPropertyDescriptor%",!0);if(ne)try{ne([],"length")}catch(se){ne=null}ye.exports=ne},{"get-intrinsic":348}],350:[function(E,ye,he){"use strict";var ce={foo:{}},ne=Object;ye.exports=function(){return{__proto__:ce}.foo===ce.foo&&!({__proto__:null}instanceof ne)}},{}],351:[function(E,ye,he){"use strict";var ce=typeof Symbol!="undefined"&&Symbol,ne=E("./shams");ye.exports=function(){return typeof ce!="function"||typeof Symbol!="function"||typeof ce("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ne()}},{"./shams":352}],352:[function(E,ye,he){"use strict";ye.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ne={},se=Symbol("test"),de=Object(se);if(typeof se=="string"||Object.prototype.toString.call(se)!=="[object Symbol]"||Object.prototype.toString.call(de)!=="[object Symbol]")return!1;var le=42;ne[se]=le;for(se in ne)return!1;if(typeof Object.keys=="function"&&Object.keys(ne).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ne).length!==0)return!1;var ie=Object.getOwnPropertySymbols(ne);if(ie.length!==1||ie[0]!==se||!Object.prototype.propertyIsEnumerable.call(ne,se))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(ne,se);if(oe.value!==le||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,ye,he){"use strict";var ce=E("has-symbols/shams");ye.exports=function(){return ce()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,ye,he){"use strict";var ce=E("function-bind");ye.exports=ce.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,ye,he){var ce=E("http"),ne=E("url"),se=ye.exports;for(var de in ce)ce.hasOwnProperty(de)&&(se[de]=ce[de]);se.request=function(ie,oe){return ie=le(ie),ce.request.call(this,ie,oe)},se.get=function(ie,oe){return ie=le(ie),ce.get.call(this,ie,oe)};function le(ie){if(typeof ie=="string"&&(ie=ne.parse(ie)),ie.protocol||(ie.protocol="https:"),ie.protocol!=="https:")throw new Error('Protocol "'+ie.protocol+'" not supported. Expected "https:"');return ie}},{http:468,url:472}],356:[function(E,ye,he){"use strict";var ce=E("util"),ne=E("ms");ye.exports=function(se){if(typeof se=="number")return se;var de=ne(se);if(de===void 0){var le=new Error(ce.format("humanize-ms(%j) result undefined",se));console.warn(le.stack)}return de}},{ms:376,util:419}],357:[function(E,ye,he){he.read=function(ce,ne,se,de,le){var ie,oe,re=le*8-de-1,ee=(1<>1,y=-7,x=se?le-1:0,b=se?-1:1,z=ce[ne+x];for(x+=b,ie=z&(1<<-y)-1,z>>=-y,y+=re;y>0;ie=ie*256+ce[ne+x],x+=b,y-=8);for(oe=ie&(1<<-y)-1,ie>>=-y,y+=de;y>0;oe=oe*256+ce[ne+x],x+=b,y-=8);if(ie===0)ie=1-a;else{if(ie===ee)return oe?NaN:(z?-1:1)*(1/0);oe=oe+Math.pow(2,de),ie=ie-a}return(z?-1:1)*oe*Math.pow(2,ie-de)},he.write=function(ce,ne,se,de,le,ie){var oe,re,ee,a=ie*8-le-1,y=(1<>1,b=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=de?0:ie-1,te=de?1:-1,ue=ne<0||ne===0&&1/ne<0?1:0;for(ne=Math.abs(ne),isNaN(ne)||ne===1/0?(re=isNaN(ne)?1:0,oe=y):(oe=Math.floor(Math.log(ne)/Math.LN2),ne*(ee=Math.pow(2,-oe))<1&&(oe--,ee*=2),oe+x>=1?ne+=b/ee:ne+=b*Math.pow(2,1-x),ne*ee>=2&&(oe++,ee/=2),oe+x>=y?(re=0,oe=y):oe+x>=1?(re=(ne*ee-1)*Math.pow(2,le),oe=oe+x):(re=ne*Math.pow(2,x-1)*Math.pow(2,le),oe=0));le>=8;ce[se+z]=re&255,z+=te,re/=256,le-=8);for(oe=oe<0;ce[se+z]=oe&255,z+=te,oe/=256,a-=8);ce[se+z-te]|=ue*128}},{}],358:[function(E,ye,he){"use strict";var ce=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],ne,se,de=-1,le=[],ie=!1;function oe(){!ne||!se||(ne=!1,se.length?le=se.concat(le):de=-1,le.length&&re())}function re(){if(!ne){ie=!1,ne=!0;for(var z=le.length,te=setTimeout(oe);z;){for(se=le,le=[];se&&++de1)for(var ue=1;ue=0&&se(re)!=="[object Array]"&&se(re.callee)==="[object Function]"},ie=function(){return de(arguments)}();de.isLegacyArguments=le,ye.exports=ie?de:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,ye,he){ye.exports=function(se){return se!=null&&(ce(se)||ne(se)||!!se._isBuffer)};function ce(se){return!!se.constructor&&typeof se.constructor.isBuffer=="function"&&se.constructor.isBuffer(se)}function ne(se){return typeof se.readFloatLE=="function"&&typeof se.slice=="function"&&ce(se.slice(0,0))}},{}],367:[function(E,ye,he){"use strict";var ce=Function.prototype.toString,ne=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,se,de;if(typeof ne=="function"&&typeof Object.defineProperty=="function")try{se=Object.defineProperty({},"length",{get:function(){throw de}}),de={},ne(function(){throw 42},null,se)}catch(ge){ge!==de&&(ne=null)}else ne=null;var le=/^\s*class\b/,ie=function(pe){try{var Se=ce.call(pe);return le.test(Se)}catch(be){return!1}},oe=function(pe){try{return ie(pe)?!1:(ce.call(pe),!0)}catch(Se){return!1}},re=Object.prototype.toString,ee="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,ue=!(0 in[,]),me=function(){return!1};if(typeof document=="object"){var ve=document.all;re.call(ve)===re.call(document.all)&&(me=function(pe){if((ue||!pe)&&(typeof pe=="undefined"||typeof pe=="object"))try{var Se=re.call(pe);return(Se===x||Se===b||Se===z||Se===ee)&&pe("")==null}catch(be){}return!1})}ye.exports=ne?function(pe){if(me(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;try{ne(pe,null,se)}catch(Se){if(Se!==de)return!1}return!ie(pe)&&oe(pe)}:function(pe){if(me(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;if(te)return oe(pe);if(ie(pe))return!1;var Se=re.call(pe);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(pe)}},{}],368:[function(E,ye,he){"use strict";var ce=Object.prototype.toString,ne=Function.prototype.toString,se=/^\s*(?:function)?\*/,de=E("has-tostringtag/shams")(),le=Object.getPrototypeOf,ie=function(){if(!de)return!1;try{return Function("return function*() {}")()}catch(re){}},oe;ye.exports=function(ee){if(typeof ee!="function")return!1;if(se.test(ne.call(ee)))return!0;if(!de){var a=ce.call(ee);return a==="[object GeneratorFunction]"}if(!le)return!1;if(typeof oe=="undefined"){var y=ie();oe=y?le(y):!1}return le(ee)===oe}},{"has-tostringtag/shams":353}],369:[function(E,ye,he){"use strict";var ce=E("which-typed-array");ye.exports=function(se){return!!ce(se)}},{"which-typed-array":420}],370:[function(E,ye,he){var ce={}.toString;ye.exports=Array.isArray||function(ne){return ce.call(ne)=="[object Array]"}},{}],371:[function(E,ye,he){(function(ce){(function(){(function(ne,se){typeof he=="object"&&typeof ye!="undefined"?ye.exports=se(ne):typeof fe=="function"&&fe.amd?fe(se):se(ne)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ce!="undefined"?ce:this,function(ne){"use strict";ne=ne||{};var se=ne.Base64,de="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(Oe){for(var Ge={},Ne=0,Ue=Oe.length;Ne>>6)+oe(128|Ge&63):oe(224|Ge>>>12&15)+oe(128|Ge>>>6&63)+oe(128|Ge&63)}else{var Ge=65536+(Oe.charCodeAt(0)-55296)*1024+(Oe.charCodeAt(1)-56320);return oe(240|Ge>>>18&7)+oe(128|Ge>>>12&63)+oe(128|Ge>>>6&63)+oe(128|Ge&63)}},ee=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Oe){return Oe.replace(ee,re)},y=function(Oe){var Ge=[0,2,1][Oe.length%3],Ne=Oe.charCodeAt(0)<<16|(Oe.length>1?Oe.charCodeAt(1):0)<<8|(Oe.length>2?Oe.charCodeAt(2):0),Ue=[le.charAt(Ne>>>18),le.charAt(Ne>>>12&63),Ge>=2?"=":le.charAt(Ne>>>6&63),Ge>=1?"=":le.charAt(Ne&63)];return Ue.join("")},x=ne.btoa&&typeof ne.btoa=="function"?function(Oe){return ne.btoa(Oe)}:function(Oe){if(Oe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Oe.replace(/[\s\S]{1,3}/g,y)},b=function(Oe){return x(a(String(Oe)))},z=function(Oe){return Oe.replace(/[+\/]/g,function(Ge){return Ge=="+"?"-":"_"}).replace(/=/g,"")},te=function(Oe,Ge){return Ge?z(b(Oe)):b(Oe)},ue=function(Oe){return te(Oe,!0)},me;ne.Uint8Array&&(me=function(Oe,Ge){for(var Ne="",Ue=0,He=Oe.length;Ue>>18)+le.charAt(_e>>>12&63)+(typeof We!="undefined"?le.charAt(_e>>>6&63):"=")+(typeof ze!="undefined"?le.charAt(_e&63):"=")}return Ge?z(Ne):Ne});var ve=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ge=function(Oe){switch(Oe.length){case 4:var Ge=(7&Oe.charCodeAt(0))<<18|(63&Oe.charCodeAt(1))<<12|(63&Oe.charCodeAt(2))<<6|63&Oe.charCodeAt(3),Ne=Ge-65536;return oe((Ne>>>10)+55296)+oe((Ne&1023)+56320);case 3:return oe((15&Oe.charCodeAt(0))<<12|(63&Oe.charCodeAt(1))<<6|63&Oe.charCodeAt(2));default:return oe((31&Oe.charCodeAt(0))<<6|63&Oe.charCodeAt(1))}},pe=function(Oe){return Oe.replace(ve,ge)},Se=function(Oe){var Ge=Oe.length,Ne=Ge%4,Ue=(Ge>0?ie[Oe.charAt(0)]<<18:0)|(Ge>1?ie[Oe.charAt(1)]<<12:0)|(Ge>2?ie[Oe.charAt(2)]<<6:0)|(Ge>3?ie[Oe.charAt(3)]:0),He=[oe(Ue>>>16),oe(Ue>>>8&255),oe(Ue&255)];return He.length-=[0,0,2,1][Ne],He.join("")},be=ne.atob&&typeof ne.atob=="function"?function(Oe){return ne.atob(Oe)}:function(Oe){return Oe.replace(/\S{1,4}/g,Se)},Ee=function(Oe){return be(String(Oe).replace(/[^A-Za-z0-9\+\/]/g,""))},Ce=function(Oe){return pe(be(Oe))},Be=function(Oe){return String(Oe).replace(/[-_]/g,function(Ge){return Ge=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(Oe){return Ce(Be(Oe))},Fe;ne.Uint8Array&&(Fe=function(Oe){return Uint8Array.from(Ee(Be(Oe)),function(Ge){return Ge.charCodeAt(0)})});var we=function(){var Oe=ne.Base64;return ne.Base64=se,Oe};if(ne.Base64={VERSION:de,atob:Ee,btoa:x,fromBase64:Pe,toBase64:te,utob:a,encode:te,encodeURI:ue,btou:pe,decode:Pe,noConflict:we,fromUint8Array:me,toUint8Array:Fe},typeof Object.defineProperty=="function"){var Le=function(Oe){return{value:Oe,enumerable:!1,writable:!0,configurable:!0}};ne.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Le(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",Le(function(Oe){return te(this,Oe)})),Object.defineProperty(String.prototype,"toBase64URI",Le(function(){return te(this,!0)}))}}return ne.Meteor&&(Base64=ne.Base64),typeof ye!="undefined"&&ye.exports?ye.exports.Base64=ne.Base64:typeof fe=="function"&&fe.amd&&fe([],function(){return ne.Base64}),{Base64:ne.Base64}})}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,ye,he){"use strict";ye.exports=ne;var ce=Object.prototype.hasOwnProperty;function ne(se,de,le){if(!se)throw new TypeError("argument dest is required");if(!de)throw new TypeError("argument src is required");return le===void 0&&(le=!0),Object.getOwnPropertyNames(de).forEach(function(oe){if(!(!le&&ce.call(se,oe))){var re=Object.getOwnPropertyDescriptor(de,oe);Object.defineProperty(se,oe,re)}}),se}},{}],373:[function(E,ye,he){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function ce(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ne=0;ne0)return oe(y);if(b==="number"&&isFinite(y))return x.long?ee(y):re(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*ie;case"weeks":case"week":case"w":return b*le;case"days":case"day":case"d":return b*de;case"hours":case"hour":case"hrs":case"hr":case"h":return b*se;case"minutes":case"minute":case"mins":case"min":case"m":return b*ne;case"seconds":case"second":case"secs":case"sec":case"s":return b*ce;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function re(y){var x=Math.abs(y);return x>=de?Math.round(y/de)+"d":x>=se?Math.round(y/se)+"h":x>=ne?Math.round(y/ne)+"m":x>=ce?Math.round(y/ce)+"s":y+"ms"}function ee(y){var x=Math.abs(y);return x>=de?a(y,x,de,"day"):x>=se?a(y,x,se,"hour"):x>=ne?a(y,x,ne,"minute"):x>=ce?a(y,x,ce,"second"):y+" ms"}function a(y,x,b,z){var te=x>=b*1.5;return Math.round(y/b)+" "+z+(te?"s":"")}},{}],377:[function(E,ye,he){"use strict";var ce=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function de(ie){if(ie==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ie)}function le(){try{if(!Object.assign)return!1;var ie=new String("abc");if(ie[5]="de",Object.getOwnPropertyNames(ie)[0]==="5")return!1;for(var oe={},re=0;re<10;re++)oe["_"+String.fromCharCode(re)]=re;var ee=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(ee.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}ye.exports=le()?Object.assign:function(ie,oe){for(var re,ee=de(ie),a,y=1;y2){var z=re.lastIndexOf("/");if(z!==re.length-1){z===-1?(re="",ee=0):(re=re.slice(0,z),ee=re.length-1-re.lastIndexOf("/")),a=b,y=0;continue}}else if(re.length===2||re.length===1){re="",ee=0,a=b,y=0;continue}}oe&&(re.length>0?re+="/..":re="..",ee=2)}else re.length>0?re+="/"+ie.slice(a+1,b):re=ie.slice(a+1,b),ee=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return re}function de(ie,oe){var re=oe.dir||oe.root,ee=oe.base||(oe.name||"")+(oe.ext||"");return re?re===oe.root?re+ee:re+ie+ee:ee}var le={resolve:function(){for(var oe="",re=!1,ee,a=arguments.length-1;a>=-1&&!re;a--){var y;a>=0?y=arguments[a]:(ee===void 0&&(ee=ce.cwd()),y=ee),ne(y),y.length!==0&&(oe=y+"/"+oe,re=y.charCodeAt(0)===47)}return oe=se(oe,!re),re?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(ne(oe),oe.length===0)return".";var re=oe.charCodeAt(0)===47,ee=oe.charCodeAt(oe.length-1)===47;return oe=se(oe,!re),oe.length===0&&!re&&(oe="."),oe.length>0&&ee&&(oe+="/"),re?"/"+oe:oe},isAbsolute:function(oe){return ne(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,re=0;re0&&(oe===void 0?oe=ee:oe+="/"+ee)}return oe===void 0?".":le.normalize(oe)},relative:function(oe,re){if(ne(oe),ne(re),oe===re||(oe=le.resolve(oe),re=le.resolve(re),oe===re))return"";for(var ee=1;eete){if(re.charCodeAt(x+me)===47)return re.slice(x+me+1);if(me===0)return re.slice(x+me)}else y>te&&(oe.charCodeAt(ee+me)===47?ue=me:me===0&&(ue=0));break}var ve=oe.charCodeAt(ee+me),ge=re.charCodeAt(x+me);if(ve!==ge)break;ve===47&&(ue=me)}var pe="";for(me=ee+ue+1;me<=a;++me)(me===a||oe.charCodeAt(me)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+re.slice(x+ue):(x+=ue,re.charCodeAt(x)===47&&++x,re.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(ne(oe),oe.length===0)return".";for(var re=oe.charCodeAt(0),ee=re===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(re=oe.charCodeAt(x),re===47){if(!y){a=x;break}}else y=!1;return a===-1?ee?"/":".":ee&&a===1?"//":oe.slice(0,a)},basename:function(oe,re){if(re!==void 0&&typeof re!="string")throw new TypeError('"ext" argument must be a string');ne(oe);var ee=0,a=-1,y=!0,x;if(re!==void 0&&re.length>0&&re.length<=oe.length){if(re.length===oe.length&&re===oe)return"";var b=re.length-1,z=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){ee=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(te===re.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ee===a?a=z:a===-1&&(a=oe.length),oe.slice(ee,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){ee=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(ee,a)}},extname:function(oe){ne(oe);for(var re=-1,ee=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var z=oe.charCodeAt(b);if(z===47){if(!y){ee=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?re===-1?re=b:x!==1&&(x=1):re!==-1&&(x=-1)}return re===-1||a===-1||x===0||x===1&&re===a-1&&re===ee+1?"":oe.slice(re,a)},format:function(oe){if(oe===null||typeof oe!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof oe);return de("/",oe)},parse:function(oe){ne(oe);var re={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return re;var ee=oe.charCodeAt(0),a=ee===47,y;a?(re.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,te=!0,ue=oe.length-1,me=0;ue>=y;--ue){if(ee=oe.charCodeAt(ue),ee===47){if(!te){b=ue+1;break}continue}z===-1&&(te=!1,z=ue+1),ee===46?x===-1?x=ue:me!==1&&(me=1):x!==-1&&(me=-1)}return x===-1||z===-1||me===0||me===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?re.base=re.name=oe.slice(1,z):re.base=re.name=oe.slice(b,z)):(b===0&&a?(re.name=oe.slice(1,x),re.base=oe.slice(1,z)):(re.name=oe.slice(b,x),re.base=oe.slice(b,z)),re.ext=oe.slice(x,z)),b>0?re.dir=oe.slice(0,b-1):a&&(re.dir="/"),re},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,ye.exports=le}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,ye,he){(function(ce){(function(){(function(){"use strict";var ne={function:!0,object:!0},se=ne[typeof window]&&window||this,de=se,le=ne[typeof he]&&he,ie=ne[typeof ye]&&ye&&!ye.nodeType&&ye,oe=le&&ie&&typeof ce=="object"&&ce;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(se=oe);var re=Math.pow(2,53)-1,ee=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(Pe){return Pe=String(Pe),Pe.charAt(0).toUpperCase()+Pe.slice(1)}function te(Pe,Fe,we){var Le={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Fe&&we&&/^Win/i.test(Pe)&&!/^Windows Phone /i.test(Pe)&&(Le=Le[/[\d.]+$/.exec(Pe)])&&(Pe="Windows "+Le),Pe=String(Pe),Fe&&we&&(Pe=Pe.replace(RegExp(Fe,"i"),we)),Pe=me(Pe.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),Pe}function ue(Pe,Fe){var we=-1,Le=Pe?Pe.length:0;if(typeof Le=="number"&&Le>-1&&Le<=re)for(;++we3&&"WebKit"||/\bOpera\b/.test(Te)&&(/\bOPR\b/.test(Pe)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Pe)&&!/^(?:Trident|EdgeHTML)$/.test(De)&&"WebKit"||!De&&/\bMSIE\b/i.test(Pe)&&(Xe=="Mac OS"?"Tasman":"Trident")||De=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Te)&&"NetFront")&&(De=[Me]),Te=="IE"&&(Me=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Pe)||0)[1])?(Te+=" Mobile",Xe="Windows Phone "+(/\+$/.test(Me)?Me:Me+".x"),Ie.unshift("desktop mode")):/\bWPDesktop\b/i.test(Pe)?(Te="IE Mobile",Xe="Windows Phone 8.x",Ie.unshift("desktop mode"),Ye||(Ye=(/\brv:([\d.]+)/.exec(Pe)||0)[1])):Te!="IE"&&De=="Trident"&&(Me=/\brv:([\d.]+)/.exec(Pe))&&(Te&&Ie.push("identifying as "+Te+(Ye?" "+Ye:"")),Te="IE",Ye=Me[1]),Je){if(pe(Fe,"global"))if(_e&&(Me=_e.lang.System,qe=Me.getProperty("os.arch"),Xe=Xe||Me.getProperty("os.name")+" "+Me.getProperty("os.version")),Ve){try{Ye=Fe.require("ringo/engine").version.join("."),Te="RingoJS"}catch(it){(Me=Fe.system)&&Me.global.system==Fe.system&&(Te="Narwhal",Xe||(Xe=Me[0].os||null))}Te||(Te="Rhino")}else typeof Fe.process=="object"&&!Fe.process.browser&&(Me=Fe.process)&&(typeof Me.versions=="object"&&(typeof Me.versions.electron=="string"?(Ie.push("Node "+Me.versions.node),Te="Electron",Ye=Me.versions.electron):typeof Me.versions.nw=="string"&&(Ie.push("Chromium "+Ye,"Node "+Me.versions.node),Te="NW.js",Ye=Me.versions.nw)),Te||(Te="Node.js",qe=Me.arch,Xe=Me.platform,Ye=/[\d.]+/.exec(Me.version),Ye=Ye?Ye[0]:null));else ge(Me=Fe.runtime)==He?(Te="Adobe AIR",Xe=Me.flash.system.Capabilities.os):ge(Me=Fe.phantom)==ze?(Te="PhantomJS",Ye=(Me=Me.version||null)&&Me.major+"."+Me.minor+"."+Me.patch):typeof dt.documentMode=="number"&&(Me=/\bTrident\/(\d+)/i.exec(Pe))?(Ye=[Ye,dt.documentMode],(Me=+Me[1]+4)!=Ye[1]&&(Ie.push("IE "+Ye[1]+" mode"),De&&(De[1]=""),Ye[1]=Me),Ye=Te=="IE"?String(Ye[1].toFixed(1)):Ye[0]):typeof dt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Te)&&(Ie.push("masking as "+Te+" "+Ye),Te="IE",Ye="11.0",De=["Trident"],Xe="Windows");Xe=Xe&&me(Xe)}if(Ye&&(Me=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ye)||/(?:alpha|beta)(?: ?\d)?/i.exec(Pe+";"+(Je&&Le.appMinorVersion))||/\bMinefield\b/i.test(Pe)&&"a")&&(je=/b/i.test(Me)?"beta":"alpha",Ye=Ye.replace(RegExp(Me+"\\+?$"),"")+(je=="beta"?et:tt)+(/\d+\+?/.exec(Me)||"")),Te=="Fennec"||Te=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Xe))Te="Firefox Mobile";else if(Te=="Maxthon"&&Ye)Ye=Ye.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(xe))xe=="Xbox 360"&&(Xe=null),xe=="Xbox 360"&&/\bIEMobile\b/.test(Pe)&&Ie.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Te)||Te&&!xe&&!/Browser|Mobi/.test(Te))&&(Xe=="Windows CE"||/Mobi/i.test(Pe)))Te+=" Mobile";else if(Te=="IE"&&Je)try{Fe.external===null&&Ie.unshift("platform preview")}catch(it){Ie.unshift("embedded")}else(/\bBlackBerry\b/.test(xe)||/\bBB10\b/.test(Pe))&&(Me=(RegExp(xe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Pe)||0)[1]||Ye)?(Me=[Me,/BB10/.test(Pe)],Xe=(Me[1]?(xe=null,Re="BlackBerry"):"Device Software")+" "+Me[0],Ye=null):this!=ve&&xe!="Wii"&&(Je&&$e||/Opera/.test(Te)&&/\b(?:MSIE|Firefox)\b/i.test(Pe)||Te=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Xe)||Te=="IE"&&(Xe&&!/^Win/.test(Xe)&&Ye>5.5||/\bWindows XP\b/.test(Xe)&&Ye>8||Ye==8&&!/\bTrident\b/.test(Pe)))&&!ee.test(Me=Ce.call(ve,Pe.replace(ee,"")+";"))&&Me.name&&(Me="ing as "+Me.name+((Me=Me.version)?" "+Me:""),ee.test(Te)?(/\bIE\b/.test(Me)&&Xe=="Mac OS"&&(Xe=null),Me="identify"+Me):(Me="mask"+Me,Ze?Te=me(Ze.replace(/([a-z])([A-Z])/g,"$1 $2")):Te="Opera",/\bIE\b/.test(Me)&&(Xe=null),Je||(Ye=null)),De=["Presto"],Ie.push(Me));(Me=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Pe)||0)[1])&&(Me=[parseFloat(Me.replace(/\.(\d)$/,".0$1")),Me],Te=="Safari"&&Me[1].slice(-1)=="+"?(Te="WebKit Nightly",je="alpha",Ye=Me[1].slice(0,-1)):(Ye==Me[1]||Ye==(Me[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Pe)||0)[1]))&&(Ye=null),Me[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Pe)||0)[1],Me[0]==537.36&&Me[2]==537.36&&parseFloat(Me[1])>=28&&De=="WebKit"&&(De=["Blink"]),!Je||!Ne&&!Me[1]?(De&&(De[1]="like Safari"),Me=(Me=Me[0],Me<400?1:Me<500?2:Me<526?3:Me<533?4:Me<534?"4+":Me<535?5:Me<537?6:Me<538?7:Me<601?8:Me<602?9:Me<604?10:Me<606?11:Me<608?12:"12")):(De&&(De[1]="like Chrome"),Me=Me[1]||(Me=Me[0],Me<530?1:Me<532?2:Me<532.05?3:Me<533?4:Me<534.03?5:Me<534.07?6:Me<534.1?7:Me<534.13?8:Me<534.16?9:Me<534.24?10:Me<534.3?11:Me<535.01?12:Me<535.02?"13+":Me<535.07?15:Me<535.11?16:Me<535.19?17:Me<536.05?18:Me<536.1?19:Me<537.01?20:Me<537.11?"21+":Me<537.13?23:Me<537.18?24:Me<537.24?25:Me<537.36?26:De!="Blink"?"27":"28")),De&&(De[1]+=" "+(Me+=typeof Me=="number"?".x":/[.+]/.test(Me)?"":"+")),Te=="Safari"&&(!Ye||parseInt(Ye)>45)?Ye=Me:Te=="Chrome"&&/\bHeadlessChrome/i.test(Pe)&&Ie.unshift("headless")),Te=="Opera"&&(Me=/\bzbov|zvav$/.exec(Xe))?(Te+=" ",Ie.unshift("desktop mode"),Me=="zvav"?(Te+="Mini",Ye=null):Te+="Mobile",Xe=Xe.replace(RegExp(" *"+Me+"$"),"")):Te=="Safari"&&/\bChrome\b/.exec(De&&De[1])?(Ie.unshift("desktop mode"),Te="Chrome Mobile",Ye=null,/\bOS X\b/.test(Xe)?(Re="Apple",Xe="iOS 4.3+"):Xe=null):/\bSRWare Iron\b/.test(Te)&&!Ye&&(Ye=pt("Chrome")),Ye&&Ye.indexOf(Me=/[\d.]+$/.exec(Xe))==0&&Pe.indexOf("/"+Me+"-")>-1&&(Xe=Ee(Xe.replace(Me,""))),Xe&&Xe.indexOf(Te)!=-1&&!RegExp(Te+" OS").test(Xe)&&(Xe=Xe.replace(RegExp(" *"+Se(Te)+" *"),"")),De&&!/\b(?:Avant|Nook)\b/.test(Te)&&(/Browser|Lunascape|Maxthon/.test(Te)||Te!="Safari"&&/^iOS/.test(Xe)&&/\bSafari\b/.test(De[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Te)&&De[1])&&(Me=De[De.length-1])&&Ie.push(Me),Ie.length&&(Ie=["("+Ie.join("; ")+")"]),Re&&xe&&xe.indexOf(Re)<0&&Ie.push("on "+Re),xe&&Ie.push((/^on /.test(Ie[Ie.length-1])?"":"on ")+xe),Xe&&(Me=/ ([\d.+]+)$/.exec(Xe),ke=Me&&Xe.charAt(Xe.length-Me[0].length-1)=="/",Xe={architecture:32,family:Me&&!ke?Xe.replace(Me[0],""):Xe,version:Me?Me[1]:null,toString:function(){var it=this.version;return this.family+(it&&!ke?" "+it:"")+(this.architecture==64?" 64-bit":"")}}),(Me=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(qe))&&!/\bi686\b/i.test(qe)?(Xe&&(Xe.architecture=64,Xe.family=Xe.family.replace(RegExp(" *"+Me),"")),Te&&(/\bWOW64\b/i.test(Pe)||Je&&/\w(?:86|32)$/.test(Le.cpuClass||Le.platform)&&!/\bWin64; x64\b/i.test(Pe))&&Ie.unshift("32-bit")):Xe&&/^OS X/.test(Xe.family)&&Te=="Chrome"&&parseFloat(Ye)>=39&&(Xe.architecture=64),Pe||(Pe=null);var mt={};return mt.description=Pe,mt.layout=De&&De[0],mt.manufacturer=Re,mt.name=Te,mt.prerelease=je,mt.product=xe,mt.ua=Pe,mt.version=Te&&Ye,mt.os=Xe||{architecture:null,family:null,version:null,toString:function(){return"null"}},mt.parse=Ce,mt.toString=lt,mt.version&&Ie.unshift(Ye),mt.name&&Ie.unshift(Te),Xe&&Te&&!(Xe==String(Xe).split(" ")[0]&&(Xe==Te.split(" ")[0]||xe))&&Ie.push(xe?"("+Xe+")":"on "+Xe),Ie.length&&(mt.description=Ie.join(" ")),mt}var Be=Ce();typeof fe=="function"&&typeof fe.amd=="object"&&fe.amd?(se.platform=Be,fe(function(){return Be})):le&&ie?ve(Be,function(Pe,Fe){le[Fe]=Pe}):se.platform=Be}).call(this)}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,ye,he){(function(ce){(function(){"use strict";typeof ce=="undefined"||!ce.version||ce.version.indexOf("v0.")===0||ce.version.indexOf("v1.")===0&&ce.version.indexOf("v1.8.")!==0?ye.exports={nextTick:ne}:ye.exports=ce;function ne(se,de,le,ie){if(typeof se!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,re,ee;switch(oe){case 0:case 1:return ce.nextTick(se);case 2:return ce.nextTick(function(){se.call(null,de)});case 3:return ce.nextTick(function(){se.call(null,de,le)});case 4:return ce.nextTick(function(){se.call(null,de,le,ie)});default:for(re=new Array(oe-1),ee=0;ee1)for(var ve=1;ve= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=re-ee,Se=Math.floor,be=String.fromCharCode,Ee;function Ce(We){throw new RangeError(ge[We])}function Be(We,ze){for(var _e=We.length,Ve=[];_e--;)Ve[_e]=ze(We[_e]);return Ve}function Pe(We,ze){var _e=We.split("@"),Ve="";_e.length>1&&(Ve=_e[0]+"@",We=_e[1]),We=We.replace(ve,".");var tt=We.split("."),et=Be(tt,ze).join(".");return Ve+et}function Fe(We){for(var ze=[],_e=0,Ve=We.length,tt,et;_e=55296&&tt<=56319&&_e65535&&(ze-=65536,_e+=be(ze>>>10&1023|55296),ze=56320|ze&1023),_e+=be(ze),_e}).join("")}function Le(We){return We-48<10?We-22:We-65<26?We-65:We-97<26?We-97:re}function Oe(We,ze){return We+22+75*(We<26)-((ze!=0)<<5)}function Ge(We,ze,_e){var Ve=0;for(We=_e?Se(We/x):We>>1,We+=Se(We/ze);We>pe*a>>1;Ve+=re)We=Se(We/pe);return Se(Ve+(pe+1)*We/(We+y))}function Ne(We){var ze=[],_e=We.length,Ve,tt=0,et=z,dt=b,$e,Ze,Me,qe,Ie,je,Je,Ye,ke;for($e=We.lastIndexOf(te),$e<0&&($e=0),Ze=0;Ze<$e;++Ze)We.charCodeAt(Ze)>=128&&Ce("not-basic"),ze.push(We.charCodeAt(Ze));for(Me=$e>0?$e+1:0;Me<_e;){for(qe=tt,Ie=1,je=re;Me>=_e&&Ce("invalid-input"),Je=Le(We.charCodeAt(Me++)),(Je>=re||Je>Se((oe-tt)/Ie))&&Ce("overflow"),tt+=Je*Ie,Ye=je<=dt?ee:je>=dt+a?a:je-dt,!(JeSe(oe/ke)&&Ce("overflow"),Ie*=ke;Ve=ze.length+1,dt=Ge(tt-qe,Ve,qe==0),Se(tt/Ve)>oe-et&&Ce("overflow"),et+=Se(tt/Ve),tt%=Ve,ze.splice(tt++,0,et)}return we(ze)}function Ue(We){var ze,_e,Ve,tt,et,dt,$e,Ze,Me,qe,Ie,je=[],Je,Ye,ke,De;for(We=Fe(We),Je=We.length,ze=z,_e=0,et=b,dt=0;dt=ze&&Ie<$e&&($e=Ie);for(Ye=Ve+1,$e-ze>Se((oe-_e)/Ye)&&Ce("overflow"),_e+=($e-ze)*Ye,ze=$e,dt=0;dtoe&&Ce("overflow"),Ie==ze){for(Ze=_e,Me=re;qe=Me<=et?ee:Me>=et+a?a:Me-et,!(Ze0&&a>ee&&(a=ee);for(var y=0;y=0?(z=x.substr(0,b),te=x.substr(b+1)):(z=x,te=""),ue=decodeURIComponent(z),me=decodeURIComponent(te),ce(oe,ue)?ne(oe[ue])?oe[ue].push(me):oe[ue]=[oe[ue],me]:oe[ue]=me}return oe};var ne=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{}],384:[function(E,ye,he){"use strict";var ce=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};ye.exports=function(le,ie,oe,re){return ie=ie||"&",oe=oe||"=",le===null&&(le=void 0),typeof le=="object"?se(de(le),function(ee){var a=encodeURIComponent(ce(ee))+oe;return ne(le[ee])?se(le[ee],function(y){return a+encodeURIComponent(ce(y))}).join(ie):a+encodeURIComponent(ce(le[ee]))}).join(ie):re?encodeURIComponent(ce(re))+oe+encodeURIComponent(ce(le)):""};var ne=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function se(le,ie){if(le.map)return le.map(ie);for(var oe=[],re=0;re0?(typeof je!="string"&&!De.objectMode&&Object.getPrototypeOf(je)!==ee.prototype&&(je=y(je)),Ye?De.endEmitted?Ie.emit("error",new Error("stream.unshift() after end event")):Ce(Ie,De,je,!0):De.ended?Ie.emit("error",new Error("stream.push() after EOF")):(De.reading=!1,De.decoder&&!Je?(je=De.decoder.write(je),De.objectMode||je.length!==0?Ce(Ie,De,je,!1):Ue(Ie,De)):Ce(Ie,De,je,!1))):Ye||(De.reading=!1)}return Pe(De)}function Ce(Ie,je,Je,Ye){je.flowing&&je.length===0&&!je.sync?(Ie.emit("data",Je),Ie.read(0)):(je.length+=je.objectMode?1:Je.length,Ye?je.buffer.unshift(Je):je.buffer.push(Je),je.needReadable&&Ge(Ie)),Ue(Ie,je)}function Be(Ie,je){var Je;return!x(je)&&typeof je!="string"&&je!==void 0&&!Ie.objectMode&&(Je=new TypeError("Invalid non-string/buffer chunk")),Je}function Pe(Ie){return!Ie.ended&&(Ie.needReadable||Ie.length=Fe?Ie=Fe:(Ie--,Ie|=Ie>>>1,Ie|=Ie>>>2,Ie|=Ie>>>4,Ie|=Ie>>>8,Ie|=Ie>>>16,Ie++),Ie}function Le(Ie,je){return Ie<=0||je.length===0&&je.ended?0:je.objectMode?1:Ie!==Ie?je.flowing&&je.length?je.buffer.head.data.length:je.length:(Ie>je.highWaterMark&&(je.highWaterMark=we(Ie)),Ie<=je.length?Ie:je.ended?je.length:(je.needReadable=!0,0))}be.prototype.read=function(Ie){te("read",Ie),Ie=parseInt(Ie,10);var je=this._readableState,Je=Ie;if(Ie!==0&&(je.emittedReadable=!1),Ie===0&&je.needReadable&&(je.length>=je.highWaterMark||je.ended))return te("read: emitReadable",je.length,je.ended),je.length===0&&je.ended?Ze(this):Ge(this),null;if(Ie=Le(Ie,je),Ie===0&&je.ended)return je.length===0&&Ze(this),null;var Ye=je.needReadable;te("need readable",Ye),(je.length===0||je.length-Ie0?ke=tt(Ie,je):ke=null,ke===null?(je.needReadable=!0,Ie=0):je.length-=Ie,je.length===0&&(je.ended||(je.needReadable=!0),Je!==Ie&&je.ended&&Ze(this)),ke!==null&&this.emit("data",ke),ke};function Oe(Ie,je){if(!je.ended){if(je.decoder){var Je=je.decoder.end();Je&&Je.length&&(je.buffer.push(Je),je.length+=je.objectMode?1:Je.length)}je.ended=!0,Ge(Ie)}}function Ge(Ie){var je=Ie._readableState;je.needReadable=!1,je.emittedReadable||(te("emitReadable",je.flowing),je.emittedReadable=!0,je.sync?se.nextTick(Ne,Ie):Ne(Ie))}function Ne(Ie){te("emit readable"),Ie.emit("readable"),Ve(Ie)}function Ue(Ie,je){je.readingMore||(je.readingMore=!0,se.nextTick(He,Ie,je))}function He(Ie,je){for(var Je=je.length;!je.reading&&!je.flowing&&!je.ended&&je.length1&&qe(Ye.pipes,Ie)!==-1)&&!Xe&&(te("false write response, pause",Je._readableState.awaitDrain),Je._readableState.awaitDrain++,Ke=!0),Je.pause())}function ht(mt){te("onerror",mt),lt(),Ie.removeListener("error",ht),oe(Ie,"error")===0&&Ie.emit("error",mt)}pe(Ie,"error",ht);function ut(){Ie.removeListener("finish",pt),lt()}Ie.once("close",ut);function pt(){te("onfinish"),Ie.removeListener("close",ut),lt()}Ie.once("finish",pt);function lt(){te("unpipe"),Je.unpipe(Ie)}return Ie.emit("pipe",Je),Ye.flowing||(te("pipe resume"),Je.resume()),Ie};function Qe(Ie){return function(){var je=Ie._readableState;te("pipeOnDrain",je.awaitDrain),je.awaitDrain&&je.awaitDrain--,je.awaitDrain===0&&oe(Ie,"data")&&(je.flowing=!0,Ve(Ie))}}be.prototype.unpipe=function(Ie){var je=this._readableState,Je={hasUnpiped:!1};if(je.pipesCount===0)return this;if(je.pipesCount===1)return Ie&&Ie!==je.pipes?this:(Ie||(Ie=je.pipes),je.pipes=null,je.pipesCount=0,je.flowing=!1,Ie&&Ie.emit("unpipe",this,Je),this);if(!Ie){var Ye=je.pipes,ke=je.pipesCount;je.pipes=null,je.pipesCount=0,je.flowing=!1;for(var De=0;De=je.length?(je.decoder?Je=je.buffer.join(""):je.buffer.length===1?Je=je.buffer.head.data:Je=je.buffer.concat(je.length),je.buffer.clear()):Je=et(Ie,je.buffer,je.decoder),Je}function et(Ie,je,Je){var Ye;return IeDe.length?De.length:Ie;if(Te===De.length?ke+=De:ke+=De.slice(0,Ie),Ie-=Te,Ie===0){Te===De.length?(++Ye,Je.next?je.head=Je.next:je.head=je.tail=null):(je.head=Je,Je.data=De.slice(Te));break}++Ye}return je.length-=Ye,ke}function $e(Ie,je){var Je=ee.allocUnsafe(Ie),Ye=je.head,ke=1;for(Ye.data.copy(Je),Ie-=Ye.data.length;Ye=Ye.next;){var De=Ye.data,Te=Ie>De.length?De.length:Ie;if(De.copy(Je,Je.length-Ie,0,Te),Ie-=Te,Ie===0){Te===De.length?(++ke,Ye.next?je.head=Ye.next:je.head=je.tail=null):(je.head=Ye,Ye.data=De.slice(Te));break}++ke}return je.length-=ke,Je}function Ze(Ie){var je=Ie._readableState;if(je.length>0)throw new Error('"endReadable()" called on non-empty stream');je.endEmitted||(je.ended=!0,se.nextTick(Me,je,Ie))}function Me(Ie,je){!Ie.endEmitted&&Ie.length===0&&(Ie.endEmitted=!0,je.readable=!1,je.emit("end"))}function qe(Ie,je){for(var Je=0,Ye=Ie.length;Je-1?se:de.nextTick,re;pe.WritableState=ve;var ee=Object.create(E("core-util-is"));ee.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=ne.Uint8Array||function(){};function z(_e){return x.from(_e)}function te(_e){return x.isBuffer(_e)||_e instanceof b}var ue=E("./internal/streams/destroy");ee.inherits(pe,y);function me(){}function ve(_e,Ve){re=re||E("./_stream_duplex"),_e=_e||{};var tt=Ve instanceof re;this.objectMode=!!_e.objectMode,tt&&(this.objectMode=this.objectMode||!!_e.writableObjectMode);var et=_e.highWaterMark,dt=_e.writableHighWaterMark,$e=this.objectMode?16:16*1024;et||et===0?this.highWaterMark=et:tt&&(dt||dt===0)?this.highWaterMark=dt:this.highWaterMark=$e,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ze=_e.decodeStrings===!1;this.decodeStrings=!Ze,this.defaultEncoding=_e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Me){we(Ve,Me)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ie(this)}ve.prototype.getBuffer=function(){for(var Ve=this.bufferedRequest,tt=[];Ve;)tt.push(Ve),Ve=Ve.next;return tt},function(){try{Object.defineProperty(ve.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_e){}}();var ge;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ge=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(_e){return ge.call(this,_e)?!0:this!==pe?!1:_e&&_e._writableState instanceof ve}})):ge=function(_e){return _e instanceof this};function pe(_e){if(re=re||E("./_stream_duplex"),!ge.call(pe,this)&&!(this instanceof re))return new pe(_e);this._writableState=new ve(_e,this),this.writable=!0,_e&&(typeof _e.write=="function"&&(this._write=_e.write),typeof _e.writev=="function"&&(this._writev=_e.writev),typeof _e.destroy=="function"&&(this._destroy=_e.destroy),typeof _e.final=="function"&&(this._final=_e.final)),y.call(this)}pe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(_e,Ve){var tt=new Error("write after end");_e.emit("error",tt),de.nextTick(Ve,tt)}function be(_e,Ve,tt,et){var dt=!0,$e=!1;return tt===null?$e=new TypeError("May not write null values to stream"):typeof tt!="string"&&tt!==void 0&&!Ve.objectMode&&($e=new TypeError("Invalid non-string/buffer chunk")),$e&&(_e.emit("error",$e),de.nextTick(et,$e),dt=!1),dt}pe.prototype.write=function(_e,Ve,tt){var et=this._writableState,dt=!1,$e=!et.objectMode&&te(_e);return $e&&!x.isBuffer(_e)&&(_e=z(_e)),typeof Ve=="function"&&(tt=Ve,Ve=null),$e?Ve="buffer":Ve||(Ve=et.defaultEncoding),typeof tt!="function"&&(tt=me),et.ended?Se(this,tt):($e||be(this,et,_e,tt))&&(et.pendingcb++,dt=Ce(this,et,$e,_e,Ve,tt)),dt},pe.prototype.cork=function(){var _e=this._writableState;_e.corked++},pe.prototype.uncork=function(){var _e=this._writableState;_e.corked&&(_e.corked--,!_e.writing&&!_e.corked&&!_e.finished&&!_e.bufferProcessing&&_e.bufferedRequest&&Ge(this,_e))},pe.prototype.setDefaultEncoding=function(Ve){if(typeof Ve=="string"&&(Ve=Ve.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ve+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ve);return this._writableState.defaultEncoding=Ve,this};function Ee(_e,Ve,tt){return!_e.objectMode&&_e.decodeStrings!==!1&&typeof Ve=="string"&&(Ve=x.from(Ve,tt)),Ve}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ce(_e,Ve,tt,et,dt,$e){if(!tt){var Ze=Ee(Ve,et,dt);et!==Ze&&(tt=!0,dt="buffer",et=Ze)}var Me=Ve.objectMode?1:et.length;Ve.length+=Me;var qe=Ve.length0?this.tail.next=re:this.head=re,this.tail=re,++this.length},le.prototype.unshift=function(oe){var re={data:oe,next:this.head};this.length===0&&(this.tail=re),this.head=re,++this.length},le.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(oe){if(this.length===0)return"";for(var re=this.head,ee=""+re.data;re=re.next;)ee+=oe+re.data;return ee},le.prototype.concat=function(oe){if(this.length===0)return ne.alloc(0);if(this.length===1)return this.head.data;for(var re=ne.allocUnsafe(oe>>>0),ee=this.head,a=0;ee;)de(ee.data,re,a),a+=ee.data.length,ee=ee.next;return re},le}(),se&&se.inspect&&se.inspect.custom&&(ye.exports.prototype[se.inspect.custom]=function(){var le=se.inspect({length:this.length});return this.constructor.name+" "+le})},{"safe-buffer":396,util:89}],392:[function(E,ye,he){"use strict";var ce=E("process-nextick-args");function ne(le,ie){var oe=this,re=this._readableState&&this._readableState.destroyed,ee=this._writableState&&this._writableState.destroyed;return re||ee?(ie?ie(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&ce.nextTick(de,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(a){!ie&&a?(ce.nextTick(de,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ie&&ie(a)}),this)}function se(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function de(le,ie){le.emit("error",ie)}ye.exports={destroy:ne,undestroy:se}},{"process-nextick-args":380}],393:[function(E,ye,he){ye.exports=E("events").EventEmitter},{events:344}],394:[function(E,ye,he){he=ye.exports=E("./lib/_stream_readable.js"),he.Stream=he,he.Readable=he,he.Writable=E("./lib/_stream_writable.js"),he.Duplex=E("./lib/_stream_duplex.js"),he.Transform=E("./lib/_stream_transform.js"),he.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,ye,he){var ce=function(ne){"use strict";var se=Object.prototype,de=se.hasOwnProperty,le,ie=typeof Symbol=="function"?Symbol:{},oe=ie.iterator||"@@iterator",re=ie.asyncIterator||"@@asyncIterator",ee=ie.toStringTag||"@@toStringTag";function a(He,Qe,We){return Object.defineProperty(He,Qe,{value:We,enumerable:!0,configurable:!0,writable:!0}),He[Qe]}try{a({},"")}catch(He){a=function(Qe,We,ze){return Qe[We]=ze}}function y(He,Qe,We,ze){var _e=Qe&&Qe.prototype instanceof ve?Qe:ve,Ve=Object.create(_e.prototype),tt=new Ge(ze||[]);return Ve._invoke=Fe(He,We,tt),Ve}ne.wrap=y;function x(He,Qe,We){try{return{type:"normal",arg:He.call(Qe,We)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",z="suspendedYield",te="executing",ue="completed",me={};function ve(){}function ge(){}function pe(){}var Se={};a(Se,oe,function(){return this});var be=Object.getPrototypeOf,Ee=be&&be(be(Ne([])));Ee&&Ee!==se&&de.call(Ee,oe)&&(Se=Ee);var Ce=pe.prototype=ve.prototype=Object.create(Se);ge.prototype=pe,a(Ce,"constructor",pe),a(pe,"constructor",ge),ge.displayName=a(pe,ee,"GeneratorFunction");function Be(He){["next","throw","return"].forEach(function(Qe){a(He,Qe,function(We){return this._invoke(Qe,We)})})}ne.isGeneratorFunction=function(He){var Qe=typeof He=="function"&&He.constructor;return Qe?Qe===ge||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},ne.mark=function(He){return Object.setPrototypeOf?Object.setPrototypeOf(He,pe):(He.__proto__=pe,a(He,ee,"GeneratorFunction")),He.prototype=Object.create(Ce),He},ne.awrap=function(He){return{__await:He}};function Pe(He,Qe){function We(Ve,tt,et,dt){var $e=x(He[Ve],He,tt);if($e.type==="throw")dt($e.arg);else{var Ze=$e.arg,Me=Ze.value;return Me&&typeof Me=="object"&&de.call(Me,"__await")?Qe.resolve(Me.__await).then(function(qe){We("next",qe,et,dt)},function(qe){We("throw",qe,et,dt)}):Qe.resolve(Me).then(function(qe){Ze.value=qe,et(Ze)},function(qe){return We("throw",qe,et,dt)})}}var ze;function _e(Ve,tt){function et(){return new Qe(function(dt,$e){We(Ve,tt,dt,$e)})}return ze=ze?ze.then(et,et):et()}this._invoke=_e}Be(Pe.prototype),a(Pe.prototype,re,function(){return this}),ne.AsyncIterator=Pe,ne.async=function(He,Qe,We,ze,_e){_e===void 0&&(_e=Promise);var Ve=new Pe(y(He,Qe,We,ze),_e);return ne.isGeneratorFunction(Qe)?Ve:Ve.next().then(function(tt){return tt.done?tt.value:Ve.next()})};function Fe(He,Qe,We){var ze=b;return function(Ve,tt){if(ze===te)throw new Error("Generator is already running");if(ze===ue){if(Ve==="throw")throw tt;return Ue()}for(We.method=Ve,We.arg=tt;;){var et=We.delegate;if(et){var dt=we(et,We);if(dt){if(dt===me)continue;return dt}}if(We.method==="next")We.sent=We._sent=We.arg;else if(We.method==="throw"){if(ze===b)throw ze=ue,We.arg;We.dispatchException(We.arg)}else We.method==="return"&&We.abrupt("return",We.arg);ze=te;var $e=x(He,Qe,We);if($e.type==="normal"){if(ze=We.done?ue:z,$e.arg===me)continue;return{value:$e.arg,done:We.done}}else $e.type==="throw"&&(ze=ue,We.method="throw",We.arg=$e.arg)}}}function we(He,Qe){var We=He.iterator[Qe.method];if(We===le){if(Qe.delegate=null,Qe.method==="throw"){if(He.iterator.return&&(Qe.method="return",Qe.arg=le,we(He,Qe),Qe.method==="throw"))return me;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return me}var ze=x(We,He.iterator,Qe.arg);if(ze.type==="throw")return Qe.method="throw",Qe.arg=ze.arg,Qe.delegate=null,me;var _e=ze.arg;if(!_e)return Qe.method="throw",Qe.arg=new TypeError("iterator result is not an object"),Qe.delegate=null,me;if(_e.done)Qe[He.resultName]=_e.value,Qe.next=He.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=le);else return _e;return Qe.delegate=null,me}Be(Ce),a(Ce,ee,"Generator"),a(Ce,oe,function(){return this}),a(Ce,"toString",function(){return"[object Generator]"});function Le(He){var Qe={tryLoc:He[0]};1 in He&&(Qe.catchLoc=He[1]),2 in He&&(Qe.finallyLoc=He[2],Qe.afterLoc=He[3]),this.tryEntries.push(Qe)}function Oe(He){var Qe=He.completion||{};Qe.type="normal",delete Qe.arg,He.completion=Qe}function Ge(He){this.tryEntries=[{tryLoc:"root"}],He.forEach(Le,this),this.reset(!0)}ne.keys=function(He){var Qe=[];for(var We in He)Qe.push(We);return Qe.reverse(),function ze(){for(;Qe.length;){var _e=Qe.pop();if(_e in He)return ze.value=_e,ze.done=!1,ze}return ze.done=!0,ze}};function Ne(He){if(He){var Qe=He[oe];if(Qe)return Qe.call(He);if(typeof He.next=="function")return He;if(!isNaN(He.length)){var We=-1,ze=function _e(){for(;++We=0;--ze){var _e=this.tryEntries[ze],Ve=_e.completion;if(_e.tryLoc==="root")return We("end");if(_e.tryLoc<=this.prev){var tt=de.call(_e,"catchLoc"),et=de.call(_e,"finallyLoc");if(tt&&et){if(this.prev<_e.catchLoc)return We(_e.catchLoc,!0);if(this.prev<_e.finallyLoc)return We(_e.finallyLoc)}else if(tt){if(this.prev<_e.catchLoc)return We(_e.catchLoc,!0)}else if(et){if(this.prev<_e.finallyLoc)return We(_e.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(He,Qe){for(var We=this.tryEntries.length-1;We>=0;--We){var ze=this.tryEntries[We];if(ze.tryLoc<=this.prev&&de.call(ze,"finallyLoc")&&this.prev=0;--Qe){var We=this.tryEntries[Qe];if(We.finallyLoc===He)return this.complete(We.completion,We.afterLoc),Oe(We),me}},catch:function(He){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var We=this.tryEntries[Qe];if(We.tryLoc===He){var ze=We.completion;if(ze.type==="throw"){var _e=ze.arg;Oe(We)}return _e}}throw new Error("illegal catch attempt")},delegateYield:function(He,Qe,We){return this.delegate={iterator:Ne(He),resultName:Qe,nextLoc:We},this.method==="next"&&(this.arg=le),me}},ne}(typeof ye=="object"?ye.exports:{});try{regeneratorRuntime=ce}catch(ne){typeof globalThis=="object"?globalThis.regeneratorRuntime=ce:Function("r","regeneratorRuntime = r")(ce)}},{}],396:[function(E,ye,he){var ce=E("buffer"),ne=ce.Buffer;function se(le,ie){for(var oe in le)ie[oe]=le[oe]}ne.from&&ne.alloc&&ne.allocUnsafe&&ne.allocUnsafeSlow?ye.exports=ce:(se(ce,he),he.Buffer=de);function de(le,ie,oe){return ne(le,ie,oe)}se(ne,de),de.from=function(le,ie,oe){if(typeof le=="number")throw new TypeError("Argument must not be a number");return ne(le,ie,oe)},de.alloc=function(le,ie,oe){if(typeof le!="number")throw new TypeError("Argument must be a number");var re=ne(le);return ie!==void 0?typeof oe=="string"?re.fill(ie,oe):re.fill(ie):re.fill(0),re},de.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return ne(le)},de.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return ce.SlowBuffer(le)}},{buffer:90}],397:[function(E,ye,he){(function(ce){(function(){(function(ne){ne.parser=function(Ze,Me){return new de(Ze,Me)},ne.SAXParser=de,ne.SAXStream=y,ne.createStream=a,ne.MAX_BUFFER_LENGTH=64*1024;var se=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ne.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function de(Ze,Me){if(!(this instanceof de))return new de(Ze,Me);var qe=this;ie(qe),qe.q=qe.c="",qe.bufferCheckPosition=ne.MAX_BUFFER_LENGTH,qe.opt=Me||{},qe.opt.lowercase=qe.opt.lowercase||qe.opt.lowercasetags,qe.looseCase=qe.opt.lowercase?"toLowerCase":"toUpperCase",qe.tags=[],qe.closed=qe.closedRoot=qe.sawRoot=!1,qe.tag=qe.error=null,qe.strict=!!Ze,qe.noscript=!!(Ze||qe.opt.noscript),qe.state=Pe.BEGIN,qe.strictEntities=qe.opt.strictEntities,qe.ENTITIES=qe.strictEntities?Object.create(ne.XML_ENTITIES):Object.create(ne.ENTITIES),qe.attribList=[],qe.opt.xmlns&&(qe.ns=Object.create(ue)),qe.trackPosition=qe.opt.position!==!1,qe.trackPosition&&(qe.position=qe.line=qe.column=0),we(qe,"onready")}Object.create||(Object.create=function(Ze){function Me(){}Me.prototype=Ze;var qe=new Me;return qe}),Object.keys||(Object.keys=function(Ze){var Me=[];for(var qe in Ze)Ze.hasOwnProperty(qe)&&Me.push(qe);return Me});function le(Ze){for(var Me=Math.max(ne.MAX_BUFFER_LENGTH,10),qe=0,Ie=0,je=se.length;IeMe)switch(se[Ie]){case"textNode":Oe(Ze);break;case"cdata":Le(Ze,"oncdata",Ze.cdata),Ze.cdata="";break;case"script":Le(Ze,"onscript",Ze.script),Ze.script="";break;default:Ne(Ze,"Max buffer length exceeded: "+se[Ie])}qe=Math.max(qe,Je)}var Ye=ne.MAX_BUFFER_LENGTH-qe;Ze.bufferCheckPosition=Ye+Ze.position}function ie(Ze){for(var Me=0,qe=se.length;Me"||Se(Ze)}function Ce(Ze,Me){return Ze.test(Me)}function Be(Ze,Me){return!Ce(Ze,Me)}var Pe=0;ne.STATE={BEGIN:Pe++,BEGIN_WHITESPACE:Pe++,TEXT:Pe++,TEXT_ENTITY:Pe++,OPEN_WAKA:Pe++,SGML_DECL:Pe++,SGML_DECL_QUOTED:Pe++,DOCTYPE:Pe++,DOCTYPE_QUOTED:Pe++,DOCTYPE_DTD:Pe++,DOCTYPE_DTD_QUOTED:Pe++,COMMENT_STARTING:Pe++,COMMENT:Pe++,COMMENT_ENDING:Pe++,COMMENT_ENDED:Pe++,CDATA:Pe++,CDATA_ENDING:Pe++,CDATA_ENDING_2:Pe++,PROC_INST:Pe++,PROC_INST_BODY:Pe++,PROC_INST_ENDING:Pe++,OPEN_TAG:Pe++,OPEN_TAG_SLASH:Pe++,ATTRIB:Pe++,ATTRIB_NAME:Pe++,ATTRIB_NAME_SAW_WHITE:Pe++,ATTRIB_VALUE:Pe++,ATTRIB_VALUE_QUOTED:Pe++,ATTRIB_VALUE_CLOSED:Pe++,ATTRIB_VALUE_UNQUOTED:Pe++,ATTRIB_VALUE_ENTITY_Q:Pe++,ATTRIB_VALUE_ENTITY_U:Pe++,CLOSE_TAG:Pe++,CLOSE_TAG_SAW_WHITE:Pe++,SCRIPT:Pe++,SCRIPT_ENDING:Pe++},ne.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ne.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(ne.ENTITIES).forEach(function(Ze){var Me=ne.ENTITIES[Ze],qe=typeof Me=="number"?String.fromCharCode(Me):Me;ne.ENTITIES[Ze]=qe});for(var Fe in ne.STATE)ne.STATE[ne.STATE[Fe]]=Fe;Pe=ne.STATE;function we(Ze,Me,qe){Ze[Me]&&Ze[Me](qe)}function Le(Ze,Me,qe){Ze.textNode&&Oe(Ze),we(Ze,Me,qe)}function Oe(Ze){Ze.textNode=Ge(Ze.opt,Ze.textNode),Ze.textNode&&we(Ze,"ontext",Ze.textNode),Ze.textNode=""}function Ge(Ze,Me){return Ze.trim&&(Me=Me.trim()),Ze.normalize&&(Me=Me.replace(/\s+/g," ")),Me}function Ne(Ze,Me){return Oe(Ze),Ze.trackPosition&&(Me+=` +Line: `+Ze.line+` +Column: `+Ze.column+` +Char: `+Ze.c),Me=new Error(Me),Ze.error=Me,we(Ze,"onerror",Me),Ze}function Ue(Ze){return Ze.sawRoot&&!Ze.closedRoot&&He(Ze,"Unclosed root tag"),Ze.state!==Pe.BEGIN&&Ze.state!==Pe.BEGIN_WHITESPACE&&Ze.state!==Pe.TEXT&&Ne(Ze,"Unexpected end"),Oe(Ze),Ze.c="",Ze.closed=!0,we(Ze,"onend"),de.call(Ze,Ze.strict,Ze.opt),Ze}function He(Ze,Me){if(typeof Ze!="object"||!(Ze instanceof de))throw new Error("bad call to strictFail");Ze.strict&&Ne(Ze,Me)}function Qe(Ze){Ze.strict||(Ze.tagName=Ze.tagName[Ze.looseCase]());var Me=Ze.tags[Ze.tags.length-1]||Ze,qe=Ze.tag={name:Ze.tagName,attributes:{}};Ze.opt.xmlns&&(qe.ns=Me.ns),Ze.attribList.length=0,Le(Ze,"onopentagstart",qe)}function We(Ze,Me){var qe=Ze.indexOf(":"),Ie=qe<0?["",Ze]:Ze.split(":"),je=Ie[0],Je=Ie[1];return Me&&Ze==="xmlns"&&(je="xmlns",Je=""),{prefix:je,local:Je}}function ze(Ze){if(Ze.strict||(Ze.attribName=Ze.attribName[Ze.looseCase]()),Ze.attribList.indexOf(Ze.attribName)!==-1||Ze.tag.attributes.hasOwnProperty(Ze.attribName)){Ze.attribName=Ze.attribValue="";return}if(Ze.opt.xmlns){var Me=We(Ze.attribName,!0),qe=Me.prefix,Ie=Me.local;if(qe==="xmlns")if(Ie==="xml"&&Ze.attribValue!==z)He(Ze,"xml: prefix must be bound to "+z+` +Actual: `+Ze.attribValue);else if(Ie==="xmlns"&&Ze.attribValue!==te)He(Ze,"xmlns: prefix must be bound to "+te+` +Actual: `+Ze.attribValue);else{var je=Ze.tag,Je=Ze.tags[Ze.tags.length-1]||Ze;je.ns===Je.ns&&(je.ns=Object.create(Je.ns)),je.ns[Ie]=Ze.attribValue}Ze.attribList.push([Ze.attribName,Ze.attribValue])}else Ze.tag.attributes[Ze.attribName]=Ze.attribValue,Le(Ze,"onattribute",{name:Ze.attribName,value:Ze.attribValue});Ze.attribName=Ze.attribValue=""}function _e(Ze,Me){if(Ze.opt.xmlns){var qe=Ze.tag,Ie=We(Ze.tagName);qe.prefix=Ie.prefix,qe.local=Ie.local,qe.uri=qe.ns[Ie.prefix]||"",qe.prefix&&!qe.uri&&(He(Ze,"Unbound namespace prefix: "+JSON.stringify(Ze.tagName)),qe.uri=Ie.prefix);var je=Ze.tags[Ze.tags.length-1]||Ze;qe.ns&&je.ns!==qe.ns&&Object.keys(qe.ns).forEach(function(rt){Le(Ze,"onopennamespace",{prefix:rt,uri:qe.ns[rt]})});for(var Je=0,Ye=Ze.attribList.length;Je",Ze.tagName="",Ze.state=Pe.SCRIPT;return}Le(Ze,"onscript",Ze.script),Ze.script=""}var Me=Ze.tags.length,qe=Ze.tagName;Ze.strict||(qe=qe[Ze.looseCase]());for(var Ie=qe;Me--;){var je=Ze.tags[Me];if(je.name!==Ie)He(Ze,"Unexpected close tag");else break}if(Me<0){He(Ze,"Unmatched closing tag: "+Ze.tagName),Ze.textNode+="",Ze.state=Pe.TEXT;return}Ze.tagName=qe;for(var Je=Ze.tags.length;Je-- >Me;){var Ye=Ze.tag=Ze.tags.pop();Ze.tagName=Ze.tag.name,Le(Ze,"onclosetag",Ze.tagName);var ke={};for(var De in Ye.ns)ke[De]=Ye.ns[De];var Te=Ze.tags[Ze.tags.length-1]||Ze;Ze.opt.xmlns&&Ye.ns!==Te.ns&&Object.keys(Ye.ns).forEach(function(xe){var Re=Ye.ns[xe];Le(Ze,"onclosenamespace",{prefix:xe,uri:Re})})}Me===0&&(Ze.closedRoot=!0),Ze.tagName=Ze.attribValue=Ze.attribName="",Ze.attribList.length=0,Ze.state=Pe.TEXT}function tt(Ze){var Me=Ze.entity,qe=Me.toLowerCase(),Ie,je="";return Ze.ENTITIES[Me]?Ze.ENTITIES[Me]:Ze.ENTITIES[qe]?Ze.ENTITIES[qe]:(Me=qe,Me.charAt(0)==="#"&&(Me.charAt(1)==="x"?(Me=Me.slice(2),Ie=parseInt(Me,16),je=Ie.toString(16)):(Me=Me.slice(1),Ie=parseInt(Me,10),je=Ie.toString(10))),Me=Me.replace(/^0+/,""),isNaN(Ie)||je.toLowerCase()!==Me?(He(Ze,"Invalid character entity"),"&"+Ze.entity+";"):String.fromCodePoint(Ie))}function et(Ze,Me){Me==="<"?(Ze.state=Pe.OPEN_WAKA,Ze.startTagPosition=Ze.position):Se(Me)||(He(Ze,"Non-whitespace before first tag."),Ze.textNode=Me,Ze.state=Pe.TEXT)}function dt(Ze,Me){var qe="";return Me"?(Le(Me,"onsgmldeclaration",Me.sgmlDecl),Me.sgmlDecl="",Me.state=Pe.TEXT):(be(Ie)&&(Me.state=Pe.SGML_DECL_QUOTED),Me.sgmlDecl+=Ie);continue;case Pe.SGML_DECL_QUOTED:Ie===Me.q&&(Me.state=Pe.SGML_DECL,Me.q=""),Me.sgmlDecl+=Ie;continue;case Pe.DOCTYPE:Ie===">"?(Me.state=Pe.TEXT,Le(Me,"ondoctype",Me.doctype),Me.doctype=!0):(Me.doctype+=Ie,Ie==="["?Me.state=Pe.DOCTYPE_DTD:be(Ie)&&(Me.state=Pe.DOCTYPE_QUOTED,Me.q=Ie));continue;case Pe.DOCTYPE_QUOTED:Me.doctype+=Ie,Ie===Me.q&&(Me.q="",Me.state=Pe.DOCTYPE);continue;case Pe.DOCTYPE_DTD:Me.doctype+=Ie,Ie==="]"?Me.state=Pe.DOCTYPE:be(Ie)&&(Me.state=Pe.DOCTYPE_DTD_QUOTED,Me.q=Ie);continue;case Pe.DOCTYPE_DTD_QUOTED:Me.doctype+=Ie,Ie===Me.q&&(Me.state=Pe.DOCTYPE_DTD,Me.q="");continue;case Pe.COMMENT:Ie==="-"?Me.state=Pe.COMMENT_ENDING:Me.comment+=Ie;continue;case Pe.COMMENT_ENDING:Ie==="-"?(Me.state=Pe.COMMENT_ENDED,Me.comment=Ge(Me.opt,Me.comment),Me.comment&&Le(Me,"oncomment",Me.comment),Me.comment=""):(Me.comment+="-"+Ie,Me.state=Pe.COMMENT);continue;case Pe.COMMENT_ENDED:Ie!==">"?(He(Me,"Malformed comment"),Me.comment+="--"+Ie,Me.state=Pe.COMMENT):Me.state=Pe.TEXT;continue;case Pe.CDATA:Ie==="]"?Me.state=Pe.CDATA_ENDING:Me.cdata+=Ie;continue;case Pe.CDATA_ENDING:Ie==="]"?Me.state=Pe.CDATA_ENDING_2:(Me.cdata+="]"+Ie,Me.state=Pe.CDATA);continue;case Pe.CDATA_ENDING_2:Ie===">"?(Me.cdata&&Le(Me,"oncdata",Me.cdata),Le(Me,"onclosecdata"),Me.cdata="",Me.state=Pe.TEXT):Ie==="]"?Me.cdata+="]":(Me.cdata+="]]"+Ie,Me.state=Pe.CDATA);continue;case Pe.PROC_INST:Ie==="?"?Me.state=Pe.PROC_INST_ENDING:Se(Ie)?Me.state=Pe.PROC_INST_BODY:Me.procInstName+=Ie;continue;case Pe.PROC_INST_BODY:if(!Me.procInstBody&&Se(Ie))continue;Ie==="?"?Me.state=Pe.PROC_INST_ENDING:Me.procInstBody+=Ie;continue;case Pe.PROC_INST_ENDING:Ie===">"?(Le(Me,"onprocessinginstruction",{name:Me.procInstName,body:Me.procInstBody}),Me.procInstName=Me.procInstBody="",Me.state=Pe.TEXT):(Me.procInstBody+="?"+Ie,Me.state=Pe.PROC_INST_BODY);continue;case Pe.OPEN_TAG:Ce(ve,Ie)?Me.tagName+=Ie:(Qe(Me),Ie===">"?_e(Me):Ie==="/"?Me.state=Pe.OPEN_TAG_SLASH:(Se(Ie)||He(Me,"Invalid character in tag name"),Me.state=Pe.ATTRIB));continue;case Pe.OPEN_TAG_SLASH:Ie===">"?(_e(Me,!0),Ve(Me)):(He(Me,"Forward-slash in opening tag not followed by >"),Me.state=Pe.ATTRIB);continue;case Pe.ATTRIB:if(Se(Ie))continue;Ie===">"?_e(Me):Ie==="/"?Me.state=Pe.OPEN_TAG_SLASH:Ce(me,Ie)?(Me.attribName=Ie,Me.attribValue="",Me.state=Pe.ATTRIB_NAME):He(Me,"Invalid attribute name");continue;case Pe.ATTRIB_NAME:Ie==="="?Me.state=Pe.ATTRIB_VALUE:Ie===">"?(He(Me,"Attribute without value"),Me.attribValue=Me.attribName,ze(Me),_e(Me)):Se(Ie)?Me.state=Pe.ATTRIB_NAME_SAW_WHITE:Ce(ve,Ie)?Me.attribName+=Ie:He(Me,"Invalid attribute name");continue;case Pe.ATTRIB_NAME_SAW_WHITE:if(Ie==="=")Me.state=Pe.ATTRIB_VALUE;else{if(Se(Ie))continue;He(Me,"Attribute without value"),Me.tag.attributes[Me.attribName]="",Me.attribValue="",Le(Me,"onattribute",{name:Me.attribName,value:""}),Me.attribName="",Ie===">"?_e(Me):Ce(me,Ie)?(Me.attribName=Ie,Me.state=Pe.ATTRIB_NAME):(He(Me,"Invalid attribute name"),Me.state=Pe.ATTRIB)}continue;case Pe.ATTRIB_VALUE:if(Se(Ie))continue;be(Ie)?(Me.q=Ie,Me.state=Pe.ATTRIB_VALUE_QUOTED):(He(Me,"Unquoted attribute value"),Me.state=Pe.ATTRIB_VALUE_UNQUOTED,Me.attribValue=Ie);continue;case Pe.ATTRIB_VALUE_QUOTED:if(Ie!==Me.q){Ie==="&"?Me.state=Pe.ATTRIB_VALUE_ENTITY_Q:Me.attribValue+=Ie;continue}ze(Me),Me.q="",Me.state=Pe.ATTRIB_VALUE_CLOSED;continue;case Pe.ATTRIB_VALUE_CLOSED:Se(Ie)?Me.state=Pe.ATTRIB:Ie===">"?_e(Me):Ie==="/"?Me.state=Pe.OPEN_TAG_SLASH:Ce(me,Ie)?(He(Me,"No whitespace between attributes"),Me.attribName=Ie,Me.attribValue="",Me.state=Pe.ATTRIB_NAME):He(Me,"Invalid attribute name");continue;case Pe.ATTRIB_VALUE_UNQUOTED:if(!Ee(Ie)){Ie==="&"?Me.state=Pe.ATTRIB_VALUE_ENTITY_U:Me.attribValue+=Ie;continue}ze(Me),Ie===">"?_e(Me):Me.state=Pe.ATTRIB;continue;case Pe.CLOSE_TAG:if(Me.tagName)Ie===">"?Ve(Me):Ce(ve,Ie)?Me.tagName+=Ie:Me.script?(Me.script+=""?Ve(Me):He(Me,"Invalid characters in closing tag");continue;case Pe.TEXT_ENTITY:case Pe.ATTRIB_VALUE_ENTITY_Q:case Pe.ATTRIB_VALUE_ENTITY_U:var Ye,ke;switch(Me.state){case Pe.TEXT_ENTITY:Ye=Pe.TEXT,ke="textNode";break;case Pe.ATTRIB_VALUE_ENTITY_Q:Ye=Pe.ATTRIB_VALUE_QUOTED,ke="attribValue";break;case Pe.ATTRIB_VALUE_ENTITY_U:Ye=Pe.ATTRIB_VALUE_UNQUOTED,ke="attribValue";break}Ie===";"?(Me[ke]+=tt(Me),Me.entity="",Me.state=Ye):Ce(Me.entity.length?pe:ge,Ie)?Me.entity+=Ie:(He(Me,"Invalid character in entity name"),Me[ke]+="&"+Me.entity+Ie,Me.entity="",Me.state=Ye);continue;default:throw new Error(Me,"Unknown state: "+Me.state)}return Me.position>=Me.bufferCheckPosition&&le(Me),Me}String.fromCodePoint||function(){var Ze=String.fromCharCode,Me=Math.floor,qe=function(){var Ie=16384,je=[],Je,Ye,ke=-1,De=arguments.length;if(!De)return"";for(var Te="";++ke1114111||Me(xe)!==xe)throw RangeError("Invalid code point: "+xe);xe<=65535?je.push(xe):(xe-=65536,Je=(xe>>10)+55296,Ye=xe%1024+56320,je.push(Je,Ye)),(ke+1===De||je.length>Ie)&&(Te+=Ze.apply(null,je),je.length=0)}return Te};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:qe,configurable:!0,writable:!0}):String.fromCodePoint=qe}()})(typeof he=="undefined"?this.sax={}:he)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,ye,he){ye.exports=se;var ce=E("events").EventEmitter,ne=E("inherits");ne(se,ce),se.Readable=E("readable-stream/lib/_stream_readable.js"),se.Writable=E("readable-stream/lib/_stream_writable.js"),se.Duplex=E("readable-stream/lib/_stream_duplex.js"),se.Transform=E("readable-stream/lib/_stream_transform.js"),se.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),se.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),se.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),se.Stream=se;function se(){ce.call(this)}se.prototype.pipe=function(de,le){var ie=this;function oe(z){de.writable&&de.write(z)===!1&&ie.pause&&ie.pause()}ie.on("data",oe);function re(){ie.readable&&ie.resume&&ie.resume()}de.on("drain",re),!de._isStdio&&(!le||le.end!==!1)&&(ie.on("end",a),ie.on("close",y));var ee=!1;function a(){ee||(ee=!0,de.end())}function y(){ee||(ee=!0,typeof de.destroy=="function"&&de.destroy())}function x(z){if(b(),ce.listenerCount(this,"error")===0)throw z}ie.on("error",x),de.on("error",x);function b(){ie.removeListener("data",oe),de.removeListener("drain",re),ie.removeListener("end",a),ie.removeListener("close",y),ie.removeListener("error",x),de.removeListener("error",x),ie.removeListener("end",b),ie.removeListener("close",b),de.removeListener("close",b)}return ie.on("end",b),ie.on("close",b),de.on("close",b),de.emit("pipe",ie),de}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,ye,he){"use strict";function ce(re,ee){re.prototype=Object.create(ee.prototype),re.prototype.constructor=re,re.__proto__=ee}var ne={};function se(re,ee,a){a||(a=Error);function y(b,z,te){return typeof ee=="string"?ee:ee(b,z,te)}var x=function(b){ce(z,b);function z(te,ue,me){return b.call(this,y(te,ue,me))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=re,ne[re]=x}function de(re,ee){if(Array.isArray(re)){var a=re.length;return re=re.map(function(y){return String(y)}),a>2?"one of ".concat(ee," ").concat(re.slice(0,a-1).join(", "),", or ")+re[a-1]:a===2?"one of ".concat(ee," ").concat(re[0]," or ").concat(re[1]):"of ".concat(ee," ").concat(re[0])}else return"of ".concat(ee," ").concat(String(re))}function le(re,ee,a){return re.substr(!a||a<0?0:+a,ee.length)===ee}function ie(re,ee,a){return(a===void 0||a>re.length)&&(a=re.length),re.substring(a-ee.length,a)===ee}function oe(re,ee,a){return typeof a!="number"&&(a=0),a+ee.length>re.length?!1:re.indexOf(ee,a)!==-1}se("ERR_INVALID_OPT_VALUE",function(re,ee){return'The value "'+ee+'" is invalid for option "'+re+'"'},TypeError),se("ERR_INVALID_ARG_TYPE",function(re,ee,a){var y;typeof ee=="string"&&le(ee,"not ")?(y="must not be",ee=ee.replace(/^not /,"")):y="must be";var x;if(ie(re," argument"))x="The ".concat(re," ").concat(y," ").concat(de(ee,"type"));else{var b=oe(re,".")?"property":"argument";x='The "'.concat(re,'" ').concat(b," ").concat(y," ").concat(de(ee,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),se("ERR_METHOD_NOT_IMPLEMENTED",function(re){return"The "+re+" method is not implemented"}),se("ERR_STREAM_PREMATURE_CLOSE","Premature close"),se("ERR_STREAM_DESTROYED",function(re){return"Cannot call "+re+" after a stream was destroyed"}),se("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),se("ERR_STREAM_WRITE_AFTER_END","write after end"),se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),se("ERR_UNKNOWN_ENCODING",function(re){return"Unknown encoding: "+re},TypeError),se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ye.exports.codes=ne},{}],400:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};ye.exports=re;var se=E("./_stream_readable"),de=E("./_stream_writable");E("inherits")(re,se);for(var le=ne(de.prototype),ie=0;ie0)if(typeof De!="string"&&!Xe.objectMode&&Object.getPrototypeOf(De)!==oe.prototype&&(De=ee(De)),xe)Xe.endEmitted?Be(ke,new Se):Ge(ke,Xe,De,!0);else if(Xe.ended)Be(ke,new ge);else{if(Xe.destroyed)return!1;Xe.reading=!1,Xe.decoder&&!Te?(De=Xe.decoder.write(De),Xe.objectMode||De.length!==0?Ge(ke,Xe,De,!1):Ve(ke,Xe)):Ge(ke,Xe,De,!1)}else xe||(Xe.reading=!1,Ve(ke,Xe))}return!Xe.ended&&(Xe.length=Ue?ke=Ue:(ke--,ke|=ke>>>1,ke|=ke>>>2,ke|=ke>>>4,ke|=ke>>>8,ke|=ke>>>16,ke++),ke}function Qe(ke,De){return ke<=0||De.length===0&&De.ended?0:De.objectMode?1:ke!==ke?De.flowing&&De.length?De.buffer.head.data.length:De.length:(ke>De.highWaterMark&&(De.highWaterMark=He(ke)),ke<=De.length?ke:De.ended?De.length:(De.needReadable=!0,0))}Le.prototype.read=function(ke){x("read",ke),ke=parseInt(ke,10);var De=this._readableState,Te=ke;if(ke!==0&&(De.emittedReadable=!1),ke===0&&De.needReadable&&((De.highWaterMark!==0?De.length>=De.highWaterMark:De.length>0)||De.ended))return x("read: emitReadable",De.length,De.ended),De.length===0&&De.ended?je(this):ze(this),null;if(ke=Qe(ke,De),ke===0&&De.ended)return De.length===0&&je(this),null;var xe=De.needReadable;x("need readable",xe),(De.length===0||De.length-ke0?Re=Ie(ke,De):Re=null,Re===null?(De.needReadable=De.length<=De.highWaterMark,ke=0):(De.length-=ke,De.awaitDrain=0),De.length===0&&(De.ended||(De.needReadable=!0),Te!==ke&&De.ended&&je(this)),Re!==null&&this.emit("data",Re),Re};function We(ke,De){if(x("onEofChunk"),!De.ended){if(De.decoder){var Te=De.decoder.end();Te&&Te.length&&(De.buffer.push(Te),De.length+=De.objectMode?1:Te.length)}De.ended=!0,De.sync?ze(ke):(De.needReadable=!1,De.emittedReadable||(De.emittedReadable=!0,_e(ke)))}}function ze(ke){var De=ke._readableState;x("emitReadable",De.needReadable,De.emittedReadable),De.needReadable=!1,De.emittedReadable||(x("emitReadable",De.flowing),De.emittedReadable=!0,ce.nextTick(_e,ke))}function _e(ke){var De=ke._readableState;x("emitReadable_",De.destroyed,De.length,De.ended),!De.destroyed&&(De.length||De.ended)&&(ke.emit("readable"),De.emittedReadable=!1),De.needReadable=!De.flowing&&!De.ended&&De.length<=De.highWaterMark,qe(ke)}function Ve(ke,De){De.readingMore||(De.readingMore=!0,ce.nextTick(tt,ke,De))}function tt(ke,De){for(;!De.reading&&!De.ended&&(De.length1&&Ye(xe.pipes,ke)!==-1)&&!ht&&(x("false write response, pause",xe.awaitDrain),xe.awaitDrain++),Te.pause())}function lt(ft){x("onerror",ft),ct(),ke.removeListener("error",lt),le(ke,"error")===0&&Be(ke,ft)}Fe(ke,"error",lt);function mt(){ke.removeListener("finish",it),ct()}ke.once("close",mt);function it(){x("onfinish"),ke.removeListener("close",mt),ct()}ke.once("finish",it);function ct(){x("unpipe"),Te.unpipe(ke)}return ke.emit("pipe",Te),xe.flowing||(x("pipe resume"),Te.resume()),ke};function et(ke){return function(){var Te=ke._readableState;x("pipeOnDrain",Te.awaitDrain),Te.awaitDrain&&Te.awaitDrain--,Te.awaitDrain===0&&le(ke,"data")&&(Te.flowing=!0,qe(ke))}}Le.prototype.unpipe=function(ke){var De=this._readableState,Te={hasUnpiped:!1};if(De.pipesCount===0)return this;if(De.pipesCount===1)return ke&&ke!==De.pipes?this:(ke||(ke=De.pipes),De.pipes=null,De.pipesCount=0,De.flowing=!1,ke&&ke.emit("unpipe",this,Te),this);if(!ke){var xe=De.pipes,Re=De.pipesCount;De.pipes=null,De.pipesCount=0,De.flowing=!1;for(var Xe=0;Xe0,xe.flowing!==!1&&this.resume()):ke==="readable"&&!xe.endEmitted&&!xe.readableListening&&(xe.readableListening=xe.needReadable=!0,xe.flowing=!1,xe.emittedReadable=!1,x("on readable",xe.length,xe.reading),xe.length?ze(this):xe.reading||ce.nextTick($e,this)),Te},Le.prototype.addListener=Le.prototype.on,Le.prototype.removeListener=function(ke,De){var Te=ie.prototype.removeListener.call(this,ke,De);return ke==="readable"&&ce.nextTick(dt,this),Te},Le.prototype.removeAllListeners=function(ke){var De=ie.prototype.removeAllListeners.apply(this,arguments);return(ke==="readable"||ke===void 0)&&ce.nextTick(dt,this),De};function dt(ke){var De=ke._readableState;De.readableListening=ke.listenerCount("readable")>0,De.resumeScheduled&&!De.paused?De.flowing=!0:ke.listenerCount("data")>0&&ke.resume()}function $e(ke){x("readable nexttick read 0"),ke.read(0)}Le.prototype.resume=function(){var ke=this._readableState;return ke.flowing||(x("resume"),ke.flowing=!ke.readableListening,Ze(this,ke)),ke.paused=!1,this};function Ze(ke,De){De.resumeScheduled||(De.resumeScheduled=!0,ce.nextTick(Me,ke,De))}function Me(ke,De){x("resume",De.reading),De.reading||ke.read(0),De.resumeScheduled=!1,ke.emit("resume"),qe(ke),De.flowing&&!De.reading&&ke.read(0)}Le.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function qe(ke){var De=ke._readableState;for(x("flow",De.flowing);De.flowing&&ke.read()!==null;);}Le.prototype.wrap=function(ke){var De=this,Te=this._readableState,xe=!1;ke.on("end",function(){if(x("wrapped end"),Te.decoder&&!Te.ended){var nt=Te.decoder.end();nt&&nt.length&&De.push(nt)}De.push(null)}),ke.on("data",function(nt){if(x("wrapped data"),Te.decoder&&(nt=Te.decoder.write(nt)),!(Te.objectMode&&nt==null)&&!(!Te.objectMode&&(!nt||!nt.length))){var Ke=De.push(nt);Ke||(xe=!0,ke.pause())}});for(var Re in ke)this[Re]===void 0&&typeof ke[Re]=="function"&&(this[Re]=function(Ke){return function(){return ke[Ke].apply(ke,arguments)}}(Re));for(var Xe=0;Xe=De.length?(De.decoder?Te=De.buffer.join(""):De.buffer.length===1?Te=De.buffer.first():Te=De.buffer.concat(De.length),De.buffer.clear()):Te=De.buffer.consume(ke,De.decoder),Te}function je(ke){var De=ke._readableState;x("endReadable",De.endEmitted),De.endEmitted||(De.ended=!0,ce.nextTick(Je,De,ke))}function Je(ke,De){if(x("endReadableNT",ke.endEmitted,ke.length),!ke.endEmitted&&ke.length===0&&(ke.endEmitted=!0,De.readable=!1,De.emit("end"),ke.autoDestroy)){var Te=De._writableState;(!Te||Te.autoDestroy&&Te.finished)&&De.destroy()}}typeof Symbol=="function"&&(Le.from=function(ke,De){return Ce===void 0&&(Ce=E("./internal/streams/from")),Ce(Le,ke,De)});function Ye(ke,De){for(var Te=0,xe=ke.length;Te-1))throw new Ee(Ie);return this._writableState.defaultEncoding=Ie,this},Object.defineProperty(we.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ge(qe,Ie,je){return!qe.objectMode&&qe.decodeStrings!==!1&&typeof Ie=="string"&&(Ie=re.from(Ie,je)),Ie}Object.defineProperty(we.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ne(qe,Ie,je,Je,Ye,ke){if(!je){var De=Ge(Ie,Je,Ye);Je!==De&&(je=!0,Ye="buffer",Je=De)}var Te=Ie.objectMode?1:Je.length;Ie.length+=Te;var xe=Ie.length0?this.tail.next=ve:this.head=ve,this.tail=ve,++this.length}},{key:"unshift",value:function(me){var ve={data:me,next:this.head};this.length===0&&(this.tail=ve),this.head=ve,++this.length}},{key:"shift",value:function(){if(this.length!==0){var me=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,me}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(me){if(this.length===0)return"";for(var ve=this.head,ge=""+ve.data;ve=ve.next;)ge+=me+ve.data;return ge}},{key:"concat",value:function(me){if(this.length===0)return a.alloc(0);for(var ve=a.allocUnsafe(me>>>0),ge=this.head,pe=0;ge;)z(ge.data,ve,pe),pe+=ge.data.length,ge=ge.next;return ve}},{key:"consume",value:function(me,ve){var ge;return meSe.length?Se.length:me;if(be===Se.length?pe+=Se:pe+=Se.slice(0,me),me-=be,me===0){be===Se.length?(++ge,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=Se.slice(be));break}++ge}return this.length-=ge,pe}},{key:"_getBuffer",value:function(me){var ve=a.allocUnsafe(me),ge=this.head,pe=1;for(ge.data.copy(ve),me-=ge.data.length;ge=ge.next;){var Se=ge.data,be=me>Se.length?Se.length:me;if(Se.copy(ve,ve.length-me,0,be),me-=be,me===0){be===Se.length?(++pe,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=Se.slice(be));break}++pe}return this.length-=pe,ve}},{key:b,value:function(me,ve){return x(this,ne(ne({},ve),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,ye,he){(function(ce){(function(){"use strict";function ne(re,ee){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ee?ee(re):re&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ce.nextTick(ie,this,re)):ce.nextTick(ie,this,re)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(re||null,function(b){!ee&&b?a._writableState?a._writableState.errorEmitted?ce.nextTick(de,a):(a._writableState.errorEmitted=!0,ce.nextTick(se,a,b)):ce.nextTick(se,a,b):ee?(ce.nextTick(de,a),ee(b)):ce.nextTick(de,a)}),this)}function se(re,ee){ie(re,ee),de(re)}function de(re){re._writableState&&!re._writableState.emitClose||re._readableState&&!re._readableState.emitClose||re.emit("close")}function le(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ie(re,ee){re.emit("error",ee)}function oe(re,ee){var a=re._readableState,y=re._writableState;a&&a.autoDestroy||y&&y.autoDestroy?re.destroy(ee):re.emit("error",ee)}ye.exports={destroy:ne,undestroy:le,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,ye,he){"use strict";var ce=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ne(ie){var oe=!1;return function(){if(!oe){oe=!0;for(var re=arguments.length,ee=new Array(re),a=0;a0;return re(ge,Se,be,function(Ee){me||(me=Ee),Ee&&ve.forEach(ee),!Se&&(ve.forEach(ee),ue(me))})});return z.reduce(a)}ye.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,ye,he){"use strict";var ce=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ne(de,le,ie){return de.highWaterMark!=null?de.highWaterMark:le?de[ie]:null}function se(de,le,ie,oe){var re=ne(le,oe,ie);if(re!=null){if(!(isFinite(re)&&Math.floor(re)===re)||re<0){var ee=oe?ie:"highWaterMark";throw new ce(ee,re)}return Math.floor(re)}return de.objectMode?16:16*1024}ye.exports={getHighWaterMark:se}},{"../../../errors":399}],412:[function(E,ye,he){arguments[4][393][0].apply(he,arguments)},{dup:393,events:344}],413:[function(E,ye,he){"use strict";var ce=E("safe-buffer").Buffer,ne=ce.isEncoding||function(ve){switch(ve=""+ve,ve&&ve.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function se(ve){if(!ve)return"utf8";for(var ge;;)switch(ve){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ve;default:if(ge)return;ve=(""+ve).toLowerCase(),ge=!0}}function de(ve){var ge=se(ve);if(typeof ge!="string"&&(ce.isEncoding===ne||!ne(ve)))throw new Error("Unknown encoding: "+ve);return ge||ve}he.StringDecoder=le;function le(ve){this.encoding=de(ve);var ge;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ge=4;break;case"utf8":this.fillLast=ee,ge=4;break;case"base64":this.text=z,this.end=te,ge=3;break;default:this.write=ue,this.end=me;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ce.allocUnsafe(ge)}le.prototype.write=function(ve){if(ve.length===0)return"";var ge,pe;if(this.lastNeed){if(ge=this.fillLast(ve),ge===void 0)return"";pe=this.lastNeed,this.lastNeed=0}else pe=0;return pe>5===6?2:ve>>4===14?3:ve>>3===30?4:ve>>6===2?-1:-2}function oe(ve,ge,pe){var Se=ge.length-1;if(Se=0?(be>0&&(ve.lastNeed=be-1),be):--Se=0?(be>0&&(ve.lastNeed=be-2),be):--Se=0?(be>0&&(be===2?be=0:ve.lastNeed=be-3),be):0))}function re(ve,ge,pe){if((ge[0]&192)!==128)return ve.lastNeed=0,"\uFFFD";if(ve.lastNeed>1&&ge.length>1){if((ge[1]&192)!==128)return ve.lastNeed=1,"\uFFFD";if(ve.lastNeed>2&&ge.length>2&&(ge[2]&192)!==128)return ve.lastNeed=2,"\uFFFD"}}function ee(ve){var ge=this.lastTotal-this.lastNeed,pe=re(this,ve,ge);if(pe!==void 0)return pe;if(this.lastNeed<=ve.length)return ve.copy(this.lastChar,ge,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ve.copy(this.lastChar,ge,0,ve.length),this.lastNeed-=ve.length}function a(ve,ge){var pe=oe(this,ve,ge);if(!this.lastNeed)return ve.toString("utf8",ge);this.lastTotal=pe;var Se=ve.length-(pe-this.lastNeed);return ve.copy(this.lastChar,0,Se),ve.toString("utf8",ge,Se)}function y(ve){var ge=ve&&ve.length?this.write(ve):"";return this.lastNeed?ge+"\uFFFD":ge}function x(ve,ge){if((ve.length-ge)%2===0){var pe=ve.toString("utf16le",ge);if(pe){var Se=pe.charCodeAt(pe.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ve[ve.length-2],this.lastChar[1]=ve[ve.length-1],pe.slice(0,-1)}return pe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ve[ve.length-1],ve.toString("utf16le",ge,ve.length-1)}function b(ve){var ge=ve&&ve.length?this.write(ve):"";if(this.lastNeed){var pe=this.lastTotal-this.lastNeed;return ge+this.lastChar.toString("utf16le",0,pe)}return ge}function z(ve,ge){var pe=(ve.length-ge)%3;return pe===0?ve.toString("base64",ge):(this.lastNeed=3-pe,this.lastTotal=3,pe===1?this.lastChar[0]=ve[ve.length-1]:(this.lastChar[0]=ve[ve.length-2],this.lastChar[1]=ve[ve.length-1]),ve.toString("base64",ge,ve.length-pe))}function te(ve){var ge=ve&&ve.length?this.write(ve):"";return this.lastNeed?ge+this.lastChar.toString("base64",0,3-this.lastNeed):ge}function ue(ve){return ve.toString(this.encoding)}function me(ve){return ve&&ve.length?this.write(ve):""}},{"safe-buffer":396}],414:[function(E,ye,he){(function(ce,ne){(function(){var se=E("process/browser.js").nextTick,de=Function.prototype.apply,le=Array.prototype.slice,ie={},oe=0;he.setTimeout=function(){return new re(de.call(setTimeout,window,arguments),clearTimeout)},he.setInterval=function(){return new re(de.call(setInterval,window,arguments),clearInterval)},he.clearTimeout=he.clearInterval=function(ee){ee.close()};function re(ee,a){this._id=ee,this._clearFn=a}re.prototype.unref=re.prototype.ref=function(){},re.prototype.close=function(){this._clearFn.call(window,this._id)},he.enroll=function(ee,a){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=a},he.unenroll=function(ee){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=-1},he._unrefActive=he.active=function(ee){clearTimeout(ee._idleTimeoutId);var a=ee._idleTimeout;a>=0&&(ee._idleTimeoutId=setTimeout(function(){ee._onTimeout&&ee._onTimeout()},a))},he.setImmediate=typeof ce=="function"?ce:function(ee){var a=oe++,y=arguments.length<2?!1:le.call(arguments,1);return ie[a]=!0,se(function(){ie[a]&&(y?ee.apply(null,y):ee.call(null),he.clearImmediate(a))}),a},he.clearImmediate=typeof ne=="function"?ne:function(ee){delete ie[ee]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,ye,he){var ce=E("buffer").Buffer;ye.exports=function(ne){if(ne instanceof Uint8Array){if(ne.byteOffset===0&&ne.byteLength===ne.buffer.byteLength)return ne.buffer;if(typeof ne.buffer.slice=="function")return ne.buffer.slice(ne.byteOffset,ne.byteOffset+ne.byteLength)}if(ce.isBuffer(ne)){for(var se=new Uint8Array(ne.length),de=ne.length,le=0;le=$e)return qe;switch(qe){case"%s":return String(dt[et++]);case"%d":return Number(dt[et++]);case"%j":try{return JSON.stringify(dt[et++])}catch(Ie){return"[Circular]"}default:return qe}}),Me=dt[et];et<$e;Me=dt[++et])ge(Me)||!Pe(Me)?Ze+=" "+Me:Ze+=" "+oe(Me);return Ze},he.deprecate=function(Ve,tt){if(typeof ce!="undefined"&&ce.noDeprecation===!0)return Ve;if(typeof ce=="undefined")return function(){return he.deprecate(Ve,tt).apply(this,arguments)};var et=!1;function dt(){if(!et){if(ce.throwDeprecation)throw new Error(tt);ce.traceDeprecation?console.trace(tt):console.error(tt),et=!0}return Ve.apply(this,arguments)}return dt};var de={},le=/^$/;if(ce.env.NODE_DEBUG){var ie=ce.env.NODE_DEBUG;ie=ie.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),le=new RegExp("^"+ie+"$","i")}he.debuglog=function(Ve){if(Ve=Ve.toUpperCase(),!de[Ve])if(le.test(Ve)){var tt=ce.pid;de[Ve]=function(){var et=he.format.apply(he,arguments);console.error("%s %d: %s",Ve,tt,et)}}else de[Ve]=function(){};return de[Ve]};function oe(Ve,tt){var et={seen:[],stylize:ee};return arguments.length>=3&&(et.depth=arguments[2]),arguments.length>=4&&(et.colors=arguments[3]),ve(tt)?et.showHidden=tt:tt&&he._extend(et,tt),Ce(et.showHidden)&&(et.showHidden=!1),Ce(et.depth)&&(et.depth=2),Ce(et.colors)&&(et.colors=!1),Ce(et.customInspect)&&(et.customInspect=!0),et.colors&&(et.stylize=re),y(et,Ve,et.depth)}he.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(Ve,tt){var et=oe.styles[tt];return et?"\x1B["+oe.colors[et][0]+"m"+Ve+"\x1B["+oe.colors[et][1]+"m":Ve}function ee(Ve,tt){return Ve}function a(Ve){var tt={};return Ve.forEach(function(et,dt){tt[et]=!0}),tt}function y(Ve,tt,et){if(Ve.customInspect&&tt&&Le(tt.inspect)&&tt.inspect!==he.inspect&&!(tt.constructor&&tt.constructor.prototype===tt)){var dt=tt.inspect(et,Ve);return be(dt)||(dt=y(Ve,dt,et)),dt}var $e=x(Ve,tt);if($e)return $e;var Ze=Object.keys(tt),Me=a(Ze);if(Ve.showHidden&&(Ze=Object.getOwnPropertyNames(tt)),we(tt)&&(Ze.indexOf("message")>=0||Ze.indexOf("description")>=0))return b(tt);if(Ze.length===0){if(Le(tt)){var qe=tt.name?": "+tt.name:"";return Ve.stylize("[Function"+qe+"]","special")}if(Be(tt))return Ve.stylize(RegExp.prototype.toString.call(tt),"regexp");if(Fe(tt))return Ve.stylize(Date.prototype.toString.call(tt),"date");if(we(tt))return b(tt)}var Ie="",je=!1,Je=["{","}"];if(me(tt)&&(je=!0,Je=["[","]"]),Le(tt)){var Ye=tt.name?": "+tt.name:"";Ie=" [Function"+Ye+"]"}if(Be(tt)&&(Ie=" "+RegExp.prototype.toString.call(tt)),Fe(tt)&&(Ie=" "+Date.prototype.toUTCString.call(tt)),we(tt)&&(Ie=" "+b(tt)),Ze.length===0&&(!je||tt.length==0))return Je[0]+Ie+Je[1];if(et<0)return Be(tt)?Ve.stylize(RegExp.prototype.toString.call(tt),"regexp"):Ve.stylize("[Object]","special");Ve.seen.push(tt);var ke;return je?ke=z(Ve,tt,et,Me,Ze):ke=Ze.map(function(De){return te(Ve,tt,et,Me,De,je)}),Ve.seen.pop(),ue(ke,Ie,Je)}function x(Ve,tt){if(Ce(tt))return Ve.stylize("undefined","undefined");if(be(tt)){var et="'"+JSON.stringify(tt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ve.stylize(et,"string")}if(Se(tt))return Ve.stylize(""+tt,"number");if(ve(tt))return Ve.stylize(""+tt,"boolean");if(ge(tt))return Ve.stylize("null","null")}function b(Ve){return"["+Error.prototype.toString.call(Ve)+"]"}function z(Ve,tt,et,dt,$e){for(var Ze=[],Me=0,qe=tt.length;Me-1&&(Ze?qe=qe.split(` +`).map(function(je){return" "+je}).join(` +`).slice(2):qe=` +`+qe.split(` +`).map(function(je){return" "+je}).join(` +`))):qe=Ve.stylize("[Circular]","special")),Ce(Me)){if(Ze&&$e.match(/^\d+$/))return qe;Me=JSON.stringify(""+$e),Me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Me=Me.slice(1,-1),Me=Ve.stylize(Me,"name")):(Me=Me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Me=Ve.stylize(Me,"string"))}return Me+": "+qe}function ue(Ve,tt,et){var dt=0,$e=Ve.reduce(function(Ze,Me){return dt++,Me.indexOf(` +`)>=0&&dt++,Ze+Me.replace(/\u001b\[\d\d?m/g,"").length+1},0);return $e>60?et[0]+(tt===""?"":tt+` + `)+" "+Ve.join(`, + `)+" "+et[1]:et[0]+tt+" "+Ve.join(", ")+" "+et[1]}he.types=E("./support/types");function me(Ve){return Array.isArray(Ve)}he.isArray=me;function ve(Ve){return typeof Ve=="boolean"}he.isBoolean=ve;function ge(Ve){return Ve===null}he.isNull=ge;function pe(Ve){return Ve==null}he.isNullOrUndefined=pe;function Se(Ve){return typeof Ve=="number"}he.isNumber=Se;function be(Ve){return typeof Ve=="string"}he.isString=be;function Ee(Ve){return typeof Ve=="symbol"}he.isSymbol=Ee;function Ce(Ve){return Ve===void 0}he.isUndefined=Ce;function Be(Ve){return Pe(Ve)&&Ge(Ve)==="[object RegExp]"}he.isRegExp=Be,he.types.isRegExp=Be;function Pe(Ve){return typeof Ve=="object"&&Ve!==null}he.isObject=Pe;function Fe(Ve){return Pe(Ve)&&Ge(Ve)==="[object Date]"}he.isDate=Fe,he.types.isDate=Fe;function we(Ve){return Pe(Ve)&&(Ge(Ve)==="[object Error]"||Ve instanceof Error)}he.isError=we,he.types.isNativeError=we;function Le(Ve){return typeof Ve=="function"}he.isFunction=Le;function Oe(Ve){return Ve===null||typeof Ve=="boolean"||typeof Ve=="number"||typeof Ve=="string"||typeof Ve=="symbol"||typeof Ve=="undefined"}he.isPrimitive=Oe,he.isBuffer=E("./support/isBuffer");function Ge(Ve){return Object.prototype.toString.call(Ve)}function Ne(Ve){return Ve<10?"0"+Ve.toString(10):Ve.toString(10)}var Ue=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function He(){var Ve=new Date,tt=[Ne(Ve.getHours()),Ne(Ve.getMinutes()),Ne(Ve.getSeconds())].join(":");return[Ve.getDate(),Ue[Ve.getMonth()],tt].join(" ")}he.log=function(){console.log("%s - %s",He(),he.format.apply(he,arguments))},he.inherits=E("inherits"),he._extend=function(Ve,tt){if(!tt||!Pe(tt))return Ve;for(var et=Object.keys(tt),dt=et.length;dt--;)Ve[et[dt]]=tt[et[dt]];return Ve};function Qe(Ve,tt){return Object.prototype.hasOwnProperty.call(Ve,tt)}var We=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;he.promisify=function(tt){if(typeof tt!="function")throw new TypeError('The "original" argument must be of type Function');if(We&&tt[We]){var et=tt[We];if(typeof et!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(et,We,{value:et,enumerable:!1,writable:!1,configurable:!0}),et}function et(){for(var dt,$e,Ze=new Promise(function(Ie,je){dt=Ie,$e=je}),Me=[],qe=0;qe-1?ge:ge!=="Object"?!1:ue(ve)}return ie?te(ve):null}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,ye,he){(function(){"use strict";he.stripBOM=function(ce){return ce[0]==="\uFEFF"?ce.substring(1):ce}}).call(this)},{}],422:[function(E,ye,he){(function(){"use strict";var ce,ne,se,de,le,ie={}.hasOwnProperty;ce=E("xmlbuilder"),ne=E("./defaults").defaults,de=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},le=function(oe){return""},se=function(oe){return oe.replace("]]>","]]]]>")},he.Builder=function(){function oe(re){var ee,a,y;this.options={},a=ne["0.2"];for(ee in a)ie.call(a,ee)&&(y=a[ee],this.options[ee]=y);for(ee in re)ie.call(re,ee)&&(y=re[ee],this.options[ee]=y)}return oe.prototype.buildObject=function(re){var ee,a,y,x,b;return ee=this.options.attrkey,a=this.options.charkey,Object.keys(re).length===1&&this.options.rootName===ne["0.2"].rootName?(b=Object.keys(re)[0],re=re[b]):b=this.options.rootName,y=function(z){return function(te,ue){var me,ve,ge,pe,Se,be;if(typeof ue!="object")z.options.cdata&&de(ue)?te.raw(le(ue)):te.txt(ue);else if(Array.isArray(ue)){for(pe in ue)if(ie.call(ue,pe)){ve=ue[pe];for(Se in ve)ge=ve[Se],te=y(te.ele(Se),ge).up()}}else for(Se in ue)if(ie.call(ue,Se))if(ve=ue[Se],Se===ee){if(typeof ve=="object")for(me in ve)be=ve[me],te=te.att(me,be)}else if(Se===a)z.options.cdata&&de(ve)?te=te.raw(le(ve)):te=te.txt(ve);else if(Array.isArray(ve))for(pe in ve)ie.call(ve,pe)&&(ge=ve[pe],typeof ge=="string"?z.options.cdata&&de(ge)?te=te.ele(Se).raw(le(ge)).up():te=te.ele(Se,ge).up():te=y(te.ele(Se),ge).up());else typeof ve=="object"?te=y(te.ele(Se),ve).up():typeof ve=="string"&&z.options.cdata&&de(ve)?te=te.ele(Se).raw(le(ve)).up():(ve==null&&(ve=""),te=te.ele(Se,ve.toString()).up());return te}}(this),x=ce.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,re).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,ye,he){(function(){he.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,ye,he){(function(){"use strict";var ce,ne,se,de,le,ie,oe,re,ee,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var te in z)x.call(z,te)&&(b[te]=z[te]);function ue(){this.constructor=b}return ue.prototype=z.prototype,b.prototype=new ue,b.__super__=z.prototype,b},x={}.hasOwnProperty;re=E("sax"),de=E("events"),ce=E("./bom"),oe=E("./processors"),ee=E("timers").setImmediate,ne=E("./defaults").defaults,le=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ie=function(b,z,te){var ue,me,ve;for(ue=0,me=b.length;ue0&&(Ee[ge.options.childkey]=Be),Be=Ee;else if(we){we[ge.options.childkey]=we[ge.options.childkey]||[],Pe={};for(be in Be)x.call(Be,be)&&se(Pe,be,Be[be]);we[ge.options.childkey].push(Pe),delete Be["#name"],Object.keys(Be).length===1&&ue in Be&&!ge.EXPLICIT_CHARKEY&&(Be=Be[ue])}}return ve.length>0?ge.assignOrPush(we,Ce,Be):(ge.options.explicitRoot&&(Fe=Be,Be={},se(Be,Ce,Fe)),ge.resultObject=Be,ge.saxParser.ended=!0,ge.emit("end",ge.resultObject))}}(this),me=function(ge){return function(pe){var Se,be;if(be=ve[ve.length-1],be)return be[ue]+=pe,ge.options.explicitChildren&&ge.options.preserveChildrenOrder&&ge.options.charsAsChildren&&(ge.options.includeWhiteChars||pe.replace(/\\n/g,"").trim()!=="")&&(be[ge.options.childkey]=be[ge.options.childkey]||[],Se={"#name":"__text__"},Se[ue]=pe,ge.options.normalize&&(Se[ue]=Se[ue].replace(/\s{2,}/g," ").trim()),be[ge.options.childkey].push(Se)),be}}(this),this.saxParser.ontext=me,this.saxParser.oncdata=function(ge){return function(pe){var Se;if(Se=me(pe),Se)return Se.cdata=!0}}(this)},z.prototype.parseString=function(te,ue){var me;ue!=null&&typeof ue=="function"&&(this.on("end",function(ve){return this.reset(),ue(null,ve)}),this.on("error",function(ve){return this.reset(),ue(ve)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=ce.stripBOM(te),this.options.async?(this.remaining=te,ee(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(ve){if(me=ve,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw me}else return this.emit("error",me),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(te){return new Promise(function(ue){return function(me,ve){return ue.parseString(te,function(ge,pe){return ge?ve(ge):me(pe)})}}(this))},z}(de),he.parseString=function(b,z,te){var ue,me,ve;return te!=null?(typeof te=="function"&&(ue=te),typeof z=="object"&&(me=z)):(typeof z=="function"&&(ue=z),me={}),ve=new he.Parser(me),ve.parseString(b,ue)},he.parseStringPromise=function(b,z){var te,ue;return typeof z=="object"&&(te=z),ue=new he.Parser(te),ue.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,ye,he){(function(){"use strict";var ce;ce=new RegExp(/(?!xmlns)^.*:/),he.normalize=function(ne){return ne.toLowerCase()},he.firstCharLowerCase=function(ne){return ne.charAt(0).toLowerCase()+ne.slice(1)},he.stripPrefix=function(ne){return ne.replace(ce,"")},he.parseNumbers=function(ne){return isNaN(ne)||(ne=ne%1===0?parseInt(ne,10):parseFloat(ne)),ne},he.parseBooleans=function(ne){return/^(?:true|false)$/i.test(ne)&&(ne=ne.toLowerCase()==="true"),ne}}).call(this)},{}],426:[function(E,ye,he){(function(){"use strict";var ce,ne,se,de,le=function(oe,re){for(var ee in re)ie.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ie={}.hasOwnProperty;ne=E("./defaults"),ce=E("./builder"),se=E("./parser"),de=E("./processors"),he.defaults=ne.defaults,he.processors=de,he.ValidationError=function(oe){le(re,oe);function re(ee){this.message=ee}return re}(Error),he.Builder=ce.Builder,he.Parser=se.Parser,he.parseString=se.parseString,he.parseStringPromise=se.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,ye,he){(function(){ye.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,ye,he){(function(){ye.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,ye,he){(function(){var ce,ne,se,de,le,ie,oe,re=[].slice,ee={}.hasOwnProperty;ce=function(){var a,y,x,b,z,te;if(te=arguments[0],z=2<=arguments.length?re.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a":"attribute: {"+le+"}, parent: <"+this.parent.name+">"},de.prototype.isEqualNode=function(le){return!(le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.value!==this.value)},de}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,ye,he){(function(){var ce,ne,se,de=function(ie,oe){for(var re in oe)le.call(oe,re)&&(ie[re]=oe[re]);function ee(){this.constructor=ie}return ee.prototype=oe.prototype,ie.prototype=new ee,ie.__super__=oe.prototype,ie},le={}.hasOwnProperty;ce=E("./NodeType"),se=E("./XMLCharacterData"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,ee){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ce.CData,this.value=this.stringify.cdata(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.cdata(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,ye,he){(function(){var ce,ne,se=function(le,ie){for(var oe in ie)de.call(ie,oe)&&(le[oe]=ie[oe]);function re(){this.constructor=le}return re.prototype=ie.prototype,le.prototype=new re,le.__super__=ie.prototype,le},de={}.hasOwnProperty;ne=E("./XMLNode"),ye.exports=ce=function(le){se(ie,le);function ie(oe){ie.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ie.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ie.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ie.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ie.prototype.clone=function(){return Object.create(this)},ie.prototype.substringData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.insertData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.deleteData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.replaceData=function(oe,re,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},ie.prototype.isEqualNode=function(oe){return!(!ie.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ie}(ne)}).call(this)},{"./XMLNode":450}],434:[function(E,ye,he){(function(){var ce,ne,se,de=function(ie,oe){for(var re in oe)le.call(oe,re)&&(ie[re]=oe[re]);function ee(){this.constructor=ie}return ee.prototype=oe.prototype,ie.prototype=new ee,ie.__super__=oe.prototype,ie},le={}.hasOwnProperty;ce=E("./NodeType"),ne=E("./XMLCharacterData"),ye.exports=se=function(ie){de(oe,ie);function oe(re,ee){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ce.Comment,this.value=this.stringify.comment(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.comment(this,this.options.writer.filterOptions(re))},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,ye,he){(function(){var ce,ne,se;ne=E("./XMLDOMErrorHandler"),se=E("./XMLDOMStringList"),ye.exports=ce=function(){function de(){var le;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ne,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=le=Object.create(this.defaultParams)}return Object.defineProperty(de.prototype,"parameterNames",{get:function(){return new se(Object.keys(this.defaultParams))}}),de.prototype.getParameter=function(le){return this.params.hasOwnProperty(le)?this.params[le]:null},de.prototype.canSetParameter=function(le,ie){return!0},de.prototype.setParameter=function(le,ie){return ie!=null?this.params[le]=ie:delete this.params[le]},de}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,ye,he){(function(){var ce;ye.exports=ce=function(){function ne(){}return ne.prototype.handleError=function(se){throw new Error(se)},ne}()}).call(this)},{}],437:[function(E,ye,he){(function(){var ce;ye.exports=ce=function(){function ne(){}return ne.prototype.hasFeature=function(se,de){return!0},ne.prototype.createDocumentType=function(se,de,le){throw new Error("This DOM method is not implemented.")},ne.prototype.createDocument=function(se,de,le){throw new Error("This DOM method is not implemented.")},ne.prototype.createHTMLDocument=function(se){throw new Error("This DOM method is not implemented.")},ne.prototype.getFeature=function(se,de){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],438:[function(E,ye,he){(function(){var ce;ye.exports=ce=function(){function ne(se){this.arr=se||[]}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.arr.length}}),ne.prototype.item=function(se){return this.arr[se]||null},ne.prototype.contains=function(se){return this.arr.indexOf(se)!==-1},ne}()}).call(this)},{}],439:[function(E,ye,he){(function(){var ce,ne,se,de=function(ie,oe){for(var re in oe)le.call(oe,re)&&(ie[re]=oe[re]);function ee(){this.constructor=ie}return ee.prototype=oe.prototype,ie.prototype=new ee,ie.__super__=oe.prototype,ie},le={}.hasOwnProperty;se=E("./XMLNode"),ce=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,ee,a,y,x,b){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ee));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ee));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ee));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ee));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ee));this.elementName=this.stringify.name(ee),this.type=ce.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(re){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,ye,he){(function(){var ce,ne,se,de=function(ie,oe){for(var re in oe)le.call(oe,re)&&(ie[re]=oe[re]);function ee(){this.constructor=ie}return ee.prototype=oe.prototype,ie.prototype=new ee,ie.__super__=oe.prototype,ie},le={}.hasOwnProperty;se=E("./XMLNode"),ce=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,ee,a){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ee),this.type=ce.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(re){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,ye,he){(function(){var ce,ne,se,de,le=function(oe,re){for(var ee in re)ie.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ie={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),ce=E("./NodeType"),ye.exports=ne=function(oe){le(re,oe);function re(ee,a,y,x){if(re.__super__.constructor.call(this,ee),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=ce.EntityDeclaration,!de(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(re.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(re.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlVersion",{get:function(){return null}}),re.prototype.toString=function(ee){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ee))},re}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,ye,he){(function(){var ce,ne,se,de=function(ie,oe){for(var re in oe)le.call(oe,re)&&(ie[re]=oe[re]);function ee(){this.constructor=ie}return ee.prototype=oe.prototype,ie.prototype=new ee,ie.__super__=oe.prototype,ie},le={}.hasOwnProperty;se=E("./XMLNode"),ce=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re,ee,a){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ee));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ee));this.name=this.stringify.name(ee),this.type=ce.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(re){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(re))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,ye,he){(function(){var ce,ne,se,de,le=function(oe,re){for(var ee in re)ie.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ie={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),ce=E("./NodeType"),ye.exports=ne=function(oe){le(re,oe);function re(ee,a,y,x){var b;re.__super__.constructor.call(this,ee),de(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=ce.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return re.prototype.toString=function(ee){return this.options.writer.declaration(this,this.options.writer.filterOptions(ee))},re}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,ye,he){(function(){var ce,ne,se,de,le,ie,oe,re,ee,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility").isObject,re=E("./XMLNode"),ce=E("./NodeType"),ne=E("./XMLDTDAttList"),de=E("./XMLDTDEntity"),se=E("./XMLDTDElement"),le=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),ye.exports=ie=function(x){a(b,x);function b(z,te,ue){var me,ve,ge,pe,Se,be;if(b.__super__.constructor.call(this,z),this.type=ce.DocType,z.children){for(pe=z.children,ve=0,ge=pe.length;ve=0;)this.up();return this.onEnd()},Pe.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Pe.prototype.openNode=function(Fe){var we,Le,Oe,Ge;if(!Fe.isOpen){if(!this.root&&this.currentLevel===0&&Fe.type===ce.Element&&(this.root=Fe),Le="",Fe.type===ce.Element){this.writerOptions.state=ne.OpenTag,Le=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+"<"+Fe.name,Ge=Fe.attribs;for(Oe in Ge)Be.call(Ge,Oe)&&(we=Ge[Oe],Le+=this.writer.attribute(we,this.writerOptions,this.currentLevel));Le+=(Fe.children?">":"/>")+this.writer.endline(Fe,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.InsideTag}else this.writerOptions.state=ne.OpenTag,Le=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+""),Le+=this.writer.endline(Fe,this.writerOptions,this.currentLevel);return this.onData(Le,this.currentLevel),Fe.isOpen=!0}},Pe.prototype.closeNode=function(Fe){var we;if(!Fe.isClosed)return we="",this.writerOptions.state=ne.CloseTag,Fe.type===ce.Element?we=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+""+this.writer.endline(Fe,this.writerOptions,this.currentLevel):we=this.writer.indent(Fe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Fe,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.None,this.onData(we,this.currentLevel),Fe.isClosed=!0},Pe.prototype.onData=function(Fe,we){return this.documentStarted=!0,this.onDataCallback(Fe,we+1)},Pe.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Pe.prototype.debugInfo=function(Fe){return Fe==null?"":"node: <"+Fe+">"},Pe.prototype.ele=function(){return this.element.apply(this,arguments)},Pe.prototype.nod=function(Fe,we,Le){return this.node(Fe,we,Le)},Pe.prototype.txt=function(Fe){return this.text(Fe)},Pe.prototype.dat=function(Fe){return this.cdata(Fe)},Pe.prototype.com=function(Fe){return this.comment(Fe)},Pe.prototype.ins=function(Fe,we){return this.instruction(Fe,we)},Pe.prototype.dec=function(Fe,we,Le){return this.declaration(Fe,we,Le)},Pe.prototype.dtd=function(Fe,we,Le){return this.doctype(Fe,we,Le)},Pe.prototype.e=function(Fe,we,Le){return this.element(Fe,we,Le)},Pe.prototype.n=function(Fe,we,Le){return this.node(Fe,we,Le)},Pe.prototype.t=function(Fe){return this.text(Fe)},Pe.prototype.d=function(Fe){return this.cdata(Fe)},Pe.prototype.c=function(Fe){return this.comment(Fe)},Pe.prototype.r=function(Fe){return this.raw(Fe)},Pe.prototype.i=function(Fe,we){return this.instruction(Fe,we)},Pe.prototype.att=function(){return this.currentNode&&this.currentNode.type===ce.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Pe.prototype.a=function(){return this.currentNode&&this.currentNode.type===ce.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Pe.prototype.ent=function(Fe,we){return this.entity(Fe,we)},Pe.prototype.pent=function(Fe,we){return this.pEntity(Fe,we)},Pe.prototype.not=function(Fe,we){return this.notation(Fe,we)},Pe}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,ye,he){(function(){var ce,ne,se,de=function(ie,oe){for(var re in oe)le.call(oe,re)&&(ie[re]=oe[re]);function ee(){this.constructor=ie}return ee.prototype=oe.prototype,ie.prototype=new ee,ie.__super__=oe.prototype,ie},le={}.hasOwnProperty;se=E("./XMLNode"),ce=E("./NodeType"),ye.exports=ne=function(ie){de(oe,ie);function oe(re){oe.__super__.constructor.call(this,re),this.type=ce.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return""},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,ye,he){(function(){var ce,ne,se,de,le,ie,oe,re,ee,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility"),re=ee.isObject,oe=ee.isFunction,ie=ee.getValue,le=E("./XMLNode"),ce=E("./NodeType"),ne=E("./XMLAttribute"),de=E("./XMLNamedNodeMap"),ye.exports=se=function(x){a(b,x);function b(z,te,ue){var me,ve,ge,pe;if(b.__super__.constructor.call(this,z),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=ce.Element,this.attribs={},this.schemaTypeInfo=null,ue!=null&&this.attribute(ue),z.type===ce.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(pe=z.children,ve=0,ge=pe.length;ve=me;te=0<=me?++ue:--ue)if(!this.attribs[te].isEqualNode(z.attribs[te]))return!1;return!0},b}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,ye,he){(function(){var ce;ye.exports=ce=function(){function ne(se){this.nodes=se}return Object.defineProperty(ne.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.getNamedItem=function(se){return this.nodes[se]},ne.prototype.setNamedItem=function(se){var de;return de=this.nodes[se.nodeName],this.nodes[se.nodeName]=se,de||null},ne.prototype.removeNamedItem=function(se){var de;return de=this.nodes[se],delete this.nodes[se],de||null},ne.prototype.item=function(se){return this.nodes[Object.keys(this.nodes)[se]]||null},ne.prototype.getNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},ne.prototype.setNamedItemNS=function(se){throw new Error("This DOM method is not implemented.")},ne.prototype.removeNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],450:[function(E,ye,he){(function(){var ce,ne,se,de,le,ie,oe,re,ee,a,y,x,b,z,te,ue,me,ve,ge,pe={}.hasOwnProperty;ge=E("./Utility"),ve=ge.isObject,me=ge.isFunction,ue=ge.isEmpty,te=ge.getValue,re=null,se=null,de=null,le=null,ie=null,b=null,z=null,x=null,oe=null,ne=null,y=null,ee=null,ce=null,ye.exports=a=function(){function Se(be){this.parent=be,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,re||(re=E("./XMLElement"),se=E("./XMLCData"),de=E("./XMLComment"),le=E("./XMLDeclaration"),ie=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),ne=E("./NodeType"),y=E("./XMLNodeList"),ee=E("./XMLNamedNodeMap"),ce=E("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var be;return be=this.parent.children.indexOf(this),this.parent.children[be-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var be;return be=this.parent.children.indexOf(this),this.parent.children[be+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var be,Ee,Ce,Be,Pe;if(this.nodeType===ne.Element||this.nodeType===ne.DocumentFragment){for(Pe="",Be=this.children,Ee=0,Ce=Be.length;Ee":(Ce=this.parent)!=null&&Ce.name?"node: <"+be+">, parent: <"+this.parent.name+">":"node: <"+be+">"},Se.prototype.ele=function(be,Ee,Ce){return this.element(be,Ee,Ce)},Se.prototype.nod=function(be,Ee,Ce){return this.node(be,Ee,Ce)},Se.prototype.txt=function(be){return this.text(be)},Se.prototype.dat=function(be){return this.cdata(be)},Se.prototype.com=function(be){return this.comment(be)},Se.prototype.ins=function(be,Ee){return this.instruction(be,Ee)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(be,Ee,Ce){return this.declaration(be,Ee,Ce)},Se.prototype.e=function(be,Ee,Ce){return this.element(be,Ee,Ce)},Se.prototype.n=function(be,Ee,Ce){return this.node(be,Ee,Ce)},Se.prototype.t=function(be){return this.text(be)},Se.prototype.d=function(be){return this.cdata(be)},Se.prototype.c=function(be){return this.comment(be)},Se.prototype.r=function(be){return this.raw(be)},Se.prototype.i=function(be,Ee){return this.instruction(be,Ee)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(be){return this.importDocument(be)},Se.prototype.replaceChild=function(be,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(be,Ee){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(be){var Ee,Ce;return Ee=this,Ee===be?0:this.document()!==be.document()?(Ce=ce.Disconnected|ce.ImplementationSpecific,Math.random()<.5?Ce|=ce.Preceding:Ce|=ce.Following,Ce):Ee.isAncestor(be)?ce.Contains|ce.Preceding:Ee.isDescendant(be)?ce.Contains|ce.Following:Ee.isPreceding(be)?ce.Preceding:ce.Following},Se.prototype.isSameNode=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(be){var Ee,Ce,Be;if(be.nodeType!==this.nodeType||be.children.length!==this.children.length)return!1;for(Ee=Ce=0,Be=this.children.length-1;0<=Be?Ce<=Be:Ce>=Be;Ee=0<=Be?++Ce:--Ce)if(!this.children[Ee].isEqualNode(be.children[Ee]))return!1;return!0},Se.prototype.getFeature=function(be,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(be,Ee,Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(be){return be?be===this||this.isDescendant(be):!1},Se.prototype.isDescendant=function(be){var Ee,Ce,Be,Pe,Fe;for(Fe=this.children,Be=0,Pe=Fe.length;BeCe},Se.prototype.treePosition=function(be){var Ee,Ce;return Ce=0,Ee=!1,this.foreachTreeNode(this.document(),function(Be){if(Ce++,!Ee&&Be===be)return Ee=!0}),Ee?Ce:-1},Se.prototype.foreachTreeNode=function(be,Ee){var Ce,Be,Pe,Fe,we;for(be||(be=this.document()),Fe=be.children,Be=0,Pe=Fe.length;Be0){for(this.stream.write(" ["),this.stream.write(this.endline(ee,a,y)),a.state=ne.InsideTag,te=ee.children,b=0,z=te.length;b"),this.stream.write(this.endline(ee,a,y)),a.state=ne.None,this.closeNode(ee,a,y)},re.prototype.element=function(ee,a,y){var x,b,z,te,ue,me,ve,ge,pe,Se;y||(y=0),this.openNode(ee,a,y),a.state=ne.OpenTag,this.stream.write(this.indent(ee,a,y)+"<"+ee.name),pe=ee.attribs;for(ve in pe)ie.call(pe,ve)&&(x=pe[ve],this.attribute(x,a,y));if(z=ee.children.length,te=z===0?null:ee.children[0],z===0||ee.children.every(function(be){return(be.type===ce.Text||be.type===ce.Raw)&&be.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=ne.CloseTag,this.stream.write("")):(a.state=ne.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(te.type===ce.Text||te.type===ce.Raw)&&te.value!=null)this.stream.write(">"),a.state=ne.InsideTag,a.suppressPrettyCount++,ge=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,ge=!1,a.state=ne.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ee,a,y)),a.state=ne.InsideTag,Se=ee.children,ue=0,me=Se.length;ue")}return this.stream.write(this.endline(ee,a,y)),a.state=ne.None,this.closeNode(ee,a,y)},re.prototype.processingInstruction=function(ee,a,y){return this.stream.write(re.__super__.processingInstruction.call(this,ee,a,y))},re.prototype.raw=function(ee,a,y){return this.stream.write(re.__super__.raw.call(this,ee,a,y))},re.prototype.text=function(ee,a,y){return this.stream.write(re.__super__.text.call(this,ee,a,y))},re.prototype.dtdAttList=function(ee,a,y){return this.stream.write(re.__super__.dtdAttList.call(this,ee,a,y))},re.prototype.dtdElement=function(ee,a,y){return this.stream.write(re.__super__.dtdElement.call(this,ee,a,y))},re.prototype.dtdEntity=function(ee,a,y){return this.stream.write(re.__super__.dtdEntity.call(this,ee,a,y))},re.prototype.dtdNotation=function(ee,a,y){return this.stream.write(re.__super__.dtdNotation.call(this,ee,a,y))},re}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,ye,he){(function(){var ce,ne,se=function(le,ie){for(var oe in ie)de.call(ie,oe)&&(le[oe]=ie[oe]);function re(){this.constructor=le}return re.prototype=ie.prototype,le.prototype=new re,le.__super__=ie.prototype,le},de={}.hasOwnProperty;ne=E("./XMLWriterBase"),ye.exports=ce=function(le){se(ie,le);function ie(oe){ie.__super__.constructor.call(this,oe)}return ie.prototype.document=function(oe,re){var ee,a,y,x,b;for(re=this.filterOptions(re),x="",b=oe.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(le))},de.prototype.comment=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+le);return this.assertLegalChar(le)},de.prototype.raw=function(le){return this.options.noValidation?le:""+le||""},de.prototype.attValue=function(le){return this.options.noValidation?le:this.assertLegalChar(this.attEscape(le=""+le||""))},de.prototype.insTarget=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.insValue=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/\?>/))throw new Error("Invalid processing instruction value: "+le);return this.assertLegalChar(le)},de.prototype.xmlVersion=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+le);return le},de.prototype.xmlEncoding=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+le);return this.assertLegalChar(le)},de.prototype.xmlStandalone=function(le){return this.options.noValidation?le:le?"yes":"no"},de.prototype.dtdPubID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdSysID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdElementValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdAttType=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdAttDefault=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdEntityValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdNData=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.convertAttKey="@",de.prototype.convertPIKey="?",de.prototype.convertTextKey="#text",de.prototype.convertCDataKey="#cdata",de.prototype.convertCommentKey="#comment",de.prototype.convertRawKey="#raw",de.prototype.assertLegalChar=function(le){var ie,oe;if(this.options.noValidation)return le;if(ie="",this.options.version==="1.0"){if(ie=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=le.match(ie))throw new Error("Invalid character in string: "+le+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ie=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=le.match(ie)))throw new Error("Invalid character in string: "+le+" at index "+oe.index);return le},de.prototype.assertLegalName=function(le){var ie;if(this.options.noValidation)return le;if(this.assertLegalChar(le),ie=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!le.match(ie))throw new Error("Invalid character in name");return le},de.prototype.textEscape=function(le){var ie;return this.options.noValidation?le:(ie=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(ie,"&").replace(//g,">").replace(/\r/g," "))},de.prototype.attEscape=function(le){var ie;return this.options.noValidation?le:(ie=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(ie,"&").replace(/0)?new Array(Ee).join(Se.indent):""},ge.prototype.endline=function(pe,Se,be){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},ge.prototype.attribute=function(pe,Se,be){var Ee;return this.openAttribute(pe,Se,be),Ee=" "+pe.name+'="'+pe.value+'"',this.closeAttribute(pe,Se,be),Ee},ge.prototype.cdata=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.comment=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.declaration=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+"",Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.docType=function(pe,Se,be){var Ee,Ce,Be,Pe,Fe;if(be||(be=0),this.openNode(pe,Se,be),Se.state=ne.OpenTag,Pe=this.indent(pe,Se,be),Pe+="0){for(Pe+=" [",Pe+=this.endline(pe,Se,be),Se.state=ne.InsideTag,Fe=pe.children,Ce=0,Be=Fe.length;Ce",Pe+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Pe},ge.prototype.element=function(pe,Se,be){var Ee,Ce,Be,Pe,Fe,we,Le,Oe,Ge,Ne,Ue,He,Qe,We;be||(be=0),Ne=!1,Ue="",this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ue+=this.indent(pe,Se,be)+"<"+pe.name,He=pe.attribs;for(Ge in He)ve.call(He,Ge)&&(Ee=He[Ge],Ue+=this.attribute(Ee,Se,be));if(Be=pe.children.length,Pe=Be===0?null:pe.children[0],Be===0||pe.children.every(function(ze){return(ze.type===ce.Text||ze.type===ce.Raw)&&ze.value===""}))Se.allowEmpty?(Ue+=">",Se.state=ne.CloseTag,Ue+=""+this.endline(pe,Se,be)):(Se.state=ne.CloseTag,Ue+=Se.spaceBeforeSlash+"/>"+this.endline(pe,Se,be));else if(Se.pretty&&Be===1&&(Pe.type===ce.Text||Pe.type===ce.Raw)&&Pe.value!=null)Ue+=">",Se.state=ne.InsideTag,Se.suppressPrettyCount++,Ne=!0,Ue+=this.writeChildNode(Pe,Se,be+1),Se.suppressPrettyCount--,Ne=!1,Se.state=ne.CloseTag,Ue+=""+this.endline(pe,Se,be);else{if(Se.dontPrettyTextNodes){for(Qe=pe.children,Fe=0,Le=Qe.length;Fe"+this.endline(pe,Se,be),Se.state=ne.InsideTag,We=pe.children,we=0,Oe=We.length;we",Ne&&Se.suppressPrettyCount--,Ue+=this.endline(pe,Se,be),Se.state=ne.None}return this.closeNode(pe,Se,be),Ue},ge.prototype.writeChildNode=function(pe,Se,be){switch(pe.type){case ce.CData:return this.cdata(pe,Se,be);case ce.Comment:return this.comment(pe,Se,be);case ce.Element:return this.element(pe,Se,be);case ce.Raw:return this.raw(pe,Se,be);case ce.Text:return this.text(pe,Se,be);case ce.ProcessingInstruction:return this.processingInstruction(pe,Se,be);case ce.Dummy:return"";case ce.Declaration:return this.declaration(pe,Se,be);case ce.DocType:return this.docType(pe,Se,be);case ce.AttributeDeclaration:return this.dtdAttList(pe,Se,be);case ce.ElementDeclaration:return this.dtdElement(pe,Se,be);case ce.EntityDeclaration:return this.dtdEntity(pe,Se,be);case ce.NotationDeclaration:return this.dtdNotation(pe,Se,be);default:throw new Error("Unknown XML node type: "+pe.constructor.name)}},ge.prototype.processingInstruction=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+"",Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.raw=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be),Se.state=ne.InsideTag,Ee+=pe.value,Se.state=ne.CloseTag,Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.text=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be),Se.state=ne.InsideTag,Ee+=pe.value,Se.state=ne.CloseTag,Ee+=this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdAttList=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdElement=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdEntity=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.dtdNotation=function(pe,Se,be){var Ee;return this.openNode(pe,Se,be),Se.state=ne.OpenTag,Ee=this.indent(pe,Se,be)+""+this.endline(pe,Se,be),Se.state=ne.None,this.closeNode(pe,Se,be),Ee},ge.prototype.openNode=function(pe,Se,be){},ge.prototype.closeNode=function(pe,Se,be){},ge.prototype.openAttribute=function(pe,Se,be){},ge.prototype.closeAttribute=function(pe,Se,be){},ge}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,ye,he){(function(){var ce,ne,se,de,le,ie,oe,re,ee,a;a=E("./Utility"),re=a.assign,ee=a.isFunction,se=E("./XMLDOMImplementation"),de=E("./XMLDocument"),le=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ie=E("./XMLStreamWriter"),ce=E("./NodeType"),ne=E("./WriterState"),ye.exports.create=function(y,x,b,z){var te,ue;if(y==null)throw new Error("Root element needs a name.");return z=re({},x,b,z),te=new de(z),ue=te.element(y),z.headless||(te.declaration(z),(z.pubID!=null||z.sysID!=null)&&te.dtd(z)),ue},ye.exports.begin=function(y,x,b){var z;return ee(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new le(y,x,b):new de(y)},ye.exports.stringWriter=function(y){return new oe(y)},ye.exports.streamWriter=function(y,x){return new ie(y,x)},ye.exports.implementation=new se,ye.exports.nodeType=ce,ye.exports.writerState=ne}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,ye,he){ye.exports=ne;var ce=Object.prototype.hasOwnProperty;function ne(){for(var se={},de=0;dele?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,te=-1732584194,ue=271733878,me=0;me>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<>>32-x}ye.exports=function(x){return ce.hash(x,se,16)}},{"./helpers":462}],464:[function(E,ye,he){"use strict";var ce=E("./helpers");function ne(oe,re){oe[re>>5]|=128<<24-re%32,oe[(re+64>>9<<4)+15]=re;for(var ee=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,te=0;te>16)+(re>>16)+(ee>>16);return a<<16|ee&65535}function ie(oe,re){return oe<>>32-re}ye.exports=function(re){return ce.hash(re,ne,20,!0)}},{"./helpers":462}],465:[function(E,ye,he){"use strict";ye.exports=function(){return function(){}}},{}],466:[function(E,ye,he){(function(ce){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),se=ne(E("@babel/runtime/helpers/typeof")),de=E("stream"),le=de.Stream,ie=E("../lib/common/utils/isArray"),oe=ie.isArray;ye.exports.string=function(a){return typeof a=="string"},ye.exports.array=oe,ye.exports.buffer=ce.isBuffer;function re(ee){return ee instanceof le}ye.exports.writableStream=function(a){return re(a)&&typeof a._write=="function"&&(0,se.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,ye,he){"use strict";var ce=E("immediate"),ne=ye.exports={};ne.nextTick=ce,ne.title="browser",ne.browser=!0,ne.env={},ne.argv=[],ne.version="",ne.versions={};function se(){}ne.on=se,ne.addListener=se,ne.once=se,ne.off=se,ne.removeListener=se,ne.removeAllListeners=se,ne.emit=se,ne.prependListener=se,ne.prependOnceListener=se,ne.listeners=function(de){return[]},ne.binding=function(de){throw new Error("process.binding is not supported")},ne.cwd=function(){return"/"},ne.chdir=function(de){throw new Error("process.chdir is not supported")},ne.umask=function(){return 0}},{immediate:358}],468:[function(E,ye,he){(function(ce){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var ne=E("./lib/request"),se=E("./lib/response"),de=E("xtend"),le=E("builtin-status-codes"),ie=E("url"),oe=he;oe.request=function(re,ee){typeof re=="string"?re=ie.parse(re):re=de(re);var a=ce.location.protocol.search(/^https?:$/)===-1?"http:":"",y=re.protocol||a,x=re.hostname||re.host,b=re.port,z=re.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),re.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,re.method=(re.method||"GET").toUpperCase(),re.headers=re.headers||{};var te=new ne(re);return ee&&te.on("response",ee),te},oe.get=function(ee,a){var y=oe.request(ee,a);return y.end(),y},oe.ClientRequest=ne,oe.IncomingMessage=se.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=le,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,ye,he){(function(ce){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),he.fetch=oe(ce.fetch)&&oe(ce.ReadableStream),he.writableStream=oe(ce.WritableStream),he.abortController=oe(ce.AbortController),he.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),he.blobConstructor=!0}catch(re){}var ne;function se(){if(ne!==void 0)return ne;if(ce.XMLHttpRequest){ne=new ce.XMLHttpRequest;try{ne.open("GET",ce.XDomainRequest?"/":"https://example.com")}catch(re){ne=null}}else ne=null;return ne}function de(re){var ee=se();if(!ee)return!1;try{return ee.responseType=re,ee.responseType===re}catch(a){}return!1}var le=typeof ce.ArrayBuffer!="undefined",ie=le&&oe(ce.ArrayBuffer.prototype.slice);he.arraybuffer=he.fetch||le&&de("arraybuffer"),he.msstream=!he.fetch&&ie&&de("ms-stream"),he.mozchunkedarraybuffer=!he.fetch&&le&&de("moz-chunked-arraybuffer"),he.overrideMimeType=he.fetch||(se()?oe(se().overrideMimeType):!1),he.vbArray=oe(ce.VBArray);function oe(re){return typeof re=="function"}ne=null}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,ye,he){(function(ce,ne,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var de=E("./capability"),le=E("inherits"),ie=E("./response"),oe=E("readable-stream"),re=E("to-arraybuffer"),ee=ie.IncomingMessage,a=ie.readyStates;function y(te,ue){return de.fetch&&ue?"fetch":de.mozchunkedarraybuffer?"moz-chunked-arraybuffer":de.msstream?"ms-stream":de.arraybuffer&&te?"arraybuffer":de.vbArray&&te?"text:vbarray":"text"}var x=ye.exports=function(te){var ue=this;oe.Writable.call(ue),ue._opts=te,ue._body=[],ue._headers={},te.auth&&ue.setHeader("Authorization","Basic "+new se(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ge){ue.setHeader(ge,te.headers[ge])});var me,ve=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!de.abortController)ve=!1,me=!0;else if(te.mode==="prefer-streaming")me=!1;else if(te.mode==="allow-wrong-content-type")me=!de.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")me=!0;else throw new Error("Invalid value for opts.mode");ue._mode=y(me,ve),ue._fetchTimer=null,ue.on("finish",function(){ue._onFinish()})};le(x,oe.Writable),x.prototype.setHeader=function(te,ue){var me=this,ve=te.toLowerCase();z.indexOf(ve)===-1&&(me._headers[ve]={name:te,value:ue})},x.prototype.getHeader=function(te){var ue=this._headers[te.toLowerCase()];return ue?ue.value:null},x.prototype.removeHeader=function(te){var ue=this;delete ue._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ue=te._opts,me=te._headers,ve=null;ue.method!=="GET"&&ue.method!=="HEAD"&&(de.arraybuffer?ve=re(se.concat(te._body)):de.blobConstructor?ve=new ne.Blob(te._body.map(function(Ce){return re(Ce)}),{type:(me["content-type"]||{}).value||""}):ve=se.concat(te._body).toString());var ge=[];if(Object.keys(me).forEach(function(Ce){var Be=me[Ce].name,Pe=me[Ce].value;Array.isArray(Pe)?Pe.forEach(function(Fe){ge.push([Be,Fe])}):ge.push([Be,Pe])}),te._mode==="fetch"){var pe=null,Se=null;if(de.abortController){var be=new AbortController;pe=be.signal,te._fetchAbortController=be,"requestTimeout"in ue&&ue.requestTimeout!==0&&(te._fetchTimer=ne.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ue.requestTimeout))}ne.fetch(te._opts.url,{method:te._opts.method,headers:ge,body:ve||void 0,mode:"cors",credentials:ue.withCredentials?"include":"same-origin",signal:pe}).then(function(Ce){te._fetchResponse=Ce,te._connect()},function(Ce){ne.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",Ce)})}else{var Ee=te._xhr=new ne.XMLHttpRequest;try{Ee.open(te._opts.method,te._opts.url,!0)}catch(Ce){ce.nextTick(function(){te.emit("error",Ce)});return}"responseType"in Ee&&(Ee.responseType=te._mode.split(":")[0]),"withCredentials"in Ee&&(Ee.withCredentials=!!ue.withCredentials),te._mode==="text"&&"overrideMimeType"in Ee&&Ee.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ue&&(Ee.timeout=ue.requestTimeout,Ee.ontimeout=function(){te.emit("requestTimeout")}),ge.forEach(function(Ce){Ee.setRequestHeader(Ce[0],Ce[1])}),te._response=null,Ee.onreadystatechange=function(){switch(Ee.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Ee.onprogress=function(){te._onXHRProgress()}),Ee.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Ee.send(ve)}catch(Ce){ce.nextTick(function(){te.emit("error",Ce)});return}}}};function b(te){try{var ue=te.status;return ue!==null&&ue!==0}catch(me){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new ee(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(ue){te.emit("error",ue)}),te.emit("response",te._response))},x.prototype._write=function(te,ue,me){var ve=this;ve._body.push(te),me()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,ne.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,ue,me){var ve=this;typeof te=="function"&&(me=te,te=void 0),oe.Writable.prototype.end.call(ve,te,ue,me)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,ye,he){(function(ce,ne,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var de=E("./capability"),le=E("inherits"),ie=E("readable-stream"),oe=he.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},re=he.IncomingMessage=function(ee,a,y,x){var b=this;if(ie.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){ce.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function pe(){ue.read().then(function(Se){if(!b._destroyed){if(Se.done){ne.clearTimeout(x),b.push(null);return}b.push(new se(Se.value)),pe()}}).catch(function(Se){ne.clearTimeout(x),b._destroyed||b.emit("error",Se)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(pe,Se){b.headers[Se.toLowerCase()]=pe,b.rawHeaders.push(Se,pe)}),de.writableStream){var te=new WritableStream({write:function(Se){return new Promise(function(be,Ee){b._destroyed?Ee():b.push(new se(Se))?be():b._resumeFetch=be})},close:function(){ne.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Se){b._destroyed||b.emit("error",Se)}});try{a.body.pipeTo(te).catch(function(pe){ne.clearTimeout(x),b._destroyed||b.emit("error",pe)});return}catch(pe){}}var ue=a.body.getReader();z()}else{b._xhr=ee,b._pos=0,b.url=ee.responseURL,b.statusCode=ee.status,b.statusMessage=ee.statusText;var me=ee.getAllResponseHeaders().split(/\r?\n/);if(me.forEach(function(pe){var Se=pe.match(/^([^:]+):\s*(.*)/);if(Se){var be=Se[1].toLowerCase();be==="set-cookie"?(b.headers[be]===void 0&&(b.headers[be]=[]),b.headers[be].push(Se[2])):b.headers[be]!==void 0?b.headers[be]+=", "+Se[2]:b.headers[be]=Se[2],b.rawHeaders.push(Se[1],Se[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var ve=b.rawHeaders["mime-type"];if(ve){var ge=ve.match(/;\s*charset=([^;])(;|$)/);ge&&(b._charset=ge[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};le(re,ie.Readable),re.prototype._read=function(){var ee=this,a=ee._resumeFetch;a&&(ee._resumeFetch=null,a())},re.prototype._onXHRProgress=function(){var ee=this,a=ee._xhr,y=null;switch(ee._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new ne.VBArray(a.responseBody).toArray()}catch(ue){}if(y!==null){ee.push(new se(y));break}case"text":try{y=a.responseText}catch(ue){ee._mode="text:vbarray";break}if(y.length>ee._pos){var x=y.substr(ee._pos);if(ee._charset==="x-user-defined"){for(var b=new se(x.length),z=0;zee._pos&&(ee.push(new se(new Uint8Array(te.result.slice(ee._pos)))),ee._pos=te.result.byteLength)},te.onload=function(){ee.push(null)},te.readAsArrayBuffer(y);break}ee._xhr.readyState===oe.DONE&&ee._mode!=="ms-stream"&&ee.push(null)}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var se=E("punycode"),de=E("./util");he.parse=Se,he.resolve=Ee,he.resolveObject=Ce,he.format=be,he.Url=le;function le(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ie=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,re=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ee=["<",">",'"',"`"," ","\r",` +`," "],a=["{","}","|","\\","^","`"].concat(ee),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,me={javascript:!0,"javascript:":!0},ve={javascript:!0,"javascript:":!0},ge={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pe=E("querystring");function Se(Be,Pe,Fe){if(Be&&de.isObject(Be)&&Be instanceof le)return Be;var we=new le;return we.parse(Be,Pe,Fe),we}le.prototype.parse=function(Be,Pe,Fe){if(!de.isString(Be))throw new TypeError("Parameter 'url' must be a string, not "+(0,ne.default)(Be));var we=Be.indexOf("?"),Le=we!==-1&&we127?qe+="x":qe+=Me[Ie];if(!qe.match(te)){var Je=$e.slice(0,_e),Ye=$e.slice(_e+1),ke=Me.match(ue);ke&&(Je.push(ke[1]),Ye.unshift(ke[2])),Ye.length&&(Ne="/"+Ye.join(".")+Ne),this.hostname=Je.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),dt||(this.hostname=se.toASCII(this.hostname));var De=this.port?":"+this.port:"",Te=this.hostname||"";this.host=Te+De,this.href+=this.host,dt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ne[0]!=="/"&&(Ne="/"+Ne))}if(!me[Qe])for(var _e=0,Ze=y.length;_e0?Fe.host.split("@"):!1;qe&&(Fe.auth=qe.shift(),Fe.host=Fe.hostname=qe.shift())}return Fe.search=Be.search,Fe.query=Be.query,(!de.isNull(Fe.pathname)||!de.isNull(Fe.search))&&(Fe.path=(Fe.pathname?Fe.pathname:"")+(Fe.search?Fe.search:"")),Fe.href=Fe.format(),Fe}if(!$e.length)return Fe.pathname=null,Fe.search?Fe.path="/"+Fe.search:Fe.path=null,Fe.href=Fe.format(),Fe;for(var Ie=$e.slice(-1)[0],je=(Fe.host||Be.host||$e.length>1)&&(Ie==="."||Ie==="..")||Ie==="",Je=0,Ye=$e.length;Ye>=0;Ye--)Ie=$e[Ye],Ie==="."?$e.splice(Ye,1):Ie===".."?($e.splice(Ye,1),Je++):Je&&($e.splice(Ye,1),Je--);if(!et&&!dt)for(;Je--;Je)$e.unshift("..");et&&$e[0]!==""&&(!$e[0]||$e[0].charAt(0)!=="/")&&$e.unshift(""),je&&$e.join("/").substr(-1)!=="/"&&$e.push("");var ke=$e[0]===""||$e[0]&&$e[0].charAt(0)==="/";if(Me){Fe.hostname=Fe.host=ke?"":$e.length?$e.shift():"";var qe=Fe.host&&Fe.host.indexOf("@")>0?Fe.host.split("@"):!1;qe&&(Fe.auth=qe.shift(),Fe.host=Fe.hostname=qe.shift())}return et=et||Fe.host&&$e.length,et&&!ke&&$e.unshift(""),$e.length?Fe.pathname=$e.join("/"):(Fe.pathname=null,Fe.path=null),(!de.isNull(Fe.pathname)||!de.isNull(Fe.search))&&(Fe.path=(Fe.pathname?Fe.pathname:"")+(Fe.search?Fe.search:"")),Fe.auth=Be.auth||Fe.auth,Fe.slashes=Fe.slashes||Be.slashes,Fe.href=Fe.format(),Fe},le.prototype.parseHost=function(){var Be=this.host,Pe=oe.exec(Be);Pe&&(Pe=Pe[0],Pe!==":"&&(this.port=Pe.substr(1)),Be=Be.substr(0,Be.length-Pe.length)),Be&&(this.hostname=Be)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,ye,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),ne=ce(E("@babel/runtime/helpers/typeof"));ye.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return(0,ne.default)(de)==="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,ye,he){"use strict";E("core-js/modules/es.number.constructor.js"),he.encodeURIComponent=function(ce){try{return encodeURIComponent(ce)}catch(ne){return ce}},he.escape=E("escape-html"),he.timestamp=function(ne){if(ne){var se=ne;return typeof se=="string"&&(se=Number(se)),String(ne).length===10&&(se*=1e3),new Date(se)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,ye,he){(function(ce,ne){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var le=E("util"),ie=E("url"),oe=E("http"),re=E("https"),ee=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(ve,ge){return ve===void 0?ge:ve}function te(ve){return ve?ve.split(";")[0].trim().toLowerCase():""}function ue(ve,ge){return function(pe,Se,be){if(pe)return ge(pe);ve({data:Se,status:be.statusCode,headers:be.headers,res:be})}}he.TIMEOUTS=[a("300s"),a("300s")];var me=["json","text"];he.request=function(ge,pe,Se){return arguments.length===2&&typeof pe=="function"&&(Se=pe,pe=null),typeof Se=="function"?he.requestWithCallback(ge,pe,Se):new Promise(function(be,Ee){he.requestWithCallback(ge,pe,ue(be,Ee))})},he.requestWithCallback=function(ge,pe,Se){if(!ge||typeof ge!="string"&&(0,de.default)(ge)!=="object"){var be=le.format("expect request url to be a string or a http request options, but got %j",ge);throw new Error(be)}arguments.length===2&&typeof pe=="function"&&(Se=pe,pe=null),pe=pe||{},y>=x&&(y=0);var Ee=++y;pe.requestUrls=pe.requestUrls||[];var Ce={requestId:Ee,url:ge,args:pe,ctx:pe.ctx};pe.emitter&&pe.emitter.emit("request",Ce),pe.timeout=pe.timeout||he.TIMEOUTS,pe.maxRedirects=pe.maxRedirects||10,pe.streaming=pe.streaming||pe.customResponse;var Be=Date.now(),Pe;typeof ge=="string"?(b.test(ge)||(ge="https://"+ge),Pe=ie.parse(ge)):Pe=ge;var Fe=(pe.type||pe.method||Pe.method||"GET").toUpperCase(),we=Pe.port||80,Le=oe,Oe=z(pe.agent,he.agent),Ge=pe.fixJSONCtlChars;Pe.protocol==="https:"&&(Le=re,Oe=z(pe.httpsAgent,he.httpsAgent),Pe.port||(we=443));var Ne={host:Pe.hostname||Pe.host||"localhost",path:Pe.path||"/",method:Fe,port:we,agent:Oe,headers:pe.headers||{},lookup:pe.lookup};Array.isArray(pe.timeout)?Ne.requestTimeout=pe.timeout[pe.timeout.length-1]:typeof pe.timeout!="undefined"&&(Ne.requestTimeout=pe.timeout);var Ue=pe.auth||Pe.auth;Ue&&(Ne.auth=Ue);var He=pe.content||pe.data,Qe=Fe==="GET"||Fe==="HEAD"||pe.dataAsQueryString;if(!pe.content&&He&&!(typeof He=="string"||ne.isBuffer(He)))if(Qe)He=pe.nestedQuerystring?qs.stringify(He):querystring.stringify(He);else{var We=Ne.headers["Content-Type"]||Ne.headers["content-type"];We||(pe.contentType==="json"?We="application/json":We="application/x-www-form-urlencoded",Ne.headers["Content-Type"]=We),te(We)==="application/json"?He=JSON.stringify(He):He=pe.nestedQuerystring?qs.stringify(He):querystring.stringify(He)}Qe&&He&&(Ne.path+=(Pe.query?"&":"?")+He,He=null);var ze=0;if(He){var _e=He.length;ne.isBuffer(He)||(_e=ne.byteLength(He)),ze=Ne.headers["Content-Length"]=_e}pe.dataType==="json"&&(Ne.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(Ne);var Ve=null,tt=null,et=null,dt=!1,$e=!1,Ze=0,Me=-1,qe=!1,Ie="",je="",Je=null;pe.timing&&(Je={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ye(){Ve&&(clearTimeout(Ve),Ve=null)}function ke(){tt&&(clearTimeout(tt),tt=null)}function De(lt,mt,it){if(ke(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Ee,ce.pid,Ne.method,ge),lt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s +stack: %s`,Date(),Ee,ce.pid,lt.name,lt.message,lt.stack);return}var ct=Se;Se=null;var ft={};it&&(Me=it.statusCode,ft=it.headers);var yt=Date.now()-Be;Je&&(Je.contentDownload=yt),ee("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",yt,Ze,Me,Ne.method,Ne.host,Ne.path,$e,Je);var Et={status:Me,statusCode:Me,headers:ft,size:Ze,aborted:qe,rt:yt,keepAliveSocket:$e,data:mt,requestUrls:pe.requestUrls,timing:Je,remoteAddress:Ie,remotePort:je};if(lt){var Tt="";Oe&&typeof Oe.getCurrentStatus=="function"&&(Tt=", agent status: "+JSON.stringify(Oe.getCurrentStatus())),lt.message+=", "+Ne.method+" "+ge+" "+Me+" (connected: "+dt+", keepalive socket: "+$e+Tt+`) +headers: `+JSON.stringify(ft),lt.data=mt,lt.path=Ne.path,lt.status=Me,lt.headers=ft,lt.res=Et}ct(lt,mt,pe.streaming?it:Et),pe.emitter&&(Ce.url=ge,Ce.socket=ut&&ut.connection,Ce.options=Ne,Ce.size=ze,pe.emitter.emit("response",{requestId:Ee,error:lt,ctx:pe.ctx,req:Ce,res:Et}))}function Te(lt){var mt=null;if(pe.followRedirect&&statuses.redirect[lt.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var it=lt.headers.location;if(!it)mt=new Error("Got statusCode "+lt.statusCode+" but cannot resolve next location from headers"),mt.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)mt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ge),mt.name="MaxRedirectError";else{var ct=pe.formatRedirectUrl?pe.formatRedirectUrl(ge,it):ie.resolve(ge,it);ee("Request#%d %s: `redirected` from %s to %s",Ee,Ne.path,ge,ct),ke(),pe.headers&&pe.headers.Host&&b.test(it)&&(pe.headers.Host=null);var ft=Se;return Se=null,he.requestWithCallback(ct,pe,ft),{redirect:!0,error:null}}}return{redirect:!1,error:mt}}pe.gzip&&!Ne.headers["Accept-Encoding"]&&!Ne.headers["accept-encoding"]&&(Ne.headers["Accept-Encoding"]="gzip");function xe(lt,mt,it){var ct=lt.headers["content-encoding"];return it(null,mt,ct)}var Re=pe.writeStream;ee("Request#%d %s %s with headers %j, options.path: %s",Ee,Fe,ge,Ne.headers,Ne.path),pe.requestUrls.push(ge);function Xe(lt){if(Je&&(Je.waiting=Date.now()-Be),ee("Request#%d %s `req response` event emit: status %d, headers: %j",Ee,ge,lt.statusCode,lt.headers),pe.streaming){var mt=Te(lt);if(mt.redirect){lt.resume();return}return mt.error?(lt.resume(),De(mt.error,null,lt)):De(null,null,lt)}if(lt.on("close",function(){ee("Request#%d %s: `res close` event emit, total size %d",Ee,ge,Ze)}),lt.on("error",function(){ee("Request#%d %s: `res error` event emit, total size %d",Ee,ge,Ze)}),lt.on("aborted",function(){qe=!0,ee("Request#%d %s: `res aborted` event emit, total size %d",Ee,ge,Ze)}),Re){var it=Te(lt);if(it.redirect){lt.resume();return}return it.error?(lt.resume(),Re.end(),De(it.error,null,lt)):(pe.consumeWriteStream===!1?lt.on("end",De.bind(null,null,null,lt)):Re.on("close",function(){ee("Request#%d %s: writeStream close event emitted",Ee,ge),De(et||null,null,lt)}),lt.pipe(Re))}var ct=[];lt.on("data",function(ft){ee("Request#%d %s: `res data` event emit, size %d",Ee,ge,ft.length),Ze+=ft.length,ct.push(ft)}),lt.on("end",function(){var ft=ne.concat(ct,Ze);if(ee("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Ee,ge,Ze,lt._dumped),et)return De(et,ft,lt);var yt=Te(lt);if(yt.error)return De(yt.error,ft,lt);yt.redirect||xe(lt,ft,function(Et,Tt,_t){if(Et)return De(Et,ft,lt);if(!_t&&me.indexOf(pe.dataType)>=0){try{Tt=decodeBodyByCharset(Tt,lt)}catch(hn){return ee("decodeBodyByCharset error: %s",hn),De(null,Tt,lt)}if(pe.dataType==="json")if(Ze===0)Tt=null;else{var Gt=parseJSON(Tt,Ge);Gt.error?Et=Gt.error:Tt=Gt.data}}qe&&ee("Request#%d %s: Remote socket was terminated before `response.end()` was called",Ee,ge),De(Et,Tt,lt)})})}var nt,Ke;Array.isArray(pe.timeout)?(nt=a(pe.timeout[0]),Ke=a(pe.timeout[1])):nt=Ke=a(pe.timeout),ee("ConnectTimeout: %d, ResponseTimeout: %d",nt,Ke);function rt(){ee("Connect timer ticking, timeout: %d",nt),Ve=setTimeout(function(){Ve=null,Me===-1&&(Me=-2);var lt="Connect timeout for "+nt+"ms",mt="ConnectionTimeoutError";ut.socket||(mt="SocketAssignTimeoutError",lt+=", working sockets is full"),et=new Error(lt),et.name=mt,et.requestId=Ee,ee("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Ee,ge,et.name,lt,dt),pt()},nt)}function ht(){ee("Response timer ticking, timeout: %d",Ke),tt=setTimeout(function(){tt=null;var lt="Response timeout for "+Ke+"ms",mt="ResponseTimeoutError";et=new Error(lt),et.name=mt,et.requestId=Ee,ee("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Ee,ge,et.name,lt,dt),pt()},Ke)}var ut;Ne.mode=pe.mode?pe.mode:"";try{ut=Le.request(Ne,Xe)}catch(lt){return De(lt)}typeof window=="undefined"?rt():ut.on("requestTimeout",function(){Me===-1&&(Me=-2);var lt="Connect timeout for "+nt+"ms",mt="ConnectionTimeoutError";et=new Error(lt),et.name=mt,et.requestId=Ee,pt()});function pt(){ee("Request#%d %s abort, connected: %s",Ee,ge,dt),ut.socket||(et.noSocket=!0,De(et)),ut.abort()}return Je&&ut.on("finish",function(){Je.requestSent=Date.now()-Be}),ut.once("socket",function(lt){Je&&(Je.queuing=Date.now()-Be);var mt=lt.readyState;if(mt==="opening"){lt.once("lookup",function(it,ct,ft){ee("Request#%d %s lookup: %s, %s, %s",Ee,ge,it,ct,ft),Je&&(Je.dnslookup=Date.now()-Be),ct&&(Ie=ct)}),lt.once("connect",function(){Je&&(Je.connected=Date.now()-Be),Ye(),ht(),ee("Request#%d %s new socket connected",Ee,ge),dt=!0,Ie||(Ie=lt.remoteAddress),je=lt.remotePort});return}ee("Request#%d %s reuse socket connected, readyState: %s",Ee,ge,mt),dt=!0,$e=!0,Ie||(Ie=lt.remoteAddress),je=lt.remotePort,Ye(),ht()}),ut.on("error",function(lt){(lt.name==="Error"||lt.name==="TypeError")&&(lt.name=dt?"ResponseError":"RequestError"),lt.message+=' (req "error")',ee("Request#%d %s `req error` event emit, %s: %s",Ee,ge,lt.name,lt.message),De(et||lt)}),Re&&Re.once("error",function(lt){lt.message+=' (writeStream "error")',et=lt,ee("Request#%d %s `writeStream error` event emit, %s: %s",Ee,ge,lt.name,lt.message),pt()}),pe.stream?(pe.stream.pipe(ut),pe.stream.once("error",function(lt){lt.message+=' (stream "error")',et=lt,ee("Request#%d %s `readStream error` event emit, %s: %s",Ee,ge,lt.name,lt.message),pt()})):ut.end(He),ut.requestId=Ee,ut}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(gt,ot){"use strict";function fe(){const ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ae=1;Ae{const he=E[ye];he!==void 0&&(ae[ye]=he)})}return ae}ot.Z=fe},77578:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ae}});const ae=Ae=>Ae?typeof Ae=="function"?Ae():Ae:null},13845:function(gt,ot,fe){"use strict";fe.d(ot,{F:function(){return ae},Z:function(){return Ae}});function ae(E){return E!=null&&E===E.window}function Ae(E,ye){var he,ce;if(typeof window=="undefined")return 0;const ne=ye?"scrollTop":"scrollLeft";let se=0;return ae(E)?se=E[ye?"pageYOffset":"pageXOffset"]:E instanceof Document?se=E.documentElement[ne]:(E instanceof HTMLElement||E)&&(se=E[ne]),E&&!ae(E)&&typeof se!="number"&&(se=(ce=((he=E.ownerDocument)!==null&&he!==void 0?he:E).documentElement)===null||ce===void 0?void 0:ce[ne]),se}},56762:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Ae}});var ae=fe(59301);function Ae(){const[,E]=ae.useReducer(ye=>ye+1,0);return E}},68031:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ye}});var ae=fe(16089);function Ae(he,ce,ne,se){const de=ne-ce;return he/=se/2,he<1?de/2*he*he*he+ce:de/2*((he-=2)*he*he+2)+ce}var E=fe(13845);function ye(he){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ne=()=>window,callback:se,duration:de=450}=ce,le=ne(),ie=(0,E.Z)(le,!0),oe=Date.now(),re=()=>{const a=Date.now()-oe,y=Ae(a>de?de:a,ie,he,de);(0,E.F)(le)?le.scrollTo(window.pageXOffset,y):le instanceof Document||le.constructor.name==="HTMLDocument"?le.documentElement.scrollTop=y:le.scrollTop=y,a2&&arguments[2]!==void 0?arguments[2]:!1;Ht.forEach(function(Rt){if(!(!fn&&Bn!==!1&&Bn>0&&Sr.length>=Bn)){var Pn=[].concat((0,ae.Z)(Lt),[Rt]),_n=Rt[nn.children],ir=gn||Rt.disabled;if((!_n||_n.length===0||On)&&Pt(Ct,Pn,{label:nn.label})){var An;Sr.push((0,te.Z)((0,te.Z)({},Rt),{},(An={disabled:ir},(0,z.Z)(An,nn.label,xt(Ct,Pn,Sn,nn)),(0,z.Z)(An,ue,Pn),(0,z.Z)(An,nn.children,void 0),An)))}_n&&Vn(Rt[nn.children],Pn,ir)}})}return Vn(cn,[]),fn&&Sr.sort(function(Ht,Lt){return fn(Ht[ue],Lt[ue],Ct,nn)}),Bn!==!1&&Bn>0?Sr.slice(0,Bn):Sr},[Ct,cn,nn,Sn,xt,On,Pt,fn,Bn])},pe="__RC_CASCADER_SPLIT__",Se="SHOW_PARENT",be="SHOW_CHILD";function Ee(Ct){return Ct.join(pe)}function Ce(Ct){return Ct.map(Ee)}function Be(Ct){return Ct.split(pe)}function Pe(Ct){var cn=Ct||{},nn=cn.label,Sn=cn.value,Ln=cn.children,On=Sn||"value";return{label:nn||"label",value:On,key:On,children:Ln||"children"}}function Fe(Ct,cn){var nn,Sn;return(nn=Ct.isLeaf)!==null&&nn!==void 0?nn:!((Sn=Ct[cn.children])!==null&&Sn!==void 0&&Sn.length)}function we(Ct){var cn=Ct.parentElement;if(cn){var nn=Ct.offsetTop-cn.offsetTop;nn-cn.scrollTop<0?cn.scrollTo({top:nn}):nn+Ct.offsetHeight-cn.scrollTop>cn.offsetHeight&&cn.scrollTo({top:nn+Ct.offsetHeight-cn.offsetHeight})}}function Le(Ct,cn){return Ct.map(function(nn){var Sn;return(Sn=nn[ue])===null||Sn===void 0?void 0:Sn.map(function(Ln){return Ln[cn.value]})})}function Oe(Ct,cn,nn){var Sn=new Set(Ct),Ln=cn();return Ct.filter(function(On){var mn=Ln[On],Pt=mn?mn.parent:null,Bt=mn?mn.children:null;return mn&&mn.node.disabled?!0:nn===be?!(Bt&&Bt.some(function(xt){return xt.key&&Sn.has(xt.key)})):!(Pt&&!Pt.node.disabled&&Sn.has(Pt.key))})}function Ge(Ct,cn,nn){for(var Sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ln=cn,On=[],mn=function(){var xt,tn,Bn,fn=Ct[Pt],Sr=(xt=Ln)===null||xt===void 0?void 0:xt.findIndex(function(Ht){var Lt=Ht[nn.value];return Sn?String(Lt)===String(fn):Lt===fn}),Vn=Sr!==-1?(tn=Ln)===null||tn===void 0?void 0:tn[Sr]:null;On.push({value:(Bn=Vn==null?void 0:Vn[nn.value])!==null&&Bn!==void 0?Bn:fn,index:Sr,option:Vn}),Ln=Vn==null?void 0:Vn[nn.children]},Pt=0;Pt1){var bt=Vn.slice(0,-1);Rt(bt)}else xt(!1)},ir=function(){var bt,kt=((bt=Lt[Ht])===null||bt===void 0?void 0:bt[nn.children])||[],Nt=kt.find(function(qt){return!qt.disabled});if(Nt){var wt=[].concat((0,ae.Z)(Vn),[Nt[nn.value]]);Rt(wt)}};Ae.useImperativeHandle(Ct,function(){return{onKeyDown:function(bt){var kt=bt.which;switch(kt){case Ze.Z.UP:case Ze.Z.DOWN:{var Nt=0;kt===Ze.Z.UP?Nt=-1:kt===Ze.Z.DOWN&&(Nt=1),Nt!==0&&Pn(Nt);break}case Ze.Z.LEFT:{if(Bt)break;Bn?ir():_n();break}case Ze.Z.RIGHT:{if(Bt)break;Bn?_n():ir();break}case Ze.Z.BACKSPACE:{Bt||_n();break}case Ze.Z.ENTER:{if(Vn.length){var wt=Lt[Ht],qt=(wt==null?void 0:wt[ue])||[];qt.length?On(qt.map(function(Jt){return Jt[nn.value]}),qt[qt.length-1]):On(Vn,Lt[Ht])}break}case Ze.Z.ESC:xt(!1),tn&&bt.stopPropagation()}},onKeyUp:function(){}}})},qe=Ae.forwardRef(function(Ct,cn){var nn,Sn,Ln,On,mn=(0,ie.lk)(),Pt=mn.prefixCls,Bt=mn.multiple,xt=mn.searchValue,tn=mn.toggleOpen,Bn=mn.notFoundContent,fn=mn.direction,Sr=mn.open,Vn=Ae.useRef(),Ht=fn==="rtl",Lt=Ae.useContext(x),gn=Lt.options,Rt=Lt.values,Pn=Lt.halfValues,_n=Lt.fieldNames,ir=Lt.changeOnSelect,An=Lt.onSelect,bt=Lt.searchOptions,kt=Lt.dropdownPrefixCls,Nt=Lt.loadData,wt=Lt.expandTrigger,qt=kt||Pt,Jt=Ae.useState([]),rn=(0,de.Z)(Jt,2),on=rn[0],$n=rn[1],tr=function(Zn){if(!(!Nt||xt)){var Yt=Ge(Zn,gn,_n),Hr=Yt.map(function(Fr){var Yr=Fr.option;return Yr}),Gn=Hr[Hr.length-1];if(Gn&&!Fe(Gn,_n)){var Pr=Ee(Zn);$n(function(Fr){return[].concat((0,ae.Z)(Fr),[Pr])}),Nt(Hr)}}};Ae.useEffect(function(){on.length&&on.forEach(function(vn){var Zn=Be(vn),Yt=Ge(Zn,gn,_n,!0).map(function(Gn){var Pr=Gn.option;return Pr}),Hr=Yt[Yt.length-1];(!Hr||Hr[_n.children]||Fe(Hr,_n))&&$n(function(Gn){return Gn.filter(function(Pr){return Pr!==vn})})})},[gn,on,_n]);var Wt=Ae.useMemo(function(){return new Set(Ce(Rt))},[Rt]),Rr=Ae.useMemo(function(){return new Set(Ce(Pn))},[Pn]),Lr=$e(),Er=(0,de.Z)(Lr,2),Ur=Er[0],Cn=Er[1],Xn=function(Zn){Cn(Zn),tr(Zn)},gr=function(Zn){var Yt=Zn.disabled,Hr=Fe(Zn,_n);return!Yt&&(Hr||ir||Bt)},At=function(Zn,Yt){var Hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;An(Zn),!Bt&&(Yt||ir&&(wt==="hover"||Hr))&&tn(!1)},Vt=Ae.useMemo(function(){return xt?bt:gn},[xt,bt,gn]),Qt=Ae.useMemo(function(){for(var vn=[{options:Vt}],Zn=Vt,Yt=Le(Zn,_n),Hr=function(){var Yr=Ur[Gn],Ir=Zn.find(function(Tr,Or){return(Yt[Or]?Ee(Yt[Or]):Tr[_n.value])===Yr}),mr=Ir==null?void 0:Ir[_n.children];if(!(mr!=null&&mr.length))return"break";Zn=mr,vn.push({options:mr})},Gn=0;Gn":on,tr=Ct.loadingIcon,Wt=Ct.children,Rr=Ct.dropdownMatchSelectWidth,Lr=Rr===void 0?!1:Rr,Er=Ct.showCheckedStrategy,Ur=Er===void 0?Se:Er,Cn=(0,le.Z)(Ct,ke),Xn=(0,oe.ZP)(nn),gr=!!Bn,At=(0,a.Z)(mn,{value:Pt,postState:Te}),Vt=(0,de.Z)(At,2),Qt=Vt[0],zn=Vt[1],sr=Ae.useMemo(function(){return Pe(On)},[JSON.stringify(On)]),rr=Ae.useMemo(function(){return Rt||[]},[Rt]),vr=He(rr,sr),ur=Ae.useCallback(function(sn){var en=vr();return sn.map(function(ln){var En=en[ln].nodes;return En.map(function(xn){return xn[sr.value]})})},[vr,sr]),Tn=(0,a.Z)("",{value:Vn,postState:function(en){return en||""}}),vn=(0,de.Z)(Tn,2),Zn=vn[0],Yt=vn[1],Hr=function(en,ln){Yt(en),ln.source!=="blur"&&Ht&&Ht(en)},Gn=ze(Lt),Pr=(0,de.Z)(Gn,2),Fr=Pr[0],Yr=Pr[1],Ir=ge(Zn,rr,sr,Pn||Ln,Yr,Bt),mr=Qe(rr,sr),Tr=Ae.useMemo(function(){var sn=mr(Qt),en=(0,de.Z)(sn,2),ln=en[0],En=en[1];if(!gr||!Qt.length)return[ln,[],En];var xn=Ce(ln),ar=vr(),Hn=(0,re.S)(xn,!0,ar),Qr=Hn.checkedKeys,wr=Hn.halfCheckedKeys;return[ur(Qr),ur(wr),En]},[gr,Qt,vr,ur,mr]),Or=(0,de.Z)(Tr,3),xr=Or[0],Mr=Or[1],Kn=Or[2],da=Ae.useMemo(function(){var sn=Ce(xr),en=Oe(sn,vr,Ur);return[].concat((0,ae.Z)(Kn),(0,ae.Z)(ur(en)))},[xr,vr,ur,Kn,Ur]),oa=Ne(da,rr,sr,gr,tn),Xr=(0,ee.Z)(function(sn){if(zn(sn),xt){var en=Te(sn),ln=en.map(function(ar){return Ge(ar,rr,sr).map(function(Hn){return Hn.option})}),En=gr?en:en[0],xn=gr?ln:ln[0];xt(En,xn)}}),ba=(0,ee.Z)(function(sn){if((!gr||Sr)&&Yt(""),!gr)Xr(sn);else{var en=Ee(sn),ln=Ce(xr),En=Ce(Mr),xn=ln.includes(en),ar=Kn.some(function(or){return Ee(or)===en}),Hn=xr,Qr=Kn;if(ar&&!xn)Qr=Kn.filter(function(or){return Ee(or)!==en});else{var wr=xn?ln.filter(function(or){return or!==en}):[].concat((0,ae.Z)(ln),[en]),ia=vr(),Jn;if(xn){var er=(0,re.S)(wr,{checked:!1,halfCheckedKeys:En},ia);Jn=er.checkedKeys}else{var kr=(0,re.S)(wr,!0,ia);Jn=kr.checkedKeys}var Gr=Oe(Jn,vr,Ur);Hn=ur(Gr)}Xr([].concat((0,ae.Z)(Qr),(0,ae.Z)(Hn)))}}),Pa=function(en,ln){if(ln.type==="clear"){Xr([]);return}var En=ln.values[0],xn=En.valueCells;ba(xn)},ua=An!==void 0?An:ir,pa=kt||bt,ka=qt||wt,jt=function(en){Jt==null||Jt(en),rn==null||rn(en)},$t=Ae.useMemo(function(){return{options:rr,fieldNames:sr,values:xr,halfValues:Mr,changeOnSelect:Bt,onSelect:ba,checkable:Bn,searchOptions:Ir,dropdownPrefixCls:Pn,loadData:_n,expandTrigger:gn,expandIcon:$n,loadingIcon:tr,dropdownMenuColumnStyle:Nt}},[rr,sr,xr,Mr,Bt,ba,Bn,Ir,Pn,_n,gn,$n,tr,Nt]),wn=!(Zn?Ir:rr).length,Nn=Zn&&Yr.matchInputWidth||wn?{}:{minWidth:"auto"};return Ae.createElement(x.Provider,{value:$t},Ae.createElement(ie.Ac,(0,se.Z)({},Cn,{ref:cn,id:Xn,prefixCls:Ln,autoClearSearchValue:Sr,dropdownMatchSelectWidth:Lr,dropdownStyle:Nn,displayValues:oa,onDisplayValuesChange:Pa,mode:gr?"multiple":void 0,searchValue:Zn,onSearch:Hr,showSearch:Fr,OptionList:Ie,emptyOptions:wn,open:ua,dropdownClassName:pa,placement:ka,onDropdownVisibleChange:jt,getRawInputElement:function(){return Wt}})))});xe.SHOW_PARENT=Se,xe.SHOW_CHILD=be;var Re=xe,Xe=Re,nt=fe(2738),Ke=fe(62892),rt=fe(53487),ht=fe(19080),ut=fe(36355),pt=fe(93891),lt=fe(1684),mt=fe(19716),it=fe(32441),ct=fe(14154),ft=fe(58582),yt=fe(84443),Et=fe(66339),Tt=fe(33234),_t=fe(98447),Gt=fe(17313),hn=fe(74207),Rn=fe(83116);const bn=Ct=>{const{prefixCls:cn,componentCls:nn,antCls:Sn}=Ct,Ln=`${nn}-menu-item`,On=` + &${Ln}-expand ${Ln}-expand-icon, + ${Ln}-loading-icon + `;return[{[nn]:{width:Ct.controlWidth}},{[`${nn}-dropdown`]:[(0,_t.C2)(`${cn}-checkbox`,Ct),{[`&${Sn}-select-dropdown`]:{padding:0}},{[nn]:{"&-checkbox":{top:0,marginInlineEnd:Ct.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${nn}-menu-empty`]:{[`${nn}-menu`]:{width:"100%",height:"auto",[Ln]:{color:Ct.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ct.controlItemWidth,height:Ct.dropdownHeight,margin:0,padding:Ct.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ct.lineWidth}px ${Ct.lineType} ${Ct.colorSplit}`},"&-item":Object.assign(Object.assign({},Gt.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ct.optionPadding,lineHeight:Ct.lineHeight,cursor:"pointer",transition:`all ${Ct.motionDurationMid}`,borderRadius:Ct.borderRadiusSM,"&:hover":{background:Ct.controlItemBgHover},"&-disabled":{color:Ct.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[On]:{color:Ct.colorTextDisabled}},[`&-active:not(${Ln}-disabled)`]:{"&, &:hover":{fontWeight:Ct.optionSelectedFontWeight,backgroundColor:Ct.optionSelectedBg}},"&-content":{flex:"auto"},[On]:{marginInlineStart:Ct.paddingXXS,color:Ct.colorTextDescription,fontSize:Ct.fontSizeIcon},"&-keyword":{color:Ct.colorHighlight}})}}}]},{[`${nn}-dropdown-rtl`]:{direction:"rtl"}},(0,hn.c)(Ct)]};var dn=(0,Rn.Z)("Cascader",Ct=>[bn(Ct)],Ct=>{const cn=Math.round((Ct.controlHeight-Ct.fontSize*Ct.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ct.controlItemBgActive,optionSelectedFontWeight:Ct.fontWeightStrong,optionPadding:`${cn}px ${Ct.paddingSM}px`,menuPadding:Ct.paddingXXS}}),lr=function(Ct,cn){var nn={};for(var Sn in Ct)Object.prototype.hasOwnProperty.call(Ct,Sn)&&cn.indexOf(Sn)<0&&(nn[Sn]=Ct[Sn]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ln=0,Sn=Object.getOwnPropertySymbols(Ct);LnBt===0?[Pt]:[].concat((0,ae.Z)(mn),[cn,Pt]),[]),Ln=[];let On=0;return Sn.forEach((mn,Pt)=>{const Bt=On+mn.length;let xt=Ct.slice(On,Bt);On=Bt,Pt%2===1&&(xt=Ae.createElement("span",{className:`${nn}-menu-item-keyword`,key:`separator-${Pt}`},xt)),Ln.push(xt)}),Ln}const hr=(Ct,cn,nn,Sn)=>{const Ln=[],On=Ct.toLowerCase();return cn.forEach((mn,Pt)=>{Pt!==0&&Ln.push(" / ");let Bt=mn[Sn.label];const xt=typeof Bt;(xt==="string"||xt==="number")&&(Bt=cr(String(Bt),On,nn)),Ln.push(Bt)}),Ln},Dn=Ae.forwardRef((Ct,cn)=>{const{prefixCls:nn,size:Sn,disabled:Ln,className:On,rootClassName:mn,multiple:Pt,bordered:Bt=!0,transitionName:xt,choiceTransitionName:tn="",popupClassName:Bn,dropdownClassName:fn,expandIcon:Sr,placement:Vn,showSearch:Ht,allowClear:Lt=!0,notFoundContent:gn,direction:Rt,getPopupContainer:Pn,status:_n,showArrow:ir,builtinPlacements:An,style:bt}=Ct,kt=lr(Ct,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Nt=(0,nt.Z)(kt,["suffixIcon"]),{getPopupContainer:wt,getPrefixCls:qt,renderEmpty:Jt,direction:rn,popupOverflow:on,cascader:$n}=Ae.useContext(ut.E_),tr=Rt||rn,Wt=tr==="rtl",{status:Rr,hasFeedback:Lr,isFormItemInput:Er,feedbackIcon:Ur}=Ae.useContext(it.aM),Cn=(0,ht.F)(Rr,_n),Xn=gn||(Jt==null?void 0:Jt("Cascader"))||Ae.createElement(pt.Z,{componentName:"Cascader"}),gr=qt(),At=qt("select",nn),Vt=qt("cascader",nn),[Qt,zn]=(0,ct.Z)(At),[sr]=dn(Vt),{compactSize:rr,compactItemClassnames:vr}=(0,Tt.ri)(At,Rt),ur=ne()(Bn||fn,`${Vt}-dropdown`,{[`${Vt}-dropdown-rtl`]:tr==="rtl"},mn,zn),Tn=Ae.useMemo(()=>{if(!Ht)return Ht;let Kn={render:hr};return typeof Ht=="object"&&(Kn=Object.assign(Object.assign({},Kn),Ht)),Kn},[Ht]),vn=(0,mt.Z)(Kn=>{var da;return(da=Sn!=null?Sn:rr)!==null&&da!==void 0?da:Kn}),Zn=Ae.useContext(lt.Z),Yt=Ln!=null?Ln:Zn;let Hr=Sr;Sr||(Hr=Wt?Ae.createElement(E.Z,null):Ae.createElement(he.Z,null));const Gn=Ae.createElement("span",{className:`${At}-menu-item-loading-icon`},Ae.createElement(ye.Z,{spin:!0})),Pr=Ae.useMemo(()=>Pt?Ae.createElement("span",{className:`${Vt}-checkbox-inner`}):!1,[Pt]),Fr=(0,yt.Z)(Ct.suffixIcon,ir),{suffixIcon:Yr,removeIcon:Ir,clearIcon:mr}=(0,Et.Z)(Object.assign(Object.assign({},Ct),{hasFeedback:Lr,feedbackIcon:Ur,showSuffixIcon:Fr,multiple:Pt,prefixCls:At,componentName:"Cascader"})),Tr=Ae.useMemo(()=>Vn!==void 0?Vn:Wt?"bottomRight":"bottomLeft",[Vn,Wt]),Or=(0,ft.Z)(An,on),xr=Lt===!0?{clearIcon:mr}:Lt,Mr=Ae.createElement(Xe,Object.assign({prefixCls:At,className:ne()(!nn&&Vt,{[`${At}-lg`]:vn==="large",[`${At}-sm`]:vn==="small",[`${At}-rtl`]:Wt,[`${At}-borderless`]:!Bt,[`${At}-in-form-item`]:Er},(0,ht.Z)(At,Cn,Lr),vr,$n==null?void 0:$n.className,On,mn,zn),disabled:Yt,style:Object.assign(Object.assign({},$n==null?void 0:$n.style),bt)},Nt,{builtinPlacements:Or,direction:tr,placement:Tr,notFoundContent:Xn,allowClear:xr,showSearch:Tn,expandIcon:Hr,suffixIcon:Yr,removeIcon:Ir,loadingIcon:Gn,checkable:Pr,dropdownClassName:ur,dropdownPrefixCls:nn||Vt,choiceTransitionName:(0,Ke.m)(gr,"",tn),transitionName:(0,Ke.m)(gr,"slide-up",xt),getPopupContainer:Pn||wt,ref:cn}));return sr(Qt(Mr))}),qn=(0,rt.Z)(Dn);Dn.SHOW_PARENT=Mn,Dn.SHOW_CHILD=jn,Dn._InternalPanelDoNotUseOrYouWillBeFired=qn;var Fn=Dn},24905:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return ge}});var ae=fe(92310),Ae=fe.n(ae),E=fe(5630),ye=fe(59301),he=fe(36355),ce=fe(1684),ne=fe(32441),de=ye.createContext(null),le=fe(98447),ie=fe(14088),oe=fe(4572),re=function(pe,Se){var be={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ee=Object.getOwnPropertySymbols(pe);Ce{var be;const{prefixCls:Ee,className:Ce,rootClassName:Be,children:Pe,indeterminate:Fe=!1,style:we,onMouseEnter:Le,onMouseLeave:Oe,skipGroup:Ge=!1,disabled:Ne}=pe,Ue=re(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:He,direction:Qe,checkbox:We}=ye.useContext(he.E_),ze=ye.useContext(de),{isFormItemInput:_e}=ye.useContext(ne.aM),Ve=ye.useContext(ce.Z),tt=(be=(ze==null?void 0:ze.disabled)||Ne)!==null&&be!==void 0?be:Ve,et=ye.useRef(Ue.value);ye.useEffect(()=>{ze==null||ze.registerValue(Ue.value)},[]),ye.useEffect(()=>{if(!Ge)return Ue.value!==et.current&&(ze==null||ze.cancelValue(et.current),ze==null||ze.registerValue(Ue.value),et.current=Ue.value),()=>ze==null?void 0:ze.cancelValue(Ue.value)},[Ue.value]);const dt=He("checkbox",Ee),[$e,Ze]=(0,le.ZP)(dt),Me=Object.assign({},Ue);ze&&!Ge&&(Me.onChange=function(){Ue.onChange&&Ue.onChange.apply(Ue,arguments),ze.toggleOption&&ze.toggleOption({label:Pe,value:Ue.value})},Me.name=ze.name,Me.checked=ze.value.includes(Ue.value));const qe=Ae()(`${dt}-wrapper`,{[`${dt}-rtl`]:Qe==="rtl",[`${dt}-wrapper-checked`]:Me.checked,[`${dt}-wrapper-disabled`]:tt,[`${dt}-wrapper-in-form-item`]:_e},We==null?void 0:We.className,Ce,Be,Ze),Ie=Ae()({[`${dt}-indeterminate`]:Fe},oe.A,Ze),je=Fe?"mixed":void 0;return $e(ye.createElement(ie.Z,{component:"Checkbox",disabled:tt},ye.createElement("label",{className:qe,style:Object.assign(Object.assign({},We==null?void 0:We.style),we),onMouseEnter:Le,onMouseLeave:Oe},ye.createElement(E.Z,Object.assign({"aria-checked":je},Me,{prefixCls:dt,className:Ie,disabled:tt,ref:Se})),Pe!==void 0&&ye.createElement("span",null,Pe))))};var y=ye.forwardRef(ee),x=fe(94480),b=fe(2738),z=function(pe,Se){var be={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&Se.indexOf(Ee)<0&&(be[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ee=Object.getOwnPropertySymbols(pe);Ce{const{defaultValue:be,children:Ee,options:Ce=[],prefixCls:Be,className:Pe,rootClassName:Fe,style:we,onChange:Le}=pe,Oe=z(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ge,direction:Ne}=ye.useContext(he.E_),[Ue,He]=ye.useState(Oe.value||be||[]),[Qe,We]=ye.useState([]);ye.useEffect(()=>{"value"in Oe&&He(Oe.value||[])},[Oe.value]);const ze=ye.useMemo(()=>Ce.map(Je=>typeof Je=="string"||typeof Je=="number"?{label:Je,value:Je}:Je),[Ce]),_e=Je=>{We(Ye=>Ye.filter(ke=>ke!==Je))},Ve=Je=>{We(Ye=>[].concat((0,x.Z)(Ye),[Je]))},tt=Je=>{const Ye=Ue.indexOf(Je.value),ke=(0,x.Z)(Ue);Ye===-1?ke.push(Je.value):ke.splice(Ye,1),"value"in Oe||He(ke),Le==null||Le(ke.filter(De=>Qe.includes(De)).sort((De,Te)=>{const xe=ze.findIndex(Xe=>Xe.value===De),Re=ze.findIndex(Xe=>Xe.value===Te);return xe-Re}))},et=Ge("checkbox",Be),dt=`${et}-group`,[$e,Ze]=(0,le.ZP)(et),Me=(0,b.Z)(Oe,["value","disabled"]),qe=Ce.length?ze.map(Je=>ye.createElement(y,{prefixCls:et,key:Je.value.toString(),disabled:"disabled"in Je?Je.disabled:Oe.disabled,value:Je.value,checked:Ue.includes(Je.value),onChange:Je.onChange,className:`${dt}-item`,style:Je.style,title:Je.title},Je.label)):Ee,Ie={toggleOption:tt,value:Ue,disabled:Oe.disabled,name:Oe.name,registerValue:Ve,cancelValue:_e},je=Ae()(dt,{[`${dt}-rtl`]:Ne==="rtl"},Pe,Fe,Ze);return $e(ye.createElement("div",Object.assign({className:je,style:we},Me,{ref:Se}),ye.createElement(de.Provider,{value:Ie},qe)))},ue=ye.forwardRef(te);var me=ye.memo(ue);const ve=y;ve.Group=me,ve.__ANT_CHECKBOX=!0;var ge=ve},98447:function(gt,ot,fe){"use strict";fe.d(ot,{C2:function(){return he}});var ae=fe(17313),Ae=fe(37613),E=fe(83116);const ye=ce=>{const{checkboxCls:ne}=ce,se=`${ne}-wrapper`;return[{[`${ne}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(ce)),{display:"inline-flex",flexWrap:"wrap",columnGap:ce.marginXS,[`> ${ce.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,ae.Wf)(ce)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ne]:Object.assign(Object.assign({},(0,ae.Wf)(ce)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ce.borderRadiusSM,alignSelf:"center",[`${ne}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ne}-inner`]:Object.assign({},(0,ae.oN)(ce))},[`${ne}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ce.checkboxSize,height:ce.checkboxSize,direction:"ltr",backgroundColor:ce.colorBgContainer,border:`${ce.lineWidth}px ${ce.lineType} ${ce.colorBorder}`,borderRadius:ce.borderRadiusSM,borderCollapse:"separate",transition:`all ${ce.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ce.checkboxSize/14*5,height:ce.checkboxSize/14*8,border:`${ce.lineWidthBold}px solid ${ce.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ce.motionDurationFast} ${ce.motionEaseInBack}, opacity ${ce.motionDurationFast}`}},"& + span":{paddingInlineStart:ce.paddingXS,paddingInlineEnd:ce.paddingXS}})},{[` + ${se}:not(${se}-disabled), + ${ne}:not(${ne}-disabled) + `]:{[`&:hover ${ne}-inner`]:{borderColor:ce.colorPrimary}},[`${se}:not(${se}-disabled)`]:{[`&:hover ${ne}-checked:not(${ne}-disabled) ${ne}-inner`]:{backgroundColor:ce.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ne}-checked:not(${ne}-disabled):after`]:{borderColor:ce.colorPrimaryHover}}},{[`${ne}-checked`]:{[`${ne}-inner`]:{backgroundColor:ce.colorPrimary,borderColor:ce.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ce.motionDurationMid} ${ce.motionEaseOutBack} ${ce.motionDurationFast}`}}},[` + ${se}-checked:not(${se}-disabled), + ${ne}-checked:not(${ne}-disabled) + `]:{[`&:hover ${ne}-inner`]:{backgroundColor:ce.colorPrimaryHover,borderColor:"transparent"}}},{[ne]:{"&-indeterminate":{[`${ne}-inner`]:{backgroundColor:ce.colorBgContainer,borderColor:ce.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ce.fontSizeLG/2,height:ce.fontSizeLG/2,backgroundColor:ce.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${se}-disabled`]:{cursor:"not-allowed"},[`${ne}-disabled`]:{[`&, ${ne}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ne}-inner`]:{background:ce.colorBgContainerDisabled,borderColor:ce.colorBorder,"&:after":{borderColor:ce.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ce.colorTextDisabled},[`&${ne}-indeterminate ${ne}-inner::after`]:{background:ce.colorTextDisabled}}}]};function he(ce,ne){const se=(0,Ae.TS)(ne,{checkboxCls:`.${ce}`,checkboxSize:ne.controlInteractiveSize});return[ye(se)]}ot.ZP=(0,E.Z)("Checkbox",(ce,ne)=>{let{prefixCls:se}=ne;return[he(se,ce)]})},36381:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return Me}});var ae=fe(38819),Ae=fe(92310),E=fe.n(Ae),ye=fe(54476),he=fe(94480),ce=fe(42978),ne=fe(76190),se=fe(18929),de=fe(48736),le=fe(59301),ie=fe(75931),oe=fe(11592),re=fe(20068),ee=fe(77900),a=fe(10228),y=le.forwardRef(function(qe,Ie){var je=qe.prefixCls,Je=qe.forceRender,Ye=qe.className,ke=qe.style,De=qe.children,Te=qe.isActive,xe=qe.role,Re=le.useState(Te||Je),Xe=(0,ce.Z)(Re,2),nt=Xe[0],Ke=Xe[1];return le.useEffect(function(){(Je||Te)&&Ke(!0)},[Je,Te]),nt?le.createElement("div",{ref:Ie,className:E()("".concat(je,"-content"),(0,re.Z)((0,re.Z)({},"".concat(je,"-content-active"),Te),"".concat(je,"-content-inactive"),!Te),Ye),style:ke,role:xe},le.createElement("div",{className:"".concat(je,"-content-box")},De)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=le.forwardRef(function(qe,Ie){var je=qe.showArrow,Je=je===void 0?!0:je,Ye=qe.headerClass,ke=qe.isActive,De=qe.onItemClick,Te=qe.forceRender,xe=qe.className,Re=qe.prefixCls,Xe=qe.collapsible,nt=qe.accordion,Ke=qe.panelKey,rt=qe.extra,ht=qe.header,ut=qe.expandIcon,pt=qe.openMotion,lt=qe.destroyInactivePanel,mt=qe.children,it=(0,ie.Z)(qe,b),ct=Xe==="disabled",ft=Xe==="header",yt=Xe==="icon",Et=rt!=null&&typeof rt!="boolean",Tt=function(){De==null||De(Ke)},_t=function(lr){(lr.key==="Enter"||lr.keyCode===a.Z.ENTER||lr.which===a.Z.ENTER)&&Tt()},Gt=typeof ut=="function"?ut(qe):le.createElement("i",{className:"arrow"});Gt&&(Gt=le.createElement("div",{className:"".concat(Re,"-expand-icon"),onClick:["header","icon"].includes(Xe)?Tt:void 0},Gt));var hn=E()((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Re,"-item"),!0),"".concat(Re,"-item-active"),ke),"".concat(Re,"-item-disabled"),ct),xe),Rn=E()(Ye,(0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Re,"-header"),!0),"".concat(Re,"-header-collapsible-only"),ft),"".concat(Re,"-icon-collapsible-only"),yt)),bn={className:Rn,"aria-expanded":ke,"aria-disabled":ct,onKeyDown:_t};return!ft&&!yt&&(bn.onClick=Tt,bn.role=nt?"tab":"button",bn.tabIndex=ct?-1:0),le.createElement("div",(0,ye.Z)({},it,{ref:Ie,className:hn}),le.createElement("div",bn,Je&&Gt,le.createElement("span",{className:"".concat(Re,"-header-text"),onClick:Xe==="header"?Tt:void 0},ht),Et&&le.createElement("div",{className:"".concat(Re,"-extra")},rt)),le.createElement(ee.default,(0,ye.Z)({visible:ke,leavedClassName:"".concat(Re,"-content-hidden")},pt,{forceRender:Te,removeOnLeave:lt}),function(dn,lr){var jn=dn.className,Mn=dn.style;return le.createElement(x,{ref:lr,prefixCls:Re,className:jn,style:Mn,isActive:ke,forceRender:Te,role:nt?"tabpanel":void 0},mt)}))}),te=z,ue=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],me=function(Ie,je){var Je=je.prefixCls,Ye=je.accordion,ke=je.collapsible,De=je.destroyInactivePanel,Te=je.onItemClick,xe=je.activeKey,Re=je.openMotion,Xe=je.expandIcon;return Ie.map(function(nt,Ke){var rt=nt.children,ht=nt.label,ut=nt.key,pt=nt.collapsible,lt=nt.onItemClick,mt=nt.destroyInactivePanel,it=(0,ie.Z)(nt,ue),ct=String(ut!=null?ut:Ke),ft=pt!=null?pt:ke,yt=mt!=null?mt:De,Et=function(Gt){ft!=="disabled"&&(Te(Gt),lt==null||lt(Gt))},Tt=!1;return Ye?Tt=xe[0]===ct:Tt=xe.indexOf(ct)>-1,le.createElement(te,(0,ye.Z)({},it,{prefixCls:Je,key:ct,panelKey:ct,isActive:Tt,accordion:Ye,openMotion:Re,expandIcon:Xe,header:ht,collapsible:ft,onItemClick:Et,destroyInactivePanel:yt}),rt)})},ve=function(Ie,je,Je){if(!Ie)return null;var Ye=Je.prefixCls,ke=Je.accordion,De=Je.collapsible,Te=Je.destroyInactivePanel,xe=Je.onItemClick,Re=Je.activeKey,Xe=Je.openMotion,nt=Je.expandIcon,Ke=Ie.key||String(je),rt=Ie.props,ht=rt.header,ut=rt.headerClass,pt=rt.destroyInactivePanel,lt=rt.collapsible,mt=rt.onItemClick,it=!1;ke?it=Re[0]===Ke:it=Re.indexOf(Ke)>-1;var ct=lt!=null?lt:De,ft=function(Tt){ct!=="disabled"&&(xe(Tt),mt==null||mt(Tt))},yt={key:Ke,panelKey:Ke,header:ht,headerClass:ut,isActive:it,prefixCls:Ye,destroyInactivePanel:pt!=null?pt:Te,openMotion:Xe,accordion:ke,children:Ie.props.children,onItemClick:ft,expandIcon:nt,collapsible:ct};return typeof Ie.type=="string"?Ie:(Object.keys(yt).forEach(function(Et){typeof yt[Et]=="undefined"&&delete yt[Et]}),le.cloneElement(Ie,yt))};function ge(qe,Ie,je){return Array.isArray(qe)?me(qe,je):(0,oe.Z)(Ie).map(function(Je,Ye){return ve(Je,Ye,je)})}var pe=ge,Se=fe(26112);function be(qe){var Ie=qe;if(!Array.isArray(Ie)){var je=(0,ne.Z)(Ie);Ie=je==="number"||je==="string"?[Ie]:[]}return Ie.map(function(Je){return String(Je)})}var Ee=le.forwardRef(function(qe,Ie){var je=qe.prefixCls,Je=je===void 0?"rc-collapse":je,Ye=qe.destroyInactivePanel,ke=Ye===void 0?!1:Ye,De=qe.style,Te=qe.accordion,xe=qe.className,Re=qe.children,Xe=qe.collapsible,nt=qe.openMotion,Ke=qe.expandIcon,rt=qe.activeKey,ht=qe.defaultActiveKey,ut=qe.onChange,pt=qe.items,lt=E()(Je,xe),mt=(0,se.Z)([],{value:rt,onChange:function(_t){return ut==null?void 0:ut(_t)},defaultValue:ht,postState:be}),it=(0,ce.Z)(mt,2),ct=it[0],ft=it[1],yt=function(_t){return ft(function(){if(Te)return ct[0]===_t?[]:[_t];var Gt=ct.indexOf(_t),hn=Gt>-1;return hn?ct.filter(function(Rn){return Rn!==_t}):[].concat((0,he.Z)(ct),[_t])})};(0,de.ZP)(!Re,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Et=pe(pt,Re,{prefixCls:Je,accordion:Te,openMotion:nt,expandIcon:Ke,collapsible:Xe,destroyInactivePanel:ke,onItemClick:yt,activeKey:ct});return le.createElement("div",(0,ye.Z)({ref:Ie,className:lt,style:De,role:Te?"tablist":void 0},(0,Se.Z)(qe,{aria:!0,data:!0})),Et)}),Ce=Object.assign(Ee,{Panel:te}),Be=Ce,Pe=Ce.Panel,Fe=fe(2738),we=fe(62892),Le=fe(92343),Oe=fe(36355),Ge=fe(19716),Ue=le.forwardRef((qe,Ie)=>{const{getPrefixCls:je}=le.useContext(Oe.E_),{prefixCls:Je,className:Ye,showArrow:ke=!0}=qe,De=je("collapse",Je),Te=E()({[`${De}-no-arrow`]:!ke},Ye);return le.createElement(Be.Panel,Object.assign({ref:Ie},qe,{prefixCls:De,className:Te}))}),He=fe(17313),Qe=fe(8378),We=fe(83116),ze=fe(37613);const _e=qe=>{const{componentCls:Ie,contentBg:je,padding:Je,headerBg:Ye,headerPadding:ke,collapseHeaderPaddingSM:De,collapseHeaderPaddingLG:Te,collapsePanelBorderRadius:xe,lineWidth:Re,lineType:Xe,colorBorder:nt,colorText:Ke,colorTextHeading:rt,colorTextDisabled:ht,fontSize:ut,fontSizeLG:pt,lineHeight:lt,marginSM:mt,paddingSM:it,paddingLG:ct,paddingXS:ft,motionDurationSlow:yt,fontSizeIcon:Et,contentPadding:Tt}=qe,_t=`${Re}px ${Xe} ${nt}`;return{[Ie]:Object.assign(Object.assign({},(0,He.Wf)(qe)),{backgroundColor:Ye,border:_t,borderBottom:0,borderRadius:`${xe}px`,"&-rtl":{direction:"rtl"},[`& > ${Ie}-item`]:{borderBottom:_t,"&:last-child":{[` + &, + & > ${Ie}-header`]:{borderRadius:`0 0 ${xe}px ${xe}px`}},[`> ${Ie}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ke,color:rt,lineHeight:lt,cursor:"pointer",transition:`all ${yt}, visibility 0s`,[`> ${Ie}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ie}-expand-icon`]:{height:ut*lt,display:"flex",alignItems:"center",paddingInlineEnd:mt},[`${Ie}-arrow`]:Object.assign(Object.assign({},(0,He.Ro)()),{fontSize:Et,svg:{transition:`transform ${yt}`}}),[`${Ie}-header-text`]:{marginInlineEnd:"auto"}},[`${Ie}-header-collapsible-only`]:{cursor:"default",[`${Ie}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ie}-icon-collapsible-only`]:{cursor:"default",[`${Ie}-expand-icon`]:{cursor:"pointer"}}},[`${Ie}-content`]:{color:Ke,backgroundColor:je,borderTop:_t,[`& > ${Ie}-content-box`]:{padding:Tt},"&-hidden":{display:"none"}},"&-small":{[`> ${Ie}-item`]:{[`> ${Ie}-header`]:{padding:De,paddingInlineStart:ft,[`> ${Ie}-expand-icon`]:{marginInlineStart:it-ft}},[`> ${Ie}-content > ${Ie}-content-box`]:{padding:it}}},"&-large":{[`> ${Ie}-item`]:{fontSize:pt,[`> ${Ie}-header`]:{padding:Te,paddingInlineStart:Je,[`> ${Ie}-expand-icon`]:{height:pt*lt,marginInlineStart:ct-Je}},[`> ${Ie}-content > ${Ie}-content-box`]:{padding:ct}}},[`${Ie}-item:last-child`]:{[`> ${Ie}-content`]:{borderRadius:`0 0 ${xe}px ${xe}px`}},[`& ${Ie}-item-disabled > ${Ie}-header`]:{"\n &,\n & > .arrow\n ":{color:ht,cursor:"not-allowed"}},[`&${Ie}-icon-position-end`]:{[`& > ${Ie}-item`]:{[`> ${Ie}-header`]:{[`${Ie}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:mt}}}}})}},Ve=qe=>{const{componentCls:Ie}=qe,je=`> ${Ie}-item > ${Ie}-header ${Ie}-arrow svg`;return{[`${Ie}-rtl`]:{[je]:{transform:"rotate(180deg)"}}}},tt=qe=>{const{componentCls:Ie,headerBg:je,paddingXXS:Je,colorBorder:Ye}=qe;return{[`${Ie}-borderless`]:{backgroundColor:je,border:0,[`> ${Ie}-item`]:{borderBottom:`1px solid ${Ye}`},[` + > ${Ie}-item:last-child, + > ${Ie}-item:last-child ${Ie}-header + `]:{borderRadius:0},[`> ${Ie}-item:last-child`]:{borderBottom:0},[`> ${Ie}-item > ${Ie}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ie}-item > ${Ie}-content > ${Ie}-content-box`]:{paddingTop:Je}}}},et=qe=>{const{componentCls:Ie,paddingSM:je}=qe;return{[`${Ie}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ie}-item`]:{borderBottom:0,[`> ${Ie}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ie}-content-box`]:{paddingBlock:je}}}}}};var dt=(0,We.Z)("Collapse",qe=>{const Ie=(0,ze.TS)(qe,{collapseHeaderPaddingSM:`${qe.paddingXS}px ${qe.paddingSM}px`,collapseHeaderPaddingLG:`${qe.padding}px ${qe.paddingLG}px`,collapsePanelBorderRadius:qe.borderRadiusLG});return[_e(Ie),tt(Ie),et(Ie),Ve(Ie),(0,Qe.Z)(Ie)]},qe=>({headerPadding:`${qe.paddingSM}px ${qe.padding}px`,headerBg:qe.colorFillAlter,contentPadding:`${qe.padding}px 16px`,contentBg:qe.colorBgContainer})),Ze=Object.assign(le.forwardRef((qe,Ie)=>{const{getPrefixCls:je,direction:Je,collapse:Ye}=le.useContext(Oe.E_),{prefixCls:ke,className:De,rootClassName:Te,style:xe,bordered:Re=!0,ghost:Xe,size:nt,expandIconPosition:Ke="start",children:rt,expandIcon:ht}=qe,ut=(0,Ge.Z)(_t=>{var Gt;return(Gt=nt!=null?nt:_t)!==null&&Gt!==void 0?Gt:"middle"}),pt=je("collapse",ke),lt=je(),[mt,it]=dt(pt),ct=le.useMemo(()=>Ke==="left"?"start":Ke==="right"?"end":Ke,[Ke]),ft=function(){let _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Gt=ht?ht(_t):le.createElement(ae.Z,{rotate:_t.isActive?90:void 0});return(0,Le.Tm)(Gt,()=>({className:E()(Gt.props.className,`${pt}-arrow`)}))},yt=E()(`${pt}-icon-position-${ct}`,{[`${pt}-borderless`]:!Re,[`${pt}-rtl`]:Je==="rtl",[`${pt}-ghost`]:!!Xe,[`${pt}-${ut}`]:ut!=="middle"},Ye==null?void 0:Ye.className,De,Te,it),Et=Object.assign(Object.assign({},(0,we.Z)(lt)),{motionAppear:!1,leavedClassName:`${pt}-content-hidden`}),Tt=le.useMemo(()=>rt?(0,oe.Z)(rt).map((_t,Gt)=>{var hn,Rn;if(!((hn=_t.props)===null||hn===void 0)&&hn.disabled){const bn=(Rn=_t.key)!==null&&Rn!==void 0?Rn:String(Gt),{disabled:dn,collapsible:lr}=_t.props,jn=Object.assign(Object.assign({},(0,Fe.Z)(_t.props,["disabled"])),{key:bn,collapsible:lr!=null?lr:dn?"disabled":void 0});return(0,Le.Tm)(_t,jn)}return _t}):null,[rt]);return mt(le.createElement(Be,Object.assign({ref:Ie,openMotion:Et},(0,Fe.Z)(qe,["rootClassName"]),{expandIcon:ft,prefixCls:pt,className:yt,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),xe)}),Tt))}),{Panel:Ue}),Me=Ze},28103:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return oe}});var ae=fe(92310),Ae=fe.n(ae),E=fe(59301),ye=fe(36355),he=fe(17313),ce=fe(83116),ne=fe(37613);const se=re=>{const{componentCls:ee,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:x,textPaddingInline:b,orientationMargin:z,verticalMarginInline:te}=re;return{[ee]:Object.assign(Object.assign({},(0,he.Wf)(re)),{borderBlockStart:`${x}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${re.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ee}-with-text`]:{display:"flex",alignItems:"center",margin:`${re.dividerHorizontalWithTextGutterMargin}px 0`,color:re.colorTextHeading,fontWeight:500,fontSize:re.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ee}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${ee}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${ee}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${ee}-with-text${ee}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ee}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ee}-with-text`]:{color:re.colorText,fontWeight:"normal",fontSize:re.fontSize},[`&-horizontal${ee}-with-text-left${ee}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ee}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${ee}-with-text-right${ee}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ee}-inner-text`]:{paddingInlineEnd:a}}})}};var de=(0,ce.Z)("Divider",re=>{const ee=(0,ne.TS)(re,{dividerHorizontalWithTextGutterMargin:re.margin,dividerHorizontalGutterMargin:re.marginLG,sizePaddingEdgeHorizontal:0});return[se(ee)]},re=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:re.marginXS})),le=function(re,ee){var a={};for(var y in re)Object.prototype.hasOwnProperty.call(re,y)&&ee.indexOf(y)<0&&(a[y]=re[y]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(re);x{const{getPrefixCls:ee,direction:a,divider:y}=E.useContext(ye.E_),{prefixCls:x,type:b="horizontal",orientation:z="center",orientationMargin:te,className:ue,rootClassName:me,children:ve,dashed:ge,plain:pe,style:Se}=re,be=le(re,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ee=ee("divider",x),[Ce,Be]=de(Ee),Pe=z.length>0?`-${z}`:z,Fe=!!ve,we=z==="left"&&te!=null,Le=z==="right"&&te!=null,Oe=Ae()(Ee,y==null?void 0:y.className,Be,`${Ee}-${b}`,{[`${Ee}-with-text`]:Fe,[`${Ee}-with-text${Pe}`]:Fe,[`${Ee}-dashed`]:!!ge,[`${Ee}-plain`]:!!pe,[`${Ee}-rtl`]:a==="rtl",[`${Ee}-no-default-orientation-margin-left`]:we,[`${Ee}-no-default-orientation-margin-right`]:Le},ue,me),Ge=E.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),Ne=Object.assign(Object.assign({},we&&{marginLeft:Ge}),Le&&{marginRight:Ge});return Ce(E.createElement("div",Object.assign({className:Oe,style:Object.assign(Object.assign({},y==null?void 0:y.style),Se)},be,{role:"separator"}),ve&&b!=="vertical"&&E.createElement("span",{className:`${Ee}-inner-text`,style:Ne},ve)))}},43428:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return $e}});var ae=fe(92310),Ae=fe.n(ae),E=fe(33885),ye=fe(42978),he=fe(43403),ce=fe(34280),ne=fe(59301),se=ne.createContext(null),de=ne.createContext({}),le=se,ie=fe(20068),oe=fe(54476),re=fe(77900),ee=fe(10228),a=fe(26112),y=fe(70425),x=function(Me){var qe=Me.prefixCls,Ie=Me.className,je=Me.style,Je=Me.children,Ye=Me.containerRef,ke=Me.id,De=Me.onMouseEnter,Te=Me.onMouseOver,xe=Me.onMouseLeave,Re=Me.onClick,Xe=Me.onKeyDown,nt=Me.onKeyUp,Ke={onMouseEnter:De,onMouseOver:Te,onMouseLeave:xe,onClick:Re,onKeyDown:Xe,onKeyUp:nt},rt=ne.useContext(de),ht=rt.panel,ut=(0,y.useComposeRef)(ht,Ye);return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,oe.Z)({id:ke,className:Ae()("".concat(qe,"-content"),Ie),style:(0,E.Z)({},je),"aria-modal":"true",role:"dialog",ref:ut},Ke),Je))},b=x,z=fe(48736);function te(Ze){return typeof Ze=="string"&&String(Number(Ze))===Ze?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ze)):Ze}function ue(Ze){warning(!("wrapperClassName"in Ze),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ze.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var me={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ve(Ze,Me){var qe,Ie,je,Je,Ye=Ze.prefixCls,ke=Ze.open,De=Ze.placement,Te=Ze.inline,xe=Ze.push,Re=Ze.forceRender,Xe=Ze.autoFocus,nt=Ze.keyboard,Ke=Ze.rootClassName,rt=Ze.rootStyle,ht=Ze.zIndex,ut=Ze.className,pt=Ze.id,lt=Ze.style,mt=Ze.motion,it=Ze.width,ct=Ze.height,ft=Ze.children,yt=Ze.contentWrapperStyle,Et=Ze.mask,Tt=Ze.maskClosable,_t=Ze.maskMotion,Gt=Ze.maskClassName,hn=Ze.maskStyle,Rn=Ze.afterOpenChange,bn=Ze.onClose,dn=Ze.onMouseEnter,lr=Ze.onMouseOver,jn=Ze.onMouseLeave,Mn=Ze.onClick,cr=Ze.onKeyDown,hr=Ze.onKeyUp,Dn=ne.useRef(),qn=ne.useRef(),Fn=ne.useRef();ne.useImperativeHandle(Me,function(){return Dn.current});var Ct=function(Lt){var gn=Lt.keyCode,Rt=Lt.shiftKey;switch(gn){case ee.Z.TAB:{if(gn===ee.Z.TAB){if(!Rt&&document.activeElement===Fn.current){var Pn;(Pn=qn.current)===null||Pn===void 0||Pn.focus({preventScroll:!0})}else if(Rt&&document.activeElement===qn.current){var _n;(_n=Fn.current)===null||_n===void 0||_n.focus({preventScroll:!0})}}break}case ee.Z.ESC:{bn&&nt&&(Lt.stopPropagation(),bn(Lt));break}}};ne.useEffect(function(){if(ke&&Xe){var Ht;(Ht=Dn.current)===null||Ht===void 0||Ht.focus({preventScroll:!0})}},[ke]);var cn=ne.useState(!1),nn=(0,ye.Z)(cn,2),Sn=nn[0],Ln=nn[1],On=ne.useContext(le),mn;xe===!1?mn={distance:0}:xe===!0?mn={}:mn=xe||{};var Pt=(qe=(Ie=(je=mn)===null||je===void 0?void 0:je.distance)!==null&&Ie!==void 0?Ie:On==null?void 0:On.pushDistance)!==null&&qe!==void 0?qe:180,Bt=ne.useMemo(function(){return{pushDistance:Pt,push:function(){Ln(!0)},pull:function(){Ln(!1)}}},[Pt]);ne.useEffect(function(){if(ke){var Ht;On==null||(Ht=On.push)===null||Ht===void 0||Ht.call(On)}else{var Lt;On==null||(Lt=On.pull)===null||Lt===void 0||Lt.call(On)}},[ke]),ne.useEffect(function(){return function(){var Ht;On==null||(Ht=On.pull)===null||Ht===void 0||Ht.call(On)}},[]);var xt=Et&&ne.createElement(re.default,(0,oe.Z)({key:"mask"},_t,{visible:ke}),function(Ht,Lt){var gn=Ht.className,Rt=Ht.style;return ne.createElement("div",{className:Ae()("".concat(Ye,"-mask"),gn,Gt),style:(0,E.Z)((0,E.Z)({},Rt),hn),onClick:Tt&&ke?bn:void 0,ref:Lt})}),tn=typeof mt=="function"?mt(De):mt,Bn={};if(Sn&&Pt)switch(De){case"top":Bn.transform="translateY(".concat(Pt,"px)");break;case"bottom":Bn.transform="translateY(".concat(-Pt,"px)");break;case"left":Bn.transform="translateX(".concat(Pt,"px)");break;default:Bn.transform="translateX(".concat(-Pt,"px)");break}De==="left"||De==="right"?Bn.width=te(it):Bn.height=te(ct);var fn={onMouseEnter:dn,onMouseOver:lr,onMouseLeave:jn,onClick:Mn,onKeyDown:cr,onKeyUp:hr},Sr=ne.createElement(re.default,(0,oe.Z)({key:"panel"},tn,{visible:ke,forceRender:Re,onVisibleChanged:function(Lt){Rn==null||Rn(Lt)},removeOnLeave:!1,leavedClassName:"".concat(Ye,"-content-wrapper-hidden")}),function(Ht,Lt){var gn=Ht.className,Rt=Ht.style;return ne.createElement("div",(0,oe.Z)({className:Ae()("".concat(Ye,"-content-wrapper"),gn),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Bn),Rt),yt)},(0,a.Z)(Ze,{data:!0})),ne.createElement(b,(0,oe.Z)({id:pt,containerRef:Lt,prefixCls:Ye,className:ut,style:lt},fn),ft))}),Vn=(0,E.Z)({},rt);return ht&&(Vn.zIndex=ht),ne.createElement(le.Provider,{value:Bt},ne.createElement("div",{className:Ae()(Ye,"".concat(Ye,"-").concat(De),Ke,(Je={},(0,ie.Z)(Je,"".concat(Ye,"-open"),ke),(0,ie.Z)(Je,"".concat(Ye,"-inline"),Te),Je)),style:Vn,tabIndex:-1,ref:Dn,onKeyDown:Ct},xt,ne.createElement("div",{tabIndex:0,ref:qn,style:me,"aria-hidden":"true","data-sentinel":"start"}),Sr,ne.createElement("div",{tabIndex:0,ref:Fn,style:me,"aria-hidden":"true","data-sentinel":"end"})))}var ge=ne.forwardRef(ve),pe=ge,Se=function(Me){var qe=Me.open,Ie=qe===void 0?!1:qe,je=Me.prefixCls,Je=je===void 0?"rc-drawer":je,Ye=Me.placement,ke=Ye===void 0?"right":Ye,De=Me.autoFocus,Te=De===void 0?!0:De,xe=Me.keyboard,Re=xe===void 0?!0:xe,Xe=Me.width,nt=Xe===void 0?378:Xe,Ke=Me.mask,rt=Ke===void 0?!0:Ke,ht=Me.maskClosable,ut=ht===void 0?!0:ht,pt=Me.getContainer,lt=Me.forceRender,mt=Me.afterOpenChange,it=Me.destroyOnClose,ct=Me.onMouseEnter,ft=Me.onMouseOver,yt=Me.onMouseLeave,Et=Me.onClick,Tt=Me.onKeyDown,_t=Me.onKeyUp,Gt=Me.panelRef,hn=ne.useState(!1),Rn=(0,ye.Z)(hn,2),bn=Rn[0],dn=Rn[1],lr=ne.useState(!1),jn=(0,ye.Z)(lr,2),Mn=jn[0],cr=jn[1];(0,ce.Z)(function(){cr(!0)},[]);var hr=Mn?Ie:!1,Dn=ne.useRef(),qn=ne.useRef();(0,ce.Z)(function(){hr&&(qn.current=document.activeElement)},[hr]);var Fn=function(Ln){var On;if(dn(Ln),mt==null||mt(Ln),!Ln&&qn.current&&!((On=Dn.current)!==null&&On!==void 0&&On.contains(qn.current))){var mn;(mn=qn.current)===null||mn===void 0||mn.focus({preventScroll:!0})}},Ct=ne.useMemo(function(){return{panel:Gt}},[Gt]);if(!lt&&!bn&&!hr&&it)return null;var cn={onMouseEnter:ct,onMouseOver:ft,onMouseLeave:yt,onClick:Et,onKeyDown:Tt,onKeyUp:_t},nn=(0,E.Z)((0,E.Z)({},Me),{},{open:hr,prefixCls:Je,placement:ke,autoFocus:Te,keyboard:Re,width:nt,mask:rt,maskClosable:ut,inline:pt===!1,afterOpenChange:Fn,ref:Dn},cn);return ne.createElement(de.Provider,{value:Ct},ne.createElement(he.Z,{open:hr||lt||bn,autoDestroy:!1,getContainer:pt,autoLock:rt&&(hr||bn)},ne.createElement(pe,nn)))},be=Se,Ee=be,Ce=fe(62892),Be=fe(36355),Pe=fe(32441),Fe=fe(47729),Le=Ze=>{const{prefixCls:Me,title:qe,footer:Ie,extra:je,closeIcon:Je,closable:Ye,onClose:ke,headerStyle:De,drawerStyle:Te,bodyStyle:xe,footerStyle:Re,children:Xe}=Ze,nt=ne.useCallback(pt=>ne.createElement("button",{type:"button",onClick:ke,"aria-label":"Close",className:`${Me}-close`},pt),[ke]),[Ke,rt]=(0,Fe.Z)(Ye,Je,nt,void 0,!0),ht=ne.useMemo(()=>!qe&&!Ke?null:ne.createElement("div",{style:De,className:Ae()(`${Me}-header`,{[`${Me}-header-close-only`]:Ke&&!qe&&!je})},ne.createElement("div",{className:`${Me}-header-title`},rt,qe&&ne.createElement("div",{className:`${Me}-title`},qe)),je&&ne.createElement("div",{className:`${Me}-extra`},je)),[Ke,rt,je,De,Me,qe]),ut=ne.useMemo(()=>{if(!Ie)return null;const pt=`${Me}-footer`;return ne.createElement("div",{className:pt,style:Re},Ie)},[Ie,Re,Me]);return ne.createElement("div",{className:`${Me}-wrapper-body`,style:Te},ht,ne.createElement("div",{className:`${Me}-body`,style:xe},Xe),ut)},Oe=fe(33234),Ge=fe(83116),Ne=fe(37613),He=Ze=>{const{componentCls:Me,motionDurationSlow:qe}=Ze,Ie={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${qe}`}}};return{[Me]:{[`${Me}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${qe}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Me}-panel-motion`]:{"&-left":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Ie,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Qe=Ze=>{const{componentCls:Me,zIndexPopup:qe,colorBgMask:Ie,colorBgElevated:je,motionDurationSlow:Je,motionDurationMid:Ye,padding:ke,paddingLG:De,fontSizeLG:Te,lineHeightLG:xe,lineWidth:Re,lineType:Xe,colorSplit:nt,marginSM:Ke,colorIcon:rt,colorIconHover:ht,colorText:ut,fontWeightStrong:pt,footerPaddingBlock:lt,footerPaddingInline:mt}=Ze,it=`${Me}-content-wrapper`;return{[Me]:{position:"fixed",inset:0,zIndex:qe,pointerEvents:"none","&-pure":{position:"relative",background:je,[`&${Me}-left`]:{boxShadow:Ze.boxShadowDrawerLeft},[`&${Me}-right`]:{boxShadow:Ze.boxShadowDrawerRight},[`&${Me}-top`]:{boxShadow:Ze.boxShadowDrawerUp},[`&${Me}-bottom`]:{boxShadow:Ze.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Me}-mask`]:{position:"absolute",inset:0,zIndex:qe,background:Ie,pointerEvents:"auto"},[it]:{position:"absolute",zIndex:qe,maxWidth:"100vw",transition:`all ${Je}`,"&-hidden":{display:"none"}},[`&-left > ${it}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ze.boxShadowDrawerLeft},[`&-right > ${it}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ze.boxShadowDrawerRight},[`&-top > ${it}`]:{top:0,insetInline:0,boxShadow:Ze.boxShadowDrawerUp},[`&-bottom > ${it}`]:{bottom:0,insetInline:0,boxShadow:Ze.boxShadowDrawerDown},[`${Me}-content`]:{width:"100%",height:"100%",overflow:"auto",background:je,pointerEvents:"auto"},[`${Me}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Me}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ke}px ${De}px`,fontSize:Te,lineHeight:xe,borderBottom:`${Re}px ${Xe} ${nt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Me}-extra`]:{flex:"none"},[`${Me}-close`]:{display:"inline-block",marginInlineEnd:Ke,color:rt,fontWeight:pt,fontSize:Te,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Ye}`,textRendering:"auto","&:focus, &:hover":{color:ht,textDecoration:"none"}},[`${Me}-title`]:{flex:1,margin:0,color:ut,fontWeight:Ze.fontWeightStrong,fontSize:Te,lineHeight:xe},[`${Me}-body`]:{flex:1,minWidth:0,minHeight:0,padding:De,overflow:"auto"},[`${Me}-footer`]:{flexShrink:0,padding:`${lt}px ${mt}px`,borderTop:`${Re}px ${Xe} ${nt}`},"&-rtl":{direction:"rtl"}}}};var We=(0,Ge.Z)("Drawer",Ze=>{const Me=(0,Ne.TS)(Ze,{});return[Qe(Me),He(Me)]},Ze=>({zIndexPopup:Ze.zIndexPopupBase,footerPaddingBlock:Ze.paddingXS,footerPaddingInline:Ze.padding})),ze=fe(11575),_e=function(Ze,Me){var qe={};for(var Ie in Ze)Object.prototype.hasOwnProperty.call(Ze,Ie)&&Me.indexOf(Ie)<0&&(qe[Ie]=Ze[Ie]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ie=Object.getOwnPropertySymbols(Ze);je{var Me;const{rootClassName:qe,width:Ie,height:je,size:Je="default",mask:Ye=!0,push:ke=tt,open:De,afterOpenChange:Te,onClose:xe,prefixCls:Re,getContainer:Xe,style:nt,className:Ke,visible:rt,afterVisibleChange:ht}=Ze,ut=_e(Ze,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:pt,getPrefixCls:lt,direction:mt,drawer:it}=ne.useContext(Be.E_),ct=lt("drawer",Re),[ft,yt]=We(ct),Et=Xe===void 0&&pt?()=>pt(document.body):Xe,Tt=Ae()({"no-mask":!Ye,[`${ct}-rtl`]:mt==="rtl"},qe,yt),_t=ne.useMemo(()=>Ie!=null?Ie:Je==="large"?736:378,[Ie,Je]),Gt=ne.useMemo(()=>je!=null?je:Je==="large"?736:378,[je,Je]),hn={motionName:(0,Ce.m)(ct,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Rn=dn=>({motionName:(0,Ce.m)(ct,`panel-motion-${dn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),bn=(0,ze.H)();return ft(ne.createElement(Oe.BR,null,ne.createElement(Pe.Ux,{status:!0,override:!0},ne.createElement(Ee,Object.assign({prefixCls:ct,onClose:xe,maskMotion:hn,motion:Rn},ut,{open:De!=null?De:rt,mask:Ye,push:ke,width:_t,height:Gt,style:Object.assign(Object.assign({},it==null?void 0:it.style),nt),className:Ae()(it==null?void 0:it.className,Ke),rootClassName:Tt,getContainer:Et,afterOpenChange:Te!=null?Te:ht,panelRef:bn}),ne.createElement(Le,Object.assign({prefixCls:ct},ut,{onClose:xe}))))))},dt=Ze=>{const{prefixCls:Me,style:qe,className:Ie,placement:je="right"}=Ze,Je=_e(Ze,["prefixCls","style","className","placement"]),{getPrefixCls:Ye}=ne.useContext(Be.E_),ke=Ye("drawer",Me),[De,Te]=We(ke),xe=Ae()(ke,`${ke}-pure`,`${ke}-${je}`,Te,Ie);return De(ne.createElement("div",{className:xe,style:qe},ne.createElement(Le,Object.assign({prefixCls:ke},Je))))};et._InternalPanelDoNotUseOrYouWillBeFired=dt;var $e=et},91857:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(38819),E=fe(92310),ye=fe.n(E),he=fe(31561),ce=fe(70425),ne=fe(18929),se=fe(2738),de=fe(79676),le=fe(53487),ie=fe(92343),oe=fe(36355),re=fe(20834),ee=fe(40875),a=fe(88088),y=fe(47211);const x=null,b=me=>{const{menu:ve,arrow:ge,prefixCls:pe,children:Se,trigger:be,disabled:Ee,dropdownRender:Ce,getPopupContainer:Be,overlayClassName:Pe,rootClassName:Fe,open:we,onOpenChange:Le,visible:Oe,onVisibleChange:Ge,mouseEnterDelay:Ne=.15,mouseLeaveDelay:Ue=.1,autoAdjustOverflow:He=!0,placement:Qe="",overlay:We,transitionName:ze}=me,{getPopupContainer:_e,getPrefixCls:Ve,direction:tt}=ae.useContext(oe.E_),et=ae.useMemo(()=>{const Ke=Ve();return ze!==void 0?ze:Qe.includes("top")?`${Ke}-slide-down`:`${Ke}-slide-up`},[Ve,Qe,ze]),dt=ae.useMemo(()=>Qe?Qe.includes("Center")?Qe.slice(0,Qe.indexOf("Center")):Qe:tt==="rtl"?"bottomRight":"bottomLeft",[Qe,tt]),$e=Ve("dropdown",pe),[Ze,Me]=(0,y.Z)($e),[,qe]=(0,a.Z)(),Ie=ae.Children.only(Se),je=(0,ie.Tm)(Ie,{className:ye()(`${$e}-trigger`,{[`${$e}-rtl`]:tt==="rtl"},Ie.props.className),disabled:Ee}),Je=Ee?[]:be;let Ye;Je&&Je.includes("contextMenu")&&(Ye=!0);const[ke,De]=(0,ne.Z)(!1,{value:we!=null?we:Oe}),Te=(0,ce.useEvent)(Ke=>{Le==null||Le(Ke),Ge==null||Ge(Ke),De(Ke)}),xe=ye()(Pe,Fe,Me,{[`${$e}-rtl`]:tt==="rtl"}),Re=(0,de.Z)({arrowPointAtCenter:typeof ge=="object"&&ge.pointAtCenter,autoAdjustOverflow:He,offset:qe.marginXXS,arrowWidth:ge?qe.sizePopupArrow:0,borderRadius:qe.borderRadius}),Xe=ae.useCallback(()=>{De(!1)},[]),nt=()=>{let Ke;return ve!=null&&ve.items?Ke=ae.createElement(re.default,Object.assign({},ve)):typeof We=="function"?Ke=We():Ke=We,Ce&&(Ke=Ce(Ke)),Ke=ae.Children.only(typeof Ke=="string"?ae.createElement("span",null,Ke):Ke),ae.createElement(ee.J,{prefixCls:`${$e}-menu`,expandIcon:ae.createElement("span",{className:`${$e}-menu-submenu-arrow`},ae.createElement(Ae.Z,{className:`${$e}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Xe,validator:rt=>{let{mode:ht}=rt}},Ke)};return Ze(ae.createElement(he.Z,Object.assign({alignPoint:Ye},(0,se.Z)(me,["rootClassName"]),{mouseEnterDelay:Ne,mouseLeaveDelay:Ue,visible:ke,builtinPlacements:Re,arrow:!!ge,overlayClassName:xe,prefixCls:$e,getPopupContainer:Be||_e,transitionName:et,trigger:Je,overlay:nt,placement:dt,onVisibleChange:Te}),je))};function z(me){return Object.assign(Object.assign({},me),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,le.Z)(b,"dropdown",me=>me,z),ue=me=>ae.createElement(te,Object.assign({},me),ae.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ue,ot.Z=b},38854:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return a}});var ae=fe(91857),Ae=fe(92310),E=fe.n(Ae),ye=fe(59301),he=fe(18785),ce=fe(3113),ne=fe(36355),se=fe(81327),de=fe(33234),le=fe(47211),ie=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(y);te{const{getPopupContainer:x,getPrefixCls:b,direction:z}=ye.useContext(ne.E_),{prefixCls:te,type:ue="default",danger:me,disabled:ve,loading:ge,onClick:pe,htmlType:Se,children:be,className:Ee,menu:Ce,arrow:Be,autoFocus:Pe,overlay:Fe,trigger:we,align:Le,open:Oe,onOpenChange:Ge,placement:Ne,getPopupContainer:Ue,href:He,icon:Qe=ye.createElement(he.Z,null),title:We,buttonsRender:ze=nt=>nt,mouseEnterDelay:_e,mouseLeaveDelay:Ve,overlayClassName:tt,overlayStyle:et,destroyPopupOnHide:dt,dropdownRender:$e}=y,Ze=ie(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Me=b("dropdown",te),qe=`${Me}-button`,[Ie,je]=(0,le.Z)(Me),Je={menu:Ce,arrow:Be,autoFocus:Pe,align:Le,disabled:ve,trigger:ve?[]:we,onOpenChange:Ge,getPopupContainer:Ue||x,mouseEnterDelay:_e,mouseLeaveDelay:Ve,overlayClassName:tt,overlayStyle:et,destroyPopupOnHide:dt,dropdownRender:$e},{compactSize:Ye,compactItemClassnames:ke}=(0,de.ri)(Me,z),De=E()(qe,ke,Ee,je);"overlay"in y&&(Je.overlay=Fe),"open"in y&&(Je.open=Oe),"placement"in y?Je.placement=Ne:Je.placement=z==="rtl"?"bottomLeft":"bottomRight";const Te=ye.createElement(ce.ZP,{type:ue,danger:me,disabled:ve,loading:ge,onClick:pe,htmlType:Se,href:He,title:We},be),xe=ye.createElement(ce.ZP,{type:ue,danger:me,icon:Qe}),[Re,Xe]=ze([Te,xe]);return Ie(ye.createElement(se.Z.Compact,Object.assign({className:De,size:Ye,block:!0},Ze),Re,ye.createElement(ae.Z,Object.assign({},Je),Xe)))};oe.__ANT_BUTTON=!0;var re=oe;const ee=ae.Z;ee.Button=re;var a=ee},47211:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ie}});var ae=fe(17313),Ae=fe(13826),E=fe(92899),ye=fe(29878),he=fe(19447),ce=fe(83116),ne=fe(37613),de=oe=>{const{componentCls:re,menuCls:ee,colorError:a,colorTextLightSolid:y}=oe,x=`${ee}-item`;return{[`${re}, ${re}-menu-submenu`]:{[`${ee} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const le=oe=>{const{componentCls:re,menuCls:ee,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:ue,fontSize:me,dropdownEdgeChildPadding:ve,colorTextDisabled:ge,fontSizeIcon:pe,controlPaddingHorizontal:Se,colorBgElevated:be}=oe;return[{[re]:Object.assign(Object.assign({},(0,ae.Wf)(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:pe}},[`${re}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:pe},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${re}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomLeft, + &${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomLeft, + &${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottom, + &${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottom, + &${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomRight, + &${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomRight`]:{animationName:Ae.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topLeft, + &${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topLeft, + &${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-top, + &${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-top, + &${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topRight, + &${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topRight`]:{animationName:Ae.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomLeft, + &${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottom, + &${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomRight`]:{animationName:Ae.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topLeft, + &${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-top, + &${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topRight`]:{animationName:Ae.ly}})},(0,he.ZP)(oe,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${re} ${ee}`]:{position:"relative",margin:0},[`${ee}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${re}, ${re}-menu-submenu`]:{[ee]:Object.assign(Object.assign({padding:ve,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,ae.Qy)(oe)),{[`${ee}-item-group-title`]:{padding:`${ue}px ${Se}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${ee}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ee}-item-icon`]:{minWidth:me,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${ee}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ee}-item, ${ee}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ue}px ${Se}px`,color:oe.colorText,fontWeight:"normal",fontSize:me,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,ae.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:ge,cursor:"not-allowed","&:hover":{color:ge,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${ee}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${ee}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${ee}-submenu-vertical`]:{position:"relative"},[`${ee}-submenu${ee}-submenu-disabled ${re}-menu-submenu-title`]:{[`&, ${re}-menu-submenu-arrow-icon`]:{color:ge,backgroundColor:be,cursor:"not-allowed"}},[`${ee}-submenu-selected ${re}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,Ae.oN)(oe,"slide-up"),(0,Ae.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,ye._y)(oe,"zoom-big")]]};var ie=(0,ce.Z)("Dropdown",(oe,re)=>{let{rootPrefixCls:ee}=re;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:te,componentCls:ue,borderRadiusLG:me}=oe,ve=(x-b*z)/2,{dropdownArrowOffset:ge}=(0,he.fS)({contentRadius:me}),pe=(0,ne.TS)(oe,{menuCls:`${ue}-menu`,rootPrefixCls:ee,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ge,dropdownPaddingVertical:ve,dropdownEdgeChildPadding:te});return[le(pe),de(pe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},8628:function(gt,ot,fe){"use strict";var ae=fe(59301),Ae=fe(34280),E=fe(56762),ye=fe(69507);function he(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ne=(0,ae.useRef)({}),se=(0,E.Z)(),de=(0,ye.ZP)();return(0,Ae.Z)(()=>{const le=de.subscribe(ie=>{ne.current=ie,ce&&se()});return()=>de.unsubscribe(le)},[]),ne.current}ot.Z=he},11611:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Vn}});var ae=fe(59301),Ae=fe(15277),E=fe(92310),ye=fe.n(E),he=fe(54476),ce=fe(33885),ne=fe(20068),se=fe(42978),de=fe(76190),le=fe(75931),ie=fe(55468),oe=fe(18929),re=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],ee=ae.createContext(null),a=0;function y(Ht,Lt){var gn=ae.useState(function(){return a+=1,String(a)}),Rt=(0,se.Z)(gn,1),Pn=Rt[0],_n=ae.useContext(ee),ir={data:Lt,canPreview:Ht};return ae.useEffect(function(){if(_n)return _n.register(Pn,ir)},[]),ae.useEffect(function(){_n&&_n.register(Pn,ir)},[Ht,Lt]),Pn}function x(Ht){return new Promise(function(Lt){var gn=document.createElement("img");gn.onerror=function(){return Lt(!1)},gn.onload=function(){return Lt(!0)},gn.src=Ht})}function b(Ht){var Lt=Ht.src,gn=Ht.isCustomPlaceholder,Rt=Ht.fallback,Pn=(0,ae.useState)(gn?"loading":"normal"),_n=(0,se.Z)(Pn,2),ir=_n[0],An=_n[1],bt=(0,ae.useRef)(!1),kt=ir==="error";(0,ae.useEffect)(function(){x(Lt).then(function(Jt){Jt||An("error")})},[Lt]),(0,ae.useEffect)(function(){gn&&!bt.current?An("loading"):kt&&An("normal")},[Lt]);var Nt=function(){An("normal")},wt=function(rn){bt.current=!1,ir==="loading"&&rn!=null&&rn.complete&&(rn.naturalWidth||rn.naturalHeight)&&(bt.current=!0,Nt())},qt=kt&&Rt?{src:Rt}:{onLoad:Nt,src:Lt};return[wt,qt,ir]}var z=fe(86923),te=fe(8224),ue=fe(10228),me=fe(48736);function ve(Ht,Lt,gn,Rt){var Pn=Lt+gn,_n=(gn-Rt)/2;if(gn>Rt){if(Lt>0)return(0,ne.Z)({},Ht,_n);if(Lt<0&&PnRt)return(0,ne.Z)({},Ht,Lt<0?_n:-_n);return{}}function ge(Ht,Lt,gn,Rt){var Pn=(0,ie.g1)(),_n=Pn.width,ir=Pn.height,An=null;return Ht<=_n&&Lt<=ir?An={x:0,y:0}:(Ht>_n||Lt>ir)&&(An=(0,ce.Z)((0,ce.Z)({},ve("x",gn,Ht,_n)),ve("y",Rt,Lt,ir))),An}var pe=fe(13697),Se=fe(16089),be={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Ht,Lt,gn,Rt){var Pn=(0,ae.useRef)(null),_n=(0,ae.useRef)([]),ir=(0,ae.useState)(be),An=(0,se.Z)(ir,2),bt=An[0],kt=An[1],Nt=function(rn){kt(be),Rt&&!(0,pe.Z)(be,bt)&&Rt({transform:be,action:rn})},wt=function(rn,on){Pn.current===null&&(_n.current=[],Pn.current=(0,Se.Z)(function(){kt(function($n){var tr=$n;return _n.current.forEach(function(Wt){tr=(0,ce.Z)((0,ce.Z)({},tr),Wt)}),Pn.current=null,Rt==null||Rt({transform:tr,action:on}),tr})})),_n.current.push((0,ce.Z)((0,ce.Z)({},bt),rn))},qt=function(rn,on,$n,tr){var Wt=Ht.current,Rr=Wt.width,Lr=Wt.height,Er=Wt.offsetWidth,Ur=Wt.offsetHeight,Cn=Wt.offsetLeft,Xn=Wt.offsetTop,gr=rn,At=bt.scale*rn;At>gn?(gr=gn/bt.scale,At=gn):At1,mr=Yr&&Wt>=1,Tr=Ee(Zn,Cn,gr,ur),Or=Tr.transform,xr=Tr.resetTransform,Mr=Tr.updateTransform,Kn=Tr.dispatchZoomChange,da=(0,ae.useState)(!0),oa=(0,se.Z)(da,2),Xr=oa[0],ba=oa[1],Pa=Or.rotate,ua=Or.scale,pa=Or.x,ka=Or.y,jt=ye()((0,ne.Z)({},"".concat(gn,"-moving"),Pr));(0,ae.useEffect)(function(){Xr||ba(!0)},[Xr]);var $t=function(){xr("close")},wn=function(){Kn(we+Er,"zoomIn")},Nn=function(){Kn(we/(we+Er),"zoomOut")},sn=function(){Mr({rotate:Pa+90},"rotateRight")},en=function(){Mr({rotate:Pa-90},"rotateLeft")},ln=function(){Mr({flipX:!Or.flipX},"flipX")},En=function(){Mr({flipY:!Or.flipY},"flipY")},xn=function(or){or==null||or.preventDefault(),or==null||or.stopPropagation(),$n>0&&(ba(!1),xr("prev"),Tn==null||Tn($n-1,$n))},ar=function(or){or==null||or.preventDefault(),or==null||or.stopPropagation(),$n0&&(Mt=we/Mt),Kn(Mt,"wheel",or.clientX,or.clientY)}},Jn=function(or){!kt||!Ir||(or.keyCode===ue.Z.LEFT?xn():or.keyCode===ue.Z.RIGHT&&ar())},er=function(or){kt&&(ua!==1?Mr({x:0,y:0,scale:1},"doubleClick"):Kn(we+Er,"doubleClick",or.clientX,or.clientY))};(0,ae.useEffect)(function(){var Gr,or,In,It;if(An){In=(0,te.Z)(window,"mouseup",Hn,!1),It=(0,te.Z)(window,"mousemove",wr,!1);try{window.top!==window.self&&(Gr=(0,te.Z)(window.top,"mouseup",Hn,!1),or=(0,te.Z)(window.top,"mousemove",wr,!1))}catch(Mt){(0,me.Kp)(!1,"[rc-image] ".concat(Mt))}}return function(){var Mt,zt,Ft,pn;(Mt=In)===null||Mt===void 0||Mt.remove(),(zt=It)===null||zt===void 0||zt.remove(),(Ft=Gr)===null||Ft===void 0||Ft.remove(),(pn=or)===null||pn===void 0||pn.remove()}},[kt,Pr,pa,ka,Pa,An]),(0,ae.useEffect)(function(){var Gr=(0,te.Z)(window,"keydown",Jn,!1);return function(){Gr.remove()}},[kt,Ir,$n]);var kr=ae.createElement(Ne,(0,he.Z)({},rr,{width:Lt.width,height:Lt.height,imgRef:Zn,className:"".concat(gn,"-img"),alt:Pn,style:{transform:"translate3d(".concat(Or.x,"px, ").concat(Or.y,"px, 0) scale3d(").concat(Or.flipX?"-":"").concat(ua,", ").concat(Or.flipY?"-":"").concat(ua,", 1) rotate(").concat(Pa,"deg)"),transitionDuration:!Xr&&"0s"},fallback:_n,src:Rt,onWheel:ia,onMouseDown:Qr,onDoubleClick:er}));return ae.createElement(ae.Fragment,null,ae.createElement(z.Z,(0,he.Z)({transitionName:Vt,maskTransitionName:zn,closable:!1,keyboard:!0,prefixCls:gn,onClose:bt,visible:kt,wrapClassName:jt,rootClassName:qt,getContainer:rn},vn,{afterClose:$t}),ae.createElement("div",{className:"".concat(gn,"-img-wrapper")},sr?sr(kr,(0,ce.Z)({transform:Or},Yr?{current:$n}:{})):kr)),ae.createElement(Fe,{visible:kt,transform:Or,maskTransitionName:zn,closeIcon:Jt,getContainer:rn,prefixCls:gn,rootClassName:qt,icons:wt,countRender:Rr,showSwitch:Ir,showProgress:mr,current:$n,count:Wt,scale:ua,minScale:Cn,maxScale:gr,toolbarRender:vr,onSwitchLeft:xn,onSwitchRight:ar,onZoomIn:wn,onZoomOut:Nn,onRotateRight:sn,onRotateLeft:en,onFlipX:ln,onFlipY:En,onClose:bt}))},He=Ue,Qe=fe(94480);function We(Ht){var Lt=ae.useState({}),gn=(0,se.Z)(Lt,2),Rt=gn[0],Pn=gn[1],_n=ae.useCallback(function(An,bt){return Pn(function(kt){return(0,ce.Z)((0,ce.Z)({},kt),{},(0,ne.Z)({},An,bt))}),function(){Pn(function(kt){var Nt=(0,ce.Z)({},kt);return delete Nt[An],Nt})}},[]),ir=ae.useMemo(function(){return Ht?Ht.map(function(An){if(typeof An=="string")return{data:{src:An}};var bt={};return Object.keys(An).forEach(function(kt){["src"].concat((0,Qe.Z)(re)).includes(kt)&&(bt[kt]=An[kt])}),{data:bt}}):Object.keys(Rt).reduce(function(An,bt){var kt=Rt[bt],Nt=kt.canPreview,wt=kt.data;return Nt&&An.push({data:wt,id:bt}),An},[])},[Ht,Rt]);return[ir,_n]}var ze=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],_e=["src"],Ve=function(Lt){var gn,Rt=Lt.previewPrefixCls,Pn=Rt===void 0?"rc-image-preview":Rt,_n=Lt.children,ir=Lt.icons,An=ir===void 0?{}:ir,bt=Lt.items,kt=Lt.preview,Nt=Lt.fallback,wt=(0,de.Z)(kt)==="object"?kt:{},qt=wt.visible,Jt=wt.onVisibleChange,rn=wt.getContainer,on=wt.current,$n=wt.movable,tr=wt.minScale,Wt=wt.maxScale,Rr=wt.countRender,Lr=wt.closeIcon,Er=wt.onChange,Ur=wt.onTransform,Cn=wt.toolbarRender,Xn=wt.imageRender,gr=(0,le.Z)(wt,ze),At=We(bt),Vt=(0,se.Z)(At,2),Qt=Vt[0],zn=Vt[1],sr=(0,oe.Z)(0,{value:on}),rr=(0,se.Z)(sr,2),vr=rr[0],ur=rr[1],Tn=(0,ae.useState)(!1),vn=(0,se.Z)(Tn,2),Zn=vn[0],Yt=vn[1],Hr=((gn=Qt[vr])===null||gn===void 0?void 0:gn.data)||{},Gn=Hr.src,Pr=(0,le.Z)(Hr,_e),Fr=(0,oe.Z)(!!qt,{value:qt,onChange:function(Pa,ua){Jt==null||Jt(Pa,ua,vr)}}),Yr=(0,se.Z)(Fr,2),Ir=Yr[0],mr=Yr[1],Tr=(0,ae.useState)(null),Or=(0,se.Z)(Tr,2),xr=Or[0],Mr=Or[1],Kn=ae.useCallback(function(ba,Pa,ua){var pa=Qt.findIndex(function(ka){return ka.id===ba});mr(!0),Mr({x:Pa,y:ua}),ur(pa<0?0:pa),Yt(!0)},[Qt]);ae.useEffect(function(){Ir?Zn||ur(0):Yt(!1)},[Ir]);var da=function(Pa,ua){ur(Pa),Er==null||Er(Pa,ua)},oa=function(){mr(!1),Mr(null)},Xr=ae.useMemo(function(){return{register:zn,onPreview:Kn}},[zn,Kn]);return ae.createElement(ee.Provider,{value:Xr},_n,ae.createElement(He,(0,he.Z)({"aria-hidden":!Ir,movable:$n,visible:Ir,prefixCls:Pn,closeIcon:Lr,onClose:oa,mousePosition:xr,imgCommonProps:Pr,src:Gn,fallback:Nt,icons:An,minScale:tr,maxScale:Wt,getContainer:rn,current:vr,count:Qt.length,countRender:Rr,onTransform:Ur,toolbarRender:Cn,imageRender:Xn,onChange:da},gr)))},tt=Ve,et=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],dt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],$e=function(Lt){var gn=Lt.src,Rt=Lt.alt,Pn=Lt.onPreviewClose,_n=Lt.prefixCls,ir=_n===void 0?"rc-image":_n,An=Lt.previewPrefixCls,bt=An===void 0?"".concat(ir,"-preview"):An,kt=Lt.placeholder,Nt=Lt.fallback,wt=Lt.width,qt=Lt.height,Jt=Lt.style,rn=Lt.preview,on=rn===void 0?!0:rn,$n=Lt.className,tr=Lt.onClick,Wt=Lt.onError,Rr=Lt.wrapperClassName,Lr=Lt.wrapperStyle,Er=Lt.rootClassName,Ur=(0,le.Z)(Lt,et),Cn=kt&&kt!==!0,Xn=(0,de.Z)(on)==="object"?on:{},gr=Xn.src,At=Xn.visible,Vt=At===void 0?void 0:At,Qt=Xn.onVisibleChange,zn=Qt===void 0?Pn:Qt,sr=Xn.getContainer,rr=sr===void 0?void 0:sr,vr=Xn.mask,ur=Xn.maskClassName,Tn=Xn.movable,vn=Xn.icons,Zn=Xn.scaleStep,Yt=Xn.minScale,Hr=Xn.maxScale,Gn=Xn.imageRender,Pr=Xn.toolbarRender,Fr=(0,le.Z)(Xn,dt),Yr=gr!=null?gr:gn,Ir=(0,oe.Z)(!!Vt,{value:Vt,onChange:zn}),mr=(0,se.Z)(Ir,2),Tr=mr[0],Or=mr[1],xr=b({src:gn,isCustomPlaceholder:Cn,fallback:Nt}),Mr=(0,se.Z)(xr,3),Kn=Mr[0],da=Mr[1],oa=Mr[2],Xr=(0,ae.useState)(null),ba=(0,se.Z)(Xr,2),Pa=ba[0],ua=ba[1],pa=(0,ae.useContext)(ee),ka=!!on,jt=function(){Or(!1),ua(null)},$t=ye()(ir,Rr,Er,(0,ne.Z)({},"".concat(ir,"-error"),oa==="error")),wn=(0,ae.useMemo)(function(){var ln={};return re.forEach(function(En){Lt[En]!==void 0&&(ln[En]=Lt[En])}),ln},re.map(function(ln){return Lt[ln]})),Nn=(0,ae.useMemo)(function(){return(0,ce.Z)((0,ce.Z)({},wn),{},{src:Yr})},[Yr,wn]),sn=y(ka,Nn),en=function(En){var xn=(0,ie.os)(En.target),ar=xn.left,Hn=xn.top;pa?pa.onPreview(sn,ar,Hn):(ua({x:ar,y:Hn}),Or(!0)),tr==null||tr(En)};return ae.createElement(ae.Fragment,null,ae.createElement("div",(0,he.Z)({},Ur,{className:$t,onClick:ka?en:tr,style:(0,ce.Z)({width:wt,height:qt},Lr)}),ae.createElement("img",(0,he.Z)({},wn,{className:ye()("".concat(ir,"-img"),(0,ne.Z)({},"".concat(ir,"-img-placeholder"),kt===!0),$n),style:(0,ce.Z)({height:qt},Jt),ref:Kn},da,{width:wt,height:qt,onError:Wt})),oa==="loading"&&ae.createElement("div",{"aria-hidden":"true",className:"".concat(ir,"-placeholder")},kt),vr&&ka&&ae.createElement("div",{className:ye()("".concat(ir,"-mask"),ur),style:{display:(Jt==null?void 0:Jt.display)==="none"?"none":void 0}},vr)),!pa&&ka&&ae.createElement(He,(0,he.Z)({"aria-hidden":!Tr,visible:Tr,prefixCls:bt,onClose:jt,mousePosition:Pa,src:Yr,alt:Rt,fallback:Nt,getContainer:rr,icons:vn,movable:Tn,scaleStep:Zn,minScale:Yt,maxScale:Hr,rootClassName:Er,imageRender:Gn,imgCommonProps:wn,toolbarRender:Pr},Fr)))};$e.PreviewGroup=tt,$e.displayName="Image";var Ze=$e,Me=Ze,qe=fe(62892),Ie=fe(36355),je=fe(31724),Je=fe(99267),Ye=fe(33853),ke=fe(38819),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Te=De,xe=fe(7657),Re=function(Lt,gn){return ae.createElement(xe.Z,(0,he.Z)({},Lt,{ref:gn,icon:Te}))},Xe=ae.forwardRef(Re),nt=Xe,Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},rt=Ke,ht=function(Lt,gn){return ae.createElement(xe.Z,(0,he.Z)({},Lt,{ref:gn,icon:rt}))},ut=ae.forwardRef(ht),pt=ut,lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},mt=lt,it=function(Lt,gn){return ae.createElement(xe.Z,(0,he.Z)({},Lt,{ref:gn,icon:mt}))},ct=ae.forwardRef(it),ft=ct,yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Et=yt,Tt=function(Lt,gn){return ae.createElement(xe.Z,(0,he.Z)({},Lt,{ref:gn,icon:Et}))},_t=ae.forwardRef(Tt),Gt=_t,hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Rn=hn,bn=function(Lt,gn){return ae.createElement(xe.Z,(0,he.Z)({},Lt,{ref:gn,icon:Rn}))},dn=ae.forwardRef(bn),lr=dn,jn=fe(64993),Mn=fe(73819),cr=fe(17313),hr=fe(29878),Dn=fe(1950),qn=fe(83116),Fn=fe(37613);const Ct=Ht=>({position:Ht||"absolute",inset:0}),cn=Ht=>{const{iconCls:Lt,motionDurationSlow:gn,paddingXXS:Rt,marginXXS:Pn,prefixCls:_n,colorTextLightSolid:ir}=Ht;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ir,background:new jn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${gn}`,[`.${_n}-mask-info`]:Object.assign(Object.assign({},cr.vS),{padding:`0 ${Rt}px`,[Lt]:{marginInlineEnd:Pn,svg:{verticalAlign:"baseline"}}})}},nn=Ht=>{const{previewCls:Lt,modalMaskBg:gn,paddingSM:Rt,marginXL:Pn,margin:_n,paddingLG:ir,previewOperationColorDisabled:An,previewOperationHoverColor:bt,motionDurationSlow:kt,iconCls:Nt,colorTextLightSolid:wt}=Ht,qt=new jn.C(gn).setAlpha(.1),Jt=qt.clone().setAlpha(.2);return{[`${Lt}-footer`]:{position:"fixed",bottom:Pn,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Ht.previewOperationColor},[`${Lt}-progress`]:{marginBottom:_n},[`${Lt}-close`]:{position:"fixed",top:Pn,right:{_skip_check_:!0,value:Pn},display:"flex",color:wt,backgroundColor:qt.toRgbString(),borderRadius:"50%",padding:Rt,outline:0,border:0,cursor:"pointer",transition:`all ${kt}`,"&:hover":{backgroundColor:Jt.toRgbString()},[`& > ${Nt}`]:{fontSize:Ht.previewOperationSize}},[`${Lt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ir}px`,backgroundColor:qt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Rt,padding:Rt,cursor:"pointer",transition:`all ${kt}`,userSelect:"none",[`&:not(${Lt}-operations-operation-disabled):hover > ${Nt}`]:{color:bt},"&-disabled":{color:An,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Nt}`]:{fontSize:Ht.previewOperationSize}}}}},Sn=Ht=>{const{modalMaskBg:Lt,iconCls:gn,previewOperationColorDisabled:Rt,previewCls:Pn,zIndexPopup:_n,motionDurationSlow:ir}=Ht,An=new jn.C(Lt).setAlpha(.1),bt=An.clone().setAlpha(.2);return{[`${Pn}-switch-left, ${Pn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:_n+1,display:"flex",alignItems:"center",justifyContent:"center",width:Ht.imagePreviewSwitchSize,height:Ht.imagePreviewSwitchSize,marginTop:-Ht.imagePreviewSwitchSize/2,color:Ht.previewOperationColor,background:An.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ir}`,userSelect:"none","&:hover":{background:bt.toRgbString()},"&-disabled":{"&, &:hover":{color:Rt,background:"transparent",cursor:"not-allowed",[`> ${gn}`]:{cursor:"not-allowed"}}},[`> ${gn}`]:{fontSize:Ht.previewOperationSize}},[`${Pn}-switch-left`]:{insetInlineStart:Ht.marginSM},[`${Pn}-switch-right`]:{insetInlineEnd:Ht.marginSM}}},Ln=Ht=>{const{motionEaseOut:Lt,previewCls:gn,motionDurationSlow:Rt,componentCls:Pn}=Ht;return[{[`${Pn}-preview-root`]:{[gn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${gn}-body`]:Object.assign(Object.assign({},Ct()),{overflow:"hidden"}),[`${gn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Rt} ${Lt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Ct()),{transition:`transform ${Rt} ${Lt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${gn}-moving`]:{[`${gn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Pn}-preview-root`]:{[`${gn}-wrap`]:{zIndex:Ht.zIndexPopup}}},{[`${Pn}-preview-operations-wrapper`]:{position:"fixed",zIndex:Ht.zIndexPopup+1},"&":[nn(Ht),Sn(Ht)]}]},On=Ht=>{const{componentCls:Lt}=Ht;return{[Lt]:{position:"relative",display:"inline-block",[`${Lt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Lt}-img-placeholder`]:{backgroundColor:Ht.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Lt}-mask`]:Object.assign({},cn(Ht)),[`${Lt}-mask:hover`]:{opacity:1},[`${Lt}-placeholder`]:Object.assign({},Ct())}}},mn=Ht=>{const{previewCls:Lt}=Ht;return{[`${Lt}-root`]:(0,hr._y)(Ht,"zoom"),"&":(0,Dn.J$)(Ht,!0)}};var Pt=(0,qn.Z)("Image",Ht=>{const Lt=`${Ht.componentCls}-preview`,gn=(0,Fn.TS)(Ht,{previewCls:Lt,modalMaskBg:new jn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Ht.controlHeightLG});return[On(gn),Ln(gn),(0,Mn.QA)((0,Fn.TS)(gn,{componentCls:Lt})),mn(gn)]},Ht=>({zIndexPopup:Ht.zIndexPopupBase+80,previewOperationColor:new jn.C(Ht.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new jn.C(Ht.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new jn.C(Ht.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Ht.fontSizeIcon*1.5})),Bt=function(Ht,Lt){var gn={};for(var Rt in Ht)Object.prototype.hasOwnProperty.call(Ht,Rt)&&Lt.indexOf(Rt)<0&&(gn[Rt]=Ht[Rt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,Rt=Object.getOwnPropertySymbols(Ht);Pn{var{previewPrefixCls:Lt,preview:gn}=Ht,Rt=Bt(Ht,["previewPrefixCls","preview"]);const{getPrefixCls:Pn}=ae.useContext(Ie.E_),_n=Pn("image",Lt),ir=`${_n}-preview`,An=Pn(),[bt,kt]=Pt(_n),Nt=ae.useMemo(()=>{var wt;if(gn===!1)return gn;const qt=typeof gn=="object"?gn:{},Jt=ye()(kt,(wt=qt.rootClassName)!==null&&wt!==void 0?wt:"");return Object.assign(Object.assign({},qt),{transitionName:(0,qe.m)(An,"zoom",qt.transitionName),maskTransitionName:(0,qe.m)(An,"fade",qt.maskTransitionName),rootClassName:Jt})},[gn]);return bt(ae.createElement(Me.PreviewGroup,Object.assign({preview:Nt,previewPrefixCls:ir,icons:xt},Rt)))},fn=function(Ht,Lt){var gn={};for(var Rt in Ht)Object.prototype.hasOwnProperty.call(Ht,Rt)&&Lt.indexOf(Rt)<0&&(gn[Rt]=Ht[Rt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,Rt=Object.getOwnPropertySymbols(Ht);Pn{const{prefixCls:Lt,preview:gn,className:Rt,rootClassName:Pn,style:_n}=Ht,ir=fn(Ht,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:An,locale:bt=je.Z,getPopupContainer:kt,image:Nt}=ae.useContext(Ie.E_),wt=An("image",Lt),qt=An(),Jt=bt.Image||je.Z.Image,[rn,on]=Pt(wt),$n=ye()(Pn,on),tr=ye()(Rt,on,Nt==null?void 0:Nt.className),Wt=ae.useMemo(()=>{if(gn===!1)return gn;const Lr=typeof gn=="object"?gn:{},{getContainer:Er}=Lr,Ur=fn(Lr,["getContainer"]);return Object.assign(Object.assign({mask:ae.createElement("div",{className:`${wt}-mask-info`},ae.createElement(Ae.Z,null),Jt==null?void 0:Jt.preview),icons:xt},Ur),{getContainer:Er||kt,transitionName:(0,qe.m)(qt,"zoom",Lr.transitionName),maskTransitionName:(0,qe.m)(qt,"fade",Lr.maskTransitionName)})},[gn,Jt]),Rr=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),_n);return rn(ae.createElement(Me,Object.assign({prefixCls:wt,preview:Wt,rootClassName:$n,className:tr,style:Rr},ir)))};Sr.PreviewGroup=Bn;var Vn=Sr},45818:function(gt,ot,fe){"use strict";fe.d(ot,{D:function(){return te},Z:function(){return ve}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ye=E,he=fe(7657),ce=function(pe,Se){return Ae.createElement(he.Z,(0,ae.Z)({},pe,{ref:Se,icon:ye}))},ne=Ae.forwardRef(ce),se=ne,de=fe(33853),le=fe(38819),ie=fe(92310),oe=fe.n(ie),re=fe(2738),a=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),y=fe(36355),x=fe(84966),b=function(ge,pe){var Se={};for(var be in ge)Object.prototype.hasOwnProperty.call(ge,be)&&pe.indexOf(be)<0&&(Se[be]=ge[be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,be=Object.getOwnPropertySymbols(ge);Ee{let ge=0;return function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${pe}${ge}`}})();var ve=Ae.forwardRef((ge,pe)=>{const{prefixCls:Se,className:be,trigger:Ee,children:Ce,defaultCollapsed:Be=!1,theme:Pe="dark",style:Fe={},collapsible:we=!1,reverseArrow:Le=!1,width:Oe=200,collapsedWidth:Ge=80,zeroWidthTriggerStyle:Ne,breakpoint:Ue,onCollapse:He,onBreakpoint:Qe}=ge,We=b(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ze}=(0,Ae.useContext)(x.Gs),[_e,Ve]=(0,Ae.useState)("collapsed"in ge?ge.collapsed:Be),[tt,et]=(0,Ae.useState)(!1);(0,Ae.useEffect)(()=>{"collapsed"in ge&&Ve(ge.collapsed)},[ge.collapsed]);const dt=(je,Je)=>{"collapsed"in ge||Ve(je),He==null||He(je,Je)},$e=(0,Ae.useRef)();$e.current=je=>{et(je.matches),Qe==null||Qe(je.matches),_e!==je.matches&&dt(je.matches,"responsive")},(0,Ae.useEffect)(()=>{function je(Ye){return $e.current(Ye)}let Je;if(typeof window!="undefined"){const{matchMedia:Ye}=window;if(Ye&&Ue&&Ue in z){Je=Ye(`(max-width: ${z[Ue]})`);try{Je.addEventListener("change",je)}catch(ke){Je.addListener(je)}je(Je)}}return()=>{try{Je==null||Je.removeEventListener("change",je)}catch(Ye){Je==null||Je.removeListener(je)}}},[Ue]),(0,Ae.useEffect)(()=>{const je=ue("ant-sider-");return ze.addSider(je),()=>ze.removeSider(je)},[]);const Ze=()=>{dt(!_e,"clickTrigger")},{getPrefixCls:Me}=(0,Ae.useContext)(y.E_),qe=()=>{const je=Me("layout-sider",Se),Je=(0,re.Z)(We,["collapsed"]),Ye=_e?Ge:Oe,ke=a(Ye)?`${Ye}px`:String(Ye),De=parseFloat(String(Ge||0))===0?Ae.createElement("span",{onClick:Ze,className:oe()(`${je}-zero-width-trigger`,`${je}-zero-width-trigger-${Le?"right":"left"}`),style:Ne},Ee||Ae.createElement(se,null)):null,Re={expanded:Le?Ae.createElement(le.Z,null):Ae.createElement(de.Z,null),collapsed:Le?Ae.createElement(de.Z,null):Ae.createElement(le.Z,null)}[_e?"collapsed":"expanded"],Xe=Ee!==null?De||Ae.createElement("div",{className:`${je}-trigger`,onClick:Ze,style:{width:ke}},Ee||Re):null,nt=Object.assign(Object.assign({},Fe),{flex:`0 0 ${ke}`,maxWidth:ke,minWidth:ke,width:ke}),Ke=oe()(je,`${je}-${Pe}`,{[`${je}-collapsed`]:!!_e,[`${je}-has-trigger`]:we&&Ee!==null&&!De,[`${je}-below`]:!!tt,[`${je}-zero-width`]:parseFloat(ke)===0},be);return Ae.createElement("aside",Object.assign({className:Ke},Je,{style:nt,ref:pe}),Ae.createElement("div",{className:`${je}-children`},Ce),we||tt&&De?Xe:null)},Ie=Ae.useMemo(()=>({siderCollapsed:_e}),[_e]);return Ae.createElement(te.Provider,{value:Ie},qe())})},84966:function(gt,ot,fe){"use strict";fe.d(ot,{VY:function(){return te},$_:function(){return z},h4:function(){return b},Gs:function(){return re},ZP:function(){return ue}});var ae=fe(94480),Ae=fe(92310),E=fe.n(Ae),ye=fe(2738),he=fe(59301),ce=fe(36355),ne=fe(83116),de=me=>{const{componentCls:ve,bodyBg:ge,lightSiderBg:pe,lightTriggerBg:Se,lightTriggerColor:be}=me;return{[`${ve}-sider-light`]:{background:pe,[`${ve}-sider-trigger`]:{color:be,background:Se},[`${ve}-sider-zero-width-trigger`]:{color:be,background:Se,border:`1px solid ${ge}`,borderInlineStart:0}}}};const le=me=>{const{antCls:ve,componentCls:ge,colorText:pe,triggerColor:Se,footerBg:be,triggerBg:Ee,headerHeight:Ce,headerPadding:Be,headerColor:Pe,footerPadding:Fe,triggerHeight:we,zeroTriggerHeight:Le,zeroTriggerWidth:Oe,motionDurationMid:Ge,motionDurationSlow:Ne,fontSize:Ue,borderRadius:He,bodyBg:Qe,headerBg:We,siderBg:ze}=me;return{[ge]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Qe,"&, *":{boxSizing:"border-box"},[`&${ge}-has-sider`]:{flexDirection:"row",[`> ${ge}, > ${ge}-content`]:{width:0}},[`${ge}-header, &${ge}-footer`]:{flex:"0 0 auto"},[`${ge}-sider`]:{position:"relative",minWidth:0,background:ze,transition:`all ${Ge}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ve}-menu${ve}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:we},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:we,color:Se,lineHeight:`${we}px`,textAlign:"center",background:Ee,cursor:"pointer",transition:`all ${Ge}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ce,insetInlineEnd:-Oe,zIndex:1,width:Oe,height:Le,color:Se,fontSize:me.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:He,borderEndEndRadius:He,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ne} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ne}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Oe,borderStartStartRadius:He,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:He}}}}},de(me)),{"&-rtl":{direction:"rtl"}}),[`${ge}-header`]:{height:Ce,padding:Be,color:Pe,lineHeight:`${Ce}px`,background:We,[`${ve}-menu`]:{lineHeight:"inherit"}},[`${ge}-footer`]:{padding:Fe,color:pe,fontSize:Ue,background:be},[`${ge}-content`]:{flex:"auto",minHeight:0}}};var ie=(0,ne.Z)("Layout",me=>[le(me)],me=>{const{colorBgLayout:ve,controlHeight:ge,controlHeightLG:pe,colorText:Se,controlHeightSM:be,marginXXS:Ee,colorTextLightSolid:Ce,colorBgContainer:Be}=me,Pe=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ve,colorBgTrigger:"#002140",bodyBg:ve,headerBg:"#001529",headerHeight:ge*2,headerPadding:`0 ${Pe}px`,headerColor:Se,footerPadding:`${be}px ${Pe}px`,footerBg:ve,siderBg:"#001529",triggerHeight:pe+Ee*2,triggerBg:"#002140",triggerColor:Ce,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:Be,lightTriggerBg:Be,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(me,ve){var ge={};for(var pe in me)Object.prototype.hasOwnProperty.call(me,pe)&&ve.indexOf(pe)<0&&(ge[pe]=me[pe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,pe=Object.getOwnPropertySymbols(me);Senull,removeSider:()=>null}});function ee(me){let{suffixCls:ve,tagName:ge,displayName:pe}=me;return Se=>he.forwardRef((Ee,Ce)=>he.createElement(Se,Object.assign({ref:Ce,suffixCls:ve,tagName:ge},Ee)))}const a=he.forwardRef((me,ve)=>{const{prefixCls:ge,suffixCls:pe,className:Se,tagName:be}=me,Ee=oe(me,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ce}=he.useContext(ce.E_),Be=Ce("layout",ge),[Pe,Fe]=ie(Be),we=pe?`${Be}-${pe}`:Be;return Pe(he.createElement(be,Object.assign({className:E()(ge||we,Se,Fe),ref:ve},Ee)))}),y=he.forwardRef((me,ve)=>{const{direction:ge}=he.useContext(ce.E_),[pe,Se]=he.useState([]),{prefixCls:be,className:Ee,rootClassName:Ce,children:Be,hasSider:Pe,tagName:Fe,style:we}=me,Le=oe(me,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Oe=(0,ye.Z)(Le,["suffixCls"]),{getPrefixCls:Ge,layout:Ne}=he.useContext(ce.E_),Ue=Ge("layout",be),[He,Qe]=ie(Ue),We=E()(Ue,{[`${Ue}-has-sider`]:typeof Pe=="boolean"?Pe:pe.length>0,[`${Ue}-rtl`]:ge==="rtl"},Ne==null?void 0:Ne.className,Ee,Ce,Qe),ze=he.useMemo(()=>({siderHook:{addSider:_e=>{Se(Ve=>[].concat((0,ae.Z)(Ve),[_e]))},removeSider:_e=>{Se(Ve=>Ve.filter(tt=>tt!==_e))}}}),[]);return He(he.createElement(re.Provider,{value:ze},he.createElement(Fe,Object.assign({ref:ve,className:We,style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),we)},Oe),Be)))}),x=ee({tagName:"div",displayName:"Layout"})(y),b=ee({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ee({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=ee({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ue=x},40875:function(gt,ot,fe){"use strict";fe.d(ot,{J:function(){return ce}});var ae=fe(59301),Ae=fe(33234),E=fe(70425),ye=function(ne,se){var de={};for(var le in ne)Object.prototype.hasOwnProperty.call(ne,le)&&se.indexOf(le)<0&&(de[le]=ne[le]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,le=Object.getOwnPropertySymbols(ne);ie{const{children:de}=ne,le=ye(ne,["children"]),ie=ae.useContext(he),oe=ae.useMemo(()=>Object.assign(Object.assign({},ie),le),[ie,le.prefixCls,le.mode,le.selectable]);return ae.createElement(he.Provider,{value:oe},ae.createElement(Ae.BR,null,(0,E.supportNodeRef)(de)?ae.cloneElement(de,{ref:se}):de))});ot.Z=he},20834:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return Ie}});var ae=fe(15285),Ae=fe(59301),E=fe(45818),ye=fe(92310),he=fe.n(ye),ce=fe(36355),ne=function(je,Je){var Ye={};for(var ke in je)Object.prototype.hasOwnProperty.call(je,ke)&&Je.indexOf(ke)<0&&(Ye[ke]=je[ke]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ke=Object.getOwnPropertySymbols(je);De{const{prefixCls:Je,className:Ye,dashed:ke}=je,De=ne(je,["prefixCls","className","dashed"]),{getPrefixCls:Te}=Ae.useContext(ce.E_),xe=Te("menu",Je),Re=he()({[`${xe}-item-divider-dashed`]:!!ke},Ye);return Ae.createElement(ae.iz,Object.assign({className:Re},De))},le=fe(11592),ie=fe(2738),oe=fe(6848),re=fe(92343),a=(0,Ae.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=je=>{var Je;const{className:Ye,children:ke,icon:De,title:Te,danger:xe}=je,{prefixCls:Re,firstLevel:Xe,direction:nt,disableMenuItemTitleTooltip:Ke,inlineCollapsed:rt}=Ae.useContext(a),ht=ct=>{const ft=Ae.createElement("span",{className:`${Re}-title-content`},ke);return(!De||(0,re.l$)(ke)&&ke.type==="span")&&ke&&ct&&Xe&&typeof ke=="string"?Ae.createElement("div",{className:`${Re}-inline-collapsed-noicon`},ke.charAt(0)):ft},{siderCollapsed:ut}=Ae.useContext(E.D);let pt=Te;typeof Te=="undefined"?pt=Xe?ke:"":Te===!1&&(pt="");const lt={title:pt};!ut&&!rt&&(lt.title=null,lt.open=!1);const mt=(0,le.Z)(ke).length;let it=Ae.createElement(ae.ck,Object.assign({},(0,ie.Z)(je,["title","icon","danger"]),{className:he()({[`${Re}-item-danger`]:xe,[`${Re}-item-only-child`]:(De?mt+1:mt)===1},Ye),title:typeof Te=="string"?Te:void 0}),(0,re.Tm)(De,{className:he()((0,re.l$)(De)?(Je=De.props)===null||Je===void 0?void 0:Je.className:"",`${Re}-item-icon`)}),ht(rt));return Ke||(it=Ae.createElement(oe.Z,Object.assign({},lt,{placement:nt==="rtl"?"left":"right",overlayClassName:`${Re}-inline-collapsed-tooltip`}),it)),it},z=je=>{var Je;const{popupClassName:Ye,icon:ke,title:De,theme:Te}=je,xe=Ae.useContext(a),{prefixCls:Re,inlineCollapsed:Xe,theme:nt}=xe,Ke=(0,ae.Xl)();let rt;if(!ke)rt=Xe&&!Ke.length&&De&&typeof De=="string"?Ae.createElement("div",{className:`${Re}-inline-collapsed-noicon`},De.charAt(0)):Ae.createElement("span",{className:`${Re}-title-content`},De);else{const ut=(0,re.l$)(De)&&De.type==="span";rt=Ae.createElement(Ae.Fragment,null,(0,re.Tm)(ke,{className:he()((0,re.l$)(ke)?(Je=ke.props)===null||Je===void 0?void 0:Je.className:"",`${Re}-item-icon`)}),ut?De:Ae.createElement("span",{className:`${Re}-title-content`},De))}const ht=Ae.useMemo(()=>Object.assign(Object.assign({},xe),{firstLevel:!1}),[xe]);return Ae.createElement(a.Provider,{value:ht},Ae.createElement(ae.Wd,Object.assign({},(0,ie.Z)(je,["icon"]),{title:rt,popupClassName:he()(Re,Ye,`${Re}-${Te||nt}`)})))},te=fe(18785),ue=fe(70425),me=fe(62892),ve=fe(40875),ge=function(je,Je){var Ye={};for(var ke in je)Object.prototype.hasOwnProperty.call(je,ke)&&Je.indexOf(ke)<0&&(Ye[ke]=je[ke]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ke=Object.getOwnPropertySymbols(je);De{if(Je&&typeof Je=="object"){const ke=Je,{label:De,children:Te,key:xe,type:Re}=ke,Xe=ge(ke,["label","children","key","type"]),nt=xe!=null?xe:`tmp-${Ye}`;return Te||Re==="group"?Re==="group"?Ae.createElement(ae.BW,Object.assign({key:nt},Xe,{title:De}),pe(Te)):Ae.createElement(z,Object.assign({key:nt},Xe,{title:De}),pe(Te)):Re==="divider"?Ae.createElement(de,Object.assign({key:nt},Xe)):Ae.createElement(x,Object.assign({key:nt},Xe),De)}return null}).filter(Je=>Je)}function Se(je){return Ae.useMemo(()=>je&&pe(je),[je])}var be=fe(64993),Ee=fe(17313),Ce=fe(8378),Be=fe(13826),Pe=fe(29878),Fe=fe(83116),we=fe(37613),Oe=je=>{const{componentCls:Je,motionDurationSlow:Ye,horizontalLineHeight:ke,colorSplit:De,lineWidth:Te,lineType:xe,itemPaddingInline:Re}=je;return{[`${Je}-horizontal`]:{lineHeight:ke,border:0,borderBottom:`${Te}px ${xe} ${De}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Je}-item, ${Je}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Re},[`> ${Je}-item:hover, + > ${Je}-item-active, + > ${Je}-submenu ${Je}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Je}-item, ${Je}-submenu-title`]:{transition:[`border-color ${Ye}`,`background ${Ye}`].join(",")},[`${Je}-submenu-arrow`]:{display:"none"}}}},Ne=je=>{let{componentCls:Je,menuArrowOffset:Ye}=je;return{[`${Je}-rtl`]:{direction:"rtl"},[`${Je}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Je}-rtl${Je}-vertical, + ${Je}-submenu-rtl ${Je}-vertical`]:{[`${Je}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ye})`},"&::after":{transform:`rotate(45deg) translateY(${Ye})`}}}}};const Ue=je=>Object.assign({},(0,Ee.oN)(je));var Qe=(je,Je)=>{const{componentCls:Ye,itemColor:ke,itemSelectedColor:De,groupTitleColor:Te,itemBg:xe,subMenuItemBg:Re,itemSelectedBg:Xe,activeBarHeight:nt,activeBarWidth:Ke,activeBarBorderWidth:rt,motionDurationSlow:ht,motionEaseInOut:ut,motionEaseOut:pt,itemPaddingInline:lt,motionDurationMid:mt,itemHoverColor:it,lineType:ct,colorSplit:ft,itemDisabledColor:yt,dangerItemColor:Et,dangerItemHoverColor:Tt,dangerItemSelectedColor:_t,dangerItemActiveBg:Gt,dangerItemSelectedBg:hn,itemHoverBg:Rn,itemActiveBg:bn,menuSubMenuBg:dn,horizontalItemSelectedColor:lr,horizontalItemSelectedBg:jn,horizontalItemBorderRadius:Mn,horizontalItemHoverBg:cr,popupBg:hr}=je;return{[`${Ye}-${Je}, ${Ye}-${Je} > ${Ye}`]:{color:ke,background:xe,[`&${Ye}-root:focus-visible`]:Object.assign({},Ue(je)),[`${Ye}-item-group-title`]:{color:Te},[`${Ye}-submenu-selected`]:{[`> ${Ye}-submenu-title`]:{color:De}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{color:`${yt} !important`},[`${Ye}-item:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{[`&:hover, > ${Ye}-submenu-title:hover`]:{color:it}},[`&:not(${Ye}-horizontal)`]:{[`${Ye}-item:not(${Ye}-item-selected)`]:{"&:hover":{backgroundColor:Rn},"&:active":{backgroundColor:bn}},[`${Ye}-submenu-title`]:{"&:hover":{backgroundColor:Rn},"&:active":{backgroundColor:bn}}},[`${Ye}-item-danger`]:{color:Et,[`&${Ye}-item:hover`]:{[`&:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{color:Tt}},[`&${Ye}-item:active`]:{background:Gt}},[`${Ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ye}-item-selected`]:{color:De,[`&${Ye}-item-danger`]:{color:_t},"a, a:hover":{color:"inherit"}},[`& ${Ye}-item-selected`]:{backgroundColor:Xe,[`&${Ye}-item-danger`]:{backgroundColor:hn}},[`${Ye}-item, ${Ye}-submenu-title`]:{[`&:not(${Ye}-item-disabled):focus-visible`]:Object.assign({},Ue(je))},[`&${Ye}-submenu > ${Ye}`]:{backgroundColor:dn},[`&${Ye}-popup > ${Ye}`]:{backgroundColor:hr},[`&${Ye}-horizontal`]:Object.assign(Object.assign({},Je==="dark"?{borderBottom:0}:{}),{[`> ${Ye}-item, > ${Ye}-submenu`]:{top:rt,marginTop:-rt,marginBottom:0,borderRadius:Mn,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${nt}px solid transparent`,transition:`border-color ${ht} ${ut}`,content:'""'},"&:hover, &-active, &-open":{background:cr,"&::after":{borderBottomWidth:nt,borderBottomColor:lr}},"&-selected":{color:lr,backgroundColor:jn,"&:hover":{backgroundColor:jn},"&::after":{borderBottomWidth:nt,borderBottomColor:lr}}}}),[`&${Ye}-root`]:{[`&${Ye}-inline, &${Ye}-vertical`]:{borderInlineEnd:`${rt}px ${ct} ${ft}`}},[`&${Ye}-inline`]:{[`${Ye}-sub${Ye}-inline`]:{background:Re},[`${Ye}-item, ${Ye}-submenu-title`]:rt&&Ke?{width:`calc(100% + ${rt}px)`}:{},[`${Ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ke}px solid ${De}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${mt} ${pt}`,`opacity ${mt} ${pt}`].join(","),content:'""'},[`&${Ye}-item-danger`]:{"&::after":{borderInlineEndColor:_t}}},[`${Ye}-selected, ${Ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${mt} ${ut}`,`opacity ${mt} ${ut}`].join(",")}}}}}};const We=je=>{const{componentCls:Je,itemHeight:Ye,itemMarginInline:ke,padding:De,menuArrowSize:Te,marginXS:xe,itemMarginBlock:Re}=je,Xe=De+Te+xe;return{[`${Je}-item`]:{position:"relative",overflow:"hidden"},[`${Je}-item, ${Je}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`,paddingInline:De,overflow:"hidden",textOverflow:"ellipsis",marginInline:ke,marginBlock:Re,width:`calc(100% - ${ke*2}px)`},[`> ${Je}-item, + > ${Je}-submenu > ${Je}-submenu-title`]:{height:Ye,lineHeight:`${Ye}px`},[`${Je}-item-group-list ${Je}-submenu-title, + ${Je}-submenu-title`]:{paddingInlineEnd:Xe}}};var _e=je=>{const{componentCls:Je,iconCls:Ye,itemHeight:ke,colorTextLightSolid:De,dropdownWidth:Te,controlHeightLG:xe,motionDurationMid:Re,motionEaseOut:Xe,paddingXL:nt,itemMarginInline:Ke,fontSizeLG:rt,motionDurationSlow:ht,paddingXS:ut,boxShadowSecondary:pt,collapsedWidth:lt,collapsedIconSize:mt}=je,it={height:ke,lineHeight:`${ke}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Je]:{"&-inline, &-vertical":Object.assign({[`&${Je}-root`]:{boxShadow:"none"}},We(je))},[`${Je}-submenu-popup`]:{[`${Je}-vertical`]:Object.assign(Object.assign({},We(je)),{boxShadow:pt})}},{[`${Je}-submenu-popup ${Je}-vertical${Je}-sub`]:{minWidth:Te,maxHeight:`calc(100vh - ${xe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Je}-inline`]:{width:"100%",[`&${Je}-root`]:{[`${Je}-item, ${Je}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ht}`,`background ${ht}`,`padding ${Re} ${Xe}`].join(","),[`> ${Je}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Je}-sub${Je}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Je}-submenu > ${Je}-submenu-title`]:it,[`& ${Je}-item-group-title`]:{paddingInlineStart:nt}},[`${Je}-item`]:it}},{[`${Je}-inline-collapsed`]:{width:lt,[`&${Je}-root`]:{[`${Je}-item, ${Je}-submenu ${Je}-submenu-title`]:{[`> ${Je}-inline-collapsed-noicon`]:{fontSize:rt,textAlign:"center"}}},[`> ${Je}-item, + > ${Je}-item-group > ${Je}-item-group-list > ${Je}-item, + > ${Je}-item-group > ${Je}-item-group-list > ${Je}-submenu > ${Je}-submenu-title, + > ${Je}-submenu > ${Je}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${rt/2}px - ${Ke}px)`,textOverflow:"clip",[` + ${Je}-submenu-arrow, + ${Je}-submenu-expand-icon + `]:{opacity:0},[`${Je}-item-icon, ${Ye}`]:{margin:0,fontSize:mt,lineHeight:`${ke}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Je}-item-icon, ${Ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Je}-item-icon, ${Ye}`]:{display:"none"},"a, a:hover":{color:De}},[`${Je}-item-group-title`]:Object.assign(Object.assign({},Ee.vS),{paddingInline:ut})}}]};const Ve=je=>{const{componentCls:Je,motionDurationSlow:Ye,motionDurationMid:ke,motionEaseInOut:De,motionEaseOut:Te,iconCls:xe,iconSize:Re,iconMarginInlineEnd:Xe}=je;return{[`${Je}-item, ${Je}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ye}`,`background ${Ye}`,`padding ${Ye} ${De}`].join(","),[`${Je}-item-icon, ${xe}`]:{minWidth:Re,fontSize:Re,transition:[`font-size ${ke} ${Te}`,`margin ${Ye} ${De}`,`color ${Ye}`].join(","),"+ span":{marginInlineStart:Xe,opacity:1,transition:[`opacity ${Ye} ${De}`,`margin ${Ye}`,`color ${Ye}`].join(",")}},[`${Je}-item-icon`]:Object.assign({},(0,Ee.Ro)()),[`&${Je}-item-only-child`]:{[`> ${xe}, > ${Je}-item-icon`]:{marginInlineEnd:0}}},[`${Je}-item-disabled, ${Je}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Je}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=je=>{const{componentCls:Je,motionDurationSlow:Ye,motionEaseInOut:ke,borderRadius:De,menuArrowSize:Te,menuArrowOffset:xe}=je;return{[`${Je}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:je.margin,width:Te,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ye} ${ke}, opacity ${Ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Te*.6,height:Te*.15,backgroundColor:"currentcolor",borderRadius:De,transition:[`background ${Ye} ${ke}`,`transform ${Ye} ${ke}`,`top ${Ye} ${ke}`,`color ${Ye} ${ke}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${xe})`},"&::after":{transform:`rotate(-45deg) translateY(${xe})`}}}}},et=je=>{const{antCls:Je,componentCls:Ye,fontSize:ke,motionDurationSlow:De,motionDurationMid:Te,motionEaseInOut:xe,paddingXS:Re,padding:Xe,colorSplit:nt,lineWidth:Ke,zIndexPopup:rt,borderRadiusLG:ht,subMenuItemBorderRadius:ut,menuArrowSize:pt,menuArrowOffset:lt,lineType:mt,menuPanelMaskInset:it,groupTitleLineHeight:ct,groupTitleFontSize:ft}=je;return[{"":{[`${Ye}`]:Object.assign(Object.assign({},(0,Ee.dF)()),{"&-hidden":{display:"none"}})},[`${Ye}-submenu-hidden`]:{display:"none"}},{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(je)),(0,Ee.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ke,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${De} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ye}-item`]:{flex:"none"}},[`${Ye}-item, ${Ye}-submenu, ${Ye}-submenu-title`]:{borderRadius:je.itemBorderRadius},[`${Ye}-item-group-title`]:{padding:`${Re}px ${Xe}px`,fontSize:ft,lineHeight:ct,transition:`all ${De}`},[`&-horizontal ${Ye}-submenu`]:{transition:[`border-color ${De} ${xe}`,`background ${De} ${xe}`].join(",")},[`${Ye}-submenu, ${Ye}-submenu-inline`]:{transition:[`border-color ${De} ${xe}`,`background ${De} ${xe}`,`padding ${Te} ${xe}`].join(",")},[`${Ye}-submenu ${Ye}-sub`]:{cursor:"initial",transition:[`background ${De} ${xe}`,`padding ${De} ${xe}`].join(",")},[`${Ye}-title-content`]:{transition:`color ${De}`},[`${Ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nt,borderStyle:mt,borderWidth:0,borderTopWidth:Ke,marginBlock:Ke,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ve(je)),{[`${Ye}-item-group`]:{[`${Ye}-item-group-list`]:{margin:0,padding:0,[`${Ye}-item, ${Ye}-submenu-title`]:{paddingInline:`${ke*2}px ${Xe}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:rt,borderRadius:ht,boxShadow:"none",transformOrigin:"0 0",[`&${Ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${it}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:it},"\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:je.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:je.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:je.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:je.paddingXS},[`> ${Ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:ht},Ve(je)),tt(je)),{[`${Ye}-item, ${Ye}-submenu > ${Ye}-submenu-title`]:{borderRadius:ut},[`${Ye}-submenu-title::after`]:{transition:`transform ${De} ${xe}`}})}}),tt(je)),{[`&-inline-collapsed ${Ye}-submenu-arrow, + &-inline ${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${Ye}-submenu-open${Ye}-submenu-inline > ${Ye}-submenu-title > ${Ye}-submenu-arrow`]:{transform:`translateY(-${pt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${Je}-layout-header`]:{[Ye]:{lineHeight:"inherit"}}}]};var dt=(je,Je)=>(0,Fe.Z)("Menu",ke=>{if(Je===!1)return[];const{colorBgElevated:De,colorPrimary:Te,colorTextLightSolid:xe,controlHeightLG:Re,fontSize:Xe,darkItemColor:nt,darkDangerItemColor:Ke,darkItemBg:rt,darkSubMenuItemBg:ht,darkItemSelectedColor:ut,darkItemSelectedBg:pt,darkDangerItemSelectedBg:lt,darkItemHoverBg:mt,darkGroupTitleColor:it,darkItemHoverColor:ct,darkItemDisabledColor:ft,darkDangerItemHoverColor:yt,darkDangerItemSelectedColor:Et,darkDangerItemActiveBg:Tt}=ke,_t=Xe/7*5,Gt=(0,we.TS)(ke,{menuArrowSize:_t,menuHorizontalHeight:Re*1.15,menuArrowOffset:`${_t*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:De}),hn=(0,we.TS)(Gt,{itemColor:nt,itemHoverColor:ct,groupTitleColor:it,itemSelectedColor:ut,itemBg:rt,popupBg:rt,subMenuItemBg:ht,itemActiveBg:"transparent",itemSelectedBg:pt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:mt,itemDisabledColor:ft,dangerItemColor:Ke,dangerItemHoverColor:yt,dangerItemSelectedColor:Et,dangerItemActiveBg:Tt,dangerItemSelectedBg:lt,menuSubMenuBg:ht,horizontalItemSelectedColor:xe,horizontalItemSelectedBg:Te});return[et(Gt),Oe(Gt),_e(Gt),Qe(Gt,"light"),Qe(hn,"dark"),Ne(Gt),(0,Ce.Z)(Gt),(0,Be.oN)(Gt,"slide-up"),(0,Be.oN)(Gt,"slide-down"),(0,Pe._y)(Gt,"zoom-big")]},ke=>{const{colorPrimary:De,colorError:Te,colorTextDisabled:xe,colorErrorBg:Re,colorText:Xe,colorTextDescription:nt,colorBgContainer:Ke,colorFillAlter:rt,colorFillContent:ht,lineWidth:ut,lineWidthBold:pt,controlItemBgActive:lt,colorBgTextHover:mt,controlHeightLG:it,lineHeight:ct,colorBgElevated:ft,marginXXS:yt,padding:Et,fontSize:Tt,controlHeightSM:_t,fontSizeLG:Gt,colorTextLightSolid:hn,colorErrorHover:Rn}=ke,bn=new be.C(hn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ke.zIndexPopupBase+50,radiusItem:ke.borderRadiusLG,itemBorderRadius:ke.borderRadiusLG,radiusSubMenuItem:ke.borderRadiusSM,subMenuItemBorderRadius:ke.borderRadiusSM,colorItemText:Xe,itemColor:Xe,colorItemTextHover:Xe,itemHoverColor:Xe,colorItemTextHoverHorizontal:De,horizontalItemHoverColor:De,colorGroupTitle:nt,groupTitleColor:nt,colorItemTextSelected:De,itemSelectedColor:De,colorItemTextSelectedHorizontal:De,horizontalItemSelectedColor:De,colorItemBg:Ke,itemBg:Ke,colorItemBgHover:mt,itemHoverBg:mt,colorItemBgActive:ht,itemActiveBg:lt,colorSubItemBg:rt,subMenuItemBg:rt,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:pt,activeBarHeight:pt,colorActiveBarBorderSize:ut,activeBarBorderWidth:ut,colorItemTextDisabled:xe,itemDisabledColor:xe,colorDangerItemText:Te,dangerItemColor:Te,colorDangerItemTextHover:Te,dangerItemHoverColor:Te,colorDangerItemTextSelected:Te,dangerItemSelectedColor:Te,colorDangerItemBgActive:Re,dangerItemActiveBg:Re,colorDangerItemBgSelected:Re,dangerItemSelectedBg:Re,itemMarginInline:ke.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:it,groupTitleLineHeight:ct,collapsedWidth:it*2,popupBg:ft,itemMarginBlock:yt,itemPaddingInline:Et,horizontalLineHeight:`${it*1.15}px`,iconSize:Tt,iconMarginInlineEnd:_t-Tt,collapsedIconSize:Gt,groupTitleFontSize:Tt,darkItemDisabledColor:new be.C(hn).setAlpha(.25).toRgbString(),darkItemColor:bn,darkDangerItemColor:Te,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:hn,darkItemSelectedBg:De,darkDangerItemSelectedBg:Te,darkItemHoverBg:"transparent",darkGroupTitleColor:bn,darkItemHoverColor:hn,darkDangerItemHoverColor:Rn,darkDangerItemSelectedColor:hn,darkDangerItemActiveBg:Te}},{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"]]})(je),$e=function(je,Je){var Ye={};for(var ke in je)Object.prototype.hasOwnProperty.call(je,ke)&&Je.indexOf(ke)<0&&(Ye[ke]=je[ke]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ke=Object.getOwnPropertySymbols(je);De{var Ye,ke;const De=Ae.useContext(ve.Z),Te=De||{},{getPrefixCls:xe,getPopupContainer:Re,direction:Xe,menu:nt}=Ae.useContext(ce.E_),Ke=xe(),{prefixCls:rt,className:ht,style:ut,theme:pt="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:mt,inlineCollapsed:it,siderCollapsed:ct,items:ft,children:yt,rootClassName:Et,mode:Tt,selectable:_t,onClick:Gt,overflowedIndicatorPopupClassName:hn}=je,Rn=$e(je,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),bn=(0,ie.Z)(Rn,["collapsedWidth"]),dn=Se(ft)||yt;(Ye=Te.validator)===null||Ye===void 0||Ye.call(Te,{mode:Tt});const lr=(0,ue.useEvent)(function(){var Sn;Gt==null||Gt.apply(void 0,arguments),(Sn=Te.onClick)===null||Sn===void 0||Sn.call(Te)}),jn=Te.mode||Tt,Mn=_t!=null?_t:Te.selectable,cr=Ae.useMemo(()=>ct!==void 0?ct:it,[it,ct]),hr={horizontal:{motionName:`${Ke}-slide-up`},inline:(0,me.Z)(Ke),other:{motionName:`${Ke}-zoom-big`}},Dn=xe("menu",rt||Te.prefixCls),[qn,Fn]=dt(Dn,!De),Ct=he()(`${Dn}-${pt}`,nt==null?void 0:nt.className,ht);let cn;if(typeof lt=="function")cn=lt;else if(lt===null||lt===!1)cn=null;else if(Te.expandIcon===null||Te.expandIcon===!1)cn=null;else{const Sn=lt!=null?lt:Te.expandIcon;cn=(0,re.Tm)(Sn,{className:he()(`${Dn}-submenu-expand-icon`,(0,re.l$)(Sn)?(ke=Sn.props)===null||ke===void 0?void 0:ke.className:"")})}const nn=Ae.useMemo(()=>({prefixCls:Dn,inlineCollapsed:cr||!1,direction:Xe,firstLevel:!0,theme:pt,mode:jn,disableMenuItemTitleTooltip:mt}),[Dn,cr,Xe,mt,pt]);return qn(Ae.createElement(ve.Z.Provider,{value:null},Ae.createElement(a.Provider,{value:nn},Ae.createElement(ae.ZP,Object.assign({getPopupContainer:Re,overflowedIndicator:Ae.createElement(te.Z,null),overflowedIndicatorPopupClassName:he()(Dn,`${Dn}-${pt}`,hn),mode:jn,selectable:Mn,onClick:lr},bn,{inlineCollapsed:cr,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),ut),className:Ct,prefixCls:Dn,direction:Xe,defaultMotions:hr,expandIcon:cn,ref:Je,rootClassName:he()(Et,Fn)}),dn))))});const qe=(0,Ae.forwardRef)((je,Je)=>{const Ye=(0,Ae.useRef)(null),ke=Ae.useContext(E.D);return(0,Ae.useImperativeHandle)(Je,()=>({menu:Ye.current,focus:De=>{var Te;(Te=Ye.current)===null||Te===void 0||Te.focus(De)}})),Ae.createElement(Me,Object.assign({ref:Ye},je,ke))});qe.Item=x,qe.SubMenu=z,qe.Divider=de,qe.ItemGroup=ae.BW;var Ie=qe},58421:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Te}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ye=E,he=fe(7657),ce=function(Re,Xe){return Ae.createElement(he.Z,(0,ae.Z)({},Re,{ref:Xe,icon:ye}))},ne=Ae.forwardRef(ce),se=ne,de=fe(49198),le=fe(33853),ie=fe(38819),oe=fe(92310),re=fe.n(oe),ee=fe(20068),a=fe(33885),y=fe(67732),x=fe(83652),b=fe(42403),z=fe(158),te=fe(26112),ue={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},me=ue,ve=fe(91735),ge=function(xe){(0,b.Z)(Xe,xe);var Re=(0,z.Z)(Xe);function Xe(){var nt;(0,y.Z)(this,Xe);for(var Ke=arguments.length,rt=new Array(Ke),ht=0;ht=0||ut.relatedTarget.className.indexOf("".concat(it,"-item"))>=0))&&mt(nt.getValidValue()))},nt.go=function(ut){var pt=nt.state.goInputText;pt!==""&&(ut.keyCode===me.ENTER||ut.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return(0,x.Z)(Xe,[{key:"getPageSizeOptions",value:function(){var Ke=this.props,rt=Ke.pageSize,ht=Ke.pageSizeOptions;return ht.some(function(ut){return ut.toString()===rt.toString()})?ht:ht.concat([rt.toString()]).sort(function(ut,pt){var lt=Number.isNaN(Number(ut))?0:Number(ut),mt=Number.isNaN(Number(pt))?0:Number(pt);return lt-mt})}},{key:"render",value:function(){var Ke=this,rt=this.props,ht=rt.pageSize,ut=rt.locale,pt=rt.rootPrefixCls,lt=rt.changeSize,mt=rt.quickGo,it=rt.goButton,ct=rt.selectComponentClass,ft=rt.buildOptionText,yt=rt.selectPrefixCls,Et=rt.disabled,Tt=this.state.goInputText,_t="".concat(pt,"-options"),Gt=ct,hn=null,Rn=null,bn=null;if(!lt&&!mt)return null;var dn=this.getPageSizeOptions();if(lt&&Gt){var lr=dn.map(function(jn,Mn){return Ae.createElement(Gt.Option,{key:Mn,value:jn.toString()},(ft||Ke.buildOptionText)(jn))});hn=Ae.createElement(Gt,{disabled:Et,prefixCls:yt,showSearch:!1,className:"".concat(_t,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ht||dn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Mn){return Mn.parentNode},"aria-label":ut.page_size,defaultOpen:!1},lr)}return mt&&(it&&(bn=typeof it=="boolean"?Ae.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Et,className:"".concat(_t,"-quick-jumper-button")},ut.jump_to_confirm):Ae.createElement("span",{onClick:this.go,onKeyUp:this.go},it)),Rn=Ae.createElement("div",{className:"".concat(_t,"-quick-jumper")},ut.jump_to,Ae.createElement("input",{disabled:Et,type:"text",value:Tt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ut.page}),ut.page,bn)),Ae.createElement("li",{className:"".concat(_t)},hn,Rn)}}]),Xe}(Ae.Component);ge.defaultProps={pageSizeOptions:["10","20","50","100"]};var pe=ge,Se=function(Re){var Xe,nt=Re.rootPrefixCls,Ke=Re.page,rt=Re.active,ht=Re.className,ut=Re.showTitle,pt=Re.onClick,lt=Re.onKeyPress,mt=Re.itemRender,it="".concat(nt,"-item"),ct=re()(it,"".concat(it,"-").concat(Ke),(Xe={},(0,ee.Z)(Xe,"".concat(it,"-active"),rt),(0,ee.Z)(Xe,"".concat(it,"-disabled"),!Ke),(0,ee.Z)(Xe,Re.className,ht),Xe)),ft=function(){pt(Ke)},yt=function(_t){lt(_t,pt,Ke)},Et=mt(Ke,"page",Ae.createElement("a",{rel:"nofollow"},Ke));return Et?Ae.createElement("li",{title:ut?Ke.toString():null,className:ct,onClick:ft,onKeyPress:yt,tabIndex:0},Et):null},be=Se;function Ee(){}function Ce(xe){var Re=Number(xe);return typeof Re=="number"&&!Number.isNaN(Re)&&isFinite(Re)&&Math.floor(Re)===Re}var Be=function(Re,Xe,nt){return nt};function Pe(xe,Re,Xe){var nt=typeof xe=="undefined"?Re.pageSize:xe;return Math.floor((Xe.total-1)/nt)+1}var Fe=function(xe){(0,b.Z)(Xe,xe);var Re=(0,z.Z)(Xe);function Xe(nt){var Ke;(0,y.Z)(this,Xe),Ke=Re.call(this,nt),Ke.paginationNode=Ae.createRef(),Ke.getJumpPrevPage=function(){return Math.max(1,Ke.state.current-(Ke.props.showLessItems?3:5))},Ke.getJumpNextPage=function(){return Math.min(Pe(void 0,Ke.state,Ke.props),Ke.state.current+(Ke.props.showLessItems?3:5))},Ke.getItemIcon=function(lt,mt){var it=Ke.props.prefixCls,ct=lt||Ae.createElement("button",{type:"button","aria-label":mt,className:"".concat(it,"-item-link")});return typeof lt=="function"&&(ct=Ae.createElement(lt,(0,a.Z)({},Ke.props))),ct},Ke.isValid=function(lt){var mt=Ke.props.total;return Ce(lt)&<!==Ke.state.current&&Ce(mt)&&mt>0},Ke.shouldDisplayQuickJumper=function(){var lt=Ke.props,mt=lt.showQuickJumper,it=lt.total,ct=Ke.state.pageSize;return it<=ct?!1:mt},Ke.handleKeyDown=function(lt){(lt.keyCode===me.ARROW_UP||lt.keyCode===me.ARROW_DOWN)&<.preventDefault()},Ke.handleKeyUp=function(lt){var mt=Ke.getValidValue(lt),it=Ke.state.currentInputValue;mt!==it&&Ke.setState({currentInputValue:mt}),lt.keyCode===me.ENTER?Ke.handleChange(mt):lt.keyCode===me.ARROW_UP?Ke.handleChange(mt-1):lt.keyCode===me.ARROW_DOWN&&Ke.handleChange(mt+1)},Ke.handleBlur=function(lt){var mt=Ke.getValidValue(lt);Ke.handleChange(mt)},Ke.changePageSize=function(lt){var mt=Ke.state.current,it=Pe(lt,Ke.state,Ke.props);mt=mt>it?it:mt,it===0&&(mt=Ke.state.current),typeof lt=="number"&&("pageSize"in Ke.props||Ke.setState({pageSize:lt}),"current"in Ke.props||Ke.setState({current:mt,currentInputValue:mt})),Ke.props.onShowSizeChange(mt,lt),"onChange"in Ke.props&&Ke.props.onChange&&Ke.props.onChange(mt,lt)},Ke.handleChange=function(lt){var mt=Ke.props,it=mt.disabled,ct=mt.onChange,ft=Ke.state,yt=ft.pageSize,Et=ft.current,Tt=ft.currentInputValue;if(Ke.isValid(lt)&&!it){var _t=Pe(void 0,Ke.state,Ke.props),Gt=lt;return lt>_t?Gt=_t:lt<1&&(Gt=1),"current"in Ke.props||Ke.setState({current:Gt}),Gt!==Tt&&Ke.setState({currentInputValue:Gt}),ct(Gt,yt),Gt}return Et},Ke.prev=function(){Ke.hasPrev()&&Ke.handleChange(Ke.state.current-1)},Ke.next=function(){Ke.hasNext()&&Ke.handleChange(Ke.state.current+1)},Ke.jumpPrev=function(){Ke.handleChange(Ke.getJumpPrevPage())},Ke.jumpNext=function(){Ke.handleChange(Ke.getJumpNextPage())},Ke.hasPrev=function(){return Ke.state.current>1},Ke.hasNext=function(){return Ke.state.current2?it-2:0),ft=2;ft=ht?pt=ht:pt=Number(rt),pt}},{key:"getShowSizeChanger",value:function(){var Ke=this.props,rt=Ke.showSizeChanger,ht=Ke.total,ut=Ke.totalBoundaryShowSizeChanger;return typeof rt!="undefined"?rt:ht>ut}},{key:"render",value:function(){var Ke=this.props,rt=Ke.prefixCls,ht=Ke.className,ut=Ke.style,pt=Ke.disabled,lt=Ke.hideOnSinglePage,mt=Ke.total,it=Ke.locale,ct=Ke.showQuickJumper,ft=Ke.showLessItems,yt=Ke.showTitle,Et=Ke.showTotal,Tt=Ke.simple,_t=Ke.itemRender,Gt=Ke.showPrevNextJumpers,hn=Ke.jumpPrevIcon,Rn=Ke.jumpNextIcon,bn=Ke.selectComponentClass,dn=Ke.selectPrefixCls,lr=Ke.pageSizeOptions,jn=this.state,Mn=jn.current,cr=jn.pageSize,hr=jn.currentInputValue;if(lt===!0&&mt<=cr)return null;var Dn=Pe(void 0,this.state,this.props),qn=[],Fn=null,Ct=null,cn=null,nn=null,Sn=null,Ln=ct&&ct.goButton,On=ft?1:2,mn=Mn-1>0?Mn-1:0,Pt=Mn+1mt?mt:Mn*cr]));if(Tt){Ln&&(typeof Ln=="boolean"?Sn=Ae.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},it.jump_to_confirm):Sn=Ae.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ln),Sn=Ae.createElement("li",{title:yt?"".concat(it.jump_to).concat(Mn,"/").concat(Dn):null,className:"".concat(rt,"-simple-pager")},Sn));var tn=this.renderPrev(mn);return Ae.createElement("ul",(0,ae.Z)({className:re()(rt,"".concat(rt,"-simple"),(0,ee.Z)({},"".concat(rt,"-disabled"),pt),ht),style:ut,ref:this.paginationNode},Bt),xt,tn?Ae.createElement("li",{title:yt?it.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:re()("".concat(rt,"-prev"),(0,ee.Z)({},"".concat(rt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},tn):null,Ae.createElement("li",{title:yt?"".concat(Mn,"/").concat(Dn):null,className:"".concat(rt,"-simple-pager")},Ae.createElement("input",{type:"text",value:hr,disabled:pt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ae.createElement("span",{className:"".concat(rt,"-slash")},"/"),Dn),Ae.createElement("li",{title:yt?it.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:re()("".concat(rt,"-next"),(0,ee.Z)({},"".concat(rt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Pt)),Sn)}if(Dn<=3+On*2){var Bn={locale:it,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:yt,itemRender:_t};Dn||qn.push(Ae.createElement(be,(0,ae.Z)({},Bn,{key:"noPager",page:1,className:"".concat(rt,"-item-disabled")})));for(var fn=1;fn<=Dn;fn+=1){var Sr=Mn===fn;qn.push(Ae.createElement(be,(0,ae.Z)({},Bn,{key:fn,page:fn,active:Sr})))}}else{var Vn=ft?it.prev_3:it.prev_5,Ht=ft?it.next_3:it.next_5,Lt=_t(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(hn,"prev page")),gn=_t(this.getJumpNextPage(),"jump-next",this.getItemIcon(Rn,"next page"));Gt&&(Fn=Lt?Ae.createElement("li",{title:yt?Vn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:re()("".concat(rt,"-jump-prev"),(0,ee.Z)({},"".concat(rt,"-jump-prev-custom-icon"),!!hn))},Lt):null,Ct=gn?Ae.createElement("li",{title:yt?Ht:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:re()("".concat(rt,"-jump-next"),(0,ee.Z)({},"".concat(rt,"-jump-next-custom-icon"),!!Rn))},gn):null),nn=Ae.createElement(be,{locale:it,last:!0,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dn,page:Dn,active:!1,showTitle:yt,itemRender:_t}),cn=Ae.createElement(be,{locale:it,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:yt,itemRender:_t});var Rt=Math.max(1,Mn-On),Pn=Math.min(Mn+On,Dn);Mn-1<=On&&(Pn=1+On*2),Dn-Mn<=On&&(Rt=Dn-On*2);for(var _n=Rt;_n<=Pn;_n+=1){var ir=Mn===_n;qn.push(Ae.createElement(be,{locale:it,rootPrefixCls:rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_n,page:_n,active:ir,showTitle:yt,itemRender:_t}))}Mn-1>=On*2&&Mn!==3&&(qn[0]=(0,Ae.cloneElement)(qn[0],{className:"".concat(rt,"-item-after-jump-prev")}),qn.unshift(Fn)),Dn-Mn>=On*2&&Mn!==Dn-2&&(qn[qn.length-1]=(0,Ae.cloneElement)(qn[qn.length-1],{className:"".concat(rt,"-item-before-jump-next")}),qn.push(Ct)),Rt!==1&&qn.unshift(cn),Pn!==Dn&&qn.push(nn)}var An=!this.hasPrev()||!Dn,bt=!this.hasNext()||!Dn,kt=this.renderPrev(mn),Nt=this.renderNext(Pt);return Ae.createElement("ul",(0,ae.Z)({className:re()(rt,ht,(0,ee.Z)({},"".concat(rt,"-disabled"),pt)),style:ut,ref:this.paginationNode},Bt),xt,kt?Ae.createElement("li",{title:yt?it.prev_page:null,onClick:this.prev,tabIndex:An?null:0,onKeyPress:this.runIfEnterPrev,className:re()("".concat(rt,"-prev"),(0,ee.Z)({},"".concat(rt,"-disabled"),An)),"aria-disabled":An},kt):null,qn,Nt?Ae.createElement("li",{title:yt?it.next_page:null,onClick:this.next,tabIndex:bt?null:0,onKeyPress:this.runIfEnterNext,className:re()("".concat(rt,"-next"),(0,ee.Z)({},"".concat(rt,"-disabled"),bt)),"aria-disabled":bt},Nt):null,Ae.createElement(pe,{disabled:pt,locale:it,rootPrefixCls:rt,selectComponentClass:bn,selectPrefixCls:dn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Mn,pageSize:cr,pageSizeOptions:lr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ln}))}}],[{key:"getDerivedStateFromProps",value:function(Ke,rt){var ht={};if("current"in Ke&&(ht.current=Ke.current,Ke.current!==rt.current&&(ht.currentInputValue=ht.current)),"pageSize"in Ke&&Ke.pageSize!==rt.pageSize){var ut=rt.current,pt=Pe(Ke.pageSize,rt,Ke);ut=ut>pt?pt:ut,"current"in Ke||(ht.current=ut,ht.currentInputValue=ut),ht.pageSize=Ke.pageSize}return ht}}]),Xe}(Ae.Component);Fe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ee,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ee,locale:ve.Z,style:{},itemRender:Be,totalBoundaryShowSizeChanger:50};var we=Fe,Le=fe(22075),Oe=fe(36355),Ge=fe(19716),Ne=fe(8628),Ue=fe(9763),He=fe(57809);const Qe=xe=>Ae.createElement(He.default,Object.assign({},xe,{showSearch:!0,size:"small"})),We=xe=>Ae.createElement(He.default,Object.assign({},xe,{showSearch:!0,size:"middle"}));Qe.Option=He.default.Option,We.Option=He.default.Option;var ze=fe(9937),_e=fe(17313),Ve=fe(83116),tt=fe(37613);const et=xe=>{const{componentCls:Re}=xe;return{[`${Re}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Re}-item-link`]:{color:xe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Re}-item-link`]:{color:xe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Re}-disabled`]:{cursor:"not-allowed",[`${Re}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:xe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:xe.colorBorder,backgroundColor:xe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:xe.itemActiveBgDisabled},a:{color:xe.itemActiveColorDisabled}}},[`${Re}-item-link`]:{color:xe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Re}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Re}-simple-pager`]:{color:xe.colorTextDisabled},[`${Re}-jump-prev, ${Re}-jump-next`]:{[`${Re}-item-link-icon`]:{opacity:0},[`${Re}-item-ellipsis`]:{opacity:1}}},[`&${Re}-simple`]:{[`${Re}-prev, ${Re}-next`]:{[`&${Re}-disabled ${Re}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},dt=xe=>{const{componentCls:Re}=xe;return{[`&${Re}-mini ${Re}-total-text, &${Re}-mini ${Re}-simple-pager`]:{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`},[`&${Re}-mini ${Re}-item`]:{minWidth:xe.itemSizeSM,height:xe.itemSizeSM,margin:0,lineHeight:`${xe.itemSizeSM-2}px`},[`&${Re}-mini:not(${Re}-disabled) ${Re}-item:not(${Re}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:xe.colorBgTextHover},"&:active":{backgroundColor:xe.colorBgTextActive}},[`&${Re}-mini ${Re}-prev, &${Re}-mini ${Re}-next`]:{minWidth:xe.itemSizeSM,height:xe.itemSizeSM,margin:0,lineHeight:`${xe.itemSizeSM}px`},[`&${Re}-mini:not(${Re}-disabled)`]:{[`${Re}-prev, ${Re}-next`]:{[`&:hover ${Re}-item-link`]:{backgroundColor:xe.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:xe.colorBgTextActive},[`&${Re}-disabled:hover ${Re}-item-link`]:{backgroundColor:"transparent"}}},[` + &${Re}-mini ${Re}-prev ${Re}-item-link, + &${Re}-mini ${Re}-next ${Re}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`}},[`&${Re}-mini ${Re}-jump-prev, &${Re}-mini ${Re}-jump-next`]:{height:xe.itemSizeSM,marginInlineEnd:0,lineHeight:`${xe.itemSizeSM}px`},[`&${Re}-mini ${Re}-options`]:{marginInlineStart:xe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:xe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ze.x0)(xe)),{width:xe.paginationMiniQuickJumperInputWidth,height:xe.controlHeightSM})}}}},$e=xe=>{const{componentCls:Re}=xe;return{[` + &${Re}-simple ${Re}-prev, + &${Re}-simple ${Re}-next + `]:{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`,verticalAlign:"top",[`${Re}-item-link`]:{height:xe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:xe.colorBgTextHover},"&:active":{backgroundColor:xe.colorBgTextActive},"&::after":{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`}}},[`&${Re}-simple ${Re}-simple-pager`]:{display:"inline-block",height:xe.itemSizeSM,marginInlineEnd:xe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:xe.marginXS,padding:`0 ${xe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:xe.itemInputBg,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadius,outline:"none",transition:`border-color ${xe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:xe.colorPrimary},"&:focus":{borderColor:xe.colorPrimaryHover,boxShadow:`${xe.inputOutlineOffset}px 0 ${xe.controlOutlineWidth}px ${xe.controlOutline}`},"&[disabled]":{color:xe.colorTextDisabled,backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,cursor:"not-allowed"}}}}},Ze=xe=>{const{componentCls:Re}=xe;return{[`${Re}-jump-prev, ${Re}-jump-next`]:{outline:0,[`${Re}-item-container`]:{position:"relative",[`${Re}-item-link-icon`]:{color:xe.colorPrimary,fontSize:xe.fontSizeSM,opacity:0,transition:`all ${xe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Re}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:xe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:xe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:xe.paginationEllipsisTextIndent,opacity:1,transition:`all ${xe.motionDurationMid}`}},"&:hover":{[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}}},[` + ${Re}-prev, + ${Re}-jump-prev, + ${Re}-jump-next + `]:{marginInlineEnd:xe.marginXS},[` + ${Re}-prev, + ${Re}-next, + ${Re}-jump-prev, + ${Re}-jump-next + `]:{display:"inline-block",minWidth:xe.itemSize,height:xe.itemSize,color:xe.colorText,fontFamily:xe.fontFamily,lineHeight:`${xe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:xe.borderRadius,cursor:"pointer",transition:`all ${xe.motionDurationMid}`},[`${Re}-prev, ${Re}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:xe.colorText,cursor:"pointer",userSelect:"none"},[`${Re}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:xe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${xe.lineWidth}px ${xe.lineType} transparent`,borderRadius:xe.borderRadius,outline:"none",transition:`all ${xe.motionDurationMid}`},[`&:hover ${Re}-item-link`]:{backgroundColor:xe.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:xe.colorBgTextActive},[`&${Re}-disabled:hover`]:{[`${Re}-item-link`]:{backgroundColor:"transparent"}}},[`${Re}-slash`]:{marginInlineEnd:xe.paginationSlashMarginInlineEnd,marginInlineStart:xe.paginationSlashMarginInlineStart},[`${Re}-options`]:{display:"inline-block",marginInlineStart:xe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:xe.controlHeight,marginInlineStart:xe.marginXS,lineHeight:`${xe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ze.ik)(xe)),{width:xe.controlHeightLG*1.25,height:xe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:xe.marginXS,marginInlineEnd:xe.marginXS})}}}},Me=xe=>{const{componentCls:Re}=xe;return{[`${Re}-item`]:{display:"inline-block",minWidth:xe.itemSize,height:xe.itemSize,marginInlineEnd:xe.marginXS,fontFamily:xe.fontFamily,lineHeight:`${xe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${xe.lineWidth}px ${xe.lineType} transparent`,borderRadius:xe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${xe.paginationItemPaddingInline}px`,color:xe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Re}-item-active)`]:{"&:hover":{transition:`all ${xe.motionDurationMid}`,backgroundColor:xe.colorBgTextHover},"&:active":{backgroundColor:xe.colorBgTextActive}},"&-active":{fontWeight:xe.fontWeightStrong,backgroundColor:xe.itemActiveBg,borderColor:xe.colorPrimary,a:{color:xe.colorPrimary},"&:hover":{borderColor:xe.colorPrimaryHover},"&:hover a":{color:xe.colorPrimaryHover}}}}},qe=xe=>{const{componentCls:Re}=xe;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(xe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Re}-total-text`]:{display:"inline-block",height:xe.itemSize,marginInlineEnd:xe.marginXS,lineHeight:`${xe.itemSize-2}px`,verticalAlign:"middle"}}),Me(xe)),Ze(xe)),$e(xe)),dt(xe)),et(xe)),{[`@media only screen and (max-width: ${xe.screenLG}px)`]:{[`${Re}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${xe.screenSM}px)`]:{[`${Re}-options`]:{display:"none"}}}),[`&${xe.componentCls}-rtl`]:{direction:"rtl"}}},Ie=xe=>{const{componentCls:Re}=xe;return{[`${Re}${Re}-disabled:not(${Re}-mini)`]:{"&, &:hover":{[`${Re}-item-link`]:{borderColor:xe.colorBorder}},"&:focus-visible":{[`${Re}-item-link`]:{borderColor:xe.colorBorder}},[`${Re}-item, ${Re}-item-link`]:{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,[`&:hover:not(${Re}-item-active)`]:{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,a:{color:xe.colorTextDisabled}},[`&${Re}-item-active`]:{backgroundColor:xe.itemActiveBgDisabled}},[`${Re}-prev, ${Re}-next`]:{"&:hover button":{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,color:xe.colorTextDisabled},[`${Re}-item-link`]:{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder}}},[`${Re}:not(${Re}-mini)`]:{[`${Re}-prev, ${Re}-next`]:{"&:hover button":{borderColor:xe.colorPrimaryHover,backgroundColor:xe.itemBg},[`${Re}-item-link`]:{backgroundColor:xe.itemLinkBg,borderColor:xe.colorBorder},[`&:hover ${Re}-item-link`]:{borderColor:xe.colorPrimary,backgroundColor:xe.itemBg,color:xe.colorPrimary},[`&${Re}-disabled`]:{[`${Re}-item-link`]:{borderColor:xe.colorBorder,color:xe.colorTextDisabled}}},[`${Re}-item`]:{backgroundColor:xe.itemBg,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,[`&:hover:not(${Re}-item-active)`]:{borderColor:xe.colorPrimary,backgroundColor:xe.itemBg,a:{color:xe.colorPrimary}},"&-active":{borderColor:xe.colorPrimary}}}}},je=xe=>{const{componentCls:Re}=xe;return{[`${Re}:not(${Re}-disabled)`]:{[`${Re}-item`]:Object.assign({},(0,_e.Qy)(xe)),[`${Re}-jump-prev, ${Re}-jump-next`]:{"&:focus-visible":Object.assign({[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}},(0,_e.oN)(xe))},[`${Re}-prev, ${Re}-next`]:{[`&:focus-visible ${Re}-item-link`]:Object.assign({},(0,_e.oN)(xe))}}}};var Je=(0,Ve.Z)("Pagination",xe=>{const Re=(0,tt.TS)(xe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:xe.marginXXS/2,paginationMiniQuickJumperInputWidth:xe.controlHeightLG*1.1,paginationItemPaddingInline:xe.marginXXS*1.5,paginationEllipsisLetterSpacing:xe.marginXXS/2,paginationSlashMarginInlineStart:xe.marginXXS,paginationSlashMarginInlineEnd:xe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ze.e5)(xe),(0,ze.TM)(xe));return[qe(Re),je(Re),xe.wireframe&&Ie(Re)]},xe=>({itemBg:xe.colorBgContainer,itemSize:xe.controlHeight,itemSizeSM:xe.controlHeightSM,itemActiveBg:xe.colorBgContainer,itemLinkBg:xe.colorBgContainer,itemActiveColorDisabled:xe.colorTextDisabled,itemActiveBgDisabled:xe.controlItemBgActiveDisabled,itemInputBg:xe.colorBgContainer,miniOptionsSizeChangerTop:0})),Ye=function(xe,Re){var Xe={};for(var nt in xe)Object.prototype.hasOwnProperty.call(xe,nt)&&Re.indexOf(nt)<0&&(Xe[nt]=xe[nt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,nt=Object.getOwnPropertySymbols(xe);Ke{const{prefixCls:Re,selectPrefixCls:Xe,className:nt,rootClassName:Ke,style:rt,size:ht,locale:ut,selectComponentClass:pt,responsive:lt,showSizeChanger:mt}=xe,it=Ye(xe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ct}=(0,Ne.Z)(lt),{getPrefixCls:ft,direction:yt,pagination:Et={}}=Ae.useContext(Oe.E_),Tt=ft("pagination",Re),[_t,Gt]=Je(Tt),hn=mt!=null?mt:Et.showSizeChanger,Rn=Ae.useMemo(()=>{const Dn=Ae.createElement("span",{className:`${Tt}-item-ellipsis`},"\u2022\u2022\u2022"),qn=Ae.createElement("button",{className:`${Tt}-item-link`,type:"button",tabIndex:-1},yt==="rtl"?Ae.createElement(ie.Z,null):Ae.createElement(le.Z,null)),Fn=Ae.createElement("button",{className:`${Tt}-item-link`,type:"button",tabIndex:-1},yt==="rtl"?Ae.createElement(le.Z,null):Ae.createElement(ie.Z,null)),Ct=Ae.createElement("a",{className:`${Tt}-item-link`},Ae.createElement("div",{className:`${Tt}-item-container`},yt==="rtl"?Ae.createElement(de.Z,{className:`${Tt}-item-link-icon`}):Ae.createElement(se,{className:`${Tt}-item-link-icon`}),Dn)),cn=Ae.createElement("a",{className:`${Tt}-item-link`},Ae.createElement("div",{className:`${Tt}-item-container`},yt==="rtl"?Ae.createElement(se,{className:`${Tt}-item-link-icon`}):Ae.createElement(de.Z,{className:`${Tt}-item-link-icon`}),Dn));return{prevIcon:qn,nextIcon:Fn,jumpPrevIcon:Ct,jumpNextIcon:cn}},[yt,Tt]),[bn]=(0,Ue.Z)("Pagination",Le.Z),dn=Object.assign(Object.assign({},bn),ut),lr=(0,Ge.Z)(ht),jn=lr==="small"||!!(ct&&!lr&<),Mn=ft("select",Xe),cr=re()({[`${Tt}-mini`]:jn,[`${Tt}-rtl`]:yt==="rtl"},Et==null?void 0:Et.className,nt,Ke,Gt),hr=Object.assign(Object.assign({},Et==null?void 0:Et.style),rt);return _t(Ae.createElement(we,Object.assign({},Rn,it,{style:hr,prefixCls:Tt,selectPrefixCls:Mn,className:cr,selectComponentClass:pt||(jn?Qe:We),locale:dn,showSizeChanger:hn})))},Te=De},39722:function(gt,ot,fe){"use strict";fe.d(ot,{t5:function(){return le}});var ae=fe(92310),Ae=fe.n(ae),E=fe(55477),ye=fe(59301),he=fe(36355),ce=fe(77578),ne=fe(17356),se=function(oe,re){var ee={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&re.indexOf(a)<0&&(ee[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y{if(!(!re&&!ee))return ye.createElement(ye.Fragment,null,re&&ye.createElement("div",{className:`${oe}-title`},(0,ce.Z)(re)),ye.createElement("div",{className:`${oe}-inner-content`},(0,ce.Z)(ee)))},le=oe=>{const{hashId:re,prefixCls:ee,className:a,style:y,placement:x="top",title:b,content:z,children:te}=oe;return ye.createElement("div",{className:Ae()(re,ee,`${ee}-pure`,`${ee}-placement-${x}`,a),style:y},ye.createElement("div",{className:`${ee}-arrow`}),ye.createElement(E.G,Object.assign({},oe,{className:re,prefixCls:ee}),te||de(ee,b,z)))},ie=oe=>{const{prefixCls:re}=oe,ee=se(oe,["prefixCls"]),{getPrefixCls:a}=ye.useContext(he.E_),y=a("popover",re),[x,b]=(0,ne.Z)(y);return x(ye.createElement(le,Object.assign({},ee,{prefixCls:y,hashId:b})))};ot.ZP=ie},60324:function(gt,ot,fe){"use strict";var ae=fe(92310),Ae=fe.n(ae),E=fe(59301),ye=fe(77578),he=fe(62892),ce=fe(36355),ne=fe(6848),se=fe(39722),de=fe(17356),le=function(re,ee){var a={};for(var y in re)Object.prototype.hasOwnProperty.call(re,y)&&ee.indexOf(y)<0&&(a[y]=re[y]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(re);x{let{title:ee,content:a,prefixCls:y}=re;return E.createElement(E.Fragment,null,ee&&E.createElement("div",{className:`${y}-title`},(0,ye.Z)(ee)),E.createElement("div",{className:`${y}-inner-content`},(0,ye.Z)(a)))},oe=E.forwardRef((re,ee)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:z="top",trigger:te="hover",mouseEnterDelay:ue=.1,mouseLeaveDelay:me=.1,overlayStyle:ve={}}=re,ge=le(re,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:pe}=E.useContext(ce.E_),Se=pe("popover",a),[be,Ee]=(0,de.Z)(Se),Ce=pe(),Be=Ae()(b,Ee);return be(E.createElement(ne.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:ue,mouseLeaveDelay:me,overlayStyle:ve},ge,{prefixCls:Se,overlayClassName:Be,ref:ee,overlay:y||x?E.createElement(ie,{prefixCls:Se,title:y,content:x}):null,transitionName:(0,he.m)(Ce,"zoom-big",ge.transitionName),"data-popover-inject":!0})))});oe._InternalPanelDoNotUseOrYouWillBeFired=se.ZP,ot.Z=oe},17356:function(gt,ot,fe){"use strict";var ae=fe(17313),Ae=fe(29878),E=fe(19447),ye=fe(33166),he=fe(83116),ce=fe(37613);const ne=le=>{const{componentCls:ie,popoverColor:oe,minWidth:re,fontWeightStrong:ee,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:ue,popoverBg:me}=le;return[{[ie]:Object.assign(Object.assign({},(0,ae.Wf)(le)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ue,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ie}-content`]:{position:"relative"},[`${ie}-inner`]:{backgroundColor:me,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ie}-title`]:{minWidth:re,marginBottom:te,color:x,fontWeight:ee},[`${ie}-inner-content`]:{color:oe}})},(0,E.ZP)(le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ie}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow,display:"inline-block",[`${ie}-content`]:{display:"inline-block"}}}]},se=le=>{const{componentCls:ie}=le;return{[ie]:ye.i.map(oe=>{const re=le[`${oe}6`];return{[`&${ie}-${oe}`]:{"--antd-arrow-background-color":re,[`${ie}-inner`]:{backgroundColor:re},[`${ie}-arrow`]:{background:"transparent"}}}})}},de=le=>{const{componentCls:ie,lineWidth:oe,lineType:re,colorSplit:ee,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=le,te=y-Math.round(x*b),ue=te/2,me=te/2-oe,ve=z;return{[ie]:{[`${ie}-inner`]:{padding:0},[`${ie}-title`]:{margin:0,padding:`${ue}px ${ve}px ${me}px`,borderBottom:`${oe}px ${re} ${ee}`},[`${ie}-inner-content`]:{padding:`${a}px ${ve}px`}}}};ot.Z=(0,he.Z)("Popover",le=>{const{colorBgElevated:ie,colorText:oe,wireframe:re}=le,ee=(0,ce.TS)(le,{popoverPadding:12,popoverBg:ie,popoverColor:oe});return[ne(ee),se(ee),re&&de(ee),(0,Ae._y)(ee,"zoom-big")]},le=>({width:177,minWidth:177,zIndexPopup:le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return mt}});var ae=fe(59301),Ae=fe(29679),E=fe(40001),ye=fe(19248),he=fe(99267),ce=fe(92310),ne=fe.n(ce),se=fe(2738),de=fe(36355),le=fe(54476),ie=fe(33885),oe=fe(75931),re={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ee=function(){var ct=(0,ae.useRef)([]),ft=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var yt=Date.now(),Et=!1;ct.current.forEach(function(Tt){if(Tt){Et=!0;var _t=Tt.style;_t.transitionDuration=".3s, .3s, .3s, .06s",ft.current&&yt-ft.current<100&&(_t.transitionDuration="0s, 0s")}}),Et&&(ft.current=Date.now())}),ct.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(ct){var ft=(0,ie.Z)((0,ie.Z)({},re),ct),yt=ft.className,Et=ft.percent,Tt=ft.prefixCls,_t=ft.strokeColor,Gt=ft.strokeLinecap,hn=ft.strokeWidth,Rn=ft.style,bn=ft.trailColor,dn=ft.trailWidth,lr=ft.transition,jn=(0,oe.Z)(ft,a);delete jn.gapPosition;var Mn=Array.isArray(Et)?Et:[Et],cr=Array.isArray(_t)?_t:[_t],hr=ee(),Dn=hn/2,qn=100-hn/2,Fn="M ".concat(Gt==="round"?Dn:0,",").concat(Dn,` + L `).concat(Gt==="round"?qn:100,",").concat(Dn),Ct="0 0 100 ".concat(hn),cn=0;return ae.createElement("svg",(0,le.Z)({className:ne()("".concat(Tt,"-line"),yt),viewBox:Ct,preserveAspectRatio:"none",style:Rn},jn),ae.createElement("path",{className:"".concat(Tt,"-line-trail"),d:Fn,strokeLinecap:Gt,stroke:bn,strokeWidth:dn||hn,fillOpacity:"0"}),Mn.map(function(nn,Sn){var Ln=1;switch(Gt){case"round":Ln=1-hn/100;break;case"square":Ln=1-hn/2/100;break;default:Ln=1;break}var On={strokeDasharray:"".concat(nn*Ln,"px, 100px"),strokeDashoffset:"-".concat(cn,"px"),transition:lr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},mn=cr[Sn]||cr[cr.length-1];return cn+=nn,ae.createElement("path",{key:Sn,className:"".concat(Tt,"-line-path"),d:Fn,strokeLinecap:Gt,stroke:mn,strokeWidth:hn,fillOpacity:"0",ref:function(Bt){hr[Sn]=Bt},style:On})}))},x=y,b=fe(76190),z=fe(42978),te=fe(47273),ue=0,me=(0,te.Z)();function ve(){var it;return me?(it=ue,ue+=1):it="TEST_OR_SSR",it}var ge=function(it){var ct=ae.useState(),ft=(0,z.Z)(ct,2),yt=ft[0],Et=ft[1];return ae.useEffect(function(){Et("rc_progress_".concat(ve()))},[]),it||yt},pe=function(ct){var ft=ct.bg,yt=ct.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:ft}},yt)};function Se(it,ct){return Object.keys(it).map(function(ft){var yt=parseFloat(ft),Et="".concat(Math.floor(yt*ct),"%");return"".concat(it[ft]," ").concat(Et)})}var be=ae.forwardRef(function(it,ct){var ft=it.prefixCls,yt=it.color,Et=it.gradientId,Tt=it.radius,_t=it.style,Gt=it.ptg,hn=it.strokeLinecap,Rn=it.strokeWidth,bn=it.size,dn=it.gapDegree,lr=yt&&(0,b.Z)(yt)==="object",jn=lr?"#FFF":void 0,Mn=bn/2,cr=ae.createElement("circle",{className:"".concat(ft,"-circle-path"),r:Tt,cx:Mn,cy:Mn,stroke:jn,strokeLinecap:hn,strokeWidth:Rn,opacity:Gt===0?0:1,style:_t,ref:ct});if(!lr)return cr;var hr="".concat(Et,"-conic"),Dn=dn?"".concat(180+dn/2,"deg"):"0deg",qn=Se(yt,(360-dn)/360),Fn=Se(yt,1),Ct="conic-gradient(from ".concat(Dn,", ").concat(qn.join(", "),")"),cn="linear-gradient(to ".concat(dn?"bottom":"top",", ").concat(Fn.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:hr},cr),ae.createElement("foreignObject",{x:0,y:0,width:bn,height:bn,mask:"url(#".concat(hr,")")},ae.createElement(pe,{bg:cn},ae.createElement(pe,{bg:Ct}))))}),Ee=be,Ce=100,Be=function(ct,ft,yt,Et,Tt,_t,Gt,hn,Rn,bn){var dn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,lr=yt/100*360*((360-_t)/360),jn=_t===0?0:{bottom:0,top:180,left:90,right:-90}[Gt],Mn=(100-Et)/100*ft;Rn==="round"&&Et!==100&&(Mn+=bn/2,Mn>=ft&&(Mn=ft-.01));var cr=Ce/2;return{stroke:typeof hn=="string"?hn:void 0,strokeDasharray:"".concat(ft,"px ").concat(ct),strokeDashoffset:Mn+dn,transform:"rotate(".concat(Tt+lr+jn,"deg)"),transformOrigin:"".concat(cr,"px ").concat(cr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Pe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Fe(it){var ct=it!=null?it:[];return Array.isArray(ct)?ct:[ct]}var we=function(ct){var ft=(0,ie.Z)((0,ie.Z)({},re),ct),yt=ft.id,Et=ft.prefixCls,Tt=ft.steps,_t=ft.strokeWidth,Gt=ft.trailWidth,hn=ft.gapDegree,Rn=hn===void 0?0:hn,bn=ft.gapPosition,dn=ft.trailColor,lr=ft.strokeLinecap,jn=ft.style,Mn=ft.className,cr=ft.strokeColor,hr=ft.percent,Dn=(0,oe.Z)(ft,Pe),qn=Ce/2,Fn=ge(yt),Ct="".concat(Fn,"-gradient"),cn=qn-_t/2,nn=Math.PI*2*cn,Sn=Rn>0?90+Rn/2:-90,Ln=nn*((360-Rn)/360),On=(0,b.Z)(Tt)==="object"?Tt:{count:Tt,space:2},mn=On.count,Pt=On.space,Bt=Fe(hr),xt=Fe(cr),tn=xt.find(function(gn){return gn&&(0,b.Z)(gn)==="object"}),Bn=tn&&(0,b.Z)(tn)==="object",fn=Bn?"butt":lr,Sr=Be(nn,Ln,0,100,Sn,Rn,bn,dn,fn,_t),Vn=ee(),Ht=function(){var Rt=0;return Bt.map(function(Pn,_n){var ir=xt[_n]||xt[xt.length-1],An=Be(nn,Ln,Rt,Pn,Sn,Rn,bn,ir,fn,_t);return Rt+=Pn,ae.createElement(Ee,{key:_n,color:ir,ptg:Pn,radius:cn,prefixCls:Et,gradientId:Ct,style:An,strokeLinecap:fn,strokeWidth:_t,gapDegree:Rn,ref:function(kt){Vn[_n]=kt},size:Ce})}).reverse()},Lt=function(){var Rt=Math.round(mn*(Bt[0]/100)),Pn=100/mn,_n=0;return new Array(mn).fill(null).map(function(ir,An){var bt=An<=Rt-1?xt[0]:dn,kt=bt&&(0,b.Z)(bt)==="object"?"url(#".concat(Ct,")"):void 0,Nt=Be(nn,Ln,_n,Pn,Sn,Rn,bn,bt,"butt",_t,Pt);return _n+=(Ln-Nt.strokeDashoffset+Pt)*100/Ln,ae.createElement("circle",{key:An,className:"".concat(Et,"-circle-path"),r:cn,cx:qn,cy:qn,stroke:kt,strokeWidth:_t,opacity:1,style:Nt,ref:function(qt){Vn[An]=qt}})})};return ae.createElement("svg",(0,le.Z)({className:ne()("".concat(Et,"-circle"),Mn),viewBox:"0 0 ".concat(Ce," ").concat(Ce),style:jn,id:yt,role:"presentation"},Dn),!mn&&ae.createElement("circle",{className:"".concat(Et,"-circle-trail"),r:cn,cx:qn,cy:qn,stroke:dn,strokeLinecap:fn,strokeWidth:Gt||_t,style:Sr}),mn?Lt():Ht())},Le=we,Oe={Line:x,Circle:Le},Ge=fe(6848),Ne=fe(30071);function Ue(it){return!it||it<0?0:it>100?100:it}function He(it){let{success:ct,successPercent:ft}=it,yt=ft;return ct&&"progress"in ct&&(yt=ct.progress),ct&&"percent"in ct&&(yt=ct.percent),yt}const Qe=it=>{let{percent:ct,success:ft,successPercent:yt}=it;const Et=Ue(He({success:ft,successPercent:yt}));return[Et,Ue(Ue(ct)-Et)]},We=it=>{let{success:ct={},strokeColor:ft}=it;const{strokeColor:yt}=ct;return[yt||Ne.presetPrimaryColors.green,ft||null]},ze=(it,ct,ft)=>{var yt,Et,Tt,_t;let Gt=-1,hn=-1;if(ct==="step"){const Rn=ft.steps,bn=ft.strokeWidth;typeof it=="string"||typeof it=="undefined"?(Gt=it==="small"?2:14,hn=bn!=null?bn:8):typeof it=="number"?[Gt,hn]=[it,it]:[Gt=14,hn=8]=it,Gt*=Rn}else if(ct==="line"){const Rn=ft==null?void 0:ft.strokeWidth;typeof it=="string"||typeof it=="undefined"?hn=Rn||(it==="small"?6:8):typeof it=="number"?[Gt,hn]=[it,it]:[Gt=-1,hn=8]=it}else(ct==="circle"||ct==="dashboard")&&(typeof it=="string"||typeof it=="undefined"?[Gt,hn]=it==="small"?[60,60]:[120,120]:typeof it=="number"?[Gt,hn]=[it,it]:(Gt=(Et=(yt=it[0])!==null&&yt!==void 0?yt:it[1])!==null&&Et!==void 0?Et:120,hn=(_t=(Tt=it[0])!==null&&Tt!==void 0?Tt:it[1])!==null&&_t!==void 0?_t:120));return[Gt,hn]},_e=3,Ve=it=>_e/it*100;var et=it=>{const{prefixCls:ct,trailColor:ft=null,strokeLinecap:yt="round",gapPosition:Et,gapDegree:Tt,width:_t=120,type:Gt,children:hn,success:Rn,size:bn=_t}=it,[dn,lr]=ze(bn,"circle");let{strokeWidth:jn}=it;jn===void 0&&(jn=Math.max(Ve(dn),6));const Mn={width:dn,height:lr,fontSize:dn*.15+6},cr=ae.useMemo(()=>{if(Tt||Tt===0)return Tt;if(Gt==="dashboard")return 75},[Tt,Gt]),hr=Et||Gt==="dashboard"&&"bottom"||void 0,Dn=Object.prototype.toString.call(it.strokeColor)==="[object Object]",qn=We({success:Rn,strokeColor:it.strokeColor}),Fn=ne()(`${ct}-inner`,{[`${ct}-circle-gradient`]:Dn}),Ct=ae.createElement(Le,{percent:Qe(it),strokeWidth:jn,trailWidth:jn,strokeColor:qn,strokeLinecap:yt,trailColor:ft,prefixCls:ct,gapDegree:cr,gapPosition:hr});return ae.createElement("div",{className:Fn,style:Mn},dn<=20?ae.createElement(Ge.Z,{title:hn},ae.createElement("span",null,Ct)):ae.createElement(ae.Fragment,null,Ct,hn))},dt=function(it,ct){var ft={};for(var yt in it)Object.prototype.hasOwnProperty.call(it,yt)&&ct.indexOf(yt)<0&&(ft[yt]=it[yt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,yt=Object.getOwnPropertySymbols(it);Et{let ct=[];return Object.keys(it).forEach(ft=>{const yt=parseFloat(ft.replace(/%/g,""));isNaN(yt)||ct.push({key:yt,value:it[ft]})}),ct=ct.sort((ft,yt)=>ft.key-yt.key),ct.map(ft=>{let{key:yt,value:Et}=ft;return`${Et} ${yt}%`}).join(", ")},Ze=(it,ct)=>{const{from:ft=Ne.presetPrimaryColors.blue,to:yt=Ne.presetPrimaryColors.blue,direction:Et=ct==="rtl"?"to left":"to right"}=it,Tt=dt(it,["from","to","direction"]);if(Object.keys(Tt).length!==0){const _t=$e(Tt);return{backgroundImage:`linear-gradient(${Et}, ${_t})`}}return{backgroundImage:`linear-gradient(${Et}, ${ft}, ${yt})`}};var qe=it=>{const{prefixCls:ct,direction:ft,percent:yt,size:Et,strokeWidth:Tt,strokeColor:_t,strokeLinecap:Gt="round",children:hn,trailColor:Rn=null,success:bn}=it,dn=_t&&typeof _t!="string"?Ze(_t,ft):{backgroundColor:_t},lr=Gt==="square"||Gt==="butt"?0:void 0,jn={backgroundColor:Rn||void 0,borderRadius:lr},Mn=Et!=null?Et:[-1,Tt||(Et==="small"?6:8)],[cr,hr]=ze(Mn,"line",{strokeWidth:Tt}),Dn=Object.assign({width:`${Ue(yt)}%`,height:hr,borderRadius:lr},dn),qn=He(it),Fn={width:`${Ue(qn)}%`,height:hr,borderRadius:lr,backgroundColor:bn==null?void 0:bn.strokeColor},Ct={width:cr<0?"100%":cr,height:hr};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${ct}-outer`,style:Ct},ae.createElement("div",{className:`${ct}-inner`,style:jn},ae.createElement("div",{className:`${ct}-bg`,style:Dn}),qn!==void 0?ae.createElement("div",{className:`${ct}-success-bg`,style:Fn}):null)),hn)},je=it=>{const{size:ct,steps:ft,percent:yt=0,strokeWidth:Et=8,strokeColor:Tt,trailColor:_t=null,prefixCls:Gt,children:hn}=it,Rn=Math.round(ft*(yt/100)),bn=ct==="small"?2:14,dn=ct!=null?ct:[bn,Et],[lr,jn]=ze(dn,"step",{steps:ft,strokeWidth:Et}),Mn=lr/ft,cr=new Array(ft);for(let hr=0;hr{const ct=it?"100%":"-100%";return new Je.Keyframes(`antProgress${it?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ct}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ct}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},xe=it=>{const{componentCls:ct,iconCls:ft}=it;return{[ct]:Object.assign(Object.assign({},(0,Ye.Wf)(it)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:it.fontSize,marginInlineEnd:it.marginXS,marginBottom:it.marginXS},[`${ct}-outer`]:{display:"inline-block",width:"100%"},[`&${ct}-show-info`]:{[`${ct}-outer`]:{marginInlineEnd:`calc(-2em - ${it.marginXS}px)`,paddingInlineEnd:`calc(2em + ${it.paddingXS}px)`}},[`${ct}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:it.remainingColor,borderRadius:it.lineBorderRadius},[`${ct}-inner:not(${ct}-circle-gradient)`]:{[`${ct}-circle-path`]:{stroke:it.defaultColor}},[`${ct}-success-bg, ${ct}-bg`]:{position:"relative",backgroundColor:it.defaultColor,borderRadius:it.lineBorderRadius,transition:`all ${it.motionDurationSlow} ${it.motionEaseInOutCirc}`},[`${ct}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:it.colorSuccess},[`${ct}-text`]:{display:"inline-block",width:"2em",marginInlineStart:it.marginXS,color:it.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ft]:{fontSize:it.fontSize}},[`&${ct}-status-active`]:{[`${ct}-bg::before`]:{position:"absolute",inset:0,backgroundColor:it.colorBgContainer,borderRadius:it.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:it.progressActiveMotionDuration,animationTimingFunction:it.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ct}-rtl${ct}-status-active`]:{[`${ct}-bg::before`]:{animationName:Te(!0)}},[`&${ct}-status-exception`]:{[`${ct}-bg`]:{backgroundColor:it.colorError},[`${ct}-text`]:{color:it.colorError}},[`&${ct}-status-exception ${ct}-inner:not(${ct}-circle-gradient)`]:{[`${ct}-circle-path`]:{stroke:it.colorError}},[`&${ct}-status-success`]:{[`${ct}-bg`]:{backgroundColor:it.colorSuccess},[`${ct}-text`]:{color:it.colorSuccess}},[`&${ct}-status-success ${ct}-inner:not(${ct}-circle-gradient)`]:{[`${ct}-circle-path`]:{stroke:it.colorSuccess}}})}},Re=it=>{const{componentCls:ct,iconCls:ft}=it;return{[ct]:{[`${ct}-circle-trail`]:{stroke:it.remainingColor},[`&${ct}-circle ${ct}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ct}-circle ${ct}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:it.circleTextColor,fontSize:it.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ft]:{fontSize:`${it.fontSize/it.fontSizeSM}em`}},[`${ct}-circle&-status-exception`]:{[`${ct}-text`]:{color:it.colorError}},[`${ct}-circle&-status-success`]:{[`${ct}-text`]:{color:it.colorSuccess}}},[`${ct}-inline-circle`]:{lineHeight:1,[`${ct}-inner`]:{verticalAlign:"bottom"}}}},Xe=it=>{const{componentCls:ct}=it;return{[ct]:{[`${ct}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:it.progressStepMinWidth,marginInlineEnd:it.progressStepMarginInlineEnd,backgroundColor:it.remainingColor,transition:`all ${it.motionDurationSlow}`,"&-active":{backgroundColor:it.defaultColor}}}}}},nt=it=>{const{componentCls:ct,iconCls:ft}=it;return{[ct]:{[`${ct}-small&-line, ${ct}-small&-line ${ct}-text ${ft}`]:{fontSize:it.fontSizeSM}}}};var Ke=(0,ke.Z)("Progress",it=>{const ct=it.marginXXS/2,ft=(0,De.TS)(it,{progressStepMarginInlineEnd:ct,progressStepMinWidth:ct,progressActiveMotionDuration:"2.4s"});return[xe(ft),Re(ft),Xe(ft),nt(ft)]},it=>({circleTextColor:it.colorText,defaultColor:it.colorInfo,remainingColor:it.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),rt=function(it,ct){var ft={};for(var yt in it)Object.prototype.hasOwnProperty.call(it,yt)&&ct.indexOf(yt)<0&&(ft[yt]=it[yt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,yt=Object.getOwnPropertySymbols(it);Et{const{prefixCls:ft,className:yt,rootClassName:Et,steps:Tt,strokeColor:_t,percent:Gt=0,size:hn="default",showInfo:Rn=!0,type:bn="line",status:dn,format:lr,style:jn}=it,Mn=rt(it,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),cr=ae.useMemo(()=>{var Bt,xt;const tn=He(it);return parseInt(tn!==void 0?(Bt=tn!=null?tn:0)===null||Bt===void 0?void 0:Bt.toString():(xt=Gt!=null?Gt:0)===null||xt===void 0?void 0:xt.toString(),10)},[Gt,it.success,it.successPercent]),hr=ae.useMemo(()=>!ut.includes(dn)&&cr>=100?"success":dn||"normal",[dn,cr]),{getPrefixCls:Dn,direction:qn,progress:Fn}=ae.useContext(de.E_),Ct=Dn("progress",ft),[cn,nn]=Ke(Ct),Sn=ae.useMemo(()=>{if(!Rn)return null;const Bt=He(it);let xt;const tn=lr||(fn=>`${fn}%`),Bn=bn==="line";return lr||hr!=="exception"&&hr!=="success"?xt=tn(Ue(Gt),Ue(Bt)):hr==="exception"?xt=Bn?ae.createElement(ye.Z,null):ae.createElement(he.Z,null):hr==="success"&&(xt=Bn?ae.createElement(Ae.Z,null):ae.createElement(E.Z,null)),ae.createElement("span",{className:`${Ct}-text`,title:typeof xt=="string"?xt:void 0},xt)},[Rn,Gt,cr,hr,bn,Ct,lr]),Ln=Array.isArray(_t)?_t[0]:_t,On=typeof _t=="string"||Array.isArray(_t)?_t:void 0;let mn;bn==="line"?mn=Tt?ae.createElement(je,Object.assign({},it,{strokeColor:On,prefixCls:Ct,steps:Tt}),Sn):ae.createElement(qe,Object.assign({},it,{strokeColor:Ln,prefixCls:Ct,direction:qn}),Sn):(bn==="circle"||bn==="dashboard")&&(mn=ae.createElement(et,Object.assign({},it,{strokeColor:Ln,prefixCls:Ct,progressStatus:hr}),Sn));const Pt=ne()(Ct,`${Ct}-status-${hr}`,`${Ct}-${bn==="dashboard"&&"circle"||Tt&&"steps"||bn}`,{[`${Ct}-inline-circle`]:bn==="circle"&&ze(hn,"circle")[0]<=20,[`${Ct}-show-info`]:Rn,[`${Ct}-${hn}`]:typeof hn=="string",[`${Ct}-rtl`]:qn==="rtl"},Fn==null?void 0:Fn.className,yt,Et,nn);return cn(ae.createElement("div",Object.assign({ref:ct,style:Object.assign(Object.assign({},Fn==null?void 0:Fn.style),jn),className:Pt,role:"progressbar","aria-valuenow":cr},(0,se.Z)(Mn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),mn))}),mt=lt},13570:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Ue}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ye=E,he=fe(7657),ce=function(Qe,We){return Ae.createElement(he.Z,(0,ae.Z)({},Qe,{ref:We,icon:ye}))},ne=Ae.forwardRef(ce),se=ne,de=fe(92310),le=fe.n(de),ie=fe(20068),oe=fe(42978),re=fe(75931),ee=fe(18929),a=fe(10228),y=fe(26112);function x(He,Qe){var We=He.disabled,ze=He.prefixCls,_e=He.character,Ve=He.characterRender,tt=He.index,et=He.count,dt=He.value,$e=He.allowHalf,Ze=He.focused,Me=He.onHover,qe=He.onClick,Ie=function(Re){Me(Re,tt)},je=function(Re){qe(Re,tt)},Je=function(Re){Re.keyCode===a.Z.ENTER&&qe(Re,tt)},Ye=tt+1,ke=new Set([ze]);dt===0&&tt===0&&Ze?ke.add("".concat(ze,"-focused")):$e&&dt+.5>=Ye&&dttt?"true":"false","aria-posinset":tt+1,"aria-setsize":et,tabIndex:We?-1:0},Ae.createElement("div",{className:"".concat(ze,"-first")},De),Ae.createElement("div",{className:"".concat(ze,"-second")},De)));return Ve&&(Te=Ve(Te,He)),Te}var b=Ae.forwardRef(x);function z(){var He=Ae.useRef({});function Qe(ze){return He.current[ze]}function We(ze){return function(_e){He.current[ze]=_e}}return[Qe,We]}function te(He){var Qe=He.pageXOffset,We="scrollLeft";if(typeof Qe!="number"){var ze=He.document;Qe=ze.documentElement[We],typeof Qe!="number"&&(Qe=ze.body[We])}return Qe}function ue(He){var Qe,We,ze=He.ownerDocument,_e=ze.body,Ve=ze&&ze.documentElement,tt=He.getBoundingClientRect();return Qe=tt.left,We=tt.top,Qe-=Ve.clientLeft||_e.clientLeft||0,We-=Ve.clientTop||_e.clientTop||0,{left:Qe,top:We}}function me(He){var Qe=ue(He),We=He.ownerDocument,ze=We.defaultView||We.parentWindow;return Qe.left+=te(ze),Qe.left}var ve=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ge(He,Qe){var We,ze=He.prefixCls,_e=ze===void 0?"rc-rate":ze,Ve=He.className,tt=He.defaultValue,et=He.value,dt=He.count,$e=dt===void 0?5:dt,Ze=He.allowHalf,Me=Ze===void 0?!1:Ze,qe=He.allowClear,Ie=qe===void 0?!0:qe,je=He.character,Je=je===void 0?"\u2605":je,Ye=He.characterRender,ke=He.disabled,De=He.direction,Te=De===void 0?"ltr":De,xe=He.tabIndex,Re=xe===void 0?0:xe,Xe=He.autoFocus,nt=He.onHoverChange,Ke=He.onChange,rt=He.onFocus,ht=He.onBlur,ut=He.onKeyDown,pt=He.onMouseLeave,lt=(0,re.Z)(He,ve),mt=z(),it=(0,oe.Z)(mt,2),ct=it[0],ft=it[1],yt=Ae.useRef(null),Et=function(){if(!ke){var fn;(fn=yt.current)===null||fn===void 0||fn.focus()}};Ae.useImperativeHandle(Qe,function(){return{focus:Et,blur:function(){if(!ke){var fn;(fn=yt.current)===null||fn===void 0||fn.blur()}}}});var Tt=(0,ee.Z)(tt||0,{value:et}),_t=(0,oe.Z)(Tt,2),Gt=_t[0],hn=_t[1],Rn=(0,ee.Z)(null),bn=(0,oe.Z)(Rn,2),dn=bn[0],lr=bn[1],jn=function(fn,Sr){var Vn=Te==="rtl",Ht=fn+1;if(Me){var Lt=ct(fn),gn=me(Lt),Rt=Lt.clientWidth;(Vn&&Sr-gn>Rt/2||!Vn&&Sr-gn0&&!Vn||Sr===a.Z.RIGHT&&Ht>0&&Vn?(Me?Ht-=.5:Ht-=1,Mn(Ht),fn.preventDefault()):Sr===a.Z.LEFT&&Ht<$e&&Vn&&(Me?Ht+=.5:Ht+=1,Mn(Ht),fn.preventDefault()),ut==null||ut(fn)};Ae.useEffect(function(){Xe&&!ke&&Et()},[]);var xt=new Array($e).fill(0).map(function(Bn,fn){return Ae.createElement(b,{ref:ft(fn),index:fn,count:$e,disabled:ke,prefixCls:"".concat(_e,"-star"),allowHalf:Me,value:Sn===null?Gt:Sn,onClick:Pt,onHover:On,key:Bn||fn,character:Je,characterRender:Ye,focused:Dn})}),tn=le()(_e,Ve,(We={},(0,ie.Z)(We,"".concat(_e,"-disabled"),ke),(0,ie.Z)(We,"".concat(_e,"-rtl"),Te==="rtl"),We));return Ae.createElement("ul",(0,ae.Z)({className:tn,onMouseLeave:mn,tabIndex:ke?-1:Re,onFocus:ke?null:Fn,onBlur:ke?null:Ct,onKeyDown:ke?null:Bt,ref:yt,role:"radiogroup"},(0,y.Z)(lt,{aria:!0,data:!0,attr:!0})),xt)}var pe=Ae.forwardRef(ge),Se=pe,be=fe(36355),Ee=fe(6848),Ce=fe(17313),Be=fe(83116),Pe=fe(37613);const Fe=He=>{const{componentCls:Qe}=He;return{[`${Qe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:He.marginXS},"> div":{transition:`all ${He.motionDurationMid}, outline 0s`,"&:hover":{transform:He.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${He.lineWidth}px dashed ${He.starColor}`,transform:He.starHoverScale}},"&-first, &-second":{color:He.starBg,transition:`all ${He.motionDurationMid}`,userSelect:"none",[He.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Qe}-star-first, &-half ${Qe}-star-second`]:{opacity:1},[`&-half ${Qe}-star-first, &-full ${Qe}-star-second`]:{color:"inherit"}}}},we=He=>({[`&-rtl${He.componentCls}`]:{direction:"rtl"}}),Le=He=>{const{componentCls:Qe}=He;return{[Qe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(He)),{display:"inline-block",margin:0,padding:0,color:He.starColor,fontSize:He.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Qe} ${Qe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Fe(He)),{[`+ ${Qe}-text`]:{display:"inline-block",marginInlineStart:He.marginXS,fontSize:He.fontSize}}),we(He))}};var Oe=(0,Be.Z)("Rate",He=>{const Qe=(0,Pe.TS)(He,{});return[Le(Qe)]},He=>({starColor:He.yellow6,starSize:He.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:He.colorFillContent})),Ge=function(He,Qe){var We={};for(var ze in He)Object.prototype.hasOwnProperty.call(He,ze)&&Qe.indexOf(ze)<0&&(We[ze]=He[ze]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(He);_e{const{prefixCls:We,className:ze,rootClassName:_e,style:Ve,tooltips:tt,character:et=Ae.createElement(se,null)}=He,dt=Ge(He,["prefixCls","className","rootClassName","style","tooltips","character"]),$e=(ke,De)=>{let{index:Te}=De;return tt?Ae.createElement(Ee.Z,{title:tt[Te]},ke):ke},{getPrefixCls:Ze,direction:Me,rate:qe}=Ae.useContext(be.E_),Ie=Ze("rate",We),[je,Je]=Oe(Ie),Ye=Object.assign(Object.assign({},qe==null?void 0:qe.style),Ve);return je(Ae.createElement(Se,Object.assign({ref:Qe,character:et,characterRender:$e},dt,{className:le()(ze,_e,Je,qe==null?void 0:qe.className),style:Ye,prefixCls:Ie,direction:Me})))})},61621:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Je}});var ae=fe(92310),Ae=fe.n(ae),E=fe(59301),ye=fe(36355),he=fe(2738),ne=Ye=>{const{prefixCls:ke,className:De,style:Te,size:xe,shape:Re}=Ye,Xe=Ae()({[`${ke}-lg`]:xe==="large",[`${ke}-sm`]:xe==="small"}),nt=Ae()({[`${ke}-circle`]:Re==="circle",[`${ke}-square`]:Re==="square",[`${ke}-round`]:Re==="round"}),Ke=E.useMemo(()=>typeof xe=="number"?{width:xe,height:xe,lineHeight:`${xe}px`}:{},[xe]);return E.createElement("span",{className:Ae()(ke,Xe,nt,De),style:Object.assign(Object.assign({},Ke),Te)})},se=fe(36237),de=fe(83116),le=fe(37613);const ie=new se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=Ye=>({height:Ye,lineHeight:`${Ye}px`}),re=Ye=>Object.assign({width:Ye},oe(Ye)),ee=Ye=>({background:Ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ie,animationDuration:Ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ye=>Object.assign({width:Ye*5,minWidth:Ye*5},oe(Ye)),y=Ye=>{const{skeletonAvatarCls:ke,gradientFromColor:De,controlHeight:Te,controlHeightLG:xe,controlHeightSM:Re}=Ye;return{[`${ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:De},re(Te)),[`${ke}${ke}-circle`]:{borderRadius:"50%"},[`${ke}${ke}-lg`]:Object.assign({},re(xe)),[`${ke}${ke}-sm`]:Object.assign({},re(Re))}},x=Ye=>{const{controlHeight:ke,borderRadiusSM:De,skeletonInputCls:Te,controlHeightLG:xe,controlHeightSM:Re,gradientFromColor:Xe}=Ye;return{[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe,borderRadius:De},a(ke)),[`${Te}-lg`]:Object.assign({},a(xe)),[`${Te}-sm`]:Object.assign({},a(Re))}},b=Ye=>Object.assign({width:Ye},oe(Ye)),z=Ye=>{const{skeletonImageCls:ke,imageSizeBase:De,gradientFromColor:Te,borderRadiusSM:xe}=Ye;return{[`${ke}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Te,borderRadius:xe},b(De*2)),{[`${ke}-path`]:{fill:"#bfbfbf"},[`${ke}-svg`]:Object.assign(Object.assign({},b(De)),{maxWidth:De*4,maxHeight:De*4}),[`${ke}-svg${ke}-svg-circle`]:{borderRadius:"50%"}}),[`${ke}${ke}-circle`]:{borderRadius:"50%"}}},te=(Ye,ke,De)=>{const{skeletonButtonCls:Te}=Ye;return{[`${De}${Te}-circle`]:{width:ke,minWidth:ke,borderRadius:"50%"},[`${De}${Te}-round`]:{borderRadius:ke}}},ue=Ye=>Object.assign({width:Ye*2,minWidth:Ye*2},oe(Ye)),me=Ye=>{const{borderRadiusSM:ke,skeletonButtonCls:De,controlHeight:Te,controlHeightLG:xe,controlHeightSM:Re,gradientFromColor:Xe}=Ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${De}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe,borderRadius:ke,width:Te*2,minWidth:Te*2},ue(Te))},te(Ye,Te,De)),{[`${De}-lg`]:Object.assign({},ue(xe))}),te(Ye,xe,`${De}-lg`)),{[`${De}-sm`]:Object.assign({},ue(Re))}),te(Ye,Re,`${De}-sm`))},ve=Ye=>{const{componentCls:ke,skeletonAvatarCls:De,skeletonTitleCls:Te,skeletonParagraphCls:xe,skeletonButtonCls:Re,skeletonInputCls:Xe,skeletonImageCls:nt,controlHeight:Ke,controlHeightLG:rt,controlHeightSM:ht,gradientFromColor:ut,padding:pt,marginSM:lt,borderRadius:mt,titleHeight:it,blockRadius:ct,paragraphLiHeight:ft,controlHeightXS:yt,paragraphMarginTop:Et}=Ye;return{[`${ke}`]:{display:"table",width:"100%",[`${ke}-header`]:{display:"table-cell",paddingInlineEnd:pt,verticalAlign:"top",[`${De}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ut},re(Ke)),[`${De}-circle`]:{borderRadius:"50%"},[`${De}-lg`]:Object.assign({},re(rt)),[`${De}-sm`]:Object.assign({},re(ht))},[`${ke}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Te}`]:{width:"100%",height:it,background:ut,borderRadius:ct,[`+ ${xe}`]:{marginBlockStart:ht}},[`${xe}`]:{padding:0,"> li":{width:"100%",height:ft,listStyle:"none",background:ut,borderRadius:ct,"+ li":{marginBlockStart:yt}}},[`${xe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ke}-content`]:{[`${Te}, ${xe} > li`]:{borderRadius:mt}}},[`${ke}-with-avatar ${ke}-content`]:{[`${Te}`]:{marginBlockStart:lt,[`+ ${xe}`]:{marginBlockStart:Et}}},[`${ke}${ke}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},me(Ye)),y(Ye)),x(Ye)),z(Ye)),[`${ke}${ke}-block`]:{width:"100%",[`${Re}`]:{width:"100%"},[`${Xe}`]:{width:"100%"}},[`${ke}${ke}-active`]:{[` + ${Te}, + ${xe} > li, + ${De}, + ${Re}, + ${Xe}, + ${nt} + `]:Object.assign({},ee(Ye))}}};var ge=(0,de.Z)("Skeleton",Ye=>{const{componentCls:ke}=Ye,De=(0,le.TS)(Ye,{skeletonAvatarCls:`${ke}-avatar`,skeletonTitleCls:`${ke}-title`,skeletonParagraphCls:`${ke}-paragraph`,skeletonButtonCls:`${ke}-button`,skeletonInputCls:`${ke}-input`,skeletonImageCls:`${ke}-image`,imageSizeBase:Ye.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ye.gradientFromColor} 25%, ${Ye.gradientToColor} 37%, ${Ye.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ve(De)]},Ye=>{const{colorFillContent:ke,colorFill:De}=Ye,Te=ke,xe=De;return{color:Te,colorGradientEnd:xe,gradientFromColor:Te,gradientToColor:xe,titleHeight:Ye.controlHeight/2,blockRadius:Ye.borderRadiusSM,paragraphMarginTop:Ye.marginLG+Ye.marginXXS,paragraphLiHeight:Ye.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=Ye=>{const{prefixCls:ke,className:De,rootClassName:Te,active:xe,shape:Re="circle",size:Xe="default"}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ke=nt("skeleton",ke),[rt,ht]=ge(Ke),ut=(0,he.Z)(Ye,["prefixCls","className"]),pt=Ae()(Ke,`${Ke}-element`,{[`${Ke}-active`]:xe},De,Te,ht);return rt(E.createElement("div",{className:pt},E.createElement(ne,Object.assign({prefixCls:`${Ke}-avatar`,shape:Re,size:Xe},ut))))},Ee=Ye=>{const{prefixCls:ke,className:De,rootClassName:Te,active:xe,block:Re=!1,size:Xe="default"}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ke=nt("skeleton",ke),[rt,ht]=ge(Ke),ut=(0,he.Z)(Ye,["prefixCls"]),pt=Ae()(Ke,`${Ke}-element`,{[`${Ke}-active`]:xe,[`${Ke}-block`]:Re},De,Te,ht);return rt(E.createElement("div",{className:pt},E.createElement(ne,Object.assign({prefixCls:`${Ke}-button`,size:Xe},ut))))};const Ce="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 Pe=Ye=>{const{prefixCls:ke,className:De,rootClassName:Te,style:xe,active:Re}=Ye,{getPrefixCls:Xe}=E.useContext(ye.E_),nt=Xe("skeleton",ke),[Ke,rt]=ge(nt),ht=Ae()(nt,`${nt}-element`,{[`${nt}-active`]:Re},De,Te,rt);return Ke(E.createElement("div",{className:ht},E.createElement("div",{className:Ae()(`${nt}-image`,De),style:xe},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},E.createElement("path",{d:Ce,className:`${nt}-image-path`})))))},we=Ye=>{const{prefixCls:ke,className:De,rootClassName:Te,active:xe,block:Re,size:Xe="default"}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ke=nt("skeleton",ke),[rt,ht]=ge(Ke),ut=(0,he.Z)(Ye,["prefixCls"]),pt=Ae()(Ke,`${Ke}-element`,{[`${Ke}-active`]:xe,[`${Ke}-block`]:Re},De,Te,ht);return rt(E.createElement("div",{className:pt},E.createElement(ne,Object.assign({prefixCls:`${Ke}-input`,size:Xe},ut))))},Le=fe(54476),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ge=Oe,Ne=fe(7657),Ue=function(ke,De){return E.createElement(Ne.Z,(0,Le.Z)({},ke,{ref:De,icon:Ge}))},He=E.forwardRef(Ue),Qe=He,ze=Ye=>{const{prefixCls:ke,className:De,rootClassName:Te,style:xe,active:Re,children:Xe}=Ye,{getPrefixCls:nt}=E.useContext(ye.E_),Ke=nt("skeleton",ke),[rt,ht]=ge(Ke),ut=Ae()(Ke,`${Ke}-element`,{[`${Ke}-active`]:Re},ht,De,Te),pt=Xe!=null?Xe:E.createElement(Qe,null);return rt(E.createElement("div",{className:ut},E.createElement("div",{className:Ae()(`${Ke}-image`,De),style:xe},pt)))},_e=fe(94480),tt=Ye=>{const ke=nt=>{const{width:Ke,rows:rt=2}=Ye;if(Array.isArray(Ke))return Ke[nt];if(rt-1===nt)return Ke},{prefixCls:De,className:Te,style:xe,rows:Re}=Ye,Xe=(0,_e.Z)(Array(Re)).map((nt,Ke)=>E.createElement("li",{key:Ke,style:{width:ke(Ke)}}));return E.createElement("ul",{className:Ae()(De,Te),style:xe},Xe)},dt=Ye=>{let{prefixCls:ke,className:De,width:Te,style:xe}=Ye;return E.createElement("h3",{className:Ae()(ke,De),style:Object.assign({width:Te},xe)})};function $e(Ye){return Ye&&typeof Ye=="object"?Ye:{}}function Ze(Ye,ke){return Ye&&!ke?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Me(Ye,ke){return!Ye&&ke?{width:"38%"}:Ye&&ke?{width:"50%"}:{}}function qe(Ye,ke){const De={};return(!Ye||!ke)&&(De.width="61%"),!Ye&&ke?De.rows=3:De.rows=2,De}const Ie=Ye=>{const{prefixCls:ke,loading:De,className:Te,rootClassName:xe,style:Re,children:Xe,avatar:nt=!1,title:Ke=!0,paragraph:rt=!0,active:ht,round:ut}=Ye,{getPrefixCls:pt,direction:lt,skeleton:mt}=E.useContext(ye.E_),it=pt("skeleton",ke),[ct,ft]=ge(it);if(De||!("loading"in Ye)){const yt=!!nt,Et=!!Ke,Tt=!!rt;let _t;if(yt){const Rn=Object.assign(Object.assign({prefixCls:`${it}-avatar`},Ze(Et,Tt)),$e(nt));_t=E.createElement("div",{className:`${it}-header`},E.createElement(ne,Object.assign({},Rn)))}let Gt;if(Et||Tt){let Rn;if(Et){const dn=Object.assign(Object.assign({prefixCls:`${it}-title`},Me(yt,Tt)),$e(Ke));Rn=E.createElement(dt,Object.assign({},dn))}let bn;if(Tt){const dn=Object.assign(Object.assign({prefixCls:`${it}-paragraph`},qe(yt,Et)),$e(rt));bn=E.createElement(tt,Object.assign({},dn))}Gt=E.createElement("div",{className:`${it}-content`},Rn,bn)}const hn=Ae()(it,{[`${it}-with-avatar`]:yt,[`${it}-active`]:ht,[`${it}-rtl`]:lt==="rtl",[`${it}-round`]:ut},mt==null?void 0:mt.className,Te,xe,ft);return ct(E.createElement("div",{className:hn,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),Re)},_t,Gt))}return typeof Xe!="undefined"?Xe:null};Ie.Button=Ee,Ie.Avatar=Se,Ie.Input=we,Ie.Image=Pe,Ie.Node=ze;var je=Ie,Je=je},31797:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return ge}});var ae=fe(59301),Ae=fe(56762),E=fe(92343),ye=fe(92310),he=fe.n(ye),ce=fe(36355),ne=fe(61621),de=pe=>{const{value:Se,formatter:be,precision:Ee,decimalSeparator:Ce,groupSeparator:Be="",prefixCls:Pe}=pe;let Fe;if(typeof be=="function")Fe=be(Se);else{const we=String(Se),Le=we.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Le||we==="-")Fe=we;else{const Oe=Le[1];let Ge=Le[2]||"0",Ne=Le[4]||"";Ge=Ge.replace(/\B(?=(\d{3})+(?!\d))/g,Be),typeof Ee=="number"&&(Ne=Ne.padEnd(Ee,"0").slice(0,Ee>0?Ee:0)),Ne&&(Ne=`${Ce}${Ne}`),Fe=[ae.createElement("span",{key:"int",className:`${Pe}-content-value-int`},Oe,Ge),Ne&&ae.createElement("span",{key:"decimal",className:`${Pe}-content-value-decimal`},Ne)]}}return ae.createElement("span",{className:`${Pe}-content-value`},Fe)},le=fe(17313),ie=fe(83116),oe=fe(37613);const re=pe=>{const{componentCls:Se,marginXXS:be,padding:Ee,colorTextDescription:Ce,titleFontSize:Be,colorTextHeading:Pe,contentFontSize:Fe,fontFamily:we}=pe;return{[`${Se}`]:Object.assign(Object.assign({},(0,le.Wf)(pe)),{[`${Se}-title`]:{marginBottom:be,color:Ce,fontSize:Be},[`${Se}-skeleton`]:{paddingTop:Ee},[`${Se}-content`]:{color:Pe,fontSize:Fe,fontFamily:we,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:be},[`${Se}-content-suffix`]:{marginInlineStart:be}}})}};var ee=(0,ie.Z)("Statistic",pe=>{const Se=(0,oe.TS)(pe,{});return[re(Se)]},pe=>{const{fontSizeHeading3:Se,fontSize:be}=pe;return{titleFontSize:be,contentFontSize:Se}}),y=pe=>{const{prefixCls:Se,className:be,rootClassName:Ee,style:Ce,valueStyle:Be,value:Pe=0,title:Fe,valueRender:we,prefix:Le,suffix:Oe,loading:Ge=!1,onMouseEnter:Ne,onMouseLeave:Ue,decimalSeparator:He=".",groupSeparator:Qe=","}=pe,{getPrefixCls:We,direction:ze,statistic:_e}=ae.useContext(ce.E_),Ve=We("statistic",Se),[tt,et]=ee(Ve),dt=ae.createElement(de,Object.assign({decimalSeparator:He,groupSeparator:Qe,prefixCls:Ve},pe,{value:Pe})),$e=he()(Ve,{[`${Ve}-rtl`]:ze==="rtl"},_e==null?void 0:_e.className,be,Ee,et);return tt(ae.createElement("div",{className:$e,style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Ce),onMouseEnter:Ne,onMouseLeave:Ue},Fe&&ae.createElement("div",{className:`${Ve}-title`},Fe),ae.createElement(ne.Z,{paragraph:!1,loading:Ge,className:`${Ve}-skeleton`},ae.createElement("div",{style:Be,className:`${Ve}-content`},Le&&ae.createElement("span",{className:`${Ve}-content-prefix`},Le),we?we(dt):dt,Oe&&ae.createElement("span",{className:`${Ve}-content-suffix`},Oe)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(pe,Se){let be=pe;const Ee=/\[[^\]]*]/g,Ce=(Se.match(Ee)||[]).map(we=>we.slice(1,-1)),Be=Se.replace(Ee,"[]"),Pe=x.reduce((we,Le)=>{let[Oe,Ge]=Le;if(we.includes(Oe)){const Ne=Math.floor(be/Ge);return be-=Ne*Ge,we.replace(new RegExp(`${Oe}+`,"g"),Ue=>{const He=Ue.length;return Ne.toString().padStart(He,"0")})}return we},Be);let Fe=0;return Pe.replace(Ee,()=>{const we=Ce[Fe];return Fe+=1,we})}function z(pe,Se){const{format:be=""}=Se,Ee=new Date(pe).getTime(),Ce=Date.now(),Be=Math.max(Ee-Ce,0);return b(Be,be)}const te=1e3/30;function ue(pe){return new Date(pe).getTime()}const me=pe=>{const{value:Se,format:be="HH:mm:ss",onChange:Ee,onFinish:Ce}=pe,Be=(0,Ae.Z)(),Pe=ae.useRef(null),Fe=()=>{Ce==null||Ce(),Pe.current&&(clearInterval(Pe.current),Pe.current=null)},we=()=>{const Ge=ue(Se);Ge>=Date.now()&&(Pe.current=setInterval(()=>{Be(),Ee==null||Ee(Ge-Date.now()),Ge(we(),()=>{Pe.current&&(clearInterval(Pe.current),Pe.current=null)}),[Se]);const Le=(Ge,Ne)=>z(Ge,Object.assign(Object.assign({},Ne),{format:be})),Oe=Ge=>(0,E.Tm)(Ge,{title:void 0});return ae.createElement(y,Object.assign({},pe,{valueRender:Oe,formatter:Le}))};var ve=ae.memo(me);y.Countdown=ve;var ge=y},15969:function(gt,ot,fe){"use strict";fe.d(ot,{N:function(){return ae}});const ae=Ae=>({color:Ae.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ae.motionDurationSlow}`,"&:focus, &:hover":{color:Ae.colorLinkHover},"&:active":{color:Ae.colorLinkActive}})},1710:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return Ms}});var ae={},Ae="rc-table-internal-hook",E=fe(42978),ye=fe(6089),he=fe(34280),ce=fe(13697),ne=fe(59301),se=fe(4676);function de(at){var st=ne.createContext(void 0),vt=function(Dt){var Ot=Dt.value,Zt=Dt.children,Kt=ne.useRef(Ot);Kt.current=Ot;var Ut=ne.useState(function(){return{getValue:function(){return Kt.current},listeners:new Set}}),an=(0,E.Z)(Ut,1),yn=an[0];return(0,he.Z)(function(){(0,se.unstable_batchedUpdates)(function(){yn.listeners.forEach(function(un){un(Ot)})})},[Ot]),ne.createElement(st.Provider,{value:yn},Zt)};return{Context:st,Provider:vt,defaultValue:at}}function le(at,st){var vt=(0,ye.Z)(typeof st=="function"?st:function(un){if(st===void 0)return un;if(!Array.isArray(st))return un[st];var Wn={};return st.forEach(function(kn){Wn[kn]=un[kn]}),Wn}),St=ne.useContext(at==null?void 0:at.Context),Dt=St||{},Ot=Dt.listeners,Zt=Dt.getValue,Kt=ne.useRef();Kt.current=vt(St?Zt():at==null?void 0:at.defaultValue);var Ut=ne.useState({}),an=(0,E.Z)(Ut,2),yn=an[1];return(0,he.Z)(function(){if(!St)return;function un(Wn){var kn=vt(Wn);(0,ce.Z)(Kt.current,kn,!0)||yn({})}return Ot.add(un),function(){Ot.delete(un)}},[St]),Kt.current}var ie=fe(54476),oe=fe(8654);function re(){var at=ne.createContext(null);function st(){return ne.useContext(at)}function vt(Dt,Ot){var Zt=(0,oe.Yr)(Dt),Kt=function(an,yn){var un=Zt?{ref:yn}:{},Wn=ne.useRef(0),kn=ne.useRef(an),Un=st();return Un!==null?ne.createElement(Dt,(0,ie.Z)({},an,un)):((!Ot||Ot(kn.current,an))&&(Wn.current+=1),kn.current=an,ne.createElement(at.Provider,{value:Wn.current},ne.createElement(Dt,(0,ie.Z)({},an,un))))};return Zt?ne.forwardRef(Kt):Kt}function St(Dt,Ot){var Zt=(0,oe.Yr)(Dt),Kt=function(an,yn){var un=Zt?{ref:yn}:{};return st(),ne.createElement(Dt,(0,ie.Z)({},an,un))};return Zt?ne.memo(ne.forwardRef(Kt),Ot):ne.memo(Kt,Ot)}return{makeImmutable:vt,responseImmutable:St,useImmutableMark:st}}var ee=re(),a=ee.makeImmutable,y=ee.responseImmutable,x=ee.useImmutableMark,b=re(),z=b.makeImmutable,te=b.responseImmutable,ue=b.useImmutableMark,me=de(),ve=me;function ge(at,st){var vt=ne.useRef(0);vt.current+=1;var St=ne.useRef(at),Dt=[];Object.keys(at||{}).map(function(Zt){var Kt;(at==null?void 0:at[Zt])!==((Kt=St.current)===null||Kt===void 0?void 0:Kt[Zt])&&Dt.push(Zt)}),St.current=at;var Ot=ne.useRef([]);return Dt.length&&(Ot.current=Dt),ne.useDebugValue(vt.current),ne.useDebugValue(Ot.current.join(", ")),st&&console.log("".concat(st,":"),vt.current,Ot.current),vt.current}var pe=null,Se=ne.memo(function(){var at=ge();return ne.createElement("h1",null,"Render Times: ",at)});Se.displayName="RenderBlock";var be=fe(76190),Ee=fe(33885),Ce=fe(20068),Be=fe(92310),Pe=fe.n(Be),Fe=fe(80547),we=fe(97938),Le=fe(48736),Oe=ne.createContext({renderWithProps:!1}),Ge=Oe,Ne="RC_TABLE_KEY";function Ue(at){return at==null?[]:Array.isArray(at)?at:[at]}function He(at){var st=[],vt={};return at.forEach(function(St){for(var Dt=St||{},Ot=Dt.key,Zt=Dt.dataIndex,Kt=Ot||Ue(Zt).join("-")||Ne;vt[Kt];)Kt="".concat(Kt,"_next");vt[Kt]=!0,st.push(Kt)}),st}function Qe(at){return at!=null}function We(at){return at&&(0,be.Z)(at)==="object"&&!Array.isArray(at)&&!ne.isValidElement(at)}function ze(at,st,vt,St,Dt,Ot){var Zt=ne.useContext(Ge),Kt=ue(),Ut=(0,Fe.Z)(function(){if(Qe(St))return[St];var an=st==null||st===""?[]:Array.isArray(st)?st:[st],yn=(0,we.Z)(at,an),un=yn,Wn=void 0;if(Dt){var kn=Dt(yn,at,vt);We(kn)?(un=kn.children,Wn=kn.props,Zt.renderWithProps=!0):un=kn}return[un,Wn]},[Kt,at,St,st,Dt,vt],function(an,yn){if(Ot){var un=(0,E.Z)(an,2),Wn=un[1],kn=(0,E.Z)(yn,2),Un=kn[1];return Ot(Un,Wn)}return Zt.renderWithProps?!0:!(0,ce.Z)(an,yn,!0)});return Ut}function _e(at,st,vt,St){var Dt=at+st-1;return at<=St&&Dt>=vt}function Ve(at,st){return le(ve,function(vt){var St=_e(at,st||1,vt.hoverStartRow,vt.hoverEndRow);return[St,vt.onHover]})}var tt=function(st){var vt=st.ellipsis,St=st.rowType,Dt=st.children,Ot,Zt=vt===!0?{showTitle:!0}:vt;return Zt&&(Zt.showTitle||St==="header")&&(typeof Dt=="string"||typeof Dt=="number"?Ot=Dt.toString():ne.isValidElement(Dt)&&typeof Dt.props.children=="string"&&(Ot=Dt.props.children)),Ot};function et(at){var st,vt,St,Dt,Ot,Zt,Kt,Ut,an=at.component,yn=at.children,un=at.ellipsis,Wn=at.scope,kn=at.prefixCls,Un=at.className,Cr=at.align,fr=at.record,Ar=at.render,pr=at.dataIndex,Nr=at.renderIndex,$r=at.shouldCellUpdate,ea=at.index,Kr=at.rowType,ca=at.colSpan,va=at.rowSpan,_r=at.fixLeft,Vr=at.fixRight,zr=at.firstFixLeft,Dr=at.lastFixLeft,Zr=at.firstFixRight,la=at.lastFixRight,Ea=at.appendNode,ha=at.additionalProps,na=ha===void 0?{}:ha,Ca=at.isSticky,wa="".concat(kn,"-cell"),_a=le(ve,["supportSticky","allColumnsFixedLeft"]),La=_a.supportSticky,Va=_a.allColumnsFixedLeft,Qa=ze(fr,pr,Nr,yn,Ar,$r),ya=(0,E.Z)(Qa,2),Xa=ya[0],Ia=ya[1],Ua={},Ha=typeof _r=="number"&&La,fo=typeof Vr=="number"&&La;Ha&&(Ua.position="sticky",Ua.left=_r),fo&&(Ua.position="sticky",Ua.right=Vr);var sa=(st=(vt=(St=Ia==null?void 0:Ia.colSpan)!==null&&St!==void 0?St:na.colSpan)!==null&&vt!==void 0?vt:ca)!==null&&st!==void 0?st:1,aa=(Dt=(Ot=(Zt=Ia==null?void 0:Ia.rowSpan)!==null&&Zt!==void 0?Zt:na.rowSpan)!==null&&Ot!==void 0?Ot:va)!==null&&Dt!==void 0?Dt:1,ra=Ve(ea,aa),Jr=(0,E.Z)(ra,2),Ta=Jr[0],qr=Jr[1],ma=function(qa){var mo;fr&&qr(ea,ea+aa-1),na==null||(mo=na.onMouseEnter)===null||mo===void 0||mo.call(na,qa)},Fa=function(qa){var mo;fr&&qr(-1,-1),na==null||(mo=na.onMouseLeave)===null||mo===void 0||mo.call(na,qa)};if(sa===0||aa===0)return null;var Ba=(Kt=na.title)!==null&&Kt!==void 0?Kt:tt({rowType:Kr,ellipsis:un,children:Xa}),io=Pe()(wa,Un,(Ut={},(0,Ce.Z)(Ut,"".concat(wa,"-fix-left"),Ha&&La),(0,Ce.Z)(Ut,"".concat(wa,"-fix-left-first"),zr&&La),(0,Ce.Z)(Ut,"".concat(wa,"-fix-left-last"),Dr&&La),(0,Ce.Z)(Ut,"".concat(wa,"-fix-left-all"),Dr&&Va&&La),(0,Ce.Z)(Ut,"".concat(wa,"-fix-right"),fo&&La),(0,Ce.Z)(Ut,"".concat(wa,"-fix-right-first"),Zr&&La),(0,Ce.Z)(Ut,"".concat(wa,"-fix-right-last"),la&&La),(0,Ce.Z)(Ut,"".concat(wa,"-ellipsis"),un),(0,Ce.Z)(Ut,"".concat(wa,"-with-append"),Ea),(0,Ce.Z)(Ut,"".concat(wa,"-fix-sticky"),(Ha||fo)&&Ca&&La),(0,Ce.Z)(Ut,"".concat(wa,"-row-hover"),!Ia&&Ta),Ut),na.className,Ia==null?void 0:Ia.className),ro={};Cr&&(ro.textAlign=Cr);var Oo=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},Ua),na.style),ro),Ia==null?void 0:Ia.style),Ja=Xa;return(0,be.Z)(Ja)==="object"&&!Array.isArray(Ja)&&!ne.isValidElement(Ja)&&(Ja=null),un&&(Dr||Zr)&&(Ja=ne.createElement("span",{className:"".concat(wa,"-content")},Ja)),ne.createElement(an,(0,ie.Z)({},Ia,na,{className:io,style:Oo,title:Ba,scope:Wn,onMouseEnter:ma,onMouseLeave:Fa,colSpan:sa!==1?sa:null,rowSpan:aa!==1?aa:null}),Ea,Ja)}var dt=ne.memo(et);function $e(at,st,vt,St,Dt,Ot){var Zt=vt[at]||{},Kt=vt[st]||{},Ut,an;Zt.fixed==="left"?Ut=St.left[Dt==="rtl"?st:at]:Kt.fixed==="right"&&(an=St.right[Dt==="rtl"?at:st]);var yn=!1,un=!1,Wn=!1,kn=!1,Un=vt[st+1],Cr=vt[at-1],fr=!(Ot!=null&&Ot.children);if(Dt==="rtl"){if(Ut!==void 0){var Ar=Cr&&Cr.fixed==="left";kn=!Ar&&fr}else if(an!==void 0){var pr=Un&&Un.fixed==="right";Wn=!pr&&fr}}else if(Ut!==void 0){var Nr=Un&&Un.fixed==="left";yn=!Nr&&fr}else if(an!==void 0){var $r=Cr&&Cr.fixed==="right";un=!$r&&fr}return{fixLeft:Ut,fixRight:an,lastFixLeft:yn,firstFixRight:un,lastFixRight:Wn,firstFixLeft:kn,isSticky:St.isSticky}}var Ze=ne.createContext({}),Me=Ze;function qe(at){var st=at.className,vt=at.index,St=at.children,Dt=at.colSpan,Ot=Dt===void 0?1:Dt,Zt=at.rowSpan,Kt=at.align,Ut=le(ve,["prefixCls","direction"]),an=Ut.prefixCls,yn=Ut.direction,un=ne.useContext(Me),Wn=un.scrollColumnIndex,kn=un.stickyOffsets,Un=un.flattenColumns,Cr=un.columns,fr=vt+Ot-1,Ar=fr+1===Wn?Ot+1:Ot,pr=$e(vt,vt+Ar-1,Un,kn,yn,Cr==null?void 0:Cr[vt]);return ne.createElement(dt,(0,ie.Z)({className:st,index:vt,component:"td",prefixCls:an,record:null,dataIndex:null,align:Kt,colSpan:Ar,rowSpan:Zt,render:function(){return St}},pr))}var Ie=fe(75931),je=["children"];function Je(at){var st=at.children,vt=(0,Ie.Z)(at,je);return ne.createElement("tr",vt,st)}function Ye(at){var st=at.children;return st}Ye.Row=Je,Ye.Cell=qe;var ke=Ye;function De(at){var st=at.children,vt=at.stickyOffsets,St=at.flattenColumns,Dt=at.columns,Ot=le(ve,"prefixCls"),Zt=St.length-1,Kt=St[Zt],Ut=ne.useMemo(function(){return{stickyOffsets:vt,flattenColumns:St,scrollColumnIndex:Kt!=null&&Kt.scrollbar?Zt:null,columns:Dt}},[Kt,St,Zt,vt,Dt]);return ne.createElement(Me.Provider,{value:Ut},ne.createElement("tfoot",{className:"".concat(Ot,"-summary")},st))}var Te=te(De),xe=ke,Re=fe(70425),Xe=fe(29301),nt=fe(29194),Ke=fe(3465),rt=fe(75152),ht=fe(26112);function ut(at,st,vt,St,Dt,Ot,Zt){at.push({record:st,indent:vt,index:Zt});var Kt=Ot(st),Ut=Dt==null?void 0:Dt.has(Kt);if(st&&Array.isArray(st[St])&&Ut)for(var an=0;an1?zr-1:0),Zr=1;Zr=0;Kt-=1){var Ut=st[Kt],an=vt&&vt[Kt],yn=an&&an[Rn];if(Ut||yn||Zt){var un=yn||{},Wn=un.columnType,kn=(0,Ie.Z)(un,dn);Dt.unshift(ne.createElement("col",(0,ie.Z)({key:Kt,style:{width:Ut}},kn))),Zt=!0}}return ne.createElement("colgroup",null,Dt)}var jn=lr,Mn=fe(94480),cr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function hr(at,st){return(0,ne.useMemo)(function(){for(var vt=[],St=0;St1?"colgroup":"col":null,ellipsis:fr.ellipsis,align:fr.align,component:fr.title?Ot:Zt,prefixCls:yn,key:kn[Cr]},Ar,{additionalProps:pr,rowType:"header"}))}))}Fn.displayName="HeaderRow";var Ct=Fn;function cn(at){var st=[];function vt(Zt,Kt){var Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;st[Ut]=st[Ut]||[];var an=Kt,yn=Zt.filter(Boolean).map(function(un){var Wn={key:un.key,className:un.className||"",children:un.title,column:un,colStart:an},kn=1,Un=un.children;return Un&&Un.length>0&&(kn=vt(Un,an,Ut+1).reduce(function(Cr,fr){return Cr+fr},0),Wn.hasSubColumns=!0),"colSpan"in un&&(kn=un.colSpan),"rowSpan"in un&&(Wn.rowSpan=un.rowSpan),Wn.colSpan=kn,Wn.colEnd=Wn.colStart+kn-1,st[Ut].push(Wn),an+=kn,kn});return yn}vt(at,0);for(var St=st.length,Dt=function(Kt){st[Kt].forEach(function(Ut){!("rowSpan"in Ut)&&!Ut.hasSubColumns&&(Ut.rowSpan=St-Kt)})},Ot=0;Ot1&&arguments[1]!==void 0?arguments[1]:"";return typeof st=="number"?st:st.endsWith("%")?at*parseFloat(st)/100:null}function mn(at,st){return ne.useMemo(function(){if(st&&st>0){var vt=0,St=0;at.forEach(function(an){var yn=On(st,an.width);yn?vt+=yn:St+=1});var Dt=st-vt,Ot=St,Zt=Dt/St,Kt=0,Ut=at.map(function(an){var yn=(0,Ee.Z)({},an),un=On(st,yn.width);if(un)yn.width=un;else{var Wn=Math.floor(Zt);yn.width=Ot===1?Dt:Wn,Dt-=Wn,Ot-=1}return Kt+=yn.width,yn});return[Ut,Kt]}return[at,st]},[at,st])}var Pt=["children"],Bt=["fixed"];function xt(at){return(0,Ln.Z)(at).filter(function(st){return ne.isValidElement(st)}).map(function(st){var vt=st.key,St=st.props,Dt=St.children,Ot=(0,Ie.Z)(St,Pt),Zt=(0,Ee.Z)({key:vt},Ot);return Dt&&(Zt.children=xt(Dt)),Zt})}function tn(at){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return at.filter(function(vt){return vt&&(0,be.Z)(vt)==="object"}).reduce(function(vt,St,Dt){var Ot=St.fixed,Zt=Ot===!0?"left":Ot,Kt="".concat(st,"-").concat(Dt),Ut=St.children;return Ut&&Ut.length>0?[].concat((0,Mn.Z)(vt),(0,Mn.Z)(tn(Ut,Kt).map(function(an){return(0,Ee.Z)({fixed:Zt},an)}))):[].concat((0,Mn.Z)(vt),[(0,Ee.Z)((0,Ee.Z)({key:Kt},St),{},{fixed:Zt})])},[])}function Bn(at){for(var st=!0,vt=0;vt=0;Ot-=1){var Zt=at[Ot];if(Dt&&Zt.fixed!=="right")Dt=!1;else if(!Dt&&Zt.fixed==="right"){warning(!1,"Index ".concat(Ot+1," of `columns` missing `fixed='right'` prop."));break}}}function fn(at){return at.map(function(st){var vt=st.fixed,St=(0,Ie.Z)(st,Bt),Dt=vt;return vt==="left"?Dt="right":vt==="right"&&(Dt="left"),(0,Ee.Z)({fixed:Dt},St)})}function Sr(at,st){var vt=at.prefixCls,St=at.columns,Dt=at.children,Ot=at.expandable,Zt=at.expandedKeys,Kt=at.columnTitle,Ut=at.getRowKey,an=at.onTriggerExpand,yn=at.expandIcon,un=at.rowExpandable,Wn=at.expandIconColumnIndex,kn=at.direction,Un=at.expandRowByClick,Cr=at.columnWidth,fr=at.fixed,Ar=at.scrollWidth,pr=ne.useMemo(function(){return St||xt(Dt)},[St,Dt]),Nr=ne.useMemo(function(){if(Ot){var Vr,zr=pr.slice();if(!zr.includes(ae)){var Dr=Wn||0;Dr>=0&&zr.splice(Dr,0,ae)}var Zr=zr.indexOf(ae);zr=zr.filter(function(na,Ca){return na!==ae||Ca===Zr});var la=pr[Zr],Ea;(fr==="left"||fr)&&!Wn?Ea="left":(fr==="right"||fr)&&Wn===pr.length?Ea="right":Ea=la?la.fixed:null;var ha=(Vr={},(0,Ce.Z)(Vr,Rn,{className:"".concat(vt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ce.Z)(Vr,"title",Kt),(0,Ce.Z)(Vr,"fixed",Ea),(0,Ce.Z)(Vr,"className","".concat(vt,"-row-expand-icon-cell")),(0,Ce.Z)(Vr,"width",Cr),(0,Ce.Z)(Vr,"render",function(Ca,wa,_a){var La=Ut(wa,_a),Va=Zt.has(La),Qa=un?un(wa):!0,ya=yn({prefixCls:vt,expanded:Va,expandable:Qa,record:wa,onExpand:an});return Un?ne.createElement("span",{onClick:function(Ia){return Ia.stopPropagation()}},ya):ya}),Vr);return zr.map(function(na){return na===ae?ha:na})}return pr.filter(function(na){return na!==ae})},[Ot,pr,Ut,Zt,yn,kn]),$r=ne.useMemo(function(){var Vr=Nr;return st&&(Vr=st(Vr)),Vr.length||(Vr=[{render:function(){return null}}]),Vr},[st,Nr,kn]),ea=ne.useMemo(function(){return kn==="rtl"?fn(tn($r)):tn($r)},[$r,kn,Ar]),Kr=mn(ea,Ar),ca=(0,E.Z)(Kr,2),va=ca[0],_r=ca[1];return[$r,va,_r]}var Vn=Sr;function Ht(at){var st,vt=at.prefixCls,St=at.record,Dt=at.onExpand,Ot=at.expanded,Zt=at.expandable,Kt="".concat(vt,"-row-expand-icon");if(!Zt)return ne.createElement("span",{className:Pe()(Kt,"".concat(vt,"-row-spaced"))});var Ut=function(yn){Dt(St,yn),yn.stopPropagation()};return ne.createElement("span",{className:Pe()(Kt,(st={},(0,Ce.Z)(st,"".concat(vt,"-row-expanded"),Ot),(0,Ce.Z)(st,"".concat(vt,"-row-collapsed"),!Ot),st)),onClick:Ut})}function Lt(at,st,vt){var St=[];function Dt(Ot){(Ot||[]).forEach(function(Zt,Kt){St.push(st(Zt,Kt)),Dt(Zt[vt])})}return Dt(at),St}function gn(at,st,vt){var St=bn(at),Dt=St.expandIcon,Ot=St.expandedRowKeys,Zt=St.defaultExpandedRowKeys,Kt=St.defaultExpandAllRows,Ut=St.expandedRowRender,an=St.onExpand,yn=St.onExpandedRowsChange,un=St.childrenColumnName,Wn=Dt||Ht,kn=un||"children",Un=ne.useMemo(function(){return Ut?"row":at.expandable&&at.internalHooks===Ae&&at.expandable.__PARENT_RENDER_ICON__||st.some(function(ea){return ea&&(0,be.Z)(ea)==="object"&&ea[kn]})?"nest":!1},[!!Ut,st]),Cr=ne.useState(function(){return Zt||(Kt?Lt(st,vt,kn):[])}),fr=(0,E.Z)(Cr,2),Ar=fr[0],pr=fr[1],Nr=ne.useMemo(function(){return new Set(Ot||Ar||[])},[Ot,Ar]),$r=ne.useCallback(function(ea){var Kr=vt(ea,st.indexOf(ea)),ca,va=Nr.has(Kr);va?(Nr.delete(Kr),ca=(0,Mn.Z)(Nr)):ca=[].concat((0,Mn.Z)(Nr),[Kr]),pr(ca),an&&an(!va,ea),yn&&yn(ca)},[vt,Nr,st,an,yn]);return[St,Un,Nr,Wn,kn,$r]}function Rt(at,st,vt,St){var Dt=at.map(function(Ot,Zt){return $e(Zt,Zt,at,st,vt,St==null?void 0:St[Zt])});return(0,Fe.Z)(function(){return Dt},[Dt],function(Ot,Zt){return!(0,ce.Z)(Ot,Zt)})}function Pn(at){var st=(0,ne.useRef)(at),vt=(0,ne.useState)({}),St=(0,E.Z)(vt,2),Dt=St[1],Ot=(0,ne.useRef)(null),Zt=(0,ne.useRef)([]);function Kt(Ut){Zt.current.push(Ut);var an=Promise.resolve();Ot.current=an,an.then(function(){if(Ot.current===an){var yn=Zt.current,un=st.current;Zt.current=[],yn.forEach(function(Wn){st.current=Wn(st.current)}),Ot.current=null,un!==st.current&&Dt({})}})}return(0,ne.useEffect)(function(){return function(){Ot.current=null}},[]),[st.current,Kt]}function _n(at){var st=(0,ne.useRef)(at||null),vt=(0,ne.useRef)();function St(){window.clearTimeout(vt.current)}function Dt(Zt){st.current=Zt,St(),vt.current=window.setTimeout(function(){st.current=null,vt.current=void 0},100)}function Ot(){return st.current}return(0,ne.useEffect)(function(){return St},[]),[Dt,Ot]}function ir(){var at=ne.useState(-1),st=(0,E.Z)(at,2),vt=st[0],St=st[1],Dt=ne.useState(-1),Ot=(0,E.Z)(Dt,2),Zt=Ot[0],Kt=Ot[1],Ut=ne.useCallback(function(an,yn){St(an),Kt(yn)},[]);return[vt,Zt,Ut]}var An=fe(47273),bt=(0,An.Z)()?window:null;function kt(at,st){var vt=(0,be.Z)(at)==="object"?at:{},St=vt.offsetHeader,Dt=St===void 0?0:St,Ot=vt.offsetSummary,Zt=Ot===void 0?0:Ot,Kt=vt.offsetScroll,Ut=Kt===void 0?0:Kt,an=vt.getContainer,yn=an===void 0?function(){return bt}:an,un=yn()||bt;return ne.useMemo(function(){var Wn=!!at;return{isSticky:Wn,stickyClassName:Wn?"".concat(st,"-sticky-holder"):"",offsetHeader:Dt,offsetSummary:Zt,offsetScroll:Ut,container:un}},[Ut,Dt,Zt,st,un])}function Nt(at,st,vt){var St=(0,ne.useMemo)(function(){for(var Dt=[],Ot=[],Zt=0,Kt=0,Ut=0;Ut=un&&(na=un-Wn),Zt({scrollLeft:na/un*(yn+2)}),pr.current.x=Zr.pageX},Vr=function(){if(Ot.current){var Zr=(0,on.os)(Ot.current).top,la=Zr+Ot.current.offsetHeight,Ea=Ut===window?document.documentElement.scrollTop+window.innerHeight:(0,on.os)(Ut).top+Ut.clientHeight;la-(0,rt.Z)()<=Ea||Zr>=Ea-Kt?Ar(function(ha){return(0,Ee.Z)((0,Ee.Z)({},ha),{},{isHiddenScrollBar:!0})}):Ar(function(ha){return(0,Ee.Z)((0,Ee.Z)({},ha),{},{isHiddenScrollBar:!1})})}},zr=function(Zr){Ar(function(la){return(0,Ee.Z)((0,Ee.Z)({},la),{},{scrollLeft:Zr/yn*un||0})})};return ne.useImperativeHandle(vt,function(){return{setScrollLeft:zr}}),ne.useEffect(function(){var Dr=(0,rn.Z)(document.body,"mouseup",ca,!1),Zr=(0,rn.Z)(document.body,"mousemove",_r,!1);return Vr(),function(){Dr.remove(),Zr.remove()}},[Wn,ea]),ne.useEffect(function(){var Dr=(0,rn.Z)(Ut,"scroll",Vr,!1),Zr=(0,rn.Z)(window,"resize",Vr,!1);return function(){Dr.remove(),Zr.remove()}},[Ut]),ne.useEffect(function(){fr.isHiddenScrollBar||Ar(function(Dr){var Zr=Ot.current;return Zr?(0,Ee.Z)((0,Ee.Z)({},Dr),{},{scrollLeft:Zr.scrollLeft/Zr.scrollWidth*Zr.clientWidth}):Dr})},[fr.isHiddenScrollBar]),yn<=un||!Wn||fr.isHiddenScrollBar?null:ne.createElement("div",{style:{height:(0,rt.Z)(),width:un,bottom:Kt},className:"".concat(an,"-sticky-scroll")},ne.createElement("div",{onMouseDown:va,ref:kn,className:Pe()("".concat(an,"-sticky-scroll-bar"),(0,Ce.Z)({},"".concat(an,"-sticky-scroll-bar-active"),ea)),style:{width:"".concat(Wn,"px"),transform:"translate3d(".concat(fr.scrollLeft,"px, 0, 0)")}}))},tr=ne.forwardRef($n);function Wt(at){return null}var Rr=Wt;function Lr(at){return null}var Er=Lr,Ur="rc-table",Cn=[],Xn={};function gr(){return"No Data"}function At(at){var st,vt=(0,Ee.Z)({rowKey:"key",prefixCls:Ur,emptyText:gr},at),St=vt.prefixCls,Dt=vt.className,Ot=vt.rowClassName,Zt=vt.style,Kt=vt.data,Ut=vt.rowKey,an=vt.scroll,yn=vt.tableLayout,un=vt.direction,Wn=vt.title,kn=vt.footer,Un=vt.summary,Cr=vt.caption,fr=vt.id,Ar=vt.showHeader,pr=vt.components,Nr=vt.emptyText,$r=vt.onRow,ea=vt.onHeaderRow,Kr=vt.internalHooks,ca=vt.transformColumns,va=vt.internalRefs,_r=vt.tailor,Vr=vt.sticky,zr=Kt||Cn,Dr=!!zr.length,Zr=Kr===Ae,la=ne.useCallback(function(ja,Ga){return(0,we.Z)(pr,ja)||Ga},[pr]),Ea=ne.useMemo(function(){return typeof Ut=="function"?Ut:function(ja){var Ga=ja&&ja[Ut];return Ga}},[Ut]),ha=la(["body"]),na=ir(),Ca=(0,E.Z)(na,3),wa=Ca[0],_a=Ca[1],La=Ca[2],Va=gn(vt,zr,Ea),Qa=(0,E.Z)(Va,6),ya=Qa[0],Xa=Qa[1],Ia=Qa[2],Ua=Qa[3],Ha=Qa[4],fo=Qa[5],sa=an==null?void 0:an.x,aa=ne.useState(0),ra=(0,E.Z)(aa,2),Jr=ra[0],Ta=ra[1],qr=Vn((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},vt),ya),{},{expandable:!!ya.expandedRowRender,columnTitle:ya.columnTitle,expandedKeys:Ia,getRowKey:Ea,onTriggerExpand:fo,expandIcon:Ua,expandIconColumnIndex:ya.expandIconColumnIndex,direction:un,scrollWidth:Zr&&_r&&typeof sa=="number"?sa:null}),Zr?ca:null),ma=(0,E.Z)(qr,3),Fa=ma[0],Ba=ma[1],io=ma[2],ro=io!=null?io:sa,Oo=ne.useMemo(function(){return{columns:Fa,flattenColumns:Ba}},[Fa,Ba]),Ja=ne.useRef(),xo=ne.useRef(),qa=ne.useRef(),mo=ne.useRef(),ni=ne.useRef(),Na=ne.useState(!1),Ra=(0,E.Z)(Na,2),Wa=Ra[0],$a=Ra[1],eo=ne.useState(!1),xa=(0,E.Z)(eo,2),uo=xa[0],so=xa[1],So=Pn(new Map),No=(0,E.Z)(So,2),Lo=No[0],di=No[1],Uo=He(Ba),Bo=Uo.map(function(ja){return Lo.get(ja)}),po=ne.useMemo(function(){return Bo},[Bo.join("_")]),co=wt(po,Ba.length,un),to=an&&Qe(an.y),Za=an&&Qe(ro)||!!ya.fixed,Mo=Za&&Ba.some(function(ja){var Ga=ja.fixed;return Ga}),ri=ne.useRef(),qo=kt(Vr,St),Ro=qo.isSticky,mi=qo.offsetHeader,Ai=qo.offsetSummary,Oa=qo.offsetScroll,za=qo.stickyClassName,ao=qo.container,Ka=ne.useMemo(function(){return Un==null?void 0:Un(zr)},[Un,zr]),lo=(to||Ro)&&ne.isValidElement(Ka)&&Ka.type===ke&&Ka.props.fixed,ho,vo,Go;to&&(vo={overflowY:"scroll",maxHeight:an.y}),Za&&(ho={overflowX:"auto"},to||(vo={overflowY:"hidden"}),Go={width:ro===!0?"auto":ro,minWidth:"100%"});var ki=ne.useCallback(function(ja,Ga){(0,nt.Z)(Ja.current)&&di(function(Do){if(Do.get(ja)!==Ga){var $o=new Map(Do);return $o.set(ja,Ga),$o}return Do})},[]),Rs=_n(null),_i=(0,E.Z)(Rs,2),js=_i[0],zi=_i[1];function pi(ja,Ga){Ga&&(typeof Ga=="function"?Ga(ja):Ga.scrollLeft!==ja&&(Ga.scrollLeft=ja,Ga.scrollLeft!==ja&&setTimeout(function(){Ga.scrollLeft=ja},0)))}var oi=(0,ye.Z)(function(ja){var Ga=ja.currentTarget,Do=ja.scrollLeft,$o=un==="rtl",ei=typeof Do=="number"?Do:Ga.scrollLeft,ts=Ga||Xn;if(!zi()||zi()===ts){var Di;js(ts),pi(ei,xo.current),pi(ei,qa.current),pi(ei,ni.current),pi(ei,(Di=ri.current)===null||Di===void 0?void 0:Di.setScrollLeft)}var Fi=Ga||xo.current;if(Fi){var Oi=Fi.scrollWidth,Li=Fi.clientWidth;if(Oi===Li){$a(!1),so(!1);return}$o?($a(-ei0)):($a(ei>0),so(ei1?Cr-Zr:0,Ea=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},ca),Ut),{},{flex:"0 0 ".concat(Zr,"px"),width:"".concat(Zr,"px"),marginRight:la,pointerEvents:"auto"}),ha=ne.useMemo(function(){return yn?zr<=1:_r===0||zr===0||zr>1},[zr,_r,yn]);ha?Ea.visibility="hidden":yn&&(Ea.height=un==null?void 0:un(zr));var na=ha?function(){return null}:Wn,Ca={};return(zr===0||_r===0)&&(Ca.rowSpan=1,Ca.colSpan=1),ne.createElement(dt,(0,ie.Z)({className:Pe()(Un,an),ellipsis:vt.ellipsis,align:vt.align,scope:vt.rowScope,component:"div",prefixCls:st.prefixCls,key:Nr,record:Kt,index:Ot,renderIndex:Zt,dataIndex:kn,render:na,shouldCellUpdate:vt.shouldCellUpdate},$r,{appendNode:ea,additionalProps:(0,Ee.Z)((0,Ee.Z)({},Kr),{},{style:Ea},Ca)}))}var vn=Tn,Zn=["data","index","className","rowKey","style","extra","getHeight"],Yt=ne.forwardRef(function(at,st){var vt=at.data,St=at.index,Dt=at.className,Ot=at.rowKey,Zt=at.style,Kt=at.extra,Ut=at.getHeight,an=(0,Ie.Z)(at,Zn),yn=vt.record,un=vt.indent,Wn=vt.index,kn=le(ve,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Un=kn.scrollX,Cr=kn.flattenColumns,fr=kn.prefixCls,Ar=kn.fixColumn,pr=kn.componentWidth,Nr=it(yn,Ot,St,un),$r=Nr.rowSupportExpand,ea=Nr.expanded,Kr=Nr.rowProps,ca=Nr.expandedRowRender,va=Nr.expandedRowClassName,_r;if($r&&ea){var Vr=ca(yn,St,un+1,ea),zr=va==null?void 0:va(yn,St,un),Dr={};Ar&&(Dr={style:(0,Ce.Z)({},"--virtual-width","".concat(pr,"px"))});var Zr="".concat(fr,"-expanded-row-cell");_r=ne.createElement("div",{className:Pe()("".concat(fr,"-expanded-row"),"".concat(fr,"-expanded-row-level-").concat(un+1),zr)},ne.createElement(dt,{component:"div",prefixCls:fr,className:Pe()(Zr,(0,Ce.Z)({},"".concat(Zr,"-fixed"),Ar)),additionalProps:Dr},Vr))}var la=(0,Ee.Z)((0,Ee.Z)({},Zt),{},{width:Un});Kt&&(la.position="absolute",la.pointerEvents="none");var Ea=ne.createElement("div",(0,ie.Z)({},Kr,an,{ref:$r?null:st,className:Pe()(Dt,"".concat(fr,"-row"),Kr==null?void 0:Kr.className,(0,Ce.Z)({},"".concat(fr,"-row-extra"),Kt)),style:(0,Ee.Z)((0,Ee.Z)({},la),Kr==null?void 0:Kr.style)}),Cr.map(function(ha,na){return ne.createElement(vn,{key:na,rowInfo:Nr,column:ha,colIndex:na,indent:un,index:St,renderIndex:Wn,record:yn,inverse:Kt,getHeight:Ut})}));return $r?ne.createElement("div",{ref:st},Ea,_r):Ea}),Hr=te(Yt),Gn=Hr,Pr=ne.forwardRef(function(at,st){var vt=at.data,St=at.onScroll,Dt=le(ve,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ot=Dt.flattenColumns,Zt=Dt.onColumnResize,Kt=Dt.getRowKey,Ut=Dt.expandedKeys,an=Dt.prefixCls,yn=Dt.childrenColumnName,un=Dt.emptyNode,Wn=Dt.scrollX,kn=le(rr),Un=kn.scrollY,Cr=kn.listItemHeight,fr=ne.useRef(),Ar=pt(vt,yn,Ut,Kt),pr=ne.useMemo(function(){var _r=0;return Ot.map(function(Vr){var zr=Vr.width,Dr=Vr.key;return _r+=zr,[Dr,zr,_r]})},[Ot]),Nr=ne.useMemo(function(){return pr.map(function(_r){return _r[2]})},[pr]);ne.useEffect(function(){pr.forEach(function(_r){var Vr=(0,E.Z)(_r,2),zr=Vr[0],Dr=Vr[1];Zt(zr,Dr)})},[pr]),ne.useImperativeHandle(st,function(){var _r={};return Object.defineProperty(_r,"scrollLeft",{get:function(){var zr;return((zr=fr.current)===null||zr===void 0?void 0:zr.getScrollInfo().x)||0},set:function(zr){var Dr;(Dr=fr.current)===null||Dr===void 0||Dr.scrollTo({left:zr})}}),_r});var $r=function(Vr,zr){var Dr,Zr=(Dr=Ar[zr])===null||Dr===void 0?void 0:Dr.record,la=Vr.onCell;if(la){var Ea,ha=la(Zr,zr);return(Ea=ha==null?void 0:ha.rowSpan)!==null&&Ea!==void 0?Ea:1}return 1},ea=function(Vr){var zr=Vr.start,Dr=Vr.end,Zr=Vr.getSize,la=Vr.offsetY;if(Dr<0)return null;for(var Ea=Ot.filter(function(sa){return $r(sa,zr)===0}),ha=zr,na=function(aa){if(Ea=Ea.filter(function(ra){return $r(ra,aa)===0}),!Ea.length)return ha=aa,"break"},Ca=zr;Ca>=0;Ca-=1){var wa=na(Ca);if(wa==="break")break}for(var _a=Ot.filter(function(sa){return $r(sa,Dr)!==1}),La=Dr,Va=function(aa){if(_a=_a.filter(function(ra){return $r(ra,aa)!==1}),!_a.length)return La=Math.max(aa-1,Dr),"break"},Qa=Dr;Qa1})&&Xa.push(aa)},Ua=ha;Ua<=La;Ua+=1)var Ha=Ia(Ua);var fo=Xa.map(function(sa){var aa=Ar[sa],ra=Kt(aa.record,sa),Jr=function(ma){var Fa=sa+ma-1,Ba=Kt(Ar[Fa].record,Fa),io=Zr(ra,Ba);return io.bottom-io.top},Ta=Zr(ra);return ne.createElement(Gn,{key:sa,data:aa,rowKey:ra,index:sa,style:{top:-la+Ta.top},extra:!0,getHeight:Jr})});return fo},Kr=ne.useMemo(function(){return{columnsOffset:Nr}},[Nr]),ca="".concat(an,"-tbody"),va;return Ar.length?va=ne.createElement(sr.Z,{fullHeight:!1,ref:fr,className:Pe()(ca,"".concat(ca,"-virtual")),height:Un,itemHeight:Cr||24,data:Ar,itemKey:function(Vr){return Kt(Vr.record)},scrollWidth:Wn,onVirtualScroll:function(Vr){var zr=Vr.x;St({scrollLeft:zr})},extraRender:ea},function(_r,Vr,zr){var Dr=Kt(_r.record,Vr);return ne.createElement(Gn,(0,ie.Z)({data:_r,rowKey:Dr,index:Vr},zr))}):va=ne.createElement("div",{className:Pe()("".concat(an,"-placeholder"))},ne.createElement(dt,{component:"div",prefixCls:an},un)),ne.createElement(vr.Provider,{value:Kr},va)}),Fr=te(Pr),Yr=Fr,Ir=function(st,vt){var St=vt.ref,Dt=vt.onScroll;return ne.createElement(Yr,{ref:St,data:st,onScroll:Dt})},mr=100;function Tr(at){var st=at.columns,vt=at.scroll,St=at.prefixCls,Dt=St===void 0?Ur:St,Ot=at.className,Zt=at.listItemHeight,Kt=vt||{},Ut=Kt.x,an=Kt.y;typeof Ut!="number"&&(Ut=((st||[]).length+1)*mr),typeof an!="number"&&(an=500);var yn=ne.useMemo(function(){return{scrollY:an,listItemHeight:Zt}},[an,Zt]);return ne.createElement(rr.Provider,{value:yn},ne.createElement(zn,(0,ie.Z)({},at,{className:Pe()(Ot,"".concat(Dt,"-virtual")),scroll:(0,Ee.Z)((0,Ee.Z)({},vt),{},{x:Ut}),components:{body:Ir},columns:st,internalHooks:Ae,tailor:!0})))}function Or(at){return z(Tr,at)}var xr=Or(),Mr=null;function Kn(at){return null}var da=Kn;function oa(at){return null}var Xr=oa,ba=fe(2738),Pa=fe(68031),ua=fe(36355),pa=fe(93891),ka=fe(19716),jt=fe(8628),$t=fe(31724),wn=fe(58421),Nn=fe(71418),sn=fe(88088);function en(at){return function(vt){let{prefixCls:St,onExpand:Dt,record:Ot,expanded:Zt,expandable:Kt}=vt;const Ut=`${St}-row-expand-icon`;return ne.createElement("button",{type:"button",onClick:an=>{Dt(Ot,an),an.stopPropagation()},className:Pe()(Ut,{[`${Ut}-spaced`]:!Kt,[`${Ut}-expanded`]:Kt&&Zt,[`${Ut}-collapsed`]:Kt&&!Zt}),"aria-label":Zt?at.collapse:at.expand,"aria-expanded":Zt})}}var ln=en;function En(at,st){return"key"in at&&at.key!==void 0&&at.key!==null?at.key:at.dataIndex?Array.isArray(at.dataIndex)?at.dataIndex.join("."):at.dataIndex:st}function xn(at,st){return st?`${st}-${at}`:`${at}`}function ar(at,st){return typeof at=="function"?at(st):at}function Hn(at,st){const vt=ar(at,st);return Object.prototype.toString.call(vt)==="[object Object]"?"":vt}var Qr={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"},wr=Qr,ia=fe(7657),Jn=function(st,vt){return ne.createElement(ia.Z,(0,ie.Z)({},st,{ref:vt,icon:wr}))},er=ne.forwardRef(Jn),kr=er,Gr=fe(56762);function or(at){const st=ne.useRef(at),vt=(0,Gr.Z)();return[()=>st.current,St=>{st.current=St,vt()}]}var In=fe(3113),It=fe(24905),Mt=fe(38854),zt=fe(64165),Ft=fe(20834),pn=fe(40875),Yn=fe(5112),Xt=fe(17574),Qn=fe(47472),yr=fe(92832);function Br(at){let{value:st,onChange:vt,filterSearch:St,tablePrefixCls:Dt,locale:Ot}=at;return St?ne.createElement("div",{className:`${Dt}-filter-dropdown-search`},ne.createElement(yr.default,{prefix:ne.createElement(Qn.Z,null),placeholder:Ot.filterSearchPlaceholder,onChange:vt,value:st,htmlSize:1,className:`${Dt}-filter-dropdown-search-input`})):null}var br=Br,dr=fe(10228);const ga=at=>{const{keyCode:st}=at;st===dr.Z.ENTER&&at.stopPropagation()};var Ma=ne.forwardRef((at,st)=>ne.createElement("div",{className:at.className,onClick:vt=>vt.stopPropagation(),onKeyDown:ga,ref:st},at.children));function jr(at){let st=[];return(at||[]).forEach(vt=>{let{value:St,children:Dt}=vt;st.push(St),Dt&&(st=[].concat((0,Mn.Z)(st),(0,Mn.Z)(jr(Dt))))}),st}function nr(at){return at.some(st=>{let{children:vt}=st;return vt})}function Wr(at,st){return typeof st=="string"||typeof st=="number"?st==null?void 0:st.toString().toLowerCase().includes(at.trim().toLowerCase()):!1}function fa(at){let{filters:st,prefixCls:vt,filteredKeys:St,filterMultiple:Dt,searchValue:Ot,filterSearch:Zt}=at;return st.map((Kt,Ut)=>{const an=String(Kt.value);if(Kt.children)return{key:an||Ut,label:Kt.text,popupClassName:`${vt}-dropdown-submenu`,children:fa({filters:Kt.children,prefixCls:vt,filteredKeys:St,filterMultiple:Dt,searchValue:Ot,filterSearch:Zt})};const yn=Dt?It.default:Yn.ZP,un={key:Kt.value!==void 0?an:Ut,label:ne.createElement(ne.Fragment,null,ne.createElement(yn,{checked:St.includes(an)}),ne.createElement("span",null,Kt.text))};return Ot.trim()?typeof Zt=="function"?Zt(Ot,Kt)?un:null:Wr(Ot,Kt.text)?un:null:un})}function Da(at){var st,vt;const{tablePrefixCls:St,prefixCls:Dt,column:Ot,dropdownPrefixCls:Zt,columnKey:Kt,filterMultiple:Ut,filterMode:an="menu",filterSearch:yn=!1,filterState:un,triggerFilter:Wn,locale:kn,children:Un,getPopupContainer:Cr}=at,{filterDropdownOpen:fr,onFilterDropdownOpenChange:Ar,filterResetToDefaultFilteredValue:pr,defaultFilteredValue:Nr,filterDropdownVisible:$r,onFilterDropdownVisibleChange:ea}=Ot,[Kr,ca]=ne.useState(!1),va=!!(un&&(!((st=un.filteredKeys)===null||st===void 0)&&st.length||un.forceFiltered)),_r=qr=>{ca(qr),Ar==null||Ar(qr),ea==null||ea(qr)},Vr=(vt=fr!=null?fr:$r)!==null&&vt!==void 0?vt:Kr,zr=un==null?void 0:un.filteredKeys,[Dr,Zr]=or(zr||[]),la=qr=>{let{selectedKeys:ma}=qr;Zr(ma)},Ea=(qr,ma)=>{let{node:Fa,checked:Ba}=ma;la(Ut?{selectedKeys:qr}:{selectedKeys:Ba&&Fa.key?[Fa.key]:[]})};ne.useEffect(()=>{Kr&&la({selectedKeys:zr||[]})},[zr]);const[ha,na]=ne.useState([]),Ca=qr=>{na(qr)},[wa,_a]=ne.useState(""),La=qr=>{const{value:ma}=qr.target;_a(ma)};ne.useEffect(()=>{Kr||_a("")},[Kr]);const Va=qr=>{const ma=qr&&qr.length?qr:null;if(ma===null&&(!un||!un.filteredKeys)||(0,ce.Z)(ma,un==null?void 0:un.filteredKeys,!0))return null;Wn({column:Ot,key:Kt,filteredKeys:ma})},Qa=()=>{_r(!1),Va(Dr())},ya=function(){let{confirm:qr,closeDropdown:ma}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qr&&Va([]),ma&&_r(!1),_a(""),Zr(pr?(Nr||[]).map(Fa=>String(Fa)):[])},Xa=function(){let{closeDropdown:qr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qr&&_r(!1),Va(Dr())},Ia=qr=>{qr&&zr!==void 0&&Zr(zr||[]),_r(qr),!qr&&!Ot.filterDropdown&&Qa()},Ua=Pe()({[`${Zt}-menu-without-submenu`]:!nr(Ot.filters||[])}),Ha=qr=>{if(qr.target.checked){const ma=jr(Ot==null?void 0:Ot.filters).map(Fa=>String(Fa));Zr(ma)}else Zr([])},fo=qr=>{let{filters:ma}=qr;return(ma||[]).map((Fa,Ba)=>{const io=String(Fa.value),ro={title:Fa.text,key:Fa.value!==void 0?io:Ba};return Fa.children&&(ro.children=fo({filters:Fa.children})),ro})},sa=qr=>{var ma;return Object.assign(Object.assign({},qr),{text:qr.title,value:qr.key,children:((ma=qr.children)===null||ma===void 0?void 0:ma.map(Fa=>sa(Fa)))||[]})};let aa;if(typeof Ot.filterDropdown=="function")aa=Ot.filterDropdown({prefixCls:`${Zt}-custom`,setSelectedKeys:qr=>la({selectedKeys:qr}),selectedKeys:Dr(),confirm:Xa,clearFilters:ya,filters:Ot.filters,visible:Vr,close:()=>{_r(!1)}});else if(Ot.filterDropdown)aa=Ot.filterDropdown;else{const qr=Dr()||[],ma=()=>(Ot.filters||[]).length===0?ne.createElement(zt.Z,{image:zt.Z.PRESENTED_IMAGE_SIMPLE,description:kn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):an==="tree"?ne.createElement(ne.Fragment,null,ne.createElement(br,{filterSearch:yn,value:wa,onChange:La,tablePrefixCls:St,locale:kn}),ne.createElement("div",{className:`${St}-filter-dropdown-tree`},Ut?ne.createElement(It.default,{checked:qr.length===jr(Ot.filters).length,indeterminate:qr.length>0&&qr.lengthtypeof yn=="function"?yn(wa,sa(Ba)):Wr(wa,Ba.title):void 0}))):ne.createElement(ne.Fragment,null,ne.createElement(br,{filterSearch:yn,value:wa,onChange:La,tablePrefixCls:St,locale:kn}),ne.createElement(Ft.default,{selectable:!0,multiple:Ut,prefixCls:`${Zt}-menu`,className:Ua,onSelect:la,onDeselect:la,selectedKeys:qr,getPopupContainer:Cr,openKeys:ha,onOpenChange:Ca,items:fa({filters:Ot.filters||[],filterSearch:yn,prefixCls:Dt,filteredKeys:Dr(),filterMultiple:Ut,searchValue:wa})})),Fa=()=>pr?(0,ce.Z)((Nr||[]).map(Ba=>String(Ba)),qr,!0):qr.length===0;aa=ne.createElement(ne.Fragment,null,ma(),ne.createElement("div",{className:`${Dt}-dropdown-btns`},ne.createElement(In.ZP,{type:"link",size:"small",disabled:Fa(),onClick:()=>ya()},kn.filterReset),ne.createElement(In.ZP,{type:"primary",size:"small",onClick:Qa},kn.filterConfirm)))}Ot.filterDropdown&&(aa=ne.createElement(pn.J,{selectable:void 0},aa));const ra=()=>ne.createElement(Ma,{className:`${Dt}-dropdown`},aa);let Jr;typeof Ot.filterIcon=="function"?Jr=Ot.filterIcon(va):Ot.filterIcon?Jr=Ot.filterIcon:Jr=ne.createElement(kr,null);const{direction:Ta}=ne.useContext(ua.E_);return ne.createElement("div",{className:`${Dt}-column`},ne.createElement("span",{className:`${St}-column-title`},Un),ne.createElement(Mt.Z,{dropdownRender:ra,trigger:["click"],open:Vr,onOpenChange:Ia,getPopupContainer:Cr,placement:Ta==="rtl"?"bottomLeft":"bottomRight"},ne.createElement("span",{role:"button",tabIndex:-1,className:Pe()(`${Dt}-trigger`,{active:va}),onClick:qr=>{qr.stopPropagation()}},Jr)))}var no=Da;function Eo(at,st,vt){let St=[];return(at||[]).forEach((Dt,Ot)=>{var Zt;const Kt=xn(Ot,vt);if(Dt.filters||"filterDropdown"in Dt||"onFilter"in Dt)if("filteredValue"in Dt){let Ut=Dt.filteredValue;"filterDropdown"in Dt||(Ut=(Zt=Ut==null?void 0:Ut.map(String))!==null&&Zt!==void 0?Zt:Ut),St.push({column:Dt,key:En(Dt,Kt),filteredKeys:Ut,forceFiltered:Dt.filtered})}else St.push({column:Dt,key:En(Dt,Kt),filteredKeys:st&&Dt.defaultFilteredValue?Dt.defaultFilteredValue:void 0,forceFiltered:Dt.filtered});"children"in Dt&&(St=[].concat((0,Mn.Z)(St),(0,Mn.Z)(Eo(Dt.children,st,Kt))))}),St}function jo(at,st,vt,St,Dt,Ot,Zt,Kt){return vt.map((Ut,an)=>{const yn=xn(an,Kt),{filterMultiple:un=!0,filterMode:Wn,filterSearch:kn}=Ut;let Un=Ut;if(Un.filters||Un.filterDropdown){const Cr=En(Un,yn),fr=St.find(Ar=>{let{key:pr}=Ar;return Cr===pr});Un=Object.assign(Object.assign({},Un),{title:Ar=>ne.createElement(no,{tablePrefixCls:at,prefixCls:`${at}-filter`,dropdownPrefixCls:st,column:Un,columnKey:Cr,filterState:fr,filterMultiple:un,filterMode:Wn,filterSearch:kn,triggerFilter:Ot,locale:Dt,getPopupContainer:Zt},ar(Ut.title,Ar))})}return"children"in Un&&(Un=Object.assign(Object.assign({},Un),{children:jo(at,st,Un.children,St,Dt,Ot,Zt,yn)})),Un})}function Zo(at){const st={};return at.forEach(vt=>{let{key:St,filteredKeys:Dt,column:Ot}=vt;const{filters:Zt,filterDropdown:Kt}=Ot;if(Kt)st[St]=Dt||null;else if(Array.isArray(Dt)){const Ut=jr(Zt);st[St]=Ut.filter(an=>Dt.includes(String(an)))}else st[St]=null}),st}function Ko(at,st){return st.reduce((vt,St)=>{const{column:{onFilter:Dt,filters:Ot},filteredKeys:Zt}=St;return Dt&&Zt&&Zt.length?vt.filter(Kt=>Zt.some(Ut=>{const an=jr(Ot),yn=an.findIndex(Wn=>String(Wn)===String(Ut)),un=yn!==-1?an[yn]:Ut;return Dt(un,Kt)})):vt},at)}const Vo=at=>at.flatMap(st=>"children"in st?[st].concat((0,Mn.Z)(Vo(st.children||[]))):[st]);function ko(at){let{prefixCls:st,dropdownPrefixCls:vt,mergedColumns:St,onFilterChange:Dt,getPopupContainer:Ot,locale:Zt}=at;const Kt=ne.useMemo(()=>Vo(St||[]),[St]),[Ut,an]=ne.useState(()=>Eo(Kt,!0)),yn=ne.useMemo(()=>{const Un=Eo(Kt,!1);if(Un.length===0)return Un;let Cr=!0,fr=!0;if(Un.forEach(Ar=>{let{filteredKeys:pr}=Ar;pr!==void 0?Cr=!1:fr=!1}),Cr){const Ar=(Kt||[]).map((pr,Nr)=>En(pr,xn(Nr)));return Ut.filter(pr=>{let{key:Nr}=pr;return Ar.includes(Nr)}).map(pr=>{const Nr=Kt[Ar.findIndex($r=>$r===pr.key)];return Object.assign(Object.assign({},pr),{column:Object.assign(Object.assign({},pr.column),Nr),forceFiltered:Nr.filtered})})}return Un},[Kt,Ut]),un=ne.useMemo(()=>Zo(yn),[yn]),Wn=Un=>{const Cr=yn.filter(fr=>{let{key:Ar}=fr;return Ar!==Un.key});Cr.push(Un),an(Cr),Dt(Zo(Cr),Cr)};return[Un=>jo(st,vt,Un,yn,Zt,Wn,Ot),yn,un]}var Ao=ko;function _o(at,st,vt){const St=ne.useRef({});function Dt(Ot){if(!St.current||St.current.data!==at||St.current.childrenColumnName!==st||St.current.getRowKey!==vt){let Kt=function(Ut){Ut.forEach((an,yn)=>{const un=vt(an,yn);Zt.set(un,an),an&&typeof an=="object"&&st in an&&Kt(an[st]||[])})};const Zt=new Map;Kt(at),St.current={data:at,childrenColumnName:st,kvMap:Zt,getRowKey:vt}}return St.current.kvMap.get(Ot)}return[Dt]}var Fo=fe(50371),Qo=function(at,st){var vt={};for(var St in at)Object.prototype.hasOwnProperty.call(at,St)&&st.indexOf(St)<0&&(vt[St]=at[St]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,St=Object.getOwnPropertySymbols(at);Dt{const Ot=at[Dt];typeof Ot!="function"&&(vt[Dt]=Ot)}),vt}function Yo(at,st,vt){const St=vt&&typeof vt=="object"?vt:{},{total:Dt=0}=St,Ot=Qo(St,["total"]),[Zt,Kt]=(0,ne.useState)(()=>({current:"defaultCurrent"in Ot?Ot.defaultCurrent:1,pageSize:"defaultPageSize"in Ot?Ot.defaultPageSize:Po})),Ut=(0,Fo.Z)(Zt,Ot,{total:Dt>0?Dt:at}),an=Math.ceil((Dt||at)/Ut.pageSize);Ut.current>an&&(Ut.current=an||1);const yn=(Wn,kn)=>{Kt({current:Wn!=null?Wn:1,pageSize:kn||Ut.pageSize})},un=(Wn,kn)=>{var Un;vt&&((Un=vt.onChange)===null||Un===void 0||Un.call(vt,Wn,kn)),yn(Wn,kn),st(Wn,kn||(Ut==null?void 0:Ut.pageSize))};return vt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ut),{onChange:un}),yn]}var ai=Yo,ii=fe(84105),Xo=fe(35654),ti=fe(90782),bi=fe(71430),Si=fe(18929);const Io={},si="SELECT_ALL",li="SELECT_INVERT",ta="SELECT_NONE",Aa=[],oo=(at,st)=>{let vt=[];return(st||[]).forEach(St=>{vt.push(St),St&&typeof St=="object"&&at in St&&(vt=[].concat((0,Mn.Z)(vt),(0,Mn.Z)(oo(at,St[at]))))}),vt};var Jo=(at,st)=>{const{preserveSelectedRowKeys:vt,selectedRowKeys:St,defaultSelectedRowKeys:Dt,getCheckboxProps:Ot,onChange:Zt,onSelect:Kt,onSelectAll:Ut,onSelectInvert:an,onSelectNone:yn,onSelectMultiple:un,columnWidth:Wn,type:kn,selections:Un,fixed:Cr,renderCell:fr,hideSelectAll:Ar,checkStrictly:pr=!0}=st||{},{prefixCls:Nr,data:$r,pageData:ea,getRecordByKey:Kr,getRowKey:ca,expandType:va,childrenColumnName:_r,locale:Vr,getPopupContainer:zr}=at,[Dr,Zr]=(0,Si.Z)(St||Dt||Aa,{value:St}),la=ne.useRef(new Map),Ea=(0,ne.useCallback)(sa=>{if(vt){const aa=new Map;sa.forEach(ra=>{let Jr=Kr(ra);!Jr&&la.current.has(ra)&&(Jr=la.current.get(ra)),aa.set(ra,Jr)}),la.current=aa}},[Kr,vt]);ne.useEffect(()=>{Ea(Dr)},[Dr]);const{keyEntities:ha}=(0,ne.useMemo)(()=>{if(pr)return{keyEntities:null};let sa=$r;if(vt){const aa=new Set($r.map((Jr,Ta)=>ca(Jr,Ta))),ra=Array.from(la.current).reduce((Jr,Ta)=>{let[qr,ma]=Ta;return aa.has(qr)?Jr:Jr.concat(ma)},[]);sa=[].concat((0,Mn.Z)(sa),(0,Mn.Z)(ra))}return(0,bi.I8)(sa,{externalGetKey:ca,childrenPropName:_r})},[$r,ca,pr,_r,vt]),na=(0,ne.useMemo)(()=>oo(_r,ea),[_r,ea]),Ca=(0,ne.useMemo)(()=>{const sa=new Map;return na.forEach((aa,ra)=>{const Jr=ca(aa,ra),Ta=(Ot?Ot(aa):null)||{};sa.set(Jr,Ta)}),sa},[na,ca,Ot]),wa=(0,ne.useCallback)(sa=>{var aa;return!!(!((aa=Ca.get(ca(sa)))===null||aa===void 0)&&aa.disabled)},[Ca,ca]),[_a,La]=(0,ne.useMemo)(()=>{if(pr)return[Dr||[],[]];const{checkedKeys:sa,halfCheckedKeys:aa}=(0,ti.S)(Dr,!0,ha,wa);return[sa||[],aa]},[Dr,pr,ha,wa]),Va=(0,ne.useMemo)(()=>{const sa=kn==="radio"?_a.slice(0,1):_a;return new Set(sa)},[_a,kn]),Qa=(0,ne.useMemo)(()=>kn==="radio"?new Set:new Set(La),[La,kn]),[ya,Xa]=(0,ne.useState)(null);ne.useEffect(()=>{st||Zr(Aa)},[!!st]);const Ia=(0,ne.useCallback)((sa,aa)=>{let ra,Jr;Ea(sa),vt?(ra=sa,Jr=sa.map(Ta=>la.current.get(Ta))):(ra=[],Jr=[],sa.forEach(Ta=>{const qr=Kr(Ta);qr!==void 0&&(ra.push(Ta),Jr.push(qr))})),Zr(ra),Zt==null||Zt(ra,Jr,{type:aa})},[Zr,Kr,Zt,vt]),Ua=(0,ne.useCallback)((sa,aa,ra,Jr)=>{if(Kt){const Ta=ra.map(qr=>Kr(qr));Kt(Kr(sa),aa,Ta,Jr)}Ia(ra,"single")},[Kt,Kr,Ia]),Ha=(0,ne.useMemo)(()=>!Un||Ar?null:(Un===!0?[si,li,ta]:Un).map(aa=>aa===si?{key:"all",text:Vr.selectionAll,onSelect(){Ia($r.map((ra,Jr)=>ca(ra,Jr)).filter(ra=>{const Jr=Ca.get(ra);return!(Jr!=null&&Jr.disabled)||Va.has(ra)}),"all")}}:aa===li?{key:"invert",text:Vr.selectInvert,onSelect(){const ra=new Set(Va);ea.forEach((Ta,qr)=>{const ma=ca(Ta,qr),Fa=Ca.get(ma);Fa!=null&&Fa.disabled||(ra.has(ma)?ra.delete(ma):ra.add(ma))});const Jr=Array.from(ra);an&&an(Jr),Ia(Jr,"invert")}}:aa===ta?{key:"none",text:Vr.selectNone,onSelect(){yn==null||yn(),Ia(Array.from(Va).filter(ra=>{const Jr=Ca.get(ra);return Jr==null?void 0:Jr.disabled}),"none")}}:aa).map(aa=>Object.assign(Object.assign({},aa),{onSelect:function(){for(var ra,Jr,Ta=arguments.length,qr=new Array(Ta),ma=0;ma{var aa;if(!st)return sa.filter(Na=>Na!==Io);let ra=(0,Mn.Z)(sa);const Jr=new Set(Va),Ta=na.map(ca).filter(Na=>!Ca.get(Na).disabled),qr=Ta.every(Na=>Jr.has(Na)),ma=Ta.some(Na=>Jr.has(Na)),Fa=()=>{const Na=[];qr?Ta.forEach(Wa=>{Jr.delete(Wa),Na.push(Wa)}):Ta.forEach(Wa=>{Jr.has(Wa)||(Jr.add(Wa),Na.push(Wa))});const Ra=Array.from(Jr);Ut==null||Ut(!qr,Ra.map(Wa=>Kr(Wa)),Na.map(Wa=>Kr(Wa))),Ia(Ra,"all"),Xa(null)};let Ba;if(kn!=="radio"){let Na;if(Ha){const xa={getPopupContainer:zr,items:Ha.map((uo,so)=>{const{key:So,text:No,onSelect:Lo}=uo;return{key:So!=null?So:so,onClick:()=>{Lo==null||Lo(Ta)},label:No}})};Na=ne.createElement("div",{className:`${Nr}-selection-extra`},ne.createElement(Mt.Z,{menu:xa,getPopupContainer:zr},ne.createElement("span",null,ne.createElement(ii.Z,null))))}const Ra=na.map((xa,uo)=>{const so=ca(xa,uo),So=Ca.get(so)||{};return Object.assign({checked:Jr.has(so)},So)}).filter(xa=>{let{disabled:uo}=xa;return uo}),Wa=!!Ra.length&&Ra.length===na.length,$a=Wa&&Ra.every(xa=>{let{checked:uo}=xa;return uo}),eo=Wa&&Ra.some(xa=>{let{checked:uo}=xa;return uo});Ba=!Ar&&ne.createElement("div",{className:`${Nr}-selection`},ne.createElement(It.default,{checked:Wa?$a:!!na.length&&qr,indeterminate:Wa?!$a&&eo:!qr&&ma,onChange:Fa,disabled:na.length===0||Wa,"aria-label":Na?"Custom selection":"Select all",skipGroup:!0}),Na)}let io;kn==="radio"?io=(Na,Ra,Wa)=>{const $a=ca(Ra,Wa),eo=Jr.has($a);return{node:ne.createElement(Yn.ZP,Object.assign({},Ca.get($a),{checked:eo,onClick:xa=>xa.stopPropagation(),onChange:xa=>{Jr.has($a)||Ua($a,!0,[$a],xa.nativeEvent)}})),checked:eo}}:io=(Na,Ra,Wa)=>{var $a;const eo=ca(Ra,Wa),xa=Jr.has(eo),uo=Qa.has(eo),so=Ca.get(eo);let So;return va==="nest"?So=uo:So=($a=so==null?void 0:so.indeterminate)!==null&&$a!==void 0?$a:uo,{node:ne.createElement(It.default,Object.assign({},so,{indeterminate:So,checked:xa,skipGroup:!0,onClick:No=>No.stopPropagation(),onChange:No=>{let{nativeEvent:Lo}=No;const{shiftKey:di}=Lo;let Uo=-1,Bo=-1;if(di&&pr){const po=new Set([ya,eo]);Ta.some((co,to)=>{if(po.has(co))if(Uo===-1)Uo=to;else return Bo=to,!0;return!1})}if(Bo!==-1&&Uo!==Bo&&pr){const po=Ta.slice(Uo,Bo+1),co=[];xa?po.forEach(Za=>{Jr.has(Za)&&(co.push(Za),Jr.delete(Za))}):po.forEach(Za=>{Jr.has(Za)||(co.push(Za),Jr.add(Za))});const to=Array.from(Jr);un==null||un(!xa,to.map(Za=>Kr(Za)),co.map(Za=>Kr(Za))),Ia(to,"multiple")}else{const po=_a;if(pr){const co=xa?(0,Xo._5)(po,eo):(0,Xo.L0)(po,eo);Ua(eo,!xa,co,Lo)}else{const co=(0,ti.S)([].concat((0,Mn.Z)(po),[eo]),!0,ha,wa),{checkedKeys:to,halfCheckedKeys:Za}=co;let Mo=to;if(xa){const ri=new Set(to);ri.delete(eo),Mo=(0,ti.S)(Array.from(ri),{checked:!1,halfCheckedKeys:Za},ha,wa).checkedKeys}Ua(eo,!xa,Mo,Lo)}}Xa(xa?null:eo)}})),checked:xa}};const ro=(Na,Ra,Wa)=>{const{node:$a,checked:eo}=io(Na,Ra,Wa);return fr?fr(eo,Ra,Wa,$a):$a};if(!ra.includes(Io))if(ra.findIndex(Na=>{var Ra;return((Ra=Na[Rn])===null||Ra===void 0?void 0:Ra.columnType)==="EXPAND_COLUMN"})===0){const[Na,...Ra]=ra;ra=[Na,Io].concat((0,Mn.Z)(Ra))}else ra=[Io].concat((0,Mn.Z)(ra));const Oo=ra.indexOf(Io);ra=ra.filter((Na,Ra)=>Na!==Io||Ra===Oo);const Ja=ra[Oo-1],xo=ra[Oo+1];let qa=Cr;qa===void 0&&((xo==null?void 0:xo.fixed)!==void 0?qa=xo.fixed:(Ja==null?void 0:Ja.fixed)!==void 0&&(qa=Ja.fixed)),qa&&Ja&&((aa=Ja[Rn])===null||aa===void 0?void 0:aa.columnType)==="EXPAND_COLUMN"&&Ja.fixed===void 0&&(Ja.fixed=qa);const mo=Pe()(`${Nr}-selection-col`,{[`${Nr}-selection-col-with-dropdown`]:Un&&kn==="checkbox"}),ni={fixed:qa,width:Wn,className:`${Nr}-selection-column`,title:st.columnTitle||Ba,render:ro,onCell:st.onCell,[Rn]:{className:mo}};return ra.map(Na=>Na===Io?ni:Na)},[ca,na,st,_a,Va,Qa,Wn,Ha,va,ya,Ca,un,Ua,wa]),Va]},zo=fe(89489),bo=fe(59477),Ya=fe(6848);const wo="ascend",ui="descend";function To(at){return typeof at.sorter=="object"&&typeof at.sorter.multiple=="number"?at.sorter.multiple:!1}function fi(at){return typeof at=="function"?at:at&&typeof at=="object"&&at.compare?at.compare:!1}function is(at,st){return st?at[at.indexOf(st)+1]:at[0]}function Ei(at,st,vt){let St=[];function Dt(Ot,Zt){St.push({column:Ot,key:En(Ot,Zt),multiplePriority:To(Ot),sortOrder:Ot.sortOrder})}return(at||[]).forEach((Ot,Zt)=>{const Kt=xn(Zt,vt);Ot.children?("sortOrder"in Ot&&Dt(Ot,Kt),St=[].concat((0,Mn.Z)(St),(0,Mn.Z)(Ei(Ot.children,st,Kt)))):Ot.sorter&&("sortOrder"in Ot?Dt(Ot,Kt):st&&Ot.defaultSortOrder&&St.push({column:Ot,key:En(Ot,Kt),multiplePriority:To(Ot),sortOrder:Ot.defaultSortOrder}))}),St}function Ti(at,st,vt,St,Dt,Ot,Zt,Kt){return(st||[]).map((Ut,an)=>{const yn=xn(an,Kt);let un=Ut;if(un.sorter){const Wn=un.sortDirections||Dt,kn=un.showSorterTooltip===void 0?Zt:un.showSorterTooltip,Un=En(un,yn),Cr=vt.find(va=>{let{key:_r}=va;return _r===Un}),fr=Cr?Cr.sortOrder:null,Ar=is(Wn,fr);let pr;if(Ut.sortIcon)pr=Ut.sortIcon({sortOrder:fr});else{const va=Wn.includes(wo)&&ne.createElement(bo.Z,{className:Pe()(`${at}-column-sorter-up`,{active:fr===wo})}),_r=Wn.includes(ui)&&ne.createElement(zo.Z,{className:Pe()(`${at}-column-sorter-down`,{active:fr===ui})});pr=ne.createElement("span",{className:Pe()(`${at}-column-sorter`,{[`${at}-column-sorter-full`]:!!(va&&_r)})},ne.createElement("span",{className:`${at}-column-sorter-inner`,"aria-hidden":"true"},va,_r))}const{cancelSort:Nr,triggerAsc:$r,triggerDesc:ea}=Ot||{};let Kr=Nr;Ar===ui?Kr=ea:Ar===wo&&(Kr=$r);const ca=typeof kn=="object"?kn:{title:Kr};un=Object.assign(Object.assign({},un),{className:Pe()(un.className,{[`${at}-column-sort`]:fr}),title:va=>{const _r=ne.createElement("div",{className:`${at}-column-sorters`},ne.createElement("span",{className:`${at}-column-title`},ar(Ut.title,va)),pr);return kn?ne.createElement(Ya.Z,Object.assign({},ca),_r):_r},onHeaderCell:va=>{const _r=Ut.onHeaderCell&&Ut.onHeaderCell(va)||{},Vr=_r.onClick,zr=_r.onKeyDown;_r.onClick=la=>{St({column:Ut,key:Un,sortOrder:Ar,multiplePriority:To(Ut)}),Vr==null||Vr(la)},_r.onKeyDown=la=>{la.keyCode===dr.Z.ENTER&&(St({column:Ut,key:Un,sortOrder:Ar,multiplePriority:To(Ut)}),zr==null||zr(la))};const Dr=Hn(Ut.title,{}),Zr=Dr==null?void 0:Dr.toString();return fr?_r["aria-sort"]=fr==="ascend"?"ascending":"descending":_r["aria-label"]=Zr||"",_r.className=Pe()(_r.className,`${at}-column-has-sorters`),_r.tabIndex=0,Ut.ellipsis&&(_r.title=(Dr!=null?Dr:"").toString()),_r}})}return"children"in un&&(un=Object.assign(Object.assign({},un),{children:Ti(at,un.children,vt,St,Dt,Ot,Zt,yn)})),un})}function Ni(at){const{column:st,sortOrder:vt}=at;return{column:st,order:vt,field:st.dataIndex,columnKey:st.key}}function Mi(at){const st=at.filter(vt=>{let{sortOrder:St}=vt;return St}).map(Ni);return st.length===0&&at.length?Object.assign(Object.assign({},Ni(at[at.length-1])),{column:void 0}):st.length<=1?st[0]||{}:st}function Ci(at,st,vt){const St=st.slice().sort((Zt,Kt)=>Kt.multiplePriority-Zt.multiplePriority),Dt=at.slice(),Ot=St.filter(Zt=>{let{column:{sorter:Kt},sortOrder:Ut}=Zt;return fi(Kt)&&Ut});return Ot.length?Dt.sort((Zt,Kt)=>{for(let Ut=0;Ut{const Kt=Zt[vt];return Kt?Object.assign(Object.assign({},Zt),{[vt]:Ci(Kt,st,vt)}):Zt}):Dt}function ss(at){let{prefixCls:st,mergedColumns:vt,onSorterChange:St,sortDirections:Dt,tableLocale:Ot,showSorterTooltip:Zt}=at;const[Kt,Ut]=ne.useState(Ei(vt,!0)),an=ne.useMemo(()=>{let Un=!0;const Cr=Ei(vt,!1);if(!Cr.length)return Kt;const fr=[];function Ar(Nr){Un?fr.push(Nr):fr.push(Object.assign(Object.assign({},Nr),{sortOrder:null}))}let pr=null;return Cr.forEach(Nr=>{pr===null?(Ar(Nr),Nr.sortOrder&&(Nr.multiplePriority===!1?Un=!1:pr=!0)):(pr&&Nr.multiplePriority!==!1||(Un=!1),Ar(Nr))}),fr},[vt,Kt]),yn=ne.useMemo(()=>{const Un=an.map(Cr=>{let{column:fr,sortOrder:Ar}=Cr;return{column:fr,order:Ar}});return{sortColumns:Un,sortColumn:Un[0]&&Un[0].column,sortOrder:Un[0]&&Un[0].order}},[an]);function un(Un){let Cr;Un.multiplePriority===!1||!an.length||an[0].multiplePriority===!1?Cr=[Un]:Cr=[].concat((0,Mn.Z)(an.filter(fr=>{let{key:Ar}=fr;return Ar!==Un.key})),[Un]),Ut(Cr),St(Mi(Cr),Cr)}return[Un=>Ti(st,Un,an,un,Dt,Ot,Zt),an,yn,()=>Mi(an)]}function Ri(at,st){return at.map(vt=>{const St=Object.assign({},vt);return St.title=ar(vt.title,st),"children"in St&&(St.children=Ri(St.children,st)),St})}function ls(at){return[ne.useCallback(vt=>Ri(vt,at),[at])]}var us=Vt((at,st)=>{const{_renderTimes:vt}=at,{_renderTimes:St}=st;return vt!==St}),cs=Or((at,st)=>{const{_renderTimes:vt}=at,{_renderTimes:St}=st;return vt!==St}),ci=fe(64993),gi=fe(17313),ds=fe(83116),fs=fe(37613),gs=at=>{const{componentCls:st}=at,vt=`${at.lineWidth}px ${at.lineType} ${at.tableBorderColor}`,St=(Dt,Ot,Zt)=>({[`&${st}-${Dt}`]:{[`> ${st}-container`]:{[`> ${st}-content, > ${st}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${st}-expanded-row-fixed`]:{margin:`-${Ot}px -${Zt+at.lineWidth}px`}}}}}});return{[`${st}-wrapper`]:{[`${st}${st}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${st}-title`]:{border:vt,borderBottom:0},[`> ${st}-container`]:{borderInlineStart:vt,borderTop:vt,[` + > ${st}-content, + > ${st}-header, + > ${st}-body, + > ${st}-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:vt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:vt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${st}-cell-fix-right-first::after`]:{borderInlineEnd:vt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${st}-expanded-row-fixed`]:{margin:`-${at.tablePaddingVertical}px -${at.tablePaddingHorizontal+at.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:at.lineWidth,bottom:0,borderInlineEnd:vt,content:'""'}}}}}},[`&${st}-scroll-horizontal`]:{[`> ${st}-container > ${st}-body`]:{"> table > tbody":{[` + > tr${st}-expanded-row, + > tr${st}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},St("middle",at.tablePaddingVerticalMiddle,at.tablePaddingHorizontalMiddle)),St("small",at.tablePaddingVerticalSmall,at.tablePaddingHorizontalSmall)),{[`> ${st}-footer`]:{border:vt,borderTop:0}}),[`${st}-cell`]:{[`${st}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${at.lineWidth}px 0 ${at.lineWidth}px ${at.tableHeaderBg}`}},[`${st}-bordered ${st}-cell-scrollbar`]:{borderInlineEnd:vt}}}},ms=at=>{const{componentCls:st}=at;return{[`${st}-wrapper`]:{[`${st}-cell-ellipsis`]:Object.assign(Object.assign({},gi.vS),{wordBreak:"keep-all",[` + &${st}-cell-fix-left-last, + &${st}-cell-fix-right-first + `]:{overflow:"visible",[`${st}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${st}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ps=at=>{const{componentCls:st}=at;return{[`${st}-wrapper`]:{[`${st}-tbody > tr${st}-placeholder`]:{textAlign:"center",color:at.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:at.colorBgContainer}}}}},hs=fe(15969),vs=at=>{const{componentCls:st,antCls:vt,controlInteractiveSize:St,motionDurationSlow:Dt,lineWidth:Ot,paddingXS:Zt,lineType:Kt,tableBorderColor:Ut,tableExpandIconBg:an,tableExpandColumnWidth:yn,borderRadius:un,fontSize:Wn,fontSizeSM:kn,lineHeight:Un,tablePaddingVertical:Cr,tablePaddingHorizontal:fr,tableExpandedRowBg:Ar,paddingXXS:pr}=at,Nr=St/2-Ot,$r=Nr*2+Ot*3,ea=`${Ot}px ${Kt} ${Ut}`,Kr=pr-Ot;return{[`${st}-wrapper`]:{[`${st}-expand-icon-col`]:{width:yn},[`${st}-row-expand-icon-cell`]:{textAlign:"center",[`${st}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${st}-row-indent`]:{height:1,float:"left"},[`${st}-row-expand-icon`]:Object.assign(Object.assign({},(0,hs.N)(at)),{position:"relative",float:"left",boxSizing:"border-box",width:$r,height:$r,padding:0,color:"inherit",lineHeight:`${$r}px`,background:an,border:ea,borderRadius:un,transform:`scale(${St/$r})`,transition:`all ${Dt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Dt} ease-out`,content:'""'},"&::before":{top:Nr,insetInlineEnd:Kr,insetInlineStart:Kr,height:Ot},"&::after":{top:Kr,bottom:Kr,insetInlineStart:Nr,width:Ot,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"}}),[`${st}-row-indent + ${st}-row-expand-icon`]:{marginTop:(Wn*Un-Ot*3)/2-Math.ceil((kn*1.4-Ot*3)/2),marginInlineEnd:Zt},[`tr${st}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ar}},[`${vt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${st}-expanded-row-fixed`]:{position:"relative",margin:`-${Cr}px -${fr}px`,padding:`${Cr}px ${fr}px`}}}},ys=at=>{const{componentCls:st,antCls:vt,iconCls:St,tableFilterDropdownWidth:Dt,tableFilterDropdownSearchWidth:Ot,paddingXXS:Zt,paddingXS:Kt,colorText:Ut,lineWidth:an,lineType:yn,tableBorderColor:un,tableHeaderIconColor:Wn,fontSizeSM:kn,tablePaddingHorizontal:Un,borderRadius:Cr,motionDurationSlow:fr,colorTextDescription:Ar,colorPrimary:pr,tableHeaderFilterActiveBg:Nr,colorTextDisabled:$r,tableFilterDropdownBg:ea,tableFilterDropdownHeight:Kr,controlItemBgHover:ca,controlItemBgActive:va,boxShadowSecondary:_r,filterDropdownMenuBg:Vr}=at,zr=`${vt}-dropdown`,Dr=`${st}-filter-dropdown`,Zr=`${vt}-tree`,la=`${an}px ${yn} ${un}`;return[{[`${st}-wrapper`]:{[`${st}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${st}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Zt,marginInline:`${Zt}px ${-Un/2}px`,padding:`0 ${Zt}px`,color:Wn,fontSize:kn,borderRadius:Cr,cursor:"pointer",transition:`all ${fr}`,"&:hover":{color:Ar,background:Nr},"&.active":{color:pr}}}},{[`${vt}-dropdown`]:{[Dr]:Object.assign(Object.assign({},(0,gi.Wf)(at)),{minWidth:Dt,backgroundColor:ea,borderRadius:Cr,boxShadow:_r,overflow:"hidden",[`${zr}-menu`]:{maxHeight:Kr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Vr,"&:empty::after":{display:"block",padding:`${Kt}px 0`,color:$r,fontSize:kn,textAlign:"center",content:'"Not Found"'}},[`${Dr}-tree`]:{paddingBlock:`${Kt}px 0`,paddingInline:Kt,[Zr]:{padding:0},[`${Zr}-treenode ${Zr}-node-content-wrapper:hover`]:{backgroundColor:ca},[`${Zr}-treenode-checkbox-checked ${Zr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:va}}},[`${Dr}-search`]:{padding:Kt,borderBottom:la,"&-input":{input:{minWidth:Ot},[St]:{color:$r}}},[`${Dr}-checkall`]:{width:"100%",marginBottom:Zt,marginInlineStart:Zt},[`${Dr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Kt-an}px ${Kt}px`,overflow:"hidden",borderTop:la}})}},{[`${vt}-dropdown ${Dr}, ${Dr}-submenu`]:{[`${vt}-checkbox-wrapper + span`]:{paddingInlineStart:Kt,color:Ut},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},bs=at=>{const{componentCls:st,lineWidth:vt,colorSplit:St,motionDurationSlow:Dt,zIndexTableFixed:Ot,tableBg:Zt,zIndexTableSticky:Kt}=at,Ut=St;return{[`${st}-wrapper`]:{[` + ${st}-cell-fix-left, + ${st}-cell-fix-right + `]:{position:"sticky !important",zIndex:Ot,background:Zt},[` + ${st}-cell-fix-left-first::after, + ${st}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-vt,width:30,transform:"translateX(100%)",transition:`box-shadow ${Dt}`,content:'""',pointerEvents:"none"},[`${st}-cell-fix-left-all::after`]:{display:"none"},[` + ${st}-cell-fix-right-first::after, + ${st}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-vt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Dt}`,content:'""',pointerEvents:"none"},[`${st}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Kt+1,width:30,transition:`box-shadow ${Dt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${st}-ping-left`]:{[`&:not(${st}-has-fix-left) ${st}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ut}`}},[` + ${st}-cell-fix-left-first::after, + ${st}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${Ut}`},[`${st}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${st}-ping-right`]:{[`&:not(${st}-has-fix-right) ${st}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ut}`}},[` + ${st}-cell-fix-right-first::after, + ${st}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${Ut}`}}}}},Ss=at=>{const{componentCls:st,antCls:vt}=at;return{[`${st}-wrapper`]:{[`${st}-pagination${vt}-pagination`]:{margin:`${at.margin}px 0`},[`${st}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:at.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Es=at=>{const{componentCls:st,tableRadius:vt}=at;return{[`${st}-wrapper`]:{[st]:{[`${st}-title, ${st}-header`]:{borderRadius:`${vt}px ${vt}px 0 0`},[`${st}-title + ${st}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${st}-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:vt,borderStartEndRadius:vt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:vt},"> *:last-child":{borderStartEndRadius:vt}}},"&-footer":{borderRadius:`0 0 ${vt}px ${vt}px`}}}}},Cs=at=>{const{componentCls:st}=at;return{[`${st}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${st}-pagination-left`]:{justifyContent:"flex-end"},[`${st}-pagination-right`]:{justifyContent:"flex-start"},[`${st}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${st}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${st}-row-indent`]:{float:"right"}}}}},As=at=>{const{componentCls:st,antCls:vt,iconCls:St,fontSizeIcon:Dt,padding:Ot,paddingXS:Zt,tableHeaderIconColor:Kt,tableHeaderIconColorHover:Ut,tableSelectionColumnWidth:an}=at;return{[`${st}-wrapper`]:{[`${st}-selection-col`]:{width:an,[`&${st}-selection-col-with-dropdown`]:{width:an+Dt+Ot/4}},[`${st}-bordered ${st}-selection-col`]:{width:an+Zt*2,[`&${st}-selection-col-with-dropdown`]:{width:an+Dt+Ot/4+Zt*2}},[` + table tr th${st}-selection-column, + table tr td${st}-selection-column + `]:{paddingInlineEnd:at.paddingXS,paddingInlineStart:at.paddingXS,textAlign:"center",[`${vt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${st}-selection-column${st}-cell-fix-left`]:{zIndex:at.zIndexTableFixed+1},[`table tr th${st}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${st}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${st}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${at.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${at.tablePaddingHorizontal/4}px`,[St]:{color:Kt,fontSize:Dt,verticalAlign:"baseline","&:hover":{color:Ut}}}}}},Ps=at=>{const{componentCls:st}=at,vt=(St,Dt,Ot,Zt)=>({[`${st}${st}-${St}`]:{fontSize:Zt,[` + ${st}-title, + ${st}-footer, + ${st}-cell, + ${st}-thead > tr > th, + ${st}-tbody > tr > th, + ${st}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${Dt}px ${Ot}px`},[`${st}-filter-trigger`]:{marginInlineEnd:`-${Ot/2}px`},[`${st}-expanded-row-fixed`]:{margin:`-${Dt}px -${Ot}px`},[`${st}-tbody`]:{[`${st}-wrapper:only-child ${st}`]:{marginBlock:`-${Dt}px`,marginInline:`${at.tableExpandColumnWidth-Ot}px -${Ot}px`}},[`${st}-selection-column`]:{paddingInlineStart:`${Ot/4}px`}}});return{[`${st}-wrapper`]:Object.assign(Object.assign({},vt("middle",at.tablePaddingVerticalMiddle,at.tablePaddingHorizontalMiddle,at.tableFontSizeMiddle)),vt("small",at.tablePaddingVerticalSmall,at.tablePaddingHorizontalSmall,at.tableFontSizeSmall))}},ws=at=>{const{componentCls:st,marginXXS:vt,fontSizeIcon:St,tableHeaderIconColor:Dt,tableHeaderIconColorHover:Ot}=at;return{[`${st}-wrapper`]:{[`${st}-thead th${st}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${at.motionDurationSlow}`,"&:hover":{background:at.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:at.colorPrimary},[` + &${st}-cell-fix-left:hover, + &${st}-cell-fix-right:hover + `]:{background:at.tableFixedHeaderSortActiveBg}},[`${st}-thead th${st}-column-sort`]:{background:at.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${st}-column-sort`]:{background:at.tableBodySortBg},[`${st}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${st}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${st}-column-sorter`]:{marginInlineStart:vt,color:Dt,fontSize:0,transition:`color ${at.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:St,"&.active":{color:at.colorPrimary}},[`${st}-column-sorter-up + ${st}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${st}-column-sorters:hover ${st}-column-sorter`]:{color:Ot}}}},xs=at=>{const{componentCls:st,opacityLoading:vt,tableScrollThumbBg:St,tableScrollThumbBgHover:Dt,tableScrollThumbSize:Ot,tableScrollBg:Zt,zIndexTableSticky:Kt,stickyScrollBarBorderRadius:Ut}=at,an=`${at.lineWidth}px ${at.lineType} ${at.tableBorderColor}`;return{[`${st}-wrapper`]:{[`${st}-sticky`]:{"&-holder":{position:"sticky",zIndex:Kt,background:at.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ot}px !important`,zIndex:Kt,display:"flex",alignItems:"center",background:Zt,borderTop:an,opacity:vt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ot,backgroundColor:St,borderRadius:Ut,transition:`all ${at.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Dt}}}}}}},ji=at=>{const{componentCls:st,lineWidth:vt,tableBorderColor:St}=at,Dt=`${vt}px ${at.lineType} ${St}`;return{[`${st}-wrapper`]:{[`${st}-summary`]:{position:"relative",zIndex:at.zIndexTableFixed,background:at.tableBg,"> tr":{"> th, > td":{borderBottom:Dt}}},[`div${st}-summary`]:{boxShadow:`0 -${vt}px 0 ${St}`}}}},Bs=at=>{const{componentCls:st}=at,vt=`${at.lineWidth}px ${at.lineType} ${at.tableBorderColor}`,St=`${st}-expanded-row-cell`;return{[`${st}-wrapper`]:{[`${st}-tbody-virtual`]:{[`${st}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${st}-cell`]:{borderBottom:vt},[`${st}-expanded-row`]:{[`${St}${St}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${at.lineWidth}px)`,borderInlineEnd:"none"}}},[`${st}-bordered`]:{[`${st}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:vt,position:"absolute"},[`${st}-cell`]:{borderInlineEnd:vt,[`&${st}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-at.lineWidth,borderInlineStart:vt}}}}}}};const Ds=at=>{const{componentCls:st,fontWeightStrong:vt,tablePaddingVertical:St,tablePaddingHorizontal:Dt,lineWidth:Ot,lineType:Zt,tableBorderColor:Kt,tableFontSize:Ut,tableBg:an,tableRadius:yn,tableHeaderTextColor:un,motionDurationMid:Wn,tableHeaderBg:kn,tableHeaderCellSplitColor:Un,tableRowHoverBg:Cr,tableSelectedRowBg:fr,tableSelectedRowHoverBg:Ar,tableFooterTextColor:pr,tableFooterBg:Nr,paddingContentVerticalLG:$r}=at,ea=`${Ot}px ${Zt} ${Kt}`;return{[`${st}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,gi.dF)()),{[st]:Object.assign(Object.assign({},(0,gi.Wf)(at)),{fontSize:Ut,background:an,borderRadius:`${yn}px ${yn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${yn}px ${yn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${st}-cell, + ${st}-thead > tr > th, + ${st}-tbody > tr > th, + ${st}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${$r}px ${Dt}px`,overflowWrap:"break-word"},[`${st}-title`]:{padding:`${St}px ${Dt}px`},[`${st}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:un,fontWeight:vt,textAlign:"start",background:kn,borderBottom:ea,transition:`background ${Wn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${st}-selection-column):not(${st}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Un,transform:"translateY(-50%)",transition:`background-color ${Wn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${st}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Wn}, border-color ${Wn}`,borderBottom:ea,[` + > ${st}-wrapper:only-child, + > ${st}-expanded-row-fixed > ${st}-wrapper:only-child + `]:{[st]:{marginBlock:`-${St}px`,marginInline:`${at.tableExpandColumnWidth-Dt}px -${Dt}px`,[`${st}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:un,fontWeight:vt,textAlign:"start",background:kn,borderBottom:ea,transition:`background ${Wn} ease`},[` + &${st}-row:hover > th, + &${st}-row:hover > td, + > th${st}-cell-row-hover, + > td${st}-cell-row-hover + `]:{background:Cr},[`&${st}-row-selected`]:{"> th, > td":{background:fr},"&:hover > th, &:hover > td":{background:Ar}}}},[`${st}-footer`]:{padding:`${St}px ${Dt}px`,color:pr,background:Nr}})}};var Fs=(0,ds.Z)("Table",at=>{const{colorTextHeading:st,colorSplit:vt,colorIcon:St,colorIconHover:Dt,opacityLoading:Ot,colorBgContainer:Zt,controlInteractiveSize:Kt,headerBg:Ut,headerColor:an,headerSortActiveBg:yn,headerSortHoverBg:un,bodySortBg:Wn,rowHoverBg:kn,rowSelectedBg:Un,rowSelectedHoverBg:Cr,rowExpandedBg:fr,cellPaddingBlock:Ar,cellPaddingInline:pr,cellPaddingBlockMD:Nr,cellPaddingInlineMD:$r,cellPaddingBlockSM:ea,cellPaddingInlineSM:Kr,borderColor:ca,footerBg:va,footerColor:_r,headerBorderRadius:Vr,cellFontSize:zr,cellFontSizeMD:Dr,cellFontSizeSM:Zr,headerSplitColor:la,fixedHeaderSortActiveBg:Ea,headerFilterHoverBg:ha,filterDropdownBg:na,expandIconBg:Ca,selectionColumnWidth:wa,stickyScrollBarBg:_a}=at,La=new ci.C(St),Va=new ci.C(Dt),Qa=2,ya=(0,fs.TS)(at,{tableFontSize:zr,tableBg:Zt,tableRadius:Vr,tablePaddingVertical:Ar,tablePaddingHorizontal:pr,tablePaddingVerticalMiddle:Nr,tablePaddingHorizontalMiddle:$r,tablePaddingVerticalSmall:ea,tablePaddingHorizontalSmall:Kr,tableBorderColor:ca,tableHeaderTextColor:an,tableHeaderBg:Ut,tableFooterTextColor:_r,tableFooterBg:va,tableHeaderCellSplitColor:la,tableHeaderSortBg:yn,tableHeaderSortHoverBg:un,tableHeaderIconColor:La.clone().setAlpha(La.getAlpha()*Ot).toRgbString(),tableHeaderIconColorHover:Va.clone().setAlpha(Va.getAlpha()*Ot).toRgbString(),tableBodySortBg:Wn,tableFixedHeaderSortActiveBg:Ea,tableHeaderFilterActiveBg:ha,tableFilterDropdownBg:na,tableRowHoverBg:kn,tableSelectedRowBg:Un,tableSelectedRowHoverBg:Cr,zIndexTableFixed:Qa,zIndexTableSticky:Qa+1,tableFontSizeMiddle:Dr,tableFontSizeSmall:Zr,tableSelectionColumnWidth:wa,tableExpandIconBg:Ca,tableExpandColumnWidth:Kt+2*at.padding,tableExpandedRowBg:fr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:_a,tableScrollThumbBgHover:st,tableScrollBg:vt});return[Ds(ya),Ss(ya),ji(ya),ws(ya),ys(ya),gs(ya),Es(ya),vs(ya),ji(ya),ps(ya),As(ya),bs(ya),xs(ya),ms(ya),Ps(ya),Cs(ya),Bs(ya)]},at=>{const{colorFillAlter:st,colorBgContainer:vt,colorTextHeading:St,colorFillSecondary:Dt,colorFillContent:Ot,controlItemBgActive:Zt,controlItemBgActiveHover:Kt,padding:Ut,paddingSM:an,paddingXS:yn,colorBorderSecondary:un,borderRadiusLG:Wn,fontSize:kn,controlHeight:Un,colorTextPlaceholder:Cr}=at,fr=new ci.C(Dt).onBackground(vt).toHexShortString(),Ar=new ci.C(Ot).onBackground(vt).toHexShortString(),pr=new ci.C(st).onBackground(vt).toHexShortString();return{headerBg:pr,headerColor:St,headerSortActiveBg:fr,headerSortHoverBg:Ar,bodySortBg:pr,rowHoverBg:pr,rowSelectedBg:Zt,rowSelectedHoverBg:Kt,rowExpandedBg:st,cellPaddingBlock:Ut,cellPaddingInline:Ut,cellPaddingBlockMD:an,cellPaddingInlineMD:yn,cellPaddingBlockSM:yn,cellPaddingInlineSM:yn,borderColor:un,headerBorderRadius:Wn,footerBg:pr,footerColor:St,cellFontSize:kn,cellFontSizeMD:kn,cellFontSizeSM:kn,headerSplitColor:un,fixedHeaderSortActiveBg:fr,headerFilterHoverBg:Ot,filterDropdownMenuBg:vt,filterDropdownBg:vt,expandIconBg:vt,selectionColumnWidth:Un,stickyScrollBarBg:Cr,stickyScrollBarBorderRadius:100}});const Os=[],Ls=(at,st)=>{const{prefixCls:vt,className:St,rootClassName:Dt,style:Ot,size:Zt,bordered:Kt,dropdownPrefixCls:Ut,dataSource:an,pagination:yn,rowSelection:un,rowKey:Wn="key",rowClassName:kn,columns:Un,children:Cr,childrenColumnName:fr,onChange:Ar,getPopupContainer:pr,loading:Nr,expandIcon:$r,expandable:ea,expandedRowRender:Kr,expandIconColumnIndex:ca,indentSize:va,scroll:_r,sortDirections:Vr,locale:zr,showSorterTooltip:Dr=!0,virtual:Zr}=at,la=ne.useMemo(()=>Un||xt(Cr),[Un,Cr]),Ea=ne.useMemo(()=>la.some(Oa=>Oa.responsive),[la]),ha=(0,jt.Z)(Ea),na=ne.useMemo(()=>{const Oa=new Set(Object.keys(ha).filter(za=>ha[za]));return la.filter(za=>!za.responsive||za.responsive.some(ao=>Oa.has(ao)))},[la,ha]),Ca=(0,ba.Z)(at,["className","style","columns"]),{locale:wa=$t.Z,direction:_a,table:La,renderEmpty:Va,getPrefixCls:Qa,getPopupContainer:ya}=ne.useContext(ua.E_),Xa=(0,ka.Z)(Zt),Ia=Object.assign(Object.assign({},wa.Table),zr),Ua=an||Os,Ha=Qa("table",vt),fo=Qa("dropdown",Ut),sa=Object.assign({childrenColumnName:fr,expandIconColumnIndex:ca},ea),{childrenColumnName:aa="children"}=sa,ra=ne.useMemo(()=>Ua.some(Oa=>Oa==null?void 0:Oa[aa])?"nest":Kr||ea&&ea.expandedRowRender?"row":null,[Ua]),Jr={body:ne.useRef()},Ta=ne.useMemo(()=>typeof Wn=="function"?Wn:Oa=>Oa==null?void 0:Oa[Wn],[Wn]),[qr]=_o(Ua,aa,Ta),ma={},Fa=function(Oa,za){let ao=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ka,lo,ho;const vo=Object.assign(Object.assign({},ma),Oa);ao&&((Ka=ma.resetPagination)===null||Ka===void 0||Ka.call(ma),!((lo=vo.pagination)===null||lo===void 0)&&lo.current&&(vo.pagination.current=1),yn&&yn.onChange&&yn.onChange(1,(ho=vo.pagination)===null||ho===void 0?void 0:ho.pageSize)),_r&&_r.scrollToFirstRowOnChange!==!1&&Jr.body.current&&(0,Pa.Z)(0,{getContainer:()=>Jr.body.current}),Ar==null||Ar(vo.pagination,vo.filters,vo.sorter,{currentDataSource:Ko(Ci(Ua,vo.sorterStates,aa),vo.filterStates),action:za})},Ba=(Oa,za)=>{Fa({sorter:Oa,sorterStates:za},"sort",!1)},[io,ro,Oo,Ja]=ss({prefixCls:Ha,mergedColumns:na,onSorterChange:Ba,sortDirections:Vr||["ascend","descend"],tableLocale:Ia,showSorterTooltip:Dr}),xo=ne.useMemo(()=>Ci(Ua,ro,aa),[Ua,ro]);ma.sorter=Ja(),ma.sorterStates=ro;const qa=(Oa,za)=>{Fa({filters:Oa,filterStates:za},"filter",!0)},[mo,ni,Na]=Ao({prefixCls:Ha,locale:Ia,dropdownPrefixCls:fo,mergedColumns:na,onFilterChange:qa,getPopupContainer:pr||ya}),Ra=Ko(xo,ni);ma.filters=Na,ma.filterStates=ni;const Wa=ne.useMemo(()=>{const Oa={};return Object.keys(Na).forEach(za=>{Na[za]!==null&&(Oa[za]=Na[za])}),Object.assign(Object.assign({},Oo),{filters:Oa})},[Oo,Na]),[$a]=ls(Wa),eo=(Oa,za)=>{Fa({pagination:Object.assign(Object.assign({},ma.pagination),{current:Oa,pageSize:za})},"paginate")},[xa,uo]=ai(Ra.length,eo,yn);ma.pagination=yn===!1?{}:Co(xa,yn),ma.resetPagination=uo;const so=ne.useMemo(()=>{if(yn===!1||!xa.pageSize)return Ra;const{current:Oa=1,total:za,pageSize:ao=Po}=xa;return Ra.lengthao?Ra.slice((Oa-1)*ao,Oa*ao):Ra:Ra.slice((Oa-1)*ao,Oa*ao)},[!!yn,Ra,xa&&xa.current,xa&&xa.pageSize,xa&&xa.total]),[So,No]=Jo({prefixCls:Ha,data:Ra,pageData:so,getRowKey:Ta,getRecordByKey:qr,expandType:ra,childrenColumnName:aa,locale:Ia,getPopupContainer:pr||ya},un),Lo=(Oa,za,ao)=>{let Ka;return typeof kn=="function"?Ka=Pe()(kn(Oa,za,ao)):Ka=Pe()(kn),Pe()({[`${Ha}-row-selected`]:No.has(Ta(Oa,za))},Ka)};sa.__PARENT_RENDER_ICON__=sa.expandIcon,sa.expandIcon=sa.expandIcon||$r||ln(Ia),ra==="nest"&&sa.expandIconColumnIndex===void 0?sa.expandIconColumnIndex=un?1:0:sa.expandIconColumnIndex>0&&un&&(sa.expandIconColumnIndex-=1),typeof sa.indentSize!="number"&&(sa.indentSize=typeof va=="number"?va:15);const di=ne.useCallback(Oa=>$a(So(mo(io(Oa)))),[io,mo,So]);let Uo,Bo;if(yn!==!1&&(xa!=null&&xa.total)){let Oa;xa.size?Oa=xa.size:Oa=Xa==="small"||Xa==="middle"?"small":void 0;const za=lo=>ne.createElement(wn.Z,Object.assign({},xa,{className:Pe()(`${Ha}-pagination ${Ha}-pagination-${lo}`,xa.className),size:Oa})),ao=_a==="rtl"?"left":"right",{position:Ka}=xa;if(Ka!==null&&Array.isArray(Ka)){const lo=Ka.find(Go=>Go.includes("top")),ho=Ka.find(Go=>Go.includes("bottom")),vo=Ka.every(Go=>`${Go}`=="none");!lo&&!ho&&!vo&&(Bo=za(ao)),lo&&(Uo=za(lo.toLowerCase().replace("top",""))),ho&&(Bo=za(ho.toLowerCase().replace("bottom","")))}else Bo=za(ao)}let po;typeof Nr=="boolean"?po={spinning:Nr}:typeof Nr=="object"&&(po=Object.assign({spinning:!0},Nr));const[co,to]=Fs(Ha),[,Za]=(0,sn.Z)(),Mo=Pe()(`${Ha}-wrapper`,La==null?void 0:La.className,{[`${Ha}-wrapper-rtl`]:_a==="rtl"},St,Dt,to),ri=Object.assign(Object.assign({},La==null?void 0:La.style),Ot),qo=zr&&zr.emptyText||(Va==null?void 0:Va("Table"))||ne.createElement(pa.Z,{componentName:"Table"}),Ro=Zr?cs:us,mi={},Ai=ne.useMemo(()=>{const{fontSize:Oa,lineHeight:za,padding:ao,paddingXS:Ka,paddingSM:lo}=Za,ho=Math.floor(Oa*za);switch(Xa){case"large":return ao*2+ho;case"small":return Ka*2+ho;default:return lo*2+ho}},[Za,Xa]);return Zr&&(mi.listItemHeight=Ai),co(ne.createElement("div",{ref:st,className:Mo,style:ri},ne.createElement(Nn.Z,Object.assign({spinning:!1},po),Uo,ne.createElement(Ro,Object.assign({},mi,Ca,{columns:na,direction:_a,expandable:sa,prefixCls:Ha,className:Pe()({[`${Ha}-middle`]:Xa==="middle",[`${Ha}-small`]:Xa==="small",[`${Ha}-bordered`]:Kt,[`${Ha}-empty`]:Ua.length===0}),data:so,rowKey:Ta,rowClassName:Lo,emptyText:qo,internalHooks:Ae,internalRefs:Jr,transformColumns:di})),Bo)))};var Is=ne.forwardRef(Ls);const Ts=(at,st)=>{const vt=ne.useRef(0);return vt.current+=1,ne.createElement(Is,Object.assign({},at,{ref:st,_renderTimes:vt.current}))},Ho=ne.forwardRef(Ts);Ho.SELECTION_COLUMN=Io,Ho.EXPAND_COLUMN=ae,Ho.SELECTION_ALL=si,Ho.SELECTION_INVERT=li,Ho.SELECTION_NONE=ta,Ho.Column=da,Ho.ColumnGroup=Xr,Ho.Summary=xe;var Ns=Ho,Ms=Ns},12563:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Ee}});var ae=fe(59301),Ae=fe(99267),E=fe(92310),ye=fe.n(E),he=fe(36785),ce=fe(47729),ne=fe(14088),se=fe(36355),de=fe(17313),le=fe(37613),ie=fe(83116);const oe=Ce=>{const{paddingXXS:Be,lineWidth:Pe,tagPaddingHorizontal:Fe,componentCls:we}=Ce,Le=Fe-Pe,Oe=Be-Pe;return{[we]:Object.assign(Object.assign({},(0,de.Wf)(Ce)),{display:"inline-block",height:"auto",marginInlineEnd:Ce.marginXS,paddingInline:Le,fontSize:Ce.tagFontSize,lineHeight:Ce.tagLineHeight,whiteSpace:"nowrap",background:Ce.defaultBg,border:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusSM,opacity:1,transition:`all ${Ce.motionDurationMid}`,textAlign:"start",position:"relative",[`&${we}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Ce.defaultColor},[`${we}-close-icon`]:{marginInlineStart:Oe,color:Ce.colorTextDescription,fontSize:Ce.tagIconSize,cursor:"pointer",transition:`all ${Ce.motionDurationMid}`,"&:hover":{color:Ce.colorTextHeading}},[`&${we}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Ce.iconCls}-close, ${Ce.iconCls}-close:hover`]:{color:Ce.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${we}-checkable-checked):hover`]:{color:Ce.colorPrimary,backgroundColor:Ce.colorFillSecondary},"&:active, &-checked":{color:Ce.colorTextLightSolid},"&-checked":{backgroundColor:Ce.colorPrimary,"&:hover":{backgroundColor:Ce.colorPrimaryHover}},"&:active":{backgroundColor:Ce.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Ce.iconCls} + span, > span + ${Ce.iconCls}`]:{marginInlineStart:Le}}),[`${we}-borderless`]:{borderColor:"transparent",background:Ce.tagBorderlessBg}}},re=Ce=>{const{lineWidth:Be,fontSizeIcon:Pe}=Ce,Fe=Ce.fontSizeSM,we=`${Ce.lineHeightSM*Fe}px`;return(0,le.TS)(Ce,{tagFontSize:Fe,tagLineHeight:we,tagIconSize:Pe-2*Be,tagPaddingHorizontal:8,tagBorderlessBg:Ce.colorFillTertiary})},ee=Ce=>({defaultBg:Ce.colorFillQuaternary,defaultColor:Ce.colorText});var a=(0,ie.Z)("Tag",Ce=>{const Be=re(Ce);return oe(Be)},ee),y=function(Ce,Be){var Pe={};for(var Fe in Ce)Object.prototype.hasOwnProperty.call(Ce,Fe)&&Be.indexOf(Fe)<0&&(Pe[Fe]=Ce[Fe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Fe=Object.getOwnPropertySymbols(Ce);we{const{prefixCls:Be,style:Pe,className:Fe,checked:we,onChange:Le,onClick:Oe}=Ce,Ge=y(Ce,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ne,tag:Ue}=ae.useContext(se.E_),He=Ve=>{Le==null||Le(!we),Oe==null||Oe(Ve)},Qe=Ne("tag",Be),[We,ze]=a(Qe),_e=ye()(Qe,`${Qe}-checkable`,{[`${Qe}-checkable-checked`]:we},Ue==null?void 0:Ue.className,Fe,ze);return We(ae.createElement("span",Object.assign({},Ge,{style:Object.assign(Object.assign({},Pe),Ue==null?void 0:Ue.style),className:_e,onClick:He})))},z=fe(45157);const te=Ce=>(0,z.Z)(Ce,(Be,Pe)=>{let{textColor:Fe,lightBorderColor:we,lightColor:Le,darkColor:Oe}=Pe;return{[`${Ce.componentCls}-${Be}`]:{color:Fe,background:Le,borderColor:we,"&-inverse":{color:Ce.colorTextLightSolid,background:Oe,borderColor:Oe},[`&${Ce.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ue=(0,ie.b)(["Tag","preset"],Ce=>{const Be=re(Ce);return te(Be)},ee);function me(Ce){return typeof Ce!="string"?Ce:Ce.charAt(0).toUpperCase()+Ce.slice(1)}const ve=(Ce,Be,Pe)=>{const Fe=me(Pe);return{[`${Ce.componentCls}-${Be}`]:{color:Ce[`color${Pe}`],background:Ce[`color${Fe}Bg`],borderColor:Ce[`color${Fe}Border`],[`&${Ce.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ge=(0,ie.b)(["Tag","status"],Ce=>{const Be=re(Ce);return[ve(Be,"success","Success"),ve(Be,"processing","Info"),ve(Be,"error","Error"),ve(Be,"warning","Warning")]},ee),pe=function(Ce,Be){var Pe={};for(var Fe in Ce)Object.prototype.hasOwnProperty.call(Ce,Fe)&&Be.indexOf(Fe)<0&&(Pe[Fe]=Ce[Fe]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Fe=Object.getOwnPropertySymbols(Ce);we{const{prefixCls:Pe,className:Fe,rootClassName:we,style:Le,children:Oe,icon:Ge,color:Ne,onClose:Ue,closeIcon:He,closable:Qe,bordered:We=!0}=Ce,ze=pe(Ce,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:_e,direction:Ve,tag:tt}=ae.useContext(se.E_),[et,dt]=ae.useState(!0);ae.useEffect(()=>{"visible"in ze&&dt(ze.visible)},[ze.visible]);const $e=(0,he.o2)(Ne),Ze=(0,he.yT)(Ne),Me=$e||Ze,qe=Object.assign(Object.assign({backgroundColor:Ne&&!Me?Ne:void 0},tt==null?void 0:tt.style),Le),Ie=_e("tag",Pe),[je,Je]=a(Ie),Ye=ye()(Ie,tt==null?void 0:tt.className,{[`${Ie}-${Ne}`]:Me,[`${Ie}-has-color`]:Ne&&!Me,[`${Ie}-hidden`]:!et,[`${Ie}-rtl`]:Ve==="rtl",[`${Ie}-borderless`]:!We},Fe,we,Je),ke=nt=>{nt.stopPropagation(),Ue==null||Ue(nt),!nt.defaultPrevented&&dt(!1)},[,De]=(0,ce.Z)(Qe,He,nt=>nt===null?ae.createElement(Ae.Z,{className:`${Ie}-close-icon`,onClick:ke}):ae.createElement("span",{className:`${Ie}-close-icon`,onClick:ke},nt),null,!1),Te=typeof ze.onClick=="function"||Oe&&Oe.type==="a",xe=Ge||null,Re=xe?ae.createElement(ae.Fragment,null,xe,Oe&&ae.createElement("span",null,Oe)):Oe,Xe=ae.createElement("span",Object.assign({},ze,{ref:Be,className:Ye,style:qe}),Re,De,$e&&ae.createElement(ue,{key:"preset",prefixCls:Ie}),Ze&&ae.createElement(ge,{key:"status",prefixCls:Ie}));return je(Te?ae.createElement(ne.Z,{component:"Tag"},Xe):Xe)},be=ae.forwardRef(Se);be.CheckableTag=b;var Ee=be},65615:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return nt}});var ae=fe(59301),Ae=fe(33885),E=fe(54476),ye=fe(76190),he=fe(42978),ce=fe(75931),ne=fe(43403),se=fe(35593),de=fe(92310),le=fe.n(de),ie=fe(34280),oe=fe(18929),re=fe(6089);function ee(Ke){var rt=window.innerWidth||document.documentElement.clientWidth,ht=window.innerHeight||document.documentElement.clientHeight,ut=Ke.getBoundingClientRect(),pt=ut.top,lt=ut.right,mt=ut.bottom,it=ut.left;return pt>=0&&it>=0&<<=rt&&mt<=ht}function a(Ke,rt,ht){var ut;return(ut=ht!=null?ht:rt)!==null&&ut!==void 0?ut:Ke===null?"center":"bottom"}function y(Ke,rt,ht,ut){var pt=(0,ae.useState)(void 0),lt=(0,he.Z)(pt,2),mt=lt[0],it=lt[1];(0,ie.Z)(function(){var hn=typeof Ke=="function"?Ke():Ke;it(hn||null)});var ct=(0,ae.useState)(null),ft=(0,he.Z)(ct,2),yt=ft[0],Et=ft[1],Tt=(0,re.Z)(function(){if(mt){!ee(mt)&&rt&&mt.scrollIntoView(ut);var hn=mt.getBoundingClientRect(),Rn=hn.left,bn=hn.top,dn=hn.width,lr=hn.height,jn={left:Rn,top:bn,width:dn,height:lr,radius:0};Et(function(Mn){return JSON.stringify(Mn)!==JSON.stringify(jn)?jn:Mn})}else Et(null)}),_t=function(Rn){var bn;return(bn=Array.isArray(ht==null?void 0:ht.offset)?ht==null?void 0:ht.offset[Rn]:ht==null?void 0:ht.offset)!==null&&bn!==void 0?bn:6};(0,ie.Z)(function(){return Tt(),window.addEventListener("resize",Tt),function(){window.removeEventListener("resize",Tt)}},[mt,rt,Tt]);var Gt=(0,ae.useMemo)(function(){if(!yt)return yt;var hn=_t(0),Rn=_t(1),bn=(ht==null?void 0:ht.radius)||2;return{left:yt.left-hn,top:yt.top-Rn,width:yt.width+hn*2,height:yt.height+Rn*2,radius:bn}},[yt,ht]);return[Gt,mt]}var x=fe(80402),b={fill:"transparent",pointerEvents:"auto"},z=function(rt){var ht=rt.prefixCls,ut=rt.rootClassName,pt=rt.pos,lt=rt.showMask,mt=rt.style,it=mt===void 0?{}:mt,ct=rt.fill,ft=ct===void 0?"rgba(0,0,0,0.5)":ct,yt=rt.open,Et=rt.animated,Tt=rt.zIndex,_t=(0,x.Z)(),Gt="".concat(ht,"-mask-").concat(_t),hn=(0,ye.Z)(Et)==="object"?Et==null?void 0:Et.placeholder:Et;return ae.createElement(ne.Z,{open:yt,autoLock:!0},ae.createElement("div",{className:le()("".concat(ht,"-mask"),ut),style:(0,Ae.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Tt,pointerEvents:"none"},it)},lt?ae.createElement("svg",{style:{width:"100%",height:"100%"}},ae.createElement("defs",null,ae.createElement("mask",{id:Gt},ae.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),pt&&ae.createElement("rect",{x:pt.left,y:pt.top,rx:pt.radius,width:pt.width,height:pt.height,fill:"black",className:hn?"".concat(ht,"-placeholder-animated"):""}))),ae.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:ft,mask:"url(#".concat(Gt,")")}),pt&&ae.createElement(ae.Fragment,null,ae.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:pt.top})),ae.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:pt.left,height:"100%"})),ae.createElement("rect",(0,E.Z)({},b,{x:"0",y:pt.top+pt.height,width:"100%",height:"calc(100vh - ".concat(pt.top+pt.height,"px)")})),ae.createElement("rect",(0,E.Z)({},b,{x:pt.left+pt.width,y:"0",width:"calc(100vw - ".concat(pt.left+pt.width,"px)"),height:"100%"})))):null))},te=z,ue={adjustX:1,adjustY:1},me=[0,0],ve={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function ge(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,rt={};return Object.keys(ve).forEach(function(ht){rt[ht]=(0,Ae.Z)((0,Ae.Z)({},ve[ht]),{},{autoArrow:Ke,targetOffset:me})}),rt}var pe=ge(),Se=fe(94480);function be(Ke){var rt=Ke.prefixCls,ht=Ke.current,ut=Ke.total,pt=Ke.title,lt=Ke.description,mt=Ke.onClose,it=Ke.onPrev,ct=Ke.onNext,ft=Ke.onFinish,yt=Ke.className,Et=Ke.closeIcon,Tt=Et!==!1&&Et!==null,_t=Et!==void 0&&Et!==!0?Et:ae.createElement("span",{className:"".concat(rt,"-close-x")},"\xD7");return ae.createElement("div",{className:le()("".concat(rt,"-content"),yt)},ae.createElement("div",{className:"".concat(rt,"-inner")},Tt&&ae.createElement("button",{type:"button",onClick:mt,"aria-label":"Close",className:"".concat(rt,"-close")},_t),ae.createElement("div",{className:"".concat(rt,"-header")},ae.createElement("div",{className:"".concat(rt,"-title")},pt)),ae.createElement("div",{className:"".concat(rt,"-description")},lt),ae.createElement("div",{className:"".concat(rt,"-footer")},ae.createElement("div",{className:"".concat(rt,"-sliders")},ut>1?(0,Se.Z)(Array.from({length:ut}).keys()).map(function(Gt,hn){return ae.createElement("span",{key:Gt,className:hn===ht?"active":""})}):null),ae.createElement("div",{className:"".concat(rt,"-buttons")},ht!==0?ae.createElement("button",{className:"".concat(rt,"-prev-btn"),onClick:it},"Prev"):null,ht===ut-1?ae.createElement("button",{className:"".concat(rt,"-finish-btn"),onClick:ft},"Finish"):ae.createElement("button",{className:"".concat(rt,"-next-btn"),onClick:ct},"Next")))))}var Ee=function(rt){var ht=rt.current,ut=rt.renderPanel;return ae.createElement(ae.Fragment,null,typeof ut=="function"?ut(rt,ht):ae.createElement(be,rt))},Ce=Ee,Be=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Pe={left:"50%",top:"50%",width:1,height:1},Fe=function(rt){var ht=rt.prefixCls,ut=ht===void 0?"rc-tour":ht,pt=rt.steps,lt=pt===void 0?[]:pt,mt=rt.defaultCurrent,it=rt.current,ct=rt.onChange,ft=rt.onClose,yt=rt.onFinish,Et=rt.open,Tt=rt.mask,_t=Tt===void 0?!0:Tt,Gt=rt.arrow,hn=Gt===void 0?!0:Gt,Rn=rt.rootClassName,bn=rt.placement,dn=rt.renderPanel,lr=rt.gap,jn=rt.animated,Mn=rt.scrollIntoViewOptions,cr=Mn===void 0?!0:Mn,hr=rt.zIndex,Dn=hr===void 0?1001:hr,qn=rt.closeIcon,Fn=(0,ce.Z)(rt,Be),Ct=ae.useRef(),cn=(0,oe.Z)(0,{value:it,defaultValue:mt}),nn=(0,he.Z)(cn,2),Sn=nn[0],Ln=nn[1],On=(0,oe.Z)(void 0,{value:Et,postState:function(Er){return Sn<0||Sn>=lt.length?!1:Er!=null?Er:!0}}),mn=(0,he.Z)(On,2),Pt=mn[0],Bt=mn[1],xt=ae.useRef(Pt);(0,ie.Z)(function(){Pt&&!xt.current&&Ln(0),xt.current=Pt},[Pt]);var tn=lt[Sn]||{},Bn=tn.target,fn=tn.placement,Sr=tn.style,Vn=tn.arrow,Ht=tn.className,Lt=tn.mask,gn=tn.scrollIntoViewOptions,Rt=tn.closeIcon,Pn=Pt&&(Lt!=null?Lt:_t),_n=Rt!=null?Rt:qn,ir=gn!=null?gn:cr,An=y(Bn,Et,lr,ir),bt=(0,he.Z)(An,2),kt=bt[0],Nt=bt[1],wt=a(Nt,bn,fn),qt=Nt?typeof Vn=="undefined"?hn:Vn:!1,Jt=(0,ye.Z)(qt)==="object"?qt.pointAtCenter:!1;(0,ie.Z)(function(){var Lr;(Lr=Ct.current)===null||Lr===void 0||Lr.forceAlign()},[Jt,Sn]);var rn=function(Er){Ln(Er),ct==null||ct(Er)};if(Nt===void 0)return null;var on=function(){Bt(!1),ft==null||ft(Sn)},$n=function(){return ae.createElement(Ce,(0,E.Z)({arrow:qt,key:"content",prefixCls:ut,total:lt.length,renderPanel:dn,onPrev:function(){rn(Sn-1)},onNext:function(){rn(Sn+1)},onClose:on,current:Sn,onFinish:function(){on(),yt==null||yt()},closeIcon:_n},lt[Sn]))},tr=typeof Pn=="boolean"?Pn:!!Pn,Wt=typeof Pn=="boolean"?void 0:Pn,Rr=function(Er){return Er||Nt||document.body};return ae.createElement(ae.Fragment,null,ae.createElement(te,{zIndex:Dn,prefixCls:ut,pos:kt,showMask:tr,style:Wt==null?void 0:Wt.style,fill:Wt==null?void 0:Wt.color,open:Pt,animated:jn,rootClassName:Rn}),ae.createElement(se.Z,(0,E.Z)({builtinPlacements:ge(Jt)},Fn,{ref:Ct,popupStyle:Sr,popupPlacement:wt,popupVisible:Pt,popupClassName:le()(Rn,Ht),prefixCls:ut,popup:$n,forceRender:!1,destroyPopupOnHide:!0,zIndex:Dn,getTriggerDOMNode:Rr,arrow:!!qt}),ae.createElement(ne.Z,{open:Pt,autoLock:!0},ae.createElement("div",{className:le()(Rn,"".concat(ut,"-target-placeholder")),style:(0,Ae.Z)((0,Ae.Z)({},kt||Pe),{},{position:"fixed",pointerEvents:"none"})}))))},we=Fe,Le=we,Oe=fe(79676),Ge=fe(36355),Ne=fe(88088),Ue=fe(99267),He=fe(3113),Qe=fe(9763),We=fe(31724),ze=fe(47729);function _e(Ke){return Ke!=null}var tt=Ke=>{let{stepProps:rt,current:ht,type:ut,indicatorsRender:pt,closeIcon:lt}=Ke;var mt,it;const{prefixCls:ct,total:ft=1,title:yt,onClose:Et,onPrev:Tt,onNext:_t,onFinish:Gt,cover:hn,description:Rn,nextButtonProps:bn,prevButtonProps:dn,type:lr,className:jn,closeIcon:Mn}=rt,cr=lr!=null?lr:ut,hr=Mn!=null?Mn:lt,Dn=hr!==!1&&hr!==null,[qn,Fn]=(0,ze.Z)(Dn,hr,tn=>ae.createElement("span",{onClick:Et,"aria-label":"Close",className:`${ct}-close`},tn),ae.createElement(Ue.Z,{className:`${ct}-close-icon`}),!0),Ct=ht===ft-1,cn=()=>{var tn;Tt==null||Tt(),(tn=dn==null?void 0:dn.onClick)===null||tn===void 0||tn.call(dn)},nn=()=>{var tn;Ct?Gt==null||Gt():_t==null||_t(),(tn=bn==null?void 0:bn.onClick)===null||tn===void 0||tn.call(bn)},Sn=_e(yt)?ae.createElement("div",{className:`${ct}-header`},ae.createElement("div",{className:`${ct}-title`},yt)):null,Ln=_e(Rn)?ae.createElement("div",{className:`${ct}-description`},Rn):null,On=_e(hn)?ae.createElement("div",{className:`${ct}-cover`},hn):null;let mn;pt?mn=pt(ht,ft):mn=(0,Se.Z)(Array.from({length:ft}).keys()).map((tn,Bn)=>ae.createElement("span",{key:tn,className:le()(Bn===ht&&`${ct}-indicator-active`,`${ct}-indicator`)}));const Pt=cr==="primary"?"default":"primary",Bt={type:"default",ghost:cr==="primary"},[xt]=(0,Qe.Z)("Tour",We.Z.Tour);return ae.createElement("div",{className:le()(jn,`${ct}-content`)},ae.createElement("div",{className:`${ct}-inner`},qn&&Fn,On,Sn,Ln,ae.createElement("div",{className:`${ct}-footer`},ft>1&&ae.createElement("div",{className:`${ct}-indicators`},mn),ae.createElement("div",{className:`${ct}-buttons`},ht!==0?ae.createElement(He.ZP,Object.assign({},Bt,dn,{onClick:cn,size:"small",className:le()(`${ct}-prev-btn`,dn==null?void 0:dn.className)}),(mt=dn==null?void 0:dn.children)!==null&&mt!==void 0?mt:xt==null?void 0:xt.Previous):null,ae.createElement(He.ZP,Object.assign({type:Pt},bn,{onClick:nn,size:"small",className:le()(`${ct}-next-btn`,bn==null?void 0:bn.className)}),(it=bn==null?void 0:bn.children)!==null&&it!==void 0?it:Ct?xt==null?void 0:xt.Finish:xt==null?void 0:xt.Next)))))},et=fe(39722),dt=fe(64993),$e=fe(17313),Ze=fe(19447),Me=fe(83116),qe=fe(37613);const Ie=Ke=>{const{componentCls:rt,lineHeight:ht,padding:ut,paddingXS:pt,borderRadius:lt,borderRadiusXS:mt,colorPrimary:it,colorText:ct,colorFill:ft,indicatorHeight:yt,indicatorWidth:Et,boxShadowTertiary:Tt,tourZIndexPopup:_t,fontSize:Gt,colorBgElevated:hn,fontWeightStrong:Rn,marginXS:bn,colorTextLightSolid:dn,tourBorderRadius:lr,colorWhite:jn,colorBgTextHover:Mn,tourCloseSize:cr,motionDurationSlow:hr,antCls:Dn}=Ke;return[{[rt]:Object.assign(Object.assign({},(0,$e.Wf)(Ke)),{color:ct,position:"absolute",zIndex:_t,display:"block",visibility:"visible",fontSize:Gt,lineHeight:ht,width:520,"--antd-arrow-background-color":hn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${rt}-hidden`]:{display:"none"},[`${rt}-content`]:{position:"relative"},[`${rt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:lr,boxShadow:Tt,position:"relative",backgroundColor:hn,border:"none",backgroundClip:"padding-box",[`${rt}-close`]:{position:"absolute",top:ut,insetInlineEnd:ut,color:Ke.colorIcon,outline:"none",width:cr,height:cr,borderRadius:Ke.borderRadiusSM,transition:`background-color ${Ke.motionDurationMid}, color ${Ke.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Ke.colorIconHover,backgroundColor:Ke.wireframe?"transparent":Ke.colorFillContent}},[`${rt}-cover`]:{textAlign:"center",padding:`${ut+cr+pt}px ${ut}px 0`,img:{width:"100%"}},[`${rt}-header`]:{padding:`${ut}px ${ut}px ${pt}px`,[`${rt}-title`]:{lineHeight:ht,fontSize:Gt,fontWeight:Rn}},[`${rt}-description`]:{padding:`0 ${ut}px`,lineHeight:ht,wordWrap:"break-word"},[`${rt}-footer`]:{padding:`${pt}px ${ut}px ${ut}px`,textAlign:"end",borderRadius:`0 0 ${mt}px ${mt}px`,display:"flex",[`${rt}-indicators`]:{display:"inline-block",[`${rt}-indicator`]:{width:Et,height:yt,display:"inline-block",borderRadius:"50%",background:ft,"&:not(:last-child)":{marginInlineEnd:yt},"&-active":{background:it}}},[`${rt}-buttons`]:{marginInlineStart:"auto",[`${Dn}-btn`]:{marginInlineStart:bn}}}},[`${rt}-primary, &${rt}-primary`]:{"--antd-arrow-background-color":it,[`${rt}-inner`]:{color:dn,textAlign:"start",textDecoration:"none",backgroundColor:it,borderRadius:lt,boxShadow:Tt,[`${rt}-close`]:{color:dn},[`${rt}-indicators`]:{[`${rt}-indicator`]:{background:new dt.C(dn).setAlpha(.15).toRgbString(),"&-active":{background:dn}}},[`${rt}-prev-btn`]:{color:dn,borderColor:new dt.C(dn).setAlpha(.15).toRgbString(),backgroundColor:it,"&:hover":{backgroundColor:new dt.C(dn).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${rt}-next-btn`]:{color:it,borderColor:"transparent",background:jn,"&:hover":{background:new dt.C(Mn).onBackground(jn).toRgbString()}}}}}),[`${rt}-mask`]:{[`${rt}-placeholder-animated`]:{transition:`all ${hr}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${rt}-inner`]:{borderRadius:Math.min(lr,Ze.qN)}}},(0,Ze.ZP)(Ke,{colorBg:"var(--antd-arrow-background-color)",contentRadius:lr,limitVerticalRadius:!0})]};var je=(0,Me.Z)("Tour",Ke=>{const{borderRadiusLG:rt,fontSize:ht,lineHeight:ut}=Ke,pt=(0,qe.TS)(Ke,{tourZIndexPopup:Ke.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:rt,tourCloseSize:ht*ut});return[Ie(pt)]}),Je=fe(53487),Ye=function(Ke,rt){var ht={};for(var ut in Ke)Object.prototype.hasOwnProperty.call(Ke,ut)&&rt.indexOf(ut)<0&&(ht[ut]=Ke[ut]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ut=Object.getOwnPropertySymbols(Ke);pt{const{prefixCls:rt,current:ht=0,total:ut=6,className:pt,style:lt,type:mt}=Ke,it=Ye(Ke,["prefixCls","current","total","className","style","type"]),{getPrefixCls:ct}=ae.useContext(Ge.E_),ft=ct("tour",rt),[yt,Et]=je(ft);return yt(ae.createElement(et.t5,{prefixCls:ft,hashId:Et,className:le()(pt,`${ft}-pure`,mt&&`${ft}-${mt}`),style:lt},ae.createElement(tt,{stepProps:Object.assign(Object.assign({},it),{prefixCls:ft,total:ut}),current:ht,type:mt})))};var De=(0,Je.i)(ke),xe=Ke=>{let{defaultType:rt,steps:ht=[],current:ut,defaultCurrent:pt}=Ke;var lt;const[mt,it]=(0,oe.Z)(pt,{value:ut});(0,ae.useLayoutEffect)(()=>{ut!==void 0&&it(ut)},[ut]);const ct=typeof mt=="number"?(lt=ht[mt])===null||lt===void 0?void 0:lt.type:rt;return{currentMergedType:ct!=null?ct:rt,updateInnerCurrent:it}},Re=function(Ke,rt){var ht={};for(var ut in Ke)Object.prototype.hasOwnProperty.call(Ke,ut)&&rt.indexOf(ut)<0&&(ht[ut]=Ke[ut]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ut=Object.getOwnPropertySymbols(Ke);pt{const{prefixCls:rt,current:ht,defaultCurrent:ut,type:pt,rootClassName:lt,indicatorsRender:mt,steps:it}=Ke,ct=Re(Ke,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:ft,direction:yt}=(0,ae.useContext)(Ge.E_),Et=ft("tour",rt),[Tt,_t]=je(Et),[,Gt]=(0,Ne.Z)(),{currentMergedType:hn,updateInnerCurrent:Rn}=xe({defaultType:pt,steps:it,current:ht,defaultCurrent:ut}),bn=(0,Oe.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:Gt.marginXXS,arrowWidth:Gt.sizePopupArrow,borderRadius:Gt.borderRadius}),dn=le()({[`${Et}-primary`]:hn==="primary",[`${Et}-rtl`]:yt==="rtl"},_t,lt),lr=(Mn,cr)=>ae.createElement(tt,{type:pt,stepProps:Mn,current:cr,indicatorsRender:mt}),jn=Mn=>{var cr;Rn(Mn),(cr=Ke.onChange)===null||cr===void 0||cr.call(Ke,Mn)};return Tt(ae.createElement(Le,Object.assign({},ct,{rootClassName:dn,prefixCls:Et,current:ht,defaultCurrent:ut,animated:!0,renderPanel:lr,builtinPlacements:bn,onChange:jn,steps:it})))};Xe._InternalPanelDoNotUseOrYouWillBeFired=De;var nt=Xe},17574:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return Ne}});var ae=fe(60091),Ae=fe(94480),E=fe(52671),ye=fe(8657),he=fe(54476),ce=fe(59301),ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},se=ne,de=fe(7657),le=function(He,Qe){return ce.createElement(de.Z,(0,he.Z)({},He,{ref:Qe,icon:se}))},ie=ce.forwardRef(le),oe=ie,re=fe(92310),ee=fe.n(re),a=fe(35654),y=fe(71430),x=fe(36355),b=fe(56082),z=fe(62892),te=fe(20648);const ue=4;function me(Ue){const{dropPosition:He,dropLevelOffset:Qe,prefixCls:We,indent:ze,direction:_e="ltr"}=Ue,Ve=_e==="ltr"?"left":"right",tt=_e==="ltr"?"right":"left",et={[Ve]:-Qe*ze+ue,[tt]:0};switch(He){case-1:et.top=-3;break;case 1:et.bottom=-3;break;default:et.bottom=-3,et[Ve]=ze+ue;break}return ce.createElement("div",{style:et,className:`${We}-drop-indicator`})}var ve=fe(71997),pe=ce.forwardRef((Ue,He)=>{const{getPrefixCls:Qe,direction:We,virtual:ze,tree:_e}=ce.useContext(x.E_),{prefixCls:Ve,className:tt,showIcon:et=!1,showLine:dt,switcherIcon:$e,blockNode:Ze=!1,children:Me,checkable:qe=!1,selectable:Ie=!0,draggable:je,motion:Je,style:Ye}=Ue,ke=Qe("tree",Ve),De=Qe(),Te=Je!=null?Je:Object.assign(Object.assign({},(0,z.Z)(De)),{motionAppear:!1}),xe=Object.assign(Object.assign({},Ue),{checkable:qe,selectable:Ie,showIcon:et,motion:Te,blockNode:Ze,showLine:!!dt,dropIndicatorRender:me}),[Re,Xe]=(0,te.ZP)(ke),nt=ce.useMemo(()=>{if(!je)return!1;let rt={};switch(typeof je){case"function":rt.nodeDraggable=je;break;case"object":rt=Object.assign({},je);break;default:break}return rt.icon!==!1&&(rt.icon=rt.icon||ce.createElement(b.Z,null)),rt},[je]),Ke=rt=>ce.createElement(ve.Z,{prefixCls:ke,switcherIcon:$e,treeNodeProps:rt,showLine:dt});return Re(ce.createElement(ae.Z,Object.assign({itemHeight:20,ref:He,virtual:ze},xe,{style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Ye),prefixCls:ke,className:ee()({[`${ke}-icon-hide`]:!et,[`${ke}-block-node`]:Ze,[`${ke}-unselectable`]:!Ie,[`${ke}-rtl`]:We==="rtl"},_e==null?void 0:_e.className,tt,Xe),direction:We,checkable:qe&&ce.createElement("span",{className:`${ke}-checkbox-inner`}),selectable:Ie,switcherIcon:Ke,draggable:nt}),Me))}),Se;(function(Ue){Ue[Ue.None=0]="None",Ue[Ue.Start=1]="Start",Ue[Ue.End=2]="End"})(Se||(Se={}));function be(Ue,He){function Qe(We){const{key:ze,children:_e}=We;He(ze,We)!==!1&&be(_e||[],He)}Ue.forEach(Qe)}function Ee(Ue){let{treeData:He,expandedKeys:Qe,startKey:We,endKey:ze}=Ue;const _e=[];let Ve=Se.None;if(We&&We===ze)return[We];if(!We||!ze)return[];function tt(et){return et===We||et===ze}return be(He,et=>{if(Ve===Se.End)return!1;if(tt(et)){if(_e.push(et),Ve===Se.None)Ve=Se.Start;else if(Ve===Se.Start)return Ve=Se.End,!1}else Ve===Se.Start&&_e.push(et);return Qe.includes(et)}),_e}function Ce(Ue,He){const Qe=(0,Ae.Z)(He),We=[];return be(Ue,(ze,_e)=>{const Ve=Qe.indexOf(ze);return Ve!==-1&&(We.push(_e),Qe.splice(Ve,1)),!!Qe.length}),We}var Be=function(Ue,He){var Qe={};for(var We in Ue)Object.prototype.hasOwnProperty.call(Ue,We)&&He.indexOf(We)<0&&(Qe[We]=Ue[We]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,We=Object.getOwnPropertySymbols(Ue);ze{var{defaultExpandAll:Qe,defaultExpandParent:We,defaultExpandedKeys:ze}=Ue,_e=Be(Ue,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ve=ce.useRef(),tt=ce.useRef(),et=()=>{const{keyEntities:nt}=(0,y.I8)(Fe(_e));let Ke;return Qe?Ke=Object.keys(nt):We?Ke=(0,a.r7)(_e.expandedKeys||ze||[],nt):Ke=_e.expandedKeys||ze,Ke},[dt,$e]=ce.useState(_e.selectedKeys||_e.defaultSelectedKeys||[]),[Ze,Me]=ce.useState(()=>et());ce.useEffect(()=>{"selectedKeys"in _e&&$e(_e.selectedKeys)},[_e.selectedKeys]),ce.useEffect(()=>{"expandedKeys"in _e&&Me(_e.expandedKeys)},[_e.expandedKeys]);const qe=(nt,Ke)=>{var rt;return"expandedKeys"in _e||Me(nt),(rt=_e.onExpand)===null||rt===void 0?void 0:rt.call(_e,nt,Ke)},Ie=(nt,Ke)=>{var rt;const{multiple:ht}=_e,{node:ut,nativeEvent:pt}=Ke,{key:lt=""}=ut,mt=Fe(_e),it=Object.assign(Object.assign({},Ke),{selected:!0}),ct=(pt==null?void 0:pt.ctrlKey)||(pt==null?void 0:pt.metaKey),ft=pt==null?void 0:pt.shiftKey;let yt;ht&&ct?(yt=nt,Ve.current=lt,tt.current=yt,it.selectedNodes=Ce(mt,yt)):ht&&ft?(yt=Array.from(new Set([].concat((0,Ae.Z)(tt.current||[]),(0,Ae.Z)(Ee({treeData:mt,expandedKeys:Ze,startKey:lt,endKey:Ve.current}))))),it.selectedNodes=Ce(mt,yt)):(yt=[lt],Ve.current=lt,tt.current=yt,it.selectedNodes=Ce(mt,yt)),(rt=_e.onSelect)===null||rt===void 0||rt.call(_e,yt,it),"selectedKeys"in _e||$e(yt)},{getPrefixCls:je,direction:Je}=ce.useContext(x.E_),{prefixCls:Ye,className:ke,showIcon:De=!0,expandAction:Te="click"}=_e,xe=Be(_e,["prefixCls","className","showIcon","expandAction"]),Re=je("tree",Ye),Xe=ee()(`${Re}-directory`,{[`${Re}-directory-rtl`]:Je==="rtl"},ke);return ce.createElement(pe,Object.assign({icon:Pe,ref:He,blockNode:!0},xe,{showIcon:De,expandAction:Te,prefixCls:Re,className:Xe,expandedKeys:Ze,selectedKeys:dt,onSelect:Ie,onExpand:qe}))};var Oe=ce.forwardRef(we);const Ge=pe;Ge.DirectoryTree=Oe,Ge.TreeNode=ae.O;var Ne=Ge},20648:function(gt,ot,fe){"use strict";fe.d(ot,{TM:function(){return re},Yk:function(){return oe}});var ae=fe(36237),Ae=fe(98447),E=fe(17313),ye=fe(8378),he=fe(37613),ce=fe(83116);const ne=new ae.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),se=(ee,a)=>({[`.${ee}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),de=(ee,a)=>({[`.${ee}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),le=(ee,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:ue}=a,me=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ne,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},se(ee,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:me},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ue},[`&${y}-node-selected`]:{backgroundColor:te},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},de(ee,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ie=ee=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ee;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ee.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ee.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ee.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},oe=(ee,a)=>{const y=`.${ee}`,x=`${y}-treenode`,b=a.paddingXS/2,z=(0,he.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[le(ee,z),ie(z)]},re=ee=>{const{controlHeightSM:a}=ee;return{titleHeight:a,nodeHoverBg:ee.controlItemBgHover,nodeSelectedBg:ee.controlItemBgActive}};ot.ZP=(0,ce.Z)("Tree",(ee,a)=>{let{prefixCls:y}=a;return[{[ee.componentCls]:(0,Ae.C2)(`${y}-checkbox`,ee)},oe(y,ee),(0,ye.Z)(ee)]},ee=>{const{colorTextLightSolid:a,colorPrimary:y}=ee;return Object.assign(Object.assign({},re(ee)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return x}});var ae=fe(54476),Ae=fe(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ye=E,he=fe(7657),ce=function(z,te){return Ae.createElement(he.Z,(0,ae.Z)({},z,{ref:te,icon:ye}))},ne=Ae.forwardRef(ce),se=ne,de=fe(52671),le=fe(58617),ie=fe(15075),oe=fe(43531),re=fe(92310),ee=fe.n(re),a=fe(92343),x=b=>{const{prefixCls:z,switcherIcon:te,treeNodeProps:ue,showLine:me}=b,{isLeaf:ve,expanded:ge,loading:pe}=ue;if(pe)return Ae.createElement(le.Z,{className:`${z}-switcher-loading-icon`});let Se;if(me&&typeof me=="object"&&(Se=me.showLeafIcon),ve){if(!me)return null;if(typeof Se!="boolean"&&Se){const Ce=typeof Se=="function"?Se(ue):Se,Be=`${z}-switcher-line-custom-icon`;return(0,a.l$)(Ce)?(0,a.Tm)(Ce,{className:ee()(Ce.props.className||"",Be)}):Ce}return Se?Ae.createElement(de.Z,{className:`${z}-switcher-line-icon`}):Ae.createElement("span",{className:`${z}-switcher-leaf-line`})}const be=`${z}-switcher-icon`,Ee=typeof te=="function"?te(ue):te;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:ee()(Ee.props.className||"",be)}):Ee!==void 0?Ee:me?ge?Ae.createElement(ie.Z,{className:`${z}-switcher-line-icon`}):Ae.createElement(oe.Z,{className:`${z}-switcher-line-icon`}):Ae.createElement(se,{className:be})}},54580:function(gt,ot,fe){"use strict";fe.d(ot,{default:function(){return An}});var ae=fe(59301),Ae=fe(94480),E=fe(92310),ye=fe.n(E),he=fe(54476),ce=fe(67732),ne=fe(83652),se=fe(42403),de=fe(158),le=fe(20068),ie=fe(75931),oe=fe(75044),re=fe(76190),ee=fe(3202),a=fe(26112);function y(bt,kt){var Nt="cannot ".concat(bt.method," ").concat(bt.action," ").concat(kt.status,"'"),wt=new Error(Nt);return wt.status=kt.status,wt.method=bt.method,wt.url=bt.action,wt}function x(bt){var kt=bt.responseText||bt.response;if(!kt)return kt;try{return JSON.parse(kt)}catch(Nt){return kt}}function b(bt){var kt=new XMLHttpRequest;bt.onProgress&&kt.upload&&(kt.upload.onprogress=function(Jt){Jt.total>0&&(Jt.percent=Jt.loaded/Jt.total*100),bt.onProgress(Jt)});var Nt=new FormData;bt.data&&Object.keys(bt.data).forEach(function(qt){var Jt=bt.data[qt];if(Array.isArray(Jt)){Jt.forEach(function(rn){Nt.append("".concat(qt,"[]"),rn)});return}Nt.append(qt,Jt)}),bt.file instanceof Blob?Nt.append(bt.filename,bt.file,bt.file.name):Nt.append(bt.filename,bt.file),kt.onerror=function(Jt){bt.onError(Jt)},kt.onload=function(){return kt.status<200||kt.status>=300?bt.onError(y(bt,kt),x(kt)):bt.onSuccess(x(kt),kt)},kt.open(bt.method,bt.action,!0),bt.withCredentials&&"withCredentials"in kt&&(kt.withCredentials=!0);var wt=bt.headers||{};return wt["X-Requested-With"]!==null&&kt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(wt).forEach(function(qt){wt[qt]!==null&&kt.setRequestHeader(qt,wt[qt])}),kt.send(Nt),{abort:function(){kt.abort()}}}var z=+new Date,te=0;function ue(){return"rc-upload-".concat(z,"-").concat(++te)}var me=fe(48736),ve=function(bt,kt){if(bt&&kt){var Nt=Array.isArray(kt)?kt:kt.split(","),wt=bt.name||"",qt=bt.type||"",Jt=qt.replace(/\/.*$/,"");return Nt.some(function(rn){var on=rn.trim();if(/^\*(\/\*)?$/.test(rn))return!0;if(on.charAt(0)==="."){var $n=wt.toLowerCase(),tr=on.toLowerCase(),Wt=[tr];return(tr===".jpg"||tr===".jpeg")&&(Wt=[".jpg",".jpeg"]),Wt.some(function(Rr){return $n.endsWith(Rr)})}return/\/\*$/.test(on)?Jt===on.replace(/\/.*$/,""):qt===on?!0:/^\w+$/.test(on)?((0,me.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(on,"'.Skip for check.")),!0):!1})}return!0};function ge(bt,kt){var Nt=bt.createReader(),wt=[];function qt(){Nt.readEntries(function(Jt){var rn=Array.prototype.slice.apply(Jt);wt=wt.concat(rn);var on=!rn.length;on?kt(wt):qt()})}qt()}var pe=function(kt,Nt,wt){var qt=function Jt(rn,on){rn&&(rn.path=on||"",rn.isFile?rn.file(function($n){wt($n)&&(rn.fullPath&&!$n.webkitRelativePath&&(Object.defineProperties($n,{webkitRelativePath:{writable:!0}}),$n.webkitRelativePath=rn.fullPath.replace(/^\//,""),Object.defineProperties($n,{webkitRelativePath:{writable:!1}})),Nt([$n]))}):rn.isDirectory&&ge(rn,function($n){$n.forEach(function(tr){Jt(tr,"".concat(on).concat(rn.name,"/"))})}))};kt.forEach(function(Jt){qt(Jt.webkitGetAsEntry())})},Se=pe,be=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ee=function(bt){(0,se.Z)(Nt,bt);var kt=(0,de.Z)(Nt);function Nt(){var wt;(0,ce.Z)(this,Nt);for(var qt=arguments.length,Jt=new Array(qt),rn=0;rn{let{uid:Jt}=qt;return Jt===bt.uid});return wt===-1?Nt.push(bt):Nt[wt]=bt,Nt}function rt(bt,kt){const Nt=bt.uid!==void 0?"uid":"name";return kt.filter(wt=>wt[Nt]===bt[Nt])[0]}function ht(bt,kt){const Nt=bt.uid!==void 0?"uid":"name",wt=kt.filter(qt=>qt[Nt]!==bt[Nt]);return wt.length===kt.length?null:wt}const ut=function(){const kt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),wt=kt[kt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(wt)||[""])[0]},pt=bt=>bt.indexOf("image/")===0,lt=bt=>{if(bt.type&&!bt.thumbUrl)return pt(bt.type);const kt=bt.thumbUrl||bt.url||"",Nt=ut(kt);return/^data:image\//.test(kt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Nt)?!0:!(/^data:/.test(kt)||Nt)},mt=200;function it(bt){return new Promise(kt=>{if(!bt.type||!pt(bt.type)){kt("");return}const Nt=document.createElement("canvas");Nt.width=mt,Nt.height=mt,Nt.style.cssText=`position: fixed; left: 0; top: 0; width: ${mt}px; height: ${mt}px; z-index: 9999; display: none;`,document.body.appendChild(Nt);const wt=Nt.getContext("2d"),qt=new Image;if(qt.onload=()=>{const{width:Jt,height:rn}=qt;let on=mt,$n=mt,tr=0,Wt=0;Jt>rn?($n=rn*(mt/Jt),Wt=-($n-on)/2):(on=Jt*(mt/rn),tr=-(on-$n)/2),wt.drawImage(qt,tr,Wt,on,$n);const Rr=Nt.toDataURL();document.body.removeChild(Nt),window.URL.revokeObjectURL(qt.src),kt(Rr)},qt.crossOrigin="anonymous",bt.type.startsWith("image/svg+xml")){const Jt=new FileReader;Jt.onload=()=>{Jt.result&&(qt.src=Jt.result)},Jt.readAsDataURL(bt)}else if(bt.type.startsWith("image/gif")){const Jt=new FileReader;Jt.onload=()=>{Jt.result&&kt(Jt.result)},Jt.readAsDataURL(bt)}else qt.src=window.URL.createObjectURL(bt)})}var ct=fe(26227),ft=fe(41464),yt=fe(15277),Et=fe(93948),Tt=fe(6848),Gt=ae.forwardRef((bt,kt)=>{let{prefixCls:Nt,className:wt,style:qt,locale:Jt,listType:rn,file:on,items:$n,progress:tr,iconRender:Wt,actionIconRender:Rr,itemRender:Lr,isImgUrl:Er,showPreviewIcon:Ur,showRemoveIcon:Cn,showDownloadIcon:Xn,previewIcon:gr,removeIcon:At,downloadIcon:Vt,onPreview:Qt,onDownload:zn,onClose:sr}=bt;var rr,vr;const{status:ur}=on,[Tn,vn]=ae.useState(ur);ae.useEffect(()=>{ur!=="removed"&&vn(ur)},[ur]);const[Zn,Yt]=ae.useState(!1);ae.useEffect(()=>{const ua=setTimeout(()=>{Yt(!0)},300);return()=>{clearTimeout(ua)}},[]);const Hr=Wt(on);let Gn=ae.createElement("div",{className:`${Nt}-icon`},Hr);if(rn==="picture"||rn==="picture-card"||rn==="picture-circle")if(Tn==="uploading"||!on.thumbUrl&&!on.url){const ua=ye()(`${Nt}-list-item-thumbnail`,{[`${Nt}-list-item-file`]:Tn!=="uploading"});Gn=ae.createElement("div",{className:ua},Hr)}else{const ua=Er!=null&&Er(on)?ae.createElement("img",{src:on.thumbUrl||on.url,alt:on.name,className:`${Nt}-list-item-image`,crossOrigin:on.crossOrigin}):Hr,pa=ye()(`${Nt}-list-item-thumbnail`,{[`${Nt}-list-item-file`]:Er&&!Er(on)});Gn=ae.createElement("a",{className:pa,onClick:ka=>Qt(on,ka),href:on.url||on.thumbUrl,target:"_blank",rel:"noopener noreferrer"},ua)}const Pr=ye()(`${Nt}-list-item`,`${Nt}-list-item-${Tn}`),Fr=typeof on.linkProps=="string"?JSON.parse(on.linkProps):on.linkProps,Yr=Cn?Rr((typeof At=="function"?At(on):At)||ae.createElement(ct.Z,null),()=>sr(on),Nt,Jt.removeFile):null,Ir=Xn&&Tn==="done"?Rr((typeof Vt=="function"?Vt(on):Vt)||ae.createElement(ft.Z,null),()=>zn(on),Nt,Jt.downloadFile):null,mr=rn!=="picture-card"&&rn!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:ye()(`${Nt}-list-item-actions`,{picture:rn==="picture"})},Ir,Yr),Tr=ye()(`${Nt}-list-item-name`),Or=on.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Tr,title:on.name},Fr,{href:on.url,onClick:ua=>Qt(on,ua)}),on.name),mr]:[ae.createElement("span",{key:"view",className:Tr,onClick:ua=>Qt(on,ua),title:on.name},on.name),mr],xr={pointerEvents:"none",opacity:.5},Mr=Ur?ae.createElement("a",{href:on.url||on.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:on.url||on.thumbUrl?void 0:xr,onClick:ua=>Qt(on,ua),title:Jt.previewFile},typeof gr=="function"?gr(on):gr||ae.createElement(yt.Z,null)):null,Kn=(rn==="picture-card"||rn==="picture-circle")&&Tn!=="uploading"&&ae.createElement("span",{className:`${Nt}-list-item-actions`},Mr,Tn==="done"&&Ir,Yr),{getPrefixCls:da}=ae.useContext(Ge.E_),oa=da(),Xr=ae.createElement("div",{className:Pr},Gn,Or,Kn,Zn&&ae.createElement(De.default,{motionName:`${oa}-fade`,visible:Tn==="uploading",motionDeadline:2e3},ua=>{let{className:pa}=ua;const ka="percent"in on?ae.createElement(Et.Z,Object.assign({},tr,{type:"line",percent:on.percent,"aria-label":on["aria-label"],"aria-labelledby":on["aria-labelledby"]})):null;return ae.createElement("div",{className:ye()(`${Nt}-list-item-progress`,pa)},ka)})),ba=on.response&&typeof on.response=="string"?on.response:((rr=on.error)===null||rr===void 0?void 0:rr.statusText)||((vr=on.error)===null||vr===void 0?void 0:vr.message)||Jt.uploadError,Pa=Tn==="error"?ae.createElement(Tt.Z,{title:ba,getPopupContainer:ua=>ua.parentNode},Xr):Xr;return ae.createElement("div",{className:ye()(`${Nt}-list-item-container`,wt),style:qt,ref:kt},Lr?Lr(Pa,on,$n,{download:zn.bind(null,on),preview:Qt.bind(null,on),remove:sr.bind(null,on)}):Pa)});const hn=(bt,kt)=>{const{listType:Nt="text",previewFile:wt=it,onPreview:qt,onDownload:Jt,onRemove:rn,locale:on,iconRender:$n,isImageUrl:tr=lt,prefixCls:Wt,items:Rr=[],showPreviewIcon:Lr=!0,showRemoveIcon:Er=!0,showDownloadIcon:Ur=!1,removeIcon:Cn,previewIcon:Xn,downloadIcon:gr,progress:At={size:[-1,2],showInfo:!1},appendAction:Vt,appendActionVisible:Qt=!0,itemRender:zn,disabled:sr}=bt,rr=(0,Te.Z)(),[vr,ur]=ae.useState(!1);ae.useEffect(()=>{Nt!=="picture"&&Nt!=="picture-card"&&Nt!=="picture-circle"||(Rr||[]).forEach(xr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(xr.originFileObj instanceof File||xr.originFileObj instanceof Blob)||xr.thumbUrl!==void 0||(xr.thumbUrl="",wt&&wt(xr.originFileObj).then(Mr=>{xr.thumbUrl=Mr||"",rr()}))})},[Nt,Rr,wt]),ae.useEffect(()=>{ur(!0)},[]);const Tn=(xr,Mr)=>{if(qt)return Mr==null||Mr.preventDefault(),qt(xr)},vn=xr=>{typeof Jt=="function"?Jt(xr):xr.url&&window.open(xr.url)},Zn=xr=>{rn==null||rn(xr)},Yt=xr=>{if($n)return $n(xr,Nt);const Mr=xr.status==="uploading",Kn=tr&&tr(xr)?ae.createElement(ke,null):ae.createElement(tt,null);let da=Mr?ae.createElement(et.Z,null):ae.createElement(qe,null);return Nt==="picture"?da=Mr?ae.createElement(et.Z,null):Kn:(Nt==="picture-card"||Nt==="picture-circle")&&(da=Mr?on.uploading:Kn),da},Hr=(xr,Mr,Kn,da)=>{const oa={type:"text",size:"small",title:da,onClick:Xr=>{Mr(),(0,Re.l$)(xr)&&xr.props.onClick&&xr.props.onClick(Xr)},className:`${Kn}-list-item-action`,disabled:sr};if((0,Re.l$)(xr)){const Xr=(0,Re.Tm)(xr,Object.assign(Object.assign({},xr.props),{onClick:()=>{}}));return ae.createElement(Xe.ZP,Object.assign({},oa,{icon:Xr}))}return ae.createElement(Xe.ZP,Object.assign({},oa),ae.createElement("span",null,xr))};ae.useImperativeHandle(kt,()=>({handlePreview:Tn,handleDownload:vn}));const{getPrefixCls:Gn}=ae.useContext(Ge.E_),Pr=Gn("upload",Wt),Fr=Gn(),Yr=ye()(`${Pr}-list`,`${Pr}-list-${Nt}`),Ir=(0,Ae.Z)(Rr.map(xr=>({key:xr.uid,file:xr})));let Tr={motionDeadline:2e3,motionName:`${Pr}-${Nt==="picture-card"||Nt==="picture-circle"?"animate-inline":"animate"}`,keys:Ir,motionAppear:vr};const Or=ae.useMemo(()=>{const xr=Object.assign({},(0,xe.Z)(Fr));return delete xr.onAppearEnd,delete xr.onEnterEnd,delete xr.onLeaveEnd,xr},[Fr]);return Nt!=="picture-card"&&Nt!=="picture-circle"&&(Tr=Object.assign(Object.assign({},Or),Tr)),ae.createElement("div",{className:Yr},ae.createElement(De.CSSMotionList,Object.assign({},Tr,{component:!1}),xr=>{let{key:Mr,file:Kn,className:da,style:oa}=xr;return ae.createElement(Gt,{key:Mr,locale:on,prefixCls:Pr,className:da,style:oa,file:Kn,items:Rr,progress:At,listType:Nt,isImgUrl:tr,showPreviewIcon:Lr,showRemoveIcon:Er,showDownloadIcon:Ur,removeIcon:Cn,previewIcon:Xn,downloadIcon:gr,iconRender:Yt,actionIconRender:Hr,itemRender:zn,onPreview:Tn,onDownload:vn,onClose:Zn})}),Vt&&ae.createElement(De.default,Object.assign({},Tr,{visible:Qt,forceRender:!0}),xr=>{let{className:Mr,style:Kn}=xr;return(0,Re.Tm)(Vt,da=>({className:ye()(da.className,Mr),style:Object.assign(Object.assign(Object.assign({},Kn),{pointerEvents:Mr?"none":void 0}),da.style)}))}))};var bn=ae.forwardRef(hn),dn=fe(17313),lr=fe(8378),jn=fe(83116),Mn=fe(37613),hr=bt=>{const{componentCls:kt,iconCls:Nt}=bt;return{[`${kt}-wrapper`]:{[`${kt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:bt.colorFillAlter,border:`${bt.lineWidth}px dashed ${bt.colorBorder}`,borderRadius:bt.borderRadiusLG,cursor:"pointer",transition:`border-color ${bt.motionDurationSlow}`,[kt]:{padding:`${bt.padding}px 0`},[`${kt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${kt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${kt}-disabled):hover`]:{borderColor:bt.colorPrimaryHover},[`p${kt}-drag-icon`]:{marginBottom:bt.margin,[Nt]:{color:bt.colorPrimary,fontSize:bt.uploadThumbnailSize}},[`p${kt}-text`]:{margin:`0 0 ${bt.marginXXS}px`,color:bt.colorTextHeading,fontSize:bt.fontSizeLG},[`p${kt}-hint`]:{color:bt.colorTextDescription,fontSize:bt.fontSize},[`&${kt}-disabled`]:{cursor:"not-allowed",[`p${kt}-drag-icon ${Nt}, + p${kt}-text, + p${kt}-hint + `]:{color:bt.colorTextDisabled}}}}}},qn=bt=>{const{componentCls:kt,antCls:Nt,iconCls:wt,fontSize:qt,lineHeight:Jt}=bt,rn=`${kt}-list-item`,on=`${rn}-actions`,$n=`${rn}-action`,tr=Math.round(qt*Jt);return{[`${kt}-wrapper`]:{[`${kt}-list`]:Object.assign(Object.assign({},(0,dn.dF)()),{lineHeight:bt.lineHeight,[rn]:{position:"relative",height:bt.lineHeight*qt,marginTop:bt.marginXS,fontSize:qt,display:"flex",alignItems:"center",transition:`background-color ${bt.motionDurationSlow}`,"&:hover":{backgroundColor:bt.controlItemBgHover},[`${rn}-name`]:Object.assign(Object.assign({},dn.vS),{padding:`0 ${bt.paddingXS}px`,lineHeight:Jt,flex:"auto",transition:`all ${bt.motionDurationSlow}`}),[on]:{[$n]:{opacity:0},[`${$n}${Nt}-btn-sm`]:{height:tr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${$n}:focus-visible, + &.picture ${$n} + `]:{opacity:1},[wt]:{color:bt.actionsColor,transition:`all ${bt.motionDurationSlow}`},[`&:hover ${wt}`]:{color:bt.colorText}},[`${kt}-icon ${wt}`]:{color:bt.colorTextDescription,fontSize:qt},[`${rn}-progress`]:{position:"absolute",bottom:-bt.uploadProgressOffset,width:"100%",paddingInlineStart:qt+bt.paddingXS,fontSize:qt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${rn}:hover ${$n}`]:{opacity:1,color:bt.colorText},[`${rn}-error`]:{color:bt.colorError,[`${rn}-name, ${kt}-icon ${wt}`]:{color:bt.colorError},[on]:{[`${wt}, ${wt}:hover`]:{color:bt.colorError},[$n]:{opacity:1}}},[`${kt}-list-item-container`]:{transition:`opacity ${bt.motionDurationSlow}, height ${bt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Fn=fe(36237),Ct=fe(1950);const cn=new Fn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),nn=new Fn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ln=bt=>{const{componentCls:kt}=bt,Nt=`${kt}-animate-inline`;return[{[`${kt}-wrapper`]:{[`${Nt}-appear, ${Nt}-enter, ${Nt}-leave`]:{animationDuration:bt.motionDurationSlow,animationTimingFunction:bt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Nt}-appear, ${Nt}-enter`]:{animationName:cn},[`${Nt}-leave`]:{animationName:nn}}},{[`${kt}-wrapper`]:(0,Ct.J$)(bt)},cn,nn]},On=fe(30071),mn=fe(64993);const Pt=bt=>{const{componentCls:kt,iconCls:Nt,uploadThumbnailSize:wt,uploadProgressOffset:qt}=bt,Jt=`${kt}-list`,rn=`${Jt}-item`;return{[`${kt}-wrapper`]:{[` + ${Jt}${Jt}-picture, + ${Jt}${Jt}-picture-card, + ${Jt}${Jt}-picture-circle + `]:{[rn]:{position:"relative",height:wt+bt.lineWidth*2+bt.paddingXS*2,padding:bt.paddingXS,border:`${bt.lineWidth}px ${bt.lineType} ${bt.colorBorder}`,borderRadius:bt.borderRadiusLG,"&:hover":{background:"transparent"},[`${rn}-thumbnail`]:Object.assign(Object.assign({},dn.vS),{width:wt,height:wt,lineHeight:`${wt+bt.paddingSM}px`,textAlign:"center",flex:"none",[Nt]:{fontSize:bt.fontSizeHeading2,color:bt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${rn}-progress`]:{bottom:qt,width:`calc(100% - ${bt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:wt+bt.paddingXS}},[`${rn}-error`]:{borderColor:bt.colorError,[`${rn}-thumbnail ${Nt}`]:{[`svg path[fill='${On.blue[0]}']`]:{fill:bt.colorErrorBg},[`svg path[fill='${On.blue.primary}']`]:{fill:bt.colorError}}},[`${rn}-uploading`]:{borderStyle:"dashed",[`${rn}-name`]:{marginBottom:qt}}},[`${Jt}${Jt}-picture-circle ${rn}`]:{[`&, &::before, ${rn}-thumbnail`]:{borderRadius:"50%"}}}}},Bt=bt=>{const{componentCls:kt,iconCls:Nt,fontSizeLG:wt,colorTextLightSolid:qt}=bt,Jt=`${kt}-list`,rn=`${Jt}-item`,on=bt.uploadPicCardSize;return{[` + ${kt}-wrapper${kt}-picture-card-wrapper, + ${kt}-wrapper${kt}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,dn.dF)()),{display:"inline-block",width:"100%",[`${kt}${kt}-select`]:{width:on,height:on,marginInlineEnd:bt.marginXS,marginBottom:bt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:bt.colorFillAlter,border:`${bt.lineWidth}px dashed ${bt.colorBorder}`,borderRadius:bt.borderRadiusLG,cursor:"pointer",transition:`border-color ${bt.motionDurationSlow}`,[`> ${kt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${kt}-disabled):hover`]:{borderColor:bt.colorPrimary}},[`${Jt}${Jt}-picture-card, ${Jt}${Jt}-picture-circle`]:{[`${Jt}-item-container`]:{display:"inline-block",width:on,height:on,marginBlock:`0 ${bt.marginXS}px`,marginInline:`0 ${bt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[rn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${bt.paddingXS*2}px)`,height:`calc(100% - ${bt.paddingXS*2}px)`,backgroundColor:bt.colorBgMask,opacity:0,transition:`all ${bt.motionDurationSlow}`,content:'" "'}},[`${rn}:hover`]:{[`&::before, ${rn}-actions`]:{opacity:1}},[`${rn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${bt.motionDurationSlow}`,[`${Nt}-eye, ${Nt}-download, ${Nt}-delete`]:{zIndex:10,width:wt,margin:`0 ${bt.marginXXS}px`,fontSize:wt,cursor:"pointer",transition:`all ${bt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${rn}-actions, ${rn}-actions:hover`]:{[`${Nt}-eye, ${Nt}-download, ${Nt}-delete`]:{color:new mn.C(qt).setAlpha(.65).toRgbString(),"&:hover":{color:qt}}},[`${rn}-thumbnail, ${rn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${rn}-name`]:{display:"none",textAlign:"center"},[`${rn}-file + ${rn}-name`]:{position:"absolute",bottom:bt.margin,display:"block",width:`calc(100% - ${bt.paddingXS*2}px)`},[`${rn}-uploading`]:{[`&${rn}`]:{backgroundColor:bt.colorFillAlter},[`&::before, ${Nt}-eye, ${Nt}-download, ${Nt}-delete`]:{display:"none"}},[`${rn}-progress`]:{bottom:bt.marginXL,width:`calc(100% - ${bt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${kt}-wrapper${kt}-picture-circle-wrapper`]:{[`${kt}${kt}-select`]:{borderRadius:"50%"}}}};var tn=bt=>{const{componentCls:kt}=bt;return{[`${kt}-rtl`]:{direction:"rtl"}}};const Bn=bt=>{const{componentCls:kt,colorTextDisabled:Nt}=bt;return{[`${kt}-wrapper`]:Object.assign(Object.assign({},(0,dn.Wf)(bt)),{[kt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${kt}-select`]:{display:"inline-block"},[`${kt}-disabled`]:{color:Nt,cursor:"not-allowed"}})}};var fn=(0,jn.Z)("Upload",bt=>{const{fontSizeHeading3:kt,fontSize:Nt,lineHeight:wt,lineWidth:qt,controlHeightLG:Jt}=bt,rn=Math.round(Nt*wt),on=(0,Mn.TS)(bt,{uploadThumbnailSize:kt*2,uploadProgressOffset:rn/2+qt,uploadPicCardSize:Jt*2.55});return[Bn(on),hr(on),Pt(on),Bt(on),qn(on),Ln(on),tn(on),(0,lr.Z)(on)]},bt=>({actionsColor:bt.colorTextDescription})),Sr=function(bt,kt,Nt,wt){function qt(Jt){return Jt instanceof Nt?Jt:new Nt(function(rn){rn(Jt)})}return new(Nt||(Nt=Promise))(function(Jt,rn){function on(Wt){try{tr(wt.next(Wt))}catch(Rr){rn(Rr)}}function $n(Wt){try{tr(wt.throw(Wt))}catch(Rr){rn(Rr)}}function tr(Wt){Wt.done?Jt(Wt.value):qt(Wt.value).then(on,$n)}tr((wt=wt.apply(bt,kt||[])).next())})};const Vn=`__LIST_IGNORE_${Date.now()}__`,Ht=(bt,kt)=>{const{fileList:Nt,defaultFileList:wt,onRemove:qt,showUploadList:Jt=!0,listType:rn="text",onPreview:on,onDownload:$n,onChange:tr,onDrop:Wt,previewFile:Rr,disabled:Lr,locale:Er,iconRender:Ur,isImageUrl:Cn,progress:Xn,prefixCls:gr,className:At,type:Vt="select",children:Qt,style:zn,itemRender:sr,maxCount:rr,data:vr={},multiple:ur=!1,action:Tn="",accept:vn="",supportServerRender:Zn=!0,rootClassName:Yt}=bt,Hr=ae.useContext(Ne.Z),Gn=Lr!=null?Lr:Hr,[Pr,Fr]=(0,Le.Z)(wt||[],{value:Nt,postState:er=>er!=null?er:[]}),[Yr,Ir]=ae.useState("drop"),mr=ae.useRef(null);ae.useMemo(()=>{const er=Date.now();(Nt||[]).forEach((kr,Gr)=>{!kr.uid&&!Object.isFrozen(kr)&&(kr.uid=`__AUTO__${er}_${Gr}__`)})},[Nt]);const Tr=(er,kr,Gr)=>{let or=(0,Ae.Z)(kr),In=!1;rr===1?or=or.slice(-1):rr&&(In=or.length>rr,or=or.slice(0,rr)),(0,Oe.flushSync)(()=>{Fr(or)});const It={file:er,fileList:or};Gr&&(It.event=Gr),(!In||or.some(Mt=>Mt.uid===er.uid))&&(0,Oe.flushSync)(()=>{tr==null||tr(It)})},Or=(er,kr)=>Sr(void 0,void 0,void 0,function*(){const{beforeUpload:Gr,transformFile:or}=bt;let In=er;if(Gr){const It=yield Gr(er,kr);if(It===!1)return!1;if(delete er[Vn],It===Vn)return Object.defineProperty(er,Vn,{value:!0,configurable:!0}),!1;typeof It=="object"&&It&&(In=It)}return or&&(In=yield or(In)),In}),xr=er=>{const kr=er.filter(In=>!In.file[Vn]);if(!kr.length)return;const Gr=kr.map(In=>nt(In.file));let or=(0,Ae.Z)(Pr);Gr.forEach(In=>{or=Ke(In,or)}),Gr.forEach((In,It)=>{let Mt=In;if(kr[It].parsedFile)In.status="uploading";else{const{originFileObj:zt}=In;let Ft;try{Ft=new File([zt],zt.name,{type:zt.type})}catch(pn){Ft=new Blob([zt],{type:zt.type}),Ft.name=zt.name,Ft.lastModifiedDate=new Date,Ft.lastModified=new Date().getTime()}Ft.uid=In.uid,Mt=Ft}Tr(Mt,or)})},Mr=(er,kr,Gr)=>{try{typeof er=="string"&&(er=JSON.parse(er))}catch(It){}if(!rt(kr,Pr))return;const or=nt(kr);or.status="done",or.percent=100,or.response=er,or.xhr=Gr;const In=Ke(or,Pr);Tr(or,In)},Kn=(er,kr)=>{if(!rt(kr,Pr))return;const Gr=nt(kr);Gr.status="uploading",Gr.percent=er.percent;const or=Ke(Gr,Pr);Tr(Gr,or,er)},da=(er,kr,Gr)=>{if(!rt(Gr,Pr))return;const or=nt(Gr);or.error=er,or.response=kr,or.status="error";const In=Ke(or,Pr);Tr(or,In)},oa=er=>{let kr;Promise.resolve(typeof qt=="function"?qt(er):qt).then(Gr=>{var or;if(Gr===!1)return;const In=ht(er,Pr);In&&(kr=Object.assign(Object.assign({},er),{status:"removed"}),Pr==null||Pr.forEach(It=>{const Mt=kr.uid!==void 0?"uid":"name";It[Mt]===kr[Mt]&&!Object.isFrozen(It)&&(It.status="removed")}),(or=mr.current)===null||or===void 0||or.abort(kr),Tr(kr,In))})},Xr=er=>{Ir(er.type),er.type==="drop"&&(Wt==null||Wt(er))};ae.useImperativeHandle(kt,()=>({onBatchStart:xr,onSuccess:Mr,onProgress:Kn,onError:da,fileList:Pr,upload:mr.current}));const{getPrefixCls:ba,direction:Pa,upload:ua}=ae.useContext(Ge.E_),pa=ba("upload",gr),ka=Object.assign(Object.assign({onBatchStart:xr,onError:da,onProgress:Kn,onSuccess:Mr},bt),{data:vr,multiple:ur,action:Tn,accept:vn,supportServerRender:Zn,prefixCls:pa,disabled:Gn,beforeUpload:Or,onChange:void 0});delete ka.className,delete ka.style,(!Qt||Gn)&&delete ka.id;const[jt,$t]=fn(pa),[wn]=(0,Ue.Z)("Upload",He.Z.Upload),{showRemoveIcon:Nn,showPreviewIcon:sn,showDownloadIcon:en,removeIcon:ln,previewIcon:En,downloadIcon:xn}=typeof Jt=="boolean"?{}:Jt,ar=(er,kr)=>Jt?ae.createElement(bn,{prefixCls:pa,listType:rn,items:Pr,previewFile:Rr,onPreview:on,onDownload:$n,onRemove:oa,showRemoveIcon:!Gn&&Nn,showPreviewIcon:sn,showDownloadIcon:en,removeIcon:ln,previewIcon:En,downloadIcon:xn,iconRender:Ur,locale:Object.assign(Object.assign({},wn),Er),isImageUrl:Cn,progress:Xn,appendAction:er,appendActionVisible:kr,itemRender:sr,disabled:Gn}):er,Hn=ye()(`${pa}-wrapper`,At,Yt,$t,ua==null?void 0:ua.className,{[`${pa}-rtl`]:Pa==="rtl",[`${pa}-picture-card-wrapper`]:rn==="picture-card",[`${pa}-picture-circle-wrapper`]:rn==="picture-circle"}),Qr=Object.assign(Object.assign({},ua==null?void 0:ua.style),zn);if(Vt==="drag"){const er=ye()($t,pa,`${pa}-drag`,{[`${pa}-drag-uploading`]:Pr.some(kr=>kr.status==="uploading"),[`${pa}-drag-hover`]:Yr==="dragover",[`${pa}-disabled`]:Gn,[`${pa}-rtl`]:Pa==="rtl"});return jt(ae.createElement("span",{className:Hn},ae.createElement("div",{className:er,style:Qr,onDrop:Xr,onDragOver:Xr,onDragLeave:Xr},ae.createElement(we,Object.assign({},ka,{ref:mr,className:`${pa}-btn`}),ae.createElement("div",{className:`${pa}-drag-container`},Qt))),ar()))}const wr=ye()(pa,`${pa}-select`,{[`${pa}-disabled`]:Gn}),Jn=(er=>ae.createElement("div",{className:wr,style:er},ae.createElement(we,Object.assign({},ka,{ref:mr}))))(Qt?void 0:{display:"none"});return jt(rn==="picture-card"||rn==="picture-circle"?ae.createElement("span",{className:Hn},ar(Jn,!!Qt)):ae.createElement("span",{className:Hn},Jn,ar()))};var gn=ae.forwardRef(Ht),Rt=function(bt,kt){var Nt={};for(var wt in bt)Object.prototype.hasOwnProperty.call(bt,wt)&&kt.indexOf(wt)<0&&(Nt[wt]=bt[wt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,wt=Object.getOwnPropertySymbols(bt);qt{var{style:Nt,height:wt}=bt,qt=Rt(bt,["style","height"]);return ae.createElement(gn,Object.assign({ref:kt},qt,{type:"drag",style:Object.assign(Object.assign({},Nt),{height:wt})}))});const ir=gn;ir.Dragger=_n,ir.LIST_IGNORE=Vn;var An=ir},14625:function(gt){function ot(ae){var Ae,E,ye="";if(typeof ae=="string"||typeof ae=="number")ye+=ae;else if(typeof ae=="object")if(Array.isArray(ae)){var he=ae.length;for(Ae=0;Ae>>6)+se(128|Fe&63):se(224|Fe>>>12&15)+se(128|Fe>>>6&63)+se(128|Fe&63)}else{var Fe=65536+(Pe.charCodeAt(0)-55296)*1024+(Pe.charCodeAt(1)-56320);return se(240|Fe>>>18&7)+se(128|Fe>>>12&63)+se(128|Fe>>>6&63)+se(128|Fe&63)}},le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ie=function(Pe){return Pe.replace(le,de)},oe=function(Pe){var Fe=[0,2,1][Pe.length%3],we=Pe.charCodeAt(0)<<16|(Pe.length>1?Pe.charCodeAt(1):0)<<8|(Pe.length>2?Pe.charCodeAt(2):0),Le=[ce.charAt(we>>>18),ce.charAt(we>>>12&63),Fe>=2?"=":ce.charAt(we>>>6&63),Fe>=1?"=":ce.charAt(we&63)];return Le.join("")},re=E.btoa&&typeof E.btoa=="function"?function(Pe){return E.btoa(Pe)}:function(Pe){if(Pe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Pe.replace(/[\s\S]{1,3}/g,oe)},ee=function(Pe){return re(ie(String(Pe)))},a=function(Pe){return Pe.replace(/[+\/]/g,function(Fe){return Fe=="+"?"-":"_"}).replace(/=/g,"")},y=function(Pe,Fe){return Fe?a(ee(Pe)):ee(Pe)},x=function(Pe){return y(Pe,!0)},b;E.Uint8Array&&(b=function(Pe,Fe){for(var we="",Le=0,Oe=Pe.length;Le>>18)+ce.charAt(He>>>12&63)+(typeof Ne!="undefined"?ce.charAt(He>>>6&63):"=")+(typeof Ue!="undefined"?ce.charAt(He&63):"=")}return Fe?a(we):we});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Pe){switch(Pe.length){case 4:var Fe=(7&Pe.charCodeAt(0))<<18|(63&Pe.charCodeAt(1))<<12|(63&Pe.charCodeAt(2))<<6|63&Pe.charCodeAt(3),we=Fe-65536;return se((we>>>10)+55296)+se((we&1023)+56320);case 3:return se((15&Pe.charCodeAt(0))<<12|(63&Pe.charCodeAt(1))<<6|63&Pe.charCodeAt(2));default:return se((31&Pe.charCodeAt(0))<<6|63&Pe.charCodeAt(1))}},ue=function(Pe){return Pe.replace(z,te)},me=function(Pe){var Fe=Pe.length,we=Fe%4,Le=(Fe>0?ne[Pe.charAt(0)]<<18:0)|(Fe>1?ne[Pe.charAt(1)]<<12:0)|(Fe>2?ne[Pe.charAt(2)]<<6:0)|(Fe>3?ne[Pe.charAt(3)]:0),Oe=[se(Le>>>16),se(Le>>>8&255),se(Le&255)];return Oe.length-=[0,0,2,1][we],Oe.join("")},ve=E.atob&&typeof E.atob=="function"?function(Pe){return E.atob(Pe)}:function(Pe){return Pe.replace(/\S{1,4}/g,me)},ge=function(Pe){return ve(String(Pe).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(Pe){return ue(ve(Pe))},Se=function(Pe){return String(Pe).replace(/[-_]/g,function(Fe){return Fe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},be=function(Pe){return pe(Se(Pe))},Ee;E.Uint8Array&&(Ee=function(Pe){return Uint8Array.from(ge(Se(Pe)),function(Fe){return Fe.charCodeAt(0)})});var Ce=function(){var Pe=E.Base64;return E.Base64=ye,Pe};if(E.Base64={VERSION:he,atob:ge,btoa:re,fromBase64:be,toBase64:y,utob:ie,encode:y,encodeURI:x,btou:ue,decode:be,noConflict:Ce,fromUint8Array:b,toUint8Array:Ee},typeof Object.defineProperty=="function"){var Be=function(Pe){return{value:Pe,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Be(function(){return be(this)})),Object.defineProperty(String.prototype,"toBase64",Be(function(Pe){return y(this,Pe)})),Object.defineProperty(String.prototype,"toBase64URI",Be(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),gt.exports?gt.exports.Base64=E.Base64:(ae=[],Ae=function(){return E.Base64}.apply(ot,ae),Ae!==void 0&&(gt.exports=Ae)),{Base64:E.Base64}})},91735:function(gt,ot){"use strict";ot.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},39417:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return pe}});var ae=fe(54476),Ae=fe(20068),E=fe(75931),ye=fe(33885),he=fe(67732),ce=fe(83652),ne=fe(31226),se=fe(42403),de=fe(158),le=fe(92310),ie=fe.n(le),oe=fe(26112),re=fe(59301),ee=fe(39378),a=function(be){for(var Ee=be.prefixCls,Ce=be.level,Be=be.isStart,Pe=be.isEnd,Fe="".concat(Ee,"-indent-unit"),we=[],Le=0;Le0&&arguments[0]!==void 0?arguments[0]:[],Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ye=je.length,ke=Je.length;if(Math.abs(Ye-ke)!==1)return{add:!1,key:null};function De(Te,xe){var Re=new Map;Te.forEach(function(nt){Re.set(nt,!0)});var Xe=xe.filter(function(nt){return!Re.has(nt)});return Xe.length===1?Xe[0]:null}return Ye ").concat(Je);return Je}var Ve=y.forwardRef(function(je,Je){var Ye=je.prefixCls,ke=je.data,De=je.selectable,Te=je.checkable,xe=je.expandedKeys,Re=je.selectedKeys,Xe=je.checkedKeys,nt=je.loadedKeys,Ke=je.loadingKeys,rt=je.halfCheckedKeys,ht=je.keyEntities,ut=je.disabled,pt=je.dragging,lt=je.dragOverNodeKey,mt=je.dropPosition,it=je.motion,ct=je.height,ft=je.itemHeight,yt=je.virtual,Et=je.focusable,Tt=je.activeItem,_t=je.focused,Gt=je.tabIndex,hn=je.onKeyDown,Rn=je.onFocus,bn=je.onBlur,dn=je.onActiveChange,lr=je.onListChangeStart,jn=je.onListChangeEnd,Mn=(0,ue.Z)(je,Le),cr=y.useRef(null),hr=y.useRef(null);y.useImperativeHandle(Je,function(){return{scrollTo:function(An){cr.current.scrollTo(An)},getIndentWidth:function(){return hr.current.offsetWidth}}});var Dn=y.useState(xe),qn=(0,te.Z)(Dn,2),Fn=qn[0],Ct=qn[1],cn=y.useState(ke),nn=(0,te.Z)(cn,2),Sn=nn[0],Ln=nn[1],On=y.useState(ke),mn=(0,te.Z)(On,2),Pt=mn[0],Bt=mn[1],xt=y.useState([]),tn=(0,te.Z)(xt,2),Bn=tn[0],fn=tn[1],Sr=y.useState(null),Vn=(0,te.Z)(Sr,2),Ht=Vn[0],Lt=Vn[1],gn=y.useRef(ke);gn.current=ke;function Rt(){var ir=gn.current;Ln(ir),Bt(ir),fn([]),Lt(null),jn()}(0,me.Z)(function(){Ct(xe);var ir=Fe(Fn,xe);if(ir.key!==null)if(ir.add){var An=Sn.findIndex(function(Jt){var rn=Jt.key;return rn===ir.key}),bt=We(we(Sn,ke,ir.key),yt,ct,ft),kt=Sn.slice();kt.splice(An+1,0,Qe),Bt(kt),fn(bt),Lt("show")}else{var Nt=ke.findIndex(function(Jt){var rn=Jt.key;return rn===ir.key}),wt=We(we(ke,Sn,ir.key),yt,ct,ft),qt=ke.slice();qt.splice(Nt+1,0,Qe),Bt(qt),fn(wt),Lt("hide")}else Sn!==ke&&(Ln(ke),Bt(ke))},[xe,ke]),y.useEffect(function(){pt||Rt()},[pt]);var Pn=it?Pt:ke,_n={expandedKeys:xe,selectedKeys:Re,loadedKeys:nt,loadingKeys:Ke,checkedKeys:Xe,halfCheckedKeys:rt,dragOverNodeKey:lt,dropPosition:mt,keyEntities:ht};return y.createElement(y.Fragment,null,_t&&Tt&&y.createElement("span",{style:Oe,"aria-live":"assertive"},_e(Tt)),y.createElement("div",null,y.createElement("input",{style:Oe,disabled:Et===!1||ut,tabIndex:Et!==!1?Gt:null,onKeyDown:hn,onFocus:Rn,onBlur:bn,value:"",onChange:Ge,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(Ye,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(Ye,"-indent")},y.createElement("div",{ref:hr,className:"".concat(Ye,"-indent-unit")}))),y.createElement(ve.Z,(0,ae.Z)({},Mn,{data:Pn,itemKey:ze,height:ct,fullHeight:!1,virtual:yt,itemHeight:ft,prefixCls:"".concat(Ye,"-list"),ref:cr,onVisibleChange:function(An,bt){var kt=new Set(An),Nt=bt.filter(function(wt){return!kt.has(wt)});Nt.some(function(wt){return ze(wt)===Ne})&&Rt()}}),function(ir){var An=ir.pos,bt=(0,ae.Z)({},(z(ir.data),ir.data)),kt=ir.title,Nt=ir.key,wt=ir.isStart,qt=ir.isEnd,Jt=(0,be.km)(Nt,An);delete bt.key,delete bt.children;var rn=(0,be.H8)(Jt,_n);return y.createElement(Pe,(0,ae.Z)({},bt,rn,{title:kt,active:!!Tt&&Nt===Tt.key,pos:An,data:ir.data,isStart:wt,isEnd:qt,motion:it,motionNodes:Nt===Ne?Bn:null,motionType:Ht,onMotionStart:lr,onMotionEnd:Rt,treeNodeRequiredProps:_n,onMouseMove:function(){dn(null)}}))}))});Ve.displayName="NodeList";var tt=Ve,et=fe(35654),dt=fe(90782),$e=fe(67841),Ze=10,Me=function(je){(0,de.Z)(Ye,je);var Je=(0,le.Z)(Ye);function Ye(){var ke;(0,ce.Z)(this,Ye);for(var De=arguments.length,Te=new Array(De),xe=0;xe2&&arguments[2]!==void 0?arguments[2]:!1,rt=ke.state,ht=rt.dragChildrenKeys,ut=rt.dropPosition,pt=rt.dropTargetKey,lt=rt.dropTargetPos,mt=rt.dropAllowed;if(mt){var it=ke.props.onDrop;if(ke.setState({dragOverNodeKey:null}),ke.cleanDragState(),pt!==null){var ct=(0,ye.Z)((0,ye.Z)({},(0,be.H8)(pt,ke.getTreeNodeRequiredProps())),{},{active:((nt=ke.getActiveItem())===null||nt===void 0?void 0:nt.key)===pt,data:(0,$e.Z)(ke.state.keyEntities,pt).node}),ft=ht.indexOf(pt)!==-1;(0,a.ZP)(!ft,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var yt=(0,et.yx)(lt),Et={event:Re,node:(0,be.F)(ct),dragNode:ke.dragNode?(0,be.F)(ke.dragNode.props):null,dragNodesKeys:[ke.dragNode.props.eventKey].concat(ht),dropToGap:ut!==0,dropPosition:ut+Number(yt[yt.length-1])};Ke||it==null||it(Et),ke.dragNode=null}}},ke.cleanDragState=function(){var Re=ke.state.draggingNodeKey;Re!==null&&ke.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ke.dragStartMousePosition=null,ke.currentMouseOverDroppableNodeKey=null},ke.triggerExpandActionExpand=function(Re,Xe){var nt=ke.state,Ke=nt.expandedKeys,rt=nt.flattenNodes,ht=Xe.expanded,ut=Xe.key,pt=Xe.isLeaf;if(!(pt||Re.shiftKey||Re.metaKey||Re.ctrlKey)){var lt=rt.filter(function(it){return it.key===ut})[0],mt=(0,be.F)((0,ye.Z)((0,ye.Z)({},(0,be.H8)(ut,ke.getTreeNodeRequiredProps())),{},{data:lt.data}));ke.setExpandedKeys(ht?(0,et._5)(Ke,ut):(0,et.L0)(Ke,ut)),ke.onNodeExpand(Re,mt)}},ke.onNodeClick=function(Re,Xe){var nt=ke.props,Ke=nt.onClick,rt=nt.expandAction;rt==="click"&&ke.triggerExpandActionExpand(Re,Xe),Ke==null||Ke(Re,Xe)},ke.onNodeDoubleClick=function(Re,Xe){var nt=ke.props,Ke=nt.onDoubleClick,rt=nt.expandAction;rt==="doubleClick"&&ke.triggerExpandActionExpand(Re,Xe),Ke==null||Ke(Re,Xe)},ke.onNodeSelect=function(Re,Xe){var nt=ke.state.selectedKeys,Ke=ke.state,rt=Ke.keyEntities,ht=Ke.fieldNames,ut=ke.props,pt=ut.onSelect,lt=ut.multiple,mt=Xe.selected,it=Xe[ht.key],ct=!mt;ct?lt?nt=(0,et.L0)(nt,it):nt=[it]:nt=(0,et._5)(nt,it);var ft=nt.map(function(yt){var Et=(0,$e.Z)(rt,yt);return Et?Et.node:null}).filter(function(yt){return yt});ke.setUncontrolledState({selectedKeys:nt}),pt==null||pt(nt,{event:"select",selected:ct,node:Xe,selectedNodes:ft,nativeEvent:Re.nativeEvent})},ke.onNodeCheck=function(Re,Xe,nt){var Ke=ke.state,rt=Ke.keyEntities,ht=Ke.checkedKeys,ut=Ke.halfCheckedKeys,pt=ke.props,lt=pt.checkStrictly,mt=pt.onCheck,it=Xe.key,ct,ft={event:"check",node:Xe,checked:nt,nativeEvent:Re.nativeEvent};if(lt){var yt=nt?(0,et.L0)(ht,it):(0,et._5)(ht,it),Et=(0,et._5)(ut,it);ct={checked:yt,halfChecked:Et},ft.checkedNodes=yt.map(function(bn){return(0,$e.Z)(rt,bn)}).filter(function(bn){return bn}).map(function(bn){return bn.node}),ke.setUncontrolledState({checkedKeys:yt})}else{var Tt=(0,dt.S)([].concat((0,he.Z)(ht),[it]),!0,rt),_t=Tt.checkedKeys,Gt=Tt.halfCheckedKeys;if(!nt){var hn=new Set(_t);hn.delete(it);var Rn=(0,dt.S)(Array.from(hn),{checked:!1,halfCheckedKeys:Gt},rt);_t=Rn.checkedKeys,Gt=Rn.halfCheckedKeys}ct=_t,ft.checkedNodes=[],ft.checkedNodesPositions=[],ft.halfCheckedKeys=Gt,_t.forEach(function(bn){var dn=(0,$e.Z)(rt,bn);if(dn){var lr=dn.node,jn=dn.pos;ft.checkedNodes.push(lr),ft.checkedNodesPositions.push({node:lr,pos:jn})}}),ke.setUncontrolledState({checkedKeys:_t},!1,{halfCheckedKeys:Gt})}mt==null||mt(ct,ft)},ke.onNodeLoad=function(Re){var Xe=Re.key,nt=new Promise(function(Ke,rt){ke.setState(function(ht){var ut=ht.loadedKeys,pt=ut===void 0?[]:ut,lt=ht.loadingKeys,mt=lt===void 0?[]:lt,it=ke.props,ct=it.loadData,ft=it.onLoad;if(!ct||pt.indexOf(Xe)!==-1||mt.indexOf(Xe)!==-1)return null;var yt=ct(Re);return yt.then(function(){var Et=ke.state.loadedKeys,Tt=(0,et.L0)(Et,Xe);ft==null||ft(Tt,{event:"load",node:Re}),ke.setUncontrolledState({loadedKeys:Tt}),ke.setState(function(_t){return{loadingKeys:(0,et._5)(_t.loadingKeys,Xe)}}),Ke()}).catch(function(Et){if(ke.setState(function(_t){return{loadingKeys:(0,et._5)(_t.loadingKeys,Xe)}}),ke.loadingRetryTimes[Xe]=(ke.loadingRetryTimes[Xe]||0)+1,ke.loadingRetryTimes[Xe]>=Ze){var Tt=ke.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ke.setUncontrolledState({loadedKeys:(0,et.L0)(Tt,Xe)}),Ke()}rt(Et)}),{loadingKeys:(0,et.L0)(mt,Xe)}})});return nt.catch(function(){}),nt},ke.onNodeMouseEnter=function(Re,Xe){var nt=ke.props.onMouseEnter;nt==null||nt({event:Re,node:Xe})},ke.onNodeMouseLeave=function(Re,Xe){var nt=ke.props.onMouseLeave;nt==null||nt({event:Re,node:Xe})},ke.onNodeContextMenu=function(Re,Xe){var nt=ke.props.onRightClick;nt&&(Re.preventDefault(),nt({event:Re,node:Xe}))},ke.onFocus=function(){var Re=ke.props.onFocus;ke.setState({focused:!0});for(var Xe=arguments.length,nt=new Array(Xe),Ke=0;Ke1&&arguments[1]!==void 0?arguments[1]:!1,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ke.destroyed){var Ke=!1,rt=!0,ht={};Object.keys(Re).forEach(function(ut){if(ut in ke.props){rt=!1;return}Ke=!0,ht[ut]=Re[ut]}),Ke&&(!Xe||rt)&&ke.setState((0,ye.Z)((0,ye.Z)({},ht),nt))}},ke.scrollTo=function(Re){ke.listRef.current.scrollTo(Re)},ke}return(0,ne.Z)(Ye,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var De=this.props.activeKey;De!==void 0&&De!==this.state.activeKey&&(this.setState({activeKey:De}),De!==null&&this.scrollTo({key:De}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var De,Te=this.state,xe=Te.focused,Re=Te.flattenNodes,Xe=Te.keyEntities,nt=Te.draggingNodeKey,Ke=Te.activeKey,rt=Te.dropLevelOffset,ht=Te.dropContainerKey,ut=Te.dropTargetKey,pt=Te.dropPosition,lt=Te.dragOverNodeKey,mt=Te.indent,it=this.props,ct=it.prefixCls,ft=it.className,yt=it.style,Et=it.showLine,Tt=it.focusable,_t=it.tabIndex,Gt=_t===void 0?0:_t,hn=it.selectable,Rn=it.showIcon,bn=it.icon,dn=it.switcherIcon,lr=it.draggable,jn=it.checkable,Mn=it.checkStrictly,cr=it.disabled,hr=it.motion,Dn=it.loadData,qn=it.filterTreeNode,Fn=it.height,Ct=it.itemHeight,cn=it.virtual,nn=it.titleRender,Sn=it.dropIndicatorRender,Ln=it.onContextMenu,On=it.onScroll,mn=it.direction,Pt=it.rootClassName,Bt=it.rootStyle,xt=(0,ee.Z)(this.props,{aria:!0,data:!0}),tn;return lr&&((0,E.Z)(lr)==="object"?tn=lr:typeof lr=="function"?tn={nodeDraggable:lr}:tn={}),y.createElement(x.k.Provider,{value:{prefixCls:ct,selectable:hn,showIcon:Rn,icon:bn,switcherIcon:dn,draggable:tn,draggingNodeKey:nt,checkable:jn,checkStrictly:Mn,disabled:cr,keyEntities:Xe,dropLevelOffset:rt,dropContainerKey:ht,dropTargetKey:ut,dropPosition:pt,dragOverNodeKey:lt,indent:mt,direction:mn,dropIndicatorRender:Sn,loadData:Dn,filterTreeNode:qn,titleRender:nn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:oe()(ct,ft,Pt,(De={},(0,Ae.Z)(De,"".concat(ct,"-show-line"),Et),(0,Ae.Z)(De,"".concat(ct,"-focused"),xe),(0,Ae.Z)(De,"".concat(ct,"-active-focused"),Ke!==null),De)),style:Bt},y.createElement(tt,(0,ae.Z)({ref:this.listRef,prefixCls:ct,style:yt,data:Re,disabled:cr,selectable:hn,checkable:!!jn,motion:hr,dragging:nt!==null,height:Fn,itemHeight:Ct,virtual:cn,focusable:Tt,focused:xe,tabIndex:Gt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ln,onScroll:On},this.getTreeNodeRequiredProps(),xt))))}}],[{key:"getDerivedStateFromProps",value:function(De,Te){var xe=Te.prevProps,Re={prevProps:De};function Xe(Tt){return!xe&&Tt in De||xe&&xe[Tt]!==De[Tt]}var nt,Ke=Te.fieldNames;if(Xe("fieldNames")&&(Ke=(0,be.w$)(De.fieldNames),Re.fieldNames=Ke),Xe("treeData")?nt=De.treeData:Xe("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=(0,be.zn)(De.children)),nt){Re.treeData=nt;var rt=(0,be.I8)(nt,{fieldNames:Ke});Re.keyEntities=(0,ye.Z)((0,Ae.Z)({},Ne,He),rt.keyEntities)}var ht=Re.keyEntities||Te.keyEntities;if(Xe("expandedKeys")||xe&&Xe("autoExpandParent"))Re.expandedKeys=De.autoExpandParent||!xe&&De.defaultExpandParent?(0,et.r7)(De.expandedKeys,ht):De.expandedKeys;else if(!xe&&De.defaultExpandAll){var ut=(0,ye.Z)({},ht);delete ut[Ne],Re.expandedKeys=Object.keys(ut).map(function(Tt){return ut[Tt].key})}else!xe&&De.defaultExpandedKeys&&(Re.expandedKeys=De.autoExpandParent||De.defaultExpandParent?(0,et.r7)(De.defaultExpandedKeys,ht):De.defaultExpandedKeys);if(Re.expandedKeys||delete Re.expandedKeys,nt||Re.expandedKeys){var pt=(0,be.oH)(nt||Te.treeData,Re.expandedKeys||Te.expandedKeys,Ke);Re.flattenNodes=pt}if(De.selectable&&(Xe("selectedKeys")?Re.selectedKeys=(0,et.BT)(De.selectedKeys,De):!xe&&De.defaultSelectedKeys&&(Re.selectedKeys=(0,et.BT)(De.defaultSelectedKeys,De))),De.checkable){var lt;if(Xe("checkedKeys")?lt=(0,et.E6)(De.checkedKeys)||{}:!xe&&De.defaultCheckedKeys?lt=(0,et.E6)(De.defaultCheckedKeys)||{}:nt&&(lt=(0,et.E6)(De.checkedKeys)||{checkedKeys:Te.checkedKeys,halfCheckedKeys:Te.halfCheckedKeys}),lt){var mt=lt,it=mt.checkedKeys,ct=it===void 0?[]:it,ft=mt.halfCheckedKeys,yt=ft===void 0?[]:ft;if(!De.checkStrictly){var Et=(0,dt.S)(ct,!0,ht);ct=Et.checkedKeys,yt=Et.halfCheckedKeys}Re.checkedKeys=ct,Re.halfCheckedKeys=yt}}return Xe("loadedKeys")&&(Re.loadedKeys=De.loadedKeys),Re}}]),Ye}(y.Component);Me.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},Me.TreeNode=pe.Z;var qe=Me,Ie=qe},35654:function(gt,ot,fe){"use strict";fe.d(ot,{BT:function(){return y},E6:function(){return z},L0:function(){return le},OM:function(){return a},_5:function(){return de},r7:function(){return te},wA:function(){return oe},yx:function(){return ie}});var ae=fe(94480),Ae=fe(76190),E=fe(48736),ye=fe(59301),he=fe(39417),ce=fe(67841),ne=fe(71430),se=null;function de(ue,me){if(!ue)return[];var ve=ue.slice(),ge=ve.indexOf(me);return ge>=0&&ve.splice(ge,1),ve}function le(ue,me){var ve=(ue||[]).slice();return ve.indexOf(me)===-1&&ve.push(me),ve}function ie(ue){return ue.split("-")}function oe(ue,me){var ve=[],ge=(0,ce.Z)(me,ue);function pe(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Se.forEach(function(be){var Ee=be.key,Ce=be.children;ve.push(Ee),pe(Ce)})}return pe(ge.children),ve}function re(ue){if(ue.parent){var me=ie(ue.pos);return Number(me[me.length-1])===ue.parent.children.length-1}return!1}function ee(ue){var me=ie(ue.pos);return Number(me[me.length-1])===0}function a(ue,me,ve,ge,pe,Se,be,Ee,Ce,Be){var Pe,Fe=ue.clientX,we=ue.clientY,Le=ue.target.getBoundingClientRect(),Oe=Le.top,Ge=Le.height,Ne=(Be==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Fe),Ue=(Ne-12)/ge,He=(0,ce.Z)(Ee,ve.props.eventKey);if(we-1.5?Se({dragNode:Ze,dropNode:Me,dropPosition:1})?et=1:qe=!1:Se({dragNode:Ze,dropNode:Me,dropPosition:0})?et=0:Se({dragNode:Ze,dropNode:Me,dropPosition:1})?et=1:qe=!1:Se({dragNode:Ze,dropNode:Me,dropPosition:1})?et=1:qe=!1,{dropPosition:et,dropLevelOffset:dt,dropTargetKey:He.key,dropTargetPos:He.pos,dragOverNodeKey:tt,dropContainerKey:et===0?null:((Pe=He.parent)===null||Pe===void 0?void 0:Pe.key)||null,dropAllowed:qe}}function y(ue,me){if(ue){var ve=me.multiple;return ve?ue.slice():ue.length?[ue[0]]:ue}}var x=function(me){return me};function b(ue,me){if(!ue)return[];var ve=me||{},ge=ve.processProps,pe=ge===void 0?x:ge,Se=Array.isArray(ue)?ue:[ue];return Se.map(function(be){var Ee=be.children,Ce=_objectWithoutProperties(be,se),Be=b(Ee,me);return React.createElement(TreeNode,_extends({key:Ce.key},pe(Ce)),Be)})}function z(ue){if(!ue)return null;var me;if(Array.isArray(ue))me={checkedKeys:ue,halfCheckedKeys:void 0};else if((0,Ae.Z)(ue)==="object")me={checkedKeys:ue.checked||void 0,halfCheckedKeys:ue.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return me}function te(ue,me){var ve=new Set;function ge(pe){if(!ve.has(pe)){var Se=(0,ce.Z)(me,pe);if(Se){ve.add(pe);var be=Se.parent,Ee=Se.node;Ee.disabled||be&&ge(be.key)}}}return(ue||[]).forEach(function(pe){ge(pe)}),(0,ae.Z)(ve)}},90782:function(gt,ot,fe){"use strict";fe.d(ot,{S:function(){return ne}});var ae=fe(48736),Ae=fe(67841);function E(se,de){var le=new Set;return se.forEach(function(ie){de.has(ie)||le.add(ie)}),le}function ye(se){var de=se||{},le=de.disabled,ie=de.disableCheckbox,oe=de.checkable;return!!(le||ie)||oe===!1}function he(se,de,le,ie){for(var oe=new Set(se),re=new Set,ee=0;ee<=le;ee+=1){var a=de.get(ee)||new Set;a.forEach(function(z){var te=z.key,ue=z.node,me=z.children,ve=me===void 0?[]:me;oe.has(te)&&!ie(ue)&&ve.filter(function(ge){return!ie(ge.node)}).forEach(function(ge){oe.add(ge.key)})})}for(var y=new Set,x=le;x>=0;x-=1){var b=de.get(x)||new Set;b.forEach(function(z){var te=z.parent,ue=z.node;if(!(ie(ue)||!z.parent||y.has(z.parent.key))){if(ie(z.parent.node)){y.add(te.key);return}var me=!0,ve=!1;(te.children||[]).filter(function(ge){return!ie(ge.node)}).forEach(function(ge){var pe=ge.key,Se=oe.has(pe);me&&!Se&&(me=!1),!ve&&(Se||re.has(pe))&&(ve=!0)}),me&&oe.add(te.key),ve&&re.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(re,oe))}}function ce(se,de,le,ie,oe){for(var re=new Set(se),ee=new Set(de),a=0;a<=ie;a+=1){var y=le.get(a)||new Set;y.forEach(function(te){var ue=te.key,me=te.node,ve=te.children,ge=ve===void 0?[]:ve;!re.has(ue)&&!ee.has(ue)&&!oe(me)&&ge.filter(function(pe){return!oe(pe.node)}).forEach(function(pe){re.delete(pe.key)})})}ee=new Set;for(var x=new Set,b=ie;b>=0;b-=1){var z=le.get(b)||new Set;z.forEach(function(te){var ue=te.parent,me=te.node;if(!(oe(me)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(ue.key);return}var ve=!0,ge=!1;(ue.children||[]).filter(function(pe){return!oe(pe.node)}).forEach(function(pe){var Se=pe.key,be=re.has(Se);ve&&!be&&(ve=!1),!ge&&(be||ee.has(Se))&&(ge=!0)}),ve||re.delete(ue.key),ge&&ee.add(ue.key),x.add(ue.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from(E(ee,re))}}function ne(se,de,le,ie){var oe=[],re;ie?re=ie:re=ye;var ee=new Set(se.filter(function(b){var z=!!(0,Ae.Z)(le,b);return z||oe.push(b),z})),a=new Map,y=0;Object.keys(le).forEach(function(b){var z=le[b],te=z.level,ue=a.get(te);ue||(ue=new Set,a.set(te,ue)),ue.add(z),y=Math.max(y,te)}),(0,ae.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return de===!0?x=he(ee,a,y,re):x=ce(ee,de.halfCheckedKeys,a,y,re),x}},67841:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return ae}});function ae(Ae,E){return Ae[E]}},71430:function(gt,ot,fe){"use strict";fe.d(ot,{F:function(){return te},H8:function(){return z},I8:function(){return b},km:function(){return oe},oH:function(){return y},w$:function(){return re},zn:function(){return a}});var ae=fe(76190),Ae=fe(94480),E=fe(33885),ye=fe(75931),he=fe(11592),ce=fe(2738),ne=fe(48736),se=fe(67841),de=["children"];function le(ue,me){return"".concat(ue,"-").concat(me)}function ie(ue){return ue&&ue.type&&ue.type.isTreeNode}function oe(ue,me){return ue!=null?ue:me}function re(ue){var me=ue||{},ve=me.title,ge=me._title,pe=me.key,Se=me.children,be=ve||"title";return{title:be,_title:ge||[be],key:pe||"key",children:Se||"children"}}function ee(ue,me){var ve=new Map;function ge(pe){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(pe||[]).forEach(function(be){var Ee=be[me.key],Ce=be[me.children];warning(Ee!=null,"Tree node must have a certain key: [".concat(Se).concat(Ee,"]"));var Be=String(Ee);warning(!ve.has(Be)||Ee===null||Ee===void 0,"Same 'key' exist in the Tree: ".concat(Be)),ve.set(Be,!0),ge(Ce,"".concat(Se).concat(Be," > "))})}ge(ue)}function a(ue){function me(ve){var ge=(0,he.Z)(ve);return ge.map(function(pe){if(!ie(pe))return(0,ne.ZP)(!pe,"Tree/TreeNode can only accept TreeNode as children."),null;var Se=pe.key,be=pe.props,Ee=be.children,Ce=(0,ye.Z)(be,de),Be=(0,E.Z)({key:Se},Ce),Pe=me(Ee);return Pe.length&&(Be.children=Pe),Be}).filter(function(pe){return pe})}return me(ue)}function y(ue,me,ve){var ge=re(ve),pe=ge._title,Se=ge.key,be=ge.children,Ee=new Set(me===!0?[]:me),Ce=[];function Be(Pe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Pe.map(function(we,Le){for(var Oe=le(Fe?Fe.pos:"0",Le),Ge=oe(we[Se],Oe),Ne,Ue=0;Ue1&&arguments[1]!==void 0?arguments[1]:{},ve=me.initWrapper,ge=me.processEntity,pe=me.onProcessFinished,Se=me.externalGetKey,be=me.childrenPropName,Ee=me.fieldNames,Ce=arguments.length>2?arguments[2]:void 0,Be=Se||Ce,Pe={},Fe={},we={posEntities:Pe,keyEntities:Fe};return ve&&(we=ve(we)||we),x(ue,function(Le){var Oe=Le.node,Ge=Le.index,Ne=Le.pos,Ue=Le.key,He=Le.parentPos,Qe=Le.level,We=Le.nodes,ze={node:Oe,nodes:We,index:Ge,key:Ue,pos:Ne,level:Qe},_e=oe(Ue,Ne);Pe[Ne]=ze,Fe[_e]=ze,ze.parent=Pe[He],ze.parent&&(ze.parent.children=ze.parent.children||[],ze.parent.children.push(ze)),ge&&ge(ze,we)},{externalGetKey:Be,childrenPropName:be,fieldNames:Ee}),pe&&pe(we),we}function z(ue,me){var ve=me.expandedKeys,ge=me.selectedKeys,pe=me.loadedKeys,Se=me.loadingKeys,be=me.checkedKeys,Ee=me.halfCheckedKeys,Ce=me.dragOverNodeKey,Be=me.dropPosition,Pe=me.keyEntities,Fe=(0,se.Z)(Pe,ue),we={eventKey:ue,expanded:ve.indexOf(ue)!==-1,selected:ge.indexOf(ue)!==-1,loaded:pe.indexOf(ue)!==-1,loading:Se.indexOf(ue)!==-1,checked:be.indexOf(ue)!==-1,halfChecked:Ee.indexOf(ue)!==-1,pos:String(Fe?Fe.pos:""),dragOver:Ce===ue&&Be===0,dragOverGapTop:Ce===ue&&Be===-1,dragOverGapBottom:Ce===ue&&Be===1};return we}function te(ue){var me=ue.data,ve=ue.expanded,ge=ue.selected,pe=ue.checked,Se=ue.loaded,be=ue.loading,Ee=ue.halfChecked,Ce=ue.dragOver,Be=ue.dragOverGapTop,Pe=ue.dragOverGapBottom,Fe=ue.pos,we=ue.active,Le=ue.eventKey,Oe=(0,E.Z)((0,E.Z)({},me),{},{expanded:ve,selected:ge,checked:pe,loaded:Se,loading:be,halfChecked:Ee,dragOver:Ce,dragOverGapTop:Be,dragOverGapBottom:Pe,pos:Fe,active:we,key:Le});return"props"in Oe||Object.defineProperty(Oe,"props",{get:function(){return(0,ne.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ue}}),Oe}},8224:function(gt,ot,fe){"use strict";fe.d(ot,{Z:function(){return Ae}});var ae=fe(4676);function Ae(E,ye,he,ce){var ne=ae.unstable_batchedUpdates?function(de){ae.unstable_batchedUpdates(he,de)}:he;return E!=null&&E.addEventListener&&E.addEventListener(ye,ne,ce),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(ye,ne,ce)}}}},55468:function(gt,ot,fe){"use strict";fe.d(ot,{g1:function(){return ie},os:function(){return re}});var ae=/margin|padding|width|height|max|min|offset/,Ae={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function ye(ee){return ee.nodeType===1?ee.ownerDocument.defaultView.getComputedStyle(ee,null):{}}function he(ee,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return ee.offsetHeight;if(a==="width")return ee.offsetWidth}return a in Ae||(Ae[a]=ae.test(a)),Ae[a]?parseFloat(y)||0:y}function ce(ee,a){var y=arguments.length,x=ye(ee);return a=E[a]?"cssFloat"in ee.style?"cssFloat":"styleFloat":a,y===1?x:he(ee,a,x[a]||ee.style[a])}function ne(ee,a,y){var x=arguments.length;if(a=E[a]?"cssFloat"in ee.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&ae.test(a)&&(y="".concat(y,"px")),ee.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&ne(ee,b,a[b]);return ye(ee)}function se(ee){return ee===document.body?document.documentElement.clientWidth:ee.offsetWidth}function de(ee){return ee===document.body?window.innerHeight||document.documentElement.clientHeight:ee.offsetHeight}function le(){var ee=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ee,height:a}}function ie(){var ee=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:ee,height:a}}function oe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function re(ee){var a=ee.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},3465:function(gt,ot,fe){"use strict";fe.d(ot,{G:function(){return ye}});var ae=fe(47273),Ae=function(ce){if((0,ae.Z)()&&window.document.documentElement){var ne=Array.isArray(ce)?ce:[ce],se=window.document.documentElement;return ne.some(function(de){return de in se.style})}return!1},E=function(ce,ne){if(!Ae(ce))return!1;var se=document.createElement("div"),de=se.style[ce];return se.style[ce]=ne,se.style[ce]!==de};function ye(he,ce){return!Array.isArray(he)&&ce!==void 0?E(he,ce):Ae(he)}},51353:function(gt,ot,fe){"use strict";Object.defineProperty(ot,"__esModule",{value:!0}),Object.defineProperty(ot,"DraggableCore",{enumerable:!0,get:function(){return se.default}}),ot.default=void 0;var ae=ie(fe(59301)),Ae=le(fe(12708)),E=le(fe(4676)),ye=fe(14625),he=fe(77026),ce=fe(22013),ne=fe(80217),se=le(fe(68555)),de=le(fe(97510));function le(x){return x&&x.__esModule?x:{default:x}}function ie(x,b){if(typeof WeakMap=="function")var z=new WeakMap,te=new WeakMap;return(ie=function(ue,me){if(!me&&ue&&ue.__esModule)return ue;var ve,ge,pe={__proto__:null,default:ue};if(ue===null||typeof ue!="object"&&typeof ue!="function")return pe;if(ve=me?te:z){if(ve.has(ue))return ve.get(ue);ve.set(ue,pe)}for(const Se in ue)Se!=="default"&&{}.hasOwnProperty.call(ue,Se)&&((ge=(ve=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ue,Se))&&(ge.get||ge.set)?ve(pe,Se,ge):pe[Se]=ue[Se]);return pe})(x,b)}function oe(){return oe=Object.assign?Object.assign.bind():function(x){for(var b=1;b{if((0,de.default)("Draggable: onDragStart: %j",te),this.props.onStart(z,(0,ce.createDraggableData)(this,te))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),re(this,"onDrag",(z,te)=>{if(!this.state.dragging)return!1;(0,de.default)("Draggable: onDrag: %j",te);const ue=(0,ce.createDraggableData)(this,te),me={x:ue.x,y:ue.y,slackX:0,slackY:0};if(this.props.bounds){const{x:ge,y:pe}=me;me.x+=this.state.slackX,me.y+=this.state.slackY;const[Se,be]=(0,ce.getBoundPosition)(this,me.x,me.y);me.x=Se,me.y=be,me.slackX=this.state.slackX+(ge-me.x),me.slackY=this.state.slackY+(pe-me.y),ue.x=me.x,ue.y=me.y,ue.deltaX=me.x-this.state.x,ue.deltaY=me.y-this.state.y}if(this.props.onDrag(z,ue)===!1)return!1;this.setState(me)}),re(this,"onDragStop",(z,te)=>{if(!this.state.dragging||this.props.onStop(z,(0,ce.createDraggableData)(this,te))===!1)return!1;(0,de.default)("Draggable: onDragStop: %j",te);const me={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:ge,y:pe}=this.props.position;me.x=ge,me.y=pe}this.setState(me)}),this.state={dragging:!1,dragged:!1,x:b.position?b.position.x:b.defaultPosition.x,y:b.position?b.position.y:b.defaultPosition.y,prevPropsPosition:Wo({},b.position),slackX:0,slackY:0,isElementSVG:!1},b.position&&!(b.onDrag||b.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var b,z,te;return(te=(z=(b=this.props)==null?void 0:b.nodeRef)==null?void 0:z.current)!=null?te:E.default.findDOMNode(this)}render(){const Ge=this.props,{axis:b,bounds:z,children:te,defaultPosition:ue,defaultClassName:me,defaultClassNameDragging:ve,defaultClassNameDragged:ge,position:pe,positionOffset:Se,scale:be}=Ge,Ee=os(Ge,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ce={},Be=null;const Fe=!!!pe||this.state.dragging,we=pe||ue,Le={x:(0,ce.canDragX)(this)&&Fe?this.state.x:we.x,y:(0,ce.canDragY)(this)&&Fe?this.state.y:we.y};this.state.isElementSVG?Be=(0,he.createSVGTransform)(Le,Se):Ce=(0,he.createCSSTransform)(Le,Se);const Oe=(0,ye.clsx)(te.props.className||"",me,{[ve]:this.state.dragging,[ge]:this.state.dragged});return ae.createElement(se.default,oe({},Ee,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),ae.cloneElement(ae.Children.only(te),{className:Oe,style:Wo(Wo({},te.props.style),Ce),transform:Be}))}}ot.default=y,re(y,"displayName","Draggable"),re(y,"propTypes",Ii(Wo({},se.default.propTypes),{axis:Ae.default.oneOf(["both","x","y","none"]),bounds:Ae.default.oneOfType([Ae.default.shape({left:Ae.default.number,right:Ae.default.number,top:Ae.default.number,bottom:Ae.default.number}),Ae.default.string,Ae.default.oneOf([!1])]),defaultClassName:Ae.default.string,defaultClassNameDragging:Ae.default.string,defaultClassNameDragged:Ae.default.string,defaultPosition:Ae.default.shape({x:Ae.default.number,y:Ae.default.number}),positionOffset:Ae.default.shape({x:Ae.default.oneOfType([Ae.default.number,Ae.default.string]),y:Ae.default.oneOfType([Ae.default.number,Ae.default.string])}),position:Ae.default.shape({x:Ae.default.number,y:Ae.default.number}),className:ne.dontSetMe,style:ne.dontSetMe,transform:ne.dontSetMe})),re(y,"defaultProps",Ii(Wo({},se.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(gt,ot,fe){"use strict";Object.defineProperty(ot,"__esModule",{value:!0}),ot.default=void 0;var ae=de(fe(59301)),Ae=se(fe(12708)),E=se(fe(4676)),ye=fe(77026),he=fe(22013),ce=fe(80217),ne=se(fe(97510));function se(y){return y&&y.__esModule?y:{default:y}}function de(y,x){if(typeof WeakMap=="function")var b=new WeakMap,z=new WeakMap;return(de=function(te,ue){if(!ue&&te&&te.__esModule)return te;var me,ve,ge={__proto__:null,default:te};if(te===null||typeof te!="object"&&typeof te!="function")return ge;if(me=ue?z:b){if(me.has(te))return me.get(te);me.set(te,ge)}for(const pe in te)pe!=="default"&&{}.hasOwnProperty.call(te,pe)&&((ve=(me=Object.defineProperty)&&Object.getOwnPropertyDescriptor(te,pe))&&(ve.get||ve.set)?me(ge,pe,ve):ge[pe]=te[pe]);return ge})(y,x)}function le(y,x,b){return(x=ie(x))in y?Object.defineProperty(y,x,{value:b,enumerable:!0,configurable:!0,writable:!0}):y[x]=b,y}function ie(y){var x=oe(y,"string");return typeof x=="symbol"?x:x+""}function oe(y,x){if(typeof y!="object"||!y)return y;var b=y[Symbol.toPrimitive];if(b!==void 0){var z=b.call(y,x||"default");if(typeof z!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(y)}const re={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let ee=re.mouse;class a extends ae.Component{constructor(){super(...arguments),le(this,"dragging",!1),le(this,"lastX",NaN),le(this,"lastY",NaN),le(this,"touchIdentifier",null),le(this,"mounted",!1),le(this,"handleDragStart",x=>{if(this.props.onMouseDown(x),!this.props.allowAnyClick&&typeof x.button=="number"&&x.button!==0)return!1;const b=this.findDOMNode();if(!b||!b.ownerDocument||!b.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:z}=b;if(this.props.disabled||!(x.target instanceof z.defaultView.Node)||this.props.handle&&!(0,ye.matchesSelectorAndParentsTo)(x.target,this.props.handle,b)||this.props.cancel&&(0,ye.matchesSelectorAndParentsTo)(x.target,this.props.cancel,b))return;x.type==="touchstart"&&!this.props.allowMobileScroll&&x.preventDefault();const te=(0,ye.getTouchIdentifier)(x);this.touchIdentifier=te;const ue=(0,he.getControlPosition)(x,te,this);if(ue==null)return;const{x:me,y:ve}=ue,ge=(0,he.createCoreData)(this,me,ve);(0,ne.default)("DraggableCore: handleDragStart: %j",ge),(0,ne.default)("calling",this.props.onStart),!(this.props.onStart(x,ge)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ye.addUserSelectStyles)(z),this.dragging=!0,this.lastX=me,this.lastY=ve,(0,ye.addEvent)(z,ee.move,this.handleDrag),(0,ye.addEvent)(z,ee.stop,this.handleDragStop))}),le(this,"handleDrag",x=>{const b=(0,he.getControlPosition)(x,this.touchIdentifier,this);if(b==null)return;let{x:z,y:te}=b;if(Array.isArray(this.props.grid)){let ve=z-this.lastX,ge=te-this.lastY;if([ve,ge]=(0,he.snapToGrid)(this.props.grid,ve,ge),!ve&&!ge)return;z=this.lastX+ve,te=this.lastY+ge}const ue=(0,he.createCoreData)(this,z,te);if((0,ne.default)("DraggableCore: handleDrag: %j",ue),this.props.onDrag(x,ue)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(ve){const ge=document.createEvent("MouseEvents");ge.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(ge)}return}this.lastX=z,this.lastY=te}),le(this,"handleDragStop",x=>{if(!this.dragging)return;const b=(0,he.getControlPosition)(x,this.touchIdentifier,this);if(b==null)return;let{x:z,y:te}=b;if(Array.isArray(this.props.grid)){let ge=z-this.lastX||0,pe=te-this.lastY||0;[ge,pe]=(0,he.snapToGrid)(this.props.grid,ge,pe),z=this.lastX+ge,te=this.lastY+pe}const ue=(0,he.createCoreData)(this,z,te);if(this.props.onStop(x,ue)===!1||this.mounted===!1)return!1;const ve=this.findDOMNode();ve&&this.props.enableUserSelectHack&&(0,ye.scheduleRemoveUserSelectStyles)(ve.ownerDocument),(0,ne.default)("DraggableCore: handleDragStop: %j",ue),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,ve&&((0,ne.default)("DraggableCore: Removing handlers"),(0,ye.removeEvent)(ve.ownerDocument,ee.move,this.handleDrag),(0,ye.removeEvent)(ve.ownerDocument,ee.stop,this.handleDragStop))}),le(this,"onMouseDown",x=>(ee=re.mouse,this.handleDragStart(x))),le(this,"onMouseUp",x=>(ee=re.mouse,this.handleDragStop(x))),le(this,"onTouchStart",x=>(ee=re.touch,this.handleDragStart(x))),le(this,"onTouchEnd",x=>(ee=re.touch,this.handleDragStop(x)))}componentDidMount(){this.mounted=!0;const x=this.findDOMNode();x&&(0,ye.addEvent)(x,re.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const x=this.findDOMNode();if(x){const{ownerDocument:b}=x;(0,ye.removeEvent)(b,re.mouse.move,this.handleDrag),(0,ye.removeEvent)(b,re.touch.move,this.handleDrag),(0,ye.removeEvent)(b,re.mouse.stop,this.handleDragStop),(0,ye.removeEvent)(b,re.touch.stop,this.handleDragStop),(0,ye.removeEvent)(x,re.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ye.scheduleRemoveUserSelectStyles)(b)}}findDOMNode(){var x,b,z;return(x=this.props)!=null&&x.nodeRef?(z=(b=this.props)==null?void 0:b.nodeRef)==null?void 0:z.current:E.default.findDOMNode(this)}render(){return ae.cloneElement(ae.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}ot.default=a,le(a,"displayName","DraggableCore"),le(a,"propTypes",{allowAnyClick:Ae.default.bool,allowMobileScroll:Ae.default.bool,children:Ae.default.node.isRequired,disabled:Ae.default.bool,enableUserSelectHack:Ae.default.bool,offsetParent:function(y,x){if(y[x]&&y[x].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Ae.default.arrayOf(Ae.default.number),handle:Ae.default.string,cancel:Ae.default.string,nodeRef:Ae.default.object,onStart:Ae.default.func,onDrag:Ae.default.func,onStop:Ae.default.func,onMouseDown:Ae.default.func,scale:Ae.default.number,className:ce.dontSetMe,style:ce.dontSetMe,transform:ce.dontSetMe}),le(a,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(gt,ot,fe){"use strict";const{default:ae,DraggableCore:Ae}=fe(51353);gt.exports=ae,gt.exports.default=ae,gt.exports.DraggableCore=Ae},77026:function(gt,ot,fe){"use strict";Object.defineProperty(ot,"__esModule",{value:!0}),ot.addClassName=me,ot.addEvent=ne,ot.addUserSelectStyles=z,ot.createCSSTransform=ee,ot.createSVGTransform=a,ot.getTouch=x,ot.getTouchIdentifier=b,ot.getTranslation=y,ot.innerHeight=ie,ot.innerWidth=oe,ot.matchesSelector=he,ot.matchesSelectorAndParentsTo=ce,ot.offsetXYFromParent=re,ot.outerHeight=de,ot.outerWidth=le,ot.removeClassName=ve,ot.removeEvent=se,ot.scheduleRemoveUserSelectStyles=te;var ae=fe(80217),Ae=E(fe(76172));function E(ge,pe){if(typeof WeakMap=="function")var Se=new WeakMap,be=new WeakMap;return(E=function(Ee,Ce){if(!Ce&&Ee&&Ee.__esModule)return Ee;var Be,Pe,Fe={__proto__:null,default:Ee};if(Ee===null||typeof Ee!="object"&&typeof Ee!="function")return Fe;if(Be=Ce?be:Se){if(Be.has(Ee))return Be.get(Ee);Be.set(Ee,Fe)}for(const we in Ee)we!=="default"&&{}.hasOwnProperty.call(Ee,we)&&((Pe=(Be=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ee,we))&&(Pe.get||Pe.set)?Be(Fe,we,Pe):Fe[we]=Ee[we]);return Fe})(ge,pe)}let ye="";function he(ge,pe){return ye||(ye=(0,ae.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Se){return(0,ae.isFunction)(ge[Se])})),(0,ae.isFunction)(ge[ye])?ge[ye](pe):!1}function ce(ge,pe,Se){let be=ge;do{if(he(be,pe))return!0;if(be===Se)return!1;be=be.parentNode}while(be);return!1}function ne(ge,pe,Se,be){if(!ge)return;const Ee=Wo({capture:!0},be);ge.addEventListener?ge.addEventListener(pe,Se,Ee):ge.attachEvent?ge.attachEvent("on"+pe,Se):ge["on"+pe]=Se}function se(ge,pe,Se,be){if(!ge)return;const Ee=Wo({capture:!0},be);ge.removeEventListener?ge.removeEventListener(pe,Se,Ee):ge.detachEvent?ge.detachEvent("on"+pe,Se):ge["on"+pe]=null}function de(ge){let pe=ge.clientHeight;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe+=(0,ae.int)(Se.borderTopWidth),pe+=(0,ae.int)(Se.borderBottomWidth),pe}function le(ge){let pe=ge.clientWidth;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe+=(0,ae.int)(Se.borderLeftWidth),pe+=(0,ae.int)(Se.borderRightWidth),pe}function ie(ge){let pe=ge.clientHeight;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe-=(0,ae.int)(Se.paddingTop),pe-=(0,ae.int)(Se.paddingBottom),pe}function oe(ge){let pe=ge.clientWidth;const Se=ge.ownerDocument.defaultView.getComputedStyle(ge);return pe-=(0,ae.int)(Se.paddingLeft),pe-=(0,ae.int)(Se.paddingRight),pe}function re(ge,pe,Se){const Ee=pe===pe.ownerDocument.body?{left:0,top:0}:pe.getBoundingClientRect(),Ce=(ge.clientX+pe.scrollLeft-Ee.left)/Se,Be=(ge.clientY+pe.scrollTop-Ee.top)/Se;return{x:Ce,y:Be}}function ee(ge,pe){const Se=y(ge,pe,"px");return{[(0,Ae.browserPrefixToKey)("transform",Ae.default)]:Se}}function a(ge,pe){return y(ge,pe,"")}function y(ge,pe,Se){let{x:be,y:Ee}=ge,Ce=`translate(${be}${Se},${Ee}${Se})`;if(pe){const Be=`${typeof pe.x=="string"?pe.x:pe.x+Se}`,Pe=`${typeof pe.y=="string"?pe.y:pe.y+Se}`;Ce=`translate(${Be}, ${Pe})`+Ce}return Ce}function x(ge,pe){return ge.targetTouches&&(0,ae.findInArray)(ge.targetTouches,Se=>pe===Se.identifier)||ge.changedTouches&&(0,ae.findInArray)(ge.changedTouches,Se=>pe===Se.identifier)}function b(ge){if(ge.targetTouches&&ge.targetTouches[0])return ge.targetTouches[0].identifier;if(ge.changedTouches&&ge.changedTouches[0])return ge.changedTouches[0].identifier}function z(ge){if(!ge)return;let pe=ge.getElementById("react-draggable-style-el");pe||(pe=ge.createElement("style"),pe.type="text/css",pe.id="react-draggable-style-el",pe.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +`,pe.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} +`,ge.getElementsByTagName("head")[0].appendChild(pe)),ge.body&&me(ge.body,"react-draggable-transparent-selection")}function te(ge){window.requestAnimationFrame?window.requestAnimationFrame(()=>{ue(ge)}):ue(ge)}function ue(ge){if(ge)try{if(ge.body&&ve(ge.body,"react-draggable-transparent-selection"),ge.selection)ge.selection.empty();else{const pe=(ge.defaultView||window).getSelection();pe&&pe.type!=="Caret"&&pe.removeAllRanges()}}catch(pe){}}function me(ge,pe){ge.classList?ge.classList.add(pe):ge.className.match(new RegExp(`(?:^|\\s)${pe}(?!\\S)`))||(ge.className+=` ${pe}`)}function ve(ge,pe){ge.classList?ge.classList.remove(pe):ge.className=ge.className.replace(new RegExp(`(?:^|\\s)${pe}(?!\\S)`,"g"),"")}},76172:function(gt,ot){"use strict";Object.defineProperty(ot,"__esModule",{value:!0}),ot.browserPrefixToKey=Ae,ot.browserPrefixToStyle=E,ot.default=void 0,ot.getPrefix=ae;const fe=["Moz","Webkit","O","ms"];function ae(){var se,de;let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ne=(de=(se=window.document)==null?void 0:se.documentElement)==null?void 0:de.style;if(!ne||ce in ne)return"";for(let le=0;le: Unmounted during event!");return re}},80217:function(gt,ot){"use strict";Object.defineProperty(ot,"__esModule",{value:!0}),ot.dontSetMe=ye,ot.findInArray=fe,ot.int=E,ot.isFunction=ae,ot.isNum=Ae;function fe(he,ce){for(let ne=0,se=he.length;ne=0||Object.prototype.hasOwnProperty.call(oe,a)&&(ee[a]=oe[a]);return ee}function se(oe,re){if(!(oe instanceof re))throw new TypeError("Cannot call a class as a function")}function de(oe,re){if(!oe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re&&(typeof re=="object"||typeof re=="function")?re:oe}function le(oe,re){if(typeof re!="function"&&re!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof re);oe.prototype=Object.create(re&&re.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}),re&&(Object.setPrototypeOf?Object.setPrototypeOf(oe,re):oe.__proto__=re)}var ie=function(oe){le(re,oe);function re(ee){se(this,re);var a=de(this,(re.__proto__||Object.getPrototypeOf(re)).call(this,ee));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return ae(re,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,y={get passive(){a=!0}};try{document.addEventListener("test",null,y),document.removeEventListener("test",null,y)}catch(x){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var y=this.props.getScrollParent&&this.props.getScrollParent();return y!=null?y:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var y=window;this.props.useWindow===!1&&(y=a),y.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),y.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,y=window,x=this.getParentElement(a),b=void 0;if(this.props.useWindow){var z=document.documentElement||document.body.parentNode||document.body,te=y.pageYOffset!==void 0?y.pageYOffset:z.scrollTop;this.props.isReverse?b=te:b=this.calculateOffset(a,te)}else this.props.isReverse?b=x.scrollTop:b=a.scrollHeight-x.scrollTop-x.clientHeight;b=0)&&(y[b]=ee[b]);return y}function le(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function ie(ee,a){ee.prototype=Object.create(a.prototype),ee.prototype.constructor=ee,ee.__proto__=a}function oe(ee,a,y){return a in ee?Object.defineProperty(ee,a,{value:y,enumerable:!0,configurable:!0,writable:!0}):ee[a]=y,ee}var re=function(ee){ie(a,ee);function a(){for(var x,b=arguments.length,z=new Array(b),te=0;te=0)&&(z[ue]=x[ue]);return z}function re(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function ee(x,b){x.prototype=Object.create(b.prototype),x.prototype.constructor=x,x.__proto__=b}function a(x,b,z){return b in x?Object.defineProperty(x,b,{value:z,enumerable:!0,configurable:!0,writable:!0}):x[b]=z,x}var y=function(x){ee(b,x);function b(){for(var te,ue=arguments.length,me=new Array(ue),ve=0;ve=0;re--)if(E(oe[re])){var ee=oe[re].split("="),a=unescape(ee[0]),y=unescape(ee[1]);ie(y,a)}}function ne(ie,oe){ie&&(ye.cookie=escape(ie)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function se(ie){!ie||!le(ie)||(ye.cookie=escape(ie)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function de(){ce(function(ie,oe){se(oe)})}function le(ie){return new RegExp("(?:^|;\\s*)"+escape(ie).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(ye.cookie)}},52496:function(gt,ot,fe){var ae=fe(67039),Ae=ae.Global;gt.exports={name:"localStorage",read:ye,write:he,each:ce,remove:ne,clearAll:se};function E(){return Ae.localStorage}function ye(de){return E().getItem(de)}function he(de,le){return E().setItem(de,le)}function ce(de){for(var le=E().length-1;le>=0;le--){var ie=E().key(le);de(ye(ie),ie)}}function ne(de){return E().removeItem(de)}function se(){return E().clear()}},65300:function(gt){gt.exports={name:"memoryStorage",read:fe,write:ae,each:Ae,remove:E,clearAll:ye};var ot={};function fe(he){return ot[he]}function ae(he,ce){ot[he]=ce}function Ae(he){for(var ce in ot)ot.hasOwnProperty(ce)&&he(ot[ce],ce)}function E(he){delete ot[he]}function ye(he){ot={}}},16436:function(gt,ot,fe){var ae=fe(67039),Ae=ae.Global;gt.exports={name:"oldFF-globalStorage",read:ye,write:he,each:ce,remove:ne,clearAll:se};var E=Ae.globalStorage;function ye(de){return E[de]}function he(de,le){E[de]=le}function ce(de){for(var le=E.length-1;le>=0;le--){var ie=E.key(le);de(E[ie],ie)}}function ne(de){return E.removeItem(de)}function se(){ce(function(de,le){delete E[de]})}},76673:function(gt,ot,fe){var ae=fe(67039),Ae=ae.Global;gt.exports={name:"oldIE-userDataStorage",write:ne,read:se,each:de,remove:le,clearAll:ie};var E="storejs",ye=Ae.document,he=ee(),ce=(Ae.navigator?Ae.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function ne(a,y){if(!ce){var x=re(a);he(function(b){b.setAttribute(x,y),b.save(E)})}}function se(a){if(!ce){var y=re(a),x=null;return he(function(b){x=b.getAttribute(y)}),x}}function de(a){he(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var z=x[b];a(y.getAttribute(z.name),z.name)}})}function le(a){var y=re(a);he(function(x){x.removeAttribute(y),x.save(E)})}function ie(){he(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function re(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function ee(){if(!ye||!ye.documentElement||!ye.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(z){b=ye.createElement("div"),y=ye.body}return function(z){var te=[].slice.call(arguments,0);te.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),z.apply(this,te),y.removeChild(b)}}},65578:function(gt,ot,fe){var ae=fe(67039),Ae=ae.Global;gt.exports={name:"sessionStorage",read:ye,write:he,each:ce,remove:ne,clearAll:se};function E(){return Ae.sessionStorage}function ye(de){return E().getItem(de)}function he(de,le){return E().setItem(de,le)}function ce(de){for(var le=E().length-1;le>=0;le--){var ie=E().key(le);de(ye(ie),ie)}}function ne(de){return E().removeItem(de)}function se(){return E().clear()}},34376:function(gt){(function(ot,fe){if(1)gt.exports=fe();else var ae,Ae})(window,function(){return function(ot){var fe={};function ae(Ae){if(fe[Ae])return fe[Ae].exports;var E=fe[Ae]={i:Ae,l:!1,exports:{}};return ot[Ae].call(E.exports,E,E.exports,ae),E.l=!0,E.exports}return ae.m=ot,ae.c=fe,ae.d=function(Ae,E,ye){ae.o(Ae,E)||Object.defineProperty(Ae,E,{enumerable:!0,get:ye})},ae.r=function(Ae){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Ae,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Ae,"__esModule",{value:!0})},ae.t=function(Ae,E){if(1&E&&(Ae=ae(Ae)),8&E||4&E&&typeof Ae=="object"&&Ae&&Ae.__esModule)return Ae;var ye=Object.create(null);if(ae.r(ye),Object.defineProperty(ye,"default",{enumerable:!0,value:Ae}),2&E&&typeof Ae!="string")for(var he in Ae)ae.d(ye,he,function(ce){return Ae[ce]}.bind(null,he));return ye},ae.n=function(Ae){var E=Ae&&Ae.__esModule?function(){return Ae.default}:function(){return Ae};return ae.d(E,"a",E),E},ae.o=function(Ae,E){return Object.prototype.hasOwnProperty.call(Ae,E)},ae.p="",ae(ae.s=34)}([function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.forwardEvent=fe.EventEmitter=void 0;var Ae=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var ye=this;return this._event||(this._event=function(he){return ye._listeners.push(he),{dispose:function(){if(!ye._disposed){for(var ce=0;ce>22},de.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?ye.stringFromCodePoint(2097151&this.content):""},de.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},de.prototype.setFromCharData=function(le){this.fg=le[he.CHAR_DATA_ATTR_INDEX],this.bg=0;var ie=!1;if(le[he.CHAR_DATA_CHAR_INDEX].length>2)ie=!0;else if(le[he.CHAR_DATA_CHAR_INDEX].length===2){var oe=le[he.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var re=le[he.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=re&&re<=57343?this.content=1024*(oe-55296)+re-56320+65536|le[he.CHAR_DATA_WIDTH_INDEX]<<22:ie=!0}else ie=!0}else this.content=le[he.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|le[he.CHAR_DATA_WIDTH_INDEX]<<22;ie&&(this.combinedData=le[he.CHAR_DATA_CHAR_INDEX],this.content=2097152|le[he.CHAR_DATA_WIDTH_INDEX]<<22)},de.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},de}(ce.AttributeData);fe.CellData=ne},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ISoundService=fe.ISelectionService=fe.IRenderService=fe.IMouseService=fe.ICoreBrowserService=fe.ICharSizeService=void 0;var Ae=ae(14);fe.ICharSizeService=Ae.createDecorator("CharSizeService"),fe.ICoreBrowserService=Ae.createDecorator("CoreBrowserService"),fe.IMouseService=Ae.createDecorator("MouseService"),fe.IRenderService=Ae.createDecorator("RenderService"),fe.ISelectionService=Ae.createDecorator("SelectionService"),fe.ISoundService=Ae.createDecorator("SoundService")},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ExtendedAttrs=fe.AttributeData=void 0;var Ae=function(){function ye(){this.fg=0,this.bg=0,this.extended=new E}return ye.toColorRGB=function(he){return[he>>>16&255,he>>>8&255,255&he]},ye.fromColorRGB=function(he){return(255&he[0])<<16|(255&he[1])<<8|255&he[2]},ye.prototype.clone=function(){var he=new ye;return he.fg=this.fg,he.bg=this.bg,he.extended=this.extended.clone(),he},ye.prototype.isInverse=function(){return 67108864&this.fg},ye.prototype.isBold=function(){return 134217728&this.fg},ye.prototype.isUnderline=function(){return 268435456&this.fg},ye.prototype.isBlink=function(){return 536870912&this.fg},ye.prototype.isInvisible=function(){return 1073741824&this.fg},ye.prototype.isItalic=function(){return 67108864&this.bg},ye.prototype.isDim=function(){return 134217728&this.bg},ye.prototype.getFgColorMode=function(){return 50331648&this.fg},ye.prototype.getBgColorMode=function(){return 50331648&this.bg},ye.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},ye.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},ye.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},ye.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},ye.prototype.isFgDefault=function(){return(50331648&this.fg)==0},ye.prototype.isBgDefault=function(){return(50331648&this.bg)==0},ye.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},ye.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},ye.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},ye.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},ye.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},ye.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},ye.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},ye.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},ye.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},ye.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},ye.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},ye}();fe.AttributeData=Ae;var E=function(){function ye(he,ce){he===void 0&&(he=0),ce===void 0&&(ce=-1),this.underlineStyle=he,this.underlineColor=ce}return ye.prototype.clone=function(){return new ye(this.underlineStyle,this.underlineColor)},ye.prototype.isEmpty=function(){return this.underlineStyle===0},ye}();fe.ExtendedAttrs=E},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.addDisposableDomListener=void 0,fe.addDisposableDomListener=function(Ae,E,ye,he){Ae.addEventListener(E,ye,he);var ce=!1;return{dispose:function(){ce||(ce=!0,Ae.removeEventListener(E,ye,he))}}}},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.Utf8ToUtf32=fe.StringToUtf32=fe.utf32ToString=fe.stringFromCodePoint=void 0,fe.stringFromCodePoint=function(ye){return ye>65535?(ye-=65536,String.fromCharCode(55296+(ye>>10))+String.fromCharCode(ye%1024+56320)):String.fromCharCode(ye)},fe.utf32ToString=function(ye,he,ce){he===void 0&&(he=0),ce===void 0&&(ce=ye.length);for(var ne="",se=he;se65535?(de-=65536,ne+=String.fromCharCode(55296+(de>>10))+String.fromCharCode(de%1024+56320)):ne+=String.fromCharCode(de)}return ne};var Ae=function(){function ye(){this._interim=0}return ye.prototype.clear=function(){this._interim=0},ye.prototype.decode=function(he,ce){var ne=he.length;if(!ne)return 0;var se=0,de=0;this._interim&&(56320<=(oe=he.charCodeAt(de++))&&oe<=57343?ce[se++]=1024*(this._interim-55296)+oe-56320+65536:(ce[se++]=this._interim,ce[se++]=oe),this._interim=0);for(var le=de;le=ne)return this._interim=ie,se;var oe;56320<=(oe=he.charCodeAt(le))&&oe<=57343?ce[se++]=1024*(ie-55296)+oe-56320+65536:(ce[se++]=ie,ce[se++]=oe)}else ce[se++]=ie}return se},ye}();fe.StringToUtf32=Ae;var E=function(){function ye(){this.interim=new Uint8Array(3)}return ye.prototype.clear=function(){this.interim.fill(0)},ye.prototype.decode=function(he,ce){var ne=he.length;if(!ne)return 0;var se,de,le,ie,oe=0,re=0,ee=0;if(this.interim[0]){var a=!1,y=this.interim[0];y&=(224&y)==192?31:(240&y)==224?15:7;for(var x=0,b=void 0;(b=63&this.interim[++x])&&x<4;)y<<=6,y|=b;for(var z=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,te=z-x;ee=ne)return 0;if((192&(b=he[ee++]))!=128){ee--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(z===2?y<128?ee--:ce[oe++]=y:z===3?y<2048||y>=55296&&y<=57343||(ce[oe++]=y):y<65536||y>1114111||(ce[oe++]=y)),this.interim.fill(0)}for(var ue=ne-4,me=ee;me=ne)return this.interim[0]=se,oe;if((192&(de=he[me++]))!=128){me--;continue}if((re=(31&se)<<6|63&de)<128){me--;continue}ce[oe++]=re}else if((240&se)==224){if(me>=ne)return this.interim[0]=se,oe;if((192&(de=he[me++]))!=128){me--;continue}if(me>=ne)return this.interim[0]=se,this.interim[1]=de,oe;if((192&(le=he[me++]))!=128){me--;continue}if((re=(15&se)<<12|(63&de)<<6|63&le)<2048||re>=55296&&re<=57343)continue;ce[oe++]=re}else if((248&se)==240){if(me>=ne)return this.interim[0]=se,oe;if((192&(de=he[me++]))!=128){me--;continue}if(me>=ne)return this.interim[0]=se,this.interim[1]=de,oe;if((192&(le=he[me++]))!=128){me--;continue}if(me>=ne)return this.interim[0]=se,this.interim[1]=de,this.interim[2]=le,oe;if((192&(ie=he[me++]))!=128){me--;continue}if((re=(7&se)<<18|(63&de)<<12|(63&le)<<6|63&ie)<65536||re>1114111)continue;ce[oe++]=re}}return oe},ye}();fe.Utf8ToUtf32=E},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CHAR_ATLAS_CELL_SPACING=fe.DIM_OPACITY=fe.INVERTED_DEFAULT_COLOR=void 0,fe.INVERTED_DEFAULT_COLOR=257,fe.DIM_OPACITY=.5,fe.CHAR_ATLAS_CELL_SPACING=1},function(ot,fe,ae){"use strict";var Ae,E,ye,he;function ce(se){var de=se.toString(16);return de.length<2?"0"+de:de}function ne(se,de){return se>>0}}(Ae=fe.channels||(fe.channels={})),(E=fe.color||(fe.color={})).blend=function(se,de){var le=(255&de.rgba)/255;if(le===1)return{css:de.css,rgba:de.rgba};var ie=de.rgba>>24&255,oe=de.rgba>>16&255,re=de.rgba>>8&255,ee=se.rgba>>24&255,a=se.rgba>>16&255,y=se.rgba>>8&255,x=ee+Math.round((ie-ee)*le),b=a+Math.round((oe-a)*le),z=y+Math.round((re-y)*le);return{css:Ae.toCss(x,b,z),rgba:Ae.toRgba(x,b,z)}},E.isOpaque=function(se){return(255&se.rgba)==255},E.ensureContrastRatio=function(se,de,le){var ie=he.ensureContrastRatio(se.rgba,de.rgba,le);if(ie)return he.toColor(ie>>24&255,ie>>16&255,ie>>8&255)},E.opaque=function(se){var de=(255|se.rgba)>>>0,le=he.toChannels(de),ie=le[0],oe=le[1],re=le[2];return{css:Ae.toCss(ie,oe,re),rgba:de}},E.opacity=function(se,de){var le=Math.round(255*de),ie=he.toChannels(se.rgba),oe=ie[0],re=ie[1],ee=ie[2];return{css:Ae.toCss(oe,re,ee,le),rgba:Ae.toRgba(oe,re,ee,le)}},(fe.css||(fe.css={})).toColor=function(se){switch(se.length){case 7:return{css:se,rgba:(parseInt(se.slice(1),16)<<8|255)>>>0};case 9:return{css:se,rgba:parseInt(se.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(se){function de(le,ie,oe){var re=le/255,ee=ie/255,a=oe/255;return .2126*(re<=.03928?re/12.92:Math.pow((re+.055)/1.055,2.4))+.7152*(ee<=.03928?ee/12.92:Math.pow((ee+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}se.relativeLuminance=function(le){return de(le>>16&255,le>>8&255,255&le)},se.relativeLuminance2=de}(ye=fe.rgb||(fe.rgb={})),function(se){function de(ie,oe,re){for(var ee=ie>>24&255,a=ie>>16&255,y=ie>>8&255,x=oe>>24&255,b=oe>>16&255,z=oe>>8&255,te=ne(ye.relativeLuminance2(x,z,b),ye.relativeLuminance2(ee,a,y));te0||b>0||z>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),z-=Math.max(0,Math.ceil(.1*z)),te=ne(ye.relativeLuminance2(x,z,b),ye.relativeLuminance2(ee,a,y));return(x<<24|b<<16|z<<8|255)>>>0}function le(ie,oe,re){for(var ee=ie>>24&255,a=ie>>16&255,y=ie>>8&255,x=oe>>24&255,b=oe>>16&255,z=oe>>8&255,te=ne(ye.relativeLuminance2(x,z,b),ye.relativeLuminance2(ee,a,y));te>>0}se.ensureContrastRatio=function(ie,oe,re){var ee=ye.relativeLuminance(ie>>8),a=ye.relativeLuminance(oe>>8);if(ne(ee,a)>24&255,ie>>16&255,ie>>8&255,255&ie]},se.toColor=function(ie,oe,re){return{css:Ae.toCss(ie,oe,re),rgba:Ae.toRgba(ie,oe,re)}}}(he=fe.rgba||(fe.rgba={})),fe.toPaddedHex=ce,fe.contrastRatio=ne},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isLinux=fe.isWindows=fe.isIphone=fe.isIpad=fe.isMac=fe.isSafari=fe.isFirefox=void 0;var Ae=typeof navigator=="undefined",E=Ae?"node":navigator.userAgent,ye=Ae?"node":navigator.platform;function he(ce,ne){return ce.indexOf(ne)>=0}fe.isFirefox=!!~E.indexOf("Firefox"),fe.isSafari=/^((?!chrome|android).)*safari/i.test(E),fe.isMac=he(["Macintosh","MacIntel","MacPPC","Mac68K"],ye),fe.isIpad=ye==="iPad",fe.isIphone=ye==="iPhone",fe.isWindows=he(["Windows","Win16","Win32","WinCE"],ye),fe.isLinux=ye.indexOf("Linux")>=0},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.C1=fe.C0=void 0,function(Ae){Ae.NUL="\0",Ae.SOH="",Ae.STX="",Ae.ETX="",Ae.EOT="",Ae.ENQ="",Ae.ACK="",Ae.BEL="\x07",Ae.BS="\b",Ae.HT=" ",Ae.LF=` +`,Ae.VT="\v",Ae.FF="\f",Ae.CR="\r",Ae.SO="",Ae.SI="",Ae.DLE="",Ae.DC1="",Ae.DC2="",Ae.DC3="",Ae.DC4="",Ae.NAK="",Ae.SYN="",Ae.ETB="",Ae.CAN="",Ae.EM="",Ae.SUB="",Ae.ESC="\x1B",Ae.FS="",Ae.GS="",Ae.RS="",Ae.US="",Ae.SP=" ",Ae.DEL="\x7F"}(fe.C0||(fe.C0={})),function(Ae){Ae.PAD="\x80",Ae.HOP="\x81",Ae.BPH="\x82",Ae.NBH="\x83",Ae.IND="\x84",Ae.NEL="\x85",Ae.SSA="\x86",Ae.ESA="\x87",Ae.HTS="\x88",Ae.HTJ="\x89",Ae.VTS="\x8A",Ae.PLD="\x8B",Ae.PLU="\x8C",Ae.RI="\x8D",Ae.SS2="\x8E",Ae.SS3="\x8F",Ae.DCS="\x90",Ae.PU1="\x91",Ae.PU2="\x92",Ae.STS="\x93",Ae.CCH="\x94",Ae.MW="\x95",Ae.SPA="\x96",Ae.EPA="\x97",Ae.SOS="\x98",Ae.SGCI="\x99",Ae.SCI="\x9A",Ae.CSI="\x9B",Ae.ST="\x9C",Ae.OSC="\x9D",Ae.PM="\x9E",Ae.APC="\x9F"}(fe.C1||(fe.C1={}))},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BaseRenderLayer=void 0;var Ae=ae(3),E=ae(9),ye=ae(25),he=ae(6),ce=ae(28),ne=ae(10),se=ae(17),de=function(){function le(ie,oe,re,ee,a,y,x,b){this._container=ie,this._alpha=ee,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+oe+"-layer"),this._canvas.style.zIndex=re.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return le.prototype.dispose=function(){var ie;se.removeElementFromParent(this._canvas),(ie=this._charAtlas)===null||ie===void 0||ie.dispose()},le.prototype._initCanvas=function(){this._ctx=ce.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},le.prototype.onOptionsChanged=function(){},le.prototype.onBlur=function(){},le.prototype.onFocus=function(){},le.prototype.onCursorMove=function(){},le.prototype.onGridChanged=function(ie,oe){},le.prototype.onSelectionChanged=function(ie,oe,re){re===void 0&&(re=!1)},le.prototype.setColors=function(ie){this._refreshCharAtlas(ie)},le.prototype._setTransparency=function(ie){if(ie!==this._alpha){var oe=this._canvas;this._alpha=ie,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,oe),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},le.prototype._refreshCharAtlas=function(ie){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=ye.acquireCharAtlas(this._optionsService.options,this._rendererId,ie,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},le.prototype.resize=function(ie){this._scaledCellWidth=ie.scaledCellWidth,this._scaledCellHeight=ie.scaledCellHeight,this._scaledCharWidth=ie.scaledCharWidth,this._scaledCharHeight=ie.scaledCharHeight,this._scaledCharLeft=ie.scaledCharLeft,this._scaledCharTop=ie.scaledCharTop,this._canvas.width=ie.scaledCanvasWidth,this._canvas.height=ie.scaledCanvasHeight,this._canvas.style.width=ie.canvasWidth+"px",this._canvas.style.height=ie.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},le.prototype._fillCells=function(ie,oe,re,ee){this._ctx.fillRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,ee*this._scaledCellHeight)},le.prototype._fillBottomLineAtCells=function(ie,oe,re){re===void 0&&(re=1),this._ctx.fillRect(ie*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,re*this._scaledCellWidth,window.devicePixelRatio)},le.prototype._fillLeftLineAtCell=function(ie,oe,re){this._ctx.fillRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*re,this._scaledCellHeight)},le.prototype._strokeRectAtCell=function(ie,oe,re,ee){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(ie*this._scaledCellWidth+window.devicePixelRatio/2,oe*this._scaledCellHeight+window.devicePixelRatio/2,re*this._scaledCellWidth-window.devicePixelRatio,ee*this._scaledCellHeight-window.devicePixelRatio)},le.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},le.prototype._clearCells=function(ie,oe,re,ee){this._alpha?this._ctx.clearRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,ee*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ie*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,ee*this._scaledCellHeight))},le.prototype._fillCharTrueColor=function(ie,oe,re){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(re),this._ctx.fillText(ie.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},le.prototype._drawChars=function(ie,oe,re){var ee,a,y=this._getContrastColor(ie);y||ie.isFgRGB()||ie.isBgRGB()?this._drawUncachedChars(ie,oe,re,y):(ie.isInverse()?(ee=ie.isBgDefault()?E.INVERTED_DEFAULT_COLOR:ie.getBgColor(),a=ie.isFgDefault()?E.INVERTED_DEFAULT_COLOR:ie.getFgColor()):(a=ie.isBgDefault()?Ae.DEFAULT_COLOR:ie.getBgColor(),ee=ie.isFgDefault()?Ae.DEFAULT_COLOR:ie.getFgColor()),ee+=this._optionsService.options.drawBoldTextInBrightColors&&ie.isBold()&&ee<8?8:0,this._currentGlyphIdentifier.chars=ie.getChars()||Ae.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ie.getCode()||Ae.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=ee,this._currentGlyphIdentifier.bold=!!ie.isBold(),this._currentGlyphIdentifier.dim=!!ie.isDim(),this._currentGlyphIdentifier.italic=!!ie.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ie,oe,re))},le.prototype._drawUncachedChars=function(ie,oe,re,ee){if(this._ctx.save(),this._ctx.font=this._getFont(!!ie.isBold(),!!ie.isItalic()),this._ctx.textBaseline="middle",ie.isInverse())if(ee)this._ctx.fillStyle=ee.css;else if(ie.isBgDefault())this._ctx.fillStyle=ne.color.opaque(this._colors.background).css;else if(ie.isBgRGB())this._ctx.fillStyle="rgb("+he.AttributeData.toColorRGB(ie.getBgColor()).join(",")+")";else{var a=ie.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ie.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(ee)this._ctx.fillStyle=ee.css;else if(ie.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ie.isFgRGB())this._ctx.fillStyle="rgb("+he.AttributeData.toColorRGB(ie.getFgColor()).join(",")+")";else{var y=ie.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ie.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(re),ie.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ie.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},le.prototype._clipRow=function(ie){this._ctx.beginPath(),this._ctx.rect(0,ie*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},le.prototype._getFont=function(ie,oe){return(oe?"italic":"")+" "+(ie?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},le.prototype._getContrastColor=function(ie){if(this._optionsService.options.minimumContrastRatio!==1){var oe=this._colors.contrastCache.getColor(ie.bg,ie.fg);if(oe!==void 0)return oe||void 0;var re=ie.getFgColor(),ee=ie.getFgColorMode(),a=ie.getBgColor(),y=ie.getBgColorMode(),x=!!ie.isInverse(),b=!!ie.isInverse();if(x){var z=re;re=a,a=z;var te=ee;ee=y,y=te}var ue=this._resolveBackgroundRgba(y,a,x),me=this._resolveForegroundRgba(ee,re,x,b),ve=ne.rgba.ensureContrastRatio(ue,me,this._optionsService.options.minimumContrastRatio);if(ve){var ge={css:ne.channels.toCss(ve>>24&255,ve>>16&255,ve>>8&255),rgba:ve};return this._colors.contrastCache.setColor(ie.bg,ie.fg,ge),ge}this._colors.contrastCache.setColor(ie.bg,ie.fg,null)}},le.prototype._resolveBackgroundRgba=function(ie,oe,re){switch(ie){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.foreground.rgba:this._colors.background.rgba}},le.prototype._resolveForegroundRgba=function(ie,oe,re,ee){switch(ie){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&ee&&oe<8&&(oe+=8),this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.background.rgba:this._colors.foreground.rgba}},le}();fe.BaseRenderLayer=de},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.createDecorator=fe.getServiceDependencies=fe.serviceRegistry=void 0;function Ae(E,ye,he){ye.di$target===ye?ye.di$dependencies.push({id:E,index:he}):(ye.di$dependencies=[{id:E,index:he}],ye.di$target=ye)}fe.serviceRegistry=new Map,fe.getServiceDependencies=function(E){return E.di$dependencies||[]},fe.createDecorator=function(E){if(fe.serviceRegistry.has(E))return fe.serviceRegistry.get(E);var ye=function(he,ce,ne){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");Ae(ye,he,ne)};return ye.toString=function(){return E},fe.serviceRegistry.set(E,ye),ye}},function(ot,fe,ae){"use strict";function Ae(E,ye,he,ce){if(he===void 0&&(he=0),ce===void 0&&(ce=E.length),he>=E.length)return E;he=(E.length+he)%E.length,ce=ce>=E.length?E.length:(E.length+ce)%E.length;for(var ne=he;ne>22,2097152&de?this._combined[se].charCodeAt(this._combined[se].length-1):le]},ne.prototype.set=function(se,de){this._data[3*se+1]=de[E.CHAR_DATA_ATTR_INDEX],de[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[se]=de[1],this._data[3*se+0]=2097152|se|de[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*se+0]=de[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|de[E.CHAR_DATA_WIDTH_INDEX]<<22},ne.prototype.getWidth=function(se){return this._data[3*se+0]>>22},ne.prototype.hasWidth=function(se){return 12582912&this._data[3*se+0]},ne.prototype.getFg=function(se){return this._data[3*se+1]},ne.prototype.getBg=function(se){return this._data[3*se+2]},ne.prototype.hasContent=function(se){return 4194303&this._data[3*se+0]},ne.prototype.getCodePoint=function(se){var de=this._data[3*se+0];return 2097152&de?this._combined[se].charCodeAt(this._combined[se].length-1):2097151&de},ne.prototype.isCombined=function(se){return 2097152&this._data[3*se+0]},ne.prototype.getString=function(se){var de=this._data[3*se+0];return 2097152&de?this._combined[se]:2097151&de?Ae.stringFromCodePoint(2097151&de):""},ne.prototype.loadCell=function(se,de){var le=3*se;return de.content=this._data[le+0],de.fg=this._data[le+1],de.bg=this._data[le+2],2097152&de.content&&(de.combinedData=this._combined[se]),268435456&de.bg&&(de.extended=this._extendedAttrs[se]),de},ne.prototype.setCell=function(se,de){2097152&de.content&&(this._combined[se]=de.combinedData),268435456&de.bg&&(this._extendedAttrs[se]=de.extended),this._data[3*se+0]=de.content,this._data[3*se+1]=de.fg,this._data[3*se+2]=de.bg},ne.prototype.setCellFromCodePoint=function(se,de,le,ie,oe,re){268435456&oe&&(this._extendedAttrs[se]=re),this._data[3*se+0]=de|le<<22,this._data[3*se+1]=ie,this._data[3*se+2]=oe},ne.prototype.addCodepointToCell=function(se,de){var le=this._data[3*se+0];2097152&le?this._combined[se]+=Ae.stringFromCodePoint(de):(2097151&le?(this._combined[se]=Ae.stringFromCodePoint(2097151&le)+Ae.stringFromCodePoint(de),le&=-2097152,le|=2097152):le=de|1<<22,this._data[3*se+0]=le)},ne.prototype.insertCells=function(se,de,le,ie){if((se%=this.length)&&this.getWidth(se-1)===2&&this.setCellFromCodePoint(se-1,0,1,(ie==null?void 0:ie.fg)||0,(ie==null?void 0:ie.bg)||0,(ie==null?void 0:ie.extended)||new he.ExtendedAttrs),de=0;--re)this.setCell(se+de+re,this.loadCell(se+re,oe));for(re=0;rethis.length){var le=new Uint32Array(3*se);this.length&&(3*se=se&&delete this._combined[re]}}else this._data=new Uint32Array(0),this._combined={};this.length=se}},ne.prototype.fill=function(se){this._combined={},this._extendedAttrs={};for(var de=0;de=0;--se)if(4194303&this._data[3*se+0])return se+(this._data[3*se+0]>>22);return 0},ne.prototype.copyCellsFrom=function(se,de,le,ie,oe){var re=se._data;if(oe)for(var ee=ie-1;ee>=0;ee--)for(var a=0;a<3;a++)this._data[3*(le+ee)+a]=re[3*(de+ee)+a];else for(ee=0;ee=de&&(this._combined[x-de+le]=se._combined[x])}},ne.prototype.translateToString=function(se,de,le){se===void 0&&(se=!1),de===void 0&&(de=0),le===void 0&&(le=this.length),se&&(le=Math.min(le,this.getTrimmedLength()));for(var ie="";de>22||1}return ie},ne}();fe.BufferLine=ce},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.removeElementFromParent=void 0,fe.removeElementFromParent=function(){for(var Ae,E=[],ye=0;ye24)return ve.setWinLines||!1;switch(me){case 1:return!!ve.restoreWin;case 2:return!!ve.minimizeWin;case 3:return!!ve.setWinPosition;case 4:return!!ve.setWinSizePixels;case 5:return!!ve.raiseWin;case 6:return!!ve.lowerWin;case 7:return!!ve.refreshWin;case 8:return!!ve.setWinSizeChars;case 9:return!!ve.maximizeWin;case 10:return!!ve.fullscreenWin;case 11:return!!ve.getWinState;case 13:return!!ve.getWinPosition;case 14:return!!ve.getWinSizePixels;case 15:return!!ve.getScreenSizePixels;case 16:return!!ve.getCellSizePixels;case 18:return!!ve.getWinSizeChars;case 19:return!!ve.getScreenSizeChars;case 20:return!!ve.getIconTitle;case 21:return!!ve.getWinTitle;case 22:return!!ve.pushTitle;case 23:return!!ve.popTitle;case 24:return!!ve.setWinLines}return!1}(function(me){me[me.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",me[me.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(ye=fe.WindowsOptionsReportType||(fe.WindowsOptionsReportType={}));var te=function(){function me(ve,ge,pe,Se){this._bufferService=ve,this._coreService=ge,this._logService=pe,this._optionsService=Se,this._data=new Uint32Array(0)}return me.prototype.hook=function(ve){this._data=new Uint32Array(0)},me.prototype.put=function(ve,ge,pe){this._data=de.concat(this._data,ve.subarray(ge,pe))},me.prototype.unhook=function(ve){if(ve){var ge=le.utf32ToString(this._data);switch(this._data=new Uint32Array(0),ge){case'"q':return this._coreService.triggerDataEvent(he.C0.ESC+'P1$r0"q'+he.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(he.C0.ESC+'P1$r61;1"p'+he.C0.ESC+"\\");case"r":var pe=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(he.C0.ESC+"P1$r"+pe+he.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(he.C0.ESC+"P1$r0m"+he.C0.ESC+"\\");case" q":var Se={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return Se-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(he.C0.ESC+"P1$r"+Se+" q"+he.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",ge),this._coreService.triggerDataEvent(he.C0.ESC+"P0$r"+he.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},me}(),ue=function(me){function ve(ge,pe,Se,be,Ee,Ce,Be,Pe,Fe){Fe===void 0&&(Fe=new ne.EscapeSequenceParser);var we=me.call(this)||this;we._bufferService=ge,we._charsetService=pe,we._coreService=Se,we._dirtyRowService=be,we._logService=Ee,we._optionsService=Ce,we._coreMouseService=Be,we._unicodeService=Pe,we._parser=Fe,we._parseBuffer=new Uint32Array(4096),we._stringDecoder=new le.StringToUtf32,we._utf8Decoder=new le.Utf8ToUtf32,we._workCell=new ee.CellData,we._windowTitle="",we._iconName="",we._windowTitleStack=[],we._iconNameStack=[],we._curAttrData=ie.DEFAULT_ATTR_DATA.clone(),we._eraseAttrDataInternal=ie.DEFAULT_ATTR_DATA.clone(),we._onRequestBell=new oe.EventEmitter,we._onRequestRefreshRows=new oe.EventEmitter,we._onRequestReset=new oe.EventEmitter,we._onRequestScroll=new oe.EventEmitter,we._onRequestSyncScrollBar=new oe.EventEmitter,we._onRequestWindowsOptionsReport=new oe.EventEmitter,we._onA11yChar=new oe.EventEmitter,we._onA11yTab=new oe.EventEmitter,we._onCursorMove=new oe.EventEmitter,we._onLineFeed=new oe.EventEmitter,we._onScroll=new oe.EventEmitter,we._onTitleChange=new oe.EventEmitter,we.register(we._parser),we._parser.setCsiHandlerFallback(function(Ne,Ue){we._logService.debug("Unknown CSI code: ",{identifier:we._parser.identToString(Ne),params:Ue.toArray()})}),we._parser.setEscHandlerFallback(function(Ne){we._logService.debug("Unknown ESC code: ",{identifier:we._parser.identToString(Ne)})}),we._parser.setExecuteHandlerFallback(function(Ne){we._logService.debug("Unknown EXECUTE code: ",{code:Ne})}),we._parser.setOscHandlerFallback(function(Ne,Ue,He){we._logService.debug("Unknown OSC code: ",{identifier:Ne,action:Ue,data:He})}),we._parser.setDcsHandlerFallback(function(Ne,Ue,He){Ue==="HOOK"&&(He=He.toArray()),we._logService.debug("Unknown DCS code: ",{identifier:we._parser.identToString(Ne),action:Ue,payload:He})}),we._parser.setPrintHandler(function(Ne,Ue,He){return we.print(Ne,Ue,He)}),we._parser.setCsiHandler({final:"@"},function(Ne){return we.insertChars(Ne)}),we._parser.setCsiHandler({intermediates:" ",final:"@"},function(Ne){return we.scrollLeft(Ne)}),we._parser.setCsiHandler({final:"A"},function(Ne){return we.cursorUp(Ne)}),we._parser.setCsiHandler({intermediates:" ",final:"A"},function(Ne){return we.scrollRight(Ne)}),we._parser.setCsiHandler({final:"B"},function(Ne){return we.cursorDown(Ne)}),we._parser.setCsiHandler({final:"C"},function(Ne){return we.cursorForward(Ne)}),we._parser.setCsiHandler({final:"D"},function(Ne){return we.cursorBackward(Ne)}),we._parser.setCsiHandler({final:"E"},function(Ne){return we.cursorNextLine(Ne)}),we._parser.setCsiHandler({final:"F"},function(Ne){return we.cursorPrecedingLine(Ne)}),we._parser.setCsiHandler({final:"G"},function(Ne){return we.cursorCharAbsolute(Ne)}),we._parser.setCsiHandler({final:"H"},function(Ne){return we.cursorPosition(Ne)}),we._parser.setCsiHandler({final:"I"},function(Ne){return we.cursorForwardTab(Ne)}),we._parser.setCsiHandler({final:"J"},function(Ne){return we.eraseInDisplay(Ne)}),we._parser.setCsiHandler({prefix:"?",final:"J"},function(Ne){return we.eraseInDisplay(Ne)}),we._parser.setCsiHandler({final:"K"},function(Ne){return we.eraseInLine(Ne)}),we._parser.setCsiHandler({prefix:"?",final:"K"},function(Ne){return we.eraseInLine(Ne)}),we._parser.setCsiHandler({final:"L"},function(Ne){return we.insertLines(Ne)}),we._parser.setCsiHandler({final:"M"},function(Ne){return we.deleteLines(Ne)}),we._parser.setCsiHandler({final:"P"},function(Ne){return we.deleteChars(Ne)}),we._parser.setCsiHandler({final:"S"},function(Ne){return we.scrollUp(Ne)}),we._parser.setCsiHandler({final:"T"},function(Ne){return we.scrollDown(Ne)}),we._parser.setCsiHandler({final:"X"},function(Ne){return we.eraseChars(Ne)}),we._parser.setCsiHandler({final:"Z"},function(Ne){return we.cursorBackwardTab(Ne)}),we._parser.setCsiHandler({final:"`"},function(Ne){return we.charPosAbsolute(Ne)}),we._parser.setCsiHandler({final:"a"},function(Ne){return we.hPositionRelative(Ne)}),we._parser.setCsiHandler({final:"b"},function(Ne){return we.repeatPrecedingCharacter(Ne)}),we._parser.setCsiHandler({final:"c"},function(Ne){return we.sendDeviceAttributesPrimary(Ne)}),we._parser.setCsiHandler({prefix:">",final:"c"},function(Ne){return we.sendDeviceAttributesSecondary(Ne)}),we._parser.setCsiHandler({final:"d"},function(Ne){return we.linePosAbsolute(Ne)}),we._parser.setCsiHandler({final:"e"},function(Ne){return we.vPositionRelative(Ne)}),we._parser.setCsiHandler({final:"f"},function(Ne){return we.hVPosition(Ne)}),we._parser.setCsiHandler({final:"g"},function(Ne){return we.tabClear(Ne)}),we._parser.setCsiHandler({final:"h"},function(Ne){return we.setMode(Ne)}),we._parser.setCsiHandler({prefix:"?",final:"h"},function(Ne){return we.setModePrivate(Ne)}),we._parser.setCsiHandler({final:"l"},function(Ne){return we.resetMode(Ne)}),we._parser.setCsiHandler({prefix:"?",final:"l"},function(Ne){return we.resetModePrivate(Ne)}),we._parser.setCsiHandler({final:"m"},function(Ne){return we.charAttributes(Ne)}),we._parser.setCsiHandler({final:"n"},function(Ne){return we.deviceStatus(Ne)}),we._parser.setCsiHandler({prefix:"?",final:"n"},function(Ne){return we.deviceStatusPrivate(Ne)}),we._parser.setCsiHandler({intermediates:"!",final:"p"},function(Ne){return we.softReset(Ne)}),we._parser.setCsiHandler({intermediates:" ",final:"q"},function(Ne){return we.setCursorStyle(Ne)}),we._parser.setCsiHandler({final:"r"},function(Ne){return we.setScrollRegion(Ne)}),we._parser.setCsiHandler({final:"s"},function(Ne){return we.saveCursor(Ne)}),we._parser.setCsiHandler({final:"t"},function(Ne){return we.windowOptions(Ne)}),we._parser.setCsiHandler({final:"u"},function(Ne){return we.restoreCursor(Ne)}),we._parser.setCsiHandler({intermediates:"'",final:"}"},function(Ne){return we.insertColumns(Ne)}),we._parser.setCsiHandler({intermediates:"'",final:"~"},function(Ne){return we.deleteColumns(Ne)}),we._parser.setExecuteHandler(he.C0.BEL,function(){return we.bell()}),we._parser.setExecuteHandler(he.C0.LF,function(){return we.lineFeed()}),we._parser.setExecuteHandler(he.C0.VT,function(){return we.lineFeed()}),we._parser.setExecuteHandler(he.C0.FF,function(){return we.lineFeed()}),we._parser.setExecuteHandler(he.C0.CR,function(){return we.carriageReturn()}),we._parser.setExecuteHandler(he.C0.BS,function(){return we.backspace()}),we._parser.setExecuteHandler(he.C0.HT,function(){return we.tab()}),we._parser.setExecuteHandler(he.C0.SO,function(){return we.shiftOut()}),we._parser.setExecuteHandler(he.C0.SI,function(){return we.shiftIn()}),we._parser.setExecuteHandler(he.C1.IND,function(){return we.index()}),we._parser.setExecuteHandler(he.C1.NEL,function(){return we.nextLine()}),we._parser.setExecuteHandler(he.C1.HTS,function(){return we.tabSet()}),we._parser.setOscHandler(0,new y.OscHandler(function(Ne){we.setTitle(Ne),we.setIconName(Ne)})),we._parser.setOscHandler(1,new y.OscHandler(function(Ne){return we.setIconName(Ne)})),we._parser.setOscHandler(2,new y.OscHandler(function(Ne){return we.setTitle(Ne)})),we._parser.setEscHandler({final:"7"},function(){return we.saveCursor()}),we._parser.setEscHandler({final:"8"},function(){return we.restoreCursor()}),we._parser.setEscHandler({final:"D"},function(){return we.index()}),we._parser.setEscHandler({final:"E"},function(){return we.nextLine()}),we._parser.setEscHandler({final:"H"},function(){return we.tabSet()}),we._parser.setEscHandler({final:"M"},function(){return we.reverseIndex()}),we._parser.setEscHandler({final:"="},function(){return we.keypadApplicationMode()}),we._parser.setEscHandler({final:">"},function(){return we.keypadNumericMode()}),we._parser.setEscHandler({final:"c"},function(){return we.fullReset()}),we._parser.setEscHandler({final:"n"},function(){return we.setgLevel(2)}),we._parser.setEscHandler({final:"o"},function(){return we.setgLevel(3)}),we._parser.setEscHandler({final:"|"},function(){return we.setgLevel(3)}),we._parser.setEscHandler({final:"}"},function(){return we.setgLevel(2)}),we._parser.setEscHandler({final:"~"},function(){return we.setgLevel(1)}),we._parser.setEscHandler({intermediates:"%",final:"@"},function(){return we.selectDefaultCharset()}),we._parser.setEscHandler({intermediates:"%",final:"G"},function(){return we.selectDefaultCharset()});var Le=function(Ne){Oe._parser.setEscHandler({intermediates:"(",final:Ne},function(){return we.selectCharset("("+Ne)}),Oe._parser.setEscHandler({intermediates:")",final:Ne},function(){return we.selectCharset(")"+Ne)}),Oe._parser.setEscHandler({intermediates:"*",final:Ne},function(){return we.selectCharset("*"+Ne)}),Oe._parser.setEscHandler({intermediates:"+",final:Ne},function(){return we.selectCharset("+"+Ne)}),Oe._parser.setEscHandler({intermediates:"-",final:Ne},function(){return we.selectCharset("-"+Ne)}),Oe._parser.setEscHandler({intermediates:".",final:Ne},function(){return we.selectCharset("."+Ne)}),Oe._parser.setEscHandler({intermediates:"/",final:Ne},function(){return we.selectCharset("/"+Ne)})},Oe=this;for(var Ge in ce.CHARSETS)Le(Ge);return we._parser.setEscHandler({intermediates:"#",final:"8"},function(){return we.screenAlignmentPattern()}),we._parser.setErrorHandler(function(Ne){return we._logService.error("Parsing error: ",Ne),Ne}),we._parser.setDcsHandler({intermediates:"$",final:"q"},new te(we._bufferService,we._coreService,we._logService,we._optionsService)),we}return E(ve,me),Object.defineProperty(ve.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),ve.prototype.dispose=function(){me.prototype.dispose.call(this)},ve.prototype.parse=function(ge){var pe=this._bufferService.buffer,Se=pe.x,be=pe.y;if(this._logService.debug("parsing data",ge),this._parseBuffer.length131072)for(var Ee=0;Ee0&&Ge.getWidth(Ce.x-1)===2&&Ge.setCellFromCodePoint(Ce.x-1,0,1,Oe.fg,Oe.bg,Oe.extended);for(var Ne=pe;Ne=Fe){if(we){for(;Ce.x=this._bufferService.rows&&(Ce.y=this._bufferService.rows-1),Ce.lines.get(Ce.ybase+Ce.y).isWrapped=!0),Ge=Ce.lines.get(Ce.ybase+Ce.y)}else if(Ce.x=Fe-1,Ee===2)continue}if(Le&&(Ge.insertCells(Ce.x,Ee,Ce.getNullCell(Oe),Oe),Ge.getWidth(Fe-1)===2&&Ge.setCellFromCodePoint(Fe-1,re.NULL_CELL_CODE,re.NULL_CELL_WIDTH,Oe.fg,Oe.bg,Oe.extended)),Ge.setCellFromCodePoint(Ce.x++,be,Ee,Oe.fg,Oe.bg,Oe.extended),Ee>0)for(;--Ee;)Ge.setCellFromCodePoint(Ce.x++,0,0,Oe.fg,Oe.bg,Oe.extended)}else Ge.getWidth(Ce.x-1)?Ge.addCodepointToCell(Ce.x-1,be):Ge.addCodepointToCell(Ce.x-2,be)}Se-pe>0&&(Ge.loadCell(Ce.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),Ce.x0&&Ge.getWidth(Ce.x)===0&&!Ge.hasContent(Ce.x)&&Ge.setCellFromCodePoint(Ce.x,0,1,Oe.fg,Oe.bg,Oe.extended),this._dirtyRowService.markDirty(Ce.y)},ve.prototype.addCsiHandler=function(ge,pe){var Se=this;return ge.final!=="t"||ge.prefix||ge.intermediates?this._parser.addCsiHandler(ge,pe):this._parser.addCsiHandler(ge,function(be){return!z(be.params[0],Se._optionsService.options.windowOptions)||pe(be)})},ve.prototype.addDcsHandler=function(ge,pe){return this._parser.addDcsHandler(ge,new x.DcsHandler(pe))},ve.prototype.addEscHandler=function(ge,pe){return this._parser.addEscHandler(ge,pe)},ve.prototype.addOscHandler=function(ge,pe){return this._parser.addOscHandler(ge,new y.OscHandler(pe))},ve.prototype.bell=function(){this._onRequestBell.fire()},ve.prototype.lineFeed=function(){var ge=this._bufferService.buffer;this._dirtyRowService.markDirty(ge.y),this._optionsService.options.convertEol&&(ge.x=0),ge.y++,ge.y===ge.scrollBottom+1?(ge.y--,this._onRequestScroll.fire(this._eraseAttrData())):ge.y>=this._bufferService.rows&&(ge.y=this._bufferService.rows-1),ge.x>=this._bufferService.cols&&ge.x--,this._dirtyRowService.markDirty(ge.y),this._onLineFeed.fire()},ve.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},ve.prototype.backspace=function(){var ge,pe=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(pe.x>0&&pe.x--);if(this._restrictCursor(this._bufferService.cols),pe.x>0)pe.x--;else if(pe.x===0&&pe.y>pe.scrollTop&&pe.y<=pe.scrollBottom&&(!((ge=pe.lines.get(pe.ybase+pe.y))===null||ge===void 0)&&ge.isWrapped)){pe.lines.get(pe.ybase+pe.y).isWrapped=!1,pe.y--,pe.x=this._bufferService.cols-1;var Se=pe.lines.get(pe.ybase+pe.y);Se.hasWidth(pe.x)&&!Se.hasContent(pe.x)&&pe.x--}this._restrictCursor()},ve.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var ge=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-ge)}},ve.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},ve.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},ve.prototype._restrictCursor=function(ge){ge===void 0&&(ge=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(ge,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ve.prototype._setCursor=function(ge,pe){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=ge,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+pe):(this._bufferService.buffer.x=ge,this._bufferService.buffer.y=pe),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ve.prototype._moveCursor=function(ge,pe){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+ge,this._bufferService.buffer.y+pe)},ve.prototype.cursorUp=function(ge){var pe=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;pe>=0?this._moveCursor(0,-Math.min(pe,ge.params[0]||1)):this._moveCursor(0,-(ge.params[0]||1))},ve.prototype.cursorDown=function(ge){var pe=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;pe>=0?this._moveCursor(0,Math.min(pe,ge.params[0]||1)):this._moveCursor(0,ge.params[0]||1)},ve.prototype.cursorForward=function(ge){this._moveCursor(ge.params[0]||1,0)},ve.prototype.cursorBackward=function(ge){this._moveCursor(-(ge.params[0]||1),0)},ve.prototype.cursorNextLine=function(ge){this.cursorDown(ge),this._bufferService.buffer.x=0},ve.prototype.cursorPrecedingLine=function(ge){this.cursorUp(ge),this._bufferService.buffer.x=0},ve.prototype.cursorCharAbsolute=function(ge){this._setCursor((ge.params[0]||1)-1,this._bufferService.buffer.y)},ve.prototype.cursorPosition=function(ge){this._setCursor(ge.length>=2?(ge.params[1]||1)-1:0,(ge.params[0]||1)-1)},ve.prototype.charPosAbsolute=function(ge){this._setCursor((ge.params[0]||1)-1,this._bufferService.buffer.y)},ve.prototype.hPositionRelative=function(ge){this._moveCursor(ge.params[0]||1,0)},ve.prototype.linePosAbsolute=function(ge){this._setCursor(this._bufferService.buffer.x,(ge.params[0]||1)-1)},ve.prototype.vPositionRelative=function(ge){this._moveCursor(0,ge.params[0]||1)},ve.prototype.hVPosition=function(ge){this.cursorPosition(ge)},ve.prototype.tabClear=function(ge){var pe=ge.params[0];pe===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:pe===3&&(this._bufferService.buffer.tabs={})},ve.prototype.cursorForwardTab=function(ge){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ge.params[0]||1;pe--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ve.prototype.cursorBackwardTab=function(ge){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ge.params[0]||1,Se=this._bufferService.buffer;pe--;)Se.x=Se.prevStop()},ve.prototype._eraseInBufferLine=function(ge,pe,Se,be){be===void 0&&(be=!1);var Ee=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ge);Ee.replaceCells(pe,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be&&(Ee.isWrapped=!1)},ve.prototype._resetBufferLine=function(ge){var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ge);pe.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),pe.isWrapped=!1},ve.prototype.eraseInDisplay=function(ge){var pe;switch(this._restrictCursor(),ge.params[0]){case 0:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);pe=this._bufferService.cols&&(this._bufferService.buffer.lines.get(pe+1).isWrapped=!1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 2:for(pe=this._bufferService.rows,this._dirtyRowService.markDirty(pe-1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 3:var Se=this._bufferService.buffer.lines.length-this._bufferService.rows;Se>0&&(this._bufferService.buffer.lines.trimStart(Se),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-Se,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-Se,0),this._onScroll.fire(0))}},ve.prototype.eraseInLine=function(ge){switch(this._restrictCursor(),ge.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ve.prototype.insertLines=function(ge){this._restrictCursor();var pe=ge.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.ySe.scrollBottom||Se.ype.scrollBottom||pe.ype.scrollBottom||pe.ype.scrollBottom||pe.ype.scrollBottom||pe.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(he.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(he.C0.ESC+"[?6c"))},ve.prototype.sendDeviceAttributesSecondary=function(ge){ge.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(he.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(he.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(ge.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(he.C0.ESC+"[>83;40003;0c"))},ve.prototype._is=function(ge){return(this._optionsService.options.termName+"").indexOf(ge)===0},ve.prototype.setMode=function(ge){for(var pe=0;pe=2||be[1]===2&&Ce+Ee>=5)break;be[1]&&(Ee=1)}while(++Ce+pe5)&&(ge=1),pe.extended.underlineStyle=ge,pe.fg|=268435456,ge===0&&(pe.fg&=-268435457),pe.updateExtended()},ve.prototype.charAttributes=function(ge){if(ge.length===1&&ge.params[0]===0)return this._curAttrData.fg=ie.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ie.DEFAULT_ATTR_DATA.bg);for(var pe,Se=ge.length,be=this._curAttrData,Ee=0;Ee=30&&pe<=37?(be.fg&=-50331904,be.fg|=16777216|pe-30):pe>=40&&pe<=47?(be.bg&=-50331904,be.bg|=16777216|pe-40):pe>=90&&pe<=97?(be.fg&=-50331904,be.fg|=16777224|pe-90):pe>=100&&pe<=107?(be.bg&=-50331904,be.bg|=16777224|pe-100):pe===0?(be.fg=ie.DEFAULT_ATTR_DATA.fg,be.bg=ie.DEFAULT_ATTR_DATA.bg):pe===1?be.fg|=134217728:pe===3?be.bg|=67108864:pe===4?(be.fg|=268435456,this._processUnderline(ge.hasSubParams(Ee)?ge.getSubParams(Ee)[0]:1,be)):pe===5?be.fg|=536870912:pe===7?be.fg|=67108864:pe===8?be.fg|=1073741824:pe===2?be.bg|=134217728:pe===21?this._processUnderline(2,be):pe===22?(be.fg&=-134217729,be.bg&=-134217729):pe===23?be.bg&=-67108865:pe===24?be.fg&=-268435457:pe===25?be.fg&=-536870913:pe===27?be.fg&=-67108865:pe===28?be.fg&=-1073741825:pe===39?(be.fg&=-67108864,be.fg|=16777215&ie.DEFAULT_ATTR_DATA.fg):pe===49?(be.bg&=-67108864,be.bg|=16777215&ie.DEFAULT_ATTR_DATA.bg):pe===38||pe===48||pe===58?Ee+=this._extractColor(ge,Ee,be):pe===59?(be.extended=be.extended.clone(),be.extended.underlineColor=-1,be.updateExtended()):pe===100?(be.fg&=-67108864,be.fg|=16777215&ie.DEFAULT_ATTR_DATA.fg,be.bg&=-67108864,be.bg|=16777215&ie.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",pe)},ve.prototype.deviceStatus=function(ge){switch(ge.params[0]){case 5:this._coreService.triggerDataEvent(he.C0.ESC+"[0n");break;case 6:var pe=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(he.C0.ESC+"["+pe+";"+Se+"R")}},ve.prototype.deviceStatusPrivate=function(ge){switch(ge.params[0]){case 6:var pe=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(he.C0.ESC+"[?"+pe+";"+Se+"R")}},ve.prototype.softReset=function(ge){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=ie.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},ve.prototype.setCursorStyle=function(ge){var pe=ge.params[0]||1;switch(pe){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var Se=pe%2==1;this._optionsService.options.cursorBlink=Se},ve.prototype.setScrollRegion=function(ge){var pe,Se=ge.params[0]||1;(ge.length<2||(pe=ge.params[1])>this._bufferService.rows||pe===0)&&(pe=this._bufferService.rows),pe>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=pe-1,this._setCursor(0,0))},ve.prototype.windowOptions=function(ge){if(z(ge.params[0],this._optionsService.options.windowOptions)){var pe=ge.length>1?ge.params[1]:0;switch(ge.params[0]){case 14:pe!==2&&this._onRequestWindowsOptionsReport.fire(ye.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(ye.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(he.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:pe!==0&&pe!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),pe!==0&&pe!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:pe!==0&&pe!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),pe!==0&&pe!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},ve.prototype.saveCursor=function(ge){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},ve.prototype.restoreCursor=function(ge){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},ve.prototype.setTitle=function(ge){this._windowTitle=ge,this._onTitleChange.fire(ge)},ve.prototype.setIconName=function(ge){this._iconName=ge},ve.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},ve.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},ve.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},ve.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,ce.DEFAULT_CHARSET)},ve.prototype.selectCharset=function(ge){ge.length===2?ge[0]!=="/"&&this._charsetService.setgCharset(b[ge[0]],ce.CHARSETS[ge[1]]||ce.DEFAULT_CHARSET):this.selectDefaultCharset()},ve.prototype.index=function(){this._restrictCursor();var ge=this._bufferService.buffer;this._bufferService.buffer.y++,ge.y===ge.scrollBottom+1?(ge.y--,this._onRequestScroll.fire(this._eraseAttrData())):ge.y>=this._bufferService.rows&&(ge.y=this._bufferService.rows-1),this._restrictCursor()},ve.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},ve.prototype.reverseIndex=function(){this._restrictCursor();var ge=this._bufferService.buffer;if(ge.y===ge.scrollTop){var pe=ge.scrollBottom-ge.scrollTop;ge.lines.shiftElements(ge.ybase+ge.y,pe,1),ge.lines.set(ge.ybase+ge.y,ge.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom)}else ge.y--,this._restrictCursor()},ve.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},ve.prototype.reset=function(){this._curAttrData=ie.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ie.DEFAULT_ATTR_DATA.clone()},ve.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ve.prototype.setgLevel=function(ge){this._charsetService.setgLevel(ge)},ve.prototype.screenAlignmentPattern=function(){var ge=new ee.CellData;ge.content=1<<22|69,ge.fg=this._curAttrData.fg,ge.bg=this._curAttrData.bg;var pe=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(ye),this.length=0,this._subParams=new Int32Array(he),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(ye),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(ye){var he=new E;if(!ye.length)return he;for(var ce=ye[0]instanceof Array?1:0;ce>8,ne=255&this._subParamsIdx[he];ne-ce>0&&ye.push(Array.prototype.slice.call(this._subParams,ce,ne))}return ye},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(ye){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(ye<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=ye>2147483647?2147483647:ye}},E.prototype.addSubParam=function(ye){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(ye<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=ye>2147483647?2147483647:ye,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(ye){return(255&this._subParamsIdx[ye])-(this._subParamsIdx[ye]>>8)>0},E.prototype.getSubParams=function(ye){var he=this._subParamsIdx[ye]>>8,ce=255&this._subParamsIdx[ye];return ce-he>0?this._subParams.subarray(he,ce):null},E.prototype.getSubParamsAll=function(){for(var ye={},he=0;he>8,ne=255&this._subParamsIdx[he];ne-ce>0&&(ye[he]=this._subParams.slice(ce,ne))}return ye},E.prototype.addDigit=function(ye){var he;if(!(this._rejectDigits||!(he=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var ce=this._digitIsSub?this._subParams:this.params,ne=ce[he-1];ce[he-1]=~ne?Math.min(10*ne+ye,2147483647):ye}},E}();fe.Params=Ae},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.OscHandler=fe.OscParser=void 0;var Ae=ae(23),E=ae(8),ye=function(){function ce(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return ce.prototype.addHandler=function(ne,se){this._handlers[ne]===void 0&&(this._handlers[ne]=[]);var de=this._handlers[ne];return de.push(se),{dispose:function(){var le=de.indexOf(se);le!==-1&&de.splice(le,1)}}},ce.prototype.setHandler=function(ne,se){this._handlers[ne]=[se]},ce.prototype.clearHandler=function(ne){this._handlers[ne]&&delete this._handlers[ne]},ce.prototype.setHandlerFallback=function(ne){this._handlerFb=ne},ce.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ce.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},ce.prototype._start=function(){var ne=this._handlers[this._id];if(ne)for(var se=ne.length-1;se>=0;se--)ne[se].start();else this._handlerFb(this._id,"START")},ce.prototype._put=function(ne,se,de){var le=this._handlers[this._id];if(le)for(var ie=le.length-1;ie>=0;ie--)le[ie].put(ne,se,de);else this._handlerFb(this._id,"PUT",E.utf32ToString(ne,se,de))},ce.prototype._end=function(ne){var se=this._handlers[this._id];if(se){for(var de=se.length-1;de>=0&&se[de].end(ne)===!1;de--);for(de--;de>=0;de--)se[de].end(!1)}else this._handlerFb(this._id,"END",ne)},ce.prototype.start=function(){this.reset(),this._id=-1,this._state=1},ce.prototype.put=function(ne,se,de){if(this._state!==3){if(this._state===1)for(;se0&&this._put(ne,se,de)}},ce.prototype.end=function(ne){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(ne)),this._id=-1,this._state=0)},ce}();fe.OscParser=ye;var he=function(){function ce(ne){this._handler=ne,this._data="",this._hitLimit=!1}return ce.prototype.start=function(){this._data="",this._hitLimit=!1},ce.prototype.put=function(ne,se,de){this._hitLimit||(this._data+=E.utf32ToString(ne,se,de),this._data.length>Ae.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ce.prototype.end=function(ne){var se;return this._hitLimit?se=!1:ne&&(se=this._handler(this._data)),this._data="",this._hitLimit=!1,se},ce}();fe.OscHandler=he},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.PAYLOAD_LIMIT=void 0,fe.PAYLOAD_LIMIT=1e7},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DcsHandler=fe.DcsParser=void 0;var Ae=ae(8),E=ae(21),ye=ae(23),he=[],ce=function(){function se(){this._handlers=Object.create(null),this._active=he,this._ident=0,this._handlerFb=function(){}}return se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.addHandler=function(de,le){this._handlers[de]===void 0&&(this._handlers[de]=[]);var ie=this._handlers[de];return ie.push(le),{dispose:function(){var oe=ie.indexOf(le);oe!==-1&&ie.splice(oe,1)}}},se.prototype.setHandler=function(de,le){this._handlers[de]=[le]},se.prototype.clearHandler=function(de){this._handlers[de]&&delete this._handlers[de]},se.prototype.setHandlerFallback=function(de){this._handlerFb=de},se.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=he,this._ident=0},se.prototype.hook=function(de,le){if(this.reset(),this._ident=de,this._active=this._handlers[de]||he,this._active.length)for(var ie=this._active.length-1;ie>=0;ie--)this._active[ie].hook(le);else this._handlerFb(this._ident,"HOOK",le)},se.prototype.put=function(de,le,ie){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(de,le,ie);else this._handlerFb(this._ident,"PUT",Ae.utf32ToString(de,le,ie))},se.prototype.unhook=function(de){if(this._active.length){for(var le=this._active.length-1;le>=0&&this._active[le].unhook(de)===!1;le--);for(le--;le>=0;le--)this._active[le].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",de);this._active=he,this._ident=0},se}();fe.DcsParser=ce;var ne=function(){function se(de){this._handler=de,this._data="",this._hitLimit=!1}return se.prototype.hook=function(de){this._params=de.clone(),this._data="",this._hitLimit=!1},se.prototype.put=function(de,le,ie){this._hitLimit||(this._data+=Ae.utf32ToString(de,le,ie),this._data.length>ye.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.unhook=function(de){var le;return this._hitLimit?le=!1:de&&(le=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,le},se}();fe.DcsHandler=ne},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.removeTerminalFromCache=fe.acquireCharAtlas=void 0;var Ae=ae(26),E=ae(43),ye=[];fe.acquireCharAtlas=function(he,ce,ne,se,de){for(var le=Ae.generateConfig(se,de,he,ne),ie=0;ie=0){if(Ae.configEquals(re.config,le))return re.atlas;re.ownedBy.length===1?(re.atlas.dispose(),ye.splice(ie,1)):re.ownedBy.splice(oe,1);break}}for(ie=0;ie1)for(var te=this._getJoinedRanges(re,y,a,ie,ee),ue=0;ue1)for(te=this._getJoinedRanges(re,y,a,ie,ee),ue=0;ue=this._line.length))return a?(this._line.loadCell(ee,a),a):this._line.loadCell(ee,new Ae.CellData)},re.prototype.translateToString=function(ee,a,y){return this._line.translateToString(ee,a,y)},re}(),ie=function(){function re(ee){this._core=ee}return re.prototype.registerCsiHandler=function(ee,a){return this._core.addCsiHandler(ee,function(y){return a(y.toArray())})},re.prototype.addCsiHandler=function(ee,a){return this.registerCsiHandler(ee,a)},re.prototype.registerDcsHandler=function(ee,a){return this._core.addDcsHandler(ee,function(y,x){return a(y,x.toArray())})},re.prototype.addDcsHandler=function(ee,a){return this.registerDcsHandler(ee,a)},re.prototype.registerEscHandler=function(ee,a){return this._core.addEscHandler(ee,a)},re.prototype.addEscHandler=function(ee,a){return this.registerEscHandler(ee,a)},re.prototype.registerOscHandler=function(ee,a){return this._core.addOscHandler(ee,a)},re.prototype.addOscHandler=function(ee,a){return this.registerOscHandler(ee,a)},re}(),oe=function(){function re(ee){this._core=ee}return re.prototype.register=function(ee){this._core.unicodeService.register(ee)},Object.defineProperty(re.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(ee){this._core.unicodeService.activeVersion=ee},enumerable:!1,configurable:!0}),re}()},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(Fe,we){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Le,Oe){Le.__proto__=Oe}||function(Le,Oe){for(var Ge in Oe)Oe.hasOwnProperty(Ge)&&(Le[Ge]=Oe[Ge])})(Fe,we)},function(Fe,we){function Le(){this.constructor=Fe}Ae(Fe,we),Fe.prototype=we===null?Object.create(we):(Le.prototype=we.prototype,new Le)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.Terminal=void 0;var ye=ae(36),he=ae(37),ce=ae(38),ne=ae(12),se=ae(19),de=ae(40),le=ae(50),ie=ae(51),oe=ae(11),re=ae(7),ee=ae(18),a=ae(54),y=ae(55),x=ae(56),b=ae(57),z=ae(59),te=ae(0),ue=ae(16),me=ae(27),ve=ae(60),ge=ae(5),pe=ae(61),Se=ae(62),be=ae(63),Ee=ae(64),Ce=ae(65),Be=typeof window!="undefined"?window.document:null,Pe=function(Fe){function we(Le){Le===void 0&&(Le={});var Oe=Fe.call(this,Le)||this;return Oe.browser=oe,Oe._keyDownHandled=!1,Oe._onCursorMove=new te.EventEmitter,Oe._onKey=new te.EventEmitter,Oe._onRender=new te.EventEmitter,Oe._onSelectionChange=new te.EventEmitter,Oe._onTitleChange=new te.EventEmitter,Oe._onFocus=new te.EventEmitter,Oe._onBlur=new te.EventEmitter,Oe._onA11yCharEmitter=new te.EventEmitter,Oe._onA11yTabEmitter=new te.EventEmitter,Oe._setup(),Oe.linkifier=Oe._instantiationService.createInstance(le.Linkifier),Oe.linkifier2=Oe.register(Oe._instantiationService.createInstance(be.Linkifier2)),Oe.register(Oe._inputHandler.onRequestBell(function(){return Oe.bell()})),Oe.register(Oe._inputHandler.onRequestRefreshRows(function(Ge,Ne){return Oe.refresh(Ge,Ne)})),Oe.register(Oe._inputHandler.onRequestReset(function(){return Oe.reset()})),Oe.register(Oe._inputHandler.onRequestScroll(function(Ge,Ne){return Oe.scroll(Ge,Ne||void 0)})),Oe.register(Oe._inputHandler.onRequestWindowsOptionsReport(function(Ge){return Oe._reportWindowsOptions(Ge)})),Oe.register(te.forwardEvent(Oe._inputHandler.onCursorMove,Oe._onCursorMove)),Oe.register(te.forwardEvent(Oe._inputHandler.onTitleChange,Oe._onTitleChange)),Oe.register(te.forwardEvent(Oe._inputHandler.onA11yChar,Oe._onA11yCharEmitter)),Oe.register(te.forwardEvent(Oe._inputHandler.onA11yTab,Oe._onA11yTabEmitter)),Oe.register(Oe._bufferService.onResize(function(Ge){return Oe._afterResize(Ge.cols,Ge.rows)})),Oe}return E(we,Fe),Object.defineProperty(we.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),we.prototype.dispose=function(){var Le,Oe,Ge;this._isDisposed||(Fe.prototype.dispose.call(this),(Le=this._renderService)===null||Le===void 0||Le.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Ge=(Oe=this.element)===null||Oe===void 0?void 0:Oe.parentNode)===null||Ge===void 0||Ge.removeChild(this.element))},we.prototype._setup=function(){Fe.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(we.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),we.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},we.prototype._updateOptions=function(Le){var Oe,Ge,Ne,Ue;switch(Fe.prototype._updateOptions.call(this,Le),Le){case"fontFamily":case"fontSize":(Oe=this._renderService)===null||Oe===void 0||Oe.clear(),(Ge=this._charSizeService)===null||Ge===void 0||Ge.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(Ne=this.viewport)===null||Ne===void 0||Ne.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((Ue=this._accessibilityManager)===null||Ue===void 0||Ue.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},we.prototype._onTextAreaFocus=function(Le){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[I"),this.updateCursorStyle(Le),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},we.prototype.blur=function(){var Le;return(Le=this.textarea)===null||Le===void 0?void 0:Le.blur()},we.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},we.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Le=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Oe=this._bufferService.buffer.y*Le,Ge=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Ge+"px",this.textarea.style.top=Oe+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Le+"px",this.textarea.style.lineHeight=Le+"px",this.textarea.style.zIndex="-5"}},we.prototype._initGlobal=function(){var Le=this;this._bindKeys(),this.register(re.addDisposableDomListener(this.element,"copy",function(Ge){Le.hasSelection()&&ce.copyHandler(Ge,Le._selectionService)}));var Oe=function(Ge){return ce.handlePasteEvent(Ge,Le.textarea,Le._coreService)};this.register(re.addDisposableDomListener(this.textarea,"paste",Oe)),this.register(re.addDisposableDomListener(this.element,"paste",Oe)),oe.isFirefox?this.register(re.addDisposableDomListener(this.element,"mousedown",function(Ge){Ge.button===2&&ce.rightClickHandler(Ge,Le.textarea,Le.screenElement,Le._selectionService,Le.options.rightClickSelectsWord)})):this.register(re.addDisposableDomListener(this.element,"contextmenu",function(Ge){ce.rightClickHandler(Ge,Le.textarea,Le.screenElement,Le._selectionService,Le.options.rightClickSelectsWord)})),oe.isLinux&&this.register(re.addDisposableDomListener(this.element,"auxclick",function(Ge){Ge.button===1&&ce.moveTextAreaUnderMouseCursor(Ge,Le.textarea,Le.screenElement)}))},we.prototype._bindKeys=function(){var Le=this;this.register(re.addDisposableDomListener(this.textarea,"keyup",function(Oe){return Le._keyUp(Oe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keydown",function(Oe){return Le._keyDown(Oe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keypress",function(Oe){return Le._keyPress(Oe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"compositionstart",function(){return Le._compositionHelper.compositionstart()})),this.register(re.addDisposableDomListener(this.textarea,"compositionupdate",function(Oe){return Le._compositionHelper.compositionupdate(Oe)})),this.register(re.addDisposableDomListener(this.textarea,"compositionend",function(){return Le._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Le._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Oe){return Le._queueLinkification(Oe.start,Oe.end)}))},we.prototype.open=function(Le){var Oe=this;if(!Le)throw new Error("Terminal requires a parent element.");Be.body.contains(Le)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Le.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),Le.appendChild(this.element);var Ge=Be.createDocumentFragment();this._viewportElement=Be.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Ge.appendChild(this._viewportElement),this._viewportScrollArea=Be.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Be.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Be.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Ge.appendChild(this.screenElement),this.textarea=Be.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",ee.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(re.addDisposableDomListener(this.textarea,"focus",function(He){return Oe._onTextAreaFocus(He)})),this.register(re.addDisposableDomListener(this.textarea,"blur",function(){return Oe._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Ne=this._instantiationService.createInstance(Ee.CoreBrowserService,this.textarea);this._instantiationService.setService(ge.ICoreBrowserService,Ne),this._charSizeService=this._instantiationService.createInstance(pe.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(ge.ICharSizeService,this._charSizeService),this._compositionView=Be.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(ye.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(Ge),this._theme=this.options.theme||this._theme,this._colorManager=new me.ColorManager(Be,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(He){return Oe._colorManager.onOptionsChange(He)})),this._colorManager.setTheme(this._theme);var Ue=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ve.RenderService,Ue,this.rows,this.screenElement)),this._instantiationService.setService(ge.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(He){return Oe._onRender.fire(He)})),this.onResize(function(He){return Oe._renderService.resize(He.cols,He.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(ge.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(ge.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(he.Viewport,function(He,Qe){return Oe.scrollLines(He,Qe)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Oe.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Oe._renderService.onCursorMove(),Oe._syncTextArea()})),this.register(this.onResize(function(){return Oe._renderService.onResize(Oe.cols,Oe.rows)})),this.register(this.onBlur(function(){return Oe._renderService.onBlur()})),this.register(this.onFocus(function(){return Oe._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Oe.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ie.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(ge.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(He){return Oe.scrollLines(He.amount,He.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Oe._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(He){return Oe._renderService.onSelectionChanged(He.start,He.end,He.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(He){Oe.textarea.value=He,Oe.textarea.focus(),Oe.textarea.select()})),this.register(this.onScroll(function(){Oe.viewport.syncScrollArea(),Oe._selectionService.refresh()})),this.register(re.addDisposableDomListener(this._viewportElement,"scroll",function(){return Oe._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Oe._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(re.addDisposableDomListener(this.element,"mousedown",function(He){return Oe._selectionService.onMouseDown(He)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},we.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(de.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},we.prototype._setTheme=function(Le){var Oe,Ge,Ne;this._theme=Le,(Oe=this._colorManager)===null||Oe===void 0||Oe.setTheme(Le),(Ge=this._renderService)===null||Ge===void 0||Ge.setColors(this._colorManager.colors),(Ne=this.viewport)===null||Ne===void 0||Ne.onThemeChange(this._colorManager.colors)},we.prototype.bindMouse=function(){var Le=this,Oe=this,Ge=this.element;function Ne(_e){var Ve,tt,et=Oe._mouseService.getRawByteCoords(_e,Oe.screenElement,Oe.cols,Oe.rows);if(!et)return!1;switch(_e.overrideType||_e.type){case"mousemove":tt=32,_e.buttons===void 0?(Ve=3,_e.button!==void 0&&(Ve=_e.button<3?_e.button:3)):Ve=1&_e.buttons?0:4&_e.buttons?1:2&_e.buttons?2:3;break;case"mouseup":tt=0,Ve=_e.button<3?_e.button:3;break;case"mousedown":tt=1,Ve=_e.button<3?_e.button:3;break;case"wheel":_e.deltaY!==0&&(tt=_e.deltaY<0?0:1),Ve=4;break;default:return!1}return!(tt===void 0||Ve===void 0||Ve>4)&&Oe._coreMouseService.triggerMouseEvent({col:et.x-33,row:et.y-33,button:Ve,action:tt,ctrl:_e.ctrlKey,alt:_e.altKey,shift:_e.shiftKey})}var Ue={mouseup:null,wheel:null,mousedrag:null,mousemove:null},He=function(_e){return Ne(_e),_e.buttons||(Le._document.removeEventListener("mouseup",Ue.mouseup),Ue.mousedrag&&Le._document.removeEventListener("mousemove",Ue.mousedrag)),Le.cancel(_e)},Qe=function(_e){return Ne(_e),_e.preventDefault(),Le.cancel(_e)},We=function(_e){_e.buttons&&Ne(_e)},ze=function(_e){_e.buttons||Ne(_e)};this.register(this._coreMouseService.onProtocolChange(function(_e){_e?(Le.optionsService.options.logLevel==="debug"&&Le._logService.debug("Binding to mouse events:",Le._coreMouseService.explainEvents(_e)),Le.element.classList.add("enable-mouse-events"),Le._selectionService.disable()):(Le._logService.debug("Unbinding from mouse events."),Le.element.classList.remove("enable-mouse-events"),Le._selectionService.enable()),8&_e?Ue.mousemove||(Ge.addEventListener("mousemove",ze),Ue.mousemove=ze):(Ge.removeEventListener("mousemove",Ue.mousemove),Ue.mousemove=null),16&_e?Ue.wheel||(Ge.addEventListener("wheel",Qe,{passive:!1}),Ue.wheel=Qe):(Ge.removeEventListener("wheel",Ue.wheel),Ue.wheel=null),2&_e?Ue.mouseup||(Ue.mouseup=He):(Le._document.removeEventListener("mouseup",Ue.mouseup),Ue.mouseup=null),4&_e?Ue.mousedrag||(Ue.mousedrag=We):(Le._document.removeEventListener("mousemove",Ue.mousedrag),Ue.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(re.addDisposableDomListener(Ge,"mousedown",function(_e){if(_e.preventDefault(),Le.focus(),Le._coreMouseService.areMouseEventsActive&&!Le._selectionService.shouldForceSelection(_e))return Ne(_e),Ue.mouseup&&Le._document.addEventListener("mouseup",Ue.mouseup),Ue.mousedrag&&Le._document.addEventListener("mousemove",Ue.mousedrag),Le.cancel(_e)})),this.register(re.addDisposableDomListener(Ge,"wheel",function(_e){if(!Ue.wheel){if(!Le.buffer.hasScrollback){var Ve=Le.viewport.getLinesScrolled(_e);if(Ve===0)return;for(var tt=ne.C0.ESC+(Le._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(_e.deltaY<0?"A":"B"),et="",dt=0;dt47)},we.prototype._keyUp=function(Le){this._customKeyEventHandler&&this._customKeyEventHandler(Le)===!1||(function(Oe){return Oe.keyCode===16||Oe.keyCode===17||Oe.keyCode===18}(Le)||this.focus(),this.updateCursorStyle(Le))},we.prototype._keyPress=function(Le){var Oe;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Le)===!1)return!1;if(this.cancel(Le),Le.charCode)Oe=Le.charCode;else if(Le.which===null||Le.which===void 0)Oe=Le.keyCode;else{if(Le.which===0||Le.charCode===0)return!1;Oe=Le.which}return!(!Oe||(Le.altKey||Le.ctrlKey||Le.metaKey)&&!this._isThirdLevelShift(this.browser,Le))&&(Oe=String.fromCharCode(Oe),this._onKey.fire({key:Oe,domEvent:Le}),this._showCursor(),this._coreService.triggerDataEvent(Oe,!0),!0)},we.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},we.prototype.resize=function(Le,Oe){Le!==this.cols||Oe!==this.rows?Fe.prototype.resize.call(this,Le,Oe):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},we.prototype._afterResize=function(Le,Oe){var Ge,Ne;(Ge=this._charSizeService)===null||Ge===void 0||Ge.measure(),(Ne=this.viewport)===null||Ne===void 0||Ne.syncScrollArea(!0)},we.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var Le=1;Le=0;ee--)(ie=ne[ee])&&(re=(oe<3?ie(re):oe>3?ie(se,de,re):ie(se,de))||re);return oe>3&&re&&Object.defineProperty(se,de,re),re},E=this&&this.__param||function(ne,se){return function(de,le){se(de,le,ne)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CompositionHelper=void 0;var ye=ae(5),he=ae(1),ce=function(){function ne(se,de,le,ie,oe,re){this._textarea=se,this._compositionView=de,this._bufferService=le,this._optionsService=ie,this._charSizeService=oe,this._coreService=re,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(ne.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),ne.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},ne.prototype.compositionupdate=function(se){var de=this;this._compositionView.textContent=se.data,this.updateCompositionElements(),setTimeout(function(){de._compositionPosition.end=de._textarea.value.length},0)},ne.prototype.compositionend=function(){this._finalizeComposition(!0)},ne.prototype.keydown=function(se){if(this._isComposing||this._isSendingComposition){if(se.keyCode===229||se.keyCode===16||se.keyCode===17||se.keyCode===18)return!1;this._finalizeComposition(!1)}return se.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},ne.prototype._finalizeComposition=function(se){var de=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,se){var le={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(de._isSendingComposition){de._isSendingComposition=!1;var oe=void 0;oe=de._isComposing?de._textarea.value.substring(le.start,le.end):de._textarea.value.substring(le.start),de._coreService.triggerDataEvent(oe,!0)}},0)}else{this._isSendingComposition=!1;var ie=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(ie,!0)}},ne.prototype._handleAnyTextareaChanges=function(){var se=this,de=this._textarea.value;setTimeout(function(){if(!se._isComposing){var le=se._textarea.value.replace(de,"");le.length>0&&se._coreService.triggerDataEvent(le,!0)}},0)},ne.prototype.updateCompositionElements=function(se){var de=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var le=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ie=this._bufferService.buffer.y*le,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ie+"px",this._compositionView.style.height=le+"px",this._compositionView.style.lineHeight=le+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var re=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ie+"px",this._textarea.style.width=re.width+"px",this._textarea.style.height=re.height+"px",this._textarea.style.lineHeight=re.height+"px"}se||setTimeout(function(){return de.updateCompositionElements(!0)},0)}},ne=Ae([E(2,he.IBufferService),E(3,he.IOptionsService),E(4,ye.ICharSizeService),E(5,he.ICoreService)],ne)}();fe.CompositionHelper=ce},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ie,oe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ie,oe)},function(ie,oe){function re(){this.constructor=ie}Ae(ie,oe),ie.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),ye=this&&this.__decorate||function(ie,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ie,oe,re,ee);else for(var b=ie.length-1;b>=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,ee){oe(re,ee,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Viewport=void 0;var ce=ae(2),ne=ae(7),se=ae(5),de=ae(1),le=function(ie){function oe(re,ee,a,y,x,b,z){var te=ie.call(this)||this;return te._scrollLines=re,te._viewportElement=ee,te._scrollArea=a,te._bufferService=y,te._optionsService=x,te._charSizeService=b,te._renderService=z,te.scrollBarWidth=0,te._currentRowHeight=0,te._lastRecordedBufferLength=0,te._lastRecordedViewportHeight=0,te._lastRecordedBufferHeight=0,te._lastTouchY=0,te._lastScrollTop=0,te._wheelPartialScroll=0,te._refreshAnimationFrame=null,te._ignoreNextScrollEvent=!1,te.scrollBarWidth=te._viewportElement.offsetWidth-te._scrollArea.offsetWidth||15,te.register(ne.addDisposableDomListener(te._viewportElement,"scroll",te._onScroll.bind(te))),setTimeout(function(){return te.syncScrollArea()},0),te}return E(oe,ie),oe.prototype.onThemeChange=function(re){this._viewportElement.style.backgroundColor=re.background.css},oe.prototype._refresh=function(re){var ee=this;if(re)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return ee._innerRefresh()}))},oe.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var re=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==re&&(this._lastRecordedBufferHeight=re,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var ee=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==ee&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=ee),this._refreshAnimationFrame=null},oe.prototype.syncScrollArea=function(re){if(re===void 0&&(re=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(re);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var ee=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===ee&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(re)}else this._refresh(re)},oe.prototype._onScroll=function(re){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var ee=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(ee,!0)}},oe.prototype._bubbleScroll=function(re,ee){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(ee<0&&this._viewportElement.scrollTop!==0||ee>0&&a0?1:-1),this._wheelPartialScroll%=1):re.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(ee*=this._bufferService.rows),ee},oe.prototype._applyScrollModifier=function(re,ee){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&ee.altKey||a==="ctrl"&&ee.ctrlKey||a==="shift"&&ee.shiftKey?re*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:re*this._optionsService.options.scrollSensitivity},oe.prototype.onTouchStart=function(re){this._lastTouchY=re.touches[0].pageY},oe.prototype.onTouchMove=function(re){var ee=this._lastTouchY-re.touches[0].pageY;return this._lastTouchY=re.touches[0].pageY,ee!==0&&(this._viewportElement.scrollTop+=ee,this._bubbleScroll(re,ee))},oe=ye([he(3,de.IBufferService),he(4,de.IOptionsService),he(5,se.ICharSizeService),he(6,se.IRenderService)],oe)}(ce.Disposable);fe.Viewport=le},function(ot,fe,ae){"use strict";function Ae(ce){return ce.replace(/\r?\n/g,"\r")}function E(ce,ne){return ne?"\x1B[200~"+ce+"\x1B[201~":ce}function ye(ce,ne,se){ce=E(ce=Ae(ce),se.decPrivateModes.bracketedPasteMode),se.triggerDataEvent(ce,!0),ne.value=""}function he(ce,ne,se){var de=se.getBoundingClientRect(),le=ce.clientX-de.left-10,ie=ce.clientY-de.top-10;ne.style.width="20px",ne.style.height="20px",ne.style.left=le+"px",ne.style.top=ie+"px",ne.style.zIndex="1000",ne.focus()}Object.defineProperty(fe,"__esModule",{value:!0}),fe.rightClickHandler=fe.moveTextAreaUnderMouseCursor=fe.paste=fe.handlePasteEvent=fe.copyHandler=fe.bracketTextForPaste=fe.prepareTextForTerminal=void 0,fe.prepareTextForTerminal=Ae,fe.bracketTextForPaste=E,fe.copyHandler=function(ce,ne){ce.clipboardData&&ce.clipboardData.setData("text/plain",ne.selectionText),ce.preventDefault()},fe.handlePasteEvent=function(ce,ne,se){ce.stopPropagation(),ce.clipboardData&&ye(ce.clipboardData.getData("text/plain"),ne,se)},fe.paste=ye,fe.moveTextAreaUnderMouseCursor=he,fe.rightClickHandler=function(ce,ne,se,de,le){he(ce,ne,se),le&&!de.isClickInSelection(ce)&&de.selectWordAtCursor(ce),ne.value=de.selectionText,ne.select()}},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ie,oe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ie,oe)},function(ie,oe){function re(){this.constructor=ie}Ae(ie,oe),ie.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.EscapeSequenceParser=fe.VT500_TRANSITION_TABLE=fe.TransitionTable=void 0;var ye=ae(2),he=ae(15),ce=ae(21),ne=ae(22),se=ae(24),de=function(){function ie(oe){this.table=new Uint8Array(oe)}return ie.prototype.setDefault=function(oe,re){he.fill(this.table,oe<<4|re)},ie.prototype.add=function(oe,re,ee,a){this.table[re<<8|oe]=ee<<4|a},ie.prototype.addMany=function(oe,re,ee,a){for(var y=0;y1)throw new Error("only one byte as prefix supported");if((a=re.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(re.intermediates){if(re.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;yx||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(re.final.length!==1)throw new Error("final must be a single byte");var b=re.final.charCodeAt(0);if(ee[0]>b||b>ee[1])throw new Error("final must be in range "+ee[0]+" .. "+ee[1]);return a<<=8,a|=b},oe.prototype.identToString=function(re){for(var ee=[];re;)ee.push(String.fromCharCode(255&re)),re>>=8;return ee.reverse().join("")},oe.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},oe.prototype.setPrintHandler=function(re){this._printHandler=re},oe.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},oe.prototype.addEscHandler=function(re,ee){var a=this._identifier(re,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(ee),{dispose:function(){var x=y.indexOf(ee);x!==-1&&y.splice(x,1)}}},oe.prototype.setEscHandler=function(re,ee){this._escHandlers[this._identifier(re,[48,126])]=[ee]},oe.prototype.clearEscHandler=function(re){this._escHandlers[this._identifier(re,[48,126])]&&delete this._escHandlers[this._identifier(re,[48,126])]},oe.prototype.setEscHandlerFallback=function(re){this._escHandlerFb=re},oe.prototype.setExecuteHandler=function(re,ee){this._executeHandlers[re.charCodeAt(0)]=ee},oe.prototype.clearExecuteHandler=function(re){this._executeHandlers[re.charCodeAt(0)]&&delete this._executeHandlers[re.charCodeAt(0)]},oe.prototype.setExecuteHandlerFallback=function(re){this._executeHandlerFb=re},oe.prototype.addCsiHandler=function(re,ee){var a=this._identifier(re);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(ee),{dispose:function(){var x=y.indexOf(ee);x!==-1&&y.splice(x,1)}}},oe.prototype.setCsiHandler=function(re,ee){this._csiHandlers[this._identifier(re)]=[ee]},oe.prototype.clearCsiHandler=function(re){this._csiHandlers[this._identifier(re)]&&delete this._csiHandlers[this._identifier(re)]},oe.prototype.setCsiHandlerFallback=function(re){this._csiHandlerFb=re},oe.prototype.addDcsHandler=function(re,ee){return this._dcsParser.addHandler(this._identifier(re),ee)},oe.prototype.setDcsHandler=function(re,ee){this._dcsParser.setHandler(this._identifier(re),ee)},oe.prototype.clearDcsHandler=function(re){this._dcsParser.clearHandler(this._identifier(re))},oe.prototype.setDcsHandlerFallback=function(re){this._dcsParser.setHandlerFallback(re)},oe.prototype.addOscHandler=function(re,ee){return this._oscParser.addHandler(re,ee)},oe.prototype.setOscHandler=function(re,ee){this._oscParser.setHandler(re,ee)},oe.prototype.clearOscHandler=function(re){this._oscParser.clearHandler(re)},oe.prototype.setOscHandlerFallback=function(re){this._oscParser.setHandlerFallback(re)},oe.prototype.setErrorHandler=function(re){this._errorHandler=re},oe.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},oe.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},oe.prototype.parse=function(re,ee){for(var a=0,y=0,x=this.currentState,b=this._oscParser,z=this._dcsParser,te=this._collect,ue=this._params,me=this._transitions.table,ve=0;ve>4){case 2:for(var ge=ve+1;;++ge){if(ge>=ee||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}if(++ge>=ee||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}if(++ge>=ee||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}if(++ge>=ee||(a=re[ge])<32||a>126&&a<160){this._printHandler(re,ve,ge),ve=ge-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ve,code:a,currentState:x,collect:te,params:ue,abort:!1}).abort)return;break;case 7:for(var pe=this._csiHandlers[te<<8|a],Se=pe?pe.length-1:-1;Se>=0&&pe[Se](ue)===!1;Se--);Se<0&&this._csiHandlerFb(te<<8|a,ue),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ue.addParam(0);break;case 58:ue.addSubParam(-1);break;default:ue.addDigit(a-48)}while(++ve47&&a<60);ve--;break;case 9:te<<=8,te|=a;break;case 10:for(var be=this._escHandlers[te<<8|a],Ee=be?be.length-1:-1;Ee>=0&&be[Ee]()===!1;Ee--);Ee<0&&this._escHandlerFb(te<<8|a),this.precedingCodepoint=0;break;case 11:ue.reset(),ue.addParam(0),te=0;break;case 12:z.hook(te<<8|a,ue);break;case 13:for(var Ce=ve+1;;++Ce)if(Ce>=ee||(a=re[Ce])===24||a===26||a===27||a>127&&a<160){z.put(re,ve,Ce),ve=Ce-1;break}break;case 14:z.unhook(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var Be=ve+1;;Be++)if(Be>=ee||(a=re[Be])<32||a>127&&a<=159){b.put(re,ve,Be),ve=Be-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(ye.Disposable);fe.EscapeSequenceParser=le},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(b,z){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ue){te.__proto__=ue}||function(te,ue){for(var me in ue)ue.hasOwnProperty(me)&&(te[me]=ue[me])})(b,z)},function(b,z){function te(){this.constructor=b}Ae(b,z),b.prototype=z===null?Object.create(z):(te.prototype=z.prototype,new te)}),ye=this&&this.__decorate||function(b,z,te,ue){var me,ve=arguments.length,ge=ve<3?z:ue===null?ue=Object.getOwnPropertyDescriptor(z,te):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(b,z,te,ue);else for(var pe=b.length-1;pe>=0;pe--)(me=b[pe])&&(ge=(ve<3?me(ge):ve>3?me(z,te,ge):me(z,te))||ge);return ve>3&&ge&&Object.defineProperty(z,te,ge),ge},he=this&&this.__param||function(b,z){return function(te,ue){z(te,ue,b)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Renderer=void 0;var ce=ae(41),ne=ae(47),se=ae(48),de=ae(49),le=ae(29),ie=ae(2),oe=ae(5),re=ae(1),ee=ae(25),a=ae(0),y=1,x=function(b){function z(te,ue,me,ve,ge,pe,Se,be,Ee){var Ce=b.call(this)||this;Ce._colors=te,Ce._screenElement=ue,Ce._bufferService=ge,Ce._charSizeService=pe,Ce._optionsService=Se,Ce._id=y++,Ce._onRequestRedraw=new a.EventEmitter;var Be=Ce._optionsService.options.allowTransparency;return Ce._characterJoinerRegistry=new le.CharacterJoinerRegistry(Ce._bufferService),Ce._renderLayers=[new ce.TextRenderLayer(Ce._screenElement,0,Ce._colors,Ce._characterJoinerRegistry,Be,Ce._id,Ce._bufferService,Se),new ne.SelectionRenderLayer(Ce._screenElement,1,Ce._colors,Ce._id,Ce._bufferService,Se),new de.LinkRenderLayer(Ce._screenElement,2,Ce._colors,Ce._id,me,ve,Ce._bufferService,Se),new se.CursorRenderLayer(Ce._screenElement,3,Ce._colors,Ce._id,Ce._onRequestRedraw,Ce._bufferService,Se,be,Ee)],Ce.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},Ce._devicePixelRatio=window.devicePixelRatio,Ce._updateDimensions(),Ce.onOptionsChanged(),Ce}return E(z,b),Object.defineProperty(z.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),z.prototype.dispose=function(){for(var te=0,ue=this._renderLayers;te0&&ue===te[0][0]){ve=!0;var pe=te.shift();me=new se.JoinedCellData(this._workCell,z.translateToString(!0,pe[0],pe[1]),pe[1]-pe[0]),ge=pe[1]-1}!ve&&this._isOverlapping(me)&&gethis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[ee]=a,a},oe}(he.BaseRenderLayer);fe.TextRenderLayer=le},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.GridCache=void 0;var Ae=function(){function E(){this.cache=[]}return E.prototype.resize=function(ye,he){for(var ce=0;ce>>24,Pe=Ee.rgba>>>16&255,Fe=Ee.rgba>>>8&255,we=0;we=this.capacity)ce=this._head,this._unlinkNode(ce),delete this._map[ce.key],ce.key=ye,ce.value=he,this._map[ye]=ce;else{var ne=this._nodePool;ne.length>0?((ce=ne.pop()).key=ye,ce.value=he):ce={prev:null,next:null,key:ye,value:he},this._map[ye]=ce,this.size++}this._appendNode(ce)},E}();fe.LRUMap=Ae},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(he,ce){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,se){ne.__proto__=se}||function(ne,se){for(var de in se)se.hasOwnProperty(de)&&(ne[de]=se[de])})(he,ce)},function(he,ce){function ne(){this.constructor=he}Ae(he,ce),he.prototype=ce===null?Object.create(ce):(ne.prototype=ce.prototype,new ne)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionRenderLayer=void 0;var ye=function(he){function ce(ne,se,de,le,ie,oe){var re=he.call(this,ne,"selection",se,!0,de,le,ie,oe)||this;return re._clearState(),re}return E(ce,he),ce.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},ce.prototype.resize=function(ne){he.prototype.resize.call(this,ne),this._clearState()},ce.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},ce.prototype.onSelectionChanged=function(ne,se,de){if(this._didStateChange(ne,se,de,this._bufferService.buffer.ydisp))if(this._clearAll(),ne&&se){var le=ne[1]-this._bufferService.buffer.ydisp,ie=se[1]-this._bufferService.buffer.ydisp,oe=Math.max(le,0),re=Math.min(ie,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||re<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,de){var ee=ne[0],a=se[0]-ee,y=re-oe+1;this._fillCells(ee,oe,a,y)}else{ee=le===oe?ne[0]:0;var x=oe===re?se[0]:this._bufferService.cols;this._fillCells(ee,oe,x-ee,1);var b=Math.max(re-oe-1,0);if(this._fillCells(0,oe+1,this._bufferService.cols,b),oe!==re){var z=ie===re?se[0]:this._bufferService.cols;this._fillCells(0,re,z,1)}}this._state.start=[ne[0],ne[1]],this._state.end=[se[0],se[1]],this._state.columnSelectMode=de,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},ce.prototype._didStateChange=function(ne,se,de,le){return!this._areCoordinatesEqual(ne,this._state.start)||!this._areCoordinatesEqual(se,this._state.end)||de!==this._state.columnSelectMode||le!==this._state.ydisp},ce.prototype._areCoordinatesEqual=function(ne,se){return!(!ne||!se)&&ne[0]===se[0]&&ne[1]===se[1]},ce}(ae(13).BaseRenderLayer);fe.SelectionRenderLayer=ye},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(se,de){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ie){le.__proto__=ie}||function(le,ie){for(var oe in ie)ie.hasOwnProperty(oe)&&(le[oe]=ie[oe])})(se,de)},function(se,de){function le(){this.constructor=se}Ae(se,de),se.prototype=de===null?Object.create(de):(le.prototype=de.prototype,new le)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CursorRenderLayer=void 0;var ye=ae(13),he=ae(4),ce=function(se){function de(le,ie,oe,re,ee,a,y,x,b){var z=se.call(this,le,"cursor",ie,!0,oe,re,a,y)||this;return z._onRequestRedraw=ee,z._coreService=x,z._coreBrowserService=b,z._cell=new he.CellData,z._state={x:0,y:0,isFocused:!1,style:"",width:0},z._cursorRenderers={bar:z._renderBarCursor.bind(z),block:z._renderBlockCursor.bind(z),underline:z._renderUnderlineCursor.bind(z)},z}return E(de,se),de.prototype.resize=function(le){se.prototype.resize.call(this,le),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},de.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},de.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},de.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},de.prototype.onOptionsChanged=function(){var le,ie=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new ne(this._coreBrowserService.isFocused,function(){ie._render(!0)})):((le=this._cursorBlinkStateManager)===null||le===void 0||le.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},de.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},de.prototype.onGridChanged=function(le,ie){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},de.prototype._render=function(le){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ie=this._bufferService.buffer.ybase+this._bufferService.buffer.y,oe=ie-this._bufferService.buffer.ydisp;if(oe<0||oe>=this._bufferService.rows)this._clearCursor();else{var re=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ie).loadCell(re,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var ee=this._optionsService.options.cursorStyle;return ee&&ee!=="block"?this._cursorRenderers[ee](re,oe,this._cell):this._renderBlurCursor(re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=ee,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===re&&this._state.y===oe&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},de.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},de.prototype._renderBarCursor=function(le,ie,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(le,ie,this._optionsService.options.cursorWidth),this._ctx.restore()},de.prototype._renderBlockCursor=function(le,ie,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(le,ie,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,le,ie),this._ctx.restore()},de.prototype._renderUnderlineCursor=function(le,ie,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(le,ie),this._ctx.restore()},de.prototype._renderBlurCursor=function(le,ie,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(le,ie,oe.getWidth(),1),this._ctx.restore()},de}(ye.BaseRenderLayer);fe.CursorRenderLayer=ce;var ne=function(){function se(de,le){this._renderCallback=le,this.isCursorVisible=!0,de&&this._restartInterval()}return Object.defineProperty(se.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),se.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},se.prototype.restartBlinkAnimation=function(){var de=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){de._renderCallback(),de._animationFrame=void 0})))},se.prototype._restartInterval=function(de){var le=this;de===void 0&&(de=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(le._animationTimeRestarted){var ie=600-(Date.now()-le._animationTimeRestarted);if(le._animationTimeRestarted=void 0,ie>0)return void le._restartInterval(ie)}le.isCursorVisible=!1,le._animationFrame=window.requestAnimationFrame(function(){le._renderCallback(),le._animationFrame=void 0}),le._blinkInterval=window.setInterval(function(){if(le._animationTimeRestarted){var oe=600-(Date.now()-le._animationTimeRestarted);return le._animationTimeRestarted=void 0,void le._restartInterval(oe)}le.isCursorVisible=!le.isCursorVisible,le._animationFrame=window.requestAnimationFrame(function(){le._renderCallback(),le._animationFrame=void 0})},600)},de)},se.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},se.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},se}()},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(se,de){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ie){le.__proto__=ie}||function(le,ie){for(var oe in ie)ie.hasOwnProperty(oe)&&(le[oe]=ie[oe])})(se,de)},function(se,de){function le(){this.constructor=se}Ae(se,de),se.prototype=de===null?Object.create(de):(le.prototype=de.prototype,new le)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.LinkRenderLayer=void 0;var ye=ae(13),he=ae(9),ce=ae(26),ne=function(se){function de(le,ie,oe,re,ee,a,y,x){var b=se.call(this,le,"link",ie,!0,oe,re,y,x)||this;return ee.onShowLinkUnderline(function(z){return b._onShowLinkUnderline(z)}),ee.onHideLinkUnderline(function(z){return b._onHideLinkUnderline(z)}),a.onShowLinkUnderline(function(z){return b._onShowLinkUnderline(z)}),a.onHideLinkUnderline(function(z){return b._onHideLinkUnderline(z)}),b}return E(de,se),de.prototype.resize=function(le){se.prototype.resize.call(this,le),this._state=void 0},de.prototype.reset=function(){this._clearCurrentLink()},de.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var le=this._state.y2-this._state.y1-1;le>0&&this._clearCells(0,this._state.y1+1,this._state.cols,le),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},de.prototype._onShowLinkUnderline=function(le){if(le.fg===he.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:le.fg&&ce.is256Color(le.fg)?this._ctx.fillStyle=this._colors.ansi[le.fg].css:this._ctx.fillStyle=this._colors.foreground.css,le.y1===le.y2)this._fillBottomLineAtCells(le.x1,le.y1,le.x2-le.x1);else{this._fillBottomLineAtCells(le.x1,le.y1,le.cols-le.x1);for(var ie=le.y1+1;ie=0;a--)(oe=se[a])&&(ee=(re<3?oe(ee):re>3?oe(de,le,ee):oe(de,le))||ee);return re>3&&ee&&Object.defineProperty(de,le,ee),ee},E=this&&this.__param||function(se,de){return function(le,ie){de(le,ie,se)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseZone=fe.Linkifier=void 0;var ye=ae(0),he=ae(1),ce=function(){function se(de,le,ie){this._bufferService=de,this._logService=le,this._unicodeService=ie,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new ye.EventEmitter,this._onHideLinkUnderline=new ye.EventEmitter,this._onLinkTooltip=new ye.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(se.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),se.prototype.attachToDom=function(de,le){this._element=de,this._mouseZoneManager=le},se.prototype.linkifyRows=function(de,le){var ie=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=de,this._rowsToLinkify.end=le):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,de),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,le)),this._mouseZoneManager.clearAll(de,le),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ie._linkifyRows()},se._timeBeforeLatency))},se.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var de=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var le=de.ydisp+this._rowsToLinkify.start;if(!(le>=de.lines.length)){for(var ie=de.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),re=this._bufferService.buffer.iterator(!1,le,ie,oe,oe);re.hasNext();)for(var ee=re.next(),a=0;a=0;le--)if(de.priority<=this._linkMatchers[le].priority)return void this._linkMatchers.splice(le+1,0,de);this._linkMatchers.splice(0,0,de)}else this._linkMatchers.push(de)},se.prototype.deregisterLinkMatcher=function(de){for(var le=0;le>9&511:void 0;ie.validationCallback?ie.validationCallback(b,function(ve){re._rowsTimeoutId||ve&&re._addLink(z[1],z[0]-re._bufferService.buffer.ydisp,b,ie,me)}):x._addLink(z[1],z[0]-x._bufferService.buffer.ydisp,b,ie,me)},x=this;(oe=ee.exec(le))!==null&&y()!=="break";);},se.prototype._addLink=function(de,le,ie,oe,re){var ee=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ie),y=de%this._bufferService.cols,x=le+Math.floor(de/this._bufferService.cols),b=(y+a)%this._bufferService.cols,z=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,z--),this._mouseZoneManager.add(new ne(y+1,x+1,b+1,z+1,function(te){if(oe.handler)return oe.handler(te,ie);var ue=window.open();ue?(ue.opener=null,ue.location.href=ie):console.warn("Opening link blocked as opener could not be cleared")},function(){ee._onShowLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,z,re)),ee._element.classList.add("xterm-cursor-pointer")},function(te){ee._onLinkTooltip.fire(ee._createLinkHoverEvent(y,x,b,z,re)),oe.hoverTooltipCallback&&oe.hoverTooltipCallback(te,ie,{start:{x:y,y:x},end:{x:b,y:z}})},function(){ee._onHideLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,z,re)),ee._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(te){return!oe.willLinkActivate||oe.willLinkActivate(te,ie)}))}},se.prototype._createLinkHoverEvent=function(de,le,ie,oe,re){return{x1:de,y1:le,x2:ie,y2:oe,cols:this._bufferService.cols,fg:re}},se._timeBeforeLatency=200,se=Ae([E(0,he.IBufferService),E(1,he.ILogService),E(2,he.IUnicodeService)],se)}();fe.Linkifier=ce;var ne=function(se,de,le,ie,oe,re,ee,a,y){this.x1=se,this.y1=de,this.x2=le,this.y2=ie,this.clickCallback=oe,this.hoverCallback=re,this.tooltipCallback=ee,this.leaveCallback=a,this.willLinkActivate=y};fe.MouseZone=ne},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(b,z){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ue){te.__proto__=ue}||function(te,ue){for(var me in ue)ue.hasOwnProperty(me)&&(te[me]=ue[me])})(b,z)},function(b,z){function te(){this.constructor=b}Ae(b,z),b.prototype=z===null?Object.create(z):(te.prototype=z.prototype,new te)}),ye=this&&this.__decorate||function(b,z,te,ue){var me,ve=arguments.length,ge=ve<3?z:ue===null?ue=Object.getOwnPropertyDescriptor(z,te):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(b,z,te,ue);else for(var pe=b.length-1;pe>=0;pe--)(me=b[pe])&&(ge=(ve<3?me(ge):ve>3?me(z,te,ge):me(z,te))||ge);return ve>3&&ge&&Object.defineProperty(z,te,ge),ge},he=this&&this.__param||function(b,z){return function(te,ue){z(te,ue,b)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionService=void 0;var ce=ae(11),ne=ae(52),se=ae(4),de=ae(0),le=ae(5),ie=ae(1),oe=ae(30),re=ae(53),ee=ae(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function z(te,ue,me,ve,ge,pe,Se){var be=b.call(this)||this;return be._element=te,be._screenElement=ue,be._bufferService=me,be._coreService=ve,be._mouseService=ge,be._optionsService=pe,be._renderService=Se,be._dragScrollAmount=0,be._enabled=!0,be._workCell=new se.CellData,be._mouseDownTimeStamp=0,be._onLinuxMouseSelection=be.register(new de.EventEmitter),be._onRedrawRequest=be.register(new de.EventEmitter),be._onSelectionChange=be.register(new de.EventEmitter),be._onRequestScrollLines=be.register(new de.EventEmitter),be._mouseMoveListener=function(Ee){return be._onMouseMove(Ee)},be._mouseUpListener=function(Ee){return be._onMouseUp(Ee)},be._coreService.onUserInput(function(){be.hasSelection&&be.clearSelection()}),be._trimListener=be._bufferService.buffer.lines.onTrim(function(Ee){return be._onTrim(Ee)}),be.register(be._bufferService.buffers.onBufferActivate(function(Ee){return be._onBufferActivate(Ee)})),be.enable(),be._model=new ne.SelectionModel(be._bufferService),be._activeSelectionMode=0,be}return E(z,b),Object.defineProperty(z.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),z.prototype.dispose=function(){this._removeMouseDownListeners()},z.prototype.reset=function(){this.clearSelection()},z.prototype.disable=function(){this.clearSelection(),this._enabled=!1},z.prototype.enable=function(){this._enabled=!0},Object.defineProperty(z.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"hasSelection",{get:function(){var te=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;return!(!te||!ue)&&(te[0]!==ue[0]||te[1]!==ue[1])},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;if(!te||!ue)return"";var me=this._bufferService.buffer,ve=[];if(this._activeSelectionMode===3){if(te[0]===ue[0])return"";for(var ge=te[1];ge<=ue[1];ge++){var pe=me.translateBufferLineToString(ge,!0,te[0],ue[0]);ve.push(pe)}}else{var Se=te[1]===ue[1]?ue[0]:void 0;for(ve.push(me.translateBufferLineToString(te[1],!0,te[0],Se)),ge=te[1]+1;ge<=ue[1]-1;ge++){var be=me.lines.get(ge);pe=me.translateBufferLineToString(ge,!0),be&&be.isWrapped?ve[ve.length-1]+=pe:ve.push(pe)}te[1]!==ue[1]&&(be=me.lines.get(ue[1]),pe=me.translateBufferLineToString(ue[1],!0,0,ue[0]),be&&be.isWrapped?ve[ve.length-1]+=pe:ve.push(pe))}return ve.map(function(Ee){return Ee.replace(y," ")}).join(ce.isWindows?`\r +`:` +`)},enumerable:!1,configurable:!0}),z.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},z.prototype.refresh=function(te){var ue=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ue._refresh()})),ce.isLinux&&te&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},z.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},z.prototype.isClickInSelection=function(te){var ue=this._getMouseBufferCoords(te),me=this._model.finalSelectionStart,ve=this._model.finalSelectionEnd;return!!(me&&ve&&ue)&&this._areCoordsInSelection(ue,me,ve)},z.prototype._areCoordsInSelection=function(te,ue,me){return te[1]>ue[1]&&te[1]=ue[0]&&te[0]=ue[0]},z.prototype.selectWordAtCursor=function(te){var ue=this._getMouseBufferCoords(te);ue&&(this._selectWordAt(ue,!1),this._model.selectionEnd=void 0,this.refresh(!0))},z.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},z.prototype.selectLines=function(te,ue){this._model.clearSelection(),te=Math.max(te,0),ue=Math.min(ue,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,ue],this.refresh(),this._onSelectionChange.fire()},z.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},z.prototype._getMouseBufferCoords=function(te){var ue=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ue)return ue[0]--,ue[1]--,ue[1]+=this._bufferService.buffer.ydisp,ue},z.prototype._getMouseEventScrollAmount=function(te){var ue=oe.getCoordsRelativeToElement(te,this._screenElement)[1],me=this._renderService.dimensions.canvasHeight;return ue>=0&&ue<=me?0:(ue>me&&(ue-=me),ue=Math.min(Math.max(ue,-50),50),(ue/=50)/Math.abs(ue)+Math.round(14*ue))},z.prototype.shouldForceSelection=function(te){return ce.isMac?te.altKey&&this._optionsService.options.macOptionClickForcesSelection:te.shiftKey},z.prototype.onMouseDown=function(te){if(this._mouseDownTimeStamp=te.timeStamp,(te.button!==2||!this.hasSelection)&&te.button===0){if(!this._enabled){if(!this.shouldForceSelection(te))return;te.stopPropagation()}te.preventDefault(),this._dragScrollAmount=0,this._enabled&&te.shiftKey?this._onIncrementalClick(te):te.detail===1?this._onSingleClick(te):te.detail===2?this._onDoubleClick(te):te.detail===3&&this._onTripleClick(te),this._addMouseDownListeners(),this.refresh(!0)}},z.prototype._addMouseDownListeners=function(){var te=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return te._dragScroll()},50)},z.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},z.prototype._onIncrementalClick=function(te){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(te))},z.prototype._onSingleClick=function(te){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(te)?3:0,this._model.selectionStart=this._getMouseBufferCoords(te),this._model.selectionStart){this._model.selectionEnd=void 0;var ue=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ue&&ue.length!==this._model.selectionStart[0]&&ue.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},z.prototype._onDoubleClick=function(te){var ue=this._getMouseBufferCoords(te);ue&&(this._activeSelectionMode=1,this._selectWordAt(ue,!0))},z.prototype._onTripleClick=function(te){var ue=this._getMouseBufferCoords(te);ue&&(this._activeSelectionMode=2,this._selectLineAt(ue[1]))},z.prototype.shouldColumnSelect=function(te){return te.altKey&&!(ce.isMac&&this._optionsService.options.macOptionClickForcesSelection)},z.prototype._onMouseMove=function(te){if(te.stopImmediatePropagation(),this._model.selectionStart){var ue=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(te),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var me=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(te.ydisp+this._bufferService.rows,te.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=te.ydisp),this.refresh()}},z.prototype._onMouseUp=function(te){var ue=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ue<500&&te.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var me=this._mouseService.getCoords(te,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(me&&me[0]!==void 0&&me[1]!==void 0){var ve=re.moveToCellSequence(me[0]-1,me[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ve,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},z.prototype._onBufferActivate=function(te){var ue=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(me){return ue._onTrim(me)})},z.prototype._convertViewportColToCharacterIndex=function(te,ue){for(var me=ue[0],ve=0;ue[0]>=ve;ve++){var ge=te.loadCell(ve,this._workCell).getChars().length;this._workCell.getWidth()===0?me--:ge>1&&ue[0]!==ve&&(me+=ge-1)}return me},z.prototype.setSelection=function(te,ue,me){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,ue],this._model.selectionStartLength=me,this.refresh()},z.prototype._getWordAt=function(te,ue,me,ve){if(me===void 0&&(me=!0),ve===void 0&&(ve=!0),!(te[0]>=this._bufferService.cols)){var ge=this._bufferService.buffer,pe=ge.lines.get(te[1]);if(pe){var Se=ge.translateBufferLineToString(te[1],!1),be=this._convertViewportColToCharacterIndex(pe,te),Ee=be,Ce=te[0]-be,Be=0,Pe=0,Fe=0,we=0;if(Se.charAt(be)===" "){for(;be>0&&Se.charAt(be-1)===" ";)be--;for(;Ee1&&(we+=Ge-1,Ee+=Ge-1);Le>0&&be>0&&!this._isCharWordSeparator(pe.loadCell(Le-1,this._workCell));){pe.loadCell(Le-1,this._workCell);var Ne=this._workCell.getChars().length;this._workCell.getWidth()===0?(Be++,Le--):Ne>1&&(Fe+=Ne-1,be-=Ne-1),be--,Le--}for(;Oe1&&(we+=Ue-1,Ee+=Ue-1),Ee++,Oe++}}Ee++;var He=be+Ce-Be+Fe,Qe=Math.min(this._bufferService.cols,Ee-be+Be+Pe-Fe-we);if(ue||Se.slice(be,Ee).trim()!==""){if(me&&He===0&&pe.getCodePoint(0)!==32){var We=ge.lines.get(te[1]-1);if(We&&pe.isWrapped&&We.getCodePoint(this._bufferService.cols-1)!==32){var ze=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if(ze){var _e=this._bufferService.cols-ze.start;He-=_e,Qe+=_e}}}if(ve&&He+Qe===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var Ve=ge.lines.get(te[1]+1);if(Ve&&Ve.isWrapped&&Ve.getCodePoint(0)!==32){var tt=this._getWordAt([0,te[1]+1],!1,!1,!0);tt&&(Qe+=tt.length)}}return{start:He,length:Qe}}}}},z.prototype._selectWordAt=function(te,ue){var me=this._getWordAt(te,ue);if(me){for(;me.start<0;)me.start+=this._bufferService.cols,te[1]--;this._model.selectionStart=[me.start,te[1]],this._model.selectionStartLength=me.length}},z.prototype._selectToWordAt=function(te){var ue=this._getWordAt(te,!0);if(ue){for(var me=te[1];ue.start<0;)ue.start+=this._bufferService.cols,me--;if(!this._model.areSelectionValuesReversed())for(;ue.start+ue.length>this._bufferService.cols;)ue.length-=this._bufferService.cols,me++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ue.start:ue.start+ue.length,me]}},z.prototype._isCharWordSeparator=function(te){return te.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(te.getChars())>=0},z.prototype._selectLineAt=function(te){var ue=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,ue.first],this._model.selectionEnd=[this._bufferService.cols,ue.last],this._model.selectionStartLength=0},z=ye([he(2,ie.IBufferService),he(3,ie.ICoreService),he(4,le.IMouseService),he(5,ie.IOptionsService),he(6,le.IRenderService)],z)}(ee.Disposable);fe.SelectionService=x},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionModel=void 0;var Ae=function(){function E(ye){this._bufferService=ye,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var ye=this.selectionStart[0]+this.selectionStartLength;return ye>this._bufferService.cols?[ye%this._bufferService.cols,this.selectionStart[1]+Math.floor(ye/this._bufferService.cols)]:[ye,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var ye=this.selectionStart,he=this.selectionEnd;return!(!ye||!he)&&(ye[1]>he[1]||ye[1]===he[1]&&ye[0]>he[0])},E.prototype.onTrim=function(ye){return this.selectionStart&&(this.selectionStart[1]-=ye),this.selectionEnd&&(this.selectionEnd[1]-=ye),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();fe.SelectionModel=Ae},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.moveToCellSequence=void 0;var Ae=ae(12);function E(de,le,ie,oe){var re=de-ye(ie,de),ee=le-ye(ie,le);return se(Math.abs(re-ee)-function(a,y,x){for(var b=0,z=a-ye(x,a),te=y-ye(x,y),ue=0;ue=0&&lele?"A":"B"}function ce(de,le,ie,oe,re,ee){for(var a=de,y=le,x="";a!==ie||y!==oe;)a+=re?1:-1,re&&a>ee.cols-1?(x+=ee.buffer.translateBufferLineToString(y,!1,de,a),a=0,de=0,y++):!re&&a<0&&(x+=ee.buffer.translateBufferLineToString(y,!1,0,de+1),de=a=ee.cols-1,y--);return x+ee.buffer.translateBufferLineToString(y,!1,de,a)}function ne(de,le){var ie=le?"O":"[";return Ae.C0.ESC+ie+de}function se(de,le){de=Math.floor(de);for(var ie="",oe=0;oe0?te-ye(ue,te):b;var ge=te,pe=function(Se,be,Ee,Ce,Be,Pe){var Fe;return Fe=E(Ee,Ce,Be,Pe).length>0?Ce-ye(Be,Ce):be,Se=Ee&&Fede?"D":"C",se(Math.abs(ee-de),ne(re,oe));re=a>le?"D":"C";var y=Math.abs(a-le);return se(function(x,b){return b.cols-x}(a>le?de:ee,ie)+(y-1)*ie.cols+1+((a>le?ee:de)-1),ne(re,oe))}},function(ot,fe,ae){"use strict";var Ae=this&&this.__decorate||function(ce,ne,se,de){var le,ie=arguments.length,oe=ie<3?ne:de===null?de=Object.getOwnPropertyDescriptor(ne,se):de;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(ce,ne,se,de);else for(var re=ce.length-1;re>=0;re--)(le=ce[re])&&(oe=(ie<3?le(oe):ie>3?le(ne,se,oe):le(ne,se))||oe);return ie>3&&oe&&Object.defineProperty(ne,se,oe),oe},E=this&&this.__param||function(ce,ne){return function(se,de){ne(se,de,ce)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.SoundService=void 0;var ye=ae(1),he=function(){function ce(ne){this._optionsService=ne}return Object.defineProperty(ce,"audioContext",{get:function(){if(!ce._audioContext){var ne=window.AudioContext||window.webkitAudioContext;if(!ne)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;ce._audioContext=new ne}return ce._audioContext},enumerable:!1,configurable:!0}),ce.prototype.playBellSound=function(){var ne=ce.audioContext;if(ne){var se=ne.createBufferSource();ne.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(de){se.buffer=de,se.connect(ne.destination),se.start(0)})}},ce.prototype._base64ToArrayBuffer=function(ne){for(var se=window.atob(ne),de=se.length,le=new Uint8Array(de),ie=0;ie=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,ee){oe(re,ee,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseZoneManager=void 0;var ce=ae(2),ne=ae(7),se=ae(5),de=ae(1),le=function(ie){function oe(re,ee,a,y,x,b){var z=ie.call(this)||this;return z._element=re,z._screenElement=ee,z._bufferService=a,z._mouseService=y,z._selectionService=x,z._optionsService=b,z._zones=[],z._areZonesActive=!1,z._lastHoverCoords=[void 0,void 0],z._initialSelectionLength=0,z.register(ne.addDisposableDomListener(z._element,"mousedown",function(te){return z._onMouseDown(te)})),z._mouseMoveListener=function(te){return z._onMouseMove(te)},z._mouseLeaveListener=function(te){return z._onMouseLeave(te)},z._clickListener=function(te){return z._onClick(te)},z}return E(oe,ie),oe.prototype.dispose=function(){ie.prototype.dispose.call(this),this._deactivate()},oe.prototype.add=function(re){this._zones.push(re),this._zones.length===1&&this._activate()},oe.prototype.clearAll=function(re,ee){if(this._zones.length!==0){re&&ee||(re=0,ee=this._bufferService.rows-1);for(var a=0;are&&y.y1<=ee+1||y.y2>re&&y.y2<=ee+1||y.y1ee+1)&&(this._currentZone&&this._currentZone===y&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(a--,1))}this._zones.length===0&&this._deactivate()}},oe.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},oe.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},oe.prototype._onMouseMove=function(re){this._lastHoverCoords[0]===re.pageX&&this._lastHoverCoords[1]===re.pageY||(this._onHover(re),this._lastHoverCoords=[re.pageX,re.pageY])},oe.prototype._onHover=function(re){var ee=this,a=this._findZoneEventAt(re);a!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),a&&(this._currentZone=a,a.hoverCallback&&a.hoverCallback(re),this._tooltipTimeout=window.setTimeout(function(){return ee._onTooltip(re)},this._optionsService.options.linkTooltipHoverDuration)))},oe.prototype._onTooltip=function(re){this._tooltipTimeout=void 0;var ee=this._findZoneEventAt(re);ee&&ee.tooltipCallback&&ee.tooltipCallback(re)},oe.prototype._onMouseDown=function(re){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var ee=this._findZoneEventAt(re);ee!=null&&ee.willLinkActivate(re)&&(re.preventDefault(),re.stopImmediatePropagation())}},oe.prototype._onMouseLeave=function(re){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},oe.prototype._onClick=function(re){var ee=this._findZoneEventAt(re),a=this._getSelectionLength();ee&&a===this._initialSelectionLength&&(ee.clickCallback(re),re.preventDefault(),re.stopImmediatePropagation())},oe.prototype._getSelectionLength=function(){var re=this._selectionService.selectionText;return re?re.length:0},oe.prototype._findZoneEventAt=function(re){var ee=this._mouseService.getCoords(re,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(ee)for(var a=ee[0],y=ee[1],x=0;x=b.x1&&a=b.x1||y===b.y2&&ab.y1&&yee;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},re.prototype._createAccessibilityTreeNode=function(){var ee=document.createElement("div");return ee.setAttribute("role","listitem"),ee.tabIndex=-1,this._refreshRowDimensions(ee),ee},re.prototype._onTab=function(ee){for(var a=0;a0?this._charsToConsume.shift()!==ee&&(this._charsToAnnounce+=ee):this._charsToAnnounce+=ee,ee===` +`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=ye.tooMuchOutput)),he.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},re.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,he.isMac&&le.removeElementFromParent(this._liveRegion)},re.prototype._onKey=function(ee){this._clearLiveRegion(),this._charsToConsume.push(ee)},re.prototype._refreshRows=function(ee,a){this._renderRowsDebouncer.refresh(ee,a,this._terminal.rows)},re.prototype._renderRows=function(ee,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=ee;b<=a;b++){var z=y.translateBufferLineToString(y.ydisp+b,!0),te=(y.ydisp+b+1).toString(),ue=this._rowElements[b];ue&&(z.length===0?ue.innerHTML=" ":ue.textContent=z,ue.setAttribute("aria-posinset",te),ue.setAttribute("aria-setsize",x))}this._announceCharacters()},re.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var ee=0;ee=0;ve--)(te=y[ve])&&(me=(ue<3?te(me):ue>3?te(x,b,me):te(x,b))||me);return ue>3&&me&&Object.defineProperty(x,b,me),me},he=this&&this.__param||function(y,x){return function(b,z){x(b,z,y)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.DomRenderer=void 0;var ce=ae(58),ne=ae(9),se=ae(2),de=ae(5),le=ae(1),ie=ae(0),oe=ae(10),re=ae(17),ee=1,a=function(y){function x(b,z,te,ue,me,ve,ge,pe,Se){var be=y.call(this)||this;return be._colors=b,be._element=z,be._screenElement=te,be._viewportElement=ue,be._linkifier=me,be._linkifier2=ve,be._charSizeService=ge,be._optionsService=pe,be._bufferService=Se,be._terminalClass=ee++,be._rowElements=[],be._rowContainer=document.createElement("div"),be._rowContainer.classList.add("xterm-rows"),be._rowContainer.style.lineHeight="normal",be._rowContainer.setAttribute("aria-hidden","true"),be._refreshRowElements(be._bufferService.cols,be._bufferService.rows),be._selectionContainer=document.createElement("div"),be._selectionContainer.classList.add("xterm-selection"),be._selectionContainer.setAttribute("aria-hidden","true"),be.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},be._updateDimensions(),be._injectCss(),be._rowFactory=new ce.DomRendererRowFactory(document,be._optionsService,be._colors),be._element.classList.add("xterm-dom-renderer-owner-"+be._terminalClass),be._screenElement.appendChild(be._rowContainer),be._screenElement.appendChild(be._selectionContainer),be._linkifier.onShowLinkUnderline(function(Ee){return be._onLinkHover(Ee)}),be._linkifier.onHideLinkUnderline(function(Ee){return be._onLinkLeave(Ee)}),be._linkifier2.onShowLinkUnderline(function(Ee){return be._onLinkHover(Ee)}),be._linkifier2.onHideLinkUnderline(function(Ee){return be._onLinkLeave(Ee)}),be}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new ie.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),re.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),y.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,z=this._rowElements;bz;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,z){this._refreshRowElements(b,z),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(b,z,te){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&z){var ue=b[1]-this._bufferService.buffer.ydisp,me=z[1]-this._bufferService.buffer.ydisp,ve=Math.max(ue,0),ge=Math.min(me,this._bufferService.rows-1);if(!(ve>=this._bufferService.rows||ge<0)){var pe=document.createDocumentFragment();if(te)pe.appendChild(this._createSelectionElement(ve,b[0],z[0],ge-ve+1));else{var Se=ue===ve?b[0]:0,be=ve===ge?z[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ve,Se,be));var Ee=ge-ve-1;if(pe.appendChild(this._createSelectionElement(ve+1,0,this._bufferService.cols,Ee)),ve!==ge){var Ce=me===ge?z[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ge,0,Ce))}}this._selectionContainer.appendChild(pe)}}},x.prototype._createSelectionElement=function(b,z,te,ue){ue===void 0&&(ue=1);var me=document.createElement("div");return me.style.height=ue*this.dimensions.actualCellHeight+"px",me.style.top=b*this.dimensions.actualCellHeight+"px",me.style.left=z*this.dimensions.actualCellWidth+"px",me.style.width=this.dimensions.actualCellWidth*(te-z)+"px",me},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,z=this._rowElements;b=me&&(b=0,te++)}},x=ye([he(6,de.ICharSizeService),he(7,le.IOptionsService),he(8,le.IBufferService)],x)}(se.Disposable);fe.DomRenderer=a},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DomRendererRowFactory=fe.CURSOR_STYLE_UNDERLINE_CLASS=fe.CURSOR_STYLE_BAR_CLASS=fe.CURSOR_STYLE_BLOCK_CLASS=fe.CURSOR_BLINK_CLASS=fe.CURSOR_CLASS=fe.UNDERLINE_CLASS=fe.ITALIC_CLASS=fe.DIM_CLASS=fe.BOLD_CLASS=void 0;var Ae=ae(9),E=ae(3),ye=ae(4),he=ae(10);fe.BOLD_CLASS="xterm-bold",fe.DIM_CLASS="xterm-dim",fe.ITALIC_CLASS="xterm-italic",fe.UNDERLINE_CLASS="xterm-underline",fe.CURSOR_CLASS="xterm-cursor",fe.CURSOR_BLINK_CLASS="xterm-cursor-blink",fe.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",fe.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",fe.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var ce=function(){function se(de,le,ie){this._document=de,this._optionsService=le,this._colors=ie,this._workCell=new ye.CellData}return se.prototype.setColors=function(de){this._colors=de},se.prototype.createRow=function(de,le,ie,oe,re,ee,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(de.length,a)-1;b>=0;b--)if(de.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||le&&b===oe){x=b+1;break}for(b=0;b1&&(te.style.width=ee*z+"px"),le&&b===oe)switch(te.classList.add(fe.CURSOR_CLASS),re&&te.classList.add(fe.CURSOR_BLINK_CLASS),ie){case"bar":te.classList.add(fe.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(fe.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(fe.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(fe.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(fe.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(fe.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(fe.UNDERLINE_CLASS),this._workCell.isInvisible()?te.textContent=E.WHITESPACE_CELL_CHAR:te.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ue=this._workCell.getFgColor(),me=this._workCell.getFgColorMode(),ve=this._workCell.getBgColor(),ge=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var Se=ue;ue=ve,ve=Se;var be=me;me=ge,ge=be}switch(me){case 16777216:case 33554432:this._workCell.isBold()&&ue<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ue+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[ue])||te.classList.add("xterm-fg-"+ue);break;case 50331648:var Ee=he.rgba.toColor(ue>>16&255,ue>>8&255,255&ue);this._applyMinimumContrast(te,this._colors.background,Ee)||this._addStyle(te,"color:#"+ne(ue.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||pe&&te.classList.add("xterm-fg-"+Ae.INVERTED_DEFAULT_COLOR)}switch(ge){case 16777216:case 33554432:te.classList.add("xterm-bg-"+ve);break;case 50331648:this._addStyle(te,"background-color:#"+ne(ve.toString(16),"0",6));break;case 0:default:pe&&te.classList.add("xterm-bg-"+Ae.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},se.prototype._applyMinimumContrast=function(de,le,ie){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=he.color.ensureContrastRatio(le,ie,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(de,"color:"+oe.css),!0)},se.prototype._addStyle=function(de,le){de.setAttribute("style",""+(de.getAttribute("style")||"")+le+";")},se}();function ne(se,de,le){for(;se.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};fe.evaluateKeyboardEvent=function(ye,he,ce,ne){var se={type:0,cancel:!1,key:void 0},de=(ye.shiftKey?1:0)|(ye.altKey?2:0)|(ye.ctrlKey?4:0)|(ye.metaKey?8:0);switch(ye.keyCode){case 0:ye.key==="UIKeyInputUpArrow"?se.key=he?Ae.C0.ESC+"OA":Ae.C0.ESC+"[A":ye.key==="UIKeyInputLeftArrow"?se.key=he?Ae.C0.ESC+"OD":Ae.C0.ESC+"[D":ye.key==="UIKeyInputRightArrow"?se.key=he?Ae.C0.ESC+"OC":Ae.C0.ESC+"[C":ye.key==="UIKeyInputDownArrow"&&(se.key=he?Ae.C0.ESC+"OB":Ae.C0.ESC+"[B");break;case 8:if(ye.shiftKey){se.key=Ae.C0.BS;break}if(ye.altKey){se.key=Ae.C0.ESC+Ae.C0.DEL;break}se.key=Ae.C0.DEL;break;case 9:if(ye.shiftKey){se.key=Ae.C0.ESC+"[Z";break}se.key=Ae.C0.HT,se.cancel=!0;break;case 13:se.key=ye.altKey?Ae.C0.ESC+Ae.C0.CR:Ae.C0.CR,se.cancel=!0;break;case 27:se.key=Ae.C0.ESC,ye.altKey&&(se.key=Ae.C0.ESC+Ae.C0.ESC),se.cancel=!0;break;case 37:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"D",se.key===Ae.C0.ESC+"[1;3D"&&(se.key=Ae.C0.ESC+(ce?"b":"[1;5D"))):se.key=he?Ae.C0.ESC+"OD":Ae.C0.ESC+"[D";break;case 39:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"C",se.key===Ae.C0.ESC+"[1;3C"&&(se.key=Ae.C0.ESC+(ce?"f":"[1;5C"))):se.key=he?Ae.C0.ESC+"OC":Ae.C0.ESC+"[C";break;case 38:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"A",ce||se.key!==Ae.C0.ESC+"[1;3A"||(se.key=Ae.C0.ESC+"[1;5A")):se.key=he?Ae.C0.ESC+"OA":Ae.C0.ESC+"[A";break;case 40:if(ye.metaKey)break;de?(se.key=Ae.C0.ESC+"[1;"+(de+1)+"B",ce||se.key!==Ae.C0.ESC+"[1;3B"||(se.key=Ae.C0.ESC+"[1;5B")):se.key=he?Ae.C0.ESC+"OB":Ae.C0.ESC+"[B";break;case 45:ye.shiftKey||ye.ctrlKey||(se.key=Ae.C0.ESC+"[2~");break;case 46:se.key=de?Ae.C0.ESC+"[3;"+(de+1)+"~":Ae.C0.ESC+"[3~";break;case 36:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"H":he?Ae.C0.ESC+"OH":Ae.C0.ESC+"[H";break;case 35:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"F":he?Ae.C0.ESC+"OF":Ae.C0.ESC+"[F";break;case 33:ye.shiftKey?se.type=2:se.key=Ae.C0.ESC+"[5~";break;case 34:ye.shiftKey?se.type=3:se.key=Ae.C0.ESC+"[6~";break;case 112:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"P":Ae.C0.ESC+"OP";break;case 113:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"Q":Ae.C0.ESC+"OQ";break;case 114:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"R":Ae.C0.ESC+"OR";break;case 115:se.key=de?Ae.C0.ESC+"[1;"+(de+1)+"S":Ae.C0.ESC+"OS";break;case 116:se.key=de?Ae.C0.ESC+"[15;"+(de+1)+"~":Ae.C0.ESC+"[15~";break;case 117:se.key=de?Ae.C0.ESC+"[17;"+(de+1)+"~":Ae.C0.ESC+"[17~";break;case 118:se.key=de?Ae.C0.ESC+"[18;"+(de+1)+"~":Ae.C0.ESC+"[18~";break;case 119:se.key=de?Ae.C0.ESC+"[19;"+(de+1)+"~":Ae.C0.ESC+"[19~";break;case 120:se.key=de?Ae.C0.ESC+"[20;"+(de+1)+"~":Ae.C0.ESC+"[20~";break;case 121:se.key=de?Ae.C0.ESC+"[21;"+(de+1)+"~":Ae.C0.ESC+"[21~";break;case 122:se.key=de?Ae.C0.ESC+"[23;"+(de+1)+"~":Ae.C0.ESC+"[23~";break;case 123:se.key=de?Ae.C0.ESC+"[24;"+(de+1)+"~":Ae.C0.ESC+"[24~";break;default:if(!ye.ctrlKey||ye.shiftKey||ye.altKey||ye.metaKey)if(ce&&!ne||!ye.altKey||ye.metaKey)ce&&!ye.altKey&&!ye.ctrlKey&&ye.metaKey?ye.keyCode===65&&(se.type=1):ye.key&&!ye.ctrlKey&&!ye.altKey&&!ye.metaKey&&ye.keyCode>=48&&ye.key.length===1?se.key=ye.key:ye.key&&ye.ctrlKey&&ye.key==="_"&&(se.key=Ae.C0.US);else{var le=E[ye.keyCode],ie=le&&le[ye.shiftKey?1:0];if(ie)se.key=Ae.C0.ESC+ie;else if(ye.keyCode>=65&&ye.keyCode<=90){var oe=ye.ctrlKey?ye.keyCode-64:ye.keyCode+32;se.key=Ae.C0.ESC+String.fromCharCode(oe)}}else ye.keyCode>=65&&ye.keyCode<=90?se.key=String.fromCharCode(ye.keyCode-64):ye.keyCode===32?se.key=Ae.C0.NUL:ye.keyCode>=51&&ye.keyCode<=55?se.key=String.fromCharCode(ye.keyCode-51+27):ye.keyCode===56?se.key=Ae.C0.DEL:ye.keyCode===219?se.key=Ae.C0.ESC:ye.keyCode===220?se.key=Ae.C0.FS:ye.keyCode===221&&(se.key=Ae.C0.GS)}return se}},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ee,a){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(ee,a)},function(ee,a){function y(){this.constructor=ee}Ae(ee,a),ee.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),ye=this&&this.__decorate||function(ee,a,y,x){var b,z=arguments.length,te=z<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ee,a,y,x);else for(var ue=ee.length-1;ue>=0;ue--)(b=ee[ue])&&(te=(z<3?b(te):z>3?b(a,y,te):b(a,y))||te);return z>3&&te&&Object.defineProperty(a,y,te),te},he=this&&this.__param||function(ee,a){return function(y,x){a(y,x,ee)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.RenderService=void 0;var ce=ae(31),ne=ae(0),se=ae(2),de=ae(32),le=ae(7),ie=ae(1),oe=ae(5),re=function(ee){function a(y,x,b,z,te,ue){var me=ee.call(this)||this;if(me._renderer=y,me._rowCount=x,me._isPaused=!1,me._needsFullRefresh=!1,me._isNextRenderRedrawOnly=!0,me._needsSelectionRefresh=!1,me._canvasWidth=0,me._canvasHeight=0,me._selectionState={start:void 0,end:void 0,columnSelectMode:!1},me._onDimensionsChange=new ne.EventEmitter,me._onRender=new ne.EventEmitter,me._onRefreshRequest=new ne.EventEmitter,me.register({dispose:function(){return me._renderer.dispose()}}),me._renderDebouncer=new ce.RenderDebouncer(function(ge,pe){return me._renderRows(ge,pe)}),me.register(me._renderDebouncer),me._screenDprMonitor=new de.ScreenDprMonitor,me._screenDprMonitor.setListener(function(){return me.onDevicePixelRatioChange()}),me.register(me._screenDprMonitor),me.register(ue.onResize(function(ge){return me._fullRefresh()})),me.register(z.onOptionChange(function(){return me._renderer.onOptionsChanged()})),me.register(te.onCharSizeChange(function(){return me.onCharSizeChanged()})),me._renderer.onRequestRedraw(function(ge){return me.refreshRows(ge.start,ge.end,!0)}),me.register(le.addDisposableDomListener(window,"resize",function(){return me.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ve=new IntersectionObserver(function(ge){return me._onIntersectionChange(ge[ge.length-1])},{threshold:0});ve.observe(b),me.register({dispose:function(){return ve.disconnect()}})}return me}return E(a,ee),Object.defineProperty(a.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),a.prototype._onIntersectionChange=function(y){this._isPaused=y.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},a.prototype.refreshRows=function(y,x,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(y,x,this._rowCount))},a.prototype._renderRows=function(y,x){this._renderer.renderRows(y,x),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:y,end:x}),this._isNextRenderRedrawOnly=!0},a.prototype.resize=function(y,x){this._rowCount=x,this._fireOnCanvasResize()},a.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},a.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},a.prototype.dispose=function(){ee.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=ye([he(3,ie.IOptionsService),he(4,oe.ICharSizeService),he(5,ie.IBufferService)],a)}(se.Disposable);fe.RenderService=re},function(ot,fe,ae){"use strict";var Ae=this&&this.__decorate||function(se,de,le,ie){var oe,re=arguments.length,ee=re<3?de:ie===null?ie=Object.getOwnPropertyDescriptor(de,le):ie;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(se,de,le,ie);else for(var a=se.length-1;a>=0;a--)(oe=se[a])&&(ee=(re<3?oe(ee):re>3?oe(de,le,ee):oe(de,le))||ee);return re>3&&ee&&Object.defineProperty(de,le,ee),ee},E=this&&this.__param||function(se,de){return function(le,ie){de(le,ie,se)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CharSizeService=void 0;var ye=ae(1),he=ae(0),ce=function(){function se(de,le,ie){this._optionsService=ie,this.width=0,this.height=0,this._onCharSizeChange=new he.EventEmitter,this._measureStrategy=new ne(de,le,this._optionsService)}return Object.defineProperty(se.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),se.prototype.measure=function(){var de=this._measureStrategy.measure();de.width===this.width&&de.height===this.height||(this.width=de.width,this.height=de.height,this._onCharSizeChange.fire())},se=Ae([E(2,ye.IOptionsService)],se)}();fe.CharSizeService=ce;var ne=function(){function se(de,le,ie){this._document=de,this._parentElement=le,this._optionsService=ie,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return se.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var de=this._measureElement.getBoundingClientRect();return de.width!==0&&de.height!==0&&(this._result.width=de.width,this._result.height=Math.ceil(de.height)),this._result},se}()},function(ot,fe,ae){"use strict";var Ae=this&&this.__decorate||function(ne,se,de,le){var ie,oe=arguments.length,re=oe<3?se:le===null?le=Object.getOwnPropertyDescriptor(se,de):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ne,se,de,le);else for(var ee=ne.length-1;ee>=0;ee--)(ie=ne[ee])&&(re=(oe<3?ie(re):oe>3?ie(se,de,re):ie(se,de))||re);return oe>3&&re&&Object.defineProperty(se,de,re),re},E=this&&this.__param||function(ne,se){return function(de,le){se(de,le,ne)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseService=void 0;var ye=ae(5),he=ae(30),ce=function(){function ne(se,de){this._renderService=se,this._charSizeService=de}return ne.prototype.getCoords=function(se,de,le,ie,oe){return he.getCoords(se,de,le,ie,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},ne.prototype.getRawByteCoords=function(se,de,le,ie){var oe=this.getCoords(se,de,le,ie);return he.getRawByteCoords(oe)},ne=Ae([E(0,ye.IRenderService),E(1,ye.ICharSizeService)],ne)}();fe.MouseService=ce},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ie,oe){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ie,oe)},function(ie,oe){function re(){this.constructor=ie}Ae(ie,oe),ie.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),ye=this&&this.__decorate||function(ie,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ie,oe,re,ee);else for(var b=ie.length-1;b>=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,ee){oe(re,ee,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Linkifier2=void 0;var ce=ae(1),ne=ae(0),se=ae(2),de=ae(7),le=function(ie){function oe(re){var ee=ie.call(this)||this;return ee._bufferService=re,ee._linkProviders=[],ee._linkCacheDisposables=[],ee._isMouseOut=!0,ee._activeLine=-1,ee._onShowLinkUnderline=ee.register(new ne.EventEmitter),ee._onHideLinkUnderline=ee.register(new ne.EventEmitter),ee.register(se.getDisposeArrayDisposable(ee._linkCacheDisposables)),ee}return E(oe,ie),Object.defineProperty(oe.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),oe.prototype.registerLinkProvider=function(re){var ee=this;return this._linkProviders.push(re),{dispose:function(){var a=ee._linkProviders.indexOf(re);a!==-1&&ee._linkProviders.splice(a,1)}}},oe.prototype.attachToDom=function(re,ee,a){var y=this;this._element=re,this._mouseService=ee,this._renderService=a,this.register(de.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(de.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(de.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},oe.prototype._onMouseMove=function(re){if(this._lastMouseEvent=re,this._element&&this._mouseService){var ee=this._positionFromMouseEvent(re,this._element,this._mouseService);if(ee){this._isMouseOut=!1;for(var a=re.composedPath(),y=0;yre?this._bufferService.cols:z.link.range.end.x,me=te;me<=ue;me++){if(a.has(me)){x.splice(b--,1);break}a.add(me)}}},oe.prototype._checkLinkProviderResult=function(re,ee,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(re),z=!1,te=0;te=re&&this._currentLink.link.range.end.y<=ee)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,se.disposeArray(this._linkCacheDisposables))},oe.prototype._handleNewLink=function(re){var ee=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(re.link,a)&&(this._currentLink=re,this._currentLink.state={decorations:{underline:re.link.decorations===void 0||re.link.decorations.underline,pointerCursor:re.link.decorations===void 0||re.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,re.link,this._lastMouseEvent),re.link.decorations={},Object.defineProperties(re.link.decorations,{pointerCursor:{get:function(){var y,x;return(x=(y=ee._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.pointerCursor},set:function(y){var x,b;!((x=ee._currentLink)===null||x===void 0)&&x.state&&ee._currentLink.state.decorations.pointerCursor!==y&&(ee._currentLink.state.decorations.pointerCursor=y,ee._currentLink.state.isHovered&&((b=ee._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=ee._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,z;!((x=ee._currentLink)===null||x===void 0)&&x.state&&((z=(b=ee._currentLink)===null||b===void 0?void 0:b.state)===null||z===void 0?void 0:z.decorations.underline)!==y&&(ee._currentLink.state.decorations.underline=y,ee._currentLink.state.isHovered&&ee._fireUnderlineEvent(re.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+ee._bufferService.buffer.ydisp;ee._clearCurrentLink(x,y.end+1+ee._bufferService.buffer.ydisp)})))}},oe.prototype._linkHover=function(re,ee,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(ee,!0),this._currentLink.state.decorations.pointerCursor&&re.classList.add("xterm-cursor-pointer")),ee.hover&&ee.hover(a,ee.text)},oe.prototype._fireUnderlineEvent=function(re,ee){var a=re.range,y=this._bufferService.buffer.ydisp,x=this._createLinkUnderlineEvent(a.start.x-1,a.start.y-y-1,a.end.x,a.end.y-y-1,void 0);(ee?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},oe.prototype._linkLeave=function(re,ee,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(ee,!1),this._currentLink.state.decorations.pointerCursor&&re.classList.remove("xterm-cursor-pointer")),ee.leave&&ee.leave(a,ee.text)},oe.prototype._linkAtPosition=function(re,ee){var a=re.range.start.y===re.range.end.y,y=re.range.start.yee.y;return(a&&re.range.start.x<=ee.x&&re.range.end.x>=ee.x||y&&re.range.end.x>=ee.x||x&&re.range.start.x<=ee.x||y&&x)&&re.range.start.y<=ee.y&&re.range.end.y>=ee.y},oe.prototype._positionFromMouseEvent=function(re,ee,a){var y=a.getCoords(re,ee,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},oe.prototype._createLinkUnderlineEvent=function(re,ee,a,y,x){return{x1:re,y1:ee,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},oe=ye([he(0,ce.IBufferService)],oe)}(se.Disposable);fe.Linkifier2=le},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreBrowserService=void 0;var Ae=function(){function E(ye){this._textarea=ye}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();fe.CoreBrowserService=Ae},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(te,ue){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,ve){me.__proto__=ve}||function(me,ve){for(var ge in ve)ve.hasOwnProperty(ge)&&(me[ge]=ve[ge])})(te,ue)},function(te,ue){function me(){this.constructor=te}Ae(te,ue),te.prototype=ue===null?Object.create(ue):(me.prototype=ue.prototype,new me)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreTerminal=void 0;var ye=ae(2),he=ae(1),ce=ae(66),ne=ae(67),se=ae(68),de=ae(74),le=ae(75),ie=ae(0),oe=ae(76),re=ae(77),ee=ae(78),a=ae(80),y=ae(81),x=ae(19),b=ae(82),z=function(te){function ue(me){var ve=te.call(this)||this;return ve._onBinary=new ie.EventEmitter,ve._onData=new ie.EventEmitter,ve._onLineFeed=new ie.EventEmitter,ve._onResize=new ie.EventEmitter,ve._onScroll=new ie.EventEmitter,ve._instantiationService=new ce.InstantiationService,ve.optionsService=new de.OptionsService(me),ve._instantiationService.setService(he.IOptionsService,ve.optionsService),ve._bufferService=ve.register(ve._instantiationService.createInstance(se.BufferService)),ve._instantiationService.setService(he.IBufferService,ve._bufferService),ve._logService=ve._instantiationService.createInstance(ne.LogService),ve._instantiationService.setService(he.ILogService,ve._logService),ve._coreService=ve.register(ve._instantiationService.createInstance(le.CoreService,function(){return ve.scrollToBottom()})),ve._instantiationService.setService(he.ICoreService,ve._coreService),ve._coreMouseService=ve._instantiationService.createInstance(oe.CoreMouseService),ve._instantiationService.setService(he.ICoreMouseService,ve._coreMouseService),ve._dirtyRowService=ve._instantiationService.createInstance(re.DirtyRowService),ve._instantiationService.setService(he.IDirtyRowService,ve._dirtyRowService),ve.unicodeService=ve._instantiationService.createInstance(ee.UnicodeService),ve._instantiationService.setService(he.IUnicodeService,ve.unicodeService),ve._charsetService=ve._instantiationService.createInstance(a.CharsetService),ve._instantiationService.setService(he.ICharsetService,ve._charsetService),ve._inputHandler=new x.InputHandler(ve._bufferService,ve._charsetService,ve._coreService,ve._dirtyRowService,ve._logService,ve.optionsService,ve._coreMouseService,ve.unicodeService),ve.register(ie.forwardEvent(ve._inputHandler.onLineFeed,ve._onLineFeed)),ve.register(ve._inputHandler),ve.register(ie.forwardEvent(ve._bufferService.onResize,ve._onResize)),ve.register(ie.forwardEvent(ve._coreService.onData,ve._onData)),ve.register(ie.forwardEvent(ve._coreService.onBinary,ve._onBinary)),ve.register(ve.optionsService.onOptionChange(function(ge){return ve._updateOptions(ge)})),ve._writeBuffer=new b.WriteBuffer(function(ge){return ve._inputHandler.parse(ge)}),ve}return E(ue,te),Object.defineProperty(ue.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ue.prototype.dispose=function(){var me;this._isDisposed||(te.prototype.dispose.call(this),(me=this._windowsMode)===null||me===void 0||me.dispose(),this._windowsMode=void 0)},ue.prototype.write=function(me,ve){this._writeBuffer.write(me,ve)},ue.prototype.writeSync=function(me){this._writeBuffer.writeSync(me)},ue.prototype.resize=function(me,ve){isNaN(me)||isNaN(ve)||(me=Math.max(me,se.MINIMUM_COLS),ve=Math.max(ve,se.MINIMUM_ROWS),this._bufferService.resize(me,ve))},ue.prototype.scroll=function(me,ve){ve===void 0&&(ve=!1);var ge,pe=this._bufferService.buffer;(ge=this._cachedBlankLine)&&ge.length===this.cols&&ge.getFg(0)===me.fg&&ge.getBg(0)===me.bg||(ge=pe.getBlankLine(me,ve),this._cachedBlankLine=ge),ge.isWrapped=ve;var Se=pe.ybase+pe.scrollTop,be=pe.ybase+pe.scrollBottom;if(pe.scrollTop===0){var Ee=pe.lines.isFull;be===pe.lines.length-1?Ee?pe.lines.recycle().copyFrom(ge):pe.lines.push(ge.clone()):pe.lines.splice(be+1,0,ge.clone()),Ee?this._bufferService.isUserScrolling&&(pe.ydisp=Math.max(pe.ydisp-1,0)):(pe.ybase++,this._bufferService.isUserScrolling||pe.ydisp++)}else{var Ce=be-Se+1;pe.lines.shiftElements(Se+1,Ce-1,-1),pe.lines.set(be,ge.clone())}this._bufferService.isUserScrolling||(pe.ydisp=pe.ybase),this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom),this._onScroll.fire(pe.ydisp)},ue.prototype.scrollLines=function(me,ve){var ge=this._bufferService.buffer;if(me<0){if(ge.ydisp===0)return;this._bufferService.isUserScrolling=!0}else me+ge.ydisp>=ge.ybase&&(this._bufferService.isUserScrolling=!1);var pe=ge.ydisp;ge.ydisp=Math.max(Math.min(ge.ydisp+me,ge.ybase),0),pe!==ge.ydisp&&(ve||this._onScroll.fire(ge.ydisp))},ue.prototype.scrollPages=function(me){this.scrollLines(me*(this.rows-1))},ue.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ue.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ue.prototype.scrollToLine=function(me){var ve=me-this._bufferService.buffer.ydisp;ve!==0&&this.scrollLines(ve)},ue.prototype.addEscHandler=function(me,ve){return this._inputHandler.addEscHandler(me,ve)},ue.prototype.addDcsHandler=function(me,ve){return this._inputHandler.addDcsHandler(me,ve)},ue.prototype.addCsiHandler=function(me,ve){return this._inputHandler.addCsiHandler(me,ve)},ue.prototype.addOscHandler=function(me,ve){return this._inputHandler.addOscHandler(me,ve)},ue.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ue.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ue.prototype._updateOptions=function(me){var ve;switch(me){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((ve=this._windowsMode)===null||ve===void 0||ve.dispose(),this._windowsMode=void 0)}},ue.prototype._enableWindowsMode=function(){var me=this;if(!this._windowsMode){var ve=[];ve.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),ve.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(me._bufferService),!1})),this._windowsMode={dispose:function(){for(var ge=0,pe=ve;ge0?ie[0].index:de.length;if(de.length!==x)throw new Error("[createInstance] First service dependency of "+se.name+" at position "+(x+1)+" conflicts with "+de.length+" static arguments");return new(se.bind.apply(se,Ae([void 0],Ae(de,oe))))},ne}();fe.InstantiationService=ce},function(ot,fe,ae){"use strict";var Ae=this&&this.__decorate||function(de,le,ie,oe){var re,ee=arguments.length,a=ee<3?le:oe===null?oe=Object.getOwnPropertyDescriptor(le,ie):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(de,le,ie,oe);else for(var y=de.length-1;y>=0;y--)(re=de[y])&&(a=(ee<3?re(a):ee>3?re(le,ie,a):re(le,ie))||a);return ee>3&&a&&Object.defineProperty(le,ie,a),a},E=this&&this.__param||function(de,le){return function(ie,oe){le(ie,oe,de)}},ye=this&&this.__spreadArrays||function(){for(var de=0,le=0,ie=arguments.length;le=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},he=this&&this.__param||function(ie,oe){return function(re,ee){oe(re,ee,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferService=fe.MINIMUM_ROWS=fe.MINIMUM_COLS=void 0;var ce=ae(1),ne=ae(69),se=ae(0),de=ae(2);fe.MINIMUM_COLS=2,fe.MINIMUM_ROWS=1;var le=function(ie){function oe(re){var ee=ie.call(this)||this;return ee._optionsService=re,ee.isUserScrolling=!1,ee._onResize=new se.EventEmitter,ee.cols=Math.max(re.options.cols,fe.MINIMUM_COLS),ee.rows=Math.max(re.options.rows,fe.MINIMUM_ROWS),ee.buffers=new ne.BufferSet(re,ee),ee}return E(oe,ie),Object.defineProperty(oe.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),oe.prototype.dispose=function(){ie.prototype.dispose.call(this),this.buffers.dispose()},oe.prototype.resize=function(re,ee){this.cols=re,this.rows=ee,this.buffers.resize(re,ee),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:re,rows:ee})},oe.prototype.reset=function(){this.buffers.dispose(),this.buffers=new ne.BufferSet(this._optionsService,this),this.isUserScrolling=!1},oe=ye([he(0,ce.IOptionsService)],oe)}(de.Disposable);fe.BufferService=le},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ne,se){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,le){de.__proto__=le}||function(de,le){for(var ie in le)le.hasOwnProperty(ie)&&(de[ie]=le[ie])})(ne,se)},function(ne,se){function de(){this.constructor=ne}Ae(ne,se),ne.prototype=se===null?Object.create(se):(de.prototype=se.prototype,new de)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferSet=void 0;var ye=ae(70),he=ae(0),ce=function(ne){function se(de,le){var ie=ne.call(this)||this;return ie._onBufferActivate=ie.register(new he.EventEmitter),ie._normal=new ye.Buffer(!0,de,le),ie._normal.fillViewportRows(),ie._alt=new ye.Buffer(!1,de,le),ie._activeBuffer=ie._normal,ie.setupTabStops(),ie}return E(se,ne),Object.defineProperty(se.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),se.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},se.prototype.activateAltBuffer=function(de){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(de),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},se.prototype.resize=function(de,le){this._normal.resize(de,le),this._alt.resize(de,le)},se.prototype.setupTabStops=function(de){this._normal.setupTabStops(de),this._alt.setupTabStops(de)},se}(ae(2).Disposable);fe.BufferSet=ce},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferStringIterator=fe.Buffer=fe.MAX_BUFFER_SIZE=void 0;var Ae=ae(71),E=ae(16),ye=ae(4),he=ae(3),ce=ae(72),ne=ae(73),se=ae(20),de=ae(6);fe.MAX_BUFFER_SIZE=4294967295;var le=function(){function oe(re,ee,a){this._hasScrollback=re,this._optionsService=ee,this._bufferService=a,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=se.DEFAULT_CHARSET,this.markers=[],this._nullCell=ye.CellData.fromCharData([0,he.NULL_CELL_CHAR,he.NULL_CELL_WIDTH,he.NULL_CELL_CODE]),this._whitespaceCell=ye.CellData.fromCharData([0,he.WHITESPACE_CELL_CHAR,he.WHITESPACE_CELL_WIDTH,he.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new Ae.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(re){return re?(this._nullCell.fg=re.fg,this._nullCell.bg=re.bg,this._nullCell.extended=re.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new de.ExtendedAttrs),this._nullCell},oe.prototype.getWhitespaceCell=function(re){return re?(this._whitespaceCell.fg=re.fg,this._whitespaceCell.bg=re.bg,this._whitespaceCell.extended=re.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new de.ExtendedAttrs),this._whitespaceCell},oe.prototype.getBlankLine=function(re,ee){return new E.BufferLine(this._bufferService.cols,this.getNullCell(re),ee)},Object.defineProperty(oe.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isCursorInViewport",{get:function(){var re=this.ybase+this.y-this.ydisp;return re>=0&&refe.MAX_BUFFER_SIZE?fe.MAX_BUFFER_SIZE:ee},oe.prototype.fillViewportRows=function(re){if(this.lines.length===0){re===void 0&&(re=E.DEFAULT_ATTR_DATA);for(var ee=this._rows;ee--;)this.lines.push(this.getBlankLine(re))}},oe.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new Ae.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},oe.prototype.resize=function(re,ee){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(ee);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(re,a)));else for(z=this._rows;z>ee;z--)this.lines.length>ee+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y0&&(this.lines.trimStart(te),this.ybase=Math.max(this.ybase-te,0),this.ydisp=Math.max(this.ydisp-te,0),this.savedY=Math.max(this.savedY-te,0)),this.lines.maxLength=y}this.x=Math.min(this.x,re-1),this.y=Math.min(this.y,ee-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,re-1),this.scrollTop=0}if(this.scrollBottom=ee-1,this._isReflowEnabled&&(this._reflow(re,ee),this._cols>re))for(x=0;xthis._cols?this._reflowLarger(re,ee):this._reflowSmaller(re,ee))},oe.prototype._reflowLarger=function(re,ee){var a=ce.reflowLargerGetLinesToRemove(this.lines,this._cols,re,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=ce.reflowLargerCreateNewLayout(this.lines,a);ce.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(re,ee,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(re,ee,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;b--){var z=this.lines.get(b);if(!(!z||!z.isWrapped&&z.getTrimmedLength()<=re)){for(var te=[z];z.isWrapped&&b>0;)z=this.lines.get(--b),te.unshift(z);var ue=this.ybase+this.y;if(!(ue>=b&&ue0&&(y.push({start:b+te.length+x,newLines:Se}),x+=Se.length),te.push.apply(te,Se);var Ce=ve.length-1,Be=ve[Ce];Be===0&&(Be=ve[--Ce]);for(var Pe=te.length-ge-1,Fe=me;Pe>=0;){var we=Math.min(Fe,Be);if(te[Ce].copyCellsFrom(te[Pe],Fe-we,Be-we,we,!0),(Be-=we)===0&&(Be=ve[--Ce]),(Fe-=we)===0){Pe--;var Le=Math.max(Pe,0);Fe=ce.getWrappedLineTrimmedLength(te,Le,this._cols)}}for(be=0;be0;)this.ybase===0?this.y0){var Ge=[],Ne=[];for(be=0;be=0;be--)if(We&&We.start>He+ze){for(var _e=We.newLines.length-1;_e>=0;_e--)this.lines.set(be--,We.newLines[_e]);be++,Ge.push({index:He+1,amount:We.newLines.length}),ze+=We.newLines.length,We=y[++Qe]}else this.lines.set(be,Ne[He--]);var Ve=0;for(be=Ge.length-1;be>=0;be--)Ge[be].index+=Ve,this.lines.onInsertEmitter.fire(Ge[be]),Ve+=Ge[be].amount;var tt=Math.max(0,Ue+x-this.lines.maxLength);tt>0&&this.lines.onTrimEmitter.fire(tt)}},oe.prototype.stringIndexToBufferIndex=function(re,ee,a){for(a===void 0&&(a=!1);ee;){var y=this.lines.get(re);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b0&&this.lines.get(ee).isWrapped;)ee--;for(;a+10;);return re>=this._cols?this._cols-1:re<0?0:re},oe.prototype.nextStop=function(re){for(re==null&&(re=this.x);!this.tabs[++re]&&re=this._cols?this._cols-1:re<0?0:re},oe.prototype.addMarker=function(re){var ee=this,a=new ne.Marker(re);return this.markers.push(a),a.register(this.lines.onTrim(function(y){a.line-=y,a.line<0&&a.dispose()})),a.register(this.lines.onInsert(function(y){a.line>=y.index&&(a.line+=y.amount)})),a.register(this.lines.onDelete(function(y){a.line>=y.index&&a.liney.index&&(a.line-=y.amount)})),a.register(a.onDispose(function(){return ee._removeMarker(a)})),a},oe.prototype._removeMarker=function(re){this.markers.splice(this.markers.indexOf(re),1)},oe.prototype.iterator=function(re,ee,a,y,x){return new ie(this,re,ee,a,y,x)},oe}();fe.Buffer=le;var ie=function(){function oe(re,ee,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=re.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=re,this._trimRight=ee,this._startIndex=a,this._endIndex=y,this._startOverscan=x,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return oe.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(re.last=this._endIndex+this._endOverscan),re.first=Math.max(re.first,0),re.last=Math.min(re.last,this._buffer.lines.length);for(var ee="",a=re.first;a<=re.last;++a)ee+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=re.last+1,{range:re,content:ee}},oe}();fe.BufferStringIterator=ie},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CircularList=void 0;var Ae=ae(0),E=function(){function ye(he){this._maxLength=he,this.onDeleteEmitter=new Ae.EventEmitter,this.onInsertEmitter=new Ae.EventEmitter,this.onTrimEmitter=new Ae.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(ye.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ye.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ye.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ye.prototype,"maxLength",{get:function(){return this._maxLength},set:function(he){if(this._maxLength!==he){for(var ce=new Array(he),ne=0;nethis._length)for(var ce=this._length;ce=he;de--)this._array[this._getCyclicIndex(de+ne.length)]=this._array[this._getCyclicIndex(de)];for(de=0;dethis._maxLength){var le=this._length+ne.length-this._maxLength;this._startIndex+=le,this._length=this._maxLength,this.onTrimEmitter.fire(le)}else this._length+=ne.length},ye.prototype.trimStart=function(he){he>this._length&&(he=this._length),this._startIndex+=he,this._length-=he,this.onTrimEmitter.fire(he)},ye.prototype.shiftElements=function(he,ce,ne){if(!(ce<=0)){if(he<0||he>=this._length)throw new Error("start argument out of range");if(he+ne<0)throw new Error("Cannot shift elements in list beyond index 0");if(ne>0){for(var se=ce-1;se>=0;se--)this.set(he+se+ne,this.get(he+se));var de=he+ce+ne-this._length;if(de>0)for(this._length+=de;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(se=0;se=de&&ce0&&(me>re||oe[me].getTrimmedLength()===0);me--)ue++;ue>0&&(se.push(de+oe.length-ue),se.push(ue)),de+=oe.length-1}}}return se},fe.reflowLargerCreateNewLayout=function(E,ye){for(var he=[],ce=0,ne=ye[ce],se=0,de=0;deie&&(se-=ie,de++);var oe=E[de].getWidth(se-1)===2;oe&&se--;var re=oe?he-1:he;ce.push(re),le+=re}return ce},fe.getWrappedLineTrimmedLength=Ae},function(ot,fe,ae){"use strict";var Ae,E=this&&this.__extends||(Ae=function(ce,ne){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,de){se.__proto__=de}||function(se,de){for(var le in de)de.hasOwnProperty(le)&&(se[le]=de[le])})(ce,ne)},function(ce,ne){function se(){this.constructor=ce}Ae(ce,ne),ce.prototype=ne===null?Object.create(ne):(se.prototype=ne.prototype,new se)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.Marker=void 0;var ye=ae(0),he=function(ce){function ne(se){var de=ce.call(this)||this;return de.line=se,de._id=ne._nextId++,de.isDisposed=!1,de._onDispose=new ye.EventEmitter,de}return E(ne,ce),Object.defineProperty(ne.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),ne.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},ne._nextId=1,ne}(ae(2).Disposable);fe.Marker=he},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.OptionsService=fe.DEFAULT_OPTIONS=fe.DEFAULT_BELL_SOUND=void 0;var Ae=ae(0),E=ae(11),ye=ae(33);fe.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",fe.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:fe.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var he=["cols","rows"],ce=function(){function ne(se){this._onOptionChange=new Ae.EventEmitter,this.options=ye.clone(fe.DEFAULT_OPTIONS);for(var de=0,le=Object.keys(se);de=0;te--)(x=re[te])&&(z=(b<3?x(z):b>3?x(ee,a,z):x(ee,a))||z);return b>3&&z&&Object.defineProperty(ee,a,z),z},he=this&&this.__param||function(re,ee){return function(a,y){ee(a,y,re)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreService=void 0;var ce=ae(1),ne=ae(0),se=ae(33),de=ae(2),le=Object.freeze({insertMode:!1}),ie=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),oe=function(re){function ee(a,y,x,b){var z=re.call(this)||this;return z._bufferService=y,z._logService=x,z._optionsService=b,z.isCursorInitialized=!1,z.isCursorHidden=!1,z._onData=z.register(new ne.EventEmitter),z._onUserInput=z.register(new ne.EventEmitter),z._onBinary=z.register(new ne.EventEmitter),z._scrollToBottom=a,z.register({dispose:function(){return z._scrollToBottom=void 0}}),z.modes=se.clone(le),z.decPrivateModes=se.clone(ie),z}return E(ee,re),Object.defineProperty(ee.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),ee.prototype.reset=function(){this.modes=se.clone(le),this.decPrivateModes=se.clone(ie)},ee.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},ee.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},ee=ye([he(1,ce.IBufferService),he(2,ce.ILogService),he(3,ce.IOptionsService)],ee)}(de.Disposable);fe.CoreService=oe},function(ot,fe,ae){"use strict";var Ae=this&&this.__decorate||function(ie,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ie,oe,re,ee);else for(var b=ie.length-1;b>=0;b--)(a=ie[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},E=this&&this.__param||function(ie,oe){return function(re,ee){oe(re,ee,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreMouseService=void 0;var ye=ae(1),he=ae(0),ce={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ie){return ie.button!==4&&ie.action===1&&(ie.ctrl=!1,ie.alt=!1,ie.shift=!1,!0)}},VT200:{events:19,restrict:function(ie){return ie.action!==32}},DRAG:{events:23,restrict:function(ie){return ie.action!==32||ie.button!==3}},ANY:{events:31,restrict:function(ie){return!0}}};function ne(ie,oe){var re=(ie.ctrl?16:0)|(ie.shift?4:0)|(ie.alt?8:0);return ie.button===4?(re|=64,re|=ie.action):(re|=3&ie.button,4&ie.button&&(re|=64),8&ie.button&&(re|=128),ie.action===32?re|=32:ie.action!==0||oe||(re|=3)),re}var se=String.fromCharCode,de={DEFAULT:function(ie){var oe=[ne(ie,!1)+32,ie.col+32,ie.row+32];return oe[0]>255||oe[1]>255||oe[2]>255?"":"\x1B[M"+se(oe[0])+se(oe[1])+se(oe[2])},SGR:function(ie){var oe=ie.action===0&&ie.button!==4?"m":"M";return"\x1B[<"+ne(ie,!0)+";"+ie.col+";"+ie.row+oe}},le=function(){function ie(oe,re){this._bufferService=oe,this._coreService=re,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new he.EventEmitter,this._lastEvent=null;for(var ee=0,a=Object.keys(ce);ee=this._bufferService.cols||oe.row<0||oe.row>=this._bufferService.rows||oe.button===4&&oe.action===32||oe.button===3&&oe.action!==32||oe.button!==4&&(oe.action===2||oe.action===3)||(oe.col++,oe.row++,oe.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,oe))||!this._protocols[this._activeProtocol].restrict(oe))return!1;var re=this._encodings[this._activeEncoding](oe);return re&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(re):this._coreService.triggerDataEvent(re,!0)),this._lastEvent=oe,!0},ie.prototype.explainEvents=function(oe){return{down:!!(1&oe),up:!!(2&oe),drag:!!(4&oe),move:!!(8&oe),wheel:!!(16&oe)}},ie.prototype._compareEvents=function(oe,re){return oe.col===re.col&&oe.row===re.row&&oe.button===re.button&&oe.action===re.action&&oe.ctrl===re.ctrl&&oe.alt===re.alt&&oe.shift===re.shift},ie=Ae([E(0,ye.IBufferService),E(1,ye.ICoreService)],ie)}();fe.CoreMouseService=le},function(ot,fe,ae){"use strict";var Ae=this&&this.__decorate||function(ce,ne,se,de){var le,ie=arguments.length,oe=ie<3?ne:de===null?de=Object.getOwnPropertyDescriptor(ne,se):de;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(ce,ne,se,de);else for(var re=ce.length-1;re>=0;re--)(le=ce[re])&&(oe=(ie<3?le(oe):ie>3?le(ne,se,oe):le(ne,se))||oe);return ie>3&&oe&&Object.defineProperty(ne,se,oe),oe},E=this&&this.__param||function(ce,ne){return function(se,de){ne(se,de,ce)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.DirtyRowService=void 0;var ye=ae(1),he=function(){function ce(ne){this._bufferService=ne,this.clearRange()}return Object.defineProperty(ce.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),ce.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},ce.prototype.markDirty=function(ne){nethis._end&&(this._end=ne)},ce.prototype.markRangeDirty=function(ne,se){if(ne>se){var de=ne;ne=se,se=de}nethis._end&&(this._end=se)},ce.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},ce=Ae([E(0,ye.IBufferService)],ce)}();fe.DirtyRowService=he},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.UnicodeService=void 0;var Ae=ae(0),E=ae(79),ye=function(){function he(){this._providers=Object.create(null),this._active="",this._onChange=new Ae.EventEmitter;var ce=new E.UnicodeV6;this.register(ce),this._active=ce.version,this._activeProvider=ce}return Object.defineProperty(he.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"activeVersion",{get:function(){return this._active},set:function(ce){if(!this._providers[ce])throw new Error('unknown Unicode version "'+ce+'"');this._active=ce,this._activeProvider=this._providers[ce],this._onChange.fire(ce)},enumerable:!1,configurable:!0}),he.prototype.register=function(ce){this._providers[ce.version]=ce},he.prototype.wcwidth=function(ce){return this._activeProvider.wcwidth(ce)},he.prototype.getStringCellWidth=function(ce){for(var ne=0,se=ce.length,de=0;de=se)return ne+this.wcwidth(le);var ie=ce.charCodeAt(de);56320<=ie&&ie<=57343?le=1024*(le-55296)+ie-56320+65536:ne+=this.wcwidth(ie)}ne+=this.wcwidth(le)}return ne},he}();fe.UnicodeService=ye},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.UnicodeV6=void 0;var Ae,E=ae(15),ye=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],he=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],ce=function(){function ne(){if(this.version="6",!Ae){Ae=new Uint8Array(65536),E.fill(Ae,1),Ae[0]=0,E.fill(Ae,0,1,32),E.fill(Ae,0,127,160),E.fill(Ae,2,4352,4448),Ae[9001]=2,Ae[9002]=2,E.fill(Ae,2,11904,42192),Ae[12351]=1,E.fill(Ae,2,44032,55204),E.fill(Ae,2,63744,64256),E.fill(Ae,2,65040,65050),E.fill(Ae,2,65072,65136),E.fill(Ae,2,65280,65377),E.fill(Ae,2,65504,65511);for(var se=0;sele[re][1])return!1;for(;re>=oe;)if(de>le[ie=oe+re>>1][1])oe=ie+1;else{if(!(de=131072&&se<=196605||se>=196608&&se<=262141?2:1},ne}();fe.UnicodeV6=ce},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CharsetService=void 0;var Ae=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(ye){this.glevel=ye,this.charset=this._charsets[ye]},E.prototype.setgCharset=function(ye,he){this._charsets[ye]=he,this.glevel===ye&&(this.charset=he)},E}();fe.CharsetService=Ae},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.updateWindowsModeWrappedState=void 0;var Ae=ae(3);fe.updateWindowsModeWrappedState=function(E){var ye=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),he=ye==null?void 0:ye.get(E.cols-1),ce=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);ce&&he&&(ce.isWrapped=he[Ae.CHAR_DATA_CODE_INDEX]!==Ae.NULL_CELL_CODE&&he[Ae.CHAR_DATA_CODE_INDEX]!==Ae.WHITESPACE_CELL_CODE)}},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.WriteBuffer=void 0;var Ae=function(){function E(ye){this._action=ye,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(ye){if(this._writeBuffer.length){for(var he=this._bufferOffset;he5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return ce._innerWrite()})),this._pendingData+=ye.length,this._writeBuffer.push(ye),this._callbacks.push(he)},E.prototype._innerWrite=function(){for(var ye=this,he=Date.now();this._writeBuffer.length>this._bufferOffset;){var ce=this._writeBuffer[this._bufferOffset],ne=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(ce),this._pendingData-=ce.length,ne&&ne(),Date.now()-he>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return ye._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();fe.WriteBuffer=Ae},function(ot,fe,ae){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.AddonManager=void 0;var Ae=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var ye=this._addons.length-1;ye>=0;ye--)this._addons[ye].instance.dispose()},E.prototype.loadAddon=function(ye,he){var ce=this,ne={instance:he,dispose:he.dispose,isDisposed:!1};this._addons.push(ne),he.dispose=function(){return ce._wrappedAddonDispose(ne)},he.activate(ye)},E.prototype._wrappedAddonDispose=function(ye){if(!ye.isDisposed){for(var he=-1,ce=0;ceBu(it))} pos: ${this.timelinePos}`),ue.length&&this.log(`R `).split(` `),$=[],ue=t?Jo(t.baseTime,t.timescale):0;let de="00:00.000",xe=0,ke=0,Re,it=!0;U.oncue=function(nt){const qt=n[s];let ir=n.ccOffset;const lr=(xe-ue)/9e4;if(qt!=null&&qt.new&&(ke!==void 0?ir=n.ccOffset=qt.start:Il(n,s,lr)),lr){if(!t){Re=new Error("Missing initPTS for VTT MPEGTS");return}ir=lr-n.presentationOffset}const Cr=nt.endTime-nt.startTime,zr=eu((nt.startTime+ir-ke)*9e4,v*9e4)/9e4;nt.startTime=Math.max(zr,0),nt.endTime=Math.max(zr+Cr,0);const vn=nt.text.trim();nt.text=decodeURIComponent(encodeURIComponent(vn)),nt.id||(nt.id=lf(nt.startTime,nt.endTime,vn)),nt.endTime>0&&$.push(nt)},U.onparsingerror=function(nt){Re=nt},U.onflush=function(){if(Re){P(Re);return}w($)},X.forEach(nt=>{if(it)if(ou(nt,"X-TIMESTAMP-MAP=")){it=!1,nt.slice(16).split(",").forEach(qt=>{ou(qt,"LOCAL:")?de=qt.slice(6):ou(qt,"MPEGTS:")&&(xe=parseInt(qt.slice(7)))});try{ke=Af(de)/1e3}catch(qt){Re=qt}return}else nt===""&&(it=!1);U.parse(nt+` `)}),U.flush()}const uu="stpp.ttml.im1t",Cf=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Tf=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,cf={left:"start",center:"center",right:"end",start:"start",end:"end"};function zc(D,t,n,s){const v=ct(new Uint8Array(D),["mdat"]);if(v.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const w=v.map(U=>J(U)),P=Su(t.baseTime,1,t.timescale);try{w.forEach(U=>n(Ff(U,P)))}catch(U){s(U)}}function Ff(D,t){const v=new DOMParser().parseFromString(D,"text/xml").getElementsByTagName("tt")[0];if(!v)throw new Error("Invalid ttml");const w={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},P=Object.keys(w).reduce((de,xe)=>(de[xe]=v.getAttribute(`ttp:${xe}`)||w[xe],de),{}),U=v.getAttribute("xml:space")!=="preserve",X=Zf(Zc(v,"styling","style")),$=Zf(Zc(v,"layout","region")),ue=Zc(v,"body","[begin]");return[].map.call(ue,de=>{const xe=Yf(de,U);if(!xe||!de.hasAttribute("begin"))return null;const ke=ff(de.getAttribute("begin"),P),Re=ff(de.getAttribute("dur"),P);let it=ff(de.getAttribute("end"),P);if(ke===null)throw Wf(de);if(it===null){if(Re===null)throw Wf(de);it=ke+Re}const nt=new Sf(ke-t,it-t,xe);nt.id=lf(nt.startTime,nt.endTime,nt.text);const qt=$[de.getAttribute("region")],ir=X[de.getAttribute("style")],lr=Bf(qt,ir,X),{textAlign:Cr}=lr;if(Cr){const zr=cf[Cr];zr&&(nt.lineAlign=zr),nt.align=Cr}return y(nt,lr),nt}).filter(de=>de!==null)}function Zc(D,t,n){const s=D.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Zf(D){return D.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Yf(D,t){return[].slice.call(D.childNodes).reduce((n,s,v)=>{var w;return s.nodeName==="br"&&v?n+` -`:(w=s.childNodes)!=null&&w.length?Yf(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Bf(D,t,n){const s="http://www.w3.org/ns/ttml#styling";let v=null;const w=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],P=D!=null&&D.hasAttribute("style")?D.getAttribute("style"):null;return P&&n.hasOwnProperty(P)&&(v=n[P]),w.reduce((U,X)=>{const $=Xf(t,s,X)||Xf(D,s,X)||Xf(v,s,X);return $&&(U[X]=$),U},{})}function Xf(D,t,n){return D&&D.hasAttributeNS(t,n)?D.getAttributeNS(t,n):null}function Wf(D){return new Error(`Could not parse ttml timestamp ${D}`)}function ff(D,t){if(!D)return null;let n=Lf(D);return n===null&&(Cf.test(D)?n=id(D,t):Tf.test(D)&&(n=Hf(D,t))),n}function id(D,t){const n=Cf.exec(D),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function Hf(D,t){const n=Tf.exec(D),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Nf{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ad{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(u.FRAG_LOADING,this.onFragLoading,this),t.on(u.FRAG_LOADED,this.onFragLoaded,this),t.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(u.FRAG_LOADING,this.onFragLoading,this),t.off(u.FRAG_LOADED,this.onFragLoaded,this),t.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Nf(this,"textTrack1"),n=new Nf(this,"textTrack2"),s=new Nf(this,"textTrack3"),v=new Nf(this,"textTrack4");this.cea608Parser1=new wl(1,t,n),this.cea608Parser2=new wl(3,s,v)}addCues(t,n,s,v,w){let P=!1;for(let U=w.length;U--;){const X=w[U],$=Gf(X[0],X[1],n,s);if($>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),P=!0,$/(s-n)>.5))return}if(P||w.push([n,s]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,s,v)}else{const U=this.Cues.newCue(null,n,s,v);this.hls.trigger(u.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:w,trackId:P}){const{unparsedVttFrags:U}=this;s===o.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:w,trackId:P}),U.length&&(this.unparsedVttFrags=[],U.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(u.FRAG_LOADED,X):this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let v=0;v{is(v[w]),delete v[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sw.textCodec===uu);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Kc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const P=this.media,U=P?Jl(P.textTracks):null;if(this.tracks.forEach((X,$)=>{let ue;if(U){let de=null;for(let xe=0;xe$!==null).map($=>$.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const P=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:P})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const v=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!v)return;const w=`textTrack${v[1]}`,P=this.captionsProperties[w];P&&(P.label=s.name,s.lang&&(P.languageCode=s.lang),P.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===o.MAIN){var s,v;const{cea608Parser1:w,cea608Parser2:P,lastSn:U}=this,{cc:X,sn:$}=n.frag,ue=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;w&&P&&($!==U+1||$===U&&ue!==this.lastPartIndex+1||X!==this.lastCc)&&(w.reset(),P.reset()),this.lastCc=X,this.lastSn=$,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===o.SUBTITLE)if(v.byteLength){const w=s.decryptdata,P="stats"in n;if(w==null||!w.encrypted||P){const U=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===uu?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;zc(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:w,unparsedVttFrags:P}=this,U=w.length-1;if(!w[s.cc]&&U===-1){P.push(t);return}const X=this.hls,$=(n=s.initSegment)!=null&&n.data?Yt(s.initSegment.data,new Uint8Array(v)).buffer:v;Uc($,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const de=ue.message==="Missing initPTS for VTT MPEGTS";de?P.push(t):this._fallbackToIMSC1(s,v),X.logger.log(`Failed to parse VTT cue: ${ue}`),!(de&&U>s.cc)&&X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||zc(n,this.initPTS[t.cc],()=>{s.textCodec=uu,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[n];if(!v||v.mode==="disabled")return;t.forEach(w=>Yo(v,w))}else{const v=this.tracks[n];if(!v)return;const w=v.default?"default":"subtitles"+n;s.trigger(u.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===o.SUBTITLE&&this.onFragLoaded(u.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:v}=n;if(!(s.type===o.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;wPo(U[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(X=>Po(U[X],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let w=0;w=16?X--:X++;const ke=ll($.trim()),Re=lf(t,n,ke);D!=null&&(de=D.cues)!=null&&de.getCueById(Re)||(P=new ue(t,n,ke),P.id=Re,P.line=xe+1,P.align="left",P.position=10+Math.min(80,Math.floor(X*8/32)*10),v.push(P))}return D&&v.length&&(v.sort((xe,ke)=>xe.line==="auto"||ke.line==="auto"?0:xe.line>8&&ke.line>8?ke.line-xe.line:xe.line-ke.line),v.forEach(xe=>Yo(D,xe))),v}};function ge(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(D){}return!1}const Oe=/(\d+)-(\d+)\/(\d+)/;class tt{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||gn,this.controller=new self.AbortController,this.stats=new j}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const w=Ut(t,this.controller.signal),P=t.responseType==="arraybuffer",U=P?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(ho(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(de=>{var xe;this.response=this.loader=de;const ke=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},$-(ke-v.loading.start)),!de.ok){const{status:it,statusText:nt}=de;throw new Di(nt||"fetch, bad network response",it,de)}v.loading.first=ke,v.total=Rr(de.headers)||v.total;const Re=(xe=this.callbacks)==null?void 0:xe.onProgress;return Re&&r(n.highWaterMark)?this.loadProgressively(de,v,t,n.highWaterMark,Re):P?de.arrayBuffer():t.responseType==="json"?de.json():de.text()}).then(de=>{var xe,ke;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const it=de[U];it&&(v.loaded=v.total=it);const nt={url:Re.url,data:de,code:Re.status},qt=(xe=this.callbacks)==null?void 0:xe.onProgress;qt&&!r(n.highWaterMark)&&qt(v,t,de,Re),(ke=this.callbacks)==null||ke.onSuccess(nt,v,t,Re)}).catch(de=>{var xe;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const ke=de&&de.code||0,Re=de?de.message:null;(xe=this.callbacks)==null||xe.onError({code:ke,text:Re},t,de?de.details:null,v)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,v=0,w){const P=new Ar,U=t.body.getReader(),X=()=>U.read().then($=>{if($.done)return P.dataLength&&w(n,s,P.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=$.value,de=ue.length;return n.loaded+=de,de=v&&w(n,s,P.flush().buffer,t)):w(n,s,ue.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Ut(D,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},D.headers))};return D.rangeEnd&&n.headers.set("Range","bytes="+D.rangeStart+"-"+String(D.rangeEnd-1)),n}function dr(D){const t=Oe.exec(D);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Rr(D){const t=D.get("Content-Range");if(t){const s=dr(t);if(r(s))return s}const n=D.get("Content-Length");if(n)return parseInt(n)}function gn(D,t){return new self.Request(D.url,t)}class Di extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Ua=/^age:\s*[\d.]+\s*$/im;class Vn{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new j,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(P=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(P=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:P.message},n,s,v)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const v=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:P}=s.loadPolicy;if(v)for(const U in v)t.setRequestHeader(U,v[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:P,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const v=n.readyState,w=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ue=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const Re=ue!=null?ue:n.response;if(Re!=null){var P,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const it=n.responseType==="arraybuffer"?Re.byteLength:Re.length;s.loaded=s.total=it,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const nt=(P=this.callbacks)==null?void 0:P.onProgress;nt&&nt(s,t,Re,n);const qt={url:n.responseURL,data:Re,code:$};(U=this.callbacks)==null||U.onSuccess(qt,s,t,n);return}}const de=w.loadPolicy.errorRetry,xe=s.retry,ke={url:t.url,data:void 0,code:$};if(lt(de,xe,!1,ke))this.retry(de);else{var X;V.error(`${$} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:$,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(lt(t,n,!0))this.retry(t);else{var s;V.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=qn(t,s.retry),s.retry++,V.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Ua.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const ca={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},za=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:Vn,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:ve,bufferController:vo,capLevelController:Al,errorController:$r,fpsController:ds,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:wu,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:ca},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},ka()),{},{subtitleStreamController:Pl,subtitleTrackController:Bc,timelineController:ad,audioStreamController:$c,audioTrackController:Dl,emeController:Ie,cmcdController:xf,contentSteeringController:O,interstitialsController:Ef});function ka(){return{cueHandler:z,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function an(D,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Ur(D),v=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(P=>{const U=`${P==="level"?"playlist":P}LoadPolicy`,X=t[U]===void 0,$=[];w.forEach(ue=>{const de=`${P}Loading${ue}`,xe=t[de];if(xe!==void 0&&X){$.push(de);const ke=s[U].default;switch(t[U]={default:ke},ue){case"TimeOut":ke.maxLoadTimeMs=xe,ke.maxTimeToFirstByteMs=xe;break;case"MaxRetry":ke.errorRetry.maxNumRetry=xe,ke.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":ke.errorRetry.retryDelayMs=xe,ke.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":ke.errorRetry.maxRetryDelayMs=xe,ke.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${U}": ${zi(t[U])}`)}),b(b({},s),t)}function Ur(D){return D&&typeof D=="object"?Array.isArray(D)?D.map(Ur):Object.keys(D).reduce((t,n)=>(t[n]=Ur(D[n]),t),{}):D}function nn(D,t){const n=D.loader;n!==tt&&n!==Vn?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),D.progressive=!1):ge()&&(D.loader=tt,D.progressive=!0,D.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Dn=2,zn=.1,Ya=.05,Wi=100;class Xa extends to{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Wi),this.mediaSource=n.mediaSource;const s=this.media=n.media;ja(s,"playing",this.onMediaPlaying),ja(s,"waiting",this.onMediaWaiting),ja(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(os(s,"playing",this.onMediaPlaying),os(s,"waiting",this.onMediaWaiting),os(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,v;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const P=this.media;if(!P)return;const{seeking:U}=P,X=this.seeking&&!U,$=!this.seeking&&U,ue=P.paused&&!U||P.ended||P.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if($||X){X&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&P.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1}));return}if(!mi.getBuffered(P).length){this.nudgeRetry=0;return}const de=mi.bufferInfo(P,t,0),xe=de.nextStart||0,ke=this.fragmentTracker;if(U&&ke&&this.hls){const vn=hs(this.hls.inFlightFragments,t),Zr=de.len>Dn,cn=!xe||vn||xe-t>Dn&&!ke.getPartialFragment(t);if(Zr||cn)return;this.moved=!1}const Re=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ke){if(!(de.len>0)&&!xe)return;const Zr=Math.max(xe,de.start||0)-t,un=!!(Re!=null&&Re.live)?Re.targetduration*2:Dn,qr=Ul(t,ke);if(Zr>0&&(Zr<=un||qr)){P.paused||this._trySkipBufferHole(qr);return}}const it=w.detectStallWithCurrentTimeMs,nt=self.performance.now(),qt=this.waiting;let ir=this.stalled;if(ir===null)if(qt>0&&nt-qt=it||qt)&&this.hls){var Cr;if(((Cr=this.mediaSource)==null?void 0:Cr.readyState)==="ended"&&!(Re!=null&&Re.live)&&Math.abs(t-((Re==null?void 0:Re.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(de),!this.media||!this.hls)return}const zr=mi.bufferInfo(P,t,w.maxBufferHole);this._tryFixBufferStall(zr,lr,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(u.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&v&&v.length>1&&t>v.end(0)){const w=mi.bufferedInfo(mi.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const P=mi.timeRangesToArray(v),U=mi.bufferedInfo(P,n,0).bufferedIndex;if(U>-1&&UU)&&ue-$<1&&t-$<2){const de=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ue} buffered index: ${X}`);this.warn(de.message),this.media.currentTime+=1e-6;let xe=Ul(t,this.fragmentTracker);xe&&"fragment"in xe?xe=xe.fragment:xe||(xe=void 0);const ke=mi.bufferInfo(this.media,t,0);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:de,reason:de.message,frag:xe,buffer:ke.len,bufferInfo:ke})}}}}}_tryFixBufferStall(t,n,s){var v,w;const{fragmentTracker:P,media:U}=this,X=(v=this.hls)==null?void 0:v.config;if(!U||!P||!X)return;const $=(w=this.hls)==null?void 0:w.latestLevelDetails,ue=Ul(s,P);if((ue||$!=null&&$.live&&s<$.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const de=t.buffered,xe=this.adjacentTraversal(t,s);(de&&de.length>1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-sX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,v=t.nextStart;if(s&&v){const w=s.getFragAtPos(n,o.MAIN),P=s.getFragAtPos(v,o.MAIN);if(w&&P)return P.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:w}=this;if(!v&&w!==null&&s&&n){this.stallReported=!0;const P=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${zi(t)})`);this.warn(P.message),n.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:P,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,w=(n=this.hls)==null?void 0:n.config;if(!v||!s||!w)return 0;const P=v.currentTime,U=mi.bufferInfo(v,P,0),X=P0&&U.len<1&&v.readyState<3,xe=X-P;if(xe>0&&(ue||de)){if(xe>w.maxBufferHole){let Re=!1;if(P===0){const it=s.getAppendedFrag(0,o.MAIN);it&&X{const D=od();try{D&&new D(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Sd{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(u.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&is(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;ned&&(de=ed),de-ue<=0&&(de=ue+sd);for(let ke=0;ke<$.length;ke++){const Re=$[ke];if(!Sr(Re)){this.updateId3CueEnds(ue,X);const it=ud(P,ue,de,Re,X);it&&this.id3Track.addCue(it)}}}}updateId3CueEnds(t,n){var s;const v=(s=this.id3Track)==null?void 0:s.cues;if(v)for(let w=v.length;w--;){const P=v[w];P.type===n&&P.startTimeue.type===yn.audioId3&&X:v==="video"?$=ue=>ue.type===yn.emsg&&U:$=ue=>ue.type===yn.audioId3&&X||ue.type===yn.emsg&&U,Po(w,n,s,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:v,enableDateRangeMetadataCues:w,interstitialsController:P}=this.hls.config;if(!w)return;const U=od();if(s&&v&&!P){const{fragmentStart:it,fragmentEnd:nt}=t;let qt=this.assetCue;qt?(qt.startTime=it,qt.endTime=nt):U&&(qt=this.assetCue=ud(U,it,nt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),qt&&(qt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(qt),qt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:$}=t,ue=Object.keys($);let de=this.dateRangeCuesAppended;if(X&&n){var xe;if((xe=X.cues)!=null&&xe.length){const it=Object.keys(de).filter(nt=>!ue.includes(nt));for(let nt=it.length;nt--;){var ke;const qt=it[nt],ir=(ke=de[qt])==null?void 0:ke.cues;delete de[qt],ir&&Object.keys(ir).forEach(lr=>{const Cr=ir[lr];if(Cr){Cr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Cr)}catch(zr){}}})}}else de=this.dateRangeCuesAppended={}}const Re=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Re==null?void 0:Re.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let it=0;it{if(Si!==qt.id){const Vi=$[Si];if(Vi.class===qt.class&&Vi.startDate>qt.startDate&&(!kn||qt.startDate.01&&(Si.startTime=ir,Si.endTime=vn);else if(U){let Vi=qt.attr[kn];Wo(kn)&&(Vi=H(Vi));const Yi=ud(U,ir,vn,{key:kn,data:Vi},yn.dateRange);Yi&&(Yi.id=nt,this.id3Track.addCue(Yi),Cr[kn]=Yi,P&&(kn==="X-ASSET-LIST"||kn==="X-ASSET-URL")&&Yi.addEventListener("enter",this.onEventCueEnter))}}de[nt]={cues:Cr,dateRange:qt,durationKnown:zr}}}}}class Ad{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:P}=this.config;if(!w||P===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const X=v-U,$=Math.min(this.maxLatency,U+s.targetduration);if(X<$&&X>.05&&this.forwardBufferLength>1){const de=Math.min(2,Math.max(1,P)),xe=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,ke=Math.min(de,Math.max(1,xe));this.changeMediaPlaybackRate(n,ke)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:v}=t,{liveSyncDuration:w,liveSyncDurationCount:P,lowLatencyMode:U}=this.config,X=this.hls.userConfig;let $=U&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||$===0)&&($=w!==void 0?w:P*v);const ue=v;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const v=s.edge,w=t-n-this.edgeStalled,P=v-s.totalduration,U=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(P,w),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,v;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Cd extends Ao{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this),t.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this),t.off(u.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,v=[],w={},P={};let U=!1,X=!1,$=!1;n.levels.forEach(ue=>{const de=ue.attrs;let{audioCodec:xe,videoCodec:ke}=ue;xe&&(ue.audioCodec=xe=pt(xe,s)||void 0),ke&&(ke=ue.videoCodec=Jt(ke));const{width:Re,height:it,unknownCodecs:nt}=ue,qt=(nt==null?void 0:nt.length)||0;if(U||(U=!!(Re&&it)),X||(X=!!ke),$||($=!!xe),qt||xe&&!this.isAudioSupported(xe)||ke&&!this.isVideoSupported(ke)){this.log(`Some or all CODECS not supported "${de.CODECS}"`);return}const{CODECS:ir,"FRAME-RATE":lr,"HDCP-LEVEL":Cr,"PATHWAY-ID":zr,RESOLUTION:vn,"VIDEO-RANGE":Zr}=de,un=`${`${zr||"."}-`}${ue.bitrate}-${vn}-${lr}-${ir}-${Zr}-${Cr}`;if(w[un])if(w[un].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const qr=P[un]+=1;ue.attrs["PATHWAY-ID"]=new Array(qr+1).join(".");const kn=this.createLevel(ue);w[un]=kn,v.push(kn)}else w[un].addGroupId("audio",de.AUDIO),w[un].addGroupId("text",de.SUBTITLES);else{const qr=this.createLevel(ue);w[un]=qr,P[un]=1,v.push(qr)}}),this.filterAndSortMediaOptions(v,n,U,X,$)}createLevel(t){const n=new pi(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(v.message),n.supportedResult=Lt(v,[])}return n}isAudioSupported(t){return Ae(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ae(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,w){var P;let U=[],X=[],$=t;const ue=((P=n.stats)==null?void 0:P.parsing)||{};if((s||v)&&w&&($=$.filter(({videoCodec:ir,videoRange:lr,width:Cr,height:zr})=>(!!ir||!!(Cr&&zr))&&Mi(lr))),$.length===0){Promise.resolve().then(()=>{if(this.hls){let ir="no level with compatible codecs found in manifest",lr=ir;n.levels.length&&(lr=`one or more CODECS in variant not supported: ${zi(n.levels.map(zr=>zr.attrs.CODECS).filter((zr,vn,Zr)=>Zr.indexOf(zr)===vn))}`,this.warn(lr),ir+=` (${lr})`);const Cr=new Error(ir);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:Cr,reason:lr})}}),ue.end=performance.now();return}n.audioTracks&&(U=n.audioTracks.filter(ir=>!ir.audioCodec||this.isAudioSupported(ir.audioCodec)),hd(U)),n.subtitles&&(X=n.subtitles,hd(X));const de=$.slice(0);$.sort((ir,lr)=>{if(ir.attrs["HDCP-LEVEL"]!==lr.attrs["HDCP-LEVEL"])return(ir.attrs["HDCP-LEVEL"]||"")>(lr.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&ir.height!==lr.height)return ir.height-lr.height;if(ir.frameRate!==lr.frameRate)return ir.frameRate-lr.frameRate;if(ir.videoRange!==lr.videoRange)return ni.indexOf(ir.videoRange)-ni.indexOf(lr.videoRange);if(ir.videoCodec!==lr.videoCodec){const Cr=et(ir.videoCodec),zr=et(lr.videoCodec);if(Cr!==zr)return zr-Cr}if(ir.uri===lr.uri&&ir.codecSet!==lr.codecSet){const Cr=bt(ir.codecSet),zr=bt(lr.codecSet);if(Cr!==zr)return zr-Cr}return ir.averageBitrate!==lr.averageBitrate?ir.averageBitrate-lr.averageBitrate:0});let xe=de[0];if(this.steering&&($=this.steering.filterParsedLevels($),$.length!==de.length)){for(let ir=0;irCr&&Cr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=zr)}break}const Re=w&&!v,it=this.hls.config,nt=!!(it.audioStreamController&&it.audioTrackController),qt={levels:$,audioTracks:U,subtitleTracks:X,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:v,altAudio:nt&&!Re&&U.some(ir=>!!ir.url)};ue.end=performance.now(),this.hls.trigger(u.MANIFEST_PARSED,qt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ue=new Error("invalid level idx"),de=t<0;if(this.hls.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:de,error:ue,reason:ue.message}),de)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,w=v?v.attrs["PATHWAY-ID"]:void 0,P=n[t],U=P.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=P,s===t&&v&&w===U)return;this.log(`Switching to level ${t} (${P.height?P.height+"p ":""}${P.videoRange?P.videoRange+" ":""}${P.codecSet?P.codecSet+" ":""}@${P.bitrate})${U?" with Pathway "+U:""} from level ${s}${w?" with Pathway "+w:""}`);const X={level:t,attrs:P.attrs,details:P.details,bitrate:P.bitrate,averageBitrate:P.averageBitrate,maxBitrate:P.maxBitrate,realBitrate:P.realBitrate,width:P.width,height:P.height,codecSet:P.codecSet,audioCodec:P.audioCodec,videoCodec:P.videoCodec,audioGroups:P.audioGroups,subtitleGroups:P.subtitleGroups,loaded:P.loaded,loadError:P.loadError,fragmentError:P.fragmentError,name:P.name,id:P.id,uri:P.uri,url:P.url,urlId:0,audioGroupIds:P.audioGroupIds,textGroupIds:P.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,X);const $=P.details;if(!$||$.live){const ue=this.switchParams(P.uri,v==null?void 0:v.details,$);this.loadPlaylist(ue)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(v=>n.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===o.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))return;const v=this._levels[n.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,n){var s;const{level:v,details:w}=n,P=n.levelInfo;if(!P){var U;this.warn(`Invalid level index ${v}`),(U=n.deliveryDirectives)!=null&&U.skip&&(w.deltaUpdateFailed=!0);return}if(P===this.currentLevel||n.withoutMultiVariant){P.fragmentError===0&&(P.loadError=0);let X=P.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(v,n,X)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),v=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],P=t.details,U=P==null?void 0:P.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${U&&P.live?" age "+U.toFixed(1)+(P.type?" "+P.type||0:""):""} ${s}`),this.hls.trigger(u.LEVEL_LOADING,{url:s,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,P)=>P!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(U=>U.level=-1)),!1));Ra(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=s.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(u.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function hd(D){const t={};D.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function pd(){return self.SourceBuffer||self.WebKitSourceBuffer}function md(){if(!ae())return!1;const t=pd();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Td(){if(!md())return!1;const D=ae();return typeof(D==null?void 0:D.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>D.isTypeSupported(ze(t,"video")))||["mp4a.40.2","fLaC"].some(t=>D.isTypeSupported(ze(t,"audio"))))}function Pd(){var D;const t=pd();return typeof(t==null||(D=t.prototype)==null?void 0:D.changeType)=="function"}const vd=100;class _d extends Bt{constructor(t,n,s){super(t,n,s,"stream-controller",o.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,w=v?v.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const P=this.getFwdBufferInfoAtPos(v,w,o.MAIN,0);if(P===null||P.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${P?P.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(u.MANIFEST_PARSED,this.onManifestParsed,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(u.BUFFER_CREATED,this.onBufferCreated,this),t.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(u.MANIFEST_PARSED,this.onManifestParsed,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(u.BUFFER_CREATED,this.onBufferCreated,this),t.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:v}=this;if(this.stopLoad(),this.setInterval(vd),this.level=-1,!this.startFragRequested){let w=v.startLevel;w===-1&&(v.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=v.firstAutoLevel),v.nextLoadLevel=w,this.level=v.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Pe.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Pe.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Pe.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],v=s==null?void 0:s.details;if(v&&(!v.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(v))break;this.state=Pe.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Pe.IDLE;break}break}case Pe.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Pe.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:v}=this;if(n===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const P=s[w],U=this.getMainFwdBufferInfo();if(U===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(U,X)){const it={};this.altAudio===2&&(it.type="video"),this.hls.trigger(u.BUFFER_EOS,it),this.state=Pe.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const $=P.details;if(!$||this.state===Pe.WAITING_LEVEL||this.waitForLive(P)){this.level=w,this.state=Pe.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=U.len,de=this.getMaxBufferLength(P.maxBitrate);if(ue>=de)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let ke=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&ke&&Ee(ke)&&this.fragmentTracker.getState(ke)!==pn.OK){var Re;const nt=((Re=this.backtrackFragment)!=null?Re:ke).sn-$.startSN,qt=$.fragments[nt-1];qt&&ke.cc===qt.cc&&(ke=qt,this.fragmentTracker.removeFragment(qt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(ke&&this.isLoopLoading(ke,xe)){if(!ke.gap){const nt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,qt=(nt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;qt&&this.afterBufferFlushed(qt,nt,o.MAIN)}ke=this.getNextFragmentLoopLoading(ke,$,U,o.MAIN,de)}ke&&(ke.initSegment&&!ke.initSegment.data&&!this.bitrateTest&&(ke=ke.initSegment),this.loadFragment(ke,P,xe))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===pn.NOT_LOADED||v===pn.PARTIAL?Ee(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,o.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const v=this.getAppendedFrag(n.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const U=this.getMainFwdBufferInfo();if(!U||U.len=P-n.maxFragLookUpTolerance&&w<=U;if(v!==null&&s.duration>v&&(w{this.hls&&this.hls.trigger(u.AUDIO_TRACK_SWITCHED,n)}),s.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(u.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ut(n.url,this.hls);if(s){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let v,w,P=!1;for(const U in s){const X=s[U];if(X.id==="main"){if(w=U,v=X,U==="video"){const $=s[U];$&&(this.videoBuffer=$.buffer)}}else P=!0}P&&v?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,w=s.type===o.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${v?" p: "+v.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Pe.PARSED&&(this.state=Pe.IDLE);return}const U=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Ee(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const P=this.media;P&&(!this._hasEnoughToStart&&mi.getBuffered(P).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Pe.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(o.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Pe.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Pe.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Pe.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,o.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(X<$||this.loadingParts&&X<2*((w==null?void 0:w.partTarget)||0)))&&(this.log(`adjusting start position by ${X} to match buffer start`),s+=X,this.startPosition=s),n{const{hls:v}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=Pe.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const P=w.stats;P.parsing.start=P.parsing.end=P.buffering.start=P.buffering.end=self.performance.now(),v.trigger(u.FRAG_LOADED,s),w.bitrateTest=!1}).catch(s=>{this.state===Pe.STOPPED||this.state===Pe.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:v,chunkMeta:w}=t,P=this.getCurrentContext(w);if(!P){this.resetWhenMissingContext(w);return}const{frag:U,part:X,level:$}=P,{video:ue,text:de,id3:xe,initSegment:ke}=v,{details:Re}=$,it=this.altAudio?void 0:v.audio;if(this.fragContextChanged(U)){this.fragmentTracker.removeFragment(U);return}if(this.state=Pe.PARSING,ke){const nt=ke.tracks;if(nt){const Cr=U.initSegment||U;if(this.unhandledEncryptionError(ke,U))return;this._bufferInitSegment($,nt,Cr,w),s.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Cr,id:n,tracks:nt})}const qt=ke.initPTS,ir=ke.timescale,lr=this.initPTS[U.cc];if(r(qt)&&(!lr||lr.baseTime!==qt||lr.timescale!==ir)){const Cr=ke.trackId;this.initPTS[U.cc]={baseTime:qt,timescale:ir,trackId:Cr},s.trigger(u.INIT_PTS_FOUND,{frag:U,id:n,initPTS:qt,timescale:ir,trackId:Cr})}}if(ue&&Re){it&&ue.type==="audiovideo"&&this.logMuxedErr(U);const nt=Re.fragments[U.sn-1-Re.startSN],qt=U.sn===Re.startSN,ir=!nt||U.cc>nt.cc;if(v.independent!==!1){const{startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn}=ue;if(X)X.elementaryStreams[ue.type]={startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn};else if(ue.firstKeyFrame&&ue.independent&&w.id===1&&!ir&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Zr=this.getMainFwdBufferInfo(),cn=(Zr?Zr.end:this.getLoadPosition())+this.config.maxBufferHole,un=ue.firstKeyFramePTS?ue.firstKeyFramePTS:lr;if(!qt&&cnDn&&(U.gap=!0);U.setElementaryStreamInfo(ue.type,lr,Cr,zr,vn),this.backtrackFragment&&(this.backtrackFragment=U),this.bufferFragmentData(ue,U,X,w,qt||ir)}else if(qt||ir)U.gap=!0;else{this.backtrack(U);return}}if(it){const{startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}=it;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}),U.setElementaryStreamInfo(ie.AUDIO,nt,qt,ir,lr),this.bufferFragmentData(it,U,X,w)}if(Re&&xe!=null&&xe.samples.length){const nt={id:n,frag:U,details:Re,samples:xe.samples};s.trigger(u.FRAG_PARSING_METADATA,nt)}if(Re&&de){const nt={id:n,frag:U,details:Re,samples:de.samples};s.trigger(u.FRAG_PARSING_USERDATA,nt)}}logMuxedErr(t){this.warn(`${Ee(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==Pe.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:P,audiovideo:U}=n;if(w){const $=t.audioCodec;let ue=on(w.codec,$);ue==="mp4a"&&(ue="mp4a.40.5");const de=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const xe=w.metadata;xe&&"channelCount"in xe&&(xe.channelCount||1)!==1&&de.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&de.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),$&&$!==ue&&this.log(`Swapping manifest audio codec "${$}" for "${ue}"`),w.levelCodec=ue,w.id=o.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ue||""}/${$||""}/${w.codec}]`),delete n.audiovideo}if(P){P.levelCodec=t.videoCodec,P.id=o.MAIN;const $=P.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":P.codec="hvc1.1.6.L120.90";break;case"av01":P.codec="av01.0.04M.08";break;case"avc1":P.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${P.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${P.codec!==$?" parsed-corrected="+P.codec:""}${P.supplemental?" supplemental="+P.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(u.BUFFER_CODECS,n),!this.hls)return;X.forEach($=>{const de=n[$].initSegment;de!=null&&de.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:$,data:de,frag:s,part:null,chunkMeta:v,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,o.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Pe.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(mi.isBuffered(t,s)?n=this.getAppendedFrag(s):mi.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,w=n.level;(!v||n.sn!==v.sn||v.level!==w)&&(this.fragPlaying=n,this.hls.trigger(u.FRAG_CHANGED,{frag:n}),(!v||v.level!==w)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:w}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),v=this.currentFrag||(s?pr(null,s.fragments,n):null);if(v){const w=v.programDateTime;if(w!==null){const P=w+(n-v.start)*1e3;return new Date(P)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Id extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[s].loader;if(v){var n;if(t&&t!==((n=v.context)==null?void 0:n.frag.type))return;v.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,w){return new Ji({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:v})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let v=0,w=n.length;v{if(!this.emeController)return;P.setKeyFormat(U);const X=Qo(U);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const v=Mo(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,v;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const P=w.uri;if(!P)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${P}"`)));const U=ld(w);let X=this.keyIdToKeyInfo[U];if((s=X)!=null&&s.decryptdata.key)return w.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(v=X)!=null&&v.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(ue=>{const{keyInfo:de}=ue;return w.key=de.decryptdata.key,{frag:t,keyInfo:de}})}switch(this.log(`${this.keyIdToKeyInfo[U]?"Rel":"L"}oading${w.keyId?" keyId: "+q(w.keyId):""} URI: ${w.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[U]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var v;if(!t.decryptdata.keyId&&(v=n.initSegment)!=null&&v.data){const P=ht(n.initSegment.data);if(P.length){const U=P[0];U.some(X=>X!==0)&&(this.log(`Using keyId found in init segment ${q(U)}`),t.decryptdata.keyId=U,Go.setKeyIdForUri(t.decryptdata.uri,U))}}const w=this.emeController.loadKey(s);return(t.keyLoadPromise=w.then(P=>(t.mediaKeySessionContext=P,s))).catch(P=>{throw t.keyLoadPromise=null,"data"in P&&(P.data.frag=n),P})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,w=new v(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((P,U)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=s.keyLoadPolicy.default,ue={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(xe,ke,Re,it)=>{const{frag:nt,keyInfo:qt}=Re,ir=ld(qt.decryptdata);if(!nt.decryptdata||qt!==this.keyIdToKeyInfo[ir])return U(this.createKeyLoadError(nt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),it));qt.decryptdata.key=nt.decryptdata.key=new Uint8Array(xe.data),nt.keyLoader=null,qt.loader=null,P({frag:nt,keyInfo:qt})},onError:(xe,ke,Re,it)=>{this.resetLoader(ke),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Re,b({url:X.url,data:void 0},xe)))},onTimeout:(xe,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(xe,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};w.load(X,ue,de)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null);const P=ld(s.decryptdata)||v;delete this.keyIdToKeyInfo[P],w&&w.destroy()}}function ld(D){if(D.keyFormat!==ms.FAIRPLAY){const t=D.keyId;if(t)return q(t)}return D.uri}function gd(D){const{type:t}=D;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function cd(D,t){let n=D.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class td{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_LOADING,this.onLevelLoading,this),t.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,w=s||v,P=new w(n);return this.loaders[t.type]=P,P}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:v,pathwayId:w,url:P,deliveryDirectives:U,levelInfo:X}=n;this.load({id:s,level:v,pathwayId:w,responseType:"text",type:h.LEVEL,url:P,deliveryDirectives:U,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:P,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:P,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(w=>w===v.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let v=this.getInternalLoader(t);if(v){const $=this.hls.logger,ue=v.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ue=$.partTarget,de=$.targetduration;if(ue&&de){const xe=Math.max(ue*3,de*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(xe,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,w.maxTimeToFirstByteMs)})}}}const P=w.errorRetry||w.timeoutRetry||{},U={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:P.maxNumRetry||0,retryDelay:P.retryDelayMs||0,maxRetryDelay:P.maxRetryDelayMs||0},X={onSuccess:($,ue,de,xe)=>{const ke=this.getInternalLoader(de);this.resetInternalLoader(de.type);const Re=$.data;ue.parsing.start=performance.now(),Ko.isMediaPlaylist(Re)||de.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ue,de,xe||null,ke):this.handleMasterPlaylist($,ue,de,xe)},onError:($,ue,de,xe)=>{this.handleNetworkError(ue,de,!1,$,xe)},onTimeout:($,ue,de)=>{this.handleNetworkError(ue,de,!0,void 0,$)}};v.load(t,U,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,v){const w=this.hls,P=t.data,U=cd(t,s),X=Ko.parseMasterPlaylist(P,U);if(X.playlistParsingError){n.parsing.end=performance.now(),this.handleManifestParsingError(t,s,X.playlistParsingError,v,n);return}const{contentSteering:$,levels:ue,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re}=X;this.variableList=Re,ue.forEach(ir=>{const{unknownCodecs:lr}=ir;if(lr){const{preferManagedMediaSource:Cr}=this.hls.config;let{audioCodec:zr,videoCodec:vn}=ir;for(let Zr=lr.length;Zr--;){const cn=lr[Zr];Ae(cn,"audio",Cr)?(ir.audioCodec=zr=zr?`${zr},${cn}`:cn,$t.audio[zr.substring(0,4)]=2,lr.splice(Zr,1)):Ae(cn,"video",Cr)&&(ir.videoCodec=vn=vn?`${vn},${cn}`:cn,$t.video[vn.substring(0,4)]=2,lr.splice(Zr,1))}}});const{AUDIO:it=[],SUBTITLES:nt,"CLOSED-CAPTIONS":qt}=Ko.parseMasterPlaylistMedia(P,U,X);it.length&&!it.some(lr=>!lr.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),it.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Zi({}),bitrate:0,url:""})),w.trigger(u.MANIFEST_LOADED,{levels:ue,audioTracks:it,subtitles:nt,captions:qt,contentSteering:$,url:U,stats:n,networkDetails:v,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re})}handleTrackOrLevelPlaylist(t,n,s,v,w){const P=this.hls,{id:U,level:X,type:$}=s,ue=cd(t,s),de=r(X)?X:r(U)?U:0,xe=gd(s),ke=Ko.parseLevelPlaylist(t.data,ue,de,xe,0,this.variableList);if($===h.MANIFEST){const Re={attrs:new Zi({}),bitrate:0,details:ke,name:"",url:ue};ke.requestScheduled=n.loading.start+bi(ke,0),P.trigger(u.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:ue,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=ke,this.handlePlaylistLoaded(ke,t,n,s,v,w)}handleManifestParsingError(t,n,s,v,w){this.hls.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:v,stats:w})}handleNetworkError(t,n,s=!1,v,w){let P=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?P+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(P+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(P);this.hls.logger.warn(`[playlist-loader]: ${P}`);let X=f.UNKNOWN,$=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ue&&this.resetInternalLoader(t.type);const de={type:c.NETWORK_ERROR,details:X,fatal:$,url:t.url,loader:ue,context:t,error:U,networkDetails:n,stats:w};if(v){const xe=(n==null?void 0:n.url)||t.url;de.response=b({url:xe,data:void 0},v)}this.hls.trigger(u.ERROR,de)}handlePlaylistLoaded(t,n,s,v,w,P){const U=this.hls,{type:X,level:$,levelOrTrack:ue,id:de,groupId:xe,deliveryDirectives:ke}=v,Re=cd(n,v),it=gd(v);let nt=typeof v.level=="number"&&it===o.MAIN?$:void 0;const qt=t.playlistParsingError;if(qt){if(this.hls.logger.warn(`${qt} ${t.url}`),!U.config.ignorePlaylistParsingErrors){U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:qt,reason:qt.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}t.playlistParsingError=null}if(!t.fragments.length){const ir=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:ir,reason:ir.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}switch(t.live&&P&&(P.getCacheAge&&(t.ageHeader=P.getCacheAge()||0),(!P.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(nt){if(!ue)nt=0;else if(ue!==U.levels[nt]){const ir=U.levels.indexOf(ue);ir>-1&&(nt=ir)}}U.trigger(u.LEVEL_LOADED,{details:t,levelInfo:ue||U.levels[0],level:nt||0,id:de||0,stats:s,networkDetails:w,deliveryDirectives:ke,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(u.AUDIO_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break;case h.SUBTITLE_TRACK:U.trigger(u.SUBTITLE_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break}}}class If{static get version(){return ai}static isMSESupported(){return md()}static isSupported(){return Td()}static getMediaSource(){return ae()}static get Events(){return u}static get MetadataSchema(){return yn}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:za}static set DefaultConfig(t){If.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ii,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=an(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&nn(s,n);const{abrController:v,bufferController:w,capLevelController:P,errorController:U,fpsController:X}=s,$=new U(this),ue=this.abrController=new v(this),de=new Ti(this),xe=s.interstitialsController,ke=xe?this.interstitialsController=new xe(this,If):null,Re=this.bufferController=new w(this,de),it=this.capLevelController=new P(this),nt=new X(this),qt=new td(this),ir=s.contentSteeringController,lr=ir?new ir(this):null,Cr=this.levelController=new Cd(this,lr),zr=new Sd(this),vn=new Id(this.config,this.logger),Zr=this.streamController=new _d(this,de,vn),cn=this.gapController=new Xa(this,de);it.setStreamController(Zr),nt.setStreamController(Zr);const un=[qt,Cr,Zr];ke&&un.splice(1,0,ke),lr&&un.splice(1,0,lr),this.networkControllers=un;const qr=[ue,Re,cn,it,nt,zr,de];this.audioTrackController=this.createController(s.audioTrackController,un);const kn=s.audioStreamController;kn&&un.push(this.audioStreamController=new kn(this,de,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,un);const Si=s.subtitleStreamController;Si&&un.push(this.subtititleStreamController=new Si(this,de,vn)),this.createController(s.timelineController,qr),vn.emeController=this.emeController=this.createController(s.emeController,qr),this.cmcdController=this.createController(s.cmcdController,qr),this.latencyController=this.createController(Ad,qr),this.coreComponents=qr,un.push($);const Vi=$.onErrorOut;typeof Vi=="function"&&this.on(u.ERROR,Vi,$),this.on(u.MANIFEST_LOADED,qt.onManifestLoaded,qt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,v){this._emitter.off(t,n,s,v)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const v=t===u.ERROR;this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:v,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(u.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,v=n?t:{media:s};this._media=s,this.trigger(u.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(u.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=Z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),n&&s&&(s!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(u.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=rf()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Yr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let v=0;v=n)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let v;if(n===-1&&t!=null&&t.length?v=t.length-1:v=n,s)for(let w=v;w--;){const P=t[w].attrs["HDCP-LEVEL"];if(P&&P<=s)return w}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Ta(n);return br(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var u=f||{},h=u.noTrailing,o=h===void 0?!1:h,a=u.noLeading,x=a===void 0?!1:a,p=u.debounceMode,y=p===void 0?void 0:p,m,b=!1,S=0;function k(){m&&clearTimeout(m)}function R(I){var M=I||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var I=arguments.length,M=new Array(I),B=0;Bl?x?(S=Date.now(),o||(m=setTimeout(y?V:G,l))):G():o!==!0&&(m=setTimeout(y?V:G,y===void 0?l-K:l))}return A.cancel=R,A}function i(l,c,f){var u=f||{},h=u.atBegin,o=h===void 0?!1:h;return r(l,c,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var _=__webpack_module_cache__[d];if(_!==void 0)return _.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var _=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(_,{a:_}),_}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},_;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};_=_||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~_.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,_){for(var e in _)__webpack_require__.o(_,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:_[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(_,e){return __webpack_require__.f[e](d,_),_},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1095:"p__virtualSpaces__IndexNew__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3030:"p__virtualSpaces__Lists__Settings__components__Member__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5841:"p__virtualSpaces__Lists__Settings__components__ModuleSettings__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7496:"p__virtualSpaces__Lists__CourseData__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"25ebdfe0",67:"544dfc34",109:"6a25bf91",119:"bb25fd18",195:"c7a0a832",201:"d48175e4",264:"1fdb6cd8",292:"6b57b3a4",316:"1f60ada6",337:"cfe9b23a",354:"d4d139cf",479:"872bbac2",485:"9713ca9c",508:"551ead5d",518:"796bffb4",532:"c8006420",533:"1215fd09",547:"7044d2ce",556:"8b2cb780",559:"4bf5ec89",570:"525aa901",576:"0b6c3403",629:"44a1d9a5",643:"ce2308b8",671:"4a609b8d",680:"0fae6afb",700:"85750f83",737:"df799e7f",741:"ac5fd360",799:"e12e73f7",879:"2d5078bf",895:"954da3fe",900:"478afa8a",906:"07298378",910:"628917a6",919:"fdd6cf6a",921:"5e6233b2",928:"9fc8fdd0",953:"16063e72",981:"24da50c7",1006:"fe894cef",1043:"0b56369a",1045:"fd022b89",1048:"37dded57",1070:"b90680fa",1077:"f5977d39",1095:"4848fd00",1114:"9d360341",1144:"c90eccaf",1154:"8cb80842",1211:"c75c70d1",1253:"62655319",1257:"618ab9eb",1274:"5f6ea65a",1276:"aa37a179",1343:"39c513aa",1423:"cd0c2233",1427:"09851dd9",1450:"b476b65d",1461:"197a9b40",1462:"fcf08abc",1470:"7b14d3ca",1475:"b186a387",1477:"54962bdb",1482:"f397612c",1490:"3a89ca18",1512:"a230b5ef",1520:"b9f991ca",1545:"a608ea29",1578:"fe91fd31",1581:"00946ff8",1582:"6a5a12a1",1646:"e6e27b60",1651:"3112f736",1657:"6041de48",1660:"4647fdda",1674:"fe12608b",1678:"837dffc4",1717:"a5c28406",1727:"a061317c",1750:"b9876391",1754:"fbb89bf5",1783:"3a3d1751",1798:"d8177914",1799:"bd3ecf70",1831:"7f8d945f",1836:"c873953e",1855:"fbdd023d",1880:"008b2e2d",1897:"77052b39",1939:"1735f85e",1953:"7415bdf5",1962:"cfd37d77",1993:"735bf317",2011:"59d51f98",2045:"4f50f609",2099:"6de787f8",2102:"193efe41",2130:"df9c5253",2141:"f0eda501",2203:"278ee9b0",2216:"1495add4",2240:"8cee454c",2249:"f4830452",2281:"adf7512d",2300:"83840044",2303:"d9b20c01",2307:"7e010f3c",2338:"b7d303fb",2339:"b76ce685",2386:"192e235c",2396:"4477507b",2404:"9b463199",2412:"d3d03c01",2425:"557a0c9e",2443:"ea4290f0",2460:"911c1e62",2476:"f0b636f3",2494:"ceb762c3",2501:"2a537894",2524:"dddfc235",2538:"de4a3723",2539:"974fd36e",2548:"0b12947c",2570:"c0dc8510",2592:"86eba534",2594:"e87d3761",2603:"6c070ea1",2659:"2d97a5de",2707:"e0a7a155",2763:"099acd60",2806:"54aa2699",2819:"a2afd093",2823:"29bd2909",2829:"37efc31b",2837:"54a82605",2862:"4578f812",2865:"2a2e4654",2884:"cc695e93",2969:"ab3357d7",3006:"9976d75c",3030:"53340e22",3086:"0e8562e8",3133:"9bf3f89c",3141:"04b34fd7",3157:"816f67ec",3183:"ace2a4c2",3198:"8e655451",3212:"58701c02",3247:"71796403",3260:"b841996c",3276:"51ad7042",3317:"43f5a812",3391:"630bf4cd",3433:"154cffaf",3442:"4cb0c435",3443:"9a1c8016",3447:"54b5dd1f",3451:"a1705398",3509:"53aefe1f",3550:"3dc83156",3581:"92a9fa4d",3585:"3f7a76f6",3589:"60e9d5ba",3668:"7bb7dedf",3685:"dbaa795f",3697:"481a10d9",3747:"2f60aef4",3754:"632a2854",3777:"d5b0f2f1",3784:"e9cc2a97",3805:"9dbcb95e",3831:"1165516c",3861:"cf2f3073",3862:"7cc7474a",3873:"2d96c2f0",3885:"f87f7f15",3910:"622aa34b",3951:"c4e191eb",3980:"5dd09f0d",3987:"5cecd51b",4014:"27a8e97c",4017:"43ee7c85",4030:"a1110354",4048:"c61fe3e0",4056:"6aa34634",4058:"a6ef0500",4078:"42445e83",4088:"236723f3",4093:"2c0c29b5",4105:"183b87ee",4144:"672af668",4164:"77efbf04",4216:"bcd3b1e1",4217:"76cba1c3",4227:"54bba644",4259:"14fbd765",4264:"766d6d47",4297:"dc3b858e",4339:"23b6aa33",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f07362e4",4492:"ac4a2474",4496:"11e9fce8",4498:"e61ee7e0",4504:"a177f978",4514:"8e37600d",4520:"e9efd903",4546:"e44a0470",4565:"cd70a302",4572:"c946a4f7",4599:"61def4cb",4610:"bcb1e77d",4621:"954a4cb5",4628:"ece2c60c",4662:"9d21c04d",4685:"c33f1528",4715:"e8730df7",4736:"b43236a2",4741:"decad2c9",4757:"74842fb2",4766:"93d0b6de",4770:"e30d4dc9",4790:"619413e4",4795:"5bff3cb2",4797:"a24e92db",4800:"c6566bd2",4850:"1edda4b7",4888:"ad14d249",4889:"5527ab07",4928:"079af298",4973:"041411a5",4994:"09369ed4",5022:"2e3d7afe",5043:"4fbe7ab3",5048:"a272d0d9",5060:"85dafcc6",5096:"383a9381",5111:"6c03ca16",5117:"53e35db8",5125:"87ae98d7",5148:"c3066eef",5165:"38dd5530",5176:"2025b09b",5177:"76b00f7c",5179:"6b940689",5186:"9ca4540f",5230:"def743f6",5238:"23d5b8f0",5290:"5dabcdc2",5297:"ea1e7944",5307:"116186ba",5319:"5c075be0",5321:"1163c84e",5330:"37b87548",5335:"0d226e4f",5354:"7ae70604",5357:"4831e247",5359:"5db5f145",5382:"948da761",5402:"e6a2b6b1",5416:"454536b7",5434:"38b302a6",5466:"fba43d02",5494:"d89549c4",5518:"0ce78aff",5549:"d50d3317",5572:"5e3b67fe",5573:"68f68fc2",5624:"22d9b7e7",5631:"e00d3d36",5650:"fdd0c3e0",5679:"4a090bef",5694:"41945b00",5705:"9e2bd49b",5729:"17c6258e",5764:"e0d7e586",5775:"cab13a22",5776:"75c4156f",5786:"7612e65f",5798:"ff73e342",5800:"b42d111e",5816:"027ccc68",5841:"ffc2efdb",5876:"5eded409",5888:"faa1801c",5891:"6e154d51",5894:"c5c5778f",5902:"da01aaf8",5915:"f978d04c",5972:"25bd1337",5992:"d4f74d40",6029:"c37d8cad",6034:"376602a8",6045:"d268f87f",6047:"3ce45acd",6063:"4bc3ca5d",6069:"dd334ae6",6080:"563171fd",6095:"612de197",6126:"99519171",6127:"f2b0a653",6170:"0026c6ec",6185:"c86bb6b6",6205:"327c0ad2",6265:"5462edb6",6270:"8685e801",6282:"615df7a1",6328:"a030f412",6366:"259d92db",6378:"7f3a946a",6393:"5afd969e",6411:"3b971528",6434:"d607d3bd",6442:"3bebbd48",6444:"672ab86a",6451:"e811924f",6452:"5c1f8f77",6531:"1e4cd45d",6583:"e0ef5a3d",6587:"73574cb0",6634:"4454ed2d",6637:"494dc421",6651:"52e4c497",6682:"9d9f1449",6685:"e1e473d6",6729:"a6b37871",6741:"41450099",6774:"59d4d618",6776:"76ae7340",6784:"2f136a53",6788:"97112fc6",6789:"20f48904",6796:"47543d44",6820:"e7a7a304",6840:"f780ca7d",6882:"e0dcfcb0",6904:"f9a0b70f",6913:"3987c41f",6963:"a49191f9",6985:"6abb4311",6988:"a7ab0b4b",7042:"5a3a507d",7043:"0e9ab58f",7045:"b11ea690",7058:"5f9896ed",7062:"8ed05d8a",7084:"46ccce72",7099:"ef8e6a7d",7156:"e7466006",7178:"d6dfdd98",7182:"29c5f785",7224:"fd58f5b4",7242:"e9e130d0",7260:"be1b147a",7289:"6657c591",7322:"ae3663ee",7323:"da82d00e",7329:"1f09fcda",7333:"a86d1864",7365:"1005464f",7395:"c9a165b9",7402:"40bdde5a",7460:"bf2188ab",7477:"f8b537d2",7482:"1994e15d",7496:"e5e3cf00",7527:"2f96afe2",7545:"96bfa980",7560:"87225818",7573:"97f85034",7591:"c8233ce9",7614:"1b422242",7622:"7c7c8108",7686:"4fcec9f9",7706:"c2a79e40",7806:"afa78b72",7835:"a22be9a7",7855:"04d12553",7857:"88c2af3d",7883:"4496b29b",7884:"24273397",7901:"c1b052a0",7922:"47cd8852",7964:"29aed9a1",8044:"36feeb2c",8062:"573963bc",8072:"cb4e4ce9",8085:"9f0c26d6",8089:"d536b13a",8115:"05ec3637",8137:"8908d278",8143:"a3f024ca",8145:"6e5d7b68",8155:"7eec0b00",8161:"83c5fa9a",8217:"681eecf6",8237:"c5fd5e0c",8241:"a8cd9944",8286:"d21f973f",8302:"55794970",8332:"f79c9850",8340:"d6a1e60b",8350:"07df8a75",8365:"9aef74f8",8398:"0d32fd15",8431:"f276f265",8435:"29ffda57",8447:"88d86ce7",8458:"653b8481",8479:"15bb84dc",8517:"43660dc2",8552:"f395911e",8561:"333e8ec9",8563:"e65cc9f1",8579:"bf9e8b61",8639:"21c350a0",8665:"5005d459",8688:"c43698bc",8689:"e4aef9a4",8723:"ec155900",8737:"ce7dad23",8776:"0ad26240",8787:"6f3a8d79",8807:"8f09c7a0",8823:"25f50e8d",8827:"5e6efaec",8842:"9f25a3e2",8866:"b404dbfc",8882:"fa19fa55",8885:"924f2f37",8898:"d002bcd8",8909:"ef3f4eb6",8920:"7f82440c",8963:"790aecdd",8965:"bced5018",8999:"2d156215",9039:"24e14a4b",9076:"e4c10d9f",9104:"bbcb2345",9205:"5a3dfcd9",9219:"1b2b7438",9252:"0d791a59",9260:"f163e60e",9366:"1a31fd23",9391:"f51f2e8b",9404:"9fcc3d3e",9406:"0684e9d1",9416:"6e60103e",9417:"66c183bb",9449:"0ae2e57b",9487:"781d2475",9489:"9b6af9e0",9507:"275af19e",9511:"b8bda2ce",9554:"ed358e7b",9559:"f794af19",9595:"3417d4fa",9647:"be75ea5b",9649:"29b9c5fc",9674:"a7c8de8d",9677:"ea069b53",9695:"89941987",9715:"90612066",9716:"40121ad7",9724:"2f674bad",9785:"234d891c",9788:"a7cdf26f",9814:"563600ac",9891:"60f02702",9895:"b8e31ff2",9906:"06c4ccc6",9921:"32e35155",9922:"0145f8b7",9928:"5989f5e0",9944:"5ca0bb39",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1095:"p__virtualSpaces__IndexNew__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3030:"p__virtualSpaces__Lists__Settings__components__Member__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5841:"p__virtualSpaces__Lists__Settings__components__ModuleSettings__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7496:"p__virtualSpaces__Lists__CourseData__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"249d60ed",109:"1a7fc455",119:"5a5d8480",195:"8bc56a44",201:"749be0d6",264:"5fd9b3fc",292:"8c3a8076",337:"497aa9e8",479:"bba9e475",485:"d63578fe",508:"82593858",518:"a22ced2d",532:"1e2e38ec",533:"308bfa22",547:"5581debc",556:"0e9c5cde",559:"b77bb4e8",576:"d99d1af9",643:"22ded693",680:"e67e9e01",700:"26166636",737:"98eb2f74",799:"b1dec428",879:"64e845d8",895:"ad846737",900:"5db55ef3",906:"d2399d94",919:"898b0443",921:"30cc7e9b",928:"0277270a",953:"7554b5f3",1006:"2263131d",1043:"e8c0878b",1045:"bce697db",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1095:"b1804a64",1211:"bdb8faab",1253:"a97ebbb0",1257:"2c6cc63e",1276:"bbc6eeec",1343:"e4e2ebc7",1423:"5c4a76fc",1427:"3d93dfaa",1450:"1edcc2ed",1461:"82857f62",1470:"183c9793",1475:"01717533",1477:"08b9f795",1482:"d159af07",1490:"a0745791",1512:"f3653a35",1520:"f7300d0e",1545:"0da47095",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"55e4f704",1657:"49a2443a",1674:"fdbc1e05",1678:"c99d5f02",1717:"31e8fde2",1727:"4eec53ba",1754:"1f751b14",1783:"bd81beea",1798:"d4c3f3eb",1831:"12095e09",1836:"5f0d3f7f",1855:"b92cccb4",1880:"29bc2b98",1897:"35d10918",1939:"164385ec",1953:"d6d2346f",1962:"84e145fa",1993:"7cc7cf77",2045:"dcfad42d",2099:"95e6fde2",2102:"ec61f9f0",2130:"50dfcc51",2141:"5eb2f330",2203:"6b55d48d",2216:"90f34d3c",2240:"e7cce869",2281:"6a84a8a4",2303:"5a9dc2b1",2307:"b2c54321",2338:"9f251b40",2339:"bf4c6e3d",2396:"1234f229",2404:"08d36549",2412:"4490ba2a",2425:"47b23ee4",2443:"2f614807",2460:"03cdfb68",2476:"cf85a190",2501:"2441982c",2524:"6e1463fc",2539:"43c55c4d",2548:"75182034",2570:"ecab12cb",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"066a1e3c",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"67c37a4e",2865:"6ef3cf6b",2884:"405c2ef9",3006:"7fce4e74",3030:"1625c079",3086:"d0ebac07",3141:"2cf1223c",3157:"d0ba1925",3183:"b2253f40",3212:"ad1521c1",3247:"50105eb7",3260:"ee8e2fb8",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"9a871026",3442:"bdf7849c",3443:"898b0443",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"968e165a",3585:"5f288e7b",3668:"1a8ed604",3685:"5356e3de",3747:"c50b2b70",3784:"c81d4a51",3831:"4987c55d",3873:"9b32f93d",3910:"658d457f",3951:"9b11b034",3980:"02fcc53a",4030:"d3df931a",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"7d2dbef2",4105:"7f9d4513",4144:"f10aa199",4164:"2e8b2a11",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"0d7e3efe",4339:"9de29759",4449:"e68d8d58",4492:"9fd5ba05",4496:"77babddd",4498:"e1d76eaf",4504:"b05222a6",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"6327db8f",4610:"687005a6",4621:"4c789bfa",4662:"30b29314",4715:"0ae28d0a",4736:"aa2d53d9",4741:"c51f7784",4757:"a9051ae2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4888:"54df8e37",4889:"a91da64a",4928:"7c2ece62",4973:"129c56e8",4994:"a8674b97",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"4358a2fb",5125:"57501e4a",5148:"572faeac",5165:"dc6d9bc6",5176:"9c49e7fa",5177:"b612c017",5179:"699b44a8",5186:"30047116",5230:"94dfecf3",5238:"c2de81d6",5297:"5426028f",5307:"5e9c4598",5319:"34217c3f",5330:"5b911c36",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"28b79a42",5402:"68063d1e",5466:"90694dbb",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"685b3a03",5650:"f8f63f4b",5694:"fc68e7f6",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"e07b4b49",5786:"37a81eaa",5798:"ce1cf7da",5800:"f214b296",5816:"2fe25dcc",5841:"26ff5194",5888:"193a7f8f",5891:"329555dc",5894:"4faa35bb",5915:"bc9c3e69",5972:"f9c71ce7",5992:"419f5d2f",6029:"3f8b2a62",6063:"2c0a986c",6069:"5e1528e7",6080:"175c7992",6127:"f31505a8",6185:"4617aa93",6205:"6eef461f",6265:"ab7c4ade",6270:"5496b206",6282:"37b2b2dd",6328:"de2b9d62",6366:"079fc2d8",6434:"c5a95b1e",6444:"fd46d237",6451:"949d91e5",6452:"50a6d310",6583:"56bd7407",6587:"9c49e7fa",6634:"9c6f4980",6637:"cd627031",6651:"b07fe216",6682:"d2765c91",6685:"cc9a5255",6729:"aea3b7f5",6741:"b838eb14",6776:"e7f1be47",6784:"1affe817",6789:"bb555561",6796:"88ef2b35",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6988:"d1510090",7042:"898b0443",7043:"25478869",7045:"48f6fc4c",7058:"7c5ff3cf",7062:"7d38b05d",7099:"e6e46152",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"c6aafe55",7322:"f372c040",7323:"3e11a2bc",7329:"4677c004",7395:"ff574c5d",7402:"c3bf3e69",7460:"dedd2038",7477:"b45b8d42",7482:"c37a3f01",7496:"ef5973db",7527:"a4765b7e",7545:"88c2815e",7560:"d82e43ca",7614:"de9ee12f",7622:"79b56687",7806:"80b7b1d6",7835:"28d790d7",7855:"d9440df4",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"505c3349",7922:"49f2762f",8062:"8e384b9f",8072:"540f746b",8085:"a1cadc76",8115:"47861430",8137:"66f37f26",8143:"baf130b5",8145:"0eefaae0",8155:"d345abd7",8217:"000115b7",8237:"cc24fd46",8241:"fd65c68b",8286:"4b01dd59",8332:"a10509a3",8398:"7bb61fdd",8431:"289b326c",8435:"c54dbac3",8447:"08ed94d4",8458:"ddd4164b",8479:"ef522a60",8517:"cccfddad",8552:"208da293",8563:"b1f16cfe",8579:"c4e34db8",8665:"c52575bc",8688:"c044db56",8689:"38303690",8723:"77277ca8",8787:"121de108",8823:"1fa2bc19",8827:"14015163",8866:"9d5c30f8",8882:"f3e42f72",8885:"de905169",8965:"f169309d",8999:"448aa22f",9039:"4e72f6be",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"df76000e",9416:"bc1cc3b9",9449:"81d55bec",9487:"a73f5679",9489:"ee2bb5b7",9507:"af07d346",9511:"4a147f76",9595:"898b0443",9647:"bea72042",9649:"00fb4211",9674:"5f24eb80",9677:"18c220c4",9695:"7288e7ae",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"43a2ed2d",9814:"9f959c59",9891:"512a9301",9906:"c603619a",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,_){return Object.prototype.hasOwnProperty.call(d,_)}}(),function(){var d={};__webpack_require__.l=function(_,e,r,i){if(d[_]){d[_].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),u=0;u{const $=Xf(t,s,X)||Xf(D,s,X)||Xf(v,s,X);return $&&(U[X]=$),U},{})}function Xf(D,t,n){return D&&D.hasAttributeNS(t,n)?D.getAttributeNS(t,n):null}function Wf(D){return new Error(`Could not parse ttml timestamp ${D}`)}function ff(D,t){if(!D)return null;let n=Lf(D);return n===null&&(Cf.test(D)?n=id(D,t):Tf.test(D)&&(n=Hf(D,t))),n}function id(D,t){const n=Cf.exec(D),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function Hf(D,t){const n=Tf.exec(D),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Nf{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ad{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(u.FRAG_LOADING,this.onFragLoading,this),t.on(u.FRAG_LOADED,this.onFragLoaded,this),t.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(u.FRAG_LOADING,this.onFragLoading,this),t.off(u.FRAG_LOADED,this.onFragLoaded,this),t.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Nf(this,"textTrack1"),n=new Nf(this,"textTrack2"),s=new Nf(this,"textTrack3"),v=new Nf(this,"textTrack4");this.cea608Parser1=new wl(1,t,n),this.cea608Parser2=new wl(3,s,v)}addCues(t,n,s,v,w){let P=!1;for(let U=w.length;U--;){const X=w[U],$=Gf(X[0],X[1],n,s);if($>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),P=!0,$/(s-n)>.5))return}if(P||w.push([n,s]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,s,v)}else{const U=this.Cues.newCue(null,n,s,v);this.hls.trigger(u.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:w,trackId:P}){const{unparsedVttFrags:U}=this;s===o.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:w,trackId:P}),U.length&&(this.unparsedVttFrags=[],U.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(u.FRAG_LOADED,X):this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let v=0;v{is(v[w]),delete v[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sw.textCodec===uu);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Kc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const P=this.media,U=P?Jl(P.textTracks):null;if(this.tracks.forEach((X,$)=>{let ue;if(U){let de=null;for(let xe=0;xe$!==null).map($=>$.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const P=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:P})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const v=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!v)return;const w=`textTrack${v[1]}`,P=this.captionsProperties[w];P&&(P.label=s.name,s.lang&&(P.languageCode=s.lang),P.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===o.MAIN){var s,v;const{cea608Parser1:w,cea608Parser2:P,lastSn:U}=this,{cc:X,sn:$}=n.frag,ue=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;w&&P&&($!==U+1||$===U&&ue!==this.lastPartIndex+1||X!==this.lastCc)&&(w.reset(),P.reset()),this.lastCc=X,this.lastSn=$,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===o.SUBTITLE)if(v.byteLength){const w=s.decryptdata,P="stats"in n;if(w==null||!w.encrypted||P){const U=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===uu?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;zc(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:w,unparsedVttFrags:P}=this,U=w.length-1;if(!w[s.cc]&&U===-1){P.push(t);return}const X=this.hls,$=(n=s.initSegment)!=null&&n.data?Yt(s.initSegment.data,new Uint8Array(v)).buffer:v;Uc($,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const de=ue.message==="Missing initPTS for VTT MPEGTS";de?P.push(t):this._fallbackToIMSC1(s,v),X.logger.log(`Failed to parse VTT cue: ${ue}`),!(de&&U>s.cc)&&X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||zc(n,this.initPTS[t.cc],()=>{s.textCodec=uu,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[n];if(!v||v.mode==="disabled")return;t.forEach(w=>Yo(v,w))}else{const v=this.tracks[n];if(!v)return;const w=v.default?"default":"subtitles"+n;s.trigger(u.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===o.SUBTITLE&&this.onFragLoaded(u.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:v}=n;if(!(s.type===o.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;wPo(U[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(X=>Po(U[X],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let w=0;w=16?X--:X++;const ke=ll($.trim()),Re=lf(t,n,ke);D!=null&&(de=D.cues)!=null&&de.getCueById(Re)||(P=new ue(t,n,ke),P.id=Re,P.line=xe+1,P.align="left",P.position=10+Math.min(80,Math.floor(X*8/32)*10),v.push(P))}return D&&v.length&&(v.sort((xe,ke)=>xe.line==="auto"||ke.line==="auto"?0:xe.line>8&&ke.line>8?ke.line-xe.line:xe.line-ke.line),v.forEach(xe=>Yo(D,xe))),v}};function ge(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(D){}return!1}const Oe=/(\d+)-(\d+)\/(\d+)/;class tt{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||gn,this.controller=new self.AbortController,this.stats=new j}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const w=Ut(t,this.controller.signal),P=t.responseType==="arraybuffer",U=P?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(ho(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(de=>{var xe;this.response=this.loader=de;const ke=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},$-(ke-v.loading.start)),!de.ok){const{status:it,statusText:nt}=de;throw new Di(nt||"fetch, bad network response",it,de)}v.loading.first=ke,v.total=Rr(de.headers)||v.total;const Re=(xe=this.callbacks)==null?void 0:xe.onProgress;return Re&&r(n.highWaterMark)?this.loadProgressively(de,v,t,n.highWaterMark,Re):P?de.arrayBuffer():t.responseType==="json"?de.json():de.text()}).then(de=>{var xe,ke;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const it=de[U];it&&(v.loaded=v.total=it);const nt={url:Re.url,data:de,code:Re.status},qt=(xe=this.callbacks)==null?void 0:xe.onProgress;qt&&!r(n.highWaterMark)&&qt(v,t,de,Re),(ke=this.callbacks)==null||ke.onSuccess(nt,v,t,Re)}).catch(de=>{var xe;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const ke=de&&de.code||0,Re=de?de.message:null;(xe=this.callbacks)==null||xe.onError({code:ke,text:Re},t,de?de.details:null,v)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,v=0,w){const P=new Ar,U=t.body.getReader(),X=()=>U.read().then($=>{if($.done)return P.dataLength&&w(n,s,P.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=$.value,de=ue.length;return n.loaded+=de,de=v&&w(n,s,P.flush().buffer,t)):w(n,s,ue.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Ut(D,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},D.headers))};return D.rangeEnd&&n.headers.set("Range","bytes="+D.rangeStart+"-"+String(D.rangeEnd-1)),n}function dr(D){const t=Oe.exec(D);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Rr(D){const t=D.get("Content-Range");if(t){const s=dr(t);if(r(s))return s}const n=D.get("Content-Length");if(n)return parseInt(n)}function gn(D,t){return new self.Request(D.url,t)}class Di extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Ua=/^age:\s*[\d.]+\s*$/im;class Vn{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new j,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(P=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(P=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:P.message},n,s,v)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const v=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:P}=s.loadPolicy;if(v)for(const U in v)t.setRequestHeader(U,v[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:P,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const v=n.readyState,w=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ue=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const Re=ue!=null?ue:n.response;if(Re!=null){var P,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const it=n.responseType==="arraybuffer"?Re.byteLength:Re.length;s.loaded=s.total=it,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const nt=(P=this.callbacks)==null?void 0:P.onProgress;nt&&nt(s,t,Re,n);const qt={url:n.responseURL,data:Re,code:$};(U=this.callbacks)==null||U.onSuccess(qt,s,t,n);return}}const de=w.loadPolicy.errorRetry,xe=s.retry,ke={url:t.url,data:void 0,code:$};if(lt(de,xe,!1,ke))this.retry(de);else{var X;V.error(`${$} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:$,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(lt(t,n,!0))this.retry(t);else{var s;V.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=qn(t,s.retry),s.retry++,V.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Ua.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const ca={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},za=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:Vn,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:ve,bufferController:vo,capLevelController:Al,errorController:$r,fpsController:ds,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:wu,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:ca},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},ka()),{},{subtitleStreamController:Pl,subtitleTrackController:Bc,timelineController:ad,audioStreamController:$c,audioTrackController:Dl,emeController:Ie,cmcdController:xf,contentSteeringController:O,interstitialsController:Ef});function ka(){return{cueHandler:z,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function an(D,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Ur(D),v=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(P=>{const U=`${P==="level"?"playlist":P}LoadPolicy`,X=t[U]===void 0,$=[];w.forEach(ue=>{const de=`${P}Loading${ue}`,xe=t[de];if(xe!==void 0&&X){$.push(de);const ke=s[U].default;switch(t[U]={default:ke},ue){case"TimeOut":ke.maxLoadTimeMs=xe,ke.maxTimeToFirstByteMs=xe;break;case"MaxRetry":ke.errorRetry.maxNumRetry=xe,ke.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":ke.errorRetry.retryDelayMs=xe,ke.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":ke.errorRetry.maxRetryDelayMs=xe,ke.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${U}": ${zi(t[U])}`)}),b(b({},s),t)}function Ur(D){return D&&typeof D=="object"?Array.isArray(D)?D.map(Ur):Object.keys(D).reduce((t,n)=>(t[n]=Ur(D[n]),t),{}):D}function nn(D,t){const n=D.loader;n!==tt&&n!==Vn?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),D.progressive=!1):ge()&&(D.loader=tt,D.progressive=!0,D.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Dn=2,zn=.1,Ya=.05,Wi=100;class Xa extends to{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Wi),this.mediaSource=n.mediaSource;const s=this.media=n.media;ja(s,"playing",this.onMediaPlaying),ja(s,"waiting",this.onMediaWaiting),ja(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(os(s,"playing",this.onMediaPlaying),os(s,"waiting",this.onMediaWaiting),os(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,v;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const P=this.media;if(!P)return;const{seeking:U}=P,X=this.seeking&&!U,$=!this.seeking&&U,ue=P.paused&&!U||P.ended||P.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if($||X){X&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&P.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1}));return}if(!mi.getBuffered(P).length){this.nudgeRetry=0;return}const de=mi.bufferInfo(P,t,0),xe=de.nextStart||0,ke=this.fragmentTracker;if(U&&ke&&this.hls){const vn=hs(this.hls.inFlightFragments,t),Zr=de.len>Dn,cn=!xe||vn||xe-t>Dn&&!ke.getPartialFragment(t);if(Zr||cn)return;this.moved=!1}const Re=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ke){if(!(de.len>0)&&!xe)return;const Zr=Math.max(xe,de.start||0)-t,un=!!(Re!=null&&Re.live)?Re.targetduration*2:Dn,qr=Ul(t,ke);if(Zr>0&&(Zr<=un||qr)){P.paused||this._trySkipBufferHole(qr);return}}const it=w.detectStallWithCurrentTimeMs,nt=self.performance.now(),qt=this.waiting;let ir=this.stalled;if(ir===null)if(qt>0&&nt-qt=it||qt)&&this.hls){var Cr;if(((Cr=this.mediaSource)==null?void 0:Cr.readyState)==="ended"&&!(Re!=null&&Re.live)&&Math.abs(t-((Re==null?void 0:Re.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(de),!this.media||!this.hls)return}const zr=mi.bufferInfo(P,t,w.maxBufferHole);this._tryFixBufferStall(zr,lr,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(u.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&v&&v.length>1&&t>v.end(0)){const w=mi.bufferedInfo(mi.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const P=mi.timeRangesToArray(v),U=mi.bufferedInfo(P,n,0).bufferedIndex;if(U>-1&&UU)&&ue-$<1&&t-$<2){const de=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ue} buffered index: ${X}`);this.warn(de.message),this.media.currentTime+=1e-6;let xe=Ul(t,this.fragmentTracker);xe&&"fragment"in xe?xe=xe.fragment:xe||(xe=void 0);const ke=mi.bufferInfo(this.media,t,0);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:de,reason:de.message,frag:xe,buffer:ke.len,bufferInfo:ke})}}}}}_tryFixBufferStall(t,n,s){var v,w;const{fragmentTracker:P,media:U}=this,X=(v=this.hls)==null?void 0:v.config;if(!U||!P||!X)return;const $=(w=this.hls)==null?void 0:w.latestLevelDetails,ue=Ul(s,P);if((ue||$!=null&&$.live&&s<$.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const de=t.buffered,xe=this.adjacentTraversal(t,s);(de&&de.length>1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-sX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,v=t.nextStart;if(s&&v){const w=s.getFragAtPos(n,o.MAIN),P=s.getFragAtPos(v,o.MAIN);if(w&&P)return P.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:w}=this;if(!v&&w!==null&&s&&n){this.stallReported=!0;const P=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${zi(t)})`);this.warn(P.message),n.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:P,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,w=(n=this.hls)==null?void 0:n.config;if(!v||!s||!w)return 0;const P=v.currentTime,U=mi.bufferInfo(v,P,0),X=P0&&U.len<1&&v.readyState<3,xe=X-P;if(xe>0&&(ue||de)){if(xe>w.maxBufferHole){let Re=!1;if(P===0){const it=s.getAppendedFrag(0,o.MAIN);it&&X{const D=od();try{D&&new D(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Sd{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(u.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&is(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;ned&&(de=ed),de-ue<=0&&(de=ue+sd);for(let ke=0;ke<$.length;ke++){const Re=$[ke];if(!Sr(Re)){this.updateId3CueEnds(ue,X);const it=ud(P,ue,de,Re,X);it&&this.id3Track.addCue(it)}}}}updateId3CueEnds(t,n){var s;const v=(s=this.id3Track)==null?void 0:s.cues;if(v)for(let w=v.length;w--;){const P=v[w];P.type===n&&P.startTimeue.type===yn.audioId3&&X:v==="video"?$=ue=>ue.type===yn.emsg&&U:$=ue=>ue.type===yn.audioId3&&X||ue.type===yn.emsg&&U,Po(w,n,s,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:v,enableDateRangeMetadataCues:w,interstitialsController:P}=this.hls.config;if(!w)return;const U=od();if(s&&v&&!P){const{fragmentStart:it,fragmentEnd:nt}=t;let qt=this.assetCue;qt?(qt.startTime=it,qt.endTime=nt):U&&(qt=this.assetCue=ud(U,it,nt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),qt&&(qt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(qt),qt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:$}=t,ue=Object.keys($);let de=this.dateRangeCuesAppended;if(X&&n){var xe;if((xe=X.cues)!=null&&xe.length){const it=Object.keys(de).filter(nt=>!ue.includes(nt));for(let nt=it.length;nt--;){var ke;const qt=it[nt],ir=(ke=de[qt])==null?void 0:ke.cues;delete de[qt],ir&&Object.keys(ir).forEach(lr=>{const Cr=ir[lr];if(Cr){Cr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Cr)}catch(zr){}}})}}else de=this.dateRangeCuesAppended={}}const Re=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Re==null?void 0:Re.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let it=0;it{if(Si!==qt.id){const Vi=$[Si];if(Vi.class===qt.class&&Vi.startDate>qt.startDate&&(!kn||qt.startDate.01&&(Si.startTime=ir,Si.endTime=vn);else if(U){let Vi=qt.attr[kn];Wo(kn)&&(Vi=H(Vi));const Yi=ud(U,ir,vn,{key:kn,data:Vi},yn.dateRange);Yi&&(Yi.id=nt,this.id3Track.addCue(Yi),Cr[kn]=Yi,P&&(kn==="X-ASSET-LIST"||kn==="X-ASSET-URL")&&Yi.addEventListener("enter",this.onEventCueEnter))}}de[nt]={cues:Cr,dateRange:qt,durationKnown:zr}}}}}class Ad{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:P}=this.config;if(!w||P===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const X=v-U,$=Math.min(this.maxLatency,U+s.targetduration);if(X<$&&X>.05&&this.forwardBufferLength>1){const de=Math.min(2,Math.max(1,P)),xe=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,ke=Math.min(de,Math.max(1,xe));this.changeMediaPlaybackRate(n,ke)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:v}=t,{liveSyncDuration:w,liveSyncDurationCount:P,lowLatencyMode:U}=this.config,X=this.hls.userConfig;let $=U&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||$===0)&&($=w!==void 0?w:P*v);const ue=v;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const v=s.edge,w=t-n-this.edgeStalled,P=v-s.totalduration,U=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(P,w),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,v;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Cd extends Ao{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this),t.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this),t.off(u.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,v=[],w={},P={};let U=!1,X=!1,$=!1;n.levels.forEach(ue=>{const de=ue.attrs;let{audioCodec:xe,videoCodec:ke}=ue;xe&&(ue.audioCodec=xe=pt(xe,s)||void 0),ke&&(ke=ue.videoCodec=Jt(ke));const{width:Re,height:it,unknownCodecs:nt}=ue,qt=(nt==null?void 0:nt.length)||0;if(U||(U=!!(Re&&it)),X||(X=!!ke),$||($=!!xe),qt||xe&&!this.isAudioSupported(xe)||ke&&!this.isVideoSupported(ke)){this.log(`Some or all CODECS not supported "${de.CODECS}"`);return}const{CODECS:ir,"FRAME-RATE":lr,"HDCP-LEVEL":Cr,"PATHWAY-ID":zr,RESOLUTION:vn,"VIDEO-RANGE":Zr}=de,un=`${`${zr||"."}-`}${ue.bitrate}-${vn}-${lr}-${ir}-${Zr}-${Cr}`;if(w[un])if(w[un].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const qr=P[un]+=1;ue.attrs["PATHWAY-ID"]=new Array(qr+1).join(".");const kn=this.createLevel(ue);w[un]=kn,v.push(kn)}else w[un].addGroupId("audio",de.AUDIO),w[un].addGroupId("text",de.SUBTITLES);else{const qr=this.createLevel(ue);w[un]=qr,P[un]=1,v.push(qr)}}),this.filterAndSortMediaOptions(v,n,U,X,$)}createLevel(t){const n=new pi(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(v.message),n.supportedResult=Lt(v,[])}return n}isAudioSupported(t){return Ae(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ae(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,w){var P;let U=[],X=[],$=t;const ue=((P=n.stats)==null?void 0:P.parsing)||{};if((s||v)&&w&&($=$.filter(({videoCodec:ir,videoRange:lr,width:Cr,height:zr})=>(!!ir||!!(Cr&&zr))&&Mi(lr))),$.length===0){Promise.resolve().then(()=>{if(this.hls){let ir="no level with compatible codecs found in manifest",lr=ir;n.levels.length&&(lr=`one or more CODECS in variant not supported: ${zi(n.levels.map(zr=>zr.attrs.CODECS).filter((zr,vn,Zr)=>Zr.indexOf(zr)===vn))}`,this.warn(lr),ir+=` (${lr})`);const Cr=new Error(ir);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:Cr,reason:lr})}}),ue.end=performance.now();return}n.audioTracks&&(U=n.audioTracks.filter(ir=>!ir.audioCodec||this.isAudioSupported(ir.audioCodec)),hd(U)),n.subtitles&&(X=n.subtitles,hd(X));const de=$.slice(0);$.sort((ir,lr)=>{if(ir.attrs["HDCP-LEVEL"]!==lr.attrs["HDCP-LEVEL"])return(ir.attrs["HDCP-LEVEL"]||"")>(lr.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&ir.height!==lr.height)return ir.height-lr.height;if(ir.frameRate!==lr.frameRate)return ir.frameRate-lr.frameRate;if(ir.videoRange!==lr.videoRange)return ni.indexOf(ir.videoRange)-ni.indexOf(lr.videoRange);if(ir.videoCodec!==lr.videoCodec){const Cr=et(ir.videoCodec),zr=et(lr.videoCodec);if(Cr!==zr)return zr-Cr}if(ir.uri===lr.uri&&ir.codecSet!==lr.codecSet){const Cr=bt(ir.codecSet),zr=bt(lr.codecSet);if(Cr!==zr)return zr-Cr}return ir.averageBitrate!==lr.averageBitrate?ir.averageBitrate-lr.averageBitrate:0});let xe=de[0];if(this.steering&&($=this.steering.filterParsedLevels($),$.length!==de.length)){for(let ir=0;irCr&&Cr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=zr)}break}const Re=w&&!v,it=this.hls.config,nt=!!(it.audioStreamController&&it.audioTrackController),qt={levels:$,audioTracks:U,subtitleTracks:X,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:v,altAudio:nt&&!Re&&U.some(ir=>!!ir.url)};ue.end=performance.now(),this.hls.trigger(u.MANIFEST_PARSED,qt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ue=new Error("invalid level idx"),de=t<0;if(this.hls.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:de,error:ue,reason:ue.message}),de)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,w=v?v.attrs["PATHWAY-ID"]:void 0,P=n[t],U=P.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=P,s===t&&v&&w===U)return;this.log(`Switching to level ${t} (${P.height?P.height+"p ":""}${P.videoRange?P.videoRange+" ":""}${P.codecSet?P.codecSet+" ":""}@${P.bitrate})${U?" with Pathway "+U:""} from level ${s}${w?" with Pathway "+w:""}`);const X={level:t,attrs:P.attrs,details:P.details,bitrate:P.bitrate,averageBitrate:P.averageBitrate,maxBitrate:P.maxBitrate,realBitrate:P.realBitrate,width:P.width,height:P.height,codecSet:P.codecSet,audioCodec:P.audioCodec,videoCodec:P.videoCodec,audioGroups:P.audioGroups,subtitleGroups:P.subtitleGroups,loaded:P.loaded,loadError:P.loadError,fragmentError:P.fragmentError,name:P.name,id:P.id,uri:P.uri,url:P.url,urlId:0,audioGroupIds:P.audioGroupIds,textGroupIds:P.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,X);const $=P.details;if(!$||$.live){const ue=this.switchParams(P.uri,v==null?void 0:v.details,$);this.loadPlaylist(ue)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(v=>n.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===o.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))return;const v=this._levels[n.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,n){var s;const{level:v,details:w}=n,P=n.levelInfo;if(!P){var U;this.warn(`Invalid level index ${v}`),(U=n.deliveryDirectives)!=null&&U.skip&&(w.deltaUpdateFailed=!0);return}if(P===this.currentLevel||n.withoutMultiVariant){P.fragmentError===0&&(P.loadError=0);let X=P.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(v,n,X)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),v=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],P=t.details,U=P==null?void 0:P.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${U&&P.live?" age "+U.toFixed(1)+(P.type?" "+P.type||0:""):""} ${s}`),this.hls.trigger(u.LEVEL_LOADING,{url:s,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,P)=>P!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(U=>U.level=-1)),!1));Ra(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=s.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(u.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function hd(D){const t={};D.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function pd(){return self.SourceBuffer||self.WebKitSourceBuffer}function md(){if(!ae())return!1;const t=pd();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Td(){if(!md())return!1;const D=ae();return typeof(D==null?void 0:D.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>D.isTypeSupported(ze(t,"video")))||["mp4a.40.2","fLaC"].some(t=>D.isTypeSupported(ze(t,"audio"))))}function Pd(){var D;const t=pd();return typeof(t==null||(D=t.prototype)==null?void 0:D.changeType)=="function"}const vd=100;class _d extends Bt{constructor(t,n,s){super(t,n,s,"stream-controller",o.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,w=v?v.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const P=this.getFwdBufferInfoAtPos(v,w,o.MAIN,0);if(P===null||P.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${P?P.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(u.MANIFEST_PARSED,this.onManifestParsed,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(u.BUFFER_CREATED,this.onBufferCreated,this),t.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(u.MANIFEST_PARSED,this.onManifestParsed,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(u.BUFFER_CREATED,this.onBufferCreated,this),t.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:v}=this;if(this.stopLoad(),this.setInterval(vd),this.level=-1,!this.startFragRequested){let w=v.startLevel;w===-1&&(v.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=v.firstAutoLevel),v.nextLoadLevel=w,this.level=v.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Pe.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Pe.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Pe.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],v=s==null?void 0:s.details;if(v&&(!v.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(v))break;this.state=Pe.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Pe.IDLE;break}break}case Pe.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Pe.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:v}=this;if(n===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const P=s[w],U=this.getMainFwdBufferInfo();if(U===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(U,X)){const it={};this.altAudio===2&&(it.type="video"),this.hls.trigger(u.BUFFER_EOS,it),this.state=Pe.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const $=P.details;if(!$||this.state===Pe.WAITING_LEVEL||this.waitForLive(P)){this.level=w,this.state=Pe.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=U.len,de=this.getMaxBufferLength(P.maxBitrate);if(ue>=de)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let ke=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&ke&&Ee(ke)&&this.fragmentTracker.getState(ke)!==pn.OK){var Re;const nt=((Re=this.backtrackFragment)!=null?Re:ke).sn-$.startSN,qt=$.fragments[nt-1];qt&&ke.cc===qt.cc&&(ke=qt,this.fragmentTracker.removeFragment(qt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(ke&&this.isLoopLoading(ke,xe)){if(!ke.gap){const nt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,qt=(nt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;qt&&this.afterBufferFlushed(qt,nt,o.MAIN)}ke=this.getNextFragmentLoopLoading(ke,$,U,o.MAIN,de)}ke&&(ke.initSegment&&!ke.initSegment.data&&!this.bitrateTest&&(ke=ke.initSegment),this.loadFragment(ke,P,xe))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===pn.NOT_LOADED||v===pn.PARTIAL?Ee(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,o.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const v=this.getAppendedFrag(n.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const U=this.getMainFwdBufferInfo();if(!U||U.len=P-n.maxFragLookUpTolerance&&w<=U;if(v!==null&&s.duration>v&&(w{this.hls&&this.hls.trigger(u.AUDIO_TRACK_SWITCHED,n)}),s.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(u.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ut(n.url,this.hls);if(s){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let v,w,P=!1;for(const U in s){const X=s[U];if(X.id==="main"){if(w=U,v=X,U==="video"){const $=s[U];$&&(this.videoBuffer=$.buffer)}}else P=!0}P&&v?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,w=s.type===o.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${v?" p: "+v.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Pe.PARSED&&(this.state=Pe.IDLE);return}const U=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Ee(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const P=this.media;P&&(!this._hasEnoughToStart&&mi.getBuffered(P).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Pe.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(o.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Pe.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Pe.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Pe.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,o.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(X<$||this.loadingParts&&X<2*((w==null?void 0:w.partTarget)||0)))&&(this.log(`adjusting start position by ${X} to match buffer start`),s+=X,this.startPosition=s),n{const{hls:v}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=Pe.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const P=w.stats;P.parsing.start=P.parsing.end=P.buffering.start=P.buffering.end=self.performance.now(),v.trigger(u.FRAG_LOADED,s),w.bitrateTest=!1}).catch(s=>{this.state===Pe.STOPPED||this.state===Pe.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:v,chunkMeta:w}=t,P=this.getCurrentContext(w);if(!P){this.resetWhenMissingContext(w);return}const{frag:U,part:X,level:$}=P,{video:ue,text:de,id3:xe,initSegment:ke}=v,{details:Re}=$,it=this.altAudio?void 0:v.audio;if(this.fragContextChanged(U)){this.fragmentTracker.removeFragment(U);return}if(this.state=Pe.PARSING,ke){const nt=ke.tracks;if(nt){const Cr=U.initSegment||U;if(this.unhandledEncryptionError(ke,U))return;this._bufferInitSegment($,nt,Cr,w),s.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Cr,id:n,tracks:nt})}const qt=ke.initPTS,ir=ke.timescale,lr=this.initPTS[U.cc];if(r(qt)&&(!lr||lr.baseTime!==qt||lr.timescale!==ir)){const Cr=ke.trackId;this.initPTS[U.cc]={baseTime:qt,timescale:ir,trackId:Cr},s.trigger(u.INIT_PTS_FOUND,{frag:U,id:n,initPTS:qt,timescale:ir,trackId:Cr})}}if(ue&&Re){it&&ue.type==="audiovideo"&&this.logMuxedErr(U);const nt=Re.fragments[U.sn-1-Re.startSN],qt=U.sn===Re.startSN,ir=!nt||U.cc>nt.cc;if(v.independent!==!1){const{startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn}=ue;if(X)X.elementaryStreams[ue.type]={startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn};else if(ue.firstKeyFrame&&ue.independent&&w.id===1&&!ir&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Zr=this.getMainFwdBufferInfo(),cn=(Zr?Zr.end:this.getLoadPosition())+this.config.maxBufferHole,un=ue.firstKeyFramePTS?ue.firstKeyFramePTS:lr;if(!qt&&cnDn&&(U.gap=!0);U.setElementaryStreamInfo(ue.type,lr,Cr,zr,vn),this.backtrackFragment&&(this.backtrackFragment=U),this.bufferFragmentData(ue,U,X,w,qt||ir)}else if(qt||ir)U.gap=!0;else{this.backtrack(U);return}}if(it){const{startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}=it;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}),U.setElementaryStreamInfo(ie.AUDIO,nt,qt,ir,lr),this.bufferFragmentData(it,U,X,w)}if(Re&&xe!=null&&xe.samples.length){const nt={id:n,frag:U,details:Re,samples:xe.samples};s.trigger(u.FRAG_PARSING_METADATA,nt)}if(Re&&de){const nt={id:n,frag:U,details:Re,samples:de.samples};s.trigger(u.FRAG_PARSING_USERDATA,nt)}}logMuxedErr(t){this.warn(`${Ee(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==Pe.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:P,audiovideo:U}=n;if(w){const $=t.audioCodec;let ue=on(w.codec,$);ue==="mp4a"&&(ue="mp4a.40.5");const de=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const xe=w.metadata;xe&&"channelCount"in xe&&(xe.channelCount||1)!==1&&de.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&de.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),$&&$!==ue&&this.log(`Swapping manifest audio codec "${$}" for "${ue}"`),w.levelCodec=ue,w.id=o.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ue||""}/${$||""}/${w.codec}]`),delete n.audiovideo}if(P){P.levelCodec=t.videoCodec,P.id=o.MAIN;const $=P.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":P.codec="hvc1.1.6.L120.90";break;case"av01":P.codec="av01.0.04M.08";break;case"avc1":P.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${P.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${P.codec!==$?" parsed-corrected="+P.codec:""}${P.supplemental?" supplemental="+P.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(u.BUFFER_CODECS,n),!this.hls)return;X.forEach($=>{const de=n[$].initSegment;de!=null&&de.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:$,data:de,frag:s,part:null,chunkMeta:v,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,o.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Pe.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(mi.isBuffered(t,s)?n=this.getAppendedFrag(s):mi.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,w=n.level;(!v||n.sn!==v.sn||v.level!==w)&&(this.fragPlaying=n,this.hls.trigger(u.FRAG_CHANGED,{frag:n}),(!v||v.level!==w)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:w}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),v=this.currentFrag||(s?pr(null,s.fragments,n):null);if(v){const w=v.programDateTime;if(w!==null){const P=w+(n-v.start)*1e3;return new Date(P)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Id extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[s].loader;if(v){var n;if(t&&t!==((n=v.context)==null?void 0:n.frag.type))return;v.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,w){return new Ji({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:v})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let v=0,w=n.length;v{if(!this.emeController)return;P.setKeyFormat(U);const X=Qo(U);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const v=Mo(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,v;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const P=w.uri;if(!P)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${P}"`)));const U=ld(w);let X=this.keyIdToKeyInfo[U];if((s=X)!=null&&s.decryptdata.key)return w.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(v=X)!=null&&v.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(ue=>{const{keyInfo:de}=ue;return w.key=de.decryptdata.key,{frag:t,keyInfo:de}})}switch(this.log(`${this.keyIdToKeyInfo[U]?"Rel":"L"}oading${w.keyId?" keyId: "+q(w.keyId):""} URI: ${w.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[U]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var v;if(!t.decryptdata.keyId&&(v=n.initSegment)!=null&&v.data){const P=ht(n.initSegment.data);if(P.length){const U=P[0];U.some(X=>X!==0)&&(this.log(`Using keyId found in init segment ${q(U)}`),t.decryptdata.keyId=U,Go.setKeyIdForUri(t.decryptdata.uri,U))}}const w=this.emeController.loadKey(s);return(t.keyLoadPromise=w.then(P=>(t.mediaKeySessionContext=P,s))).catch(P=>{throw t.keyLoadPromise=null,"data"in P&&(P.data.frag=n),P})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,w=new v(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((P,U)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=s.keyLoadPolicy.default,ue={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(xe,ke,Re,it)=>{const{frag:nt,keyInfo:qt}=Re,ir=ld(qt.decryptdata);if(!nt.decryptdata||qt!==this.keyIdToKeyInfo[ir])return U(this.createKeyLoadError(nt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),it));qt.decryptdata.key=nt.decryptdata.key=new Uint8Array(xe.data),nt.keyLoader=null,qt.loader=null,P({frag:nt,keyInfo:qt})},onError:(xe,ke,Re,it)=>{this.resetLoader(ke),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Re,b({url:X.url,data:void 0},xe)))},onTimeout:(xe,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(xe,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};w.load(X,ue,de)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null);const P=ld(s.decryptdata)||v;delete this.keyIdToKeyInfo[P],w&&w.destroy()}}function ld(D){if(D.keyFormat!==ms.FAIRPLAY){const t=D.keyId;if(t)return q(t)}return D.uri}function gd(D){const{type:t}=D;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function cd(D,t){let n=D.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class td{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_LOADING,this.onLevelLoading,this),t.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,w=s||v,P=new w(n);return this.loaders[t.type]=P,P}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:v,pathwayId:w,url:P,deliveryDirectives:U,levelInfo:X}=n;this.load({id:s,level:v,pathwayId:w,responseType:"text",type:h.LEVEL,url:P,deliveryDirectives:U,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:P,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:U}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:P,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(w=>w===v.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let v=this.getInternalLoader(t);if(v){const $=this.hls.logger,ue=v.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ue=$.partTarget,de=$.targetduration;if(ue&&de){const xe=Math.max(ue*3,de*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(xe,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,w.maxTimeToFirstByteMs)})}}}const P=w.errorRetry||w.timeoutRetry||{},U={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:P.maxNumRetry||0,retryDelay:P.retryDelayMs||0,maxRetryDelay:P.maxRetryDelayMs||0},X={onSuccess:($,ue,de,xe)=>{const ke=this.getInternalLoader(de);this.resetInternalLoader(de.type);const Re=$.data;ue.parsing.start=performance.now(),Ko.isMediaPlaylist(Re)||de.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ue,de,xe||null,ke):this.handleMasterPlaylist($,ue,de,xe)},onError:($,ue,de,xe)=>{this.handleNetworkError(ue,de,!1,$,xe)},onTimeout:($,ue,de)=>{this.handleNetworkError(ue,de,!0,void 0,$)}};v.load(t,U,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,v){const w=this.hls,P=t.data,U=cd(t,s),X=Ko.parseMasterPlaylist(P,U);if(X.playlistParsingError){n.parsing.end=performance.now(),this.handleManifestParsingError(t,s,X.playlistParsingError,v,n);return}const{contentSteering:$,levels:ue,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re}=X;this.variableList=Re,ue.forEach(ir=>{const{unknownCodecs:lr}=ir;if(lr){const{preferManagedMediaSource:Cr}=this.hls.config;let{audioCodec:zr,videoCodec:vn}=ir;for(let Zr=lr.length;Zr--;){const cn=lr[Zr];Ae(cn,"audio",Cr)?(ir.audioCodec=zr=zr?`${zr},${cn}`:cn,$t.audio[zr.substring(0,4)]=2,lr.splice(Zr,1)):Ae(cn,"video",Cr)&&(ir.videoCodec=vn=vn?`${vn},${cn}`:cn,$t.video[vn.substring(0,4)]=2,lr.splice(Zr,1))}}});const{AUDIO:it=[],SUBTITLES:nt,"CLOSED-CAPTIONS":qt}=Ko.parseMasterPlaylistMedia(P,U,X);it.length&&!it.some(lr=>!lr.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),it.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Zi({}),bitrate:0,url:""})),w.trigger(u.MANIFEST_LOADED,{levels:ue,audioTracks:it,subtitles:nt,captions:qt,contentSteering:$,url:U,stats:n,networkDetails:v,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re})}handleTrackOrLevelPlaylist(t,n,s,v,w){const P=this.hls,{id:U,level:X,type:$}=s,ue=cd(t,s),de=r(X)?X:r(U)?U:0,xe=gd(s),ke=Ko.parseLevelPlaylist(t.data,ue,de,xe,0,this.variableList);if($===h.MANIFEST){const Re={attrs:new Zi({}),bitrate:0,details:ke,name:"",url:ue};ke.requestScheduled=n.loading.start+bi(ke,0),P.trigger(u.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:ue,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=ke,this.handlePlaylistLoaded(ke,t,n,s,v,w)}handleManifestParsingError(t,n,s,v,w){this.hls.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:v,stats:w})}handleNetworkError(t,n,s=!1,v,w){let P=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?P+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(P+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(P);this.hls.logger.warn(`[playlist-loader]: ${P}`);let X=f.UNKNOWN,$=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ue&&this.resetInternalLoader(t.type);const de={type:c.NETWORK_ERROR,details:X,fatal:$,url:t.url,loader:ue,context:t,error:U,networkDetails:n,stats:w};if(v){const xe=(n==null?void 0:n.url)||t.url;de.response=b({url:xe,data:void 0},v)}this.hls.trigger(u.ERROR,de)}handlePlaylistLoaded(t,n,s,v,w,P){const U=this.hls,{type:X,level:$,levelOrTrack:ue,id:de,groupId:xe,deliveryDirectives:ke}=v,Re=cd(n,v),it=gd(v);let nt=typeof v.level=="number"&&it===o.MAIN?$:void 0;const qt=t.playlistParsingError;if(qt){if(this.hls.logger.warn(`${qt} ${t.url}`),!U.config.ignorePlaylistParsingErrors){U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:qt,reason:qt.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}t.playlistParsingError=null}if(!t.fragments.length){const ir=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:ir,reason:ir.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}switch(t.live&&P&&(P.getCacheAge&&(t.ageHeader=P.getCacheAge()||0),(!P.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(nt){if(!ue)nt=0;else if(ue!==U.levels[nt]){const ir=U.levels.indexOf(ue);ir>-1&&(nt=ir)}}U.trigger(u.LEVEL_LOADED,{details:t,levelInfo:ue||U.levels[0],level:nt||0,id:de||0,stats:s,networkDetails:w,deliveryDirectives:ke,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(u.AUDIO_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break;case h.SUBTITLE_TRACK:U.trigger(u.SUBTITLE_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break}}}class If{static get version(){return ai}static isMSESupported(){return md()}static isSupported(){return Td()}static getMediaSource(){return ae()}static get Events(){return u}static get MetadataSchema(){return yn}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:za}static set DefaultConfig(t){If.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ii,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=an(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&nn(s,n);const{abrController:v,bufferController:w,capLevelController:P,errorController:U,fpsController:X}=s,$=new U(this),ue=this.abrController=new v(this),de=new Ti(this),xe=s.interstitialsController,ke=xe?this.interstitialsController=new xe(this,If):null,Re=this.bufferController=new w(this,de),it=this.capLevelController=new P(this),nt=new X(this),qt=new td(this),ir=s.contentSteeringController,lr=ir?new ir(this):null,Cr=this.levelController=new Cd(this,lr),zr=new Sd(this),vn=new Id(this.config,this.logger),Zr=this.streamController=new _d(this,de,vn),cn=this.gapController=new Xa(this,de);it.setStreamController(Zr),nt.setStreamController(Zr);const un=[qt,Cr,Zr];ke&&un.splice(1,0,ke),lr&&un.splice(1,0,lr),this.networkControllers=un;const qr=[ue,Re,cn,it,nt,zr,de];this.audioTrackController=this.createController(s.audioTrackController,un);const kn=s.audioStreamController;kn&&un.push(this.audioStreamController=new kn(this,de,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,un);const Si=s.subtitleStreamController;Si&&un.push(this.subtititleStreamController=new Si(this,de,vn)),this.createController(s.timelineController,qr),vn.emeController=this.emeController=this.createController(s.emeController,qr),this.cmcdController=this.createController(s.cmcdController,qr),this.latencyController=this.createController(Ad,qr),this.coreComponents=qr,un.push($);const Vi=$.onErrorOut;typeof Vi=="function"&&this.on(u.ERROR,Vi,$),this.on(u.MANIFEST_LOADED,qt.onManifestLoaded,qt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,v){this._emitter.off(t,n,s,v)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const v=t===u.ERROR;this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:v,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(u.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,v=n?t:{media:s};this._media=s,this.trigger(u.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(u.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=Z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),n&&s&&(s!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(u.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=rf()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Yr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let v=0;v=n)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let v;if(n===-1&&t!=null&&t.length?v=t.length-1:v=n,s)for(let w=v;w--;){const P=t[w].attrs["HDCP-LEVEL"];if(P&&P<=s)return w}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Ta(n);return br(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var u=f||{},h=u.noTrailing,o=h===void 0?!1:h,a=u.noLeading,x=a===void 0?!1:a,p=u.debounceMode,y=p===void 0?void 0:p,m,b=!1,S=0;function k(){m&&clearTimeout(m)}function R(I){var M=I||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var I=arguments.length,M=new Array(I),B=0;Bl?x?(S=Date.now(),o||(m=setTimeout(y?V:G,l))):G():o!==!0&&(m=setTimeout(y?V:G,y===void 0?l-K:l))}return A.cancel=R,A}function i(l,c,f){var u=f||{},h=u.atBegin,o=h===void 0?!1:h;return r(l,c,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var _=__webpack_module_cache__[d];if(_!==void 0)return _.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var _=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(_,{a:_}),_}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},_;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};_=_||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~_.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,_){for(var e in _)__webpack_require__.o(_,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:_[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(_,e){return __webpack_require__.f[e](d,_),_},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1095:"p__virtualSpaces__IndexNew__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3030:"p__virtualSpaces__Lists__Settings__components__Member__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5841:"p__virtualSpaces__Lists__Settings__components__ModuleSettings__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7496:"p__virtualSpaces__Lists__CourseData__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"25ebdfe0",67:"544dfc34",109:"6a25bf91",119:"bb25fd18",195:"c7a0a832",201:"d48175e4",264:"1fdb6cd8",292:"2900db19",316:"1f60ada6",337:"cfe9b23a",354:"d4d139cf",479:"872bbac2",485:"9713ca9c",508:"551ead5d",518:"796bffb4",532:"c8006420",533:"1215fd09",547:"7044d2ce",556:"8b2cb780",559:"4bf5ec89",570:"525aa901",576:"0b6c3403",629:"44a1d9a5",643:"ce2308b8",671:"4a609b8d",680:"0fae6afb",700:"85750f83",737:"df799e7f",741:"ac5fd360",799:"e12e73f7",879:"2d5078bf",895:"954da3fe",900:"478afa8a",906:"07298378",910:"628917a6",919:"fdd6cf6a",921:"5e6233b2",928:"9fc8fdd0",953:"16063e72",981:"24da50c7",1006:"fe894cef",1043:"0b56369a",1045:"fd022b89",1048:"37dded57",1070:"b90680fa",1077:"f5977d39",1095:"4848fd00",1114:"9d360341",1144:"c90eccaf",1154:"8cb80842",1211:"c75c70d1",1253:"62655319",1257:"618ab9eb",1274:"5f6ea65a",1276:"aa37a179",1343:"39c513aa",1423:"cd0c2233",1427:"09851dd9",1450:"b476b65d",1461:"197a9b40",1462:"fcf08abc",1470:"7b14d3ca",1475:"b186a387",1477:"54962bdb",1482:"f397612c",1490:"3a89ca18",1512:"a230b5ef",1520:"b9f991ca",1545:"a608ea29",1578:"fe91fd31",1581:"00946ff8",1582:"6a5a12a1",1646:"e6e27b60",1651:"3112f736",1657:"6041de48",1660:"4647fdda",1674:"fe12608b",1678:"837dffc4",1717:"a5c28406",1727:"a061317c",1750:"b9876391",1754:"fbb89bf5",1783:"c9bd8bcd",1798:"d8177914",1799:"bd3ecf70",1831:"7f8d945f",1836:"c873953e",1855:"fbdd023d",1880:"008b2e2d",1897:"77052b39",1939:"1735f85e",1953:"7415bdf5",1962:"cfd37d77",1993:"735bf317",2011:"59d51f98",2045:"4f50f609",2099:"6de787f8",2102:"193efe41",2130:"df9c5253",2141:"f0eda501",2203:"278ee9b0",2216:"1495add4",2240:"8cee454c",2249:"f4830452",2281:"adf7512d",2300:"83840044",2303:"d9b20c01",2307:"7e010f3c",2338:"b7d303fb",2339:"b76ce685",2386:"192e235c",2396:"4477507b",2404:"9b463199",2412:"d3d03c01",2425:"557a0c9e",2443:"ea4290f0",2460:"911c1e62",2476:"f0b636f3",2494:"ceb762c3",2501:"2a537894",2524:"dddfc235",2538:"de4a3723",2539:"974fd36e",2548:"0b12947c",2570:"c0dc8510",2592:"86eba534",2594:"e87d3761",2603:"6c070ea1",2659:"2d97a5de",2707:"e0a7a155",2763:"099acd60",2806:"54aa2699",2819:"a2afd093",2823:"29bd2909",2829:"37efc31b",2837:"54a82605",2862:"4578f812",2865:"2a2e4654",2884:"cc695e93",2969:"ab3357d7",3006:"9976d75c",3030:"53340e22",3086:"0e8562e8",3133:"9bf3f89c",3141:"04b34fd7",3157:"816f67ec",3183:"ace2a4c2",3198:"8e655451",3212:"58701c02",3247:"71796403",3260:"b841996c",3276:"51ad7042",3317:"43f5a812",3391:"630bf4cd",3433:"154cffaf",3442:"4cb0c435",3443:"9a1c8016",3447:"54b5dd1f",3451:"a1705398",3509:"53aefe1f",3550:"3dc83156",3581:"92a9fa4d",3585:"3f7a76f6",3589:"60e9d5ba",3668:"7bb7dedf",3685:"dbaa795f",3697:"481a10d9",3747:"2f60aef4",3754:"632a2854",3777:"d5b0f2f1",3784:"e9cc2a97",3805:"9dbcb95e",3831:"1165516c",3861:"cf2f3073",3862:"7cc7474a",3873:"2d96c2f0",3885:"f87f7f15",3910:"622aa34b",3951:"c4e191eb",3980:"5dd09f0d",3987:"5cecd51b",4014:"27a8e97c",4017:"43ee7c85",4030:"a1110354",4048:"c61fe3e0",4056:"6aa34634",4058:"a6ef0500",4078:"42445e83",4088:"236723f3",4093:"2c0c29b5",4105:"183b87ee",4144:"672af668",4164:"77efbf04",4216:"bcd3b1e1",4217:"76cba1c3",4227:"54bba644",4259:"14fbd765",4264:"766d6d47",4297:"dc3b858e",4339:"23b6aa33",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f07362e4",4492:"ac4a2474",4496:"11e9fce8",4498:"e61ee7e0",4504:"a177f978",4514:"8e37600d",4520:"e9efd903",4546:"e44a0470",4565:"cd70a302",4572:"c946a4f7",4599:"61def4cb",4610:"bcb1e77d",4621:"954a4cb5",4628:"ece2c60c",4662:"9d21c04d",4685:"c33f1528",4715:"e8730df7",4736:"b43236a2",4741:"decad2c9",4757:"74842fb2",4766:"93d0b6de",4770:"e30d4dc9",4790:"619413e4",4795:"5bff3cb2",4797:"a24e92db",4800:"c6566bd2",4850:"1edda4b7",4888:"ad14d249",4889:"5527ab07",4928:"079af298",4973:"041411a5",4994:"09369ed4",5022:"2e3d7afe",5043:"4fbe7ab3",5048:"a272d0d9",5060:"85dafcc6",5096:"383a9381",5111:"6c03ca16",5117:"53e35db8",5125:"87ae98d7",5148:"c3066eef",5165:"38dd5530",5176:"2025b09b",5177:"76b00f7c",5179:"6b940689",5186:"9ca4540f",5230:"def743f6",5238:"23d5b8f0",5290:"5dabcdc2",5297:"ea1e7944",5307:"116186ba",5319:"5c075be0",5321:"1163c84e",5330:"37b87548",5335:"0d226e4f",5354:"7ae70604",5357:"4831e247",5359:"5db5f145",5382:"948da761",5402:"e6a2b6b1",5416:"454536b7",5434:"38b302a6",5466:"fba43d02",5494:"d89549c4",5518:"0ce78aff",5549:"d50d3317",5572:"5e3b67fe",5573:"68f68fc2",5624:"22d9b7e7",5631:"e00d3d36",5650:"fdd0c3e0",5679:"4a090bef",5694:"41945b00",5705:"9e2bd49b",5729:"17c6258e",5764:"e0d7e586",5775:"cab13a22",5776:"75c4156f",5786:"7612e65f",5798:"ff73e342",5800:"b42d111e",5816:"027ccc68",5841:"ffc2efdb",5876:"5eded409",5888:"faa1801c",5891:"6e154d51",5894:"c5c5778f",5902:"da01aaf8",5915:"f978d04c",5972:"25bd1337",5992:"d4f74d40",6029:"c37d8cad",6034:"376602a8",6045:"d268f87f",6047:"3ce45acd",6063:"4bc3ca5d",6069:"dd334ae6",6080:"563171fd",6095:"612de197",6126:"99519171",6127:"f2b0a653",6170:"0026c6ec",6185:"c86bb6b6",6205:"327c0ad2",6265:"5462edb6",6270:"8685e801",6282:"615df7a1",6328:"a030f412",6366:"259d92db",6378:"7f3a946a",6393:"5afd969e",6411:"3b971528",6434:"d607d3bd",6442:"3bebbd48",6444:"672ab86a",6451:"e811924f",6452:"5c1f8f77",6531:"1e4cd45d",6583:"e0ef5a3d",6587:"73574cb0",6634:"4454ed2d",6637:"494dc421",6651:"52e4c497",6682:"9d9f1449",6685:"e1e473d6",6729:"a6b37871",6741:"41450099",6774:"59d4d618",6776:"532be94b",6784:"2f136a53",6788:"97112fc6",6789:"20f48904",6796:"47543d44",6820:"e7a7a304",6840:"f780ca7d",6882:"e0dcfcb0",6904:"f9a0b70f",6913:"3987c41f",6963:"a49191f9",6985:"6abb4311",6988:"a7ab0b4b",7042:"5a3a507d",7043:"0e9ab58f",7045:"b11ea690",7058:"5f9896ed",7062:"8ed05d8a",7084:"46ccce72",7099:"ef8e6a7d",7156:"e7466006",7178:"d6dfdd98",7182:"29c5f785",7224:"fd58f5b4",7242:"e9e130d0",7260:"be1b147a",7289:"6657c591",7322:"ae3663ee",7323:"da82d00e",7329:"1f09fcda",7333:"a86d1864",7365:"1005464f",7395:"c9a165b9",7402:"40bdde5a",7460:"bf2188ab",7477:"f8b537d2",7482:"1994e15d",7496:"e5e3cf00",7527:"2f96afe2",7545:"96bfa980",7560:"87225818",7573:"97f85034",7591:"c8233ce9",7614:"1b422242",7622:"7c7c8108",7686:"4fcec9f9",7706:"c2a79e40",7806:"afa78b72",7835:"a22be9a7",7855:"04d12553",7857:"88c2af3d",7883:"4496b29b",7884:"24273397",7901:"c1b052a0",7922:"47cd8852",7964:"29aed9a1",8044:"36feeb2c",8062:"573963bc",8072:"cb4e4ce9",8085:"9f0c26d6",8089:"d536b13a",8115:"05ec3637",8137:"8908d278",8143:"a3f024ca",8145:"6e5d7b68",8155:"7eec0b00",8161:"83c5fa9a",8217:"681eecf6",8237:"c5fd5e0c",8241:"a8cd9944",8286:"d21f973f",8302:"55794970",8332:"f79c9850",8340:"d6a1e60b",8350:"07df8a75",8365:"9aef74f8",8398:"0d32fd15",8431:"f276f265",8435:"29ffda57",8447:"88d86ce7",8458:"653b8481",8479:"15bb84dc",8517:"43660dc2",8552:"f395911e",8561:"333e8ec9",8563:"e65cc9f1",8579:"bf9e8b61",8639:"21c350a0",8665:"5005d459",8688:"c43698bc",8689:"e4aef9a4",8723:"ec155900",8737:"ce7dad23",8776:"0ad26240",8787:"6f3a8d79",8807:"8f09c7a0",8823:"25f50e8d",8827:"5e6efaec",8842:"9f25a3e2",8866:"b404dbfc",8882:"fa19fa55",8885:"924f2f37",8898:"d002bcd8",8909:"ef3f4eb6",8920:"7f82440c",8963:"790aecdd",8965:"bced5018",8999:"2d156215",9039:"24e14a4b",9076:"e4c10d9f",9104:"bbcb2345",9205:"5a3dfcd9",9219:"1b2b7438",9252:"0d791a59",9260:"f163e60e",9366:"1a31fd23",9391:"f51f2e8b",9404:"9fcc3d3e",9406:"0684e9d1",9416:"6e60103e",9417:"66c183bb",9449:"0ae2e57b",9487:"781d2475",9489:"9b6af9e0",9507:"275af19e",9511:"b8bda2ce",9554:"ed358e7b",9559:"f794af19",9595:"3417d4fa",9647:"be75ea5b",9649:"29b9c5fc",9674:"a7c8de8d",9677:"ea069b53",9695:"89941987",9715:"90612066",9716:"40121ad7",9724:"2f674bad",9785:"234d891c",9788:"a7cdf26f",9814:"563600ac",9891:"60f02702",9895:"b8e31ff2",9906:"06c4ccc6",9921:"32e35155",9922:"0145f8b7",9928:"5989f5e0",9944:"5ca0bb39",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1095:"p__virtualSpaces__IndexNew__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3030:"p__virtualSpaces__Lists__Settings__components__Member__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5841:"p__virtualSpaces__Lists__Settings__components__ModuleSettings__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7496:"p__virtualSpaces__Lists__CourseData__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"249d60ed",109:"1a7fc455",119:"5a5d8480",195:"8bc56a44",201:"749be0d6",264:"5fd9b3fc",292:"8c3a8076",337:"497aa9e8",479:"bba9e475",485:"d63578fe",508:"82593858",518:"a22ced2d",532:"1e2e38ec",533:"308bfa22",547:"5581debc",556:"0e9c5cde",559:"b77bb4e8",576:"d99d1af9",643:"22ded693",680:"e67e9e01",700:"26166636",737:"98eb2f74",799:"b1dec428",879:"64e845d8",895:"ad846737",900:"5db55ef3",906:"d2399d94",919:"898b0443",921:"30cc7e9b",928:"0277270a",953:"7554b5f3",1006:"2263131d",1043:"e8c0878b",1045:"bce697db",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1095:"b1804a64",1211:"bdb8faab",1253:"a97ebbb0",1257:"2c6cc63e",1276:"bbc6eeec",1343:"e4e2ebc7",1423:"5c4a76fc",1427:"3d93dfaa",1450:"1edcc2ed",1461:"82857f62",1470:"183c9793",1475:"01717533",1477:"08b9f795",1482:"d159af07",1490:"a0745791",1512:"f3653a35",1520:"f7300d0e",1545:"0da47095",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"55e4f704",1657:"49a2443a",1674:"fdbc1e05",1678:"c99d5f02",1717:"31e8fde2",1727:"4eec53ba",1754:"1f751b14",1783:"4c153cd6",1798:"d4c3f3eb",1831:"12095e09",1836:"5f0d3f7f",1855:"b92cccb4",1880:"29bc2b98",1897:"35d10918",1939:"164385ec",1953:"d6d2346f",1962:"84e145fa",1993:"7cc7cf77",2045:"dcfad42d",2099:"95e6fde2",2102:"ec61f9f0",2130:"50dfcc51",2141:"5eb2f330",2203:"6b55d48d",2216:"90f34d3c",2240:"e7cce869",2281:"6a84a8a4",2303:"5a9dc2b1",2307:"b2c54321",2338:"9f251b40",2339:"bf4c6e3d",2396:"1234f229",2404:"08d36549",2412:"4490ba2a",2425:"47b23ee4",2443:"2f614807",2460:"03cdfb68",2476:"cf85a190",2501:"2441982c",2524:"6e1463fc",2539:"43c55c4d",2548:"75182034",2570:"ecab12cb",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"066a1e3c",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"67c37a4e",2865:"6ef3cf6b",2884:"405c2ef9",3006:"7fce4e74",3030:"1625c079",3086:"d0ebac07",3141:"2cf1223c",3157:"d0ba1925",3183:"b2253f40",3212:"ad1521c1",3247:"50105eb7",3260:"ee8e2fb8",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"9a871026",3442:"bdf7849c",3443:"898b0443",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"968e165a",3585:"5f288e7b",3668:"1a8ed604",3685:"5356e3de",3747:"c50b2b70",3784:"c81d4a51",3831:"4987c55d",3873:"9b32f93d",3910:"658d457f",3951:"9b11b034",3980:"02fcc53a",4030:"d3df931a",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"7d2dbef2",4105:"7f9d4513",4144:"f10aa199",4164:"2e8b2a11",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"0d7e3efe",4339:"9de29759",4449:"e68d8d58",4492:"9fd5ba05",4496:"77babddd",4498:"e1d76eaf",4504:"b05222a6",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"6327db8f",4610:"687005a6",4621:"4c789bfa",4662:"30b29314",4715:"0ae28d0a",4736:"aa2d53d9",4741:"c51f7784",4757:"a9051ae2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4888:"54df8e37",4889:"a91da64a",4928:"7c2ece62",4973:"129c56e8",4994:"a8674b97",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"4358a2fb",5125:"57501e4a",5148:"572faeac",5165:"dc6d9bc6",5176:"9c49e7fa",5177:"b612c017",5179:"699b44a8",5186:"30047116",5230:"94dfecf3",5238:"c2de81d6",5297:"5426028f",5307:"5e9c4598",5319:"34217c3f",5330:"5b911c36",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"28b79a42",5402:"68063d1e",5466:"90694dbb",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"685b3a03",5650:"f8f63f4b",5694:"fc68e7f6",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"e07b4b49",5786:"37a81eaa",5798:"ce1cf7da",5800:"f214b296",5816:"2fe25dcc",5841:"26ff5194",5888:"193a7f8f",5891:"329555dc",5894:"4faa35bb",5915:"bc9c3e69",5972:"f9c71ce7",5992:"419f5d2f",6029:"3f8b2a62",6063:"2c0a986c",6069:"5e1528e7",6080:"175c7992",6127:"f31505a8",6185:"4617aa93",6205:"6eef461f",6265:"ab7c4ade",6270:"5496b206",6282:"37b2b2dd",6328:"de2b9d62",6366:"079fc2d8",6434:"c5a95b1e",6444:"fd46d237",6451:"949d91e5",6452:"50a6d310",6583:"56bd7407",6587:"9c49e7fa",6634:"9c6f4980",6637:"cd627031",6651:"b07fe216",6682:"d2765c91",6685:"cc9a5255",6729:"aea3b7f5",6741:"b838eb14",6776:"e7f1be47",6784:"1affe817",6789:"bb555561",6796:"88ef2b35",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6988:"d1510090",7042:"898b0443",7043:"25478869",7045:"48f6fc4c",7058:"7c5ff3cf",7062:"7d38b05d",7099:"e6e46152",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"c6aafe55",7322:"f372c040",7323:"3e11a2bc",7329:"4677c004",7395:"ff574c5d",7402:"c3bf3e69",7460:"dedd2038",7477:"b45b8d42",7482:"c37a3f01",7496:"ef5973db",7527:"a4765b7e",7545:"88c2815e",7560:"d82e43ca",7614:"de9ee12f",7622:"79b56687",7806:"80b7b1d6",7835:"28d790d7",7855:"d9440df4",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"505c3349",7922:"49f2762f",8062:"8e384b9f",8072:"540f746b",8085:"a1cadc76",8115:"47861430",8137:"66f37f26",8143:"baf130b5",8145:"0eefaae0",8155:"d345abd7",8217:"000115b7",8237:"cc24fd46",8241:"fd65c68b",8286:"4b01dd59",8332:"a10509a3",8398:"7bb61fdd",8431:"289b326c",8435:"c54dbac3",8447:"08ed94d4",8458:"ddd4164b",8479:"ef522a60",8517:"cccfddad",8552:"208da293",8563:"b1f16cfe",8579:"c4e34db8",8665:"c52575bc",8688:"c044db56",8689:"38303690",8723:"77277ca8",8787:"121de108",8823:"1fa2bc19",8827:"14015163",8866:"9d5c30f8",8882:"f3e42f72",8885:"de905169",8965:"f169309d",8999:"448aa22f",9039:"4e72f6be",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"df76000e",9416:"bc1cc3b9",9449:"81d55bec",9487:"a73f5679",9489:"ee2bb5b7",9507:"af07d346",9511:"4a147f76",9595:"898b0443",9647:"bea72042",9649:"00fb4211",9674:"5f24eb80",9677:"18c220c4",9695:"7288e7ae",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"43a2ed2d",9814:"9f959c59",9891:"512a9301",9906:"c603619a",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,_){return Object.prototype.hasOwnProperty.call(d,_)}}(),function(){var d={};__webpack_require__.l=function(_,e,r,i){if(d[_]){d[_].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return Fn.endsWith("/")?Fn:"".concat(Fn,"/")}var dc=__webpack_require__(38127),hc=__webpack_require__(38329),al=__webpack_require__(8616),sl=["content"],Mu=["content"],yf=/^(http:|https:)?\/\//;function pc(Fn){return yf.test(Fn)||Fn.startsWith("/")&&!Fn.startsWith("/*")||Fn.startsWith("./")||Fn.startsWith("../")}var Cu=function(){return Me.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},yl=function(ri){var Ki,Ma=ri.loaderData,sa=ri.htmlPageOpts,Ea=ri.manifest,va=(Ea==null||(Ki=Ea.assets)===null||Ki===void 0?void 0:Ki["umi.css"])||"";return Me.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ma||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(sa||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(va,"'")}})};function Fu(Fn){var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fn=="string")return pc(Fn)?(0,bo.Z)({src:Fn},ri):{content:Fn};if((0,al.Z)(Fn)==="object")return(0,bo.Z)((0,bo.Z)({},Fn),ri);throw new Error("Invalid script type: ".concat((0,al.Z)(Fn)))}function zf(Fn){return pc(Fn)?{type:"link",href:Fn}:{type:"style",content:Fn}}var Jc=function(ri){var Ki,Ma,sa,Ea,va,Bs,oa=ri.htmlPageOpts;return Me.createElement(Me.Fragment,null,(oa==null?void 0:oa.title)&&Me.createElement("title",null,oa.title),oa==null||(Ki=oa.favicons)===null||Ki===void 0?void 0:Ki.map(function(Us,Ju){return Me.createElement("link",{key:Ju,rel:"shortcut icon",href:Us})}),(oa==null?void 0:oa.description)&&Me.createElement("meta",{name:"description",content:oa.description}),(oa==null||(Ma=oa.keywords)===null||Ma===void 0?void 0:Ma.length)&&Me.createElement("meta",{name:"keywords",content:oa.keywords.join(",")}),oa==null||(sa=oa.metas)===null||sa===void 0?void 0:sa.map(function(Us){return Me.createElement("meta",{key:Us.name,name:Us.name,content:Us.content})}),oa==null||(Ea=oa.links)===null||Ea===void 0?void 0:Ea.map(function(Us,Ju){return Me.createElement("link",(0,hc.Z)({key:Ju},Us))}),oa==null||(va=oa.styles)===null||va===void 0?void 0:va.map(function(Us,Ju){var ul=zf(Us),wl=ul.type,el=ul.href,jl=ul.content;if(wl==="link")return Me.createElement("link",{key:Ju,rel:"stylesheet",href:el});if(wl==="style")return Me.createElement("style",{key:Ju},jl)}),oa==null||(Bs=oa.headScripts)===null||Bs===void 0?void 0:Bs.map(function(Us,Ju){var ul=Fu(Us),wl=ul.content,el=(0,dc.Z)(ul,sl);return Me.createElement("script",(0,hc.Z)({dangerouslySetInnerHTML:{__html:wl},key:Ju},el))}))};function Vo(Fn){var ri,Ki=Fn.children,Ma=Fn.loaderData,sa=Fn.manifest,Ea=Fn.htmlPageOpts,va=Fn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Bs=Fn.mountElementId;if(va!=null&&va.pureHtml)return Me.createElement("html",null,Me.createElement("head",null,Me.createElement(Jc,{htmlPageOpts:Ea})),Me.createElement("body",null,Me.createElement(Cu,null),Me.createElement("div",{id:Bs},Ki),Me.createElement(yl,{manifest:sa,loaderData:Ma,htmlPageOpts:Ea})));if(va!=null&&va.pureApp)return Me.createElement(Me.Fragment,null,Ki);var oa=typeof window=="undefined"?sa==null?void 0:sa.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Me.createElement("html",{suppressHydrationWarning:!0,lang:(Ea==null?void 0:Ea.lang)||"en"},Me.createElement("head",null,Me.createElement("meta",{charSet:"utf-8"}),Me.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),oa&&Me.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:oa}),Me.createElement(Jc,{htmlPageOpts:Ea})),Me.createElement("body",null,Me.createElement(Cu,null),Me.createElement("div",{id:Bs},Ki),Me.createElement(yl,{manifest:sa,loaderData:Ma,htmlPageOpts:Ea}),Ea==null||(ri=Ea.scripts)===null||ri===void 0?void 0:ri.map(function(Us,Ju){var ul=Fu(Us),wl=ul.content,el=(0,dc.Z)(ul,Mu);return Me.createElement("script",(0,hc.Z)({dangerouslySetInnerHTML:{__html:wl},key:Ju},el))})))}var Ml=Me.createContext(void 0);function Rc(){return Me.useContext(Ml)}var mc=["redirect"];function vc(Fn){var ri=Fn.routesById,Ki=Fn.parentId,Ma=Fn.routeComponents,sa=Fn.useStream,Ea=sa===void 0?!0:sa;return Object.keys(ri).filter(function(va){return ri[va].parentId===Ki}).map(function(va){var Bs=gc((0,bo.Z)((0,bo.Z)({route:ri[va],routeComponent:Ma[va],loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat},Fn.reactRouter5Compat&&{hasChildren:Object.keys(ri).filter(function(Us){return ri[Us].parentId===va}).length>0}),{},{useStream:Ea})),oa=vc({routesById:ri,routeComponents:Ma,parentId:Bs.id,loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat,useStream:Ea});return oa.length>0&&(Bs.children=oa,Bs.routes=oa),Bs})}function _c(Fn){var ri=(0,Au.UO)(),Ki=(0,Au.Gn)(Fn.to,ri),Ma=(0,fc.T$)(),sa=(0,Au.TH)();if(Ma!=null&&Ma.keepQuery){var Ea=sa.search+sa.hash;Ki+=Ea}var va=(0,bo.Z)((0,bo.Z)({},Fn),{},{to:Ki});return Me.createElement(Au.Fg,(0,hc.Z)({replace:!0},va))}function gc(Fn){var ri=Fn.route,Ki=Fn.useStream,Ma=Ki===void 0?!0:Ki,sa=ri.redirect,Ea=(0,dc.Z)(ri,mc),va=Fn.reactRouter5Compat?Lc:ql;return(0,bo.Z)({element:sa?Me.createElement(_c,{to:sa}):Me.createElement(Ml.Provider,{value:{route:Fn.route}},Me.createElement(va,{loader:Me.memo(Fn.routeComponent),loadingComponent:Fn.loadingComponent||Rf,hasChildren:Fn.hasChildren,useStream:Ma}))},Ea)}function Rf(){return Me.createElement("div",null)}function Lc(Fn){var ri=Rc(),Ki=ri.route,Ma=(0,fc.Ov)(),sa=Ma.history,Ea=Ma.clientRoutes,va=(0,Au.UO)(),Bs={params:va,isExact:!0,path:Ki.path,url:sa.location.pathname},oa=Fn.loader,Us={location:sa.location,match:Bs,history:sa,params:va,route:Ki,routes:Ea};return Fn.useStream?Me.createElement(Me.Suspense,{fallback:Me.createElement(Fn.loadingComponent,null)},Me.createElement(oa,Us,Fn.hasChildren&&Me.createElement(Au.j3,null))):Me.createElement(oa,Us,Fn.hasChildren&&Me.createElement(Au.j3,null))}function ql(Fn){var ri=Fn.loader;return Fn.useStream?Me.createElement(Me.Suspense,{fallback:Me.createElement(Fn.loadingComponent,null)},Me.createElement(ri,null)):Me.createElement(ri,null)}var Ql=null;function bf(){return Ql}function ef(Fn){var ri=Fn.history,Ki=Me.useState({action:ri.action,location:ri.location}),Ma=(0,Lu.Z)(Ki,2),sa=Ma[0],Ea=Ma[1];return(0,Me.useLayoutEffect)(function(){return ri.listen(Ea)},[ri]),(0,Me.useLayoutEffect)(function(){function va(Bs){Fn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fn.routes,clientRoutes:Fn.clientRoutes,location:Bs.location,action:Bs.action,basename:Fn.basename,isFirst:!!Bs.isFirst}})}return va({location:sa.location,action:sa.action,isFirst:!0}),ri.listen(va)},[ri,Fn.routes,Fn.clientRoutes]),Me.createElement(Au.F0,{navigator:ri,location:sa.location,basename:Fn.basename},Fn.children)}function ol(){var Fn=(0,fc.Ov)(),ri=Fn.clientRoutes;return(0,Au.V$)(ri)}var yc=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],bc=function(ri,Ki){var Ma=ri.basename||"/",sa=vc({routesById:ri.routes,routeComponents:ri.routeComponents,loadingComponent:ri.loadingComponent,reactRouter5Compat:ri.reactRouter5Compat,useStream:ri.useStream});ri.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:sa}});for(var Ea=Me.createElement(ef,{basename:Ma,pluginManager:ri.pluginManager,routes:ri.routes,clientRoutes:sa,history:ri.history},Ki),va=0,Bs=yc;vanew Promise((Ma,sa)=>{var Ea=oa=>{try{Bs(Ki.next(oa))}catch(Us){sa(Us)}},va=oa=>{try{Bs(Ki.throw(oa))}catch(Us){sa(Us)}},Bs=oa=>oa.done?Ma(oa.value):Promise.resolve(oa.value).then(Ea,va);Bs((Ki=Ki.apply(Fn,ri)).next())});function xf(){return Fc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/shixuns/:id/skill_tags",parentId:"201",id:"221"},222:{path:"/users",parentId:"1",id:"222"},223:{path:"/users/:username/videos/protocol",parentId:"222",id:"223"},224:{path:"/users/:username/videos/resourceProtocol",parentId:"222",id:"224"},225:{path:"/users/:username/videos/success",parentId:"222",id:"225"},226:{path:"/users/:username/topicbank/:topicstype",parentId:"222",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"222",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"222",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"222",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"222",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"222",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"222",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"222",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"222",id:"234"},235:{path:"/users/:username/experiment-img/add",parentId:"222",id:"235"},236:{path:"/users/:username",parentId:"222",id:"236"},237:{path:"/users/:username",parentId:"236",id:"237"},238:{path:"/users/:username/baseInfo/edit",parentId:"236",id:"238"},239:{path:"/users/:username/baseInfo",parentId:"236",id:"239"},240:{path:"/users/:username/realNameCertification",parentId:"236",id:"240"},241:{path:"/users/:username/careerCertification",parentId:"236",id:"241"},242:{path:"/users/:username/classrooms",parentId:"236",id:"242"},243:{path:"/users/:username/shixuns",parentId:"236",id:"243"},244:{path:"/users/:username/dataSet",parentId:"236",id:"244"},245:{path:"/users/:username/userPortrait",parentId:"236",id:"245"},246:{path:"/users/:username/learningPath",parentId:"236",id:"246"},247:{path:"/users/:username/teach-group",parentId:"236",id:"247"},248:{path:"/users/:username/competitions",parentId:"236",id:"248"},249:{path:"/users/:username/experiment-img",parentId:"236",id:"249"},250:{path:"/users/:username/experiment-img/:experid/detail",parentId:"236",id:"250"},251:{path:"/users/:username/certificate",parentId:"236",id:"251"},252:{path:"/users/:username/otherResources",parentId:"236",id:"252"},253:{path:"/users/:username/classmanagement",parentId:"236",id:"253"},254:{path:"/users/:username/classmanagement/:couserid",parentId:"236",id:"254"},255:{path:"/users/:username/paths",parentId:"236",id:"255"},256:{path:"/users/:username/projects",parentId:"236",id:"256"},257:{path:"/users/:username/videos",parentId:"236",id:"257"},258:{path:"/users/:username/videos/upload",parentId:"236",id:"258"},259:{path:"/users/:username/topics/:topicstype",parentId:"236",id:"259"},260:{path:"/users/:username/vspaces",parentId:"236",id:"260"},261:{path:"/users/:username/resourcesCenter",parentId:"236",id:"261"},262:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"236",id:"262"},263:{path:"/users/:username/resourceGuarantee",parentId:"236",id:"263"},264:{path:"/users/:username/resourceAllocation",parentId:"236",id:"264"},265:{parentId:"1",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems",parentId:"266",id:"267"},268:{path:"/problems/batchAdd",parentId:"266",id:"268"},269:{path:"/problems/newcreate",parentId:"265",id:"269"},270:{path:"/problems/newedit/:id",exact:!0,parentId:"265",id:"270"},271:{path:"/problems/:id/edit",exact:!0,parentId:"265",id:"271"},272:{path:"/problems/new",exact:!0,parentId:"265",id:"272"},273:{path:"/problems/:id/oj/:save_identifier",parentId:"265",id:"273"},274:{path:"/problems/:id/record-detail/:submitId",parentId:"265",id:"274"},275:{path:"/problems/add",parentId:"265",id:"275"},276:{path:"/problems/:id/ojedit",parentId:"265",id:"276"},277:{path:"/engineering",parentId:"1",id:"277"},278:{path:"/engineering",parentId:"277",id:"278"},279:{path:"/engineering/teacherList",parentId:"278",id:"279"},280:{path:"/engineering/studentList",parentId:"278",id:"280"},281:{path:"/engineering/training/program",parentId:"278",id:"281"},282:{path:"/engineering/training/program/add",parentId:"278",id:"282"},283:{path:"/engineering/training/program/edit",parentId:"278",id:"283"},284:{path:"/engineering/training/objectives",parentId:"278",id:"284"},285:{path:"/engineering/graduated/index",parentId:"278",id:"285"},286:{path:"/engineering/graduated/matrix",parentId:"278",id:"286"},287:{path:"/engineering/course/list",parentId:"278",id:"287"},288:{path:"/engineering/course/setting",parentId:"278",id:"288"},289:{path:"/engineering/course/matrix",parentId:"278",id:"289"},290:{path:"/engineering/navigation",parentId:"278",id:"290"},291:{path:"/engineering/evaluate/course",parentId:"278",id:"291"},292:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"278",id:"292"},293:{path:"/engineering/evaluate/norm",parentId:"278",id:"293"},294:{path:"/engineering/evaluate/document",parentId:"278",id:"294"},295:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"278",id:"295"},296:{path:"/engineering/*",redirect:"/404",parentId:"278",id:"296"},297:{path:"/innovation",parentId:"1",id:"297"},298:{path:"/innovation/tasks/:taskId",parentId:"297",id:"298"},299:{path:"/innovation",parentId:"297",id:"299"},300:{path:"/innovation/project",parentId:"299",id:"300"},301:{path:"/innovation/dataset",parentId:"299",id:"301"},302:{path:"/innovation/mirror",parentId:"299",id:"302"},303:{path:"/innovation/my-project",parentId:"299",id:"303"},304:{path:"/innovation/my-dataset",parentId:"299",id:"304"},305:{path:"/innovation/my-mirror",parentId:"299",id:"305"},306:{path:"/innovation/project/create",parentId:"299",id:"306"},307:{path:"/innovation/project/edit/:id",parentId:"299",id:"307"},308:{path:"/innovation/project/detail/:taskId",parentId:"299",id:"308"},309:{path:"/tasks",parentId:"1",id:"309"},310:{path:"/tasks/:taskId",exact:!0,parentId:"309",id:"310"},311:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"309",id:"311"},312:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"309",id:"312"},313:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"309",id:"313"},314:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"309",id:"314"},315:{path:"/myproblems",parentId:"1",id:"315"},316:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"315",id:"316"},317:{path:"/myproblems/:id",exact:!0,parentId:"315",id:"317"},318:{path:"/account",parentId:"1",id:"318"},319:{path:"/account",parentId:"318",id:"319"},320:{path:"/account/profile",parentId:"319",id:"320"},321:{path:"/account/profile/edit",parentId:"319",id:"321"},322:{path:"/account/certification",parentId:"319",id:"322"},323:{path:"/account/secure",parentId:"319",id:"323"},324:{path:"/account/binding",parentId:"319",id:"324"},325:{path:"/account/Results",parentId:"319",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"345",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"345",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"345",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"345",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"345",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"345",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"345",id:"352"},353:{path:"/vtrs/:virtual_spacesId/workplace",parentId:"345",id:"353"},354:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"345",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"345",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"345",id:"356"},357:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"345",id:"357"},358:{path:"/vtrs/:virtual_spacesId/courseData",parentId:"345",id:"358"},359:{path:"/vtrs/:virtual_spacesId/material",parentId:"345",id:"359"},360:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"345",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"345",id:"361"},362:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"345",id:"362"},363:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"345",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"345",id:"364"},365:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"345",id:"365"},366:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"345",id:"366"},367:{path:"/vtrs/:virtual_spacesId/moduleset",parentId:"345",id:"367"},368:{path:"/vtrs/:virtual_spacesId/memberset",parentId:"345",id:"368"},369:{path:"/vtrs/:virtual_spacesId/resources",parentId:"345",id:"369"},370:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"345",id:"370"},371:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"345",id:"371"},372:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"345",id:"372"},373:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"345",id:"373"},374:{path:"/vtrs/:virtual_spacesId/*",parentId:"345",id:"374"},375:{path:"/101",parentId:"1",id:"375"},376:{path:"/101",parentId:"375",id:"376"},377:{path:"/101/:virtual_spacesId",parentId:"375",id:"377"},378:{path:"/101/:virtual_spacesId",exact:!0,parentId:"377",id:"378"},379:{path:"/101/:virtual_spacesId/experiment",parentId:"377",id:"379"},380:{path:"/101/:virtual_spacesId/announcement",parentId:"377",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/add",parentId:"377",id:"381"},382:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"377",id:"382"},383:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"377",id:"383"},384:{path:"/101/:virtual_spacesId/survey",parentId:"377",id:"384"},385:{path:"/101/:virtual_spacesId/workplace",parentId:"377",id:"385"},386:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"377",id:"386"},387:{path:"/101/:virtual_spacesId/knowledge",parentId:"377",id:"387"},388:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"377",id:"388"},389:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"377",id:"389"},390:{path:"/101/:virtual_spacesId/courseData",parentId:"377",id:"390"},391:{path:"/101/:virtual_spacesId/material",parentId:"377",id:"391"},392:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"377",id:"392"},393:{path:"/101/:virtual_spacesId/lesson",parentId:"377",id:"393"},394:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"377",id:"394"},395:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"377",id:"395"},396:{path:"/101/:virtual_spacesId/discussion",parentId:"377",id:"396"},397:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"377",id:"397"},398:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"377",id:"398"},399:{path:"/101/:virtual_spacesId/moduleset",parentId:"377",id:"399"},400:{path:"/101/:virtual_spacesId/memberset",parentId:"377",id:"400"},401:{path:"/101/:virtual_spacesId/resources",parentId:"377",id:"401"},402:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"377",id:"402"},403:{path:"/101/:virtual_spacesId/Plan",parentId:"377",id:"403"},404:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"377",id:"404"},405:{path:"/101/:virtual_spacesId/homepage",parentId:"377",id:"405"},406:{path:"/101/:virtual_spacesId/*",parentId:"377",id:"406"},407:{path:"/administration",parentId:"1",id:"407"},408:{path:"/administration",parentId:"407",id:"408"},409:{path:"/administration/college",parentId:"408",id:"409"},410:{path:"/administration/student",parentId:"408",id:"410"},411:{path:"/administration/student/:studentId/edit",parentId:"408",id:"411"},412:{path:"/administration/profession",parentId:"408",id:"412"},413:{path:"/graduations",parentId:"1",id:"413"},414:{path:"/graduations",exact:!0,parentId:"413",id:"414"},415:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"413",id:"415"},416:{path:"/graduations/:id",parentId:"413",id:"416"},417:{path:"/graduations/:id/index",parentId:"416",id:"417"},418:{path:"/graduations/:id/topics",parentId:"416",id:"418"},419:{path:"/graduations/:id/student_selection",parentId:"416",id:"419"},420:{path:"/graduations/:id/tasks",parentId:"416",id:"420"},421:{path:"/graduations/:id/opening_report",parentId:"416",id:"421"},422:{path:"/graduations/:id/midterm_report",parentId:"416",id:"422"},423:{path:"/graduations/:id/thesis",parentId:"416",id:"423"},424:{path:"/graduations/:id/final_defense",parentId:"416",id:"424"},425:{path:"/graduations/:id/final_thesis",parentId:"416",id:"425"},426:{path:"/graduations/:id/settings",parentId:"416",id:"426"},427:{path:"/graduations/:id/teachers",parentId:"416",id:"427"},428:{path:"/graduations/:id/students",parentId:"416",id:"428"},429:{path:"/graduations/:id/archives",parentId:"416",id:"429"},430:{path:"/graduations/:id/grading_summary",parentId:"416",id:"430"},431:{path:"/dataset",parentId:"1",id:"431"},432:{path:"/dataset",exact:!0,parentId:"431",id:"432"},433:{path:"/dataset/:id/detail",exact:!0,parentId:"431",id:"433"},434:{path:"/knowledgegraph",parentId:"1",id:"434"},435:{path:"/knowledgegraph/:pathId",parentId:"434",id:"435"},436:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"434",id:"436"},437:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"434",id:"437"},438:{path:"/knowledgegraph/:pathId/statistics",parentId:"434",id:"438"},439:{parentId:"434",id:"439"},440:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId",parentId:"439",id:"440"},441:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId/detail/:detailId",parentId:"439",id:"441"},442:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId",parentId:"439",id:"442"},443:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId/detail",parentId:"439",id:"443"},444:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId",parentId:"439",id:"444"},445:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId/detail/:detailId",parentId:"439",id:"445"},446:{path:"/information",parentId:"1",id:"446"},447:{path:"/information",exact:!0,parentId:"446",id:"447"},448:{path:"/information/add",exact:!0,parentId:"446",id:"448"},449:{path:"/information/:id/detail",exact:!0,parentId:"446",id:"449"},450:{path:"/information/:id/edit",exact:!0,parentId:"446",id:"450"},451:{path:"/newlogin",parentId:"1",id:"451"},452:{path:"/onlinenum",parentId:"1",id:"452"},453:{path:"/onlinenum",parentId:"452",id:"453"},454:{path:"/shixuncontext",parentId:"1",id:"454"},455:{path:"/shixuncontext",parentId:"454",id:"455"},456:{path:"/shixuncontext/:Id/detail",parentId:"454",id:"456"},457:{path:"/educoder-demo",exact:!0,parentId:"1",id:"457"},458:{path:"/training",parentId:"1",id:"458"},459:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"458",id:"459"},460:{path:"/AIgc",parentId:"1",id:"460"},461:{path:"/AIgc",parentId:"460",id:"461"},462:{path:"/largeScreen",exact:!0,parentId:"1",id:"462"},463:{path:"/quality",parentId:"1",id:"463"},464:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"463",id:"464"},465:{path:"/otherlogin",exact:!0,parentId:"1",id:"465"},466:{path:"/otherloginqq",exact:!0,parentId:"1",id:"466"},467:{path:"/otherloginstart",exact:!0,parentId:"1",id:"467"},468:{path:"/pathsoverview",exact:!0,parentId:"1",id:"468"},469:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"469"},470:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"470"},471:{path:"/login",parentId:"1",id:"471"},472:{path:"/login",parentId:"471",id:"472"},473:{path:"/user",parentId:"1",id:"473"},474:{path:"/user/login",parentId:"473",id:"474"},475:{path:"/user/register",parentId:"473",id:"475"},476:{path:"/user/reset-password",parentId:"473",id:"476"},477:{path:"/colleges",parentId:"1",id:"477"},478:{path:"/colleges/:id/statistics",parentId:"477",id:"478"},479:{path:"/help",parentId:"1",id:"479"},480:{path:"/help/:id",parentId:"479",id:"480"},481:{path:"/video",parentId:"1",id:"481"},482:{path:"/video/:videoId",parentId:"481",id:"482"},483:{path:"/terminal",parentId:"1",id:"483"},484:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"484"},485:{path:"/statsDashboard",parentId:"1",id:"485"},486:{path:"/",parentId:"1",id:"486"},487:{path:"/",exact:!0,parentId:"486",id:"487"},488:{path:"/api/*",exact:!0,parentId:"486",id:"488"},489:{path:"/search",exact:!0,parentId:"486",id:"489"},490:{path:"/moop_cases",exact:!0,parentId:"486",id:"490"},491:{path:"/moop_cases/new",exact:!0,parentId:"486",id:"491"},492:{path:"/moop_cases/:caseId",exact:!0,parentId:"486",id:"492"},493:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"486",id:"493"},494:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"486",id:"494"},495:{path:"/randompaper",exact:!0,parentId:"486",id:"495"},496:{path:"/randompaper/edit/:id",exact:!0,parentId:"486",id:"496"},497:{path:"/randompaper/detail/:id",exact:!0,parentId:"486",id:"497"},498:{path:"/403",parentId:"486",id:"498"},499:{path:"/500",parentId:"486",id:"499"},500:{path:"/404",parentId:"486",id:"500"},501:{path:"/download",parentId:"486",id:"501"},502:{path:"/iwce",parentId:"486",id:"502"},503:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"486",id:"503"},504:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"486",id:"504"},505:{path:"/Activities",parentId:"486",id:"505"},506:{path:"/iwce/:itemname",parentId:"486",id:"506"},507:{path:"/hpc-course",parentId:"486",id:"507"},508:{path:"/user_agents",parentId:"486",id:"508"},509:{path:"/three",parentId:"486",id:"509"},510:{path:"/introduction",parentId:"486",id:"510"},511:{path:"/chatgpt",parentId:"486",id:"511"},512:{path:"/*",parentId:"486",id:"512"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),2:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),3:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(2099)]).then(__webpack_require__.bind(__webpack_require__,54462))),4:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),5:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),6:Me.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,79778))),7:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),8:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,34115))),9:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),10:Me.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,87434))),11:Me.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,92873))),12:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,43809))),13:Me.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,44959))),14:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,24614))),15:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1651)]).then(__webpack_require__.bind(__webpack_require__,7721))),16:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,43809))),17:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),18:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),19:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),20:Me.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,28916))),21:Me.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,29251))),22:Me.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,77287))),23:Me.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,41216))),24:Me.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,9140))),25:Me.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,9140))),26:Me.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),27:Me.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),28:Me.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,10660))),29:Me.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,54193))),30:Me.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,99590))),31:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,12868))),32:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,19990))),33:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,26733))),34:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,57993))),35:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,75126))),36:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,86664))),37:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,27880))),38:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,65852))),39:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68466))),40:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,66835))),41:Me.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,97835))),42:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,30824))),43:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),44:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8807),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,1810))),45:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8807),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,99573))),46:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,38072))),47:Me.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,12258))),48:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),49:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,74768))),50:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,44805))),51:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,44805))),52:Me.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,31333))),53:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,91813))),54:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,91813))),55:Me.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,82643))),56:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,59372))),57:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31618))),58:Me.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),59:Me.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),60:Me.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),61:Me.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),62:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,35507))),63:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,43867))),64:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,8180))),65:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,82999))),66:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,18379))),67:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,69911))),68:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,9324))),69:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,80800))),70:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,66206))),71:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,4793))),72:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,98519))),73:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,70970))),74:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,91235))),75:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,88244))),76:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,1952))),77:Me.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,12116))),78:Me.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,48862))),79:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,6047))),80:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,61571))),81:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,12899))),82:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,31191))),83:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,31698))),84:Me.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,44959))),85:Me.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,52783))),86:Me.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,50826))),87:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,94322))),88:Me.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,73305))),89:Me.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,34158))),90:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),91:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),92:Me.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,13178))),93:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,90907))),94:Me.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,69735))),95:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,90880))),96:Me.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,15454))),97:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,622))),98:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,23891))),99:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,20149))),100:Me.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,36858))),101:Me.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,34558))),102:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,89869))),103:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,89869))),104:Me.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,71903))),105:Me.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),106:Me.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),107:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,28617))),108:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,28617))),109:Me.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,41066))),110:Me.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,41066))),111:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,94280))),112:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,94280))),113:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,77684))),114:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,77684))),115:Me.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,49906))),116:Me.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,75789))),117:Me.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,58514))),118:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,5727))),119:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,5727))),120:Me.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,81914))),121:Me.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,47318))),122:Me.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,42786))),123:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6393),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,14939))),124:Me.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,59364))),125:Me.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,68502))),126:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,61805))),127:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,61805))),128:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),129:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),130:Me.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,8772))),131:Me.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,8772))),132:Me.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,92261))),133:Me.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,92261))),134:Me.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49271))),135:Me.lazy(()=>__webpack_require__.e(6205).then(__webpack_require__.bind(__webpack_require__,89191))),136:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,26658))),137:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,82042))),138:Me.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,96557))),139:Me.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,96557))),140:Me.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,84943))),141:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9406)]).then(__webpack_require__.bind(__webpack_require__,98147))),142:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9406)]).then(__webpack_require__.bind(__webpack_require__,98147))),143:Me.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,10672))),144:Me.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,10672))),145:Me.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,74735))),146:Me.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),147:Me.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),148:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),149:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),150:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,88860))),151:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,96640))),152:Me.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44475))),153:Me.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,10402))),154:Me.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,521))),155:Me.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,38159))),156:Me.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,81844))),157:Me.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,49499))),158:Me.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,52576))),159:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),160:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),161:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),162:Me.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,25969))),163:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),164:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),165:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),166:Me.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,87019))),167:Me.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,80070))),168:Me.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,57754))),169:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,18064))),170:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),171:Me.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,6880))),172:Me.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,46713))),173:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),174:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),175:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,7018))),176:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),177:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,37892))),178:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),179:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),180:Me.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,9488))),181:Me.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,68724))),182:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),183:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),184:Me.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,84868))),185:Me.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,92439))),186:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5307)]).then(__webpack_require__.bind(__webpack_require__,66325))),187:Me.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,90232))),188:Me.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,96345))),189:Me.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,62538))),190:Me.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,88252))),191:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(6442),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,19375))),192:Me.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,19243))),193:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,4415))),194:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),195:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),196:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),197:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),198:Me.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,17509))),199:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,39995))),200:Me.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,56869))),201:Me.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,88480))),202:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,58257))),203:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,94242))),204:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,94242))),205:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,69032))),206:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,57703))),207:Me.lazy(()=>Promise.all([__webpack_require__.e(6442),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,41666))),208:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,24405))),209:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6451)]).then(__webpack_require__.bind(__webpack_require__,75829))),210:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,91685))),211:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,24718))),212:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,24718))),213:Me.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,45641))),214:Me.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,45641))),215:Me.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,90587))),216:Me.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,90587))),217:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),218:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),219:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,98613))),220:Me.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,84379))),221:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,35486))),222:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),223:Me.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,11448))),224:Me.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,14055))),225:Me.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,57229))),226:Me.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,87828))),227:Me.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),228:Me.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),229:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,15925))),230:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,4160))),231:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,35924))),232:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,33842))),233:Me.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,34440))),234:Me.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,35305))),235:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,1654))),236:Me.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,71059))),237:Me.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26030))),238:Me.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,57730))),239:Me.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,26211))),240:Me.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,89983))),241:Me.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,43311))),242:Me.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,39633))),243:Me.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,84339))),244:Me.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,28893))),245:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,24764))),246:Me.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,15467))),247:Me.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,88739))),248:Me.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,49227))),249:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,9407))),250:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,39069))),251:Me.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,80105))),252:Me.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,67433))),253:Me.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,82034))),254:Me.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,36922))),255:Me.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,83743))),256:Me.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,79261))),257:Me.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,51405))),258:Me.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,66229))),259:Me.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,77830))),260:Me.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,2494))),261:Me.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,29449))),262:Me.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,49123))),263:Me.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,21605))),264:Me.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,22922))),265:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),266:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),267:Me.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,80613))),268:Me.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,3733))),269:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),270:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),271:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),272:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),273:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,20620))),274:Me.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,16764))),275:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),276:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),277:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),278:Me.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,20444))),279:Me.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,78505))),280:Me.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,96176))),281:Me.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,12810))),282:Me.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,32034))),283:Me.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,87578))),284:Me.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,92012))),285:Me.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,2661))),286:Me.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,2905))),287:Me.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,38392))),288:Me.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,3233))),289:Me.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,14172))),290:Me.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,39352))),291:Me.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,855))),292:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,21263))),293:Me.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,63357))),294:Me.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,38164))),295:Me.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,22388))),296:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),297:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),298:Me.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,47028))),299:Me.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,94570))),300:Me.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,15421))),301:Me.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,7432))),302:Me.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,39788))),303:Me.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,53392))),304:Me.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,42555))),305:Me.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,6170))),306:Me.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),307:Me.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),308:Me.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,49423))),309:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),310:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),311:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),312:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),313:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),314:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),315:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),316:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,28475))),317:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,56918))),318:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),319:Me.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,60862))),320:Me.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,45356))),321:Me.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,76202))),322:Me.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,87561))),323:Me.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,74058))),324:Me.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,53575))),325:Me.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,3668))),326:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),327:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,23144))),328:Me.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),329:Me.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),330:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),331:Me.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,99048))),332:Me.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,328))),333:Me.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,88025))),334:Me.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,50722))),335:Me.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,27460))),336:Me.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,81582))),337:Me.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,2431))),338:Me.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,72918))),339:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),340:Me.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,34154))),341:Me.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,85551))),342:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,24411))),343:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),344:Me.lazy(()=>__webpack_require__.e(1095).then(__webpack_require__.bind(__webpack_require__,15647))),345:Me.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),346:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),347:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1783)]).then(__webpack_require__.bind(__webpack_require__,96322))),348:Me.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),349:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),350:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),351:Me.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),352:Me.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),353:Me.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,79654))),354:Me.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),355:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,12721))),356:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),357:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),358:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7496)]).then(__webpack_require__.bind(__webpack_require__,53368))),359:Me.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),360:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),361:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),362:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),363:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),364:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),365:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),366:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),367:Me.lazy(()=>__webpack_require__.e(5841).then(__webpack_require__.bind(__webpack_require__,48930))),368:Me.lazy(()=>__webpack_require__.e(3030).then(__webpack_require__.bind(__webpack_require__,52588))),369:Me.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,42531))),370:Me.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),371:Me.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,94746))),372:Me.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),373:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),374:Me.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),375:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),376:Me.lazy(()=>__webpack_require__.e(1095).then(__webpack_require__.bind(__webpack_require__,15647))),377:Me.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),378:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),379:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1783)]).then(__webpack_require__.bind(__webpack_require__,96322))),380:Me.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),381:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),382:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),383:Me.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),384:Me.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),385:Me.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,79654))),386:Me.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),387:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,12721))),388:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),389:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),390:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7496)]).then(__webpack_require__.bind(__webpack_require__,53368))),391:Me.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),392:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),393:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),394:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),395:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),396:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),397:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),398:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),399:Me.lazy(()=>__webpack_require__.e(5841).then(__webpack_require__.bind(__webpack_require__,48930))),400:Me.lazy(()=>__webpack_require__.e(3030).then(__webpack_require__.bind(__webpack_require__,52588))),401:Me.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,42531))),402:Me.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),403:Me.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,94746))),404:Me.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),405:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),406:Me.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),407:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),408:Me.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,47317))),409:Me.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,21484))),410:Me.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,86315))),411:Me.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,35153))),412:Me.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,97137))),413:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),414:Me.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,5202))),415:Me.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,2016))),416:Me.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,8306))),417:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,52889))),418:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,85434))),419:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,57858))),420:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,65334))),421:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),422:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),423:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),424:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),425:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),426:Me.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,31765))),427:Me.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),428:Me.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),429:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,4282))),430:Me.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,81285))),431:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),432:Me.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,94163))),433:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,17734))),434:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),435:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(6095),__webpack_require__.e(8044),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,19969))),436:Me.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,13120))),437:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8044),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,84536))),438:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,32624))),439:Me.lazy(()=>__webpack_require__.e(3589).then(__webpack_require__.bind(__webpack_require__,11))),440:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(919)]).then(__webpack_require__.bind(__webpack_require__,53020))),441:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7042)]).then(__webpack_require__.bind(__webpack_require__,5547))),442:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8137)]).then(__webpack_require__.bind(__webpack_require__,91123))),443:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6095),__webpack_require__.e(4339)]).then(__webpack_require__.bind(__webpack_require__,370))),444:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9595)]).then(__webpack_require__.bind(__webpack_require__,16290))),445:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3443)]).then(__webpack_require__.bind(__webpack_require__,19687))),446:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),447:Me.lazy(()=>__webpack_require__.e(4888).then(__webpack_require__.bind(__webpack_require__,88567))),448:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3980)]).then(__webpack_require__.bind(__webpack_require__,21827))),449:Me.lazy(()=>__webpack_require__.e(6988).then(__webpack_require__.bind(__webpack_require__,22962))),450:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1490)]).then(__webpack_require__.bind(__webpack_require__,73657))),451:Me.lazy(()=>__webpack_require__.e(1077).then(__webpack_require__.bind(__webpack_require__,53044))),452:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),453:Me.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,89288))),454:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),455:Me.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,91185))),456:Me.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,39066))),457:Me.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,4255))),458:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),459:Me.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,20807))),460:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),461:Me.lazy(()=>__webpack_require__.e(953).then(__webpack_require__.bind(__webpack_require__,8222))),462:Me.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,24693))),463:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),464:Me.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,20146))),465:Me.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,95513))),466:Me.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,62465))),467:Me.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,54895))),468:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,27307))),469:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,14781))),470:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,63601))),471:Me.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,32040))),472:Me.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),473:Me.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,85978))),474:Me.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),475:Me.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,81221))),476:Me.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,75827))),477:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),478:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,7868))),479:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),480:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,28432))),481:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),482:Me.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,90131))),483:Me.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,75499))),484:Me.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,53198))),485:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,98787))),486:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),487:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,26764))),488:Me.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,89609))),489:Me.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,74897))),490:Me.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,55700))),491:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),492:Me.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,75243))),493:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),494:Me.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,3766))),495:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),496:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),497:Me.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,49026))),498:Me.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,40085))),499:Me.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,58234))),500:Me.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),501:Me.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,65077))),502:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),503:Me.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,73980))),504:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6393),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,57984))),505:Me.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,83741))),506:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),507:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),508:Me.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,75413))),509:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,4147))),510:Me.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,28637))),511:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,10998))),512:Me.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),"@@/global-layout":Me.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,73258)))}}})}var T=__webpack_require__(7240),O=__webpack_require__(26243),L=__webpack_require__(71418),_e=__webpack_require__(41977),Ie=()=>Me.createElement(L.Z,{size:"middle",className:_e.Z.loading}),hn=__webpack_require__(65582),On=__webpack_require__(56656),mn=__webpack_require__.n(On),Bi=__webpack_require__(91392),ds=__webpack_require__.n(Bi),$a=__webpack_require__(29256),Yo=__webpack_require__.n($a),is=__webpack_require__(81626),Po=__webpack_require__.n(is),$s=__webpack_require__(71912),tf=__webpack_require__.n($s),Jl=__webpack_require__(48228),Bc=__webpack_require__.n(Jl),rf=__webpack_require__(27112),Qu=__webpack_require__.n(rf),Pi=__webpack_require__(36867),Cl=__webpack_require__.n(Pi),Nc=__webpack_require__(53501),su=__webpack_require__.n(Nc),_o=__webpack_require__(22982),gs=__webpack_require__.n(_o),bl=__webpack_require__(54449),ec=__webpack_require__.n(bl),xl=__webpack_require__(10564),Fl=__webpack_require__.n(xl),Tl=__webpack_require__(92468),wf=__webpack_require__.n(Tl),Bu=__webpack_require__(27082),Bl=__webpack_require__.n(Bu);mn().extend(Yo()),mn().extend(Po()),mn().extend(tf()),mn().extend(Bc()),mn().extend(Qu()),mn().extend(Cl()),mn().extend(su()),mn().extend(gs()),mn().extend(ec()),mn().extend(Fl()),mn().extend(wf()),mn().extend(Bl()),mn().extend(ds());var nf=Object.defineProperty,Nl=Object.getOwnPropertySymbols,Ef=Object.prototype.hasOwnProperty,Nu=Object.prototype.propertyIsEnumerable,Pl=(Fn,ri,Ki)=>ri in Fn?nf(Fn,ri,{enumerable:!0,configurable:!0,writable:!0,value:Ki}):Fn[ri]=Ki,tc=(Fn,ri)=>{for(var Ki in ri||(ri={}))Ef.call(ri,Ki)&&Pl(Fn,Ki,ri[Ki]);if(Nl)for(var Ki of Nl(ri))Nu.call(ri,Ki)&&Pl(Fn,Ki,ri[Ki]);return Fn},jc=(Fn,ri,Ki)=>new Promise((Ma,sa)=>{var Ea=oa=>{try{Bs(Ki.next(oa))}catch(Us){sa(Us)}},va=oa=>{try{Bs(Ki.throw(oa))}catch(Us){sa(Us)}},Bs=oa=>oa.done?Ma(oa.value):Promise.resolve(oa.value).then(Ea,va);Bs((Ki=Ki.apply(Fn,ri)).next())});const Hu="/react/build/",Tu=!1;function Pu(){return jc(this,null,function*(){const Fn=(0,T.gD)(),{routes:ri,routeComponents:Ki}=yield xf(Fn);yield Fn.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:ri,routeComponents:Ki}});const Ma=Fn.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),sa=Ma.basename||"/",Ea=Ma.historyType||"browser",va=(0,O.fi)(tc({type:Ea,basename:sa},Ma.historyOpts));return Fn.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Bs={useStream:!0,routes:ri,routeComponents:Ki,pluginManager:Fn,mountElementId:"root",rootElement:Ma.rootElement||document.getElementById("root"),loadingComponent:Ie,publicPath:Hu,runtimePublicPath:Tu,history:va,historyType:Ea,basename:sa,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ma.callback},oa=Fn.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Bs});return Mc(oa)}})()})}Pu(),typeof window!="undefined"&&(window.g_umi={version:"4.5.3"})})()})(); +(`+a+": "+x+")",u.name="ChunkLoadError",u.type=a,u.request=x,l[1](u)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var _=function(r,i){var l=i[0],c=i[1],f=i[2],u,h,o=0;if(l.some(function(x){return d[x]!==0})){for(u in c)__webpack_require__.o(c,u)&&(__webpack_require__.m[u]=c[u]);if(f)var a=f(__webpack_require__)}for(r&&r(i);o0&&arguments[0]!==void 0?arguments[0]:"";return Fn.endsWith("/")?Fn:"".concat(Fn,"/")}var dc=__webpack_require__(38127),hc=__webpack_require__(38329),al=__webpack_require__(8616),sl=["content"],Mu=["content"],yf=/^(http:|https:)?\/\//;function pc(Fn){return yf.test(Fn)||Fn.startsWith("/")&&!Fn.startsWith("/*")||Fn.startsWith("./")||Fn.startsWith("../")}var Cu=function(){return Me.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},yl=function(ri){var Ki,Ma=ri.loaderData,sa=ri.htmlPageOpts,Ea=ri.manifest,va=(Ea==null||(Ki=Ea.assets)===null||Ki===void 0?void 0:Ki["umi.css"])||"";return Me.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ma||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(sa||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(va,"'")}})};function Fu(Fn){var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fn=="string")return pc(Fn)?(0,bo.Z)({src:Fn},ri):{content:Fn};if((0,al.Z)(Fn)==="object")return(0,bo.Z)((0,bo.Z)({},Fn),ri);throw new Error("Invalid script type: ".concat((0,al.Z)(Fn)))}function zf(Fn){return pc(Fn)?{type:"link",href:Fn}:{type:"style",content:Fn}}var Jc=function(ri){var Ki,Ma,sa,Ea,va,Bs,oa=ri.htmlPageOpts;return Me.createElement(Me.Fragment,null,(oa==null?void 0:oa.title)&&Me.createElement("title",null,oa.title),oa==null||(Ki=oa.favicons)===null||Ki===void 0?void 0:Ki.map(function(Us,Ju){return Me.createElement("link",{key:Ju,rel:"shortcut icon",href:Us})}),(oa==null?void 0:oa.description)&&Me.createElement("meta",{name:"description",content:oa.description}),(oa==null||(Ma=oa.keywords)===null||Ma===void 0?void 0:Ma.length)&&Me.createElement("meta",{name:"keywords",content:oa.keywords.join(",")}),oa==null||(sa=oa.metas)===null||sa===void 0?void 0:sa.map(function(Us){return Me.createElement("meta",{key:Us.name,name:Us.name,content:Us.content})}),oa==null||(Ea=oa.links)===null||Ea===void 0?void 0:Ea.map(function(Us,Ju){return Me.createElement("link",(0,hc.Z)({key:Ju},Us))}),oa==null||(va=oa.styles)===null||va===void 0?void 0:va.map(function(Us,Ju){var ul=zf(Us),wl=ul.type,el=ul.href,jl=ul.content;if(wl==="link")return Me.createElement("link",{key:Ju,rel:"stylesheet",href:el});if(wl==="style")return Me.createElement("style",{key:Ju},jl)}),oa==null||(Bs=oa.headScripts)===null||Bs===void 0?void 0:Bs.map(function(Us,Ju){var ul=Fu(Us),wl=ul.content,el=(0,dc.Z)(ul,sl);return Me.createElement("script",(0,hc.Z)({dangerouslySetInnerHTML:{__html:wl},key:Ju},el))}))};function Vo(Fn){var ri,Ki=Fn.children,Ma=Fn.loaderData,sa=Fn.manifest,Ea=Fn.htmlPageOpts,va=Fn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Bs=Fn.mountElementId;if(va!=null&&va.pureHtml)return Me.createElement("html",null,Me.createElement("head",null,Me.createElement(Jc,{htmlPageOpts:Ea})),Me.createElement("body",null,Me.createElement(Cu,null),Me.createElement("div",{id:Bs},Ki),Me.createElement(yl,{manifest:sa,loaderData:Ma,htmlPageOpts:Ea})));if(va!=null&&va.pureApp)return Me.createElement(Me.Fragment,null,Ki);var oa=typeof window=="undefined"?sa==null?void 0:sa.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Me.createElement("html",{suppressHydrationWarning:!0,lang:(Ea==null?void 0:Ea.lang)||"en"},Me.createElement("head",null,Me.createElement("meta",{charSet:"utf-8"}),Me.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),oa&&Me.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:oa}),Me.createElement(Jc,{htmlPageOpts:Ea})),Me.createElement("body",null,Me.createElement(Cu,null),Me.createElement("div",{id:Bs},Ki),Me.createElement(yl,{manifest:sa,loaderData:Ma,htmlPageOpts:Ea}),Ea==null||(ri=Ea.scripts)===null||ri===void 0?void 0:ri.map(function(Us,Ju){var ul=Fu(Us),wl=ul.content,el=(0,dc.Z)(ul,Mu);return Me.createElement("script",(0,hc.Z)({dangerouslySetInnerHTML:{__html:wl},key:Ju},el))})))}var Ml=Me.createContext(void 0);function Rc(){return Me.useContext(Ml)}var mc=["redirect"];function vc(Fn){var ri=Fn.routesById,Ki=Fn.parentId,Ma=Fn.routeComponents,sa=Fn.useStream,Ea=sa===void 0?!0:sa;return Object.keys(ri).filter(function(va){return ri[va].parentId===Ki}).map(function(va){var Bs=gc((0,bo.Z)((0,bo.Z)({route:ri[va],routeComponent:Ma[va],loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat},Fn.reactRouter5Compat&&{hasChildren:Object.keys(ri).filter(function(Us){return ri[Us].parentId===va}).length>0}),{},{useStream:Ea})),oa=vc({routesById:ri,routeComponents:Ma,parentId:Bs.id,loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat,useStream:Ea});return oa.length>0&&(Bs.children=oa,Bs.routes=oa),Bs})}function _c(Fn){var ri=(0,Au.UO)(),Ki=(0,Au.Gn)(Fn.to,ri),Ma=(0,fc.T$)(),sa=(0,Au.TH)();if(Ma!=null&&Ma.keepQuery){var Ea=sa.search+sa.hash;Ki+=Ea}var va=(0,bo.Z)((0,bo.Z)({},Fn),{},{to:Ki});return Me.createElement(Au.Fg,(0,hc.Z)({replace:!0},va))}function gc(Fn){var ri=Fn.route,Ki=Fn.useStream,Ma=Ki===void 0?!0:Ki,sa=ri.redirect,Ea=(0,dc.Z)(ri,mc),va=Fn.reactRouter5Compat?Lc:ql;return(0,bo.Z)({element:sa?Me.createElement(_c,{to:sa}):Me.createElement(Ml.Provider,{value:{route:Fn.route}},Me.createElement(va,{loader:Me.memo(Fn.routeComponent),loadingComponent:Fn.loadingComponent||Rf,hasChildren:Fn.hasChildren,useStream:Ma}))},Ea)}function Rf(){return Me.createElement("div",null)}function Lc(Fn){var ri=Rc(),Ki=ri.route,Ma=(0,fc.Ov)(),sa=Ma.history,Ea=Ma.clientRoutes,va=(0,Au.UO)(),Bs={params:va,isExact:!0,path:Ki.path,url:sa.location.pathname},oa=Fn.loader,Us={location:sa.location,match:Bs,history:sa,params:va,route:Ki,routes:Ea};return Fn.useStream?Me.createElement(Me.Suspense,{fallback:Me.createElement(Fn.loadingComponent,null)},Me.createElement(oa,Us,Fn.hasChildren&&Me.createElement(Au.j3,null))):Me.createElement(oa,Us,Fn.hasChildren&&Me.createElement(Au.j3,null))}function ql(Fn){var ri=Fn.loader;return Fn.useStream?Me.createElement(Me.Suspense,{fallback:Me.createElement(Fn.loadingComponent,null)},Me.createElement(ri,null)):Me.createElement(ri,null)}var Ql=null;function bf(){return Ql}function ef(Fn){var ri=Fn.history,Ki=Me.useState({action:ri.action,location:ri.location}),Ma=(0,Lu.Z)(Ki,2),sa=Ma[0],Ea=Ma[1];return(0,Me.useLayoutEffect)(function(){return ri.listen(Ea)},[ri]),(0,Me.useLayoutEffect)(function(){function va(Bs){Fn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fn.routes,clientRoutes:Fn.clientRoutes,location:Bs.location,action:Bs.action,basename:Fn.basename,isFirst:!!Bs.isFirst}})}return va({location:sa.location,action:sa.action,isFirst:!0}),ri.listen(va)},[ri,Fn.routes,Fn.clientRoutes]),Me.createElement(Au.F0,{navigator:ri,location:sa.location,basename:Fn.basename},Fn.children)}function ol(){var Fn=(0,fc.Ov)(),ri=Fn.clientRoutes;return(0,Au.V$)(ri)}var yc=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],bc=function(ri,Ki){var Ma=ri.basename||"/",sa=vc({routesById:ri.routes,routeComponents:ri.routeComponents,loadingComponent:ri.loadingComponent,reactRouter5Compat:ri.reactRouter5Compat,useStream:ri.useStream});ri.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:sa}});for(var Ea=Me.createElement(ef,{basename:Ma,pluginManager:ri.pluginManager,routes:ri.routes,clientRoutes:sa,history:ri.history},Ki),va=0,Bs=yc;vanew Promise((Ma,sa)=>{var Ea=oa=>{try{Bs(Ki.next(oa))}catch(Us){sa(Us)}},va=oa=>{try{Bs(Ki.throw(oa))}catch(Us){sa(Us)}},Bs=oa=>oa.done?Ma(oa.value):Promise.resolve(oa.value).then(Ea,va);Bs((Ki=Ki.apply(Fn,ri)).next())});function xf(){return Fc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/shixuns/:id/skill_tags",parentId:"201",id:"221"},222:{path:"/users",parentId:"1",id:"222"},223:{path:"/users/:username/videos/protocol",parentId:"222",id:"223"},224:{path:"/users/:username/videos/resourceProtocol",parentId:"222",id:"224"},225:{path:"/users/:username/videos/success",parentId:"222",id:"225"},226:{path:"/users/:username/topicbank/:topicstype",parentId:"222",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"222",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"222",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"222",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"222",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"222",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"222",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"222",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"222",id:"234"},235:{path:"/users/:username/experiment-img/add",parentId:"222",id:"235"},236:{path:"/users/:username",parentId:"222",id:"236"},237:{path:"/users/:username",parentId:"236",id:"237"},238:{path:"/users/:username/baseInfo/edit",parentId:"236",id:"238"},239:{path:"/users/:username/baseInfo",parentId:"236",id:"239"},240:{path:"/users/:username/realNameCertification",parentId:"236",id:"240"},241:{path:"/users/:username/careerCertification",parentId:"236",id:"241"},242:{path:"/users/:username/classrooms",parentId:"236",id:"242"},243:{path:"/users/:username/shixuns",parentId:"236",id:"243"},244:{path:"/users/:username/dataSet",parentId:"236",id:"244"},245:{path:"/users/:username/userPortrait",parentId:"236",id:"245"},246:{path:"/users/:username/learningPath",parentId:"236",id:"246"},247:{path:"/users/:username/teach-group",parentId:"236",id:"247"},248:{path:"/users/:username/competitions",parentId:"236",id:"248"},249:{path:"/users/:username/experiment-img",parentId:"236",id:"249"},250:{path:"/users/:username/experiment-img/:experid/detail",parentId:"236",id:"250"},251:{path:"/users/:username/certificate",parentId:"236",id:"251"},252:{path:"/users/:username/otherResources",parentId:"236",id:"252"},253:{path:"/users/:username/classmanagement",parentId:"236",id:"253"},254:{path:"/users/:username/classmanagement/:couserid",parentId:"236",id:"254"},255:{path:"/users/:username/paths",parentId:"236",id:"255"},256:{path:"/users/:username/projects",parentId:"236",id:"256"},257:{path:"/users/:username/videos",parentId:"236",id:"257"},258:{path:"/users/:username/videos/upload",parentId:"236",id:"258"},259:{path:"/users/:username/topics/:topicstype",parentId:"236",id:"259"},260:{path:"/users/:username/vspaces",parentId:"236",id:"260"},261:{path:"/users/:username/resourcesCenter",parentId:"236",id:"261"},262:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"236",id:"262"},263:{path:"/users/:username/resourceGuarantee",parentId:"236",id:"263"},264:{path:"/users/:username/resourceAllocation",parentId:"236",id:"264"},265:{parentId:"1",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems",parentId:"266",id:"267"},268:{path:"/problems/batchAdd",parentId:"266",id:"268"},269:{path:"/problems/newcreate",parentId:"265",id:"269"},270:{path:"/problems/newedit/:id",exact:!0,parentId:"265",id:"270"},271:{path:"/problems/:id/edit",exact:!0,parentId:"265",id:"271"},272:{path:"/problems/new",exact:!0,parentId:"265",id:"272"},273:{path:"/problems/:id/oj/:save_identifier",parentId:"265",id:"273"},274:{path:"/problems/:id/record-detail/:submitId",parentId:"265",id:"274"},275:{path:"/problems/add",parentId:"265",id:"275"},276:{path:"/problems/:id/ojedit",parentId:"265",id:"276"},277:{path:"/engineering",parentId:"1",id:"277"},278:{path:"/engineering",parentId:"277",id:"278"},279:{path:"/engineering/teacherList",parentId:"278",id:"279"},280:{path:"/engineering/studentList",parentId:"278",id:"280"},281:{path:"/engineering/training/program",parentId:"278",id:"281"},282:{path:"/engineering/training/program/add",parentId:"278",id:"282"},283:{path:"/engineering/training/program/edit",parentId:"278",id:"283"},284:{path:"/engineering/training/objectives",parentId:"278",id:"284"},285:{path:"/engineering/graduated/index",parentId:"278",id:"285"},286:{path:"/engineering/graduated/matrix",parentId:"278",id:"286"},287:{path:"/engineering/course/list",parentId:"278",id:"287"},288:{path:"/engineering/course/setting",parentId:"278",id:"288"},289:{path:"/engineering/course/matrix",parentId:"278",id:"289"},290:{path:"/engineering/navigation",parentId:"278",id:"290"},291:{path:"/engineering/evaluate/course",parentId:"278",id:"291"},292:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"278",id:"292"},293:{path:"/engineering/evaluate/norm",parentId:"278",id:"293"},294:{path:"/engineering/evaluate/document",parentId:"278",id:"294"},295:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"278",id:"295"},296:{path:"/engineering/*",redirect:"/404",parentId:"278",id:"296"},297:{path:"/innovation",parentId:"1",id:"297"},298:{path:"/innovation/tasks/:taskId",parentId:"297",id:"298"},299:{path:"/innovation",parentId:"297",id:"299"},300:{path:"/innovation/project",parentId:"299",id:"300"},301:{path:"/innovation/dataset",parentId:"299",id:"301"},302:{path:"/innovation/mirror",parentId:"299",id:"302"},303:{path:"/innovation/my-project",parentId:"299",id:"303"},304:{path:"/innovation/my-dataset",parentId:"299",id:"304"},305:{path:"/innovation/my-mirror",parentId:"299",id:"305"},306:{path:"/innovation/project/create",parentId:"299",id:"306"},307:{path:"/innovation/project/edit/:id",parentId:"299",id:"307"},308:{path:"/innovation/project/detail/:taskId",parentId:"299",id:"308"},309:{path:"/tasks",parentId:"1",id:"309"},310:{path:"/tasks/:taskId",exact:!0,parentId:"309",id:"310"},311:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"309",id:"311"},312:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"309",id:"312"},313:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"309",id:"313"},314:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"309",id:"314"},315:{path:"/myproblems",parentId:"1",id:"315"},316:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"315",id:"316"},317:{path:"/myproblems/:id",exact:!0,parentId:"315",id:"317"},318:{path:"/account",parentId:"1",id:"318"},319:{path:"/account",parentId:"318",id:"319"},320:{path:"/account/profile",parentId:"319",id:"320"},321:{path:"/account/profile/edit",parentId:"319",id:"321"},322:{path:"/account/certification",parentId:"319",id:"322"},323:{path:"/account/secure",parentId:"319",id:"323"},324:{path:"/account/binding",parentId:"319",id:"324"},325:{path:"/account/Results",parentId:"319",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"345",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"345",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"345",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"345",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"345",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"345",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"345",id:"352"},353:{path:"/vtrs/:virtual_spacesId/workplace",parentId:"345",id:"353"},354:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"345",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"345",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"345",id:"356"},357:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"345",id:"357"},358:{path:"/vtrs/:virtual_spacesId/courseData",parentId:"345",id:"358"},359:{path:"/vtrs/:virtual_spacesId/material",parentId:"345",id:"359"},360:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"345",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"345",id:"361"},362:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"345",id:"362"},363:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"345",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"345",id:"364"},365:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"345",id:"365"},366:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"345",id:"366"},367:{path:"/vtrs/:virtual_spacesId/moduleset",parentId:"345",id:"367"},368:{path:"/vtrs/:virtual_spacesId/memberset",parentId:"345",id:"368"},369:{path:"/vtrs/:virtual_spacesId/resources",parentId:"345",id:"369"},370:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"345",id:"370"},371:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"345",id:"371"},372:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"345",id:"372"},373:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"345",id:"373"},374:{path:"/vtrs/:virtual_spacesId/*",parentId:"345",id:"374"},375:{path:"/101",parentId:"1",id:"375"},376:{path:"/101",parentId:"375",id:"376"},377:{path:"/101/:virtual_spacesId",parentId:"375",id:"377"},378:{path:"/101/:virtual_spacesId",exact:!0,parentId:"377",id:"378"},379:{path:"/101/:virtual_spacesId/experiment",parentId:"377",id:"379"},380:{path:"/101/:virtual_spacesId/announcement",parentId:"377",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/add",parentId:"377",id:"381"},382:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"377",id:"382"},383:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"377",id:"383"},384:{path:"/101/:virtual_spacesId/survey",parentId:"377",id:"384"},385:{path:"/101/:virtual_spacesId/workplace",parentId:"377",id:"385"},386:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"377",id:"386"},387:{path:"/101/:virtual_spacesId/knowledge",parentId:"377",id:"387"},388:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"377",id:"388"},389:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"377",id:"389"},390:{path:"/101/:virtual_spacesId/courseData",parentId:"377",id:"390"},391:{path:"/101/:virtual_spacesId/material",parentId:"377",id:"391"},392:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"377",id:"392"},393:{path:"/101/:virtual_spacesId/lesson",parentId:"377",id:"393"},394:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"377",id:"394"},395:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"377",id:"395"},396:{path:"/101/:virtual_spacesId/discussion",parentId:"377",id:"396"},397:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"377",id:"397"},398:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"377",id:"398"},399:{path:"/101/:virtual_spacesId/moduleset",parentId:"377",id:"399"},400:{path:"/101/:virtual_spacesId/memberset",parentId:"377",id:"400"},401:{path:"/101/:virtual_spacesId/resources",parentId:"377",id:"401"},402:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"377",id:"402"},403:{path:"/101/:virtual_spacesId/Plan",parentId:"377",id:"403"},404:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"377",id:"404"},405:{path:"/101/:virtual_spacesId/homepage",parentId:"377",id:"405"},406:{path:"/101/:virtual_spacesId/*",parentId:"377",id:"406"},407:{path:"/administration",parentId:"1",id:"407"},408:{path:"/administration",parentId:"407",id:"408"},409:{path:"/administration/college",parentId:"408",id:"409"},410:{path:"/administration/student",parentId:"408",id:"410"},411:{path:"/administration/student/:studentId/edit",parentId:"408",id:"411"},412:{path:"/administration/profession",parentId:"408",id:"412"},413:{path:"/graduations",parentId:"1",id:"413"},414:{path:"/graduations",exact:!0,parentId:"413",id:"414"},415:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"413",id:"415"},416:{path:"/graduations/:id",parentId:"413",id:"416"},417:{path:"/graduations/:id/index",parentId:"416",id:"417"},418:{path:"/graduations/:id/topics",parentId:"416",id:"418"},419:{path:"/graduations/:id/student_selection",parentId:"416",id:"419"},420:{path:"/graduations/:id/tasks",parentId:"416",id:"420"},421:{path:"/graduations/:id/opening_report",parentId:"416",id:"421"},422:{path:"/graduations/:id/midterm_report",parentId:"416",id:"422"},423:{path:"/graduations/:id/thesis",parentId:"416",id:"423"},424:{path:"/graduations/:id/final_defense",parentId:"416",id:"424"},425:{path:"/graduations/:id/final_thesis",parentId:"416",id:"425"},426:{path:"/graduations/:id/settings",parentId:"416",id:"426"},427:{path:"/graduations/:id/teachers",parentId:"416",id:"427"},428:{path:"/graduations/:id/students",parentId:"416",id:"428"},429:{path:"/graduations/:id/archives",parentId:"416",id:"429"},430:{path:"/graduations/:id/grading_summary",parentId:"416",id:"430"},431:{path:"/dataset",parentId:"1",id:"431"},432:{path:"/dataset",exact:!0,parentId:"431",id:"432"},433:{path:"/dataset/:id/detail",exact:!0,parentId:"431",id:"433"},434:{path:"/knowledgegraph",parentId:"1",id:"434"},435:{path:"/knowledgegraph/:pathId",parentId:"434",id:"435"},436:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"434",id:"436"},437:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"434",id:"437"},438:{path:"/knowledgegraph/:pathId/statistics",parentId:"434",id:"438"},439:{parentId:"434",id:"439"},440:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId",parentId:"439",id:"440"},441:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId/detail/:detailId",parentId:"439",id:"441"},442:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId",parentId:"439",id:"442"},443:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId/detail",parentId:"439",id:"443"},444:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId",parentId:"439",id:"444"},445:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId/detail/:detailId",parentId:"439",id:"445"},446:{path:"/information",parentId:"1",id:"446"},447:{path:"/information",exact:!0,parentId:"446",id:"447"},448:{path:"/information/add",exact:!0,parentId:"446",id:"448"},449:{path:"/information/:id/detail",exact:!0,parentId:"446",id:"449"},450:{path:"/information/:id/edit",exact:!0,parentId:"446",id:"450"},451:{path:"/newlogin",parentId:"1",id:"451"},452:{path:"/onlinenum",parentId:"1",id:"452"},453:{path:"/onlinenum",parentId:"452",id:"453"},454:{path:"/shixuncontext",parentId:"1",id:"454"},455:{path:"/shixuncontext",parentId:"454",id:"455"},456:{path:"/shixuncontext/:Id/detail",parentId:"454",id:"456"},457:{path:"/educoder-demo",exact:!0,parentId:"1",id:"457"},458:{path:"/training",parentId:"1",id:"458"},459:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"458",id:"459"},460:{path:"/AIgc",parentId:"1",id:"460"},461:{path:"/AIgc",parentId:"460",id:"461"},462:{path:"/largeScreen",exact:!0,parentId:"1",id:"462"},463:{path:"/quality",parentId:"1",id:"463"},464:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"463",id:"464"},465:{path:"/otherlogin",exact:!0,parentId:"1",id:"465"},466:{path:"/otherloginqq",exact:!0,parentId:"1",id:"466"},467:{path:"/otherloginstart",exact:!0,parentId:"1",id:"467"},468:{path:"/pathsoverview",exact:!0,parentId:"1",id:"468"},469:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"469"},470:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"470"},471:{path:"/login",parentId:"1",id:"471"},472:{path:"/login",parentId:"471",id:"472"},473:{path:"/user",parentId:"1",id:"473"},474:{path:"/user/login",parentId:"473",id:"474"},475:{path:"/user/register",parentId:"473",id:"475"},476:{path:"/user/reset-password",parentId:"473",id:"476"},477:{path:"/colleges",parentId:"1",id:"477"},478:{path:"/colleges/:id/statistics",parentId:"477",id:"478"},479:{path:"/help",parentId:"1",id:"479"},480:{path:"/help/:id",parentId:"479",id:"480"},481:{path:"/video",parentId:"1",id:"481"},482:{path:"/video/:videoId",parentId:"481",id:"482"},483:{path:"/terminal",parentId:"1",id:"483"},484:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"484"},485:{path:"/statsDashboard",parentId:"1",id:"485"},486:{path:"/",parentId:"1",id:"486"},487:{path:"/",exact:!0,parentId:"486",id:"487"},488:{path:"/api/*",exact:!0,parentId:"486",id:"488"},489:{path:"/search",exact:!0,parentId:"486",id:"489"},490:{path:"/moop_cases",exact:!0,parentId:"486",id:"490"},491:{path:"/moop_cases/new",exact:!0,parentId:"486",id:"491"},492:{path:"/moop_cases/:caseId",exact:!0,parentId:"486",id:"492"},493:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"486",id:"493"},494:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"486",id:"494"},495:{path:"/randompaper",exact:!0,parentId:"486",id:"495"},496:{path:"/randompaper/edit/:id",exact:!0,parentId:"486",id:"496"},497:{path:"/randompaper/detail/:id",exact:!0,parentId:"486",id:"497"},498:{path:"/403",parentId:"486",id:"498"},499:{path:"/500",parentId:"486",id:"499"},500:{path:"/404",parentId:"486",id:"500"},501:{path:"/download",parentId:"486",id:"501"},502:{path:"/iwce",parentId:"486",id:"502"},503:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"486",id:"503"},504:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"486",id:"504"},505:{path:"/Activities",parentId:"486",id:"505"},506:{path:"/iwce/:itemname",parentId:"486",id:"506"},507:{path:"/hpc-course",parentId:"486",id:"507"},508:{path:"/user_agents",parentId:"486",id:"508"},509:{path:"/three",parentId:"486",id:"509"},510:{path:"/introduction",parentId:"486",id:"510"},511:{path:"/chatgpt",parentId:"486",id:"511"},512:{path:"/*",parentId:"486",id:"512"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),2:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),3:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(2099)]).then(__webpack_require__.bind(__webpack_require__,54462))),4:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),5:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),6:Me.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,79778))),7:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),8:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,34115))),9:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),10:Me.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,87434))),11:Me.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,92873))),12:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,43809))),13:Me.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,44959))),14:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,24614))),15:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1651)]).then(__webpack_require__.bind(__webpack_require__,7721))),16:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,43809))),17:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),18:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),19:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),20:Me.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,28916))),21:Me.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,29251))),22:Me.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,77287))),23:Me.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,41216))),24:Me.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,9140))),25:Me.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,9140))),26:Me.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),27:Me.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),28:Me.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,10660))),29:Me.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,54193))),30:Me.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,99590))),31:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,12868))),32:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,19990))),33:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,26733))),34:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,57993))),35:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,75126))),36:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,86664))),37:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,27880))),38:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,65852))),39:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68466))),40:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,66835))),41:Me.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,97835))),42:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,30824))),43:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),44:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8807),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,1810))),45:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8807),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,99573))),46:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,38072))),47:Me.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,12258))),48:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),49:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,74768))),50:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,16439))),51:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,16439))),52:Me.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,31333))),53:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,91813))),54:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,91813))),55:Me.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,82643))),56:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,59372))),57:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31618))),58:Me.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),59:Me.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),60:Me.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),61:Me.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),62:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,35507))),63:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,43867))),64:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,8180))),65:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,82999))),66:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,18379))),67:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,69911))),68:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,9324))),69:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,80800))),70:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,66206))),71:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,4793))),72:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,98519))),73:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,70970))),74:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,91235))),75:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,88244))),76:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,1952))),77:Me.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,12116))),78:Me.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,48862))),79:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,6047))),80:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,61571))),81:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,12899))),82:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,31191))),83:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,31698))),84:Me.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,44959))),85:Me.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,52783))),86:Me.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,50826))),87:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,94322))),88:Me.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,73305))),89:Me.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,34158))),90:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),91:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),92:Me.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,13178))),93:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,90907))),94:Me.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,69735))),95:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,90880))),96:Me.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,15454))),97:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,622))),98:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,23891))),99:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,20149))),100:Me.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,36858))),101:Me.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,34558))),102:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,89869))),103:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,89869))),104:Me.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,71903))),105:Me.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),106:Me.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),107:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,93711))),108:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,93711))),109:Me.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,41066))),110:Me.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,41066))),111:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,94280))),112:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,94280))),113:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,77684))),114:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,77684))),115:Me.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,49906))),116:Me.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,75789))),117:Me.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,58514))),118:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,5727))),119:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,5727))),120:Me.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,81914))),121:Me.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,47318))),122:Me.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,42786))),123:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6393),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,14939))),124:Me.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,59364))),125:Me.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,68502))),126:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,61805))),127:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,61805))),128:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),129:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),130:Me.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,8772))),131:Me.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,8772))),132:Me.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,92261))),133:Me.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,92261))),134:Me.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49271))),135:Me.lazy(()=>__webpack_require__.e(6205).then(__webpack_require__.bind(__webpack_require__,89191))),136:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,26658))),137:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,82042))),138:Me.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,96557))),139:Me.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,96557))),140:Me.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,84943))),141:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9406)]).then(__webpack_require__.bind(__webpack_require__,98147))),142:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9406)]).then(__webpack_require__.bind(__webpack_require__,98147))),143:Me.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,10672))),144:Me.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,10672))),145:Me.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,74735))),146:Me.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),147:Me.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),148:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),149:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),150:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,88860))),151:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,96640))),152:Me.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44475))),153:Me.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,10402))),154:Me.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,521))),155:Me.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,38159))),156:Me.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,81844))),157:Me.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,49499))),158:Me.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,52576))),159:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),160:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),161:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),162:Me.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,25969))),163:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),164:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),165:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),166:Me.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,87019))),167:Me.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,80070))),168:Me.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,57754))),169:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,18064))),170:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),171:Me.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,6880))),172:Me.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,46713))),173:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),174:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),175:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,7018))),176:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),177:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,37892))),178:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),179:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),180:Me.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,9488))),181:Me.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,68724))),182:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),183:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),184:Me.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,84868))),185:Me.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,92439))),186:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5307)]).then(__webpack_require__.bind(__webpack_require__,66325))),187:Me.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,90232))),188:Me.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,96345))),189:Me.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,62538))),190:Me.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,88252))),191:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(6442),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,19375))),192:Me.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,19243))),193:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,4415))),194:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),195:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),196:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),197:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),198:Me.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,17509))),199:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,39995))),200:Me.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,56869))),201:Me.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,88480))),202:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,58257))),203:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,94242))),204:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,94242))),205:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,69032))),206:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,57703))),207:Me.lazy(()=>Promise.all([__webpack_require__.e(6442),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,41666))),208:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,24405))),209:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6451)]).then(__webpack_require__.bind(__webpack_require__,75829))),210:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,91685))),211:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,24718))),212:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,24718))),213:Me.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,45641))),214:Me.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,45641))),215:Me.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,90587))),216:Me.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,90587))),217:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),218:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),219:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,98613))),220:Me.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,84379))),221:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,35486))),222:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),223:Me.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,11448))),224:Me.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,14055))),225:Me.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,57229))),226:Me.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,87828))),227:Me.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),228:Me.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),229:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,15925))),230:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,4160))),231:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,35924))),232:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,33842))),233:Me.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,34440))),234:Me.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,35305))),235:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,1654))),236:Me.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,71059))),237:Me.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26030))),238:Me.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,57730))),239:Me.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,26211))),240:Me.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,89983))),241:Me.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,43311))),242:Me.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,39633))),243:Me.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,84339))),244:Me.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,28893))),245:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,24764))),246:Me.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,15467))),247:Me.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,88739))),248:Me.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,49227))),249:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,9407))),250:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,39069))),251:Me.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,80105))),252:Me.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,67433))),253:Me.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,82034))),254:Me.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,36922))),255:Me.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,83743))),256:Me.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,79261))),257:Me.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,51405))),258:Me.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,66229))),259:Me.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,77830))),260:Me.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,2494))),261:Me.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,29449))),262:Me.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,49123))),263:Me.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,21605))),264:Me.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,22922))),265:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),266:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),267:Me.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,80613))),268:Me.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,3733))),269:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),270:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),271:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),272:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),273:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,20620))),274:Me.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,16764))),275:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),276:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),277:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),278:Me.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,20444))),279:Me.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,78505))),280:Me.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,96176))),281:Me.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,12810))),282:Me.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,32034))),283:Me.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,87578))),284:Me.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,92012))),285:Me.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,2661))),286:Me.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,2905))),287:Me.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,38392))),288:Me.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,3233))),289:Me.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,14172))),290:Me.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,39352))),291:Me.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,855))),292:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,21263))),293:Me.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,63357))),294:Me.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,38164))),295:Me.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,22388))),296:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),297:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),298:Me.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,47028))),299:Me.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,94570))),300:Me.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,15421))),301:Me.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,7432))),302:Me.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,39788))),303:Me.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,53392))),304:Me.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,42555))),305:Me.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,6170))),306:Me.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),307:Me.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),308:Me.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,49423))),309:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),310:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),311:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),312:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),313:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),314:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),315:Me.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),316:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,28475))),317:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,56918))),318:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),319:Me.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,60862))),320:Me.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,45356))),321:Me.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,76202))),322:Me.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,87561))),323:Me.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,74058))),324:Me.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,53575))),325:Me.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,3668))),326:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),327:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,23144))),328:Me.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),329:Me.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),330:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),331:Me.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,99048))),332:Me.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,328))),333:Me.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,88025))),334:Me.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,50722))),335:Me.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,27460))),336:Me.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,81582))),337:Me.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,2431))),338:Me.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,72918))),339:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),340:Me.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,34154))),341:Me.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,85551))),342:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,24411))),343:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),344:Me.lazy(()=>__webpack_require__.e(1095).then(__webpack_require__.bind(__webpack_require__,15647))),345:Me.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),346:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),347:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1783)]).then(__webpack_require__.bind(__webpack_require__,35929))),348:Me.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),349:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),350:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),351:Me.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),352:Me.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),353:Me.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,79654))),354:Me.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),355:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,12721))),356:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),357:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),358:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7496)]).then(__webpack_require__.bind(__webpack_require__,53368))),359:Me.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),360:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),361:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),362:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),363:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),364:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),365:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),366:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),367:Me.lazy(()=>__webpack_require__.e(5841).then(__webpack_require__.bind(__webpack_require__,48930))),368:Me.lazy(()=>__webpack_require__.e(3030).then(__webpack_require__.bind(__webpack_require__,52588))),369:Me.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,42531))),370:Me.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),371:Me.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,94746))),372:Me.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),373:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),374:Me.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),375:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),376:Me.lazy(()=>__webpack_require__.e(1095).then(__webpack_require__.bind(__webpack_require__,15647))),377:Me.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),378:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),379:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1783)]).then(__webpack_require__.bind(__webpack_require__,35929))),380:Me.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),381:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),382:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),383:Me.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),384:Me.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),385:Me.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,79654))),386:Me.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),387:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,12721))),388:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),389:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),390:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7496)]).then(__webpack_require__.bind(__webpack_require__,53368))),391:Me.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),392:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),393:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),394:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),395:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),396:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),397:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),398:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),399:Me.lazy(()=>__webpack_require__.e(5841).then(__webpack_require__.bind(__webpack_require__,48930))),400:Me.lazy(()=>__webpack_require__.e(3030).then(__webpack_require__.bind(__webpack_require__,52588))),401:Me.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,42531))),402:Me.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),403:Me.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,94746))),404:Me.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),405:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),406:Me.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),407:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),408:Me.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,47317))),409:Me.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,21484))),410:Me.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,86315))),411:Me.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,35153))),412:Me.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,97137))),413:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),414:Me.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,5202))),415:Me.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,2016))),416:Me.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,8306))),417:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,52889))),418:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,85434))),419:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,57858))),420:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,65334))),421:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),422:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),423:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),424:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),425:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),426:Me.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,31765))),427:Me.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),428:Me.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),429:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,4282))),430:Me.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,81285))),431:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),432:Me.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,94163))),433:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,17734))),434:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),435:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(6095),__webpack_require__.e(8044),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,19969))),436:Me.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,13120))),437:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8044),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,84536))),438:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,32624))),439:Me.lazy(()=>__webpack_require__.e(3589).then(__webpack_require__.bind(__webpack_require__,11))),440:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(919)]).then(__webpack_require__.bind(__webpack_require__,53020))),441:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7042)]).then(__webpack_require__.bind(__webpack_require__,5547))),442:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8137)]).then(__webpack_require__.bind(__webpack_require__,91123))),443:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6095),__webpack_require__.e(4339)]).then(__webpack_require__.bind(__webpack_require__,370))),444:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9595)]).then(__webpack_require__.bind(__webpack_require__,16290))),445:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3443)]).then(__webpack_require__.bind(__webpack_require__,19687))),446:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),447:Me.lazy(()=>__webpack_require__.e(4888).then(__webpack_require__.bind(__webpack_require__,88567))),448:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3980)]).then(__webpack_require__.bind(__webpack_require__,21827))),449:Me.lazy(()=>__webpack_require__.e(6988).then(__webpack_require__.bind(__webpack_require__,22962))),450:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1490)]).then(__webpack_require__.bind(__webpack_require__,73657))),451:Me.lazy(()=>__webpack_require__.e(1077).then(__webpack_require__.bind(__webpack_require__,53044))),452:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),453:Me.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,89288))),454:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),455:Me.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,91185))),456:Me.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,39066))),457:Me.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,4255))),458:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),459:Me.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,20807))),460:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),461:Me.lazy(()=>__webpack_require__.e(953).then(__webpack_require__.bind(__webpack_require__,8222))),462:Me.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,24693))),463:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),464:Me.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,20146))),465:Me.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,95513))),466:Me.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,62465))),467:Me.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,54895))),468:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,27307))),469:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,14781))),470:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,63601))),471:Me.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,32040))),472:Me.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),473:Me.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,85978))),474:Me.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),475:Me.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,81221))),476:Me.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,75827))),477:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),478:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,7868))),479:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),480:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,28432))),481:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),482:Me.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,90131))),483:Me.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,75499))),484:Me.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,53198))),485:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,98787))),486:Me.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(1114),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,60227))),487:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2592),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,26764))),488:Me.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,89609))),489:Me.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,74897))),490:Me.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,55700))),491:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),492:Me.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,75243))),493:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),494:Me.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,3766))),495:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),496:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),497:Me.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,49026))),498:Me.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,40085))),499:Me.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,58234))),500:Me.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),501:Me.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,65077))),502:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),503:Me.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,73980))),504:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6393),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,57984))),505:Me.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,83741))),506:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),507:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),508:Me.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,75413))),509:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,4147))),510:Me.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,28637))),511:Me.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,10998))),512:Me.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),"@@/global-layout":Me.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,73258)))}}})}var T=__webpack_require__(7240),O=__webpack_require__(26243),L=__webpack_require__(71418),_e=__webpack_require__(41977),Ie=()=>Me.createElement(L.Z,{size:"middle",className:_e.Z.loading}),hn=__webpack_require__(65582),On=__webpack_require__(56656),mn=__webpack_require__.n(On),Bi=__webpack_require__(91392),ds=__webpack_require__.n(Bi),$a=__webpack_require__(29256),Yo=__webpack_require__.n($a),is=__webpack_require__(81626),Po=__webpack_require__.n(is),$s=__webpack_require__(71912),tf=__webpack_require__.n($s),Jl=__webpack_require__(48228),Bc=__webpack_require__.n(Jl),rf=__webpack_require__(27112),Qu=__webpack_require__.n(rf),Pi=__webpack_require__(36867),Cl=__webpack_require__.n(Pi),Nc=__webpack_require__(53501),su=__webpack_require__.n(Nc),_o=__webpack_require__(22982),gs=__webpack_require__.n(_o),bl=__webpack_require__(54449),ec=__webpack_require__.n(bl),xl=__webpack_require__(10564),Fl=__webpack_require__.n(xl),Tl=__webpack_require__(92468),wf=__webpack_require__.n(Tl),Bu=__webpack_require__(27082),Bl=__webpack_require__.n(Bu);mn().extend(Yo()),mn().extend(Po()),mn().extend(tf()),mn().extend(Bc()),mn().extend(Qu()),mn().extend(Cl()),mn().extend(su()),mn().extend(gs()),mn().extend(ec()),mn().extend(Fl()),mn().extend(wf()),mn().extend(Bl()),mn().extend(ds());var nf=Object.defineProperty,Nl=Object.getOwnPropertySymbols,Ef=Object.prototype.hasOwnProperty,Nu=Object.prototype.propertyIsEnumerable,Pl=(Fn,ri,Ki)=>ri in Fn?nf(Fn,ri,{enumerable:!0,configurable:!0,writable:!0,value:Ki}):Fn[ri]=Ki,tc=(Fn,ri)=>{for(var Ki in ri||(ri={}))Ef.call(ri,Ki)&&Pl(Fn,Ki,ri[Ki]);if(Nl)for(var Ki of Nl(ri))Nu.call(ri,Ki)&&Pl(Fn,Ki,ri[Ki]);return Fn},jc=(Fn,ri,Ki)=>new Promise((Ma,sa)=>{var Ea=oa=>{try{Bs(Ki.next(oa))}catch(Us){sa(Us)}},va=oa=>{try{Bs(Ki.throw(oa))}catch(Us){sa(Us)}},Bs=oa=>oa.done?Ma(oa.value):Promise.resolve(oa.value).then(Ea,va);Bs((Ki=Ki.apply(Fn,ri)).next())});const Hu="/react/build/",Tu=!1;function Pu(){return jc(this,null,function*(){const Fn=(0,T.gD)(),{routes:ri,routeComponents:Ki}=yield xf(Fn);yield Fn.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:ri,routeComponents:Ki}});const Ma=Fn.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),sa=Ma.basename||"/",Ea=Ma.historyType||"browser",va=(0,O.fi)(tc({type:Ea,basename:sa},Ma.historyOpts));return Fn.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Bs={useStream:!0,routes:ri,routeComponents:Ki,pluginManager:Fn,mountElementId:"root",rootElement:Ma.rootElement||document.getElementById("root"),loadingComponent:Ie,publicPath:Hu,runtimePublicPath:Tu,history:va,historyType:Ea,basename:sa,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ma.callback},oa=Fn.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Bs});return Mc(oa)}})()})}Pu(),typeof window!="undefined"&&(window.g_umi={version:"4.5.3"})})()})();